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
852 program_transform_name
865 enable_option_checking
872 enable_universal_binary
879 ac_precious_vars
='build_alias
905 # Initialize some variables set by options.
907 ac_init_version
=false
908 ac_unrecognized_opts
=
910 # The variables have the same names as the options, with
911 # dashes changed to underlines.
919 program_transform_name
=s
,x
,x
,
927 # Installation directory options.
928 # These are left unexpanded so users can "make install exec_prefix=/foo"
929 # and all the variables that are supposed to be based on exec_prefix
930 # by default will actually change.
931 # Use braces instead of parens because sh, perl, etc. also accept them.
932 # (The list follows the same order as the GNU Coding Standards.)
933 bindir
='${exec_prefix}/bin'
934 sbindir
='${exec_prefix}/sbin'
935 libexecdir
='${exec_prefix}/libexec'
936 datarootdir
='${prefix}/share'
937 datadir
='${datarootdir}'
938 sysconfdir
='${prefix}/etc'
939 sharedstatedir
='${prefix}/com'
940 localstatedir
='${prefix}/var'
941 includedir
='${prefix}/include'
942 oldincludedir
='/usr/include'
943 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
944 infodir
='${datarootdir}/info'
949 libdir
='${exec_prefix}/lib'
950 localedir
='${datarootdir}/locale'
951 mandir
='${datarootdir}/man'
957 # If the previous option needs an argument, assign it.
958 if test -n "$ac_prev"; then
959 eval $ac_prev=\
$ac_option
965 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
969 # Accept the important Cygnus configure options, so we can diagnose typos.
971 case $ac_dashdash$ac_option in
975 -bindir | --bindir | --bindi | --bind | --bin | --bi)
977 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
980 -build | --build | --buil | --bui | --bu)
981 ac_prev
=build_alias
;;
982 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
983 build_alias
=$ac_optarg ;;
985 -cache-file | --cache-file | --cache-fil | --cache-fi \
986 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
987 ac_prev
=cache_file
;;
988 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
989 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
990 cache_file
=$ac_optarg ;;
993 cache_file
=config.cache
;;
995 -datadir | --datadir | --datadi | --datad)
997 -datadir=* | --datadir=* | --datadi=* | --datad=*)
998 datadir
=$ac_optarg ;;
1000 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1001 | --dataroo | --dataro | --datar)
1002 ac_prev
=datarootdir
;;
1003 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1004 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1005 datarootdir
=$ac_optarg ;;
1007 -disable-* | --disable-*)
1008 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1011 as_fn_error
"invalid feature name: $ac_useropt"
1012 ac_useropt_orig
=$ac_useropt
1013 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014 case $ac_user_opts in
1016 "enable_
$ac_useropt"
1018 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1019 ac_unrecognized_sep
=', ';;
1021 eval enable_
$ac_useropt=no
;;
1023 -docdir | --docdir | --docdi | --doc | --do)
1025 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1026 docdir
=$ac_optarg ;;
1028 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1030 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1031 dvidir
=$ac_optarg ;;
1033 -enable-* | --enable-*)
1034 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1037 as_fn_error
"invalid feature name: $ac_useropt"
1038 ac_useropt_orig
=$ac_useropt
1039 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040 case $ac_user_opts in
1042 "enable_
$ac_useropt"
1044 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1045 ac_unrecognized_sep
=', ';;
1047 eval enable_
$ac_useropt=\
$ac_optarg ;;
1049 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1050 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1051 | --exec | --exe | --ex)
1052 ac_prev
=exec_prefix
;;
1053 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1054 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1055 | --exec=* | --exe=* | --ex=*)
1056 exec_prefix
=$ac_optarg ;;
1058 -gas | --gas | --ga | --g)
1059 # Obsolete; use --with-gas.
1062 -help | --help | --hel | --he | -h)
1063 ac_init_help
=long
;;
1064 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1065 ac_init_help
=recursive
;;
1066 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1067 ac_init_help
=short
;;
1069 -host | --host | --hos | --ho)
1070 ac_prev
=host_alias
;;
1071 -host=* | --host=* | --hos=* | --ho=*)
1072 host_alias
=$ac_optarg ;;
1074 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1076 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1078 htmldir
=$ac_optarg ;;
1080 -includedir | --includedir | --includedi | --included | --include \
1081 | --includ | --inclu | --incl | --inc)
1082 ac_prev
=includedir
;;
1083 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1084 | --includ=* | --inclu=* | --incl=* | --inc=*)
1085 includedir
=$ac_optarg ;;
1087 -infodir | --infodir | --infodi | --infod | --info | --inf)
1089 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1090 infodir
=$ac_optarg ;;
1092 -libdir | --libdir | --libdi | --libd)
1094 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1095 libdir
=$ac_optarg ;;
1097 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1098 | --libexe | --libex | --libe)
1099 ac_prev
=libexecdir
;;
1100 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1101 | --libexe=* | --libex=* | --libe=*)
1102 libexecdir
=$ac_optarg ;;
1104 -localedir | --localedir | --localedi | --localed | --locale)
1105 ac_prev
=localedir
;;
1106 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1107 localedir
=$ac_optarg ;;
1109 -localstatedir | --localstatedir | --localstatedi | --localstated \
1110 | --localstate | --localstat | --localsta | --localst | --locals)
1111 ac_prev
=localstatedir
;;
1112 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1113 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1114 localstatedir
=$ac_optarg ;;
1116 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1118 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1119 mandir
=$ac_optarg ;;
1121 -nfp | --nfp | --nf)
1122 # Obsolete; use --without-fp.
1125 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1126 | --no-cr | --no-c | -n)
1129 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1130 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1133 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1134 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1135 | --oldin | --oldi | --old | --ol | --o)
1136 ac_prev
=oldincludedir
;;
1137 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1138 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1139 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1140 oldincludedir
=$ac_optarg ;;
1142 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1144 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1145 prefix
=$ac_optarg ;;
1147 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1148 | --program-pre | --program-pr | --program-p)
1149 ac_prev
=program_prefix
;;
1150 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1151 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1152 program_prefix
=$ac_optarg ;;
1154 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1155 | --program-suf | --program-su | --program-s)
1156 ac_prev
=program_suffix
;;
1157 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1158 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1159 program_suffix
=$ac_optarg ;;
1161 -program-transform-name | --program-transform-name \
1162 | --program-transform-nam | --program-transform-na \
1163 | --program-transform-n | --program-transform- \
1164 | --program-transform | --program-transfor \
1165 | --program-transfo | --program-transf \
1166 | --program-trans | --program-tran \
1167 | --progr-tra | --program-tr | --program-t)
1168 ac_prev
=program_transform_name
;;
1169 -program-transform-name=* | --program-transform-name=* \
1170 | --program-transform-nam=* | --program-transform-na=* \
1171 | --program-transform-n=* | --program-transform-=* \
1172 | --program-transform=* | --program-transfor=* \
1173 | --program-transfo=* | --program-transf=* \
1174 | --program-trans=* | --program-tran=* \
1175 | --progr-tra=* | --program-tr=* | --program-t=*)
1176 program_transform_name
=$ac_optarg ;;
1178 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1180 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1181 pdfdir
=$ac_optarg ;;
1183 -psdir | --psdir | --psdi | --psd | --ps)
1185 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1188 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1189 | -silent | --silent | --silen | --sile | --sil)
1192 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1194 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1196 sbindir
=$ac_optarg ;;
1198 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1199 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1200 | --sharedst | --shareds | --shared | --share | --shar \
1202 ac_prev
=sharedstatedir
;;
1203 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1204 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1205 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1207 sharedstatedir
=$ac_optarg ;;
1209 -site | --site | --sit)
1211 -site=* | --site=* | --sit=*)
1214 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1216 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1217 srcdir
=$ac_optarg ;;
1219 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1220 | --syscon | --sysco | --sysc | --sys | --sy)
1221 ac_prev
=sysconfdir
;;
1222 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1223 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1224 sysconfdir
=$ac_optarg ;;
1226 -target | --target | --targe | --targ | --tar | --ta | --t)
1227 ac_prev
=target_alias
;;
1228 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1229 target_alias
=$ac_optarg ;;
1231 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1234 -version | --version | --versio | --versi | --vers | -V)
1235 ac_init_version
=: ;;
1238 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1239 # Reject names that are not valid shell variable names.
1240 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1241 as_fn_error
"invalid package name: $ac_useropt"
1242 ac_useropt_orig
=$ac_useropt
1243 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1244 case $ac_user_opts in
1248 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1249 ac_unrecognized_sep
=', ';;
1251 eval with_
$ac_useropt=\
$ac_optarg ;;
1253 -without-* | --without-*)
1254 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1257 as_fn_error
"invalid package name: $ac_useropt"
1258 ac_useropt_orig
=$ac_useropt
1259 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1260 case $ac_user_opts in
1264 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1265 ac_unrecognized_sep
=', ';;
1267 eval with_
$ac_useropt=no
;;
1270 # Obsolete; use --with-x.
1273 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1274 | --x-incl | --x-inc | --x-in | --x-i)
1275 ac_prev
=x_includes
;;
1276 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1277 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1278 x_includes
=$ac_optarg ;;
1280 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1281 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1282 ac_prev
=x_libraries
;;
1283 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1284 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1285 x_libraries
=$ac_optarg ;;
1287 -*) as_fn_error
"unrecognized option: \`$ac_option'
1288 Try \`$0 --help' for more information."
1292 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1293 # Reject names that are not valid shell variable names.
1294 case $ac_envvar in #(
1295 '' | [0-9]* | *[!_$as_cr_alnum]* )
1296 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1298 eval $ac_envvar=\
$ac_optarg
1299 export $ac_envvar ;;
1302 # FIXME: should be removed in autoconf 3.0.
1303 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1304 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1305 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1306 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1312 if test -n "$ac_prev"; then
1313 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1314 as_fn_error
"missing argument to $ac_option"
1317 if test -n "$ac_unrecognized_opts"; then
1318 case $enable_option_checking in
1320 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1321 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1325 # Check all directory arguments for consistency.
1326 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1327 datadir sysconfdir sharedstatedir localstatedir includedir \
1328 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1329 libdir localedir mandir
1331 eval ac_val
=\$
$ac_var
1332 # Remove trailing slashes.
1335 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1336 eval $ac_var=\
$ac_val;;
1338 # Be sure to have absolute directory names.
1340 [\\/$
]* | ?
:[\\/]* ) continue;;
1341 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1343 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1346 # There might be people who depend on the old broken behavior: `$host'
1347 # used to hold the argument of --host etc.
1348 # FIXME: To remove some day.
1351 target
=$target_alias
1353 # FIXME: To remove some day.
1354 if test "x$host_alias" != x
; then
1355 if test "x$build_alias" = x
; then
1356 cross_compiling
=maybe
1357 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1358 If a cross compiler is detected then cross compile mode will be used." >&2
1359 elif test "x$build_alias" != "x$host_alias"; then
1365 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1367 test "$silent" = yes && exec 6>/dev
/null
1370 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1371 ac_ls_di
=`ls -di .` &&
1372 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1373 as_fn_error
"working directory cannot be determined"
1374 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1375 as_fn_error
"pwd does not report name of working directory"
1378 # Find the source files, if location was not specified.
1379 if test -z "$srcdir"; then
1380 ac_srcdir_defaulted
=yes
1381 # Try the directory containing this script, then the parent directory.
1382 ac_confdir
=`$as_dirname -- "$as_myself" ||
1383 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1384 X"$as_myself" : 'X\(//\)[^/]' \| \
1385 X"$as_myself" : 'X\(//\)$' \| \
1386 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1387 $as_echo X"$as_myself" |
1388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1406 if test ! -r "$srcdir/$ac_unique_file"; then
1410 ac_srcdir_defaulted
=no
1412 if test ! -r "$srcdir/$ac_unique_file"; then
1413 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1414 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1416 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1418 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1420 # When building in place, set srcdir=.
1421 if test "$ac_abs_confdir" = "$ac_pwd"; then
1424 # Remove unnecessary trailing slashes from srcdir.
1425 # Double slashes in file names in object file debugging info
1426 # mess up M-x gdb in Emacs.
1428 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1430 for ac_var
in $ac_precious_vars; do
1431 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1432 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1433 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1434 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1438 # Report the --help message.
1440 if test "$ac_init_help" = "long"; then
1441 # Omit some internal or obsolete options to make the list less imposing.
1442 # This message is too long to be a string in the A/UX 3.1 sh.
1444 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1446 Usage: $0 [OPTION]... [VAR=VALUE]...
1448 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1449 VAR=VALUE. See below for descriptions of some of the useful variables.
1451 Defaults for the options are specified in brackets.
1454 -h, --help display this help and exit
1455 --help=short display options specific to this package
1456 --help=recursive display the short help of all the included packages
1457 -V, --version display version information and exit
1458 -q, --quiet, --silent do not print \`checking...' messages
1459 --cache-file=FILE cache test results in FILE [disabled]
1460 -C, --config-cache alias for \`--cache-file=config.cache'
1461 -n, --no-create do not create output files
1462 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1464 Installation directories:
1465 --prefix=PREFIX install architecture-independent files in PREFIX
1466 [$ac_default_prefix]
1467 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1470 By default, \`make install' will install all the files in
1471 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1472 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1473 for instance \`--prefix=\$HOME'.
1475 For better control, use the options below.
1477 Fine tuning of the installation directories:
1478 --bindir=DIR user executables [EPREFIX/bin]
1479 --sbindir=DIR system admin executables [EPREFIX/sbin]
1480 --libexecdir=DIR program executables [EPREFIX/libexec]
1481 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1482 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1483 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1484 --libdir=DIR object code libraries [EPREFIX/lib]
1485 --includedir=DIR C header files [PREFIX/include]
1486 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1487 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1488 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1489 --infodir=DIR info documentation [DATAROOTDIR/info]
1490 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1491 --mandir=DIR man documentation [DATAROOTDIR/man]
1492 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1493 --htmldir=DIR html documentation [DOCDIR]
1494 --dvidir=DIR dvi documentation [DOCDIR]
1495 --pdfdir=DIR pdf documentation [DOCDIR]
1496 --psdir=DIR ps documentation [DOCDIR]
1502 --build=BUILD configure
for building on BUILD
[guessed
]
1503 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1507 if test -n "$ac_init_help"; then
1508 case $ac_init_help in
1509 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1514 --disable-option-checking ignore unrecognized
--enable/--with options
1515 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1516 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1517 --enable-static[=PKGS
] build static libraries
[default
=no
]
1518 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1519 --enable-fast-install[=PKGS
]
1520 optimize
for fast installation
[default
=yes]
1521 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1522 --disable-universal-binary
1523 do not build with universal binary support on Darwin
1524 --enable-javascript[=ENGINE
]
1525 use a JavaScript runtime
(currently the only
1526 available option
for ENGINE is JavaScriptCore
)
1528 --disable-rpath do not hardcode runtime library paths
1531 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1532 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1533 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1535 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1536 --with-frameworks=DIRS add to DIRS
(space separated
) to the Darwin include
1537 path
for frameworks with
-F
1538 --with-apr=PATH prefix
for installed APR or the full path to
1540 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1541 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1542 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1544 Some influential environment variables:
1545 CC C compiler command
1546 CFLAGS C compiler flags
1547 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1548 nonstandard directory <lib dir>
1549 LIBS libraries to pass to the linker, e.g. -l<library>
1550 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1551 you have headers in a nonstandard directory <include dir>
1553 PKG_CONFIG path to pkg-config utility
1554 BISON GNU Project parser generator (yacc replacement)
1555 FLEX the fast lexical analyser generator
1556 GPERF perfect hash function generator
1557 CXX C++ compiler command
1558 CXXFLAGS C++ compiler flags
1559 CXXCPP C++ preprocessor
1560 OBJCXX Objective C++ compiler command
1561 OBJCXXFLAGS Objective C++ compiler flags
1563 C compiler flags for WEBKIT, overriding pkg-config
1564 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1566 C compiler flags for LIBFFI, overriding pkg-config
1567 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1569 prints information about the current gnustep installation
1571 Use these variables to override the choices made by `configure' or to
help
1572 it to
find libraries and programs with nonstandard names
/locations.
1574 Report bugs to
<saurik@saurik.com
>.
1575 Cycript home page
: <http
://www.cycript.org
/>.
1580 if test "$ac_init_help" = "recursive"; then
1581 # If there are subdirs, report their specific --help.
1582 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1583 test -d "$ac_dir" ||
1584 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1589 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1591 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1592 # A ".." for each directory in $ac_dir_suffix.
1593 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1594 case $ac_top_builddir_sub in
1595 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1596 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1599 ac_abs_top_builddir
=$ac_pwd
1600 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1601 # for backward compatibility:
1602 ac_top_builddir
=$ac_top_build_prefix
1605 .
) # We are building in place.
1607 ac_top_srcdir
=$ac_top_builddir_sub
1608 ac_abs_top_srcdir
=$ac_pwd ;;
1609 [\\/]* | ?
:[\\/]* ) # Absolute name.
1610 ac_srcdir
=$srcdir$ac_dir_suffix;
1611 ac_top_srcdir
=$srcdir
1612 ac_abs_top_srcdir
=$srcdir ;;
1614 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1615 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1616 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1618 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1620 cd "$ac_dir" || { ac_status
=$?
; continue; }
1621 # Check for guested configure.
1622 if test -f "$ac_srcdir/configure.gnu"; then
1624 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1625 elif test -f "$ac_srcdir/configure"; then
1627 $SHELL "$ac_srcdir/configure" --help=recursive
1629 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1631 cd "$ac_pwd" || { ac_status
=$?
; break; }
1635 test -n "$ac_init_help" && exit $ac_status
1636 if $ac_init_version; then
1638 Cycript configure
0.9
1639 generated by GNU Autoconf
2.65
1641 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1642 This configure
script is free software
; the Free Software Foundation
1643 gives unlimited permission to copy
, distribute and modify it.
1648 ## ------------------------ ##
1649 ## Autoconf initialization. ##
1650 ## ------------------------ ##
1652 # ac_fn_c_try_compile LINENO
1653 # --------------------------
1654 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1655 ac_fn_c_try_compile
()
1657 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1658 rm -f conftest.
$ac_objext
1659 if { { ac_try
="$ac_compile"
1661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_compile") 2>conftest.err
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } && {
1675 test -z "$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1677 } && test -s conftest.$ac_objext; then :
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1686 as_fn_set_status $ac_retval
1688 } # ac_fn_c_try_compile
1690 # ac_fn_c_try_link LINENO
1691 # -----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 rm -f conftest.$ac_objext conftest$ac_exeext
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1700 *) ac_try_echo
=$ac_try;;
1702 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>conftest.err
1706 if test -s conftest.err
; then
1707 grep -v '^ *+' conftest.err
>conftest.er1
1708 cat conftest.er1
>&5
1709 mv -f conftest.er1 conftest.err
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; } && {
1713 test -z "$ac_c_werror_flag" ||
1714 test ! -s conftest.err
1715 } && test -s conftest
$ac_exeext && {
1716 test "$cross_compiling" = yes ||
1717 $as_test_x conftest
$ac_exeext
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.
$ac_ext >&5
1726 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1727 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1728 # interfere with the next link command; also delete a directory that is
1729 # left behind by Apple's compiler. We do this before executing the actions.
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1732 as_fn_set_status
$ac_retval
1734 } # ac_fn_c_try_link
1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists and can be compiled using the include files in
1739 # INCLUDES, setting the cache variable VAR accordingly.
1740 ac_fn_c_check_header_compile
()
1742 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1746 $as_echo_n "(cached) " >&6
1748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1753 if ac_fn_c_try_compile
"$LINENO"; then :
1758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1765 } # ac_fn_c_check_header_compile
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1772 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1773 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } >/dev/null && {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 as_fn_set_status $ac_retval
1804 # ac_fn_c_try_run LINENO
1805 # ----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1807 # that executables *can* be run.
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 if { { ac_try="$ac_link"
1813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1814 *) ac_try_echo
=$ac_try;;
1816 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>&5
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1822 { { case "(($ac_try" in
1823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_try") 2>&5
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; }; }; then :
1834 $as_echo "$as_me: program exited with status $ac_status" >&5
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1838 ac_retval=$ac_status
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 as_fn_set_status $ac_retval
1846 # ac_fn_c_check_func LINENO FUNC VAR
1847 # ----------------------------------
1848 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1849 ac_fn_c_check_func ()
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1855 $as_echo_n "(cached) " >&6
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1859 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1861 #define $2 innocuous_$2
1863 /* System header to define __stub macros and hopefully few prototypes,
1864 which can conflict with char $2 (); below.
1865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1866 <limits.h> exists even on freestanding compilers. */
1869 # include <limits.h>
1871 # include <assert.h>
1876 /* Override any GCC internal prototype to avoid an error.
1877 Use char because int might match the return type of a GCC
1878 builtin and then its argument prototype would still apply. */
1883 /* The GNU C library defines this for functions which it implements
1884 to always fail with ENOSYS. Some functions are actually named
1885 something starting with __ and the normal name is an alias. */
1886 #if defined __stub_$2 || defined __stub___$2
1898 if ac_fn_c_try_link "$LINENO"; then :
1903 rm -f core conftest.err conftest.$ac_objext \
1904 conftest$ac_exeext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1909 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1911 } # ac_fn_c_check_func
1913 # ac_fn_cxx_try_compile LINENO
1914 # ----------------------------
1915 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1916 ac_fn_cxx_try_compile ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 rm -f conftest.$ac_objext
1920 if { { ac_try="$ac_compile"
1922 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1923 *) ac_try_echo
=$ac_try;;
1925 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_compile") 2>conftest.err
1929 if test -s conftest.err
; then
1930 grep -v '^ *+' conftest.err
>conftest.er1
1931 cat conftest.er1
>&5
1932 mv -f conftest.er1 conftest.err
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } && {
1936 test -z "$ac_cxx_werror_flag" ||
1937 test ! -s conftest.err
1938 } && test -s conftest.
$ac_objext; then :
1941 $as_echo "$as_me: failed program was:" >&5
1942 sed 's/^/| /' conftest.
$ac_ext >&5
1946 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1947 as_fn_set_status
$ac_retval
1949 } # ac_fn_cxx_try_compile
1951 # ac_fn_cxx_try_cpp LINENO
1952 # ------------------------
1953 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1954 ac_fn_cxx_try_cpp
()
1956 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1957 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1960 *) ac_try_echo=$ac_try;;
1962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1966 if test -s conftest.err; then
1967 grep -v '^ *+' conftest.err >conftest.er1
1968 cat conftest.er1 >&5
1969 mv -f conftest.er1 conftest.err
1971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972 test $ac_status = 0; } >/dev/null && {
1973 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1974 test ! -s conftest.err
1978 $as_echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.$ac_ext >&5
1983 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984 as_fn_set_status $ac_retval
1986 } # ac_fn_cxx_try_cpp
1988 # ac_fn_cxx_try_link LINENO
1989 # -------------------------
1990 # Try to link conftest.$ac_ext, and return whether this succeeded.
1991 ac_fn_cxx_try_link ()
1993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994 rm -f conftest.$ac_objext conftest$ac_exeext
1995 if { { ac_try="$ac_link"
1997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1998 *) ac_try_echo
=$ac_try;;
2000 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2001 $as_echo "$ac_try_echo"; } >&5
2002 (eval "$ac_link") 2>conftest.err
2004 if test -s conftest.err
; then
2005 grep -v '^ *+' conftest.err
>conftest.er1
2006 cat conftest.er1
>&5
2007 mv -f conftest.er1 conftest.err
2009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2010 test $ac_status = 0; } && {
2011 test -z "$ac_cxx_werror_flag" ||
2012 test ! -s conftest.err
2013 } && test -s conftest
$ac_exeext && {
2014 test "$cross_compiling" = yes ||
2015 $as_test_x conftest
$ac_exeext
2019 $as_echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.
$ac_ext >&5
2024 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2025 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2026 # interfere with the next link command; also delete a directory that is
2027 # left behind by Apple's compiler. We do this before executing the actions.
2028 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2029 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2030 as_fn_set_status
$ac_retval
2032 } # ac_fn_cxx_try_link
2034 # ac_fn_objcxx_try_compile LINENO
2035 # -------------------------------
2036 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2037 ac_fn_objcxx_try_compile
()
2039 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2040 rm -f conftest.
$ac_objext
2041 if { { ac_try
="$ac_compile"
2043 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2044 *) ac_try_echo=$ac_try;;
2046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2047 $as_echo "$ac_try_echo"; } >&5
2048 (eval "$ac_compile") 2>conftest.err
2050 if test -s conftest.err; then
2051 grep -v '^ *+' conftest.err >conftest.er1
2052 cat conftest.er1 >&5
2053 mv -f conftest.er1 conftest.err
2055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2056 test $ac_status = 0; } && {
2057 test -z "$ac_objcxx_werror_flag" ||
2058 test ! -s conftest.err
2059 } && test -s conftest.$ac_objext; then :
2062 $as_echo "$as_me: failed program was:" >&5
2063 sed 's/^/| /' conftest.$ac_ext >&5
2067 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2068 as_fn_set_status $ac_retval
2070 } # ac_fn_objcxx_try_compile
2072 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2073 # ---------------------------------------------------------
2074 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2075 # the include files in INCLUDES and setting the cache variable VAR
2077 ac_fn_cxx_check_header_mongrel ()
2079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2080 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2082 $as_echo_n "checking for $2... " >&6; }
2083 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2084 $as_echo_n "(cached) " >&6
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 $as_echo "$ac_res" >&6; }
2090 # Is the header compilable?
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2092 $as_echo_n "checking $2 usability... " >&6; }
2093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h. */
2098 if ac_fn_cxx_try_compile "$LINENO"; then :
2099 ac_header_compiler=yes
2101 ac_header_compiler=no
2103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2105 $as_echo "$ac_header_compiler" >&6; }
2107 # Is the header present?
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2109 $as_echo_n "checking $2 presence... " >&6; }
2110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h. */
2114 if ac_fn_cxx_try_cpp "$LINENO"; then :
2115 ac_header_preproc=yes
2117 ac_header_preproc=no
2119 rm -f conftest.err conftest.$ac_ext
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2121 $as_echo "$ac_header_preproc" >&6; }
2123 # So? What about this header?
2124 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2127 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2133 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2135 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2137 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2139 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2141 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2143 ## -------------------------------- ##
2144 ## Report this to saurik@saurik.com ##
2145 ## -------------------------------- ##
2147 ) | sed "s/^/$as_me: WARNING: /" >&2
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2151 $as_echo_n "checking for $2... " >&6; }
2152 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2153 $as_echo_n "(cached) " >&6
2155 eval "$3=\$ac_header_compiler"
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2159 $as_echo "$ac_res" >&6; }
2161 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2163 } # ac_fn_cxx_check_header_mongrel
2165 # ac_fn_objcxx_try_link LINENO
2166 # ----------------------------
2167 # Try to link conftest.$ac_ext, and return whether this succeeded.
2168 ac_fn_objcxx_try_link ()
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 rm -f conftest.$ac_objext conftest$ac_exeext
2172 if { { ac_try="$ac_link"
2174 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2175 *) ac_try_echo
=$ac_try;;
2177 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2178 $as_echo "$ac_try_echo"; } >&5
2179 (eval "$ac_link") 2>conftest.err
2181 if test -s conftest.err
; then
2182 grep -v '^ *+' conftest.err
>conftest.er1
2183 cat conftest.er1
>&5
2184 mv -f conftest.er1 conftest.err
2186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2187 test $ac_status = 0; } && {
2188 test -z "$ac_objcxx_werror_flag" ||
2189 test ! -s conftest.err
2190 } && test -s conftest
$ac_exeext && {
2191 test "$cross_compiling" = yes ||
2192 $as_test_x conftest
$ac_exeext
2196 $as_echo "$as_me: failed program was:" >&5
2197 sed 's/^/| /' conftest.
$ac_ext >&5
2201 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2202 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2203 # interfere with the next link command; also delete a directory that is
2204 # left behind by Apple's compiler. We do this before executing the actions.
2205 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2206 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2207 as_fn_set_status
$ac_retval
2209 } # ac_fn_objcxx_try_link
2210 cat >config.log
<<_ACEOF
2211 This file contains any messages produced by compilers while
2212 running configure, to aid debugging if configure makes a mistake.
2214 It was created by Cycript $as_me 0.9, which was
2215 generated by GNU Autoconf 2.65. Invocation command line was
2227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2239 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2250 test -z "$as_dir" && as_dir
=.
2251 $as_echo "PATH: $as_dir"
2267 # Keep a trace of the command line.
2268 # Strip out --no-create and --no-recursion so they do not pile up.
2269 # Strip out --silent because we don't want to record it for future runs.
2270 # Also quote any args containing shell meta-characters.
2271 # Make two passes to allow for proper duplicate-argument suppression.
2275 ac_must_keep_next
=false
2281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2283 | -silent | --silent | --silen | --sile | --sil)
2286 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2289 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2291 as_fn_append ac_configure_args1
" '$ac_arg'"
2292 if test $ac_must_keep_next = true
; then
2293 ac_must_keep_next
=false
# Got value, back to normal.
2296 *=* | --config-cache | -C | -disable-* | --disable-* \
2297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2299 | -with-* | --with-* | -without-* | --without-* | --x)
2300 case "$ac_configure_args0 " in
2301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2304 -* ) ac_must_keep_next
=true
;;
2307 as_fn_append ac_configure_args
" '$ac_arg'"
2312 { ac_configure_args0
=; unset ac_configure_args0
;}
2313 { ac_configure_args1
=; unset ac_configure_args1
;}
2315 # When interrupted or exit'd, cleanup temporary files, and complete
2316 # config.log. We remove comments because anyway the quotes in there
2317 # would cause problems or look ugly.
2318 # WARNING: Use '\'' to represent an apostrophe within the trap.
2319 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2320 trap 'exit_status=$?
2321 # Save into config.log some information that might help in debugging.
2326 ## ---------------- ##
2327 ## Cache variables. ##
2328 ## ---------------- ##
2331 # The following way of writing the cache mishandles newlines in values,
2333 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2334 eval ac_val=\$$ac_var
2338 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2339 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2342 _ | IFS | as_nl) ;; #(
2343 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2344 *) { eval $ac_var=; unset $ac_var;} ;;
2349 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2350 *${as_nl}ac_space=\ *)
2352 "s/'\''/'\''\\\\'\'''\''/g;
2353 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2364 ## ----------------- ##
2365 ## Output variables. ##
2366 ## ----------------- ##
2369 for ac_var in $ac_subst_vars
2371 eval ac_val=\$$ac_var
2373 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2375 $as_echo "$ac_var='\''$ac_val'\''"
2379 if test -n "$ac_subst_files"; then
2381 ## ------------------- ##
2382 ## File substitutions. ##
2383 ## ------------------- ##
2386 for ac_var
in $ac_subst_files
2388 eval ac_val
=\$
$ac_var
2390 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2392 $as_echo "$ac_var='\''$ac_val'\''"
2397 if test -s confdefs.h; then
2407 test "$ac_signal" != 0 &&
2408 $as_echo "$as_me: caught signal $ac_signal"
2409 $as_echo "$as_me: exit $exit_status"
2411 rm -f core *.core core.conftest.* &&
2412 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2415 for ac_signal
in 1 2 13 15; do
2416 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2420 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2421 rm -f -r conftest
* confdefs.h
2423 $as_echo "/* confdefs.h */" > confdefs.h
2425 # Predefined preprocessor variables.
2427 cat >>confdefs.h
<<_ACEOF
2428 #define PACKAGE_NAME "$PACKAGE_NAME"
2431 cat >>confdefs.h
<<_ACEOF
2432 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2435 cat >>confdefs.h
<<_ACEOF
2436 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2439 cat >>confdefs.h
<<_ACEOF
2440 #define PACKAGE_STRING "$PACKAGE_STRING"
2443 cat >>confdefs.h
<<_ACEOF
2444 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2447 cat >>confdefs.h
<<_ACEOF
2448 #define PACKAGE_URL "$PACKAGE_URL"
2452 # Let the site file select an alternate cache file if it wants to.
2453 # Prefer an explicitly selected file to automatically selected ones.
2456 if test -n "$CONFIG_SITE"; then
2457 ac_site_file1
=$CONFIG_SITE
2458 elif test "x$prefix" != xNONE
; then
2459 ac_site_file1
=$prefix/share
/config.site
2460 ac_site_file2
=$prefix/etc
/config.site
2462 ac_site_file1
=$ac_default_prefix/share
/config.site
2463 ac_site_file2
=$ac_default_prefix/etc
/config.site
2465 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2467 test "x$ac_site_file" = xNONE
&& continue
2468 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2470 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2471 sed 's/^/| /' "$ac_site_file" >&5
2476 if test -r "$cache_file"; then
2477 # Some versions of bash will fail to source /dev/null (special files
2478 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2479 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2481 $as_echo "$as_me: loading cache $cache_file" >&6;}
2483 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2484 *) .
"./$cache_file";;
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2489 $as_echo "$as_me: creating cache $cache_file" >&6;}
2493 # Check that the precious variables saved in the cache have kept the same
2495 ac_cache_corrupted
=false
2496 for ac_var
in $ac_precious_vars; do
2497 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2498 eval ac_new_set
=\
$ac_env_${ac_var}_set
2499 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2500 eval ac_new_val
=\
$ac_env_${ac_var}_value
2501 case $ac_old_set,$ac_new_set in
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2504 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2505 ac_cache_corrupted
=: ;;
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2508 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2509 ac_cache_corrupted
=: ;;
2512 if test "x$ac_old_val" != "x$ac_new_val"; then
2513 # differences in whitespace do not lead to failure.
2514 ac_old_val_w
=`echo x $ac_old_val`
2515 ac_new_val_w
=`echo x $ac_new_val`
2516 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2518 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2519 ac_cache_corrupted
=:
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2522 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2523 eval $ac_var=\
$ac_old_val
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2526 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2528 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2531 # Pass precious variables to config.status.
2532 if test "$ac_new_set" = set; then
2534 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2535 *) ac_arg
=$ac_var=$ac_new_val ;;
2537 case " $ac_configure_args " in
2538 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2539 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2543 if $ac_cache_corrupted; then
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2547 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2548 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2550 ## -------------------- ##
2551 ## Main body of script. ##
2552 ## -------------------- ##
2555 ac_cpp
='$CPP $CPPFLAGS'
2556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2563 for ac_dir
in .
"$srcdir"/.
; do
2564 for ac_t
in install-sh install.sh shtool
; do
2565 if test -f "$ac_dir/$ac_t"; then
2567 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2572 if test -z "$ac_aux_dir"; then
2573 as_fn_error
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2576 # These three variables are undocumented and unsupported,
2577 # and are intended to be withdrawn in a future Autoconf release.
2578 # They can cause serious problems if a builder's source tree is in a directory
2579 # whose full name contains unusual characters.
2580 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2581 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2582 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2588 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2593 macro_version
='2.2.6b'
2594 macro_revision
='1.3017'
2608 ltmain
="$ac_aux_dir/ltmain.sh"
2610 # Make sure we can run config.sub.
2611 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2612 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2615 $as_echo_n "checking build system type... " >&6; }
2616 if test "${ac_cv_build+set}" = set; then :
2617 $as_echo_n "(cached) " >&6
2619 ac_build_alias
=$build_alias
2620 test "x$ac_build_alias" = x
&&
2621 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2622 test "x$ac_build_alias" = x
&&
2623 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2624 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2625 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2629 $as_echo "$ac_cv_build" >&6; }
2630 case $ac_cv_build in
2632 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2635 ac_save_IFS
=$IFS; IFS
='-'
2641 # Remember, the first character of IFS is used to create $*,
2642 # except with old shells:
2645 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2649 $as_echo_n "checking host system type... " >&6; }
2650 if test "${ac_cv_host+set}" = set; then :
2651 $as_echo_n "(cached) " >&6
2653 if test "x$host_alias" = x
; then
2654 ac_cv_host
=$ac_cv_build
2656 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2657 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2662 $as_echo "$ac_cv_host" >&6; }
2665 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2668 ac_save_IFS
=$IFS; IFS
='-'
2674 # Remember, the first character of IFS is used to create $*,
2675 # except with old shells:
2678 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2682 ac_cpp
='$CPP $CPPFLAGS'
2683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2686 if test -n "$ac_tool_prefix"; then
2687 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2688 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690 $as_echo_n "checking for $ac_word... " >&6; }
2691 if test "${ac_cv_prog_CC+set}" = set; then :
2692 $as_echo_n "(cached) " >&6
2694 if test -n "$CC"; then
2695 ac_cv_prog_CC
="$CC" # Let the user override the test.
2697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir
=.
2702 for ac_exec_ext
in '' $ac_executable_extensions; do
2703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 if test -n "$CC"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2717 $as_echo "$CC" >&6; }
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720 $as_echo "no" >&6; }
2725 if test -z "$ac_cv_prog_CC"; then
2727 # Extract the first word of "gcc", so it can be a program name with args.
2728 set dummy gcc
; ac_word
=$2
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730 $as_echo_n "checking for $ac_word... " >&6; }
2731 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2732 $as_echo_n "(cached) " >&6
2734 if test -n "$ac_ct_CC"; then
2735 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2741 test -z "$as_dir" && as_dir
=.
2742 for ac_exec_ext
in '' $ac_executable_extensions; do
2743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744 ac_cv_prog_ac_ct_CC
="gcc"
2745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2755 if test -n "$ac_ct_CC"; then
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2757 $as_echo "$ac_ct_CC" >&6; }
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760 $as_echo "no" >&6; }
2763 if test "x$ac_ct_CC" = x
; then
2766 case $cross_compiling:$ac_tool_warned in
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2770 ac_tool_warned
=yes ;;
2778 if test -z "$CC"; then
2779 if test -n "$ac_tool_prefix"; then
2780 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2781 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783 $as_echo_n "checking for $ac_word... " >&6; }
2784 if test "${ac_cv_prog_CC+set}" = set; then :
2785 $as_echo_n "(cached) " >&6
2787 if test -n "$CC"; then
2788 ac_cv_prog_CC
="$CC" # Let the user override the test.
2790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir
=.
2795 for ac_exec_ext
in '' $ac_executable_extensions; do
2796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2808 if test -n "$CC"; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2810 $as_echo "$CC" >&6; }
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2819 if test -z "$CC"; then
2820 # Extract the first word of "cc", so it can be a program name with args.
2821 set dummy cc
; ac_word
=$2
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823 $as_echo_n "checking for $ac_word... " >&6; }
2824 if test "${ac_cv_prog_CC+set}" = set; then :
2825 $as_echo_n "(cached) " >&6
2827 if test -n "$CC"; then
2828 ac_cv_prog_CC
="$CC" # Let the user override the test.
2831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir
=.
2836 for ac_exec_ext
in '' $ac_executable_extensions; do
2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2839 ac_prog_rejected
=yes
2843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 if test $ac_prog_rejected = yes; then
2851 # We found a bogon in the path, so make sure we never use it.
2852 set dummy
$ac_cv_prog_CC
2854 if test $# != 0; then
2855 # We chose a different compiler from the bogus one.
2856 # However, it has the same basename, so the bogon will be chosen
2857 # first if we set CC to just the basename; use the full file name.
2859 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2865 if test -n "$CC"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2867 $as_echo "$CC" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2875 if test -z "$CC"; then
2876 if test -n "$ac_tool_prefix"; then
2877 for ac_prog
in cl.exe
2879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2880 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if test "${ac_cv_prog_CC+set}" = set; then :
2884 $as_echo_n "(cached) " >&6
2886 if test -n "$CC"; then
2887 ac_cv_prog_CC
="$CC" # Let the user override the test.
2889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir
=.
2894 for ac_exec_ext
in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 if test -n "$CC"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2909 $as_echo "$CC" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2916 test -n "$CC" && break
2919 if test -z "$CC"; then
2921 for ac_prog
in cl.exe
2923 # Extract the first word of "$ac_prog", so it can be a program name with args.
2924 set dummy
$ac_prog; ac_word
=$2
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2926 $as_echo_n "checking for $ac_word... " >&6; }
2927 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2930 if test -n "$ac_ct_CC"; then
2931 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2937 test -z "$as_dir" && as_dir
=.
2938 for ac_exec_ext
in '' $ac_executable_extensions; do
2939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2940 ac_cv_prog_ac_ct_CC
="$ac_prog"
2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2951 if test -n "$ac_ct_CC"; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2953 $as_echo "$ac_ct_CC" >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956 $as_echo "no" >&6; }
2960 test -n "$ac_ct_CC" && break
2963 if test "x$ac_ct_CC" = x
; then
2966 case $cross_compiling:$ac_tool_warned in
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2970 ac_tool_warned
=yes ;;
2979 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2981 as_fn_error
"no acceptable C compiler found in \$PATH
2982 See \`config.log' for more details." "$LINENO" 5; }
2984 # Provide some information about the compiler.
2985 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2988 for ac_option
in --version -v -V -qversion; do
2989 { { ac_try
="$ac_compiler $ac_option >&5"
2991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2995 $as_echo "$ac_try_echo"; } >&5
2996 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2998 if test -s conftest.err; then
3000 ... rest of stderr output deleted ...
3001 10q' conftest.err >conftest.er1
3002 cat conftest.er1 >&5
3004 rm -f conftest.er1 conftest.err
3005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3006 test $ac_status = 0; }
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3020 ac_clean_files_save=$ac_clean_files
3021 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3022 # Try to create an executable without -o first, disregard a.out.
3023 # It will help us diagnose broken compilers, and finding out an intuition
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3026 $as_echo_n "checking whether the C compiler works... " >&6; }
3027 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3029 # The possible output files:
3030 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3033 for ac_file in $ac_files
3036 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3037 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3042 if { { ac_try="$ac_link_default"
3044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3045 *) ac_try_echo
=$ac_try;;
3047 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3048 $as_echo "$ac_try_echo"; } >&5
3049 (eval "$ac_link_default") 2>&5
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; }; then :
3053 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3054 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3055 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3056 # so that the user can short-circuit this test for compilers unknown to
3058 for ac_file
in $ac_files ''
3060 test -f "$ac_file" || continue
3062 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3065 # We found the default executable, but exeext='' is most
3069 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3071 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3073 # We set ac_cv_exeext here because the later test for it is not
3074 # safe: cross compilers may not add the suffix if given an `-o'
3075 # argument, so we may need to know it at that point already.
3076 # Even if this section looks crufty: it has the advantage of
3083 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3088 if test -z "$ac_file"; then :
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3091 $as_echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.
$ac_ext >&5
3094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096 { as_fn_set_status
77
3097 as_fn_error
"C compiler cannot create executables
3098 See \`config.log' for more details." "$LINENO" 5; }; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3101 $as_echo "yes" >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3104 $as_echo_n "checking for C compiler default output file name... " >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3106 $as_echo "$ac_file" >&6; }
3107 ac_exeext
=$ac_cv_exeext
3109 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3110 ac_clean_files
=$ac_clean_files_save
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3112 $as_echo_n "checking for suffix of executables... " >&6; }
3113 if { { ac_try
="$ac_link"
3115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3119 $as_echo "$ac_try_echo"; } >&5
3120 (eval "$ac_link") 2>&5
3122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3123 test $ac_status = 0; }; then :
3124 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3125 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3126 # work properly (i.e., refer to `conftest.exe'), while it won't with
3128 for ac_file
in conftest.exe conftest conftest.
*; do
3129 test -f "$ac_file" || continue
3131 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3132 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3141 See \`config.log' for more details." "$LINENO" 5; }
3143 rm -f conftest conftest
$ac_cv_exeext
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3145 $as_echo "$ac_cv_exeext" >&6; }
3147 rm -f conftest.
$ac_ext
3148 EXEEXT
=$ac_cv_exeext
3150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3151 /* end confdefs.h. */
3156 FILE *f = fopen ("conftest.out", "w");
3157 return ferror (f) || fclose (f) != 0;
3163 ac_clean_files
="$ac_clean_files conftest.out"
3164 # Check that the compiler produces executables we can run. If not, either
3165 # the compiler is broken, or we cross compile.
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3167 $as_echo_n "checking whether we are cross compiling... " >&6; }
3168 if test "$cross_compiling" != yes; then
3169 { { ac_try
="$ac_link"
3171 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3175 $as_echo "$ac_try_echo"; } >&5
3176 (eval "$ac_link") 2>&5
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; }
3180 if { ac_try='./conftest$ac_cv_exeext'
3181 { { case "(($ac_try" in
3182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3183 *) ac_try_echo
=$ac_try;;
3185 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186 $as_echo "$ac_try_echo"; } >&5
3187 (eval "$ac_try") 2>&5
3189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190 test $ac_status = 0; }; }; then
3193 if test "$cross_compiling" = maybe
; then
3196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3198 as_fn_error
"cannot run C compiled programs.
3199 If you meant to cross compile, use \`--host'.
3200 See \`config.log' for more details." "$LINENO" 5; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3205 $as_echo "$cross_compiling" >&6; }
3207 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3208 ac_clean_files
=$ac_clean_files_save
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3210 $as_echo_n "checking for suffix of object files... " >&6; }
3211 if test "${ac_cv_objext+set}" = set; then :
3212 $as_echo_n "(cached) " >&6
3214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3225 rm -f conftest.o conftest.obj
3226 if { { ac_try
="$ac_compile"
3228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3232 $as_echo "$ac_try_echo"; } >&5
3233 (eval "$ac_compile") 2>&5
3235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3236 test $ac_status = 0; }; then :
3237 for ac_file in conftest.o conftest.obj conftest.*; do
3238 test -f "$ac_file" || continue;
3240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3241 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3246 $as_echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3251 as_fn_error "cannot compute suffix of object files
: cannot compile
3252 See \
`config.log' for more details." "$LINENO" 5; }
3254 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3257 $as_echo "$ac_cv_objext" >&6; }
3258 OBJEXT=$ac_cv_objext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3261 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3262 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3263 $as_echo_n "(cached) " >&6
3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3279 if ac_fn_c_try_compile "$LINENO"; then :
3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3285 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3289 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3290 if test $ac_compiler_gnu = yes; then
3295 ac_test_CFLAGS=${CFLAGS+set}
3296 ac_save_CFLAGS=$CFLAGS
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3298 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3299 if test "${ac_cv_prog_cc_g+set}" = set; then :
3300 $as_echo_n "(cached) " >&6
3302 ac_save_c_werror_flag=$ac_c_werror_flag
3303 ac_c_werror_flag=yes
3306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3307 /* end confdefs.h. */
3317 if ac_fn_c_try_compile "$LINENO"; then :
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3332 if ac_fn_c_try_compile "$LINENO"; then :
3335 ac_c_werror_flag=$ac_save_c_werror_flag
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3348 if ac_fn_c_try_compile "$LINENO"; then :
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 ac_c_werror_flag=$ac_save_c_werror_flag
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3359 $as_echo "$ac_cv_prog_cc_g" >&6; }
3360 if test "$ac_test_CFLAGS" = set; then
3361 CFLAGS=$ac_save_CFLAGS
3362 elif test $ac_cv_prog_cc_g = yes; then
3363 if test "$GCC" = yes; then
3369 if test "$GCC" = yes; then
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3376 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3377 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3378 $as_echo_n "(cached) " >&6
3380 ac_cv_prog_cc_c89=no
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3386 #include <sys/types.h>
3387 #include <sys/stat.h>
3388 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3389 struct buf { int x; };
3390 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3391 static char *e (p, i)
3397 static char *f (char * (*g) (char **, int), char **p, ...)
3402 s = g (p, va_arg (v,int));
3407 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3408 function prototypes and stuff, but not '\xHH' hex character constants.
3409 These don't provoke an error unfortunately, instead are silently treated
3410 as 'x'. The following induces an error, until -std is added to get
3411 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3412 array size at least. It's necessary to write '\x00'==0 to get something
3413 that's true only with -std. */
3414 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3416 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3417 inside strings and character constants. */
3419 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3421 int test (int i, double x);
3422 struct s1 {int (*f) (int a);};
3423 struct s2 {int (*f) (double a);};
3424 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3430 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3435 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3436 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3438 CC="$ac_save_CC $ac_arg"
3439 if ac_fn_c_try_compile "$LINENO"; then :
3440 ac_cv_prog_cc_c89=$ac_arg
3442 rm -f core conftest.err conftest.$ac_objext
3443 test "x$ac_cv_prog_cc_c89" != "xno" && break
3445 rm -f conftest.$ac_ext
3450 case "x$ac_cv_prog_cc_c89" in
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3453 $as_echo "none needed" >&6; } ;;
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3456 $as_echo "unsupported" >&6; } ;;
3458 CC="$CC $ac_cv_prog_cc_c89"
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3460 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3462 if test "x$ac_cv_prog_cc_c89" != xno; then :
3467 ac_cpp='$CPP $CPPFLAGS'
3468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3473 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3474 if test "${ac_cv_path_SED+set}" = set; then :
3475 $as_echo_n "(cached) " >&6
3477 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3478 for ac_i in 1 2 3 4 5 6 7; do
3479 ac_script="$ac_script$as_nl$ac_script"
3481 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3482 { ac_script=; unset ac_script;}
3483 if test -z "$SED"; then
3484 ac_path_SED_found=false
3485 # Loop through the user's path and test for each of PROGNAME-LIST
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3490 test -z "$as_dir" && as_dir=.
3491 for ac_prog in sed gsed; do
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3494 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3495 # Check for GNU ac_path_SED and select it if it is found.
3496 # Check for GNU $ac_path_SED
3497 case `"$ac_path_SED" --version 2>&1` in
3499 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3502 $as_echo_n 0123456789 >"conftest.in"
3505 cat "conftest.in" "conftest.in" >"conftest.tmp"
3506 mv "conftest.tmp" "conftest.in"
3507 cp "conftest.in" "conftest.nl"
3508 $as_echo '' >> "conftest.nl"
3509 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3510 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3511 as_fn_arith $ac_count + 1 && ac_count=$as_val
3512 if test $ac_count -gt ${ac_path_SED_max-0}; then
3513 # Best one so far, save it but keep looking for a better one
3514 ac_cv_path_SED="$ac_path_SED"
3515 ac_path_SED_max=$ac_count
3517 # 10*(2^10) chars as input seems more than enough
3518 test $ac_count -gt 10 && break
3520 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3523 $ac_path_SED_found && break 3
3528 if test -z "$ac_cv_path_SED"; then
3529 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3537 $as_echo "$ac_cv_path_SED" >&6; }
3538 SED="$ac_cv_path_SED"
3541 test -z "$SED" && SED=sed
3542 Xsed="$SED -e 1s/^X//"
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3555 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3556 if test "${ac_cv_path_GREP+set}" = set; then :
3557 $as_echo_n "(cached) " >&6
3559 if test -z "$GREP"; then
3560 ac_path_GREP_found=false
3561 # Loop through the user's path and test for each of PROGNAME-LIST
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3566 test -z "$as_dir" && as_dir=.
3567 for ac_prog in grep ggrep; do
3568 for ac_exec_ext in '' $ac_executable_extensions; do
3569 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3570 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3571 # Check for GNU ac_path_GREP and select it if it is found.
3572 # Check for GNU $ac_path_GREP
3573 case `"$ac_path_GREP" --version 2>&1` in
3575 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3578 $as_echo_n 0123456789 >"conftest.in"
3581 cat "conftest.in" "conftest.in" >"conftest.tmp"
3582 mv "conftest.tmp" "conftest.in"
3583 cp "conftest.in" "conftest.nl"
3584 $as_echo 'GREP' >> "conftest.nl"
3585 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3587 as_fn_arith $ac_count + 1 && ac_count=$as_val
3588 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3589 # Best one so far, save it but keep looking for a better one
3590 ac_cv_path_GREP="$ac_path_GREP"
3591 ac_path_GREP_max=$ac_count
3593 # 10*(2^10) chars as input seems more than enough
3594 test $ac_count -gt 10 && break
3596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3599 $ac_path_GREP_found && break 3
3604 if test -z "$ac_cv_path_GREP"; then
3605 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3608 ac_cv_path_GREP=$GREP
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3613 $as_echo "$ac_cv_path_GREP" >&6; }
3614 GREP="$ac_cv_path_GREP"
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3618 $as_echo_n "checking for egrep... " >&6; }
3619 if test "${ac_cv_path_EGREP+set}" = set; then :
3620 $as_echo_n "(cached) " >&6
3622 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3623 then ac_cv_path_EGREP="$GREP -E"
3625 if test -z "$EGREP"; then
3626 ac_path_EGREP_found=false
3627 # Loop through the user's path and test for each of PROGNAME-LIST
3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3632 test -z "$as_dir" && as_dir=.
3633 for ac_prog in egrep; do
3634 for ac_exec_ext in '' $ac_executable_extensions; do
3635 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3636 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3637 # Check for GNU ac_path_EGREP and select it if it is found.
3638 # Check for GNU $ac_path_EGREP
3639 case `"$ac_path_EGREP" --version 2>&1` in
3641 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3644 $as_echo_n 0123456789 >"conftest.in"
3647 cat "conftest.in" "conftest.in" >"conftest.tmp"
3648 mv "conftest.tmp" "conftest.in"
3649 cp "conftest.in" "conftest.nl"
3650 $as_echo 'EGREP' >> "conftest.nl"
3651 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3652 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3653 as_fn_arith $ac_count + 1 && ac_count=$as_val
3654 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3655 # Best one so far, save it but keep looking for a better one
3656 ac_cv_path_EGREP="$ac_path_EGREP"
3657 ac_path_EGREP_max=$ac_count
3659 # 10*(2^10) chars as input seems more than enough
3660 test $ac_count -gt 10 && break
3662 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3665 $ac_path_EGREP_found && break 3
3670 if test -z "$ac_cv_path_EGREP"; then
3671 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3674 ac_cv_path_EGREP=$EGREP
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3680 $as_echo "$ac_cv_path_EGREP" >&6; }
3681 EGREP="$ac_cv_path_EGREP"
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3685 $as_echo_n "checking for fgrep... " >&6; }
3686 if test "${ac_cv_path_FGREP+set}" = set; then :
3687 $as_echo_n "(cached) " >&6
3689 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3690 then ac_cv_path_FGREP="$GREP -F"
3692 if test -z "$FGREP"; then
3693 ac_path_FGREP_found=false
3694 # Loop through the user's path and test for each of PROGNAME-LIST
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3699 test -z "$as_dir" && as_dir=.
3700 for ac_prog in fgrep; do
3701 for ac_exec_ext in '' $ac_executable_extensions; do
3702 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3703 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3704 # Check for GNU ac_path_FGREP and select it if it is found.
3705 # Check for GNU $ac_path_FGREP
3706 case `"$ac_path_FGREP" --version 2>&1` in
3708 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3711 $as_echo_n 0123456789 >"conftest.in"
3714 cat "conftest.in" "conftest.in" >"conftest.tmp"
3715 mv "conftest.tmp" "conftest.in"
3716 cp "conftest.in" "conftest.nl"
3717 $as_echo 'FGREP' >> "conftest.nl"
3718 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3719 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3720 as_fn_arith $ac_count + 1 && ac_count=$as_val
3721 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3722 # Best one so far, save it but keep looking for a better one
3723 ac_cv_path_FGREP="$ac_path_FGREP"
3724 ac_path_FGREP_max=$ac_count
3726 # 10*(2^10) chars as input seems more than enough
3727 test $ac_count -gt 10 && break
3729 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3732 $ac_path_FGREP_found && break 3
3737 if test -z "$ac_cv_path_FGREP"; then
3738 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3741 ac_cv_path_FGREP=$FGREP
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3747 $as_echo "$ac_cv_path_FGREP" >&6; }
3748 FGREP="$ac_cv_path_FGREP"
3751 test -z "$GREP" && GREP=grep
3771 # Check whether --with-gnu-ld was given.
3772 if test "${with_gnu_ld+set}" = set; then :
3773 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3779 if test "$GCC" = yes; then
3780 # Check if gcc -print-prog-name=ld gives a path.
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3782 $as_echo_n "checking for ld used by $CC... " >&6; }
3785 # gcc leaves a trailing carriage return which upsets mingw
3786 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3788 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3791 # Accept absolute paths.
3793 re_direlt='/[^/][^/]*/\.\./'
3794 # Canonicalize the pathname of ld
3795 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3796 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3797 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3799 test -z "$LD" && LD="$ac_prog"
3802 # If it fails, then pretend we aren't using GCC.
3806 # If it is relative, then search for the first ld in PATH.
3810 elif test "$with_gnu_ld" = yes; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3812 $as_echo_n "checking for GNU ld... " >&6; }
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3815 $as_echo_n "checking for non-GNU ld... " >&6; }
3817 if test "${lt_cv_path_LD+set}" = set; then :
3818 $as_echo_n "(cached) " >&6
3820 if test -z "$LD"; then
3821 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3822 for ac_dir in $PATH; do
3824 test -z "$ac_dir" && ac_dir=.
3825 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3826 lt_cv_path_LD="$ac_dir/$ac_prog"
3827 # Check to see if the program is GNU ld. I'd rather use --version,
3828 # but apparently some variants of GNU ld only accept -v.
3829 # Break only if it was the GNU/non-GNU ld that we prefer.
3830 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3831 *GNU* | *'with BFD'*)
3832 test "$with_gnu_ld" != no && break
3835 test "$with_gnu_ld" != yes && break
3842 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3847 if test -n "$LD"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3849 $as_echo "$LD" >&6; }
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3854 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3856 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3857 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3858 $as_echo_n "(cached) " >&6
3860 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3861 case `$LD -v 2>&1 </dev
/null
` in
3862 *GNU* | *'with BFD'*)
3863 lt_cv_prog_gnu_ld=yes
3866 lt_cv_prog_gnu_ld=no
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3871 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3872 with_gnu_ld=$lt_cv_prog_gnu_ld
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3883 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3884 if test "${lt_cv_path_NM+set}" = set; then :
3885 $as_echo_n "(cached) " >&6
3887 if test -n "$NM"; then
3888 # Let the user override the test.
3891 lt_nm_to_check="${ac_tool_prefix}nm"
3892 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3893 lt_nm_to_check="$lt_nm_to_check nm"
3895 for lt_tmp_nm in $lt_nm_to_check; do
3896 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3897 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3899 test -z "$ac_dir" && ac_dir=.
3900 tmp_nm="$ac_dir/$lt_tmp_nm"
3901 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3902 # Check to see if the nm accepts a BSD-compat flag.
3903 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3904 # nm: unknown option "B" ignored
3905 # Tru64's nm complains that
/dev
/null is an invalid object
file
3906 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3907 */dev
/null
* | *'Invalid file or object type'*)
3908 lt_cv_path_NM
="$tmp_nm -B"
3912 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3914 lt_cv_path_NM
="$tmp_nm -p"
3918 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3919 continue # so that we can try to find one that supports BSD flags
3928 : ${lt_cv_path_NM=no}
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3932 $as_echo "$lt_cv_path_NM" >&6; }
3933 if test "$lt_cv_path_NM" != "no"; then
3936 # Didn't find any BSD compatible name lister, look for dumpbin.
3937 if test -n "$ac_tool_prefix"; then
3938 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3941 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3943 $as_echo_n "checking for $ac_word... " >&6; }
3944 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3945 $as_echo_n "(cached) " >&6
3947 if test -n "$DUMPBIN"; then
3948 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir
=.
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3957 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 DUMPBIN
=$ac_cv_prog_DUMPBIN
3968 if test -n "$DUMPBIN"; then
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3970 $as_echo "$DUMPBIN" >&6; }
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3973 $as_echo "no" >&6; }
3977 test -n "$DUMPBIN" && break
3980 if test -z "$DUMPBIN"; then
3981 ac_ct_DUMPBIN
=$DUMPBIN
3982 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3984 # Extract the first word of "$ac_prog", so it can be a program name with args.
3985 set dummy
$ac_prog; ac_word
=$2
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987 $as_echo_n "checking for $ac_word... " >&6; }
3988 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
3989 $as_echo_n "(cached) " >&6
3991 if test -n "$ac_ct_DUMPBIN"; then
3992 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3998 test -z "$as_dir" && as_dir
=.
3999 for ac_exec_ext
in '' $ac_executable_extensions; do
4000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4001 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4012 if test -n "$ac_ct_DUMPBIN"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4014 $as_echo "$ac_ct_DUMPBIN" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4021 test -n "$ac_ct_DUMPBIN" && break
4024 if test "x$ac_ct_DUMPBIN" = x
; then
4027 case $cross_compiling:$ac_tool_warned in
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4031 ac_tool_warned
=yes ;;
4033 DUMPBIN
=$ac_ct_DUMPBIN
4038 if test "$DUMPBIN" != ":"; then
4042 test -z "$NM" && NM
=nm
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4050 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4051 if test "${lt_cv_nm_interface+set}" = set; then :
4052 $as_echo_n "(cached) " >&6
4054 lt_cv_nm_interface
="BSD nm"
4055 echo "int some_variable = 0;" > conftest.
$ac_ext
4056 (eval echo "\"\$as_me:4055: $ac_compile\"" >&5)
4057 (eval "$ac_compile" 2>conftest.err
)
4058 cat conftest.err
>&5
4059 (eval echo "\"\$as_me:4058: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4060 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4061 cat conftest.err
>&5
4062 (eval echo "\"\$as_me:4061: output\"" >&5)
4063 cat conftest.out
>&5
4064 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4065 lt_cv_nm_interface
="MS dumpbin"
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4070 $as_echo "$lt_cv_nm_interface" >&6; }
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4073 $as_echo_n "checking whether ln -s works... " >&6; }
4075 if test "$LN_S" = "ln -s"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4077 $as_echo "yes" >&6; }
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4080 $as_echo "no, using $LN_S" >&6; }
4083 # find the maximum length of command line arguments
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4085 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4086 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4087 $as_echo_n "(cached) " >&6
4094 # On DJGPP, this test can blow up pretty badly due to problems in libc
4095 # (any single argument exceeding 2000 bytes causes a buffer overrun
4096 # during glob expansion). Even if it were fixed, the result of this
4097 # check would be larger than it should be.
4098 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4102 # Under GNU Hurd, this test is not required because there is
4103 # no limit to the length of command line arguments.
4104 # Libtool will interpret -1 as no limit whatsoever
4105 lt_cv_sys_max_cmd_len
=-1;
4108 cygwin
* | mingw
* | cegcc
*)
4109 # On Win9x/ME, this test blows up -- it succeeds, but takes
4110 # about 5 minutes as the teststring grows exponentially.
4111 # Worse, since 9x/ME are not pre-emptively multitasking,
4112 # you end up with a "frozen" computer, even though with patience
4113 # the test eventually succeeds (with a max line length of 256k).
4114 # Instead, let's just punt: use the minimum linelength reported by
4115 # all of the supported platforms: 8192 (on NT/2K/XP).
4116 lt_cv_sys_max_cmd_len
=8192;
4120 # On AmigaOS with pdksh, this test takes hours, literally.
4121 # So we just punt and use a minimum line length of 8192.
4122 lt_cv_sys_max_cmd_len
=8192;
4125 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4126 # This has been around since 386BSD, at least. Likely further.
4127 if test -x /sbin
/sysctl
; then
4128 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4129 elif test -x /usr
/sbin
/sysctl
; then
4130 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4132 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4134 # And add a safety zone
4135 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4136 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4140 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4141 lt_cv_sys_max_cmd_len
=196608
4145 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4146 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4147 # nice to cause kernel panics so lets avoid the loop below.
4148 # First set a reasonable default.
4149 lt_cv_sys_max_cmd_len
=16384
4151 if test -x /sbin
/sysconfig
; then
4152 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4153 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4158 lt_cv_sys_max_cmd_len
=102400
4160 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4161 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4162 if test -n "$kargmax"; then
4163 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4165 lt_cv_sys_max_cmd_len
=32768
4169 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4170 if test -n "$lt_cv_sys_max_cmd_len"; then
4171 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4172 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4174 # Make teststring a little bigger before we do anything with it.
4175 # a 1K string should be a reasonable start.
4176 for i
in 1 2 3 4 5 6 7 8 ; do
4177 teststring
=$teststring$teststring
4179 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4180 # If test is not a shell built-in, we'll probably end up computing a
4181 # maximum length that is only half of the actual maximum length, but
4183 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4184 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4185 test $i != 17 # 1/2 MB should be enough
4188 teststring
=$teststring$teststring
4190 # Only check the string length outside the loop.
4191 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4193 # Add a significant safety factor because C++ compilers can tack on
4194 # massive amounts of additional arguments before passing them to the
4195 # linker. It appears as though 1/2 is a usable value.
4196 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4203 if test -n $lt_cv_sys_max_cmd_len ; then
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4205 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4208 $as_echo "none" >&6; }
4210 max_cmd_len
=$lt_cv_sys_max_cmd_len
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4222 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4223 # Try some XSI features
4226 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4228 && eval 'test $(( 1 + 1 )) -eq 2 \
4229 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4232 $as_echo "$xsi_shell" >&6; }
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4236 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4238 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4240 && lt_shell_append
=yes
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4242 $as_echo "$lt_shell_append" >&6; }
4245 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4255 # test EBCDIC or ASCII
4256 case `echo X|tr X '\101'` in
4257 A
) # ASCII based system
4258 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4259 lt_SP2NL
='tr \040 \012'
4260 lt_NL2SP
='tr \015\012 \040\040'
4262 *) # EBCDIC based system
4263 lt_SP2NL
='tr \100 \n'
4264 lt_NL2SP
='tr \r\n \100\100'
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4277 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4278 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4279 $as_echo_n "(cached) " >&6
4281 lt_cv_ld_reload_flag
='-r'
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4284 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4285 reload_flag
=$lt_cv_ld_reload_flag
4286 case $reload_flag in
4288 *) reload_flag
=" $reload_flag" ;;
4290 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4293 if test "$GCC" = yes; then
4294 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4296 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4309 if test -n "$ac_tool_prefix"; then
4310 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4311 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4315 $as_echo_n "(cached) " >&6
4317 if test -n "$OBJDUMP"; then
4318 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir
=.
4325 for ac_exec_ext
in '' $ac_executable_extensions; do
4326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 OBJDUMP
=$ac_cv_prog_OBJDUMP
4338 if test -n "$OBJDUMP"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4340 $as_echo "$OBJDUMP" >&6; }
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343 $as_echo "no" >&6; }
4348 if test -z "$ac_cv_prog_OBJDUMP"; then
4349 ac_ct_OBJDUMP
=$OBJDUMP
4350 # Extract the first word of "objdump", so it can be a program name with args.
4351 set dummy objdump
; ac_word
=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -n "$ac_ct_OBJDUMP"; then
4358 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir
=.
4365 for ac_exec_ext
in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4378 if test -n "$ac_ct_OBJDUMP"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4380 $as_echo "$ac_ct_OBJDUMP" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4386 if test "x$ac_ct_OBJDUMP" = x
; then
4389 case $cross_compiling:$ac_tool_warned in
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4393 ac_tool_warned
=yes ;;
4395 OBJDUMP
=$ac_ct_OBJDUMP
4398 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4401 test -z "$OBJDUMP" && OBJDUMP
=objdump
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4412 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4413 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4414 $as_echo_n "(cached) " >&6
4416 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4417 lt_cv_file_magic_test_file
=
4418 lt_cv_deplibs_check_method
='unknown'
4419 # Need to set the preceding variable on all platforms that support
4420 # interlibrary dependencies.
4421 # 'none' -- dependencies not supported.
4422 # `unknown' -- same as none, but documents that we really don't know.
4423 # 'pass_all' -- all dependencies passed with no checks.
4424 # 'test_compile' -- check by making test program.
4425 # 'file_magic [[regex]]' -- check by looking for files in library path
4426 # which responds to the $file_magic_cmd with a given extended regex.
4427 # If you have `file' or equivalent on your system and you're not sure
4428 # whether `pass_all' will *always* work, you probably want this one.
4432 lt_cv_deplibs_check_method
=pass_all
4436 lt_cv_deplibs_check_method
=pass_all
4440 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4441 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4442 lt_cv_file_magic_test_file
=/shlib
/libc.so
4446 # func_win32_libid is a shell function defined in ltmain.sh
4447 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4448 lt_cv_file_magic_cmd
='func_win32_libid'
4452 # Base MSYS/MinGW do not provide the 'file' command needed by
4453 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4454 # unless we find 'file', for example because we are cross-compiling.
4455 if ( file / ) >/dev
/null
2>&1; then
4456 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4457 lt_cv_file_magic_cmd
='func_win32_libid'
4459 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4460 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4465 # use the weaker test based on 'objdump'. See mingw*.
4466 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4467 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4470 darwin
* | rhapsody
*)
4471 lt_cv_deplibs_check_method
=pass_all
4474 freebsd
* | dragonfly
*)
4475 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4478 # Not sure whether the presence of OpenBSD here was a mistake.
4479 # Let's accept both of them until this is cleared up.
4480 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4481 lt_cv_file_magic_cmd
=/usr
/bin
/file
4482 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4486 lt_cv_deplibs_check_method
=pass_all
4491 lt_cv_deplibs_check_method
=pass_all
4494 hpux10.20
* | hpux11
*)
4495 lt_cv_file_magic_cmd
=/usr
/bin
/file
4498 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4499 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4502 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]'
4503 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4506 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4507 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4513 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4514 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4517 irix5
* | irix6
* | nonstopux
*)
4519 *-32|*"-32 ") libmagic
=32-bit;;
4520 *-n32|*"-n32 ") libmagic
=N32
;;
4521 *-64|*"-64 ") libmagic
=64-bit;;
4522 *) libmagic
=never
-match;;
4524 lt_cv_deplibs_check_method
=pass_all
4527 # This must be Linux ELF.
4528 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4529 lt_cv_deplibs_check_method
=pass_all
4532 netbsd
* | netbsdelf
*-gnu)
4533 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4534 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4536 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4541 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4542 lt_cv_file_magic_cmd
=/usr
/bin
/file
4543 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4547 lt_cv_deplibs_check_method
=pass_all
4551 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4552 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4554 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4558 osf3
* | osf4
* | osf5
*)
4559 lt_cv_deplibs_check_method
=pass_all
4563 lt_cv_deplibs_check_method
=pass_all
4567 lt_cv_deplibs_check_method
=pass_all
4570 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4571 lt_cv_deplibs_check_method
=pass_all
4575 case $host_vendor in
4577 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]'
4578 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4581 lt_cv_deplibs_check_method
=pass_all
4584 lt_cv_file_magic_cmd
='/bin/file'
4585 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4588 lt_cv_file_magic_cmd
='/bin/file'
4589 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4590 lt_cv_file_magic_test_file
=/lib
/libc.so
4593 lt_cv_deplibs_check_method
=pass_all
4596 lt_cv_deplibs_check_method
=pass_all
4602 lt_cv_deplibs_check_method
=pass_all
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4608 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4609 file_magic_cmd
=$lt_cv_file_magic_cmd
4610 deplibs_check_method
=$lt_cv_deplibs_check_method
4611 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4624 if test -n "$ac_tool_prefix"; then
4625 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4626 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4628 $as_echo_n "checking for $ac_word... " >&6; }
4629 if test "${ac_cv_prog_AR+set}" = set; then :
4630 $as_echo_n "(cached) " >&6
4632 if test -n "$AR"; then
4633 ac_cv_prog_AR
="$AR" # Let the user override the test.
4635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4639 test -z "$as_dir" && as_dir
=.
4640 for ac_exec_ext
in '' $ac_executable_extensions; do
4641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4642 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 if test -n "$AR"; then
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4655 $as_echo "$AR" >&6; }
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658 $as_echo "no" >&6; }
4663 if test -z "$ac_cv_prog_AR"; then
4665 # Extract the first word of "ar", so it can be a program name with args.
4666 set dummy
ar; ac_word
=$2
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668 $as_echo_n "checking for $ac_word... " >&6; }
4669 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4670 $as_echo_n "(cached) " >&6
4672 if test -n "$ac_ct_AR"; then
4673 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4679 test -z "$as_dir" && as_dir
=.
4680 for ac_exec_ext
in '' $ac_executable_extensions; do
4681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4682 ac_cv_prog_ac_ct_AR
="ar"
4683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4693 if test -n "$ac_ct_AR"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4695 $as_echo "$ac_ct_AR" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 $as_echo "no" >&6; }
4701 if test "x$ac_ct_AR" = x
; then
4704 case $cross_compiling:$ac_tool_warned in
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4708 ac_tool_warned
=yes ;;
4716 test -z "$AR" && AR
=ar
4717 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4729 if test -n "$ac_tool_prefix"; then
4730 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4731 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 $as_echo_n "checking for $ac_word... " >&6; }
4734 if test "${ac_cv_prog_STRIP+set}" = set; then :
4735 $as_echo_n "(cached) " >&6
4737 if test -n "$STRIP"; then
4738 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4744 test -z "$as_dir" && as_dir
=.
4745 for ac_exec_ext
in '' $ac_executable_extensions; do
4746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4747 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757 STRIP
=$ac_cv_prog_STRIP
4758 if test -n "$STRIP"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4760 $as_echo "$STRIP" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4768 if test -z "$ac_cv_prog_STRIP"; then
4770 # Extract the first word of "strip", so it can be a program name with args.
4771 set dummy strip
; ac_word
=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4775 $as_echo_n "(cached) " >&6
4777 if test -n "$ac_ct_STRIP"; then
4778 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4784 test -z "$as_dir" && as_dir
=.
4785 for ac_exec_ext
in '' $ac_executable_extensions; do
4786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4787 ac_cv_prog_ac_ct_STRIP
="strip"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4798 if test -n "$ac_ct_STRIP"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4800 $as_echo "$ac_ct_STRIP" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4806 if test "x$ac_ct_STRIP" = x
; then
4809 case $cross_compiling:$ac_tool_warned in
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4813 ac_tool_warned
=yes ;;
4818 STRIP
="$ac_cv_prog_STRIP"
4821 test -z "$STRIP" && STRIP
=:
4828 if test -n "$ac_tool_prefix"; then
4829 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4830 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4832 $as_echo_n "checking for $ac_word... " >&6; }
4833 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4834 $as_echo_n "(cached) " >&6
4836 if test -n "$RANLIB"; then
4837 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4843 test -z "$as_dir" && as_dir
=.
4844 for ac_exec_ext
in '' $ac_executable_extensions; do
4845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4846 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4856 RANLIB
=$ac_cv_prog_RANLIB
4857 if test -n "$RANLIB"; then
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4859 $as_echo "$RANLIB" >&6; }
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 $as_echo "no" >&6; }
4867 if test -z "$ac_cv_prog_RANLIB"; then
4868 ac_ct_RANLIB
=$RANLIB
4869 # Extract the first word of "ranlib", so it can be a program name with args.
4870 set dummy ranlib
; ac_word
=$2
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 $as_echo_n "checking for $ac_word... " >&6; }
4873 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4874 $as_echo_n "(cached) " >&6
4876 if test -n "$ac_ct_RANLIB"; then
4877 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4883 test -z "$as_dir" && as_dir
=.
4884 for ac_exec_ext
in '' $ac_executable_extensions; do
4885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4886 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4897 if test -n "$ac_ct_RANLIB"; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4899 $as_echo "$ac_ct_RANLIB" >&6; }
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4905 if test "x$ac_ct_RANLIB" = x
; then
4908 case $cross_compiling:$ac_tool_warned in
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4912 ac_tool_warned
=yes ;;
4914 RANLIB
=$ac_ct_RANLIB
4917 RANLIB
="$ac_cv_prog_RANLIB"
4920 test -z "$RANLIB" && RANLIB
=:
4927 # Determine commands to create old-style static archives.
4928 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4929 old_postinstall_cmds
='chmod 644 $oldlib'
4930 old_postuninstall_cmds
=
4932 if test -n "$RANLIB"; then
4935 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4938 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4941 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
4977 # If no C compiler was specified, use CC.
4980 # If no C compiler flags were specified, use CFLAGS.
4981 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4983 # Allow CC to be a program name with arguments.
4987 # Check for command to grab the raw symbol name followed by C symbol from nm.
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
4989 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
4990 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
4991 $as_echo_n "(cached) " >&6
4994 # These are sane defaults that work on at least a few old systems.
4995 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4997 # Character class describing NM global symbol codes.
4998 symcode
='[BCDEGRST]'
5000 # Regexp to match symbols that can be accessed directly from C.
5001 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5003 # Define system-specific variables.
5008 cygwin
* | mingw
* | pw32
* | cegcc
*)
5009 symcode
='[ABCDGISTW]'
5012 if test "$host_cpu" = ia64
; then
5013 symcode
='[ABCDEGRST]'
5017 symcode
='[BCDEGRST]'
5020 symcode
='[BCDEGQRST]'
5031 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5039 # If we're using GNU nm, then use its standard symbol codes.
5040 case `$NM -V 2>&1` in
5041 *GNU
* | *'with BFD'*)
5042 symcode
='[ABCDGIRSTW]' ;;
5045 # Transform an extracted symbol line into a proper C declaration.
5046 # Some systems (esp. on ia64) link data and code symbols differently,
5047 # so use this general approach.
5048 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5050 # Transform an extracted symbol line into symbol name and symbol address
5051 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5052 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'"
5054 # Handle CRLF in mingw tool chain
5058 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5062 # Try without a prefix underscore, then with it.
5063 for ac_symprfx
in "" "_"; do
5065 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5066 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5068 # Write the raw and C identifiers.
5069 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5070 # Fake it for dumpbin and say T for any non-static function
5071 # and D for any global variable.
5072 # Also find C++ and __fastcall symbols from MSVC++,
5073 # which start with @ or ?.
5074 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5075 " {last_section=section; section=\$ 3};"\
5076 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5077 " \$ 0!~/External *\|/{next};"\
5078 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5079 " {if(hide[section]) next};"\
5080 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5081 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5082 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5083 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5084 " ' prfx=^$ac_symprfx"
5086 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5089 # Check to see that the pipe works correctly.
5093 cat > conftest.
$ac_ext <<_LT_EOF
5098 void nm_test_func(void);
5099 void nm_test_func(void){}
5103 int main(){nm_test_var='a';nm_test_func();return(0);}
5106 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5107 (eval $ac_compile) 2>&5
5109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5110 test $ac_status = 0; }; then
5111 # Now try to grab the symbols.
5113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5114 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5117 test $ac_status = 0; } && test -s "$nlist"; then
5118 # Try sorting and uniquifying the output.
5119 if sort "$nlist" | uniq > "$nlist"T
; then
5120 mv -f "$nlist"T
"$nlist"
5125 # Make sure that we snagged all the symbols we need.
5126 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5127 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5128 cat <<_LT_EOF > conftest.$ac_ext
5134 # Now generate the symbol file.
5135 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5137 cat <<_LT_EOF >> conftest.$ac_ext
5139 /* The mapping between symbol names and symbols. */
5144 lt__PROGRAM__LTX_preloaded_symbols[] =
5146 { "@PROGRAM@", (void *) 0 },
5148 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5149 cat <<\_LT_EOF
>> conftest.
$ac_ext
5153 /* This works around a problem
in FreeBSD linker
*/
5154 #ifdef FREEBSD_WORKAROUND
5155 static const void
*lt_preloaded_setup
() {
5156 return lt__PROGRAM__LTX_preloaded_symbols
;
5164 # Now try linking the two files.
5165 mv conftest.
$ac_objext conftstm.
$ac_objext
5166 lt_save_LIBS
="$LIBS"
5167 lt_save_CFLAGS
="$CFLAGS"
5168 LIBS
="conftstm.$ac_objext"
5169 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5171 (eval $ac_link) 2>&5
5173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5174 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5177 LIBS
="$lt_save_LIBS"
5178 CFLAGS
="$lt_save_CFLAGS"
5180 echo "cannot find nm_test_func in $nlist" >&5
5183 echo "cannot find nm_test_var in $nlist" >&5
5186 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5189 echo "$progname: failed program was:" >&5
5190 cat conftest.
$ac_ext >&5
5192 rm -rf conftest
* conftst
*
5194 # Do not use the global_symbol_pipe unless it works.
5195 if test "$pipe_works" = yes; then
5198 lt_cv_sys_global_symbol_pipe
=
5204 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5205 lt_cv_sys_global_symbol_to_cdecl
=
5207 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5209 $as_echo "failed" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5212 $as_echo "ok" >&6; }
5237 # Check whether --enable-libtool-lock was given.
5238 if test "${enable_libtool_lock+set}" = set; then :
5239 enableval
=$enable_libtool_lock;
5242 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5244 # Some flags need to be propagated to the compiler or linker for good
5248 # Find out which ABI we are using.
5249 echo 'int i;' > conftest.
$ac_ext
5250 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5251 (eval $ac_compile) 2>&5
5253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5254 test $ac_status = 0; }; then
5255 case `/usr/bin/file conftest.$ac_objext` in
5267 # Find out which ABI we are using.
5268 echo '#line 5267 "configure"' > conftest.
$ac_ext
5269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5270 (eval $ac_compile) 2>&5
5272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5273 test $ac_status = 0; }; then
5274 if test "$lt_cv_prog_gnu_ld" = yes; then
5275 case `/usr/bin/file conftest.$ac_objext` in
5277 LD
="${LD-ld} -melf32bsmip"
5280 LD
="${LD-ld} -melf32bmipn32"
5283 LD
="${LD-ld} -melf64bmip"
5287 case `/usr/bin/file conftest.$ac_objext` in
5303 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5304 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5305 # Find out which ABI we are using.
5306 echo 'int i;' > conftest.
$ac_ext
5307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5308 (eval $ac_compile) 2>&5
5310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5311 test $ac_status = 0; }; then
5312 case `/usr/bin/file conftest.o` in
5315 x86_64
-*kfreebsd
*-gnu)
5316 LD
="${LD-ld} -m elf_i386_fbsd"
5319 LD
="${LD-ld} -m elf_i386"
5321 ppc64
-*linux
*|powerpc64
-*linux
*)
5322 LD
="${LD-ld} -m elf32ppclinux"
5325 LD
="${LD-ld} -m elf_s390"
5328 LD
="${LD-ld} -m elf32_sparc"
5334 x86_64
-*kfreebsd
*-gnu)
5335 LD
="${LD-ld} -m elf_x86_64_fbsd"
5338 LD
="${LD-ld} -m elf_x86_64"
5340 ppc
*-*linux
*|powerpc
*-*linux
*)
5341 LD
="${LD-ld} -m elf64ppc"
5343 s390
*-*linux
*|s390
*-*tpf
*)
5344 LD
="${LD-ld} -m elf64_s390"
5347 LD
="${LD-ld} -m elf64_sparc"
5357 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5358 SAVE_CFLAGS
="$CFLAGS"
5359 CFLAGS
="$CFLAGS -belf"
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5361 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5362 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5363 $as_echo_n "(cached) " >&6
5366 ac_cpp
='$CPP $CPPFLAGS'
5367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5382 if ac_fn_c_try_link
"$LINENO"; then :
5383 lt_cv_cc_needs_belf
=yes
5385 lt_cv_cc_needs_belf
=no
5387 rm -f core conftest.err conftest.
$ac_objext \
5388 conftest
$ac_exeext conftest.
$ac_ext
5390 ac_cpp
='$CPP $CPPFLAGS'
5391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5397 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5398 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5399 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5400 CFLAGS
="$SAVE_CFLAGS"
5404 # Find out which ABI we are using.
5405 echo 'int i;' > conftest.
$ac_ext
5406 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5407 (eval $ac_compile) 2>&5
5409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5410 test $ac_status = 0; }; then
5411 case `/usr/bin/file conftest.o` in
5413 case $lt_cv_prog_gnu_ld in
5414 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5416 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5428 need_locks
="$enable_libtool_lock"
5432 rhapsody
* | darwin
*)
5433 if test -n "$ac_tool_prefix"; then
5434 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5435 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5439 $as_echo_n "(cached) " >&6
5441 if test -n "$DSYMUTIL"; then
5442 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5451 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5462 if test -n "$DSYMUTIL"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5464 $as_echo "$DSYMUTIL" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5472 if test -z "$ac_cv_prog_DSYMUTIL"; then
5473 ac_ct_DSYMUTIL
=$DSYMUTIL
5474 # Extract the first word of "dsymutil", so it can be a program name with args.
5475 set dummy dsymutil
; ac_word
=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5479 $as_echo_n "(cached) " >&6
5481 if test -n "$ac_ct_DSYMUTIL"; then
5482 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5488 test -z "$as_dir" && as_dir
=.
5489 for ac_exec_ext
in '' $ac_executable_extensions; do
5490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5491 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5502 if test -n "$ac_ct_DSYMUTIL"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5504 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5510 if test "x$ac_ct_DSYMUTIL" = x
; then
5513 case $cross_compiling:$ac_tool_warned in
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5517 ac_tool_warned
=yes ;;
5519 DSYMUTIL
=$ac_ct_DSYMUTIL
5522 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5525 if test -n "$ac_tool_prefix"; then
5526 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5527 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5529 $as_echo_n "checking for $ac_word... " >&6; }
5530 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5531 $as_echo_n "(cached) " >&6
5533 if test -n "$NMEDIT"; then
5534 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5540 test -z "$as_dir" && as_dir
=.
5541 for ac_exec_ext
in '' $ac_executable_extensions; do
5542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5543 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553 NMEDIT
=$ac_cv_prog_NMEDIT
5554 if test -n "$NMEDIT"; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5556 $as_echo "$NMEDIT" >&6; }
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559 $as_echo "no" >&6; }
5564 if test -z "$ac_cv_prog_NMEDIT"; then
5565 ac_ct_NMEDIT
=$NMEDIT
5566 # Extract the first word of "nmedit", so it can be a program name with args.
5567 set dummy nmedit
; ac_word
=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569 $as_echo_n "checking for $ac_word... " >&6; }
5570 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5571 $as_echo_n "(cached) " >&6
5573 if test -n "$ac_ct_NMEDIT"; then
5574 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5580 test -z "$as_dir" && as_dir
=.
5581 for ac_exec_ext
in '' $ac_executable_extensions; do
5582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5583 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5593 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5594 if test -n "$ac_ct_NMEDIT"; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5596 $as_echo "$ac_ct_NMEDIT" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }
5602 if test "x$ac_ct_NMEDIT" = x
; then
5605 case $cross_compiling:$ac_tool_warned in
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5609 ac_tool_warned
=yes ;;
5611 NMEDIT
=$ac_ct_NMEDIT
5614 NMEDIT
="$ac_cv_prog_NMEDIT"
5617 if test -n "$ac_tool_prefix"; then
5618 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5619 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5621 $as_echo_n "checking for $ac_word... " >&6; }
5622 if test "${ac_cv_prog_LIPO+set}" = set; then :
5623 $as_echo_n "(cached) " >&6
5625 if test -n "$LIPO"; then
5626 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5632 test -z "$as_dir" && as_dir
=.
5633 for ac_exec_ext
in '' $ac_executable_extensions; do
5634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 LIPO
=$ac_cv_prog_LIPO
5646 if test -n "$LIPO"; then
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5648 $as_echo "$LIPO" >&6; }
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651 $as_echo "no" >&6; }
5656 if test -z "$ac_cv_prog_LIPO"; then
5658 # Extract the first word of "lipo", so it can be a program name with args.
5659 set dummy lipo
; ac_word
=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5663 $as_echo_n "(cached) " >&6
5665 if test -n "$ac_ct_LIPO"; then
5666 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir
=.
5673 for ac_exec_ext
in '' $ac_executable_extensions; do
5674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5675 ac_cv_prog_ac_ct_LIPO
="lipo"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5686 if test -n "$ac_ct_LIPO"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5688 $as_echo "$ac_ct_LIPO" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5694 if test "x$ac_ct_LIPO" = x
; then
5697 case $cross_compiling:$ac_tool_warned in
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5701 ac_tool_warned
=yes ;;
5706 LIPO
="$ac_cv_prog_LIPO"
5709 if test -n "$ac_tool_prefix"; then
5710 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5711 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5715 $as_echo_n "(cached) " >&6
5717 if test -n "$OTOOL"; then
5718 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir
=.
5725 for ac_exec_ext
in '' $ac_executable_extensions; do
5726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 OTOOL
=$ac_cv_prog_OTOOL
5738 if test -n "$OTOOL"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5740 $as_echo "$OTOOL" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5748 if test -z "$ac_cv_prog_OTOOL"; then
5750 # Extract the first word of "otool", so it can be a program name with args.
5751 set dummy otool
; ac_word
=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753 $as_echo_n "checking for $ac_word... " >&6; }
5754 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5755 $as_echo_n "(cached) " >&6
5757 if test -n "$ac_ct_OTOOL"; then
5758 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5764 test -z "$as_dir" && as_dir
=.
5765 for ac_exec_ext
in '' $ac_executable_extensions; do
5766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767 ac_cv_prog_ac_ct_OTOOL
="otool"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5778 if test -n "$ac_ct_OTOOL"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5780 $as_echo "$ac_ct_OTOOL" >&6; }
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }
5786 if test "x$ac_ct_OTOOL" = x
; then
5789 case $cross_compiling:$ac_tool_warned in
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5793 ac_tool_warned
=yes ;;
5798 OTOOL
="$ac_cv_prog_OTOOL"
5801 if test -n "$ac_tool_prefix"; then
5802 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5803 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805 $as_echo_n "checking for $ac_word... " >&6; }
5806 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5807 $as_echo_n "(cached) " >&6
5809 if test -n "$OTOOL64"; then
5810 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5816 test -z "$as_dir" && as_dir
=.
5817 for ac_exec_ext
in '' $ac_executable_extensions; do
5818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5819 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 OTOOL64
=$ac_cv_prog_OTOOL64
5830 if test -n "$OTOOL64"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5832 $as_echo "$OTOOL64" >&6; }
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 $as_echo "no" >&6; }
5840 if test -z "$ac_cv_prog_OTOOL64"; then
5841 ac_ct_OTOOL64
=$OTOOL64
5842 # Extract the first word of "otool64", so it can be a program name with args.
5843 set dummy otool64
; ac_word
=$2
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5845 $as_echo_n "checking for $ac_word... " >&6; }
5846 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5847 $as_echo_n "(cached) " >&6
5849 if test -n "$ac_ct_OTOOL64"; then
5850 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5856 test -z "$as_dir" && as_dir
=.
5857 for ac_exec_ext
in '' $ac_executable_extensions; do
5858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5859 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5870 if test -n "$ac_ct_OTOOL64"; then
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5872 $as_echo "$ac_ct_OTOOL64" >&6; }
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5875 $as_echo "no" >&6; }
5878 if test "x$ac_ct_OTOOL64" = x
; then
5881 case $cross_compiling:$ac_tool_warned in
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5885 ac_tool_warned
=yes ;;
5887 OTOOL64
=$ac_ct_OTOOL64
5890 OTOOL64
="$ac_cv_prog_OTOOL64"
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5920 $as_echo_n "checking for -single_module linker flag... " >&6; }
5921 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5922 $as_echo_n "(cached) " >&6
5924 lt_cv_apple_cc_single_mod
=no
5925 if test -z "${LT_MULTI_MODULE}"; then
5926 # By default we will add the -single_module flag. You can override
5927 # by either setting the environment variable LT_MULTI_MODULE
5928 # non-empty at configure time, or by adding -multi_module to the
5930 rm -rf libconftest.dylib
*
5931 echo "int foo(void){return 1;}" > conftest.c
5932 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5933 -dynamiclib -Wl,-single_module conftest.c" >&5
5934 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5935 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5937 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5938 lt_cv_apple_cc_single_mod
=yes
5940 cat conftest.err
>&5
5942 rm -rf libconftest.dylib
*
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5947 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5949 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5950 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5951 $as_echo_n "(cached) " >&6
5953 lt_cv_ld_exported_symbols_list
=no
5954 save_LDFLAGS
=$LDFLAGS
5955 echo "_main" > conftest.sym
5956 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5958 /* end confdefs.h. */
5968 if ac_fn_c_try_link
"$LINENO"; then :
5969 lt_cv_ld_exported_symbols_list
=yes
5971 lt_cv_ld_exported_symbols_list
=no
5973 rm -f core conftest.err conftest.
$ac_objext \
5974 conftest
$ac_exeext conftest.
$ac_ext
5975 LDFLAGS
="$save_LDFLAGS"
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
5979 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5981 rhapsody
* | darwin1.
[012])
5982 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
5984 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5985 darwin
*) # darwin 5.x on
5986 # if running on 10.5 or later, the deployment target defaults
5987 # to the OS version, if on x86, and 10.4, the deployment
5988 # target defaults to 10.4. Don't you love it?
5989 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5990 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5991 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5993 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5995 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5999 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6000 _lt_dar_single_mod
='$single_module'
6002 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6003 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6005 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6007 if test "$DSYMUTIL" != ":"; then
6008 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6016 ac_cpp
='$CPP $CPPFLAGS'
6017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6021 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6022 # On Suns, sometimes $CPP names a directory.
6023 if test -n "$CPP" && test -d "$CPP"; then
6026 if test -z "$CPP"; then
6027 if test "${ac_cv_prog_CPP+set}" = set; then :
6028 $as_echo_n "(cached) " >&6
6030 # Double quotes because CPP needs to be expanded
6031 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6034 for ac_c_preproc_warn_flag
in '' yes
6036 # Use a header file that comes with gcc, so configuring glibc
6037 # with a fresh cross-compiler works.
6038 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6039 # <limits.h> exists even on freestanding compilers.
6040 # On the NeXT, cc -E runs the code through the compiler's parser,
6041 # not just through cpp. "Syntax error" is here to catch this case.
6042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6043 /* end confdefs.h. */
6045 # include <limits.h>
6047 # include <assert.h>
6051 if ac_fn_c_try_cpp
"$LINENO"; then :
6054 # Broken: fails on valid input.
6057 rm -f conftest.err conftest.
$ac_ext
6059 # OK, works on sane cases. Now check whether nonexistent headers
6060 # can be detected and how.
6061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6062 /* end confdefs.h. */
6063 #include <ac_nonexistent.h>
6065 if ac_fn_c_try_cpp
"$LINENO"; then :
6066 # Broken: success on invalid input.
6069 # Passes both tests.
6073 rm -f conftest.err conftest.
$ac_ext
6076 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6077 rm -f conftest.err conftest.
$ac_ext
6078 if $ac_preproc_ok; then :
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6091 $as_echo "$CPP" >&6; }
6093 for ac_c_preproc_warn_flag
in '' yes
6095 # Use a header file that comes with gcc, so configuring glibc
6096 # with a fresh cross-compiler works.
6097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6098 # <limits.h> exists even on freestanding compilers.
6099 # On the NeXT, cc -E runs the code through the compiler's parser,
6100 # not just through cpp. "Syntax error" is here to catch this case.
6101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6102 /* end confdefs.h. */
6104 # include <limits.h>
6106 # include <assert.h>
6110 if ac_fn_c_try_cpp
"$LINENO"; then :
6113 # Broken: fails on valid input.
6116 rm -f conftest.err conftest.
$ac_ext
6118 # OK, works on sane cases. Now check whether nonexistent headers
6119 # can be detected and how.
6120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6121 /* end confdefs.h. */
6122 #include <ac_nonexistent.h>
6124 if ac_fn_c_try_cpp
"$LINENO"; then :
6125 # Broken: success on invalid input.
6128 # Passes both tests.
6132 rm -f conftest.err conftest.
$ac_ext
6135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6136 rm -f conftest.err conftest.
$ac_ext
6137 if $ac_preproc_ok; then :
6140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6142 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6143 See \`config.log' for more details." "$LINENO" 5; }
6147 ac_cpp
='$CPP $CPPFLAGS'
6148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6154 $as_echo_n "checking for ANSI C header files... " >&6; }
6155 if test "${ac_cv_header_stdc+set}" = set; then :
6156 $as_echo_n "(cached) " >&6
6158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6159 /* end confdefs.h. */
6173 if ac_fn_c_try_compile
"$LINENO"; then :
6174 ac_cv_header_stdc
=yes
6176 ac_cv_header_stdc
=no
6178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6180 if test $ac_cv_header_stdc = yes; then
6181 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6188 $EGREP "memchr" >/dev
/null
2>&1; then :
6191 ac_cv_header_stdc
=no
6197 if test $ac_cv_header_stdc = yes; then
6198 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h. */
6204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6205 $EGREP "free" >/dev
/null
2>&1; then :
6208 ac_cv_header_stdc
=no
6214 if test $ac_cv_header_stdc = yes; then
6215 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6216 if test "$cross_compiling" = yes; then :
6219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6223 #if ((' ' & 0x0FF) == 0x020)
6224 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6225 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6227 # define ISLOWER(c) \
6228 (('a' <= (c) && (c) <= 'i') \
6229 || ('j' <= (c) && (c) <= 'r') \
6230 || ('s' <= (c) && (c) <= 'z'))
6231 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6234 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6239 for (i = 0; i < 256; i++)
6240 if (XOR (islower (i), ISLOWER (i))
6241 || toupper (i) != TOUPPER (i))
6246 if ac_fn_c_try_run
"$LINENO"; then :
6249 ac_cv_header_stdc
=no
6251 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6252 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6258 $as_echo "$ac_cv_header_stdc" >&6; }
6259 if test $ac_cv_header_stdc = yes; then
6261 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6265 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6266 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6267 inttypes.h stdint.h unistd.h
6269 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6270 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6272 eval as_val
=\$
$as_ac_Header
6273 if test "x$as_val" = x
""yes; then :
6274 cat >>confdefs.h
<<_ACEOF
6275 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6283 for ac_header
in dlfcn.h
6285 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6287 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6288 cat >>confdefs.h
<<_ACEOF
6289 #define HAVE_DLFCN_H 1
6299 # Check whether --enable-static was given.
6300 if test "${enable_static+set}" = set; then :
6301 enableval
=$enable_static; p
=${PACKAGE-default}
6303 yes) enable_static
=yes ;;
6304 no
) enable_static
=no
;;
6307 # Look at the argument we got. We use all the common list separators.
6308 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6309 for pkg
in $enableval; do
6311 if test "X$pkg" = "X$p"; then
6337 # Check whether --enable-shared was given.
6338 if test "${enable_shared+set}" = set; then :
6339 enableval
=$enable_shared; p
=${PACKAGE-default}
6341 yes) enable_shared
=yes ;;
6342 no
) enable_shared
=no
;;
6345 # Look at the argument we got. We use all the common list separators.
6346 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6347 for pkg
in $enableval; do
6349 if test "X$pkg" = "X$p"; then
6370 # Check whether --with-pic was given.
6371 if test "${with_pic+set}" = set; then :
6372 withval
=$with_pic; pic_mode
="$withval"
6378 test -z "$pic_mode" && pic_mode
=default
6386 # Check whether --enable-fast-install was given.
6387 if test "${enable_fast_install+set}" = set; then :
6388 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6390 yes) enable_fast_install
=yes ;;
6391 no
) enable_fast_install
=no
;;
6393 enable_fast_install
=no
6394 # Look at the argument we got. We use all the common list separators.
6395 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6396 for pkg
in $enableval; do
6398 if test "X$pkg" = "X$p"; then
6399 enable_fast_install
=yes
6406 enable_fast_install
=yes
6419 # This can be used to rebuild libtool when needed
6420 LIBTOOL_DEPS
="$ltmain"
6422 # Always use our own libtool.
6423 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6449 test -z "$LN_S" && LN_S
="ln -s"
6464 if test -n "${ZSH_VERSION+set}" ; then
6465 setopt NO_GLOB_SUBST
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6469 $as_echo_n "checking for objdir... " >&6; }
6470 if test "${lt_cv_objdir+set}" = set; then :
6471 $as_echo_n "(cached) " >&6
6473 rm -f .libs
2>/dev
/null
6474 mkdir .libs
2>/dev
/null
6475 if test -d .libs
; then
6478 # MS-DOS does not allow filenames that begin with a dot.
6481 rmdir .libs
2>/dev
/null
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6484 $as_echo "$lt_cv_objdir" >&6; }
6485 objdir
=$lt_cv_objdir
6491 cat >>confdefs.h
<<_ACEOF
6492 #define LT_OBJDIR "$lt_cv_objdir/"
6513 # AIX sometimes has problems with the GCC collect2 program. For some
6514 # reason, if we set the COLLECT_NAMES environment variable, the problems
6515 # vanish in a puff of smoke.
6516 if test "X${COLLECT_NAMES+set}" != Xset
; then
6518 export COLLECT_NAMES
6523 # Sed substitution that helps us do robust quoting. It backslashifies
6524 # metacharacters that are still active within double-quoted strings.
6525 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6527 # Same as above, but do not quote variable references.
6528 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6530 # Sed substitution to delay expansion of an escaped shell variable in a
6531 # double_quote_subst'ed string.
6532 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6534 # Sed substitution to delay expansion of an escaped single quote.
6535 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6537 # Sed substitution to avoid accidental globbing in evaled expressions
6538 no_glob_subst
='s/\*/\\\*/g'
6542 can_build_shared
=yes
6544 # All known linkers require a `.a' archive for static linking (except MSVC,
6545 # which needs '.lib').
6548 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6551 old_CFLAGS
="$CFLAGS"
6553 # Set sane defaults for various variables
6554 test -z "$CC" && CC
=cc
6555 test -z "$LTCC" && LTCC
=$CC
6556 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6557 test -z "$LD" && LD
=ld
6558 test -z "$ac_objext" && ac_objext
=o
6560 for cc_temp
in $compiler""; do
6562 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6563 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6568 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6571 # Only perform the check for file, if the check method requires it
6572 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6573 case $deplibs_check_method in
6575 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6577 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6578 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6579 $as_echo_n "(cached) " >&6
6583 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6586 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6587 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6588 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6589 for ac_dir
in $ac_dummy; do
6591 test -z "$ac_dir" && ac_dir
=.
6592 if test -f $ac_dir/${ac_tool_prefix}file; then
6593 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6594 if test -n "$file_magic_test_file"; then
6595 case $deplibs_check_method in
6597 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6598 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6599 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6600 $EGREP "$file_magic_regex" > /dev
/null
; then
6605 *** Warning: the command libtool uses to detect shared libraries,
6606 *** $file_magic_cmd, produces output that libtool cannot recognize.
6607 *** The result is that libtool may fail to recognize shared libraries
6608 *** as such. This will affect the creation of libtool libraries that
6609 *** depend on shared libraries, but programs linked with such libtool
6610 *** libraries will work regardless of this problem. Nevertheless, you
6611 *** may want to report the problem to your system manager and/or to
6612 *** bug-libtool@gnu.org
6622 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6627 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6628 if test -n "$MAGIC_CMD"; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6630 $as_echo "$MAGIC_CMD" >&6; }
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6640 if test -z "$lt_cv_path_MAGIC_CMD"; then
6641 if test -n "$ac_tool_prefix"; then
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6643 $as_echo_n "checking for file... " >&6; }
6644 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6645 $as_echo_n "(cached) " >&6
6649 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6652 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6653 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6654 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6655 for ac_dir
in $ac_dummy; do
6657 test -z "$ac_dir" && ac_dir
=.
6658 if test -f $ac_dir/file; then
6659 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6660 if test -n "$file_magic_test_file"; then
6661 case $deplibs_check_method in
6663 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6664 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6665 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6666 $EGREP "$file_magic_regex" > /dev
/null
; then
6671 *** Warning: the command libtool uses to detect shared libraries,
6672 *** $file_magic_cmd, produces output that libtool cannot recognize.
6673 *** The result is that libtool may fail to recognize shared libraries
6674 *** as such. This will affect the creation of libtool libraries that
6675 *** depend on shared libraries, but programs linked with such libtool
6676 *** libraries will work regardless of this problem. Nevertheless, you
6677 *** may want to report the problem to your system manager and/or to
6678 *** bug-libtool@gnu.org
6688 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6693 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6694 if test -n "$MAGIC_CMD"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6696 $as_echo "$MAGIC_CMD" >&6; }
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6712 # Use C for the default configuration in the libtool script
6716 ac_cpp
='$CPP $CPPFLAGS'
6717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6722 # Source file extension for C test sources.
6725 # Object file extension for compiled C test sources.
6729 # Code to be used in simple compile tests
6730 lt_simple_compile_test_code
="int some_variable = 0;"
6732 # Code to be used in simple link tests
6733 lt_simple_link_test_code
='int main(){return(0);}'
6741 # If no C compiler was specified, use CC.
6744 # If no C compiler flags were specified, use CFLAGS.
6745 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6747 # Allow CC to be a program name with arguments.
6750 # Save the default compiler, since it gets overwritten when the other
6751 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6752 compiler_DEFAULT
=$CC
6754 # save warnings/boilerplate of simple test code
6755 ac_outfile
=conftest.
$ac_objext
6756 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6757 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6758 _lt_compiler_boilerplate
=`cat conftest.err`
6761 ac_outfile
=conftest.
$ac_objext
6762 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6763 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6764 _lt_linker_boilerplate
=`cat conftest.err`
6768 if test -n "$compiler"; then
6770 lt_prog_compiler_no_builtin_flag
=
6772 if test "$GCC" = yes; then
6773 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6776 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6777 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6778 $as_echo_n "(cached) " >&6
6780 lt_cv_prog_compiler_rtti_exceptions
=no
6781 ac_outfile
=conftest.
$ac_objext
6782 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6783 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6784 # Insert the option either (1) after the last *FLAGS variable, or
6785 # (2) before a word containing "conftest.", or (3) at the end.
6786 # Note that $ac_compile itself does not contain backslashes and begins
6787 # with a dollar sign (not a hyphen), so the echo should work correctly.
6788 # The option is referenced via a variable to avoid confusing sed.
6789 lt_compile
=`echo "$ac_compile" | $SED \
6790 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6791 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6792 -e 's:$: $lt_compiler_flag:'`
6793 (eval echo "\"\$as_me:6792: $lt_compile\"" >&5)
6794 (eval "$lt_compile" 2>conftest.err
)
6796 cat conftest.err
>&5
6797 echo "$as_me:6796: \$? = $ac_status" >&5
6798 if (exit $ac_status) && test -s "$ac_outfile"; then
6799 # The compiler can only warn and ignore the option if not recognized
6800 # So say no if there are warnings other than the usual output.
6801 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6802 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6803 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6804 lt_cv_prog_compiler_rtti_exceptions
=yes
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6811 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6813 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6814 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6826 lt_prog_compiler_wl
=
6827 lt_prog_compiler_pic
=
6828 lt_prog_compiler_static
=
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6831 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6833 if test "$GCC" = yes; then
6834 lt_prog_compiler_wl
='-Wl,'
6835 lt_prog_compiler_static
='-static'
6839 # All AIX code is PIC.
6840 if test "$host_cpu" = ia64
; then
6841 # AIX 5 now supports IA64 processor
6842 lt_prog_compiler_static
='-Bstatic'
6849 # see comment about AmigaOS4 .so support
6850 lt_prog_compiler_pic
='-fPIC'
6853 # FIXME: we need at least 68020 code to build shared libraries, but
6854 # adding the `-m68020' flag to GCC prevents building anything better,
6856 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6861 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6862 # PIC is the default for these OSes.
6865 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6866 # This hack is so that the source file can tell whether it is being
6867 # built for inclusion in a dll (and should export symbols for example).
6868 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6869 # (--disable-auto-import) libraries
6870 lt_prog_compiler_pic
='-DDLL_EXPORT'
6873 darwin
* | rhapsody
*)
6874 # PIC is the default on this platform
6875 # Common symbols not allowed in MH_DYLIB files
6876 lt_prog_compiler_pic
='-fno-common'
6880 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6881 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6882 # sets the default TLS model and affects inlining.
6888 lt_prog_compiler_pic
='-fPIC'
6894 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6895 # Instead, we relocate shared libraries at runtime.
6899 # Just because we use GCC doesn't mean we suddenly get shared libraries
6900 # on systems that don't support them.
6901 lt_prog_compiler_can_build_shared
=no
6906 # QNX uses GNU C++, but need to define -shared option too, otherwise
6908 lt_prog_compiler_pic
='-fPIC -shared'
6912 if test -d /usr
/nec
; then
6913 lt_prog_compiler_pic
=-Kconform_pic
6918 lt_prog_compiler_pic
='-fPIC'
6922 # PORTME Check for flag to pass linker flags through the system compiler.
6925 lt_prog_compiler_wl
='-Wl,'
6926 if test "$host_cpu" = ia64
; then
6927 # AIX 5 now supports IA64 processor
6928 lt_prog_compiler_static
='-Bstatic'
6930 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6934 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6935 # This hack is so that the source file can tell whether it is being
6936 # built for inclusion in a dll (and should export symbols for example).
6937 lt_prog_compiler_pic
='-DDLL_EXPORT'
6940 hpux9
* | hpux10
* | hpux11
*)
6941 lt_prog_compiler_wl
='-Wl,'
6942 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6949 lt_prog_compiler_pic
='+Z'
6952 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6953 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6956 irix5
* | irix6
* | nonstopux
*)
6957 lt_prog_compiler_wl
='-Wl,'
6958 # PIC (with -KPIC) is the default.
6959 lt_prog_compiler_static
='-non_shared'
6962 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6963 case $cc_basename in
6964 # old Intel for x86_64 which still supported -KPIC.
6966 lt_prog_compiler_wl
='-Wl,'
6967 lt_prog_compiler_pic
='-KPIC'
6968 lt_prog_compiler_static
='-static'
6970 # icc used to be incompatible with GCC.
6971 # ICC 10 doesn't accept -KPIC any more.
6973 lt_prog_compiler_wl
='-Wl,'
6974 lt_prog_compiler_pic
='-fPIC'
6975 lt_prog_compiler_static
='-static'
6977 # Lahey Fortran 8.1.
6979 lt_prog_compiler_wl
='-Wl,'
6980 lt_prog_compiler_pic
='--shared'
6981 lt_prog_compiler_static
='--static'
6983 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6984 # Portland Group compilers (*not* the Pentium gcc compiler,
6985 # which looks to be a dead project)
6986 lt_prog_compiler_wl
='-Wl,'
6987 lt_prog_compiler_pic
='-fpic'
6988 lt_prog_compiler_static
='-Bstatic'
6991 lt_prog_compiler_wl
='-Wl,'
6992 # All Alpha code is PIC.
6993 lt_prog_compiler_static
='-non_shared'
6996 # IBM XL C 8.0/Fortran 10.1 on PPC
6997 lt_prog_compiler_wl
='-Wl,'
6998 lt_prog_compiler_pic
='-qpic'
6999 lt_prog_compiler_static
='-qstaticlink'
7002 case `$CC -V 2>&1 | sed 5q` in
7005 lt_prog_compiler_pic
='-KPIC'
7006 lt_prog_compiler_static
='-Bstatic'
7007 lt_prog_compiler_wl
='-Wl,'
7010 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7011 lt_prog_compiler_pic
='-KPIC'
7012 lt_prog_compiler_static
='-Bstatic'
7013 lt_prog_compiler_wl
=''
7021 lt_prog_compiler_pic
='-KPIC'
7022 lt_prog_compiler_static
='-Bstatic'
7026 # QNX uses GNU C++, but need to define -shared option too, otherwise
7028 lt_prog_compiler_pic
='-fPIC -shared'
7031 osf3
* | osf4
* | osf5
*)
7032 lt_prog_compiler_wl
='-Wl,'
7033 # All OSF/1 code is PIC.
7034 lt_prog_compiler_static
='-non_shared'
7038 lt_prog_compiler_static
='-non_shared'
7042 lt_prog_compiler_pic
='-KPIC'
7043 lt_prog_compiler_static
='-Bstatic'
7044 case $cc_basename in
7046 lt_prog_compiler_wl
='-Qoption ld ';;
7048 lt_prog_compiler_wl
='-Wl,';;
7053 lt_prog_compiler_wl
='-Qoption ld '
7054 lt_prog_compiler_pic
='-PIC'
7055 lt_prog_compiler_static
='-Bstatic'
7058 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7059 lt_prog_compiler_wl
='-Wl,'
7060 lt_prog_compiler_pic
='-KPIC'
7061 lt_prog_compiler_static
='-Bstatic'
7065 if test -d /usr
/nec
;then
7066 lt_prog_compiler_pic
='-Kconform_pic'
7067 lt_prog_compiler_static
='-Bstatic'
7071 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7072 lt_prog_compiler_wl
='-Wl,'
7073 lt_prog_compiler_pic
='-KPIC'
7074 lt_prog_compiler_static
='-Bstatic'
7078 lt_prog_compiler_wl
='-Wl,'
7079 lt_prog_compiler_can_build_shared
=no
7083 lt_prog_compiler_pic
='-pic'
7084 lt_prog_compiler_static
='-Bstatic'
7088 lt_prog_compiler_can_build_shared
=no
7094 # For platforms which do not support PIC, -DPIC is meaningless:
7096 lt_prog_compiler_pic
=
7099 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7103 $as_echo "$lt_prog_compiler_pic" >&6; }
7111 # Check to make sure the PIC flag actually works.
7113 if test -n "$lt_prog_compiler_pic"; then
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7115 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7116 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7117 $as_echo_n "(cached) " >&6
7119 lt_cv_prog_compiler_pic_works
=no
7120 ac_outfile
=conftest.
$ac_objext
7121 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7122 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7123 # Insert the option either (1) after the last *FLAGS variable, or
7124 # (2) before a word containing "conftest.", or (3) at the end.
7125 # Note that $ac_compile itself does not contain backslashes and begins
7126 # with a dollar sign (not a hyphen), so the echo should work correctly.
7127 # The option is referenced via a variable to avoid confusing sed.
7128 lt_compile
=`echo "$ac_compile" | $SED \
7129 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7130 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7131 -e 's:$: $lt_compiler_flag:'`
7132 (eval echo "\"\$as_me:7131: $lt_compile\"" >&5)
7133 (eval "$lt_compile" 2>conftest.err
)
7135 cat conftest.err
>&5
7136 echo "$as_me:7135: \$? = $ac_status" >&5
7137 if (exit $ac_status) && test -s "$ac_outfile"; then
7138 # The compiler can only warn and ignore the option if not recognized
7139 # So say no if there are warnings other than the usual output.
7140 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7141 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7142 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7143 lt_cv_prog_compiler_pic_works
=yes
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7150 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7152 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7153 case $lt_prog_compiler_pic in
7155 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7158 lt_prog_compiler_pic
=
7159 lt_prog_compiler_can_build_shared
=no
7170 # Check to make sure the static flag actually works.
7172 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7174 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7175 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7176 $as_echo_n "(cached) " >&6
7178 lt_cv_prog_compiler_static_works
=no
7179 save_LDFLAGS
="$LDFLAGS"
7180 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7181 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7182 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7183 # The linker can only warn and ignore the option if not recognized
7184 # So say no if there are warnings
7185 if test -s conftest.err
; then
7186 # Append any errors to the config.log.
7187 cat conftest.err
1>&5
7188 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7189 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7190 if diff conftest.exp conftest.er2
>/dev
/null
; then
7191 lt_cv_prog_compiler_static_works
=yes
7194 lt_cv_prog_compiler_static_works
=yes
7198 LDFLAGS
="$save_LDFLAGS"
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7202 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7204 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7207 lt_prog_compiler_static
=
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7217 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7218 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7219 $as_echo_n "(cached) " >&6
7221 lt_cv_prog_compiler_c_o
=no
7222 $RM -r conftest
2>/dev
/null
7226 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7228 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7229 # Insert the option either (1) after the last *FLAGS variable, or
7230 # (2) before a word containing "conftest.", or (3) at the end.
7231 # Note that $ac_compile itself does not contain backslashes and begins
7232 # with a dollar sign (not a hyphen), so the echo should work correctly.
7233 lt_compile
=`echo "$ac_compile" | $SED \
7234 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7235 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7236 -e 's:$: $lt_compiler_flag:'`
7237 (eval echo "\"\$as_me:7236: $lt_compile\"" >&5)
7238 (eval "$lt_compile" 2>out
/conftest.err
)
7240 cat out
/conftest.err
>&5
7241 echo "$as_me:7240: \$? = $ac_status" >&5
7242 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7244 # The compiler can only warn and ignore the option if not recognized
7245 # So say no if there are warnings
7246 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7247 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7248 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7249 lt_cv_prog_compiler_c_o
=yes
7254 # SGI C++ compiler will create directory out/ii_files/ for
7255 # template instantiation
7256 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7257 $RM out
/* && rmdir out
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7264 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7272 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7273 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7274 $as_echo_n "(cached) " >&6
7276 lt_cv_prog_compiler_c_o
=no
7277 $RM -r conftest
2>/dev
/null
7281 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7283 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7284 # Insert the option either (1) after the last *FLAGS variable, or
7285 # (2) before a word containing "conftest.", or (3) at the end.
7286 # Note that $ac_compile itself does not contain backslashes and begins
7287 # with a dollar sign (not a hyphen), so the echo should work correctly.
7288 lt_compile
=`echo "$ac_compile" | $SED \
7289 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7290 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7291 -e 's:$: $lt_compiler_flag:'`
7292 (eval echo "\"\$as_me:7291: $lt_compile\"" >&5)
7293 (eval "$lt_compile" 2>out
/conftest.err
)
7295 cat out
/conftest.err
>&5
7296 echo "$as_me:7295: \$? = $ac_status" >&5
7297 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7299 # The compiler can only warn and ignore the option if not recognized
7300 # So say no if there are warnings
7301 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7302 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7303 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7304 lt_cv_prog_compiler_c_o
=yes
7309 # SGI C++ compiler will create directory out/ii_files/ for
7310 # template instantiation
7311 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7312 $RM out
/* && rmdir out
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7319 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7324 hard_links
="nottested"
7325 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7326 # do not overwrite the value of need_locks provided by the user
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7328 $as_echo_n "checking if we can lock with hard links... " >&6; }
7331 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7333 ln conftest.a conftest.b
2>&5 || hard_links
=no
7334 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7336 $as_echo "$hard_links" >&6; }
7337 if test "$hard_links" = no
; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7339 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7352 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7355 allow_undefined_flag
=
7356 always_export_symbols
=no
7358 archive_expsym_cmds
=
7359 compiler_needs_object
=no
7360 enable_shared_with_static_runtimes
=no
7361 export_dynamic_flag_spec
=
7362 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7363 hardcode_automatic
=no
7365 hardcode_direct_absolute
=no
7366 hardcode_libdir_flag_spec
=
7367 hardcode_libdir_flag_spec_ld
=
7368 hardcode_libdir_separator
=
7370 hardcode_shlibpath_var
=unsupported
7372 link_all_deplibs
=unknown
7375 old_archive_from_new_cmds
=
7376 old_archive_from_expsyms_cmds
=
7377 thread_safe_flag_spec
=
7378 whole_archive_flag_spec
=
7379 # include_expsyms should be a list of space-separated symbols to be *always*
7380 # included in the symbol list
7382 # exclude_expsyms can be an extended regexp of symbols to exclude
7383 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7384 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7385 # as well as any symbol that contains `d'.
7386 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7387 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7388 # platforms (ab)use it in PIC code, but their linkers get confused if
7389 # the symbol is explicitly referenced. Since portable code cannot
7390 # rely on this symbol name, it's probably fine to never include it in
7391 # preloaded symbol tables.
7392 # Exclude shared library initialization/finalization symbols.
7393 extract_expsyms_cmds
=
7396 cygwin
* | mingw
* | pw32
* | cegcc
*)
7397 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7398 # When not using gcc, we currently assume that we are using
7399 # Microsoft Visual C++.
7400 if test "$GCC" != yes; then
7405 # we just hope/assume this is gcc and not c89 (= MSVC++)
7411 linux
* | k
*bsd
*-gnu)
7417 if test "$with_gnu_ld" = yes; then
7418 # If archive_cmds runs LD, not CC, wlarc should be empty
7421 # Set some defaults for GNU ld with shared library support. These
7422 # are reset later if shared libraries are not supported. Putting them
7423 # here allows them to be overridden if necessary.
7424 runpath_var
=LD_RUN_PATH
7425 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7426 export_dynamic_flag_spec
='${wl}--export-dynamic'
7427 # ancient GNU ld didn't support --whole-archive et. al.
7428 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7429 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7431 whole_archive_flag_spec
=
7433 supports_anon_versioning
=no
7434 case `$LD -v 2>&1` in
7435 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7436 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7437 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7438 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7439 *\
2.11.
*) ;; # other 2.11 versions
7440 *) supports_anon_versioning
=yes ;;
7443 # See if GNU ld supports shared libraries.
7446 # On AIX/PPC, the GNU linker is very broken
7447 if test "$host_cpu" != ia64
; then
7451 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7452 *** to be unable to reliably create shared libraries on AIX.
7453 *** Therefore, libtool is disabling shared libraries support. If you
7454 *** really care for shared libraries, you may want to modify your PATH
7455 *** so that a non-GNU linker is found, and then restart.
7464 # see comment about AmigaOS4 .so support
7465 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7466 archive_expsym_cmds
=''
7469 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)'
7470 hardcode_libdir_flag_spec
='-L$libdir'
7471 hardcode_minus_L
=yes
7477 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7478 allow_undefined_flag
=unsupported
7479 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7480 # support --undefined. This deserves some investigation. FIXME
7481 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7487 cygwin
* | mingw
* | pw32
* | cegcc
*)
7488 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7489 # as there is no search path for DLLs.
7490 hardcode_libdir_flag_spec
='-L$libdir'
7491 allow_undefined_flag
=unsupported
7492 always_export_symbols
=no
7493 enable_shared_with_static_runtimes
=yes
7494 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7496 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7497 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7498 # If the export-symbols file already is a .def file (1st line
7499 # is EXPORTS), use it as is; otherwise, prepend...
7500 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7501 cp $export_symbols $output_objdir/$soname.def;
7503 echo EXPORTS > $output_objdir/$soname.def;
7504 cat $export_symbols >> $output_objdir/$soname.def;
7506 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7514 hardcode_shlibpath_var
=no
7515 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7516 export_dynamic_flag_spec
='${wl}-E'
7517 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7518 # Instead, shared libraries are loaded at an image base (0x10000000 by
7519 # default) and relocated if they conflict, which is a slow very memory
7520 # consuming and fragmenting process. To avoid this, we pick a random,
7521 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7522 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7523 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7524 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'
7527 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7529 if test "$host_os" = linux
-dietlibc; then
7530 case $cc_basename in
7531 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7534 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7535 && test "$tmp_diet" = no
7538 tmp_sharedflag
='-shared'
7539 case $cc_basename,$host_cpu in
7540 pgcc
*) # Portland Group C compiler
7541 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'
7542 tmp_addflag
=' $pic_flag'
7544 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7545 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'
7546 tmp_addflag
=' $pic_flag -Mnomain' ;;
7547 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7548 tmp_addflag
=' -i_dynamic' ;;
7549 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7550 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7551 ifc
* | ifort
*) # Intel Fortran compiler
7552 tmp_addflag
=' -nofor_main' ;;
7553 lf95
*) # Lahey Fortran 8.1
7554 whole_archive_flag_spec
=
7555 tmp_sharedflag
='--shared' ;;
7556 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7557 tmp_sharedflag
='-qmkshrobj'
7560 case `$CC -V 2>&1 | sed 5q` in
7561 *Sun\ C
*) # Sun C 5.9
7562 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'
7563 compiler_needs_object
=yes
7564 tmp_sharedflag
='-G' ;;
7565 *Sun\ F
*) # Sun Fortran 8.3
7566 tmp_sharedflag
='-G' ;;
7568 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7570 if test "x$supports_anon_versioning" = xyes
; then
7571 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7572 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7573 echo "local: *; };" >> $output_objdir/$libname.ver~
7574 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7577 case $cc_basename in
7579 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7580 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7581 hardcode_libdir_flag_spec
=
7582 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7583 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7584 if test "x$supports_anon_versioning" = xyes
; then
7585 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7586 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7587 echo "local: *; };" >> $output_objdir/$libname.ver~
7588 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7597 netbsd
* | netbsdelf
*-gnu)
7598 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7599 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7602 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7603 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7608 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7612 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7613 *** create shared libraries on Solaris systems. Therefore, libtool
7614 *** is disabling shared libraries support. We urge you to upgrade GNU
7615 *** binutils to release 2.9.1 or newer. Another option is to modify
7616 *** your PATH or compiler configuration so that the native linker is
7617 *** used, and then restart.
7620 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7621 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7622 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7628 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7629 case `$LD -v 2>&1` in
7630 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7634 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7635 *** reliably create shared libraries on SCO systems. Therefore, libtool
7636 *** is disabling shared libraries support. We urge you to upgrade GNU
7637 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7638 *** your PATH or compiler configuration so that the native linker is
7639 *** used, and then restart.
7644 # For security reasons, it is highly recommended that you always
7645 # use absolute paths for naming shared libraries, and exclude the
7646 # DT_RUNPATH tag from executables and libraries. But doing so
7647 # requires that you compile everything twice, which is a pain.
7648 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7649 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7650 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7651 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7660 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7663 hardcode_shlibpath_var
=no
7667 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7668 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7669 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7676 if test "$ld_shlibs" = no
; then
7678 hardcode_libdir_flag_spec
=
7679 export_dynamic_flag_spec
=
7680 whole_archive_flag_spec
=
7683 # PORTME fill in a description of your system's linker (not GNU ld)
7686 allow_undefined_flag
=unsupported
7687 always_export_symbols
=yes
7688 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'
7689 # Note: this linker hardcodes the directories in LIBPATH if there
7690 # are no directories specified by -L.
7691 hardcode_minus_L
=yes
7692 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7693 # Neither direct hardcoding nor static linking is supported with a
7695 hardcode_direct
=unsupported
7700 if test "$host_cpu" = ia64
; then
7701 # On IA64, the linker does run time linking by default, so we don't
7702 # have to do anything special.
7703 aix_use_runtimelinking
=no
7704 exp_sym_flag
='-Bexport'
7707 # If we're using GNU nm, then we don't want the "-C" option.
7708 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7709 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7710 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'
7712 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'
7714 aix_use_runtimelinking
=no
7716 # Test if we are trying to use run time linking or normal
7717 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7718 # need to do runtime linking.
7719 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7720 for ld_flag
in $LDFLAGS; do
7721 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7722 aix_use_runtimelinking
=yes
7729 exp_sym_flag
='-bexport'
7730 no_entry_flag
='-bnoentry'
7733 # When large executables or shared objects are built, AIX ld can
7734 # have problems creating the table of contents. If linking a library
7735 # or program results in "error TOC overflow" add -mminimal-toc to
7736 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7737 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7741 hardcode_direct_absolute
=yes
7742 hardcode_libdir_separator
=':'
7743 link_all_deplibs
=yes
7744 file_list_spec
='${wl}-f,'
7746 if test "$GCC" = yes; then
7747 case $host_os in aix4.
[012]|aix4.
[012].
*)
7748 # We only want to do this on AIX 4.2 and lower, the check
7749 # below for broken collect2 doesn't work under 4.3+
7750 collect2name
=`${CC} -print-prog-name=collect2`
7751 if test -f "$collect2name" &&
7752 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7754 # We have reworked collect2
7757 # We have old collect2
7758 hardcode_direct
=unsupported
7759 # It fails to find uninstalled libraries when the uninstalled
7760 # path is not listed in the libpath. Setting hardcode_minus_L
7761 # to unsupported forces relinking
7762 hardcode_minus_L
=yes
7763 hardcode_libdir_flag_spec
='-L$libdir'
7764 hardcode_libdir_separator
=
7768 shared_flag
='-shared'
7769 if test "$aix_use_runtimelinking" = yes; then
7770 shared_flag
="$shared_flag "'${wl}-G'
7775 if test "$host_cpu" = ia64
; then
7776 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7777 # chokes on -Wl,-G. The following line is correct:
7780 if test "$aix_use_runtimelinking" = yes; then
7781 shared_flag
='${wl}-G'
7783 shared_flag
='${wl}-bM:SRE'
7788 export_dynamic_flag_spec
='${wl}-bexpall'
7789 # It seems that -bexpall does not export symbols beginning with
7790 # underscore (_), so it is better to generate a list of symbols to export.
7791 always_export_symbols
=yes
7792 if test "$aix_use_runtimelinking" = yes; then
7793 # Warning - without using the other runtime loading flags (-brtl),
7794 # -berok will link without error, but may produce a broken library.
7795 allow_undefined_flag
='-berok'
7796 # Determine the default libpath from the value encoded in an
7798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7799 /* end confdefs.h. */
7809 if ac_fn_c_try_link
"$LINENO"; then :
7811 lt_aix_libpath_sed
='
7812 /Import File Strings/,/^$/ {
7818 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7819 # Check for a 64-bit object if we didn't find anything.
7820 if test -z "$aix_libpath"; then
7821 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7824 rm -f core conftest.err conftest.
$ac_objext \
7825 conftest
$ac_exeext conftest.
$ac_ext
7826 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7828 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7829 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"
7831 if test "$host_cpu" = ia64
; then
7832 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7833 allow_undefined_flag
="-z nodefs"
7834 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"
7836 # Determine the default libpath from the value encoded in an
7838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7839 /* end confdefs.h. */
7849 if ac_fn_c_try_link
"$LINENO"; then :
7851 lt_aix_libpath_sed
='
7852 /Import File Strings/,/^$/ {
7858 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7859 # Check for a 64-bit object if we didn't find anything.
7860 if test -z "$aix_libpath"; then
7861 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7864 rm -f core conftest.err conftest.
$ac_objext \
7865 conftest
$ac_exeext conftest.
$ac_ext
7866 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7868 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7869 # Warning - without using the other run time loading flags,
7870 # -berok will link without error, but may produce a broken library.
7871 no_undefined_flag
=' ${wl}-bernotok'
7872 allow_undefined_flag
=' ${wl}-berok'
7873 # Exported symbols can be pulled into shared objects from archives
7874 whole_archive_flag_spec
='$convenience'
7875 archive_cmds_need_lc
=yes
7876 # This is similar to how AIX traditionally builds its shared libraries.
7877 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'
7885 # see comment about AmigaOS4 .so support
7886 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7887 archive_expsym_cmds
=''
7890 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)'
7891 hardcode_libdir_flag_spec
='-L$libdir'
7892 hardcode_minus_L
=yes
7898 export_dynamic_flag_spec
=-rdynamic
7901 cygwin
* | mingw
* | pw32
* | cegcc
*)
7902 # When not using gcc, we currently assume that we are using
7903 # Microsoft Visual C++.
7904 # hardcode_libdir_flag_spec is actually meaningless, as there is
7905 # no search path for DLLs.
7906 hardcode_libdir_flag_spec
=' '
7907 allow_undefined_flag
=unsupported
7908 # Tell ltmain to make .lib files, not .a files.
7910 # Tell ltmain to make .dll files, not .so files.
7912 # FIXME: Setting linknames here is a bad hack.
7913 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7914 # The linker will automatically build a .lib file if we build a DLL.
7915 old_archive_from_new_cmds
='true'
7916 # FIXME: Should let the user specify the lib program.
7917 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7918 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7919 enable_shared_with_static_runtimes
=yes
7922 darwin
* | rhapsody
*)
7925 archive_cmds_need_lc
=no
7927 hardcode_automatic
=yes
7928 hardcode_shlibpath_var
=unsupported
7929 whole_archive_flag_spec
=''
7930 link_all_deplibs
=yes
7931 allow_undefined_flag
="$_lt_dar_allow_undefined"
7932 case $cc_basename in
7933 ifort
*) _lt_dar_can_shared
=yes ;;
7934 *) _lt_dar_can_shared
=$GCC ;;
7936 if test "$_lt_dar_can_shared" = "yes"; then
7937 output_verbose_link_cmd
=echo
7938 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7939 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7940 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}"
7941 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}"
7950 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7951 hardcode_libdir_flag_spec
='-L$libdir'
7952 hardcode_shlibpath_var
=no
7959 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7960 # support. Future versions do this automatically, but an explicit c++rt0.o
7961 # does not break anything, and helps significantly (at the cost of a little
7964 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7965 hardcode_libdir_flag_spec
='-R$libdir'
7967 hardcode_shlibpath_var
=no
7970 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7972 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7974 hardcode_minus_L
=yes
7975 hardcode_shlibpath_var
=no
7978 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7979 freebsd
* | dragonfly
*)
7980 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7981 hardcode_libdir_flag_spec
='-R$libdir'
7983 hardcode_shlibpath_var
=no
7987 if test "$GCC" = yes; then
7988 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'
7990 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'
7992 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7993 hardcode_libdir_separator
=:
7996 # hardcode_minus_L: Not really in the search PATH,
7997 # but as the default location of the library.
7998 hardcode_minus_L
=yes
7999 export_dynamic_flag_spec
='${wl}-E'
8003 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8004 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8006 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8008 if test "$with_gnu_ld" = no
; then
8009 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8010 hardcode_libdir_flag_spec_ld
='+b $libdir'
8011 hardcode_libdir_separator
=:
8013 hardcode_direct_absolute
=yes
8014 export_dynamic_flag_spec
='${wl}-E'
8015 # hardcode_minus_L: Not really in the search PATH,
8016 # but as the default location of the library.
8017 hardcode_minus_L
=yes
8022 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8025 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8028 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8031 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8037 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8040 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8043 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8047 if test "$with_gnu_ld" = no
; then
8048 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8049 hardcode_libdir_separator
=:
8054 hardcode_shlibpath_var
=no
8058 hardcode_direct_absolute
=yes
8059 export_dynamic_flag_spec
='${wl}-E'
8061 # hardcode_minus_L: Not really in the search PATH,
8062 # but as the default location of the library.
8063 hardcode_minus_L
=yes
8069 irix5
* | irix6
* | nonstopux
*)
8070 if test "$GCC" = yes; then
8071 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'
8072 # Try to use the -exported_symbol ld option, if it does not
8073 # work, assume that -exports_file does not work either and
8074 # implicitly export all symbols.
8075 save_LDFLAGS
="$LDFLAGS"
8076 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8078 /* end confdefs.h. */
8081 if ac_fn_c_try_link
"$LINENO"; then :
8082 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'
8085 rm -f core conftest.err conftest.
$ac_objext \
8086 conftest
$ac_exeext conftest.
$ac_ext
8087 LDFLAGS
="$save_LDFLAGS"
8089 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'
8090 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'
8092 archive_cmds_need_lc
='no'
8093 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8094 hardcode_libdir_separator
=:
8096 link_all_deplibs
=yes
8099 netbsd
* | netbsdelf
*-gnu)
8100 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8101 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8103 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8105 hardcode_libdir_flag_spec
='-R$libdir'
8107 hardcode_shlibpath_var
=no
8111 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8113 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8114 hardcode_libdir_separator
=:
8115 hardcode_shlibpath_var
=no
8122 if test -f /usr
/libexec
/ld.so
; then
8124 hardcode_shlibpath_var
=no
8125 hardcode_direct_absolute
=yes
8126 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8127 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8128 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8129 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8130 export_dynamic_flag_spec
='${wl}-E'
8133 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8134 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8135 hardcode_libdir_flag_spec
='-R$libdir'
8138 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8139 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8149 hardcode_libdir_flag_spec
='-L$libdir'
8150 hardcode_minus_L
=yes
8151 allow_undefined_flag
=unsupported
8152 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'
8153 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8157 if test "$GCC" = yes; then
8158 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8159 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'
8161 allow_undefined_flag
=' -expect_unresolved \*'
8162 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'
8164 archive_cmds_need_lc
='no'
8165 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8166 hardcode_libdir_separator
=:
8169 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8170 if test "$GCC" = yes; then
8171 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8172 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'
8173 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8175 allow_undefined_flag
=' -expect_unresolved \*'
8176 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'
8177 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~
8178 $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'
8180 # Both c and cxx compiler support -rpath directly
8181 hardcode_libdir_flag_spec
='-rpath $libdir'
8183 archive_cmds_need_lc
='no'
8184 hardcode_libdir_separator
=:
8188 no_undefined_flag
=' -z defs'
8189 if test "$GCC" = yes; then
8191 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8192 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8193 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8195 case `$CC -V 2>&1` in
8198 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8199 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8200 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8204 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8205 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8206 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8210 hardcode_libdir_flag_spec
='-R$libdir'
8211 hardcode_shlibpath_var
=no
8213 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8215 # The compiler driver will combine and reorder linker options,
8216 # but understands `-z linker_flag'. GCC discards it without `$wl',
8217 # but is careful enough not to reorder.
8218 # Supported since Solaris 2.6 (maybe 2.5.1?)
8219 if test "$GCC" = yes; then
8220 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8222 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8226 link_all_deplibs
=yes
8230 if test "x$host_vendor" = xsequent
; then
8231 # Use $CC to link under sequent, because it throws in some extra .o
8232 # files that make .init and .fini sections work.
8233 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8235 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8237 hardcode_libdir_flag_spec
='-L$libdir'
8239 hardcode_minus_L
=yes
8240 hardcode_shlibpath_var
=no
8244 case $host_vendor in
8246 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8247 hardcode_direct
=yes # is this really true???
8250 ## LD is ld it makes a PLAMLIB
8251 ## CC just makes a GrossModule.
8252 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8253 reload_cmds
='$CC -r -o $output$reload_objs'
8257 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8258 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8261 runpath_var
='LD_RUN_PATH'
8262 hardcode_shlibpath_var
=no
8266 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8267 hardcode_shlibpath_var
=no
8268 export_dynamic_flag_spec
='-Bexport'
8272 if test -d /usr
/nec
; then
8273 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8274 hardcode_shlibpath_var
=no
8275 runpath_var
=LD_RUN_PATH
8276 hardcode_runpath_var
=yes
8281 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8282 no_undefined_flag
='${wl}-z,text'
8283 archive_cmds_need_lc
=no
8284 hardcode_shlibpath_var
=no
8285 runpath_var
='LD_RUN_PATH'
8287 if test "$GCC" = yes; then
8288 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8289 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8291 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8292 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8296 sysv5
* | sco3.2v5
* | sco5v6
*)
8297 # Note: We can NOT use -z defs as we might desire, because we do not
8298 # link with -lc, and that would cause any symbols used from libc to
8299 # always be unresolved, which means just about no library would
8300 # ever link correctly. If we're not using GNU ld we use -z text
8301 # though, which does catch some bad symbols but isn't as heavy-handed
8303 no_undefined_flag
='${wl}-z,text'
8304 allow_undefined_flag
='${wl}-z,nodefs'
8305 archive_cmds_need_lc
=no
8306 hardcode_shlibpath_var
=no
8307 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8308 hardcode_libdir_separator
=':'
8309 link_all_deplibs
=yes
8310 export_dynamic_flag_spec
='${wl}-Bexport'
8311 runpath_var
='LD_RUN_PATH'
8313 if test "$GCC" = yes; then
8314 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8315 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8317 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8318 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8323 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8324 hardcode_libdir_flag_spec
='-L$libdir'
8325 hardcode_shlibpath_var
=no
8333 if test x
$host_vendor = xsni
; then
8335 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8336 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8343 $as_echo "$ld_shlibs" >&6; }
8344 test "$ld_shlibs" = no
&& can_build_shared
=no
8346 with_gnu_ld
=$with_gnu_ld
8363 # Do we need to explicitly link libc?
8365 case "x$archive_cmds_need_lc" in
8367 # Assume -lc should be added
8368 archive_cmds_need_lc
=yes
8370 if test "$enable_shared" = yes && test "$GCC" = yes; then
8371 case $archive_cmds in
8373 # FIXME: we may have to deal with multi-command sequences.
8376 # Test whether the compiler implicitly links with -lc since on some
8377 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8378 # to ld, don't add -lc before -lgcc.
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8380 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8382 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8385 (eval $ac_compile) 2>&5
8387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8388 test $ac_status = 0; } 2>conftest.err
; then
8391 libobjs
=conftest.
$ac_objext
8393 wl
=$lt_prog_compiler_wl
8394 pic_flag
=$lt_prog_compiler_pic
8400 lt_save_allow_undefined_flag
=$allow_undefined_flag
8401 allow_undefined_flag
=
8402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8403 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8406 test $ac_status = 0; }
8408 archive_cmds_need_lc
=no
8410 archive_cmds_need_lc
=yes
8412 allow_undefined_flag
=$lt_save_allow_undefined_flag
8414 cat conftest.err
1>&5
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8418 $as_echo "$archive_cmds_need_lc" >&6; }
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8582 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8584 if test "$GCC" = yes; then
8586 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8587 *) lt_awk_arg
="/^libraries:/" ;;
8589 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8590 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8591 # if the path contains ";" then we assume it to be the separator
8592 # otherwise default to the standard path separator (i.e. ":") - it is
8593 # assumed that no part of a normal pathname contains ";" but that should
8594 # okay in the real world where ";" in dirpaths is itself problematic.
8595 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8597 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8599 # Ok, now we have the path, separated by spaces, we can step through it
8600 # and add multilib dir if necessary.
8601 lt_tmp_lt_search_path_spec
=
8602 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8603 for lt_sys_path
in $lt_search_path_spec; do
8604 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8605 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8607 test -d "$lt_sys_path" && \
8608 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8611 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8612 BEGIN {RS=" "; FS="/|\n";} {
8615 for (lt_i = NF; lt_i > 0; lt_i--) {
8616 if ($lt_i != "" && $lt_i != ".") {
8617 if ($lt_i == "..") {
8620 if (lt_count == 0) {
8621 lt_foo="/" $lt_i lt_foo;
8628 if (lt_foo != "") { lt_freq[lt_foo]++; }
8629 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8631 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8633 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8636 libname_spec
='lib$name'
8644 shlibpath_overrides_runpath
=unknown
8646 dynamic_linker
="$host_os ld.so"
8647 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8648 need_lib_prefix
=unknown
8649 hardcode_into_libs
=no
8651 # when you set need_version to no, make sure it does not cause -set_version
8652 # flags to be left without arguments
8653 need_version
=unknown
8658 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8659 shlibpath_var
=LIBPATH
8661 # AIX 3 has no versioning support, so we append a major version to the name.
8662 soname_spec
='${libname}${release}${shared_ext}$major'
8669 hardcode_into_libs
=yes
8670 if test "$host_cpu" = ia64
; then
8671 # AIX 5 supports IA64
8672 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8673 shlibpath_var
=LD_LIBRARY_PATH
8675 # With GCC up to 2.95.x, collect2 would create an import file
8676 # for dependence libraries. The import file would start with
8677 # the line `#! .'. This would cause the generated library to
8678 # depend on `.', always an invalid library. This was fixed in
8679 # development snapshots of GCC prior to 3.0.
8681 aix4
| aix4.
[01] | aix4.
[01].
*)
8682 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8684 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8691 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8692 # soname into executable. Probably we can add versioning support to
8693 # collect2, so additional links can be useful in future.
8694 if test "$aix_use_runtimelinking" = yes; then
8695 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8696 # instead of lib<name>.a to let people know that these are not
8697 # typical AIX shared libraries.
8698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8700 # We preserve .a as extension for shared libraries through AIX4.2
8701 # and later when we are not doing run time linking.
8702 library_names_spec
='${libname}${release}.a $libname.a'
8703 soname_spec
='${libname}${release}${shared_ext}$major'
8705 shlibpath_var
=LIBPATH
8712 # Since July 2007 AmigaOS4 officially supports .so libraries.
8713 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8717 library_names_spec
='$libname.ixlibrary $libname.a'
8718 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8719 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'
8725 library_names_spec
='${libname}${shared_ext}'
8726 dynamic_linker
="$host_os ld.so"
8727 shlibpath_var
=LIBRARY_PATH
8733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8734 soname_spec
='${libname}${release}${shared_ext}$major'
8735 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8736 shlibpath_var
=LD_LIBRARY_PATH
8737 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8738 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8739 # the default ld.so.conf also contains /usr/contrib/lib and
8740 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8741 # libtool to hard-code these into programs
8744 cygwin
* | mingw
* | pw32
* | cegcc
*)
8745 version_type
=windows
8750 case $GCC,$host_os in
8751 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8752 library_names_spec
='$libname.dll.a'
8753 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8754 postinstall_cmds
='base_file=`basename \${file}`~
8755 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8756 dldir=$destdir/`dirname \$dlpath`~
8757 test -d \$dldir || mkdir -p \$dldir~
8758 $install_prog $dir/$dlname \$dldir/$dlname~
8759 chmod a+x \$dldir/$dlname~
8760 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8761 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8763 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8764 dlpath=$dir/\$dldll~
8766 shlibpath_overrides_runpath
=yes
8770 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8771 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8772 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8775 # MinGW DLLs use traditional 'lib' prefix
8776 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8777 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8778 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8779 # It is most probably a Windows format PATH printed by
8780 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8781 # path with ; separators, and with drive letters. We can handle the
8782 # drive letters (cygwin fileutils understands them), so leave them,
8783 # especially as we might pass files found there to a mingw objdump,
8784 # which wouldn't understand a cygwinified path. Ahh.
8785 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8787 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8791 # pw32 DLLs use 'pw' prefix rather than 'lib'
8792 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8798 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8801 dynamic_linker
='Win32 ld.exe'
8802 # FIXME: first we should search . and the directory the executable is in
8806 darwin
* | rhapsody
*)
8807 dynamic_linker
="$host_os dyld"
8811 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8812 soname_spec
='${libname}${release}${major}$shared_ext'
8813 shlibpath_overrides_runpath
=yes
8814 shlibpath_var
=DYLD_LIBRARY_PATH
8815 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8817 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8818 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8826 soname_spec
='${libname}${release}${shared_ext}$major'
8827 shlibpath_var
=LD_LIBRARY_PATH
8834 freebsd
* | dragonfly
*)
8835 # DragonFly does not have aout. When/if they implement a new
8836 # versioning mechanism, adjust this.
8837 if test -x /usr
/bin
/objformat
; then
8838 objformat
=`/usr/bin/objformat`
8841 freebsd
[123]*) objformat
=aout
;;
8845 version_type
=freebsd
-$objformat
8846 case $version_type in
8848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8853 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8857 shlibpath_var
=LD_LIBRARY_PATH
8860 shlibpath_overrides_runpath
=yes
8862 freebsd3.
[01]* | freebsdelf3.
[01]*)
8863 shlibpath_overrides_runpath
=yes
8864 hardcode_into_libs
=yes
8866 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8867 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8868 shlibpath_overrides_runpath
=no
8869 hardcode_into_libs
=yes
8871 *) # from 4.6 on, and DragonFly
8872 shlibpath_overrides_runpath
=yes
8873 hardcode_into_libs
=yes
8882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8883 soname_spec
='${libname}${release}${shared_ext}$major'
8884 shlibpath_var
=LD_LIBRARY_PATH
8885 hardcode_into_libs
=yes
8888 hpux9
* | hpux10
* | hpux11
*)
8889 # Give a soname corresponding to the major version so that dld.sl refuses to
8890 # link against other versions.
8897 hardcode_into_libs
=yes
8898 dynamic_linker
="$host_os dld.so"
8899 shlibpath_var
=LD_LIBRARY_PATH
8900 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8902 soname_spec
='${libname}${release}${shared_ext}$major'
8903 if test "X$HPUX_IA64_MODE" = X32
; then
8904 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8906 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8908 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8912 hardcode_into_libs
=yes
8913 dynamic_linker
="$host_os dld.sl"
8914 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8915 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8917 soname_spec
='${libname}${release}${shared_ext}$major'
8918 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8919 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8923 dynamic_linker
="$host_os dld.sl"
8924 shlibpath_var
=SHLIB_PATH
8925 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8927 soname_spec
='${libname}${release}${shared_ext}$major'
8930 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8931 postinstall_cmds
='chmod 555 $lib'
8938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8939 soname_spec
='${libname}${release}${shared_ext}$major'
8940 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8941 shlibpath_var
=LD_LIBRARY_PATH
8942 shlibpath_overrides_runpath
=no
8943 hardcode_into_libs
=yes
8946 irix5
* | irix6
* | nonstopux
*)
8948 nonstopux
*) version_type
=nonstopux
;;
8950 if test "$lt_cv_prog_gnu_ld" = yes; then
8958 soname_spec
='${libname}${release}${shared_ext}$major'
8959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8961 irix5
* | nonstopux
*)
8965 case $LD in # libtool.m4 will add one of these switches to LD
8966 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8967 libsuff
= shlibsuff
= libmagic
=32-bit;;
8968 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8969 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8970 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8971 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8972 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
8976 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8977 shlibpath_overrides_runpath
=no
8978 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8979 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8980 hardcode_into_libs
=yes
8983 # No shared lib support for Linux oldld, aout, or coff.
8984 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8988 # This must be Linux ELF.
8989 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8994 soname_spec
='${libname}${release}${shared_ext}$major'
8995 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8996 shlibpath_var
=LD_LIBRARY_PATH
8997 shlibpath_overrides_runpath
=no
8998 # Some binutils ld are patched to set DT_RUNPATH
8999 save_LDFLAGS
=$LDFLAGS
9001 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9002 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9014 if ac_fn_c_try_link
"$LINENO"; then :
9015 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9016 shlibpath_overrides_runpath
=yes
9019 rm -f core conftest.err conftest.
$ac_objext \
9020 conftest
$ac_exeext conftest.
$ac_ext
9021 LDFLAGS
=$save_LDFLAGS
9024 # This implies no fast_install, which is unacceptable.
9025 # Some rework will be needed to allow for fast_install
9026 # before this can be enabled.
9027 hardcode_into_libs
=yes
9029 # Append ld.so.conf contents to the search path
9030 if test -f /etc
/ld.so.conf
; then
9031 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' ' '`
9032 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9035 # We used to test for /lib/ld.so.1 and disable shared libraries on
9036 # powerpc, because MkLinux only supported shared libraries with the
9037 # GNU dynamic linker. Since this was broken with cross compilers,
9038 # most powerpc-linux boxes support dynamic linking these days and
9039 # people can always --disable-shared, the test was removed, and we
9040 # assume the GNU/Linux dynamic linker is in use.
9041 dynamic_linker
='GNU/Linux ld.so'
9048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9049 soname_spec
='${libname}${release}${shared_ext}$major'
9050 shlibpath_var
=LD_LIBRARY_PATH
9051 shlibpath_overrides_runpath
=no
9052 hardcode_into_libs
=yes
9053 dynamic_linker
='NetBSD ld.elf_so'
9060 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9062 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9063 dynamic_linker
='NetBSD (a.out) ld.so'
9065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9066 soname_spec
='${libname}${release}${shared_ext}$major'
9067 dynamic_linker
='NetBSD ld.elf_so'
9069 shlibpath_var
=LD_LIBRARY_PATH
9070 shlibpath_overrides_runpath
=yes
9071 hardcode_into_libs
=yes
9076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9077 shlibpath_var
=LD_LIBRARY_PATH
9078 shlibpath_overrides_runpath
=yes
9085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9086 soname_spec
='${libname}${release}${shared_ext}$major'
9087 shlibpath_var
=LD_LIBRARY_PATH
9088 shlibpath_overrides_runpath
=no
9089 hardcode_into_libs
=yes
9090 dynamic_linker
='ldqnx.so'
9095 sys_lib_dlsearch_path_spec
="/usr/lib"
9097 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9099 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9100 *) need_version
=no
;;
9102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9103 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9104 shlibpath_var
=LD_LIBRARY_PATH
9105 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9107 openbsd2.
[89] | openbsd2.
[89].
*)
9108 shlibpath_overrides_runpath
=no
9111 shlibpath_overrides_runpath
=yes
9115 shlibpath_overrides_runpath
=yes
9120 libname_spec
='$name'
9123 library_names_spec
='$libname${shared_ext} $libname.a'
9124 dynamic_linker
='OS/2 ld.exe'
9125 shlibpath_var
=LIBPATH
9128 osf3
* | osf4
* | osf5
*)
9132 soname_spec
='${libname}${release}${shared_ext}$major'
9133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9134 shlibpath_var
=LD_LIBRARY_PATH
9135 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9136 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9148 soname_spec
='${libname}${release}${shared_ext}$major'
9149 shlibpath_var
=LD_LIBRARY_PATH
9150 shlibpath_overrides_runpath
=yes
9151 hardcode_into_libs
=yes
9152 # ldd complains unless libraries are executable
9153 postinstall_cmds
='chmod +x $lib'
9158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9159 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9160 shlibpath_var
=LD_LIBRARY_PATH
9161 shlibpath_overrides_runpath
=yes
9162 if test "$with_gnu_ld" = yes; then
9170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9171 soname_spec
='${libname}${release}${shared_ext}$major'
9172 shlibpath_var
=LD_LIBRARY_PATH
9173 case $host_vendor in
9175 shlibpath_overrides_runpath
=no
9177 runpath_var
=LD_RUN_PATH
9185 shlibpath_overrides_runpath
=no
9186 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9192 if test -d /usr
/nec
;then
9194 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9195 soname_spec
='$libname${shared_ext}.$major'
9196 shlibpath_var
=LD_LIBRARY_PATH
9200 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9201 version_type
=freebsd
-elf
9204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9205 soname_spec
='${libname}${release}${shared_ext}$major'
9206 shlibpath_var
=LD_LIBRARY_PATH
9207 shlibpath_overrides_runpath
=yes
9208 hardcode_into_libs
=yes
9209 if test "$with_gnu_ld" = yes; then
9210 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9212 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9215 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9219 sys_lib_dlsearch_path_spec
='/usr/lib'
9223 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9228 shlibpath_var
=LD_LIBRARY_PATH
9229 shlibpath_overrides_runpath
=no
9230 hardcode_into_libs
=yes
9235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9236 soname_spec
='${libname}${release}${shared_ext}$major'
9237 shlibpath_var
=LD_LIBRARY_PATH
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9245 $as_echo "$dynamic_linker" >&6; }
9246 test "$dynamic_linker" = no
&& can_build_shared
=no
9248 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9249 if test "$GCC" = yes; then
9250 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9253 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9254 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9256 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9257 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9347 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9349 if test -n "$hardcode_libdir_flag_spec" ||
9350 test -n "$runpath_var" ||
9351 test "X$hardcode_automatic" = "Xyes" ; then
9353 # We can hardcode non-existent directories.
9354 if test "$hardcode_direct" != no
&&
9355 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9356 # have to relink, otherwise we might link with an installed library
9357 # when we should be linking with a yet-to-be-installed one
9358 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9359 test "$hardcode_minus_L" != no
; then
9360 # Linking always hardcodes the temporary library directory.
9361 hardcode_action
=relink
9363 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9364 hardcode_action
=immediate
9367 # We cannot hardcode anything, or else we can only hardcode existing
9369 hardcode_action
=unsupported
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9372 $as_echo "$hardcode_action" >&6; }
9374 if test "$hardcode_action" = relink
||
9375 test "$inherit_rpath" = yes; then
9376 # Fast installation is not supported
9377 enable_fast_install
=no
9378 elif test "$shlibpath_overrides_runpath" = yes ||
9379 test "$enable_shared" = no
; then
9380 # Fast installation is not necessary
9381 enable_fast_install
=needless
9389 if test "x$enable_dlopen" != xyes
; then
9390 enable_dlopen
=unknown
9391 enable_dlopen_self
=unknown
9392 enable_dlopen_self_static
=unknown
9399 lt_cv_dlopen
="load_add_on"
9401 lt_cv_dlopen_self
=yes
9404 mingw
* | pw32
* | cegcc
*)
9405 lt_cv_dlopen
="LoadLibrary"
9410 lt_cv_dlopen
="dlopen"
9415 # if libdl is installed we need to link against it
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9417 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9418 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9419 $as_echo_n "(cached) " >&6
9421 ac_check_lib_save_LIBS
=$LIBS
9423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9426 /* Override any GCC internal prototype to avoid an error.
9427 Use char because int might match the return type of a GCC
9428 builtin and then its argument prototype would still apply. */
9441 if ac_fn_c_try_link
"$LINENO"; then :
9442 ac_cv_lib_dl_dlopen
=yes
9444 ac_cv_lib_dl_dlopen
=no
9446 rm -f core conftest.err conftest.
$ac_objext \
9447 conftest
$ac_exeext conftest.
$ac_ext
9448 LIBS
=$ac_check_lib_save_LIBS
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9451 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9452 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9453 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9458 lt_cv_dlopen_self
=yes
9465 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9466 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9467 lt_cv_dlopen
="shl_load"
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9470 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9471 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9472 $as_echo_n "(cached) " >&6
9474 ac_check_lib_save_LIBS
=$LIBS
9476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9494 if ac_fn_c_try_link
"$LINENO"; then :
9495 ac_cv_lib_dld_shl_load
=yes
9497 ac_cv_lib_dld_shl_load
=no
9499 rm -f core conftest.err conftest.
$ac_objext \
9500 conftest
$ac_exeext conftest.
$ac_ext
9501 LIBS
=$ac_check_lib_save_LIBS
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9504 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9505 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9506 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9508 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9509 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9510 lt_cv_dlopen
="dlopen"
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9513 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9514 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9515 $as_echo_n "(cached) " >&6
9517 ac_check_lib_save_LIBS
=$LIBS
9519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9522 /* Override any GCC internal prototype to avoid an error.
9523 Use char because int might match the return type of a GCC
9524 builtin and then its argument prototype would still apply. */
9537 if ac_fn_c_try_link
"$LINENO"; then :
9538 ac_cv_lib_dl_dlopen
=yes
9540 ac_cv_lib_dl_dlopen
=no
9542 rm -f core conftest.err conftest.
$ac_objext \
9543 conftest
$ac_exeext conftest.
$ac_ext
9544 LIBS
=$ac_check_lib_save_LIBS
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9547 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9548 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9549 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9552 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9553 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9554 $as_echo_n "(cached) " >&6
9556 ac_check_lib_save_LIBS
=$LIBS
9558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9561 /* Override any GCC internal prototype to avoid an error.
9562 Use char because int might match the return type of a GCC
9563 builtin and then its argument prototype would still apply. */
9576 if ac_fn_c_try_link
"$LINENO"; then :
9577 ac_cv_lib_svld_dlopen
=yes
9579 ac_cv_lib_svld_dlopen
=no
9581 rm -f core conftest.err conftest.
$ac_objext \
9582 conftest
$ac_exeext conftest.
$ac_ext
9583 LIBS
=$ac_check_lib_save_LIBS
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9586 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9587 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9588 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9591 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9592 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9593 $as_echo_n "(cached) " >&6
9595 ac_check_lib_save_LIBS
=$LIBS
9597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9615 if ac_fn_c_try_link
"$LINENO"; then :
9616 ac_cv_lib_dld_dld_link
=yes
9618 ac_cv_lib_dld_dld_link
=no
9620 rm -f core conftest.err conftest.
$ac_objext \
9621 conftest
$ac_exeext conftest.
$ac_ext
9622 LIBS
=$ac_check_lib_save_LIBS
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9625 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9626 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9627 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9648 if test "x$lt_cv_dlopen" != xno
; then
9654 case $lt_cv_dlopen in
9656 save_CPPFLAGS
="$CPPFLAGS"
9657 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9659 save_LDFLAGS
="$LDFLAGS"
9660 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9663 LIBS
="$lt_cv_dlopen_libs $LIBS"
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9666 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9667 if test "${lt_cv_dlopen_self+set}" = set; then :
9668 $as_echo_n "(cached) " >&6
9670 if test "$cross_compiling" = yes; then :
9671 lt_cv_dlopen_self
=cross
9673 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9674 lt_status
=$lt_dlunknown
9675 cat > conftest.
$ac_ext <<_LT_EOF
9676 #line 9675 "configure"
9677 #include "confdefs.h"
9686 # define LT_DLGLOBAL RTLD_GLOBAL
9689 # define LT_DLGLOBAL DL_GLOBAL
9691 # define LT_DLGLOBAL 0
9695 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9696 find out it does not work in some platform. */
9697 #ifndef LT_DLLAZY_OR_NOW
9699 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9702 # define LT_DLLAZY_OR_NOW DL_LAZY
9705 # define LT_DLLAZY_OR_NOW RTLD_NOW
9708 # define LT_DLLAZY_OR_NOW DL_NOW
9710 # define LT_DLLAZY_OR_NOW 0
9717 void fnord() { int i=42;}
9720 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9721 int status = $lt_dlunknown;
9725 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9726 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9727 /* dlclose (self); */
9735 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9736 (eval $ac_link) 2>&5
9738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9739 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9740 (.
/conftest
; exit; ) >&5 2>/dev
/null
9743 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9744 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9745 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9748 # compilation failed
9749 lt_cv_dlopen_self
=no
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9757 $as_echo "$lt_cv_dlopen_self" >&6; }
9759 if test "x$lt_cv_dlopen_self" = xyes
; then
9760 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9762 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9763 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9764 $as_echo_n "(cached) " >&6
9766 if test "$cross_compiling" = yes; then :
9767 lt_cv_dlopen_self_static
=cross
9769 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9770 lt_status
=$lt_dlunknown
9771 cat > conftest.
$ac_ext <<_LT_EOF
9772 #line 9771 "configure"
9773 #include "confdefs.h"
9782 # define LT_DLGLOBAL RTLD_GLOBAL
9785 # define LT_DLGLOBAL DL_GLOBAL
9787 # define LT_DLGLOBAL 0
9791 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9792 find out it does not work in some platform. */
9793 #ifndef LT_DLLAZY_OR_NOW
9795 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9798 # define LT_DLLAZY_OR_NOW DL_LAZY
9801 # define LT_DLLAZY_OR_NOW RTLD_NOW
9804 # define LT_DLLAZY_OR_NOW DL_NOW
9806 # define LT_DLLAZY_OR_NOW 0
9813 void fnord() { int i=42;}
9816 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9817 int status = $lt_dlunknown;
9821 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9822 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9823 /* dlclose (self); */
9831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9832 (eval $ac_link) 2>&5
9834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9835 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9836 (.
/conftest
; exit; ) >&5 2>/dev
/null
9839 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9840 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9841 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9844 # compilation failed
9845 lt_cv_dlopen_self_static
=no
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9853 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9856 CPPFLAGS
="$save_CPPFLAGS"
9857 LDFLAGS
="$save_LDFLAGS"
9862 case $lt_cv_dlopen_self in
9863 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9864 *) enable_dlopen_self
=unknown
;;
9867 case $lt_cv_dlopen_self_static in
9868 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9869 *) enable_dlopen_self_static
=unknown
;;
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9892 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9893 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9894 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9895 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9897 $as_echo "yes" >&6; }
9899 # FIXME - insert some real tests, host_os isn't really good enough
9902 if test -n "$STRIP" ; then
9903 striplib
="$STRIP -x"
9904 old_striplib
="$STRIP -S"
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9906 $as_echo "yes" >&6; }
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9909 $as_echo "no" >&6; }
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9914 $as_echo "no" >&6; }
9930 # Report which library types will actually be built
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9932 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9934 $as_echo "$can_build_shared" >&6; }
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9937 $as_echo_n "checking whether to build shared libraries... " >&6; }
9938 test "$can_build_shared" = "no" && enable_shared
=no
9940 # On AIX, shared libraries and static libraries use the same namespace, and
9941 # are all built from PIC.
9944 test "$enable_shared" = yes && enable_static
=no
9945 if test -n "$RANLIB"; then
9946 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9947 postinstall_cmds
='$RANLIB $lib'
9952 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9953 test "$enable_shared" = yes && enable_static
=no
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9958 $as_echo "$enable_shared" >&6; }
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9961 $as_echo_n "checking whether to build static libraries... " >&6; }
9962 # Make sure either enable_shared or enable_static is yes.
9963 test "$enable_shared" = yes || enable_static
=yes
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9965 $as_echo "$enable_static" >&6; }
9972 ac_cpp
='$CPP $CPPFLAGS'
9973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9991 ac_config_commands
="$ac_config_commands libtool"
10001 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10002 if test -n "$ac_tool_prefix"; then
10003 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10004 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10006 $as_echo_n "checking for $ac_word... " >&6; }
10007 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10008 $as_echo_n "(cached) " >&6
10010 case $PKG_CONFIG in
10012 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10016 for as_dir
in $PATH
10019 test -z "$as_dir" && as_dir
=.
10020 for ac_exec_ext
in '' $ac_executable_extensions; do
10021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10022 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10033 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10034 if test -n "$PKG_CONFIG"; then
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10036 $as_echo "$PKG_CONFIG" >&6; }
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10039 $as_echo "no" >&6; }
10044 if test -z "$ac_cv_path_PKG_CONFIG"; then
10045 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10046 # Extract the first word of "pkg-config", so it can be a program name with args.
10047 set dummy pkg
-config; ac_word
=$2
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10049 $as_echo_n "checking for $ac_word... " >&6; }
10050 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10051 $as_echo_n "(cached) " >&6
10053 case $ac_pt_PKG_CONFIG in
10055 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10059 for as_dir
in $PATH
10062 test -z "$as_dir" && as_dir
=.
10063 for ac_exec_ext
in '' $ac_executable_extensions; do
10064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10065 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10076 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10077 if test -n "$ac_pt_PKG_CONFIG"; then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10079 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10082 $as_echo "no" >&6; }
10085 if test "x$ac_pt_PKG_CONFIG" = x
; then
10088 case $cross_compiling:$ac_tool_warned in
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10092 ac_tool_warned
=yes ;;
10094 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10097 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10101 if test -n "$PKG_CONFIG"; then
10102 _pkg_min_version
=0.22
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10104 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10105 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10107 $as_echo "yes" >&6; }
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10110 $as_echo "no" >&6; }
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
10116 $as_echo_n "checking for GNU make... " >&6; }
10117 if test "${_cv_gnu_make_command+set}" = set; then :
10118 $as_echo_n "(cached) " >&6
10120 _cv_gnu_make_command
='' ;
10121 for a
in "$MAKE" make gmake gnumake
; do
10122 if test -z "$a" ; then continue ; fi ;
10123 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
10124 _cv_gnu_make_command
=$a ;
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
10131 $as_echo "$_cv_gnu_make_command" >&6; } ;
10132 if test "x$_cv_gnu_make_command" != "x" ; then
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
10137 $as_echo "\"Not found\"" >&6; };
10141 GMAKE
=$_cv_gnu_make_command
10143 if test "x$GMAKE" = x
; then :
10144 as_fn_error
"You need GNU make" "$LINENO" 5
10146 for ac_prog
in bash
10148 # Extract the first word of "$ac_prog", so it can be a program name with args.
10149 set dummy
$ac_prog; ac_word
=$2
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10151 $as_echo_n "checking for $ac_word... " >&6; }
10152 if test "${ac_cv_path__BASH+set}" = set; then :
10153 $as_echo_n "(cached) " >&6
10157 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
10160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10161 for as_dir
in $PATH
10164 test -z "$as_dir" && as_dir
=.
10165 for ac_exec_ext
in '' $ac_executable_extensions; do
10166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10167 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
10168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10178 _BASH
=$ac_cv_path__BASH
10179 if test -n "$_BASH"; then
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
10181 $as_echo "$_BASH" >&6; }
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10184 $as_echo "no" >&6; }
10188 test -n "$_BASH" && break
10191 if test "x$_BASH" = x
; then :
10192 as_fn_error
"You need GNU bash" "$LINENO" 5
10194 for ac_prog
in time
10196 # Extract the first word of "$ac_prog", so it can be a program name with args.
10197 set dummy
$ac_prog; ac_word
=$2
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10199 $as_echo_n "checking for $ac_word... " >&6; }
10200 if test "${ac_cv_path_TIME+set}" = set; then :
10201 $as_echo_n "(cached) " >&6
10205 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
10208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10209 for as_dir
in $PATH
10212 test -z "$as_dir" && as_dir
=.
10213 for ac_exec_ext
in '' $ac_executable_extensions; do
10214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10215 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
10216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10226 TIME
=$ac_cv_path_TIME
10227 if test -n "$TIME"; then
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
10229 $as_echo "$TIME" >&6; }
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10232 $as_echo "no" >&6; }
10236 test -n "$TIME" && break
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
10243 $as_echo_n "checking for bison >= 2.3... " >&6; }
10244 if test -z "$BISON"; then
10245 ac_path_BISON_found
=false
10246 # Loop through the user's path and test for each of PROGNAME-LIST
10247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10248 for as_dir
in $PATH
10251 test -z "$as_dir" && as_dir
=.
10252 for ac_prog
in bison
; do
10253 for ac_exec_ext
in '' $ac_executable_extensions; do
10254 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
10255 { test -f "$ac_path_BISON" && $as_test_x "$ac_path_BISON"; } || continue
10256 as_awk_strverscmp
='
10257 # Use only awk features that work with 7th edition Unix awk (1978).
10258 # My, what an old awk you have, Mr. Solaris!
10260 while (length(v1) && length(v2)) {
10261 # Set d1 to be the next thing to compare from v1, and likewise for d2.
10262 # Normally this is a single character, but if v1 and v2 contain digits,
10263 # compare them as integers and fractions as strverscmp does.
10264 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
10265 # Split v1 and v2 into their leading digit string components d1 and d2,
10266 # and advance v1 and v2 past the leading digit strings.
10267 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
10268 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
10269 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
10270 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
10273 # Compare two fractions.
10274 while (d1 ~ /^0/ && d2 ~ /^0/) {
10275 d1 = substr(d1, 2); len1--
10276 d2 = substr(d2, 2); len2--
10278 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
10279 # The two components differ in length, and the common prefix
10280 # contains only leading zeros. Consider the longer to be less.
10284 # Otherwise, compare as strings.
10289 # A fraction is less than an integer.
10294 # An integer is greater than a fraction.
10297 # Compare two integers.
10303 # The normal case, without worrying about digits.
10304 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
10305 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
10307 if (d1 < d2) exit 1
10308 if (d1 > d2) exit 2
10310 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
10311 # which mishandles some comparisons of empty strings to integers.
10312 if (length(v2)) exit 1
10313 if (length(v1)) exit 2
10316 as_arg_v1
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
10318 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10323 ac_cv_path_BISON
=$ac_path_BISON
10326 ac_cv_path_BISON
=$ac_path_BISON
10332 $ac_path_BISON_found && break 3
10337 if test -z "$ac_cv_path_BISON"; then
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10339 $as_echo "no" >&6; }
10340 as_fn_error
"You need bison 2.3 or greater" "$LINENO" 5
10344 ac_cv_path_BISON
=$BISON
10347 BISON
=$ac_cv_path_BISON
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
10350 $as_echo "$BISON" >&6; }
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
10355 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
10356 if test -z "$FLEX"; then
10357 ac_path_FLEX_found
=false
10358 # Loop through the user's path and test for each of PROGNAME-LIST
10359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10360 for as_dir
in $PATH
10363 test -z "$as_dir" && as_dir
=.
10364 for ac_prog
in flex
; do
10365 for ac_exec_ext
in '' $ac_executable_extensions; do
10366 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
10367 { test -f "$ac_path_FLEX" && $as_test_x "$ac_path_FLEX"; } || continue
10368 as_arg_v1
=`$ac_path_FLEX --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
10370 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10375 ac_cv_path_FLEX
=$ac_path_FLEX
10378 ac_cv_path_FLEX
=$ac_path_FLEX
10384 $ac_path_FLEX_found && break 3
10389 if test -z "$ac_cv_path_FLEX"; then
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10391 $as_echo "no" >&6; }
10392 as_fn_error
"You need flex 2.5.33 or greater" "$LINENO" 5
10396 ac_cv_path_FLEX
=$FLEX
10399 FLEX
=$ac_cv_path_FLEX
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
10402 $as_echo "$FLEX" >&6; }
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
10407 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
10408 if test -z "$GPERF"; then
10409 ac_path_GPERF_found
=false
10410 # Loop through the user's path and test for each of PROGNAME-LIST
10411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10412 for as_dir
in $PATH
10415 test -z "$as_dir" && as_dir
=.
10416 for ac_prog
in gperf
; do
10417 for ac_exec_ext
in '' $ac_executable_extensions; do
10418 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
10419 { test -f "$ac_path_GPERF" && $as_test_x "$ac_path_GPERF"; } || continue
10420 as_arg_v1
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
10422 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10427 ac_cv_path_GPERF
=$ac_path_GPERF
10430 ac_cv_path_GPERF
=$ac_path_GPERF
10436 $ac_path_GPERF_found && break 3
10441 if test -z "$ac_cv_path_GPERF"; then
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10443 $as_echo "no" >&6; }
10444 as_fn_error
"You need gperf 3.0.3 or greater" "$LINENO" 5
10448 ac_cv_path_GPERF
=$GPERF
10451 GPERF
=$ac_cv_path_GPERF
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
10454 $as_echo "$GPERF" >&6; }
10456 # Find a good install program. We prefer a C program (faster),
10457 # so one script is as good as another. But avoid the broken or
10458 # incompatible versions:
10459 # SysV /etc/install, /usr/sbin/install
10460 # SunOS /usr/etc/install
10461 # IRIX /sbin/install
10463 # AmigaOS /C/install, which installs bootblocks on floppy discs
10464 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10465 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10466 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10467 # OS/2's system install, which has a completely different semantic
10468 # ./install, which can be erroneously created by make from ./install.sh.
10469 # Reject install programs that cannot install multiple files.
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
10471 $as_echo_n "checking for a BSD-compatible install... " >&6; }
10472 if test -z "$INSTALL"; then
10473 if test "${ac_cv_path_install+set}" = set; then :
10474 $as_echo_n "(cached) " >&6
10476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10477 for as_dir
in $PATH
10480 test -z "$as_dir" && as_dir
=.
10481 # Account for people who put trailing slashes in PATH elements.
10482 case $as_dir/ in #((
10483 .
/ | .
// | /[cC
]/* | \
10484 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
10485 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
10488 # OSF1 and SCO ODT 3.0 have their own names for install.
10489 # Don't use installbsd from OSF since it installs stuff as root
10491 for ac_prog
in ginstall scoinst
install; do
10492 for ac_exec_ext
in '' $ac_executable_extensions; do
10493 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10494 if test $ac_prog = install &&
10495 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10496 # AIX install. It has an incompatible calling convention.
10498 elif test $ac_prog = install &&
10499 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10500 # program-specific install script used by HP pwplus--don't use.
10503 rm -rf conftest.one conftest.two conftest.dir
10504 echo one
> conftest.one
10505 echo two
> conftest.two
10507 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
10508 test -s conftest.one
&& test -s conftest.two
&&
10509 test -s conftest.dir
/conftest.one
&&
10510 test -s conftest.dir
/conftest.two
10512 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10525 rm -rf conftest.one conftest.two conftest.dir
10528 if test "${ac_cv_path_install+set}" = set; then
10529 INSTALL
=$ac_cv_path_install
10531 # As a last resort, use the slow shell script. Don't cache a
10532 # value for INSTALL within a source directory, because that will
10533 # break other packages using the cache if that directory is
10534 # removed, or if the value is a relative name.
10535 INSTALL
=$ac_install_sh
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
10539 $as_echo "$INSTALL" >&6; }
10541 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10542 # It thinks the first close brace ends the variable substitution.
10543 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10545 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10547 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU tar >=1.19" >&5
10550 $as_echo_n "checking for GNU tar >=1.19... " >&6; }
10551 if test -z "$GNUTAR"; then
10552 ac_path_GNUTAR_found
=false
10553 # Loop through the user's path and test for each of PROGNAME-LIST
10554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10555 for as_dir
in $PATH
10558 test -z "$as_dir" && as_dir
=.
10559 for ac_prog
in tar gtar gnutar
; do
10560 for ac_exec_ext
in '' $ac_executable_extensions; do
10561 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
10562 { test -f "$ac_path_GNUTAR" && $as_test_x "$ac_path_GNUTAR"; } || continue
10564 if test "x`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar)/&/p;d'`" != x
; then :
10566 as_arg_v1
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
10568 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10574 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
10578 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
10586 $ac_path_GNUTAR_found && break 3
10591 if test -z "$ac_cv_path_GNUTAR"; then
10595 ac_cv_path_GNUTAR
=$GNUTAR
10598 if test "x$ac_cv_path_GNUTAR" != x
; then :
10600 GNUTAR
=$ac_cv_path_GNUTAR
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
10603 $as_echo "$GNUTAR" >&6; }
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10610 $as_echo "no" >&6; }
10615 # Extract the first word of "$ac_prog", so it can be a program name with args.
10616 set dummy
$ac_prog; ac_word
=$2
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10618 $as_echo_n "checking for $ac_word... " >&6; }
10619 if test "${ac_cv_prog_SVN+set}" = set; then :
10620 $as_echo_n "(cached) " >&6
10622 if test -n "$SVN"; then
10623 ac_cv_prog_SVN
="$SVN" # Let the user override the test.
10625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10626 for as_dir
in $PATH
10629 test -z "$as_dir" && as_dir
=.
10630 for ac_exec_ext
in '' $ac_executable_extensions; do
10631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10632 ac_cv_prog_SVN
="$ac_prog"
10633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10642 SVN
=$ac_cv_prog_SVN
10643 if test -n "$SVN"; then
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVN" >&5
10645 $as_echo "$SVN" >&6; }
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10648 $as_echo "no" >&6; }
10652 test -n "$SVN" && break
10655 for ac_prog
in svnversion
10657 # Extract the first word of "$ac_prog", so it can be a program name with args.
10658 set dummy
$ac_prog; ac_word
=$2
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10660 $as_echo_n "checking for $ac_word... " >&6; }
10661 if test "${ac_cv_prog_SVNVERSION+set}" = set; then :
10662 $as_echo_n "(cached) " >&6
10664 if test -n "$SVNVERSION"; then
10665 ac_cv_prog_SVNVERSION
="$SVNVERSION" # Let the user override the test.
10667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10668 for as_dir
in $PATH
10671 test -z "$as_dir" && as_dir
=.
10672 for ac_exec_ext
in '' $ac_executable_extensions; do
10673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10674 ac_cv_prog_SVNVERSION
="$ac_prog"
10675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10684 SVNVERSION
=$ac_cv_prog_SVNVERSION
10685 if test -n "$SVNVERSION"; then
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVNVERSION" >&5
10687 $as_echo "$SVNVERSION" >&6; }
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10690 $as_echo "no" >&6; }
10694 test -n "$SVNVERSION" && break
10698 ac_cpp
='$CXXCPP $CPPFLAGS'
10699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10702 if test -z "$CXX"; then
10703 if test -n "$CCC"; then
10706 if test -n "$ac_tool_prefix"; then
10707 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10710 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10712 $as_echo_n "checking for $ac_word... " >&6; }
10713 if test "${ac_cv_prog_CXX+set}" = set; then :
10714 $as_echo_n "(cached) " >&6
10716 if test -n "$CXX"; then
10717 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10720 for as_dir
in $PATH
10723 test -z "$as_dir" && as_dir
=.
10724 for ac_exec_ext
in '' $ac_executable_extensions; do
10725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10726 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10736 CXX
=$ac_cv_prog_CXX
10737 if test -n "$CXX"; then
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10739 $as_echo "$CXX" >&6; }
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10742 $as_echo "no" >&6; }
10746 test -n "$CXX" && break
10749 if test -z "$CXX"; then
10751 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10753 # Extract the first word of "$ac_prog", so it can be a program name with args.
10754 set dummy
$ac_prog; ac_word
=$2
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10756 $as_echo_n "checking for $ac_word... " >&6; }
10757 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10758 $as_echo_n "(cached) " >&6
10760 if test -n "$ac_ct_CXX"; then
10761 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10764 for as_dir
in $PATH
10767 test -z "$as_dir" && as_dir
=.
10768 for ac_exec_ext
in '' $ac_executable_extensions; do
10769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10770 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10780 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10781 if test -n "$ac_ct_CXX"; then
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10783 $as_echo "$ac_ct_CXX" >&6; }
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10786 $as_echo "no" >&6; }
10790 test -n "$ac_ct_CXX" && break
10793 if test "x$ac_ct_CXX" = x
; then
10796 case $cross_compiling:$ac_tool_warned in
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10800 ac_tool_warned
=yes ;;
10808 # Provide some information about the compiler.
10809 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10812 for ac_option
in --version -v -V -qversion; do
10813 { { ac_try
="$ac_compiler $ac_option >&5"
10814 case "(($ac_try" in
10815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10816 *) ac_try_echo=$ac_try;;
10818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10819 $as_echo "$ac_try_echo"; } >&5
10820 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10822 if test -s conftest.err; then
10824 ... rest of stderr output deleted ...
10825 10q' conftest.err >conftest.er1
10826 cat conftest.er1 >&5
10828 rm -f conftest.er1 conftest.err
10829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10830 test $ac_status = 0; }
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10834 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10835 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10836 $as_echo_n "(cached) " >&6
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10852 if ac_fn_cxx_try_compile "$LINENO"; then :
10853 ac_compiler_gnu=yes
10857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10858 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10862 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10863 if test $ac_compiler_gnu = yes; then
10868 ac_test_CXXFLAGS=${CXXFLAGS+set}
10869 ac_save_CXXFLAGS=$CXXFLAGS
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10871 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10872 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10873 $as_echo_n "(cached) " >&6
10875 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10876 ac_cxx_werror_flag=yes
10877 ac_cv_prog_cxx_g=no
10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10890 if ac_fn_cxx_try_compile "$LINENO"; then :
10891 ac_cv_prog_cxx_g=yes
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10905 if ac_fn_cxx_try_compile "$LINENO"; then :
10908 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10921 if ac_fn_cxx_try_compile "$LINENO"; then :
10922 ac_cv_prog_cxx_g=yes
10924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10929 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10932 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10933 if test "$ac_test_CXXFLAGS" = set; then
10934 CXXFLAGS=$ac_save_CXXFLAGS
10935 elif test $ac_cv_prog_cxx_g = yes; then
10936 if test "$GXX" = yes; then
10942 if test "$GXX" = yes; then
10949 ac_cpp='$CPP $CPPFLAGS'
10950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10956 ac_cpp='$CXXCPP $CPPFLAGS'
10957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10960 if test -z "$CXX"; then
10961 if test -n "$CCC"; then
10964 if test -n "$ac_tool_prefix"; then
10965 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10967 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10968 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10970 $as_echo_n "checking for $ac_word... " >&6; }
10971 if test "${ac_cv_prog_CXX+set}" = set; then :
10972 $as_echo_n "(cached) " >&6
10974 if test -n "$CXX"; then
10975 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10978 for as_dir in $PATH
10981 test -z "$as_dir" && as_dir=.
10982 for ac_exec_ext in '' $ac_executable_extensions; do
10983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10984 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10994 CXX=$ac_cv_prog_CXX
10995 if test -n "$CXX"; then
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10997 $as_echo "$CXX" >&6; }
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11000 $as_echo "no" >&6; }
11004 test -n "$CXX" && break
11007 if test -z "$CXX"; then
11009 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11011 # Extract the first word of "$ac_prog", so it can be a program name with args.
11012 set dummy $ac_prog; ac_word=$2
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11014 $as_echo_n "checking for $ac_word... " >&6; }
11015 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11016 $as_echo_n "(cached) " >&6
11018 if test -n "$ac_ct_CXX"; then
11019 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11022 for as_dir in $PATH
11025 test -z "$as_dir" && as_dir=.
11026 for ac_exec_ext in '' $ac_executable_extensions; do
11027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11028 ac_cv_prog_ac_ct_CXX="$ac_prog"
11029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11038 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11039 if test -n "$ac_ct_CXX"; then
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11041 $as_echo "$ac_ct_CXX" >&6; }
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11044 $as_echo "no" >&6; }
11048 test -n "$ac_ct_CXX" && break
11051 if test "x$ac_ct_CXX" = x; then
11054 case $cross_compiling:$ac_tool_warned in
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11058 ac_tool_warned=yes ;;
11066 # Provide some information about the compiler.
11067 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11070 for ac_option in --version -v -V -qversion; do
11071 { { ac_try="$ac_compiler $ac_option >&5"
11072 case "(($ac_try" in
11073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11074 *) ac_try_echo
=$ac_try;;
11076 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11077 $as_echo "$ac_try_echo"; } >&5
11078 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11080 if test -s conftest.err
; then
11082 ... rest of stderr output deleted ...
11083 10q' conftest.err
>conftest.er1
11084 cat conftest.er1
>&5
11086 rm -f conftest.er1 conftest.err
11087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11088 test $ac_status = 0; }
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11092 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11093 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11094 $as_echo_n "(cached) " >&6
11096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11110 if ac_fn_cxx_try_compile
"$LINENO"; then :
11111 ac_compiler_gnu
=yes
11115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11116 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11120 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11121 if test $ac_compiler_gnu = yes; then
11126 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11127 ac_save_CXXFLAGS
=$CXXFLAGS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11129 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11130 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11131 $as_echo_n "(cached) " >&6
11133 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
11134 ac_cxx_werror_flag
=yes
11135 ac_cv_prog_cxx_g
=no
11137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11148 if ac_fn_cxx_try_compile
"$LINENO"; then :
11149 ac_cv_prog_cxx_g
=yes
11152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11153 /* end confdefs.h. */
11163 if ac_fn_cxx_try_compile
"$LINENO"; then :
11166 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11179 if ac_fn_cxx_try_compile
"$LINENO"; then :
11180 ac_cv_prog_cxx_g
=yes
11182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11187 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11190 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11191 if test "$ac_test_CXXFLAGS" = set; then
11192 CXXFLAGS
=$ac_save_CXXFLAGS
11193 elif test $ac_cv_prog_cxx_g = yes; then
11194 if test "$GXX" = yes; then
11200 if test "$GXX" = yes; then
11207 ac_cpp
='$CPP $CPPFLAGS'
11208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11212 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11213 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11214 (test "X$CXX" != "Xg++"))) ; then
11216 ac_cpp
='$CXXCPP $CPPFLAGS'
11217 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11218 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11219 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11221 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11222 if test -z "$CXXCPP"; then
11223 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11224 $as_echo_n "(cached) " >&6
11226 # Double quotes because CXXCPP needs to be expanded
11227 for CXXCPP
in "$CXX -E" "/lib/cpp"
11229 ac_preproc_ok
=false
11230 for ac_cxx_preproc_warn_flag
in '' yes
11232 # Use a header file that comes with gcc, so configuring glibc
11233 # with a fresh cross-compiler works.
11234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11235 # <limits.h> exists even on freestanding compilers.
11236 # On the NeXT, cc -E runs the code through the compiler's parser,
11237 # not just through cpp. "Syntax error" is here to catch this case.
11238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 # include <limits.h>
11243 # include <assert.h>
11247 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11250 # Broken: fails on valid input.
11253 rm -f conftest.err conftest.
$ac_ext
11255 # OK, works on sane cases. Now check whether nonexistent headers
11256 # can be detected and how.
11257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11259 #include <ac_nonexistent.h>
11261 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11262 # Broken: success on invalid input.
11265 # Passes both tests.
11269 rm -f conftest.err conftest.
$ac_ext
11272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11273 rm -f conftest.err conftest.
$ac_ext
11274 if $ac_preproc_ok; then :
11279 ac_cv_prog_CXXCPP
=$CXXCPP
11282 CXXCPP
=$ac_cv_prog_CXXCPP
11284 ac_cv_prog_CXXCPP
=$CXXCPP
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11287 $as_echo "$CXXCPP" >&6; }
11288 ac_preproc_ok
=false
11289 for ac_cxx_preproc_warn_flag
in '' yes
11291 # Use a header file that comes with gcc, so configuring glibc
11292 # with a fresh cross-compiler works.
11293 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11294 # <limits.h> exists even on freestanding compilers.
11295 # On the NeXT, cc -E runs the code through the compiler's parser,
11296 # not just through cpp. "Syntax error" is here to catch this case.
11297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11300 # include <limits.h>
11302 # include <assert.h>
11306 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11309 # Broken: fails on valid input.
11312 rm -f conftest.err conftest.
$ac_ext
11314 # OK, works on sane cases. Now check whether nonexistent headers
11315 # can be detected and how.
11316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11318 #include <ac_nonexistent.h>
11320 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11321 # Broken: success on invalid input.
11324 # Passes both tests.
11328 rm -f conftest.err conftest.
$ac_ext
11331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11332 rm -f conftest.err conftest.
$ac_ext
11333 if $ac_preproc_ok; then :
11336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11338 _lt_caught_CXX_error
=yes; }
11342 ac_cpp
='$CPP $CPPFLAGS'
11343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11348 _lt_caught_CXX_error
=yes
11355 ac_cpp
='$CXXCPP $CPPFLAGS'
11356 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11357 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11358 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11360 archive_cmds_need_lc_CXX
=no
11361 allow_undefined_flag_CXX
=
11362 always_export_symbols_CXX
=no
11363 archive_expsym_cmds_CXX
=
11364 compiler_needs_object_CXX
=no
11365 export_dynamic_flag_spec_CXX
=
11366 hardcode_direct_CXX
=no
11367 hardcode_direct_absolute_CXX
=no
11368 hardcode_libdir_flag_spec_CXX
=
11369 hardcode_libdir_flag_spec_ld_CXX
=
11370 hardcode_libdir_separator_CXX
=
11371 hardcode_minus_L_CXX
=no
11372 hardcode_shlibpath_var_CXX
=unsupported
11373 hardcode_automatic_CXX
=no
11374 inherit_rpath_CXX
=no
11376 module_expsym_cmds_CXX
=
11377 link_all_deplibs_CXX
=unknown
11378 old_archive_cmds_CXX
=$old_archive_cmds
11379 no_undefined_flag_CXX
=
11380 whole_archive_flag_spec_CXX
=
11381 enable_shared_with_static_runtimes_CXX
=no
11383 # Source file extension for C++ test sources.
11386 # Object file extension for compiled C++ test sources.
11390 # No sense in running all these tests if we already determined that
11391 # the CXX compiler isn't working. Some variables (like enable_shared)
11392 # are currently assumed to apply to all compilers on this platform,
11393 # and will be corrupted by setting them based on a non-working compiler.
11394 if test "$_lt_caught_CXX_error" != yes; then
11395 # Code to be used in simple compile tests
11396 lt_simple_compile_test_code
="int some_variable = 0;"
11398 # Code to be used in simple link tests
11399 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11401 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11408 # If no C compiler was specified, use CC.
11411 # If no C compiler flags were specified, use CFLAGS.
11412 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11414 # Allow CC to be a program name with arguments.
11418 # save warnings/boilerplate of simple test code
11419 ac_outfile
=conftest.
$ac_objext
11420 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11421 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11422 _lt_compiler_boilerplate
=`cat conftest.err`
11425 ac_outfile
=conftest.
$ac_objext
11426 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11427 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11428 _lt_linker_boilerplate
=`cat conftest.err`
11432 # Allow CC to be a program name with arguments.
11437 lt_save_with_gnu_ld
=$with_gnu_ld
11438 lt_save_path_LD
=$lt_cv_path_LD
11439 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11440 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11442 $as_unset lt_cv_prog_gnu_ld
11444 if test -n "${lt_cv_path_LDCXX+set}"; then
11445 lt_cv_path_LD
=$lt_cv_path_LDCXX
11447 $as_unset lt_cv_path_LD
11449 test -z "${LDCXX+set}" || LD
=$LDCXX
11453 for cc_temp
in $compiler""; do
11455 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
11456 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
11461 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11464 if test -n "$compiler"; then
11465 # We don't want -fno-exception when compiling C++ code, so set the
11466 # no_builtin_flag separately
11467 if test "$GXX" = yes; then
11468 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11470 lt_prog_compiler_no_builtin_flag_CXX
=
11473 if test "$GXX" = yes; then
11474 # Set up default GNU C++ configuration
11478 # Check whether --with-gnu-ld was given.
11479 if test "${with_gnu_ld+set}" = set; then :
11480 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
11486 if test "$GCC" = yes; then
11487 # Check if gcc -print-prog-name=ld gives a path.
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11489 $as_echo_n "checking for ld used by $CC... " >&6; }
11492 # gcc leaves a trailing carriage return which upsets mingw
11493 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11495 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11498 # Accept absolute paths.
11500 re_direlt
='/[^/][^/]*/\.\./'
11501 # Canonicalize the pathname of ld
11502 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11503 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
11504 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11506 test -z "$LD" && LD
="$ac_prog"
11509 # If it fails, then pretend we aren't using GCC.
11513 # If it is relative, then search for the first ld in PATH.
11514 with_gnu_ld
=unknown
11517 elif test "$with_gnu_ld" = yes; then
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11519 $as_echo_n "checking for GNU ld... " >&6; }
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11522 $as_echo_n "checking for non-GNU ld... " >&6; }
11524 if test "${lt_cv_path_LD+set}" = set; then :
11525 $as_echo_n "(cached) " >&6
11527 if test -z "$LD"; then
11528 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11529 for ac_dir
in $PATH; do
11531 test -z "$ac_dir" && ac_dir
=.
11532 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11533 lt_cv_path_LD
="$ac_dir/$ac_prog"
11534 # Check to see if the program is GNU ld. I'd rather use --version,
11535 # but apparently some variants of GNU ld only accept -v.
11536 # Break only if it was the GNU/non-GNU ld that we prefer.
11537 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11538 *GNU
* | *'with BFD'*)
11539 test "$with_gnu_ld" != no
&& break
11542 test "$with_gnu_ld" != yes && break
11549 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11553 LD
="$lt_cv_path_LD"
11554 if test -n "$LD"; then
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11556 $as_echo "$LD" >&6; }
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11559 $as_echo "no" >&6; }
11561 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11563 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11564 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11565 $as_echo_n "(cached) " >&6
11567 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11568 case `$LD -v 2>&1 </dev/null` in
11569 *GNU
* | *'with BFD'*)
11570 lt_cv_prog_gnu_ld
=yes
11573 lt_cv_prog_gnu_ld
=no
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11578 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11579 with_gnu_ld
=$lt_cv_prog_gnu_ld
11587 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11588 # archiving commands below assume that GNU ld is being used.
11589 if test "$with_gnu_ld" = yes; then
11590 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11591 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'
11593 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11594 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11596 # If archive_cmds runs LD, not CC, wlarc should be empty
11597 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11598 # investigate it a little bit more. (MM)
11601 # ancient GNU ld didn't support --whole-archive et. al.
11602 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11603 $GREP 'no-whole-archive' > /dev
/null
; then
11604 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11606 whole_archive_flag_spec_CXX
=
11612 # A generic and very simple default shared library creation
11613 # command for GNU C++ for the case where it uses the native
11614 # linker, instead of GNU ld. If possible, this setting should
11615 # overridden to take advantage of the native linker features on
11616 # the platform it is being used on.
11617 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11620 # Commands to make compiler produce verbose output that lists
11621 # what "hidden" libraries, object files and flags are used when
11622 # linking a shared library.
11623 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11631 # PORTME: fill in a description of your system's C++ link characteristics
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11633 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11637 # FIXME: insert proper C++ library support
11641 if test "$host_cpu" = ia64
; then
11642 # On IA64, the linker does run time linking by default, so we don't
11643 # have to do anything special.
11644 aix_use_runtimelinking
=no
11645 exp_sym_flag
='-Bexport'
11648 aix_use_runtimelinking
=no
11650 # Test if we are trying to use run time linking or normal
11651 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11652 # need to do runtime linking.
11653 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11654 for ld_flag
in $LDFLAGS; do
11657 aix_use_runtimelinking
=yes
11665 exp_sym_flag
='-bexport'
11666 no_entry_flag
='-bnoentry'
11669 # When large executables or shared objects are built, AIX ld can
11670 # have problems creating the table of contents. If linking a library
11671 # or program results in "error TOC overflow" add -mminimal-toc to
11672 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11673 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11675 archive_cmds_CXX
=''
11676 hardcode_direct_CXX
=yes
11677 hardcode_direct_absolute_CXX
=yes
11678 hardcode_libdir_separator_CXX
=':'
11679 link_all_deplibs_CXX
=yes
11680 file_list_spec_CXX
='${wl}-f,'
11682 if test "$GXX" = yes; then
11683 case $host_os in aix4.
[012]|aix4.
[012].
*)
11684 # We only want to do this on AIX 4.2 and lower, the check
11685 # below for broken collect2 doesn't work under 4.3+
11686 collect2name
=`${CC} -print-prog-name=collect2`
11687 if test -f "$collect2name" &&
11688 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11690 # We have reworked collect2
11693 # We have old collect2
11694 hardcode_direct_CXX
=unsupported
11695 # It fails to find uninstalled libraries when the uninstalled
11696 # path is not listed in the libpath. Setting hardcode_minus_L
11697 # to unsupported forces relinking
11698 hardcode_minus_L_CXX
=yes
11699 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11700 hardcode_libdir_separator_CXX
=
11703 shared_flag
='-shared'
11704 if test "$aix_use_runtimelinking" = yes; then
11705 shared_flag
="$shared_flag "'${wl}-G'
11709 if test "$host_cpu" = ia64
; then
11710 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11711 # chokes on -Wl,-G. The following line is correct:
11714 if test "$aix_use_runtimelinking" = yes; then
11715 shared_flag
='${wl}-G'
11717 shared_flag
='${wl}-bM:SRE'
11722 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11723 # It seems that -bexpall does not export symbols beginning with
11724 # underscore (_), so it is better to generate a list of symbols to
11726 always_export_symbols_CXX
=yes
11727 if test "$aix_use_runtimelinking" = yes; then
11728 # Warning - without using the other runtime loading flags (-brtl),
11729 # -berok will link without error, but may produce a broken library.
11730 allow_undefined_flag_CXX
='-berok'
11731 # Determine the default libpath from the value encoded in an empty
11733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11734 /* end confdefs.h. */
11744 if ac_fn_cxx_try_link
"$LINENO"; then :
11746 lt_aix_libpath_sed
='
11747 /Import File Strings/,/^$/ {
11753 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11754 # Check for a 64-bit object if we didn't find anything.
11755 if test -z "$aix_libpath"; then
11756 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11759 rm -f core conftest.err conftest.
$ac_objext \
11760 conftest
$ac_exeext conftest.
$ac_ext
11761 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11763 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11765 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"
11767 if test "$host_cpu" = ia64
; then
11768 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11769 allow_undefined_flag_CXX
="-z nodefs"
11770 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"
11772 # Determine the default libpath from the value encoded in an
11773 # empty executable.
11774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11785 if ac_fn_cxx_try_link
"$LINENO"; then :
11787 lt_aix_libpath_sed
='
11788 /Import File Strings/,/^$/ {
11794 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11795 # Check for a 64-bit object if we didn't find anything.
11796 if test -z "$aix_libpath"; then
11797 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11800 rm -f core conftest.err conftest.
$ac_objext \
11801 conftest
$ac_exeext conftest.
$ac_ext
11802 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11804 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11805 # Warning - without using the other run time loading flags,
11806 # -berok will link without error, but may produce a broken library.
11807 no_undefined_flag_CXX
=' ${wl}-bernotok'
11808 allow_undefined_flag_CXX
=' ${wl}-berok'
11809 # Exported symbols can be pulled into shared objects from archives
11810 whole_archive_flag_spec_CXX
='$convenience'
11811 archive_cmds_need_lc_CXX
=yes
11812 # This is similar to how AIX traditionally builds its shared
11814 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'
11820 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11821 allow_undefined_flag_CXX
=unsupported
11822 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11823 # support --undefined. This deserves some investigation. FIXME
11824 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11831 case $cc_basename in
11833 # FIXME: insert proper C++ library support
11839 cygwin
* | mingw
* | pw32
* | cegcc
*)
11840 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11841 # as there is no search path for DLLs.
11842 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11843 allow_undefined_flag_CXX
=unsupported
11844 always_export_symbols_CXX
=no
11845 enable_shared_with_static_runtimes_CXX
=yes
11847 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11848 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'
11849 # If the export-symbols file already is a .def file (1st line
11850 # is EXPORTS), use it as is; otherwise, prepend...
11851 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11852 cp $export_symbols $output_objdir/$soname.def;
11854 echo EXPORTS > $output_objdir/$soname.def;
11855 cat $export_symbols >> $output_objdir/$soname.def;
11857 $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'
11862 darwin
* | rhapsody
*)
11865 archive_cmds_need_lc_CXX
=no
11866 hardcode_direct_CXX
=no
11867 hardcode_automatic_CXX
=yes
11868 hardcode_shlibpath_var_CXX
=unsupported
11869 whole_archive_flag_spec_CXX
=''
11870 link_all_deplibs_CXX
=yes
11871 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11872 case $cc_basename in
11873 ifort
*) _lt_dar_can_shared
=yes ;;
11874 *) _lt_dar_can_shared
=$GCC ;;
11876 if test "$_lt_dar_can_shared" = "yes"; then
11877 output_verbose_link_cmd
=echo
11878 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}"
11879 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11880 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}"
11881 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}"
11882 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11883 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}"
11884 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}"
11894 case $cc_basename in
11896 # FIXME: insert proper C++ library support
11900 # Green Hills C++ Compiler
11901 # FIXME: insert proper C++ library support
11905 # FIXME: insert proper C++ library support
11912 # C++ shared libraries reported to be fairly broken before
11918 archive_cmds_need_lc_CXX
=no
11921 freebsd
* | dragonfly
*)
11922 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11931 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11932 hardcode_libdir_separator_CXX
=:
11933 export_dynamic_flag_spec_CXX
='${wl}-E'
11934 hardcode_direct_CXX
=yes
11935 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11936 # but as the default
11937 # location of the library.
11939 case $cc_basename in
11941 # FIXME: insert proper C++ library support
11945 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'
11946 # Commands to make compiler produce verbose output that lists
11947 # what "hidden" libraries, object files and flags are used when
11948 # linking a shared library.
11950 # There doesn't appear to be a way to prevent this compiler from
11951 # explicitly linking system object files so we need to strip them
11952 # from the output so that they don't get included in the library
11954 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'
11957 if test "$GXX" = yes; then
11958 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'
11960 # FIXME: insert proper C++ library support
11968 if test $with_gnu_ld = no
; then
11969 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11970 hardcode_libdir_separator_CXX
=:
11976 export_dynamic_flag_spec_CXX
='${wl}-E'
11982 hardcode_direct_CXX
=no
11983 hardcode_shlibpath_var_CXX
=no
11986 hardcode_direct_CXX
=yes
11987 hardcode_direct_absolute_CXX
=yes
11988 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11989 # but as the default
11990 # location of the library.
11994 case $cc_basename in
11996 # FIXME: insert proper C++ library support
12002 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12005 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12008 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12011 # Commands to make compiler produce verbose output that lists
12012 # what "hidden" libraries, object files and flags are used when
12013 # linking a shared library.
12015 # There doesn't appear to be a way to prevent this compiler from
12016 # explicitly linking system object files so we need to strip them
12017 # from the output so that they don't get included in the library
12019 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'
12022 if test "$GXX" = yes; then
12023 if test $with_gnu_ld = no
; then
12026 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12029 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12032 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'
12037 # FIXME: insert proper C++ library support
12045 hardcode_direct_CXX
=no
12046 hardcode_shlibpath_var_CXX
=no
12047 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12048 export_dynamic_flag_spec_CXX
='${wl}-E'
12049 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12050 # Instead, shared libraries are loaded at an image base (0x10000000 by
12051 # default) and relocated if they conflict, which is a slow very memory
12052 # consuming and fragmenting process. To avoid this, we pick a random,
12053 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12054 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12055 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'
12056 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'
12059 case $cc_basename in
12062 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'
12064 # Archives containing C++ object files must be created using
12065 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12066 # necessary to make sure instantiated templates are included
12068 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12071 if test "$GXX" = yes; then
12072 if test "$with_gnu_ld" = no
; then
12073 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'
12075 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'
12078 link_all_deplibs_CXX
=yes
12081 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12082 hardcode_libdir_separator_CXX
=:
12083 inherit_rpath_CXX
=yes
12086 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12087 case $cc_basename in
12089 # Kuck and Associates, Inc. (KAI) C++ Compiler
12091 # KCC will only create a shared library if the output file
12092 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12093 # to its proper name (with version) after linking.
12094 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'
12095 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'
12096 # Commands to make compiler produce verbose output that lists
12097 # what "hidden" libraries, object files and flags are used when
12098 # linking a shared library.
12100 # There doesn't appear to be a way to prevent this compiler from
12101 # explicitly linking system object files so we need to strip them
12102 # from the output so that they don't get included in the library
12104 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'
12106 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12107 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12109 # Archives containing C++ object files must be created using
12110 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12111 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12116 # version 8.0 and above of icpc choke on multiply defined symbols
12117 # if we add $predep_objects and $postdep_objects, however 7.1 and
12118 # earlier do not add the objects themselves.
12119 case `$CC -V 2>&1` in
12121 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12122 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'
12124 *) # Version 8.0 or newer
12127 ia64
*) tmp_idyn
=' -i_dynamic';;
12129 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12130 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'
12133 archive_cmds_need_lc_CXX
=no
12134 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12135 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12136 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12139 # Portland Group C++ compiler
12141 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
12142 prelink_cmds_CXX
='tpldir=Template.dir~
12144 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12145 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12146 old_archive_cmds_CXX
='tpldir=Template.dir~
12148 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12149 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12151 archive_cmds_CXX
='tpldir=Template.dir~
12153 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12154 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12155 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12157 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12158 $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'
12160 *) # Version 6 will use weak symbols
12161 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12162 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'
12166 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12167 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12168 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'
12172 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12173 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'
12175 runpath_var
=LD_RUN_PATH
12176 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12177 hardcode_libdir_separator_CXX
=:
12179 # Commands to make compiler produce verbose output that lists
12180 # what "hidden" libraries, object files and flags are used when
12181 # linking a shared library.
12183 # There doesn't appear to be a way to prevent this compiler from
12184 # explicitly linking system object files so we need to strip them
12185 # from the output so that they don't get included in the library
12187 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'
12190 # IBM XL 8.0 on PPC, with GNU ld
12191 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12192 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12193 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12194 if test "x$supports_anon_versioning" = xyes
; then
12195 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12196 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12197 echo "local: *; };" >> $output_objdir/$libname.ver~
12198 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12202 case `$CC -V 2>&1 | sed 5q` in
12205 no_undefined_flag_CXX
=' -zdefs'
12206 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12207 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'
12208 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12209 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'
12210 compiler_needs_object_CXX
=yes
12212 # Not sure whether something based on
12213 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12215 output_verbose_link_cmd
='echo'
12217 # Archives containing C++ object files must be created using
12218 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12219 # necessary to make sure instantiated templates are included
12221 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12229 # FIXME: insert proper C++ library support
12234 # FIXME: insert proper C++ library support
12239 case $cc_basename in
12241 # FIXME: insert proper C++ library support
12245 # FIXME: insert proper C++ library support
12252 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12253 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12255 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12256 hardcode_direct_CXX
=yes
12257 hardcode_shlibpath_var_CXX
=no
12259 # Workaround some broken pre-1.5 toolchains
12260 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12268 # C++ shared libraries are fairly broken
12273 if test -f /usr
/libexec
/ld.so
; then
12274 hardcode_direct_CXX
=yes
12275 hardcode_shlibpath_var_CXX
=no
12276 hardcode_direct_absolute_CXX
=yes
12277 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12278 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12279 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12280 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12281 export_dynamic_flag_spec_CXX
='${wl}-E'
12282 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12284 output_verbose_link_cmd
=echo
12290 osf3
* | osf4
* | osf5
*)
12291 case $cc_basename in
12293 # Kuck and Associates, Inc. (KAI) C++ Compiler
12295 # KCC will only create a shared library if the output file
12296 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12297 # to its proper name (with version) after linking.
12298 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'
12300 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12301 hardcode_libdir_separator_CXX
=:
12303 # Archives containing C++ object files must be created using
12304 # the KAI C++ compiler.
12306 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12307 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12311 # Rational C++ 2.4.1
12312 # FIXME: insert proper C++ library support
12318 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12319 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'
12320 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12323 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12324 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'
12325 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12326 echo "-hidden">> $lib.exp~
12327 $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~
12329 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12333 hardcode_libdir_separator_CXX
=:
12335 # Commands to make compiler produce verbose output that lists
12336 # what "hidden" libraries, object files and flags are used when
12337 # linking a shared library.
12339 # There doesn't appear to be a way to prevent this compiler from
12340 # explicitly linking system object files so we need to strip them
12341 # from the output so that they don't get included in the library
12343 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'
12346 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12347 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12350 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'
12353 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'
12357 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12358 hardcode_libdir_separator_CXX
=:
12360 # Commands to make compiler produce verbose output that lists
12361 # what "hidden" libraries, object files and flags are used when
12362 # linking a shared library.
12363 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12366 # FIXME: insert proper C++ library support
12374 # FIXME: insert proper C++ library support
12379 case $cc_basename in
12382 # FIXME: insert proper C++ library support
12387 # FIXME: insert proper C++ library support
12391 # FIXME: insert proper C++ library support
12398 case $cc_basename in
12400 # Sun C++ 4.2, 5.x and Centerline C++
12401 archive_cmds_need_lc_CXX
=yes
12402 no_undefined_flag_CXX
=' -zdefs'
12403 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12404 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12405 $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'
12407 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12408 hardcode_shlibpath_var_CXX
=no
12410 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12412 # The compiler driver will combine and reorder linker options,
12413 # but understands `-z linker_flag'.
12414 # Supported since Solaris 2.6 (maybe 2.5.1?)
12415 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12418 link_all_deplibs_CXX
=yes
12420 output_verbose_link_cmd
='echo'
12422 # Archives containing C++ object files must be created using
12423 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12424 # necessary to make sure instantiated templates are included
12426 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12429 # Green Hills C++ Compiler
12430 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12432 # The C++ compiler must be used to create the archive.
12433 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12436 # GNU C++ compiler with Solaris linker
12437 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12438 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12439 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
12440 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12441 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12442 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12444 # Commands to make compiler produce verbose output that lists
12445 # what "hidden" libraries, object files and flags are used when
12446 # linking a shared library.
12447 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12449 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12451 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12452 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12453 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12455 # Commands to make compiler produce verbose output that lists
12456 # what "hidden" libraries, object files and flags are used when
12457 # linking a shared library.
12458 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12461 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12463 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12465 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12473 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12474 no_undefined_flag_CXX
='${wl}-z,text'
12475 archive_cmds_need_lc_CXX
=no
12476 hardcode_shlibpath_var_CXX
=no
12477 runpath_var
='LD_RUN_PATH'
12479 case $cc_basename in
12481 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12482 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12485 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12486 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12491 sysv5
* | sco3.2v5
* | sco5v6
*)
12492 # Note: We can NOT use -z defs as we might desire, because we do not
12493 # link with -lc, and that would cause any symbols used from libc to
12494 # always be unresolved, which means just about no library would
12495 # ever link correctly. If we're not using GNU ld we use -z text
12496 # though, which does catch some bad symbols but isn't as heavy-handed
12498 no_undefined_flag_CXX
='${wl}-z,text'
12499 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12500 archive_cmds_need_lc_CXX
=no
12501 hardcode_shlibpath_var_CXX
=no
12502 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12503 hardcode_libdir_separator_CXX
=':'
12504 link_all_deplibs_CXX
=yes
12505 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12506 runpath_var
='LD_RUN_PATH'
12508 case $cc_basename in
12510 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12511 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12514 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12515 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12521 case $cc_basename in
12523 # NonStop-UX NCC 3.20
12524 # FIXME: insert proper C++ library support
12528 # FIXME: insert proper C++ library support
12535 # FIXME: insert proper C++ library support
12540 # FIXME: insert proper C++ library support
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12546 $as_echo "$ld_shlibs_CXX" >&6; }
12547 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12553 ## There is no encapsulation within the following macros, do not change
12554 ## the running order or otherwise move them around unless you know exactly
12555 ## what you are doing...
12556 # Dependencies to place before and after the object being linked:
12557 predep_objects_CXX
=
12558 postdep_objects_CXX
=
12561 compiler_lib_search_path_CXX
=
12563 cat > conftest.
$ac_ext <<_LT_EOF
12567 Foo (void) { a = 0; }
12573 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12574 (eval $ac_compile) 2>&5
12576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12577 test $ac_status = 0; }; then
12578 # Parse the compiler output and extract the necessary
12579 # objects, libraries and library flags.
12581 # Sentinel used to keep track of whether or not we are before
12582 # the conftest object file.
12583 pre_test_object_deps_done
=no
12585 for p
in `eval "$output_verbose_link_cmd"`; do
12589 # Some compilers place space between "-{L,R}" and the path.
12590 # Remove the space.
12591 if test $p = "-L" ||
12592 test $p = "-R"; then
12599 if test "$pre_test_object_deps_done" = no
; then
12602 # Internal compiler library paths should come after those
12603 # provided the user. The postdeps already come after the
12604 # user supplied libs so there is no need to process them.
12605 if test -z "$compiler_lib_search_path_CXX"; then
12606 compiler_lib_search_path_CXX
="${prev}${p}"
12608 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12611 # The "-l" case would never come before the object being
12612 # linked, so don't bother handling this case.
12615 if test -z "$postdeps_CXX"; then
12616 postdeps_CXX
="${prev}${p}"
12618 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12624 # This assumes that the test object file only shows up
12625 # once in the compiler output.
12626 if test "$p" = "conftest.$objext"; then
12627 pre_test_object_deps_done
=yes
12631 if test "$pre_test_object_deps_done" = no
; then
12632 if test -z "$predep_objects_CXX"; then
12633 predep_objects_CXX
="$p"
12635 predep_objects_CXX
="$predep_objects_CXX $p"
12638 if test -z "$postdep_objects_CXX"; then
12639 postdep_objects_CXX
="$p"
12641 postdep_objects_CXX
="$postdep_objects_CXX $p"
12646 *) ;; # Ignore the rest.
12654 echo "libtool.m4: error: problem compiling CXX test program"
12657 $RM -f confest.
$objext
12659 # PORTME: override above test on systems where it is broken
12662 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12663 # hack all around it, let's just trust "g++" to DTRT.
12664 predep_objects_CXX
=
12665 postdep_objects_CXX
=
12670 case `$CC -V 2>&1 | sed 5q` in
12674 # The more standards-conforming stlport4 library is
12675 # incompatible with the Cstd library. Avoid specifying
12676 # it if it's in CXXFLAGS. Ignore libCrun as
12677 # -library=stlport4 depends on it.
12678 case " $CXX $CXXFLAGS " in
12679 *" -library=stlport4 "*)
12680 solaris_use_stlport4
=yes
12684 if test "$solaris_use_stlport4" != yes; then
12685 postdeps_CXX
='-library=Cstd -library=Crun'
12692 case $cc_basename in
12694 # The more standards-conforming stlport4 library is
12695 # incompatible with the Cstd library. Avoid specifying
12696 # it if it's in CXXFLAGS. Ignore libCrun as
12697 # -library=stlport4 depends on it.
12698 case " $CXX $CXXFLAGS " in
12699 *" -library=stlport4 "*)
12700 solaris_use_stlport4
=yes
12704 # Adding this requires a known-good setup of shared libraries for
12705 # Sun compiler versions before 5.6, else PIC objects from an old
12706 # archive will be linked into the output, leading to subtle bugs.
12707 if test "$solaris_use_stlport4" != yes; then
12708 postdeps_CXX
='-library=Cstd -library=Crun'
12716 case " $postdeps_CXX " in
12717 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12719 compiler_lib_search_dirs_CXX
=
12720 if test -n "${compiler_lib_search_path_CXX}"; then
12721 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12754 lt_prog_compiler_wl_CXX
=
12755 lt_prog_compiler_pic_CXX
=
12756 lt_prog_compiler_static_CXX
=
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12759 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12761 # C++ specific cases for pic, static, wl, etc.
12762 if test "$GXX" = yes; then
12763 lt_prog_compiler_wl_CXX
='-Wl,'
12764 lt_prog_compiler_static_CXX
='-static'
12768 # All AIX code is PIC.
12769 if test "$host_cpu" = ia64
; then
12770 # AIX 5 now supports IA64 processor
12771 lt_prog_compiler_static_CXX
='-Bstatic'
12778 # see comment about AmigaOS4 .so support
12779 lt_prog_compiler_pic_CXX
='-fPIC'
12782 # FIXME: we need at least 68020 code to build shared libraries, but
12783 # adding the `-m68020' flag to GCC prevents building anything better,
12785 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12790 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12791 # PIC is the default for these OSes.
12793 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12794 # This hack is so that the source file can tell whether it is being
12795 # built for inclusion in a dll (and should export symbols for example).
12796 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12797 # (--disable-auto-import) libraries
12798 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12800 darwin
* | rhapsody
*)
12801 # PIC is the default on this platform
12802 # Common symbols not allowed in MH_DYLIB files
12803 lt_prog_compiler_pic_CXX
='-fno-common'
12806 # DJGPP does not support shared libraries at all
12807 lt_prog_compiler_pic_CXX
=
12810 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12811 # Instead, we relocate shared libraries at runtime.
12814 if test -d /usr
/nec
; then
12815 lt_prog_compiler_pic_CXX
=-Kconform_pic
12819 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12820 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12821 # sets the default TLS model and affects inlining.
12826 lt_prog_compiler_pic_CXX
='-fPIC'
12831 # QNX uses GNU C++, but need to define -shared option too, otherwise
12832 # it will coredump.
12833 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12836 lt_prog_compiler_pic_CXX
='-fPIC'
12842 # All AIX code is PIC.
12843 if test "$host_cpu" = ia64
; then
12844 # AIX 5 now supports IA64 processor
12845 lt_prog_compiler_static_CXX
='-Bstatic'
12847 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12851 case $cc_basename in
12853 # Green Hills C++ Compiler
12854 # _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"
12859 case $cc_basename in
12861 lt_prog_compiler_pic_CXX
='-KPIC'
12864 # Green Hills C++ Compiler
12865 lt_prog_compiler_pic_CXX
='-pic'
12871 freebsd
* | dragonfly
*)
12872 # FreeBSD uses GNU C++
12874 hpux9
* | hpux10
* | hpux11
*)
12875 case $cc_basename in
12877 lt_prog_compiler_wl_CXX
='-Wl,'
12878 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12879 if test "$host_cpu" != ia64
; then
12880 lt_prog_compiler_pic_CXX
='+Z'
12884 lt_prog_compiler_wl_CXX
='-Wl,'
12885 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12891 lt_prog_compiler_pic_CXX
='+Z'
12900 # This is c89, which is MS Visual C++ (no shared libs)
12901 # Anyone wants to do a port?
12903 irix5
* | irix6
* | nonstopux
*)
12904 case $cc_basename in
12906 lt_prog_compiler_wl_CXX
='-Wl,'
12907 lt_prog_compiler_static_CXX
='-non_shared'
12908 # CC pic flag -KPIC is the default.
12914 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12915 case $cc_basename in
12918 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12919 lt_prog_compiler_pic_CXX
='-fPIC'
12922 # old Intel C++ for x86_64 which still supported -KPIC.
12923 lt_prog_compiler_wl_CXX
='-Wl,'
12924 lt_prog_compiler_pic_CXX
='-KPIC'
12925 lt_prog_compiler_static_CXX
='-static'
12928 # Intel C++, used to be incompatible with GCC.
12929 # ICC 10 doesn't accept -KPIC any more.
12930 lt_prog_compiler_wl_CXX
='-Wl,'
12931 lt_prog_compiler_pic_CXX
='-fPIC'
12932 lt_prog_compiler_static_CXX
='-static'
12935 # Portland Group C++ compiler
12936 lt_prog_compiler_wl_CXX
='-Wl,'
12937 lt_prog_compiler_pic_CXX
='-fpic'
12938 lt_prog_compiler_static_CXX
='-Bstatic'
12942 # Make sure the PIC flag is empty. It appears that all Alpha
12943 # Linux and Compaq Tru64 Unix objects are PIC.
12944 lt_prog_compiler_pic_CXX
=
12945 lt_prog_compiler_static_CXX
='-non_shared'
12948 # IBM XL 8.0 on PPC
12949 lt_prog_compiler_wl_CXX
='-Wl,'
12950 lt_prog_compiler_pic_CXX
='-qpic'
12951 lt_prog_compiler_static_CXX
='-qstaticlink'
12954 case `$CC -V 2>&1 | sed 5q` in
12957 lt_prog_compiler_pic_CXX
='-KPIC'
12958 lt_prog_compiler_static_CXX
='-Bstatic'
12959 lt_prog_compiler_wl_CXX
='-Qoption ld '
12970 case $cc_basename in
12972 lt_prog_compiler_pic_CXX
='-W c,exportall'
12978 netbsd
* | netbsdelf
*-gnu)
12981 # QNX uses GNU C++, but need to define -shared option too, otherwise
12982 # it will coredump.
12983 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12985 osf3
* | osf4
* | osf5
*)
12986 case $cc_basename in
12988 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12991 # Rational C++ 2.4.1
12992 lt_prog_compiler_pic_CXX
='-pic'
12995 # Digital/Compaq C++
12996 lt_prog_compiler_wl_CXX
='-Wl,'
12997 # Make sure the PIC flag is empty. It appears that all Alpha
12998 # Linux and Compaq Tru64 Unix objects are PIC.
12999 lt_prog_compiler_pic_CXX
=
13000 lt_prog_compiler_static_CXX
='-non_shared'
13009 case $cc_basename in
13011 # Sun C++ 4.2, 5.x and Centerline C++
13012 lt_prog_compiler_pic_CXX
='-KPIC'
13013 lt_prog_compiler_static_CXX
='-Bstatic'
13014 lt_prog_compiler_wl_CXX
='-Qoption ld '
13017 # Green Hills C++ Compiler
13018 lt_prog_compiler_pic_CXX
='-PIC'
13025 case $cc_basename in
13028 lt_prog_compiler_pic_CXX
='-pic'
13029 lt_prog_compiler_static_CXX
='-Bstatic'
13033 lt_prog_compiler_pic_CXX
='-pic'
13039 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13040 case $cc_basename in
13042 lt_prog_compiler_wl_CXX
='-Wl,'
13043 lt_prog_compiler_pic_CXX
='-KPIC'
13044 lt_prog_compiler_static_CXX
='-Bstatic'
13049 case $cc_basename in
13051 # NonStop-UX NCC 3.20
13052 lt_prog_compiler_pic_CXX
='-KPIC'
13061 lt_prog_compiler_can_build_shared_CXX
=no
13067 # For platforms which do not support PIC, -DPIC is meaningless:
13069 lt_prog_compiler_pic_CXX
=
13072 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13076 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13081 # Check to make sure the PIC flag actually works.
13083 if test -n "$lt_prog_compiler_pic_CXX"; then
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13085 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13086 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13087 $as_echo_n "(cached) " >&6
13089 lt_cv_prog_compiler_pic_works_CXX
=no
13090 ac_outfile
=conftest.
$ac_objext
13091 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13092 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13093 # Insert the option either (1) after the last *FLAGS variable, or
13094 # (2) before a word containing "conftest.", or (3) at the end.
13095 # Note that $ac_compile itself does not contain backslashes and begins
13096 # with a dollar sign (not a hyphen), so the echo should work correctly.
13097 # The option is referenced via a variable to avoid confusing sed.
13098 lt_compile
=`echo "$ac_compile" | $SED \
13099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13101 -e 's:$: $lt_compiler_flag:'`
13102 (eval echo "\"\$as_me:13101: $lt_compile\"" >&5)
13103 (eval "$lt_compile" 2>conftest.err
)
13105 cat conftest.err
>&5
13106 echo "$as_me:13105: \$? = $ac_status" >&5
13107 if (exit $ac_status) && test -s "$ac_outfile"; then
13108 # The compiler can only warn and ignore the option if not recognized
13109 # So say no if there are warnings other than the usual output.
13110 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13111 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13112 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13113 lt_cv_prog_compiler_pic_works_CXX
=yes
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13120 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13122 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13123 case $lt_prog_compiler_pic_CXX in
13125 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13128 lt_prog_compiler_pic_CXX
=
13129 lt_prog_compiler_can_build_shared_CXX
=no
13137 # Check to make sure the static flag actually works.
13139 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13141 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13142 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13143 $as_echo_n "(cached) " >&6
13145 lt_cv_prog_compiler_static_works_CXX
=no
13146 save_LDFLAGS
="$LDFLAGS"
13147 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13148 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13149 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13150 # The linker can only warn and ignore the option if not recognized
13151 # So say no if there are warnings
13152 if test -s conftest.err
; then
13153 # Append any errors to the config.log.
13154 cat conftest.err
1>&5
13155 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13156 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13157 if diff conftest.exp conftest.er2
>/dev
/null
; then
13158 lt_cv_prog_compiler_static_works_CXX
=yes
13161 lt_cv_prog_compiler_static_works_CXX
=yes
13165 LDFLAGS
="$save_LDFLAGS"
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13169 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13171 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13174 lt_prog_compiler_static_CXX
=
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13181 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13182 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13183 $as_echo_n "(cached) " >&6
13185 lt_cv_prog_compiler_c_o_CXX
=no
13186 $RM -r conftest
2>/dev
/null
13190 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13192 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13193 # Insert the option either (1) after the last *FLAGS variable, or
13194 # (2) before a word containing "conftest.", or (3) at the end.
13195 # Note that $ac_compile itself does not contain backslashes and begins
13196 # with a dollar sign (not a hyphen), so the echo should work correctly.
13197 lt_compile
=`echo "$ac_compile" | $SED \
13198 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13199 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13200 -e 's:$: $lt_compiler_flag:'`
13201 (eval echo "\"\$as_me:13200: $lt_compile\"" >&5)
13202 (eval "$lt_compile" 2>out
/conftest.err
)
13204 cat out
/conftest.err
>&5
13205 echo "$as_me:13204: \$? = $ac_status" >&5
13206 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13208 # The compiler can only warn and ignore the option if not recognized
13209 # So say no if there are warnings
13210 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13211 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13212 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13213 lt_cv_prog_compiler_c_o_CXX
=yes
13218 # SGI C++ compiler will create directory out/ii_files/ for
13219 # template instantiation
13220 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13221 $RM out
/* && rmdir out
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13228 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13233 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13234 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13235 $as_echo_n "(cached) " >&6
13237 lt_cv_prog_compiler_c_o_CXX
=no
13238 $RM -r conftest
2>/dev
/null
13242 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13244 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13245 # Insert the option either (1) after the last *FLAGS variable, or
13246 # (2) before a word containing "conftest.", or (3) at the end.
13247 # Note that $ac_compile itself does not contain backslashes and begins
13248 # with a dollar sign (not a hyphen), so the echo should work correctly.
13249 lt_compile
=`echo "$ac_compile" | $SED \
13250 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13251 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13252 -e 's:$: $lt_compiler_flag:'`
13253 (eval echo "\"\$as_me:13252: $lt_compile\"" >&5)
13254 (eval "$lt_compile" 2>out
/conftest.err
)
13256 cat out
/conftest.err
>&5
13257 echo "$as_me:13256: \$? = $ac_status" >&5
13258 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13260 # The compiler can only warn and ignore the option if not recognized
13261 # So say no if there are warnings
13262 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13263 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13264 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13265 lt_cv_prog_compiler_c_o_CXX
=yes
13270 # SGI C++ compiler will create directory out/ii_files/ for
13271 # template instantiation
13272 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13273 $RM out
/* && rmdir out
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13280 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13285 hard_links
="nottested"
13286 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13287 # do not overwrite the value of need_locks provided by the user
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13289 $as_echo_n "checking if we can lock with hard links... " >&6; }
13292 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13294 ln conftest.a conftest.b
2>&5 || hard_links
=no
13295 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13297 $as_echo "$hard_links" >&6; }
13298 if test "$hard_links" = no
; then
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13300 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13310 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13312 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13315 # If we're using GNU nm, then we don't want the "-C" option.
13316 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13317 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
13318 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'
13320 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'
13324 export_symbols_cmds_CXX
="$ltdll_cmds"
13326 cygwin
* | mingw
* | cegcc
*)
13327 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'
13329 linux
* | k
*bsd
*-gnu)
13330 link_all_deplibs_CXX
=no
13333 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13336 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13339 $as_echo "$ld_shlibs_CXX" >&6; }
13340 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13342 with_gnu_ld_CXX
=$with_gnu_ld
13350 # Do we need to explicitly link libc?
13352 case "x$archive_cmds_need_lc_CXX" in
13354 # Assume -lc should be added
13355 archive_cmds_need_lc_CXX
=yes
13357 if test "$enable_shared" = yes && test "$GCC" = yes; then
13358 case $archive_cmds_CXX in
13360 # FIXME: we may have to deal with multi-command sequences.
13363 # Test whether the compiler implicitly links with -lc since on some
13364 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13365 # to ld, don't add -lc before -lgcc.
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13367 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13369 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13372 (eval $ac_compile) 2>&5
13374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13375 test $ac_status = 0; } 2>conftest.err
; then
13378 libobjs
=conftest.
$ac_objext
13380 wl
=$lt_prog_compiler_wl_CXX
13381 pic_flag
=$lt_prog_compiler_pic_CXX
13387 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13388 allow_undefined_flag_CXX
=
13389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13390 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13393 test $ac_status = 0; }
13395 archive_cmds_need_lc_CXX
=no
13397 archive_cmds_need_lc_CXX
=yes
13399 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13401 cat conftest.err
1>&5
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13405 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13476 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13478 library_names_spec
=
13479 libname_spec
='lib$name'
13483 postuninstall_cmds
=
13487 shlibpath_overrides_runpath
=unknown
13489 dynamic_linker
="$host_os ld.so"
13490 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13491 need_lib_prefix
=unknown
13492 hardcode_into_libs
=no
13494 # when you set need_version to no, make sure it does not cause -set_version
13495 # flags to be left without arguments
13496 need_version
=unknown
13501 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13502 shlibpath_var
=LIBPATH
13504 # AIX 3 has no versioning support, so we append a major version to the name.
13505 soname_spec
='${libname}${release}${shared_ext}$major'
13512 hardcode_into_libs
=yes
13513 if test "$host_cpu" = ia64
; then
13514 # AIX 5 supports IA64
13515 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13516 shlibpath_var
=LD_LIBRARY_PATH
13518 # With GCC up to 2.95.x, collect2 would create an import file
13519 # for dependence libraries. The import file would start with
13520 # the line `#! .'. This would cause the generated library to
13521 # depend on `.', always an invalid library. This was fixed in
13522 # development snapshots of GCC prior to 3.0.
13524 aix4
| aix4.
[01] | aix4.
[01].
*)
13525 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13527 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
13530 can_build_shared
=no
13534 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13535 # soname into executable. Probably we can add versioning support to
13536 # collect2, so additional links can be useful in future.
13537 if test "$aix_use_runtimelinking" = yes; then
13538 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13539 # instead of lib<name>.a to let people know that these are not
13540 # typical AIX shared libraries.
13541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13543 # We preserve .a as extension for shared libraries through AIX4.2
13544 # and later when we are not doing run time linking.
13545 library_names_spec
='${libname}${release}.a $libname.a'
13546 soname_spec
='${libname}${release}${shared_ext}$major'
13548 shlibpath_var
=LIBPATH
13555 # Since July 2007 AmigaOS4 officially supports .so libraries.
13556 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13560 library_names_spec
='$libname.ixlibrary $libname.a'
13561 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13562 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'
13568 library_names_spec
='${libname}${shared_ext}'
13569 dynamic_linker
="$host_os ld.so"
13570 shlibpath_var
=LIBRARY_PATH
13576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13577 soname_spec
='${libname}${release}${shared_ext}$major'
13578 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13579 shlibpath_var
=LD_LIBRARY_PATH
13580 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13581 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13582 # the default ld.so.conf also contains /usr/contrib/lib and
13583 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13584 # libtool to hard-code these into programs
13587 cygwin
* | mingw
* | pw32
* | cegcc
*)
13588 version_type
=windows
13593 case $GCC,$host_os in
13594 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13595 library_names_spec
='$libname.dll.a'
13596 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13597 postinstall_cmds
='base_file=`basename \${file}`~
13598 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13599 dldir=$destdir/`dirname \$dlpath`~
13600 test -d \$dldir || mkdir -p \$dldir~
13601 $install_prog $dir/$dlname \$dldir/$dlname~
13602 chmod a+x \$dldir/$dlname~
13603 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13604 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13606 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13607 dlpath=$dir/\$dldll~
13609 shlibpath_overrides_runpath
=yes
13613 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13614 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13615 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13618 # MinGW DLLs use traditional 'lib' prefix
13619 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13620 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13621 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13622 # It is most probably a Windows format PATH printed by
13623 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13624 # path with ; separators, and with drive letters. We can handle the
13625 # drive letters (cygwin fileutils understands them), so leave them,
13626 # especially as we might pass files found there to a mingw objdump,
13627 # which wouldn't understand a cygwinified path. Ahh.
13628 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13630 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13634 # pw32 DLLs use 'pw' prefix rather than 'lib'
13635 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13641 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13644 dynamic_linker
='Win32 ld.exe'
13645 # FIXME: first we should search . and the directory the executable is in
13649 darwin
* | rhapsody
*)
13650 dynamic_linker
="$host_os dyld"
13651 version_type
=darwin
13654 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13655 soname_spec
='${libname}${release}${major}$shared_ext'
13656 shlibpath_overrides_runpath
=yes
13657 shlibpath_var
=DYLD_LIBRARY_PATH
13658 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13660 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13668 soname_spec
='${libname}${release}${shared_ext}$major'
13669 shlibpath_var
=LD_LIBRARY_PATH
13676 freebsd
* | dragonfly
*)
13677 # DragonFly does not have aout. When/if they implement a new
13678 # versioning mechanism, adjust this.
13679 if test -x /usr
/bin
/objformat
; then
13680 objformat
=`/usr/bin/objformat`
13683 freebsd
[123]*) objformat
=aout
;;
13684 *) objformat
=elf
;;
13687 version_type
=freebsd
-$objformat
13688 case $version_type in
13690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13695 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13699 shlibpath_var
=LD_LIBRARY_PATH
13702 shlibpath_overrides_runpath
=yes
13704 freebsd3.
[01]* | freebsdelf3.
[01]*)
13705 shlibpath_overrides_runpath
=yes
13706 hardcode_into_libs
=yes
13708 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13709 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13710 shlibpath_overrides_runpath
=no
13711 hardcode_into_libs
=yes
13713 *) # from 4.6 on, and DragonFly
13714 shlibpath_overrides_runpath
=yes
13715 hardcode_into_libs
=yes
13724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13725 soname_spec
='${libname}${release}${shared_ext}$major'
13726 shlibpath_var
=LD_LIBRARY_PATH
13727 hardcode_into_libs
=yes
13730 hpux9
* | hpux10
* | hpux11
*)
13731 # Give a soname corresponding to the major version so that dld.sl refuses to
13732 # link against other versions.
13739 hardcode_into_libs
=yes
13740 dynamic_linker
="$host_os dld.so"
13741 shlibpath_var
=LD_LIBRARY_PATH
13742 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13744 soname_spec
='${libname}${release}${shared_ext}$major'
13745 if test "X$HPUX_IA64_MODE" = X32
; then
13746 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13748 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13750 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13754 hardcode_into_libs
=yes
13755 dynamic_linker
="$host_os dld.sl"
13756 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13757 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13759 soname_spec
='${libname}${release}${shared_ext}$major'
13760 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13761 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13765 dynamic_linker
="$host_os dld.sl"
13766 shlibpath_var
=SHLIB_PATH
13767 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13769 soname_spec
='${libname}${release}${shared_ext}$major'
13772 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13773 postinstall_cmds
='chmod 555 $lib'
13780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13781 soname_spec
='${libname}${release}${shared_ext}$major'
13782 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13783 shlibpath_var
=LD_LIBRARY_PATH
13784 shlibpath_overrides_runpath
=no
13785 hardcode_into_libs
=yes
13788 irix5
* | irix6
* | nonstopux
*)
13790 nonstopux
*) version_type
=nonstopux
;;
13792 if test "$lt_cv_prog_gnu_ld" = yes; then
13800 soname_spec
='${libname}${release}${shared_ext}$major'
13801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13803 irix5
* | nonstopux
*)
13804 libsuff
= shlibsuff
=
13807 case $LD in # libtool.m4 will add one of these switches to LD
13808 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13809 libsuff
= shlibsuff
= libmagic
=32-bit;;
13810 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13811 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13812 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13813 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13814 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13818 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13819 shlibpath_overrides_runpath
=no
13820 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13821 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13822 hardcode_into_libs
=yes
13825 # No shared lib support for Linux oldld, aout, or coff.
13826 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13830 # This must be Linux ELF.
13831 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13836 soname_spec
='${libname}${release}${shared_ext}$major'
13837 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13838 shlibpath_var
=LD_LIBRARY_PATH
13839 shlibpath_overrides_runpath
=no
13840 # Some binutils ld are patched to set DT_RUNPATH
13841 save_LDFLAGS
=$LDFLAGS
13842 save_libdir
=$libdir
13843 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13844 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13856 if ac_fn_cxx_try_link
"$LINENO"; then :
13857 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13858 shlibpath_overrides_runpath
=yes
13861 rm -f core conftest.err conftest.
$ac_objext \
13862 conftest
$ac_exeext conftest.
$ac_ext
13863 LDFLAGS
=$save_LDFLAGS
13864 libdir
=$save_libdir
13866 # This implies no fast_install, which is unacceptable.
13867 # Some rework will be needed to allow for fast_install
13868 # before this can be enabled.
13869 hardcode_into_libs
=yes
13871 # Append ld.so.conf contents to the search path
13872 if test -f /etc
/ld.so.conf
; then
13873 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' ' '`
13874 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13877 # We used to test for /lib/ld.so.1 and disable shared libraries on
13878 # powerpc, because MkLinux only supported shared libraries with the
13879 # GNU dynamic linker. Since this was broken with cross compilers,
13880 # most powerpc-linux boxes support dynamic linking these days and
13881 # people can always --disable-shared, the test was removed, and we
13882 # assume the GNU/Linux dynamic linker is in use.
13883 dynamic_linker
='GNU/Linux ld.so'
13890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13891 soname_spec
='${libname}${release}${shared_ext}$major'
13892 shlibpath_var
=LD_LIBRARY_PATH
13893 shlibpath_overrides_runpath
=no
13894 hardcode_into_libs
=yes
13895 dynamic_linker
='NetBSD ld.elf_so'
13902 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13904 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13905 dynamic_linker
='NetBSD (a.out) ld.so'
13907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13908 soname_spec
='${libname}${release}${shared_ext}$major'
13909 dynamic_linker
='NetBSD ld.elf_so'
13911 shlibpath_var
=LD_LIBRARY_PATH
13912 shlibpath_overrides_runpath
=yes
13913 hardcode_into_libs
=yes
13918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13919 shlibpath_var
=LD_LIBRARY_PATH
13920 shlibpath_overrides_runpath
=yes
13927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13928 soname_spec
='${libname}${release}${shared_ext}$major'
13929 shlibpath_var
=LD_LIBRARY_PATH
13930 shlibpath_overrides_runpath
=no
13931 hardcode_into_libs
=yes
13932 dynamic_linker
='ldqnx.so'
13937 sys_lib_dlsearch_path_spec
="/usr/lib"
13939 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13941 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13942 *) need_version
=no
;;
13944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13945 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13946 shlibpath_var
=LD_LIBRARY_PATH
13947 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13949 openbsd2.
[89] | openbsd2.
[89].
*)
13950 shlibpath_overrides_runpath
=no
13953 shlibpath_overrides_runpath
=yes
13957 shlibpath_overrides_runpath
=yes
13962 libname_spec
='$name'
13965 library_names_spec
='$libname${shared_ext} $libname.a'
13966 dynamic_linker
='OS/2 ld.exe'
13967 shlibpath_var
=LIBPATH
13970 osf3
* | osf4
* | osf5
*)
13974 soname_spec
='${libname}${release}${shared_ext}$major'
13975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13976 shlibpath_var
=LD_LIBRARY_PATH
13977 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13978 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13990 soname_spec
='${libname}${release}${shared_ext}$major'
13991 shlibpath_var
=LD_LIBRARY_PATH
13992 shlibpath_overrides_runpath
=yes
13993 hardcode_into_libs
=yes
13994 # ldd complains unless libraries are executable
13995 postinstall_cmds
='chmod +x $lib'
14000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14001 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14002 shlibpath_var
=LD_LIBRARY_PATH
14003 shlibpath_overrides_runpath
=yes
14004 if test "$with_gnu_ld" = yes; then
14012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14013 soname_spec
='${libname}${release}${shared_ext}$major'
14014 shlibpath_var
=LD_LIBRARY_PATH
14015 case $host_vendor in
14017 shlibpath_overrides_runpath
=no
14019 runpath_var
=LD_RUN_PATH
14027 shlibpath_overrides_runpath
=no
14028 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14034 if test -d /usr
/nec
;then
14036 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14037 soname_spec
='$libname${shared_ext}.$major'
14038 shlibpath_var
=LD_LIBRARY_PATH
14042 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14043 version_type
=freebsd
-elf
14046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14047 soname_spec
='${libname}${release}${shared_ext}$major'
14048 shlibpath_var
=LD_LIBRARY_PATH
14049 shlibpath_overrides_runpath
=yes
14050 hardcode_into_libs
=yes
14051 if test "$with_gnu_ld" = yes; then
14052 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14054 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14057 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14061 sys_lib_dlsearch_path_spec
='/usr/lib'
14065 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14070 shlibpath_var
=LD_LIBRARY_PATH
14071 shlibpath_overrides_runpath
=no
14072 hardcode_into_libs
=yes
14077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14078 soname_spec
='${libname}${release}${shared_ext}$major'
14079 shlibpath_var
=LD_LIBRARY_PATH
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14087 $as_echo "$dynamic_linker" >&6; }
14088 test "$dynamic_linker" = no
&& can_build_shared
=no
14090 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14091 if test "$GCC" = yes; then
14092 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14095 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14096 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14098 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14099 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14138 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14139 hardcode_action_CXX
=
14140 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14141 test -n "$runpath_var_CXX" ||
14142 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14144 # We can hardcode non-existent directories.
14145 if test "$hardcode_direct_CXX" != no
&&
14146 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14147 # have to relink, otherwise we might link with an installed library
14148 # when we should be linking with a yet-to-be-installed one
14149 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14150 test "$hardcode_minus_L_CXX" != no
; then
14151 # Linking always hardcodes the temporary library directory.
14152 hardcode_action_CXX
=relink
14154 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14155 hardcode_action_CXX
=immediate
14158 # We cannot hardcode anything, or else we can only hardcode existing
14160 hardcode_action_CXX
=unsupported
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14163 $as_echo "$hardcode_action_CXX" >&6; }
14165 if test "$hardcode_action_CXX" = relink
||
14166 test "$inherit_rpath_CXX" = yes; then
14167 # Fast installation is not supported
14168 enable_fast_install
=no
14169 elif test "$shlibpath_overrides_runpath" = yes ||
14170 test "$enable_shared" = no
; then
14171 # Fast installation is not necessary
14172 enable_fast_install
=needless
14181 fi # test -n "$compiler"
14187 with_gnu_ld
=$lt_save_with_gnu_ld
14188 lt_cv_path_LDCXX
=$lt_cv_path_LD
14189 lt_cv_path_LD
=$lt_save_path_LD
14190 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14191 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14192 fi # test "$_lt_caught_CXX_error" != yes
14195 ac_cpp
='$CPP $CPPFLAGS'
14196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14202 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
14203 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14204 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14205 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
14206 if test -n "$ac_tool_prefix"; then
14207 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14209 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14210 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14212 $as_echo_n "checking for $ac_word... " >&6; }
14213 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
14214 $as_echo_n "(cached) " >&6
14216 if test -n "$OBJCXX"; then
14217 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
14219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14220 for as_dir
in $PATH
14223 test -z "$as_dir" && as_dir
=.
14224 for ac_exec_ext
in '' $ac_executable_extensions; do
14225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14226 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
14227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14236 OBJCXX
=$ac_cv_prog_OBJCXX
14237 if test -n "$OBJCXX"; then
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
14239 $as_echo "$OBJCXX" >&6; }
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14242 $as_echo "no" >&6; }
14246 test -n "$OBJCXX" && break
14249 if test -z "$OBJCXX"; then
14250 ac_ct_OBJCXX
=$OBJCXX
14251 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14253 # Extract the first word of "$ac_prog", so it can be a program name with args.
14254 set dummy
$ac_prog; ac_word
=$2
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14256 $as_echo_n "checking for $ac_word... " >&6; }
14257 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
14258 $as_echo_n "(cached) " >&6
14260 if test -n "$ac_ct_OBJCXX"; then
14261 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
14263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14264 for as_dir
in $PATH
14267 test -z "$as_dir" && as_dir
=.
14268 for ac_exec_ext
in '' $ac_executable_extensions; do
14269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14270 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
14271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14280 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
14281 if test -n "$ac_ct_OBJCXX"; then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
14283 $as_echo "$ac_ct_OBJCXX" >&6; }
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14286 $as_echo "no" >&6; }
14290 test -n "$ac_ct_OBJCXX" && break
14293 if test "x$ac_ct_OBJCXX" = x
; then
14296 case $cross_compiling:$ac_tool_warned in
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14300 ac_tool_warned
=yes ;;
14302 OBJCXX
=$ac_ct_OBJCXX
14306 # Provide some information about the compiler.
14307 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
14310 for ac_option
in --version -v -V -qversion; do
14311 { { ac_try
="$ac_compiler $ac_option >&5"
14312 case "(($ac_try" in
14313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14314 *) ac_try_echo=$ac_try;;
14316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14317 $as_echo "$ac_try_echo"; } >&5
14318 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14320 if test -s conftest.err; then
14322 ... rest of stderr output deleted ...
14323 10q' conftest.err >conftest.er1
14324 cat conftest.er1 >&5
14326 rm -f conftest.er1 conftest.err
14327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14328 test $ac_status = 0; }
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
14332 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
14333 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
14334 $as_echo_n "(cached) " >&6
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14350 if ac_fn_objcxx_try_compile "$LINENO"; then :
14351 ac_compiler_gnu=yes
14355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14356 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
14360 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
14361 if test $ac_compiler_gnu = yes; then
14366 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
14367 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
14369 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
14370 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
14371 $as_echo_n "(cached) " >&6
14373 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
14374 ac_objcxx_werror_flag=yes
14375 ac_cv_prog_objcxx_g=no
14377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14378 /* end confdefs.h. */
14388 if ac_fn_objcxx_try_compile "$LINENO"; then :
14389 ac_cv_prog_objcxx_g=yes
14392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14393 /* end confdefs.h. */
14403 if ac_fn_objcxx_try_compile "$LINENO"; then :
14406 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14419 if ac_fn_objcxx_try_compile "$LINENO"; then :
14420 ac_cv_prog_objcxx_g=yes
14422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14427 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
14430 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
14431 if test "$ac_test_OBJCXXFLAGS" = set; then
14432 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
14433 elif test $ac_cv_prog_objcxx_g = yes; then
14434 if test "$GOBJCXX" = yes; then
14435 OBJCXXFLAGS="-g -O2"
14440 if test "$GOBJCXX" = yes; then
14447 ac_cpp='$CPP $CPPFLAGS'
14448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14453 # Check whether --enable-universal-binary was given.
14454 if test "${enable_universal_binary+set}" = set; then :
14455 enableval=$enable_universal_binary;
14456 case $enableval in #(
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
14462 $as_echo_n "checking for universal binary support... " >&6; }
14463 case $host_vendor in #(
14466 case $host_cpu in #(
14467 armv6|i386|x86_64) :
14469 for cy_arch in armv6 i386 x86_64; do
14470 cy_save_CXXFLAGS=$CXXFLAGS
14472 for element in "-arch $cy_arch"; do
14474 for x in $CXXFLAGS; do
14476 acl_save_prefix="$prefix"
14477 prefix="$acl_final_prefix"
14478 acl_save_exec_prefix="$exec_prefix"
14479 exec_prefix="$acl_final_exec_prefix"
14481 exec_prefix="$acl_save_exec_prefix"
14482 prefix="$acl_save_prefix"
14484 if test "X$x" = "X$element"; then
14489 if test -z "$haveit"; then
14490 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14505 if ac_fn_c_try_link "$LINENO"; then :
14508 for element in $cy_arch; do
14510 for x in $cy_arches; do
14512 acl_save_prefix="$prefix"
14513 prefix="$acl_final_prefix"
14514 acl_save_exec_prefix="$exec_prefix"
14515 exec_prefix="$acl_final_exec_prefix"
14517 exec_prefix="$acl_save_exec_prefix"
14518 prefix="$acl_save_prefix"
14520 if test "X$x" = "X$element"; then
14525 if test -z "$haveit"; then
14526 cy_arches="${cy_arches}${cy_arches:+ }$element"
14531 for element in "-arch $cy_arch"; do
14533 for x in $CFLAGS; do
14535 acl_save_prefix="$prefix"
14536 prefix="$acl_final_prefix"
14537 acl_save_exec_prefix="$exec_prefix"
14538 exec_prefix="$acl_final_exec_prefix"
14540 exec_prefix="$acl_save_exec_prefix"
14541 prefix="$acl_save_prefix"
14543 if test "X$x" = "X$element"; then
14548 if test -z "$haveit"; then
14549 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14554 for element in "-arch $cy_arch"; do
14556 for x in $LDFLAGS; do
14558 acl_save_prefix="$prefix"
14559 prefix="$acl_final_prefix"
14560 acl_save_exec_prefix="$exec_prefix"
14561 exec_prefix="$acl_final_exec_prefix"
14563 exec_prefix="$acl_save_exec_prefix"
14564 prefix="$acl_save_prefix"
14566 if test "X$x" = "X$element"; then
14571 if test -z "$haveit"; then
14572 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
14577 for element in "-arch $cy_arch"; do
14579 for x in $OBJCXXFLAGS; do
14581 acl_save_prefix="$prefix"
14582 prefix="$acl_final_prefix"
14583 acl_save_exec_prefix="$exec_prefix"
14584 exec_prefix="$acl_final_exec_prefix"
14586 exec_prefix="$acl_save_exec_prefix"
14587 prefix="$acl_save_prefix"
14589 if test "X$x" = "X$element"; then
14594 if test -z "$haveit"; then
14595 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
14602 CXXFLAGS=$cy_save_CXXFLAGS
14605 rm -f core conftest.err conftest.$ac_objext \
14606 conftest$ac_exeext conftest.$ac_ext
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
14617 $as_echo "${cy_arches-no}" >&6; }
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
14624 $as_echo_n "checking for universal binary support... " >&6; }
14625 case $host_vendor in #(
14628 case $host_cpu in #(
14629 armv6|i386|x86_64) :
14631 for cy_arch in armv6 i386 x86_64; do
14632 cy_save_CXXFLAGS=$CXXFLAGS
14634 for element in "-arch $cy_arch"; do
14636 for x in $CXXFLAGS; do
14638 acl_save_prefix="$prefix"
14639 prefix="$acl_final_prefix"
14640 acl_save_exec_prefix="$exec_prefix"
14641 exec_prefix="$acl_final_exec_prefix"
14643 exec_prefix="$acl_save_exec_prefix"
14644 prefix="$acl_save_prefix"
14646 if test "X$x" = "X$element"; then
14651 if test -z "$haveit"; then
14652 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14667 if ac_fn_c_try_link "$LINENO"; then :
14670 for element in $cy_arch; do
14672 for x in $cy_arches; do
14674 acl_save_prefix="$prefix"
14675 prefix="$acl_final_prefix"
14676 acl_save_exec_prefix="$exec_prefix"
14677 exec_prefix="$acl_final_exec_prefix"
14679 exec_prefix="$acl_save_exec_prefix"
14680 prefix="$acl_save_prefix"
14682 if test "X$x" = "X$element"; then
14687 if test -z "$haveit"; then
14688 cy_arches="${cy_arches}${cy_arches:+ }$element"
14693 for element in "-arch $cy_arch"; do
14695 for x in $CFLAGS; do
14697 acl_save_prefix="$prefix"
14698 prefix="$acl_final_prefix"
14699 acl_save_exec_prefix="$exec_prefix"
14700 exec_prefix="$acl_final_exec_prefix"
14702 exec_prefix="$acl_save_exec_prefix"
14703 prefix="$acl_save_prefix"
14705 if test "X$x" = "X$element"; then
14710 if test -z "$haveit"; then
14711 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14716 for element in "-arch $cy_arch"; do
14718 for x in $LDFLAGS; do
14720 acl_save_prefix="$prefix"
14721 prefix="$acl_final_prefix"
14722 acl_save_exec_prefix="$exec_prefix"
14723 exec_prefix="$acl_final_exec_prefix"
14725 exec_prefix="$acl_save_exec_prefix"
14726 prefix="$acl_save_prefix"
14728 if test "X$x" = "X$element"; then
14733 if test -z "$haveit"; then
14734 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
14739 for element in "-arch $cy_arch"; do
14741 for x in $OBJCXXFLAGS; do
14743 acl_save_prefix="$prefix"
14744 prefix="$acl_final_prefix"
14745 acl_save_exec_prefix="$exec_prefix"
14746 exec_prefix="$acl_final_exec_prefix"
14748 exec_prefix="$acl_save_exec_prefix"
14749 prefix="$acl_save_prefix"
14751 if test "X$x" = "X$element"; then
14756 if test -z "$haveit"; then
14757 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
14764 CXXFLAGS=$cy_save_CXXFLAGS
14767 rm -f core conftest.err conftest.$ac_objext \
14768 conftest$ac_exeext conftest.$ac_ext
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
14779 $as_echo "${cy_arches-no}" >&6; }
14784 # Check whether --with-frameworks was given.
14785 if test "${with_frameworks+set}" = set; then :
14786 withval=$with_frameworks;
14787 for cy_framework in $withval; do
14789 for element in -F$cy_framework; do
14791 for x in $CFLAGS; do
14793 acl_save_prefix="$prefix"
14794 prefix="$acl_final_prefix"
14795 acl_save_exec_prefix="$exec_prefix"
14796 exec_prefix="$acl_final_exec_prefix"
14798 exec_prefix="$acl_save_exec_prefix"
14799 prefix="$acl_save_prefix"
14801 if test "X$x" = "X$element"; then
14806 if test -z "$haveit"; then
14807 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14812 for element in -F$cy_framework; do
14814 for x in $CXXFLAGS; do
14816 acl_save_prefix="$prefix"
14817 prefix="$acl_final_prefix"
14818 acl_save_exec_prefix="$exec_prefix"
14819 exec_prefix="$acl_final_exec_prefix"
14821 exec_prefix="$acl_save_exec_prefix"
14822 prefix="$acl_save_prefix"
14824 if test "X$x" = "X$element"; then
14829 if test -z "$haveit"; then
14830 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14835 for element in -F$cy_framework; do
14837 for x in $OBJCCXXFLAGS; do
14839 acl_save_prefix="$prefix"
14840 prefix="$acl_final_prefix"
14841 acl_save_exec_prefix="$exec_prefix"
14842 exec_prefix="$acl_final_exec_prefix"
14844 exec_prefix="$acl_save_exec_prefix"
14845 prefix="$acl_save_prefix"
14847 if test "X$x" = "X$element"; then
14852 if test -z "$haveit"; then
14853 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
14862 ac_cpp='$CXXCPP $CPPFLAGS'
14863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14870 if test "$target_os" = "os2-emx"; then
14871 # Scripts don't pass test -x on OS/2
14877 acceptable_majors="1"
14879 apr_temp_acceptable_apr_config=""
14880 for apr_temp_major in $acceptable_majors
14882 case $apr_temp_major in
14884 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
14887 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14893 $as_echo_n "checking for APR... " >&6; }
14895 # Check whether --with-apr was given.
14896 if test "${with_apr+set}" = set; then :
14898 if test "$withval" = "no" || test "$withval" = "yes"; then
14899 as_fn_error "--with-apr requires a directory or file to be provided" "$LINENO" 5
14902 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14904 for lookdir in "$withval/bin" "$withval"
14906 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14907 apr_config="$lookdir/$apr_temp_apr_config_file"
14915 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
14916 apr_config="$withval"
14920 if test "$apr_found" != "yes"; then
14921 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
14926 if test -n "1" && test "1" = "1"; then
14927 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14929 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
14930 apr_config="$apr_temp_apr_config_file"
14935 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
14936 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14937 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
14946 if test "$apr_found" = "no" && test -d ""; then
14947 apr_temp_abs_srcdir="`cd && pwd`"
14948 apr_found="reconfig"
14949 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
14950 case $apr_bundled_major in
14952 as_fn_error "failed to find major version of bundled APR" "$LINENO" 5
14955 apr_temp_apr_config_file="apr-config"
14958 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
14961 if test -n ""; then
14962 apr_config="/$apr_temp_apr_config_file"
14964 apr_config="/$apr_temp_apr_config_file"
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14972 $as_echo "$apr_found" >&6; }
14974 case $apr_found in #(
14978 for element in `$apr_config --includes`; do
14980 for x in $CPPFLAGS; do
14982 acl_save_prefix="$prefix"
14983 prefix="$acl_final_prefix"
14984 acl_save_exec_prefix="$exec_prefix"
14985 exec_prefix="$acl_final_exec_prefix"
14987 exec_prefix="$acl_save_exec_prefix"
14988 prefix="$acl_save_prefix"
14990 if test "X$x" = "X$element"; then
14995 if test -z "$haveit"; then
14996 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15000 LTLIBAPR=`$apr_config --link-libtool`
15004 as_fn_error "You need apr" "$LINENO" 5 ;;
15008 # Check whether --enable-javascript was given.
15009 if test "${enable_javascript+set}" = set; then :
15010 enableval=$enable_javascript;
15011 case $enableval in #(
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15018 $as_echo_n "checking for WEBKIT... " >&6; }
15020 if test -n "$PKG_CONFIG"; then
15021 if test -n "$WEBKIT_CFLAGS"; then
15022 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15024 if test -n "$PKG_CONFIG" && \
15025 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15026 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15029 test $ac_status = 0; }; then
15030 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15038 if test -n "$PKG_CONFIG"; then
15039 if test -n "$WEBKIT_LIBS"; then
15040 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15042 if test -n "$PKG_CONFIG" && \
15043 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15044 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15047 test $ac_status = 0; }; then
15048 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15059 if test $pkg_failed = yes; then
15061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15062 _pkg_short_errors_supported=yes
15064 _pkg_short_errors_supported=no
15066 if test $_pkg_short_errors_supported = yes; then
15067 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15069 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15071 # Put the nasty error message in config.log where it belongs
15072 echo "$WEBKIT_PKG_ERRORS" >&5
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15075 $as_echo "no" >&6; }
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15080 $as_echo_n "checking for WEBKIT... " >&6; }
15082 if test -n "$PKG_CONFIG"; then
15083 if test -n "$WEBKIT_CFLAGS"; then
15084 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15086 if test -n "$PKG_CONFIG" && \
15087 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15088 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15091 test $ac_status = 0; }; then
15092 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15100 if test -n "$PKG_CONFIG"; then
15101 if test -n "$WEBKIT_LIBS"; then
15102 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15104 if test -n "$PKG_CONFIG" && \
15105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15106 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15109 test $ac_status = 0; }; then
15110 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15121 if test $pkg_failed = yes; then
15123 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15124 _pkg_short_errors_supported=yes
15126 _pkg_short_errors_supported=no
15128 if test $_pkg_short_errors_supported = yes; then
15129 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15131 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15133 # Put the nasty error message in config.log where it belongs
15134 echo "$WEBKIT_PKG_ERRORS" >&5
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15137 $as_echo "no" >&6; }
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15141 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15142 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15143 $as_echo_n "(cached) " >&6
15146 ac_check_framework_save_LIBS=$LIBS
15147 LIBS="-framework JavaScriptCore $LIBS"
15148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15149 /* end confdefs.h. */
15151 #include <JavaScriptCore/JSBase.h>
15156 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15161 if ac_fn_cxx_try_link "$LINENO"; then :
15163 ac_cv_framework_JavaScriptCore=yes
15166 ac_cv_framework_JavaScriptCore=no
15168 rm -f core conftest.err conftest.$ac_objext \
15169 conftest$ac_exeext conftest.$ac_ext
15170 LIBS=$ac_check_framework_save_LIBS
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15174 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15175 if test $ac_cv_framework_JavaScriptCore = yes; then :
15178 for element in "-framework JavaScriptCore $LIBS"; do
15182 acl_save_prefix="$prefix"
15183 prefix="$acl_final_prefix"
15184 acl_save_exec_prefix="$exec_prefix"
15185 exec_prefix="$acl_final_exec_prefix"
15187 exec_prefix="$acl_save_exec_prefix"
15188 prefix="$acl_save_prefix"
15190 if test "X$x" = "X$element"; then
15195 if test -z "$haveit"; then
15196 LIBS="${LIBS}${LIBS:+ }$element"
15204 elif test $pkg_failed = untried; then
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15208 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15209 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15210 $as_echo_n "(cached) " >&6
15213 ac_check_framework_save_LIBS=$LIBS
15214 LIBS="-framework JavaScriptCore $LIBS"
15215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15218 #include <JavaScriptCore/JSBase.h>
15223 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15228 if ac_fn_cxx_try_link "$LINENO"; then :
15230 ac_cv_framework_JavaScriptCore=yes
15233 ac_cv_framework_JavaScriptCore=no
15235 rm -f core conftest.err conftest.$ac_objext \
15236 conftest$ac_exeext conftest.$ac_ext
15237 LIBS=$ac_check_framework_save_LIBS
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15241 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15242 if test $ac_cv_framework_JavaScriptCore = yes; then :
15245 for element in "-framework JavaScriptCore $LIBS"; do
15249 acl_save_prefix="$prefix"
15250 prefix="$acl_final_prefix"
15251 acl_save_exec_prefix="$exec_prefix"
15252 exec_prefix="$acl_final_exec_prefix"
15254 exec_prefix="$acl_save_exec_prefix"
15255 prefix="$acl_save_prefix"
15257 if test "X$x" = "X$element"; then
15262 if test -z "$haveit"; then
15263 LIBS="${LIBS}${LIBS:+ }$element"
15272 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15273 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15275 $as_echo "yes" >&6; }
15279 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15281 for x in $CXXFLAGS; do
15283 acl_save_prefix="$prefix"
15284 prefix="$acl_final_prefix"
15285 acl_save_exec_prefix="$exec_prefix"
15286 exec_prefix="$acl_final_exec_prefix"
15288 exec_prefix="$acl_save_exec_prefix"
15289 prefix="$acl_save_prefix"
15291 if test "X$x" = "X$element"; then
15296 if test -z "$haveit"; then
15297 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15302 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15306 acl_save_prefix="$prefix"
15307 prefix="$acl_final_prefix"
15308 acl_save_exec_prefix="$exec_prefix"
15309 exec_prefix="$acl_final_exec_prefix"
15311 exec_prefix="$acl_save_exec_prefix"
15312 prefix="$acl_save_prefix"
15314 if test "X$x" = "X$element"; then
15319 if test -z "$haveit"; then
15320 LIBS="${LIBS}${LIBS:+ }$element"
15327 elif test $pkg_failed = untried; then
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15332 $as_echo_n "checking for WEBKIT... " >&6; }
15334 if test -n "$PKG_CONFIG"; then
15335 if test -n "$WEBKIT_CFLAGS"; then
15336 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15338 if test -n "$PKG_CONFIG" && \
15339 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15340 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15343 test $ac_status = 0; }; then
15344 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15352 if test -n "$PKG_CONFIG"; then
15353 if test -n "$WEBKIT_LIBS"; then
15354 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15356 if test -n "$PKG_CONFIG" && \
15357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15358 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15361 test $ac_status = 0; }; then
15362 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15373 if test $pkg_failed = yes; then
15375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15376 _pkg_short_errors_supported=yes
15378 _pkg_short_errors_supported=no
15380 if test $_pkg_short_errors_supported = yes; then
15381 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15383 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15385 # Put the nasty error message in config.log where it belongs
15386 echo "$WEBKIT_PKG_ERRORS" >&5
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15389 $as_echo "no" >&6; }
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15393 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15394 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15395 $as_echo_n "(cached) " >&6
15398 ac_check_framework_save_LIBS=$LIBS
15399 LIBS="-framework JavaScriptCore $LIBS"
15400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15403 #include <JavaScriptCore/JSBase.h>
15408 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15413 if ac_fn_cxx_try_link "$LINENO"; then :
15415 ac_cv_framework_JavaScriptCore=yes
15418 ac_cv_framework_JavaScriptCore=no
15420 rm -f core conftest.err conftest.$ac_objext \
15421 conftest$ac_exeext conftest.$ac_ext
15422 LIBS=$ac_check_framework_save_LIBS
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15426 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15427 if test $ac_cv_framework_JavaScriptCore = yes; then :
15430 for element in "-framework JavaScriptCore $LIBS"; do
15434 acl_save_prefix="$prefix"
15435 prefix="$acl_final_prefix"
15436 acl_save_exec_prefix="$exec_prefix"
15437 exec_prefix="$acl_final_exec_prefix"
15439 exec_prefix="$acl_save_exec_prefix"
15440 prefix="$acl_save_prefix"
15442 if test "X$x" = "X$element"; then
15447 if test -z "$haveit"; then
15448 LIBS="${LIBS}${LIBS:+ }$element"
15456 elif test $pkg_failed = untried; then
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15460 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15461 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15462 $as_echo_n "(cached) " >&6
15465 ac_check_framework_save_LIBS=$LIBS
15466 LIBS="-framework JavaScriptCore $LIBS"
15467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15470 #include <JavaScriptCore/JSBase.h>
15475 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15480 if ac_fn_cxx_try_link "$LINENO"; then :
15482 ac_cv_framework_JavaScriptCore=yes
15485 ac_cv_framework_JavaScriptCore=no
15487 rm -f core conftest.err conftest.$ac_objext \
15488 conftest$ac_exeext conftest.$ac_ext
15489 LIBS=$ac_check_framework_save_LIBS
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15493 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15494 if test $ac_cv_framework_JavaScriptCore = yes; then :
15497 for element in "-framework JavaScriptCore $LIBS"; do
15501 acl_save_prefix="$prefix"
15502 prefix="$acl_final_prefix"
15503 acl_save_exec_prefix="$exec_prefix"
15504 exec_prefix="$acl_final_exec_prefix"
15506 exec_prefix="$acl_save_exec_prefix"
15507 prefix="$acl_save_prefix"
15509 if test "X$x" = "X$element"; then
15514 if test -z "$haveit"; then
15515 LIBS="${LIBS}${LIBS:+ }$element"
15524 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15525 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15527 $as_echo "yes" >&6; }
15531 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15533 for x in $CXXFLAGS; do
15535 acl_save_prefix="$prefix"
15536 prefix="$acl_final_prefix"
15537 acl_save_exec_prefix="$exec_prefix"
15538 exec_prefix="$acl_final_exec_prefix"
15540 exec_prefix="$acl_save_exec_prefix"
15541 prefix="$acl_save_prefix"
15543 if test "X$x" = "X$element"; then
15548 if test -z "$haveit"; then
15549 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15554 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15558 acl_save_prefix="$prefix"
15559 prefix="$acl_final_prefix"
15560 acl_save_exec_prefix="$exec_prefix"
15561 exec_prefix="$acl_final_exec_prefix"
15563 exec_prefix="$acl_save_exec_prefix"
15564 prefix="$acl_save_prefix"
15566 if test "X$x" = "X$element"; then
15571 if test -z "$haveit"; then
15572 LIBS="${LIBS}${LIBS:+ }$element"
15580 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15581 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15583 $as_echo "yes" >&6; }
15587 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
15589 for x in $CXXFLAGS; do
15591 acl_save_prefix="$prefix"
15592 prefix="$acl_final_prefix"
15593 acl_save_exec_prefix="$exec_prefix"
15594 exec_prefix="$acl_final_exec_prefix"
15596 exec_prefix="$acl_save_exec_prefix"
15597 prefix="$acl_save_prefix"
15599 if test "X$x" = "X$element"; then
15604 if test -z "$haveit"; then
15605 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15610 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
15614 acl_save_prefix="$prefix"
15615 prefix="$acl_final_prefix"
15616 acl_save_exec_prefix="$exec_prefix"
15617 exec_prefix="$acl_final_exec_prefix"
15619 exec_prefix="$acl_save_exec_prefix"
15620 prefix="$acl_save_prefix"
15622 if test "X$x" = "X$element"; then
15627 if test -z "$haveit"; then
15628 LIBS="${LIBS}${LIBS:+ }$element"
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15647 $as_echo_n "checking for WEBKIT... " >&6; }
15649 if test -n "$PKG_CONFIG"; then
15650 if test -n "$WEBKIT_CFLAGS"; then
15651 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15653 if test -n "$PKG_CONFIG" && \
15654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15655 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15658 test $ac_status = 0; }; then
15659 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15667 if test -n "$PKG_CONFIG"; then
15668 if test -n "$WEBKIT_LIBS"; then
15669 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15671 if test -n "$PKG_CONFIG" && \
15672 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15673 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15676 test $ac_status = 0; }; then
15677 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15688 if test $pkg_failed = yes; then
15690 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15691 _pkg_short_errors_supported=yes
15693 _pkg_short_errors_supported=no
15695 if test $_pkg_short_errors_supported = yes; then
15696 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15698 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15700 # Put the nasty error message in config.log where it belongs
15701 echo "$WEBKIT_PKG_ERRORS" >&5
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15704 $as_echo "no" >&6; }
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15709 $as_echo_n "checking for WEBKIT... " >&6; }
15711 if test -n "$PKG_CONFIG"; then
15712 if test -n "$WEBKIT_CFLAGS"; then
15713 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15715 if test -n "$PKG_CONFIG" && \
15716 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15717 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15720 test $ac_status = 0; }; then
15721 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15729 if test -n "$PKG_CONFIG"; then
15730 if test -n "$WEBKIT_LIBS"; then
15731 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15733 if test -n "$PKG_CONFIG" && \
15734 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15735 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15738 test $ac_status = 0; }; then
15739 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15750 if test $pkg_failed = yes; then
15752 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15753 _pkg_short_errors_supported=yes
15755 _pkg_short_errors_supported=no
15757 if test $_pkg_short_errors_supported = yes; then
15758 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15760 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15762 # Put the nasty error message in config.log where it belongs
15763 echo "$WEBKIT_PKG_ERRORS" >&5
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15766 $as_echo "no" >&6; }
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15770 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15771 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15772 $as_echo_n "(cached) " >&6
15775 ac_check_framework_save_LIBS=$LIBS
15776 LIBS="-framework JavaScriptCore $LIBS"
15777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15778 /* end confdefs.h. */
15780 #include <JavaScriptCore/JSBase.h>
15785 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15790 if ac_fn_cxx_try_link "$LINENO"; then :
15792 ac_cv_framework_JavaScriptCore=yes
15795 ac_cv_framework_JavaScriptCore=no
15797 rm -f core conftest.err conftest.$ac_objext \
15798 conftest$ac_exeext conftest.$ac_ext
15799 LIBS=$ac_check_framework_save_LIBS
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15803 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15804 if test $ac_cv_framework_JavaScriptCore = yes; then :
15807 for element in "-framework JavaScriptCore $LIBS"; do
15811 acl_save_prefix="$prefix"
15812 prefix="$acl_final_prefix"
15813 acl_save_exec_prefix="$exec_prefix"
15814 exec_prefix="$acl_final_exec_prefix"
15816 exec_prefix="$acl_save_exec_prefix"
15817 prefix="$acl_save_prefix"
15819 if test "X$x" = "X$element"; then
15824 if test -z "$haveit"; then
15825 LIBS="${LIBS}${LIBS:+ }$element"
15833 elif test $pkg_failed = untried; then
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15837 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15838 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15839 $as_echo_n "(cached) " >&6
15842 ac_check_framework_save_LIBS=$LIBS
15843 LIBS="-framework JavaScriptCore $LIBS"
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15847 #include <JavaScriptCore/JSBase.h>
15852 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15857 if ac_fn_cxx_try_link "$LINENO"; then :
15859 ac_cv_framework_JavaScriptCore=yes
15862 ac_cv_framework_JavaScriptCore=no
15864 rm -f core conftest.err conftest.$ac_objext \
15865 conftest$ac_exeext conftest.$ac_ext
15866 LIBS=$ac_check_framework_save_LIBS
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15870 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15871 if test $ac_cv_framework_JavaScriptCore = yes; then :
15874 for element in "-framework JavaScriptCore $LIBS"; do
15878 acl_save_prefix="$prefix"
15879 prefix="$acl_final_prefix"
15880 acl_save_exec_prefix="$exec_prefix"
15881 exec_prefix="$acl_final_exec_prefix"
15883 exec_prefix="$acl_save_exec_prefix"
15884 prefix="$acl_save_prefix"
15886 if test "X$x" = "X$element"; then
15891 if test -z "$haveit"; then
15892 LIBS="${LIBS}${LIBS:+ }$element"
15901 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15902 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15904 $as_echo "yes" >&6; }
15908 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15910 for x in $CXXFLAGS; do
15912 acl_save_prefix="$prefix"
15913 prefix="$acl_final_prefix"
15914 acl_save_exec_prefix="$exec_prefix"
15915 exec_prefix="$acl_final_exec_prefix"
15917 exec_prefix="$acl_save_exec_prefix"
15918 prefix="$acl_save_prefix"
15920 if test "X$x" = "X$element"; then
15925 if test -z "$haveit"; then
15926 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15931 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15935 acl_save_prefix="$prefix"
15936 prefix="$acl_final_prefix"
15937 acl_save_exec_prefix="$exec_prefix"
15938 exec_prefix="$acl_final_exec_prefix"
15940 exec_prefix="$acl_save_exec_prefix"
15941 prefix="$acl_save_prefix"
15943 if test "X$x" = "X$element"; then
15948 if test -z "$haveit"; then
15949 LIBS="${LIBS}${LIBS:+ }$element"
15956 elif test $pkg_failed = untried; then
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15961 $as_echo_n "checking for WEBKIT... " >&6; }
15963 if test -n "$PKG_CONFIG"; then
15964 if test -n "$WEBKIT_CFLAGS"; then
15965 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15967 if test -n "$PKG_CONFIG" && \
15968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15969 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15972 test $ac_status = 0; }; then
15973 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15981 if test -n "$PKG_CONFIG"; then
15982 if test -n "$WEBKIT_LIBS"; then
15983 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15985 if test -n "$PKG_CONFIG" && \
15986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15987 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15990 test $ac_status = 0; }; then
15991 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16002 if test $pkg_failed = yes; then
16004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16005 _pkg_short_errors_supported=yes
16007 _pkg_short_errors_supported=no
16009 if test $_pkg_short_errors_supported = yes; then
16010 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16012 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16014 # Put the nasty error message in config.log where it belongs
16015 echo "$WEBKIT_PKG_ERRORS" >&5
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16018 $as_echo "no" >&6; }
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16022 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16023 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16024 $as_echo_n "(cached) " >&6
16027 ac_check_framework_save_LIBS=$LIBS
16028 LIBS="-framework JavaScriptCore $LIBS"
16029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16030 /* end confdefs.h. */
16032 #include <JavaScriptCore/JSBase.h>
16037 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16042 if ac_fn_cxx_try_link "$LINENO"; then :
16044 ac_cv_framework_JavaScriptCore=yes
16047 ac_cv_framework_JavaScriptCore=no
16049 rm -f core conftest.err conftest.$ac_objext \
16050 conftest$ac_exeext conftest.$ac_ext
16051 LIBS=$ac_check_framework_save_LIBS
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16055 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16056 if test $ac_cv_framework_JavaScriptCore = yes; then :
16059 for element in "-framework JavaScriptCore $LIBS"; do
16063 acl_save_prefix="$prefix"
16064 prefix="$acl_final_prefix"
16065 acl_save_exec_prefix="$exec_prefix"
16066 exec_prefix="$acl_final_exec_prefix"
16068 exec_prefix="$acl_save_exec_prefix"
16069 prefix="$acl_save_prefix"
16071 if test "X$x" = "X$element"; then
16076 if test -z "$haveit"; then
16077 LIBS="${LIBS}${LIBS:+ }$element"
16085 elif test $pkg_failed = untried; then
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16089 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16090 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16091 $as_echo_n "(cached) " >&6
16094 ac_check_framework_save_LIBS=$LIBS
16095 LIBS="-framework JavaScriptCore $LIBS"
16096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097 /* end confdefs.h. */
16099 #include <JavaScriptCore/JSBase.h>
16104 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16109 if ac_fn_cxx_try_link "$LINENO"; then :
16111 ac_cv_framework_JavaScriptCore=yes
16114 ac_cv_framework_JavaScriptCore=no
16116 rm -f core conftest.err conftest.$ac_objext \
16117 conftest$ac_exeext conftest.$ac_ext
16118 LIBS=$ac_check_framework_save_LIBS
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16122 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16123 if test $ac_cv_framework_JavaScriptCore = yes; then :
16126 for element in "-framework JavaScriptCore $LIBS"; do
16130 acl_save_prefix="$prefix"
16131 prefix="$acl_final_prefix"
16132 acl_save_exec_prefix="$exec_prefix"
16133 exec_prefix="$acl_final_exec_prefix"
16135 exec_prefix="$acl_save_exec_prefix"
16136 prefix="$acl_save_prefix"
16138 if test "X$x" = "X$element"; then
16143 if test -z "$haveit"; then
16144 LIBS="${LIBS}${LIBS:+ }$element"
16153 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16154 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16156 $as_echo "yes" >&6; }
16160 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16162 for x in $CXXFLAGS; do
16164 acl_save_prefix="$prefix"
16165 prefix="$acl_final_prefix"
16166 acl_save_exec_prefix="$exec_prefix"
16167 exec_prefix="$acl_final_exec_prefix"
16169 exec_prefix="$acl_save_exec_prefix"
16170 prefix="$acl_save_prefix"
16172 if test "X$x" = "X$element"; then
16177 if test -z "$haveit"; then
16178 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16183 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16187 acl_save_prefix="$prefix"
16188 prefix="$acl_final_prefix"
16189 acl_save_exec_prefix="$exec_prefix"
16190 exec_prefix="$acl_final_exec_prefix"
16192 exec_prefix="$acl_save_exec_prefix"
16193 prefix="$acl_save_prefix"
16195 if test "X$x" = "X$element"; then
16200 if test -z "$haveit"; then
16201 LIBS="${LIBS}${LIBS:+ }$element"
16209 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16210 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16212 $as_echo "yes" >&6; }
16216 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16218 for x in $CXXFLAGS; do
16220 acl_save_prefix="$prefix"
16221 prefix="$acl_final_prefix"
16222 acl_save_exec_prefix="$exec_prefix"
16223 exec_prefix="$acl_final_exec_prefix"
16225 exec_prefix="$acl_save_exec_prefix"
16226 prefix="$acl_save_prefix"
16228 if test "X$x" = "X$element"; then
16233 if test -z "$haveit"; then
16234 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16239 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16243 acl_save_prefix="$prefix"
16244 prefix="$acl_final_prefix"
16245 acl_save_exec_prefix="$exec_prefix"
16246 exec_prefix="$acl_final_exec_prefix"
16248 exec_prefix="$acl_save_exec_prefix"
16249 prefix="$acl_save_prefix"
16251 if test "X$x" = "X$element"; then
16256 if test -z "$haveit"; then
16257 LIBS="${LIBS}${LIBS:+ }$element"
16266 as_fn_error "Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16275 $as_echo_n "checking for WEBKIT... " >&6; }
16277 if test -n "$PKG_CONFIG"; then
16278 if test -n "$WEBKIT_CFLAGS"; then
16279 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16281 if test -n "$PKG_CONFIG" && \
16282 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16283 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16286 test $ac_status = 0; }; then
16287 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
16295 if test -n "$PKG_CONFIG"; then
16296 if test -n "$WEBKIT_LIBS"; then
16297 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16299 if test -n "$PKG_CONFIG" && \
16300 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16301 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16304 test $ac_status = 0; }; then
16305 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
16316 if test $pkg_failed = yes; then
16318 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16319 _pkg_short_errors_supported=yes
16321 _pkg_short_errors_supported=no
16323 if test $_pkg_short_errors_supported = yes; then
16324 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
16326 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
16328 # Put the nasty error message in config.log where it belongs
16329 echo "$WEBKIT_PKG_ERRORS" >&5
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16332 $as_echo "no" >&6; }
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16337 $as_echo_n "checking for WEBKIT... " >&6; }
16339 if test -n "$PKG_CONFIG"; then
16340 if test -n "$WEBKIT_CFLAGS"; then
16341 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16343 if test -n "$PKG_CONFIG" && \
16344 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16345 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16348 test $ac_status = 0; }; then
16349 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16357 if test -n "$PKG_CONFIG"; then
16358 if test -n "$WEBKIT_LIBS"; then
16359 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16361 if test -n "$PKG_CONFIG" && \
16362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16363 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16366 test $ac_status = 0; }; then
16367 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16378 if test $pkg_failed = yes; then
16380 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16381 _pkg_short_errors_supported=yes
16383 _pkg_short_errors_supported=no
16385 if test $_pkg_short_errors_supported = yes; then
16386 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16388 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16390 # Put the nasty error message in config.log where it belongs
16391 echo "$WEBKIT_PKG_ERRORS" >&5
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16394 $as_echo "no" >&6; }
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16398 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16399 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16400 $as_echo_n "(cached) " >&6
16403 ac_check_framework_save_LIBS=$LIBS
16404 LIBS="-framework JavaScriptCore $LIBS"
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16408 #include <JavaScriptCore/JSBase.h>
16413 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16418 if ac_fn_cxx_try_link "$LINENO"; then :
16420 ac_cv_framework_JavaScriptCore=yes
16423 ac_cv_framework_JavaScriptCore=no
16425 rm -f core conftest.err conftest.$ac_objext \
16426 conftest$ac_exeext conftest.$ac_ext
16427 LIBS=$ac_check_framework_save_LIBS
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16431 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16432 if test $ac_cv_framework_JavaScriptCore = yes; then :
16435 for element in "-framework JavaScriptCore $LIBS"; do
16439 acl_save_prefix="$prefix"
16440 prefix="$acl_final_prefix"
16441 acl_save_exec_prefix="$exec_prefix"
16442 exec_prefix="$acl_final_exec_prefix"
16444 exec_prefix="$acl_save_exec_prefix"
16445 prefix="$acl_save_prefix"
16447 if test "X$x" = "X$element"; then
16452 if test -z "$haveit"; then
16453 LIBS="${LIBS}${LIBS:+ }$element"
16461 elif test $pkg_failed = untried; then
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16465 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16466 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16467 $as_echo_n "(cached) " >&6
16470 ac_check_framework_save_LIBS=$LIBS
16471 LIBS="-framework JavaScriptCore $LIBS"
16472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16473 /* end confdefs.h. */
16475 #include <JavaScriptCore/JSBase.h>
16480 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16485 if ac_fn_cxx_try_link "$LINENO"; then :
16487 ac_cv_framework_JavaScriptCore=yes
16490 ac_cv_framework_JavaScriptCore=no
16492 rm -f core conftest.err conftest.$ac_objext \
16493 conftest$ac_exeext conftest.$ac_ext
16494 LIBS=$ac_check_framework_save_LIBS
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16498 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16499 if test $ac_cv_framework_JavaScriptCore = yes; then :
16502 for element in "-framework JavaScriptCore $LIBS"; do
16506 acl_save_prefix="$prefix"
16507 prefix="$acl_final_prefix"
16508 acl_save_exec_prefix="$exec_prefix"
16509 exec_prefix="$acl_final_exec_prefix"
16511 exec_prefix="$acl_save_exec_prefix"
16512 prefix="$acl_save_prefix"
16514 if test "X$x" = "X$element"; then
16519 if test -z "$haveit"; then
16520 LIBS="${LIBS}${LIBS:+ }$element"
16529 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16530 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16532 $as_echo "yes" >&6; }
16536 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16538 for x in $CXXFLAGS; do
16540 acl_save_prefix="$prefix"
16541 prefix="$acl_final_prefix"
16542 acl_save_exec_prefix="$exec_prefix"
16543 exec_prefix="$acl_final_exec_prefix"
16545 exec_prefix="$acl_save_exec_prefix"
16546 prefix="$acl_save_prefix"
16548 if test "X$x" = "X$element"; then
16553 if test -z "$haveit"; then
16554 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16559 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16563 acl_save_prefix="$prefix"
16564 prefix="$acl_final_prefix"
16565 acl_save_exec_prefix="$exec_prefix"
16566 exec_prefix="$acl_final_exec_prefix"
16568 exec_prefix="$acl_save_exec_prefix"
16569 prefix="$acl_save_prefix"
16571 if test "X$x" = "X$element"; then
16576 if test -z "$haveit"; then
16577 LIBS="${LIBS}${LIBS:+ }$element"
16584 elif test $pkg_failed = untried; then
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16589 $as_echo_n "checking for WEBKIT... " >&6; }
16591 if test -n "$PKG_CONFIG"; then
16592 if test -n "$WEBKIT_CFLAGS"; then
16593 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16595 if test -n "$PKG_CONFIG" && \
16596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16597 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16600 test $ac_status = 0; }; then
16601 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16609 if test -n "$PKG_CONFIG"; then
16610 if test -n "$WEBKIT_LIBS"; then
16611 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16613 if test -n "$PKG_CONFIG" && \
16614 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16615 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16618 test $ac_status = 0; }; then
16619 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16630 if test $pkg_failed = yes; then
16632 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16633 _pkg_short_errors_supported=yes
16635 _pkg_short_errors_supported=no
16637 if test $_pkg_short_errors_supported = yes; then
16638 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16640 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16642 # Put the nasty error message in config.log where it belongs
16643 echo "$WEBKIT_PKG_ERRORS" >&5
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16646 $as_echo "no" >&6; }
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16650 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16651 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16652 $as_echo_n "(cached) " >&6
16655 ac_check_framework_save_LIBS=$LIBS
16656 LIBS="-framework JavaScriptCore $LIBS"
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16660 #include <JavaScriptCore/JSBase.h>
16665 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16670 if ac_fn_cxx_try_link "$LINENO"; then :
16672 ac_cv_framework_JavaScriptCore=yes
16675 ac_cv_framework_JavaScriptCore=no
16677 rm -f core conftest.err conftest.$ac_objext \
16678 conftest$ac_exeext conftest.$ac_ext
16679 LIBS=$ac_check_framework_save_LIBS
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16683 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16684 if test $ac_cv_framework_JavaScriptCore = yes; then :
16687 for element in "-framework JavaScriptCore $LIBS"; do
16691 acl_save_prefix="$prefix"
16692 prefix="$acl_final_prefix"
16693 acl_save_exec_prefix="$exec_prefix"
16694 exec_prefix="$acl_final_exec_prefix"
16696 exec_prefix="$acl_save_exec_prefix"
16697 prefix="$acl_save_prefix"
16699 if test "X$x" = "X$element"; then
16704 if test -z "$haveit"; then
16705 LIBS="${LIBS}${LIBS:+ }$element"
16713 elif test $pkg_failed = untried; then
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16717 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16718 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16719 $as_echo_n "(cached) " >&6
16722 ac_check_framework_save_LIBS=$LIBS
16723 LIBS="-framework JavaScriptCore $LIBS"
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16727 #include <JavaScriptCore/JSBase.h>
16732 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16737 if ac_fn_cxx_try_link "$LINENO"; then :
16739 ac_cv_framework_JavaScriptCore=yes
16742 ac_cv_framework_JavaScriptCore=no
16744 rm -f core conftest.err conftest.$ac_objext \
16745 conftest$ac_exeext conftest.$ac_ext
16746 LIBS=$ac_check_framework_save_LIBS
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16750 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16751 if test $ac_cv_framework_JavaScriptCore = yes; then :
16754 for element in "-framework JavaScriptCore $LIBS"; do
16758 acl_save_prefix="$prefix"
16759 prefix="$acl_final_prefix"
16760 acl_save_exec_prefix="$exec_prefix"
16761 exec_prefix="$acl_final_exec_prefix"
16763 exec_prefix="$acl_save_exec_prefix"
16764 prefix="$acl_save_prefix"
16766 if test "X$x" = "X$element"; then
16771 if test -z "$haveit"; then
16772 LIBS="${LIBS}${LIBS:+ }$element"
16781 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16782 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16784 $as_echo "yes" >&6; }
16788 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16790 for x in $CXXFLAGS; do
16792 acl_save_prefix="$prefix"
16793 prefix="$acl_final_prefix"
16794 acl_save_exec_prefix="$exec_prefix"
16795 exec_prefix="$acl_final_exec_prefix"
16797 exec_prefix="$acl_save_exec_prefix"
16798 prefix="$acl_save_prefix"
16800 if test "X$x" = "X$element"; then
16805 if test -z "$haveit"; then
16806 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16811 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16815 acl_save_prefix="$prefix"
16816 prefix="$acl_final_prefix"
16817 acl_save_exec_prefix="$exec_prefix"
16818 exec_prefix="$acl_final_exec_prefix"
16820 exec_prefix="$acl_save_exec_prefix"
16821 prefix="$acl_save_prefix"
16823 if test "X$x" = "X$element"; then
16828 if test -z "$haveit"; then
16829 LIBS="${LIBS}${LIBS:+ }$element"
16837 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16838 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16840 $as_echo "yes" >&6; }
16844 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16846 for x in $CXXFLAGS; do
16848 acl_save_prefix="$prefix"
16849 prefix="$acl_final_prefix"
16850 acl_save_exec_prefix="$exec_prefix"
16851 exec_prefix="$acl_final_exec_prefix"
16853 exec_prefix="$acl_save_exec_prefix"
16854 prefix="$acl_save_prefix"
16856 if test "X$x" = "X$element"; then
16861 if test -z "$haveit"; then
16862 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16867 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16871 acl_save_prefix="$prefix"
16872 prefix="$acl_final_prefix"
16873 acl_save_exec_prefix="$exec_prefix"
16874 exec_prefix="$acl_final_exec_prefix"
16876 exec_prefix="$acl_save_exec_prefix"
16877 prefix="$acl_save_prefix"
16879 if test "X$x" = "X$element"; then
16884 if test -z "$haveit"; then
16885 LIBS="${LIBS}${LIBS:+ }$element"
16898 case $CY_EXECUTE in #(
16902 for ac_header in ffi.h ffi/ffi.h
16904 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16905 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16906 eval as_val=\$$as_ac_Header
16907 if test "x$as_val" = x""yes; then :
16908 cat >>confdefs.h <<_ACEOF
16909 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16916 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
16922 $as_echo_n "checking for LIBFFI... " >&6; }
16924 if test -n "$PKG_CONFIG"; then
16925 if test -n "$LIBFFI_CFLAGS"; then
16926 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
16928 if test -n "$PKG_CONFIG" && \
16929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16930 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16933 test $ac_status = 0; }; then
16934 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
16942 if test -n "$PKG_CONFIG"; then
16943 if test -n "$LIBFFI_LIBS"; then
16944 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
16946 if test -n "$PKG_CONFIG" && \
16947 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16948 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16951 test $ac_status = 0; }; then
16952 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
16963 if test $pkg_failed = yes; then
16965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16966 _pkg_short_errors_supported=yes
16968 _pkg_short_errors_supported=no
16970 if test $_pkg_short_errors_supported = yes; then
16971 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
16973 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
16975 # Put the nasty error message in config.log where it belongs
16976 echo "$LIBFFI_PKG_ERRORS" >&5
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16979 $as_echo "no" >&6; }
16981 as_fn_error "You need libffi" "$LINENO" 5
16983 elif test $pkg_failed = untried; then
16985 as_fn_error "You need libffi" "$LINENO" 5
16988 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
16989 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16991 $as_echo "yes" >&6; }
16994 for element in `$PKG_CONFIG --cflags libffi
`; do
16996 for x in $CXXFLAGS; do
16998 acl_save_prefix="$prefix"
16999 prefix="$acl_final_prefix"
17000 acl_save_exec_prefix="$exec_prefix"
17001 exec_prefix="$acl_final_exec_prefix"
17003 exec_prefix="$acl_save_exec_prefix"
17004 prefix="$acl_save_prefix"
17006 if test "X$x" = "X$element"; then
17011 if test -z "$haveit"; then
17012 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17017 for element in `$PKG_CONFIG --libs libffi
`; do
17021 acl_save_prefix="$prefix"
17022 prefix="$acl_final_prefix"
17023 acl_save_exec_prefix="$exec_prefix"
17024 exec_prefix="$acl_final_exec_prefix"
17026 exec_prefix="$acl_save_exec_prefix"
17027 prefix="$acl_save_prefix"
17029 if test "X$x" = "X$element"; then
17034 if test -z "$haveit"; then
17035 LIBS="${LIBS}${LIBS:+ }$element"
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17046 $as_echo_n "checking for library containing ffi_call... " >&6; }
17047 if test "${ac_cv_search_ffi_call+set}" = set; then :
17048 $as_echo_n "(cached) " >&6
17050 ac_func_search_save_LIBS=$LIBS
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17054 /* Override any GCC internal prototype to avoid an error.
17055 Use char because int might match the return type of a GCC
17056 builtin and then its argument prototype would still apply. */
17064 return ffi_call ();
17069 for ac_lib in '' ffi; do
17070 if test -z "$ac_lib"; then
17071 ac_res="none required"
17074 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17076 if ac_fn_cxx_try_link "$LINENO"; then :
17077 ac_cv_search_ffi_call=$ac_res
17079 rm -f core conftest.err conftest.$ac_objext \
17081 if test "${ac_cv_search_ffi_call+set}" = set; then :
17085 if test "${ac_cv_search_ffi_call+set}" = set; then :
17088 ac_cv_search_ffi_call=no
17090 rm conftest.$ac_ext
17091 LIBS=$ac_func_search_save_LIBS
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17094 $as_echo "$ac_cv_search_ffi_call" >&6; }
17095 ac_res=$ac_cv_search_ffi_call
17096 if test "$ac_res" != no; then :
17097 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17101 case $ac_cv_search_ffi_call in #(
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17107 $as_echo_n "checking for LIBFFI... " >&6; }
17109 if test -n "$PKG_CONFIG"; then
17110 if test -n "$LIBFFI_CFLAGS"; then
17111 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
17113 if test -n "$PKG_CONFIG" && \
17114 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17115 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17118 test $ac_status = 0; }; then
17119 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
17127 if test -n "$PKG_CONFIG"; then
17128 if test -n "$LIBFFI_LIBS"; then
17129 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
17131 if test -n "$PKG_CONFIG" && \
17132 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17133 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17136 test $ac_status = 0; }; then
17137 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
17148 if test $pkg_failed = yes; then
17150 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17151 _pkg_short_errors_supported=yes
17153 _pkg_short_errors_supported=no
17155 if test $_pkg_short_errors_supported = yes; then
17156 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
17158 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
17160 # Put the nasty error message in config.log where it belongs
17161 echo "$LIBFFI_PKG_ERRORS" >&5
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17164 $as_echo "no" >&6; }
17166 as_fn_error "You need libffi" "$LINENO" 5
17168 elif test $pkg_failed = untried; then
17170 as_fn_error "You need libffi" "$LINENO" 5
17173 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
17174 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17176 $as_echo "yes" >&6; }
17179 for element in `$PKG_CONFIG --cflags libffi
`; do
17181 for x in $CXXFLAGS; do
17183 acl_save_prefix="$prefix"
17184 prefix="$acl_final_prefix"
17185 acl_save_exec_prefix="$exec_prefix"
17186 exec_prefix="$acl_final_exec_prefix"
17188 exec_prefix="$acl_save_exec_prefix"
17189 prefix="$acl_save_prefix"
17191 if test "X$x" = "X$element"; then
17196 if test -z "$haveit"; then
17197 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17202 for element in `$PKG_CONFIG --libs libffi
`; do
17206 acl_save_prefix="$prefix"
17207 prefix="$acl_final_prefix"
17208 acl_save_exec_prefix="$exec_prefix"
17209 exec_prefix="$acl_final_exec_prefix"
17211 exec_prefix="$acl_save_exec_prefix"
17212 prefix="$acl_save_prefix"
17214 if test "X$x" = "X$element"; then
17219 if test -z "$haveit"; then
17220 LIBS="${LIBS}${LIBS:+ }$element"
17233 ac_cpp='$OBJCXXCPP $CPPFLAGS'
17234 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17235 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17236 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
17239 $as_echo_n "checking if we really have Objective C++... " >&6; }
17240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17241 /* end confdefs.h. */
17243 // This space intentionally left blank
17246 if ac_fn_objcxx_try_compile "$LINENO"; then :
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17250 $as_echo "yes" >&6; }
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17254 $as_echo "no" >&6; }
17256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17257 if test "x$CY_OBJECTIVEC" = x1; then :
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
17261 $as_echo_n "checking for framework CoreFoundation... " >&6; }
17262 if test "${ac_cv_framework_CoreFoundation+set}" = set; then :
17263 $as_echo_n "(cached) " >&6
17266 ac_check_framework_save_LIBS=$LIBS
17267 LIBS="-framework CoreFoundation $LIBS"
17268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17271 #include <CoreFoundation/CFBase.h>
17276 CFAllocatorGetDefault();
17281 if ac_fn_objcxx_try_link "$LINENO"; then :
17283 ac_cv_framework_CoreFoundation=yes
17286 ac_cv_framework_CoreFoundation=no
17288 rm -f core conftest.err conftest.$ac_objext \
17289 conftest$ac_exeext conftest.$ac_ext
17290 LIBS=$ac_check_framework_save_LIBS
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
17294 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
17295 if test $ac_cv_framework_CoreFoundation = yes; then :
17298 for element in "-framework CoreFoundation $LIBS"; do
17302 acl_save_prefix="$prefix"
17303 prefix="$acl_final_prefix"
17304 acl_save_exec_prefix="$exec_prefix"
17305 exec_prefix="$acl_final_exec_prefix"
17307 exec_prefix="$acl_save_exec_prefix"
17308 prefix="$acl_save_prefix"
17310 if test "X$x" = "X$element"; then
17315 if test -z "$haveit"; then
17316 LIBS="${LIBS}${LIBS:+ }$element"
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
17325 $as_echo_n "checking for framework Foundation... " >&6; }
17326 if test "${ac_cv_framework_Foundation+set}" = set; then :
17327 $as_echo_n "(cached) " >&6
17330 ac_check_framework_save_LIBS=$LIBS
17331 LIBS="-framework Foundation $LIBS"
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17335 #include <Foundation/NSObject.h>
17340 [[NSObject alloc] init];
17345 if ac_fn_objcxx_try_link "$LINENO"; then :
17347 ac_cv_framework_Foundation=yes
17350 ac_cv_framework_Foundation=no
17352 rm -f core conftest.err conftest.$ac_objext \
17353 conftest$ac_exeext conftest.$ac_ext
17354 LIBS=$ac_check_framework_save_LIBS
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
17358 $as_echo "$ac_cv_framework_Foundation" >&6; }
17359 if test $ac_cv_framework_Foundation = yes; then :
17362 for element in "-framework Foundation $LIBS"; do
17366 acl_save_prefix="$prefix"
17367 prefix="$acl_final_prefix"
17368 acl_save_exec_prefix="$exec_prefix"
17369 exec_prefix="$acl_final_exec_prefix"
17371 exec_prefix="$acl_save_exec_prefix"
17372 prefix="$acl_save_prefix"
17374 if test "X$x" = "X$element"; then
17379 if test -z "$haveit"; then
17380 LIBS="${LIBS}${LIBS:+ }$element"
17384 cat >>confdefs.h <<_ACEOF
17385 #define HAVE_FRAMEWORK_FOUNDATION 1
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
17393 $as_echo_n "checking for framework WebKit... " >&6; }
17394 if test "${ac_cv_framework_WebKit+set}" = set; then :
17395 $as_echo_n "(cached) " >&6
17398 ac_check_framework_save_LIBS=$LIBS
17399 LIBS="-framework WebKit $LIBS"
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17403 #include <WebKit/WebScriptObject.h>
17408 [[WebScriptObject alloc] init];
17413 if ac_fn_objcxx_try_link "$LINENO"; then :
17415 ac_cv_framework_WebKit=yes
17418 ac_cv_framework_WebKit=no
17420 rm -f core conftest.err conftest.$ac_objext \
17421 conftest$ac_exeext conftest.$ac_ext
17422 LIBS=$ac_check_framework_save_LIBS
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
17426 $as_echo "$ac_cv_framework_WebKit" >&6; }
17427 if test $ac_cv_framework_WebKit = yes; then :
17430 for element in "-framework WebKit $LIBS"; do
17434 acl_save_prefix="$prefix"
17435 prefix="$acl_final_prefix"
17436 acl_save_exec_prefix="$exec_prefix"
17437 exec_prefix="$acl_final_exec_prefix"
17439 exec_prefix="$acl_save_exec_prefix"
17440 prefix="$acl_save_prefix"
17442 if test "X$x" = "X$element"; then
17447 if test -z "$haveit"; then
17448 LIBS="${LIBS}${LIBS:+ }$element"
17452 cat >>confdefs.h <<_ACEOF
17453 #define HAVE_FRAMEWORK_WEBKIT 1
17463 for ac_prog in gnustep-config
17465 # Extract the first word of "$ac_prog", so it can be a program name with args.
17466 set dummy $ac_prog; ac_word=$2
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17468 $as_echo_n "checking for $ac_word... " >&6; }
17469 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
17470 $as_echo_n "(cached) " >&6
17472 if test -n "$GNUSTEP_CONFIG"; then
17473 ac_cv_prog_GNUSTEP_CONFIG="$GNUSTEP_CONFIG" # Let the user override the test.
17475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17476 for as_dir in $PATH
17479 test -z "$as_dir" && as_dir=.
17480 for ac_exec_ext in '' $ac_executable_extensions; do
17481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17482 ac_cv_prog_GNUSTEP_CONFIG="$ac_prog"
17483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17492 GNUSTEP_CONFIG=$ac_cv_prog_GNUSTEP_CONFIG
17493 if test -n "$GNUSTEP_CONFIG"; then
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
17495 $as_echo "$GNUSTEP_CONFIG" >&6; }
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17498 $as_echo "no" >&6; }
17502 test -n "$GNUSTEP_CONFIG" && break
17505 if test "x$GNUSTEP_CONFIG" != x; then :
17509 for element in `$GNUSTEP_CONFIG --objc-flags`; do
17511 for x in $OBJCXXFLAGS; do
17513 acl_save_prefix="$prefix"
17514 prefix="$acl_final_prefix"
17515 acl_save_exec_prefix="$exec_prefix"
17516 exec_prefix="$acl_final_exec_prefix"
17518 exec_prefix="$acl_save_exec_prefix"
17519 prefix="$acl_save_prefix"
17521 if test "X$x" = "X$element"; then
17526 if test -z "$haveit"; then
17527 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17532 for element in `$GNUSTEP_CONFIG --base-libs`; do
17536 acl_save_prefix="$prefix"
17537 prefix="$acl_final_prefix"
17538 acl_save_exec_prefix="$exec_prefix"
17539 exec_prefix="$acl_final_exec_prefix"
17541 exec_prefix="$acl_save_exec_prefix"
17542 prefix="$acl_save_prefix"
17544 if test "X$x" = "X$element"; then
17549 if test -z "$haveit"; then
17550 LIBS="${LIBS}${LIBS:+ }$element"
17564 ac_cpp='$CXXCPP $CPPFLAGS'
17565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
17575 $as_echo_n "checking for a readline compatible library... " >&6; }
17576 if test "${vl_cv_lib_readline+set}" = set; then :
17577 $as_echo_n "(cached) " >&6
17581 for readline_lib in readline edit editline; do
17582 for termcap_lib in "" termcap curses ncurses; do
17583 if test -z "$termcap_lib"; then
17584 TRY_LIB="-l$readline_lib"
17586 TRY_LIB="-l$readline_lib -l$termcap_lib"
17588 LIBS="$ORIG_LIBS $TRY_LIB"
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17592 /* Override any GCC internal prototype to avoid an error.
17593 Use char because int might match the return type of a GCC
17594 builtin and then its argument prototype would still apply. */
17602 return readline ();
17607 if ac_fn_cxx_try_link "$LINENO"; then :
17608 vl_cv_lib_readline="$TRY_LIB"
17610 rm -f core conftest.err conftest.$ac_objext \
17611 conftest$ac_exeext conftest.$ac_ext
17612 if test -n "$vl_cv_lib_readline"; then
17616 if test -n "$vl_cv_lib_readline"; then
17620 if test -z "$vl_cv_lib_readline"; then
17621 vl_cv_lib_readline="no"
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
17627 $as_echo "$vl_cv_lib_readline" >&6; }
17629 if test "$vl_cv_lib_readline" != "no"; then
17631 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
17633 for ac_header in readline.h readline/readline.h
17635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17636 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17637 eval as_val=\$$as_ac_Header
17638 if test "x$as_val" = x""yes; then :
17639 cat >>confdefs.h <<_ACEOF
17640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
17648 $as_echo_n "checking whether readline supports history... " >&6; }
17649 if test "${vl_cv_lib_readline_history+set}" = set; then :
17650 $as_echo_n "(cached) " >&6
17653 vl_cv_lib_readline_history="no"
17654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17655 /* end confdefs.h. */
17657 /* Override any GCC internal prototype to avoid an error.
17658 Use char because int might match the return type of a GCC
17659 builtin and then its argument prototype would still apply. */
17663 char add_history ();
17667 return add_history ();
17672 if ac_fn_cxx_try_link "$LINENO"; then :
17673 vl_cv_lib_readline_history="yes"
17675 rm -f core conftest.err conftest.$ac_objext \
17676 conftest$ac_exeext conftest.$ac_ext
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
17680 $as_echo "$vl_cv_lib_readline_history" >&6; }
17681 if test "$vl_cv_lib_readline_history" = "yes"; then
17683 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
17685 for ac_header in history.h readline/history.h
17687 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17688 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17689 eval as_val=\$$as_ac_Header
17690 if test "x$as_val" = x""yes; then :
17691 cat >>confdefs.h <<_ACEOF
17692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17702 case $vl_cv_lib_readline in #(
17704 as_fn_error "You need readline" "$LINENO" 5 ;; #(
17709 ac_cpp='$CPP $CPPFLAGS'
17710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17715 if test "X$prefix" = "XNONE"; then
17716 acl_final_prefix="$ac_default_prefix"
17718 acl_final_prefix="$prefix"
17720 if test "X$exec_prefix" = "XNONE"; then
17721 acl_final_exec_prefix='${prefix}'
17723 acl_final_exec_prefix="$exec_prefix"
17725 acl_save_prefix="$prefix"
17726 prefix="$acl_final_prefix"
17727 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17728 prefix="$acl_save_prefix"
17731 # Check whether --with-gnu-ld was given.
17732 if test "${with_gnu_ld+set}" = set; then :
17733 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17738 # Prepare PATH_SEPARATOR.
17739 # The user is always right.
17740 if test "${PATH_SEPARATOR+set}" != set; then
17741 echo "#! /bin/sh" >conf$$.sh
17742 echo "exit 0" >>conf$$.sh
17744 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17752 if test "$GCC" = yes; then
17753 # Check if gcc -print-prog-name=ld gives a path.
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17755 $as_echo_n "checking for ld used by GCC... " >&6; }
17758 # gcc leaves a trailing carriage return which upsets mingw
17759 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
17761 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
17764 # Accept absolute paths.
17765 [\\/]* | [A-Za-z]:[\\/]*)
17766 re_direlt='/[^/][^/]*/\.\./'
17767 # Canonicalize the path of ld
17768 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17769 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17770 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17772 test -z "$LD" && LD="$ac_prog"
17775 # If it fails, then pretend we aren't using GCC.
17779 # If it is relative, then search for the first ld in PATH.
17780 with_gnu_ld=unknown
17783 elif test "$with_gnu_ld" = yes; then
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17785 $as_echo_n "checking for GNU ld... " >&6; }
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17788 $as_echo_n "checking for non-GNU ld... " >&6; }
17790 if test "${acl_cv_path_LD+set}" = set; then :
17791 $as_echo_n "(cached) " >&6
17793 if test -z "$LD"; then
17794 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17795 for ac_dir in $PATH; do
17796 test -z "$ac_dir" && ac_dir=.
17797 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17798 acl_cv_path_LD="$ac_dir/$ac_prog"
17799 # Check to see if the program is GNU ld. I'd rather use --version,
17800 # but apparently some GNU ld's only accept -v.
17801 # Break only if it was the GNU/non-GNU ld that we prefer.
17802 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
17803 *GNU* | *'with BFD'*)
17804 test "$with_gnu_ld" != no && break ;;
17806 test "$with_gnu_ld" != yes && break ;;
17812 acl_cv_path_LD="$LD" # Let the user override the test with a path.
17816 LD="$acl_cv_path_LD"
17817 if test -n "$LD"; then
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17819 $as_echo "$LD" >&6; }
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17822 $as_echo "no" >&6; }
17824 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17826 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17827 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
17828 $as_echo_n "(cached) " >&6
17830 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17831 case `$LD -v 2>&1 </dev
/null
` in
17832 *GNU* | *'with BFD'*)
17833 acl_cv_prog_gnu_ld=yes ;;
17835 acl_cv_prog_gnu_ld=no ;;
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17839 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
17840 with_gnu_ld=$acl_cv_prog_gnu_ld
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17846 $as_echo_n "checking for shared library run path origin... " >&6; }
17847 if test "${acl_cv_rpath+set}" = set; then :
17848 $as_echo_n "(cached) " >&6
17851 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17852 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17854 rm -f ./conftest.sh
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17859 $as_echo "$acl_cv_rpath" >&6; }
17861 acl_libext="$acl_cv_libext"
17862 acl_shlibext="$acl_cv_shlibext"
17863 acl_libname_spec="$acl_cv_libname_spec"
17864 acl_library_names_spec="$acl_cv_library_names_spec"
17865 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17866 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17867 acl_hardcode_direct="$acl_cv_hardcode_direct"
17868 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17869 # Check whether --enable-rpath was given.
17870 if test "${enable_rpath+set}" = set; then :
17871 enableval=$enable_rpath; :
17879 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17880 if test -n "$searchpath"; then
17881 acl_save_IFS="${IFS= }"; IFS=":"
17882 for searchdir in $searchpath; do
17883 if test -d "$searchdir"; then
17884 case "$searchdir" in
17885 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17886 *) searchdir=`cd "$searchdir" && pwd`
17887 case "$searchdir" in
17888 */lib64 ) acl_libdirstem=lib64 ;;
17893 IFS="$acl_save_IFS"
17906 acl_save_prefix="$prefix"
17907 prefix="$acl_final_prefix"
17908 acl_save_exec_prefix="$exec_prefix"
17909 exec_prefix="$acl_final_exec_prefix"
17911 eval additional_includedir=\"$includedir\"
17912 eval additional_libdir=\"$libdir\"
17914 exec_prefix="$acl_save_exec_prefix"
17915 prefix="$acl_save_prefix"
17918 # Check whether --with-libiconv-prefix was given.
17919 if test "${with_libiconv_prefix+set}" = set; then :
17920 withval=$with_libiconv_prefix;
17921 if test "X$withval" = "Xno"; then
17924 if test "X$withval" = "X"; then
17926 acl_save_prefix="$prefix"
17927 prefix="$acl_final_prefix"
17928 acl_save_exec_prefix="$exec_prefix"
17929 exec_prefix="$acl_final_exec_prefix"
17931 eval additional_includedir=\"$includedir\"
17932 eval additional_libdir=\"$libdir\"
17934 exec_prefix="$acl_save_exec_prefix"
17935 prefix="$acl_save_prefix"
17938 additional_includedir="$withval/include"
17939 additional_libdir="$withval/$acl_libdirstem"
17951 names_already_handled=
17952 names_next_round='iconv '
17953 while test -n "$names_next_round"; do
17954 names_this_round="$names_next_round"
17956 for name in $names_this_round; do
17958 for n in $names_already_handled; do
17959 if test "$n" = "$name"; then
17960 already_handled=yes
17964 if test -z "$already_handled"; then
17965 names_already_handled="$names_already_handled $name"
17966 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17967 eval value=\"\$HAVE_LIB$uppername\"
17968 if test -n "$value"; then
17969 if test "$value" = yes; then
17970 eval value=\"\$LIB$uppername\"
17971 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
17972 eval value=\"\$LTLIB$uppername\"
17973 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
17982 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
17983 if test -n "$acl_shlibext"; then
17984 shrext=".$acl_shlibext" # typically: shrext=.so
17988 if test $use_additional = yes; then
17989 dir="$additional_libdir"
17990 if test -n "$acl_shlibext"; then
17991 if test -f "$dir/$libname$shrext"; then
17993 found_so="$dir/$libname$shrext"
17995 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17996 ver=`(cd "$dir" && \
17997 for f
in "$libname$shrext".
*; do echo "$f"; done \
17998 | sed -e "s,^$libname$shrext\\\\.,," \
17999 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18000 | sed 1q
) 2>/dev
/null
`
18001 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18003 found_so="$dir/$libname$shrext.$ver"
18006 eval library_names=\"$acl_library_names_spec\"
18007 for f in $library_names; do
18008 if test -f "$dir/$f"; then
18017 if test "X$found_dir" = "X"; then
18018 if test -f "$dir/$libname.$acl_libext"; then
18020 found_a="$dir/$libname.$acl_libext"
18023 if test "X$found_dir" != "X"; then
18024 if test -f "$dir/$libname.la"; then
18025 found_la="$dir/$libname.la"
18029 if test "X$found_dir" = "X"; then
18030 for x in $LDFLAGS $LTLIBICONV; do
18032 acl_save_prefix="$prefix"
18033 prefix="$acl_final_prefix"
18034 acl_save_exec_prefix="$exec_prefix"
18035 exec_prefix="$acl_final_exec_prefix"
18037 exec_prefix="$acl_save_exec_prefix"
18038 prefix="$acl_save_prefix"
18042 dir=`echo "X$x" | sed -e 's/^X-L//'`
18043 if test -n "$acl_shlibext"; then
18044 if test -f "$dir/$libname$shrext"; then
18046 found_so="$dir/$libname$shrext"
18048 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18049 ver=`(cd "$dir" && \
18050 for f
in "$libname$shrext".
*; do echo "$f"; done \
18051 | sed -e "s,^$libname$shrext\\\\.,," \
18052 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18053 | sed 1q
) 2>/dev
/null
`
18054 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18056 found_so="$dir/$libname$shrext.$ver"
18059 eval library_names=\"$acl_library_names_spec\"
18060 for f in $library_names; do
18061 if test -f "$dir/$f"; then
18070 if test "X$found_dir" = "X"; then
18071 if test -f "$dir/$libname.$acl_libext"; then
18073 found_a="$dir/$libname.$acl_libext"
18076 if test "X$found_dir" != "X"; then
18077 if test -f "$dir/$libname.la"; then
18078 found_la="$dir/$libname.la"
18083 if test "X$found_dir" != "X"; then
18088 if test "X$found_dir" != "X"; then
18089 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18090 if test "X$found_so" != "X"; then
18091 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
18092 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18095 for x in $ltrpathdirs; do
18096 if test "X$x" = "X$found_dir"; then
18101 if test -z "$haveit"; then
18102 ltrpathdirs="$ltrpathdirs $found_dir"
18104 if test "$acl_hardcode_direct" = yes; then
18105 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18107 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18108 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18110 for x in $rpathdirs; do
18111 if test "X$x" = "X$found_dir"; then
18116 if test -z "$haveit"; then
18117 rpathdirs="$rpathdirs $found_dir"
18121 for x in $LDFLAGS $LIBICONV; do
18123 acl_save_prefix="$prefix"
18124 prefix="$acl_final_prefix"
18125 acl_save_exec_prefix="$exec_prefix"
18126 exec_prefix="$acl_final_exec_prefix"
18128 exec_prefix="$acl_save_exec_prefix"
18129 prefix="$acl_save_prefix"
18131 if test "X$x" = "X-L$found_dir"; then
18136 if test -z "$haveit"; then
18137 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18139 if test "$acl_hardcode_minus_L" != no; then
18140 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18142 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18148 if test "X$found_a" != "X"; then
18149 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18151 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18154 additional_includedir=
18155 case "$found_dir" in
18156 */$acl_libdirstem | */$acl_libdirstem/)
18157 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18158 LIBICONV_PREFIX="$basedir"
18159 additional_includedir="$basedir/include"
18162 if test "X$additional_includedir" != "X"; then
18163 if test "X$additional_includedir" != "X/usr/include"; then
18165 if test "X$additional_includedir" = "X/usr/local/include"; then
18166 if test -n "$GCC"; then
18168 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18172 if test -z "$haveit"; then
18173 for x in $CPPFLAGS $INCICONV; do
18175 acl_save_prefix="$prefix"
18176 prefix="$acl_final_prefix"
18177 acl_save_exec_prefix="$exec_prefix"
18178 exec_prefix="$acl_final_exec_prefix"
18180 exec_prefix="$acl_save_exec_prefix"
18181 prefix="$acl_save_prefix"
18183 if test "X$x" = "X-I$additional_includedir"; then
18188 if test -z "$haveit"; then
18189 if test -d "$additional_includedir"; then
18190 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18196 if test -n "$found_la"; then
18197 save_libdir="$libdir"
18198 case "$found_la" in
18199 */* | *\\*) . "$found_la" ;;
18200 *) . "./$found_la" ;;
18202 libdir="$save_libdir"
18203 for dep in $dependency_libs; do
18206 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18207 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
18209 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
18210 if test -n "$GCC"; then
18212 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18216 if test -z "$haveit"; then
18218 for x in $LDFLAGS $LIBICONV; do
18220 acl_save_prefix="$prefix"
18221 prefix="$acl_final_prefix"
18222 acl_save_exec_prefix="$exec_prefix"
18223 exec_prefix="$acl_final_exec_prefix"
18225 exec_prefix="$acl_save_exec_prefix"
18226 prefix="$acl_save_prefix"
18228 if test "X$x" = "X-L$additional_libdir"; then
18233 if test -z "$haveit"; then
18234 if test -d "$additional_libdir"; then
18235 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18239 for x in $LDFLAGS $LTLIBICONV; do
18241 acl_save_prefix="$prefix"
18242 prefix="$acl_final_prefix"
18243 acl_save_exec_prefix="$exec_prefix"
18244 exec_prefix="$acl_final_exec_prefix"
18246 exec_prefix="$acl_save_exec_prefix"
18247 prefix="$acl_save_prefix"
18249 if test "X$x" = "X-L$additional_libdir"; then
18254 if test -z "$haveit"; then
18255 if test -d "$additional_libdir"; then
18256 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18263 dir=`echo "X$dep" | sed -e 's/^X-R//'`
18264 if test "$enable_rpath" != no; then
18266 for x in $rpathdirs; do
18267 if test "X$x" = "X$dir"; then
18272 if test -z "$haveit"; then
18273 rpathdirs="$rpathdirs $dir"
18276 for x in $ltrpathdirs; do
18277 if test "X$x" = "X$dir"; then
18282 if test -z "$haveit"; then
18283 ltrpathdirs="$ltrpathdirs $dir"
18288 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18291 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18294 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18295 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18301 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18302 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18308 if test "X$rpathdirs" != "X"; then
18309 if test -n "$acl_hardcode_libdir_separator"; then
18311 for found_dir in $rpathdirs; do
18312 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18314 acl_save_libdir="$libdir"
18316 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18317 libdir="$acl_save_libdir"
18318 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18320 for found_dir in $rpathdirs; do
18321 acl_save_libdir="$libdir"
18322 libdir="$found_dir"
18323 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18324 libdir="$acl_save_libdir"
18325 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18329 if test "X$ltrpathdirs" != "X"; then
18330 for found_dir in $ltrpathdirs; do
18331 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18341 am_save_CPPFLAGS="$CPPFLAGS"
18343 for element in $INCICONV; do
18345 for x in $CPPFLAGS; do
18347 acl_save_prefix="$prefix"
18348 prefix="$acl_final_prefix"
18349 acl_save_exec_prefix="$exec_prefix"
18350 exec_prefix="$acl_final_exec_prefix"
18352 exec_prefix="$acl_save_exec_prefix"
18353 prefix="$acl_save_prefix"
18355 if test "X$x" = "X$element"; then
18360 if test -z "$haveit"; then
18361 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18367 $as_echo_n "checking for iconv... " >&6; }
18368 if test "${am_cv_func_iconv+set}" = set; then :
18369 $as_echo_n "(cached) " >&6
18372 am_cv_func_iconv="no, consider installing GNU libiconv"
18374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18376 #include <stdlib.h>
18381 iconv_t cd = iconv_open("","");
18382 iconv(cd,NULL,NULL,NULL,NULL);
18388 if ac_fn_c_try_link "$LINENO"; then :
18389 am_cv_func_iconv=yes
18391 rm -f core conftest.err conftest.$ac_objext \
18392 conftest$ac_exeext conftest.$ac_ext
18393 if test "$am_cv_func_iconv" != yes; then
18394 am_save_LIBS="$LIBS"
18395 LIBS="$LIBS $LIBICONV"
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18398 #include <stdlib.h>
18403 iconv_t cd = iconv_open("","");
18404 iconv(cd,NULL,NULL,NULL,NULL);
18410 if ac_fn_c_try_link "$LINENO"; then :
18411 am_cv_lib_iconv=yes
18412 am_cv_func_iconv=yes
18414 rm -f core conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext conftest.$ac_ext
18416 LIBS="$am_save_LIBS"
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18421 $as_echo "$am_cv_func_iconv" >&6; }
18422 if test "$am_cv_func_iconv" = yes; then
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
18424 $as_echo_n "checking for working iconv... " >&6; }
18425 if test "${am_cv_func_iconv_works+set}" = set; then :
18426 $as_echo_n "(cached) " >&6
18429 am_save_LIBS="$LIBS"
18430 if test $am_cv_lib_iconv = yes; then
18431 LIBS="$LIBS $LIBICONV"
18433 if test "$cross_compiling" = yes; then :
18435 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
18436 *) am_cv_func_iconv_works="guessing yes" ;;
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18443 #include <string.h>
18446 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
18449 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
18450 if (cd_utf8_to_88591 != (iconv_t)(-1))
18452 static const char input[] = "\342\202\254"; /* EURO SIGN */
18454 const char *inptr = input;
18455 size_t inbytesleft = strlen (input);
18456 char *outptr = buf;
18457 size_t outbytesleft = sizeof (buf);
18458 size_t res = iconv (cd_utf8_to_88591,
18459 (char **) &inptr, &inbytesleft,
18460 &outptr, &outbytesleft);
18465 #if 0 /* This bug could be worked around by the caller. */
18466 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
18468 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
18469 if (cd_88591_to_utf8 != (iconv_t)(-1))
18471 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
18473 const char *inptr = input;
18474 size_t inbytesleft = strlen (input);
18475 char *outptr = buf;
18476 size_t outbytesleft = sizeof (buf);
18477 size_t res = iconv (cd_88591_to_utf8,
18478 (char **) &inptr, &inbytesleft,
18479 &outptr, &outbytesleft);
18485 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
18487 if (/* Try standardized names. */
18488 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
18489 /* Try IRIX, OSF/1 names. */
18490 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
18491 /* Try AIX names. */
18492 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
18493 /* Try HP-UX names. */
18494 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
18499 if ac_fn_c_try_run "$LINENO"; then :
18500 am_cv_func_iconv_works=yes
18502 am_cv_func_iconv_works=no
18504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18505 conftest.$ac_objext conftest.beam conftest.$ac_ext
18508 LIBS="$am_save_LIBS"
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
18512 $as_echo "$am_cv_func_iconv_works" >&6; }
18513 case "$am_cv_func_iconv_works" in
18514 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
18515 *) am_func_iconv=yes ;;
18518 am_func_iconv=no am_cv_lib_iconv=no
18520 if test "$am_func_iconv" = yes; then
18522 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18525 if test "$am_cv_lib_iconv" = yes; then
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18527 $as_echo_n "checking how to link with libiconv... " >&6; }
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18529 $as_echo "$LIBICONV" >&6; }
18531 CPPFLAGS="$am_save_CPPFLAGS"
18538 if test "$am_cv_func_iconv" = yes; then
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18540 $as_echo_n "checking for iconv declaration... " >&6; }
18541 if test "${am_cv_proto_iconv+set}" = set; then :
18542 $as_echo_n "(cached) " >&6
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h. */
18548 #include <stdlib.h>
18554 #if defined(__STDC__) || defined(__cplusplus)
18555 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18568 if ac_fn_c_try_compile "$LINENO"; then :
18569 am_cv_proto_iconv_arg1=""
18571 am_cv_proto_iconv_arg1="const"
18573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18574 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);"
18577 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
18579 }$am_cv_proto_iconv" >&5
18581 }$am_cv_proto_iconv" >&6; }
18583 cat >>confdefs.h <<_ACEOF
18584 #define ICONV_CONST $am_cv_proto_iconv_arg1
18589 case $am_cv_func_iconv in #(
18594 for cy_iconv_prefix_arg in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
18595 case $cy_iconv_prefix_arg in #(
18599 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
18601 for x in $cy_iconv_prefixes; do
18603 acl_save_prefix="$prefix"
18604 prefix="$acl_final_prefix"
18605 acl_save_exec_prefix="$exec_prefix"
18606 exec_prefix="$acl_final_exec_prefix"
18608 exec_prefix="$acl_save_exec_prefix"
18609 prefix="$acl_save_prefix"
18611 if test "X$x" = "X$element"; then
18616 if test -z "$haveit"; then
18617 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
18625 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
18627 for x in $cy_iconv_prefixes; do
18629 acl_save_prefix="$prefix"
18630 prefix="$acl_final_prefix"
18631 acl_save_exec_prefix="$exec_prefix"
18632 exec_prefix="$acl_final_exec_prefix"
18634 exec_prefix="$acl_save_exec_prefix"
18635 prefix="$acl_save_prefix"
18637 if test "X$x" = "X$element"; then
18642 if test -z "$haveit"; then
18643 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
18652 for with_libiconv_prefix in $cy_iconv_prefixes; do
18653 { am_cv_func_iconv=; unset am_cv_func_iconv;}
18664 acl_save_prefix="$prefix"
18665 prefix="$acl_final_prefix"
18666 acl_save_exec_prefix="$exec_prefix"
18667 exec_prefix="$acl_final_exec_prefix"
18669 eval additional_includedir=\"$includedir\"
18670 eval additional_libdir=\"$libdir\"
18672 exec_prefix="$acl_save_exec_prefix"
18673 prefix="$acl_save_prefix"
18676 # Check whether --with-libiconv-prefix was given.
18677 if test "${with_libiconv_prefix+set}" = set; then :
18678 withval=$with_libiconv_prefix;
18679 if test "X$withval" = "Xno"; then
18682 if test "X$withval" = "X"; then
18684 acl_save_prefix="$prefix"
18685 prefix="$acl_final_prefix"
18686 acl_save_exec_prefix="$exec_prefix"
18687 exec_prefix="$acl_final_exec_prefix"
18689 eval additional_includedir=\"$includedir\"
18690 eval additional_libdir=\"$libdir\"
18692 exec_prefix="$acl_save_exec_prefix"
18693 prefix="$acl_save_prefix"
18696 additional_includedir="$withval/include"
18697 additional_libdir="$withval/$acl_libdirstem"
18709 names_already_handled=
18710 names_next_round='iconv '
18711 while test -n "$names_next_round"; do
18712 names_this_round="$names_next_round"
18714 for name in $names_this_round; do
18716 for n in $names_already_handled; do
18717 if test "$n" = "$name"; then
18718 already_handled=yes
18722 if test -z "$already_handled"; then
18723 names_already_handled="$names_already_handled $name"
18724 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18725 eval value=\"\$HAVE_LIB$uppername\"
18726 if test -n "$value"; then
18727 if test "$value" = yes; then
18728 eval value=\"\$LIB$uppername\"
18729 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18730 eval value=\"\$LTLIB$uppername\"
18731 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18740 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18741 if test -n "$acl_shlibext"; then
18742 shrext=".$acl_shlibext" # typically: shrext=.so
18746 if test $use_additional = yes; then
18747 dir="$additional_libdir"
18748 if test -n "$acl_shlibext"; then
18749 if test -f "$dir/$libname$shrext"; then
18751 found_so="$dir/$libname$shrext"
18753 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18754 ver=`(cd "$dir" && \
18755 for f
in "$libname$shrext".
*; do echo "$f"; done \
18756 | sed -e "s,^$libname$shrext\\\\.,," \
18757 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18758 | sed 1q
) 2>/dev
/null
`
18759 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18761 found_so="$dir/$libname$shrext.$ver"
18764 eval library_names=\"$acl_library_names_spec\"
18765 for f in $library_names; do
18766 if test -f "$dir/$f"; then
18775 if test "X$found_dir" = "X"; then
18776 if test -f "$dir/$libname.$acl_libext"; then
18778 found_a="$dir/$libname.$acl_libext"
18781 if test "X$found_dir" != "X"; then
18782 if test -f "$dir/$libname.la"; then
18783 found_la="$dir/$libname.la"
18787 if test "X$found_dir" = "X"; then
18788 for x in $LDFLAGS $LTLIBICONV; do
18790 acl_save_prefix="$prefix"
18791 prefix="$acl_final_prefix"
18792 acl_save_exec_prefix="$exec_prefix"
18793 exec_prefix="$acl_final_exec_prefix"
18795 exec_prefix="$acl_save_exec_prefix"
18796 prefix="$acl_save_prefix"
18800 dir=`echo "X$x" | sed -e 's/^X-L//'`
18801 if test -n "$acl_shlibext"; then
18802 if test -f "$dir/$libname$shrext"; then
18804 found_so="$dir/$libname$shrext"
18806 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18807 ver=`(cd "$dir" && \
18808 for f
in "$libname$shrext".
*; do echo "$f"; done \
18809 | sed -e "s,^$libname$shrext\\\\.,," \
18810 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18811 | sed 1q
) 2>/dev
/null
`
18812 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18814 found_so="$dir/$libname$shrext.$ver"
18817 eval library_names=\"$acl_library_names_spec\"
18818 for f in $library_names; do
18819 if test -f "$dir/$f"; then
18828 if test "X$found_dir" = "X"; then
18829 if test -f "$dir/$libname.$acl_libext"; then
18831 found_a="$dir/$libname.$acl_libext"
18834 if test "X$found_dir" != "X"; then
18835 if test -f "$dir/$libname.la"; then
18836 found_la="$dir/$libname.la"
18841 if test "X$found_dir" != "X"; then
18846 if test "X$found_dir" != "X"; then
18847 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18848 if test "X$found_so" != "X"; then
18849 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
18850 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18853 for x in $ltrpathdirs; do
18854 if test "X$x" = "X$found_dir"; then
18859 if test -z "$haveit"; then
18860 ltrpathdirs="$ltrpathdirs $found_dir"
18862 if test "$acl_hardcode_direct" = yes; then
18863 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18865 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18866 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18868 for x in $rpathdirs; do
18869 if test "X$x" = "X$found_dir"; then
18874 if test -z "$haveit"; then
18875 rpathdirs="$rpathdirs $found_dir"
18879 for x in $LDFLAGS $LIBICONV; do
18881 acl_save_prefix="$prefix"
18882 prefix="$acl_final_prefix"
18883 acl_save_exec_prefix="$exec_prefix"
18884 exec_prefix="$acl_final_exec_prefix"
18886 exec_prefix="$acl_save_exec_prefix"
18887 prefix="$acl_save_prefix"
18889 if test "X$x" = "X-L$found_dir"; then
18894 if test -z "$haveit"; then
18895 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18897 if test "$acl_hardcode_minus_L" != no; then
18898 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18900 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18906 if test "X$found_a" != "X"; then
18907 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18909 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18912 additional_includedir=
18913 case "$found_dir" in
18914 */$acl_libdirstem | */$acl_libdirstem/)
18915 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18916 LIBICONV_PREFIX="$basedir"
18917 additional_includedir="$basedir/include"
18920 if test "X$additional_includedir" != "X"; then
18921 if test "X$additional_includedir" != "X/usr/include"; then
18923 if test "X$additional_includedir" = "X/usr/local/include"; then
18924 if test -n "$GCC"; then
18926 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18930 if test -z "$haveit"; then
18931 for x in $CPPFLAGS $INCICONV; do
18933 acl_save_prefix="$prefix"
18934 prefix="$acl_final_prefix"
18935 acl_save_exec_prefix="$exec_prefix"
18936 exec_prefix="$acl_final_exec_prefix"
18938 exec_prefix="$acl_save_exec_prefix"
18939 prefix="$acl_save_prefix"
18941 if test "X$x" = "X-I$additional_includedir"; then
18946 if test -z "$haveit"; then
18947 if test -d "$additional_includedir"; then
18948 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18954 if test -n "$found_la"; then
18955 save_libdir="$libdir"
18956 case "$found_la" in
18957 */* | *\\*) . "$found_la" ;;
18958 *) . "./$found_la" ;;
18960 libdir="$save_libdir"
18961 for dep in $dependency_libs; do
18964 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18965 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
18967 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
18968 if test -n "$GCC"; then
18970 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18974 if test -z "$haveit"; then
18976 for x in $LDFLAGS $LIBICONV; do
18978 acl_save_prefix="$prefix"
18979 prefix="$acl_final_prefix"
18980 acl_save_exec_prefix="$exec_prefix"
18981 exec_prefix="$acl_final_exec_prefix"
18983 exec_prefix="$acl_save_exec_prefix"
18984 prefix="$acl_save_prefix"
18986 if test "X$x" = "X-L$additional_libdir"; then
18991 if test -z "$haveit"; then
18992 if test -d "$additional_libdir"; then
18993 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18997 for x in $LDFLAGS $LTLIBICONV; do
18999 acl_save_prefix="$prefix"
19000 prefix="$acl_final_prefix"
19001 acl_save_exec_prefix="$exec_prefix"
19002 exec_prefix="$acl_final_exec_prefix"
19004 exec_prefix="$acl_save_exec_prefix"
19005 prefix="$acl_save_prefix"
19007 if test "X$x" = "X-L$additional_libdir"; then
19012 if test -z "$haveit"; then
19013 if test -d "$additional_libdir"; then
19014 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19021 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19022 if test "$enable_rpath" != no; then
19024 for x in $rpathdirs; do
19025 if test "X$x" = "X$dir"; then
19030 if test -z "$haveit"; then
19031 rpathdirs="$rpathdirs $dir"
19034 for x in $ltrpathdirs; do
19035 if test "X$x" = "X$dir"; then
19040 if test -z "$haveit"; then
19041 ltrpathdirs="$ltrpathdirs $dir"
19046 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19049 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19052 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19053 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19059 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19060 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19066 if test "X$rpathdirs" != "X"; then
19067 if test -n "$acl_hardcode_libdir_separator"; then
19069 for found_dir in $rpathdirs; do
19070 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19072 acl_save_libdir="$libdir"
19074 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19075 libdir="$acl_save_libdir"
19076 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19078 for found_dir in $rpathdirs; do
19079 acl_save_libdir="$libdir"
19080 libdir="$found_dir"
19081 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19082 libdir="$acl_save_libdir"
19083 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19087 if test "X$ltrpathdirs" != "X"; then
19088 for found_dir in $ltrpathdirs; do
19089 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19099 am_save_CPPFLAGS="$CPPFLAGS"
19101 for element in $INCICONV; do
19103 for x in $CPPFLAGS; do
19105 acl_save_prefix="$prefix"
19106 prefix="$acl_final_prefix"
19107 acl_save_exec_prefix="$exec_prefix"
19108 exec_prefix="$acl_final_exec_prefix"
19110 exec_prefix="$acl_save_exec_prefix"
19111 prefix="$acl_save_prefix"
19113 if test "X$x" = "X$element"; then
19118 if test -z "$haveit"; then
19119 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
19125 $as_echo_n "checking for iconv... " >&6; }
19126 if test "${am_cv_func_iconv+set}" = set; then :
19127 $as_echo_n "(cached) " >&6
19130 am_cv_func_iconv="no, consider installing GNU libiconv"
19132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19133 /* end confdefs.h. */
19134 #include <stdlib.h>
19139 iconv_t cd = iconv_open("","");
19140 iconv(cd,NULL,NULL,NULL,NULL);
19146 if ac_fn_c_try_link "$LINENO"; then :
19147 am_cv_func_iconv=yes
19149 rm -f core conftest.err conftest.$ac_objext \
19150 conftest$ac_exeext conftest.$ac_ext
19151 if test "$am_cv_func_iconv" != yes; then
19152 am_save_LIBS="$LIBS"
19153 LIBS="$LIBS $LIBICONV"
19154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19155 /* end confdefs.h. */
19156 #include <stdlib.h>
19161 iconv_t cd = iconv_open("","");
19162 iconv(cd,NULL,NULL,NULL,NULL);
19168 if ac_fn_c_try_link "$LINENO"; then :
19169 am_cv_lib_iconv=yes
19170 am_cv_func_iconv=yes
19172 rm -f core conftest.err conftest.$ac_objext \
19173 conftest$ac_exeext conftest.$ac_ext
19174 LIBS="$am_save_LIBS"
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
19179 $as_echo "$am_cv_func_iconv" >&6; }
19180 if test "$am_cv_func_iconv" = yes; then
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
19182 $as_echo_n "checking for working iconv... " >&6; }
19183 if test "${am_cv_func_iconv_works+set}" = set; then :
19184 $as_echo_n "(cached) " >&6
19187 am_save_LIBS="$LIBS"
19188 if test $am_cv_lib_iconv = yes; then
19189 LIBS="$LIBS $LIBICONV"
19191 if test "$cross_compiling" = yes; then :
19193 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
19194 *) am_cv_func_iconv_works="guessing yes" ;;
19197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19198 /* end confdefs.h. */
19201 #include <string.h>
19204 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
19207 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
19208 if (cd_utf8_to_88591 != (iconv_t)(-1))
19210 static const char input[] = "\342\202\254"; /* EURO SIGN */
19212 const char *inptr = input;
19213 size_t inbytesleft = strlen (input);
19214 char *outptr = buf;
19215 size_t outbytesleft = sizeof (buf);
19216 size_t res = iconv (cd_utf8_to_88591,
19217 (char **) &inptr, &inbytesleft,
19218 &outptr, &outbytesleft);
19223 #if 0 /* This bug could be worked around by the caller. */
19224 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
19226 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
19227 if (cd_88591_to_utf8 != (iconv_t)(-1))
19229 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
19231 const char *inptr = input;
19232 size_t inbytesleft = strlen (input);
19233 char *outptr = buf;
19234 size_t outbytesleft = sizeof (buf);
19235 size_t res = iconv (cd_88591_to_utf8,
19236 (char **) &inptr, &inbytesleft,
19237 &outptr, &outbytesleft);
19243 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
19245 if (/* Try standardized names. */
19246 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
19247 /* Try IRIX, OSF/1 names. */
19248 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
19249 /* Try AIX names. */
19250 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
19251 /* Try HP-UX names. */
19252 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
19257 if ac_fn_c_try_run "$LINENO"; then :
19258 am_cv_func_iconv_works=yes
19260 am_cv_func_iconv_works=no
19262 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19263 conftest.$ac_objext conftest.beam conftest.$ac_ext
19266 LIBS="$am_save_LIBS"
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
19270 $as_echo "$am_cv_func_iconv_works" >&6; }
19271 case "$am_cv_func_iconv_works" in
19272 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
19273 *) am_func_iconv=yes ;;
19276 am_func_iconv=no am_cv_lib_iconv=no
19278 if test "$am_func_iconv" = yes; then
19280 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
19283 if test "$am_cv_lib_iconv" = yes; then
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
19285 $as_echo_n "checking how to link with libiconv... " >&6; }
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
19287 $as_echo "$LIBICONV" >&6; }
19289 CPPFLAGS="$am_save_CPPFLAGS"
19296 if test "$am_cv_func_iconv" = yes; then
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
19298 $as_echo_n "checking for iconv declaration... " >&6; }
19299 if test "${am_cv_proto_iconv+set}" = set; then :
19300 $as_echo_n "(cached) " >&6
19303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h. */
19306 #include <stdlib.h>
19312 #if defined(__STDC__) || defined(__cplusplus)
19313 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
19326 if ac_fn_c_try_compile "$LINENO"; then :
19327 am_cv_proto_iconv_arg1=""
19329 am_cv_proto_iconv_arg1="const"
19331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19332 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);"
19335 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
19337 }$am_cv_proto_iconv" >&5
19339 }$am_cv_proto_iconv" >&6; }
19341 cat >>confdefs.h <<_ACEOF
19342 #define ICONV_CONST $am_cv_proto_iconv_arg1
19350 case $am_cv_func_iconv in #(
19354 as_fn_error "You need iconv" "$LINENO" 5 ;;
19357 ac_cpp='$CXXCPP $CPPFLAGS'
19358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19362 if test "x$CY_OBJECTIVEC" = x1; then :
19364 ac_fn_cxx_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
19365 if test "x$ac_cv_header_mach_mach_h" = x""yes; then :
19367 if test -n "$ac_tool_prefix"; then
19368 for ac_prog in otool
19370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19371 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19373 $as_echo_n "checking for $ac_word... " >&6; }
19374 if test "${ac_cv_prog__OTOOL+set}" = set; then :
19375 $as_echo_n "(cached) " >&6
19377 if test -n "$_OTOOL"; then
19378 ac_cv_prog__OTOOL="$_OTOOL" # Let the user override the test.
19380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19381 for as_dir in $PATH
19384 test -z "$as_dir" && as_dir=.
19385 for ac_exec_ext in '' $ac_executable_extensions; do
19386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19387 ac_cv_prog__OTOOL="$ac_tool_prefix$ac_prog"
19388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19397 _OTOOL=$ac_cv_prog__OTOOL
19398 if test -n "$_OTOOL"; then
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
19400 $as_echo "$_OTOOL" >&6; }
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19403 $as_echo "no" >&6; }
19407 test -n "$_OTOOL" && break
19410 if test -z "$_OTOOL"; then
19411 ac_ct__OTOOL=$_OTOOL
19412 for ac_prog in otool
19414 # Extract the first word of "$ac_prog", so it can be a program name with args.
19415 set dummy $ac_prog; ac_word=$2
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19417 $as_echo_n "checking for $ac_word... " >&6; }
19418 if test "${ac_cv_prog_ac_ct__OTOOL+set}" = set; then :
19419 $as_echo_n "(cached) " >&6
19421 if test -n "$ac_ct__OTOOL"; then
19422 ac_cv_prog_ac_ct__OTOOL="$ac_ct__OTOOL" # Let the user override the test.
19424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19425 for as_dir in $PATH
19428 test -z "$as_dir" && as_dir=.
19429 for ac_exec_ext in '' $ac_executable_extensions; do
19430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19431 ac_cv_prog_ac_ct__OTOOL="$ac_prog"
19432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19441 ac_ct__OTOOL=$ac_cv_prog_ac_ct__OTOOL
19442 if test -n "$ac_ct__OTOOL"; then
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
19444 $as_echo "$ac_ct__OTOOL" >&6; }
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19447 $as_echo "no" >&6; }
19451 test -n "$ac_ct__OTOOL" && break
19454 if test "x$ac_ct__OTOOL" = x; then
19457 case $cross_compiling:$ac_tool_warned in
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19461 ac_tool_warned=yes ;;
19463 _OTOOL=$ac_ct__OTOOL
19467 if test "x$_OTOOL" = x; then :
19468 as_fn_error "You need otool" "$LINENO" 5
19470 if test -n "$ac_tool_prefix"; then
19471 for ac_prog in lipo
19473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19476 $as_echo_n "checking for $ac_word... " >&6; }
19477 if test "${ac_cv_prog__LIPO+set}" = set; then :
19478 $as_echo_n "(cached) " >&6
19480 if test -n "$_LIPO"; then
19481 ac_cv_prog__LIPO="$_LIPO" # Let the user override the test.
19483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19484 for as_dir in $PATH
19487 test -z "$as_dir" && as_dir=.
19488 for ac_exec_ext in '' $ac_executable_extensions; do
19489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19490 ac_cv_prog__LIPO="$ac_tool_prefix$ac_prog"
19491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19500 _LIPO=$ac_cv_prog__LIPO
19501 if test -n "$_LIPO"; then
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
19503 $as_echo "$_LIPO" >&6; }
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19506 $as_echo "no" >&6; }
19510 test -n "$_LIPO" && break
19513 if test -z "$_LIPO"; then
19515 for ac_prog in lipo
19517 # Extract the first word of "$ac_prog", so it can be a program name with args.
19518 set dummy $ac_prog; ac_word=$2
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19520 $as_echo_n "checking for $ac_word... " >&6; }
19521 if test "${ac_cv_prog_ac_ct__LIPO+set}" = set; then :
19522 $as_echo_n "(cached) " >&6
19524 if test -n "$ac_ct__LIPO"; then
19525 ac_cv_prog_ac_ct__LIPO="$ac_ct__LIPO" # Let the user override the test.
19527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19528 for as_dir in $PATH
19531 test -z "$as_dir" && as_dir=.
19532 for ac_exec_ext in '' $ac_executable_extensions; do
19533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19534 ac_cv_prog_ac_ct__LIPO="$ac_prog"
19535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19544 ac_ct__LIPO=$ac_cv_prog_ac_ct__LIPO
19545 if test -n "$ac_ct__LIPO"; then
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
19547 $as_echo "$ac_ct__LIPO" >&6; }
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19550 $as_echo "no" >&6; }
19554 test -n "$ac_ct__LIPO" && break
19557 if test "x$ac_ct__LIPO" = x; then
19560 case $cross_compiling:$ac_tool_warned in
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19564 ac_tool_warned=yes ;;
19570 if test "x$_LIPO" = x; then :
19571 as_fn_error "You need lipo" "$LINENO" 5
19573 if test -n "$ac_tool_prefix"; then
19576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19579 $as_echo_n "checking for $ac_word... " >&6; }
19580 if test "${ac_cv_prog__NM+set}" = set; then :
19581 $as_echo_n "(cached) " >&6
19583 if test -n "$_NM"; then
19584 ac_cv_prog__NM="$_NM" # Let the user override the test.
19586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19587 for as_dir in $PATH
19590 test -z "$as_dir" && as_dir=.
19591 for ac_exec_ext in '' $ac_executable_extensions; do
19592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19593 ac_cv_prog__NM="$ac_tool_prefix$ac_prog"
19594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19603 _NM=$ac_cv_prog__NM
19604 if test -n "$_NM"; then
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
19606 $as_echo "$_NM" >&6; }
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19609 $as_echo "no" >&6; }
19613 test -n "$_NM" && break
19616 if test -z "$_NM"; then
19620 # Extract the first word of "$ac_prog", so it can be a program name with args.
19621 set dummy $ac_prog; ac_word=$2
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19623 $as_echo_n "checking for $ac_word... " >&6; }
19624 if test "${ac_cv_prog_ac_ct__NM+set}" = set; then :
19625 $as_echo_n "(cached) " >&6
19627 if test -n "$ac_ct__NM"; then
19628 ac_cv_prog_ac_ct__NM="$ac_ct__NM" # Let the user override the test.
19630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19631 for as_dir in $PATH
19634 test -z "$as_dir" && as_dir=.
19635 for ac_exec_ext in '' $ac_executable_extensions; do
19636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19637 ac_cv_prog_ac_ct__NM="$ac_prog"
19638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19647 ac_ct__NM=$ac_cv_prog_ac_ct__NM
19648 if test -n "$ac_ct__NM"; then
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
19650 $as_echo "$ac_ct__NM" >&6; }
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19653 $as_echo "no" >&6; }
19657 test -n "$ac_ct__NM" && break
19660 if test "x$ac_ct__NM" = x; then
19663 case $cross_compiling:$ac_tool_warned in
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19667 ac_tool_warned=yes ;;
19673 if test "x$_NM" = x; then :
19674 as_fn_error "You need nm" "$LINENO" 5
19678 CY_OBJECTIVEC_MACH=1
19680 CY_ATTACH_GROUP=procmod
19688 if test "x$GMAKE" != xmake; then :
19690 ac_config_files="$ac_config_files Makefile"
19694 ac_config_files="$ac_config_files GNUmakefile"
19696 cat >confcache <<\_ACEOF
19697 # This file is a shell script that caches the results of configure
19698 # tests run on this system so they can be shared between configure
19699 # scripts and configure runs, see configure's option --config-cache.
19700 # It is not useful on other systems. If it contains results you don't
19701 # want to keep, you may remove or edit it.
19703 # config.status only pays attention to the cache file if you give it
19704 # the --recheck option to rerun configure.
19706 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19707 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19708 # following values.
19712 # The following way of writing the cache mishandles newlines in values,
19713 # but we know of no workaround that is simple, portable, and efficient.
19714 # So, we kill variables containing newlines.
19715 # Ultrix sh set writes to stderr and can't be redirected directly,
19716 # and sets the high bit in the cache file unless we assign to the vars.
19718 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19719 eval ac_val
=\$
$ac_var
19723 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19724 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19727 _
| IFS
| as_nl
) ;; #(
19728 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
19729 *) { eval $ac_var=; unset $ac_var;} ;;
19735 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19736 *${as_nl}ac_space
=\
*)
19737 # `set' does not quote correctly, so add quotes: double-quote
19738 # substitution turns \\\\ into \\, and sed turns \\ into \.
19741 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19744 # `set' quotes correctly as required by POSIX, so do not add quotes.
19745 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19756 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19758 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19759 if test -w "$cache_file"; then
19760 test "x$cache_file" != "x/dev/null" &&
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19762 $as_echo "$as_me: updating cache $cache_file" >&6;}
19763 cat confcache
>$cache_file
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19766 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19771 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19772 # Let make expand exec_prefix.
19773 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19775 # Transform confdefs.h into DEFS.
19776 # Protect against shell expansion while executing Makefile rules.
19777 # Protect against Makefile macro expansion.
19779 # If the first sed substitution is executed (which looks for macros that
19780 # take arguments), then branch to the quote section. Otherwise,
19781 # look for a macro that doesn't take arguments.
19791 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
19793 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
19797 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
19810 DEFS
=`sed -n "$ac_script" confdefs.h`
19815 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19816 # 1. Remove the extension, and $U if already installed.
19817 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19818 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19819 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19820 # will be set to the directory where LIBOBJS objects are built.
19821 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19822 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19824 LIBOBJS
=$ac_libobjs
19826 LTLIBOBJS
=$ac_ltlibobjs
19830 : ${CONFIG_STATUS=./config.status}
19832 ac_clean_files_save
=$ac_clean_files
19833 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19835 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19837 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19839 # Generated by $as_me.
19840 # Run this file to recreate the current configuration.
19841 # Compiler output produced by configure, useful for debugging
19842 # configure, is in config.log if it exists.
19845 ac_cs_recheck=false
19848 SHELL=\${CONFIG_SHELL-$SHELL}
19851 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
19852 ## -------------------- ##
19853 ## M4sh Initialization. ##
19854 ## -------------------- ##
19856 # Be more Bourne compatible
19857 DUALCASE
=1; export DUALCASE
# for MKS sh
19858 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19861 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19862 # is contrary to our usage. Disable this feature.
19863 alias -g '${1+"$@"}'='"$@"'
19864 setopt NO_GLOB_SUBST
19866 case `(set -o) 2>/dev/null` in #(
19878 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19879 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19880 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19881 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19882 # Prefer a ksh shell builtin over an external printf program on Solaris,
19883 # but without wasting forks for bash or zsh.
19884 if test -z "$BASH_VERSION$ZSH_VERSION" \
19885 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19886 as_echo='print
-r --'
19887 as_echo_n='print
-rn --'
19888 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19889 as_echo='printf %s
\n'
19890 as_echo_n='printf %s
'
19892 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19893 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19894 as_echo_n='/usr
/ucb
/echo -n'
19896 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19897 as_echo_n_body='eval
19901 expr "X$arg" : "X\\(.*\\)$as_nl";
19902 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19904 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19906 export as_echo_n_body
19907 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19909 export as_echo_body
19910 as_echo='sh
-c $as_echo_body as_echo
'
19913 # The user is always right.
19914 if test "${PATH_SEPARATOR+set}" != set; then
19916 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19917 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19924 # We need space, tab and new line, in precisely that order. Quoting is
19925 # there to prevent editors from complaining about space-tab.
19926 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19927 # splitting by setting IFS to empty value.)
19930 # Find who we are. Look in the path if we contain no directory separator.
19932 *[\\/]* ) as_myself=$0 ;;
19933 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19934 for as_dir in $PATH
19937 test -z "$as_dir" && as_dir=.
19938 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19944 # We did not find ourselves, most probably we were run as `sh COMMAND'
19945 # in which case we are not to be found in the path.
19946 if test "x$as_myself" = x
; then
19949 if test ! -f "$as_myself"; then
19950 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19954 # Unset variables that we do not need and which cause bugs (e.g. in
19955 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19956 # suppresses any "Segmentation fault" message there. '((' could
19957 # trigger a bug in pdksh 5.2.14.
19958 for as_var
in BASH_ENV ENV MAIL MAILPATH
19959 do eval test x\
${$as_var+set} = xset \
19960 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
19973 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19976 # as_fn_error ERROR [LINENO LOG_FD]
19977 # ---------------------------------
19978 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19979 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19980 # script with status $?, using 1 if that was 0.
19983 as_status
=$?
; test $as_status -eq 0 && as_status
=1
19985 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19986 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
19988 $as_echo "$as_me: error: $1" >&2
19989 as_fn_exit
$as_status
19993 # as_fn_set_status STATUS
19994 # -----------------------
19995 # Set $? to STATUS, without forking.
19996 as_fn_set_status
()
19999 } # as_fn_set_status
20001 # as_fn_exit STATUS
20002 # -----------------
20003 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20007 as_fn_set_status
$1
20013 # Portably unset VAR.
20016 { eval $1=; unset $1;}
20018 as_unset
=as_fn_unset
20019 # as_fn_append VAR VALUE
20020 # ----------------------
20021 # Append the text in VALUE to the end of the definition contained in VAR. Take
20022 # advantage of any shell optimizations that allow amortized linear growth over
20023 # repeated appends, instead of the typical quadratic growth present in naive
20025 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20026 eval 'as_fn_append ()
20037 # as_fn_arith ARG...
20038 # ------------------
20039 # Perform arithmetic evaluation on the ARGs, and store the result in the
20040 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20041 # must be portable across $(()) and expr.
20042 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20043 eval 'as_fn_arith ()
20050 as_val
=`expr "$@" || test $? -eq 1`
20055 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20056 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20062 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20063 as_basename
=basename
20068 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20074 as_me
=`$as_basename -- "$0" ||
20075 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20076 X"$0" : 'X\(//\)$' \| \
20077 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20079 sed '/^.*\/\([^/][^/]*\)\/*$/{
20093 # Avoid depending upon Character Ranges.
20094 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20095 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20096 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20097 as_cr_digits
='0123456789'
20098 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20100 ECHO_C
= ECHO_N
= ECHO_T
=
20101 case `echo -n x` in #(((((
20103 case `echo 'xy\c'` in
20104 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20106 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20113 rm -f conf$$ conf$$.exe conf$$.
file
20114 if test -d conf$$.dir
; then
20115 rm -f conf$$.dir
/conf$$.
file
20118 mkdir conf$$.dir
2>/dev
/null
20120 if (echo >conf$$.
file) 2>/dev
/null
; then
20121 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20123 # ... but there are two gotchas:
20124 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20125 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20126 # In both cases, we have to default to `cp -p'.
20127 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20129 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20137 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20138 rmdir conf$$.dir
2>/dev
/null
20143 # Create "$as_dir" as a directory, including parents if necessary.
20148 -*) as_dir
=.
/$as_dir;;
20150 test -d "$as_dir" || eval $as_mkdir_p || {
20154 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20155 *) as_qdir
=$as_dir;;
20157 as_dirs
="'$as_qdir' $as_dirs"
20158 as_dir
=`$as_dirname -- "$as_dir" ||
20159 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20160 X"$as_dir" : 'X\(//\)[^/]' \| \
20161 X"$as_dir" : 'X\(//\)$' \| \
20162 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20163 $as_echo X"$as_dir" |
20164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20168 /^X\(\/\/\)[^/].*/{
20181 test -d "$as_dir" && break
20183 test -z "$as_dirs" || eval "mkdir $as_dirs"
20184 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
20188 if mkdir -p .
2>/dev
/null
; then
20189 as_mkdir_p
='mkdir -p "$as_dir"'
20191 test -d .
/-p && rmdir .
/-p
20195 if test -x / >/dev
/null
2>&1; then
20196 as_test_x
='test -x'
20198 if ls -dL / >/dev
/null
2>&1; then
20205 if test -d "$1"; then
20211 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20212 ???[sx]*):;;*)false;;esac;fi
20216 as_executable_p
=$as_test_x
20218 # Sed expression to map a string onto a valid CPP name.
20219 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20221 # Sed expression to map a string onto a valid variable name.
20222 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20226 ## ----------------------------------- ##
20227 ## Main body of $CONFIG_STATUS script. ##
20228 ## ----------------------------------- ##
20230 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20232 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20233 # Save the log message, to keep $0 and so on meaningful, and to
20234 # report actual input values of CONFIG_FILES etc. instead of their
20235 # values after options handling.
20237 This file was extended by Cycript $as_me 0.9, which was
20238 generated by GNU Autoconf 2.65. Invocation command line was
20240 CONFIG_FILES = $CONFIG_FILES
20241 CONFIG_HEADERS = $CONFIG_HEADERS
20242 CONFIG_LINKS = $CONFIG_LINKS
20243 CONFIG_COMMANDS = $CONFIG_COMMANDS
20246 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20251 case $ac_config_files in *"
20252 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20258 # Files that config.status was made for.
20259 config_files="$ac_config_files"
20260 config_commands="$ac_config_commands"
20264 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20266 \`$as_me' instantiates files and other configuration actions
20267 from templates according to the current configuration. Unless the files
20268 and actions are specified as TAGs, all are instantiated by default.
20270 Usage: $0 [OPTION]... [TAG]...
20272 -h, --help print this help, then exit
20273 -V, --version print version number and configuration settings, then exit
20274 --config print configuration, then exit
20275 -q, --quiet, --silent
20276 do not print progress messages
20277 -d, --debug don't remove temporary files
20278 --recheck update $as_me by reconfiguring in the same conditions
20279 --file=FILE[:TEMPLATE]
20280 instantiate the configuration file FILE
20282 Configuration files:
20285 Configuration commands:
20288 Report bugs to <saurik@saurik.com>.
20289 Cycript home page: <http://www.cycript.org/>."
20292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20293 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20295 Cycript config.status 0.9
20296 configured by $0, generated by GNU Autoconf 2.65,
20297 with options \\"\$ac_cs_config\\"
20299 Copyright (C) 2009 Free Software Foundation, Inc.
20300 This config.status script is free software; the Free Software Foundation
20301 gives unlimited permission to copy, distribute and modify it."
20306 test -n "\$AWK" || AWK=awk
20309 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20310 # The default lists apply if the user does not specify any file.
20316 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20317 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20328 # Handling of the options.
20329 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20331 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20332 $as_echo "$ac_cs_version"; exit ;;
20333 --config | --confi | --conf | --con | --co | --c )
20334 $as_echo "$ac_cs_config"; exit ;;
20335 --debug | --debu | --deb | --de | --d | -d )
20337 --file | --fil | --fi | --f )
20340 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20342 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20343 ac_need_defaults
=false
;;
20344 --he | --h | --help | --hel | -h )
20345 $as_echo "$ac_cs_usage"; exit ;;
20346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20347 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20350 # This is an error.
20351 -*) as_fn_error
"unrecognized option: \`$1'
20352 Try \`$0 --help' for more information." ;;
20354 *) as_fn_append ac_config_targets
" $1"
20355 ac_need_defaults
=false
;;
20361 ac_configure_extra_args
=
20363 if $ac_cs_silent; then
20365 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20370 if \$ac_cs_recheck; then
20371 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20373 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20374 CONFIG_SHELL='$SHELL'
20375 export CONFIG_SHELL
20380 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20384 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20385 ## Running $as_me. ##
20391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20397 # The HP-UX ksh and POSIX shell print the target directory to stdout
20398 # if CDPATH is set.
20399 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20401 sed_quote_subst='$sed_quote_subst'
20402 double_quote_subst='$double_quote_subst'
20403 delay_variable_subst='$delay_variable_subst'
20404 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20405 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20406 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20407 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20408 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20409 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20410 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20411 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20412 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20413 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20414 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20415 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20416 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20417 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20418 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20419 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20420 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20421 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20422 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20423 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20424 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20425 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20426 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20427 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20428 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20429 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20430 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20431 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20432 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20433 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20434 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20435 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20436 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20437 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20438 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20439 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20440 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20441 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20442 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20443 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20444 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20445 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20446 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20447 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20448 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"`'
20449 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"`'
20450 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20451 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20452 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20453 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20454 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20455 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20456 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20457 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20458 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20459 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20460 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20461 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20462 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20463 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20464 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20465 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20466 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20467 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20468 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20469 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20470 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20471 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20472 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20473 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20474 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20475 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20476 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20477 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20478 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20479 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20480 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20481 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20482 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20483 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20484 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20485 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20486 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20487 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20488 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20489 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20490 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20491 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20492 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20493 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20494 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20495 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20496 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20497 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20498 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20499 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20500 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20501 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20502 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20503 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20504 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20505 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20506 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20507 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20508 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20509 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20510 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20511 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20512 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20513 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20514 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20515 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20516 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20517 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20518 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20519 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20520 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20521 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20522 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
20523 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20524 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20525 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20526 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20527 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20528 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20529 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20530 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20531 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20532 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20533 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20534 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20535 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20536 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20537 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20538 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20539 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20540 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20541 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20542 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20543 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20544 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20545 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20546 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20547 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20548 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20549 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20550 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20551 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20552 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20553 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20554 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20555 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20556 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20557 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20558 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20559 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20560 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20561 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20562 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20563 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20564 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20565 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20566 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20567 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20568 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20569 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20570 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20571 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20572 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20573 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20574 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20577 LTCFLAGS='$LTCFLAGS'
20578 compiler='$compiler_DEFAULT'
20580 # Quote evaled strings.
20592 deplibs_check_method \
20601 lt_cv_sys_global_symbol_pipe \
20602 lt_cv_sys_global_symbol_to_cdecl \
20603 lt_cv_sys_global_symbol_to_c_name_address \
20604 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20607 lt_prog_compiler_no_builtin_flag \
20608 lt_prog_compiler_wl \
20609 lt_prog_compiler_pic \
20610 lt_prog_compiler_static \
20611 lt_cv_prog_compiler_c_o \
20619 export_dynamic_flag_spec \
20620 whole_archive_flag_spec \
20621 compiler_needs_object \
20623 allow_undefined_flag \
20624 no_undefined_flag \
20625 hardcode_libdir_flag_spec \
20626 hardcode_libdir_flag_spec_ld \
20627 hardcode_libdir_separator \
20632 variables_saved_for_relink \
20634 library_names_spec \
20639 compiler_lib_search_dirs \
20644 compiler_lib_search_path \
20647 lt_prog_compiler_no_builtin_flag_CXX \
20648 lt_prog_compiler_wl_CXX \
20649 lt_prog_compiler_pic_CXX \
20650 lt_prog_compiler_static_CXX \
20651 lt_cv_prog_compiler_c_o_CXX \
20652 export_dynamic_flag_spec_CXX \
20653 whole_archive_flag_spec_CXX \
20654 compiler_needs_object_CXX \
20656 allow_undefined_flag_CXX \
20657 no_undefined_flag_CXX \
20658 hardcode_libdir_flag_spec_CXX \
20659 hardcode_libdir_flag_spec_ld_CXX \
20660 hardcode_libdir_separator_CXX \
20661 fix_srcfile_path_CXX \
20662 exclude_expsyms_CXX \
20663 include_expsyms_CXX \
20664 file_list_spec_CXX \
20665 compiler_lib_search_dirs_CXX \
20666 predep_objects_CXX \
20667 postdep_objects_CXX \
20670 compiler_lib_search_path_CXX; do
20671 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20672 *[\\\\\\\`\\"\\\$]*)
20673 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20676 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20681 # Double-quote double-evaled strings.
20682 for var in reload_cmds \
20683 old_postinstall_cmds \
20684 old_postuninstall_cmds \
20686 extract_expsyms_cmds \
20687 old_archive_from_new_cmds \
20688 old_archive_from_expsyms_cmds \
20690 archive_expsym_cmds \
20692 module_expsym_cmds \
20693 export_symbols_cmds \
20696 postuninstall_cmds \
20698 sys_lib_search_path_spec \
20699 sys_lib_dlsearch_path_spec \
20700 old_archive_cmds_CXX \
20701 old_archive_from_new_cmds_CXX \
20702 old_archive_from_expsyms_cmds_CXX \
20704 archive_expsym_cmds_CXX \
20706 module_expsym_cmds_CXX \
20707 export_symbols_cmds_CXX \
20708 prelink_cmds_CXX; do
20709 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20710 *[\\\\\\\`\\"\\\$]*)
20711 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20714 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20719 # Fix-up fallback echo if it was mangled by the above quoting rules.
20721 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20725 ac_aux_dir='$ac_aux_dir'
20726 xsi_shell='$xsi_shell'
20727 lt_shell_append='$lt_shell_append'
20729 # See if we are running on zsh, and set the options which allow our
20730 # commands through without removal of \ escapes INIT.
20731 if test -n "\${ZSH_VERSION+set}" ; then
20732 setopt NO_GLOB_SUBST
20738 TIMESTAMP='$TIMESTAMP'
20749 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20751 # Handling of arguments.
20752 for ac_config_target
in $ac_config_targets
20754 case $ac_config_target in
20755 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20756 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20757 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
20759 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20764 # If the user did not use the arguments to specify the items to instantiate,
20765 # then the envvar interface is used. Set only those that are not.
20766 # We use the long form for the default assignment because of an extremely
20767 # bizarre bug on SunOS 4.1.3.
20768 if $ac_need_defaults; then
20769 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20770 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20773 # Have a temporary directory for convenience. Make it in the build tree
20774 # simply because there is no reason against having it here, and in addition,
20775 # creating and moving files from /tmp can sometimes cause problems.
20776 # Hook for its removal unless debugging.
20777 # Note that there is a small window in which the directory will not be cleaned:
20778 # after its creation but before its name has been assigned to `$tmp'.
20782 trap 'exit_status=$?
20783 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20785 trap 'as_fn_exit 1' 1 2 13 15
20787 # Create a (secure) tmp directory for tmp files.
20790 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20791 test -n "$tmp" && test -d "$tmp"
20794 tmp
=.
/conf$$
-$RANDOM
20795 (umask 077 && mkdir "$tmp")
20796 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
20798 # Set up the scripts for CONFIG_FILES section.
20799 # No need to generate them if there are no CONFIG_FILES.
20800 # This happens for instance with `./config.status config.h'.
20801 if test -n "$CONFIG_FILES"; then
20804 ac_cr
=`echo X | tr X '\015'`
20805 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20806 # But we know of no other shell where ac_cr would be empty at this
20807 # point, so we can use a bashism as a fallback.
20808 if test "x$ac_cr" = x
; then
20809 eval ac_cr
=\$
\'\\r
\'
20811 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20812 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20815 ac_cs_awk_cr
=$ac_cr
20818 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20823 echo "cat >conf$$subs.awk <<_ACEOF" &&
20824 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20826 } >conf$$subs.sh ||
20827 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20828 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
20830 for ac_last_try in false false false false false :; do
20831 . ./conf$$subs.sh ||
20832 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20834 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20835 if test $ac_delim_n = $ac_delim_num; then
20837 elif $ac_last_try; then
20838 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20840 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20843 rm -f conf$$subs.sh
20845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20846 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
20850 s/^/S["/; s
/!.
*/"]=/
20860 s/\(.\{148\}\)..*/\1/
20862 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20867 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20874 s/\(.\{148\}\)..*/\1/
20876 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20880 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20885 ' <conf$$subs.awk | sed '
20890 ' >>$CONFIG_STATUS || ac_write_fail=1
20891 rm -f conf$$subs.awk
20892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20894 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
20895 for (key in S) S_is_set[key] = 1
20901 nfields = split(line, field, "@
")
20903 len = length(field[1])
20904 for (i = 2; i < nfields; i++) {
20906 keylen = length(key)
20907 if (S_is_set[key]) {
20909 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20910 len += length(value) + length(field[++i])
20921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20922 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20923 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20926 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
20927 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
20930 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20931 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
20932 # trailing colons and then remove the whole line if VPATH becomes empty
20933 # (actually we leave an empty line to preserve line numbers).
20934 if test "x
$srcdir" = x.; then
20935 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20936 s/:*\$(srcdir):*/:/
20937 s/:*\${srcdir}:*/:/
20939 s/^\([^=]*=[ ]*\):*/\1/
20945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20946 fi # test -n "$CONFIG_FILES"
20949 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
20954 :[FHLC]) ac_mode=$ac_tag; continue;;
20956 case $ac_mode$ac_tag in
20958 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
20959 :[FH]-) ac_tag=-:-;;
20960 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20977 -) ac_f="$tmp/stdin";;
20978 *) # Look for the file first in the build tree, then in the source tree
20979 # (if the path is not absolute). The absolute path cannot be DOS-style,
20980 # because $ac_f cannot contain `:'.
20984 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20986 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20988 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
20989 as_fn_append ac_file_inputs " '$ac_f'"
20992 # Let's still pretend it is `configure' which instantiates (i.e., don't
20993 # use $as_me), people would be surprised to read:
20994 # /* config.h. Generated by config.status. */
20995 configure_input='Generated from '`
20996 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20998 if test x"$ac_file" != x-; then
20999 configure_input="$ac_file.
$configure_input"
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
21001 $as_echo "$as_me: creating
$ac_file" >&6;}
21003 # Neutralize special characters interpreted by sed in replacement strings.
21004 case $configure_input in #(
21005 *\&* | *\|* | *\\* )
21006 ac_sed_conf_input=`$as_echo "$configure_input" |
21007 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21008 *) ac_sed_conf_input=$configure_input;;
21012 *:-:* | *:-) cat >"$tmp/stdin
" \
21013 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
21018 ac_dir=`$as_dirname -- "$ac_file" ||
21019 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21020 X"$ac_file" : 'X\(//\)[^/]' \| \
21021 X"$ac_file" : 'X\(//\)$' \| \
21022 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21023 $as_echo X"$ac_file" |
21024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21028 /^X\(\/\/\)[^/].*/{
21041 as_dir="$ac_dir"; as_fn_mkdir_p
21045 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21047 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21048 # A "..
" for each directory in $ac_dir_suffix.
21049 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21050 case $ac_top_builddir_sub in
21051 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21052 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21055 ac_abs_top_builddir=$ac_pwd
21056 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21057 # for backward compatibility:
21058 ac_top_builddir=$ac_top_build_prefix
21061 .) # We are building in place.
21063 ac_top_srcdir=$ac_top_builddir_sub
21064 ac_abs_top_srcdir=$ac_pwd ;;
21065 [\\/]* | ?:[\\/]* ) # Absolute name.
21066 ac_srcdir=$srcdir$ac_dir_suffix;
21067 ac_top_srcdir=$srcdir
21068 ac_abs_top_srcdir=$srcdir ;;
21069 *) # Relative name.
21070 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21071 ac_top_srcdir=$ac_top_build_prefix$srcdir
21072 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21074 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21084 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21085 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21090 # If the template does not know about datarootdir, expand it.
21091 # FIXME: This hack should be removed a few years after 2.60.
21092 ac_datarootdir_hack=; ac_datarootdir_seen=
21103 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
21104 *datarootdir*) ac_datarootdir_seen=yes;;
21105 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
21107 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
21109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21110 ac_datarootdir_hack='
21111 s&@datadir@&$datadir&g
21112 s&@docdir@&$docdir&g
21113 s&@infodir@&$infodir&g
21114 s&@localedir@&$localedir&g
21115 s&@mandir@&$mandir&g
21116 s&\\\${datarootdir}&$datarootdir&g' ;;
21120 # Neutralize VPATH when `$srcdir' = `.'.
21121 # Shell code in configure.ac might set extrasub.
21122 # FIXME: do we really want to maintain this feature?
21123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21124 ac_sed_extra="$ac_vpsub
21127 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21129 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21130 s
|@configure_input@
|$ac_sed_conf_input|;t t
21131 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21132 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21133 s
&@srcdir@
&$ac_srcdir&;t t
21134 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21135 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21136 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21137 s
&@builddir@
&$ac_builddir&;t t
21138 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21139 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21140 s
&@INSTALL@
&$ac_INSTALL&;t t
21141 $ac_datarootdir_hack
21143 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
21144 || as_fn_error "could not create
$ac_file" "$LINENO" 5
21146 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21147 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21148 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21150 which seems to be undefined. Please make sure it is defined." >&5
21151 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21152 which seems to be undefined. Please make sure it is defined." >&2;}
21156 -) cat "$tmp/out" && rm -f "$tmp/out";;
21157 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
21159 || as_fn_error "could not create $ac_file" "$LINENO" 5
21163 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21164 $as_echo "$as_me: executing $ac_file commands" >&6;}
21169 case $ac_file$ac_mode in
21172 # See if we are running on zsh, and set the options which allow our
21173 # commands through without removal of \ escapes.
21174 if test -n "${ZSH_VERSION+set}" ; then
21175 setopt NO_GLOB_SUBST
21178 cfgfile="${ofile}T"
21179 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21182 cat <<_LT_EOF >> "$cfgfile"
21185 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
21186 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21187 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21188 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21190 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21191 # 2006, 2007, 2008 Free Software Foundation, Inc.
21192 # Written by Gordon Matzigkeit, 1996
21194 # This file is part of GNU Libtool.
21196 # GNU Libtool is free software; you can redistribute it and/or
21197 # modify it under the terms of the GNU General Public License as
21198 # published by the Free Software Foundation; either version 2 of
21199 # the License, or (at your option) any later version.
21201 # As a special exception to the GNU General Public License,
21202 # if you distribute this file as part of a program or library that
21203 # is built using GNU Libtool, you may include this file under the
21204 # same distribution terms that you use for the rest of that program.
21206 # GNU Libtool is distributed in the hope that it will be useful,
21207 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21208 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21209 # GNU General Public License for more details.
21211 # You should have received a copy of the GNU General Public License
21212 # along with GNU Libtool; see the file COPYING. If not, a copy
21213 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21214 # obtained by writing to the Free Software Foundation, Inc.,
21215 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21218 # The names of the tagged configurations supported by this script.
21219 available_tags="CXX "
21221 # ### BEGIN LIBTOOL CONFIG
21223 # Which release of libtool.m4 was used?
21224 macro_version=$macro_version
21225 macro_revision=$macro_revision
21227 # Whether or not to build static libraries.
21228 build_old_libs=$enable_static
21230 # Whether or not to build shared libraries.
21231 build_libtool_libs=$enable_shared
21233 # What type of objects to build.
21236 # Whether or not to optimize for fast installation.
21237 fast_install=$enable_fast_install
21240 host_alias=$host_alias
21244 # The build system.
21245 build_alias=$build_alias
21249 # A sed program that does not truncate output.
21252 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21253 Xsed="\$SED -e 1s/^X//"
21255 # A grep program that handles long lines.
21261 # A literal string matcher.
21264 # A BSD- or MS-compatible name lister.
21267 # Whether we need soft or hard links.
21270 # What is the maximum length of a command?
21271 max_cmd_len=$max_cmd_len
21273 # Object file suffix (normally "o").
21276 # Executable file suffix (normally "").
21279 # whether the shell understands "unset".
21282 # turn spaces into newlines.
21285 # turn newlines into spaces.
21288 # How to create reloadable object files.
21289 reload_flag=$lt_reload_flag
21290 reload_cmds=$lt_reload_cmds
21292 # An object symbol dumper.
21293 OBJDUMP=$lt_OBJDUMP
21295 # Method to check whether dependent libraries are shared objects.
21296 deplibs_check_method=$lt_deplibs_check_method
21298 # Command to use when deplibs_check_method == "file_magic".
21299 file_magic_cmd=$lt_file_magic_cmd
21303 AR_FLAGS=$lt_AR_FLAGS
21305 # A symbol stripping program.
21308 # Commands used to install an old-style archive.
21310 old_postinstall_cmds=$lt_old_postinstall_cmds
21311 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21316 # LTCC compiler flags.
21317 LTCFLAGS=$lt_CFLAGS
21319 # Take the output of nm and produce a listing of raw symbols and C names.
21320 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21322 # Transform the output of nm in a proper C declaration.
21323 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21325 # Transform the output of nm in a C name address pair.
21326 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21328 # Transform the output of nm in a C name address pair when lib prefix is needed.
21329 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21331 # The name of the directory that contains temporary libtool files.
21334 # Shell to use when invoking shell scripts.
21337 # An echo program that does not interpret backslashes.
21340 # Used to examine libraries when file_magic_cmd begins with "file".
21341 MAGIC_CMD=$MAGIC_CMD
21343 # Must we lock files when doing compilation?
21344 need_locks=$lt_need_locks
21346 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21347 DSYMUTIL=$lt_DSYMUTIL
21349 # Tool to change global to local symbols on Mac OS X.
21352 # Tool to manipulate fat objects and archives on Mac OS X.
21355 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21358 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21359 OTOOL64=$lt_OTOOL64
21361 # Old archive suffix (normally "a").
21364 # Shared library suffix (normally ".so").
21365 shrext_cmds=$lt_shrext_cmds
21367 # The commands to extract the exported symbol list from a shared archive.
21368 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21370 # Variables whose values should be saved in libtool wrapper scripts and
21371 # restored at link time.
21372 variables_saved_for_relink=$lt_variables_saved_for_relink
21374 # Do we need the "lib" prefix for modules?
21375 need_lib_prefix=$need_lib_prefix
21377 # Do we need a version for libraries?
21378 need_version=$need_version
21380 # Library versioning type.
21381 version_type=$version_type
21383 # Shared library runtime path variable.
21384 runpath_var=$runpath_var
21386 # Shared library path variable.
21387 shlibpath_var=$shlibpath_var
21389 # Is shlibpath searched before the hard-coded library search path?
21390 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21392 # Format of library name prefix.
21393 libname_spec=$lt_libname_spec
21395 # List of archive names. First name is the real one, the rest are links.
21396 # The last name is the one that the linker finds with -lNAME
21397 library_names_spec=$lt_library_names_spec
21399 # The coded name of the library, if different from the real name.
21400 soname_spec=$lt_soname_spec
21402 # Command to use after installation of a shared archive.
21403 postinstall_cmds=$lt_postinstall_cmds
21405 # Command to use after uninstallation of a shared archive.
21406 postuninstall_cmds=$lt_postuninstall_cmds
21408 # Commands used to finish a libtool library installation in a directory.
21409 finish_cmds=$lt_finish_cmds
21411 # As "finish_cmds", except a single script fragment to be evaled but
21413 finish_eval=$lt_finish_eval
21415 # Whether we should hardcode library paths into libraries.
21416 hardcode_into_libs=$hardcode_into_libs
21418 # Compile-time system search path for libraries.
21419 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21421 # Run-time system search path for libraries.
21422 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21424 # Whether dlopen is supported.
21425 dlopen_support=$enable_dlopen
21427 # Whether dlopen of programs is supported.
21428 dlopen_self=$enable_dlopen_self
21430 # Whether dlopen of statically linked programs is supported.
21431 dlopen_self_static=$enable_dlopen_self_static
21433 # Commands to strip libraries.
21434 old_striplib=$lt_old_striplib
21435 striplib=$lt_striplib
21438 # The linker used to build libraries.
21441 # Commands used to build an old-style archive.
21442 old_archive_cmds=$lt_old_archive_cmds
21444 # A language specific compiler.
21447 # Is the compiler the GNU compiler?
21450 # Compiler flag to turn off builtin functions.
21451 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21453 # How to pass a linker flag through the compiler.
21454 wl=$lt_lt_prog_compiler_wl
21456 # Additional compiler flags for building library objects.
21457 pic_flag=$lt_lt_prog_compiler_pic
21459 # Compiler flag to prevent dynamic linking.
21460 link_static_flag=$lt_lt_prog_compiler_static
21462 # Does compiler simultaneously support -c and -o options?
21463 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21465 # Whether or not to add -lc for building shared libraries.
21466 build_libtool_need_lc=$archive_cmds_need_lc
21468 # Whether or not to disallow shared libs when runtime libs are static.
21469 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21471 # Compiler flag to allow reflexive dlopens.
21472 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21474 # Compiler flag to generate shared objects directly from archives.
21475 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21477 # Whether the compiler copes with passing no objects directly.
21478 compiler_needs_object=$lt_compiler_needs_object
21480 # Create an old-style archive from a shared archive.
21481 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21483 # Create a temporary old-style archive to link instead of a shared archive.
21484 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21486 # Commands used to build a shared archive.
21487 archive_cmds=$lt_archive_cmds
21488 archive_expsym_cmds=$lt_archive_expsym_cmds
21490 # Commands used to build a loadable module if different from building
21491 # a shared archive.
21492 module_cmds=$lt_module_cmds
21493 module_expsym_cmds=$lt_module_expsym_cmds
21495 # Whether we are building with GNU ld or not.
21496 with_gnu_ld=$lt_with_gnu_ld
21498 # Flag that allows shared libraries with undefined symbols to be built.
21499 allow_undefined_flag=$lt_allow_undefined_flag
21501 # Flag that enforces no undefined symbols.
21502 no_undefined_flag=$lt_no_undefined_flag
21504 # Flag to hardcode \$libdir into a binary during linking.
21505 # This must work even if \$libdir does not exist
21506 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21508 # If ld is used when linking, flag to hardcode \$libdir into a binary
21509 # during linking. This must work even if \$libdir does not exist.
21510 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21512 # Whether we need a single "-rpath" flag with a separated argument.
21513 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21515 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21516 # DIR into the resulting binary.
21517 hardcode_direct=$hardcode_direct
21519 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21520 # DIR into the resulting binary and the resulting library dependency is
21521 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21522 # library is relocated.
21523 hardcode_direct_absolute=$hardcode_direct_absolute
21525 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21526 # into the resulting binary.
21527 hardcode_minus_L=$hardcode_minus_L
21529 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21530 # into the resulting binary.
21531 hardcode_shlibpath_var=$hardcode_shlibpath_var
21533 # Set to "yes" if building a shared library automatically hardcodes DIR
21534 # into the library and all subsequent libraries and executables linked
21536 hardcode_automatic=$hardcode_automatic
21538 # Set to yes if linker adds runtime paths of dependent libraries
21539 # to runtime path list.
21540 inherit_rpath=$inherit_rpath
21542 # Whether libtool must link a program against all its dependency libraries.
21543 link_all_deplibs=$link_all_deplibs
21545 # Fix the shell variable \$srcfile for the compiler.
21546 fix_srcfile_path=$lt_fix_srcfile_path
21548 # Set to "yes" if exported symbols are required.
21549 always_export_symbols=$always_export_symbols
21551 # The commands to list exported symbols.
21552 export_symbols_cmds=$lt_export_symbols_cmds
21554 # Symbols that should not be listed in the preloaded symbols.
21555 exclude_expsyms=$lt_exclude_expsyms
21557 # Symbols that must always be exported.
21558 include_expsyms=$lt_include_expsyms
21560 # Commands necessary for linking programs (against libraries) with templates.
21561 prelink_cmds=$lt_prelink_cmds
21563 # Specify filename containing input files.
21564 file_list_spec=$lt_file_list_spec
21566 # How to hardcode a shared library path into an executable.
21567 hardcode_action=$hardcode_action
21569 # The directories searched by this compiler when creating a shared library.
21570 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21572 # Dependencies to place before and after the objects being linked to
21573 # create a shared library.
21574 predep_objects=$lt_predep_objects
21575 postdep_objects=$lt_postdep_objects
21576 predeps=$lt_predeps
21577 postdeps=$lt_postdeps
21579 # The library search path used internally by the compiler when linking
21580 # a shared library.
21581 compiler_lib_search_path=$lt_compiler_lib_search_path
21583 # ### END LIBTOOL CONFIG
21589 cat <<\_LT_EOF >> "$cfgfile"
21590 # AIX sometimes has problems with the GCC collect2 program. For some
21591 # reason, if we set the COLLECT_NAMES environment variable, the problems
21592 # vanish in a puff of smoke.
21593 if test "X${COLLECT_NAMES+set}" != Xset; then
21595 export COLLECT_NAMES
21602 ltmain="$ac_aux_dir/ltmain.sh"
21605 # We use sed instead of cat because bash on DJGPP gets confused if
21606 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21607 # text mode, it properly converts lines to CR/LF. This bash problem
21608 # is reportedly fixed, but why not run on old versions too?
21609 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21610 || (rm -f "$cfgfile"; exit 1)
21614 cat << \_LT_EOF
>> "$cfgfile"
21616 # func_dirname file append nondir_replacement
21617 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21618 # otherwise set result to NONDIR_REPLACEMENT.
21622 */*) func_dirname_result
="${1%/*}${2}" ;;
21623 * ) func_dirname_result
="${3}" ;;
21627 # func_basename file
21630 func_basename_result
="${1##*/}"
21633 # func_dirname_and_basename file append nondir_replacement
21634 # perform func_basename and func_dirname in a single function
21636 # dirname: Compute the dirname of FILE. If nonempty,
21637 # add APPEND to the result, otherwise set result
21638 # to NONDIR_REPLACEMENT.
21639 # value returned in "$func_dirname_result"
21640 # basename: Compute filename of FILE.
21641 # value retuned in "$func_basename_result"
21642 # Implementation must be kept synchronized with func_dirname
21643 # and func_basename. For efficiency, we do not delegate to
21644 # those functions but instead duplicate the functionality here.
21645 func_dirname_and_basename
()
21648 */*) func_dirname_result
="${1%/*}${2}" ;;
21649 * ) func_dirname_result
="${3}" ;;
21651 func_basename_result
="${1##*/}"
21654 # func_stripname prefix suffix name
21655 # strip PREFIX and SUFFIX off of NAME.
21656 # PREFIX and SUFFIX must not contain globbing or regex special
21657 # characters, hashes, percent signs, but SUFFIX may contain a leading
21658 # dot (in which case that matches only a dot).
21661 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21662 # positional parameters, so assign one to ordinary parameter first.
21663 func_stripname_result
=${3}
21664 func_stripname_result
=${func_stripname_result#"${1}"}
21665 func_stripname_result
=${func_stripname_result%"${2}"}
21671 func_opt_split_opt
=${1%%=*}
21672 func_opt_split_arg
=${1#*=}
21679 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21680 *) func_lo2o_result
=${1} ;;
21684 # func_xform libobj-or-source
21687 func_xform_result
=${1%.*}.lo
21690 # func_arith arithmetic-term...
21693 func_arith_result
=$(( $* ))
21697 # STRING may not start with a hyphen.
21700 func_len_result
=${#1}
21705 *) # Bourne compatible functions.
21706 cat << \_LT_EOF
>> "$cfgfile"
21708 # func_dirname file append nondir_replacement
21709 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21710 # otherwise set result to NONDIR_REPLACEMENT.
21713 # Extract subdirectory from the argument.
21714 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21715 if test "X$func_dirname_result" = "X${1}"; then
21716 func_dirname_result
="${3}"
21718 func_dirname_result
="$func_dirname_result${2}"
21722 # func_basename file
21725 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21729 # func_stripname prefix suffix name
21730 # strip PREFIX and SUFFIX off of NAME.
21731 # PREFIX and SUFFIX must not contain globbing or regex special
21732 # characters, hashes, percent signs, but SUFFIX may contain a leading
21733 # dot (in which case that matches only a dot).
21734 # func_strip_suffix prefix name
21738 .
*) func_stripname_result
=`$ECHO "X${3}" \
21739 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21740 *) func_stripname_result
=`$ECHO "X${3}" \
21741 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21746 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21747 my_sed_long_arg
='1s/^-[^=]*=//'
21752 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21753 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21759 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21762 # func_xform libobj-or-source
21765 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21768 # func_arith arithmetic-term...
21771 func_arith_result
=`expr "$@"`
21775 # STRING may not start with a hyphen.
21778 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21784 case $lt_shell_append in
21786 cat << \_LT_EOF
>> "$cfgfile"
21788 # func_append var value
21789 # Append VALUE to the end of shell variable VAR.
21797 cat << \_LT_EOF
>> "$cfgfile"
21799 # func_append var value
21800 # Append VALUE to the end of shell variable VAR.
21811 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21812 || (rm -f "$cfgfile"; exit 1)
21814 mv -f "$cfgfile" "$ofile" ||
21815 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21819 cat <<_LT_EOF >> "$ofile"
21821 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21823 # The linker used to build libraries.
21826 # Commands used to build an old-style archive.
21827 old_archive_cmds=$lt_old_archive_cmds_CXX
21829 # A language specific compiler.
21830 CC=$lt_compiler_CXX
21832 # Is the compiler the GNU compiler?
21835 # Compiler flag to turn off builtin functions.
21836 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21838 # How to pass a linker flag through the compiler.
21839 wl=$lt_lt_prog_compiler_wl_CXX
21841 # Additional compiler flags for building library objects.
21842 pic_flag=$lt_lt_prog_compiler_pic_CXX
21844 # Compiler flag to prevent dynamic linking.
21845 link_static_flag=$lt_lt_prog_compiler_static_CXX
21847 # Does compiler simultaneously support -c and -o options?
21848 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21850 # Whether or not to add -lc for building shared libraries.
21851 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21853 # Whether or not to disallow shared libs when runtime libs are static.
21854 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21856 # Compiler flag to allow reflexive dlopens.
21857 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21859 # Compiler flag to generate shared objects directly from archives.
21860 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21862 # Whether the compiler copes with passing no objects directly.
21863 compiler_needs_object=$lt_compiler_needs_object_CXX
21865 # Create an old-style archive from a shared archive.
21866 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21868 # Create a temporary old-style archive to link instead of a shared archive.
21869 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21871 # Commands used to build a shared archive.
21872 archive_cmds=$lt_archive_cmds_CXX
21873 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21875 # Commands used to build a loadable module if different from building
21876 # a shared archive.
21877 module_cmds=$lt_module_cmds_CXX
21878 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21880 # Whether we are building with GNU ld or not.
21881 with_gnu_ld=$lt_with_gnu_ld_CXX
21883 # Flag that allows shared libraries with undefined symbols to be built.
21884 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21886 # Flag that enforces no undefined symbols.
21887 no_undefined_flag=$lt_no_undefined_flag_CXX
21889 # Flag to hardcode \$libdir into a binary during linking.
21890 # This must work even if \$libdir does not exist
21891 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21893 # If ld is used when linking, flag to hardcode \$libdir into a binary
21894 # during linking. This must work even if \$libdir does not exist.
21895 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21897 # Whether we need a single "-rpath" flag with a separated argument.
21898 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21900 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21901 # DIR into the resulting binary.
21902 hardcode_direct=$hardcode_direct_CXX
21904 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21905 # DIR into the resulting binary and the resulting library dependency is
21906 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21907 # library is relocated.
21908 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21910 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21911 # into the resulting binary.
21912 hardcode_minus_L=$hardcode_minus_L_CXX
21914 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21915 # into the resulting binary.
21916 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21918 # Set to "yes" if building a shared library automatically hardcodes DIR
21919 # into the library and all subsequent libraries and executables linked
21921 hardcode_automatic=$hardcode_automatic_CXX
21923 # Set to yes if linker adds runtime paths of dependent libraries
21924 # to runtime path list.
21925 inherit_rpath=$inherit_rpath_CXX
21927 # Whether libtool must link a program against all its dependency libraries.
21928 link_all_deplibs=$link_all_deplibs_CXX
21930 # Fix the shell variable \$srcfile for the compiler.
21931 fix_srcfile_path=$lt_fix_srcfile_path_CXX
21933 # Set to "yes" if exported symbols are required.
21934 always_export_symbols=$always_export_symbols_CXX
21936 # The commands to list exported symbols.
21937 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21939 # Symbols that should not be listed in the preloaded symbols.
21940 exclude_expsyms=$lt_exclude_expsyms_CXX
21942 # Symbols that must always be exported.
21943 include_expsyms=$lt_include_expsyms_CXX
21945 # Commands necessary for linking programs (against libraries) with templates.
21946 prelink_cmds=$lt_prelink_cmds_CXX
21948 # Specify filename containing input files.
21949 file_list_spec=$lt_file_list_spec_CXX
21951 # How to hardcode a shared library path into an executable.
21952 hardcode_action=$hardcode_action_CXX
21954 # The directories searched by this compiler when creating a shared library.
21955 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21957 # Dependencies to place before and after the objects being linked to
21958 # create a shared library.
21959 predep_objects=$lt_predep_objects_CXX
21960 postdep_objects=$lt_postdep_objects_CXX
21961 predeps=$lt_predeps_CXX
21962 postdeps=$lt_postdeps_CXX
21964 # The library search path used internally by the compiler when linking
21965 # a shared library.
21966 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21968 # ### END LIBTOOL TAG CONFIG: CXX
21979 ac_clean_files
=$ac_clean_files_save
21981 test $ac_write_fail = 0 ||
21982 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21985 # configure is writing to config.log, and then calls config.status.
21986 # config.status does its own redirection, appending to config.log.
21987 # Unfortunately, on DOS this fails, as config.log is still kept open
21988 # by configure, so config.status won't be able to write to it; its
21989 # output is simply discarded. So we exec the FD to /dev/null,
21990 # effectively closing config.log, so it can be properly (re)opened and
21991 # appended to by config.status. When coming back to configure, we
21992 # need to make the FD available again.
21993 if test "$no_create" != yes; then
21995 ac_config_status_args
=
21996 test "$silent" = yes &&
21997 ac_config_status_args
="$ac_config_status_args --quiet"
21999 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22001 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22002 # would make configure fail if this is the last instruction.
22003 $ac_cs_success || as_fn_exit $?
22005 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22007 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}