2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for WebKit 1.6.1.
5 # Report bugs to <http://bugs.webkit.org/>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugs.webkit.org/ about your system, including
251 $0: any error possibly output before this message. Then
252 $0: install a modern shell, or manually run the script
253 $0: under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='WebKit'
572 PACKAGE_TARNAME='webkit'
573 PACKAGE_VERSION='1.6.1'
574 PACKAGE_STRING='WebKit 1.6.1'
575 PACKAGE_BUGREPORT='http://bugs.webkit.org/'
578 ac_unique_file="Source/WebCore/config.h"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
619 ENABLE_INTROSPECTION_FALSE
620 ENABLE_INTROSPECTION_TRUE
621 ENABLE_DEVICE_ORIENTATION_FALSE
622 ENABLE_DEVICE_ORIENTATION_TRUE
623 ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE
624 ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE
625 ENABLE_TOUCH_ICON_LOADING_FALSE
626 ENABLE_TOUCH_ICON_LOADING_TRUE
627 ENABLE_ANIMATION_API_FALSE
628 ENABLE_ANIMATION_API_TRUE
629 ENABLE_SPELLCHECK_FALSE
630 ENABLE_SPELLCHECK_TRUE
631 ENABLE_PLUGIN_PROCESS_FALSE
632 ENABLE_PLUGIN_PROCESS_TRUE
635 ENABLE_OPCODE_STATS_FALSE
636 ENABLE_OPCODE_STATS_TRUE
637 ENABLE_WEB_TIMING_FALSE
638 ENABLE_WEB_TIMING_TRUE
639 ENABLE_WEB_AUDIO_FALSE
640 ENABLE_WEB_AUDIO_TRUE
641 ENABLE_WEB_SOCKETS_FALSE
642 ENABLE_WEB_SOCKETS_TRUE
647 ENABLE_SHARED_WORKERS_FALSE
648 ENABLE_SHARED_WORKERS_TRUE
653 ENABLE_FAST_MALLOC_FALSE
654 ENABLE_FAST_MALLOC_TRUE
655 ENABLE_COVERAGE_FALSE
657 ENABLE_SVG_FONTS_FALSE
658 ENABLE_SVG_FONTS_TRUE
661 ENABLE_ORIENTATION_EVENTS_FALSE
662 ENABLE_ORIENTATION_EVENTS_TRUE
663 ENABLE_NOTIFICATIONS_FALSE
664 ENABLE_NOTIFICATIONS_TRUE
665 ENABLE_MEDIA_STREAM_FALSE
666 ENABLE_MEDIA_STREAM_TRUE
667 ENABLE_FULLSCREEN_API_FALSE
668 ENABLE_FULLSCREEN_API_TRUE
669 ENABLE_VIDEO_TRACK_FALSE
670 ENABLE_VIDEO_TRACK_TRUE
671 ENABLE_MEDIA_STATISTICS_FALSE
672 ENABLE_MEDIA_STATISTICS_TRUE
673 ENABLE_MEDIA_SOURCE_FALSE
674 ENABLE_MEDIA_SOURCE_TRUE
675 ENABLE_ELIS_MEDIA_FALSE
676 ENABLE_ELIS_MEDIA_TRUE
683 ENABLE_CLIENT_BASED_GEOLOCATION_FALSE
684 ENABLE_CLIENT_BASED_GEOLOCATION_TRUE
685 ENABLE_GEOLOCATION_FALSE
686 ENABLE_GEOLOCATION_TRUE
695 ENABLE_INPUT_SPEECH_FALSE
696 ENABLE_INPUT_SPEECH_TRUE
697 ENABLE_INPUT_COLOR_FALSE
698 ENABLE_INPUT_COLOR_TRUE
699 ENABLE_INDEXED_DATABASE_FALSE
700 ENABLE_INDEXED_DATABASE_TRUE
701 ENABLE_IMAGE_RESIZER_FALSE
702 ENABLE_IMAGE_RESIZER_TRUE
703 ENABLE_ICONDATABASE_FALSE
704 ENABLE_ICONDATABASE_TRUE
707 ENABLE_FILE_SYSTEM_FALSE
708 ENABLE_FILE_SYSTEM_TRUE
709 ENABLE_FAST_MOBILE_SCROLLING_FALSE
710 ENABLE_FAST_MOBILE_SCROLLING_TRUE
713 ENABLE_DATALIST_FALSE
715 ENABLE_SQL_DATABASE_FALSE
716 ENABLE_SQL_DATABASE_TRUE
717 ENABLE_DOM_STORAGE_FALSE
718 ENABLE_DOM_STORAGE_TRUE
719 ENABLE_DATA_TRANSFER_ITEMS_FALSE
720 ENABLE_DATA_TRANSFER_ITEMS_TRUE
721 ENABLE_DATAGRID_FALSE
723 ENABLE_DIRECTORY_UPLOAD_FALSE
724 ENABLE_DIRECTORY_UPLOAD_TRUE
725 ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE
726 ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE
727 ENABLE_JAVASCRIPT_DEBUGGER_FALSE
728 ENABLE_JAVASCRIPT_DEBUGGER_TRUE
729 ENABLE_CHANNEL_MESSAGING_FALSE
730 ENABLE_CHANNEL_MESSAGING_TRUE
731 ENABLE_PROGRESS_TAG_FALSE
732 ENABLE_PROGRESS_TAG_TRUE
733 ENABLE_PAGE_VISIBILITY_API_FALSE
734 ENABLE_PAGE_VISIBILITY_API_TRUE
735 ENABLE_METER_TAG_FALSE
736 ENABLE_METER_TAG_TRUE
741 ENABLE_3D_RENDERING_FALSE
742 ENABLE_3D_RENDERING_TRUE
751 USE_GLIB_UNICODE_FALSE
752 USE_GLIB_UNICODE_TRUE
753 USE_ICU_UNICODE_FALSE
755 TARGET_DIRECTFB_FALSE
818 GSETTINGS_DISABLE_SCHEMAS_COMPILE
829 GTK_API_VERSION_2_FALSE
830 GTK_API_VERSION_2_TRUE
833 WEBKITGTK_API_VERSION
834 WEBKITGTK_API_MINOR_VERSION
835 WEBKITGTK_API_MAJOR_VERSION
881 SYMBOL_VISIBILITY_INLINES
912 INSTALL_STRIP_PROGRAM
928 WEBKIT_USER_AGENT_MINOR_VERSION
929 WEBKIT_USER_AGENT_MAJOR_VERSION
969 program_transform_name
982 enable_option_checking
984 enable_dependency_tracking
997 enable_schemas_compile
1001 enable_optimizations
1004 enable_channel_messaging
1005 enable_notifications
1007 enable_page_visibility_api
1009 enable_javascript_debugger
1011 enable_data_transfer_items
1012 enable_offline_web_applications
1014 enable_indexed_database
1018 enable_icon_database
1019 enable_image_resizer
1025 enable_media_statistics
1026 enable_fullscreen_api
1032 enable_client_based_geolocation
1036 enable_shared_workers
1038 enable_directory_upload
1047 enable_fast_mobile_scrolling
1050 enable_debug_symbols
1051 enable_debug_features
1054 enable_link_prefetch
1055 enable_introspection
1056 enable_animation_api
1057 enable_touch_icon_loading
1058 enable_register_protocol_handler
1059 enable_device_orientation
1062 enable_plugin_process
1064 ac_precious_vars='build_alias
1100 INTROSPECTION_CFLAGS
1118 # Initialize some variables set by options.
1120 ac_init_version=false
1121 ac_unrecognized_opts=
1122 ac_unrecognized_sep=
1123 # The variables have the same names as the options, with
1124 # dashes changed to underlines.
1125 cache_file=/dev/null
1132 program_transform_name=s,x,x,
1140 # Installation directory options.
1141 # These are left unexpanded so users can "make install exec_prefix=/foo"
1142 # and all the variables that are supposed to be based on exec_prefix
1143 # by default will actually change.
1144 # Use braces instead of parens because sh, perl, etc. also accept them.
1145 # (The list follows the same order as the GNU Coding Standards.)
1146 bindir='${exec_prefix}/bin'
1147 sbindir='${exec_prefix}/sbin'
1148 libexecdir='${exec_prefix}/libexec'
1149 datarootdir='${prefix}/share'
1150 datadir='${datarootdir}'
1151 sysconfdir='${prefix}/etc'
1152 sharedstatedir='${prefix}/com'
1153 localstatedir='${prefix}/var'
1154 includedir='${prefix}/include'
1155 oldincludedir='/usr/include'
1156 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1157 infodir='${datarootdir}/info'
1162 libdir='${exec_prefix}/lib'
1163 localedir='${datarootdir}/locale'
1164 mandir='${datarootdir}/man'
1170 # If the previous option needs an argument, assign it.
1171 if test -n "$ac_prev"; then
1172 eval $ac_prev=\$ac_option
1178 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1183 # Accept the important Cygnus configure options, so we can diagnose typos.
1185 case $ac_dashdash$ac_option in
1189 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1191 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1192 bindir=$ac_optarg ;;
1194 -build | --build | --buil | --bui | --bu)
1195 ac_prev=build_alias ;;
1196 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1197 build_alias=$ac_optarg ;;
1199 -cache-file | --cache-file | --cache-fil | --cache-fi \
1200 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1201 ac_prev=cache_file ;;
1202 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1203 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1204 cache_file=$ac_optarg ;;
1206 --config-cache | -C)
1207 cache_file=config.cache ;;
1209 -datadir | --datadir | --datadi | --datad)
1211 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1212 datadir=$ac_optarg ;;
1214 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1215 | --dataroo | --dataro | --datar)
1216 ac_prev=datarootdir ;;
1217 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1218 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1219 datarootdir=$ac_optarg ;;
1221 -disable-* | --disable-*)
1222 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1225 as_fn_error $? "invalid feature name: $ac_useropt"
1226 ac_useropt_orig=$ac_useropt
1227 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1228 case $ac_user_opts in
1230 "enable_$ac_useropt"
1232 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1233 ac_unrecognized_sep=', ';;
1235 eval enable_$ac_useropt=no ;;
1237 -docdir | --docdir | --docdi | --doc | --do)
1239 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1240 docdir=$ac_optarg ;;
1242 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1244 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1245 dvidir=$ac_optarg ;;
1247 -enable-* | --enable-*)
1248 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1249 # Reject names that are not valid shell variable names.
1250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1251 as_fn_error $? "invalid feature name: $ac_useropt"
1252 ac_useropt_orig=$ac_useropt
1253 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254 case $ac_user_opts in
1256 "enable_$ac_useropt"
1258 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1259 ac_unrecognized_sep=', ';;
1261 eval enable_$ac_useropt=\$ac_optarg ;;
1263 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1264 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1265 | --exec | --exe | --ex)
1266 ac_prev=exec_prefix ;;
1267 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1268 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1269 | --exec=* | --exe=* | --ex=*)
1270 exec_prefix=$ac_optarg ;;
1272 -gas | --gas | --ga | --g)
1273 # Obsolete; use --with-gas.
1276 -help | --help | --hel | --he | -h)
1277 ac_init_help=long ;;
1278 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1279 ac_init_help=recursive ;;
1280 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1281 ac_init_help=short ;;
1283 -host | --host | --hos | --ho)
1284 ac_prev=host_alias ;;
1285 -host=* | --host=* | --hos=* | --ho=*)
1286 host_alias=$ac_optarg ;;
1288 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1290 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1292 htmldir=$ac_optarg ;;
1294 -includedir | --includedir | --includedi | --included | --include \
1295 | --includ | --inclu | --incl | --inc)
1296 ac_prev=includedir ;;
1297 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1298 | --includ=* | --inclu=* | --incl=* | --inc=*)
1299 includedir=$ac_optarg ;;
1301 -infodir | --infodir | --infodi | --infod | --info | --inf)
1303 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1304 infodir=$ac_optarg ;;
1306 -libdir | --libdir | --libdi | --libd)
1308 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1309 libdir=$ac_optarg ;;
1311 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1312 | --libexe | --libex | --libe)
1313 ac_prev=libexecdir ;;
1314 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1315 | --libexe=* | --libex=* | --libe=*)
1316 libexecdir=$ac_optarg ;;
1318 -localedir | --localedir | --localedi | --localed | --locale)
1319 ac_prev=localedir ;;
1320 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1321 localedir=$ac_optarg ;;
1323 -localstatedir | --localstatedir | --localstatedi | --localstated \
1324 | --localstate | --localstat | --localsta | --localst | --locals)
1325 ac_prev=localstatedir ;;
1326 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1327 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1328 localstatedir=$ac_optarg ;;
1330 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1332 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1333 mandir=$ac_optarg ;;
1335 -nfp | --nfp | --nf)
1336 # Obsolete; use --without-fp.
1339 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1340 | --no-cr | --no-c | -n)
1343 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1344 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1347 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1348 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1349 | --oldin | --oldi | --old | --ol | --o)
1350 ac_prev=oldincludedir ;;
1351 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1352 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1353 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1354 oldincludedir=$ac_optarg ;;
1356 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1358 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1359 prefix=$ac_optarg ;;
1361 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1362 | --program-pre | --program-pr | --program-p)
1363 ac_prev=program_prefix ;;
1364 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1365 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1366 program_prefix=$ac_optarg ;;
1368 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1369 | --program-suf | --program-su | --program-s)
1370 ac_prev=program_suffix ;;
1371 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1372 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1373 program_suffix=$ac_optarg ;;
1375 -program-transform-name | --program-transform-name \
1376 | --program-transform-nam | --program-transform-na \
1377 | --program-transform-n | --program-transform- \
1378 | --program-transform | --program-transfor \
1379 | --program-transfo | --program-transf \
1380 | --program-trans | --program-tran \
1381 | --progr-tra | --program-tr | --program-t)
1382 ac_prev=program_transform_name ;;
1383 -program-transform-name=* | --program-transform-name=* \
1384 | --program-transform-nam=* | --program-transform-na=* \
1385 | --program-transform-n=* | --program-transform-=* \
1386 | --program-transform=* | --program-transfor=* \
1387 | --program-transfo=* | --program-transf=* \
1388 | --program-trans=* | --program-tran=* \
1389 | --progr-tra=* | --program-tr=* | --program-t=*)
1390 program_transform_name=$ac_optarg ;;
1392 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1394 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1395 pdfdir=$ac_optarg ;;
1397 -psdir | --psdir | --psdi | --psd | --ps)
1399 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1402 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1403 | -silent | --silent | --silen | --sile | --sil)
1406 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1408 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1410 sbindir=$ac_optarg ;;
1412 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1413 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1414 | --sharedst | --shareds | --shared | --share | --shar \
1416 ac_prev=sharedstatedir ;;
1417 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1418 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1419 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1421 sharedstatedir=$ac_optarg ;;
1423 -site | --site | --sit)
1425 -site=* | --site=* | --sit=*)
1428 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1430 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1431 srcdir=$ac_optarg ;;
1433 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1434 | --syscon | --sysco | --sysc | --sys | --sy)
1435 ac_prev=sysconfdir ;;
1436 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1437 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1438 sysconfdir=$ac_optarg ;;
1440 -target | --target | --targe | --targ | --tar | --ta | --t)
1441 ac_prev=target_alias ;;
1442 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1443 target_alias=$ac_optarg ;;
1445 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1448 -version | --version | --versio | --versi | --vers | -V)
1449 ac_init_version=: ;;
1452 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1453 # Reject names that are not valid shell variable names.
1454 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1455 as_fn_error $? "invalid package name: $ac_useropt"
1456 ac_useropt_orig=$ac_useropt
1457 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1458 case $ac_user_opts in
1462 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1463 ac_unrecognized_sep=', ';;
1465 eval with_$ac_useropt=\$ac_optarg ;;
1467 -without-* | --without-*)
1468 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1469 # Reject names that are not valid shell variable names.
1470 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1471 as_fn_error $? "invalid package name: $ac_useropt"
1472 ac_useropt_orig=$ac_useropt
1473 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1474 case $ac_user_opts in
1478 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1479 ac_unrecognized_sep=', ';;
1481 eval with_$ac_useropt=no ;;
1484 # Obsolete; use --with-x.
1487 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1488 | --x-incl | --x-inc | --x-in | --x-i)
1489 ac_prev=x_includes ;;
1490 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1491 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1492 x_includes=$ac_optarg ;;
1494 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1495 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1496 ac_prev=x_libraries ;;
1497 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1498 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1499 x_libraries=$ac_optarg ;;
1501 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1502 Try \`$0 --help' for more information"
1506 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1507 # Reject names that are not valid shell variable names.
1508 case $ac_envvar in #(
1509 '' | [0-9]* | *[!_$as_cr_alnum]* )
1510 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1512 eval $ac_envvar=\$ac_optarg
1513 export $ac_envvar ;;
1516 # FIXME: should be removed in autoconf 3.0.
1517 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1518 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1519 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1520 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1526 if test -n "$ac_prev"; then
1527 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1528 as_fn_error $? "missing argument to $ac_option"
1531 if test -n "$ac_unrecognized_opts"; then
1532 case $enable_option_checking in
1534 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1535 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1539 # Check all directory arguments for consistency.
1540 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1541 datadir sysconfdir sharedstatedir localstatedir includedir \
1542 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1543 libdir localedir mandir
1545 eval ac_val=\$$ac_var
1546 # Remove trailing slashes.
1549 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1550 eval $ac_var=\$ac_val;;
1552 # Be sure to have absolute directory names.
1554 [\\/$]* | ?:[\\/]* ) continue;;
1555 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1557 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1560 # There might be people who depend on the old broken behavior: `$host'
1561 # used to hold the argument of --host etc.
1562 # FIXME: To remove some day.
1565 target=$target_alias
1567 # FIXME: To remove some day.
1568 if test "x$host_alias" != x; then
1569 if test "x$build_alias" = x; then
1570 cross_compiling=maybe
1571 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1572 If a cross compiler is detected then cross compile mode will be used" >&2
1573 elif test "x$build_alias" != "x$host_alias"; then
1579 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1581 test "$silent" = yes && exec 6>/dev/null
1584 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1585 ac_ls_di=`ls -di .` &&
1586 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1587 as_fn_error $? "working directory cannot be determined"
1588 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1589 as_fn_error $? "pwd does not report name of working directory"
1592 # Find the source files, if location was not specified.
1593 if test -z "$srcdir"; then
1594 ac_srcdir_defaulted=yes
1595 # Try the directory containing this script, then the parent directory.
1596 ac_confdir=`$as_dirname -- "$as_myself" ||
1597 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1598 X"$as_myself" : 'X\(//\)[^/]' \| \
1599 X"$as_myself" : 'X\(//\)$' \| \
1600 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1601 $as_echo X"$as_myself" |
1602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1620 if test ! -r "$srcdir/$ac_unique_file"; then
1624 ac_srcdir_defaulted=no
1626 if test ! -r "$srcdir/$ac_unique_file"; then
1627 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1628 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1630 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1632 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1634 # When building in place, set srcdir=.
1635 if test "$ac_abs_confdir" = "$ac_pwd"; then
1638 # Remove unnecessary trailing slashes from srcdir.
1639 # Double slashes in file names in object file debugging info
1640 # mess up M-x gdb in Emacs.
1642 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1644 for ac_var in $ac_precious_vars; do
1645 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1646 eval ac_env_${ac_var}_value=\$${ac_var}
1647 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1648 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1652 # Report the --help message.
1654 if test "$ac_init_help" = "long"; then
1655 # Omit some internal or obsolete options to make the list less imposing.
1656 # This message is too long to be a string in the A/UX 3.1 sh.
1658 \`configure' configures WebKit 1.6.1 to adapt to many kinds of systems.
1660 Usage: $0 [OPTION]... [VAR=VALUE]...
1662 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1663 VAR=VALUE. See below for descriptions of some of the useful variables.
1665 Defaults for the options are specified in brackets.
1668 -h, --help display this help and exit
1669 --help=short display options specific to this package
1670 --help=recursive display the short help of all the included packages
1671 -V, --version display version information and exit
1672 -q, --quiet, --silent do not print \`checking ...' messages
1673 --cache-file=FILE cache test results in FILE [disabled]
1674 -C, --config-cache alias for \`--cache-file=config.cache'
1675 -n, --no-create do not create output files
1676 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1678 Installation directories:
1679 --prefix=PREFIX install architecture-independent files in PREFIX
1680 [$ac_default_prefix]
1681 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1684 By default, \`make install' will install all the files in
1685 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1686 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1687 for instance \`--prefix=\$HOME'.
1689 For better control, use the options below.
1691 Fine tuning of the installation directories:
1692 --bindir=DIR user executables [EPREFIX/bin]
1693 --sbindir=DIR system admin executables [EPREFIX/sbin]
1694 --libexecdir=DIR program executables [EPREFIX/libexec]
1695 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1696 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1697 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1698 --libdir=DIR object code libraries [EPREFIX/lib]
1699 --includedir=DIR C header files [PREFIX/include]
1700 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1701 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1702 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1703 --infodir=DIR info documentation [DATAROOTDIR/info]
1704 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1705 --mandir=DIR man documentation [DATAROOTDIR/man]
1706 --docdir=DIR documentation root [DATAROOTDIR/doc/webkit]
1707 --htmldir=DIR html documentation [DOCDIR]
1708 --dvidir=DIR dvi documentation [DOCDIR]
1709 --pdfdir=DIR pdf documentation [DOCDIR]
1710 --psdir=DIR ps documentation [DOCDIR]
1716 --program-prefix=PREFIX prepend PREFIX to installed program names
1717 --program-suffix=SUFFIX append SUFFIX to installed program names
1718 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1721 --build=BUILD configure for building on BUILD [guessed]
1722 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1726 if test -n "$ac_init_help"; then
1727 case $ac_init_help in
1728 short | recursive ) echo "Configuration of WebKit 1.6.1:";;
1733 --disable-option-checking ignore unrecognized --enable/--with options
1734 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1735 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1736 --enable-silent-rules less verbose build output (undo: `make V=1')
1737 --disable-silent-rules verbose build output (undo: `make V=0')
1738 --disable-dependency-tracking speeds up one-time build
1739 --enable-dependency-tracking do not reject slow dependency extractors
1740 --disable-largefile omit support for large files
1741 --enable-static[=PKGS] build static libraries [default=no]
1742 --enable-shared[=PKGS] build shared libraries [default=yes]
1743 --enable-fast-install[=PKGS]
1744 optimize for fast installation [default=yes]
1745 --disable-libtool-lock avoid locking (might break parallel builds)
1746 --disable-glibtest do not try to compile and run a test GLIB program
1747 --disable-schemas-compile
1748 Disable regeneration of gschemas.compiled on install
1749 --enable-spellcheck enable support for spellcheck
1750 --enable-debug turn on debugging [default=no]
1751 --enable-optimizations turn on optimize builds (GCC only) [default=yes]
1752 --enable-3d-rendering enable support for 3D Rendering (experimental)
1754 --enable-webgl enable support for WebGL (experimental) [default=no]
1755 --enable-channel-messaging
1756 enable HTML5 channel messaging support [default=yes]
1757 --enable-notifications enable notifications [default=no]
1758 --enable-meter-tag enable HTML5 meter [default=yes]
1759 --enable-page-visibility-api
1760 enable page visibility api[default=no]
1761 --enable-progress-tag enable HTML5 progress [default=yes]
1762 --enable-javascript-debugger
1763 enable JavaScript debugger/profiler support
1765 --enable-datagrid enable HTML5 datagrid support [default=no]
1766 --enable-data-transfer-items
1767 enable HTML5 data transfer items support
1769 --enable-offline-web-applications
1770 enable HTML5 offline web applications support
1772 --enable-dom-storage enable HTML5 client-side session and persistent
1773 storage support [default=yes]
1774 --enable-indexed-database
1775 enable the indexed database API [default=no]
1776 --enable-input-color enable the color input [default=no]
1777 --enable-input-speech enable the speech input API [default=no]
1778 --enable-sql-database enable SQL client-side database storage support
1780 --enable-icon-database enable icon database [default=yes]
1781 --enable-image-resizer enable image resizer [default=no]
1782 --enable-datalist enable HTML5 datalist support [default=yes]
1783 --enable-sandbox enable HTML5 sandboxed iframe support [default=yes]
1784 --enable-video enable HTML5 video support [default=yes]
1785 --enable-elis-media enable Elis Media support [default=no]
1786 --enable-video-track enable HTML5 video track support [default=yes]
1787 --enable-media-source enable support for media source [default=no]
1788 --enable-media-statistics
1789 enable support for media statistics [default=no]
1790 --enable-fullscreen-api enable the Fullscreen API support [default=yes]
1791 --enable-media-stream enable media stream support (incomplete)
1793 --enable-xhtmlmp enable support for XHTML-MP [default=no]
1794 --enable-xpath enable support for XPath [default=yes]
1795 --enable-xslt enable support for XSLT [default=yes]
1796 --enable-geolocation enable support for geolocation [default=no]
1797 --enable-client-based-geolocation
1798 enable support for client-based geolocation
1800 --enable-mathml enable support for MathML [default=no]
1801 --enable-svg enable support for SVG [default=yes]
1802 --enable-wcss enable support for WCSS [default=no]
1803 --enable-shared-workers enable support for SharedWorkers [default=yes]
1804 --enable-workers enable support for Web Workers [default=yes]
1805 --enable-directory-upload
1806 enable support for directory upload [default=no]
1807 --enable-file-system enable support for HTML5 FileSystem API [default=no]
1808 --enable-quota enable support for Quota API [default=no]
1809 --enable-filters enable support for filters (experimental)
1811 --enable-svg-fonts enable support for SVG fonts (experimental)
1813 --enable-web-sockets enable support for Web Sockets [default=yes]
1814 --enable-web-audio enable support for Web Audio [default=no]
1815 --enable-web-timing enable support for Web Timing [default=no]
1816 --enable-blob enable support for Blob [default=yes]
1817 --enable-fast-mobile-scrolling
1818 enable support for Fast Mobile Scrolling
1820 --enable-coverage enable code coverage support [default=no]
1821 --enable-fast-malloc enable optimized memory allocator default=yes,
1822 default=no for debug builds
1823 --enable-debug-symbols enable debug symbols default=no, default=yes for
1825 --enable-debug-features enable debug features default=no, default=yes for
1827 --enable-jit Enable JIT compilation default=yes
1828 --enable-opcode-stats Enable Opcode statistics (default: disabled)
1829 --enable-link-prefetch Enable Link prefetch support (default: disabled)
1830 --enable-introspection Enable GObject introspection (default: disabled)
1831 --enable-animation-api enable support for Animation API (experimental)
1833 --enable-touch-icon-loading
1834 enable support for loading touch icons [default=no]
1835 --enable-register-protocol-handler
1836 enable support for Register Protocol Handler
1837 (experimental) [default=no]
1838 --enable-device-orientation
1839 enable support for DeviceOrientation (experimental
1840 and incomplete) [default=no]
1841 --enable-webkit2 build webkit2 [default=no]
1842 --enable-plugin-process build plugin process for WebKit2 [default=yes]
1845 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1846 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1847 --with-pic try to use only PIC/non-PIC objects [default=use
1849 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1850 --with-sysroot=DIR Search for dependent libraries within DIR
1851 (or the compiler's sysroot if not specified).
1852 --with-gtk=2.0|3.0 the GTK+ version to use (default: 3.0)
1853 --with-target=[x11/win32/quartz/directfb]
1854 Select webkit target [default=x11]
1855 --with-hildon Use Hildon UI extensions [default=no]
1856 --with-unicode-backend=[icu/glib]
1857 Select Unicode backend (WARNING: the glib-based
1858 backend is slow, and incomplete) [default=icu]
1859 --with-font-backend=[freetype/pango]
1860 Select font backend [default=freetype]
1862 Some influential environment variables:
1863 CC C compiler command
1864 CFLAGS C compiler flags
1865 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1866 nonstandard directory <lib dir>
1867 LIBS libraries to pass to the linker, e.g. -l<library>
1868 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1869 you have headers in a nonstandard directory <include dir>
1870 CXX C++ compiler command
1871 CXXFLAGS C++ compiler flags
1873 CXXCPP C++ preprocessor
1874 PKG_CONFIG path to pkg-config utility
1876 directories to add to pkg-config's search path
1878 path overriding pkg-config's built-in search path
1880 C compiler flags for HILDON, overriding pkg-config
1881 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1883 C compiler flags for UNICODE, overriding pkg-config
1885 linker flags for UNICODE, overriding pkg-config
1886 ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
1887 ZLIB_LIBS linker flags for ZLIB, overriding pkg-config
1889 C compiler flags for LIBXML, overriding pkg-config
1890 LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1892 C compiler flags for PANGO, overriding pkg-config
1893 PANGO_LIBS linker flags for PANGO, overriding pkg-config
1895 C compiler flags for ENCHANT, overriding pkg-config
1897 linker flags for ENCHANT, overriding pkg-config
1898 GAIL_CFLAGS C compiler flags for GAIL, overriding pkg-config
1899 GAIL_LIBS linker flags for GAIL, overriding pkg-config
1901 C compiler flags for CAIRO, overriding pkg-config
1902 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1903 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1904 GTK_LIBS linker flags for GTK, overriding pkg-config
1905 XT_CFLAGS C compiler flags for XT, overriding pkg-config
1906 XT_LIBS linker flags for XT, overriding pkg-config
1907 INTROSPECTION_CFLAGS
1908 C compiler flags for INTROSPECTION, overriding pkg-config
1910 linker flags for INTROSPECTION, overriding pkg-config
1912 C compiler flags for LIBSOUP, overriding pkg-config
1914 linker flags for LIBSOUP, overriding pkg-config
1916 C compiler flags for FREETYPE, overriding pkg-config
1918 linker flags for FREETYPE, overriding pkg-config
1920 C compiler flags for SQLITE3, overriding pkg-config
1922 linker flags for SQLITE3, overriding pkg-config
1924 C compiler flags for LIBXSLT, overriding pkg-config
1926 linker flags for LIBXSLT, overriding pkg-config
1928 C compiler flags for GEOCLUE, overriding pkg-config
1930 linker flags for GEOCLUE, overriding pkg-config
1932 C compiler flags for XRENDER, overriding pkg-config
1934 linker flags for XRENDER, overriding pkg-config
1935 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1936 GTK2_LIBS linker flags for GTK2, overriding pkg-config
1938 Use these variables to override the choices made by `configure' or to help
1939 it to find libraries and programs with nonstandard names/locations.
1941 Report bugs to <http://bugs.webkit.org/>.
1946 if test "$ac_init_help" = "recursive"; then
1947 # If there are subdirs, report their specific --help.
1948 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1949 test -d "$ac_dir" ||
1950 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1955 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1957 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1958 # A ".." for each directory in $ac_dir_suffix.
1959 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1960 case $ac_top_builddir_sub in
1961 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1962 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1965 ac_abs_top_builddir=$ac_pwd
1966 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1967 # for backward compatibility:
1968 ac_top_builddir=$ac_top_build_prefix
1971 .) # We are building in place.
1973 ac_top_srcdir=$ac_top_builddir_sub
1974 ac_abs_top_srcdir=$ac_pwd ;;
1975 [\\/]* | ?:[\\/]* ) # Absolute name.
1976 ac_srcdir=$srcdir$ac_dir_suffix;
1977 ac_top_srcdir=$srcdir
1978 ac_abs_top_srcdir=$srcdir ;;
1980 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1981 ac_top_srcdir=$ac_top_build_prefix$srcdir
1982 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1984 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1986 cd "$ac_dir" || { ac_status=$?; continue; }
1987 # Check for guested configure.
1988 if test -f "$ac_srcdir/configure.gnu"; then
1990 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1991 elif test -f "$ac_srcdir/configure"; then
1993 $SHELL "$ac_srcdir/configure" --help=recursive
1995 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1997 cd "$ac_pwd" || { ac_status=$?; break; }
2001 test -n "$ac_init_help" && exit $ac_status
2002 if $ac_init_version; then
2004 WebKit configure 1.6.1
2005 generated by GNU Autoconf 2.68
2007 Copyright (C) 2010 Free Software Foundation, Inc.
2008 This configure script is free software; the Free Software Foundation
2009 gives unlimited permission to copy, distribute and modify it.
2014 ## ------------------------ ##
2015 ## Autoconf initialization. ##
2016 ## ------------------------ ##
2018 # ac_fn_c_try_compile LINENO
2019 # --------------------------
2020 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2021 ac_fn_c_try_compile ()
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 rm -f conftest.$ac_objext
2025 if { { ac_try="$ac_compile"
2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028 *) ac_try_echo=$ac_try;;
2030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_compile") 2>conftest.err
2034 if test -s conftest.err; then
2035 grep -v '^ *+' conftest.err >conftest.er1
2036 cat conftest.er1 >&5
2037 mv -f conftest.er1 conftest.err
2039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2040 test $ac_status = 0; } && {
2041 test -z "$ac_c_werror_flag" ||
2042 test ! -s conftest.err
2043 } && test -s conftest.$ac_objext; then :
2046 $as_echo "$as_me: failed program was:" >&5
2047 sed 's/^/| /' conftest.$ac_ext >&5
2051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052 as_fn_set_status $ac_retval
2054 } # ac_fn_c_try_compile
2056 # ac_fn_cxx_try_compile LINENO
2057 # ----------------------------
2058 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2059 ac_fn_cxx_try_compile ()
2061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2062 rm -f conftest.$ac_objext
2063 if { { ac_try="$ac_compile"
2065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2066 *) ac_try_echo=$ac_try;;
2068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2069 $as_echo "$ac_try_echo"; } >&5
2070 (eval "$ac_compile") 2>conftest.err
2072 if test -s conftest.err; then
2073 grep -v '^ *+' conftest.err >conftest.er1
2074 cat conftest.er1 >&5
2075 mv -f conftest.er1 conftest.err
2077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2078 test $ac_status = 0; } && {
2079 test -z "$ac_cxx_werror_flag" ||
2080 test ! -s conftest.err
2081 } && test -s conftest.$ac_objext; then :
2084 $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090 as_fn_set_status $ac_retval
2092 } # ac_fn_cxx_try_compile
2094 # ac_fn_c_try_cpp LINENO
2095 # ----------------------
2096 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2100 if { { ac_try="$ac_cpp conftest.$ac_ext"
2102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2103 *) ac_try_echo=$ac_try;;
2105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2106 $as_echo "$ac_try_echo"; } >&5
2107 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2109 if test -s conftest.err; then
2110 grep -v '^ *+' conftest.err >conftest.er1
2111 cat conftest.er1 >&5
2112 mv -f conftest.er1 conftest.err
2114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2115 test $ac_status = 0; } > conftest.i && {
2116 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2117 test ! -s conftest.err
2121 $as_echo "$as_me: failed program was:" >&5
2122 sed 's/^/| /' conftest.$ac_ext >&5
2126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2127 as_fn_set_status $ac_retval
2131 # ac_fn_c_try_run LINENO
2132 # ----------------------
2133 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2134 # that executables *can* be run.
2137 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2138 if { { ac_try="$ac_link"
2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145 (eval "$ac_link") 2>&5
2147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2149 { { case "(($ac_try" in
2150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2151 *) ac_try_echo=$ac_try;;
2153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2154 $as_echo "$ac_try_echo"; } >&5
2155 (eval "$ac_try") 2>&5
2157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2158 test $ac_status = 0; }; }; then :
2161 $as_echo "$as_me: program exited with status $ac_status" >&5
2162 $as_echo "$as_me: failed program was:" >&5
2163 sed 's/^/| /' conftest.$ac_ext >&5
2165 ac_retval=$ac_status
2167 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2168 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169 as_fn_set_status $ac_retval
2173 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2174 # -------------------------------------------
2175 # Tests whether TYPE exists after having included INCLUDES, setting cache
2176 # variable VAR accordingly.
2177 ac_fn_c_check_type ()
2179 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2181 $as_echo_n "checking for $2... " >&6; }
2182 if eval \${$3+:} false; then :
2183 $as_echo_n "(cached) " >&6
2186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h. */
2198 if ac_fn_c_try_compile "$LINENO"; then :
2199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h. */
2211 if ac_fn_c_try_compile "$LINENO"; then :
2216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2222 $as_echo "$ac_res" >&6; }
2223 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2225 } # ac_fn_c_check_type
2227 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2228 # -------------------------------------------------------
2229 # Tests whether HEADER exists and can be compiled using the include files in
2230 # INCLUDES, setting the cache variable VAR accordingly.
2231 ac_fn_c_check_header_compile ()
2233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2235 $as_echo_n "checking for $2... " >&6; }
2236 if eval \${$3+:} false; then :
2237 $as_echo_n "(cached) " >&6
2239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2240 /* end confdefs.h. */
2244 if ac_fn_c_try_compile "$LINENO"; then :
2249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253 $as_echo "$ac_res" >&6; }
2254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2256 } # ac_fn_c_check_header_compile
2258 # ac_fn_c_try_link LINENO
2259 # -----------------------
2260 # Try to link conftest.$ac_ext, and return whether this succeeded.
2263 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2264 rm -f conftest.$ac_objext conftest$ac_exeext
2265 if { { ac_try="$ac_link"
2267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2268 *) ac_try_echo=$ac_try;;
2270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2271 $as_echo "$ac_try_echo"; } >&5
2272 (eval "$ac_link") 2>conftest.err
2274 if test -s conftest.err; then
2275 grep -v '^ *+' conftest.err >conftest.er1
2276 cat conftest.er1 >&5
2277 mv -f conftest.er1 conftest.err
2279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2280 test $ac_status = 0; } && {
2281 test -z "$ac_c_werror_flag" ||
2282 test ! -s conftest.err
2283 } && test -s conftest$ac_exeext && {
2284 test "$cross_compiling" = yes ||
2285 $as_test_x conftest$ac_exeext
2289 $as_echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.$ac_ext >&5
2294 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2295 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2296 # interfere with the next link command; also delete a directory that is
2297 # left behind by Apple's compiler. We do this before executing the actions.
2298 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2299 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2300 as_fn_set_status $ac_retval
2302 } # ac_fn_c_try_link
2304 # ac_fn_c_check_func LINENO FUNC VAR
2305 # ----------------------------------
2306 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2307 ac_fn_c_check_func ()
2309 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2311 $as_echo_n "checking for $2... " >&6; }
2312 if eval \${$3+:} false; then :
2313 $as_echo_n "(cached) " >&6
2315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2316 /* end confdefs.h. */
2317 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2319 #define $2 innocuous_$2
2321 /* System header to define __stub macros and hopefully few prototypes,
2322 which can conflict with char $2 (); below.
2323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2324 <limits.h> exists even on freestanding compilers. */
2327 # include <limits.h>
2329 # include <assert.h>
2334 /* Override any GCC internal prototype to avoid an error.
2335 Use char because int might match the return type of a GCC
2336 builtin and then its argument prototype would still apply. */
2341 /* The GNU C library defines this for functions which it implements
2342 to always fail with ENOSYS. Some functions are actually named
2343 something starting with __ and the normal name is an alias. */
2344 #if defined __stub_$2 || defined __stub___$2
2356 if ac_fn_c_try_link "$LINENO"; then :
2361 rm -f core conftest.err conftest.$ac_objext \
2362 conftest$ac_exeext conftest.$ac_ext
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2366 $as_echo "$ac_res" >&6; }
2367 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2369 } # ac_fn_c_check_func
2371 # ac_fn_cxx_try_cpp LINENO
2372 # ------------------------
2373 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2374 ac_fn_cxx_try_cpp ()
2376 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2377 if { { ac_try="$ac_cpp conftest.$ac_ext"
2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2383 $as_echo "$ac_try_echo"; } >&5
2384 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2386 if test -s conftest.err; then
2387 grep -v '^ *+' conftest.err >conftest.er1
2388 cat conftest.er1 >&5
2389 mv -f conftest.er1 conftest.err
2391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2392 test $ac_status = 0; } > conftest.i && {
2393 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2394 test ! -s conftest.err
2398 $as_echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.$ac_ext >&5
2403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2404 as_fn_set_status $ac_retval
2406 } # ac_fn_cxx_try_cpp
2408 # ac_fn_cxx_try_link LINENO
2409 # -------------------------
2410 # Try to link conftest.$ac_ext, and return whether this succeeded.
2411 ac_fn_cxx_try_link ()
2413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2414 rm -f conftest.$ac_objext conftest$ac_exeext
2415 if { { ac_try="$ac_link"
2417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2418 *) ac_try_echo=$ac_try;;
2420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 $as_echo "$ac_try_echo"; } >&5
2422 (eval "$ac_link") 2>conftest.err
2424 if test -s conftest.err; then
2425 grep -v '^ *+' conftest.err >conftest.er1
2426 cat conftest.er1 >&5
2427 mv -f conftest.er1 conftest.err
2429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2430 test $ac_status = 0; } && {
2431 test -z "$ac_cxx_werror_flag" ||
2432 test ! -s conftest.err
2433 } && test -s conftest$ac_exeext && {
2434 test "$cross_compiling" = yes ||
2435 $as_test_x conftest$ac_exeext
2439 $as_echo "$as_me: failed program was:" >&5
2440 sed 's/^/| /' conftest.$ac_ext >&5
2444 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2445 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2446 # interfere with the next link command; also delete a directory that is
2447 # left behind by Apple's compiler. We do this before executing the actions.
2448 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2449 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2450 as_fn_set_status $ac_retval
2452 } # ac_fn_cxx_try_link
2454 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2455 # -------------------------------------------------------
2456 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2457 # the include files in INCLUDES and setting the cache variable VAR
2459 ac_fn_c_check_header_mongrel ()
2461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2462 if eval \${$3+:} false; then :
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2464 $as_echo_n "checking for $2... " >&6; }
2465 if eval \${$3+:} false; then :
2466 $as_echo_n "(cached) " >&6
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2470 $as_echo "$ac_res" >&6; }
2472 # Is the header compilable?
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2474 $as_echo_n "checking $2 usability... " >&6; }
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2480 if ac_fn_c_try_compile "$LINENO"; then :
2481 ac_header_compiler=yes
2483 ac_header_compiler=no
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2487 $as_echo "$ac_header_compiler" >&6; }
2489 # Is the header present?
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2491 $as_echo_n "checking $2 presence... " >&6; }
2492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2493 /* end confdefs.h. */
2496 if ac_fn_c_try_cpp "$LINENO"; then :
2497 ac_header_preproc=yes
2499 ac_header_preproc=no
2501 rm -f conftest.err conftest.i conftest.$ac_ext
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2503 $as_echo "$ac_header_preproc" >&6; }
2505 # So? What about this header?
2506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2509 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2511 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2515 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2517 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2519 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2521 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2523 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2524 ( $as_echo "## -------------------------------------- ##
2525 ## Report this to http://bugs.webkit.org/ ##
2526 ## -------------------------------------- ##"
2527 ) | sed "s/^/$as_me: WARNING: /" >&2
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2531 $as_echo_n "checking for $2... " >&6; }
2532 if eval \${$3+:} false; then :
2533 $as_echo_n "(cached) " >&6
2535 eval "$3=\$ac_header_compiler"
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2539 $as_echo "$ac_res" >&6; }
2541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 } # ac_fn_c_check_header_mongrel
2544 cat >config.log <<_ACEOF
2545 This file contains any messages produced by compilers while
2546 running configure, to aid debugging if configure makes a mistake.
2548 It was created by WebKit $as_me 1.6.1, which was
2549 generated by GNU Autoconf 2.68. Invocation command line was
2561 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2562 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2563 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2564 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2565 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2567 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2568 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2570 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2571 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2572 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2573 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2574 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2575 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2576 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 test -z "$as_dir" && as_dir=.
2585 $as_echo "PATH: $as_dir"
2601 # Keep a trace of the command line.
2602 # Strip out --no-create and --no-recursion so they do not pile up.
2603 # Strip out --silent because we don't want to record it for future runs.
2604 # Also quote any args containing shell meta-characters.
2605 # Make two passes to allow for proper duplicate-argument suppression.
2609 ac_must_keep_next=false
2615 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2616 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2617 | -silent | --silent | --silen | --sile | --sil)
2620 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2623 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2625 as_fn_append ac_configure_args1 " '$ac_arg'"
2626 if test $ac_must_keep_next = true; then
2627 ac_must_keep_next=false # Got value, back to normal.
2630 *=* | --config-cache | -C | -disable-* | --disable-* \
2631 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2632 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2633 | -with-* | --with-* | -without-* | --without-* | --x)
2634 case "$ac_configure_args0 " in
2635 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2638 -* ) ac_must_keep_next=true ;;
2641 as_fn_append ac_configure_args " '$ac_arg'"
2646 { ac_configure_args0=; unset ac_configure_args0;}
2647 { ac_configure_args1=; unset ac_configure_args1;}
2649 # When interrupted or exit'd, cleanup temporary files, and complete
2650 # config.log. We remove comments because anyway the quotes in there
2651 # would cause problems or look ugly.
2652 # WARNING: Use '\'' to represent an apostrophe within the trap.
2653 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2654 trap 'exit_status=$?
2655 # Save into config.log some information that might help in debugging.
2659 $as_echo "## ---------------- ##
2660 ## Cache variables. ##
2661 ## ---------------- ##"
2663 # The following way of writing the cache mishandles newlines in values,
2665 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2666 eval ac_val=\$$ac_var
2670 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2671 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2674 _ | IFS | as_nl) ;; #(
2675 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2676 *) { eval $ac_var=; unset $ac_var;} ;;
2681 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2682 *${as_nl}ac_space=\ *)
2684 "s/'\''/'\''\\\\'\'''\''/g;
2685 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2688 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2695 $as_echo "## ----------------- ##
2696 ## Output variables. ##
2697 ## ----------------- ##"
2699 for ac_var in $ac_subst_vars
2701 eval ac_val=\$$ac_var
2703 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2705 $as_echo "$ac_var='\''$ac_val'\''"
2709 if test -n "$ac_subst_files"; then
2710 $as_echo "## ------------------- ##
2711 ## File substitutions. ##
2712 ## ------------------- ##"
2714 for ac_var in $ac_subst_files
2716 eval ac_val=\$$ac_var
2718 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2720 $as_echo "$ac_var='\''$ac_val'\''"
2725 if test -s confdefs.h; then
2726 $as_echo "## ----------- ##
2733 test "$ac_signal" != 0 &&
2734 $as_echo "$as_me: caught signal $ac_signal"
2735 $as_echo "$as_me: exit $exit_status"
2737 rm -f core *.core core.conftest.* &&
2738 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2741 for ac_signal in 1 2 13 15; do
2742 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2746 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2747 rm -f -r conftest* confdefs.h
2749 $as_echo "/* confdefs.h */" > confdefs.h
2751 # Predefined preprocessor variables.
2753 cat >>confdefs.h <<_ACEOF
2754 #define PACKAGE_NAME "$PACKAGE_NAME"
2757 cat >>confdefs.h <<_ACEOF
2758 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2761 cat >>confdefs.h <<_ACEOF
2762 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2765 cat >>confdefs.h <<_ACEOF
2766 #define PACKAGE_STRING "$PACKAGE_STRING"
2769 cat >>confdefs.h <<_ACEOF
2770 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2773 cat >>confdefs.h <<_ACEOF
2774 #define PACKAGE_URL "$PACKAGE_URL"
2778 # Let the site file select an alternate cache file if it wants to.
2779 # Prefer an explicitly selected file to automatically selected ones.
2782 if test -n "$CONFIG_SITE"; then
2783 # We do not want a PATH search for config.site.
2784 case $CONFIG_SITE in #((
2785 -*) ac_site_file1=./$CONFIG_SITE;;
2786 */*) ac_site_file1=$CONFIG_SITE;;
2787 *) ac_site_file1=./$CONFIG_SITE;;
2789 elif test "x$prefix" != xNONE; then
2790 ac_site_file1=$prefix/share/config.site
2791 ac_site_file2=$prefix/etc/config.site
2793 ac_site_file1=$ac_default_prefix/share/config.site
2794 ac_site_file2=$ac_default_prefix/etc/config.site
2796 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2798 test "x$ac_site_file" = xNONE && continue
2799 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2801 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2802 sed 's/^/| /' "$ac_site_file" >&5
2804 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2806 as_fn_error $? "failed to load site script $ac_site_file
2807 See \`config.log' for more details" "$LINENO" 5; }
2811 if test -r "$cache_file"; then
2812 # Some versions of bash will fail to source /dev/null (special files
2813 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2814 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2816 $as_echo "$as_me: loading cache $cache_file" >&6;}
2818 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2819 *) . "./$cache_file";;
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2824 $as_echo "$as_me: creating cache $cache_file" >&6;}
2828 # Check that the precious variables saved in the cache have kept the same
2830 ac_cache_corrupted=false
2831 for ac_var in $ac_precious_vars; do
2832 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2833 eval ac_new_set=\$ac_env_${ac_var}_set
2834 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2835 eval ac_new_val=\$ac_env_${ac_var}_value
2836 case $ac_old_set,$ac_new_set in
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2839 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2840 ac_cache_corrupted=: ;;
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2843 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2844 ac_cache_corrupted=: ;;
2847 if test "x$ac_old_val" != "x$ac_new_val"; then
2848 # differences in whitespace do not lead to failure.
2849 ac_old_val_w=`echo x $ac_old_val`
2850 ac_new_val_w=`echo x $ac_new_val`
2851 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2853 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2854 ac_cache_corrupted=:
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2857 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2858 eval $ac_var=\$ac_old_val
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2861 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2863 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2866 # Pass precious variables to config.status.
2867 if test "$ac_new_set" = set; then
2869 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2870 *) ac_arg=$ac_var=$ac_new_val ;;
2872 case " $ac_configure_args " in
2873 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2874 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2878 if $ac_cache_corrupted; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2882 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2883 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2885 ## -------------------- ##
2886 ## Main body of script. ##
2887 ## -------------------- ##
2890 ac_cpp='$CPP $CPPFLAGS'
2891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2899 for ac_dir in Source/autotools "$srcdir"/Source/autotools; do
2900 if test -f "$ac_dir/install-sh"; then
2902 ac_install_sh="$ac_aux_dir/install-sh -c"
2904 elif test -f "$ac_dir/install.sh"; then
2906 ac_install_sh="$ac_aux_dir/install.sh -c"
2908 elif test -f "$ac_dir/shtool"; then
2910 ac_install_sh="$ac_aux_dir/shtool install -c"
2914 if test -z "$ac_aux_dir"; then
2915 as_fn_error $? "cannot find install-sh, install.sh, or shtool in Source/autotools \"$srcdir\"/Source/autotools" "$LINENO" 5
2918 # These three variables are undocumented and unsupported,
2919 # and are intended to be withdrawn in a future Autoconf release.
2920 # They can cause serious problems if a builder's source tree is in a directory
2921 # whose full name contains unusual characters.
2922 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2923 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2924 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2927 ACLOCAL_AMFLAGS="-I Source/autotools"
2930 ac_config_headers="$ac_config_headers autotoolsconfig.h"
2932 # Make sure we can run config.sub.
2933 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2934 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2937 $as_echo_n "checking build system type... " >&6; }
2938 if ${ac_cv_build+:} false; then :
2939 $as_echo_n "(cached) " >&6
2941 ac_build_alias=$build_alias
2942 test "x$ac_build_alias" = x &&
2943 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2944 test "x$ac_build_alias" = x &&
2945 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2946 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2947 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2951 $as_echo "$ac_cv_build" >&6; }
2952 case $ac_cv_build in
2954 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2957 ac_save_IFS=$IFS; IFS='-'
2963 # Remember, the first character of IFS is used to create $*,
2964 # except with old shells:
2967 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2971 $as_echo_n "checking host system type... " >&6; }
2972 if ${ac_cv_host+:} false; then :
2973 $as_echo_n "(cached) " >&6
2975 if test "x$host_alias" = x; then
2976 ac_cv_host=$ac_cv_build
2978 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2979 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2984 $as_echo "$ac_cv_host" >&6; }
2987 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2990 ac_save_IFS=$IFS; IFS='-'
2996 # Remember, the first character of IFS is used to create $*,
2997 # except with old shells:
3000 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3004 WEBKIT_MAJOR_VERSION=1
3005 WEBKIT_MINOR_VERSION=6
3006 WEBKIT_MICRO_VERSION=1
3007 WEBKIT_USER_AGENT_MAJOR_VERSION=535
3008 WEBKIT_USER_AGENT_MINOR_VERSION=4
3017 LIBWEBKITGTK_VERSION=11:0:11
3020 am__api_version='1.11'
3022 # Find a good install program. We prefer a C program (faster),
3023 # so one script is as good as another. But avoid the broken or
3024 # incompatible versions:
3025 # SysV /etc/install, /usr/sbin/install
3026 # SunOS /usr/etc/install
3027 # IRIX /sbin/install
3029 # AmigaOS /C/install, which installs bootblocks on floppy discs
3030 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3031 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3032 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3033 # OS/2's system install, which has a completely different semantic
3034 # ./install, which can be erroneously created by make from ./install.sh.
3035 # Reject install programs that cannot install multiple files.
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3037 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3038 if test -z "$INSTALL"; then
3039 if ${ac_cv_path_install+:} false; then :
3040 $as_echo_n "(cached) " >&6
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir=.
3047 # Account for people who put trailing slashes in PATH elements.
3048 case $as_dir/ in #((
3049 ./ | .// | /[cC]/* | \
3050 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3051 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3054 # OSF1 and SCO ODT 3.0 have their own names for install.
3055 # Don't use installbsd from OSF since it installs stuff as root
3057 for ac_prog in ginstall scoinst install; do
3058 for ac_exec_ext in '' $ac_executable_extensions; do
3059 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3060 if test $ac_prog = install &&
3061 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3062 # AIX install. It has an incompatible calling convention.
3064 elif test $ac_prog = install &&
3065 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3066 # program-specific install script used by HP pwplus--don't use.
3069 rm -rf conftest.one conftest.two conftest.dir
3070 echo one > conftest.one
3071 echo two > conftest.two
3073 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3074 test -s conftest.one && test -s conftest.two &&
3075 test -s conftest.dir/conftest.one &&
3076 test -s conftest.dir/conftest.two
3078 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3091 rm -rf conftest.one conftest.two conftest.dir
3094 if test "${ac_cv_path_install+set}" = set; then
3095 INSTALL=$ac_cv_path_install
3097 # As a last resort, use the slow shell script. Don't cache a
3098 # value for INSTALL within a source directory, because that will
3099 # break other packages using the cache if that directory is
3100 # removed, or if the value is a relative name.
3101 INSTALL=$ac_install_sh
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3105 $as_echo "$INSTALL" >&6; }
3107 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3108 # It thinks the first close brace ends the variable substitution.
3109 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3111 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3113 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3116 $as_echo_n "checking whether build environment is sane... " >&6; }
3119 echo timestamp > conftest.file
3120 # Reject unsafe characters in $srcdir or the absolute working directory
3121 # name. Accept space and tab only in the latter.
3125 *[\\\"\#\$\&\'\`$am_lf]*)
3126 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3129 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3130 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3133 # Do `set' in a subshell so we don't clobber the current shell's
3134 # arguments. Must try -L first in case configure is actually a
3135 # symlink; some systems play weird games with the mod time of symlinks
3136 # (eg FreeBSD returns the mod time of the symlink's containing
3139 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3140 if test "$*" = "X"; then
3142 set X `ls -t "$srcdir/configure" conftest.file`
3145 if test "$*" != "X $srcdir/configure conftest.file" \
3146 && test "$*" != "X conftest.file $srcdir/configure"; then
3148 # If neither matched, then we have a broken ls. This can happen
3149 # if, for instance, CONFIG_SHELL is bash and it inherits a
3150 # broken ls alias from the environment. This has actually
3151 # happened. Such a system could not be considered "sane".
3152 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3153 alias in your environment" "$LINENO" 5
3156 test "$2" = conftest.file
3162 as_fn_error $? "newly created file is older than distributed files!
3163 Check your system clock" "$LINENO" 5
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3166 $as_echo "yes" >&6; }
3167 test "$program_prefix" != NONE &&
3168 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3169 # Use a double $ so make ignores it.
3170 test "$program_suffix" != NONE &&
3171 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3172 # Double any \ or $.
3173 # By default was `s,x,x', remove it if useless.
3174 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3175 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3177 # expand $ac_aux_dir to an absolute path
3178 am_aux_dir=`cd $ac_aux_dir && pwd`
3180 if test x"${MISSING+set}" != xset; then
3183 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3185 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3188 # Use eval to expand $SHELL
3189 if eval "$MISSING --run true"; then
3190 am_missing_run="$MISSING --run "
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3194 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3197 if test x"${install_sh}" != xset; then
3200 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3202 install_sh="\${SHELL} $am_aux_dir/install-sh"
3206 # Installed binaries are usually stripped using `strip' when the user
3207 # run `make install-strip'. However `strip' might not be the right
3208 # tool to use in cross-compilation environments, therefore Automake
3209 # will honor the `STRIP' environment variable to overrule this program.
3210 if test "$cross_compiling" != no; then
3211 if test -n "$ac_tool_prefix"; then
3212 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3213 set dummy ${ac_tool_prefix}strip; ac_word=$2
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3215 $as_echo_n "checking for $ac_word... " >&6; }
3216 if ${ac_cv_prog_STRIP+:} false; then :
3217 $as_echo_n "(cached) " >&6
3219 if test -n "$STRIP"; then
3220 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 test -z "$as_dir" && as_dir=.
3227 for ac_exec_ext in '' $ac_executable_extensions; do
3228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3229 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239 STRIP=$ac_cv_prog_STRIP
3240 if test -n "$STRIP"; then
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3242 $as_echo "$STRIP" >&6; }
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 $as_echo "no" >&6; }
3250 if test -z "$ac_cv_prog_STRIP"; then
3252 # Extract the first word of "strip", so it can be a program name with args.
3253 set dummy strip; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3257 $as_echo_n "(cached) " >&6
3259 if test -n "$ac_ct_STRIP"; then
3260 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir=.
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3269 ac_cv_prog_ac_ct_STRIP="strip"
3270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3280 if test -n "$ac_ct_STRIP"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3282 $as_echo "$ac_ct_STRIP" >&6; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3288 if test "x$ac_ct_STRIP" = x; then
3291 case $cross_compiling:$ac_tool_warned in
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3295 ac_tool_warned=yes ;;
3300 STRIP="$ac_cv_prog_STRIP"
3304 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3307 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3308 if test -z "$MKDIR_P"; then
3309 if ${ac_cv_path_mkdir+:} false; then :
3310 $as_echo_n "(cached) " >&6
3312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3316 test -z "$as_dir" && as_dir=.
3317 for ac_prog in mkdir gmkdir; do
3318 for ac_exec_ext in '' $ac_executable_extensions; do
3319 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3320 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3321 'mkdir (GNU coreutils) '* | \
3322 'mkdir (coreutils) '* | \
3323 'mkdir (fileutils) '4.1*)
3324 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3334 test -d ./--version && rmdir ./--version
3335 if test "${ac_cv_path_mkdir+set}" = set; then
3336 MKDIR_P="$ac_cv_path_mkdir -p"
3338 # As a last resort, use the slow shell script. Don't cache a
3339 # value for MKDIR_P within a source directory, because that will
3340 # break other packages using the cache if that directory is
3341 # removed, or if the value is a relative name.
3342 MKDIR_P="$ac_install_sh -d"
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3346 $as_echo "$MKDIR_P" >&6; }
3350 [\\/$]* | ?:[\\/]*) ;;
3351 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3354 for ac_prog in gawk mawk nawk awk
3356 # Extract the first word of "$ac_prog", so it can be a program name with args.
3357 set dummy $ac_prog; ac_word=$2
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3359 $as_echo_n "checking for $ac_word... " >&6; }
3360 if ${ac_cv_prog_AWK+:} false; then :
3361 $as_echo_n "(cached) " >&6
3363 if test -n "$AWK"; then
3364 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370 test -z "$as_dir" && as_dir=.
3371 for ac_exec_ext in '' $ac_executable_extensions; do
3372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373 ac_cv_prog_AWK="$ac_prog"
3374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3384 if test -n "$AWK"; then
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3386 $as_echo "$AWK" >&6; }
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3389 $as_echo "no" >&6; }
3393 test -n "$AWK" && break
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3397 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3399 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3400 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3401 $as_echo_n "(cached) " >&6
3403 cat >conftest.make <<\_ACEOF
3406 @echo '@@@%%%=$(MAKE)=@@@%%%'
3408 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3409 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3411 eval ac_cv_prog_make_${ac_make}_set=yes;;
3413 eval ac_cv_prog_make_${ac_make}_set=no;;
3417 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3419 $as_echo "yes" >&6; }
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 $as_echo "no" >&6; }
3424 SET_MAKE="MAKE=${MAKE-make}"
3427 rm -rf .tst 2>/dev/null
3428 mkdir .tst 2>/dev/null
3429 if test -d .tst; then
3434 rmdir .tst 2>/dev/null
3436 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3437 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3438 # is not polluted with repeated "-I."
3439 am__isrc=' -I$(srcdir)'
3440 # test to see if srcdir already configured
3441 if test -f $srcdir/config.status; then
3442 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3446 # test whether we have cygpath
3447 if test -z "$CYGPATH_W"; then
3448 if (cygpath --version) >/dev/null 2>/dev/null; then
3449 CYGPATH_W='cygpath -w'
3456 # Define the identity of the package.
3461 cat >>confdefs.h <<_ACEOF
3462 #define PACKAGE "$PACKAGE"
3466 cat >>confdefs.h <<_ACEOF
3467 #define VERSION "$VERSION"
3470 # Some tools Automake needs.
3472 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3475 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3478 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3481 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3484 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3486 # We need awk for the "check" target. The system "awk" is bad on
3488 # Always define AMTAR for backward compatibility. Yes, it's still used
3489 # in the wild :-( We should find a proper way to deprecate it ...
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3494 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3495 # Loop over all known methods to create a tar archive until one works.
3496 _am_tools='gnutar plaintar pax cpio none'
3497 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3498 # Do not fold the above two line into one, because Tru64 sh and
3499 # Solaris sh will not grok spaces in the rhs of `-'.
3500 for _am_tool in $_am_tools
3504 for _am_tar in tar gnutar gtar;
3506 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3507 ($_am_tar --version) >&5 2>&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } && break
3512 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3513 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3514 am__untar="$_am_tar -xf -"
3517 # Must skip GNU tar: if it does not support --format= it doesn't create
3518 # ustar tarball either.
3519 (tar --version) >/dev/null 2>&1 && continue
3520 am__tar='tar chf - "$$tardir"'
3521 am__tar_='tar chf - "$tardir"'
3522 am__untar='tar xf -'
3525 am__tar='pax -L -x ustar -w "$$tardir"'
3526 am__tar_='pax -L -x ustar -w "$tardir"'
3530 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3531 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3532 am__untar='cpio -i -H ustar -d'
3541 # If the value was cached, stop now. We just wanted to have am__tar
3542 # and am__untar set.
3543 test -n "${am_cv_prog_tar_ustar}" && break
3545 # tar/untar a dummy directory, and stop if the command works
3548 echo GrepMe > conftest.dir/file
3549 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3550 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); }
3555 if test -s conftest.tar; then
3556 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3557 ($am__untar <conftest.tar) >&5 2>&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); }
3561 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3566 if ${am_cv_prog_tar_ustar+:} false; then :
3567 $as_echo_n "(cached) " >&6
3569 am_cv_prog_tar_ustar=$_am_tool
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3573 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3580 # Use AM_SILENT_RULES if present
3581 # Check whether --enable-silent-rules was given.
3582 if test "${enable_silent_rules+set}" = set; then :
3583 enableval=$enable_silent_rules;
3586 case $enable_silent_rules in
3587 yes) AM_DEFAULT_VERBOSITY=0;;
3588 no) AM_DEFAULT_VERBOSITY=1;;
3589 *) AM_DEFAULT_VERBOSITY=0;;
3591 am_make=${MAKE-make}
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3593 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3594 if ${am_cv_make_support_nested_variables+:} false; then :
3595 $as_echo_n "(cached) " >&6
3597 if $as_echo 'TRUE=$(BAR$(V))
3603 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3604 am_cv_make_support_nested_variables=yes
3606 am_cv_make_support_nested_variables=no
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3610 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3611 if test $am_cv_make_support_nested_variables = yes; then
3613 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3615 AM_V=$AM_DEFAULT_VERBOSITY
3616 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3621 # host checking - inspired by the GTK+ configure.in
3622 # TODO: move these to webkit.m4?
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
3624 $as_echo_n "checking for native Win32... " >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
3634 $as_echo "$os_win32" >&6; }
3649 gnu* | linux* | k*bsd*-gnu)
3657 # initialize webkit options
3658 # If CXXFLAGS and CFLAGS are unset, default to empty.
3659 # This is to tell automake not to include '-g' if CXXFLAGS is not set
3660 # For more info - http://www.gnu.org/software/automake/manual/autoconf.html#C_002b_002b-Compiler
3661 if test -z "$CXXFLAGS"; then
3664 if test -z "$CFLAGS"; then
3668 DEPDIR="${am__leading_dot}deps"
3670 ac_config_commands="$ac_config_commands depfiles"
3673 am_make=${MAKE-make}
3674 cat > confinc << 'END'
3676 @echo this is the am__doit target
3679 # If we don't find an include directive, just comment out the code.
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3681 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3685 # First try GNU make style include.
3686 echo "include confinc" > confmf
3687 # Ignore all kinds of additional output from `make'.
3688 case `$am_make -s -f confmf 2> /dev/null` in #(
3689 *the\ am__doit\ target*)
3695 # Now try BSD make style include.
3696 if test "$am__include" = "#"; then
3697 echo '.include "confinc"' > confmf
3698 case `$am_make -s -f confmf 2> /dev/null` in #(
3699 *the\ am__doit\ target*)
3700 am__include=.include
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3709 $as_echo "$_am_result" >&6; }
3710 rm -f confinc confmf
3712 # Check whether --enable-dependency-tracking was given.
3713 if test "${enable_dependency_tracking+set}" = set; then :
3714 enableval=$enable_dependency_tracking;
3717 if test "x$enable_dependency_tracking" != xno; then
3718 am_depcomp="$ac_aux_dir/depcomp"
3722 if test "x$enable_dependency_tracking" != xno; then
3732 ac_cpp='$CPP $CPPFLAGS'
3733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736 if test -n "$ac_tool_prefix"; then
3737 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3738 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_CC+:} false; then :
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3775 if test -z "$ac_cv_prog_CC"; then
3777 # Extract the first word of "gcc", so it can be a program name with args.
3778 set dummy gcc; ac_word=$2
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3782 $as_echo_n "(cached) " >&6
3784 if test -n "$ac_ct_CC"; then
3785 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 test -z "$as_dir" && as_dir=.
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3794 ac_cv_prog_ac_ct_CC="gcc"
3795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3805 if test -n "$ac_ct_CC"; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3807 $as_echo "$ac_ct_CC" >&6; }
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 $as_echo "no" >&6; }
3813 if test "x$ac_ct_CC" = x; then
3816 case $cross_compiling:$ac_tool_warned in
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820 ac_tool_warned=yes ;;
3828 if test -z "$CC"; then
3829 if test -n "$ac_tool_prefix"; then
3830 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3831 set dummy ${ac_tool_prefix}cc; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if ${ac_cv_prog_CC+:} false; then :
3835 $as_echo_n "(cached) " >&6
3837 if test -n "$CC"; then
3838 ac_cv_prog_CC="$CC" # Let the user override the test.
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844 test -z "$as_dir" && as_dir=.
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3847 ac_cv_prog_CC="${ac_tool_prefix}cc"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 if test -n "$CC"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3860 $as_echo "$CC" >&6; }
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3869 if test -z "$CC"; then
3870 # Extract the first word of "cc", so it can be a program name with args.
3871 set dummy cc; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_CC+:} false; then :
3875 $as_echo_n "(cached) " >&6
3877 if test -n "$CC"; then
3878 ac_cv_prog_CC="$CC" # Let the user override the test.
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3888 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3889 ac_prog_rejected=yes
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 if test $ac_prog_rejected = yes; then
3901 # We found a bogon in the path, so make sure we never use it.
3902 set dummy $ac_cv_prog_CC
3904 if test $# != 0; then
3905 # We chose a different compiler from the bogus one.
3906 # However, it has the same basename, so the bogon will be chosen
3907 # first if we set CC to just the basename; use the full file name.
3909 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3915 if test -n "$CC"; then
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3917 $as_echo "$CC" >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3925 if test -z "$CC"; then
3926 if test -n "$ac_tool_prefix"; then
3927 for ac_prog in cl.exe
3929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_CC+:} false; then :
3934 $as_echo_n "(cached) " >&6
3936 if test -n "$CC"; then
3937 ac_cv_prog_CC="$CC" # Let the user override the test.
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3943 test -z "$as_dir" && as_dir=.
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3946 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3957 if test -n "$CC"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3959 $as_echo "$CC" >&6; }
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3966 test -n "$CC" && break
3969 if test -z "$CC"; then
3971 for ac_prog in cl.exe
3973 # Extract the first word of "$ac_prog", so it can be a program name with args.
3974 set dummy $ac_prog; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3978 $as_echo_n "(cached) " >&6
3980 if test -n "$ac_ct_CC"; then
3981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3990 ac_cv_prog_ac_ct_CC="$ac_prog"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4001 if test -n "$ac_ct_CC"; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4003 $as_echo "$ac_ct_CC" >&6; }
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4010 test -n "$ac_ct_CC" && break
4013 if test "x$ac_ct_CC" = x; then
4016 case $cross_compiling:$ac_tool_warned in
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4020 ac_tool_warned=yes ;;
4029 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error $? "no acceptable C compiler found in \$PATH
4032 See \`config.log' for more details" "$LINENO" 5; }
4034 # Provide some information about the compiler.
4035 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4038 for ac_option in --version -v -V -qversion; do
4039 { { ac_try="$ac_compiler $ac_option >&5"
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4048 if test -s conftest.err; then
4050 ... rest of stderr output deleted ...
4051 10q' conftest.err >conftest.er1
4052 cat conftest.er1 >&5
4054 rm -f conftest.er1 conftest.err
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4070 ac_clean_files_save=$ac_clean_files
4071 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4072 # Try to create an executable without -o first, disregard a.out.
4073 # It will help us diagnose broken compilers, and finding out an intuition
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4076 $as_echo_n "checking whether the C compiler works... " >&6; }
4077 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4079 # The possible output files:
4080 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4083 for ac_file in $ac_files
4086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4087 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4092 if { { ac_try="$ac_link_default"
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_link_default") 2>&5
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4104 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4105 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4106 # so that the user can short-circuit this test for compilers unknown to
4108 for ac_file in $ac_files ''
4110 test -f "$ac_file" || continue
4112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4115 # We found the default executable, but exeext='' is most
4119 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4121 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4123 # We set ac_cv_exeext here because the later test for it is not
4124 # safe: cross compilers may not add the suffix if given an `-o'
4125 # argument, so we may need to know it at that point already.
4126 # Even if this section looks crufty: it has the advantage of
4133 test "$ac_cv_exeext" = no && ac_cv_exeext=
4138 if test -z "$ac_file"; then :
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4141 $as_echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error 77 "C compiler cannot create executables
4147 See \`config.log' for more details" "$LINENO" 5; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4150 $as_echo "yes" >&6; }
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4153 $as_echo_n "checking for C compiler default output file name... " >&6; }
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4155 $as_echo "$ac_file" >&6; }
4156 ac_exeext=$ac_cv_exeext
4158 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4159 ac_clean_files=$ac_clean_files_save
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4161 $as_echo_n "checking for suffix of executables... " >&6; }
4162 if { { ac_try="$ac_link"
4164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165 *) ac_try_echo=$ac_try;;
4167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4168 $as_echo "$ac_try_echo"; } >&5
4169 (eval "$ac_link") 2>&5
4171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172 test $ac_status = 0; }; then :
4173 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4174 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4175 # work properly (i.e., refer to `conftest.exe'), while it won't with
4177 for ac_file in conftest.exe conftest conftest.*; do
4178 test -f "$ac_file" || continue
4180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4181 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4189 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4190 See \`config.log' for more details" "$LINENO" 5; }
4192 rm -f conftest conftest$ac_cv_exeext
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4194 $as_echo "$ac_cv_exeext" >&6; }
4196 rm -f conftest.$ac_ext
4197 EXEEXT=$ac_cv_exeext
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4205 FILE *f = fopen ("conftest.out", "w");
4206 return ferror (f) || fclose (f) != 0;
4212 ac_clean_files="$ac_clean_files conftest.out"
4213 # Check that the compiler produces executables we can run. If not, either
4214 # the compiler is broken, or we cross compile.
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4216 $as_echo_n "checking whether we are cross compiling... " >&6; }
4217 if test "$cross_compiling" != yes; then
4218 { { ac_try="$ac_link"
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4224 $as_echo "$ac_try_echo"; } >&5
4225 (eval "$ac_link") 2>&5
4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4228 test $ac_status = 0; }
4229 if { ac_try='./conftest$ac_cv_exeext'
4230 { { case "(($ac_try" in
4231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232 *) ac_try_echo=$ac_try;;
4234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4235 $as_echo "$ac_try_echo"; } >&5
4236 (eval "$ac_try") 2>&5
4238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4239 test $ac_status = 0; }; }; then
4242 if test "$cross_compiling" = maybe; then
4245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4247 as_fn_error $? "cannot run C compiled programs.
4248 If you meant to cross compile, use \`--host'.
4249 See \`config.log' for more details" "$LINENO" 5; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4254 $as_echo "$cross_compiling" >&6; }
4256 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4257 ac_clean_files=$ac_clean_files_save
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4259 $as_echo_n "checking for suffix of object files... " >&6; }
4260 if ${ac_cv_objext+:} false; then :
4261 $as_echo_n "(cached) " >&6
4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h. */
4274 rm -f conftest.o conftest.obj
4275 if { { ac_try="$ac_compile"
4277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4278 *) ac_try_echo=$ac_try;;
4280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4281 $as_echo "$ac_try_echo"; } >&5
4282 (eval "$ac_compile") 2>&5
4284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4285 test $ac_status = 0; }; then :
4286 for ac_file in conftest.o conftest.obj conftest.*; do
4287 test -f "$ac_file" || continue;
4289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4290 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4295 $as_echo "$as_me: failed program was:" >&5
4296 sed 's/^/| /' conftest.$ac_ext >&5
4298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4300 as_fn_error $? "cannot compute suffix of object files: cannot compile
4301 See \`config.log' for more details" "$LINENO" 5; }
4303 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4306 $as_echo "$ac_cv_objext" >&6; }
4307 OBJEXT=$ac_cv_objext
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4310 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4311 if ${ac_cv_c_compiler_gnu+:} false; then :
4312 $as_echo_n "(cached) " >&6
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h. */
4328 if ac_fn_c_try_compile "$LINENO"; then :
4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4334 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4338 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4339 if test $ac_compiler_gnu = yes; then
4344 ac_test_CFLAGS=${CFLAGS+set}
4345 ac_save_CFLAGS=$CFLAGS
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4347 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4348 if ${ac_cv_prog_cc_g+:} false; then :
4349 $as_echo_n "(cached) " >&6
4351 ac_save_c_werror_flag=$ac_c_werror_flag
4352 ac_c_werror_flag=yes
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4366 if ac_fn_c_try_compile "$LINENO"; then :
4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4381 if ac_fn_c_try_compile "$LINENO"; then :
4384 ac_c_werror_flag=$ac_save_c_werror_flag
4386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4397 if ac_fn_c_try_compile "$LINENO"; then :
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4405 ac_c_werror_flag=$ac_save_c_werror_flag
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4408 $as_echo "$ac_cv_prog_cc_g" >&6; }
4409 if test "$ac_test_CFLAGS" = set; then
4410 CFLAGS=$ac_save_CFLAGS
4411 elif test $ac_cv_prog_cc_g = yes; then
4412 if test "$GCC" = yes; then
4418 if test "$GCC" = yes; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4425 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4426 if ${ac_cv_prog_cc_c89+:} false; then :
4427 $as_echo_n "(cached) " >&6
4429 ac_cv_prog_cc_c89=no
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4435 #include <sys/types.h>
4436 #include <sys/stat.h>
4437 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4438 struct buf { int x; };
4439 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4440 static char *e (p, i)
4446 static char *f (char * (*g) (char **, int), char **p, ...)
4451 s = g (p, va_arg (v,int));
4456 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4457 function prototypes and stuff, but not '\xHH' hex character constants.
4458 These don't provoke an error unfortunately, instead are silently treated
4459 as 'x'. The following induces an error, until -std is added to get
4460 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4461 array size at least. It's necessary to write '\x00'==0 to get something
4462 that's true only with -std. */
4463 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4465 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4466 inside strings and character constants. */
4468 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4470 int test (int i, double x);
4471 struct s1 {int (*f) (int a);};
4472 struct s2 {int (*f) (double a);};
4473 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4479 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4484 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4485 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4487 CC="$ac_save_CC $ac_arg"
4488 if ac_fn_c_try_compile "$LINENO"; then :
4489 ac_cv_prog_cc_c89=$ac_arg
4491 rm -f core conftest.err conftest.$ac_objext
4492 test "x$ac_cv_prog_cc_c89" != "xno" && break
4494 rm -f conftest.$ac_ext
4499 case "x$ac_cv_prog_cc_c89" in
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4502 $as_echo "none needed" >&6; } ;;
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4505 $as_echo "unsupported" >&6; } ;;
4507 CC="$CC $ac_cv_prog_cc_c89"
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4509 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4511 if test "x$ac_cv_prog_cc_c89" != xno; then :
4516 ac_cpp='$CPP $CPPFLAGS'
4517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4521 depcc="$CC" am_compiler_list=
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4524 $as_echo_n "checking dependency style of $depcc... " >&6; }
4525 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4526 $as_echo_n "(cached) " >&6
4528 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4529 # We make a subdir and do the tests there. Otherwise we can end up
4530 # making bogus files that we don't know about and never remove. For
4531 # instance it was reported that on HP-UX the gcc test will end up
4532 # making a dummy file named `D' -- because `-MD' means `put the output
4536 # Copy depcomp to subdir because otherwise we won't find it if we're
4537 # using a relative directory.
4538 cp "$am_depcomp" conftest.dir
4540 # We will build objects and dependencies in a subdirectory because
4541 # it helps to detect inapplicable dependency modes. For instance
4542 # both Tru64's cc and ICC support -MD to output dependencies as a
4543 # side effect of compilation, but ICC will put the dependencies in
4544 # the current directory while Tru64 will put them in the object
4548 am_cv_CC_dependencies_compiler_type=none
4549 if test "$am_compiler_list" = ""; then
4550 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4553 case " $depcc " in #(
4554 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4557 for depmode in $am_compiler_list; do
4558 # Setup a source with many dependencies, because some compilers
4559 # like to wrap large dependency lists on column 80 (with \), and
4560 # we should not choose a depcomp mode which is confused by this.
4562 # We need to recreate these files for each test, as the compiler may
4563 # overwrite some of them when testing with obscure command lines.
4564 # This happens at least with the AIX C compiler.
4566 for i in 1 2 3 4 5 6; do
4567 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4568 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4569 # Solaris 8's {/usr,}/bin/sh.
4570 touch sub/conftst$i.h
4572 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4574 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4575 # mode. It turns out that the SunPro C++ compiler does not properly
4576 # handle `-M -o', and we need to detect this. Also, some Intel
4577 # versions had trouble with output in subdirs
4578 am__obj=sub/conftest.${OBJEXT-o}
4579 am__minus_obj="-o $am__obj"
4582 # This depmode causes a compiler race in universal mode.
4583 test "$am__universal" = false || continue
4586 # after this tag, mechanisms are not by side-effect, so they'll
4587 # only be used when explicitly requested
4588 if test "x$enable_dependency_tracking" = xyes; then
4594 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4595 # This compiler won't grok `-c -o', but also, the minuso test has
4596 # not run yet. These depmodes are late enough in the game, and
4597 # so weak that their functioning should not be impacted.
4598 am__obj=conftest.${OBJEXT-o}
4603 if depmode=$depmode \
4604 source=sub/conftest.c object=$am__obj \
4605 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4606 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4607 >/dev/null 2>conftest.err &&
4608 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4609 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4610 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4611 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4612 # icc doesn't choke on unknown options, it will just issue warnings
4613 # or remarks (even with -Werror). So we grep stderr for any message
4614 # that says an option was ignored or not supported.
4615 # When given -MP, icc 7.0 and 7.1 complain thusly:
4616 # icc: Command line warning: ignoring option '-M'; no argument required
4617 # The diagnosis changed in icc 8.0:
4618 # icc: Command line remark: option '-MP' not supported
4619 if (grep 'ignoring option' conftest.err ||
4620 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4621 am_cv_CC_dependencies_compiler_type=$depmode
4630 am_cv_CC_dependencies_compiler_type=none
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4635 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4636 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4639 test "x$enable_dependency_tracking" != xno \
4640 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4642 am__fastdepCC_FALSE='#'
4644 am__fastdepCC_TRUE='#'
4645 am__fastdepCC_FALSE=
4651 ac_cpp='$CXXCPP $CPPFLAGS'
4652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4655 if test -z "$CXX"; then
4656 if test -n "$CCC"; then
4659 if test -n "$ac_tool_prefix"; then
4660 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4662 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 $as_echo_n "checking for $ac_word... " >&6; }
4666 if ${ac_cv_prog_CXX+:} false; then :
4667 $as_echo_n "(cached) " >&6
4669 if test -n "$CXX"; then
4670 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 test -z "$as_dir" && as_dir=.
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4679 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 if test -n "$CXX"; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4692 $as_echo "$CXX" >&6; }
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
4699 test -n "$CXX" && break
4702 if test -z "$CXX"; then
4704 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4706 # Extract the first word of "$ac_prog", so it can be a program name with args.
4707 set dummy $ac_prog; ac_word=$2
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 $as_echo_n "checking for $ac_word... " >&6; }
4710 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4711 $as_echo_n "(cached) " >&6
4713 if test -n "$ac_ct_CXX"; then
4714 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 test -z "$as_dir" && as_dir=.
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723 ac_cv_prog_ac_ct_CXX="$ac_prog"
4724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4733 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4734 if test -n "$ac_ct_CXX"; then
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4736 $as_echo "$ac_ct_CXX" >&6; }
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4743 test -n "$ac_ct_CXX" && break
4746 if test "x$ac_ct_CXX" = x; then
4749 case $cross_compiling:$ac_tool_warned in
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4753 ac_tool_warned=yes ;;
4761 # Provide some information about the compiler.
4762 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4765 for ac_option in --version -v -V -qversion; do
4766 { { ac_try="$ac_compiler $ac_option >&5"
4768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4769 *) ac_try_echo=$ac_try;;
4771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4772 $as_echo "$ac_try_echo"; } >&5
4773 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4775 if test -s conftest.err; then
4777 ... rest of stderr output deleted ...
4778 10q' conftest.err >conftest.er1
4779 cat conftest.er1 >&5
4781 rm -f conftest.er1 conftest.err
4782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4783 test $ac_status = 0; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4787 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4788 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4789 $as_echo_n "(cached) " >&6
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4805 if ac_fn_cxx_try_compile "$LINENO"; then :
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4815 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4816 if test $ac_compiler_gnu = yes; then
4821 ac_test_CXXFLAGS=${CXXFLAGS+set}
4822 ac_save_CXXFLAGS=$CXXFLAGS
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4824 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4825 if ${ac_cv_prog_cxx_g+:} false; then :
4826 $as_echo_n "(cached) " >&6
4828 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4829 ac_cxx_werror_flag=yes
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4843 if ac_fn_cxx_try_compile "$LINENO"; then :
4844 ac_cv_prog_cxx_g=yes
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4858 if ac_fn_cxx_try_compile "$LINENO"; then :
4861 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4874 if ac_fn_cxx_try_compile "$LINENO"; then :
4875 ac_cv_prog_cxx_g=yes
4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4885 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4886 if test "$ac_test_CXXFLAGS" = set; then
4887 CXXFLAGS=$ac_save_CXXFLAGS
4888 elif test $ac_cv_prog_cxx_g = yes; then
4889 if test "$GXX" = yes; then
4895 if test "$GXX" = yes; then
4902 ac_cpp='$CPP $CPPFLAGS'
4903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4907 depcc="$CXX" am_compiler_list=
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4910 $as_echo_n "checking dependency style of $depcc... " >&6; }
4911 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4912 $as_echo_n "(cached) " >&6
4914 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4915 # We make a subdir and do the tests there. Otherwise we can end up
4916 # making bogus files that we don't know about and never remove. For
4917 # instance it was reported that on HP-UX the gcc test will end up
4918 # making a dummy file named `D' -- because `-MD' means `put the output
4922 # Copy depcomp to subdir because otherwise we won't find it if we're
4923 # using a relative directory.
4924 cp "$am_depcomp" conftest.dir
4926 # We will build objects and dependencies in a subdirectory because
4927 # it helps to detect inapplicable dependency modes. For instance
4928 # both Tru64's cc and ICC support -MD to output dependencies as a
4929 # side effect of compilation, but ICC will put the dependencies in
4930 # the current directory while Tru64 will put them in the object
4934 am_cv_CXX_dependencies_compiler_type=none
4935 if test "$am_compiler_list" = ""; then
4936 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4939 case " $depcc " in #(
4940 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4943 for depmode in $am_compiler_list; do
4944 # Setup a source with many dependencies, because some compilers
4945 # like to wrap large dependency lists on column 80 (with \), and
4946 # we should not choose a depcomp mode which is confused by this.
4948 # We need to recreate these files for each test, as the compiler may
4949 # overwrite some of them when testing with obscure command lines.
4950 # This happens at least with the AIX C compiler.
4952 for i in 1 2 3 4 5 6; do
4953 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4954 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4955 # Solaris 8's {/usr,}/bin/sh.
4956 touch sub/conftst$i.h
4958 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4960 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4961 # mode. It turns out that the SunPro C++ compiler does not properly
4962 # handle `-M -o', and we need to detect this. Also, some Intel
4963 # versions had trouble with output in subdirs
4964 am__obj=sub/conftest.${OBJEXT-o}
4965 am__minus_obj="-o $am__obj"
4968 # This depmode causes a compiler race in universal mode.
4969 test "$am__universal" = false || continue
4972 # after this tag, mechanisms are not by side-effect, so they'll
4973 # only be used when explicitly requested
4974 if test "x$enable_dependency_tracking" = xyes; then
4980 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4981 # This compiler won't grok `-c -o', but also, the minuso test has
4982 # not run yet. These depmodes are late enough in the game, and
4983 # so weak that their functioning should not be impacted.
4984 am__obj=conftest.${OBJEXT-o}
4989 if depmode=$depmode \
4990 source=sub/conftest.c object=$am__obj \
4991 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4992 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4993 >/dev/null 2>conftest.err &&
4994 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4995 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4996 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4997 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4998 # icc doesn't choke on unknown options, it will just issue warnings
4999 # or remarks (even with -Werror). So we grep stderr for any message
5000 # that says an option was ignored or not supported.
5001 # When given -MP, icc 7.0 and 7.1 complain thusly:
5002 # icc: Command line warning: ignoring option '-M'; no argument required
5003 # The diagnosis changed in icc 8.0:
5004 # icc: Command line remark: option '-MP' not supported
5005 if (grep 'ignoring option' conftest.err ||
5006 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5007 am_cv_CXX_dependencies_compiler_type=$depmode
5016 am_cv_CXX_dependencies_compiler_type=none
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5021 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5022 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5025 test "x$enable_dependency_tracking" != xno \
5026 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5027 am__fastdepCXX_TRUE=
5028 am__fastdepCXX_FALSE='#'
5030 am__fastdepCXX_TRUE='#'
5031 am__fastdepCXX_FALSE=
5035 if test "x$CC" != xcc; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5037 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5040 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5042 set dummy $CC; ac_cc=`$as_echo "$2" |
5043 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5044 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5045 $as_echo_n "(cached) " >&6
5047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5058 # Make sure it works both with $CC and with simple cc.
5059 # We do the test twice because some compilers refuse to overwrite an
5060 # existing .o file with -o, though they will create one.
5061 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5063 if { { case "(($ac_try" in
5064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5065 *) ac_try_echo=$ac_try;;
5067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5068 $as_echo "$ac_try_echo"; } >&5
5069 (eval "$ac_try") 2>&5
5071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5072 test $ac_status = 0; } &&
5073 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5075 *) ac_try_echo=$ac_try;;
5077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5078 $as_echo "$ac_try_echo"; } >&5
5079 (eval "$ac_try") 2>&5
5081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5082 test $ac_status = 0; };
5084 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5085 if test "x$CC" != xcc; then
5086 # Test first that cc exists at all.
5087 if { ac_try='cc -c conftest.$ac_ext >&5'
5088 { { case "(($ac_try" in
5089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5090 *) ac_try_echo=$ac_try;;
5092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5093 $as_echo "$ac_try_echo"; } >&5
5094 (eval "$ac_try") 2>&5
5096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5097 test $ac_status = 0; }; }; then
5098 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5100 if { { case "(($ac_try" in
5101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5102 *) ac_try_echo=$ac_try;;
5104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5105 $as_echo "$ac_try_echo"; } >&5
5106 (eval "$ac_try") 2>&5
5108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5109 test $ac_status = 0; } &&
5110 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5112 *) ac_try_echo=$ac_try;;
5114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5115 $as_echo "$ac_try_echo"; } >&5
5116 (eval "$ac_try") 2>&5
5118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5119 test $ac_status = 0; };
5124 # cc exists but doesn't like -o.
5125 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5130 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5132 rm -f core conftest*
5135 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5137 $as_echo "yes" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5142 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5148 ac_cpp='$CPP $CPPFLAGS'
5149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5153 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5154 # On Suns, sometimes $CPP names a directory.
5155 if test -n "$CPP" && test -d "$CPP"; then
5158 if test -z "$CPP"; then
5159 if ${ac_cv_prog_CPP+:} false; then :
5160 $as_echo_n "(cached) " >&6
5162 # Double quotes because CPP needs to be expanded
5163 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5166 for ac_c_preproc_warn_flag in '' yes
5168 # Use a header file that comes with gcc, so configuring glibc
5169 # with a fresh cross-compiler works.
5170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5171 # <limits.h> exists even on freestanding compilers.
5172 # On the NeXT, cc -E runs the code through the compiler's parser,
5173 # not just through cpp. "Syntax error" is here to catch this case.
5174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5175 /* end confdefs.h. */
5177 # include <limits.h>
5179 # include <assert.h>
5183 if ac_fn_c_try_cpp "$LINENO"; then :
5186 # Broken: fails on valid input.
5189 rm -f conftest.err conftest.i conftest.$ac_ext
5191 # OK, works on sane cases. Now check whether nonexistent headers
5192 # can be detected and how.
5193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5194 /* end confdefs.h. */
5195 #include <ac_nonexistent.h>
5197 if ac_fn_c_try_cpp "$LINENO"; then :
5198 # Broken: success on invalid input.
5201 # Passes both tests.
5205 rm -f conftest.err conftest.i conftest.$ac_ext
5208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5209 rm -f conftest.i conftest.err conftest.$ac_ext
5210 if $ac_preproc_ok; then :
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5223 $as_echo "$CPP" >&6; }
5225 for ac_c_preproc_warn_flag in '' yes
5227 # Use a header file that comes with gcc, so configuring glibc
5228 # with a fresh cross-compiler works.
5229 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5230 # <limits.h> exists even on freestanding compilers.
5231 # On the NeXT, cc -E runs the code through the compiler's parser,
5232 # not just through cpp. "Syntax error" is here to catch this case.
5233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5234 /* end confdefs.h. */
5236 # include <limits.h>
5238 # include <assert.h>
5242 if ac_fn_c_try_cpp "$LINENO"; then :
5245 # Broken: fails on valid input.
5248 rm -f conftest.err conftest.i conftest.$ac_ext
5250 # OK, works on sane cases. Now check whether nonexistent headers
5251 # can be detected and how.
5252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5253 /* end confdefs.h. */
5254 #include <ac_nonexistent.h>
5256 if ac_fn_c_try_cpp "$LINENO"; then :
5257 # Broken: success on invalid input.
5260 # Passes both tests.
5264 rm -f conftest.err conftest.i conftest.$ac_ext
5267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5268 rm -f conftest.i conftest.err conftest.$ac_ext
5269 if $ac_preproc_ok; then :
5272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5274 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5275 See \`config.log' for more details" "$LINENO" 5; }
5279 ac_cpp='$CPP $CPPFLAGS'
5280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5286 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5287 if ${ac_cv_path_GREP+:} false; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -z "$GREP"; then
5291 ac_path_GREP_found=false
5292 # Loop through the user's path and test for each of PROGNAME-LIST
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5297 test -z "$as_dir" && as_dir=.
5298 for ac_prog in grep ggrep; do
5299 for ac_exec_ext in '' $ac_executable_extensions; do
5300 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5301 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5302 # Check for GNU ac_path_GREP and select it if it is found.
5303 # Check for GNU $ac_path_GREP
5304 case `"$ac_path_GREP" --version 2>&1` in
5306 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5309 $as_echo_n 0123456789 >"conftest.in"
5312 cat "conftest.in" "conftest.in" >"conftest.tmp"
5313 mv "conftest.tmp" "conftest.in"
5314 cp "conftest.in" "conftest.nl"
5315 $as_echo 'GREP' >> "conftest.nl"
5316 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5318 as_fn_arith $ac_count + 1 && ac_count=$as_val
5319 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5320 # Best one so far, save it but keep looking for a better one
5321 ac_cv_path_GREP="$ac_path_GREP"
5322 ac_path_GREP_max=$ac_count
5324 # 10*(2^10) chars as input seems more than enough
5325 test $ac_count -gt 10 && break
5327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5330 $ac_path_GREP_found && break 3
5335 if test -z "$ac_cv_path_GREP"; then
5336 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5339 ac_cv_path_GREP=$GREP
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5344 $as_echo "$ac_cv_path_GREP" >&6; }
5345 GREP="$ac_cv_path_GREP"
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5349 $as_echo_n "checking for egrep... " >&6; }
5350 if ${ac_cv_path_EGREP+:} false; then :
5351 $as_echo_n "(cached) " >&6
5353 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5354 then ac_cv_path_EGREP="$GREP -E"
5356 if test -z "$EGREP"; then
5357 ac_path_EGREP_found=false
5358 # Loop through the user's path and test for each of PROGNAME-LIST
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5363 test -z "$as_dir" && as_dir=.
5364 for ac_prog in egrep; do
5365 for ac_exec_ext in '' $ac_executable_extensions; do
5366 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5367 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5368 # Check for GNU ac_path_EGREP and select it if it is found.
5369 # Check for GNU $ac_path_EGREP
5370 case `"$ac_path_EGREP" --version 2>&1` in
5372 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5375 $as_echo_n 0123456789 >"conftest.in"
5378 cat "conftest.in" "conftest.in" >"conftest.tmp"
5379 mv "conftest.tmp" "conftest.in"
5380 cp "conftest.in" "conftest.nl"
5381 $as_echo 'EGREP' >> "conftest.nl"
5382 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5383 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5384 as_fn_arith $ac_count + 1 && ac_count=$as_val
5385 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5386 # Best one so far, save it but keep looking for a better one
5387 ac_cv_path_EGREP="$ac_path_EGREP"
5388 ac_path_EGREP_max=$ac_count
5390 # 10*(2^10) chars as input seems more than enough
5391 test $ac_count -gt 10 && break
5393 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5396 $ac_path_EGREP_found && break 3
5401 if test -z "$ac_cv_path_EGREP"; then
5402 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5405 ac_cv_path_EGREP=$EGREP
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5411 $as_echo "$ac_cv_path_EGREP" >&6; }
5412 EGREP="$ac_cv_path_EGREP"
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5416 $as_echo_n "checking for ANSI C header files... " >&6; }
5417 if ${ac_cv_header_stdc+:} false; then :
5418 $as_echo_n "(cached) " >&6
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5435 if ac_fn_c_try_compile "$LINENO"; then :
5436 ac_cv_header_stdc=yes
5438 ac_cv_header_stdc=no
5440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5442 if test $ac_cv_header_stdc = yes; then
5443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5445 /* end confdefs.h. */
5449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5450 $EGREP "memchr" >/dev/null 2>&1; then :
5453 ac_cv_header_stdc=no
5459 if test $ac_cv_header_stdc = yes; then
5460 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5462 /* end confdefs.h. */
5466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5467 $EGREP "free" >/dev/null 2>&1; then :
5470 ac_cv_header_stdc=no
5476 if test $ac_cv_header_stdc = yes; then
5477 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5478 if test "$cross_compiling" = yes; then :
5481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5482 /* end confdefs.h. */
5485 #if ((' ' & 0x0FF) == 0x020)
5486 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5487 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5489 # define ISLOWER(c) \
5490 (('a' <= (c) && (c) <= 'i') \
5491 || ('j' <= (c) && (c) <= 'r') \
5492 || ('s' <= (c) && (c) <= 'z'))
5493 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5496 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5501 for (i = 0; i < 256; i++)
5502 if (XOR (islower (i), ISLOWER (i))
5503 || toupper (i) != TOUPPER (i))
5508 if ac_fn_c_try_run "$LINENO"; then :
5511 ac_cv_header_stdc=no
5513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5514 conftest.$ac_objext conftest.beam conftest.$ac_ext
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5520 $as_echo "$ac_cv_header_stdc" >&6; }
5521 if test $ac_cv_header_stdc = yes; then
5523 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5527 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5528 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5529 inttypes.h stdint.h unistd.h
5531 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5532 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5535 cat >>confdefs.h <<_ACEOF
5536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5544 # Make sure CXXFLAGS and CFLAGS are set before expanding AC_PROG_CXX to avoid
5545 # building with '-g -O2' on Release builds.
5548 # check for -fvisibility=hidden compiler support (GCC >= 4)
5549 saved_CFLAGS="$CFLAGS"
5550 CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${CXX} supports -fvisibility=hidden -fvisibility-inlines-hidden" >&5
5552 $as_echo_n "checking if ${CXX} supports -fvisibility=hidden -fvisibility-inlines-hidden... " >&6; }
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5557 if ac_fn_c_try_compile "$LINENO"; then :
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5559 $as_echo "yes" >&6; }
5560 SYMBOL_VISIBILITY="-fvisibility=hidden" SYMBOL_VISIBILITY_INLINES="-fvisibility-inlines-hidden"
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5566 CFLAGS="$saved_CFLAGS"
5570 # check for pkg-config
5571 # Extract the first word of "pkg-config", so it can be a program name with args.
5572 set dummy pkg-config; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5576 $as_echo_n "(cached) " >&6
5580 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 test -z "$as_dir" && as_dir=.
5588 for ac_exec_ext in '' $ac_executable_extensions; do
5589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5590 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5602 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5603 if test -n "$PKG_CONFIG"; then
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5605 $as_echo "$PKG_CONFIG" >&6; }
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5608 $as_echo "no" >&6; }
5612 if test "$PKG_CONFIG" = "no"; then
5613 as_fn_error $? "Cannot find pkg-config, make sure it is installed in your PATH" "$LINENO" 5
5616 # Extract the first word of "perl", so it can be a program name with args.
5617 set dummy perl; ac_word=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if ${ac_cv_path_PERL+:} false; then :
5621 $as_echo_n "(cached) " >&6
5625 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
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_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 PERL=$ac_cv_path_PERL
5647 if test -n "$PERL"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5649 $as_echo "$PERL" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 $as_echo "no" >&6; }
5656 if test -z "$PERL"; then
5657 as_fn_error $? "You need 'perl' to compile WebKit" "$LINENO" 5
5660 # Extract the first word of "python", so it can be a program name with args.
5661 set dummy python; ac_word=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if ${ac_cv_path_PYTHON+:} false; then :
5665 $as_echo_n "(cached) " >&6
5669 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 test -z "$as_dir" && as_dir=.
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 PYTHON=$ac_cv_path_PYTHON
5691 if test -n "$PYTHON"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5693 $as_echo "$PYTHON" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5700 if test -z "$PYTHON"; then
5701 as_fn_error $? "You need 'python' to compile WebKit" "$LINENO" 5
5704 # Extract the first word of "bison", so it can be a program name with args.
5705 set dummy bison; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_path_BISON+:} false; then :
5709 $as_echo_n "(cached) " >&6
5713 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5723 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 BISON=$ac_cv_path_BISON
5735 if test -n "$BISON"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5737 $as_echo "$BISON" >&6; }
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 $as_echo "no" >&6; }
5744 if test -z "$BISON"; then
5745 as_fn_error $? "You need the 'bison' parser generator to compile WebKit" "$LINENO" 5
5748 # Extract the first word of "mv", so it can be a program name with args.
5749 set dummy mv; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_path_MV+:} false; then :
5753 $as_echo_n "(cached) " >&6
5757 ac_cv_path_MV="$MV" # Let the user override the test with a path.
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_path_MV="$as_dir/$ac_word$ac_exec_ext"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 if test -n "$MV"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5781 $as_echo "$MV" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5788 if test -z "$MV"; then
5789 as_fn_error $? "You need 'mv' to compile WebKit" "$LINENO" 5
5795 ac_cpp='$CPP $CPPFLAGS'
5796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5799 if test -n "$ac_tool_prefix"; then
5800 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5801 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803 $as_echo_n "checking for $ac_word... " >&6; }
5804 if ${ac_cv_prog_CC+:} false; then :
5805 $as_echo_n "(cached) " >&6
5807 if test -n "$CC"; then
5808 ac_cv_prog_CC="$CC" # Let the user override the test.
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 test -z "$as_dir" && as_dir=.
5815 for ac_exec_ext in '' $ac_executable_extensions; do
5816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5817 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 if test -n "$CC"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5830 $as_echo "$CC" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5838 if test -z "$ac_cv_prog_CC"; then
5840 # Extract the first word of "gcc", so it can be a program name with args.
5841 set dummy gcc; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5845 $as_echo_n "(cached) " >&6
5847 if test -n "$ac_ct_CC"; then
5848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5857 ac_cv_prog_ac_ct_CC="gcc"
5858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5868 if test -n "$ac_ct_CC"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5870 $as_echo "$ac_ct_CC" >&6; }
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5876 if test "x$ac_ct_CC" = x; then
5879 case $cross_compiling:$ac_tool_warned in
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5883 ac_tool_warned=yes ;;
5891 if test -z "$CC"; then
5892 if test -n "$ac_tool_prefix"; then
5893 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5894 set dummy ${ac_tool_prefix}cc; ac_word=$2
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5896 $as_echo_n "checking for $ac_word... " >&6; }
5897 if ${ac_cv_prog_CC+:} false; then :
5898 $as_echo_n "(cached) " >&6
5900 if test -n "$CC"; then
5901 ac_cv_prog_CC="$CC" # Let the user override the test.
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir=.
5908 for ac_exec_ext in '' $ac_executable_extensions; do
5909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5910 ac_cv_prog_CC="${ac_tool_prefix}cc"
5911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 if test -n "$CC"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5923 $as_echo "$CC" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5932 if test -z "$CC"; then
5933 # Extract the first word of "cc", so it can be a program name with args.
5934 set dummy cc; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_CC+:} false; then :
5938 $as_echo_n "(cached) " >&6
5940 if test -n "$CC"; then
5941 ac_cv_prog_CC="$CC" # Let the user override the test.
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5952 ac_prog_rejected=yes
5956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 if test $ac_prog_rejected = yes; then
5964 # We found a bogon in the path, so make sure we never use it.
5965 set dummy $ac_cv_prog_CC
5967 if test $# != 0; then
5968 # We chose a different compiler from the bogus one.
5969 # However, it has the same basename, so the bogon will be chosen
5970 # first if we set CC to just the basename; use the full file name.
5972 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5978 if test -n "$CC"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5980 $as_echo "$CC" >&6; }
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5988 if test -z "$CC"; then
5989 if test -n "$ac_tool_prefix"; then
5990 for ac_prog in cl.exe
5992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if ${ac_cv_prog_CC+:} false; then :
5997 $as_echo_n "(cached) " >&6
5999 if test -n "$CC"; then
6000 ac_cv_prog_CC="$CC" # Let the user override the test.
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6009 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 if test -n "$CC"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6022 $as_echo "$CC" >&6; }
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6029 test -n "$CC" && break
6032 if test -z "$CC"; then
6034 for ac_prog in cl.exe
6036 # Extract the first word of "$ac_prog", so it can be a program name with args.
6037 set dummy $ac_prog; ac_word=$2
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 $as_echo_n "checking for $ac_word... " >&6; }
6040 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6041 $as_echo_n "(cached) " >&6
6043 if test -n "$ac_ct_CC"; then
6044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6050 test -z "$as_dir" && as_dir=.
6051 for ac_exec_ext in '' $ac_executable_extensions; do
6052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6053 ac_cv_prog_ac_ct_CC="$ac_prog"
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6064 if test -n "$ac_ct_CC"; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6066 $as_echo "$ac_ct_CC" >&6; }
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 $as_echo "no" >&6; }
6073 test -n "$ac_ct_CC" && break
6076 if test "x$ac_ct_CC" = x; then
6079 case $cross_compiling:$ac_tool_warned in
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6083 ac_tool_warned=yes ;;
6092 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6094 as_fn_error $? "no acceptable C compiler found in \$PATH
6095 See \`config.log' for more details" "$LINENO" 5; }
6097 # Provide some information about the compiler.
6098 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6101 for ac_option in --version -v -V -qversion; do
6102 { { ac_try="$ac_compiler $ac_option >&5"
6104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6105 *) ac_try_echo=$ac_try;;
6107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6108 $as_echo "$ac_try_echo"; } >&5
6109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6111 if test -s conftest.err; then
6113 ... rest of stderr output deleted ...
6114 10q' conftest.err >conftest.er1
6115 cat conftest.er1 >&5
6117 rm -f conftest.er1 conftest.err
6118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6119 test $ac_status = 0; }
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6123 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6124 if ${ac_cv_c_compiler_gnu+:} false; then :
6125 $as_echo_n "(cached) " >&6
6127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6128 /* end confdefs.h. */
6141 if ac_fn_c_try_compile "$LINENO"; then :
6146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6147 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6151 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6152 if test $ac_compiler_gnu = yes; then
6157 ac_test_CFLAGS=${CFLAGS+set}
6158 ac_save_CFLAGS=$CFLAGS
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6160 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6161 if ${ac_cv_prog_cc_g+:} false; then :
6162 $as_echo_n "(cached) " >&6
6164 ac_save_c_werror_flag=$ac_c_werror_flag
6165 ac_c_werror_flag=yes
6168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6169 /* end confdefs.h. */
6179 if ac_fn_c_try_compile "$LINENO"; then :
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6194 if ac_fn_c_try_compile "$LINENO"; then :
6197 ac_c_werror_flag=$ac_save_c_werror_flag
6199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h. */
6210 if ac_fn_c_try_compile "$LINENO"; then :
6213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6218 ac_c_werror_flag=$ac_save_c_werror_flag
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6221 $as_echo "$ac_cv_prog_cc_g" >&6; }
6222 if test "$ac_test_CFLAGS" = set; then
6223 CFLAGS=$ac_save_CFLAGS
6224 elif test $ac_cv_prog_cc_g = yes; then
6225 if test "$GCC" = yes; then
6231 if test "$GCC" = yes; then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6238 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6239 if ${ac_cv_prog_cc_c89+:} false; then :
6240 $as_echo_n "(cached) " >&6
6242 ac_cv_prog_cc_c89=no
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6248 #include <sys/types.h>
6249 #include <sys/stat.h>
6250 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6251 struct buf { int x; };
6252 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6253 static char *e (p, i)
6259 static char *f (char * (*g) (char **, int), char **p, ...)
6264 s = g (p, va_arg (v,int));
6269 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6270 function prototypes and stuff, but not '\xHH' hex character constants.
6271 These don't provoke an error unfortunately, instead are silently treated
6272 as 'x'. The following induces an error, until -std is added to get
6273 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6274 array size at least. It's necessary to write '\x00'==0 to get something
6275 that's true only with -std. */
6276 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6278 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6279 inside strings and character constants. */
6281 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6283 int test (int i, double x);
6284 struct s1 {int (*f) (int a);};
6285 struct s2 {int (*f) (double a);};
6286 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6292 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6297 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6298 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6300 CC="$ac_save_CC $ac_arg"
6301 if ac_fn_c_try_compile "$LINENO"; then :
6302 ac_cv_prog_cc_c89=$ac_arg
6304 rm -f core conftest.err conftest.$ac_objext
6305 test "x$ac_cv_prog_cc_c89" != "xno" && break
6307 rm -f conftest.$ac_ext
6312 case "x$ac_cv_prog_cc_c89" in
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6315 $as_echo "none needed" >&6; } ;;
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6318 $as_echo "unsupported" >&6; } ;;
6320 CC="$CC $ac_cv_prog_cc_c89"
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6322 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6324 if test "x$ac_cv_prog_cc_c89" != xno; then :
6329 ac_cpp='$CPP $CPPFLAGS'
6330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6334 depcc="$CC" am_compiler_list=
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6337 $as_echo_n "checking dependency style of $depcc... " >&6; }
6338 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6339 $as_echo_n "(cached) " >&6
6341 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6342 # We make a subdir and do the tests there. Otherwise we can end up
6343 # making bogus files that we don't know about and never remove. For
6344 # instance it was reported that on HP-UX the gcc test will end up
6345 # making a dummy file named `D' -- because `-MD' means `put the output
6349 # Copy depcomp to subdir because otherwise we won't find it if we're
6350 # using a relative directory.
6351 cp "$am_depcomp" conftest.dir
6353 # We will build objects and dependencies in a subdirectory because
6354 # it helps to detect inapplicable dependency modes. For instance
6355 # both Tru64's cc and ICC support -MD to output dependencies as a
6356 # side effect of compilation, but ICC will put the dependencies in
6357 # the current directory while Tru64 will put them in the object
6361 am_cv_CC_dependencies_compiler_type=none
6362 if test "$am_compiler_list" = ""; then
6363 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6366 case " $depcc " in #(
6367 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6370 for depmode in $am_compiler_list; do
6371 # Setup a source with many dependencies, because some compilers
6372 # like to wrap large dependency lists on column 80 (with \), and
6373 # we should not choose a depcomp mode which is confused by this.
6375 # We need to recreate these files for each test, as the compiler may
6376 # overwrite some of them when testing with obscure command lines.
6377 # This happens at least with the AIX C compiler.
6379 for i in 1 2 3 4 5 6; do
6380 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6381 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6382 # Solaris 8's {/usr,}/bin/sh.
6383 touch sub/conftst$i.h
6385 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6387 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6388 # mode. It turns out that the SunPro C++ compiler does not properly
6389 # handle `-M -o', and we need to detect this. Also, some Intel
6390 # versions had trouble with output in subdirs
6391 am__obj=sub/conftest.${OBJEXT-o}
6392 am__minus_obj="-o $am__obj"
6395 # This depmode causes a compiler race in universal mode.
6396 test "$am__universal" = false || continue
6399 # after this tag, mechanisms are not by side-effect, so they'll
6400 # only be used when explicitly requested
6401 if test "x$enable_dependency_tracking" = xyes; then
6407 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6408 # This compiler won't grok `-c -o', but also, the minuso test has
6409 # not run yet. These depmodes are late enough in the game, and
6410 # so weak that their functioning should not be impacted.
6411 am__obj=conftest.${OBJEXT-o}
6416 if depmode=$depmode \
6417 source=sub/conftest.c object=$am__obj \
6418 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6419 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6420 >/dev/null 2>conftest.err &&
6421 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6422 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6423 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6424 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6425 # icc doesn't choke on unknown options, it will just issue warnings
6426 # or remarks (even with -Werror). So we grep stderr for any message
6427 # that says an option was ignored or not supported.
6428 # When given -MP, icc 7.0 and 7.1 complain thusly:
6429 # icc: Command line warning: ignoring option '-M'; no argument required
6430 # The diagnosis changed in icc 8.0:
6431 # icc: Command line remark: option '-MP' not supported
6432 if (grep 'ignoring option' conftest.err ||
6433 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6434 am_cv_CC_dependencies_compiler_type=$depmode
6443 am_cv_CC_dependencies_compiler_type=none
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6448 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6449 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6452 test "x$enable_dependency_tracking" != xno \
6453 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6455 am__fastdepCC_FALSE='#'
6457 am__fastdepCC_TRUE='#'
6458 am__fastdepCC_FALSE=
6463 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
6465 # FIXME: we rely on the cache variable name because
6466 # there is no other way.
6468 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6469 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6470 if test "$am_t" != yes; then
6471 # Losing compiler, so override with the script.
6472 # FIXME: It is wrong to rewrite CC.
6473 # But if we don't then we get into trouble of one sort or another.
6474 # A longer-term fix would be to have automake use am__CC in this case,
6475 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6476 CC="$am_aux_dir/compile $CC"
6481 # Check whether --enable-largefile was given.
6482 if test "${enable_largefile+set}" = set; then :
6483 enableval=$enable_largefile;
6486 if test "$enable_largefile" != no; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6489 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6490 if ${ac_cv_sys_largefile_CC+:} false; then :
6491 $as_echo_n "(cached) " >&6
6493 ac_cv_sys_largefile_CC=no
6494 if test "$GCC" != yes; then
6497 # IRIX 6.2 and later do not support large files by default,
6498 # so use the C compiler's -n32 option if that helps.
6499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6500 /* end confdefs.h. */
6501 #include <sys/types.h>
6502 /* Check that off_t can represent 2**63 - 1 correctly.
6503 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6504 since some C++ compilers masquerading as C compilers
6505 incorrectly reject 9223372036854775807. */
6506 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6507 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6508 && LARGE_OFF_T % 2147483647 == 1)
6518 if ac_fn_c_try_compile "$LINENO"; then :
6521 rm -f core conftest.err conftest.$ac_objext
6523 if ac_fn_c_try_compile "$LINENO"; then :
6524 ac_cv_sys_largefile_CC=' -n32'; break
6526 rm -f core conftest.err conftest.$ac_objext
6530 rm -f conftest.$ac_ext
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6534 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6535 if test "$ac_cv_sys_largefile_CC" != no; then
6536 CC=$CC$ac_cv_sys_largefile_CC
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6540 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6541 if ${ac_cv_sys_file_offset_bits+:} false; then :
6542 $as_echo_n "(cached) " >&6
6545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h. */
6547 #include <sys/types.h>
6548 /* Check that off_t can represent 2**63 - 1 correctly.
6549 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6550 since some C++ compilers masquerading as C compilers
6551 incorrectly reject 9223372036854775807. */
6552 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6553 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6554 && LARGE_OFF_T % 2147483647 == 1)
6564 if ac_fn_c_try_compile "$LINENO"; then :
6565 ac_cv_sys_file_offset_bits=no; break
6567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #define _FILE_OFFSET_BITS 64
6571 #include <sys/types.h>
6572 /* Check that off_t can represent 2**63 - 1 correctly.
6573 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6574 since some C++ compilers masquerading as C compilers
6575 incorrectly reject 9223372036854775807. */
6576 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6577 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6578 && LARGE_OFF_T % 2147483647 == 1)
6588 if ac_fn_c_try_compile "$LINENO"; then :
6589 ac_cv_sys_file_offset_bits=64; break
6591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6592 ac_cv_sys_file_offset_bits=unknown
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6597 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6598 case $ac_cv_sys_file_offset_bits in #(
6601 cat >>confdefs.h <<_ACEOF
6602 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6607 if test $ac_cv_sys_file_offset_bits = unknown; then
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6609 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6610 if ${ac_cv_sys_large_files+:} false; then :
6611 $as_echo_n "(cached) " >&6
6614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6616 #include <sys/types.h>
6617 /* Check that off_t can represent 2**63 - 1 correctly.
6618 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6619 since some C++ compilers masquerading as C compilers
6620 incorrectly reject 9223372036854775807. */
6621 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6622 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6623 && LARGE_OFF_T % 2147483647 == 1)
6633 if ac_fn_c_try_compile "$LINENO"; then :
6634 ac_cv_sys_large_files=no; break
6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6639 #define _LARGE_FILES 1
6640 #include <sys/types.h>
6641 /* Check that off_t can represent 2**63 - 1 correctly.
6642 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6643 since some C++ compilers masquerading as C compilers
6644 incorrectly reject 9223372036854775807. */
6645 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6646 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6647 && LARGE_OFF_T % 2147483647 == 1)
6657 if ac_fn_c_try_compile "$LINENO"; then :
6658 ac_cv_sys_large_files=1; break
6660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6661 ac_cv_sys_large_files=unknown
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6666 $as_echo "$ac_cv_sys_large_files" >&6; }
6667 case $ac_cv_sys_large_files in #(
6670 cat >>confdefs.h <<_ACEOF
6671 #define _LARGE_FILES $ac_cv_sys_large_files
6680 # Check whether a C++ was found (AC_PROG_CXX sets $CXX to "g++" even when it
6683 ac_cpp='$CXXCPP $CPPFLAGS'
6684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6689 /* end confdefs.h. */
6699 if ac_fn_cxx_try_compile "$LINENO"; then :
6702 as_fn_error $? "No C++ compiler found" "$LINENO" 5
6704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6706 ac_cpp='$CPP $CPPFLAGS'
6707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6712 # C/C++ Language Features
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6714 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6715 if ${ac_cv_c_const+:} false; then :
6716 $as_echo_n "(cached) " >&6
6718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6719 /* end confdefs.h. */
6724 /* FIXME: Include the comments suggested by Paul. */
6726 /* Ultrix mips cc rejects this. */
6727 typedef int charset[2];
6729 /* SunOS 4.1.1 cc rejects this. */
6730 char const *const *pcpcc;
6732 /* NEC SVR4.0.2 mips cc rejects this. */
6733 struct point {int x, y;};
6734 static struct point const zero = {0,0};
6735 /* AIX XL C 1.02.0.0 rejects this.
6736 It does not let you subtract one const X* pointer from another in
6737 an arm of an if-expression whose if-part is not a constant
6739 const char *g = "string";
6740 pcpcc = &g + (g ? g-g : 0);
6741 /* HPUX 7.0 cc rejects these. */
6743 ppc = (char**) pcpcc;
6744 pcpcc = (char const *const *) ppc;
6745 { /* SCO 3.2v4 cc rejects this. */
6747 char const *s = 0 ? (char *) 0 : (char const *) 0;
6752 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6754 const int *foo = &x[0];
6757 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6758 typedef const int *iptr;
6762 { /* AIX XL C 1.02.0.0 rejects this saying
6763 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6764 struct s { int j; const int *ap[3]; };
6765 struct s *b; b->j = 5;
6767 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6771 return !cs[0] && !zero.x;
6778 if ac_fn_c_try_compile "$LINENO"; then :
6783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6786 $as_echo "$ac_cv_c_const" >&6; }
6787 if test $ac_cv_c_const = no; then
6789 $as_echo "#define const /**/" >>confdefs.h
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6794 $as_echo_n "checking for inline... " >&6; }
6795 if ${ac_cv_c_inline+:} false; then :
6796 $as_echo_n "(cached) " >&6
6799 for ac_kw in inline __inline__ __inline; do
6800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801 /* end confdefs.h. */
6804 static $ac_kw foo_t static_foo () {return 0; }
6805 $ac_kw foo_t foo () {return 0; }
6809 if ac_fn_c_try_compile "$LINENO"; then :
6810 ac_cv_c_inline=$ac_kw
6812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6813 test "$ac_cv_c_inline" != no && break
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6818 $as_echo "$ac_cv_c_inline" >&6; }
6820 case $ac_cv_c_inline in
6823 case $ac_cv_c_inline in
6825 *) ac_val=$ac_cv_c_inline;;
6827 cat >>confdefs.h <<_ACEOF
6829 #define inline $ac_val
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
6836 $as_echo_n "checking for working volatile... " >&6; }
6837 if ${ac_cv_c_volatile+:} false; then :
6838 $as_echo_n "(cached) " >&6
6840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6841 /* end confdefs.h. */
6848 int * volatile y = (int *) 0;
6854 if ac_fn_c_try_compile "$LINENO"; then :
6855 ac_cv_c_volatile=yes
6859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
6862 $as_echo "$ac_cv_c_volatile" >&6; }
6863 if test $ac_cv_c_volatile = no; then
6865 $as_echo "#define volatile /**/" >>confdefs.h
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
6873 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
6874 if ${ac_cv_header_stdbool_h+:} false; then :
6875 $as_echo_n "(cached) " >&6
6877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6878 /* end confdefs.h. */
6880 #include <stdbool.h>
6882 "error: bool is not defined"
6885 "error: false is not defined"
6888 "error: false is not 0"
6891 "error: true is not defined"
6894 "error: true is not 1"
6896 #ifndef __bool_true_false_are_defined
6897 "error: __bool_true_false_are_defined is not defined"
6900 struct s { _Bool s: 1; _Bool t; } s;
6902 char a[true == 1 ? 1 : -1];
6903 char b[false == 0 ? 1 : -1];
6904 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
6905 char d[(bool) 0.5 == true ? 1 : -1];
6906 /* See body of main program for 'e'. */
6907 char f[(_Bool) 0.0 == false ? 1 : -1];
6909 char h[sizeof (_Bool)];
6911 enum { j = false, k = true, l = false * true, m = true * 256 };
6912 /* The following fails for
6913 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
6915 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
6916 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
6917 /* Catch a bug in an HP-UX C compiler. See
6918 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
6919 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
6931 /* Refer to every declared value, to avoid compiler optimizations. */
6932 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
6933 + !m + !n + !o + !p + !q + !pq);
6939 if ac_fn_c_try_compile "$LINENO"; then :
6940 ac_cv_header_stdbool_h=yes
6942 ac_cv_header_stdbool_h=no
6944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
6947 $as_echo "$ac_cv_header_stdbool_h" >&6; }
6948 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
6949 if test "x$ac_cv_type__Bool" = xyes; then :
6951 cat >>confdefs.h <<_ACEOF
6952 #define HAVE__BOOL 1
6958 if test $ac_cv_header_stdbool_h = yes; then
6960 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
6967 # Check whether --enable-static was given.
6968 if test "${enable_static+set}" = set; then :
6969 enableval=$enable_static; p=${PACKAGE-default}
6971 yes) enable_static=yes ;;
6972 no) enable_static=no ;;
6975 # Look at the argument we got. We use all the common list separators.
6976 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6977 for pkg in $enableval; do
6979 if test "X$pkg" = "X$p"; then
6998 enable_win32_dll=yes
7001 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7002 if test -n "$ac_tool_prefix"; then
7003 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7004 set dummy ${ac_tool_prefix}as; ac_word=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_AS+:} false; then :
7008 $as_echo_n "(cached) " >&6
7010 if test -n "$AS"; then
7011 ac_cv_prog_AS="$AS" # Let the user override the test.
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7017 test -z "$as_dir" && as_dir=.
7018 for ac_exec_ext in '' $ac_executable_extensions; do
7019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7020 ac_cv_prog_AS="${ac_tool_prefix}as"
7021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031 if test -n "$AS"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7033 $as_echo "$AS" >&6; }
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7041 if test -z "$ac_cv_prog_AS"; then
7043 # Extract the first word of "as", so it can be a program name with args.
7044 set dummy as; ac_word=$2
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046 $as_echo_n "checking for $ac_word... " >&6; }
7047 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7048 $as_echo_n "(cached) " >&6
7050 if test -n "$ac_ct_AS"; then
7051 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7057 test -z "$as_dir" && as_dir=.
7058 for ac_exec_ext in '' $ac_executable_extensions; do
7059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7060 ac_cv_prog_ac_ct_AS="as"
7061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7071 if test -n "$ac_ct_AS"; then
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7073 $as_echo "$ac_ct_AS" >&6; }
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076 $as_echo "no" >&6; }
7079 if test "x$ac_ct_AS" = x; then
7082 case $cross_compiling:$ac_tool_warned in
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7086 ac_tool_warned=yes ;;
7094 if test -n "$ac_tool_prefix"; then
7095 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7096 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098 $as_echo_n "checking for $ac_word... " >&6; }
7099 if ${ac_cv_prog_DLLTOOL+:} false; then :
7100 $as_echo_n "(cached) " >&6
7102 if test -n "$DLLTOOL"; then
7103 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7109 test -z "$as_dir" && as_dir=.
7110 for ac_exec_ext in '' $ac_executable_extensions; do
7111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7112 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7122 DLLTOOL=$ac_cv_prog_DLLTOOL
7123 if test -n "$DLLTOOL"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7125 $as_echo "$DLLTOOL" >&6; }
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 $as_echo "no" >&6; }
7133 if test -z "$ac_cv_prog_DLLTOOL"; then
7134 ac_ct_DLLTOOL=$DLLTOOL
7135 # Extract the first word of "dlltool", so it can be a program name with args.
7136 set dummy dlltool; ac_word=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7140 $as_echo_n "(cached) " >&6
7142 if test -n "$ac_ct_DLLTOOL"; then
7143 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 test -z "$as_dir" && as_dir=.
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7163 if test -n "$ac_ct_DLLTOOL"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7165 $as_echo "$ac_ct_DLLTOOL" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7171 if test "x$ac_ct_DLLTOOL" = x; then
7174 case $cross_compiling:$ac_tool_warned in
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7178 ac_tool_warned=yes ;;
7180 DLLTOOL=$ac_ct_DLLTOOL
7183 DLLTOOL="$ac_cv_prog_DLLTOOL"
7186 if test -n "$ac_tool_prefix"; then
7187 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7188 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_prog_OBJDUMP+:} false; then :
7192 $as_echo_n "(cached) " >&6
7194 if test -n "$OBJDUMP"; then
7195 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 test -z "$as_dir" && as_dir=.
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7204 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 OBJDUMP=$ac_cv_prog_OBJDUMP
7215 if test -n "$OBJDUMP"; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7217 $as_echo "$OBJDUMP" >&6; }
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 $as_echo "no" >&6; }
7225 if test -z "$ac_cv_prog_OBJDUMP"; then
7226 ac_ct_OBJDUMP=$OBJDUMP
7227 # Extract the first word of "objdump", so it can be a program name with args.
7228 set dummy objdump; ac_word=$2
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7230 $as_echo_n "checking for $ac_word... " >&6; }
7231 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7232 $as_echo_n "(cached) " >&6
7234 if test -n "$ac_ct_OBJDUMP"; then
7235 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 test -z "$as_dir" && as_dir=.
7242 for ac_exec_ext in '' $ac_executable_extensions; do
7243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7255 if test -n "$ac_ct_OBJDUMP"; then
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7257 $as_echo "$ac_ct_OBJDUMP" >&6; }
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7260 $as_echo "no" >&6; }
7263 if test "x$ac_ct_OBJDUMP" = x; then
7266 case $cross_compiling:$ac_tool_warned in
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7270 ac_tool_warned=yes ;;
7272 OBJDUMP=$ac_ct_OBJDUMP
7275 OBJDUMP="$ac_cv_prog_OBJDUMP"
7281 test -z "$AS" && AS=as
7287 test -z "$DLLTOOL" && DLLTOOL=dlltool
7293 test -z "$OBJDUMP" && OBJDUMP=objdump
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7304 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7310 macro_revision='1.3293'
7324 ltmain="$ac_aux_dir/ltmain.sh"
7326 # Backslashify metacharacters that are still active within
7327 # double-quoted strings.
7328 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7330 # Same as above, but do not quote variable references.
7331 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7333 # Sed substitution to delay expansion of an escaped shell variable in a
7334 # double_quote_subst'ed string.
7335 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7337 # Sed substitution to delay expansion of an escaped single quote.
7338 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7340 # Sed substitution to avoid accidental globbing in evaled expressions
7341 no_glob_subst='s/\*/\\\*/g'
7343 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7344 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7345 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7348 $as_echo_n "checking how to print strings... " >&6; }
7349 # Test print first, because it will be a builtin if present.
7350 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7351 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7353 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7356 # Use this function as a fallback that always works.
7357 func_fallback_echo ()
7359 eval 'cat <<_LTECHO_EOF
7363 ECHO='func_fallback_echo'
7366 # func_echo_all arg...
7367 # Invoke $ECHO with all args, space-separated.
7374 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7375 $as_echo "printf" >&6; } ;;
7376 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7377 $as_echo "print -r" >&6; } ;;
7378 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7379 $as_echo "cat" >&6; } ;;
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7396 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7397 if ${ac_cv_path_SED+:} false; then :
7398 $as_echo_n "(cached) " >&6
7400 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7401 for ac_i in 1 2 3 4 5 6 7; do
7402 ac_script="$ac_script$as_nl$ac_script"
7404 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7405 { ac_script=; unset ac_script;}
7406 if test -z "$SED"; then
7407 ac_path_SED_found=false
7408 # Loop through the user's path and test for each of PROGNAME-LIST
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7413 test -z "$as_dir" && as_dir=.
7414 for ac_prog in sed gsed; do
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7417 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7418 # Check for GNU ac_path_SED and select it if it is found.
7419 # Check for GNU $ac_path_SED
7420 case `"$ac_path_SED" --version 2>&1` in
7422 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7425 $as_echo_n 0123456789 >"conftest.in"
7428 cat "conftest.in" "conftest.in" >"conftest.tmp"
7429 mv "conftest.tmp" "conftest.in"
7430 cp "conftest.in" "conftest.nl"
7431 $as_echo '' >> "conftest.nl"
7432 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7433 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7434 as_fn_arith $ac_count + 1 && ac_count=$as_val
7435 if test $ac_count -gt ${ac_path_SED_max-0}; then
7436 # Best one so far, save it but keep looking for a better one
7437 ac_cv_path_SED="$ac_path_SED"
7438 ac_path_SED_max=$ac_count
7440 # 10*(2^10) chars as input seems more than enough
7441 test $ac_count -gt 10 && break
7443 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7446 $ac_path_SED_found && break 3
7451 if test -z "$ac_cv_path_SED"; then
7452 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7460 $as_echo "$ac_cv_path_SED" >&6; }
7461 SED="$ac_cv_path_SED"
7464 test -z "$SED" && SED=sed
7465 Xsed="$SED -e 1s/^X//"
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7478 $as_echo_n "checking for fgrep... " >&6; }
7479 if ${ac_cv_path_FGREP+:} false; then :
7480 $as_echo_n "(cached) " >&6
7482 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7483 then ac_cv_path_FGREP="$GREP -F"
7485 if test -z "$FGREP"; then
7486 ac_path_FGREP_found=false
7487 # Loop through the user's path and test for each of PROGNAME-LIST
7488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7492 test -z "$as_dir" && as_dir=.
7493 for ac_prog in fgrep; do
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7496 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7497 # Check for GNU ac_path_FGREP and select it if it is found.
7498 # Check for GNU $ac_path_FGREP
7499 case `"$ac_path_FGREP" --version 2>&1` in
7501 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7504 $as_echo_n 0123456789 >"conftest.in"
7507 cat "conftest.in" "conftest.in" >"conftest.tmp"
7508 mv "conftest.tmp" "conftest.in"
7509 cp "conftest.in" "conftest.nl"
7510 $as_echo 'FGREP' >> "conftest.nl"
7511 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7512 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7513 as_fn_arith $ac_count + 1 && ac_count=$as_val
7514 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7515 # Best one so far, save it but keep looking for a better one
7516 ac_cv_path_FGREP="$ac_path_FGREP"
7517 ac_path_FGREP_max=$ac_count
7519 # 10*(2^10) chars as input seems more than enough
7520 test $ac_count -gt 10 && break
7522 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7525 $ac_path_FGREP_found && break 3
7530 if test -z "$ac_cv_path_FGREP"; then
7531 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7534 ac_cv_path_FGREP=$FGREP
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7540 $as_echo "$ac_cv_path_FGREP" >&6; }
7541 FGREP="$ac_cv_path_FGREP"
7544 test -z "$GREP" && GREP=grep
7564 # Check whether --with-gnu-ld was given.
7565 if test "${with_gnu_ld+set}" = set; then :
7566 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7572 if test "$GCC" = yes; then
7573 # Check if gcc -print-prog-name=ld gives a path.
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7575 $as_echo_n "checking for ld used by $CC... " >&6; }
7578 # gcc leaves a trailing carriage return which upsets mingw
7579 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7581 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7584 # Accept absolute paths.
7586 re_direlt='/[^/][^/]*/\.\./'
7587 # Canonicalize the pathname of ld
7588 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7589 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7590 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7592 test -z "$LD" && LD="$ac_prog"
7595 # If it fails, then pretend we aren't using GCC.
7599 # If it is relative, then search for the first ld in PATH.
7603 elif test "$with_gnu_ld" = yes; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7605 $as_echo_n "checking for GNU ld... " >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7608 $as_echo_n "checking for non-GNU ld... " >&6; }
7610 if ${lt_cv_path_LD+:} false; then :
7611 $as_echo_n "(cached) " >&6
7613 if test -z "$LD"; then
7614 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7615 for ac_dir in $PATH; do
7617 test -z "$ac_dir" && ac_dir=.
7618 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7619 lt_cv_path_LD="$ac_dir/$ac_prog"
7620 # Check to see if the program is GNU ld. I'd rather use --version,
7621 # but apparently some variants of GNU ld only accept -v.
7622 # Break only if it was the GNU/non-GNU ld that we prefer.
7623 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7624 *GNU* | *'with BFD'*)
7625 test "$with_gnu_ld" != no && break
7628 test "$with_gnu_ld" != yes && break
7635 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7640 if test -n "$LD"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7642 $as_echo "$LD" >&6; }
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7647 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7649 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7650 if ${lt_cv_prog_gnu_ld+:} false; then :
7651 $as_echo_n "(cached) " >&6
7653 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7654 case `$LD -v 2>&1 </dev/null` in
7655 *GNU* | *'with BFD'*)
7656 lt_cv_prog_gnu_ld=yes
7659 lt_cv_prog_gnu_ld=no
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7664 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7665 with_gnu_ld=$lt_cv_prog_gnu_ld
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7676 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7677 if ${lt_cv_path_NM+:} false; then :
7678 $as_echo_n "(cached) " >&6
7680 if test -n "$NM"; then
7681 # Let the user override the test.
7684 lt_nm_to_check="${ac_tool_prefix}nm"
7685 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7686 lt_nm_to_check="$lt_nm_to_check nm"
7688 for lt_tmp_nm in $lt_nm_to_check; do
7689 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7690 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7692 test -z "$ac_dir" && ac_dir=.
7693 tmp_nm="$ac_dir/$lt_tmp_nm"
7694 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7695 # Check to see if the nm accepts a BSD-compat flag.
7696 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7697 # nm: unknown option "B" ignored
7698 # Tru64's nm complains that /dev/null is an invalid object file
7699 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7700 */dev/null* | *'Invalid file or object type'*)
7701 lt_cv_path_NM="$tmp_nm -B"
7705 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7707 lt_cv_path_NM="$tmp_nm -p"
7711 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7712 continue # so that we can try to find one that supports BSD flags
7721 : ${lt_cv_path_NM=no}
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7725 $as_echo "$lt_cv_path_NM" >&6; }
7726 if test "$lt_cv_path_NM" != "no"; then
7729 # Didn't find any BSD compatible name lister, look for dumpbin.
7730 if test -n "$DUMPBIN"; then :
7731 # Let the user override the test.
7733 if test -n "$ac_tool_prefix"; then
7734 for ac_prog in dumpbin "link -dump"
7736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7739 $as_echo_n "checking for $ac_word... " >&6; }
7740 if ${ac_cv_prog_DUMPBIN+:} false; then :
7741 $as_echo_n "(cached) " >&6
7743 if test -n "$DUMPBIN"; then
7744 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7750 test -z "$as_dir" && as_dir=.
7751 for ac_exec_ext in '' $ac_executable_extensions; do
7752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7753 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 DUMPBIN=$ac_cv_prog_DUMPBIN
7764 if test -n "$DUMPBIN"; then
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7766 $as_echo "$DUMPBIN" >&6; }
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769 $as_echo "no" >&6; }
7773 test -n "$DUMPBIN" && break
7776 if test -z "$DUMPBIN"; then
7777 ac_ct_DUMPBIN=$DUMPBIN
7778 for ac_prog in dumpbin "link -dump"
7780 # Extract the first word of "$ac_prog", so it can be a program name with args.
7781 set dummy $ac_prog; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7783 $as_echo_n "checking for $ac_word... " >&6; }
7784 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7785 $as_echo_n "(cached) " >&6
7787 if test -n "$ac_ct_DUMPBIN"; then
7788 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir=.
7795 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7797 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7807 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7808 if test -n "$ac_ct_DUMPBIN"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7810 $as_echo "$ac_ct_DUMPBIN" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7813 $as_echo "no" >&6; }
7817 test -n "$ac_ct_DUMPBIN" && break
7820 if test "x$ac_ct_DUMPBIN" = x; then
7823 case $cross_compiling:$ac_tool_warned in
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7827 ac_tool_warned=yes ;;
7829 DUMPBIN=$ac_ct_DUMPBIN
7833 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7835 DUMPBIN="$DUMPBIN -symbols"
7843 if test "$DUMPBIN" != ":"; then
7847 test -z "$NM" && NM=nm
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7855 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7856 if ${lt_cv_nm_interface+:} false; then :
7857 $as_echo_n "(cached) " >&6
7859 lt_cv_nm_interface="BSD nm"
7860 echo "int some_variable = 0;" > conftest.$ac_ext
7861 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7862 (eval "$ac_compile" 2>conftest.err)
7863 cat conftest.err >&5
7864 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7865 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7866 cat conftest.err >&5
7867 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7868 cat conftest.out >&5
7869 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7870 lt_cv_nm_interface="MS dumpbin"
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7875 $as_echo "$lt_cv_nm_interface" >&6; }
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7878 $as_echo_n "checking whether ln -s works... " >&6; }
7880 if test "$LN_S" = "ln -s"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7882 $as_echo "yes" >&6; }
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7885 $as_echo "no, using $LN_S" >&6; }
7888 # find the maximum length of command line arguments
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7890 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7891 if ${lt_cv_sys_max_cmd_len+:} false; then :
7892 $as_echo_n "(cached) " >&6
7899 # On DJGPP, this test can blow up pretty badly due to problems in libc
7900 # (any single argument exceeding 2000 bytes causes a buffer overrun
7901 # during glob expansion). Even if it were fixed, the result of this
7902 # check would be larger than it should be.
7903 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7907 # Under GNU Hurd, this test is not required because there is
7908 # no limit to the length of command line arguments.
7909 # Libtool will interpret -1 as no limit whatsoever
7910 lt_cv_sys_max_cmd_len=-1;
7913 cygwin* | mingw* | cegcc*)
7914 # On Win9x/ME, this test blows up -- it succeeds, but takes
7915 # about 5 minutes as the teststring grows exponentially.
7916 # Worse, since 9x/ME are not pre-emptively multitasking,
7917 # you end up with a "frozen" computer, even though with patience
7918 # the test eventually succeeds (with a max line length of 256k).
7919 # Instead, let's just punt: use the minimum linelength reported by
7920 # all of the supported platforms: 8192 (on NT/2K/XP).
7921 lt_cv_sys_max_cmd_len=8192;
7925 # On MiNT this can take a long time and run out of memory.
7926 lt_cv_sys_max_cmd_len=8192;
7930 # On AmigaOS with pdksh, this test takes hours, literally.
7931 # So we just punt and use a minimum line length of 8192.
7932 lt_cv_sys_max_cmd_len=8192;
7935 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7936 # This has been around since 386BSD, at least. Likely further.
7937 if test -x /sbin/sysctl; then
7938 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7939 elif test -x /usr/sbin/sysctl; then
7940 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7942 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7944 # And add a safety zone
7945 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7946 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7950 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7951 lt_cv_sys_max_cmd_len=196608
7955 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7956 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7957 # nice to cause kernel panics so lets avoid the loop below.
7958 # First set a reasonable default.
7959 lt_cv_sys_max_cmd_len=16384
7961 if test -x /sbin/sysconfig; then
7962 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7963 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7968 lt_cv_sys_max_cmd_len=102400
7970 sysv5* | sco5v6* | sysv4.2uw2*)
7971 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7972 if test -n "$kargmax"; then
7973 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7975 lt_cv_sys_max_cmd_len=32768
7979 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7980 if test -n "$lt_cv_sys_max_cmd_len"; then
7981 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7982 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7984 # Make teststring a little bigger before we do anything with it.
7985 # a 1K string should be a reasonable start.
7986 for i in 1 2 3 4 5 6 7 8 ; do
7987 teststring=$teststring$teststring
7989 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7990 # If test is not a shell built-in, we'll probably end up computing a
7991 # maximum length that is only half of the actual maximum length, but
7993 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7994 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7995 test $i != 17 # 1/2 MB should be enough
7998 teststring=$teststring$teststring
8000 # Only check the string length outside the loop.
8001 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8003 # Add a significant safety factor because C++ compilers can tack on
8004 # massive amounts of additional arguments before passing them to the
8005 # linker. It appears as though 1/2 is a usable value.
8006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8013 if test -n $lt_cv_sys_max_cmd_len ; then
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8015 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8018 $as_echo "none" >&6; }
8020 max_cmd_len=$lt_cv_sys_max_cmd_len
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8032 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8033 # Try some XSI features
8036 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
8038 && eval 'test $(( 1 + 1 )) -eq 2 \
8039 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8042 $as_echo "$xsi_shell" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8046 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8048 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8050 && lt_shell_append=yes
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8052 $as_echo "$lt_shell_append" >&6; }
8055 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8065 # test EBCDIC or ASCII
8066 case `echo X|tr X '\101'` in
8067 A) # ASCII based system
8068 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8069 lt_SP2NL='tr \040 \012'
8070 lt_NL2SP='tr \015\012 \040\040'
8072 *) # EBCDIC based system
8073 lt_SP2NL='tr \100 \n'
8074 lt_NL2SP='tr \r\n \100\100'
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8087 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8088 if ${lt_cv_to_host_file_cmd+:} false; then :
8089 $as_echo_n "(cached) " >&6
8094 *-*-mingw* ) # actually msys
8095 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8098 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8100 * ) # otherwise, assume *nix
8101 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8107 *-*-mingw* ) # actually msys
8108 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8111 lt_cv_to_host_file_cmd=func_convert_file_noop
8113 * ) # otherwise, assume *nix
8114 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8118 * ) # unhandled hosts (and "normal" native builds)
8119 lt_cv_to_host_file_cmd=func_convert_file_noop
8125 to_host_file_cmd=$lt_cv_to_host_file_cmd
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8127 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8134 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8135 if ${lt_cv_to_tool_file_cmd+:} false; then :
8136 $as_echo_n "(cached) " >&6
8138 #assume ordinary cross tools, or native build.
8139 lt_cv_to_tool_file_cmd=func_convert_file_noop
8143 *-*-mingw* ) # actually msys
8144 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8152 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8154 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8161 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8162 if ${lt_cv_ld_reload_flag+:} false; then :
8163 $as_echo_n "(cached) " >&6
8165 lt_cv_ld_reload_flag='-r'
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8168 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8169 reload_flag=$lt_cv_ld_reload_flag
8170 case $reload_flag in
8172 *) reload_flag=" $reload_flag" ;;
8174 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8176 cygwin* | mingw* | pw32* | cegcc*)
8177 if test "$GCC" != yes; then
8182 if test "$GCC" = yes; then
8183 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8185 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8198 if test -n "$ac_tool_prefix"; then
8199 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8200 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if ${ac_cv_prog_OBJDUMP+:} false; then :
8204 $as_echo_n "(cached) " >&6
8206 if test -n "$OBJDUMP"; then
8207 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8216 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8226 OBJDUMP=$ac_cv_prog_OBJDUMP
8227 if test -n "$OBJDUMP"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8229 $as_echo "$OBJDUMP" >&6; }
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8237 if test -z "$ac_cv_prog_OBJDUMP"; then
8238 ac_ct_OBJDUMP=$OBJDUMP
8239 # Extract the first word of "objdump", so it can be a program name with args.
8240 set dummy objdump; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 $as_echo_n "checking for $ac_word... " >&6; }
8243 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8244 $as_echo_n "(cached) " >&6
8246 if test -n "$ac_ct_OBJDUMP"; then
8247 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 test -z "$as_dir" && as_dir=.
8254 for ac_exec_ext in '' $ac_executable_extensions; do
8255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8256 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8266 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8267 if test -n "$ac_ct_OBJDUMP"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8269 $as_echo "$ac_ct_OBJDUMP" >&6; }
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8275 if test "x$ac_ct_OBJDUMP" = x; then
8278 case $cross_compiling:$ac_tool_warned in
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8282 ac_tool_warned=yes ;;
8284 OBJDUMP=$ac_ct_OBJDUMP
8287 OBJDUMP="$ac_cv_prog_OBJDUMP"
8290 test -z "$OBJDUMP" && OBJDUMP=objdump
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8298 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8299 if ${lt_cv_deplibs_check_method+:} false; then :
8300 $as_echo_n "(cached) " >&6
8302 lt_cv_file_magic_cmd='$MAGIC_CMD'
8303 lt_cv_file_magic_test_file=
8304 lt_cv_deplibs_check_method='unknown'
8305 # Need to set the preceding variable on all platforms that support
8306 # interlibrary dependencies.
8307 # 'none' -- dependencies not supported.
8308 # `unknown' -- same as none, but documents that we really don't know.
8309 # 'pass_all' -- all dependencies passed with no checks.
8310 # 'test_compile' -- check by making test program.
8311 # 'file_magic [[regex]]' -- check by looking for files in library path
8312 # which responds to the $file_magic_cmd with a given extended regex.
8313 # If you have `file' or equivalent on your system and you're not sure
8314 # whether `pass_all' will *always* work, you probably want this one.
8318 lt_cv_deplibs_check_method=pass_all
8322 lt_cv_deplibs_check_method=pass_all
8326 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8327 lt_cv_file_magic_cmd='/usr/bin/file -L'
8328 lt_cv_file_magic_test_file=/shlib/libc.so
8332 # func_win32_libid is a shell function defined in ltmain.sh
8333 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8334 lt_cv_file_magic_cmd='func_win32_libid'
8338 # Base MSYS/MinGW do not provide the 'file' command needed by
8339 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8340 # unless we find 'file', for example because we are cross-compiling.
8341 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8342 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
8343 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8344 lt_cv_file_magic_cmd='func_win32_libid'
8346 # Keep this pattern in sync with the one in func_win32_libid.
8347 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8348 lt_cv_file_magic_cmd='$OBJDUMP -f'
8353 # use the weaker test based on 'objdump'. See mingw*.
8354 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8355 lt_cv_file_magic_cmd='$OBJDUMP -f'
8358 darwin* | rhapsody*)
8359 lt_cv_deplibs_check_method=pass_all
8362 freebsd* | dragonfly*)
8363 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8366 # Not sure whether the presence of OpenBSD here was a mistake.
8367 # Let's accept both of them until this is cleared up.
8368 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8369 lt_cv_file_magic_cmd=/usr/bin/file
8370 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8374 lt_cv_deplibs_check_method=pass_all
8379 lt_cv_deplibs_check_method=pass_all
8383 lt_cv_deplibs_check_method=pass_all
8386 hpux10.20* | hpux11*)
8387 lt_cv_file_magic_cmd=/usr/bin/file
8390 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8391 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8394 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
8395 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8398 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8399 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8405 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8406 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8409 irix5* | irix6* | nonstopux*)
8411 *-32|*"-32 ") libmagic=32-bit;;
8412 *-n32|*"-n32 ") libmagic=N32;;
8413 *-64|*"-64 ") libmagic=64-bit;;
8414 *) libmagic=never-match;;
8416 lt_cv_deplibs_check_method=pass_all
8419 # This must be Linux ELF.
8420 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8421 lt_cv_deplibs_check_method=pass_all
8425 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8426 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8428 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8433 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8434 lt_cv_file_magic_cmd=/usr/bin/file
8435 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8439 lt_cv_deplibs_check_method=pass_all
8443 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8444 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8450 osf3* | osf4* | osf5*)
8451 lt_cv_deplibs_check_method=pass_all
8455 lt_cv_deplibs_check_method=pass_all
8459 lt_cv_deplibs_check_method=pass_all
8462 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8463 lt_cv_deplibs_check_method=pass_all
8467 case $host_vendor in
8469 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]'
8470 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8473 lt_cv_deplibs_check_method=pass_all
8476 lt_cv_file_magic_cmd='/bin/file'
8477 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8480 lt_cv_file_magic_cmd='/bin/file'
8481 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8482 lt_cv_file_magic_test_file=/lib/libc.so
8485 lt_cv_deplibs_check_method=pass_all
8488 lt_cv_deplibs_check_method=pass_all
8494 lt_cv_deplibs_check_method=pass_all
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8500 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8504 if test "$build" = "$host"; then
8507 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8510 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8516 file_magic_cmd=$lt_cv_file_magic_cmd
8517 deplibs_check_method=$lt_cv_deplibs_check_method
8518 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8541 if test -n "$ac_tool_prefix"; then
8542 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8543 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8545 $as_echo_n "checking for $ac_word... " >&6; }
8546 if ${ac_cv_prog_DLLTOOL+:} false; then :
8547 $as_echo_n "(cached) " >&6
8549 if test -n "$DLLTOOL"; then
8550 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8556 test -z "$as_dir" && as_dir=.
8557 for ac_exec_ext in '' $ac_executable_extensions; do
8558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8559 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8569 DLLTOOL=$ac_cv_prog_DLLTOOL
8570 if test -n "$DLLTOOL"; then
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8572 $as_echo "$DLLTOOL" >&6; }
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8575 $as_echo "no" >&6; }
8580 if test -z "$ac_cv_prog_DLLTOOL"; then
8581 ac_ct_DLLTOOL=$DLLTOOL
8582 # Extract the first word of "dlltool", so it can be a program name with args.
8583 set dummy dlltool; ac_word=$2
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8585 $as_echo_n "checking for $ac_word... " >&6; }
8586 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8587 $as_echo_n "(cached) " >&6
8589 if test -n "$ac_ct_DLLTOOL"; then
8590 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8596 test -z "$as_dir" && as_dir=.
8597 for ac_exec_ext in '' $ac_executable_extensions; do
8598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8599 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8609 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8610 if test -n "$ac_ct_DLLTOOL"; then
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8612 $as_echo "$ac_ct_DLLTOOL" >&6; }
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8615 $as_echo "no" >&6; }
8618 if test "x$ac_ct_DLLTOOL" = x; then
8621 case $cross_compiling:$ac_tool_warned in
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8625 ac_tool_warned=yes ;;
8627 DLLTOOL=$ac_ct_DLLTOOL
8630 DLLTOOL="$ac_cv_prog_DLLTOOL"
8633 test -z "$DLLTOOL" && DLLTOOL=dlltool
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8642 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8643 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8644 $as_echo_n "(cached) " >&6
8646 lt_cv_sharedlib_from_linklib_cmd='unknown'
8649 cygwin* | mingw* | pw32* | cegcc*)
8650 # two different shell functions defined in ltmain.sh
8651 # decide which to use based on capabilities of $DLLTOOL
8652 case `$DLLTOOL --help 2>&1` in
8653 *--identify-strict*)
8654 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8657 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8662 # fallback: assume linklib IS sharedlib
8663 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8669 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8670 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8671 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8679 if test -n "$ac_tool_prefix"; then
8682 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8683 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8685 $as_echo_n "checking for $ac_word... " >&6; }
8686 if ${ac_cv_prog_AR+:} false; then :
8687 $as_echo_n "(cached) " >&6
8689 if test -n "$AR"; then
8690 ac_cv_prog_AR="$AR" # Let the user override the test.
8692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8696 test -z "$as_dir" && as_dir=.
8697 for ac_exec_ext in '' $ac_executable_extensions; do
8698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8699 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8710 if test -n "$AR"; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8712 $as_echo "$AR" >&6; }
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8715 $as_echo "no" >&6; }
8719 test -n "$AR" && break
8722 if test -z "$AR"; then
8726 # Extract the first word of "$ac_prog", so it can be a program name with args.
8727 set dummy $ac_prog; ac_word=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8729 $as_echo_n "checking for $ac_word... " >&6; }
8730 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8731 $as_echo_n "(cached) " >&6
8733 if test -n "$ac_ct_AR"; then
8734 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740 test -z "$as_dir" && as_dir=.
8741 for ac_exec_ext in '' $ac_executable_extensions; do
8742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8743 ac_cv_prog_ac_ct_AR="$ac_prog"
8744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8753 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8754 if test -n "$ac_ct_AR"; then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8756 $as_echo "$ac_ct_AR" >&6; }
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8759 $as_echo "no" >&6; }
8763 test -n "$ac_ct_AR" && break
8766 if test "x$ac_ct_AR" = x; then
8769 case $cross_compiling:$ac_tool_warned in
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8773 ac_tool_warned=yes ;;
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8793 $as_echo_n "checking for archiver @FILE support... " >&6; }
8794 if ${lt_cv_ar_at_file+:} false; then :
8795 $as_echo_n "(cached) " >&6
8798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8799 /* end confdefs.h. */
8809 if ac_fn_c_try_compile "$LINENO"; then :
8810 echo conftest.$ac_objext > conftest.lst
8811 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8812 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8813 (eval $lt_ar_try) 2>&5
8815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8816 test $ac_status = 0; }
8817 if test "$ac_status" -eq 0; then
8818 # Ensure the archiver fails upon bogus file names.
8819 rm -f conftest.$ac_objext libconftest.a
8820 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8821 (eval $lt_ar_try) 2>&5
8823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8824 test $ac_status = 0; }
8825 if test "$ac_status" -ne 0; then
8829 rm -f conftest.* libconftest.a
8832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8836 $as_echo "$lt_cv_ar_at_file" >&6; }
8838 if test "x$lt_cv_ar_at_file" = xno; then
8841 archiver_list_spec=$lt_cv_ar_at_file
8850 if test -n "$ac_tool_prefix"; then
8851 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8852 set dummy ${ac_tool_prefix}strip; ac_word=$2
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8854 $as_echo_n "checking for $ac_word... " >&6; }
8855 if ${ac_cv_prog_STRIP+:} false; then :
8856 $as_echo_n "(cached) " >&6
8858 if test -n "$STRIP"; then
8859 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8865 test -z "$as_dir" && as_dir=.
8866 for ac_exec_ext in '' $ac_executable_extensions; do
8867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8868 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8878 STRIP=$ac_cv_prog_STRIP
8879 if test -n "$STRIP"; then
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8881 $as_echo "$STRIP" >&6; }
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8884 $as_echo "no" >&6; }
8889 if test -z "$ac_cv_prog_STRIP"; then
8891 # Extract the first word of "strip", so it can be a program name with args.
8892 set dummy strip; ac_word=$2
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8894 $as_echo_n "checking for $ac_word... " >&6; }
8895 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8896 $as_echo_n "(cached) " >&6
8898 if test -n "$ac_ct_STRIP"; then
8899 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8905 test -z "$as_dir" && as_dir=.
8906 for ac_exec_ext in '' $ac_executable_extensions; do
8907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8908 ac_cv_prog_ac_ct_STRIP="strip"
8909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8918 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8919 if test -n "$ac_ct_STRIP"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8921 $as_echo "$ac_ct_STRIP" >&6; }
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8924 $as_echo "no" >&6; }
8927 if test "x$ac_ct_STRIP" = x; then
8930 case $cross_compiling:$ac_tool_warned in
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8934 ac_tool_warned=yes ;;
8939 STRIP="$ac_cv_prog_STRIP"
8942 test -z "$STRIP" && STRIP=:
8949 if test -n "$ac_tool_prefix"; then
8950 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8951 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8953 $as_echo_n "checking for $ac_word... " >&6; }
8954 if ${ac_cv_prog_RANLIB+:} false; then :
8955 $as_echo_n "(cached) " >&6
8957 if test -n "$RANLIB"; then
8958 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8964 test -z "$as_dir" && as_dir=.
8965 for ac_exec_ext in '' $ac_executable_extensions; do
8966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8967 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8977 RANLIB=$ac_cv_prog_RANLIB
8978 if test -n "$RANLIB"; then
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8980 $as_echo "$RANLIB" >&6; }
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8983 $as_echo "no" >&6; }
8988 if test -z "$ac_cv_prog_RANLIB"; then
8989 ac_ct_RANLIB=$RANLIB
8990 # Extract the first word of "ranlib", so it can be a program name with args.
8991 set dummy ranlib; ac_word=$2
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8993 $as_echo_n "checking for $ac_word... " >&6; }
8994 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8995 $as_echo_n "(cached) " >&6
8997 if test -n "$ac_ct_RANLIB"; then
8998 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9004 test -z "$as_dir" && as_dir=.
9005 for ac_exec_ext in '' $ac_executable_extensions; do
9006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9007 ac_cv_prog_ac_ct_RANLIB="ranlib"
9008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9017 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9018 if test -n "$ac_ct_RANLIB"; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9020 $as_echo "$ac_ct_RANLIB" >&6; }
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023 $as_echo "no" >&6; }
9026 if test "x$ac_ct_RANLIB" = x; then
9029 case $cross_compiling:$ac_tool_warned in
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9033 ac_tool_warned=yes ;;
9035 RANLIB=$ac_ct_RANLIB
9038 RANLIB="$ac_cv_prog_RANLIB"
9041 test -z "$RANLIB" && RANLIB=:
9048 # Determine commands to create old-style static archives.
9049 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9050 old_postinstall_cmds='chmod 644 $oldlib'
9051 old_postuninstall_cmds=
9053 if test -n "$RANLIB"; then
9056 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
9059 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
9062 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9067 lock_old_archive_extraction=yes ;;
9069 lock_old_archive_extraction=no ;;
9110 # If no C compiler was specified, use CC.
9113 # If no C compiler flags were specified, use CFLAGS.
9114 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9116 # Allow CC to be a program name with arguments.
9120 # Check for command to grab the raw symbol name followed by C symbol from nm.
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9122 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9123 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9124 $as_echo_n "(cached) " >&6
9127 # These are sane defaults that work on at least a few old systems.
9128 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9130 # Character class describing NM global symbol codes.
9131 symcode='[BCDEGRST]'
9133 # Regexp to match symbols that can be accessed directly from C.
9134 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9136 # Define system-specific variables.
9141 cygwin* | mingw* | pw32* | cegcc*)
9142 symcode='[ABCDGISTW]'
9145 if test "$host_cpu" = ia64; then
9146 symcode='[ABCDEGRST]'
9150 symcode='[BCDEGRST]'
9153 symcode='[BCDEGQRST]'
9164 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9172 # If we're using GNU nm, then use its standard symbol codes.
9173 case `$NM -V 2>&1` in
9174 *GNU* | *'with BFD'*)
9175 symcode='[ABCDGIRSTW]' ;;
9178 # Transform an extracted symbol line into a proper C declaration.
9179 # Some systems (esp. on ia64) link data and code symbols differently,
9180 # so use this general approach.
9181 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9183 # Transform an extracted symbol line into symbol name and symbol address
9184 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9185 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'"
9187 # Handle CRLF in mingw tool chain
9191 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9195 # Try without a prefix underscore, then with it.
9196 for ac_symprfx in "" "_"; do
9198 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9199 symxfrm="\\1 $ac_symprfx\\2 \\2"
9201 # Write the raw and C identifiers.
9202 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9203 # Fake it for dumpbin and say T for any non-static function
9204 # and D for any global variable.
9205 # Also find C++ and __fastcall symbols from MSVC++,
9206 # which start with @ or ?.
9207 lt_cv_sys_global_symbol_pipe="$AWK '"\
9208 " {last_section=section; section=\$ 3};"\
9209 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9210 " \$ 0!~/External *\|/{next};"\
9211 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9212 " {if(hide[section]) next};"\
9213 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9214 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9215 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
9216 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9217 " ' prfx=^$ac_symprfx"
9219 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9221 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9223 # Check to see that the pipe works correctly.
9227 cat > conftest.$ac_ext <<_LT_EOF
9232 void nm_test_func(void);
9233 void nm_test_func(void){}
9237 int main(){nm_test_var='a';nm_test_func();return(0);}
9240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9241 (eval $ac_compile) 2>&5
9243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9244 test $ac_status = 0; }; then
9245 # Now try to grab the symbols.
9247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9248 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9251 test $ac_status = 0; } && test -s "$nlist"; then
9252 # Try sorting and uniquifying the output.
9253 if sort "$nlist" | uniq > "$nlist"T; then
9254 mv -f "$nlist"T "$nlist"
9259 # Make sure that we snagged all the symbols we need.
9260 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9261 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9262 cat <<_LT_EOF > conftest.$ac_ext
9263 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9264 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9265 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9266 relocations are performed -- see ld's documentation on pseudo-relocs. */
9267 # define LT_DLSYM_CONST
9268 #elif defined(__osf__)
9269 /* This system does not cope well with relocations in const data. */
9270 # define LT_DLSYM_CONST
9272 # define LT_DLSYM_CONST const
9280 # Now generate the symbol file.
9281 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9283 cat <<_LT_EOF >> conftest.$ac_ext
9285 /* The mapping between symbol names and symbols. */
9286 LT_DLSYM_CONST struct {
9290 lt__PROGRAM__LTX_preloaded_symbols[] =
9292 { "@PROGRAM@", (void *) 0 },
9294 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9295 cat <<\_LT_EOF >> conftest.$ac_ext
9299 /* This works around a problem in FreeBSD linker */
9300 #ifdef FREEBSD_WORKAROUND
9301 static const void *lt_preloaded_setup() {
9302 return lt__PROGRAM__LTX_preloaded_symbols;
9310 # Now try linking the two files.
9311 mv conftest.$ac_objext conftstm.$ac_objext
9312 lt_globsym_save_LIBS=$LIBS
9313 lt_globsym_save_CFLAGS=$CFLAGS
9314 LIBS="conftstm.$ac_objext"
9315 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9317 (eval $ac_link) 2>&5
9319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9320 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9323 LIBS=$lt_globsym_save_LIBS
9324 CFLAGS=$lt_globsym_save_CFLAGS
9326 echo "cannot find nm_test_func in $nlist" >&5
9329 echo "cannot find nm_test_var in $nlist" >&5
9332 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9335 echo "$progname: failed program was:" >&5
9336 cat conftest.$ac_ext >&5
9338 rm -rf conftest* conftst*
9340 # Do not use the global_symbol_pipe unless it works.
9341 if test "$pipe_works" = yes; then
9344 lt_cv_sys_global_symbol_pipe=
9350 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9351 lt_cv_sys_global_symbol_to_cdecl=
9353 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9355 $as_echo "failed" >&6; }
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9358 $as_echo "ok" >&6; }
9361 # Response file support.
9362 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9363 nm_file_list_spec='@'
9364 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9365 nm_file_list_spec='@'
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9395 $as_echo_n "checking for sysroot... " >&6; }
9397 # Check whether --with-sysroot was given.
9398 if test "${with_sysroot+set}" = set; then :
9399 withval=$with_sysroot;
9406 case ${with_sysroot} in #(
9408 if test "$GCC" = yes; then
9409 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9413 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9419 $as_echo "${with_sysroot}" >&6; }
9420 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9425 $as_echo "${lt_sysroot:-no}" >&6; }
9431 # Check whether --enable-libtool-lock was given.
9432 if test "${enable_libtool_lock+set}" = set; then :
9433 enableval=$enable_libtool_lock;
9436 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9438 # Some flags need to be propagated to the compiler or linker for good
9442 # Find out which ABI we are using.
9443 echo 'int i;' > conftest.$ac_ext
9444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9445 (eval $ac_compile) 2>&5
9447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9448 test $ac_status = 0; }; then
9449 case `/usr/bin/file conftest.$ac_objext` in
9461 # Find out which ABI we are using.
9462 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9464 (eval $ac_compile) 2>&5
9466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9467 test $ac_status = 0; }; then
9468 if test "$lt_cv_prog_gnu_ld" = yes; then
9469 case `/usr/bin/file conftest.$ac_objext` in
9471 LD="${LD-ld} -melf32bsmip"
9474 LD="${LD-ld} -melf32bmipn32"
9477 LD="${LD-ld} -melf64bmip"
9481 case `/usr/bin/file conftest.$ac_objext` in
9497 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9498 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9499 # Find out which ABI we are using.
9500 echo 'int i;' > conftest.$ac_ext
9501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9502 (eval $ac_compile) 2>&5
9504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9505 test $ac_status = 0; }; then
9506 case `/usr/bin/file conftest.o` in
9509 x86_64-*kfreebsd*-gnu)
9510 LD="${LD-ld} -m elf_i386_fbsd"
9513 LD="${LD-ld} -m elf_i386"
9515 ppc64-*linux*|powerpc64-*linux*)
9516 LD="${LD-ld} -m elf32ppclinux"
9519 LD="${LD-ld} -m elf_s390"
9522 LD="${LD-ld} -m elf32_sparc"
9528 x86_64-*kfreebsd*-gnu)
9529 LD="${LD-ld} -m elf_x86_64_fbsd"
9532 LD="${LD-ld} -m elf_x86_64"
9534 ppc*-*linux*|powerpc*-*linux*)
9535 LD="${LD-ld} -m elf64ppc"
9537 s390*-*linux*|s390*-*tpf*)
9538 LD="${LD-ld} -m elf64_s390"
9541 LD="${LD-ld} -m elf64_sparc"
9551 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9552 SAVE_CFLAGS="$CFLAGS"
9553 CFLAGS="$CFLAGS -belf"
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9555 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9556 if ${lt_cv_cc_needs_belf+:} false; then :
9557 $as_echo_n "(cached) " >&6
9560 ac_cpp='$CPP $CPPFLAGS'
9561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h. */
9576 if ac_fn_c_try_link "$LINENO"; then :
9577 lt_cv_cc_needs_belf=yes
9579 lt_cv_cc_needs_belf=no
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9584 ac_cpp='$CPP $CPPFLAGS'
9585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9591 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9592 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9593 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9594 CFLAGS="$SAVE_CFLAGS"
9598 # Find out which ABI we are using.
9599 echo 'int i;' > conftest.$ac_ext
9600 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9601 (eval $ac_compile) 2>&5
9603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9604 test $ac_status = 0; }; then
9605 case `/usr/bin/file conftest.o` in
9607 case $lt_cv_prog_gnu_ld in
9608 yes*) LD="${LD-ld} -m elf64_sparc" ;;
9610 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9622 need_locks="$enable_libtool_lock"
9624 if test -n "$ac_tool_prefix"; then
9625 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9626 set dummy ${ac_tool_prefix}mt; ac_word=$2
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 $as_echo_n "checking for $ac_word... " >&6; }
9629 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9630 $as_echo_n "(cached) " >&6
9632 if test -n "$MANIFEST_TOOL"; then
9633 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9639 test -z "$as_dir" && as_dir=.
9640 for ac_exec_ext in '' $ac_executable_extensions; do
9641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9642 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9652 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9653 if test -n "$MANIFEST_TOOL"; then
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9655 $as_echo "$MANIFEST_TOOL" >&6; }
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9658 $as_echo "no" >&6; }
9663 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9664 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9665 # Extract the first word of "mt", so it can be a program name with args.
9666 set dummy mt; ac_word=$2
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9668 $as_echo_n "checking for $ac_word... " >&6; }
9669 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9670 $as_echo_n "(cached) " >&6
9672 if test -n "$ac_ct_MANIFEST_TOOL"; then
9673 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9679 test -z "$as_dir" && as_dir=.
9680 for ac_exec_ext in '' $ac_executable_extensions; do
9681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9682 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9692 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9693 if test -n "$ac_ct_MANIFEST_TOOL"; then
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9695 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9698 $as_echo "no" >&6; }
9701 if test "x$ac_ct_MANIFEST_TOOL" = x; then
9704 case $cross_compiling:$ac_tool_warned in
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9708 ac_tool_warned=yes ;;
9710 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9713 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9716 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9718 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9719 if ${lt_cv_path_mainfest_tool+:} false; then :
9720 $as_echo_n "(cached) " >&6
9722 lt_cv_path_mainfest_tool=no
9723 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9724 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9725 cat conftest.err >&5
9726 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9727 lt_cv_path_mainfest_tool=yes
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9732 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9733 if test "x$lt_cv_path_mainfest_tool" != xyes; then
9743 rhapsody* | darwin*)
9744 if test -n "$ac_tool_prefix"; then
9745 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9746 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9748 $as_echo_n "checking for $ac_word... " >&6; }
9749 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9750 $as_echo_n "(cached) " >&6
9752 if test -n "$DSYMUTIL"; then
9753 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9759 test -z "$as_dir" && as_dir=.
9760 for ac_exec_ext in '' $ac_executable_extensions; do
9761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9762 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9772 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9773 if test -n "$DSYMUTIL"; then
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9775 $as_echo "$DSYMUTIL" >&6; }
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9778 $as_echo "no" >&6; }
9783 if test -z "$ac_cv_prog_DSYMUTIL"; then
9784 ac_ct_DSYMUTIL=$DSYMUTIL
9785 # Extract the first word of "dsymutil", so it can be a program name with args.
9786 set dummy dsymutil; ac_word=$2
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9788 $as_echo_n "checking for $ac_word... " >&6; }
9789 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9790 $as_echo_n "(cached) " >&6
9792 if test -n "$ac_ct_DSYMUTIL"; then
9793 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9799 test -z "$as_dir" && as_dir=.
9800 for ac_exec_ext in '' $ac_executable_extensions; do
9801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9802 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9812 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9813 if test -n "$ac_ct_DSYMUTIL"; then
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9815 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9818 $as_echo "no" >&6; }
9821 if test "x$ac_ct_DSYMUTIL" = x; then
9824 case $cross_compiling:$ac_tool_warned in
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9828 ac_tool_warned=yes ;;
9830 DSYMUTIL=$ac_ct_DSYMUTIL
9833 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9836 if test -n "$ac_tool_prefix"; then
9837 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9838 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9840 $as_echo_n "checking for $ac_word... " >&6; }
9841 if ${ac_cv_prog_NMEDIT+:} false; then :
9842 $as_echo_n "(cached) " >&6
9844 if test -n "$NMEDIT"; then
9845 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9851 test -z "$as_dir" && as_dir=.
9852 for ac_exec_ext in '' $ac_executable_extensions; do
9853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9854 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9864 NMEDIT=$ac_cv_prog_NMEDIT
9865 if test -n "$NMEDIT"; then
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9867 $as_echo "$NMEDIT" >&6; }
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9870 $as_echo "no" >&6; }
9875 if test -z "$ac_cv_prog_NMEDIT"; then
9876 ac_ct_NMEDIT=$NMEDIT
9877 # Extract the first word of "nmedit", so it can be a program name with args.
9878 set dummy nmedit; ac_word=$2
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9880 $as_echo_n "checking for $ac_word... " >&6; }
9881 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9882 $as_echo_n "(cached) " >&6
9884 if test -n "$ac_ct_NMEDIT"; then
9885 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9891 test -z "$as_dir" && as_dir=.
9892 for ac_exec_ext in '' $ac_executable_extensions; do
9893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9894 ac_cv_prog_ac_ct_NMEDIT="nmedit"
9895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9904 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9905 if test -n "$ac_ct_NMEDIT"; then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9907 $as_echo "$ac_ct_NMEDIT" >&6; }
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9910 $as_echo "no" >&6; }
9913 if test "x$ac_ct_NMEDIT" = x; then
9916 case $cross_compiling:$ac_tool_warned in
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9920 ac_tool_warned=yes ;;
9922 NMEDIT=$ac_ct_NMEDIT
9925 NMEDIT="$ac_cv_prog_NMEDIT"
9928 if test -n "$ac_tool_prefix"; then
9929 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9930 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9932 $as_echo_n "checking for $ac_word... " >&6; }
9933 if ${ac_cv_prog_LIPO+:} false; then :
9934 $as_echo_n "(cached) " >&6
9936 if test -n "$LIPO"; then
9937 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9943 test -z "$as_dir" && as_dir=.
9944 for ac_exec_ext in '' $ac_executable_extensions; do
9945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9946 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9956 LIPO=$ac_cv_prog_LIPO
9957 if test -n "$LIPO"; then
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9959 $as_echo "$LIPO" >&6; }
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9962 $as_echo "no" >&6; }
9967 if test -z "$ac_cv_prog_LIPO"; then
9969 # Extract the first word of "lipo", so it can be a program name with args.
9970 set dummy lipo; ac_word=$2
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9972 $as_echo_n "checking for $ac_word... " >&6; }
9973 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9974 $as_echo_n "(cached) " >&6
9976 if test -n "$ac_ct_LIPO"; then
9977 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9983 test -z "$as_dir" && as_dir=.
9984 for ac_exec_ext in '' $ac_executable_extensions; do
9985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9986 ac_cv_prog_ac_ct_LIPO="lipo"
9987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9996 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9997 if test -n "$ac_ct_LIPO"; then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9999 $as_echo "$ac_ct_LIPO" >&6; }
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10002 $as_echo "no" >&6; }
10005 if test "x$ac_ct_LIPO" = x; then
10008 case $cross_compiling:$ac_tool_warned in
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10012 ac_tool_warned=yes ;;
10017 LIPO="$ac_cv_prog_LIPO"
10020 if test -n "$ac_tool_prefix"; then
10021 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10022 set dummy ${ac_tool_prefix}otool; ac_word=$2
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10024 $as_echo_n "checking for $ac_word... " >&6; }
10025 if ${ac_cv_prog_OTOOL+:} false; then :
10026 $as_echo_n "(cached) " >&6
10028 if test -n "$OTOOL"; then
10029 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10032 for as_dir in $PATH
10035 test -z "$as_dir" && as_dir=.
10036 for ac_exec_ext in '' $ac_executable_extensions; do
10037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10038 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10048 OTOOL=$ac_cv_prog_OTOOL
10049 if test -n "$OTOOL"; then
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10051 $as_echo "$OTOOL" >&6; }
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10054 $as_echo "no" >&6; }
10059 if test -z "$ac_cv_prog_OTOOL"; then
10061 # Extract the first word of "otool", so it can be a program name with args.
10062 set dummy otool; ac_word=$2
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10064 $as_echo_n "checking for $ac_word... " >&6; }
10065 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10066 $as_echo_n "(cached) " >&6
10068 if test -n "$ac_ct_OTOOL"; then
10069 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10072 for as_dir in $PATH
10075 test -z "$as_dir" && as_dir=.
10076 for ac_exec_ext in '' $ac_executable_extensions; do
10077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10078 ac_cv_prog_ac_ct_OTOOL="otool"
10079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10088 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10089 if test -n "$ac_ct_OTOOL"; then
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10091 $as_echo "$ac_ct_OTOOL" >&6; }
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10094 $as_echo "no" >&6; }
10097 if test "x$ac_ct_OTOOL" = x; then
10100 case $cross_compiling:$ac_tool_warned in
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10104 ac_tool_warned=yes ;;
10109 OTOOL="$ac_cv_prog_OTOOL"
10112 if test -n "$ac_tool_prefix"; then
10113 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10114 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10116 $as_echo_n "checking for $ac_word... " >&6; }
10117 if ${ac_cv_prog_OTOOL64+:} false; then :
10118 $as_echo_n "(cached) " >&6
10120 if test -n "$OTOOL64"; then
10121 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10124 for as_dir in $PATH
10127 test -z "$as_dir" && as_dir=.
10128 for ac_exec_ext in '' $ac_executable_extensions; do
10129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10130 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10140 OTOOL64=$ac_cv_prog_OTOOL64
10141 if test -n "$OTOOL64"; then
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10143 $as_echo "$OTOOL64" >&6; }
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10146 $as_echo "no" >&6; }
10151 if test -z "$ac_cv_prog_OTOOL64"; then
10152 ac_ct_OTOOL64=$OTOOL64
10153 # Extract the first word of "otool64", so it can be a program name with args.
10154 set dummy otool64; ac_word=$2
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10156 $as_echo_n "checking for $ac_word... " >&6; }
10157 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10158 $as_echo_n "(cached) " >&6
10160 if test -n "$ac_ct_OTOOL64"; then
10161 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10164 for as_dir in $PATH
10167 test -z "$as_dir" && as_dir=.
10168 for ac_exec_ext in '' $ac_executable_extensions; do
10169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10170 ac_cv_prog_ac_ct_OTOOL64="otool64"
10171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10180 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10181 if test -n "$ac_ct_OTOOL64"; then
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10183 $as_echo "$ac_ct_OTOOL64" >&6; }
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10186 $as_echo "no" >&6; }
10189 if test "x$ac_ct_OTOOL64" = x; then
10192 case $cross_compiling:$ac_tool_warned in
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10196 ac_tool_warned=yes ;;
10198 OTOOL64=$ac_ct_OTOOL64
10201 OTOOL64="$ac_cv_prog_OTOOL64"
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10231 $as_echo_n "checking for -single_module linker flag... " >&6; }
10232 if ${lt_cv_apple_cc_single_mod+:} false; then :
10233 $as_echo_n "(cached) " >&6
10235 lt_cv_apple_cc_single_mod=no
10236 if test -z "${LT_MULTI_MODULE}"; then
10237 # By default we will add the -single_module flag. You can override
10238 # by either setting the environment variable LT_MULTI_MODULE
10239 # non-empty at configure time, or by adding -multi_module to the
10241 rm -rf libconftest.dylib*
10242 echo "int foo(void){return 1;}" > conftest.c
10243 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10244 -dynamiclib -Wl,-single_module conftest.c" >&5
10245 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10246 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10248 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
10249 lt_cv_apple_cc_single_mod=yes
10251 cat conftest.err >&5
10253 rm -rf libconftest.dylib*
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10258 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10260 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10261 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10262 $as_echo_n "(cached) " >&6
10264 lt_cv_ld_exported_symbols_list=no
10265 save_LDFLAGS=$LDFLAGS
10266 echo "_main" > conftest.sym
10267 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10269 /* end confdefs.h. */
10279 if ac_fn_c_try_link "$LINENO"; then :
10280 lt_cv_ld_exported_symbols_list=yes
10282 lt_cv_ld_exported_symbols_list=no
10284 rm -f core conftest.err conftest.$ac_objext \
10285 conftest$ac_exeext conftest.$ac_ext
10286 LDFLAGS="$save_LDFLAGS"
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10290 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10292 $as_echo_n "checking for -force_load linker flag... " >&6; }
10293 if ${lt_cv_ld_force_load+:} false; then :
10294 $as_echo_n "(cached) " >&6
10296 lt_cv_ld_force_load=no
10297 cat > conftest.c << _LT_EOF
10298 int forced_loaded() { return 2;}
10300 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10301 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10302 echo "$AR cru libconftest.a conftest.o" >&5
10303 $AR cru libconftest.a conftest.o 2>&5
10304 echo "$RANLIB libconftest.a" >&5
10305 $RANLIB libconftest.a 2>&5
10306 cat > conftest.c << _LT_EOF
10307 int main() { return 0;}
10309 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10310 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10312 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
10313 lt_cv_ld_force_load=yes
10315 cat conftest.err >&5
10317 rm -f conftest.err libconftest.a conftest conftest.c
10318 rm -rf conftest.dSYM
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10322 $as_echo "$lt_cv_ld_force_load" >&6; }
10324 rhapsody* | darwin1.[012])
10325 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10327 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10328 darwin*) # darwin 5.x on
10329 # if running on 10.5 or later, the deployment target defaults
10330 # to the OS version, if on x86, and 10.4, the deployment
10331 # target defaults to 10.4. Don't you love it?
10332 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10333 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10334 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10336 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10338 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10342 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10343 _lt_dar_single_mod='$single_module'
10345 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10346 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10348 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10350 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10351 _lt_dsymutil='~$DSYMUTIL $lib || :'
10358 for ac_header in dlfcn.h
10360 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10362 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10363 cat >>confdefs.h <<_ACEOF
10364 #define HAVE_DLFCN_H 1
10373 func_stripname_cnf ()
10376 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10377 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10379 } # func_stripname_cnf
10393 # Check whether --enable-shared was given.
10394 if test "${enable_shared+set}" = set; then :
10395 enableval=$enable_shared; p=${PACKAGE-default}
10397 yes) enable_shared=yes ;;
10398 no) enable_shared=no ;;
10401 # Look at the argument we got. We use all the common list separators.
10402 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10403 for pkg in $enableval; do
10405 if test "X$pkg" = "X$p"; then
10426 # Check whether --with-pic was given.
10427 if test "${with_pic+set}" = set; then :
10428 withval=$with_pic; pic_mode="$withval"
10434 test -z "$pic_mode" && pic_mode=default
10442 # Check whether --enable-fast-install was given.
10443 if test "${enable_fast_install+set}" = set; then :
10444 enableval=$enable_fast_install; p=${PACKAGE-default}
10446 yes) enable_fast_install=yes ;;
10447 no) enable_fast_install=no ;;
10449 enable_fast_install=no
10450 # Look at the argument we got. We use all the common list separators.
10451 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10452 for pkg in $enableval; do
10454 if test "X$pkg" = "X$p"; then
10455 enable_fast_install=yes
10462 enable_fast_install=yes
10475 # This can be used to rebuild libtool when needed
10476 LIBTOOL_DEPS="$ltmain"
10478 # Always use our own libtool.
10479 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10506 test -z "$LN_S" && LN_S="ln -s"
10521 if test -n "${ZSH_VERSION+set}" ; then
10522 setopt NO_GLOB_SUBST
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10526 $as_echo_n "checking for objdir... " >&6; }
10527 if ${lt_cv_objdir+:} false; then :
10528 $as_echo_n "(cached) " >&6
10530 rm -f .libs 2>/dev/null
10531 mkdir .libs 2>/dev/null
10532 if test -d .libs; then
10535 # MS-DOS does not allow filenames that begin with a dot.
10538 rmdir .libs 2>/dev/null
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10541 $as_echo "$lt_cv_objdir" >&6; }
10542 objdir=$lt_cv_objdir
10548 cat >>confdefs.h <<_ACEOF
10549 #define LT_OBJDIR "$lt_cv_objdir/"
10557 # AIX sometimes has problems with the GCC collect2 program. For some
10558 # reason, if we set the COLLECT_NAMES environment variable, the problems
10559 # vanish in a puff of smoke.
10560 if test "X${COLLECT_NAMES+set}" != Xset; then
10562 export COLLECT_NAMES
10567 # Global variables:
10569 can_build_shared=yes
10571 # All known linkers require a `.a' archive for static linking (except MSVC,
10572 # which needs '.lib').
10575 with_gnu_ld="$lt_cv_prog_gnu_ld"
10578 old_CFLAGS="$CFLAGS"
10580 # Set sane defaults for various variables
10581 test -z "$CC" && CC=cc
10582 test -z "$LTCC" && LTCC=$CC
10583 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10584 test -z "$LD" && LD=ld
10585 test -z "$ac_objext" && ac_objext=o
10587 for cc_temp in $compiler""; do
10589 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10590 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10595 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10598 # Only perform the check for file, if the check method requires it
10599 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10600 case $deplibs_check_method in
10602 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10604 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10605 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10606 $as_echo_n "(cached) " >&6
10610 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10613 lt_save_MAGIC_CMD="$MAGIC_CMD"
10614 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10615 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10616 for ac_dir in $ac_dummy; do
10618 test -z "$ac_dir" && ac_dir=.
10619 if test -f $ac_dir/${ac_tool_prefix}file; then
10620 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10621 if test -n "$file_magic_test_file"; then
10622 case $deplibs_check_method in
10624 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10625 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10626 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10627 $EGREP "$file_magic_regex" > /dev/null; then
10632 *** Warning: the command libtool uses to detect shared libraries,
10633 *** $file_magic_cmd, produces output that libtool cannot recognize.
10634 *** The result is that libtool may fail to recognize shared libraries
10635 *** as such. This will affect the creation of libtool libraries that
10636 *** depend on shared libraries, but programs linked with such libtool
10637 *** libraries will work regardless of this problem. Nevertheless, you
10638 *** may want to report the problem to your system manager and/or to
10639 *** bug-libtool@gnu.org
10649 MAGIC_CMD="$lt_save_MAGIC_CMD"
10654 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10655 if test -n "$MAGIC_CMD"; then
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10657 $as_echo "$MAGIC_CMD" >&6; }
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10660 $as_echo "no" >&6; }
10667 if test -z "$lt_cv_path_MAGIC_CMD"; then
10668 if test -n "$ac_tool_prefix"; then
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10670 $as_echo_n "checking for file... " >&6; }
10671 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10672 $as_echo_n "(cached) " >&6
10676 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10679 lt_save_MAGIC_CMD="$MAGIC_CMD"
10680 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10681 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10682 for ac_dir in $ac_dummy; do
10684 test -z "$ac_dir" && ac_dir=.
10685 if test -f $ac_dir/file; then
10686 lt_cv_path_MAGIC_CMD="$ac_dir/file"
10687 if test -n "$file_magic_test_file"; then
10688 case $deplibs_check_method in
10690 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10691 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10692 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10693 $EGREP "$file_magic_regex" > /dev/null; then
10698 *** Warning: the command libtool uses to detect shared libraries,
10699 *** $file_magic_cmd, produces output that libtool cannot recognize.
10700 *** The result is that libtool may fail to recognize shared libraries
10701 *** as such. This will affect the creation of libtool libraries that
10702 *** depend on shared libraries, but programs linked with such libtool
10703 *** libraries will work regardless of this problem. Nevertheless, you
10704 *** may want to report the problem to your system manager and/or to
10705 *** bug-libtool@gnu.org
10715 MAGIC_CMD="$lt_save_MAGIC_CMD"
10720 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10721 if test -n "$MAGIC_CMD"; then
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10723 $as_echo "$MAGIC_CMD" >&6; }
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10726 $as_echo "no" >&6; }
10739 # Use C for the default configuration in the libtool script
10743 ac_cpp='$CPP $CPPFLAGS'
10744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10749 # Source file extension for C test sources.
10752 # Object file extension for compiled C test sources.
10756 # Code to be used in simple compile tests
10757 lt_simple_compile_test_code="int some_variable = 0;"
10759 # Code to be used in simple link tests
10760 lt_simple_link_test_code='int main(){return(0);}'
10768 # If no C compiler was specified, use CC.
10771 # If no C compiler flags were specified, use CFLAGS.
10772 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10774 # Allow CC to be a program name with arguments.
10777 # Save the default compiler, since it gets overwritten when the other
10778 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10779 compiler_DEFAULT=$CC
10781 # save warnings/boilerplate of simple test code
10782 ac_outfile=conftest.$ac_objext
10783 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10784 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10785 _lt_compiler_boilerplate=`cat conftest.err`
10788 ac_outfile=conftest.$ac_objext
10789 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10790 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10791 _lt_linker_boilerplate=`cat conftest.err`
10796 ## There is no encapsulation within the following macros, do not change
10797 ## the running order or otherwise move them around unless you know exactly
10798 ## what you are doing...
10799 if test -n "$compiler"; then
10801 lt_prog_compiler_no_builtin_flag=
10803 if test "$GCC" = yes; then
10804 case $cc_basename in
10806 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10808 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10812 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10813 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10814 $as_echo_n "(cached) " >&6
10816 lt_cv_prog_compiler_rtti_exceptions=no
10817 ac_outfile=conftest.$ac_objext
10818 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10819 lt_compiler_flag="-fno-rtti -fno-exceptions"
10820 # Insert the option either (1) after the last *FLAGS variable, or
10821 # (2) before a word containing "conftest.", or (3) at the end.
10822 # Note that $ac_compile itself does not contain backslashes and begins
10823 # with a dollar sign (not a hyphen), so the echo should work correctly.
10824 # The option is referenced via a variable to avoid confusing sed.
10825 lt_compile=`echo "$ac_compile" | $SED \
10826 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10827 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10828 -e 's:$: $lt_compiler_flag:'`
10829 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10830 (eval "$lt_compile" 2>conftest.err)
10832 cat conftest.err >&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 if (exit $ac_status) && test -s "$ac_outfile"; then
10835 # The compiler can only warn and ignore the option if not recognized
10836 # So say no if there are warnings other than the usual output.
10837 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10838 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10839 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10840 lt_cv_prog_compiler_rtti_exceptions=yes
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10847 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10849 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10850 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10862 lt_prog_compiler_wl=
10863 lt_prog_compiler_pic=
10864 lt_prog_compiler_static=
10867 if test "$GCC" = yes; then
10868 lt_prog_compiler_wl='-Wl,'
10869 lt_prog_compiler_static='-static'
10873 # All AIX code is PIC.
10874 if test "$host_cpu" = ia64; then
10875 # AIX 5 now supports IA64 processor
10876 lt_prog_compiler_static='-Bstatic'
10883 # see comment about AmigaOS4 .so support
10884 lt_prog_compiler_pic='-fPIC'
10887 # FIXME: we need at least 68020 code to build shared libraries, but
10888 # adding the `-m68020' flag to GCC prevents building anything better,
10890 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10895 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10896 # PIC is the default for these OSes.
10899 mingw* | cygwin* | pw32* | os2* | cegcc*)
10900 # This hack is so that the source file can tell whether it is being
10901 # built for inclusion in a dll (and should export symbols for example).
10902 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10903 # (--disable-auto-import) libraries
10904 lt_prog_compiler_pic='-DDLL_EXPORT'
10907 darwin* | rhapsody*)
10908 # PIC is the default on this platform
10909 # Common symbols not allowed in MH_DYLIB files
10910 lt_prog_compiler_pic='-fno-common'
10914 # PIC is the default for Haiku.
10915 # The "-static" flag exists, but is broken.
10916 lt_prog_compiler_static=
10920 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10921 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10922 # sets the default TLS model and affects inlining.
10928 lt_prog_compiler_pic='-fPIC'
10934 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10935 # Instead, we relocate shared libraries at runtime.
10939 # Just because we use GCC doesn't mean we suddenly get shared libraries
10940 # on systems that don't support them.
10941 lt_prog_compiler_can_build_shared=no
10946 # QNX uses GNU C++, but need to define -shared option too, otherwise
10947 # it will coredump.
10948 lt_prog_compiler_pic='-fPIC -shared'
10952 if test -d /usr/nec; then
10953 lt_prog_compiler_pic=-Kconform_pic
10958 lt_prog_compiler_pic='-fPIC'
10962 case $cc_basename in
10963 nvcc*) # Cuda Compiler Driver 2.2
10964 lt_prog_compiler_wl='-Xlinker '
10965 lt_prog_compiler_pic='-Xcompiler -fPIC'
10969 # PORTME Check for flag to pass linker flags through the system compiler.
10972 lt_prog_compiler_wl='-Wl,'
10973 if test "$host_cpu" = ia64; then
10974 # AIX 5 now supports IA64 processor
10975 lt_prog_compiler_static='-Bstatic'
10977 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10981 mingw* | cygwin* | pw32* | os2* | cegcc*)
10982 # This hack is so that the source file can tell whether it is being
10983 # built for inclusion in a dll (and should export symbols for example).
10984 lt_prog_compiler_pic='-DDLL_EXPORT'
10987 hpux9* | hpux10* | hpux11*)
10988 lt_prog_compiler_wl='-Wl,'
10989 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10990 # not for PA HP-UX.
10996 lt_prog_compiler_pic='+Z'
10999 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11000 lt_prog_compiler_static='${wl}-a ${wl}archive'
11003 irix5* | irix6* | nonstopux*)
11004 lt_prog_compiler_wl='-Wl,'
11005 # PIC (with -KPIC) is the default.
11006 lt_prog_compiler_static='-non_shared'
11009 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11010 case $cc_basename in
11011 # old Intel for x86_64 which still supported -KPIC.
11013 lt_prog_compiler_wl='-Wl,'
11014 lt_prog_compiler_pic='-KPIC'
11015 lt_prog_compiler_static='-static'
11017 # icc used to be incompatible with GCC.
11018 # ICC 10 doesn't accept -KPIC any more.
11020 lt_prog_compiler_wl='-Wl,'
11021 lt_prog_compiler_pic='-fPIC'
11022 lt_prog_compiler_static='-static'
11024 # Lahey Fortran 8.1.
11026 lt_prog_compiler_wl='-Wl,'
11027 lt_prog_compiler_pic='--shared'
11028 lt_prog_compiler_static='--static'
11031 # NAG Fortran compiler
11032 lt_prog_compiler_wl='-Wl,-Wl,,'
11033 lt_prog_compiler_pic='-PIC'
11034 lt_prog_compiler_static='-Bstatic'
11036 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11037 # Portland Group compilers (*not* the Pentium gcc compiler,
11038 # which looks to be a dead project)
11039 lt_prog_compiler_wl='-Wl,'
11040 lt_prog_compiler_pic='-fpic'
11041 lt_prog_compiler_static='-Bstatic'
11044 lt_prog_compiler_wl='-Wl,'
11045 # All Alpha code is PIC.
11046 lt_prog_compiler_static='-non_shared'
11048 xl* | bgxl* | bgf* | mpixl*)
11049 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11050 lt_prog_compiler_wl='-Wl,'
11051 lt_prog_compiler_pic='-qpic'
11052 lt_prog_compiler_static='-qstaticlink'
11055 case `$CC -V 2>&1 | sed 5q` in
11056 *Sun\ F* | *Sun*Fortran*)
11057 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11058 lt_prog_compiler_pic='-KPIC'
11059 lt_prog_compiler_static='-Bstatic'
11060 lt_prog_compiler_wl=''
11064 lt_prog_compiler_pic='-KPIC'
11065 lt_prog_compiler_static='-Bstatic'
11066 lt_prog_compiler_wl='-Wl,'
11074 lt_prog_compiler_pic='-KPIC'
11075 lt_prog_compiler_static='-Bstatic'
11079 # QNX uses GNU C++, but need to define -shared option too, otherwise
11080 # it will coredump.
11081 lt_prog_compiler_pic='-fPIC -shared'
11084 osf3* | osf4* | osf5*)
11085 lt_prog_compiler_wl='-Wl,'
11086 # All OSF/1 code is PIC.
11087 lt_prog_compiler_static='-non_shared'
11091 lt_prog_compiler_static='-non_shared'
11095 lt_prog_compiler_pic='-KPIC'
11096 lt_prog_compiler_static='-Bstatic'
11097 case $cc_basename in
11098 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11099 lt_prog_compiler_wl='-Qoption ld ';;
11101 lt_prog_compiler_wl='-Wl,';;
11106 lt_prog_compiler_wl='-Qoption ld '
11107 lt_prog_compiler_pic='-PIC'
11108 lt_prog_compiler_static='-Bstatic'
11111 sysv4 | sysv4.2uw2* | sysv4.3*)
11112 lt_prog_compiler_wl='-Wl,'
11113 lt_prog_compiler_pic='-KPIC'
11114 lt_prog_compiler_static='-Bstatic'
11118 if test -d /usr/nec ;then
11119 lt_prog_compiler_pic='-Kconform_pic'
11120 lt_prog_compiler_static='-Bstatic'
11124 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11125 lt_prog_compiler_wl='-Wl,'
11126 lt_prog_compiler_pic='-KPIC'
11127 lt_prog_compiler_static='-Bstatic'
11131 lt_prog_compiler_wl='-Wl,'
11132 lt_prog_compiler_can_build_shared=no
11136 lt_prog_compiler_pic='-pic'
11137 lt_prog_compiler_static='-Bstatic'
11141 lt_prog_compiler_can_build_shared=no
11147 # For platforms which do not support PIC, -DPIC is meaningless:
11149 lt_prog_compiler_pic=
11152 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11157 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11158 if ${lt_cv_prog_compiler_pic+:} false; then :
11159 $as_echo_n "(cached) " >&6
11161 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11164 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11165 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11168 # Check to make sure the PIC flag actually works.
11170 if test -n "$lt_prog_compiler_pic"; then
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11172 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11173 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11174 $as_echo_n "(cached) " >&6
11176 lt_cv_prog_compiler_pic_works=no
11177 ac_outfile=conftest.$ac_objext
11178 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11179 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11180 # Insert the option either (1) after the last *FLAGS variable, or
11181 # (2) before a word containing "conftest.", or (3) at the end.
11182 # Note that $ac_compile itself does not contain backslashes and begins
11183 # with a dollar sign (not a hyphen), so the echo should work correctly.
11184 # The option is referenced via a variable to avoid confusing sed.
11185 lt_compile=`echo "$ac_compile" | $SED \
11186 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11188 -e 's:$: $lt_compiler_flag:'`
11189 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11190 (eval "$lt_compile" 2>conftest.err)
11192 cat conftest.err >&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 if (exit $ac_status) && test -s "$ac_outfile"; then
11195 # The compiler can only warn and ignore the option if not recognized
11196 # So say no if there are warnings other than the usual output.
11197 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11198 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11199 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11200 lt_cv_prog_compiler_pic_works=yes
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11207 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11209 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11210 case $lt_prog_compiler_pic in
11212 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11215 lt_prog_compiler_pic=
11216 lt_prog_compiler_can_build_shared=no
11232 # Check to make sure the static flag actually works.
11234 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11236 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11237 if ${lt_cv_prog_compiler_static_works+:} false; then :
11238 $as_echo_n "(cached) " >&6
11240 lt_cv_prog_compiler_static_works=no
11241 save_LDFLAGS="$LDFLAGS"
11242 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11243 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11244 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11245 # The linker can only warn and ignore the option if not recognized
11246 # So say no if there are warnings
11247 if test -s conftest.err; then
11248 # Append any errors to the config.log.
11249 cat conftest.err 1>&5
11250 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11251 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11252 if diff conftest.exp conftest.er2 >/dev/null; then
11253 lt_cv_prog_compiler_static_works=yes
11256 lt_cv_prog_compiler_static_works=yes
11260 LDFLAGS="$save_LDFLAGS"
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11264 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11266 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11269 lt_prog_compiler_static=
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11279 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11280 if ${lt_cv_prog_compiler_c_o+:} false; then :
11281 $as_echo_n "(cached) " >&6
11283 lt_cv_prog_compiler_c_o=no
11284 $RM -r conftest 2>/dev/null
11288 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11290 lt_compiler_flag="-o out/conftest2.$ac_objext"
11291 # Insert the option either (1) after the last *FLAGS variable, or
11292 # (2) before a word containing "conftest.", or (3) at the end.
11293 # Note that $ac_compile itself does not contain backslashes and begins
11294 # with a dollar sign (not a hyphen), so the echo should work correctly.
11295 lt_compile=`echo "$ac_compile" | $SED \
11296 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11297 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11298 -e 's:$: $lt_compiler_flag:'`
11299 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11300 (eval "$lt_compile" 2>out/conftest.err)
11302 cat out/conftest.err >&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11306 # The compiler can only warn and ignore the option if not recognized
11307 # So say no if there are warnings
11308 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11309 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11310 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11311 lt_cv_prog_compiler_c_o=yes
11316 # SGI C++ compiler will create directory out/ii_files/ for
11317 # template instantiation
11318 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11319 $RM out/* && rmdir out
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11326 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11334 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11335 if ${lt_cv_prog_compiler_c_o+:} false; then :
11336 $as_echo_n "(cached) " >&6
11338 lt_cv_prog_compiler_c_o=no
11339 $RM -r conftest 2>/dev/null
11343 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11345 lt_compiler_flag="-o out/conftest2.$ac_objext"
11346 # Insert the option either (1) after the last *FLAGS variable, or
11347 # (2) before a word containing "conftest.", or (3) at the end.
11348 # Note that $ac_compile itself does not contain backslashes and begins
11349 # with a dollar sign (not a hyphen), so the echo should work correctly.
11350 lt_compile=`echo "$ac_compile" | $SED \
11351 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11352 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11353 -e 's:$: $lt_compiler_flag:'`
11354 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11355 (eval "$lt_compile" 2>out/conftest.err)
11357 cat out/conftest.err >&5
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11361 # The compiler can only warn and ignore the option if not recognized
11362 # So say no if there are warnings
11363 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11364 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11365 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11366 lt_cv_prog_compiler_c_o=yes
11371 # SGI C++ compiler will create directory out/ii_files/ for
11372 # template instantiation
11373 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11374 $RM out/* && rmdir out
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11381 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11386 hard_links="nottested"
11387 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11388 # do not overwrite the value of need_locks provided by the user
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11390 $as_echo_n "checking if we can lock with hard links... " >&6; }
11393 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11395 ln conftest.a conftest.b 2>&5 || hard_links=no
11396 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11398 $as_echo "$hard_links" >&6; }
11399 if test "$hard_links" = no; then
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11401 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11414 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11417 allow_undefined_flag=
11418 always_export_symbols=no
11420 archive_expsym_cmds=
11421 compiler_needs_object=no
11422 enable_shared_with_static_runtimes=no
11423 export_dynamic_flag_spec=
11424 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11425 hardcode_automatic=no
11427 hardcode_direct_absolute=no
11428 hardcode_libdir_flag_spec=
11429 hardcode_libdir_flag_spec_ld=
11430 hardcode_libdir_separator=
11431 hardcode_minus_L=no
11432 hardcode_shlibpath_var=unsupported
11434 link_all_deplibs=unknown
11436 module_expsym_cmds=
11437 old_archive_from_new_cmds=
11438 old_archive_from_expsyms_cmds=
11439 thread_safe_flag_spec=
11440 whole_archive_flag_spec=
11441 # include_expsyms should be a list of space-separated symbols to be *always*
11442 # included in the symbol list
11444 # exclude_expsyms can be an extended regexp of symbols to exclude
11445 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11446 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11447 # as well as any symbol that contains `d'.
11448 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11449 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11450 # platforms (ab)use it in PIC code, but their linkers get confused if
11451 # the symbol is explicitly referenced. Since portable code cannot
11452 # rely on this symbol name, it's probably fine to never include it in
11453 # preloaded symbol tables.
11454 # Exclude shared library initialization/finalization symbols.
11455 extract_expsyms_cmds=
11458 cygwin* | mingw* | pw32* | cegcc*)
11459 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11460 # When not using gcc, we currently assume that we are using
11461 # Microsoft Visual C++.
11462 if test "$GCC" != yes; then
11467 # we just hope/assume this is gcc and not c89 (= MSVC++)
11477 # On some targets, GNU ld is compatible enough with the native linker
11478 # that we're better off using the native interface for both.
11479 lt_use_gnu_ld_interface=no
11480 if test "$with_gnu_ld" = yes; then
11483 # The AIX port of GNU ld has always aspired to compatibility
11484 # with the native linker. However, as the warning in the GNU ld
11485 # block says, versions before 2.19.5* couldn't really create working
11486 # shared libraries, regardless of the interface used.
11487 case `$LD -v 2>&1` in
11488 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11489 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11490 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11492 lt_use_gnu_ld_interface=yes
11497 lt_use_gnu_ld_interface=yes
11502 if test "$lt_use_gnu_ld_interface" = yes; then
11503 # If archive_cmds runs LD, not CC, wlarc should be empty
11506 # Set some defaults for GNU ld with shared library support. These
11507 # are reset later if shared libraries are not supported. Putting them
11508 # here allows them to be overridden if necessary.
11509 runpath_var=LD_RUN_PATH
11510 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11511 export_dynamic_flag_spec='${wl}--export-dynamic'
11512 # ancient GNU ld didn't support --whole-archive et. al.
11513 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11514 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11516 whole_archive_flag_spec=
11518 supports_anon_versioning=no
11519 case `$LD -v 2>&1` in
11520 *GNU\ gold*) supports_anon_versioning=yes ;;
11521 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11522 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11523 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11524 *\ 2.11.*) ;; # other 2.11 versions
11525 *) supports_anon_versioning=yes ;;
11528 # See if GNU ld supports shared libraries.
11531 # On AIX/PPC, the GNU linker is very broken
11532 if test "$host_cpu" != ia64; then
11536 *** Warning: the GNU linker, at least up to release 2.19, is reported
11537 *** to be unable to reliably create shared libraries on AIX.
11538 *** Therefore, libtool is disabling shared libraries support. If you
11539 *** really care for shared libraries, you may want to install binutils
11540 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11541 *** You will then need to restart the configuration process.
11550 # see comment about AmigaOS4 .so support
11551 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11552 archive_expsym_cmds=''
11555 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)'
11556 hardcode_libdir_flag_spec='-L$libdir'
11557 hardcode_minus_L=yes
11563 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11564 allow_undefined_flag=unsupported
11565 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11566 # support --undefined. This deserves some investigation. FIXME
11567 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11573 cygwin* | mingw* | pw32* | cegcc*)
11574 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11575 # as there is no search path for DLLs.
11576 hardcode_libdir_flag_spec='-L$libdir'
11577 export_dynamic_flag_spec='${wl}--export-all-symbols'
11578 allow_undefined_flag=unsupported
11579 always_export_symbols=no
11580 enable_shared_with_static_runtimes=yes
11581 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
11582 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11584 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11585 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11586 # If the export-symbols file already is a .def file (1st line
11587 # is EXPORTS), use it as is; otherwise, prepend...
11588 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11589 cp $export_symbols $output_objdir/$soname.def;
11591 echo EXPORTS > $output_objdir/$soname.def;
11592 cat $export_symbols >> $output_objdir/$soname.def;
11594 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11601 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11602 link_all_deplibs=yes
11607 hardcode_shlibpath_var=no
11608 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11609 export_dynamic_flag_spec='${wl}-E'
11610 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11611 # Instead, shared libraries are loaded at an image base (0x10000000 by
11612 # default) and relocated if they conflict, which is a slow very memory
11613 # consuming and fragmenting process. To avoid this, we pick a random,
11614 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11615 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11616 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11617 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'
11620 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11622 if test "$host_os" = linux-dietlibc; then
11623 case $cc_basename in
11624 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11627 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11628 && test "$tmp_diet" = no
11630 tmp_addflag=' $pic_flag'
11631 tmp_sharedflag='-shared'
11632 case $cc_basename,$host_cpu in
11633 pgcc*) # Portland Group C compiler
11634 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11635 tmp_addflag=' $pic_flag'
11637 pgf77* | pgf90* | pgf95* | pgfortran*)
11638 # Portland Group f77 and f90 compilers
11639 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11640 tmp_addflag=' $pic_flag -Mnomain' ;;
11641 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11642 tmp_addflag=' -i_dynamic' ;;
11643 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11644 tmp_addflag=' -i_dynamic -nofor_main' ;;
11645 ifc* | ifort*) # Intel Fortran compiler
11646 tmp_addflag=' -nofor_main' ;;
11647 lf95*) # Lahey Fortran 8.1
11648 whole_archive_flag_spec=
11649 tmp_sharedflag='--shared' ;;
11650 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11651 tmp_sharedflag='-qmkshrobj'
11653 nvcc*) # Cuda Compiler Driver 2.2
11654 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11655 compiler_needs_object=yes
11658 case `$CC -V 2>&1 | sed 5q` in
11659 *Sun\ C*) # Sun C 5.9
11660 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11661 compiler_needs_object=yes
11662 tmp_sharedflag='-G' ;;
11663 *Sun\ F*) # Sun Fortran 8.3
11664 tmp_sharedflag='-G' ;;
11666 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11668 if test "x$supports_anon_versioning" = xyes; then
11669 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11670 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11671 echo "local: *; };" >> $output_objdir/$libname.ver~
11672 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11675 case $cc_basename in
11676 xlf* | bgf* | bgxlf* | mpixlf*)
11677 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11678 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11679 hardcode_libdir_flag_spec=
11680 hardcode_libdir_flag_spec_ld='-rpath $libdir'
11681 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11682 if test "x$supports_anon_versioning" = xyes; then
11683 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11684 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11685 echo "local: *; };" >> $output_objdir/$libname.ver~
11686 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11696 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11697 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11700 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11701 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11706 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11710 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11711 *** create shared libraries on Solaris systems. Therefore, libtool
11712 *** is disabling shared libraries support. We urge you to upgrade GNU
11713 *** binutils to release 2.9.1 or newer. Another option is to modify
11714 *** your PATH or compiler configuration so that the native linker is
11715 *** used, and then restart.
11718 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11719 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11720 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11726 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11727 case `$LD -v 2>&1` in
11728 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11732 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11733 *** reliably create shared libraries on SCO systems. Therefore, libtool
11734 *** is disabling shared libraries support. We urge you to upgrade GNU
11735 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11736 *** your PATH or compiler configuration so that the native linker is
11737 *** used, and then restart.
11742 # For security reasons, it is highly recommended that you always
11743 # use absolute paths for naming shared libraries, and exclude the
11744 # DT_RUNPATH tag from executables and libraries. But doing so
11745 # requires that you compile everything twice, which is a pain.
11746 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11747 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11748 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11749 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11758 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11760 hardcode_direct=yes
11761 hardcode_shlibpath_var=no
11765 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11766 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11767 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11774 if test "$ld_shlibs" = no; then
11776 hardcode_libdir_flag_spec=
11777 export_dynamic_flag_spec=
11778 whole_archive_flag_spec=
11781 # PORTME fill in a description of your system's linker (not GNU ld)
11784 allow_undefined_flag=unsupported
11785 always_export_symbols=yes
11786 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'
11787 # Note: this linker hardcodes the directories in LIBPATH if there
11788 # are no directories specified by -L.
11789 hardcode_minus_L=yes
11790 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11791 # Neither direct hardcoding nor static linking is supported with a
11793 hardcode_direct=unsupported
11798 if test "$host_cpu" = ia64; then
11799 # On IA64, the linker does run time linking by default, so we don't
11800 # have to do anything special.
11801 aix_use_runtimelinking=no
11802 exp_sym_flag='-Bexport'
11805 # If we're using GNU nm, then we don't want the "-C" option.
11806 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11807 # Also, AIX nm treats weak defined symbols like other global
11808 # defined symbols, whereas GNU nm marks them as "W".
11809 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11810 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11812 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'
11814 aix_use_runtimelinking=no
11816 # Test if we are trying to use run time linking or normal
11817 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11818 # need to do runtime linking.
11819 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11820 for ld_flag in $LDFLAGS; do
11821 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11822 aix_use_runtimelinking=yes
11829 exp_sym_flag='-bexport'
11830 no_entry_flag='-bnoentry'
11833 # When large executables or shared objects are built, AIX ld can
11834 # have problems creating the table of contents. If linking a library
11835 # or program results in "error TOC overflow" add -mminimal-toc to
11836 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11837 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11840 hardcode_direct=yes
11841 hardcode_direct_absolute=yes
11842 hardcode_libdir_separator=':'
11843 link_all_deplibs=yes
11844 file_list_spec='${wl}-f,'
11846 if test "$GCC" = yes; then
11847 case $host_os in aix4.[012]|aix4.[012].*)
11848 # We only want to do this on AIX 4.2 and lower, the check
11849 # below for broken collect2 doesn't work under 4.3+
11850 collect2name=`${CC} -print-prog-name=collect2`
11851 if test -f "$collect2name" &&
11852 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11854 # We have reworked collect2
11857 # We have old collect2
11858 hardcode_direct=unsupported
11859 # It fails to find uninstalled libraries when the uninstalled
11860 # path is not listed in the libpath. Setting hardcode_minus_L
11861 # to unsupported forces relinking
11862 hardcode_minus_L=yes
11863 hardcode_libdir_flag_spec='-L$libdir'
11864 hardcode_libdir_separator=
11868 shared_flag='-shared'
11869 if test "$aix_use_runtimelinking" = yes; then
11870 shared_flag="$shared_flag "'${wl}-G'
11874 if test "$host_cpu" = ia64; then
11875 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11876 # chokes on -Wl,-G. The following line is correct:
11879 if test "$aix_use_runtimelinking" = yes; then
11880 shared_flag='${wl}-G'
11882 shared_flag='${wl}-bM:SRE'
11887 export_dynamic_flag_spec='${wl}-bexpall'
11888 # It seems that -bexpall does not export symbols beginning with
11889 # underscore (_), so it is better to generate a list of symbols to export.
11890 always_export_symbols=yes
11891 if test "$aix_use_runtimelinking" = yes; then
11892 # Warning - without using the other runtime loading flags (-brtl),
11893 # -berok will link without error, but may produce a broken library.
11894 allow_undefined_flag='-berok'
11895 # Determine the default libpath from the value encoded in an
11896 # empty executable.
11897 if test "${lt_cv_aix_libpath+set}" = set; then
11898 aix_libpath=$lt_cv_aix_libpath
11900 if ${lt_cv_aix_libpath_+:} false; then :
11901 $as_echo_n "(cached) " >&6
11903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h. */
11914 if ac_fn_c_try_link "$LINENO"; then :
11916 lt_aix_libpath_sed='
11917 /Import File Strings/,/^$/ {
11919 s/^0 *\([^ ]*\) *$/\1/
11923 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11924 # Check for a 64-bit object if we didn't find anything.
11925 if test -z "$lt_cv_aix_libpath_"; then
11926 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11929 rm -f core conftest.err conftest.$ac_objext \
11930 conftest$ac_exeext conftest.$ac_ext
11931 if test -z "$lt_cv_aix_libpath_"; then
11932 lt_cv_aix_libpath_="/usr/lib:/lib"
11937 aix_libpath=$lt_cv_aix_libpath_
11940 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11941 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11943 if test "$host_cpu" = ia64; then
11944 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11945 allow_undefined_flag="-z nodefs"
11946 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"
11948 # Determine the default libpath from the value encoded in an
11949 # empty executable.
11950 if test "${lt_cv_aix_libpath+set}" = set; then
11951 aix_libpath=$lt_cv_aix_libpath
11953 if ${lt_cv_aix_libpath_+:} false; then :
11954 $as_echo_n "(cached) " >&6
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11967 if ac_fn_c_try_link "$LINENO"; then :
11969 lt_aix_libpath_sed='
11970 /Import File Strings/,/^$/ {
11972 s/^0 *\([^ ]*\) *$/\1/
11976 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11977 # Check for a 64-bit object if we didn't find anything.
11978 if test -z "$lt_cv_aix_libpath_"; then
11979 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11982 rm -f core conftest.err conftest.$ac_objext \
11983 conftest$ac_exeext conftest.$ac_ext
11984 if test -z "$lt_cv_aix_libpath_"; then
11985 lt_cv_aix_libpath_="/usr/lib:/lib"
11990 aix_libpath=$lt_cv_aix_libpath_
11993 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11994 # Warning - without using the other run time loading flags,
11995 # -berok will link without error, but may produce a broken library.
11996 no_undefined_flag=' ${wl}-bernotok'
11997 allow_undefined_flag=' ${wl}-berok'
11998 if test "$with_gnu_ld" = yes; then
11999 # We only use this code for GNU lds that support --whole-archive.
12000 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12002 # Exported symbols can be pulled into shared objects from archives
12003 whole_archive_flag_spec='$convenience'
12005 archive_cmds_need_lc=yes
12006 # This is similar to how AIX traditionally builds its shared libraries.
12007 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'
12015 # see comment about AmigaOS4 .so support
12016 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12017 archive_expsym_cmds=''
12020 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)'
12021 hardcode_libdir_flag_spec='-L$libdir'
12022 hardcode_minus_L=yes
12028 export_dynamic_flag_spec=-rdynamic
12031 cygwin* | mingw* | pw32* | cegcc*)
12032 # When not using gcc, we currently assume that we are using
12033 # Microsoft Visual C++.
12034 # hardcode_libdir_flag_spec is actually meaningless, as there is
12035 # no search path for DLLs.
12036 case $cc_basename in
12039 hardcode_libdir_flag_spec=' '
12040 allow_undefined_flag=unsupported
12041 always_export_symbols=yes
12043 # Tell ltmain to make .lib files, not .a files.
12045 # Tell ltmain to make .dll files, not .so files.
12047 # FIXME: Setting linknames here is a bad hack.
12048 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12049 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12050 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12052 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12054 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12056 # The linker will not automatically build a static lib if we build a DLL.
12057 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12058 enable_shared_with_static_runtimes=yes
12059 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12061 old_postinstall_cmds='chmod 644 $oldlib'
12062 postlink_cmds='lt_outputfile="@OUTPUT@"~
12063 lt_tool_outputfile="@TOOL_OUTPUT@"~
12064 case $lt_outputfile in
12067 lt_outputfile="$lt_outputfile.exe"
12068 lt_tool_outputfile="$lt_tool_outputfile.exe"
12071 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12072 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12073 $RM "$lt_outputfile.manifest";
12077 # Assume MSVC wrapper
12078 hardcode_libdir_flag_spec=' '
12079 allow_undefined_flag=unsupported
12080 # Tell ltmain to make .lib files, not .a files.
12082 # Tell ltmain to make .dll files, not .so files.
12084 # FIXME: Setting linknames here is a bad hack.
12085 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12086 # The linker will automatically build a .lib file if we build a DLL.
12087 old_archive_from_new_cmds='true'
12088 # FIXME: Should let the user specify the lib program.
12089 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12090 enable_shared_with_static_runtimes=yes
12095 darwin* | rhapsody*)
12098 archive_cmds_need_lc=no
12100 hardcode_automatic=yes
12101 hardcode_shlibpath_var=unsupported
12102 if test "$lt_cv_ld_force_load" = "yes"; then
12103 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12105 whole_archive_flag_spec=''
12107 link_all_deplibs=yes
12108 allow_undefined_flag="$_lt_dar_allow_undefined"
12109 case $cc_basename in
12110 ifort*) _lt_dar_can_shared=yes ;;
12111 *) _lt_dar_can_shared=$GCC ;;
12113 if test "$_lt_dar_can_shared" = "yes"; then
12114 output_verbose_link_cmd=func_echo_all
12115 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12116 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12117 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}"
12118 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}"
12127 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12128 hardcode_libdir_flag_spec='-L$libdir'
12129 hardcode_shlibpath_var=no
12136 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12137 # support. Future versions do this automatically, but an explicit c++rt0.o
12138 # does not break anything, and helps significantly (at the cost of a little
12141 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12142 hardcode_libdir_flag_spec='-R$libdir'
12143 hardcode_direct=yes
12144 hardcode_shlibpath_var=no
12147 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12149 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12150 hardcode_direct=yes
12151 hardcode_minus_L=yes
12152 hardcode_shlibpath_var=no
12155 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12156 freebsd* | dragonfly*)
12157 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12158 hardcode_libdir_flag_spec='-R$libdir'
12159 hardcode_direct=yes
12160 hardcode_shlibpath_var=no
12164 if test "$GCC" = yes; then
12165 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12167 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'
12169 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12170 hardcode_libdir_separator=:
12171 hardcode_direct=yes
12173 # hardcode_minus_L: Not really in the search PATH,
12174 # but as the default location of the library.
12175 hardcode_minus_L=yes
12176 export_dynamic_flag_spec='${wl}-E'
12180 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12181 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12183 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12185 if test "$with_gnu_ld" = no; then
12186 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12187 hardcode_libdir_flag_spec_ld='+b $libdir'
12188 hardcode_libdir_separator=:
12189 hardcode_direct=yes
12190 hardcode_direct_absolute=yes
12191 export_dynamic_flag_spec='${wl}-E'
12192 # hardcode_minus_L: Not really in the search PATH,
12193 # but as the default location of the library.
12194 hardcode_minus_L=yes
12199 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12202 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12205 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12208 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12214 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12217 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12221 # Older versions of the 11.00 compiler do not understand -b yet
12222 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12224 $as_echo_n "checking if $CC understands -b... " >&6; }
12225 if ${lt_cv_prog_compiler__b+:} false; then :
12226 $as_echo_n "(cached) " >&6
12228 lt_cv_prog_compiler__b=no
12229 save_LDFLAGS="$LDFLAGS"
12230 LDFLAGS="$LDFLAGS -b"
12231 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12232 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12233 # The linker can only warn and ignore the option if not recognized
12234 # So say no if there are warnings
12235 if test -s conftest.err; then
12236 # Append any errors to the config.log.
12237 cat conftest.err 1>&5
12238 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12239 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12240 if diff conftest.exp conftest.er2 >/dev/null; then
12241 lt_cv_prog_compiler__b=yes
12244 lt_cv_prog_compiler__b=yes
12248 LDFLAGS="$save_LDFLAGS"
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12252 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12254 if test x"$lt_cv_prog_compiler__b" = xyes; then
12255 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12257 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12263 if test "$with_gnu_ld" = no; then
12264 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12265 hardcode_libdir_separator=:
12270 hardcode_shlibpath_var=no
12273 hardcode_direct=yes
12274 hardcode_direct_absolute=yes
12275 export_dynamic_flag_spec='${wl}-E'
12277 # hardcode_minus_L: Not really in the search PATH,
12278 # but as the default location of the library.
12279 hardcode_minus_L=yes
12285 irix5* | irix6* | nonstopux*)
12286 if test "$GCC" = yes; then
12287 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12288 # Try to use the -exported_symbol ld option, if it does not
12289 # work, assume that -exports_file does not work either and
12290 # implicitly export all symbols.
12291 # This should be the same for all languages, so no per-tag cache variable.
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12293 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12294 if ${lt_cv_irix_exported_symbol+:} false; then :
12295 $as_echo_n "(cached) " >&6
12297 save_LDFLAGS="$LDFLAGS"
12298 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12301 int foo (void) { return 0; }
12303 if ac_fn_c_try_link "$LINENO"; then :
12304 lt_cv_irix_exported_symbol=yes
12306 lt_cv_irix_exported_symbol=no
12308 rm -f core conftest.err conftest.$ac_objext \
12309 conftest$ac_exeext conftest.$ac_ext
12310 LDFLAGS="$save_LDFLAGS"
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12313 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12314 if test "$lt_cv_irix_exported_symbol" = yes; then
12315 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12319 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12321 archive_cmds_need_lc='no'
12322 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12323 hardcode_libdir_separator=:
12325 link_all_deplibs=yes
12329 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12330 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12332 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12334 hardcode_libdir_flag_spec='-R$libdir'
12335 hardcode_direct=yes
12336 hardcode_shlibpath_var=no
12340 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12341 hardcode_direct=yes
12342 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12343 hardcode_libdir_separator=:
12344 hardcode_shlibpath_var=no
12351 if test -f /usr/libexec/ld.so; then
12352 hardcode_direct=yes
12353 hardcode_shlibpath_var=no
12354 hardcode_direct_absolute=yes
12355 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12356 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12357 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12358 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12359 export_dynamic_flag_spec='${wl}-E'
12362 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12363 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12364 hardcode_libdir_flag_spec='-R$libdir'
12367 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12368 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12378 hardcode_libdir_flag_spec='-L$libdir'
12379 hardcode_minus_L=yes
12380 allow_undefined_flag=unsupported
12381 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'
12382 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12386 if test "$GCC" = yes; then
12387 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12388 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12390 allow_undefined_flag=' -expect_unresolved \*'
12391 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12393 archive_cmds_need_lc='no'
12394 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12395 hardcode_libdir_separator=:
12398 osf4* | osf5*) # as osf3* with the addition of -msym flag
12399 if test "$GCC" = yes; then
12400 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12401 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12402 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12404 allow_undefined_flag=' -expect_unresolved \*'
12405 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12406 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~
12407 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
12409 # Both c and cxx compiler support -rpath directly
12410 hardcode_libdir_flag_spec='-rpath $libdir'
12412 archive_cmds_need_lc='no'
12413 hardcode_libdir_separator=:
12417 no_undefined_flag=' -z defs'
12418 if test "$GCC" = yes; then
12420 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12421 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12422 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12424 case `$CC -V 2>&1` in
12427 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12428 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12429 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12433 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12434 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12435 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12439 hardcode_libdir_flag_spec='-R$libdir'
12440 hardcode_shlibpath_var=no
12442 solaris2.[0-5] | solaris2.[0-5].*) ;;
12444 # The compiler driver will combine and reorder linker options,
12445 # but understands `-z linker_flag'. GCC discards it without `$wl',
12446 # but is careful enough not to reorder.
12447 # Supported since Solaris 2.6 (maybe 2.5.1?)
12448 if test "$GCC" = yes; then
12449 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12451 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12455 link_all_deplibs=yes
12459 if test "x$host_vendor" = xsequent; then
12460 # Use $CC to link under sequent, because it throws in some extra .o
12461 # files that make .init and .fini sections work.
12462 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12464 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12466 hardcode_libdir_flag_spec='-L$libdir'
12467 hardcode_direct=yes
12468 hardcode_minus_L=yes
12469 hardcode_shlibpath_var=no
12473 case $host_vendor in
12475 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12476 hardcode_direct=yes # is this really true???
12479 ## LD is ld it makes a PLAMLIB
12480 ## CC just makes a GrossModule.
12481 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12482 reload_cmds='$CC -r -o $output$reload_objs'
12486 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12487 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12490 runpath_var='LD_RUN_PATH'
12491 hardcode_shlibpath_var=no
12495 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12496 hardcode_shlibpath_var=no
12497 export_dynamic_flag_spec='-Bexport'
12501 if test -d /usr/nec; then
12502 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12503 hardcode_shlibpath_var=no
12504 runpath_var=LD_RUN_PATH
12505 hardcode_runpath_var=yes
12510 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12511 no_undefined_flag='${wl}-z,text'
12512 archive_cmds_need_lc=no
12513 hardcode_shlibpath_var=no
12514 runpath_var='LD_RUN_PATH'
12516 if test "$GCC" = yes; then
12517 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12518 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12520 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12521 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12525 sysv5* | sco3.2v5* | sco5v6*)
12526 # Note: We can NOT use -z defs as we might desire, because we do not
12527 # link with -lc, and that would cause any symbols used from libc to
12528 # always be unresolved, which means just about no library would
12529 # ever link correctly. If we're not using GNU ld we use -z text
12530 # though, which does catch some bad symbols but isn't as heavy-handed
12532 no_undefined_flag='${wl}-z,text'
12533 allow_undefined_flag='${wl}-z,nodefs'
12534 archive_cmds_need_lc=no
12535 hardcode_shlibpath_var=no
12536 hardcode_libdir_flag_spec='${wl}-R,$libdir'
12537 hardcode_libdir_separator=':'
12538 link_all_deplibs=yes
12539 export_dynamic_flag_spec='${wl}-Bexport'
12540 runpath_var='LD_RUN_PATH'
12542 if test "$GCC" = yes; then
12543 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12544 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12546 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12547 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12552 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12553 hardcode_libdir_flag_spec='-L$libdir'
12554 hardcode_shlibpath_var=no
12562 if test x$host_vendor = xsni; then
12564 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12565 export_dynamic_flag_spec='${wl}-Blargedynsym'
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12572 $as_echo "$ld_shlibs" >&6; }
12573 test "$ld_shlibs" = no && can_build_shared=no
12575 with_gnu_ld=$with_gnu_ld
12592 # Do we need to explicitly link libc?
12594 case "x$archive_cmds_need_lc" in
12596 # Assume -lc should be added
12597 archive_cmds_need_lc=yes
12599 if test "$enable_shared" = yes && test "$GCC" = yes; then
12600 case $archive_cmds in
12602 # FIXME: we may have to deal with multi-command sequences.
12605 # Test whether the compiler implicitly links with -lc since on some
12606 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12607 # to ld, don't add -lc before -lgcc.
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12609 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12610 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12611 $as_echo_n "(cached) " >&6
12614 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12617 (eval $ac_compile) 2>&5
12619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12620 test $ac_status = 0; } 2>conftest.err; then
12623 libobjs=conftest.$ac_objext
12625 wl=$lt_prog_compiler_wl
12626 pic_flag=$lt_prog_compiler_pic
12632 lt_save_allow_undefined_flag=$allow_undefined_flag
12633 allow_undefined_flag=
12634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12635 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12638 test $ac_status = 0; }
12640 lt_cv_archive_cmds_need_lc=no
12642 lt_cv_archive_cmds_need_lc=yes
12644 allow_undefined_flag=$lt_save_allow_undefined_flag
12646 cat conftest.err 1>&5
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12652 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12653 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12817 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12819 if test "$GCC" = yes; then
12821 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12822 *) lt_awk_arg="/^libraries:/" ;;
12825 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12826 *) lt_sed_strip_eq="s,=/,/,g" ;;
12828 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12829 case $lt_search_path_spec in
12831 # if the path contains ";" then we assume it to be the separator
12832 # otherwise default to the standard path separator (i.e. ":") - it is
12833 # assumed that no part of a normal pathname contains ";" but that should
12834 # okay in the real world where ";" in dirpaths is itself problematic.
12835 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12838 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12841 # Ok, now we have the path, separated by spaces, we can step through it
12842 # and add multilib dir if necessary.
12843 lt_tmp_lt_search_path_spec=
12844 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12845 for lt_sys_path in $lt_search_path_spec; do
12846 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12847 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12849 test -d "$lt_sys_path" && \
12850 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12853 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12854 BEGIN {RS=" "; FS="/|\n";} {
12857 for (lt_i = NF; lt_i > 0; lt_i--) {
12858 if ($lt_i != "" && $lt_i != ".") {
12859 if ($lt_i == "..") {
12862 if (lt_count == 0) {
12863 lt_foo="/" $lt_i lt_foo;
12870 if (lt_foo != "") { lt_freq[lt_foo]++; }
12871 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12873 # AWK program above erroneously prepends '/' to C:/dos/paths
12876 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12877 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12879 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12881 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12883 library_names_spec=
12884 libname_spec='lib$name'
12888 postuninstall_cmds=
12892 shlibpath_overrides_runpath=unknown
12894 dynamic_linker="$host_os ld.so"
12895 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12896 need_lib_prefix=unknown
12897 hardcode_into_libs=no
12899 # when you set need_version to no, make sure it does not cause -set_version
12900 # flags to be left without arguments
12901 need_version=unknown
12906 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12907 shlibpath_var=LIBPATH
12909 # AIX 3 has no versioning support, so we append a major version to the name.
12910 soname_spec='${libname}${release}${shared_ext}$major'
12917 hardcode_into_libs=yes
12918 if test "$host_cpu" = ia64; then
12919 # AIX 5 supports IA64
12920 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12921 shlibpath_var=LD_LIBRARY_PATH
12923 # With GCC up to 2.95.x, collect2 would create an import file
12924 # for dependence libraries. The import file would start with
12925 # the line `#! .'. This would cause the generated library to
12926 # depend on `.', always an invalid library. This was fixed in
12927 # development snapshots of GCC prior to 3.0.
12929 aix4 | aix4.[01] | aix4.[01].*)
12930 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12932 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12935 can_build_shared=no
12939 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12940 # soname into executable. Probably we can add versioning support to
12941 # collect2, so additional links can be useful in future.
12942 if test "$aix_use_runtimelinking" = yes; then
12943 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12944 # instead of lib<name>.a to let people know that these are not
12945 # typical AIX shared libraries.
12946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12948 # We preserve .a as extension for shared libraries through AIX4.2
12949 # and later when we are not doing run time linking.
12950 library_names_spec='${libname}${release}.a $libname.a'
12951 soname_spec='${libname}${release}${shared_ext}$major'
12953 shlibpath_var=LIBPATH
12960 # Since July 2007 AmigaOS4 officially supports .so libraries.
12961 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12965 library_names_spec='$libname.ixlibrary $libname.a'
12966 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12967 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
12973 library_names_spec='${libname}${shared_ext}'
12974 dynamic_linker="$host_os ld.so"
12975 shlibpath_var=LIBRARY_PATH
12981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12982 soname_spec='${libname}${release}${shared_ext}$major'
12983 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12984 shlibpath_var=LD_LIBRARY_PATH
12985 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12986 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12987 # the default ld.so.conf also contains /usr/contrib/lib and
12988 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12989 # libtool to hard-code these into programs
12992 cygwin* | mingw* | pw32* | cegcc*)
12993 version_type=windows
12998 case $GCC,$cc_basename in
13001 library_names_spec='$libname.dll.a'
13002 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13003 postinstall_cmds='base_file=`basename \${file}`~
13004 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13005 dldir=$destdir/`dirname \$dlpath`~
13006 test -d \$dldir || mkdir -p \$dldir~
13007 $install_prog $dir/$dlname \$dldir/$dlname~
13008 chmod a+x \$dldir/$dlname~
13009 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13010 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13012 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13013 dlpath=$dir/\$dldll~
13015 shlibpath_overrides_runpath=yes
13019 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13020 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13022 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13025 # MinGW DLLs use traditional 'lib' prefix
13026 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13029 # pw32 DLLs use 'pw' prefix rather than 'lib'
13030 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13033 dynamic_linker='Win32 ld.exe'
13038 libname_spec='$name'
13039 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13040 library_names_spec='${libname}.dll.lib'
13044 sys_lib_search_path_spec=
13047 for lt_path in $LIB
13050 # Let DOS variable expansion print the short 8.3 style file name.
13051 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13052 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13055 # Convert to MSYS style.
13056 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13059 # Convert to unix form, then to dos form, then back to unix form
13060 # but this time dos style (no spaces!) so that the unix form looks
13061 # like /cygdrive/c/PROGRA~1:/cygdr...
13062 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13063 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13064 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13067 sys_lib_search_path_spec="$LIB"
13068 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13069 # It is most probably a Windows format PATH.
13070 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13072 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13074 # FIXME: find the short name or the path components, as spaces are
13075 # common. (e.g. "Program Files" -> "PROGRA~1")
13079 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13080 postinstall_cmds='base_file=`basename \${file}`~
13081 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13082 dldir=$destdir/`dirname \$dlpath`~
13083 test -d \$dldir || mkdir -p \$dldir~
13084 $install_prog $dir/$dlname \$dldir/$dlname'
13085 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13086 dlpath=$dir/\$dldll~
13088 shlibpath_overrides_runpath=yes
13089 dynamic_linker='Win32 link.exe'
13093 # Assume MSVC wrapper
13094 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13095 dynamic_linker='Win32 ld.exe'
13098 # FIXME: first we should search . and the directory the executable is in
13102 darwin* | rhapsody*)
13103 dynamic_linker="$host_os dyld"
13104 version_type=darwin
13107 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13108 soname_spec='${libname}${release}${major}$shared_ext'
13109 shlibpath_overrides_runpath=yes
13110 shlibpath_var=DYLD_LIBRARY_PATH
13111 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13113 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13114 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13122 soname_spec='${libname}${release}${shared_ext}$major'
13123 shlibpath_var=LD_LIBRARY_PATH
13130 freebsd* | dragonfly*)
13131 # DragonFly does not have aout. When/if they implement a new
13132 # versioning mechanism, adjust this.
13133 if test -x /usr/bin/objformat; then
13134 objformat=`/usr/bin/objformat`
13137 freebsd[123]*) objformat=aout ;;
13138 *) objformat=elf ;;
13141 version_type=freebsd-$objformat
13142 case $version_type in
13144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13149 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13153 shlibpath_var=LD_LIBRARY_PATH
13156 shlibpath_overrides_runpath=yes
13158 freebsd3.[01]* | freebsdelf3.[01]*)
13159 shlibpath_overrides_runpath=yes
13160 hardcode_into_libs=yes
13162 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13163 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13164 shlibpath_overrides_runpath=no
13165 hardcode_into_libs=yes
13167 *) # from 4.6 on, and DragonFly
13168 shlibpath_overrides_runpath=yes
13169 hardcode_into_libs=yes
13178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13179 soname_spec='${libname}${release}${shared_ext}$major'
13180 shlibpath_var=LD_LIBRARY_PATH
13181 hardcode_into_libs=yes
13188 dynamic_linker="$host_os runtime_loader"
13189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13190 soname_spec='${libname}${release}${shared_ext}$major'
13191 shlibpath_var=LIBRARY_PATH
13192 shlibpath_overrides_runpath=yes
13193 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13194 hardcode_into_libs=yes
13197 hpux9* | hpux10* | hpux11*)
13198 # Give a soname corresponding to the major version so that dld.sl refuses to
13199 # link against other versions.
13206 hardcode_into_libs=yes
13207 dynamic_linker="$host_os dld.so"
13208 shlibpath_var=LD_LIBRARY_PATH
13209 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13211 soname_spec='${libname}${release}${shared_ext}$major'
13212 if test "X$HPUX_IA64_MODE" = X32; then
13213 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13215 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13217 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13221 hardcode_into_libs=yes
13222 dynamic_linker="$host_os dld.sl"
13223 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13224 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13226 soname_spec='${libname}${release}${shared_ext}$major'
13227 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13228 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13232 dynamic_linker="$host_os dld.sl"
13233 shlibpath_var=SHLIB_PATH
13234 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236 soname_spec='${libname}${release}${shared_ext}$major'
13239 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13240 postinstall_cmds='chmod 555 $lib'
13241 # or fails outright, so override atomically:
13242 install_override_mode=555
13249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13250 soname_spec='${libname}${release}${shared_ext}$major'
13251 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13252 shlibpath_var=LD_LIBRARY_PATH
13253 shlibpath_overrides_runpath=no
13254 hardcode_into_libs=yes
13257 irix5* | irix6* | nonstopux*)
13259 nonstopux*) version_type=nonstopux ;;
13261 if test "$lt_cv_prog_gnu_ld" = yes; then
13269 soname_spec='${libname}${release}${shared_ext}$major'
13270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13272 irix5* | nonstopux*)
13273 libsuff= shlibsuff=
13276 case $LD in # libtool.m4 will add one of these switches to LD
13277 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13278 libsuff= shlibsuff= libmagic=32-bit;;
13279 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13280 libsuff=32 shlibsuff=N32 libmagic=N32;;
13281 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13282 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13283 *) libsuff= shlibsuff= libmagic=never-match;;
13287 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13288 shlibpath_overrides_runpath=no
13289 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13290 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13291 hardcode_into_libs=yes
13294 # No shared lib support for Linux oldld, aout, or coff.
13295 linux*oldld* | linux*aout* | linux*coff*)
13299 # This must be Linux ELF.
13300 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13305 soname_spec='${libname}${release}${shared_ext}$major'
13306 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13307 shlibpath_var=LD_LIBRARY_PATH
13308 shlibpath_overrides_runpath=no
13310 # Some binutils ld are patched to set DT_RUNPATH
13311 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13312 $as_echo_n "(cached) " >&6
13314 lt_cv_shlibpath_overrides_runpath=no
13315 save_LDFLAGS=$LDFLAGS
13316 save_libdir=$libdir
13317 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13318 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13320 /* end confdefs.h. */
13330 if ac_fn_c_try_link "$LINENO"; then :
13331 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13332 lt_cv_shlibpath_overrides_runpath=yes
13335 rm -f core conftest.err conftest.$ac_objext \
13336 conftest$ac_exeext conftest.$ac_ext
13337 LDFLAGS=$save_LDFLAGS
13338 libdir=$save_libdir
13342 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13344 # This implies no fast_install, which is unacceptable.
13345 # Some rework will be needed to allow for fast_install
13346 # before this can be enabled.
13347 hardcode_into_libs=yes
13349 # Add ABI-specific directories to the system library path.
13350 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
13352 # Append ld.so.conf contents to the search path
13353 if test -f /etc/ld.so.conf; then
13354 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;s/"//g;/^$/d' | tr '\n' ' '`
13355 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13359 # We used to test for /lib/ld.so.1 and disable shared libraries on
13360 # powerpc, because MkLinux only supported shared libraries with the
13361 # GNU dynamic linker. Since this was broken with cross compilers,
13362 # most powerpc-linux boxes support dynamic linking these days and
13363 # people can always --disable-shared, the test was removed, and we
13364 # assume the GNU/Linux dynamic linker is in use.
13365 dynamic_linker='GNU/Linux ld.so'
13372 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13374 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13375 dynamic_linker='NetBSD (a.out) ld.so'
13377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13378 soname_spec='${libname}${release}${shared_ext}$major'
13379 dynamic_linker='NetBSD ld.elf_so'
13381 shlibpath_var=LD_LIBRARY_PATH
13382 shlibpath_overrides_runpath=yes
13383 hardcode_into_libs=yes
13388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13389 shlibpath_var=LD_LIBRARY_PATH
13390 shlibpath_overrides_runpath=yes
13397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13398 soname_spec='${libname}${release}${shared_ext}$major'
13399 shlibpath_var=LD_LIBRARY_PATH
13400 shlibpath_overrides_runpath=no
13401 hardcode_into_libs=yes
13402 dynamic_linker='ldqnx.so'
13407 sys_lib_dlsearch_path_spec="/usr/lib"
13409 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13411 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13412 *) need_version=no ;;
13414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13415 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13416 shlibpath_var=LD_LIBRARY_PATH
13417 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13419 openbsd2.[89] | openbsd2.[89].*)
13420 shlibpath_overrides_runpath=no
13423 shlibpath_overrides_runpath=yes
13427 shlibpath_overrides_runpath=yes
13432 libname_spec='$name'
13435 library_names_spec='$libname${shared_ext} $libname.a'
13436 dynamic_linker='OS/2 ld.exe'
13437 shlibpath_var=LIBPATH
13440 osf3* | osf4* | osf5*)
13444 soname_spec='${libname}${release}${shared_ext}$major'
13445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13446 shlibpath_var=LD_LIBRARY_PATH
13447 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13448 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13460 soname_spec='${libname}${release}${shared_ext}$major'
13461 shlibpath_var=LD_LIBRARY_PATH
13462 shlibpath_overrides_runpath=yes
13463 hardcode_into_libs=yes
13464 # ldd complains unless libraries are executable
13465 postinstall_cmds='chmod +x $lib'
13470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13471 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13472 shlibpath_var=LD_LIBRARY_PATH
13473 shlibpath_overrides_runpath=yes
13474 if test "$with_gnu_ld" = yes; then
13482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13483 soname_spec='${libname}${release}${shared_ext}$major'
13484 shlibpath_var=LD_LIBRARY_PATH
13485 case $host_vendor in
13487 shlibpath_overrides_runpath=no
13489 runpath_var=LD_RUN_PATH
13497 shlibpath_overrides_runpath=no
13498 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13504 if test -d /usr/nec ;then
13506 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13507 soname_spec='$libname${shared_ext}.$major'
13508 shlibpath_var=LD_LIBRARY_PATH
13512 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13513 version_type=freebsd-elf
13516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13517 soname_spec='${libname}${release}${shared_ext}$major'
13518 shlibpath_var=LD_LIBRARY_PATH
13519 shlibpath_overrides_runpath=yes
13520 hardcode_into_libs=yes
13521 if test "$with_gnu_ld" = yes; then
13522 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13524 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13527 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13531 sys_lib_dlsearch_path_spec='/usr/lib'
13535 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13540 shlibpath_var=LD_LIBRARY_PATH
13541 shlibpath_overrides_runpath=no
13542 hardcode_into_libs=yes
13547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13548 soname_spec='${libname}${release}${shared_ext}$major'
13549 shlibpath_var=LD_LIBRARY_PATH
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13557 $as_echo "$dynamic_linker" >&6; }
13558 test "$dynamic_linker" = no && can_build_shared=no
13560 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13561 if test "$GCC" = yes; then
13562 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13565 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13566 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13568 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13569 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13664 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13666 if test -n "$hardcode_libdir_flag_spec" ||
13667 test -n "$runpath_var" ||
13668 test "X$hardcode_automatic" = "Xyes" ; then
13670 # We can hardcode non-existent directories.
13671 if test "$hardcode_direct" != no &&
13672 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13673 # have to relink, otherwise we might link with an installed library
13674 # when we should be linking with a yet-to-be-installed one
13675 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13676 test "$hardcode_minus_L" != no; then
13677 # Linking always hardcodes the temporary library directory.
13678 hardcode_action=relink
13680 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13681 hardcode_action=immediate
13684 # We cannot hardcode anything, or else we can only hardcode existing
13686 hardcode_action=unsupported
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13689 $as_echo "$hardcode_action" >&6; }
13691 if test "$hardcode_action" = relink ||
13692 test "$inherit_rpath" = yes; then
13693 # Fast installation is not supported
13694 enable_fast_install=no
13695 elif test "$shlibpath_overrides_runpath" = yes ||
13696 test "$enable_shared" = no; then
13697 # Fast installation is not necessary
13698 enable_fast_install=needless
13706 if test "x$enable_dlopen" != xyes; then
13707 enable_dlopen=unknown
13708 enable_dlopen_self=unknown
13709 enable_dlopen_self_static=unknown
13716 lt_cv_dlopen="load_add_on"
13718 lt_cv_dlopen_self=yes
13721 mingw* | pw32* | cegcc*)
13722 lt_cv_dlopen="LoadLibrary"
13727 lt_cv_dlopen="dlopen"
13732 # if libdl is installed we need to link against it
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13734 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13735 if ${ac_cv_lib_dl_dlopen+:} false; then :
13736 $as_echo_n "(cached) " >&6
13738 ac_check_lib_save_LIBS=$LIBS
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13743 /* Override any GCC internal prototype to avoid an error.
13744 Use char because int might match the return type of a GCC
13745 builtin and then its argument prototype would still apply. */
13758 if ac_fn_c_try_link "$LINENO"; then :
13759 ac_cv_lib_dl_dlopen=yes
13761 ac_cv_lib_dl_dlopen=no
13763 rm -f core conftest.err conftest.$ac_objext \
13764 conftest$ac_exeext conftest.$ac_ext
13765 LIBS=$ac_check_lib_save_LIBS
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13768 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13769 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13770 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13773 lt_cv_dlopen="dyld"
13775 lt_cv_dlopen_self=yes
13782 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13783 if test "x$ac_cv_func_shl_load" = xyes; then :
13784 lt_cv_dlopen="shl_load"
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13787 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13788 if ${ac_cv_lib_dld_shl_load+:} false; then :
13789 $as_echo_n "(cached) " >&6
13791 ac_check_lib_save_LIBS=$LIBS
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13796 /* Override any GCC internal prototype to avoid an error.
13797 Use char because int might match the return type of a GCC
13798 builtin and then its argument prototype would still apply. */
13806 return shl_load ();
13811 if ac_fn_c_try_link "$LINENO"; then :
13812 ac_cv_lib_dld_shl_load=yes
13814 ac_cv_lib_dld_shl_load=no
13816 rm -f core conftest.err conftest.$ac_objext \
13817 conftest$ac_exeext conftest.$ac_ext
13818 LIBS=$ac_check_lib_save_LIBS
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13821 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13822 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13823 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13825 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13826 if test "x$ac_cv_func_dlopen" = xyes; then :
13827 lt_cv_dlopen="dlopen"
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13830 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13831 if ${ac_cv_lib_dl_dlopen+:} false; then :
13832 $as_echo_n "(cached) " >&6
13834 ac_check_lib_save_LIBS=$LIBS
13836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13839 /* Override any GCC internal prototype to avoid an error.
13840 Use char because int might match the return type of a GCC
13841 builtin and then its argument prototype would still apply. */
13854 if ac_fn_c_try_link "$LINENO"; then :
13855 ac_cv_lib_dl_dlopen=yes
13857 ac_cv_lib_dl_dlopen=no
13859 rm -f core conftest.err conftest.$ac_objext \
13860 conftest$ac_exeext conftest.$ac_ext
13861 LIBS=$ac_check_lib_save_LIBS
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13864 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13865 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13866 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13869 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13870 if ${ac_cv_lib_svld_dlopen+:} false; then :
13871 $as_echo_n "(cached) " >&6
13873 ac_check_lib_save_LIBS=$LIBS
13874 LIBS="-lsvld $LIBS"
13875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13878 /* Override any GCC internal prototype to avoid an error.
13879 Use char because int might match the return type of a GCC
13880 builtin and then its argument prototype would still apply. */
13893 if ac_fn_c_try_link "$LINENO"; then :
13894 ac_cv_lib_svld_dlopen=yes
13896 ac_cv_lib_svld_dlopen=no
13898 rm -f core conftest.err conftest.$ac_objext \
13899 conftest$ac_exeext conftest.$ac_ext
13900 LIBS=$ac_check_lib_save_LIBS
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13903 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13904 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13905 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13908 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13909 if ${ac_cv_lib_dld_dld_link+:} false; then :
13910 $as_echo_n "(cached) " >&6
13912 ac_check_lib_save_LIBS=$LIBS
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13917 /* Override any GCC internal prototype to avoid an error.
13918 Use char because int might match the return type of a GCC
13919 builtin and then its argument prototype would still apply. */
13927 return dld_link ();
13932 if ac_fn_c_try_link "$LINENO"; then :
13933 ac_cv_lib_dld_dld_link=yes
13935 ac_cv_lib_dld_dld_link=no
13937 rm -f core conftest.err conftest.$ac_objext \
13938 conftest$ac_exeext conftest.$ac_ext
13939 LIBS=$ac_check_lib_save_LIBS
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13942 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13943 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13944 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13965 if test "x$lt_cv_dlopen" != xno; then
13971 case $lt_cv_dlopen in
13973 save_CPPFLAGS="$CPPFLAGS"
13974 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13976 save_LDFLAGS="$LDFLAGS"
13977 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13980 LIBS="$lt_cv_dlopen_libs $LIBS"
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13983 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13984 if ${lt_cv_dlopen_self+:} false; then :
13985 $as_echo_n "(cached) " >&6
13987 if test "$cross_compiling" = yes; then :
13988 lt_cv_dlopen_self=cross
13990 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13991 lt_status=$lt_dlunknown
13992 cat > conftest.$ac_ext <<_LT_EOF
13993 #line $LINENO "configure"
13994 #include "confdefs.h"
14003 # define LT_DLGLOBAL RTLD_GLOBAL
14006 # define LT_DLGLOBAL DL_GLOBAL
14008 # define LT_DLGLOBAL 0
14012 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14013 find out it does not work in some platform. */
14014 #ifndef LT_DLLAZY_OR_NOW
14016 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14019 # define LT_DLLAZY_OR_NOW DL_LAZY
14022 # define LT_DLLAZY_OR_NOW RTLD_NOW
14025 # define LT_DLLAZY_OR_NOW DL_NOW
14027 # define LT_DLLAZY_OR_NOW 0
14034 /* When -fvisbility=hidden is used, assume the code has been annotated
14035 correspondingly for the symbols needed. */
14036 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14037 int fnord () __attribute__((visibility("default")));
14040 int fnord () { return 42; }
14043 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14044 int status = $lt_dlunknown;
14048 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14051 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14052 else puts (dlerror ());
14054 /* dlclose (self); */
14062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14063 (eval $ac_link) 2>&5
14065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14067 (./conftest; exit; ) >&5 2>/dev/null
14069 case x$lt_status in
14070 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14071 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14072 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14075 # compilation failed
14076 lt_cv_dlopen_self=no
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14084 $as_echo "$lt_cv_dlopen_self" >&6; }
14086 if test "x$lt_cv_dlopen_self" = xyes; then
14087 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14089 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14090 if ${lt_cv_dlopen_self_static+:} false; then :
14091 $as_echo_n "(cached) " >&6
14093 if test "$cross_compiling" = yes; then :
14094 lt_cv_dlopen_self_static=cross
14096 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14097 lt_status=$lt_dlunknown
14098 cat > conftest.$ac_ext <<_LT_EOF
14099 #line $LINENO "configure"
14100 #include "confdefs.h"
14109 # define LT_DLGLOBAL RTLD_GLOBAL
14112 # define LT_DLGLOBAL DL_GLOBAL
14114 # define LT_DLGLOBAL 0
14118 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14119 find out it does not work in some platform. */
14120 #ifndef LT_DLLAZY_OR_NOW
14122 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14125 # define LT_DLLAZY_OR_NOW DL_LAZY
14128 # define LT_DLLAZY_OR_NOW RTLD_NOW
14131 # define LT_DLLAZY_OR_NOW DL_NOW
14133 # define LT_DLLAZY_OR_NOW 0
14140 /* When -fvisbility=hidden is used, assume the code has been annotated
14141 correspondingly for the symbols needed. */
14142 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14143 int fnord () __attribute__((visibility("default")));
14146 int fnord () { return 42; }
14149 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14150 int status = $lt_dlunknown;
14154 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14157 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14158 else puts (dlerror ());
14160 /* dlclose (self); */
14168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14169 (eval $ac_link) 2>&5
14171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14172 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14173 (./conftest; exit; ) >&5 2>/dev/null
14175 case x$lt_status in
14176 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14177 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14178 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14181 # compilation failed
14182 lt_cv_dlopen_self_static=no
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14190 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14193 CPPFLAGS="$save_CPPFLAGS"
14194 LDFLAGS="$save_LDFLAGS"
14199 case $lt_cv_dlopen_self in
14200 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14201 *) enable_dlopen_self=unknown ;;
14204 case $lt_cv_dlopen_self_static in
14205 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14206 *) enable_dlopen_self_static=unknown ;;
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14229 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14230 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14231 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14232 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14234 $as_echo "yes" >&6; }
14236 # FIXME - insert some real tests, host_os isn't really good enough
14239 if test -n "$STRIP" ; then
14240 striplib="$STRIP -x"
14241 old_striplib="$STRIP -S"
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14243 $as_echo "yes" >&6; }
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14246 $as_echo "no" >&6; }
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14251 $as_echo "no" >&6; }
14267 # Report which library types will actually be built
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14269 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14271 $as_echo "$can_build_shared" >&6; }
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14274 $as_echo_n "checking whether to build shared libraries... " >&6; }
14275 test "$can_build_shared" = "no" && enable_shared=no
14277 # On AIX, shared libraries and static libraries use the same namespace, and
14278 # are all built from PIC.
14281 test "$enable_shared" = yes && enable_static=no
14282 if test -n "$RANLIB"; then
14283 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14284 postinstall_cmds='$RANLIB $lib'
14289 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14290 test "$enable_shared" = yes && enable_static=no
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14295 $as_echo "$enable_shared" >&6; }
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14298 $as_echo_n "checking whether to build static libraries... " >&6; }
14299 # Make sure either enable_shared or enable_static is yes.
14300 test "$enable_shared" = yes || enable_static=yes
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14302 $as_echo "$enable_static" >&6; }
14309 ac_cpp='$CPP $CPPFLAGS'
14310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14316 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14317 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14318 (test "X$CXX" != "Xg++"))) ; then
14320 ac_cpp='$CXXCPP $CPPFLAGS'
14321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14325 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14326 if test -z "$CXXCPP"; then
14327 if ${ac_cv_prog_CXXCPP+:} false; then :
14328 $as_echo_n "(cached) " >&6
14330 # Double quotes because CXXCPP needs to be expanded
14331 for CXXCPP in "$CXX -E" "/lib/cpp"
14333 ac_preproc_ok=false
14334 for ac_cxx_preproc_warn_flag in '' yes
14336 # Use a header file that comes with gcc, so configuring glibc
14337 # with a fresh cross-compiler works.
14338 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14339 # <limits.h> exists even on freestanding compilers.
14340 # On the NeXT, cc -E runs the code through the compiler's parser,
14341 # not just through cpp. "Syntax error" is here to catch this case.
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14345 # include <limits.h>
14347 # include <assert.h>
14351 if ac_fn_cxx_try_cpp "$LINENO"; then :
14354 # Broken: fails on valid input.
14357 rm -f conftest.err conftest.i conftest.$ac_ext
14359 # OK, works on sane cases. Now check whether nonexistent headers
14360 # can be detected and how.
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14363 #include <ac_nonexistent.h>
14365 if ac_fn_cxx_try_cpp "$LINENO"; then :
14366 # Broken: success on invalid input.
14369 # Passes both tests.
14373 rm -f conftest.err conftest.i conftest.$ac_ext
14376 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14377 rm -f conftest.i conftest.err conftest.$ac_ext
14378 if $ac_preproc_ok; then :
14383 ac_cv_prog_CXXCPP=$CXXCPP
14386 CXXCPP=$ac_cv_prog_CXXCPP
14388 ac_cv_prog_CXXCPP=$CXXCPP
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14391 $as_echo "$CXXCPP" >&6; }
14392 ac_preproc_ok=false
14393 for ac_cxx_preproc_warn_flag in '' yes
14395 # Use a header file that comes with gcc, so configuring glibc
14396 # with a fresh cross-compiler works.
14397 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14398 # <limits.h> exists even on freestanding compilers.
14399 # On the NeXT, cc -E runs the code through the compiler's parser,
14400 # not just through cpp. "Syntax error" is here to catch this case.
14401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14404 # include <limits.h>
14406 # include <assert.h>
14410 if ac_fn_cxx_try_cpp "$LINENO"; then :
14413 # Broken: fails on valid input.
14416 rm -f conftest.err conftest.i conftest.$ac_ext
14418 # OK, works on sane cases. Now check whether nonexistent headers
14419 # can be detected and how.
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14422 #include <ac_nonexistent.h>
14424 if ac_fn_cxx_try_cpp "$LINENO"; then :
14425 # Broken: success on invalid input.
14428 # Passes both tests.
14432 rm -f conftest.err conftest.i conftest.$ac_ext
14435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14436 rm -f conftest.i conftest.err conftest.$ac_ext
14437 if $ac_preproc_ok; then :
14440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14442 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14443 See \`config.log' for more details" "$LINENO" 5; }
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 _lt_caught_CXX_error=yes
14457 ac_cpp='$CXXCPP $CPPFLAGS'
14458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14462 archive_cmds_need_lc_CXX=no
14463 allow_undefined_flag_CXX=
14464 always_export_symbols_CXX=no
14465 archive_expsym_cmds_CXX=
14466 compiler_needs_object_CXX=no
14467 export_dynamic_flag_spec_CXX=
14468 hardcode_direct_CXX=no
14469 hardcode_direct_absolute_CXX=no
14470 hardcode_libdir_flag_spec_CXX=
14471 hardcode_libdir_flag_spec_ld_CXX=
14472 hardcode_libdir_separator_CXX=
14473 hardcode_minus_L_CXX=no
14474 hardcode_shlibpath_var_CXX=unsupported
14475 hardcode_automatic_CXX=no
14476 inherit_rpath_CXX=no
14478 module_expsym_cmds_CXX=
14479 link_all_deplibs_CXX=unknown
14480 old_archive_cmds_CXX=$old_archive_cmds
14481 reload_flag_CXX=$reload_flag
14482 reload_cmds_CXX=$reload_cmds
14483 no_undefined_flag_CXX=
14484 whole_archive_flag_spec_CXX=
14485 enable_shared_with_static_runtimes_CXX=no
14487 # Source file extension for C++ test sources.
14490 # Object file extension for compiled C++ test sources.
14494 # No sense in running all these tests if we already determined that
14495 # the CXX compiler isn't working. Some variables (like enable_shared)
14496 # are currently assumed to apply to all compilers on this platform,
14497 # and will be corrupted by setting them based on a non-working compiler.
14498 if test "$_lt_caught_CXX_error" != yes; then
14499 # Code to be used in simple compile tests
14500 lt_simple_compile_test_code="int some_variable = 0;"
14502 # Code to be used in simple link tests
14503 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14505 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14512 # If no C compiler was specified, use CC.
14515 # If no C compiler flags were specified, use CFLAGS.
14516 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14518 # Allow CC to be a program name with arguments.
14522 # save warnings/boilerplate of simple test code
14523 ac_outfile=conftest.$ac_objext
14524 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14525 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14526 _lt_compiler_boilerplate=`cat conftest.err`
14529 ac_outfile=conftest.$ac_objext
14530 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14531 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14532 _lt_linker_boilerplate=`cat conftest.err`
14536 # Allow CC to be a program name with arguments.
14538 lt_save_CFLAGS=$CFLAGS
14542 lt_save_with_gnu_ld=$with_gnu_ld
14543 lt_save_path_LD=$lt_cv_path_LD
14544 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14545 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14547 $as_unset lt_cv_prog_gnu_ld
14549 if test -n "${lt_cv_path_LDCXX+set}"; then
14550 lt_cv_path_LD=$lt_cv_path_LDCXX
14552 $as_unset lt_cv_path_LD
14554 test -z "${LDCXX+set}" || LD=$LDCXX
14559 for cc_temp in $compiler""; do
14561 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14562 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14567 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14570 if test -n "$compiler"; then
14571 # We don't want -fno-exception when compiling C++ code, so set the
14572 # no_builtin_flag separately
14573 if test "$GXX" = yes; then
14574 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14576 lt_prog_compiler_no_builtin_flag_CXX=
14579 if test "$GXX" = yes; then
14580 # Set up default GNU C++ configuration
14584 # Check whether --with-gnu-ld was given.
14585 if test "${with_gnu_ld+set}" = set; then :
14586 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14592 if test "$GCC" = yes; then
14593 # Check if gcc -print-prog-name=ld gives a path.
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14595 $as_echo_n "checking for ld used by $CC... " >&6; }
14598 # gcc leaves a trailing carriage return which upsets mingw
14599 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14601 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14604 # Accept absolute paths.
14606 re_direlt='/[^/][^/]*/\.\./'
14607 # Canonicalize the pathname of ld
14608 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14609 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14610 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14612 test -z "$LD" && LD="$ac_prog"
14615 # If it fails, then pretend we aren't using GCC.
14619 # If it is relative, then search for the first ld in PATH.
14620 with_gnu_ld=unknown
14623 elif test "$with_gnu_ld" = yes; then
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14625 $as_echo_n "checking for GNU ld... " >&6; }
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14628 $as_echo_n "checking for non-GNU ld... " >&6; }
14630 if ${lt_cv_path_LD+:} false; then :
14631 $as_echo_n "(cached) " >&6
14633 if test -z "$LD"; then
14634 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14635 for ac_dir in $PATH; do
14637 test -z "$ac_dir" && ac_dir=.
14638 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14639 lt_cv_path_LD="$ac_dir/$ac_prog"
14640 # Check to see if the program is GNU ld. I'd rather use --version,
14641 # but apparently some variants of GNU ld only accept -v.
14642 # Break only if it was the GNU/non-GNU ld that we prefer.
14643 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14644 *GNU* | *'with BFD'*)
14645 test "$with_gnu_ld" != no && break
14648 test "$with_gnu_ld" != yes && break
14655 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14659 LD="$lt_cv_path_LD"
14660 if test -n "$LD"; then
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14662 $as_echo "$LD" >&6; }
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14665 $as_echo "no" >&6; }
14667 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14669 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14670 if ${lt_cv_prog_gnu_ld+:} false; then :
14671 $as_echo_n "(cached) " >&6
14673 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14674 case `$LD -v 2>&1 </dev/null` in
14675 *GNU* | *'with BFD'*)
14676 lt_cv_prog_gnu_ld=yes
14679 lt_cv_prog_gnu_ld=no
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14684 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14685 with_gnu_ld=$lt_cv_prog_gnu_ld
14693 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14694 # archiving commands below assume that GNU ld is being used.
14695 if test "$with_gnu_ld" = yes; then
14696 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14697 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14699 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14700 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14702 # If archive_cmds runs LD, not CC, wlarc should be empty
14703 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14704 # investigate it a little bit more. (MM)
14707 # ancient GNU ld didn't support --whole-archive et. al.
14708 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14709 $GREP 'no-whole-archive' > /dev/null; then
14710 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14712 whole_archive_flag_spec_CXX=
14718 # A generic and very simple default shared library creation
14719 # command for GNU C++ for the case where it uses the native
14720 # linker, instead of GNU ld. If possible, this setting should
14721 # overridden to take advantage of the native linker features on
14722 # the platform it is being used on.
14723 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14726 # Commands to make compiler produce verbose output that lists
14727 # what "hidden" libraries, object files and flags are used when
14728 # linking a shared library.
14729 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14737 # PORTME: fill in a description of your system's C++ link characteristics
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14739 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14743 # FIXME: insert proper C++ library support
14747 if test "$host_cpu" = ia64; then
14748 # On IA64, the linker does run time linking by default, so we don't
14749 # have to do anything special.
14750 aix_use_runtimelinking=no
14751 exp_sym_flag='-Bexport'
14754 aix_use_runtimelinking=no
14756 # Test if we are trying to use run time linking or normal
14757 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14758 # need to do runtime linking.
14759 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14760 for ld_flag in $LDFLAGS; do
14763 aix_use_runtimelinking=yes
14771 exp_sym_flag='-bexport'
14772 no_entry_flag='-bnoentry'
14775 # When large executables or shared objects are built, AIX ld can
14776 # have problems creating the table of contents. If linking a library
14777 # or program results in "error TOC overflow" add -mminimal-toc to
14778 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14779 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14781 archive_cmds_CXX=''
14782 hardcode_direct_CXX=yes
14783 hardcode_direct_absolute_CXX=yes
14784 hardcode_libdir_separator_CXX=':'
14785 link_all_deplibs_CXX=yes
14786 file_list_spec_CXX='${wl}-f,'
14788 if test "$GXX" = yes; then
14789 case $host_os in aix4.[012]|aix4.[012].*)
14790 # We only want to do this on AIX 4.2 and lower, the check
14791 # below for broken collect2 doesn't work under 4.3+
14792 collect2name=`${CC} -print-prog-name=collect2`
14793 if test -f "$collect2name" &&
14794 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14796 # We have reworked collect2
14799 # We have old collect2
14800 hardcode_direct_CXX=unsupported
14801 # It fails to find uninstalled libraries when the uninstalled
14802 # path is not listed in the libpath. Setting hardcode_minus_L
14803 # to unsupported forces relinking
14804 hardcode_minus_L_CXX=yes
14805 hardcode_libdir_flag_spec_CXX='-L$libdir'
14806 hardcode_libdir_separator_CXX=
14809 shared_flag='-shared'
14810 if test "$aix_use_runtimelinking" = yes; then
14811 shared_flag="$shared_flag "'${wl}-G'
14815 if test "$host_cpu" = ia64; then
14816 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14817 # chokes on -Wl,-G. The following line is correct:
14820 if test "$aix_use_runtimelinking" = yes; then
14821 shared_flag='${wl}-G'
14823 shared_flag='${wl}-bM:SRE'
14828 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14829 # It seems that -bexpall does not export symbols beginning with
14830 # underscore (_), so it is better to generate a list of symbols to
14832 always_export_symbols_CXX=yes
14833 if test "$aix_use_runtimelinking" = yes; then
14834 # Warning - without using the other runtime loading flags (-brtl),
14835 # -berok will link without error, but may produce a broken library.
14836 allow_undefined_flag_CXX='-berok'
14837 # Determine the default libpath from the value encoded in an empty
14839 if test "${lt_cv_aix_libpath+set}" = set; then
14840 aix_libpath=$lt_cv_aix_libpath
14842 if ${lt_cv_aix_libpath__CXX+:} false; then :
14843 $as_echo_n "(cached) " >&6
14845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14856 if ac_fn_cxx_try_link "$LINENO"; then :
14858 lt_aix_libpath_sed='
14859 /Import File Strings/,/^$/ {
14861 s/^0 *\([^ ]*\) *$/\1/
14865 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14866 # Check for a 64-bit object if we didn't find anything.
14867 if test -z "$lt_cv_aix_libpath__CXX"; then
14868 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14871 rm -f core conftest.err conftest.$ac_objext \
14872 conftest$ac_exeext conftest.$ac_ext
14873 if test -z "$lt_cv_aix_libpath__CXX"; then
14874 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14879 aix_libpath=$lt_cv_aix_libpath__CXX
14882 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14884 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14886 if test "$host_cpu" = ia64; then
14887 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14888 allow_undefined_flag_CXX="-z nodefs"
14889 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"
14891 # Determine the default libpath from the value encoded in an
14892 # empty executable.
14893 if test "${lt_cv_aix_libpath+set}" = set; then
14894 aix_libpath=$lt_cv_aix_libpath
14896 if ${lt_cv_aix_libpath__CXX+:} false; then :
14897 $as_echo_n "(cached) " >&6
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14910 if ac_fn_cxx_try_link "$LINENO"; then :
14912 lt_aix_libpath_sed='
14913 /Import File Strings/,/^$/ {
14915 s/^0 *\([^ ]*\) *$/\1/
14919 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14920 # Check for a 64-bit object if we didn't find anything.
14921 if test -z "$lt_cv_aix_libpath__CXX"; then
14922 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14925 rm -f core conftest.err conftest.$ac_objext \
14926 conftest$ac_exeext conftest.$ac_ext
14927 if test -z "$lt_cv_aix_libpath__CXX"; then
14928 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14933 aix_libpath=$lt_cv_aix_libpath__CXX
14936 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14937 # Warning - without using the other run time loading flags,
14938 # -berok will link without error, but may produce a broken library.
14939 no_undefined_flag_CXX=' ${wl}-bernotok'
14940 allow_undefined_flag_CXX=' ${wl}-berok'
14941 if test "$with_gnu_ld" = yes; then
14942 # We only use this code for GNU lds that support --whole-archive.
14943 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14945 # Exported symbols can be pulled into shared objects from archives
14946 whole_archive_flag_spec_CXX='$convenience'
14948 archive_cmds_need_lc_CXX=yes
14949 # This is similar to how AIX traditionally builds its shared
14951 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'
14957 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14958 allow_undefined_flag_CXX=unsupported
14959 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14960 # support --undefined. This deserves some investigation. FIXME
14961 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14968 case $cc_basename in
14970 # FIXME: insert proper C++ library support
14976 cygwin* | mingw* | pw32* | cegcc*)
14977 case $GXX,$cc_basename in
14980 # hardcode_libdir_flag_spec is actually meaningless, as there is
14981 # no search path for DLLs.
14982 hardcode_libdir_flag_spec_CXX=' '
14983 allow_undefined_flag_CXX=unsupported
14984 always_export_symbols_CXX=yes
14985 file_list_spec_CXX='@'
14986 # Tell ltmain to make .lib files, not .a files.
14988 # Tell ltmain to make .dll files, not .so files.
14990 # FIXME: Setting linknames here is a bad hack.
14991 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14992 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14993 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14995 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14997 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14999 # The linker will not automatically build a static lib if we build a DLL.
15000 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15001 enable_shared_with_static_runtimes_CXX=yes
15003 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15004 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15005 lt_tool_outputfile="@TOOL_OUTPUT@"~
15006 case $lt_outputfile in
15009 lt_outputfile="$lt_outputfile.exe"
15010 lt_tool_outputfile="$lt_tool_outputfile.exe"
15013 func_to_tool_file "$lt_outputfile"~
15014 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15015 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15016 $RM "$lt_outputfile.manifest";
15021 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15022 # as there is no search path for DLLs.
15023 hardcode_libdir_flag_spec_CXX='-L$libdir'
15024 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15025 allow_undefined_flag_CXX=unsupported
15026 always_export_symbols_CXX=no
15027 enable_shared_with_static_runtimes_CXX=yes
15029 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15030 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'
15031 # If the export-symbols file already is a .def file (1st line
15032 # is EXPORTS), use it as is; otherwise, prepend...
15033 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15034 cp $export_symbols $output_objdir/$soname.def;
15036 echo EXPORTS > $output_objdir/$soname.def;
15037 cat $export_symbols >> $output_objdir/$soname.def;
15039 $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'
15046 darwin* | rhapsody*)
15049 archive_cmds_need_lc_CXX=no
15050 hardcode_direct_CXX=no
15051 hardcode_automatic_CXX=yes
15052 hardcode_shlibpath_var_CXX=unsupported
15053 if test "$lt_cv_ld_force_load" = "yes"; then
15054 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15056 whole_archive_flag_spec_CXX=''
15058 link_all_deplibs_CXX=yes
15059 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15060 case $cc_basename in
15061 ifort*) _lt_dar_can_shared=yes ;;
15062 *) _lt_dar_can_shared=$GCC ;;
15064 if test "$_lt_dar_can_shared" = "yes"; then
15065 output_verbose_link_cmd=func_echo_all
15066 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}"
15067 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15068 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}"
15069 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}"
15070 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15071 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}"
15072 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}"
15082 case $cc_basename in
15084 # FIXME: insert proper C++ library support
15088 # Green Hills C++ Compiler
15089 # FIXME: insert proper C++ library support
15093 # FIXME: insert proper C++ library support
15100 # C++ shared libraries reported to be fairly broken before
15106 archive_cmds_need_lc_CXX=no
15109 freebsd* | dragonfly*)
15110 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15119 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15120 link_all_deplibs_CXX=yes
15124 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15125 hardcode_libdir_separator_CXX=:
15126 export_dynamic_flag_spec_CXX='${wl}-E'
15127 hardcode_direct_CXX=yes
15128 hardcode_minus_L_CXX=yes # Not in the search PATH,
15129 # but as the default
15130 # location of the library.
15132 case $cc_basename in
15134 # FIXME: insert proper C++ library support
15138 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'
15139 # Commands to make compiler produce verbose output that lists
15140 # what "hidden" libraries, object files and flags are used when
15141 # linking a shared library.
15143 # There doesn't appear to be a way to prevent this compiler from
15144 # explicitly linking system object files so we need to strip them
15145 # from the output so that they don't get included in the library
15147 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; func_echo_all "$list"'
15150 if test "$GXX" = yes; then
15151 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
15153 # FIXME: insert proper C++ library support
15161 if test $with_gnu_ld = no; then
15162 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15163 hardcode_libdir_separator_CXX=:
15169 export_dynamic_flag_spec_CXX='${wl}-E'
15175 hardcode_direct_CXX=no
15176 hardcode_shlibpath_var_CXX=no
15179 hardcode_direct_CXX=yes
15180 hardcode_direct_absolute_CXX=yes
15181 hardcode_minus_L_CXX=yes # Not in the search PATH,
15182 # but as the default
15183 # location of the library.
15187 case $cc_basename in
15189 # FIXME: insert proper C++ library support
15195 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15198 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15201 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15204 # Commands to make compiler produce verbose output that lists
15205 # what "hidden" libraries, object files and flags are used when
15206 # linking a shared library.
15208 # There doesn't appear to be a way to prevent this compiler from
15209 # explicitly linking system object files so we need to strip them
15210 # from the output so that they don't get included in the library
15212 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; func_echo_all "$list"'
15215 if test "$GXX" = yes; then
15216 if test $with_gnu_ld = no; then
15219 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15222 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15225 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15230 # FIXME: insert proper C++ library support
15238 hardcode_direct_CXX=no
15239 hardcode_shlibpath_var_CXX=no
15240 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15241 export_dynamic_flag_spec_CXX='${wl}-E'
15242 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15243 # Instead, shared libraries are loaded at an image base (0x10000000 by
15244 # default) and relocated if they conflict, which is a slow very memory
15245 # consuming and fragmenting process. To avoid this, we pick a random,
15246 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15247 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15248 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'
15249 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'
15252 case $cc_basename in
15255 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15257 # Archives containing C++ object files must be created using
15258 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15259 # necessary to make sure instantiated templates are included
15261 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15264 if test "$GXX" = yes; then
15265 if test "$with_gnu_ld" = no; then
15266 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15268 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15271 link_all_deplibs_CXX=yes
15274 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15275 hardcode_libdir_separator_CXX=:
15276 inherit_rpath_CXX=yes
15279 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15280 case $cc_basename in
15282 # Kuck and Associates, Inc. (KAI) C++ Compiler
15284 # KCC will only create a shared library if the output file
15285 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15286 # to its proper name (with version) after linking.
15287 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'
15288 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'
15289 # Commands to make compiler produce verbose output that lists
15290 # what "hidden" libraries, object files and flags are used when
15291 # linking a shared library.
15293 # There doesn't appear to be a way to prevent this compiler from
15294 # explicitly linking system object files so we need to strip them
15295 # from the output so that they don't get included in the library
15297 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; func_echo_all "$list"'
15299 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15300 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15302 # Archives containing C++ object files must be created using
15303 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15304 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15309 # version 8.0 and above of icpc choke on multiply defined symbols
15310 # if we add $predep_objects and $postdep_objects, however 7.1 and
15311 # earlier do not add the objects themselves.
15312 case `$CC -V 2>&1` in
15314 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15315 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'
15317 *) # Version 8.0 or newer
15320 ia64*) tmp_idyn=' -i_dynamic';;
15322 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15323 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'
15326 archive_cmds_need_lc_CXX=no
15327 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15328 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15329 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15332 # Portland Group C++ compiler
15334 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15335 prelink_cmds_CXX='tpldir=Template.dir~
15337 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15338 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15339 old_archive_cmds_CXX='tpldir=Template.dir~
15341 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15342 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15344 archive_cmds_CXX='tpldir=Template.dir~
15346 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15347 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15348 archive_expsym_cmds_CXX='tpldir=Template.dir~
15350 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15351 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15353 *) # Version 6 and above use weak symbols
15354 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15355 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'
15359 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15360 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15361 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15365 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15366 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'
15368 runpath_var=LD_RUN_PATH
15369 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15370 hardcode_libdir_separator_CXX=:
15372 # Commands to make compiler produce verbose output that lists
15373 # what "hidden" libraries, object files and flags are used when
15374 # linking a shared library.
15376 # There doesn't appear to be a way to prevent this compiler from
15377 # explicitly linking system object files so we need to strip them
15378 # from the output so that they don't get included in the library
15380 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15382 xl* | mpixl* | bgxl*)
15383 # IBM XL 8.0 on PPC, with GNU ld
15384 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15385 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15386 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15387 if test "x$supports_anon_versioning" = xyes; then
15388 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15389 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15390 echo "local: *; };" >> $output_objdir/$libname.ver~
15391 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15395 case `$CC -V 2>&1 | sed 5q` in
15398 no_undefined_flag_CXX=' -zdefs'
15399 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15400 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'
15401 hardcode_libdir_flag_spec_CXX='-R$libdir'
15402 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15403 compiler_needs_object_CXX=yes
15405 # Not sure whether something based on
15406 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15408 output_verbose_link_cmd='func_echo_all'
15410 # Archives containing C++ object files must be created using
15411 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15412 # necessary to make sure instantiated templates are included
15414 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15422 # FIXME: insert proper C++ library support
15427 # FIXME: insert proper C++ library support
15432 case $cc_basename in
15434 # FIXME: insert proper C++ library support
15438 # FIXME: insert proper C++ library support
15445 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15446 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15448 hardcode_libdir_flag_spec_CXX='-R$libdir'
15449 hardcode_direct_CXX=yes
15450 hardcode_shlibpath_var_CXX=no
15452 # Workaround some broken pre-1.5 toolchains
15453 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15461 # C++ shared libraries are fairly broken
15466 if test -f /usr/libexec/ld.so; then
15467 hardcode_direct_CXX=yes
15468 hardcode_shlibpath_var_CXX=no
15469 hardcode_direct_absolute_CXX=yes
15470 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15471 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15472 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15473 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15474 export_dynamic_flag_spec_CXX='${wl}-E'
15475 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15477 output_verbose_link_cmd=func_echo_all
15483 osf3* | osf4* | osf5*)
15484 case $cc_basename in
15486 # Kuck and Associates, Inc. (KAI) C++ Compiler
15488 # KCC will only create a shared library if the output file
15489 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15490 # to its proper name (with version) after linking.
15491 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'
15493 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15494 hardcode_libdir_separator_CXX=:
15496 # Archives containing C++ object files must be created using
15497 # the KAI C++ compiler.
15499 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15500 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15504 # Rational C++ 2.4.1
15505 # FIXME: insert proper C++ library support
15511 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15512 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15513 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15516 allow_undefined_flag_CXX=' -expect_unresolved \*'
15517 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15518 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15519 echo "-hidden">> $lib.exp~
15520 $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 "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
15522 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15526 hardcode_libdir_separator_CXX=:
15528 # Commands to make compiler produce verbose output that lists
15529 # what "hidden" libraries, object files and flags are used when
15530 # linking a shared library.
15532 # There doesn't appear to be a way to prevent this compiler from
15533 # explicitly linking system object files so we need to strip them
15534 # from the output so that they don't get included in the library
15536 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15539 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15540 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15543 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15546 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15550 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15551 hardcode_libdir_separator_CXX=:
15553 # Commands to make compiler produce verbose output that lists
15554 # what "hidden" libraries, object files and flags are used when
15555 # linking a shared library.
15556 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15559 # FIXME: insert proper C++ library support
15567 # FIXME: insert proper C++ library support
15572 case $cc_basename in
15575 # FIXME: insert proper C++ library support
15580 # FIXME: insert proper C++ library support
15584 # FIXME: insert proper C++ library support
15591 case $cc_basename in
15593 # Sun C++ 4.2, 5.x and Centerline C++
15594 archive_cmds_need_lc_CXX=yes
15595 no_undefined_flag_CXX=' -zdefs'
15596 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15597 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15598 $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'
15600 hardcode_libdir_flag_spec_CXX='-R$libdir'
15601 hardcode_shlibpath_var_CXX=no
15603 solaris2.[0-5] | solaris2.[0-5].*) ;;
15605 # The compiler driver will combine and reorder linker options,
15606 # but understands `-z linker_flag'.
15607 # Supported since Solaris 2.6 (maybe 2.5.1?)
15608 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15611 link_all_deplibs_CXX=yes
15613 output_verbose_link_cmd='func_echo_all'
15615 # Archives containing C++ object files must be created using
15616 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15617 # necessary to make sure instantiated templates are included
15619 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15622 # Green Hills C++ Compiler
15623 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15625 # The C++ compiler must be used to create the archive.
15626 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15629 # GNU C++ compiler with Solaris linker
15630 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15631 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15632 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15633 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15634 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15635 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15637 # Commands to make compiler produce verbose output that lists
15638 # what "hidden" libraries, object files and flags are used when
15639 # linking a shared library.
15640 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15642 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15644 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15645 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15646 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15648 # Commands to make compiler produce verbose output that lists
15649 # what "hidden" libraries, object files and flags are used when
15650 # linking a shared library.
15651 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15654 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15656 solaris2.[0-5] | solaris2.[0-5].*) ;;
15658 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15666 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15667 no_undefined_flag_CXX='${wl}-z,text'
15668 archive_cmds_need_lc_CXX=no
15669 hardcode_shlibpath_var_CXX=no
15670 runpath_var='LD_RUN_PATH'
15672 case $cc_basename in
15674 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15675 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15678 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15679 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15684 sysv5* | sco3.2v5* | sco5v6*)
15685 # Note: We can NOT use -z defs as we might desire, because we do not
15686 # link with -lc, and that would cause any symbols used from libc to
15687 # always be unresolved, which means just about no library would
15688 # ever link correctly. If we're not using GNU ld we use -z text
15689 # though, which does catch some bad symbols but isn't as heavy-handed
15691 no_undefined_flag_CXX='${wl}-z,text'
15692 allow_undefined_flag_CXX='${wl}-z,nodefs'
15693 archive_cmds_need_lc_CXX=no
15694 hardcode_shlibpath_var_CXX=no
15695 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15696 hardcode_libdir_separator_CXX=':'
15697 link_all_deplibs_CXX=yes
15698 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15699 runpath_var='LD_RUN_PATH'
15701 case $cc_basename in
15703 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15704 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15705 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15706 '"$old_archive_cmds_CXX"
15707 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15708 '"$reload_cmds_CXX"
15711 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15712 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15718 case $cc_basename in
15720 # NonStop-UX NCC 3.20
15721 # FIXME: insert proper C++ library support
15725 # FIXME: insert proper C++ library support
15732 # FIXME: insert proper C++ library support
15737 # FIXME: insert proper C++ library support
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15743 $as_echo "$ld_shlibs_CXX" >&6; }
15744 test "$ld_shlibs_CXX" = no && can_build_shared=no
15750 ## There is no encapsulation within the following macros, do not change
15751 ## the running order or otherwise move them around unless you know exactly
15752 ## what you are doing...
15753 # Dependencies to place before and after the object being linked:
15754 predep_objects_CXX=
15755 postdep_objects_CXX=
15758 compiler_lib_search_path_CXX=
15760 cat > conftest.$ac_ext <<_LT_EOF
15764 Foo (void) { a = 0; }
15771 _lt_libdeps_save_CFLAGS=$CFLAGS
15772 case "$CC $CFLAGS " in #(
15773 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15774 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15777 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15778 (eval $ac_compile) 2>&5
15780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15781 test $ac_status = 0; }; then
15782 # Parse the compiler output and extract the necessary
15783 # objects, libraries and library flags.
15785 # Sentinel used to keep track of whether or not we are before
15786 # the conftest object file.
15787 pre_test_object_deps_done=no
15789 for p in `eval "$output_verbose_link_cmd"`; do
15790 case ${prev}${p} in
15793 # Some compilers place space between "-{L,R}" and the path.
15794 # Remove the space.
15795 if test $p = "-L" ||
15796 test $p = "-R"; then
15801 # Expand the sysroot to ease extracting the directories later.
15802 if test -z "$prev"; then
15804 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15805 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15806 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15810 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15812 if test "$pre_test_object_deps_done" = no; then
15815 # Internal compiler library paths should come after those
15816 # provided the user. The postdeps already come after the
15817 # user supplied libs so there is no need to process them.
15818 if test -z "$compiler_lib_search_path_CXX"; then
15819 compiler_lib_search_path_CXX="${prev}${p}"
15821 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15824 # The "-l" case would never come before the object being
15825 # linked, so don't bother handling this case.
15828 if test -z "$postdeps_CXX"; then
15829 postdeps_CXX="${prev}${p}"
15831 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15837 *.lto.$objext) ;; # Ignore GCC LTO objects
15839 # This assumes that the test object file only shows up
15840 # once in the compiler output.
15841 if test "$p" = "conftest.$objext"; then
15842 pre_test_object_deps_done=yes
15846 if test "$pre_test_object_deps_done" = no; then
15847 if test -z "$predep_objects_CXX"; then
15848 predep_objects_CXX="$p"
15850 predep_objects_CXX="$predep_objects_CXX $p"
15853 if test -z "$postdep_objects_CXX"; then
15854 postdep_objects_CXX="$p"
15856 postdep_objects_CXX="$postdep_objects_CXX $p"
15861 *) ;; # Ignore the rest.
15869 echo "libtool.m4: error: problem compiling CXX test program"
15872 $RM -f confest.$objext
15873 CFLAGS=$_lt_libdeps_save_CFLAGS
15875 # PORTME: override above test on systems where it is broken
15878 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15879 # hack all around it, let's just trust "g++" to DTRT.
15880 predep_objects_CXX=
15881 postdep_objects_CXX=
15886 case `$CC -V 2>&1 | sed 5q` in
15890 # The more standards-conforming stlport4 library is
15891 # incompatible with the Cstd library. Avoid specifying
15892 # it if it's in CXXFLAGS. Ignore libCrun as
15893 # -library=stlport4 depends on it.
15894 case " $CXX $CXXFLAGS " in
15895 *" -library=stlport4 "*)
15896 solaris_use_stlport4=yes
15900 if test "$solaris_use_stlport4" != yes; then
15901 postdeps_CXX='-library=Cstd -library=Crun'
15908 case $cc_basename in
15910 # The more standards-conforming stlport4 library is
15911 # incompatible with the Cstd library. Avoid specifying
15912 # it if it's in CXXFLAGS. Ignore libCrun as
15913 # -library=stlport4 depends on it.
15914 case " $CXX $CXXFLAGS " in
15915 *" -library=stlport4 "*)
15916 solaris_use_stlport4=yes
15920 # Adding this requires a known-good setup of shared libraries for
15921 # Sun compiler versions before 5.6, else PIC objects from an old
15922 # archive will be linked into the output, leading to subtle bugs.
15923 if test "$solaris_use_stlport4" != yes; then
15924 postdeps_CXX='-library=Cstd -library=Crun'
15932 case " $postdeps_CXX " in
15933 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15935 compiler_lib_search_dirs_CXX=
15936 if test -n "${compiler_lib_search_path_CXX}"; then
15937 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15970 lt_prog_compiler_wl_CXX=
15971 lt_prog_compiler_pic_CXX=
15972 lt_prog_compiler_static_CXX=
15975 # C++ specific cases for pic, static, wl, etc.
15976 if test "$GXX" = yes; then
15977 lt_prog_compiler_wl_CXX='-Wl,'
15978 lt_prog_compiler_static_CXX='-static'
15982 # All AIX code is PIC.
15983 if test "$host_cpu" = ia64; then
15984 # AIX 5 now supports IA64 processor
15985 lt_prog_compiler_static_CXX='-Bstatic'
15992 # see comment about AmigaOS4 .so support
15993 lt_prog_compiler_pic_CXX='-fPIC'
15996 # FIXME: we need at least 68020 code to build shared libraries, but
15997 # adding the `-m68020' flag to GCC prevents building anything better,
15999 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16004 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16005 # PIC is the default for these OSes.
16007 mingw* | cygwin* | os2* | pw32* | cegcc*)
16008 # This hack is so that the source file can tell whether it is being
16009 # built for inclusion in a dll (and should export symbols for example).
16010 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16011 # (--disable-auto-import) libraries
16012 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16014 darwin* | rhapsody*)
16015 # PIC is the default on this platform
16016 # Common symbols not allowed in MH_DYLIB files
16017 lt_prog_compiler_pic_CXX='-fno-common'
16020 # DJGPP does not support shared libraries at all
16021 lt_prog_compiler_pic_CXX=
16024 # PIC is the default for Haiku.
16025 # The "-static" flag exists, but is broken.
16026 lt_prog_compiler_static_CXX=
16029 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16030 # Instead, we relocate shared libraries at runtime.
16033 if test -d /usr/nec; then
16034 lt_prog_compiler_pic_CXX=-Kconform_pic
16038 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16039 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16040 # sets the default TLS model and affects inlining.
16045 lt_prog_compiler_pic_CXX='-fPIC'
16050 # QNX uses GNU C++, but need to define -shared option too, otherwise
16051 # it will coredump.
16052 lt_prog_compiler_pic_CXX='-fPIC -shared'
16055 lt_prog_compiler_pic_CXX='-fPIC'
16061 # All AIX code is PIC.
16062 if test "$host_cpu" = ia64; then
16063 # AIX 5 now supports IA64 processor
16064 lt_prog_compiler_static_CXX='-Bstatic'
16066 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16070 case $cc_basename in
16072 # Green Hills C++ Compiler
16073 # _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"
16077 mingw* | cygwin* | os2* | pw32* | cegcc*)
16078 # This hack is so that the source file can tell whether it is being
16079 # built for inclusion in a dll (and should export symbols for example).
16080 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16083 case $cc_basename in
16085 lt_prog_compiler_pic_CXX='-KPIC'
16088 # Green Hills C++ Compiler
16089 lt_prog_compiler_pic_CXX='-pic'
16095 freebsd* | dragonfly*)
16096 # FreeBSD uses GNU C++
16098 hpux9* | hpux10* | hpux11*)
16099 case $cc_basename in
16101 lt_prog_compiler_wl_CXX='-Wl,'
16102 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16103 if test "$host_cpu" != ia64; then
16104 lt_prog_compiler_pic_CXX='+Z'
16108 lt_prog_compiler_wl_CXX='-Wl,'
16109 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16115 lt_prog_compiler_pic_CXX='+Z'
16124 # This is c89, which is MS Visual C++ (no shared libs)
16125 # Anyone wants to do a port?
16127 irix5* | irix6* | nonstopux*)
16128 case $cc_basename in
16130 lt_prog_compiler_wl_CXX='-Wl,'
16131 lt_prog_compiler_static_CXX='-non_shared'
16132 # CC pic flag -KPIC is the default.
16138 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16139 case $cc_basename in
16142 lt_prog_compiler_wl_CXX='--backend -Wl,'
16143 lt_prog_compiler_pic_CXX='-fPIC'
16146 # old Intel C++ for x86_64 which still supported -KPIC.
16147 lt_prog_compiler_wl_CXX='-Wl,'
16148 lt_prog_compiler_pic_CXX='-KPIC'
16149 lt_prog_compiler_static_CXX='-static'
16152 # Intel C++, used to be incompatible with GCC.
16153 # ICC 10 doesn't accept -KPIC any more.
16154 lt_prog_compiler_wl_CXX='-Wl,'
16155 lt_prog_compiler_pic_CXX='-fPIC'
16156 lt_prog_compiler_static_CXX='-static'
16159 # Portland Group C++ compiler
16160 lt_prog_compiler_wl_CXX='-Wl,'
16161 lt_prog_compiler_pic_CXX='-fpic'
16162 lt_prog_compiler_static_CXX='-Bstatic'
16166 # Make sure the PIC flag is empty. It appears that all Alpha
16167 # Linux and Compaq Tru64 Unix objects are PIC.
16168 lt_prog_compiler_pic_CXX=
16169 lt_prog_compiler_static_CXX='-non_shared'
16171 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16172 # IBM XL 8.0, 9.0 on PPC and BlueGene
16173 lt_prog_compiler_wl_CXX='-Wl,'
16174 lt_prog_compiler_pic_CXX='-qpic'
16175 lt_prog_compiler_static_CXX='-qstaticlink'
16178 case `$CC -V 2>&1 | sed 5q` in
16181 lt_prog_compiler_pic_CXX='-KPIC'
16182 lt_prog_compiler_static_CXX='-Bstatic'
16183 lt_prog_compiler_wl_CXX='-Qoption ld '
16194 case $cc_basename in
16196 lt_prog_compiler_pic_CXX='-W c,exportall'
16205 # QNX uses GNU C++, but need to define -shared option too, otherwise
16206 # it will coredump.
16207 lt_prog_compiler_pic_CXX='-fPIC -shared'
16209 osf3* | osf4* | osf5*)
16210 case $cc_basename in
16212 lt_prog_compiler_wl_CXX='--backend -Wl,'
16215 # Rational C++ 2.4.1
16216 lt_prog_compiler_pic_CXX='-pic'
16219 # Digital/Compaq C++
16220 lt_prog_compiler_wl_CXX='-Wl,'
16221 # Make sure the PIC flag is empty. It appears that all Alpha
16222 # Linux and Compaq Tru64 Unix objects are PIC.
16223 lt_prog_compiler_pic_CXX=
16224 lt_prog_compiler_static_CXX='-non_shared'
16233 case $cc_basename in
16235 # Sun C++ 4.2, 5.x and Centerline C++
16236 lt_prog_compiler_pic_CXX='-KPIC'
16237 lt_prog_compiler_static_CXX='-Bstatic'
16238 lt_prog_compiler_wl_CXX='-Qoption ld '
16241 # Green Hills C++ Compiler
16242 lt_prog_compiler_pic_CXX='-PIC'
16249 case $cc_basename in
16252 lt_prog_compiler_pic_CXX='-pic'
16253 lt_prog_compiler_static_CXX='-Bstatic'
16257 lt_prog_compiler_pic_CXX='-pic'
16263 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16264 case $cc_basename in
16266 lt_prog_compiler_wl_CXX='-Wl,'
16267 lt_prog_compiler_pic_CXX='-KPIC'
16268 lt_prog_compiler_static_CXX='-Bstatic'
16273 case $cc_basename in
16275 # NonStop-UX NCC 3.20
16276 lt_prog_compiler_pic_CXX='-KPIC'
16285 lt_prog_compiler_can_build_shared_CXX=no
16291 # For platforms which do not support PIC, -DPIC is meaningless:
16293 lt_prog_compiler_pic_CXX=
16296 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16301 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16302 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16303 $as_echo_n "(cached) " >&6
16305 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16308 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16309 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16312 # Check to make sure the PIC flag actually works.
16314 if test -n "$lt_prog_compiler_pic_CXX"; then
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16316 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16317 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16318 $as_echo_n "(cached) " >&6
16320 lt_cv_prog_compiler_pic_works_CXX=no
16321 ac_outfile=conftest.$ac_objext
16322 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16323 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16324 # Insert the option either (1) after the last *FLAGS variable, or
16325 # (2) before a word containing "conftest.", or (3) at the end.
16326 # Note that $ac_compile itself does not contain backslashes and begins
16327 # with a dollar sign (not a hyphen), so the echo should work correctly.
16328 # The option is referenced via a variable to avoid confusing sed.
16329 lt_compile=`echo "$ac_compile" | $SED \
16330 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16331 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16332 -e 's:$: $lt_compiler_flag:'`
16333 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16334 (eval "$lt_compile" 2>conftest.err)
16336 cat conftest.err >&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 if (exit $ac_status) && test -s "$ac_outfile"; then
16339 # The compiler can only warn and ignore the option if not recognized
16340 # So say no if there are warnings other than the usual output.
16341 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16342 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16343 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16344 lt_cv_prog_compiler_pic_works_CXX=yes
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16351 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16353 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16354 case $lt_prog_compiler_pic_CXX in
16356 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16359 lt_prog_compiler_pic_CXX=
16360 lt_prog_compiler_can_build_shared_CXX=no
16370 # Check to make sure the static flag actually works.
16372 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16374 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16375 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16376 $as_echo_n "(cached) " >&6
16378 lt_cv_prog_compiler_static_works_CXX=no
16379 save_LDFLAGS="$LDFLAGS"
16380 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16381 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16382 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16383 # The linker can only warn and ignore the option if not recognized
16384 # So say no if there are warnings
16385 if test -s conftest.err; then
16386 # Append any errors to the config.log.
16387 cat conftest.err 1>&5
16388 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16389 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16390 if diff conftest.exp conftest.er2 >/dev/null; then
16391 lt_cv_prog_compiler_static_works_CXX=yes
16394 lt_cv_prog_compiler_static_works_CXX=yes
16398 LDFLAGS="$save_LDFLAGS"
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16402 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16404 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16407 lt_prog_compiler_static_CXX=
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16414 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16415 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16416 $as_echo_n "(cached) " >&6
16418 lt_cv_prog_compiler_c_o_CXX=no
16419 $RM -r conftest 2>/dev/null
16423 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16425 lt_compiler_flag="-o out/conftest2.$ac_objext"
16426 # Insert the option either (1) after the last *FLAGS variable, or
16427 # (2) before a word containing "conftest.", or (3) at the end.
16428 # Note that $ac_compile itself does not contain backslashes and begins
16429 # with a dollar sign (not a hyphen), so the echo should work correctly.
16430 lt_compile=`echo "$ac_compile" | $SED \
16431 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16432 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16433 -e 's:$: $lt_compiler_flag:'`
16434 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16435 (eval "$lt_compile" 2>out/conftest.err)
16437 cat out/conftest.err >&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16441 # The compiler can only warn and ignore the option if not recognized
16442 # So say no if there are warnings
16443 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16444 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16445 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16446 lt_cv_prog_compiler_c_o_CXX=yes
16451 # SGI C++ compiler will create directory out/ii_files/ for
16452 # template instantiation
16453 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16454 $RM out/* && rmdir out
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16461 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16466 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16467 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16468 $as_echo_n "(cached) " >&6
16470 lt_cv_prog_compiler_c_o_CXX=no
16471 $RM -r conftest 2>/dev/null
16475 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16477 lt_compiler_flag="-o out/conftest2.$ac_objext"
16478 # Insert the option either (1) after the last *FLAGS variable, or
16479 # (2) before a word containing "conftest.", or (3) at the end.
16480 # Note that $ac_compile itself does not contain backslashes and begins
16481 # with a dollar sign (not a hyphen), so the echo should work correctly.
16482 lt_compile=`echo "$ac_compile" | $SED \
16483 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16484 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16485 -e 's:$: $lt_compiler_flag:'`
16486 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16487 (eval "$lt_compile" 2>out/conftest.err)
16489 cat out/conftest.err >&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16493 # The compiler can only warn and ignore the option if not recognized
16494 # So say no if there are warnings
16495 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16496 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16497 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16498 lt_cv_prog_compiler_c_o_CXX=yes
16503 # SGI C++ compiler will create directory out/ii_files/ for
16504 # template instantiation
16505 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16506 $RM out/* && rmdir out
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16513 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16518 hard_links="nottested"
16519 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16520 # do not overwrite the value of need_locks provided by the user
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16522 $as_echo_n "checking if we can lock with hard links... " >&6; }
16525 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16527 ln conftest.a conftest.b 2>&5 || hard_links=no
16528 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16530 $as_echo "$hard_links" >&6; }
16531 if test "$hard_links" = no; then
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16533 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16543 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16545 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16546 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16549 # If we're using GNU nm, then we don't want the "-C" option.
16550 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16551 # Also, AIX nm treats weak defined symbols like other global defined
16552 # symbols, whereas GNU nm marks them as "W".
16553 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16554 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16556 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'
16560 export_symbols_cmds_CXX="$ltdll_cmds"
16562 cygwin* | mingw* | cegcc*)
16563 case $cc_basename in
16566 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16567 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16572 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16577 $as_echo "$ld_shlibs_CXX" >&6; }
16578 test "$ld_shlibs_CXX" = no && can_build_shared=no
16580 with_gnu_ld_CXX=$with_gnu_ld
16588 # Do we need to explicitly link libc?
16590 case "x$archive_cmds_need_lc_CXX" in
16592 # Assume -lc should be added
16593 archive_cmds_need_lc_CXX=yes
16595 if test "$enable_shared" = yes && test "$GCC" = yes; then
16596 case $archive_cmds_CXX in
16598 # FIXME: we may have to deal with multi-command sequences.
16601 # Test whether the compiler implicitly links with -lc since on some
16602 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16603 # to ld, don't add -lc before -lgcc.
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16605 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16606 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16607 $as_echo_n "(cached) " >&6
16610 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16612 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16613 (eval $ac_compile) 2>&5
16615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16616 test $ac_status = 0; } 2>conftest.err; then
16619 libobjs=conftest.$ac_objext
16621 wl=$lt_prog_compiler_wl_CXX
16622 pic_flag=$lt_prog_compiler_pic_CXX
16628 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16629 allow_undefined_flag_CXX=
16630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16631 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16634 test $ac_status = 0; }
16636 lt_cv_archive_cmds_need_lc_CXX=no
16638 lt_cv_archive_cmds_need_lc_CXX=yes
16640 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16642 cat conftest.err 1>&5
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16648 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16649 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16720 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16722 library_names_spec=
16723 libname_spec='lib$name'
16727 postuninstall_cmds=
16731 shlibpath_overrides_runpath=unknown
16733 dynamic_linker="$host_os ld.so"
16734 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16735 need_lib_prefix=unknown
16736 hardcode_into_libs=no
16738 # when you set need_version to no, make sure it does not cause -set_version
16739 # flags to be left without arguments
16740 need_version=unknown
16745 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16746 shlibpath_var=LIBPATH
16748 # AIX 3 has no versioning support, so we append a major version to the name.
16749 soname_spec='${libname}${release}${shared_ext}$major'
16756 hardcode_into_libs=yes
16757 if test "$host_cpu" = ia64; then
16758 # AIX 5 supports IA64
16759 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16760 shlibpath_var=LD_LIBRARY_PATH
16762 # With GCC up to 2.95.x, collect2 would create an import file
16763 # for dependence libraries. The import file would start with
16764 # the line `#! .'. This would cause the generated library to
16765 # depend on `.', always an invalid library. This was fixed in
16766 # development snapshots of GCC prior to 3.0.
16768 aix4 | aix4.[01] | aix4.[01].*)
16769 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16771 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16774 can_build_shared=no
16778 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16779 # soname into executable. Probably we can add versioning support to
16780 # collect2, so additional links can be useful in future.
16781 if test "$aix_use_runtimelinking" = yes; then
16782 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16783 # instead of lib<name>.a to let people know that these are not
16784 # typical AIX shared libraries.
16785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16787 # We preserve .a as extension for shared libraries through AIX4.2
16788 # and later when we are not doing run time linking.
16789 library_names_spec='${libname}${release}.a $libname.a'
16790 soname_spec='${libname}${release}${shared_ext}$major'
16792 shlibpath_var=LIBPATH
16799 # Since July 2007 AmigaOS4 officially supports .so libraries.
16800 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16804 library_names_spec='$libname.ixlibrary $libname.a'
16805 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16806 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
16812 library_names_spec='${libname}${shared_ext}'
16813 dynamic_linker="$host_os ld.so"
16814 shlibpath_var=LIBRARY_PATH
16820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16821 soname_spec='${libname}${release}${shared_ext}$major'
16822 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16823 shlibpath_var=LD_LIBRARY_PATH
16824 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16825 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16826 # the default ld.so.conf also contains /usr/contrib/lib and
16827 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16828 # libtool to hard-code these into programs
16831 cygwin* | mingw* | pw32* | cegcc*)
16832 version_type=windows
16837 case $GCC,$cc_basename in
16840 library_names_spec='$libname.dll.a'
16841 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16842 postinstall_cmds='base_file=`basename \${file}`~
16843 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16844 dldir=$destdir/`dirname \$dlpath`~
16845 test -d \$dldir || mkdir -p \$dldir~
16846 $install_prog $dir/$dlname \$dldir/$dlname~
16847 chmod a+x \$dldir/$dlname~
16848 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16849 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16851 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16852 dlpath=$dir/\$dldll~
16854 shlibpath_overrides_runpath=yes
16858 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16859 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16863 # MinGW DLLs use traditional 'lib' prefix
16864 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16867 # pw32 DLLs use 'pw' prefix rather than 'lib'
16868 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16871 dynamic_linker='Win32 ld.exe'
16876 libname_spec='$name'
16877 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16878 library_names_spec='${libname}.dll.lib'
16882 sys_lib_search_path_spec=
16885 for lt_path in $LIB
16888 # Let DOS variable expansion print the short 8.3 style file name.
16889 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16890 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16893 # Convert to MSYS style.
16894 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16897 # Convert to unix form, then to dos form, then back to unix form
16898 # but this time dos style (no spaces!) so that the unix form looks
16899 # like /cygdrive/c/PROGRA~1:/cygdr...
16900 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16901 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16902 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16905 sys_lib_search_path_spec="$LIB"
16906 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16907 # It is most probably a Windows format PATH.
16908 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16910 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16912 # FIXME: find the short name or the path components, as spaces are
16913 # common. (e.g. "Program Files" -> "PROGRA~1")
16917 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16918 postinstall_cmds='base_file=`basename \${file}`~
16919 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16920 dldir=$destdir/`dirname \$dlpath`~
16921 test -d \$dldir || mkdir -p \$dldir~
16922 $install_prog $dir/$dlname \$dldir/$dlname'
16923 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16924 dlpath=$dir/\$dldll~
16926 shlibpath_overrides_runpath=yes
16927 dynamic_linker='Win32 link.exe'
16931 # Assume MSVC wrapper
16932 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16933 dynamic_linker='Win32 ld.exe'
16936 # FIXME: first we should search . and the directory the executable is in
16940 darwin* | rhapsody*)
16941 dynamic_linker="$host_os dyld"
16942 version_type=darwin
16945 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16946 soname_spec='${libname}${release}${major}$shared_ext'
16947 shlibpath_overrides_runpath=yes
16948 shlibpath_var=DYLD_LIBRARY_PATH
16949 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16951 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16959 soname_spec='${libname}${release}${shared_ext}$major'
16960 shlibpath_var=LD_LIBRARY_PATH
16967 freebsd* | dragonfly*)
16968 # DragonFly does not have aout. When/if they implement a new
16969 # versioning mechanism, adjust this.
16970 if test -x /usr/bin/objformat; then
16971 objformat=`/usr/bin/objformat`
16974 freebsd[123]*) objformat=aout ;;
16975 *) objformat=elf ;;
16978 version_type=freebsd-$objformat
16979 case $version_type in
16981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16986 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16990 shlibpath_var=LD_LIBRARY_PATH
16993 shlibpath_overrides_runpath=yes
16995 freebsd3.[01]* | freebsdelf3.[01]*)
16996 shlibpath_overrides_runpath=yes
16997 hardcode_into_libs=yes
16999 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17000 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17001 shlibpath_overrides_runpath=no
17002 hardcode_into_libs=yes
17004 *) # from 4.6 on, and DragonFly
17005 shlibpath_overrides_runpath=yes
17006 hardcode_into_libs=yes
17015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17016 soname_spec='${libname}${release}${shared_ext}$major'
17017 shlibpath_var=LD_LIBRARY_PATH
17018 hardcode_into_libs=yes
17025 dynamic_linker="$host_os runtime_loader"
17026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17027 soname_spec='${libname}${release}${shared_ext}$major'
17028 shlibpath_var=LIBRARY_PATH
17029 shlibpath_overrides_runpath=yes
17030 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17031 hardcode_into_libs=yes
17034 hpux9* | hpux10* | hpux11*)
17035 # Give a soname corresponding to the major version so that dld.sl refuses to
17036 # link against other versions.
17043 hardcode_into_libs=yes
17044 dynamic_linker="$host_os dld.so"
17045 shlibpath_var=LD_LIBRARY_PATH
17046 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17048 soname_spec='${libname}${release}${shared_ext}$major'
17049 if test "X$HPUX_IA64_MODE" = X32; then
17050 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17052 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17054 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17058 hardcode_into_libs=yes
17059 dynamic_linker="$host_os dld.sl"
17060 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17061 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17063 soname_spec='${libname}${release}${shared_ext}$major'
17064 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17065 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17069 dynamic_linker="$host_os dld.sl"
17070 shlibpath_var=SHLIB_PATH
17071 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17073 soname_spec='${libname}${release}${shared_ext}$major'
17076 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17077 postinstall_cmds='chmod 555 $lib'
17078 # or fails outright, so override atomically:
17079 install_override_mode=555
17086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17087 soname_spec='${libname}${release}${shared_ext}$major'
17088 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17089 shlibpath_var=LD_LIBRARY_PATH
17090 shlibpath_overrides_runpath=no
17091 hardcode_into_libs=yes
17094 irix5* | irix6* | nonstopux*)
17096 nonstopux*) version_type=nonstopux ;;
17098 if test "$lt_cv_prog_gnu_ld" = yes; then
17106 soname_spec='${libname}${release}${shared_ext}$major'
17107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17109 irix5* | nonstopux*)
17110 libsuff= shlibsuff=
17113 case $LD in # libtool.m4 will add one of these switches to LD
17114 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17115 libsuff= shlibsuff= libmagic=32-bit;;
17116 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17117 libsuff=32 shlibsuff=N32 libmagic=N32;;
17118 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17119 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17120 *) libsuff= shlibsuff= libmagic=never-match;;
17124 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17125 shlibpath_overrides_runpath=no
17126 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17127 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17128 hardcode_into_libs=yes
17131 # No shared lib support for Linux oldld, aout, or coff.
17132 linux*oldld* | linux*aout* | linux*coff*)
17136 # This must be Linux ELF.
17137 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17142 soname_spec='${libname}${release}${shared_ext}$major'
17143 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17144 shlibpath_var=LD_LIBRARY_PATH
17145 shlibpath_overrides_runpath=no
17147 # Some binutils ld are patched to set DT_RUNPATH
17148 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17149 $as_echo_n "(cached) " >&6
17151 lt_cv_shlibpath_overrides_runpath=no
17152 save_LDFLAGS=$LDFLAGS
17153 save_libdir=$libdir
17154 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17155 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17167 if ac_fn_cxx_try_link "$LINENO"; then :
17168 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17169 lt_cv_shlibpath_overrides_runpath=yes
17172 rm -f core conftest.err conftest.$ac_objext \
17173 conftest$ac_exeext conftest.$ac_ext
17174 LDFLAGS=$save_LDFLAGS
17175 libdir=$save_libdir
17179 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17181 # This implies no fast_install, which is unacceptable.
17182 # Some rework will be needed to allow for fast_install
17183 # before this can be enabled.
17184 hardcode_into_libs=yes
17186 # Add ABI-specific directories to the system library path.
17187 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
17189 # Append ld.so.conf contents to the search path
17190 if test -f /etc/ld.so.conf; then
17191 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;s/"//g;/^$/d' | tr '\n' ' '`
17192 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17196 # We used to test for /lib/ld.so.1 and disable shared libraries on
17197 # powerpc, because MkLinux only supported shared libraries with the
17198 # GNU dynamic linker. Since this was broken with cross compilers,
17199 # most powerpc-linux boxes support dynamic linking these days and
17200 # people can always --disable-shared, the test was removed, and we
17201 # assume the GNU/Linux dynamic linker is in use.
17202 dynamic_linker='GNU/Linux ld.so'
17209 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17211 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17212 dynamic_linker='NetBSD (a.out) ld.so'
17214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17215 soname_spec='${libname}${release}${shared_ext}$major'
17216 dynamic_linker='NetBSD ld.elf_so'
17218 shlibpath_var=LD_LIBRARY_PATH
17219 shlibpath_overrides_runpath=yes
17220 hardcode_into_libs=yes
17225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17226 shlibpath_var=LD_LIBRARY_PATH
17227 shlibpath_overrides_runpath=yes
17234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17235 soname_spec='${libname}${release}${shared_ext}$major'
17236 shlibpath_var=LD_LIBRARY_PATH
17237 shlibpath_overrides_runpath=no
17238 hardcode_into_libs=yes
17239 dynamic_linker='ldqnx.so'
17244 sys_lib_dlsearch_path_spec="/usr/lib"
17246 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17248 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17249 *) need_version=no ;;
17251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17252 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17253 shlibpath_var=LD_LIBRARY_PATH
17254 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17256 openbsd2.[89] | openbsd2.[89].*)
17257 shlibpath_overrides_runpath=no
17260 shlibpath_overrides_runpath=yes
17264 shlibpath_overrides_runpath=yes
17269 libname_spec='$name'
17272 library_names_spec='$libname${shared_ext} $libname.a'
17273 dynamic_linker='OS/2 ld.exe'
17274 shlibpath_var=LIBPATH
17277 osf3* | osf4* | osf5*)
17281 soname_spec='${libname}${release}${shared_ext}$major'
17282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17283 shlibpath_var=LD_LIBRARY_PATH
17284 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17285 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17297 soname_spec='${libname}${release}${shared_ext}$major'
17298 shlibpath_var=LD_LIBRARY_PATH
17299 shlibpath_overrides_runpath=yes
17300 hardcode_into_libs=yes
17301 # ldd complains unless libraries are executable
17302 postinstall_cmds='chmod +x $lib'
17307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17308 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17309 shlibpath_var=LD_LIBRARY_PATH
17310 shlibpath_overrides_runpath=yes
17311 if test "$with_gnu_ld" = yes; then
17319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17320 soname_spec='${libname}${release}${shared_ext}$major'
17321 shlibpath_var=LD_LIBRARY_PATH
17322 case $host_vendor in
17324 shlibpath_overrides_runpath=no
17326 runpath_var=LD_RUN_PATH
17334 shlibpath_overrides_runpath=no
17335 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17341 if test -d /usr/nec ;then
17343 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17344 soname_spec='$libname${shared_ext}.$major'
17345 shlibpath_var=LD_LIBRARY_PATH
17349 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17350 version_type=freebsd-elf
17353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17354 soname_spec='${libname}${release}${shared_ext}$major'
17355 shlibpath_var=LD_LIBRARY_PATH
17356 shlibpath_overrides_runpath=yes
17357 hardcode_into_libs=yes
17358 if test "$with_gnu_ld" = yes; then
17359 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17361 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17364 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17368 sys_lib_dlsearch_path_spec='/usr/lib'
17372 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17377 shlibpath_var=LD_LIBRARY_PATH
17378 shlibpath_overrides_runpath=no
17379 hardcode_into_libs=yes
17384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17385 soname_spec='${libname}${release}${shared_ext}$major'
17386 shlibpath_var=LD_LIBRARY_PATH
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17394 $as_echo "$dynamic_linker" >&6; }
17395 test "$dynamic_linker" = no && can_build_shared=no
17397 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17398 if test "$GCC" = yes; then
17399 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17402 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17403 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17405 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17406 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17447 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17448 hardcode_action_CXX=
17449 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17450 test -n "$runpath_var_CXX" ||
17451 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17453 # We can hardcode non-existent directories.
17454 if test "$hardcode_direct_CXX" != no &&
17455 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17456 # have to relink, otherwise we might link with an installed library
17457 # when we should be linking with a yet-to-be-installed one
17458 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17459 test "$hardcode_minus_L_CXX" != no; then
17460 # Linking always hardcodes the temporary library directory.
17461 hardcode_action_CXX=relink
17463 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17464 hardcode_action_CXX=immediate
17467 # We cannot hardcode anything, or else we can only hardcode existing
17469 hardcode_action_CXX=unsupported
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17472 $as_echo "$hardcode_action_CXX" >&6; }
17474 if test "$hardcode_action_CXX" = relink ||
17475 test "$inherit_rpath_CXX" = yes; then
17476 # Fast installation is not supported
17477 enable_fast_install=no
17478 elif test "$shlibpath_overrides_runpath" = yes ||
17479 test "$enable_shared" = no; then
17480 # Fast installation is not necessary
17481 enable_fast_install=needless
17490 fi # test -n "$compiler"
17493 CFLAGS=$lt_save_CFLAGS
17497 with_gnu_ld=$lt_save_with_gnu_ld
17498 lt_cv_path_LDCXX=$lt_cv_path_LD
17499 lt_cv_path_LD=$lt_save_path_LD
17500 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17501 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17502 fi # test "$_lt_caught_CXX_error" != yes
17505 ac_cpp='$CPP $CPPFLAGS'
17506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17522 ac_config_commands="$ac_config_commands libtool"
17527 # Only expand once:
17530 # use dolt to speedup the build
17533 # dolt, a replacement for libtool
17534 # Josh Triplett <josh@freedesktop.org>
17535 # Extract the first word of "bash", so it can be a program name with args.
17536 set dummy bash; ac_word=$2
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17538 $as_echo_n "checking for $ac_word... " >&6; }
17539 if ${ac_cv_path_DOLT_BASH+:} false; then :
17540 $as_echo_n "(cached) " >&6
17544 ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path.
17547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17548 for as_dir in $PATH
17551 test -z "$as_dir" && as_dir=.
17552 for ac_exec_ext in '' $ac_executable_extensions; do
17553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17554 ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext"
17555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17565 DOLT_BASH=$ac_cv_path_DOLT_BASH
17566 if test -n "$DOLT_BASH"; then
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOLT_BASH" >&5
17568 $as_echo "$DOLT_BASH" >&6; }
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17571 $as_echo "no" >&6; }
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if dolt supports this host" >&5
17576 $as_echo_n "checking if dolt supports this host... " >&6; }
17578 if test x$DOLT_BASH = x; then
17581 if test x$GCC != xyes; then
17585 i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
17586 |amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
17587 pic_options='-fPIC'
17589 i?86-apple-darwin*)
17590 pic_options='-fno-common'
17593 pic_options='-DDLL_EXPORT'
17599 if test x$dolt_supported = xno ; then
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, falling back to libtool" >&5
17601 $as_echo "no, falling back to libtool" >&6; }
17602 LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
17603 LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, replacing libtool" >&5
17606 $as_echo "yes, replacing libtool" >&6; }
17608 cat <<__DOLTCOMPILE__EOF__ >doltcompile
17610 __DOLTCOMPILE__EOF__
17611 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17613 for ((arg=0; arg<${#args[@]}; arg++)) ; do
17614 if test x"${args[$arg]}" = x-o ; then
17619 if test x$objarg = x ; then
17620 echo 'Error: no -o on compiler command line' 1>&2
17623 lo="${args[$objarg]}"
17625 if test x"$lo" = x"$obj" ; then
17626 echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
17629 objbase="${obj##*/}"
17630 __DOLTCOMPILE__EOF__
17632 if test x$enable_shared = xyes; then
17633 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17634 libobjdir="${obj%$objbase}.libs"
17635 if test ! -d "$libobjdir" ; then
17636 mkdir_out="$(mkdir "$libobjdir" 2>&1)"
17638 if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
17639 echo "$mkdir_out" 1>&2
17643 pic_object="$libobjdir/$objbase.o"
17644 args[$objarg]="$pic_object"
17645 __DOLTCOMPILE__EOF__
17646 cat <<__DOLTCOMPILE__EOF__ >>doltcompile
17647 "\${args[@]}" $pic_options -DPIC || exit \$?
17648 __DOLTCOMPILE__EOF__
17651 if test x$enable_static = xyes; then
17652 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17653 non_pic_object="$obj.o"
17654 args[$objarg]="$non_pic_object"
17655 __DOLTCOMPILE__EOF__
17656 if test x$enable_shared = xyes; then
17657 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17658 "${args[@]}" >/dev/null 2>&1 || exit $?
17659 __DOLTCOMPILE__EOF__
17661 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17662 "${args[@]}" || exit $?
17663 __DOLTCOMPILE__EOF__
17667 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17669 echo "# $lo - a libtool object file"
17670 echo "# Generated by doltcompile, not libtool"
17671 __DOLTCOMPILE__EOF__
17673 if test x$enable_shared = xyes; then
17674 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17675 echo "pic_object='.libs/${objbase}.o'"
17676 __DOLTCOMPILE__EOF__
17678 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17679 echo pic_object=none
17680 __DOLTCOMPILE__EOF__
17683 if test x$enable_static = xyes; then
17684 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17685 echo "non_pic_object='${objbase}.o'"
17686 __DOLTCOMPILE__EOF__
17688 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17689 echo non_pic_object=none
17690 __DOLTCOMPILE__EOF__
17693 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17695 __DOLTCOMPILE__EOF__
17697 chmod +x doltcompile
17698 LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
17699 LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
17701 cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
17703 __DOLTLIBTOOL__EOF__
17704 cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
17705 top_builddir_slash="${0%%doltlibtool}"
17706 : ${top_builddir_slash:=./}
17710 for arg in "$@"; do
17713 --mode=compile) modeok=true ;;
17714 --tag=CC|--tag=CXX) tagok=true ;;
17715 *) args[${#args[@]}]="$arg" ;;
17718 if $modeok && $tagok ; then
17719 . ${top_builddir_slash}doltcompile "${args[@]}"
17721 exec ${top_builddir_slash}libtool "$@"
17723 __DOLTLIBTOOL__EOF__
17725 chmod +x doltlibtool
17726 LIBTOOL='$(top_builddir)/doltlibtool'
17733 # Extract the first word of "flex", so it can be a program name with args.
17734 set dummy flex; ac_word=$2
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17736 $as_echo_n "checking for $ac_word... " >&6; }
17737 if ${ac_cv_path_FLEX+:} false; then :
17738 $as_echo_n "(cached) " >&6
17742 ac_cv_path_FLEX="$FLEX" # Let the user override the test with a path.
17745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17746 for as_dir in $PATH
17749 test -z "$as_dir" && as_dir=.
17750 for ac_exec_ext in '' $ac_executable_extensions; do
17751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17752 ac_cv_path_FLEX="$as_dir/$ac_word$ac_exec_ext"
17753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17763 FLEX=$ac_cv_path_FLEX
17764 if test -n "$FLEX"; then
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17766 $as_echo "$FLEX" >&6; }
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17769 $as_echo "no" >&6; }
17773 if test -z "$FLEX"; then
17774 as_fn_error $? "You need the 'flex' lexer generator to compile WebKit" "$LINENO" 5
17776 FLEX_VERSION=`$FLEX --version | sed 's,.*\ \(0-9*\.0-9*\.0-9*\)$,\1,'`
17778 for ac_prog in gawk mawk nawk awk
17780 # Extract the first word of "$ac_prog", so it can be a program name with args.
17781 set dummy $ac_prog; ac_word=$2
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17783 $as_echo_n "checking for $ac_word... " >&6; }
17784 if ${ac_cv_prog_AWK+:} false; then :
17785 $as_echo_n "(cached) " >&6
17787 if test -n "$AWK"; then
17788 ac_cv_prog_AWK="$AWK" # Let the user override the test.
17790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17791 for as_dir in $PATH
17794 test -z "$as_dir" && as_dir=.
17795 for ac_exec_ext in '' $ac_executable_extensions; do
17796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17797 ac_cv_prog_AWK="$ac_prog"
17798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17807 AWK=$ac_cv_prog_AWK
17808 if test -n "$AWK"; then
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
17810 $as_echo "$AWK" >&6; }
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17813 $as_echo "no" >&6; }
17817 test -n "$AWK" && break
17821 # Used to indicate true or false condition
17822 ax_compare_version=false
17824 # Convert the two version strings to be compared into a format that
17825 # allows a simple string comparison. The end result is that a version
17826 # string of the form 1.12.5-r617 will be converted to the form
17827 # 0001001200050617. In other words, each number is zero padded to four
17828 # digits, and non digits are removed.
17830 ax_compare_version_A=`echo "2.5.33" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17831 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17832 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17833 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17837 ax_compare_version_B=`echo "$FLEX_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17838 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17839 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17840 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17844 ax_compare_version=`echo "x$ax_compare_version_A
17845 x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/false/;s/x${ax_compare_version_B}/true/;1q"`
17849 if test "$ax_compare_version" = "true" ; then
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need at least version 2.5.33 of the 'flex' lexer generator to compile WebKit correctly" >&5
17851 $as_echo "$as_me: WARNING: You need at least version 2.5.33 of the 'flex' lexer generator to compile WebKit correctly" >&2;}
17856 # Extract the first word of "gperf", so it can be a program name with args.
17857 set dummy gperf; ac_word=$2
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17859 $as_echo_n "checking for $ac_word... " >&6; }
17860 if ${ac_cv_path_GPERF+:} false; then :
17861 $as_echo_n "(cached) " >&6
17865 ac_cv_path_GPERF="$GPERF" # Let the user override the test with a path.
17868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17869 for as_dir in $PATH
17872 test -z "$as_dir" && as_dir=.
17873 for ac_exec_ext in '' $ac_executable_extensions; do
17874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17875 ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
17876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17886 GPERF=$ac_cv_path_GPERF
17887 if test -n "$GPERF"; then
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17889 $as_echo "$GPERF" >&6; }
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17892 $as_echo "no" >&6; }
17896 if test -z "$GPERF"; then
17897 as_fn_error $? "You need the 'gperf' hash function generator to compile WebKit" "$LINENO" 5
17900 # Disable C++0x compat warnings for GCC >= 4.6.0 until we build
17901 # cleanly with that.
17902 if test "$CXX" = "g++"; then
17903 CXX_VERSION=`$CXX -dumpversion`
17905 for ac_prog in gawk mawk nawk awk
17907 # Extract the first word of "$ac_prog", so it can be a program name with args.
17908 set dummy $ac_prog; ac_word=$2
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17910 $as_echo_n "checking for $ac_word... " >&6; }
17911 if ${ac_cv_prog_AWK+:} false; then :
17912 $as_echo_n "(cached) " >&6
17914 if test -n "$AWK"; then
17915 ac_cv_prog_AWK="$AWK" # Let the user override the test.
17917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17918 for as_dir in $PATH
17921 test -z "$as_dir" && as_dir=.
17922 for ac_exec_ext in '' $ac_executable_extensions; do
17923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17924 ac_cv_prog_AWK="$ac_prog"
17925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17934 AWK=$ac_cv_prog_AWK
17935 if test -n "$AWK"; then
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
17937 $as_echo "$AWK" >&6; }
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17940 $as_echo "no" >&6; }
17944 test -n "$AWK" && break
17948 # Used to indicate true or false condition
17949 ax_compare_version=false
17951 # Convert the two version strings to be compared into a format that
17952 # allows a simple string comparison. The end result is that a version
17953 # string of the form 1.12.5-r617 will be converted to the form
17954 # 0001001200050617. In other words, each number is zero padded to four
17955 # digits, and non digits are removed.
17957 ax_compare_version_A=`echo "$CXX_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17958 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17959 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17960 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17964 ax_compare_version_B=`echo "4.6.0" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17965 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17966 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17967 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17971 ax_compare_version=`echo "x$ax_compare_version_A
17972 x$ax_compare_version_B" | sed 's/^ *//' | sort -r | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
17976 if test "$ax_compare_version" = "true" ; then
17977 CXXFLAGS="$CXXFLAGS -Wno-c++0x-compat"
17982 # pthread (not needed on Windows)
17983 if test "$os_win32" = "no"; then
17984 for ac_header in pthread.h
17986 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
17987 if test "x$ac_cv_header_pthread_h" = xyes; then :
17988 cat >>confdefs.h <<_ACEOF
17989 #define HAVE_PTHREAD_H 1
17992 $as_echo "#define HAVE_PTHREAD_H 1" >>confdefs.h
17995 as_fn_error $? "pthread support is required to build WebKit" "$LINENO" 5
18002 # check for libjpeg the way Gtk does it.
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
18004 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
18005 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
18006 $as_echo_n "(cached) " >&6
18008 ac_check_lib_save_LIBS=$LIBS
18009 LIBS="-ljpeg $LIBS"
18010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h. */
18013 /* Override any GCC internal prototype to avoid an error.
18014 Use char because int might match the return type of a GCC
18015 builtin and then its argument prototype would still apply. */
18019 char jpeg_destroy_decompress ();
18023 return jpeg_destroy_decompress ();
18028 if ac_fn_c_try_link "$LINENO"; then :
18029 ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
18031 ac_cv_lib_jpeg_jpeg_destroy_decompress=no
18033 rm -f core conftest.err conftest.$ac_objext \
18034 conftest$ac_exeext conftest.$ac_ext
18035 LIBS=$ac_check_lib_save_LIBS
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
18038 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
18039 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
18043 as_fn_error $? "JPEG library (libjpeg) not found" "$LINENO" 5
18046 if test "$jpeg_ok" = yes; then
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib" >&5
18048 $as_echo_n "checking for jpeglib... " >&6; }
18049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18054 #undef HAVE_STDLIB_H
18055 #include <jpeglib.h>
18057 if ac_fn_c_try_cpp "$LINENO"; then :
18062 rm -f conftest.err conftest.i conftest.$ac_ext
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jpeg_ok" >&5
18064 $as_echo "$jpeg_ok" >&6; }
18065 if test "$jpeg_ok" = yes; then
18067 # should we check for progressive JPEG like GTK+ as well?
18069 as_fn_error $? "JPEG library (libjpeg) not found" "$LINENO" 5
18074 # Check for libpng the way Gtk+ does it
18075 for l in libpng libpng14 libpng12; do
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $l" >&5
18077 $as_echo_n "checking for $l... " >&6; }
18078 if $PKG_CONFIG --exists $l ; then
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18080 $as_echo "yes" >&6; }
18081 PNG_LIBS=`$PKG_CONFIG --libs $l`
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18086 $as_echo "no" >&6; }
18090 if test "$png_ok" != yes; then
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_info in -lpng" >&5
18092 $as_echo_n "checking for png_read_info in -lpng... " >&6; }
18093 if ${ac_cv_lib_png_png_read_info+:} false; then :
18094 $as_echo_n "(cached) " >&6
18096 ac_check_lib_save_LIBS=$LIBS
18097 LIBS="-lpng -lz -lm $LIBS"
18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18101 /* Override any GCC internal prototype to avoid an error.
18102 Use char because int might match the return type of a GCC
18103 builtin and then its argument prototype would still apply. */
18107 char png_read_info ();
18111 return png_read_info ();
18116 if ac_fn_c_try_link "$LINENO"; then :
18117 ac_cv_lib_png_png_read_info=yes
18119 ac_cv_lib_png_png_read_info=no
18121 rm -f core conftest.err conftest.$ac_objext \
18122 conftest$ac_exeext conftest.$ac_ext
18123 LIBS=$ac_check_lib_save_LIBS
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_info" >&5
18126 $as_echo "$ac_cv_lib_png_png_read_info" >&6; }
18127 if test "x$ac_cv_lib_png_png_read_info" = xyes; then :
18128 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
18129 if test "x$ac_cv_header_png_h" = xyes; then :
18137 as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18140 if test "$png_ok" = yes; then
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_structp in png.h" >&5
18142 $as_echo_n "checking for png_structp in png.h... " >&6; }
18143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18144 /* end confdefs.h. */
18149 png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;
18154 if ac_fn_c_try_compile "$LINENO"; then :
18159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_ok" >&5
18161 $as_echo "$png_ok" >&6; }
18162 if test "$png_ok" = yes; then
18163 PNG_LIBS='-lpng -lz'
18165 as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18168 as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18174 if test "$os_win32" = "yes"; then
18176 SHLWAPI_LIBS=-lshlwapi
18184 # determine the GTK+ version to use
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the GTK+ version to use" >&5
18186 $as_echo_n "checking the GTK+ version to use... " >&6; }
18188 # Check whether --with-gtk was given.
18189 if test "${with_gtk+set}" = set; then :
18190 withval=$with_gtk; case "$with_gtk" in
18192 *) as_fn_error $? "invalid GTK+ version specified" "$LINENO" 5 ;;
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5
18199 $as_echo "$with_gtk" >&6; }
18201 GTK2_REQUIRED_VERSION=2.10
18202 GAIL2_REQUIRED_VERSION=1.8
18203 GTK3_REQUIRED_VERSION=3.0
18204 GAIL3_REQUIRED_VERSION=3.0
18206 case "$with_gtk" in
18207 2.0) GTK_REQUIRED_VERSION=$GTK2_REQUIRED_VERSION
18208 GTK_API_VERSION=2.0
18209 WEBKITGTK_API_MAJOR_VERSION=1
18210 WEBKITGTK_API_MINOR_VERSION=0
18211 WEBKITGTK_API_VERSION=1.0
18212 WEBKITGTK_PC_NAME=webkit
18214 GAIL_REQUIRED_VERSION=$GAIL2_REQUIRED_VERSION
18216 3.0) GTK_REQUIRED_VERSION=$GTK3_REQUIRED_VERSION
18217 GTK_API_VERSION=3.0
18218 WEBKITGTK_API_MAJOR_VERSION=3
18219 WEBKITGTK_API_MINOR_VERSION=0
18220 WEBKITGTK_API_VERSION=3.0
18221 WEBKITGTK_PC_NAME=webkitgtk
18222 GAIL_PC_NAME=gail-3.0
18223 GAIL_REQUIRED_VERSION=$GAIL3_REQUIRED_VERSION
18232 if test "$GTK_API_VERSION" = "2.0"; then
18233 GTK_API_VERSION_2_TRUE=
18234 GTK_API_VERSION_2_FALSE='#'
18236 GTK_API_VERSION_2_TRUE='#'
18237 GTK_API_VERSION_2_FALSE=
18241 # determine the GDK/GTK+ target
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the target windowing system" >&5
18243 $as_echo_n "checking the target windowing system... " >&6; }
18245 # Check whether --with-target was given.
18246 if test "${with_target+set}" = set; then :
18247 withval=$with_target;
18253 case "$with_target" in
18254 x11|win32|quartz|directfb) ;;
18255 *) as_fn_error $? "Invalid target: must be x11, quartz, win32, or directfb." "$LINENO" 5 ;;
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_target" >&5
18259 $as_echo "$with_target" >&6; }
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Hildon UI extensions" >&5
18262 $as_echo_n "checking for Hildon UI extensions... " >&6; }
18264 # Check whether --with-hildon was given.
18265 if test "${with_hildon+set}" = set; then :
18266 withval=$with_hildon;
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_hildon" >&5
18272 $as_echo "$with_hildon" >&6; }
18274 if test "$with_hildon" = "yes"; then
18275 HILDON_CPPFLAGS="-DMAEMO_CHANGES"
18282 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18283 if test -n "$ac_tool_prefix"; then
18284 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18285 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18287 $as_echo_n "checking for $ac_word... " >&6; }
18288 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18289 $as_echo_n "(cached) " >&6
18291 case $PKG_CONFIG in
18293 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18297 for as_dir in $PATH
18300 test -z "$as_dir" && as_dir=.
18301 for ac_exec_ext in '' $ac_executable_extensions; do
18302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18303 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18314 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18315 if test -n "$PKG_CONFIG"; then
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18317 $as_echo "$PKG_CONFIG" >&6; }
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18320 $as_echo "no" >&6; }
18325 if test -z "$ac_cv_path_PKG_CONFIG"; then
18326 ac_pt_PKG_CONFIG=$PKG_CONFIG
18327 # Extract the first word of "pkg-config", so it can be a program name with args.
18328 set dummy pkg-config; ac_word=$2
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18330 $as_echo_n "checking for $ac_word... " >&6; }
18331 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18332 $as_echo_n "(cached) " >&6
18334 case $ac_pt_PKG_CONFIG in
18336 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18340 for as_dir in $PATH
18343 test -z "$as_dir" && as_dir=.
18344 for ac_exec_ext in '' $ac_executable_extensions; do
18345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18346 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18357 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18358 if test -n "$ac_pt_PKG_CONFIG"; then
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18360 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18363 $as_echo "no" >&6; }
18366 if test "x$ac_pt_PKG_CONFIG" = x; then
18369 case $cross_compiling:$ac_tool_warned in
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18373 ac_tool_warned=yes ;;
18375 PKG_CONFIG=$ac_pt_PKG_CONFIG
18378 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18382 if test -n "$PKG_CONFIG"; then
18383 _pkg_min_version=0.9.0
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18385 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18386 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18388 $as_echo "yes" >&6; }
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18391 $as_echo "no" >&6; }
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
18398 $as_echo_n "checking for HILDON... " >&6; }
18400 if test -n "$HILDON_CFLAGS"; then
18401 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
18402 elif test -n "$PKG_CONFIG"; then
18403 if test -n "$PKG_CONFIG" && \
18404 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
18405 ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
18407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18408 test $ac_status = 0; }; then
18409 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
18416 if test -n "$HILDON_LIBS"; then
18417 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
18418 elif test -n "$PKG_CONFIG"; then
18419 if test -n "$PKG_CONFIG" && \
18420 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
18421 ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
18423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18424 test $ac_status = 0; }; then
18425 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
18435 if test $pkg_failed = yes; then
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18437 $as_echo "no" >&6; }
18439 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18440 _pkg_short_errors_supported=yes
18442 _pkg_short_errors_supported=no
18444 if test $_pkg_short_errors_supported = yes; then
18445 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "hildon-1" 2>&1`
18447 HILDON_PKG_ERRORS=`$PKG_CONFIG --print-errors "hildon-1" 2>&1`
18449 # Put the nasty error message in config.log where it belongs
18450 echo "$HILDON_PKG_ERRORS" >&5
18452 as_fn_error $? "Package requirements (hildon-1) were not met:
18456 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18457 installed software in a non-standard prefix.
18459 Alternatively, you may set the environment variables HILDON_CFLAGS
18460 and HILDON_LIBS to avoid the need to call pkg-config.
18461 See the pkg-config man page for more details." "$LINENO" 5
18463 elif test $pkg_failed = untried; then
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18465 $as_echo "no" >&6; }
18466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18468 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18469 is in your PATH or set the PKG_CONFIG environment variable to the full
18470 path to pkg-config.
18472 Alternatively, you may set the environment variables HILDON_CFLAGS
18473 and HILDON_LIBS to avoid the need to call pkg-config.
18474 See the pkg-config man page for more details.
18476 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18477 See \`config.log' for more details" "$LINENO" 5; }
18480 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
18481 HILDON_LIBS=$pkg_cv_HILDON_LIBS
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18483 $as_echo "yes" >&6; }
18491 # minimum base dependencies
18492 LIBSOUP_REQUIRED_VERSION=2.33.6
18493 CAIRO_REQUIRED_VERSION=1.10
18494 FONTCONFIG_REQUIRED_VERSION=2.4
18495 FREETYPE2_REQUIRED_VERSION=9.0
18496 LIBXML_REQUIRED_VERSION=2.6
18498 # minimum GTK+ base dependencies
18499 PANGO_REQUIRED_VERSION=1.12
18502 LIBXSLT_REQUIRED_VERSION=1.1.7
18503 SQLITE_REQUIRED_VERSION=3.0
18504 GSTREAMER_REQUIRED_VERSION=0.10
18505 GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=0.10.30
18506 ENCHANT_REQUIRED_VERSION=0.22
18508 # Available modules
18510 # glib - glib and includes gthread
18511 # unicode - check and identify which unicode backend to use
18513 # todo: webcore gtk
18514 # Version requirements
18515 GLIB_REQUIRED_VERSION=2.27.90
18516 # Check whether --enable-glibtest was given.
18517 if test "${enable_glibtest+set}" = set; then :
18518 enableval=$enable_glibtest;
18520 enable_glibtest=yes
18524 pkg_config_args=glib-2.0
18529 pkg_config_args="$pkg_config_args gmodule-2.0"
18532 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
18535 pkg_config_args="$pkg_config_args gobject-2.0"
18538 pkg_config_args="$pkg_config_args gthread-2.0"
18541 pkg_config_args="$pkg_config_args $module-2.0"
18552 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18553 if test -n "$ac_tool_prefix"; then
18554 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18555 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18557 $as_echo_n "checking for $ac_word... " >&6; }
18558 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18559 $as_echo_n "(cached) " >&6
18561 case $PKG_CONFIG in
18563 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18567 for as_dir in $PATH
18570 test -z "$as_dir" && as_dir=.
18571 for ac_exec_ext in '' $ac_executable_extensions; do
18572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18573 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18584 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18585 if test -n "$PKG_CONFIG"; then
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18587 $as_echo "$PKG_CONFIG" >&6; }
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18590 $as_echo "no" >&6; }
18595 if test -z "$ac_cv_path_PKG_CONFIG"; then
18596 ac_pt_PKG_CONFIG=$PKG_CONFIG
18597 # Extract the first word of "pkg-config", so it can be a program name with args.
18598 set dummy pkg-config; ac_word=$2
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18600 $as_echo_n "checking for $ac_word... " >&6; }
18601 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18602 $as_echo_n "(cached) " >&6
18604 case $ac_pt_PKG_CONFIG in
18606 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18610 for as_dir in $PATH
18613 test -z "$as_dir" && as_dir=.
18614 for ac_exec_ext in '' $ac_executable_extensions; do
18615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18616 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18627 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18628 if test -n "$ac_pt_PKG_CONFIG"; then
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18630 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18633 $as_echo "no" >&6; }
18636 if test "x$ac_pt_PKG_CONFIG" = x; then
18639 case $cross_compiling:$ac_tool_warned in
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18643 ac_tool_warned=yes ;;
18645 PKG_CONFIG=$ac_pt_PKG_CONFIG
18648 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18652 if test -n "$PKG_CONFIG"; then
18653 _pkg_min_version=0.16
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18655 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18656 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18658 $as_echo "yes" >&6; }
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18661 $as_echo "no" >&6; }
18668 if test "x$PKG_CONFIG" = x ; then
18673 min_glib_version=$GLIB_REQUIRED_VERSION
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
18675 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
18677 if test x$PKG_CONFIG != xno ; then
18678 ## don't try to run the test against uninstalled libtool libs
18679 if $PKG_CONFIG --uninstalled $pkg_config_args; then
18680 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
18684 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
18691 if test x"$no_glib" = x ; then
18692 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
18693 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
18694 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
18696 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
18697 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
18698 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
18699 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
18700 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
18701 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
18702 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
18703 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
18704 if test "x$enable_glibtest" = "xyes" ; then
18705 ac_save_CFLAGS="$CFLAGS"
18706 ac_save_LIBS="$LIBS"
18707 CFLAGS="$CFLAGS $GLIB_CFLAGS"
18708 LIBS="$GLIB_LIBS $LIBS"
18709 rm -f conf.glibtest
18710 if test "$cross_compiling" = yes; then :
18711 echo $ac_n "cross compiling; assumed OK... $ac_c"
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18718 #include <stdlib.h>
18723 unsigned int major, minor, micro;
18726 fclose (fopen ("conf.glibtest", "w"));
18728 /* HP/UX 9 (%@#!) writes to sscanf strings */
18729 tmp_version = g_strdup("$min_glib_version");
18730 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
18731 printf("%s, bad version string\n", "$min_glib_version");
18735 if ((glib_major_version != $glib_config_major_version) ||
18736 (glib_minor_version != $glib_config_minor_version) ||
18737 (glib_micro_version != $glib_config_micro_version))
18739 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
18740 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
18741 glib_major_version, glib_minor_version, glib_micro_version);
18742 printf ("*** was found! If pkg-config was correct, then it is best\n");
18743 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
18744 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
18745 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
18746 printf("*** required on your system.\n");
18747 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
18748 printf("*** to point to the correct configuration files\n");
18750 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
18751 (glib_minor_version != GLIB_MINOR_VERSION) ||
18752 (glib_micro_version != GLIB_MICRO_VERSION))
18754 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
18755 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
18756 printf("*** library (version %d.%d.%d)\n",
18757 glib_major_version, glib_minor_version, glib_micro_version);
18761 if ((glib_major_version > major) ||
18762 ((glib_major_version == major) && (glib_minor_version > minor)) ||
18763 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
18769 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
18770 glib_major_version, glib_minor_version, glib_micro_version);
18771 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
18772 major, minor, micro);
18773 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
18775 printf("*** If you have already installed a sufficiently new version, this error\n");
18776 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
18777 printf("*** being found. The easiest way to fix this is to remove the old version\n");
18778 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
18779 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
18780 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
18781 printf("*** so that the correct libraries are found at run-time))\n");
18788 if ac_fn_c_try_run "$LINENO"; then :
18793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18794 conftest.$ac_objext conftest.beam conftest.$ac_ext
18797 CFLAGS="$ac_save_CFLAGS"
18798 LIBS="$ac_save_LIBS"
18801 if test "x$no_glib" = x ; then
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
18803 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18807 $as_echo "no" >&6; }
18808 if test "$PKG_CONFIG" = "no" ; then
18809 echo "*** A new enough version of pkg-config was not found."
18810 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
18812 if test -f conf.glibtest ; then
18815 echo "*** Could not run GLIB test program, checking why..."
18816 ac_save_CFLAGS="$CFLAGS"
18817 ac_save_LIBS="$LIBS"
18818 CFLAGS="$CFLAGS $GLIB_CFLAGS"
18819 LIBS="$LIBS $GLIB_LIBS"
18820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18829 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
18834 if ac_fn_c_try_link "$LINENO"; then :
18835 echo "*** The test program compiled, but did not run. This usually means"
18836 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
18837 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
18838 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
18839 echo "*** to the installed location Also, make sure you have run ldconfig if that"
18840 echo "*** is required on your system"
18842 echo "*** If you have an old version installed, it is best to remove it, although"
18843 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
18845 echo "*** The test program failed to compile or link. See the file config.log for the"
18846 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
18848 rm -f core conftest.err conftest.$ac_objext \
18849 conftest$ac_exeext conftest.$ac_ext
18850 CFLAGS="$ac_save_CFLAGS"
18851 LIBS="$ac_save_LIBS"
18866 rm -f conf.glibtest
18868 if test -z "$GLIB_GENMARSHAL" || test -z "$GLIB_MKENUMS"; then
18869 as_fn_error $? "You need the GLib dev tools in your path" "$LINENO" 5
18873 # Check whether --enable-schemas-compile was given.
18874 if test "${enable_schemas_compile+set}" = set; then :
18875 enableval=$enable_schemas_compile; case ${enableval} in
18876 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
18877 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
18878 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
18889 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18890 if test -n "$ac_tool_prefix"; then
18891 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18892 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18894 $as_echo_n "checking for $ac_word... " >&6; }
18895 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18896 $as_echo_n "(cached) " >&6
18898 case $PKG_CONFIG in
18900 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18904 for as_dir in $PATH
18907 test -z "$as_dir" && as_dir=.
18908 for ac_exec_ext in '' $ac_executable_extensions; do
18909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18910 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18921 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18922 if test -n "$PKG_CONFIG"; then
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18924 $as_echo "$PKG_CONFIG" >&6; }
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18927 $as_echo "no" >&6; }
18932 if test -z "$ac_cv_path_PKG_CONFIG"; then
18933 ac_pt_PKG_CONFIG=$PKG_CONFIG
18934 # Extract the first word of "pkg-config", so it can be a program name with args.
18935 set dummy pkg-config; ac_word=$2
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18937 $as_echo_n "checking for $ac_word... " >&6; }
18938 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18939 $as_echo_n "(cached) " >&6
18941 case $ac_pt_PKG_CONFIG in
18943 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18947 for as_dir in $PATH
18950 test -z "$as_dir" && as_dir=.
18951 for ac_exec_ext in '' $ac_executable_extensions; do
18952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18953 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18964 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18965 if test -n "$ac_pt_PKG_CONFIG"; then
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18967 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18970 $as_echo "no" >&6; }
18973 if test "x$ac_pt_PKG_CONFIG" = x; then
18976 case $cross_compiling:$ac_tool_warned in
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18980 ac_tool_warned=yes ;;
18982 PKG_CONFIG=$ac_pt_PKG_CONFIG
18985 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18989 if test -n "$PKG_CONFIG"; then
18990 _pkg_min_version=0.16
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18992 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18993 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18995 $as_echo "yes" >&6; }
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18998 $as_echo "no" >&6; }
19002 gsettingsschemadir=${datadir}/glib-2.0/schemas
19004 if test x$cross_compiling != xyes; then
19005 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
19007 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
19008 set dummy glib-compile-schemas; ac_word=$2
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19010 $as_echo_n "checking for $ac_word... " >&6; }
19011 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
19012 $as_echo_n "(cached) " >&6
19014 case $GLIB_COMPILE_SCHEMAS in
19016 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
19019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19020 for as_dir in $PATH
19023 test -z "$as_dir" && as_dir=.
19024 for ac_exec_ext in '' $ac_executable_extensions; do
19025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19026 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
19027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19037 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
19038 if test -n "$GLIB_COMPILE_SCHEMAS"; then
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
19040 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19043 $as_echo "no" >&6; }
19049 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
19050 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
19056 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
19058 mostlyclean-am: clean-gsettings-schemas
19060 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
19062 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
19063 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
19065 all-am: $(gsettings_SCHEMAS:.xml=.valid)
19066 uninstall-am: uninstall-gsettings-schemas
19067 install-data-am: install-gsettings-schemas
19069 .SECONDARY: $(gsettings_SCHEMAS)
19071 gsettings__base_list = \
19072 sed "$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g" | \
19073 sed "$$!N;$$!N;$$!N;$$!N;s/\n/ /g"
19075 install-gsettings-schemas: $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
19077 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"
19078 @list='\''$(gsettings__enum_file) $(gsettings_SCHEMAS)'\''; test -n "$(gsettingsschemadir)" || list=; \
19079 for p in $$list; do \
19080 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
19082 done | $(gsettings__base_list) | \
19083 while read files; do \
19084 echo " $(INSTALL_DATA) $$files '\''$(DESTDIR)$(gsettingsschemadir)'\''"; \
19085 $(INSTALL_DATA) $$files "$(DESTDIR)$(gsettingsschemadir)" || exit $$?; \
19087 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
19089 uninstall-gsettings-schemas:
19090 @$(NORMAL_UNINSTALL)
19091 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
19092 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
19093 test -n "$$files" || exit 0; \
19094 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
19095 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
19096 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
19098 clean-gsettings-schemas:
19099 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
19101 ifdef gsettings_ENUM_NAMESPACE
19102 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
19103 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $(gsettings_ENUM_FILES) > $@.tmp && mv $@.tmp $@
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which Unicode backend to use" >&5
19114 $as_echo_n "checking which Unicode backend to use... " >&6; }
19116 # Check whether --with-unicode_backend was given.
19117 if test "${with_unicode_backend+set}" = set; then :
19118 withval=$with_unicode_backend;
19120 with_unicode_backend="icu"
19124 case "$with_unicode_backend" in
19126 *) as_fn_error $? "Invalid Unicode backend: must be icu or glib." "$LINENO" 5 ;;
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_unicode_backend" >&5
19130 $as_echo "$with_unicode_backend" >&6; }
19132 if test "$with_unicode_backend" = "icu"; then
19135 UNICODE_CFLAGS="-I$srcdir/Source/JavaScriptCore/icu -I$srcdir/Source/WebCore/icu"
19136 UNICODE_LIBS="-licucore"
19140 UNICODE_LIBS="-licuin -licuuc"
19143 # Extract the first word of "icu-config", so it can be a program name with args.
19144 set dummy icu-config; ac_word=$2
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19146 $as_echo_n "checking for $ac_word... " >&6; }
19147 if ${ac_cv_path_icu_config+:} false; then :
19148 $as_echo_n "(cached) " >&6
19150 case $icu_config in
19152 ac_cv_path_icu_config="$icu_config" # Let the user override the test with a path.
19155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19156 for as_dir in $PATH
19159 test -z "$as_dir" && as_dir=.
19160 for ac_exec_ext in '' $ac_executable_extensions; do
19161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19162 ac_cv_path_icu_config="$as_dir/$ac_word$ac_exec_ext"
19163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19170 test -z "$ac_cv_path_icu_config" && ac_cv_path_icu_config="no"
19174 icu_config=$ac_cv_path_icu_config
19175 if test -n "$icu_config"; then
19176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $icu_config" >&5
19177 $as_echo "$icu_config" >&6; }
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19180 $as_echo "no" >&6; }
19184 if test "$icu_config" = "no"; then
19185 as_fn_error $? "Cannot find icu-config. The ICU library is needed." "$LINENO" 5
19188 # We don't use --cflags as this gives us a lot of things that we don't
19189 # necessarily want, like debugging and optimization flags
19190 # See man (1) icu-config for more info.
19191 UNICODE_CFLAGS=`$icu_config --cppflags`
19192 UNICODE_LIBS=`$icu_config --ldflags-libsonly`
19197 if test "$with_unicode_backend" = "glib"; then
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNICODE" >&5
19201 $as_echo_n "checking for UNICODE... " >&6; }
19203 if test -n "$UNICODE_CFLAGS"; then
19204 pkg_cv_UNICODE_CFLAGS="$UNICODE_CFLAGS"
19205 elif test -n "$PKG_CONFIG"; then
19206 if test -n "$PKG_CONFIG" && \
19207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 pango >= 1.21.0\""; } >&5
19208 ($PKG_CONFIG --exists --print-errors "glib-2.0 pango >= 1.21.0") 2>&5
19210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19211 test $ac_status = 0; }; then
19212 pkg_cv_UNICODE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 pango >= 1.21.0" 2>/dev/null`
19219 if test -n "$UNICODE_LIBS"; then
19220 pkg_cv_UNICODE_LIBS="$UNICODE_LIBS"
19221 elif test -n "$PKG_CONFIG"; then
19222 if test -n "$PKG_CONFIG" && \
19223 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 pango >= 1.21.0\""; } >&5
19224 ($PKG_CONFIG --exists --print-errors "glib-2.0 pango >= 1.21.0") 2>&5
19226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19227 test $ac_status = 0; }; then
19228 pkg_cv_UNICODE_LIBS=`$PKG_CONFIG --libs "glib-2.0 pango >= 1.21.0" 2>/dev/null`
19238 if test $pkg_failed = yes; then
19239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19240 $as_echo "no" >&6; }
19242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19243 _pkg_short_errors_supported=yes
19245 _pkg_short_errors_supported=no
19247 if test $_pkg_short_errors_supported = yes; then
19248 UNICODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 pango >= 1.21.0" 2>&1`
19250 UNICODE_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 pango >= 1.21.0" 2>&1`
19252 # Put the nasty error message in config.log where it belongs
19253 echo "$UNICODE_PKG_ERRORS" >&5
19255 as_fn_error $? "Package requirements (glib-2.0 pango >= 1.21.0) were not met:
19257 $UNICODE_PKG_ERRORS
19259 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19260 installed software in a non-standard prefix.
19262 Alternatively, you may set the environment variables UNICODE_CFLAGS
19263 and UNICODE_LIBS to avoid the need to call pkg-config.
19264 See the pkg-config man page for more details." "$LINENO" 5
19266 elif test $pkg_failed = untried; then
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19268 $as_echo "no" >&6; }
19269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19271 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19272 is in your PATH or set the PKG_CONFIG environment variable to the full
19273 path to pkg-config.
19275 Alternatively, you may set the environment variables UNICODE_CFLAGS
19276 and UNICODE_LIBS to avoid the need to call pkg-config.
19277 See the pkg-config man page for more details.
19279 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19280 See \`config.log' for more details" "$LINENO" 5; }
19283 UNICODE_CFLAGS=$pkg_cv_UNICODE_CFLAGS
19284 UNICODE_LIBS=$pkg_cv_UNICODE_LIBS
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19286 $as_echo "yes" >&6; }
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZLIB" >&5
19297 $as_echo_n "checking for ZLIB... " >&6; }
19299 if test -n "$ZLIB_CFLAGS"; then
19300 pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
19301 elif test -n "$PKG_CONFIG"; then
19302 if test -n "$PKG_CONFIG" && \
19303 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
19304 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
19306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19307 test $ac_status = 0; }; then
19308 pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
19315 if test -n "$ZLIB_LIBS"; then
19316 pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
19317 elif test -n "$PKG_CONFIG"; then
19318 if test -n "$PKG_CONFIG" && \
19319 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
19320 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
19322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19323 test $ac_status = 0; }; then
19324 pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
19334 if test $pkg_failed = yes; then
19335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19336 $as_echo "no" >&6; }
19338 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19339 _pkg_short_errors_supported=yes
19341 _pkg_short_errors_supported=no
19343 if test $_pkg_short_errors_supported = yes; then
19344 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "zlib" 2>&1`
19346 ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "zlib" 2>&1`
19348 # Put the nasty error message in config.log where it belongs
19349 echo "$ZLIB_PKG_ERRORS" >&5
19351 as_fn_error $? "Package requirements (zlib) were not met:
19355 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19356 installed software in a non-standard prefix.
19358 Alternatively, you may set the environment variables ZLIB_CFLAGS
19359 and ZLIB_LIBS to avoid the need to call pkg-config.
19360 See the pkg-config man page for more details." "$LINENO" 5
19362 elif test $pkg_failed = untried; then
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19364 $as_echo "no" >&6; }
19365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19367 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19368 is in your PATH or set the PKG_CONFIG environment variable to the full
19369 path to pkg-config.
19371 Alternatively, you may set the environment variables ZLIB_CFLAGS
19372 and ZLIB_LIBS to avoid the need to call pkg-config.
19373 See the pkg-config man page for more details.
19375 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19376 See \`config.log' for more details" "$LINENO" 5; }
19379 ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
19380 ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19382 $as_echo "yes" >&6; }
19389 for module in glib unicode
19394 *) as_fn_error $? "I don't support that module. Sorry.." "$LINENO" 5 ;;
19400 GETTEXT_PACKAGE=$PACKAGE-$GTK_API_VERSION
19403 cat >>confdefs.h <<_ACEOF
19404 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
19411 $as_echo_n "checking for LIBXML... " >&6; }
19413 if test -n "$LIBXML_CFLAGS"; then
19414 pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
19415 elif test -n "$PKG_CONFIG"; then
19416 if test -n "$PKG_CONFIG" && \
19417 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
19418 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
19420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19421 test $ac_status = 0; }; then
19422 pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
19429 if test -n "$LIBXML_LIBS"; then
19430 pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
19431 elif test -n "$PKG_CONFIG"; then
19432 if test -n "$PKG_CONFIG" && \
19433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
19434 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
19436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19437 test $ac_status = 0; }; then
19438 pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
19448 if test $pkg_failed = yes; then
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19450 $as_echo "no" >&6; }
19452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19453 _pkg_short_errors_supported=yes
19455 _pkg_short_errors_supported=no
19457 if test $_pkg_short_errors_supported = yes; then
19458 LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
19460 LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
19462 # Put the nasty error message in config.log where it belongs
19463 echo "$LIBXML_PKG_ERRORS" >&5
19465 as_fn_error $? "Package requirements (libxml-2.0 >= $LIBXML_REQUIRED_VERSION) were not met:
19469 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19470 installed software in a non-standard prefix.
19472 Alternatively, you may set the environment variables LIBXML_CFLAGS
19473 and LIBXML_LIBS to avoid the need to call pkg-config.
19474 See the pkg-config man page for more details." "$LINENO" 5
19476 elif test $pkg_failed = untried; then
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19478 $as_echo "no" >&6; }
19479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19481 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19482 is in your PATH or set the PKG_CONFIG environment variable to the full
19483 path to pkg-config.
19485 Alternatively, you may set the environment variables LIBXML_CFLAGS
19486 and LIBXML_LIBS to avoid the need to call pkg-config.
19487 See the pkg-config man page for more details.
19489 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19490 See \`config.log' for more details" "$LINENO" 5; }
19493 LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
19494 LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19496 $as_echo "yes" >&6; }
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
19505 $as_echo_n "checking for PANGO... " >&6; }
19507 if test -n "$PANGO_CFLAGS"; then
19508 pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
19509 elif test -n "$PKG_CONFIG"; then
19510 if test -n "$PKG_CONFIG" && \
19511 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION
19513 ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION
19516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19517 test $ac_status = 0; }; then
19518 pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= $PANGO_REQUIRED_VERSION
19519 pangoft2" 2>/dev/null`
19526 if test -n "$PANGO_LIBS"; then
19527 pkg_cv_PANGO_LIBS="$PANGO_LIBS"
19528 elif test -n "$PKG_CONFIG"; then
19529 if test -n "$PKG_CONFIG" && \
19530 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION
19532 ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION
19535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19536 test $ac_status = 0; }; then
19537 pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= $PANGO_REQUIRED_VERSION
19538 pangoft2" 2>/dev/null`
19548 if test $pkg_failed = yes; then
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19550 $as_echo "no" >&6; }
19552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19553 _pkg_short_errors_supported=yes
19555 _pkg_short_errors_supported=no
19557 if test $_pkg_short_errors_supported = yes; then
19558 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pango >= $PANGO_REQUIRED_VERSION
19561 PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors "pango >= $PANGO_REQUIRED_VERSION
19564 # Put the nasty error message in config.log where it belongs
19565 echo "$PANGO_PKG_ERRORS" >&5
19567 as_fn_error $? "Package requirements (pango >= $PANGO_REQUIRED_VERSION
19568 pangoft2) were not met:
19572 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19573 installed software in a non-standard prefix.
19575 Alternatively, you may set the environment variables PANGO_CFLAGS
19576 and PANGO_LIBS to avoid the need to call pkg-config.
19577 See the pkg-config man page for more details." "$LINENO" 5
19579 elif test $pkg_failed = untried; then
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19581 $as_echo "no" >&6; }
19582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19584 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19585 is in your PATH or set the PKG_CONFIG environment variable to the full
19586 path to pkg-config.
19588 Alternatively, you may set the environment variables PANGO_CFLAGS
19589 and PANGO_LIBS to avoid the need to call pkg-config.
19590 See the pkg-config man page for more details.
19592 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19593 See \`config.log' for more details" "$LINENO" 5; }
19596 PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
19597 PANGO_LIBS=$pkg_cv_PANGO_LIBS
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19599 $as_echo "yes" >&6; }
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable spellcheck support" >&5
19606 $as_echo_n "checking whether to enable spellcheck support... " >&6; }
19607 # Check whether --enable-spellcheck was given.
19608 if test "${enable_spellcheck+set}" = set; then :
19609 enableval=$enable_spellcheck;
19611 enable_spellcheck="yes"
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_spellcheck" >&5
19615 $as_echo "$enable_spellcheck" >&6; }
19617 if test "$enable_spellcheck" = "yes"; then
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCHANT" >&5
19621 $as_echo_n "checking for ENCHANT... " >&6; }
19623 if test -n "$ENCHANT_CFLAGS"; then
19624 pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS"
19625 elif test -n "$PKG_CONFIG"; then
19626 if test -n "$PKG_CONFIG" && \
19627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED_VERSION\""; } >&5
19628 ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION") 2>&5
19630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19631 test $ac_status = 0; }; then
19632 pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant >= $ENCHANT_REQUIRED_VERSION" 2>/dev/null`
19639 if test -n "$ENCHANT_LIBS"; then
19640 pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS"
19641 elif test -n "$PKG_CONFIG"; then
19642 if test -n "$PKG_CONFIG" && \
19643 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED_VERSION\""; } >&5
19644 ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION") 2>&5
19646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19647 test $ac_status = 0; }; then
19648 pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant >= $ENCHANT_REQUIRED_VERSION" 2>/dev/null`
19658 if test $pkg_failed = yes; then
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19660 $as_echo "no" >&6; }
19662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19663 _pkg_short_errors_supported=yes
19665 _pkg_short_errors_supported=no
19667 if test $_pkg_short_errors_supported = yes; then
19668 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION" 2>&1`
19670 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION" 2>&1`
19672 # Put the nasty error message in config.log where it belongs
19673 echo "$ENCHANT_PKG_ERRORS" >&5
19675 enable_spellcheck="no"
19676 elif test $pkg_failed = untried; then
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19678 $as_echo "no" >&6; }
19679 enable_spellcheck="no"
19681 ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS
19682 ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19684 $as_echo "yes" >&6; }
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAIL" >&5
19694 $as_echo_n "checking for GAIL... " >&6; }
19696 if test -n "$GAIL_CFLAGS"; then
19697 pkg_cv_GAIL_CFLAGS="$GAIL_CFLAGS"
19698 elif test -n "$PKG_CONFIG"; then
19699 if test -n "$PKG_CONFIG" && \
19700 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_PC_NAME >= \$GAIL_REQUIRED_VERSION\""; } >&5
19701 ($PKG_CONFIG --exists --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION") 2>&5
19703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19704 test $ac_status = 0; }; then
19705 pkg_cv_GAIL_CFLAGS=`$PKG_CONFIG --cflags "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>/dev/null`
19712 if test -n "$GAIL_LIBS"; then
19713 pkg_cv_GAIL_LIBS="$GAIL_LIBS"
19714 elif test -n "$PKG_CONFIG"; then
19715 if test -n "$PKG_CONFIG" && \
19716 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_PC_NAME >= \$GAIL_REQUIRED_VERSION\""; } >&5
19717 ($PKG_CONFIG --exists --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION") 2>&5
19719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19720 test $ac_status = 0; }; then
19721 pkg_cv_GAIL_LIBS=`$PKG_CONFIG --libs "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>/dev/null`
19731 if test $pkg_failed = yes; then
19732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19733 $as_echo "no" >&6; }
19735 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19736 _pkg_short_errors_supported=yes
19738 _pkg_short_errors_supported=no
19740 if test $_pkg_short_errors_supported = yes; then
19741 GAIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>&1`
19743 GAIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>&1`
19745 # Put the nasty error message in config.log where it belongs
19746 echo "$GAIL_PKG_ERRORS" >&5
19748 as_fn_error $? "Package requirements ($GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION) were not met:
19752 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19753 installed software in a non-standard prefix.
19755 Alternatively, you may set the environment variables GAIL_CFLAGS
19756 and GAIL_LIBS to avoid the need to call pkg-config.
19757 See the pkg-config man page for more details." "$LINENO" 5
19759 elif test $pkg_failed = untried; then
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19761 $as_echo "no" >&6; }
19762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19764 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19765 is in your PATH or set the PKG_CONFIG environment variable to the full
19766 path to pkg-config.
19768 Alternatively, you may set the environment variables GAIL_CFLAGS
19769 and GAIL_LIBS to avoid the need to call pkg-config.
19770 See the pkg-config man page for more details.
19772 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19773 See \`config.log' for more details" "$LINENO" 5; }
19776 GAIL_CFLAGS=$pkg_cv_GAIL_CFLAGS
19777 GAIL_LIBS=$pkg_cv_GAIL_LIBS
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19779 $as_echo "yes" >&6; }
19785 # check for target-specific dependencies
19786 if test "$with_target" = "directfb"; then
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
19790 $as_echo_n "checking for CAIRO... " >&6; }
19792 if test -n "$CAIRO_CFLAGS"; then
19793 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
19794 elif test -n "$PKG_CONFIG"; then
19795 if test -n "$PKG_CONFIG" && \
19796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-directfb >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19797 ($PKG_CONFIG --exists --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION") 2>&5
19799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19800 test $ac_status = 0; }; then
19801 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
19808 if test -n "$CAIRO_LIBS"; then
19809 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
19810 elif test -n "$PKG_CONFIG"; then
19811 if test -n "$PKG_CONFIG" && \
19812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-directfb >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19813 ($PKG_CONFIG --exists --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION") 2>&5
19815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19816 test $ac_status = 0; }; then
19817 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
19827 if test $pkg_failed = yes; then
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19829 $as_echo "no" >&6; }
19831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19832 _pkg_short_errors_supported=yes
19834 _pkg_short_errors_supported=no
19836 if test $_pkg_short_errors_supported = yes; then
19837 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>&1`
19839 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>&1`
19841 # Put the nasty error message in config.log where it belongs
19842 echo "$CAIRO_PKG_ERRORS" >&5
19844 as_fn_error $? "Package requirements (cairo-directfb >= $CAIRO_REQUIRED_VERSION) were not met:
19848 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19849 installed software in a non-standard prefix.
19851 Alternatively, you may set the environment variables CAIRO_CFLAGS
19852 and CAIRO_LIBS to avoid the need to call pkg-config.
19853 See the pkg-config man page for more details." "$LINENO" 5
19855 elif test $pkg_failed = untried; then
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19857 $as_echo "no" >&6; }
19858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19860 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19861 is in your PATH or set the PKG_CONFIG environment variable to the full
19862 path to pkg-config.
19864 Alternatively, you may set the environment variables CAIRO_CFLAGS
19865 and CAIRO_LIBS to avoid the need to call pkg-config.
19866 See the pkg-config man page for more details.
19868 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19869 See \`config.log' for more details" "$LINENO" 5; }
19872 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
19873 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19875 $as_echo "yes" >&6; }
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
19881 $as_echo_n "checking for GTK... " >&6; }
19883 if test -n "$GTK_CFLAGS"; then
19884 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
19885 elif test -n "$PKG_CONFIG"; then
19886 if test -n "$PKG_CONFIG" && \
19887 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-directfb-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
19888 ($PKG_CONFIG --exists --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
19890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19891 test $ac_status = 0; }; then
19892 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
19899 if test -n "$GTK_LIBS"; then
19900 pkg_cv_GTK_LIBS="$GTK_LIBS"
19901 elif test -n "$PKG_CONFIG"; then
19902 if test -n "$PKG_CONFIG" && \
19903 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-directfb-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
19904 ($PKG_CONFIG --exists --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
19906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19907 test $ac_status = 0; }; then
19908 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
19918 if test $pkg_failed = yes; then
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19920 $as_echo "no" >&6; }
19922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19923 _pkg_short_errors_supported=yes
19925 _pkg_short_errors_supported=no
19927 if test $_pkg_short_errors_supported = yes; then
19928 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
19930 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
19932 # Put the nasty error message in config.log where it belongs
19933 echo "$GTK_PKG_ERRORS" >&5
19935 as_fn_error $? "Package requirements (gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION) were not met:
19939 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19940 installed software in a non-standard prefix.
19942 Alternatively, you may set the environment variables GTK_CFLAGS
19943 and GTK_LIBS to avoid the need to call pkg-config.
19944 See the pkg-config man page for more details." "$LINENO" 5
19946 elif test $pkg_failed = untried; then
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19948 $as_echo "no" >&6; }
19949 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19951 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19952 is in your PATH or set the PKG_CONFIG environment variable to the full
19953 path to pkg-config.
19955 Alternatively, you may set the environment variables GTK_CFLAGS
19956 and GTK_LIBS to avoid the need to call pkg-config.
19957 See the pkg-config man page for more details.
19959 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19960 See \`config.log' for more details" "$LINENO" 5; }
19963 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
19964 GTK_LIBS=$pkg_cv_GTK_LIBS
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19966 $as_echo "yes" >&6; }
19970 $as_echo "#define WTF_PLATFORM_DIRECTFB 1" >>confdefs.h
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
19976 $as_echo_n "checking for CAIRO... " >&6; }
19978 if test -n "$CAIRO_CFLAGS"; then
19979 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
19980 elif test -n "$PKG_CONFIG"; then
19981 if test -n "$PKG_CONFIG" && \
19982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19983 ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED_VERSION") 2>&5
19985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19986 test $ac_status = 0; }; then
19987 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
19994 if test -n "$CAIRO_LIBS"; then
19995 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
19996 elif test -n "$PKG_CONFIG"; then
19997 if test -n "$PKG_CONFIG" && \
19998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19999 ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED_VERSION") 2>&5
20001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20002 test $ac_status = 0; }; then
20003 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
20013 if test $pkg_failed = yes; then
20014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20015 $as_echo "no" >&6; }
20017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20018 _pkg_short_errors_supported=yes
20020 _pkg_short_errors_supported=no
20022 if test $_pkg_short_errors_supported = yes; then
20023 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo >= $CAIRO_REQUIRED_VERSION" 2>&1`
20025 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo >= $CAIRO_REQUIRED_VERSION" 2>&1`
20027 # Put the nasty error message in config.log where it belongs
20028 echo "$CAIRO_PKG_ERRORS" >&5
20030 as_fn_error $? "Package requirements (cairo >= $CAIRO_REQUIRED_VERSION) were not met:
20034 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20035 installed software in a non-standard prefix.
20037 Alternatively, you may set the environment variables CAIRO_CFLAGS
20038 and CAIRO_LIBS to avoid the need to call pkg-config.
20039 See the pkg-config man page for more details." "$LINENO" 5
20041 elif test $pkg_failed = untried; then
20042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20043 $as_echo "no" >&6; }
20044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20046 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20047 is in your PATH or set the PKG_CONFIG environment variable to the full
20048 path to pkg-config.
20050 Alternatively, you may set the environment variables CAIRO_CFLAGS
20051 and CAIRO_LIBS to avoid the need to call pkg-config.
20052 See the pkg-config man page for more details.
20054 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20055 See \`config.log' for more details" "$LINENO" 5; }
20058 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
20059 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20061 $as_echo "yes" >&6; }
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
20067 $as_echo_n "checking for GTK... " >&6; }
20069 if test -n "$GTK_CFLAGS"; then
20070 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
20071 elif test -n "$PKG_CONFIG"; then
20072 if test -n "$PKG_CONFIG" && \
20073 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED_VERSION\""; } >&5
20074 ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION") 2>&5
20076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20077 test $ac_status = 0; }; then
20078 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>/dev/null`
20085 if test -n "$GTK_LIBS"; then
20086 pkg_cv_GTK_LIBS="$GTK_LIBS"
20087 elif test -n "$PKG_CONFIG"; then
20088 if test -n "$PKG_CONFIG" && \
20089 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED_VERSION\""; } >&5
20090 ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION") 2>&5
20092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20093 test $ac_status = 0; }; then
20094 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>/dev/null`
20104 if test $pkg_failed = yes; then
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20106 $as_echo "no" >&6; }
20108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20109 _pkg_short_errors_supported=yes
20111 _pkg_short_errors_supported=no
20113 if test $_pkg_short_errors_supported = yes; then
20114 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>&1`
20116 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>&1`
20118 # Put the nasty error message in config.log where it belongs
20119 echo "$GTK_PKG_ERRORS" >&5
20121 as_fn_error $? "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION) were not met:
20125 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20126 installed software in a non-standard prefix.
20128 Alternatively, you may set the environment variables GTK_CFLAGS
20129 and GTK_LIBS to avoid the need to call pkg-config.
20130 See the pkg-config man page for more details." "$LINENO" 5
20132 elif test $pkg_failed = untried; then
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20134 $as_echo "no" >&6; }
20135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20137 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20138 is in your PATH or set the PKG_CONFIG environment variable to the full
20139 path to pkg-config.
20141 Alternatively, you may set the environment variables GTK_CFLAGS
20142 and GTK_LIBS to avoid the need to call pkg-config.
20143 See the pkg-config man page for more details.
20145 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20146 See \`config.log' for more details" "$LINENO" 5; }
20149 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
20150 GTK_LIBS=$pkg_cv_GTK_LIBS
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20152 $as_echo "yes" >&6; }
20156 if test "$with_target" = "x11" && test "$os_win32" = "no"; then
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XT" >&5
20161 $as_echo_n "checking for XT... " >&6; }
20163 if test -n "$XT_CFLAGS"; then
20164 pkg_cv_XT_CFLAGS="$XT_CFLAGS"
20165 elif test -n "$PKG_CONFIG"; then
20166 if test -n "$PKG_CONFIG" && \
20167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
20168 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
20170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20171 test $ac_status = 0; }; then
20172 pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
20179 if test -n "$XT_LIBS"; then
20180 pkg_cv_XT_LIBS="$XT_LIBS"
20181 elif test -n "$PKG_CONFIG"; then
20182 if test -n "$PKG_CONFIG" && \
20183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
20184 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
20186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20187 test $ac_status = 0; }; then
20188 pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
20198 if test $pkg_failed = yes; then
20199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20200 $as_echo "no" >&6; }
20202 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20203 _pkg_short_errors_supported=yes
20205 _pkg_short_errors_supported=no
20207 if test $_pkg_short_errors_supported = yes; then
20208 XT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
20210 XT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
20212 # Put the nasty error message in config.log where it belongs
20213 echo "$XT_PKG_ERRORS" >&5
20215 xt_has_pkg_config=no
20216 elif test $pkg_failed = untried; then
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20218 $as_echo "no" >&6; }
20219 xt_has_pkg_config=no
20221 XT_CFLAGS=$pkg_cv_XT_CFLAGS
20222 XT_LIBS=$pkg_cv_XT_LIBS
20223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20224 $as_echo "yes" >&6; }
20225 xt_has_pkg_config=yes
20227 # some old versions of Xt do not provide xt.pc, so try to link against Xt
20228 # and if it's installed fall back to just adding -lXt
20229 if test "$xt_has_pkg_config" = "no"; then
20230 # using AC_CHECK_LIB instead of AC_SEARCH_LIB is fine in this case as
20231 # we don't care about the XtOpenDisplay symbol but only about the
20232 # existence of libXt
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtOpenDisplay in -lXt" >&5
20234 $as_echo_n "checking for XtOpenDisplay in -lXt... " >&6; }
20235 if ${ac_cv_lib_Xt_XtOpenDisplay+:} false; then :
20236 $as_echo_n "(cached) " >&6
20238 ac_check_lib_save_LIBS=$LIBS
20240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h. */
20243 /* Override any GCC internal prototype to avoid an error.
20244 Use char because int might match the return type of a GCC
20245 builtin and then its argument prototype would still apply. */
20249 char XtOpenDisplay ();
20253 return XtOpenDisplay ();
20258 if ac_fn_c_try_link "$LINENO"; then :
20259 ac_cv_lib_Xt_XtOpenDisplay=yes
20261 ac_cv_lib_Xt_XtOpenDisplay=no
20263 rm -f core conftest.err conftest.$ac_objext \
20264 conftest$ac_exeext conftest.$ac_ext
20265 LIBS=$ac_check_lib_save_LIBS
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_XtOpenDisplay" >&5
20268 $as_echo "$ac_cv_lib_Xt_XtOpenDisplay" >&6; }
20269 if test "x$ac_cv_lib_Xt_XtOpenDisplay" = xyes; then :
20270 XT_CFLAGS=""; XT_LIBS="-lXt"
20272 as_fn_error $? "X Toolkit Intrinsics library (libXt) not found" "$LINENO" 5
20279 $as_echo "#define WTF_PLATFORM_X11 1" >>confdefs.h
20288 # check whether to build with debugging enabled
20289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to do a debug build" >&5
20290 $as_echo_n "checking whether to do a debug build... " >&6; }
20291 # Check whether --enable-debug was given.
20292 if test "${enable_debug+set}" = set; then :
20293 enableval=$enable_debug;
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
20299 $as_echo "$enable_debug" >&6; }
20301 # check whether to enable optimized builds
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable optimized builds" >&5
20303 $as_echo_n "checking whether to enable optimized builds... " >&6; }
20304 # Check whether --enable-optimizations was given.
20305 if test "${enable_optimizations+set}" = set; then :
20306 enableval=$enable_optimizations; enable_optimizations=$enableval
20308 if test "$enable_debug" = "yes"; then enable_optimizations="no"; else enable_optimizations="yes"; fi
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_optimizations" >&5
20312 $as_echo "$enable_optimizations" >&6; }
20314 # check whether to enable 3D rendering support
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for 3D Rendering" >&5
20316 $as_echo_n "checking whether to enable support for 3D Rendering... " >&6; }
20317 # Check whether --enable-3d_rendering was given.
20318 if test "${enable_3d_rendering+set}" = set; then :
20319 enableval=$enable_3d_rendering;
20321 enable_3d_rendering="no"
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_3d_rendering" >&5
20325 $as_echo "$enable_3d_rendering" >&6; }
20327 # check whether to enable WebGL support
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WebGL support" >&5
20329 $as_echo_n "checking whether to enable WebGL support... " >&6; }
20330 # Check whether --enable-webgl was given.
20331 if test "${enable_webgl+set}" = set; then :
20332 enableval=$enable_webgl;
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webgl" >&5
20338 $as_echo "$enable_webgl" >&6; }
20340 if test "$enable_webgl" = "yes"; then
20341 for ac_header in GL/gl.h
20343 ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
20344 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
20345 cat >>confdefs.h <<_ACEOF
20346 #define HAVE_GL_GL_H 1
20350 as_fn_error $? "OpenGL header not found" "$LINENO" 5
20355 for ac_header in GL/glx.h
20357 ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
20358 if test "x$ac_cv_header_GL_glx_h" = xyes; then :
20359 cat >>confdefs.h <<_ACEOF
20360 #define HAVE_GL_GLX_H 1
20364 as_fn_error $? "GLX header not found" "$LINENO" 5
20373 # check whether to enable channel messaging support
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 Channel Messaging support" >&5
20375 $as_echo_n "checking whether to enable HTML5 Channel Messaging support... " >&6; }
20376 # Check whether --enable-channel_messaging was given.
20377 if test "${enable_channel_messaging+set}" = set; then :
20378 enableval=$enable_channel_messaging;
20380 enable_channel_messaging="yes"
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_channel_messaging" >&5
20384 $as_echo "$enable_channel_messaging" >&6; }
20386 # check whether to enable notifications
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable notifications" >&5
20388 $as_echo_n "checking whether to enable notifications... " >&6; }
20389 # Check whether --enable-notifications was given.
20390 if test "${enable_notifications+set}" = set; then :
20391 enableval=$enable_notifications;
20393 enable_notifications="no"
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_notifications" >&5
20397 $as_echo "$enable_notifications" >&6; }
20399 # check whether to enable the meter tag
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 meter tag" >&5
20401 $as_echo_n "checking whether to enable HTML5 meter tag... " >&6; }
20402 # Check whether --enable-meter_tag was given.
20403 if test "${enable_meter_tag+set}" = set; then :
20404 enableval=$enable_meter_tag;
20406 enable_meter_tag="yes"
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_meter_tag" >&5
20410 $as_echo "$enable_meter_tag" >&6; }
20412 # check whether to enable page visibility API.
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Page Visibility API support" >&5
20414 $as_echo_n "checking whether to enable Page Visibility API support... " >&6; }
20415 # Check whether --enable-page_visibility_api was given.
20416 if test "${enable_page_visibility_api+set}" = set; then :
20417 enableval=$enable_page_visibility_api;
20419 enable_page_visibility_api="no"
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_page_visibility_api" >&5
20423 $as_echo "$enable_page_visibility_api" >&6; }
20425 # check whether to enable the progress tag
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 progress tag" >&5
20427 $as_echo_n "checking whether to enable HTML5 progress tag... " >&6; }
20428 # Check whether --enable-progress_tag was given.
20429 if test "${enable_progress_tag+set}" = set; then :
20430 enableval=$enable_progress_tag;
20432 enable_progress_tag="yes"
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_progress_tag" >&5
20436 $as_echo "$enable_progress_tag" >&6; }
20438 # check whether to enable JavaScript debugger/profiler support
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable JavaScript debugger/profiler support" >&5
20440 $as_echo_n "checking whether to enable JavaScript debugger/profiler support... " >&6; }
20441 # Check whether --enable-javascript_debugger was given.
20442 if test "${enable_javascript_debugger+set}" = set; then :
20443 enableval=$enable_javascript_debugger;
20445 enable_javascript_debugger="yes"
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_javascript_debugger" >&5
20449 $as_echo "$enable_javascript_debugger" >&6; }
20451 # check whether to build with datagrid support
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 datagrid support" >&5
20453 $as_echo_n "checking whether to enable HTML5 datagrid support... " >&6; }
20454 # Check whether --enable-datagrid was given.
20455 if test "${enable_datagrid+set}" = set; then :
20456 enableval=$enable_datagrid;
20458 enable_datagrid="no"
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_datagrid" >&5
20462 $as_echo "$enable_datagrid" >&6; }
20464 # check whether to build with data transfer items support
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 data transfer items support" >&5
20466 $as_echo_n "checking whether to enable HTML5 data transfer items support... " >&6; }
20467 # Check whether --enable-data_transfer_items was given.
20468 if test "${enable_data_transfer_items+set}" = set; then :
20469 enableval=$enable_data_transfer_items;
20471 enable_data_transfer_items="no"
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_data_transfer_items" >&5
20475 $as_echo "$enable_data_transfer_items" >&6; }
20477 # check whether to enable HTML5 Offline Web Applications support
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 offline web applications support" >&5
20479 $as_echo_n "checking whether to enable HTML5 offline web applications support... " >&6; }
20480 # Check whether --enable-offline_web_applications was given.
20481 if test "${enable_offline_web_applications+set}" = set; then :
20482 enableval=$enable_offline_web_applications;
20484 enable_offline_web_applications="yes"
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_offline_web_applications" >&5
20488 $as_echo "$enable_offline_web_applications" >&6; }
20490 # check whether to enable HTML5 client-side session and persitent storage support
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 client-side session and persistent storage support" >&5
20492 $as_echo_n "checking whether to enable HTML5 client-side session and persistent storage support... " >&6; }
20493 # Check whether --enable-dom_storage was given.
20494 if test "${enable_dom_storage+set}" = set; then :
20495 enableval=$enable_dom_storage;
20497 enable_dom_storage="yes"
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dom_storage" >&5
20501 $as_echo "$enable_dom_storage" >&6; }
20503 # check whether to enable the indexed database API
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the indexed database API" >&5
20505 $as_echo_n "checking whether to enable the indexed database API... " >&6; }
20506 # Check whether --enable-indexed_database was given.
20507 if test "${enable_indexed_database+set}" = set; then :
20508 enableval=$enable_indexed_database;
20510 enable_indexed_database="no"
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_indexed_database" >&5
20514 $as_echo "$enable_indexed_database" >&6; }
20516 # check whether to enable the color input
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the color input" >&5
20518 $as_echo_n "checking whether to enable the color input... " >&6; }
20519 # Check whether --enable-input_color was given.
20520 if test "${enable_input_color+set}" = set; then :
20521 enableval=$enable_input_color;
20523 enable_input_color="no"
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_input_color" >&5
20527 $as_echo "$enable_input_color" >&6; }
20529 # check whether to enable the speech input API
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the speech input API" >&5
20531 $as_echo_n "checking whether to enable the speech input API... " >&6; }
20532 # Check whether --enable-input_speech was given.
20533 if test "${enable_input_speech+set}" = set; then :
20534 enableval=$enable_input_speech;
20536 enable_input_speech="no"
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_input_speech" >&5
20540 $as_echo "$enable_input_speech" >&6; }
20542 # check whether to build with SQL database support
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SQL client-side database storage support" >&5
20544 $as_echo_n "checking whether to enable SQL client-side database storage support... " >&6; }
20545 # Check whether --enable-sql_database was given.
20546 if test "${enable_sql_database+set}" = set; then :
20547 enableval=$enable_sql_database;
20549 enable_sql_database="yes"
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sql_database" >&5
20553 $as_echo "$enable_sql_database" >&6; }
20555 # check whether to build with icon database support
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable icon database support" >&5
20557 $as_echo_n "checking whether to enable icon database support... " >&6; }
20558 # Check whether --enable-icon_database was given.
20559 if test "${enable_icon_database+set}" = set; then :
20560 enableval=$enable_icon_database;
20562 enable_icon_database="yes"
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_icon_database" >&5
20566 $as_echo "$enable_icon_database" >&6; }
20568 # check whether to build with image resizer API support
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable image resizer API support" >&5
20570 $as_echo_n "checking whether to enable image resizer API support... " >&6; }
20571 # Check whether --enable-image_resizer was given.
20572 if test "${enable_image_resizer+set}" = set; then :
20573 enableval=$enable_image_resizer;
20575 enable_image_resizer="no"
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_image_resizer" >&5
20579 $as_echo "$enable_image_resizer" >&6; }
20581 # check whether to enable HTML5 datalist support
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 datalist support" >&5
20583 $as_echo_n "checking whether to enable HTML5 datalist support... " >&6; }
20584 # Check whether --enable-datalist was given.
20585 if test "${enable_datalist+set}" = set; then :
20586 enableval=$enable_datalist;
20588 enable_datalist="yes"
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_datalist" >&5
20592 $as_echo "$enable_datalist" >&6; }
20594 # check whether to enable HTML5 sandbox iframe support
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 sandboxed iframe support" >&5
20596 $as_echo_n "checking whether to enable HTML5 sandboxed iframe support... " >&6; }
20597 # Check whether --enable-sandbox was given.
20598 if test "${enable_sandbox+set}" = set; then :
20599 enableval=$enable_sandbox;
20601 enable_sandbox="yes"
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sandbox" >&5
20605 $as_echo "$enable_sandbox" >&6; }
20607 # check whether to enable HTML5 audio/video support
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 video support" >&5
20609 $as_echo_n "checking whether to enable HTML5 video support... " >&6; }
20610 # Check whether --enable-video was given.
20611 if test "${enable_video+set}" = set; then :
20612 enableval=$enable_video;
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_video" >&5
20618 $as_echo "$enable_video" >&6; }
20620 # check whether to enable HTML5 audio/video support
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable elis media support" >&5
20622 $as_echo_n "checking whether to enable elis media support... " >&6; }
20623 # Check whether --enable-video was given.
20624 if test "${enable_video+set}" = set; then :
20625 enableval=$enable_video;
20627 enable_elis_media="no"
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_elis_media" >&5
20631 $as_echo "$enable_elis_media" >&6; }
20633 # turn off video features if --disable-video is requested
20634 if test "$enable_video" = "no"; then
20635 enable_video_track=no
20638 # check whether to enable HTML5 video track support
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 video track support" >&5
20640 $as_echo_n "checking whether to enable HTML5 video track support... " >&6; }
20641 # Check whether --enable-video_track was given.
20642 if test "${enable_video_track+set}" = set; then :
20643 enableval=$enable_video_track;
20645 enable_video_track="yes"
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_video_track" >&5
20649 $as_echo "$enable_video_track" >&6; }
20651 # check whether to enable media source support
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media source support" >&5
20653 $as_echo_n "checking whether to enable media source support... " >&6; }
20654 # Check whether --enable-media_source was given.
20655 if test "${enable_media_source+set}" = set; then :
20656 enableval=$enable_media_source;
20658 enable_media_source="no"
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_source" >&5
20662 $as_echo "$enable_media_source" >&6; }
20664 # check whether to enable media statistics support
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media statistics support" >&5
20666 $as_echo_n "checking whether to enable media statistics support... " >&6; }
20667 # Check whether --enable-media_statistics was given.
20668 if test "${enable_media_statistics+set}" = set; then :
20669 enableval=$enable_media_statistics;
20671 enable_media_statistics="no"
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_statistics" >&5
20675 $as_echo "$enable_media_statistics" >&6; }
20677 # check whether to enable Javascript Fullscreen API support
20678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Fullscreen API support" >&5
20679 $as_echo_n "checking whether to enable Fullscreen API support... " >&6; }
20680 # Check whether --enable-fullscreen_api was given.
20681 if test "${enable_fullscreen_api+set}" = set; then :
20682 enableval=$enable_fullscreen_api;
20684 enable_fullscreen_api="yes"
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fullscreen_api" >&5
20688 $as_echo "$enable_fullscreen_api" >&6; }
20690 # check whether to enable media stream support
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media stream support" >&5
20692 $as_echo_n "checking whether to enable media stream support... " >&6; }
20693 # Check whether --enable-media_stream was given.
20694 if test "${enable_media_stream+set}" = set; then :
20695 enableval=$enable_media_stream;
20697 enable_media_stream="no"
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_stream" >&5
20701 $as_echo "$enable_media_stream" >&6; }
20703 # check whether to enable XHTML-MP support
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XHTML-MP support" >&5
20705 $as_echo_n "checking whether to enable XHTML-MP support... " >&6; }
20706 # Check whether --enable-xhtmlmp was given.
20707 if test "${enable_xhtmlmp+set}" = set; then :
20708 enableval=$enable_xhtmlmp;
20710 enable_xhtmlmp="no"
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xhtmlmp" >&5
20714 $as_echo "$enable_xhtmlmp" >&6; }
20716 # check whether to enable XPath support
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPath support" >&5
20718 $as_echo_n "checking whether to enable XPath support... " >&6; }
20719 # Check whether --enable-xpath was given.
20720 if test "${enable_xpath+set}" = set; then :
20721 enableval=$enable_xpath;
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xpath" >&5
20727 $as_echo "$enable_xpath" >&6; }
20729 # check whether to enable XSLT support
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XSLT support" >&5
20731 $as_echo_n "checking whether to enable XSLT support... " >&6; }
20732 # Check whether --enable-xslt was given.
20733 if test "${enable_xslt+set}" = set; then :
20734 enableval=$enable_xslt;
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xslt" >&5
20740 $as_echo "$enable_xslt" >&6; }
20742 # check whether to enable geolocation support
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable geolocation support" >&5
20744 $as_echo_n "checking whether to enable geolocation support... " >&6; }
20745 # Check whether --enable-geolocation was given.
20746 if test "${enable_geolocation+set}" = set; then :
20747 enableval=$enable_geolocation;
20749 enable_geolocation="no"
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_geolocation" >&5
20753 $as_echo "$enable_geolocation" >&6; }
20755 # check whether to enable client-based geolocation support
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable client-based geolocation support" >&5
20757 $as_echo_n "checking whether to enable client-based geolocation support... " >&6; }
20758 # Check whether --enable-client_based_geolocation was given.
20759 if test "${enable_client_based_geolocation+set}" = set; then :
20760 enableval=$enable_client_based_geolocation;
20762 enable_client_based_geolocation="no"
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_client_based_geolocation" >&5
20766 $as_echo "$enable_client_based_geolocation" >&6; }
20768 # check whether to enable MathML support
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable MathML support" >&5
20770 $as_echo_n "checking whether to enable MathML support... " >&6; }
20771 # Check whether --enable-mathml was given.
20772 if test "${enable_mathml+set}" = set; then :
20773 enableval=$enable_mathml;
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_mathml" >&5
20779 $as_echo "$enable_mathml" >&6; }
20781 # check whether to enable SVG support
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG support" >&5
20783 $as_echo_n "checking whether to enable SVG support... " >&6; }
20784 # Check whether --enable-svg was given.
20785 if test "${enable_svg+set}" = set; then :
20786 enableval=$enable_svg;
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_svg" >&5
20792 $as_echo "$enable_svg" >&6; }
20794 # check whether to enable WCSS support
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WCSS support" >&5
20796 $as_echo_n "checking whether to enable WCSS support... " >&6; }
20797 # Check whether --enable-wcss was given.
20798 if test "${enable_wcss+set}" = set; then :
20799 enableval=$enable_wcss;
20804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wcss" >&5
20805 $as_echo "$enable_wcss" >&6; }
20807 # check whether to enable SharedWorkers support
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SharedWorkers support" >&5
20809 $as_echo_n "checking whether to enable SharedWorkers support... " >&6; }
20810 # Check whether --enable-shared_workers was given.
20811 if test "${enable_shared_workers+set}" = set; then :
20812 enableval=$enable_shared_workers;
20814 enable_shared_workers="yes"
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared_workers" >&5
20818 $as_echo "$enable_shared_workers" >&6; }
20820 # check whether to enable Web Workers support
20821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Workers support" >&5
20822 $as_echo_n "checking whether to enable Web Workers support... " >&6; }
20823 # Check whether --enable-workers was given.
20824 if test "${enable_workers+set}" = set; then :
20825 enableval=$enable_workers;
20827 enable_workers="yes"
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_workers" >&5
20831 $as_echo "$enable_workers" >&6; }
20833 # check whether to enable directory upload support
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable directory upload support" >&5
20835 $as_echo_n "checking whether to enable directory upload support... " >&6; }
20836 # Check whether --enable-directory_upload was given.
20837 if test "${enable_directory_upload+set}" = set; then :
20838 enableval=$enable_directory_upload;
20840 enable_directory_upload="no"
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_directory_upload" >&5
20844 $as_echo "$enable_directory_upload" >&6; }
20846 # check whether to enable HTML5 FileSystem API support
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 FileSystem API support" >&5
20848 $as_echo_n "checking whether to enable HTML5 FileSystem API support... " >&6; }
20849 # Check whether --enable-file_system was given.
20850 if test "${enable_file_system+set}" = set; then :
20851 enableval=$enable_file_system;
20853 enable_file_system="no"
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_file_system" >&5
20857 $as_echo "$enable_file_system" >&6; }
20859 # check whether to enable Quota API support
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Quota API support" >&5
20861 $as_echo_n "checking whether to enable Quota API support... " >&6; }
20862 # Check whether --enable-quota was given.
20863 if test "${enable_quota+set}" = set; then :
20864 enableval=$enable_quota;
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_quota" >&5
20870 $as_echo "$enable_quota" >&6; }
20872 # turn off svg features if --disable-svg is requested
20873 if test "$enable_svg" = "no"; then
20874 enable_svg_fonts=no
20877 # check whether to enable support for filters
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for filters" >&5
20879 $as_echo_n "checking whether to enable support for filters... " >&6; }
20880 # Check whether --enable-filters was given.
20881 if test "${enable_filters+set}" = set; then :
20882 enableval=$enable_filters;
20884 enable_filters="yes"
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_filters" >&5
20888 $as_echo "$enable_filters" >&6; }
20890 # check whether to enable support for SVG fonts
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for SVG fonts" >&5
20892 $as_echo_n "checking whether to enable support for SVG fonts... " >&6; }
20893 # Check whether --enable-svg_fonts was given.
20894 if test "${enable_svg_fonts+set}" = set; then :
20895 enableval=$enable_svg_fonts;
20897 enable_svg_fonts="yes"
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_svg_fonts" >&5
20901 $as_echo "$enable_svg_fonts" >&6; }
20903 # check for SVG features, enabling SVG if necessary
20904 if test "$enable_svg_fonts" = "yes"; then
20906 if test "$enable_svg" = "no"; then
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SVG feature(s) requested but SVG is disabled.. Enabling SVG support" >&5
20908 $as_echo "$as_me: WARNING: SVG feature(s) requested but SVG is disabled.. Enabling SVG support" >&2;}
20913 # check whether to enable Web Socket support
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Sockets support" >&5
20915 $as_echo_n "checking whether to enable Web Sockets support... " >&6; }
20916 # Check whether --enable-web_sockets was given.
20917 if test "${enable_web_sockets+set}" = set; then :
20918 enableval=$enable_web_sockets;
20920 enable_web_sockets="yes"
20923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_sockets" >&5
20924 $as_echo "$enable_web_sockets" >&6; }
20926 # check whether to enable Web Audio support
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Audio support" >&5
20928 $as_echo_n "checking whether to enable Web Audio support... " >&6; }
20929 # Check whether --enable-web_audio was given.
20930 if test "${enable_web_audio+set}" = set; then :
20931 enableval=$enable_web_audio;
20933 enable_web_audio="no"
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_audio" >&5
20937 $as_echo "$enable_web_audio" >&6; }
20939 # check whether to enable Web Timing support
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Timing support" >&5
20941 $as_echo_n "checking whether to enable Web Timing support... " >&6; }
20942 # Check whether --enable-web_timing was given.
20943 if test "${enable_web_timing+set}" = set; then :
20944 enableval=$enable_web_timing;
20946 enable_web_timing="no"
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_timing" >&5
20950 $as_echo "$enable_web_timing" >&6; }
20952 # check whether to enable Blob support
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Blob support" >&5
20954 $as_echo_n "checking whether to enable Blob support... " >&6; }
20955 # Check whether --enable-blob was given.
20956 if test "${enable_blob+set}" = set; then :
20957 enableval=$enable_blob;
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_blob" >&5
20963 $as_echo "$enable_blob" >&6; }
20965 # check whether to enable Fast Mobile Scrolling support
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Fast Mobile Scrolling" >&5
20967 $as_echo_n "checking whether to enable Fast Mobile Scrolling... " >&6; }
20968 # Check whether --enable-fast_mobile_scrolling was given.
20969 if test "${enable_fast_mobile_scrolling+set}" = set; then :
20970 enableval=$enable_fast_mobile_scrolling;
20972 enable_fast_mobile_scrolling="no"
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fast_mobile_scrolling" >&5
20976 $as_echo "$enable_fast_mobile_scrolling" >&6; }
20978 # check whether to enable code coverage
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable code coverage support" >&5
20980 $as_echo_n "checking whether to enable code coverage support... " >&6; }
20981 # Check whether --enable-coverage was given.
20982 if test "${enable_coverage+set}" = set; then :
20983 enableval=$enable_coverage;
20985 enable_coverage="no"
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_coverage" >&5
20989 $as_echo "$enable_coverage" >&6; }
20991 # check whether to enable FastMalloc
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable optimized memory allocator" >&5
20993 $as_echo_n "checking whether to enable optimized memory allocator... " >&6; }
20994 # Check whether --enable-fast_malloc was given.
20995 if test "${enable_fast_malloc+set}" = set; then :
20996 enableval=$enable_fast_malloc;
20998 if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fast_malloc" >&5
21002 $as_echo "$enable_fast_malloc" >&6; }
21004 # check whether to enable debug symbols
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug symbols" >&5
21006 $as_echo_n "checking whether to enable debug symbols... " >&6; }
21007 # Check whether --enable-debug_symbols was given.
21008 if test "${enable_debug_symbols+set}" = set; then :
21009 enableval=$enable_debug_symbols;
21011 if test "$enable_debug" = "yes"; then enable_debug_symbols="yes"; else enable_debug_symbols="no"; fi
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_symbols" >&5
21015 $as_echo "$enable_debug_symbols" >&6; }
21017 # check whether to enable debug features
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug features" >&5
21019 $as_echo_n "checking whether to enable debug features... " >&6; }
21020 # Check whether --enable-debug_features was given.
21021 if test "${enable_debug_features+set}" = set; then :
21022 enableval=$enable_debug_features;
21024 if test "$enable_debug" = "yes"; then enable_debug_features="yes"; else enable_debug_features="no"; fi
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_features" >&5
21028 $as_echo "$enable_debug_features" >&6; }
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable JIT compilation" >&5
21031 $as_echo_n "checking whether to enable JIT compilation... " >&6; }
21032 # Check whether --enable-jit was given.
21033 if test "${enable_jit+set}" = set; then :
21034 enableval=$enable_jit;
21039 if test "$enable_jit" = "yes"; then
21040 case "$host_cpu" in
21043 $as_echo "#define ENABLE_JIT 1" >>confdefs.h
21046 $as_echo "#define ENABLE_YARR 1" >>confdefs.h
21049 $as_echo "#define ENABLE_YARR_JIT 1" >>confdefs.h
21054 $as_echo "#define ENABLE_JIT 1" >>confdefs.h
21057 $as_echo "#define ENABLE_YARR 1" >>confdefs.h
21060 $as_echo "#define ENABLE_YARR_JIT 1" >>confdefs.h
21063 $as_echo "#define ENABLE_JIT_OPTIMIZE_CALL 1" >>confdefs.h
21066 $as_echo "#define ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS 1" >>confdefs.h
21069 $as_echo "#define ENABLE_JIT_OPTIMIZE_ARITHMETIC 1" >>confdefs.h
21071 case "$host_cpu" in
21074 $as_echo "#define WTF_USE_JIT_STUB_ARGUMENT_VA_LIST 1" >>confdefs.h
21079 $as_echo "#define WTF_USE_JIT_STUB_ARGUMENT_REGISTER 1" >>confdefs.h
21082 $as_echo "#define WTF_USE_ALTERNATE_JSIMMEDIATE 1" >>confdefs.h
21089 $as_echo "#define ENABLE_YARR 1" >>confdefs.h
21092 $as_echo "#define ENABLE_YARR_JIT 1" >>confdefs.h
21095 $as_echo "#define ENABLE_JIT 1" >>confdefs.h
21098 $as_echo "#define WTF_USE_JIT_STUB_ARGUMENT_REGISTER 1" >>confdefs.h
21102 enable_jit="no (CPU '$host_cpu' not supported)"
21107 $as_echo "#define ENABLE_JIT 0" >>confdefs.h
21110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_jit" >&5
21111 $as_echo "$enable_jit" >&6; }
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable opcode stats" >&5
21115 $as_echo_n "checking whether to enable opcode stats... " >&6; }
21116 # Check whether --enable-opcode-stats was given.
21117 if test "${enable_opcode_stats+set}" = set; then :
21118 enableval=$enable_opcode_stats;
21120 enable_opcode_stats=no
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_opcode_stats" >&5
21124 $as_echo "$enable_opcode_stats" >&6; }
21126 if test "$enable_opcode_stats" = "yes"; then
21127 if test "$enable_jit" = "yes"; then
21128 as_fn_error $? "JIT must be disabled for Opcode stats to work." "$LINENO" 5
21131 $as_echo "#define ENABLE_OPCODE_STATS 1" >>confdefs.h
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable link prefetch support" >&5
21137 $as_echo_n "checking whether to enable link prefetch support... " >&6; }
21138 # Check whether --enable-link-prefetch was given.
21139 if test "${enable_link_prefetch+set}" = set; then :
21140 enableval=$enable_link_prefetch;
21142 enable_link_prefetch=no
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_link_prefetch" >&5
21146 $as_echo "$enable_link_prefetch" >&6; }
21148 if test "$enable_link_prefetch" = "yes"; then
21150 $as_echo "#define ENABLE_LINK_PREFETCH 1" >>confdefs.h
21154 # GObject Introspection
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GObject introspection support" >&5
21156 $as_echo_n "checking whether to enable GObject introspection support... " >&6; }
21157 # Check whether --enable-introspection was given.
21158 if test "${enable_introspection+set}" = set; then :
21159 enableval=$enable_introspection;
21161 enable_introspection=no
21164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_introspection" >&5
21165 $as_echo "$enable_introspection" >&6; }
21167 # check whether to enable animation API
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Animation API support" >&5
21169 $as_echo_n "checking whether to enable Animation API support... " >&6; }
21170 # Check whether --enable-animation_api was given.
21171 if test "${enable_animation_api+set}" = set; then :
21172 enableval=$enable_animation_api;
21174 enable_animation_api="no"
21177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_animation_api" >&5
21178 $as_echo "$enable_animation_api" >&6; }
21180 # check whether to enable touch icon loading
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable touch icon loading" >&5
21182 $as_echo_n "checking whether to enable touch icon loading... " >&6; }
21183 # Check whether --enable-touch_icon_loading was given.
21184 if test "${enable_touch_icon_loading+set}" = set; then :
21185 enableval=$enable_touch_icon_loading;
21187 enable_touch_icon_loading="no"
21190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_touch_icon_loading" >&5
21191 $as_echo "$enable_touch_icon_loading" >&6; }
21193 # check whether to enable Register Protocol Handler support
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Register Protocol Handler" >&5
21195 $as_echo_n "checking whether to enable Register Protocol Handler... " >&6; }
21196 # Check whether --enable-register_protocol_handler was given.
21197 if test "${enable_register_protocol_handler+set}" = set; then :
21198 enableval=$enable_register_protocol_handler;
21200 enable_register_protocol_handler="no"
21203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_register_protocol_handler" >&5
21204 $as_echo "$enable_register_protocol_handler" >&6; }
21206 # check whether to enable DeviceOrientation support
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DeviceOrientation" >&5
21208 $as_echo_n "checking whether to enable DeviceOrientation... " >&6; }
21209 # Check whether --enable-device_orientation was given.
21210 if test "${enable_device_orientation+set}" = set; then :
21211 enableval=$enable_device_orientation;
21213 enable_device_orientation="no"
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_device_orientation" >&5
21217 $as_echo "$enable_device_orientation" >&6; }
21225 if test "$enable_introspection" = "yes"; then
21226 GOBJECT_INTROSPECTION_REQUIRED=0.9.5
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INTROSPECTION" >&5
21230 $as_echo_n "checking for INTROSPECTION... " >&6; }
21232 if test -n "$INTROSPECTION_CFLAGS"; then
21233 pkg_cv_INTROSPECTION_CFLAGS="$INTROSPECTION_CFLAGS"
21234 elif test -n "$PKG_CONFIG"; then
21235 if test -n "$PKG_CONFIG" && \
21236 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQUIRED\""; } >&5
21237 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED") 2>&5
21239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21240 test $ac_status = 0; }; then
21241 pkg_cv_INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>/dev/null`
21248 if test -n "$INTROSPECTION_LIBS"; then
21249 pkg_cv_INTROSPECTION_LIBS="$INTROSPECTION_LIBS"
21250 elif test -n "$PKG_CONFIG"; then
21251 if test -n "$PKG_CONFIG" && \
21252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQUIRED\""; } >&5
21253 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED") 2>&5
21255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21256 test $ac_status = 0; }; then
21257 pkg_cv_INTROSPECTION_LIBS=`$PKG_CONFIG --libs "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>/dev/null`
21267 if test $pkg_failed = yes; then
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21269 $as_echo "no" >&6; }
21271 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21272 _pkg_short_errors_supported=yes
21274 _pkg_short_errors_supported=no
21276 if test $_pkg_short_errors_supported = yes; then
21277 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>&1`
21279 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>&1`
21281 # Put the nasty error message in config.log where it belongs
21282 echo "$INTROSPECTION_PKG_ERRORS" >&5
21284 as_fn_error $? "Package requirements (gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED) were not met:
21286 $INTROSPECTION_PKG_ERRORS
21288 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21289 installed software in a non-standard prefix.
21291 Alternatively, you may set the environment variables INTROSPECTION_CFLAGS
21292 and INTROSPECTION_LIBS to avoid the need to call pkg-config.
21293 See the pkg-config man page for more details." "$LINENO" 5
21295 elif test $pkg_failed = untried; then
21296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21297 $as_echo "no" >&6; }
21298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21300 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21301 is in your PATH or set the PKG_CONFIG environment variable to the full
21302 path to pkg-config.
21304 Alternatively, you may set the environment variables INTROSPECTION_CFLAGS
21305 and INTROSPECTION_LIBS to avoid the need to call pkg-config.
21306 See the pkg-config man page for more details.
21308 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21309 See \`config.log' for more details" "$LINENO" 5; }
21312 INTROSPECTION_CFLAGS=$pkg_cv_INTROSPECTION_CFLAGS
21313 INTROSPECTION_LIBS=$pkg_cv_INTROSPECTION_LIBS
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21315 $as_echo "yes" >&6; }
21319 G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)"
21320 G_IR_COMPILER="$($PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0)"
21321 G_IR_GENERATE="$($PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0)"
21323 $as_echo "#define ENABLE_INTROSPECTION 1" >>confdefs.h
21331 # determine the font backend
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the font backend to use" >&5
21333 $as_echo_n "checking the font backend to use... " >&6; }
21335 # Check whether --with-font_backend was given.
21336 if test "${with_font_backend+set}" = set; then :
21337 withval=$with_font_backend;
21339 with_font_backend="freetype"
21343 case "$with_font_backend" in
21345 *) as_fn_error $? "Invalid font backend: must be freetype or pango." "$LINENO" 5 ;;
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_font_backend" >&5
21348 $as_echo "$with_font_backend" >&6; }
21350 if test "$host_cpu" = "sh4"; then
21351 CXXFLAGS="$CXXFLAGS -mieee -w"
21352 CFLAGS="$CFLAGS -mieee -w"
21355 # Add '-g' flag to gcc to build with debug symbols
21356 if test "$enable_debug_symbols" = "yes"; then
21357 CXXFLAGS="$CXXFLAGS -g"
21358 CFLAGS="$CFLAGS -g"
21361 if test "$enable_debug_features" = "no"; then
21363 $as_echo "#define NDEBUG 1" >>confdefs.h
21367 # Add the appropriate 'O' level for optimized builds
21368 if test "$enable_optimizations" = "yes"; then
21369 CXXFLAGS="$CXXFLAGS -O2"
21370 CFLAGS="$CFLAGS -O2"
21372 CXXFLAGS="$CXXFLAGS -O0"
21373 CFLAGS="$CFLAGS -O0"
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
21379 $as_echo_n "checking for LIBSOUP... " >&6; }
21381 if test -n "$LIBSOUP_CFLAGS"; then
21382 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
21383 elif test -n "$PKG_CONFIG"; then
21384 if test -n "$PKG_CONFIG" && \
21385 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED_VERSION\""; } >&5
21386 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION") 2>&5
21388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21389 test $ac_status = 0; }; then
21390 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>/dev/null`
21397 if test -n "$LIBSOUP_LIBS"; then
21398 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
21399 elif test -n "$PKG_CONFIG"; then
21400 if test -n "$PKG_CONFIG" && \
21401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED_VERSION\""; } >&5
21402 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION") 2>&5
21404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21405 test $ac_status = 0; }; then
21406 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>/dev/null`
21416 if test $pkg_failed = yes; then
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21418 $as_echo "no" >&6; }
21420 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21421 _pkg_short_errors_supported=yes
21423 _pkg_short_errors_supported=no
21425 if test $_pkg_short_errors_supported = yes; then
21426 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>&1`
21428 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>&1`
21430 # Put the nasty error message in config.log where it belongs
21431 echo "$LIBSOUP_PKG_ERRORS" >&5
21433 as_fn_error $? "Package requirements (libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION) were not met:
21435 $LIBSOUP_PKG_ERRORS
21437 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21438 installed software in a non-standard prefix.
21440 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
21441 and LIBSOUP_LIBS to avoid the need to call pkg-config.
21442 See the pkg-config man page for more details." "$LINENO" 5
21444 elif test $pkg_failed = untried; then
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21446 $as_echo "no" >&6; }
21447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21449 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21450 is in your PATH or set the PKG_CONFIG environment variable to the full
21451 path to pkg-config.
21453 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
21454 and LIBSOUP_LIBS to avoid the need to call pkg-config.
21455 See the pkg-config man page for more details.
21457 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21458 See \`config.log' for more details" "$LINENO" 5; }
21461 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
21462 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21464 $as_echo "yes" >&6; }
21470 # check if FreeType/FontConfig are available
21471 if test "$with_font_backend" = "freetype"; then
21472 if test "$with_target" = "directfb"; then
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
21476 $as_echo_n "checking for FREETYPE... " >&6; }
21478 if test -n "$FREETYPE_CFLAGS"; then
21479 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
21480 elif test -n "$PKG_CONFIG"; then
21481 if test -n "$PKG_CONFIG" && \
21482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21483 freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21484 ($PKG_CONFIG --exists --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21485 freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21488 test $ac_status = 0; }; then
21489 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21490 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21497 if test -n "$FREETYPE_LIBS"; then
21498 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
21499 elif test -n "$PKG_CONFIG"; then
21500 if test -n "$PKG_CONFIG" && \
21501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21502 freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21503 ($PKG_CONFIG --exists --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21504 freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21507 test $ac_status = 0; }; then
21508 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21509 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21519 if test $pkg_failed = yes; then
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21521 $as_echo "no" >&6; }
21523 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21524 _pkg_short_errors_supported=yes
21526 _pkg_short_errors_supported=no
21528 if test $_pkg_short_errors_supported = yes; then
21529 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21530 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21532 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21533 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21535 # Put the nasty error message in config.log where it belongs
21536 echo "$FREETYPE_PKG_ERRORS" >&5
21538 as_fn_error $? "Package requirements (fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21539 freetype2 >= $FREETYPE2_REQUIRED_VERSION) were not met:
21541 $FREETYPE_PKG_ERRORS
21543 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21544 installed software in a non-standard prefix.
21546 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21547 and FREETYPE_LIBS to avoid the need to call pkg-config.
21548 See the pkg-config man page for more details." "$LINENO" 5
21550 elif test $pkg_failed = untried; then
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21552 $as_echo "no" >&6; }
21553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21555 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21556 is in your PATH or set the PKG_CONFIG environment variable to the full
21557 path to pkg-config.
21559 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21560 and FREETYPE_LIBS to avoid the need to call pkg-config.
21561 See the pkg-config man page for more details.
21563 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21564 See \`config.log' for more details" "$LINENO" 5; }
21567 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
21568 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21570 $as_echo "yes" >&6; }
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
21577 $as_echo_n "checking for FREETYPE... " >&6; }
21579 if test -n "$FREETYPE_CFLAGS"; then
21580 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
21581 elif test -n "$PKG_CONFIG"; then
21582 if test -n "$PKG_CONFIG" && \
21583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft
21584 fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21585 freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21586 ($PKG_CONFIG --exists --print-errors "cairo-ft
21587 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21588 freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21591 test $ac_status = 0; }; then
21592 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "cairo-ft
21593 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21594 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21601 if test -n "$FREETYPE_LIBS"; then
21602 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
21603 elif test -n "$PKG_CONFIG"; then
21604 if test -n "$PKG_CONFIG" && \
21605 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft
21606 fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21607 freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21608 ($PKG_CONFIG --exists --print-errors "cairo-ft
21609 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21610 freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21613 test $ac_status = 0; }; then
21614 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "cairo-ft
21615 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21616 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21626 if test $pkg_failed = yes; then
21627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21628 $as_echo "no" >&6; }
21630 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21631 _pkg_short_errors_supported=yes
21633 _pkg_short_errors_supported=no
21635 if test $_pkg_short_errors_supported = yes; then
21636 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo-ft
21637 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21638 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21640 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo-ft
21641 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21642 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21644 # Put the nasty error message in config.log where it belongs
21645 echo "$FREETYPE_PKG_ERRORS" >&5
21647 as_fn_error $? "Package requirements (cairo-ft
21648 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21649 freetype2 >= $FREETYPE2_REQUIRED_VERSION) were not met:
21651 $FREETYPE_PKG_ERRORS
21653 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21654 installed software in a non-standard prefix.
21656 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21657 and FREETYPE_LIBS to avoid the need to call pkg-config.
21658 See the pkg-config man page for more details." "$LINENO" 5
21660 elif test $pkg_failed = untried; then
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21662 $as_echo "no" >&6; }
21663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21665 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21666 is in your PATH or set the PKG_CONFIG environment variable to the full
21667 path to pkg-config.
21669 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21670 and FREETYPE_LIBS to avoid the need to call pkg-config.
21671 See the pkg-config man page for more details.
21673 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21674 See \`config.log' for more details" "$LINENO" 5; }
21677 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
21678 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21680 $as_echo "yes" >&6; }
21688 # check if SQLite3 is available. Error out only if one of the
21689 # features hard-depending on it is enabled while SQLite3 is
21693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE3" >&5
21694 $as_echo_n "checking for SQLITE3... " >&6; }
21696 if test -n "$SQLITE3_CFLAGS"; then
21697 pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
21698 elif test -n "$PKG_CONFIG"; then
21699 if test -n "$PKG_CONFIG" && \
21700 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED_VERSION\""; } >&5
21701 ($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION") 2>&5
21703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21704 test $ac_status = 0; }; then
21705 pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>/dev/null`
21712 if test -n "$SQLITE3_LIBS"; then
21713 pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
21714 elif test -n "$PKG_CONFIG"; then
21715 if test -n "$PKG_CONFIG" && \
21716 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED_VERSION\""; } >&5
21717 ($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION") 2>&5
21719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21720 test $ac_status = 0; }; then
21721 pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>/dev/null`
21731 if test $pkg_failed = yes; then
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21733 $as_echo "no" >&6; }
21735 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21736 _pkg_short_errors_supported=yes
21738 _pkg_short_errors_supported=no
21740 if test $_pkg_short_errors_supported = yes; then
21741 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>&1`
21743 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>&1`
21745 # Put the nasty error message in config.log where it belongs
21746 echo "$SQLITE3_PKG_ERRORS" >&5
21748 sqlite3_has_pkg_config=no
21749 elif test $pkg_failed = untried; then
21750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21751 $as_echo "no" >&6; }
21752 sqlite3_has_pkg_config=no
21754 SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
21755 SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21757 $as_echo "yes" >&6; }
21758 sqlite3_has_pkg_config=yes
21760 if test "$sqlite3_has_pkg_config" = "no"; then
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open16" >&5
21762 $as_echo_n "checking for library containing sqlite3_open16... " >&6; }
21763 if ${ac_cv_search_sqlite3_open16+:} false; then :
21764 $as_echo_n "(cached) " >&6
21766 ac_func_search_save_LIBS=$LIBS
21767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21768 /* end confdefs.h. */
21770 /* Override any GCC internal prototype to avoid an error.
21771 Use char because int might match the return type of a GCC
21772 builtin and then its argument prototype would still apply. */
21776 char sqlite3_open16 ();
21780 return sqlite3_open16 ();
21785 for ac_lib in '' sqlite3; do
21786 if test -z "$ac_lib"; then
21787 ac_res="none required"
21790 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21792 if ac_fn_c_try_link "$LINENO"; then :
21793 ac_cv_search_sqlite3_open16=$ac_res
21795 rm -f core conftest.err conftest.$ac_objext \
21797 if ${ac_cv_search_sqlite3_open16+:} false; then :
21801 if ${ac_cv_search_sqlite3_open16+:} false; then :
21804 ac_cv_search_sqlite3_open16=no
21806 rm conftest.$ac_ext
21807 LIBS=$ac_func_search_save_LIBS
21809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open16" >&5
21810 $as_echo "$ac_cv_search_sqlite3_open16" >&6; }
21811 ac_res=$ac_cv_search_sqlite3_open16
21812 if test "$ac_res" != no; then :
21813 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21814 sqlite3_found=yes;SQLITE3_LIBS="$LIBS";SQLITE3_CFLAGS="-I $srcdir/WebKitLibraries/WebCoreSQLite3"
21823 if (test "$sqlite3_found" = "no") && (test "$enable_icon_database" = "yes" || \
21824 test "$enable_sql_database" = "yes" || \
21825 test "$enable_offline_web_applications" = "yes" || \
21826 test "$enable_dom_storage" = "yes"); then
21827 as_fn_error $? "SQLite3 is required for the Database related features" "$LINENO" 5
21830 # check if libxslt is available
21831 if test "$enable_xslt" = "yes"; then
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXSLT" >&5
21835 $as_echo_n "checking for LIBXSLT... " >&6; }
21837 if test -n "$LIBXSLT_CFLAGS"; then
21838 pkg_cv_LIBXSLT_CFLAGS="$LIBXSLT_CFLAGS"
21839 elif test -n "$PKG_CONFIG"; then
21840 if test -n "$PKG_CONFIG" && \
21841 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= \$LIBXSLT_REQUIRED_VERSION\""; } >&5
21842 ($PKG_CONFIG --exists --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION") 2>&5
21844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21845 test $ac_status = 0; }; then
21846 pkg_cv_LIBXSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>/dev/null`
21853 if test -n "$LIBXSLT_LIBS"; then
21854 pkg_cv_LIBXSLT_LIBS="$LIBXSLT_LIBS"
21855 elif test -n "$PKG_CONFIG"; then
21856 if test -n "$PKG_CONFIG" && \
21857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= \$LIBXSLT_REQUIRED_VERSION\""; } >&5
21858 ($PKG_CONFIG --exists --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION") 2>&5
21860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21861 test $ac_status = 0; }; then
21862 pkg_cv_LIBXSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>/dev/null`
21872 if test $pkg_failed = yes; then
21873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21874 $as_echo "no" >&6; }
21876 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21877 _pkg_short_errors_supported=yes
21879 _pkg_short_errors_supported=no
21881 if test $_pkg_short_errors_supported = yes; then
21882 LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>&1`
21884 LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>&1`
21886 # Put the nasty error message in config.log where it belongs
21887 echo "$LIBXSLT_PKG_ERRORS" >&5
21889 as_fn_error $? "Package requirements (libxslt >= $LIBXSLT_REQUIRED_VERSION) were not met:
21891 $LIBXSLT_PKG_ERRORS
21893 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21894 installed software in a non-standard prefix.
21896 Alternatively, you may set the environment variables LIBXSLT_CFLAGS
21897 and LIBXSLT_LIBS to avoid the need to call pkg-config.
21898 See the pkg-config man page for more details." "$LINENO" 5
21900 elif test $pkg_failed = untried; then
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21902 $as_echo "no" >&6; }
21903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21905 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21906 is in your PATH or set the PKG_CONFIG environment variable to the full
21907 path to pkg-config.
21909 Alternatively, you may set the environment variables LIBXSLT_CFLAGS
21910 and LIBXSLT_LIBS to avoid the need to call pkg-config.
21911 See the pkg-config man page for more details.
21913 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21914 See \`config.log' for more details" "$LINENO" 5; }
21917 LIBXSLT_CFLAGS=$pkg_cv_LIBXSLT_CFLAGS
21918 LIBXSLT_LIBS=$pkg_cv_LIBXSLT_LIBS
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21920 $as_echo "yes" >&6; }
21927 # check if geoclue is available
21928 if test "$enable_geolocation" = "yes"; then
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEOCLUE" >&5
21932 $as_echo_n "checking for GEOCLUE... " >&6; }
21934 if test -n "$GEOCLUE_CFLAGS"; then
21935 pkg_cv_GEOCLUE_CFLAGS="$GEOCLUE_CFLAGS"
21936 elif test -n "$PKG_CONFIG"; then
21937 if test -n "$PKG_CONFIG" && \
21938 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"geoclue\""; } >&5
21939 ($PKG_CONFIG --exists --print-errors "geoclue") 2>&5
21941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21942 test $ac_status = 0; }; then
21943 pkg_cv_GEOCLUE_CFLAGS=`$PKG_CONFIG --cflags "geoclue" 2>/dev/null`
21950 if test -n "$GEOCLUE_LIBS"; then
21951 pkg_cv_GEOCLUE_LIBS="$GEOCLUE_LIBS"
21952 elif test -n "$PKG_CONFIG"; then
21953 if test -n "$PKG_CONFIG" && \
21954 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"geoclue\""; } >&5
21955 ($PKG_CONFIG --exists --print-errors "geoclue") 2>&5
21957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21958 test $ac_status = 0; }; then
21959 pkg_cv_GEOCLUE_LIBS=`$PKG_CONFIG --libs "geoclue" 2>/dev/null`
21969 if test $pkg_failed = yes; then
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21971 $as_echo "no" >&6; }
21973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21974 _pkg_short_errors_supported=yes
21976 _pkg_short_errors_supported=no
21978 if test $_pkg_short_errors_supported = yes; then
21979 GEOCLUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "geoclue" 2>&1`
21981 GEOCLUE_PKG_ERRORS=`$PKG_CONFIG --print-errors "geoclue" 2>&1`
21983 # Put the nasty error message in config.log where it belongs
21984 echo "$GEOCLUE_PKG_ERRORS" >&5
21986 as_fn_error $? "Package requirements (geoclue) were not met:
21988 $GEOCLUE_PKG_ERRORS
21990 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21991 installed software in a non-standard prefix.
21993 Alternatively, you may set the environment variables GEOCLUE_CFLAGS
21994 and GEOCLUE_LIBS to avoid the need to call pkg-config.
21995 See the pkg-config man page for more details." "$LINENO" 5
21997 elif test $pkg_failed = untried; then
21998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21999 $as_echo "no" >&6; }
22000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22002 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22003 is in your PATH or set the PKG_CONFIG environment variable to the full
22004 path to pkg-config.
22006 Alternatively, you may set the environment variables GEOCLUE_CFLAGS
22007 and GEOCLUE_LIBS to avoid the need to call pkg-config.
22008 See the pkg-config man page for more details.
22010 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22011 See \`config.log' for more details" "$LINENO" 5; }
22014 GEOCLUE_CFLAGS=$pkg_cv_GEOCLUE_CFLAGS
22015 GEOCLUE_LIBS=$pkg_cv_GEOCLUE_LIBS
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22017 $as_echo "yes" >&6; }
22024 # check for XRender under Linux/Unix. Some linkers require explicit
22025 # linkage (like GNU Gold), so we cannot rely on GTK+ pulling XRender
22026 if test "$os_win32" = "no"; then
22029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRENDER" >&5
22030 $as_echo_n "checking for XRENDER... " >&6; }
22032 if test -n "$XRENDER_CFLAGS"; then
22033 pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
22034 elif test -n "$PKG_CONFIG"; then
22035 if test -n "$PKG_CONFIG" && \
22036 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender\""; } >&5
22037 ($PKG_CONFIG --exists --print-errors "xrender") 2>&5
22039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22040 test $ac_status = 0; }; then
22041 pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender" 2>/dev/null`
22048 if test -n "$XRENDER_LIBS"; then
22049 pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
22050 elif test -n "$PKG_CONFIG"; then
22051 if test -n "$PKG_CONFIG" && \
22052 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender\""; } >&5
22053 ($PKG_CONFIG --exists --print-errors "xrender") 2>&5
22055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22056 test $ac_status = 0; }; then
22057 pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender" 2>/dev/null`
22067 if test $pkg_failed = yes; then
22068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22069 $as_echo "no" >&6; }
22071 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22072 _pkg_short_errors_supported=yes
22074 _pkg_short_errors_supported=no
22076 if test $_pkg_short_errors_supported = yes; then
22077 XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender" 2>&1`
22079 XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender" 2>&1`
22081 # Put the nasty error message in config.log where it belongs
22082 echo "$XRENDER_PKG_ERRORS" >&5
22084 as_fn_error $? "Package requirements (xrender) were not met:
22086 $XRENDER_PKG_ERRORS
22088 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22089 installed software in a non-standard prefix.
22091 Alternatively, you may set the environment variables XRENDER_CFLAGS
22092 and XRENDER_LIBS to avoid the need to call pkg-config.
22093 See the pkg-config man page for more details." "$LINENO" 5
22095 elif test $pkg_failed = untried; then
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22097 $as_echo "no" >&6; }
22098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22100 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22101 is in your PATH or set the PKG_CONFIG environment variable to the full
22102 path to pkg-config.
22104 Alternatively, you may set the environment variables XRENDER_CFLAGS
22105 and XRENDER_LIBS to avoid the need to call pkg-config.
22106 See the pkg-config man page for more details.
22108 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22109 See \`config.log' for more details" "$LINENO" 5; }
22112 XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
22113 XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22115 $as_echo "yes" >&6; }
22122 # check if gstreamer is available - video is not linked with gstreamer.
22123 #if test "$enable_video" = "yes"; then
22124 # PKG_CHECK_MODULES([GSTREAMER],
22125 # [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
22126 # gstreamer-app-0.10
22127 # gstreamer-base-0.10
22128 # gstreamer-interfaces-0.10
22129 # gstreamer-pbutils-0.10
22130 # gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION
22131 # gstreamer-video-0.10],
22132 # [have_gstreamer=yes])
22134 # AC_SUBST([GSTREAMER_CFLAGS])
22135 # AC_SUBST([GSTREAMER_LIBS])
22138 # check for code coverage support
22139 if test "$enable_coverage" = "yes"; then
22140 COVERAGE_CFLAGS="-MD"
22141 COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs"
22146 # check for HTML features
22147 if test "$enable_video" = "yes"; then
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Webkit2" >&5
22153 $as_echo_n "checking whether to build Webkit2... " >&6; }
22154 # Check whether --enable-webkit2 was given.
22155 if test "${enable_webkit2+set}" = set; then :
22156 enableval=$enable_webkit2;
22158 enable_webkit2="no"
22161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webkit2" >&5
22162 $as_echo "$enable_webkit2" >&6; }
22163 if test "$enable_webkit2" = "yes"; then
22164 if test "$GTK_API_VERSION" = "2.0"; then
22165 as_fn_error $? "WebKit2 requires GTK+ 3.x, use --with-gtk=3.0" "$LINENO" 5
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin process for WebKit2" >&5
22171 $as_echo_n "checking whether to build plugin process for WebKit2... " >&6; }
22172 # Check whether --enable-plugin_process was given.
22173 if test "${enable_plugin_process+set}" = set; then :
22174 enableval=$enable_plugin_process;
22176 enable_plugin_process="yes"
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_plugin_process" >&5
22180 $as_echo "$enable_plugin_process" >&6; }
22182 # Build the plugin process only when building Webkit2.
22183 if test "$enable_webkit2" = "no"; then
22184 enable_plugin_process=no
22187 # Make sure we have GTK+ 2.x to build the plugin process.
22188 if test "$enable_plugin_process" = "yes"; then
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
22192 $as_echo_n "checking for GTK2... " >&6; }
22194 if test -n "$GTK2_CFLAGS"; then
22195 pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
22196 elif test -n "$PKG_CONFIG"; then
22197 if test -n "$PKG_CONFIG" && \
22198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_REQUIRED_VERSION gail >= \$GAIL2_REQUIRED_VERSION\""; } >&5
22199 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION") 2>&5
22201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22202 test $ac_status = 0; }; then
22203 pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>/dev/null`
22210 if test -n "$GTK2_LIBS"; then
22211 pkg_cv_GTK2_LIBS="$GTK2_LIBS"
22212 elif test -n "$PKG_CONFIG"; then
22213 if test -n "$PKG_CONFIG" && \
22214 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_REQUIRED_VERSION gail >= \$GAIL2_REQUIRED_VERSION\""; } >&5
22215 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION") 2>&5
22217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22218 test $ac_status = 0; }; then
22219 pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>/dev/null`
22229 if test $pkg_failed = yes; then
22230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22231 $as_echo "no" >&6; }
22233 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22234 _pkg_short_errors_supported=yes
22236 _pkg_short_errors_supported=no
22238 if test $_pkg_short_errors_supported = yes; then
22239 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>&1`
22241 GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>&1`
22243 # Put the nasty error message in config.log where it belongs
22244 echo "$GTK2_PKG_ERRORS" >&5
22246 as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION) were not met:
22250 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22251 installed software in a non-standard prefix.
22253 Alternatively, you may set the environment variables GTK2_CFLAGS
22254 and GTK2_LIBS to avoid the need to call pkg-config.
22255 See the pkg-config man page for more details." "$LINENO" 5
22257 elif test $pkg_failed = untried; then
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22259 $as_echo "no" >&6; }
22260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22262 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22263 is in your PATH or set the PKG_CONFIG environment variable to the full
22264 path to pkg-config.
22266 Alternatively, you may set the environment variables GTK2_CFLAGS
22267 and GTK2_LIBS to avoid the need to call pkg-config.
22268 See the pkg-config man page for more details.
22270 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22271 See \`config.log' for more details" "$LINENO" 5; }
22274 GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
22275 GTK2_LIBS=$pkg_cv_GTK2_LIBS
22276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22277 $as_echo "yes" >&6; }
22284 #GTK_DOC_CHECK([1.10])
22287 if test "$os_win32" = "yes"; then
22295 if test "$os_win32" = "no"; then
22303 if test "$os_linux" = "yes"; then
22311 if test "$os_gnu" = "yes"; then
22319 if test "$os_freebsd" = "yes"; then
22321 OS_FREEBSD_FALSE='#'
22323 OS_FREEBSD_TRUE='#'
22328 # target conditionals
22329 if test "$with_target" = "x11"; then
22331 TARGET_X11_FALSE='#'
22333 TARGET_X11_TRUE='#'
22337 if test "$with_target" = "win32"; then
22339 TARGET_WIN32_FALSE='#'
22341 TARGET_WIN32_TRUE='#'
22342 TARGET_WIN32_FALSE=
22345 if test "$with_target" = "quartz"; then
22346 TARGET_QUARTZ_TRUE=
22347 TARGET_QUARTZ_FALSE='#'
22349 TARGET_QUARTZ_TRUE='#'
22350 TARGET_QUARTZ_FALSE=
22353 if test "$with_target" = "directfb"; then
22354 TARGET_DIRECTFB_TRUE=
22355 TARGET_DIRECTFB_FALSE='#'
22357 TARGET_DIRECTFB_TRUE='#'
22358 TARGET_DIRECTFB_FALSE=
22362 # Unicode backend conditionals
22363 if test "$with_unicode_backend" = "icu"; then
22364 USE_ICU_UNICODE_TRUE=
22365 USE_ICU_UNICODE_FALSE='#'
22367 USE_ICU_UNICODE_TRUE='#'
22368 USE_ICU_UNICODE_FALSE=
22371 if test "$with_unicode_backend" = "glib"; then
22372 USE_GLIB_UNICODE_TRUE=
22373 USE_GLIB_UNICODE_FALSE='#'
22375 USE_GLIB_UNICODE_TRUE='#'
22376 USE_GLIB_UNICODE_FALSE=
22380 # Font backend conditionals
22381 if test "$with_font_backend" = "freetype"; then
22383 USE_FREETYPE_FALSE='#'
22385 USE_FREETYPE_TRUE='#'
22386 USE_FREETYPE_FALSE=
22389 if test "$with_font_backend" = "pango"; then
22391 USE_PANGO_FALSE='#'
22398 # GStreamer feature conditional
22399 if test "$have_gstreamer" = "yes"; then
22400 USE_GSTREAMER_TRUE=
22401 USE_GSTREAMER_FALSE='#'
22403 USE_GSTREAMER_TRUE='#'
22404 USE_GSTREAMER_FALSE=
22408 # WebKit feature conditionals
22409 if test "$enable_debug_features" = "yes"; then
22411 ENABLE_DEBUG_FALSE='#'
22413 ENABLE_DEBUG_TRUE='#'
22414 ENABLE_DEBUG_FALSE=
22417 if test "$enable_3d_rendering" = "yes"; then
22418 ENABLE_3D_RENDERING_TRUE=
22419 ENABLE_3D_RENDERING_FALSE='#'
22421 ENABLE_3D_RENDERING_TRUE='#'
22422 ENABLE_3D_RENDERING_FALSE=
22425 if test "$enable_webgl" = "yes"; then
22427 ENABLE_WEBGL_FALSE='#'
22429 ENABLE_WEBGL_TRUE='#'
22430 ENABLE_WEBGL_FALSE=
22433 if test "$enable_blob" = "yes"; then
22435 ENABLE_BLOB_FALSE='#'
22437 ENABLE_BLOB_TRUE='#'
22441 if test "$enable_meter_tag" = "yes"; then
22442 ENABLE_METER_TAG_TRUE=
22443 ENABLE_METER_TAG_FALSE='#'
22445 ENABLE_METER_TAG_TRUE='#'
22446 ENABLE_METER_TAG_FALSE=
22449 if test "$enable_page_visibility_api" = "yes"; then
22450 ENABLE_PAGE_VISIBILITY_API_TRUE=
22451 ENABLE_PAGE_VISIBILITY_API_FALSE='#'
22453 ENABLE_PAGE_VISIBILITY_API_TRUE='#'
22454 ENABLE_PAGE_VISIBILITY_API_FALSE=
22457 if test "$enable_progress_tag" = "yes"; then
22458 ENABLE_PROGRESS_TAG_TRUE=
22459 ENABLE_PROGRESS_TAG_FALSE='#'
22461 ENABLE_PROGRESS_TAG_TRUE='#'
22462 ENABLE_PROGRESS_TAG_FALSE=
22465 if test "$enable_channel_messaging" = "yes"; then
22466 ENABLE_CHANNEL_MESSAGING_TRUE=
22467 ENABLE_CHANNEL_MESSAGING_FALSE='#'
22469 ENABLE_CHANNEL_MESSAGING_TRUE='#'
22470 ENABLE_CHANNEL_MESSAGING_FALSE=
22473 if test "$enable_javascript_debugger" = "yes"; then
22474 ENABLE_JAVASCRIPT_DEBUGGER_TRUE=
22475 ENABLE_JAVASCRIPT_DEBUGGER_FALSE='#'
22477 ENABLE_JAVASCRIPT_DEBUGGER_TRUE='#'
22478 ENABLE_JAVASCRIPT_DEBUGGER_FALSE=
22481 if test "$enable_offline_web_applications" = "yes"; then
22482 ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE=
22483 ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE='#'
22485 ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE='#'
22486 ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE=
22489 if test "$enable_directory_upload" = "yes"; then
22490 ENABLE_DIRECTORY_UPLOAD_TRUE=
22491 ENABLE_DIRECTORY_UPLOAD_FALSE='#'
22493 ENABLE_DIRECTORY_UPLOAD_TRUE='#'
22494 ENABLE_DIRECTORY_UPLOAD_FALSE=
22497 if test "$enable_datagrid" = "yes"; then
22498 ENABLE_DATAGRID_TRUE=
22499 ENABLE_DATAGRID_FALSE='#'
22501 ENABLE_DATAGRID_TRUE='#'
22502 ENABLE_DATAGRID_FALSE=
22505 if test "$enable_data_transfer_items" = "yes"; then
22506 ENABLE_DATA_TRANSFER_ITEMS_TRUE=
22507 ENABLE_DATA_TRANSFER_ITEMS_FALSE='#'
22509 ENABLE_DATA_TRANSFER_ITEMS_TRUE='#'
22510 ENABLE_DATA_TRANSFER_ITEMS_FALSE=
22513 if test "$enable_dom_storage" = "yes"; then
22514 ENABLE_DOM_STORAGE_TRUE=
22515 ENABLE_DOM_STORAGE_FALSE='#'
22517 ENABLE_DOM_STORAGE_TRUE='#'
22518 ENABLE_DOM_STORAGE_FALSE=
22521 if test "$enable_sql_database" = "yes"; then
22522 ENABLE_SQL_DATABASE_TRUE=
22523 ENABLE_SQL_DATABASE_FALSE='#'
22525 ENABLE_SQL_DATABASE_TRUE='#'
22526 ENABLE_SQL_DATABASE_FALSE=
22529 if test "$enable_datalist" = "yes"; then
22530 ENABLE_DATALIST_TRUE=
22531 ENABLE_DATALIST_FALSE='#'
22533 ENABLE_DATALIST_TRUE='#'
22534 ENABLE_DATALIST_FALSE=
22537 if test "$enable_details" = "yes"; then
22538 ENABLE_DETAILS_TRUE=
22539 ENABLE_DETAILS_FALSE='#'
22541 ENABLE_DETAILS_TRUE='#'
22542 ENABLE_DETAILS_FALSE=
22545 if test "$enable_fast_mobile_scrolling" = "yes"; then
22546 ENABLE_FAST_MOBILE_SCROLLING_TRUE=
22547 ENABLE_FAST_MOBILE_SCROLLING_FALSE='#'
22549 ENABLE_FAST_MOBILE_SCROLLING_TRUE='#'
22550 ENABLE_FAST_MOBILE_SCROLLING_FALSE=
22553 if test "$enable_file_system" = "yes"; then
22554 ENABLE_FILE_SYSTEM_TRUE=
22555 ENABLE_FILE_SYSTEM_FALSE='#'
22557 ENABLE_FILE_SYSTEM_TRUE='#'
22558 ENABLE_FILE_SYSTEM_FALSE=
22561 if test "$enable_quota" = "yes"; then
22563 ENABLE_QUOTA_FALSE='#'
22565 ENABLE_QUOTA_TRUE='#'
22566 ENABLE_QUOTA_FALSE=
22569 if test "$enable_icon_database" = "yes"; then
22570 ENABLE_ICONDATABASE_TRUE=
22571 ENABLE_ICONDATABASE_FALSE='#'
22573 ENABLE_ICONDATABASE_TRUE='#'
22574 ENABLE_ICONDATABASE_FALSE=
22577 if test "$enable_image_resizer" = "yes"; then
22578 ENABLE_IMAGE_RESIZER_TRUE=
22579 ENABLE_IMAGE_RESIZER_FALSE='#'
22581 ENABLE_IMAGE_RESIZER_TRUE='#'
22582 ENABLE_IMAGE_RESIZER_FALSE=
22585 if test "$enable_indexed_database" = "yes"; then
22586 ENABLE_INDEXED_DATABASE_TRUE=
22587 ENABLE_INDEXED_DATABASE_FALSE='#'
22589 ENABLE_INDEXED_DATABASE_TRUE='#'
22590 ENABLE_INDEXED_DATABASE_FALSE=
22593 if test "$enable_input_color" = "yes"; then
22594 ENABLE_INPUT_COLOR_TRUE=
22595 ENABLE_INPUT_COLOR_FALSE='#'
22597 ENABLE_INPUT_COLOR_TRUE='#'
22598 ENABLE_INPUT_COLOR_FALSE=
22601 if test "$enable_input_speech" = "yes"; then
22602 ENABLE_INPUT_SPEECH_TRUE=
22603 ENABLE_INPUT_SPEECH_FALSE='#'
22605 ENABLE_INPUT_SPEECH_TRUE='#'
22606 ENABLE_INPUT_SPEECH_FALSE=
22609 if test "$enable_xhtmlmp" = "yes"; then
22610 ENABLE_XHTMLMP_TRUE=
22611 ENABLE_XHTMLMP_FALSE='#'
22613 ENABLE_XHTMLMP_TRUE='#'
22614 ENABLE_XHTMLMP_FALSE=
22617 if test "$enable_xpath" = "yes"; then
22619 ENABLE_XPATH_FALSE='#'
22621 ENABLE_XPATH_TRUE='#'
22622 ENABLE_XPATH_FALSE=
22625 if test "$enable_xslt" = "yes"; then
22627 ENABLE_XSLT_FALSE='#'
22629 ENABLE_XSLT_TRUE='#'
22633 if test "$enable_filters" = "yes"; then
22634 ENABLE_FILTERS_TRUE=
22635 ENABLE_FILTERS_FALSE='#'
22637 ENABLE_FILTERS_TRUE='#'
22638 ENABLE_FILTERS_FALSE=
22641 if test "$enable_geolocation" = "yes"; then
22642 ENABLE_GEOLOCATION_TRUE=
22643 ENABLE_GEOLOCATION_FALSE='#'
22645 ENABLE_GEOLOCATION_TRUE='#'
22646 ENABLE_GEOLOCATION_FALSE=
22649 if test "$enable_client_based_geolocation" = "yes"; then
22650 ENABLE_CLIENT_BASED_GEOLOCATION_TRUE=
22651 ENABLE_CLIENT_BASED_GEOLOCATION_FALSE='#'
22653 ENABLE_CLIENT_BASED_GEOLOCATION_TRUE='#'
22654 ENABLE_CLIENT_BASED_GEOLOCATION_FALSE=
22657 if test "$enable_mathml" = "yes"; then
22658 ENABLE_MATHML_TRUE=
22659 ENABLE_MATHML_FALSE='#'
22661 ENABLE_MATHML_TRUE='#'
22662 ENABLE_MATHML_FALSE=
22665 if test "$enable_mhtml" = "yes"; then
22667 ENABLE_MHTML_FALSE='#'
22669 ENABLE_MHTML_TRUE='#'
22670 ENABLE_MHTML_FALSE=
22673 if test "$enable_video" = "yes"; then
22675 ENABLE_VIDEO_FALSE='#'
22677 ENABLE_VIDEO_TRUE='#'
22678 ENABLE_VIDEO_FALSE=
22681 if test "$enable_elis_media" = "yes"; then
22682 ENABLE_ELIS_MEDIA_TRUE=
22683 ENABLE_ELIS_MEDIA_FALSE='#'
22685 ENABLE_ELIS_MEDIA_TRUE='#'
22686 ENABLE_ELIS_MEDIA_FALSE=
22689 if test "$enable_media_source" = "yes"; then
22690 ENABLE_MEDIA_SOURCE_TRUE=
22691 ENABLE_MEDIA_SOURCE_FALSE='#'
22693 ENABLE_MEDIA_SOURCE_TRUE='#'
22694 ENABLE_MEDIA_SOURCE_FALSE=
22697 if test "$enable_media_statistics" = "yes"; then
22698 ENABLE_MEDIA_STATISTICS_TRUE=
22699 ENABLE_MEDIA_STATISTICS_FALSE='#'
22701 ENABLE_MEDIA_STATISTICS_TRUE='#'
22702 ENABLE_MEDIA_STATISTICS_FALSE=
22705 if test "$enable_video_track" = "yes"; then
22706 ENABLE_VIDEO_TRACK_TRUE=
22707 ENABLE_VIDEO_TRACK_FALSE='#'
22709 ENABLE_VIDEO_TRACK_TRUE='#'
22710 ENABLE_VIDEO_TRACK_FALSE=
22713 if test "$enable_fullscreen_api" = "yes"; then
22714 ENABLE_FULLSCREEN_API_TRUE=
22715 ENABLE_FULLSCREEN_API_FALSE='#'
22717 ENABLE_FULLSCREEN_API_TRUE='#'
22718 ENABLE_FULLSCREEN_API_FALSE=
22721 if test "$enable_media_stream" = "yes"; then
22722 ENABLE_MEDIA_STREAM_TRUE=
22723 ENABLE_MEDIA_STREAM_FALSE='#'
22725 ENABLE_MEDIA_STREAM_TRUE='#'
22726 ENABLE_MEDIA_STREAM_FALSE=
22729 if test "$enable_notifications" = "yes"; then
22730 ENABLE_NOTIFICATIONS_TRUE=
22731 ENABLE_NOTIFICATIONS_FALSE='#'
22733 ENABLE_NOTIFICATIONS_TRUE='#'
22734 ENABLE_NOTIFICATIONS_FALSE=
22737 if test "$enable_orientation_events" = "yes"; then
22738 ENABLE_ORIENTATION_EVENTS_TRUE=
22739 ENABLE_ORIENTATION_EVENTS_FALSE='#'
22741 ENABLE_ORIENTATION_EVENTS_TRUE='#'
22742 ENABLE_ORIENTATION_EVENTS_FALSE=
22745 if test "$enable_svg" = "yes"; then
22747 ENABLE_SVG_FALSE='#'
22749 ENABLE_SVG_TRUE='#'
22753 if test "$enable_svg_fonts" = "yes"; then
22754 ENABLE_SVG_FONTS_TRUE=
22755 ENABLE_SVG_FONTS_FALSE='#'
22757 ENABLE_SVG_FONTS_TRUE='#'
22758 ENABLE_SVG_FONTS_FALSE=
22761 if test "$enable_coverage" = "yes"; then
22762 ENABLE_COVERAGE_TRUE=
22763 ENABLE_COVERAGE_FALSE='#'
22765 ENABLE_COVERAGE_TRUE='#'
22766 ENABLE_COVERAGE_FALSE=
22769 if test "$enable_fast_malloc" = "yes"; then
22770 ENABLE_FAST_MALLOC_TRUE=
22771 ENABLE_FAST_MALLOC_FALSE='#'
22773 ENABLE_FAST_MALLOC_TRUE='#'
22774 ENABLE_FAST_MALLOC_FALSE=
22777 if test "$enable_wcss" = "yes"; then
22779 ENABLE_WCSS_FALSE='#'
22781 ENABLE_WCSS_TRUE='#'
22785 if test "$enable_workers" = "yes"; then
22786 ENABLE_WORKERS_TRUE=
22787 ENABLE_WORKERS_FALSE='#'
22789 ENABLE_WORKERS_TRUE='#'
22790 ENABLE_WORKERS_FALSE=
22793 if test "$enable_shared_workers" = "yes"; then
22794 ENABLE_SHARED_WORKERS_TRUE=
22795 ENABLE_SHARED_WORKERS_FALSE='#'
22797 ENABLE_SHARED_WORKERS_TRUE='#'
22798 ENABLE_SHARED_WORKERS_FALSE=
22801 if test "$svg_flags" = "yes"; then
22803 SVG_FLAGS_FALSE='#'
22809 if test "$html_flags" = "yes"; then
22811 HTML_FLAGS_FALSE='#'
22813 HTML_FLAGS_TRUE='#'
22817 if test "$enable_web_sockets" = "yes"; then
22818 ENABLE_WEB_SOCKETS_TRUE=
22819 ENABLE_WEB_SOCKETS_FALSE='#'
22821 ENABLE_WEB_SOCKETS_TRUE='#'
22822 ENABLE_WEB_SOCKETS_FALSE=
22825 if test "$enable_web_audio" = "yes"; then
22826 ENABLE_WEB_AUDIO_TRUE=
22827 ENABLE_WEB_AUDIO_FALSE='#'
22829 ENABLE_WEB_AUDIO_TRUE='#'
22830 ENABLE_WEB_AUDIO_FALSE=
22833 if test "$enable_web_timing" = "yes"; then
22834 ENABLE_WEB_TIMING_TRUE=
22835 ENABLE_WEB_TIMING_FALSE='#'
22837 ENABLE_WEB_TIMING_TRUE='#'
22838 ENABLE_WEB_TIMING_FALSE=
22841 if test "$enable_opcode_stats" = "yes"; then
22842 ENABLE_OPCODE_STATS_TRUE=
22843 ENABLE_OPCODE_STATS_FALSE='#'
22845 ENABLE_OPCODE_STATS_TRUE='#'
22846 ENABLE_OPCODE_STATS_FALSE=
22849 if test "$enable_webkit2" = "yes"; then
22850 ENABLE_WEBKIT2_TRUE=
22851 ENABLE_WEBKIT2_FALSE='#'
22853 ENABLE_WEBKIT2_TRUE='#'
22854 ENABLE_WEBKIT2_FALSE=
22857 if test "$enable_plugin_process" = "yes"; then
22858 ENABLE_PLUGIN_PROCESS_TRUE=
22859 ENABLE_PLUGIN_PROCESS_FALSE='#'
22861 ENABLE_PLUGIN_PROCESS_TRUE='#'
22862 ENABLE_PLUGIN_PROCESS_FALSE=
22865 if test "$enable_spellcheck" = "yes"; then
22866 ENABLE_SPELLCHECK_TRUE=
22867 ENABLE_SPELLCHECK_FALSE='#'
22869 ENABLE_SPELLCHECK_TRUE='#'
22870 ENABLE_SPELLCHECK_FALSE=
22873 if test "$enable_animation_api" = "yes"; then
22874 ENABLE_ANIMATION_API_TRUE=
22875 ENABLE_ANIMATION_API_FALSE='#'
22877 ENABLE_ANIMATION_API_TRUE='#'
22878 ENABLE_ANIMATION_API_FALSE=
22881 if test "$enable_touch_icon_loading" = "yes"; then
22882 ENABLE_TOUCH_ICON_LOADING_TRUE=
22883 ENABLE_TOUCH_ICON_LOADING_FALSE='#'
22885 ENABLE_TOUCH_ICON_LOADING_TRUE='#'
22886 ENABLE_TOUCH_ICON_LOADING_FALSE=
22889 if test "$enable_register_protocol_handler" = "yes"; then
22890 ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE=
22891 ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE='#'
22893 ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE='#'
22894 ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE=
22897 if test "$enable_device_orientation" = "yes"; then
22898 ENABLE_DEVICE_ORIENTATION_TRUE=
22899 ENABLE_DEVICE_ORIENTATION_FALSE='#'
22901 ENABLE_DEVICE_ORIENTATION_TRUE='#'
22902 ENABLE_DEVICE_ORIENTATION_FALSE=
22907 if test "$enable_introspection" = "yes"; then
22908 ENABLE_INTROSPECTION_TRUE=
22909 ENABLE_INTROSPECTION_FALSE='#'
22911 ENABLE_INTROSPECTION_TRUE='#'
22912 ENABLE_INTROSPECTION_FALSE=
22916 ac_config_files="$ac_config_files GNUmakefile"
22920 ac_config_files="$ac_config_files Source/WebKit/gtk/webkit/webkitversion.h Source/WebKit/gtk/docs/GNUmakefile Source/WebKit/gtk/docs/version.xml"
22923 ac_config_files="$ac_config_files Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/webkit.pc.in Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:Source/WebKit/gtk/JSCore.gir.in Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:Source/WebKit/gtk/org.webkitgtk.gschema.xml.in Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc:Source/JavaScriptCore/javascriptcoregtk.pc.in"
22927 if test "$enable_webkit2" = "yes"; then
22928 ac_config_files="$ac_config_files Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/webkit2gtk.pc.in"
22932 cat >confcache <<\_ACEOF
22933 # This file is a shell script that caches the results of configure
22934 # tests run on this system so they can be shared between configure
22935 # scripts and configure runs, see configure's option --config-cache.
22936 # It is not useful on other systems. If it contains results you don't
22937 # want to keep, you may remove or edit it.
22939 # config.status only pays attention to the cache file if you give it
22940 # the --recheck option to rerun configure.
22942 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22944 # following values.
22948 # The following way of writing the cache mishandles newlines in values,
22949 # but we know of no workaround that is simple, portable, and efficient.
22950 # So, we kill variables containing newlines.
22951 # Ultrix sh set writes to stderr and can't be redirected directly,
22952 # and sets the high bit in the cache file unless we assign to the vars.
22954 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22955 eval ac_val=\$$ac_var
22959 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22960 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22963 _ | IFS | as_nl) ;; #(
22964 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22965 *) { eval $ac_var=; unset $ac_var;} ;;
22971 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22972 *${as_nl}ac_space=\ *)
22973 # `set' does not quote correctly, so add quotes: double-quote
22974 # substitution turns \\\\ into \\, and sed turns \\ into \.
22977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22980 # `set' quotes correctly as required by POSIX, so do not add quotes.
22981 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22990 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22992 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22994 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22995 if test -w "$cache_file"; then
22996 if test "x$cache_file" != "x/dev/null"; then
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22998 $as_echo "$as_me: updating cache $cache_file" >&6;}
22999 if test ! -f "$cache_file" || test -h "$cache_file"; then
23000 cat confcache >"$cache_file"
23002 case $cache_file in #(
23004 mv -f confcache "$cache_file"$$ &&
23005 mv -f "$cache_file"$$ "$cache_file" ;; #(
23007 mv -f confcache "$cache_file" ;;
23012 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23013 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23018 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23019 # Let make expand exec_prefix.
23020 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23022 DEFS=-DHAVE_CONFIG_H
23027 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23028 # 1. Remove the extension, and $U if already installed.
23029 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23030 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
23031 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23032 # will be set to the directory where LIBOBJS objects are built.
23033 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23034 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23036 LIBOBJS=$ac_libobjs
23038 LTLIBOBJS=$ac_ltlibobjs
23041 if test -n "$EXEEXT"; then
23043 am__EXEEXT_FALSE='#'
23045 am__EXEEXT_TRUE='#'
23049 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23050 as_fn_error $? "conditional \"AMDEP\" was never defined.
23051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23053 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23054 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23057 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23058 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
23059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23061 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23062 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23065 if test -z "${GTK_API_VERSION_2_TRUE}" && test -z "${GTK_API_VERSION_2_FALSE}"; then
23066 as_fn_error $? "conditional \"GTK_API_VERSION_2\" was never defined.
23067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23069 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
23070 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
23071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23073 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
23074 as_fn_error $? "conditional \"OS_UNIX\" was never defined.
23075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23077 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
23078 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
23079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23081 if test -z "${OS_GNU_TRUE}" && test -z "${OS_GNU_FALSE}"; then
23082 as_fn_error $? "conditional \"OS_GNU\" was never defined.
23083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23085 if test -z "${OS_FREEBSD_TRUE}" && test -z "${OS_FREEBSD_FALSE}"; then
23086 as_fn_error $? "conditional \"OS_FREEBSD\" was never defined.
23087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23089 if test -z "${TARGET_X11_TRUE}" && test -z "${TARGET_X11_FALSE}"; then
23090 as_fn_error $? "conditional \"TARGET_X11\" was never defined.
23091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23093 if test -z "${TARGET_WIN32_TRUE}" && test -z "${TARGET_WIN32_FALSE}"; then
23094 as_fn_error $? "conditional \"TARGET_WIN32\" was never defined.
23095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23097 if test -z "${TARGET_QUARTZ_TRUE}" && test -z "${TARGET_QUARTZ_FALSE}"; then
23098 as_fn_error $? "conditional \"TARGET_QUARTZ\" was never defined.
23099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23101 if test -z "${TARGET_DIRECTFB_TRUE}" && test -z "${TARGET_DIRECTFB_FALSE}"; then
23102 as_fn_error $? "conditional \"TARGET_DIRECTFB\" was never defined.
23103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23105 if test -z "${USE_ICU_UNICODE_TRUE}" && test -z "${USE_ICU_UNICODE_FALSE}"; then
23106 as_fn_error $? "conditional \"USE_ICU_UNICODE\" was never defined.
23107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23109 if test -z "${USE_GLIB_UNICODE_TRUE}" && test -z "${USE_GLIB_UNICODE_FALSE}"; then
23110 as_fn_error $? "conditional \"USE_GLIB_UNICODE\" was never defined.
23111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23113 if test -z "${USE_FREETYPE_TRUE}" && test -z "${USE_FREETYPE_FALSE}"; then
23114 as_fn_error $? "conditional \"USE_FREETYPE\" was never defined.
23115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23117 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
23118 as_fn_error $? "conditional \"USE_PANGO\" was never defined.
23119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23121 if test -z "${USE_GSTREAMER_TRUE}" && test -z "${USE_GSTREAMER_FALSE}"; then
23122 as_fn_error $? "conditional \"USE_GSTREAMER\" was never defined.
23123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23125 if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
23126 as_fn_error $? "conditional \"ENABLE_DEBUG\" was never defined.
23127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23129 if test -z "${ENABLE_3D_RENDERING_TRUE}" && test -z "${ENABLE_3D_RENDERING_FALSE}"; then
23130 as_fn_error $? "conditional \"ENABLE_3D_RENDERING\" was never defined.
23131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23133 if test -z "${ENABLE_WEBGL_TRUE}" && test -z "${ENABLE_WEBGL_FALSE}"; then
23134 as_fn_error $? "conditional \"ENABLE_WEBGL\" was never defined.
23135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23137 if test -z "${ENABLE_BLOB_TRUE}" && test -z "${ENABLE_BLOB_FALSE}"; then
23138 as_fn_error $? "conditional \"ENABLE_BLOB\" was never defined.
23139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23141 if test -z "${ENABLE_METER_TAG_TRUE}" && test -z "${ENABLE_METER_TAG_FALSE}"; then
23142 as_fn_error $? "conditional \"ENABLE_METER_TAG\" was never defined.
23143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23145 if test -z "${ENABLE_PAGE_VISIBILITY_API_TRUE}" && test -z "${ENABLE_PAGE_VISIBILITY_API_FALSE}"; then
23146 as_fn_error $? "conditional \"ENABLE_PAGE_VISIBILITY_API\" was never defined.
23147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23149 if test -z "${ENABLE_PROGRESS_TAG_TRUE}" && test -z "${ENABLE_PROGRESS_TAG_FALSE}"; then
23150 as_fn_error $? "conditional \"ENABLE_PROGRESS_TAG\" was never defined.
23151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23153 if test -z "${ENABLE_CHANNEL_MESSAGING_TRUE}" && test -z "${ENABLE_CHANNEL_MESSAGING_FALSE}"; then
23154 as_fn_error $? "conditional \"ENABLE_CHANNEL_MESSAGING\" was never defined.
23155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23157 if test -z "${ENABLE_JAVASCRIPT_DEBUGGER_TRUE}" && test -z "${ENABLE_JAVASCRIPT_DEBUGGER_FALSE}"; then
23158 as_fn_error $? "conditional \"ENABLE_JAVASCRIPT_DEBUGGER\" was never defined.
23159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23161 if test -z "${ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE}" && test -z "${ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE}"; then
23162 as_fn_error $? "conditional \"ENABLE_OFFLINE_WEB_APPLICATIONS\" was never defined.
23163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23165 if test -z "${ENABLE_DIRECTORY_UPLOAD_TRUE}" && test -z "${ENABLE_DIRECTORY_UPLOAD_FALSE}"; then
23166 as_fn_error $? "conditional \"ENABLE_DIRECTORY_UPLOAD\" was never defined.
23167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23169 if test -z "${ENABLE_DATAGRID_TRUE}" && test -z "${ENABLE_DATAGRID_FALSE}"; then
23170 as_fn_error $? "conditional \"ENABLE_DATAGRID\" was never defined.
23171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23173 if test -z "${ENABLE_DATA_TRANSFER_ITEMS_TRUE}" && test -z "${ENABLE_DATA_TRANSFER_ITEMS_FALSE}"; then
23174 as_fn_error $? "conditional \"ENABLE_DATA_TRANSFER_ITEMS\" was never defined.
23175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23177 if test -z "${ENABLE_DOM_STORAGE_TRUE}" && test -z "${ENABLE_DOM_STORAGE_FALSE}"; then
23178 as_fn_error $? "conditional \"ENABLE_DOM_STORAGE\" was never defined.
23179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23181 if test -z "${ENABLE_SQL_DATABASE_TRUE}" && test -z "${ENABLE_SQL_DATABASE_FALSE}"; then
23182 as_fn_error $? "conditional \"ENABLE_SQL_DATABASE\" was never defined.
23183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23185 if test -z "${ENABLE_DATALIST_TRUE}" && test -z "${ENABLE_DATALIST_FALSE}"; then
23186 as_fn_error $? "conditional \"ENABLE_DATALIST\" was never defined.
23187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23189 if test -z "${ENABLE_DETAILS_TRUE}" && test -z "${ENABLE_DETAILS_FALSE}"; then
23190 as_fn_error $? "conditional \"ENABLE_DETAILS\" was never defined.
23191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23193 if test -z "${ENABLE_FAST_MOBILE_SCROLLING_TRUE}" && test -z "${ENABLE_FAST_MOBILE_SCROLLING_FALSE}"; then
23194 as_fn_error $? "conditional \"ENABLE_FAST_MOBILE_SCROLLING\" was never defined.
23195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23197 if test -z "${ENABLE_FILE_SYSTEM_TRUE}" && test -z "${ENABLE_FILE_SYSTEM_FALSE}"; then
23198 as_fn_error $? "conditional \"ENABLE_FILE_SYSTEM\" was never defined.
23199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23201 if test -z "${ENABLE_QUOTA_TRUE}" && test -z "${ENABLE_QUOTA_FALSE}"; then
23202 as_fn_error $? "conditional \"ENABLE_QUOTA\" was never defined.
23203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23205 if test -z "${ENABLE_ICONDATABASE_TRUE}" && test -z "${ENABLE_ICONDATABASE_FALSE}"; then
23206 as_fn_error $? "conditional \"ENABLE_ICONDATABASE\" was never defined.
23207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23209 if test -z "${ENABLE_IMAGE_RESIZER_TRUE}" && test -z "${ENABLE_IMAGE_RESIZER_FALSE}"; then
23210 as_fn_error $? "conditional \"ENABLE_IMAGE_RESIZER\" was never defined.
23211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23213 if test -z "${ENABLE_INDEXED_DATABASE_TRUE}" && test -z "${ENABLE_INDEXED_DATABASE_FALSE}"; then
23214 as_fn_error $? "conditional \"ENABLE_INDEXED_DATABASE\" was never defined.
23215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23217 if test -z "${ENABLE_INPUT_COLOR_TRUE}" && test -z "${ENABLE_INPUT_COLOR_FALSE}"; then
23218 as_fn_error $? "conditional \"ENABLE_INPUT_COLOR\" was never defined.
23219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23221 if test -z "${ENABLE_INPUT_SPEECH_TRUE}" && test -z "${ENABLE_INPUT_SPEECH_FALSE}"; then
23222 as_fn_error $? "conditional \"ENABLE_INPUT_SPEECH\" was never defined.
23223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23225 if test -z "${ENABLE_XHTMLMP_TRUE}" && test -z "${ENABLE_XHTMLMP_FALSE}"; then
23226 as_fn_error $? "conditional \"ENABLE_XHTMLMP\" was never defined.
23227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23229 if test -z "${ENABLE_XPATH_TRUE}" && test -z "${ENABLE_XPATH_FALSE}"; then
23230 as_fn_error $? "conditional \"ENABLE_XPATH\" was never defined.
23231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23233 if test -z "${ENABLE_XSLT_TRUE}" && test -z "${ENABLE_XSLT_FALSE}"; then
23234 as_fn_error $? "conditional \"ENABLE_XSLT\" was never defined.
23235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23237 if test -z "${ENABLE_FILTERS_TRUE}" && test -z "${ENABLE_FILTERS_FALSE}"; then
23238 as_fn_error $? "conditional \"ENABLE_FILTERS\" was never defined.
23239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23241 if test -z "${ENABLE_GEOLOCATION_TRUE}" && test -z "${ENABLE_GEOLOCATION_FALSE}"; then
23242 as_fn_error $? "conditional \"ENABLE_GEOLOCATION\" was never defined.
23243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23245 if test -z "${ENABLE_CLIENT_BASED_GEOLOCATION_TRUE}" && test -z "${ENABLE_CLIENT_BASED_GEOLOCATION_FALSE}"; then
23246 as_fn_error $? "conditional \"ENABLE_CLIENT_BASED_GEOLOCATION\" was never defined.
23247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23249 if test -z "${ENABLE_MATHML_TRUE}" && test -z "${ENABLE_MATHML_FALSE}"; then
23250 as_fn_error $? "conditional \"ENABLE_MATHML\" was never defined.
23251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23253 if test -z "${ENABLE_MHTML_TRUE}" && test -z "${ENABLE_MHTML_FALSE}"; then
23254 as_fn_error $? "conditional \"ENABLE_MHTML\" was never defined.
23255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23257 if test -z "${ENABLE_VIDEO_TRUE}" && test -z "${ENABLE_VIDEO_FALSE}"; then
23258 as_fn_error $? "conditional \"ENABLE_VIDEO\" was never defined.
23259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23261 if test -z "${ENABLE_ELIS_MEDIA_TRUE}" && test -z "${ENABLE_ELIS_MEDIA_FALSE}"; then
23262 as_fn_error $? "conditional \"ENABLE_ELIS_MEDIA\" was never defined.
23263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23265 if test -z "${ENABLE_MEDIA_SOURCE_TRUE}" && test -z "${ENABLE_MEDIA_SOURCE_FALSE}"; then
23266 as_fn_error $? "conditional \"ENABLE_MEDIA_SOURCE\" was never defined.
23267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23269 if test -z "${ENABLE_MEDIA_STATISTICS_TRUE}" && test -z "${ENABLE_MEDIA_STATISTICS_FALSE}"; then
23270 as_fn_error $? "conditional \"ENABLE_MEDIA_STATISTICS\" was never defined.
23271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23273 if test -z "${ENABLE_VIDEO_TRACK_TRUE}" && test -z "${ENABLE_VIDEO_TRACK_FALSE}"; then
23274 as_fn_error $? "conditional \"ENABLE_VIDEO_TRACK\" was never defined.
23275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23277 if test -z "${ENABLE_FULLSCREEN_API_TRUE}" && test -z "${ENABLE_FULLSCREEN_API_FALSE}"; then
23278 as_fn_error $? "conditional \"ENABLE_FULLSCREEN_API\" was never defined.
23279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23281 if test -z "${ENABLE_MEDIA_STREAM_TRUE}" && test -z "${ENABLE_MEDIA_STREAM_FALSE}"; then
23282 as_fn_error $? "conditional \"ENABLE_MEDIA_STREAM\" was never defined.
23283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23285 if test -z "${ENABLE_NOTIFICATIONS_TRUE}" && test -z "${ENABLE_NOTIFICATIONS_FALSE}"; then
23286 as_fn_error $? "conditional \"ENABLE_NOTIFICATIONS\" was never defined.
23287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23289 if test -z "${ENABLE_ORIENTATION_EVENTS_TRUE}" && test -z "${ENABLE_ORIENTATION_EVENTS_FALSE}"; then
23290 as_fn_error $? "conditional \"ENABLE_ORIENTATION_EVENTS\" was never defined.
23291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23293 if test -z "${ENABLE_SVG_TRUE}" && test -z "${ENABLE_SVG_FALSE}"; then
23294 as_fn_error $? "conditional \"ENABLE_SVG\" was never defined.
23295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23297 if test -z "${ENABLE_SVG_FONTS_TRUE}" && test -z "${ENABLE_SVG_FONTS_FALSE}"; then
23298 as_fn_error $? "conditional \"ENABLE_SVG_FONTS\" was never defined.
23299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23301 if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
23302 as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined.
23303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23305 if test -z "${ENABLE_FAST_MALLOC_TRUE}" && test -z "${ENABLE_FAST_MALLOC_FALSE}"; then
23306 as_fn_error $? "conditional \"ENABLE_FAST_MALLOC\" was never defined.
23307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23309 if test -z "${ENABLE_WCSS_TRUE}" && test -z "${ENABLE_WCSS_FALSE}"; then
23310 as_fn_error $? "conditional \"ENABLE_WCSS\" was never defined.
23311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23313 if test -z "${ENABLE_WORKERS_TRUE}" && test -z "${ENABLE_WORKERS_FALSE}"; then
23314 as_fn_error $? "conditional \"ENABLE_WORKERS\" was never defined.
23315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23317 if test -z "${ENABLE_SHARED_WORKERS_TRUE}" && test -z "${ENABLE_SHARED_WORKERS_FALSE}"; then
23318 as_fn_error $? "conditional \"ENABLE_SHARED_WORKERS\" was never defined.
23319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23321 if test -z "${SVG_FLAGS_TRUE}" && test -z "${SVG_FLAGS_FALSE}"; then
23322 as_fn_error $? "conditional \"SVG_FLAGS\" was never defined.
23323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23325 if test -z "${HTML_FLAGS_TRUE}" && test -z "${HTML_FLAGS_FALSE}"; then
23326 as_fn_error $? "conditional \"HTML_FLAGS\" was never defined.
23327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23329 if test -z "${ENABLE_WEB_SOCKETS_TRUE}" && test -z "${ENABLE_WEB_SOCKETS_FALSE}"; then
23330 as_fn_error $? "conditional \"ENABLE_WEB_SOCKETS\" was never defined.
23331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23333 if test -z "${ENABLE_WEB_AUDIO_TRUE}" && test -z "${ENABLE_WEB_AUDIO_FALSE}"; then
23334 as_fn_error $? "conditional \"ENABLE_WEB_AUDIO\" was never defined.
23335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23337 if test -z "${ENABLE_WEB_TIMING_TRUE}" && test -z "${ENABLE_WEB_TIMING_FALSE}"; then
23338 as_fn_error $? "conditional \"ENABLE_WEB_TIMING\" was never defined.
23339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23341 if test -z "${ENABLE_OPCODE_STATS_TRUE}" && test -z "${ENABLE_OPCODE_STATS_FALSE}"; then
23342 as_fn_error $? "conditional \"ENABLE_OPCODE_STATS\" was never defined.
23343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23345 if test -z "${ENABLE_WEBKIT2_TRUE}" && test -z "${ENABLE_WEBKIT2_FALSE}"; then
23346 as_fn_error $? "conditional \"ENABLE_WEBKIT2\" was never defined.
23347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23349 if test -z "${ENABLE_PLUGIN_PROCESS_TRUE}" && test -z "${ENABLE_PLUGIN_PROCESS_FALSE}"; then
23350 as_fn_error $? "conditional \"ENABLE_PLUGIN_PROCESS\" was never defined.
23351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23353 if test -z "${ENABLE_SPELLCHECK_TRUE}" && test -z "${ENABLE_SPELLCHECK_FALSE}"; then
23354 as_fn_error $? "conditional \"ENABLE_SPELLCHECK\" was never defined.
23355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23357 if test -z "${ENABLE_ANIMATION_API_TRUE}" && test -z "${ENABLE_ANIMATION_API_FALSE}"; then
23358 as_fn_error $? "conditional \"ENABLE_ANIMATION_API\" was never defined.
23359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23361 if test -z "${ENABLE_TOUCH_ICON_LOADING_TRUE}" && test -z "${ENABLE_TOUCH_ICON_LOADING_FALSE}"; then
23362 as_fn_error $? "conditional \"ENABLE_TOUCH_ICON_LOADING\" was never defined.
23363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23365 if test -z "${ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE}" && test -z "${ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE}"; then
23366 as_fn_error $? "conditional \"ENABLE_REGISTER_PROTOCOL_HANDLER\" was never defined.
23367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23369 if test -z "${ENABLE_DEVICE_ORIENTATION_TRUE}" && test -z "${ENABLE_DEVICE_ORIENTATION_FALSE}"; then
23370 as_fn_error $? "conditional \"ENABLE_DEVICE_ORIENTATION\" was never defined.
23371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23373 if test -z "${ENABLE_INTROSPECTION_TRUE}" && test -z "${ENABLE_INTROSPECTION_FALSE}"; then
23374 as_fn_error $? "conditional \"ENABLE_INTROSPECTION\" was never defined.
23375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23378 : "${CONFIG_STATUS=./config.status}"
23380 ac_clean_files_save=$ac_clean_files
23381 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23383 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23385 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23387 # Generated by $as_me.
23388 # Run this file to recreate the current configuration.
23389 # Compiler output produced by configure, useful for debugging
23390 # configure, is in config.log if it exists.
23393 ac_cs_recheck=false
23396 SHELL=\${CONFIG_SHELL-$SHELL}
23399 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23400 ## -------------------- ##
23401 ## M4sh Initialization. ##
23402 ## -------------------- ##
23404 # Be more Bourne compatible
23405 DUALCASE=1; export DUALCASE # for MKS sh
23406 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23409 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23410 # is contrary to our usage. Disable this feature.
23411 alias -g '${1+"$@"}'='"$@"'
23412 setopt NO_GLOB_SUBST
23414 case `(set -o) 2>/dev/null` in #(
23426 # Printing a long string crashes Solaris 7 /usr/bin/printf.
23427 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23428 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23429 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23430 # Prefer a ksh shell builtin over an external printf program on Solaris,
23431 # but without wasting forks for bash or zsh.
23432 if test -z "$BASH_VERSION$ZSH_VERSION" \
23433 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
23434 as_echo='print -r --'
23435 as_echo_n='print -rn --'
23436 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23437 as_echo='printf %s\n'
23438 as_echo_n='printf %s'
23440 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23441 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
23442 as_echo_n='/usr/ucb/echo -n'
23444 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23445 as_echo_n_body='eval
23449 expr "X$arg" : "X\\(.*\\)$as_nl";
23450 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23452 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
23454 export as_echo_n_body
23455 as_echo_n='sh -c $as_echo_n_body as_echo'
23457 export as_echo_body
23458 as_echo='sh -c $as_echo_body as_echo'
23461 # The user is always right.
23462 if test "${PATH_SEPARATOR+set}" != set; then
23464 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23465 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23472 # We need space, tab and new line, in precisely that order. Quoting is
23473 # there to prevent editors from complaining about space-tab.
23474 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23475 # splitting by setting IFS to empty value.)
23478 # Find who we are. Look in the path if we contain no directory separator.
23481 *[\\/]* ) as_myself=$0 ;;
23482 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23483 for as_dir in $PATH
23486 test -z "$as_dir" && as_dir=.
23487 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23493 # We did not find ourselves, most probably we were run as `sh COMMAND'
23494 # in which case we are not to be found in the path.
23495 if test "x$as_myself" = x; then
23498 if test ! -f "$as_myself"; then
23499 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23503 # Unset variables that we do not need and which cause bugs (e.g. in
23504 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
23505 # suppresses any "Segmentation fault" message there. '((' could
23506 # trigger a bug in pdksh 5.2.14.
23507 for as_var in BASH_ENV ENV MAIL MAILPATH
23508 do eval test x\${$as_var+set} = xset \
23509 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23522 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23525 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23526 # ----------------------------------------
23527 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23528 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23529 # script with STATUS, using 1 if that was 0.
23532 as_status=$1; test $as_status -eq 0 && as_status=1
23534 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23535 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23537 $as_echo "$as_me: error: $2" >&2
23538 as_fn_exit $as_status
23542 # as_fn_set_status STATUS
23543 # -----------------------
23544 # Set $? to STATUS, without forking.
23545 as_fn_set_status ()
23548 } # as_fn_set_status
23550 # as_fn_exit STATUS
23551 # -----------------
23552 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23556 as_fn_set_status $1
23562 # Portably unset VAR.
23565 { eval $1=; unset $1;}
23567 as_unset=as_fn_unset
23568 # as_fn_append VAR VALUE
23569 # ----------------------
23570 # Append the text in VALUE to the end of the definition contained in VAR. Take
23571 # advantage of any shell optimizations that allow amortized linear growth over
23572 # repeated appends, instead of the typical quadratic growth present in naive
23574 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
23575 eval 'as_fn_append ()
23586 # as_fn_arith ARG...
23587 # ------------------
23588 # Perform arithmetic evaluation on the ARGs, and store the result in the
23589 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23590 # must be portable across $(()) and expr.
23591 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
23592 eval 'as_fn_arith ()
23599 as_val=`expr "$@" || test $? -eq 1`
23604 if expr a : '\(a\)' >/dev/null 2>&1 &&
23605 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23611 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23612 as_basename=basename
23617 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23623 as_me=`$as_basename -- "$0" ||
23624 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23625 X"$0" : 'X\(//\)$' \| \
23626 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23628 sed '/^.*\/\([^/][^/]*\)\/*$/{
23642 # Avoid depending upon Character Ranges.
23643 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23644 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23645 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23646 as_cr_digits='0123456789'
23647 as_cr_alnum=$as_cr_Letters$as_cr_digits
23649 ECHO_C= ECHO_N= ECHO_T=
23650 case `echo -n x` in #(((((
23652 case `echo 'xy\c'` in
23653 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23655 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23662 rm -f conf$$ conf$$.exe conf$$.file
23663 if test -d conf$$.dir; then
23664 rm -f conf$$.dir/conf$$.file
23667 mkdir conf$$.dir 2>/dev/null
23669 if (echo >conf$$.file) 2>/dev/null; then
23670 if ln -s conf$$.file conf$$ 2>/dev/null; then
23672 # ... but there are two gotchas:
23673 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23674 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23675 # In both cases, we have to default to `cp -p'.
23676 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23678 elif ln conf$$.file conf$$ 2>/dev/null; then
23686 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23687 rmdir conf$$.dir 2>/dev/null
23692 # Create "$as_dir" as a directory, including parents if necessary.
23697 -*) as_dir=./$as_dir;;
23699 test -d "$as_dir" || eval $as_mkdir_p || {
23703 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23704 *) as_qdir=$as_dir;;
23706 as_dirs="'$as_qdir' $as_dirs"
23707 as_dir=`$as_dirname -- "$as_dir" ||
23708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23709 X"$as_dir" : 'X\(//\)[^/]' \| \
23710 X"$as_dir" : 'X\(//\)$' \| \
23711 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23712 $as_echo X"$as_dir" |
23713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23717 /^X\(\/\/\)[^/].*/{
23730 test -d "$as_dir" && break
23732 test -z "$as_dirs" || eval "mkdir $as_dirs"
23733 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23737 if mkdir -p . 2>/dev/null; then
23738 as_mkdir_p='mkdir -p "$as_dir"'
23740 test -d ./-p && rmdir ./-p
23744 if test -x / >/dev/null 2>&1; then
23745 as_test_x='test -x'
23747 if ls -dL / >/dev/null 2>&1; then
23754 if test -d "$1"; then
23760 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
23761 ???[sx]*):;;*)false;;esac;fi
23765 as_executable_p=$as_test_x
23767 # Sed expression to map a string onto a valid CPP name.
23768 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23770 # Sed expression to map a string onto a valid variable name.
23771 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23775 ## ----------------------------------- ##
23776 ## Main body of $CONFIG_STATUS script. ##
23777 ## ----------------------------------- ##
23779 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23782 # Save the log message, to keep $0 and so on meaningful, and to
23783 # report actual input values of CONFIG_FILES etc. instead of their
23784 # values after options handling.
23786 This file was extended by WebKit $as_me 1.6.1, which was
23787 generated by GNU Autoconf 2.68. Invocation command line was
23789 CONFIG_FILES = $CONFIG_FILES
23790 CONFIG_HEADERS = $CONFIG_HEADERS
23791 CONFIG_LINKS = $CONFIG_LINKS
23792 CONFIG_COMMANDS = $CONFIG_COMMANDS
23795 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23800 case $ac_config_files in *"
23801 "*) set x $ac_config_files; shift; ac_config_files=$*;;
23804 case $ac_config_headers in *"
23805 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23810 # Files that config.status was made for.
23811 config_files="$ac_config_files"
23812 config_headers="$ac_config_headers"
23813 config_commands="$ac_config_commands"
23817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23819 \`$as_me' instantiates files and other configuration actions
23820 from templates according to the current configuration. Unless the files
23821 and actions are specified as TAGs, all are instantiated by default.
23823 Usage: $0 [OPTION]... [TAG]...
23825 -h, --help print this help, then exit
23826 -V, --version print version number and configuration settings, then exit
23827 --config print configuration, then exit
23828 -q, --quiet, --silent
23829 do not print progress messages
23830 -d, --debug don't remove temporary files
23831 --recheck update $as_me by reconfiguring in the same conditions
23832 --file=FILE[:TEMPLATE]
23833 instantiate the configuration file FILE
23834 --header=FILE[:TEMPLATE]
23835 instantiate the configuration header FILE
23837 Configuration files:
23840 Configuration headers:
23843 Configuration commands:
23846 Report bugs to <http://bugs.webkit.org/>."
23849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23850 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23852 WebKit config.status 1.6.1
23853 configured by $0, generated by GNU Autoconf 2.68,
23854 with options \\"\$ac_cs_config\\"
23856 Copyright (C) 2010 Free Software Foundation, Inc.
23857 This config.status script is free software; the Free Software Foundation
23858 gives unlimited permission to copy, distribute and modify it."
23865 test -n "\$AWK" || AWK=awk
23868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23869 # The default lists apply if the user does not specify any file.
23875 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23876 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23880 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23892 # Handling of the options.
23893 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23895 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23896 $as_echo "$ac_cs_version"; exit ;;
23897 --config | --confi | --conf | --con | --co | --c )
23898 $as_echo "$ac_cs_config"; exit ;;
23899 --debug | --debu | --deb | --de | --d | -d )
23901 --file | --fil | --fi | --f )
23904 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23905 '') as_fn_error $? "missing file argument" ;;
23907 as_fn_append CONFIG_FILES " '$ac_optarg'"
23908 ac_need_defaults=false;;
23909 --header | --heade | --head | --hea )
23912 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23914 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23915 ac_need_defaults=false;;
23917 # Conflict between --help and --header
23918 as_fn_error $? "ambiguous option: \`$1'
23919 Try \`$0 --help' for more information.";;
23920 --help | --hel | -h )
23921 $as_echo "$ac_cs_usage"; exit ;;
23922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23923 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23926 # This is an error.
23927 -*) as_fn_error $? "unrecognized option: \`$1'
23928 Try \`$0 --help' for more information." ;;
23930 *) as_fn_append ac_config_targets " $1"
23931 ac_need_defaults=false ;;
23937 ac_configure_extra_args=
23939 if $ac_cs_silent; then
23941 ac_configure_extra_args="$ac_configure_extra_args --silent"
23945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23946 if \$ac_cs_recheck; then
23947 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23949 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23950 CONFIG_SHELL='$SHELL'
23951 export CONFIG_SHELL
23956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23960 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23961 ## Running $as_me. ##
23967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23971 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23974 # The HP-UX ksh and POSIX shell print the target directory to stdout
23975 # if CDPATH is set.
23976 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23978 sed_quote_subst='$sed_quote_subst'
23979 double_quote_subst='$double_quote_subst'
23980 delay_variable_subst='$delay_variable_subst'
23981 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23982 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
23983 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23984 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23985 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23986 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23987 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23988 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23989 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23990 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23991 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23992 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23993 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23994 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23995 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23996 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23997 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23998 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23999 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
24000 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
24001 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
24002 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
24003 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
24004 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
24005 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
24006 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
24007 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
24008 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
24009 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
24010 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
24011 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
24012 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
24013 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
24014 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
24015 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
24016 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
24017 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
24018 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
24019 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
24020 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
24021 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
24022 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
24023 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
24024 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
24025 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
24026 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24027 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24028 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
24029 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
24030 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
24031 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
24032 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
24033 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
24034 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
24035 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
24036 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
24037 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
24038 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
24039 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
24040 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
24041 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
24042 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
24043 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24044 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
24045 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
24046 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
24047 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
24048 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
24049 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
24050 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
24051 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
24052 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
24053 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
24054 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
24055 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
24056 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24057 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
24058 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
24059 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
24060 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
24061 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
24062 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
24063 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24064 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
24065 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24066 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
24067 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24068 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
24069 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
24070 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
24071 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
24072 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
24073 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
24074 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
24075 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
24076 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
24077 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
24078 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
24079 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
24080 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
24081 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
24082 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
24083 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
24084 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
24085 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
24086 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
24087 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
24088 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
24089 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
24090 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
24091 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
24092 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
24093 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
24094 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
24095 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
24096 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
24097 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
24098 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
24099 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24100 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24101 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
24102 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
24103 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
24104 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
24105 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
24106 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
24107 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
24108 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
24109 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
24110 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
24111 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
24112 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
24113 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
24114 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
24115 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
24116 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
24117 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
24118 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
24119 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
24120 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24121 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24122 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
24123 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
24124 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
24125 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
24126 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
24127 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
24128 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
24129 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
24130 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
24131 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24132 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24133 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
24134 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24135 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24136 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24137 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24138 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24139 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24140 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
24141 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24142 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24143 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24144 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
24145 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
24146 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
24147 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
24148 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
24149 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
24150 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
24151 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
24152 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
24153 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
24154 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24155 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24156 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24157 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24158 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24159 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
24160 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
24161 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
24162 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24163 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24164 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
24165 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
24166 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
24169 LTCFLAGS='$LTCFLAGS'
24170 compiler='$compiler_DEFAULT'
24172 # A function that is used when there is no print builtin or printf.
24173 func_fallback_echo ()
24175 eval 'cat <<_LTECHO_EOF
24180 # Quote evaled strings.
24196 deplibs_check_method \
24200 sharedlib_from_linklib_cmd \
24203 archiver_list_spec \
24209 lt_cv_sys_global_symbol_pipe \
24210 lt_cv_sys_global_symbol_to_cdecl \
24211 lt_cv_sys_global_symbol_to_c_name_address \
24212 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24213 nm_file_list_spec \
24214 lt_prog_compiler_no_builtin_flag \
24215 lt_prog_compiler_pic \
24216 lt_prog_compiler_wl \
24217 lt_prog_compiler_static \
24218 lt_cv_prog_compiler_c_o \
24227 export_dynamic_flag_spec \
24228 whole_archive_flag_spec \
24229 compiler_needs_object \
24231 allow_undefined_flag \
24232 no_undefined_flag \
24233 hardcode_libdir_flag_spec \
24234 hardcode_libdir_flag_spec_ld \
24235 hardcode_libdir_separator \
24239 variables_saved_for_relink \
24241 library_names_spec \
24243 install_override_mode \
24247 compiler_lib_search_dirs \
24252 compiler_lib_search_path \
24256 lt_prog_compiler_no_builtin_flag_CXX \
24257 lt_prog_compiler_pic_CXX \
24258 lt_prog_compiler_wl_CXX \
24259 lt_prog_compiler_static_CXX \
24260 lt_cv_prog_compiler_c_o_CXX \
24261 export_dynamic_flag_spec_CXX \
24262 whole_archive_flag_spec_CXX \
24263 compiler_needs_object_CXX \
24265 allow_undefined_flag_CXX \
24266 no_undefined_flag_CXX \
24267 hardcode_libdir_flag_spec_CXX \
24268 hardcode_libdir_flag_spec_ld_CXX \
24269 hardcode_libdir_separator_CXX \
24270 exclude_expsyms_CXX \
24271 include_expsyms_CXX \
24272 file_list_spec_CXX \
24273 compiler_lib_search_dirs_CXX \
24274 predep_objects_CXX \
24275 postdep_objects_CXX \
24278 compiler_lib_search_path_CXX; do
24279 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24280 *[\\\\\\\`\\"\\\$]*)
24281 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
24284 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24289 # Double-quote double-evaled strings.
24290 for var in reload_cmds \
24291 old_postinstall_cmds \
24292 old_postuninstall_cmds \
24294 extract_expsyms_cmds \
24295 old_archive_from_new_cmds \
24296 old_archive_from_expsyms_cmds \
24298 archive_expsym_cmds \
24300 module_expsym_cmds \
24301 export_symbols_cmds \
24305 postuninstall_cmds \
24307 sys_lib_search_path_spec \
24308 sys_lib_dlsearch_path_spec \
24310 old_archive_cmds_CXX \
24311 old_archive_from_new_cmds_CXX \
24312 old_archive_from_expsyms_cmds_CXX \
24314 archive_expsym_cmds_CXX \
24316 module_expsym_cmds_CXX \
24317 export_symbols_cmds_CXX \
24319 postlink_cmds_CXX; do
24320 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24321 *[\\\\\\\`\\"\\\$]*)
24322 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
24325 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24330 ac_aux_dir='$ac_aux_dir'
24331 xsi_shell='$xsi_shell'
24332 lt_shell_append='$lt_shell_append'
24334 # See if we are running on zsh, and set the options which allow our
24335 # commands through without removal of \ escapes INIT.
24336 if test -n "\${ZSH_VERSION+set}" ; then
24337 setopt NO_GLOB_SUBST
24343 TIMESTAMP='$TIMESTAMP'
24354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24356 # Handling of arguments.
24357 for ac_config_target in $ac_config_targets
24359 case $ac_config_target in
24360 "autotoolsconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS autotoolsconfig.h" ;;
24361 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24362 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24363 "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
24364 "Source/WebKit/gtk/webkit/webkitversion.h") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/webkit/webkitversion.h" ;;
24365 "Source/WebKit/gtk/docs/GNUmakefile") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/docs/GNUmakefile" ;;
24366 "Source/WebKit/gtk/docs/version.xml") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/docs/version.xml" ;;
24367 "Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/webkit.pc.in" ;;
24368 "Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:Source/WebKit/gtk/JSCore.gir.in" ;;
24369 "Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:Source/WebKit/gtk/org.webkitgtk.gschema.xml.in" ;;
24370 "Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc:Source/JavaScriptCore/javascriptcoregtk.pc.in" ;;
24371 "Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/webkit2gtk.pc.in" ;;
24373 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24378 # If the user did not use the arguments to specify the items to instantiate,
24379 # then the envvar interface is used. Set only those that are not.
24380 # We use the long form for the default assignment because of an extremely
24381 # bizarre bug on SunOS 4.1.3.
24382 if $ac_need_defaults; then
24383 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24384 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24385 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24388 # Have a temporary directory for convenience. Make it in the build tree
24389 # simply because there is no reason against having it here, and in addition,
24390 # creating and moving files from /tmp can sometimes cause problems.
24391 # Hook for its removal unless debugging.
24392 # Note that there is a small window in which the directory will not be cleaned:
24393 # after its creation but before its name has been assigned to `$tmp'.
24397 trap 'exit_status=$?
24398 : "${ac_tmp:=$tmp}"
24399 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24401 trap 'as_fn_exit 1' 1 2 13 15
24403 # Create a (secure) tmp directory for tmp files.
24406 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24410 tmp=./conf$$-$RANDOM
24411 (umask 077 && mkdir "$tmp")
24412 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24415 # Set up the scripts for CONFIG_FILES section.
24416 # No need to generate them if there are no CONFIG_FILES.
24417 # This happens for instance with `./config.status config.h'.
24418 if test -n "$CONFIG_FILES"; then
24421 ac_cr=`echo X | tr X '\015'`
24422 # On cygwin, bash can eat \r inside `` if the user requested igncr.
24423 # But we know of no other shell where ac_cr would be empty at this
24424 # point, so we can use a bashism as a fallback.
24425 if test "x$ac_cr" = x; then
24426 eval ac_cr=\$\'\\r\'
24428 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24429 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24432 ac_cs_awk_cr=$ac_cr
24435 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24440 echo "cat >conf$$subs.awk <<_ACEOF" &&
24441 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24443 } >conf$$subs.sh ||
24444 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24445 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
24447 for ac_last_try in false false false false false :; do
24448 . ./conf$$subs.sh ||
24449 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24451 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24452 if test $ac_delim_n = $ac_delim_num; then
24454 elif $ac_last_try; then
24455 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24457 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24460 rm -f conf$$subs.sh
24462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24463 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
24467 s/^/S["/; s/!.*/"]=/
24477 s/\(.\{148\}\)..*/\1/
24479 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
24484 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24491 s/\(.\{148\}\)..*/\1/
24493 s/["\\]/\\&/g; s/^/"/; s/$/"/
24497 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24502 ' <conf$$subs.awk | sed '
24507 ' >>$CONFIG_STATUS || ac_write_fail=1
24508 rm -f conf$$subs.awk
24509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24511 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
24512 for (key in S) S_is_set[key] = 1
24518 nfields = split(line, field, "@")
24520 len = length(field[1])
24521 for (i = 2; i < nfields; i++) {
24523 keylen = length(key)
24524 if (S_is_set[key]) {
24526 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24527 len += length(value) + length(field[++i])
24538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24539 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24540 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24543 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
24544 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
24547 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
24548 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
24549 # trailing colons and then remove the whole line if VPATH becomes empty
24550 # (actually we leave an empty line to preserve line numbers).
24551 if test "x$srcdir" = x.; then
24552 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
24570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24571 fi # test -n "$CONFIG_FILES"
24573 # Set up the scripts for CONFIG_HEADERS section.
24574 # No need to generate them if there are no CONFIG_HEADERS.
24575 # This happens for instance with `./config.status Makefile'.
24576 if test -n "$CONFIG_HEADERS"; then
24577 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24581 # Transform confdefs.h into an awk script `defines.awk', embedded as
24582 # here-document in config.status, that substitutes the proper values into
24583 # config.h.in to produce config.h.
24585 # Create a delimiter string that does not exist in confdefs.h, to ease
24586 # handling of long lines.
24588 for ac_last_try in false false :; do
24589 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24590 if test -z "$ac_tt"; then
24592 elif $ac_last_try; then
24593 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24595 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24599 # For the awk script, D is an array of macro values keyed by name,
24600 # likewise P contains macro parameters if any. Preserve backslash
24601 # newline sequences.
24603 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24605 s/.\{148\}/&'"$ac_delim"'/g
24608 s/^[ ]*#[ ]*define[ ][ ]*/ /
24615 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24617 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24621 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24622 D["\1"]=" \3\\\\\\n"\\/p
24624 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24629 s/.\{148\}/&'"$ac_delim"'/g
24634 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24637 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24639 ' <confdefs.h | sed '
24640 s/'"$ac_delim"'/"\\\
24641 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24644 for (key in D) D_is_set[key] = 1
24647 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24649 split(line, arg, " ")
24650 if (arg[1] == "#") {
24654 defundef = substr(arg[1], 2)
24657 split(mac1, mac2, "(") #)
24659 prefix = substr(line, 1, index(line, defundef) - 1)
24660 if (D_is_set[macro]) {
24661 # Preserve the white space surrounding the "#".
24662 print prefix "define", macro P[macro] D[macro]
24665 # Replace #undef with comments. This is necessary, for example,
24666 # in the case of _POSIX_SOURCE, which is predefined and required
24667 # on some systems where configure will not decide to define it.
24668 if (defundef == "undef") {
24669 print "/*", prefix defundef, macro, "*/"
24677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24678 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24679 fi # test -n "$CONFIG_HEADERS"
24682 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
24687 :[FHLC]) ac_mode=$ac_tag; continue;;
24689 case $ac_mode$ac_tag in
24691 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24692 :[FH]-) ac_tag=-:-;;
24693 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24710 -) ac_f="$ac_tmp/stdin";;
24711 *) # Look for the file first in the build tree, then in the source tree
24712 # (if the path is not absolute). The absolute path cannot be DOS-style,
24713 # because $ac_f cannot contain `:'.
24717 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24719 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24721 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24722 as_fn_append ac_file_inputs " '$ac_f'"
24725 # Let's still pretend it is `configure' which instantiates (i.e., don't
24726 # use $as_me), people would be surprised to read:
24727 # /* config.h. Generated by config.status. */
24728 configure_input='Generated from '`
24729 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24731 if test x"$ac_file" != x-; then
24732 configure_input="$ac_file. $configure_input"
24733 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24734 $as_echo "$as_me: creating $ac_file" >&6;}
24736 # Neutralize special characters interpreted by sed in replacement strings.
24737 case $configure_input in #(
24738 *\&* | *\|* | *\\* )
24739 ac_sed_conf_input=`$as_echo "$configure_input" |
24740 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24741 *) ac_sed_conf_input=$configure_input;;
24745 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24746 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24751 ac_dir=`$as_dirname -- "$ac_file" ||
24752 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24753 X"$ac_file" : 'X\(//\)[^/]' \| \
24754 X"$ac_file" : 'X\(//\)$' \| \
24755 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24756 $as_echo X"$ac_file" |
24757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24761 /^X\(\/\/\)[^/].*/{
24774 as_dir="$ac_dir"; as_fn_mkdir_p
24778 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24780 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24781 # A ".." for each directory in $ac_dir_suffix.
24782 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24783 case $ac_top_builddir_sub in
24784 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24785 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24788 ac_abs_top_builddir=$ac_pwd
24789 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24790 # for backward compatibility:
24791 ac_top_builddir=$ac_top_build_prefix
24794 .) # We are building in place.
24796 ac_top_srcdir=$ac_top_builddir_sub
24797 ac_abs_top_srcdir=$ac_pwd ;;
24798 [\\/]* | ?:[\\/]* ) # Absolute name.
24799 ac_srcdir=$srcdir$ac_dir_suffix;
24800 ac_top_srcdir=$srcdir
24801 ac_abs_top_srcdir=$srcdir ;;
24802 *) # Relative name.
24803 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24804 ac_top_srcdir=$ac_top_build_prefix$srcdir
24805 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24807 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24817 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24818 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24820 ac_MKDIR_P=$MKDIR_P
24822 [\\/$]* | ?:[\\/]* ) ;;
24823 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
24827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24828 # If the template does not know about datarootdir, expand it.
24829 # FIXME: This hack should be removed a few years after 2.60.
24830 ac_datarootdir_hack=; ac_datarootdir_seen=
24841 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24842 *datarootdir*) ac_datarootdir_seen=yes;;
24843 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24845 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24848 ac_datarootdir_hack='
24849 s&@datadir@&$datadir&g
24850 s&@docdir@&$docdir&g
24851 s&@infodir@&$infodir&g
24852 s&@localedir@&$localedir&g
24853 s&@mandir@&$mandir&g
24854 s&\\\${datarootdir}&$datarootdir&g' ;;
24858 # Neutralize VPATH when `$srcdir' = `.'.
24859 # Shell code in configure.ac might set extrasub.
24860 # FIXME: do we really want to maintain this feature?
24861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24862 ac_sed_extra="$ac_vpsub
24865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24867 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24868 s|@configure_input@|$ac_sed_conf_input|;t t
24869 s&@top_builddir@&$ac_top_builddir_sub&;t t
24870 s&@top_build_prefix@&$ac_top_build_prefix&;t t
24871 s&@srcdir@&$ac_srcdir&;t t
24872 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24873 s&@top_srcdir@&$ac_top_srcdir&;t t
24874 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24875 s&@builddir@&$ac_builddir&;t t
24876 s&@abs_builddir@&$ac_abs_builddir&;t t
24877 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24878 s&@INSTALL@&$ac_INSTALL&;t t
24879 s&@MKDIR_P@&$ac_MKDIR_P&;t t
24880 $ac_datarootdir_hack
24882 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
24883 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24885 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24886 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
24887 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
24888 "$ac_tmp/out"`; test -z "$ac_out"; } &&
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24890 which seems to be undefined. Please make sure it is defined" >&5
24891 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24892 which seems to be undefined. Please make sure it is defined" >&2;}
24894 rm -f "$ac_tmp/stdin"
24896 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24897 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24905 if test x"$ac_file" != x-; then
24907 $as_echo "/* $configure_input */" \
24908 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24909 } >"$ac_tmp/config.h" \
24910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24911 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24912 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24913 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24916 mv "$ac_tmp/config.h" "$ac_file" \
24917 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24920 $as_echo "/* $configure_input */" \
24921 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24922 || as_fn_error $? "could not create -" "$LINENO" 5
24924 # Compute "$ac_file"'s index in $config_headers.
24927 for _am_header in $config_headers :; do
24928 case $_am_header in
24929 $_am_arg | $_am_arg:* )
24932 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24935 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24936 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24937 X"$_am_arg" : 'X\(//\)[^/]' \| \
24938 X"$_am_arg" : 'X\(//\)$' \| \
24939 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24940 $as_echo X"$_am_arg" |
24941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24945 /^X\(\/\/\)[^/].*/{
24957 s/.*/./; q'`/stamp-h$_am_stamp_count
24960 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24961 $as_echo "$as_me: executing $ac_file commands" >&6;}
24966 case $ac_file$ac_mode in
24967 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
24968 # Autoconf 2.62 quotes --file arguments for eval, but not when files
24969 # are listed without --file. Let's play safe and only enable the eval
24970 # if we detect the quoting.
24971 case $CONFIG_FILES in
24972 *\'*) eval set x "$CONFIG_FILES" ;;
24973 *) set x $CONFIG_FILES ;;
24978 # Strip MF so we end up with the name of the file.
24979 mf=`echo "$mf" | sed -e 's/:.*$//'`
24980 # Check whether this is an Automake generated Makefile or not.
24981 # We used to match only the files named `Makefile.in', but
24982 # some people rename them; so instead we look at the file content.
24983 # Grep'ing the first line is not enough: some people post-process
24984 # each Makefile.in and add a new line on top of each file to say so.
24985 # Grep'ing the whole file is not good either: AIX grep has a line
24986 # limit of 2048, but all sed's we know have understand at least 4000.
24987 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
24988 dirpart=`$as_dirname -- "$mf" ||
24989 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24990 X"$mf" : 'X\(//\)[^/]' \| \
24991 X"$mf" : 'X\(//\)$' \| \
24992 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24998 /^X\(\/\/\)[^/].*/{
25014 # Extract the definition of DEPDIR, am__include, and am__quote
25015 # from the Makefile without running `make'.
25016 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25017 test -z "$DEPDIR" && continue
25018 am__include=`sed -n 's/^am__include = //p' < "$mf"`
25019 test -z "am__include" && continue
25020 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25021 # When using ansi2knr, U may be empty or an underscore; expand it
25022 U=`sed -n 's/^U = //p' < "$mf"`
25023 # Find all dependency output files, they are included files with
25024 # $(DEPDIR) in their names. We invoke sed twice because it is the
25025 # simplest approach to changing $(DEPDIR) to its actual value in the
25027 for file in `sed -n "
25028 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25029 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25030 # Make sure the directory exists.
25031 test -f "$dirpart/$file" && continue
25032 fdir=`$as_dirname -- "$file" ||
25033 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25034 X"$file" : 'X\(//\)[^/]' \| \
25035 X"$file" : 'X\(//\)$' \| \
25036 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25037 $as_echo X"$file" |
25038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25042 /^X\(\/\/\)[^/].*/{
25055 as_dir=$dirpart/$fdir; as_fn_mkdir_p
25056 # echo "creating $dirpart/$file"
25057 echo '# dummy' > "$dirpart/$file"
25064 # See if we are running on zsh, and set the options which allow our
25065 # commands through without removal of \ escapes.
25066 if test -n "${ZSH_VERSION+set}" ; then
25067 setopt NO_GLOB_SUBST
25070 cfgfile="${ofile}T"
25071 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
25074 cat <<_LT_EOF >> "$cfgfile"
25077 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
25078 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
25079 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25080 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
25082 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25083 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
25085 # Written by Gordon Matzigkeit, 1996
25087 # This file is part of GNU Libtool.
25089 # GNU Libtool is free software; you can redistribute it and/or
25090 # modify it under the terms of the GNU General Public License as
25091 # published by the Free Software Foundation; either version 2 of
25092 # the License, or (at your option) any later version.
25094 # As a special exception to the GNU General Public License,
25095 # if you distribute this file as part of a program or library that
25096 # is built using GNU Libtool, you may include this file under the
25097 # same distribution terms that you use for the rest of that program.
25099 # GNU Libtool is distributed in the hope that it will be useful,
25100 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25101 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25102 # GNU General Public License for more details.
25104 # You should have received a copy of the GNU General Public License
25105 # along with GNU Libtool; see the file COPYING. If not, a copy
25106 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
25107 # obtained by writing to the Free Software Foundation, Inc.,
25108 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25111 # The names of the tagged configurations supported by this script.
25112 available_tags="CXX "
25114 # ### BEGIN LIBTOOL CONFIG
25116 # Whether or not to build static libraries.
25117 build_old_libs=$enable_static
25119 # Assembler program.
25122 # DLL creation program.
25123 DLLTOOL=$lt_DLLTOOL
25125 # Object dumper program.
25126 OBJDUMP=$lt_OBJDUMP
25128 # Which release of libtool.m4 was used?
25129 macro_version=$macro_version
25130 macro_revision=$macro_revision
25132 # Whether or not to build shared libraries.
25133 build_libtool_libs=$enable_shared
25135 # What type of objects to build.
25138 # Whether or not to optimize for fast installation.
25139 fast_install=$enable_fast_install
25141 # Shell to use when invoking shell scripts.
25144 # An echo program that protects backslashes.
25148 host_alias=$host_alias
25152 # The build system.
25153 build_alias=$build_alias
25157 # A sed program that does not truncate output.
25160 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
25161 Xsed="\$SED -e 1s/^X//"
25163 # A grep program that handles long lines.
25169 # A literal string matcher.
25172 # A BSD- or MS-compatible name lister.
25175 # Whether we need soft or hard links.
25178 # What is the maximum length of a command?
25179 max_cmd_len=$max_cmd_len
25181 # Object file suffix (normally "o").
25184 # Executable file suffix (normally "").
25187 # whether the shell understands "unset".
25190 # turn spaces into newlines.
25193 # turn newlines into spaces.
25196 # convert \$build file names to \$host format.
25197 to_host_file_cmd=$lt_cv_to_host_file_cmd
25199 # convert \$build files to toolchain format.
25200 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
25202 # Method to check whether dependent libraries are shared objects.
25203 deplibs_check_method=$lt_deplibs_check_method
25205 # Command to use when deplibs_check_method = "file_magic".
25206 file_magic_cmd=$lt_file_magic_cmd
25208 # How to find potential files when deplibs_check_method = "file_magic".
25209 file_magic_glob=$lt_file_magic_glob
25211 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
25212 want_nocaseglob=$lt_want_nocaseglob
25214 # Command to associate shared and link libraries.
25215 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
25220 # Flags to create an archive.
25221 AR_FLAGS=$lt_AR_FLAGS
25223 # How to feed a file listing to the archiver.
25224 archiver_list_spec=$lt_archiver_list_spec
25226 # A symbol stripping program.
25229 # Commands used to install an old-style archive.
25231 old_postinstall_cmds=$lt_old_postinstall_cmds
25232 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25234 # Whether to use a lock for old archive extraction.
25235 lock_old_archive_extraction=$lock_old_archive_extraction
25240 # LTCC compiler flags.
25241 LTCFLAGS=$lt_CFLAGS
25243 # Take the output of nm and produce a listing of raw symbols and C names.
25244 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25246 # Transform the output of nm in a proper C declaration.
25247 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25249 # Transform the output of nm in a C name address pair.
25250 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25252 # Transform the output of nm in a C name address pair when lib prefix is needed.
25253 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25255 # Specify filename containing input files for \$NM.
25256 nm_file_list_spec=$lt_nm_file_list_spec
25258 # The root where to search for dependent libraries,and in which our libraries should be installed.
25259 lt_sysroot=$lt_sysroot
25261 # The name of the directory that contains temporary libtool files.
25264 # Used to examine libraries when file_magic_cmd begins with "file".
25265 MAGIC_CMD=$MAGIC_CMD
25267 # Must we lock files when doing compilation?
25268 need_locks=$lt_need_locks
25271 MANIFEST_TOOL=$lt_MANIFEST_TOOL
25273 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25274 DSYMUTIL=$lt_DSYMUTIL
25276 # Tool to change global to local symbols on Mac OS X.
25279 # Tool to manipulate fat objects and archives on Mac OS X.
25282 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
25285 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25286 OTOOL64=$lt_OTOOL64
25288 # Old archive suffix (normally "a").
25291 # Shared library suffix (normally ".so").
25292 shrext_cmds=$lt_shrext_cmds
25294 # The commands to extract the exported symbol list from a shared archive.
25295 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25297 # Variables whose values should be saved in libtool wrapper scripts and
25298 # restored at link time.
25299 variables_saved_for_relink=$lt_variables_saved_for_relink
25301 # Do we need the "lib" prefix for modules?
25302 need_lib_prefix=$need_lib_prefix
25304 # Do we need a version for libraries?
25305 need_version=$need_version
25307 # Library versioning type.
25308 version_type=$version_type
25310 # Shared library runtime path variable.
25311 runpath_var=$runpath_var
25313 # Shared library path variable.
25314 shlibpath_var=$shlibpath_var
25316 # Is shlibpath searched before the hard-coded library search path?
25317 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25319 # Format of library name prefix.
25320 libname_spec=$lt_libname_spec
25322 # List of archive names. First name is the real one, the rest are links.
25323 # The last name is the one that the linker finds with -lNAME
25324 library_names_spec=$lt_library_names_spec
25326 # The coded name of the library, if different from the real name.
25327 soname_spec=$lt_soname_spec
25329 # Permission mode override for installation of shared libraries.
25330 install_override_mode=$lt_install_override_mode
25332 # Command to use after installation of a shared archive.
25333 postinstall_cmds=$lt_postinstall_cmds
25335 # Command to use after uninstallation of a shared archive.
25336 postuninstall_cmds=$lt_postuninstall_cmds
25338 # Commands used to finish a libtool library installation in a directory.
25339 finish_cmds=$lt_finish_cmds
25341 # As "finish_cmds", except a single script fragment to be evaled but
25343 finish_eval=$lt_finish_eval
25345 # Whether we should hardcode library paths into libraries.
25346 hardcode_into_libs=$hardcode_into_libs
25348 # Compile-time system search path for libraries.
25349 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25351 # Run-time system search path for libraries.
25352 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25354 # Whether dlopen is supported.
25355 dlopen_support=$enable_dlopen
25357 # Whether dlopen of programs is supported.
25358 dlopen_self=$enable_dlopen_self
25360 # Whether dlopen of statically linked programs is supported.
25361 dlopen_self_static=$enable_dlopen_self_static
25363 # Commands to strip libraries.
25364 old_striplib=$lt_old_striplib
25365 striplib=$lt_striplib
25368 # The linker used to build libraries.
25371 # How to create reloadable object files.
25372 reload_flag=$lt_reload_flag
25373 reload_cmds=$lt_reload_cmds
25375 # Commands used to build an old-style archive.
25376 old_archive_cmds=$lt_old_archive_cmds
25378 # A language specific compiler.
25381 # Is the compiler the GNU compiler?
25384 # Compiler flag to turn off builtin functions.
25385 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25387 # Additional compiler flags for building library objects.
25388 pic_flag=$lt_lt_prog_compiler_pic
25390 # How to pass a linker flag through the compiler.
25391 wl=$lt_lt_prog_compiler_wl
25393 # Compiler flag to prevent dynamic linking.
25394 link_static_flag=$lt_lt_prog_compiler_static
25396 # Does compiler simultaneously support -c and -o options?
25397 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25399 # Whether or not to add -lc for building shared libraries.
25400 build_libtool_need_lc=$archive_cmds_need_lc
25402 # Whether or not to disallow shared libs when runtime libs are static.
25403 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25405 # Compiler flag to allow reflexive dlopens.
25406 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25408 # Compiler flag to generate shared objects directly from archives.
25409 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25411 # Whether the compiler copes with passing no objects directly.
25412 compiler_needs_object=$lt_compiler_needs_object
25414 # Create an old-style archive from a shared archive.
25415 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25417 # Create a temporary old-style archive to link instead of a shared archive.
25418 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25420 # Commands used to build a shared archive.
25421 archive_cmds=$lt_archive_cmds
25422 archive_expsym_cmds=$lt_archive_expsym_cmds
25424 # Commands used to build a loadable module if different from building
25425 # a shared archive.
25426 module_cmds=$lt_module_cmds
25427 module_expsym_cmds=$lt_module_expsym_cmds
25429 # Whether we are building with GNU ld or not.
25430 with_gnu_ld=$lt_with_gnu_ld
25432 # Flag that allows shared libraries with undefined symbols to be built.
25433 allow_undefined_flag=$lt_allow_undefined_flag
25435 # Flag that enforces no undefined symbols.
25436 no_undefined_flag=$lt_no_undefined_flag
25438 # Flag to hardcode \$libdir into a binary during linking.
25439 # This must work even if \$libdir does not exist
25440 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25442 # If ld is used when linking, flag to hardcode \$libdir into a binary
25443 # during linking. This must work even if \$libdir does not exist.
25444 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
25446 # Whether we need a single "-rpath" flag with a separated argument.
25447 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25449 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25450 # DIR into the resulting binary.
25451 hardcode_direct=$hardcode_direct
25453 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25454 # DIR into the resulting binary and the resulting library dependency is
25455 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25456 # library is relocated.
25457 hardcode_direct_absolute=$hardcode_direct_absolute
25459 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25460 # into the resulting binary.
25461 hardcode_minus_L=$hardcode_minus_L
25463 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25464 # into the resulting binary.
25465 hardcode_shlibpath_var=$hardcode_shlibpath_var
25467 # Set to "yes" if building a shared library automatically hardcodes DIR
25468 # into the library and all subsequent libraries and executables linked
25470 hardcode_automatic=$hardcode_automatic
25472 # Set to yes if linker adds runtime paths of dependent libraries
25473 # to runtime path list.
25474 inherit_rpath=$inherit_rpath
25476 # Whether libtool must link a program against all its dependency libraries.
25477 link_all_deplibs=$link_all_deplibs
25479 # Set to "yes" if exported symbols are required.
25480 always_export_symbols=$always_export_symbols
25482 # The commands to list exported symbols.
25483 export_symbols_cmds=$lt_export_symbols_cmds
25485 # Symbols that should not be listed in the preloaded symbols.
25486 exclude_expsyms=$lt_exclude_expsyms
25488 # Symbols that must always be exported.
25489 include_expsyms=$lt_include_expsyms
25491 # Commands necessary for linking programs (against libraries) with templates.
25492 prelink_cmds=$lt_prelink_cmds
25494 # Commands necessary for finishing linking programs.
25495 postlink_cmds=$lt_postlink_cmds
25497 # Specify filename containing input files.
25498 file_list_spec=$lt_file_list_spec
25500 # How to hardcode a shared library path into an executable.
25501 hardcode_action=$hardcode_action
25503 # The directories searched by this compiler when creating a shared library.
25504 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
25506 # Dependencies to place before and after the objects being linked to
25507 # create a shared library.
25508 predep_objects=$lt_predep_objects
25509 postdep_objects=$lt_postdep_objects
25510 predeps=$lt_predeps
25511 postdeps=$lt_postdeps
25513 # The library search path used internally by the compiler when linking
25514 # a shared library.
25515 compiler_lib_search_path=$lt_compiler_lib_search_path
25517 # ### END LIBTOOL CONFIG
25523 cat <<\_LT_EOF >> "$cfgfile"
25524 # AIX sometimes has problems with the GCC collect2 program. For some
25525 # reason, if we set the COLLECT_NAMES environment variable, the problems
25526 # vanish in a puff of smoke.
25527 if test "X${COLLECT_NAMES+set}" != Xset; then
25529 export COLLECT_NAMES
25536 ltmain="$ac_aux_dir/ltmain.sh"
25539 # We use sed instead of cat because bash on DJGPP gets confused if
25540 # if finds mixed CR/LF and LF-only lines. Since sed operates in
25541 # text mode, it properly converts lines to CR/LF. This bash problem
25542 # is reportedly fixed, but why not run on old versions too?
25543 sed '$q' "$ltmain" >> "$cfgfile" \
25544 || (rm -f "$cfgfile"; exit 1)
25546 if test x"$xsi_shell" = xyes; then
25547 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
25551 \ */*) func_dirname_result="${1%/*}${2}" ;;\
25552 \ * ) func_dirname_result="${3}" ;;\
25554 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
25555 && mv -f "$cfgfile.tmp" "$cfgfile" \
25556 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25557 test 0 -eq $? || _lt_function_replace_fail=:
25560 sed -e '/^func_basename ()$/,/^} # func_basename /c\
25563 \ func_basename_result="${1##*/}"\
25564 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
25565 && mv -f "$cfgfile.tmp" "$cfgfile" \
25566 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25567 test 0 -eq $? || _lt_function_replace_fail=:
25570 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
25571 func_dirname_and_basename ()\
25574 \ */*) func_dirname_result="${1%/*}${2}" ;;\
25575 \ * ) func_dirname_result="${3}" ;;\
25577 \ func_basename_result="${1##*/}"\
25578 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
25579 && mv -f "$cfgfile.tmp" "$cfgfile" \
25580 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25581 test 0 -eq $? || _lt_function_replace_fail=:
25584 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
25587 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
25588 \ # positional parameters, so assign one to ordinary parameter first.\
25589 \ func_stripname_result=${3}\
25590 \ func_stripname_result=${func_stripname_result#"${1}"}\
25591 \ func_stripname_result=${func_stripname_result%"${2}"}\
25592 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
25593 && mv -f "$cfgfile.tmp" "$cfgfile" \
25594 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25595 test 0 -eq $? || _lt_function_replace_fail=:
25598 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
25599 func_split_long_opt ()\
25601 \ func_split_long_opt_name=${1%%=*}\
25602 \ func_split_long_opt_arg=${1#*=}\
25603 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
25604 && mv -f "$cfgfile.tmp" "$cfgfile" \
25605 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25606 test 0 -eq $? || _lt_function_replace_fail=:
25609 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
25610 func_split_short_opt ()\
25612 \ func_split_short_opt_arg=${1#??}\
25613 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
25614 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
25615 && mv -f "$cfgfile.tmp" "$cfgfile" \
25616 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25617 test 0 -eq $? || _lt_function_replace_fail=:
25620 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
25624 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
25625 \ *) func_lo2o_result=${1} ;;\
25627 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
25628 && mv -f "$cfgfile.tmp" "$cfgfile" \
25629 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25630 test 0 -eq $? || _lt_function_replace_fail=:
25633 sed -e '/^func_xform ()$/,/^} # func_xform /c\
25636 func_xform_result=${1%.*}.lo\
25637 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
25638 && mv -f "$cfgfile.tmp" "$cfgfile" \
25639 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25640 test 0 -eq $? || _lt_function_replace_fail=:
25643 sed -e '/^func_arith ()$/,/^} # func_arith /c\
25646 func_arith_result=$(( $* ))\
25647 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
25648 && mv -f "$cfgfile.tmp" "$cfgfile" \
25649 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25650 test 0 -eq $? || _lt_function_replace_fail=:
25653 sed -e '/^func_len ()$/,/^} # func_len /c\
25656 func_len_result=${#1}\
25657 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
25658 && mv -f "$cfgfile.tmp" "$cfgfile" \
25659 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25660 test 0 -eq $? || _lt_function_replace_fail=:
25664 if test x"$lt_shell_append" = xyes; then
25665 sed -e '/^func_append ()$/,/^} # func_append /c\
25668 eval "${1}+=\\${2}"\
25669 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
25670 && mv -f "$cfgfile.tmp" "$cfgfile" \
25671 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25672 test 0 -eq $? || _lt_function_replace_fail=:
25675 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
25676 func_append_quoted ()\
25678 \ func_quote_for_eval "${2}"\
25679 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
25680 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
25681 && mv -f "$cfgfile.tmp" "$cfgfile" \
25682 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25683 test 0 -eq $? || _lt_function_replace_fail=:
25686 # Save a `func_append' function call where possible by direct use of '+='
25687 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
25688 && mv -f "$cfgfile.tmp" "$cfgfile" \
25689 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25690 test 0 -eq $? || _lt_function_replace_fail=:
25692 # Save a `func_append' function call even when '+=' is not available
25693 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
25694 && mv -f "$cfgfile.tmp" "$cfgfile" \
25695 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25696 test 0 -eq $? || _lt_function_replace_fail=:
25699 if test x"$_lt_function_replace_fail" = x":"; then
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
25701 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
25705 mv -f "$cfgfile" "$ofile" ||
25706 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25710 cat <<_LT_EOF >> "$ofile"
25712 # ### BEGIN LIBTOOL TAG CONFIG: CXX
25714 # The linker used to build libraries.
25717 # How to create reloadable object files.
25718 reload_flag=$lt_reload_flag_CXX
25719 reload_cmds=$lt_reload_cmds_CXX
25721 # Commands used to build an old-style archive.
25722 old_archive_cmds=$lt_old_archive_cmds_CXX
25724 # A language specific compiler.
25725 CC=$lt_compiler_CXX
25727 # Is the compiler the GNU compiler?
25730 # Compiler flag to turn off builtin functions.
25731 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25733 # Additional compiler flags for building library objects.
25734 pic_flag=$lt_lt_prog_compiler_pic_CXX
25736 # How to pass a linker flag through the compiler.
25737 wl=$lt_lt_prog_compiler_wl_CXX
25739 # Compiler flag to prevent dynamic linking.
25740 link_static_flag=$lt_lt_prog_compiler_static_CXX
25742 # Does compiler simultaneously support -c and -o options?
25743 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25745 # Whether or not to add -lc for building shared libraries.
25746 build_libtool_need_lc=$archive_cmds_need_lc_CXX
25748 # Whether or not to disallow shared libs when runtime libs are static.
25749 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25751 # Compiler flag to allow reflexive dlopens.
25752 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25754 # Compiler flag to generate shared objects directly from archives.
25755 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25757 # Whether the compiler copes with passing no objects directly.
25758 compiler_needs_object=$lt_compiler_needs_object_CXX
25760 # Create an old-style archive from a shared archive.
25761 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25763 # Create a temporary old-style archive to link instead of a shared archive.
25764 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25766 # Commands used to build a shared archive.
25767 archive_cmds=$lt_archive_cmds_CXX
25768 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25770 # Commands used to build a loadable module if different from building
25771 # a shared archive.
25772 module_cmds=$lt_module_cmds_CXX
25773 module_expsym_cmds=$lt_module_expsym_cmds_CXX
25775 # Whether we are building with GNU ld or not.
25776 with_gnu_ld=$lt_with_gnu_ld_CXX
25778 # Flag that allows shared libraries with undefined symbols to be built.
25779 allow_undefined_flag=$lt_allow_undefined_flag_CXX
25781 # Flag that enforces no undefined symbols.
25782 no_undefined_flag=$lt_no_undefined_flag_CXX
25784 # Flag to hardcode \$libdir into a binary during linking.
25785 # This must work even if \$libdir does not exist
25786 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25788 # If ld is used when linking, flag to hardcode \$libdir into a binary
25789 # during linking. This must work even if \$libdir does not exist.
25790 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
25792 # Whether we need a single "-rpath" flag with a separated argument.
25793 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25795 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25796 # DIR into the resulting binary.
25797 hardcode_direct=$hardcode_direct_CXX
25799 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25800 # DIR into the resulting binary and the resulting library dependency is
25801 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25802 # library is relocated.
25803 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25805 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25806 # into the resulting binary.
25807 hardcode_minus_L=$hardcode_minus_L_CXX
25809 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25810 # into the resulting binary.
25811 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25813 # Set to "yes" if building a shared library automatically hardcodes DIR
25814 # into the library and all subsequent libraries and executables linked
25816 hardcode_automatic=$hardcode_automatic_CXX
25818 # Set to yes if linker adds runtime paths of dependent libraries
25819 # to runtime path list.
25820 inherit_rpath=$inherit_rpath_CXX
25822 # Whether libtool must link a program against all its dependency libraries.
25823 link_all_deplibs=$link_all_deplibs_CXX
25825 # Set to "yes" if exported symbols are required.
25826 always_export_symbols=$always_export_symbols_CXX
25828 # The commands to list exported symbols.
25829 export_symbols_cmds=$lt_export_symbols_cmds_CXX
25831 # Symbols that should not be listed in the preloaded symbols.
25832 exclude_expsyms=$lt_exclude_expsyms_CXX
25834 # Symbols that must always be exported.
25835 include_expsyms=$lt_include_expsyms_CXX
25837 # Commands necessary for linking programs (against libraries) with templates.
25838 prelink_cmds=$lt_prelink_cmds_CXX
25840 # Commands necessary for finishing linking programs.
25841 postlink_cmds=$lt_postlink_cmds_CXX
25843 # Specify filename containing input files.
25844 file_list_spec=$lt_file_list_spec_CXX
25846 # How to hardcode a shared library path into an executable.
25847 hardcode_action=$hardcode_action_CXX
25849 # The directories searched by this compiler when creating a shared library.
25850 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25852 # Dependencies to place before and after the objects being linked to
25853 # create a shared library.
25854 predep_objects=$lt_predep_objects_CXX
25855 postdep_objects=$lt_postdep_objects_CXX
25856 predeps=$lt_predeps_CXX
25857 postdeps=$lt_postdeps_CXX
25859 # The library search path used internally by the compiler when linking
25860 # a shared library.
25861 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25863 # ### END LIBTOOL TAG CONFIG: CXX
25867 "Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25869 "Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25871 "Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25873 "Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25875 "Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25884 ac_clean_files=$ac_clean_files_save
25886 test $ac_write_fail = 0 ||
25887 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
25890 # configure is writing to config.log, and then calls config.status.
25891 # config.status does its own redirection, appending to config.log.
25892 # Unfortunately, on DOS this fails, as config.log is still kept open
25893 # by configure, so config.status won't be able to write to it; its
25894 # output is simply discarded. So we exec the FD to /dev/null,
25895 # effectively closing config.log, so it can be properly (re)opened and
25896 # appended to by config.status. When coming back to configure, we
25897 # need to make the FD available again.
25898 if test "$no_create" != yes; then
25900 ac_config_status_args=
25901 test "$silent" = yes &&
25902 ac_config_status_args="$ac_config_status_args --quiet"
25904 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25906 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25907 # would make configure fail if this is the last instruction.
25908 $ac_cs_success || as_fn_exit 1
25910 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
25911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25912 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
25917 WebKit was configured with the following options:
25919 Build configuration:
25920 Enable debugging (slow) : $enable_debug
25921 Compile with debug symbols (slow) : $enable_debug_symbols
25922 Enable debug features (slow) : $enable_debug_features
25923 Enable GCC build optimization : $enable_optimizations
25924 Code coverage support : $enable_coverage
25925 Unicode backend : $with_unicode_backend
25926 Font backend : $with_font_backend
25927 Optimized memory allocator : $enable_fast_malloc
25929 3D Rendering : $enable_3d_rendering
25930 WebGL : $enable_webgl
25931 Blob support : $enable_blob
25932 DeviceOrientation support : $enable_device_orientation
25933 Directory upload : $enable_directory_upload
25934 Fast Mobile Scrolling : $enable_fast_mobile_scrolling
25935 JIT compilation : $enable_jit
25936 Filters support : $enable_filters
25937 Geolocation support : $enable_geolocation
25938 Client-based geolocation support : $enable_client_based_geolocation
25939 JavaScript debugger/profiler support : $enable_javascript_debugger
25940 MathML support : $enable_mathml
25941 Media source : $enable_media_source
25942 Media statistics : $enable_media_statistics
25943 HTML5 offline web applications support : $enable_offline_web_applications
25944 HTML5 channel messaging support : $enable_channel_messaging
25945 HTML5 meter element support : $enable_meter_tag
25946 Page Visibility API support : $enable_page_visibility_api
25947 HTML5 progress element support : $enable_progress_tag
25948 HTML5 client-side session and persistent storage support : $enable_dom_storage
25949 SQL client-side database storage support : $enable_sql_database
25950 HTML5 datagrid support : $enable_datagrid
25951 HTML5 data transfer items support : $enable_data_transfer_items
25952 HTML5 FileSystem API support : $enable_file_system
25953 Quota API support : $enable_quota
25954 HTML5 sandboxed iframe support : $enable_sandbox
25955 HTML5 video element support : $enable_video
25956 HTML5 track element support : $enable_video_track
25957 Fullscreen API support : $enable_fullscreen_api
25958 Media stream support : $enable_media_stream
25959 Icon database support : $enable_icon_database
25960 Image resizer support : $enable_image_resizer
25961 Link prefetch support : $enable_link_prefetch
25962 Opcode stats : $enable_opcode_stats
25963 SharedWorkers support : $enable_shared_workers
25964 Color input support : $enable_input_color
25965 Speech input support : $enable_input_speech
25966 SVG support : $enable_svg
25967 SVG fonts support : $enable_svg_fonts
25968 WCSS support : $enable_wcss
25969 Web Audio support : $enable_web_audio
25970 Web Sockets support : $enable_web_sockets
25971 Web Timing support : $enable_web_timing
25972 Web Workers support : $enable_workers
25973 XHTML-MP support : $enable_xhtmlmp
25974 XPATH support : $enable_xpath
25975 XSLT support : $enable_xslt
25976 Spellcheck support : $enable_spellcheck
25977 Animation API : $enable_animation_api
25978 Touch Icon Loading support : $enable_touch_icon_loading
25979 Register Protocol Handler support : $enable_register_protocol_handler
25980 WebKit2 support : $enable_webkit2
25981 WebKit2 plugin process : $enable_plugin_process
25983 GTK+ configuration:
25984 GTK+ version : $with_gtk
25985 GDK target : $with_target
25986 Hildon UI extensions : $with_hildon
25987 Introspection support : $enable_introspection
25989 if test "$with_unicode_backend" = "glib"; then
25990 echo " >> WARNING: the glib-based unicode backend is slow and incomplete <<"