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 @%:@(
150 set -o posix ;; @%:@(
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=.
201 case $as_dir in @%:@(
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 @S|@? to STATUS, without forking.
283 } @%:@ as_fn_set_status
285 @%:@ as_fn_exit STATUS
286 @%:@ -----------------
287 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 @%:@ Create "@S|@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
347 @%:@ implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
360 @%:@ as_fn_arith ARG...
361 @%:@ ------------------
362 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
363 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
364 @%:@ must be portable across @S|@(()) 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 @S|@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
816 GSETTINGS_DISABLE_SCHEMAS_COMPILE
817 GLIB_COMPILE_RESOURCES
828 GTK_API_VERSION_2_FALSE
829 GTK_API_VERSION_2_TRUE
832 WEBKITGTK_API_VERSION
833 WEBKITGTK_API_MINOR_VERSION
834 WEBKITGTK_API_MAJOR_VERSION
880 SYMBOL_VISIBILITY_INLINES
911 INSTALL_STRIP_PROGRAM
927 WEBKIT_USER_AGENT_MINOR_VERSION
928 WEBKIT_USER_AGENT_MAJOR_VERSION
968 program_transform_name
981 enable_option_checking
983 enable_dependency_tracking
996 enable_schemas_compile
1000 enable_optimizations
1003 enable_channel_messaging
1004 enable_notifications
1006 enable_page_visibility_api
1008 enable_javascript_debugger
1010 enable_data_transfer_items
1011 enable_offline_web_applications
1013 enable_indexed_database
1017 enable_icon_database
1018 enable_image_resizer
1024 enable_media_statistics
1025 enable_fullscreen_api
1031 enable_client_based_geolocation
1035 enable_shared_workers
1037 enable_directory_upload
1046 enable_fast_mobile_scrolling
1049 enable_debug_symbols
1050 enable_debug_features
1053 enable_link_prefetch
1054 enable_introspection
1055 enable_animation_api
1056 enable_touch_icon_loading
1057 enable_register_protocol_handler
1058 enable_device_orientation
1061 enable_plugin_process
1063 ac_precious_vars='build_alias
1099 INTROSPECTION_CFLAGS
1115 # Initialize some variables set by options.
1117 ac_init_version=false
1118 ac_unrecognized_opts=
1119 ac_unrecognized_sep=
1120 # The variables have the same names as the options, with
1121 # dashes changed to underlines.
1122 cache_file=/dev/null
1129 program_transform_name=s,x,x,
1137 # Installation directory options.
1138 # These are left unexpanded so users can "make install exec_prefix=/foo"
1139 # and all the variables that are supposed to be based on exec_prefix
1140 # by default will actually change.
1141 # Use braces instead of parens because sh, perl, etc. also accept them.
1142 # (The list follows the same order as the GNU Coding Standards.)
1143 bindir='${exec_prefix}/bin'
1144 sbindir='${exec_prefix}/sbin'
1145 libexecdir='${exec_prefix}/libexec'
1146 datarootdir='${prefix}/share'
1147 datadir='${datarootdir}'
1148 sysconfdir='${prefix}/etc'
1149 sharedstatedir='${prefix}/com'
1150 localstatedir='${prefix}/var'
1151 includedir='${prefix}/include'
1152 oldincludedir='/usr/include'
1153 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1154 infodir='${datarootdir}/info'
1159 libdir='${exec_prefix}/lib'
1160 localedir='${datarootdir}/locale'
1161 mandir='${datarootdir}/man'
1167 # If the previous option needs an argument, assign it.
1168 if test -n "$ac_prev"; then
1169 eval $ac_prev=\$ac_option
1175 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1180 # Accept the important Cygnus configure options, so we can diagnose typos.
1182 case $ac_dashdash$ac_option in
1186 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1188 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1189 bindir=$ac_optarg ;;
1191 -build | --build | --buil | --bui | --bu)
1192 ac_prev=build_alias ;;
1193 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1194 build_alias=$ac_optarg ;;
1196 -cache-file | --cache-file | --cache-fil | --cache-fi \
1197 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1198 ac_prev=cache_file ;;
1199 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1200 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1201 cache_file=$ac_optarg ;;
1203 --config-cache | -C)
1204 cache_file=config.cache ;;
1206 -datadir | --datadir | --datadi | --datad)
1208 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1209 datadir=$ac_optarg ;;
1211 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1212 | --dataroo | --dataro | --datar)
1213 ac_prev=datarootdir ;;
1214 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1215 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1216 datarootdir=$ac_optarg ;;
1218 -disable-* | --disable-*)
1219 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1222 as_fn_error $? "invalid feature name: $ac_useropt"
1223 ac_useropt_orig=$ac_useropt
1224 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225 case $ac_user_opts in
1227 "enable_$ac_useropt"
1229 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1230 ac_unrecognized_sep=', ';;
1232 eval enable_$ac_useropt=no ;;
1234 -docdir | --docdir | --docdi | --doc | --do)
1236 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1237 docdir=$ac_optarg ;;
1239 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1241 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1242 dvidir=$ac_optarg ;;
1244 -enable-* | --enable-*)
1245 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248 as_fn_error $? "invalid feature name: $ac_useropt"
1249 ac_useropt_orig=$ac_useropt
1250 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1253 "enable_$ac_useropt"
1255 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1256 ac_unrecognized_sep=', ';;
1258 eval enable_$ac_useropt=\$ac_optarg ;;
1260 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1261 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1262 | --exec | --exe | --ex)
1263 ac_prev=exec_prefix ;;
1264 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1265 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1266 | --exec=* | --exe=* | --ex=*)
1267 exec_prefix=$ac_optarg ;;
1269 -gas | --gas | --ga | --g)
1270 # Obsolete; use --with-gas.
1273 -help | --help | --hel | --he | -h)
1274 ac_init_help=long ;;
1275 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1276 ac_init_help=recursive ;;
1277 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1278 ac_init_help=short ;;
1280 -host | --host | --hos | --ho)
1281 ac_prev=host_alias ;;
1282 -host=* | --host=* | --hos=* | --ho=*)
1283 host_alias=$ac_optarg ;;
1285 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1287 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1289 htmldir=$ac_optarg ;;
1291 -includedir | --includedir | --includedi | --included | --include \
1292 | --includ | --inclu | --incl | --inc)
1293 ac_prev=includedir ;;
1294 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1295 | --includ=* | --inclu=* | --incl=* | --inc=*)
1296 includedir=$ac_optarg ;;
1298 -infodir | --infodir | --infodi | --infod | --info | --inf)
1300 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1301 infodir=$ac_optarg ;;
1303 -libdir | --libdir | --libdi | --libd)
1305 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1306 libdir=$ac_optarg ;;
1308 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1309 | --libexe | --libex | --libe)
1310 ac_prev=libexecdir ;;
1311 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1312 | --libexe=* | --libex=* | --libe=*)
1313 libexecdir=$ac_optarg ;;
1315 -localedir | --localedir | --localedi | --localed | --locale)
1316 ac_prev=localedir ;;
1317 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1318 localedir=$ac_optarg ;;
1320 -localstatedir | --localstatedir | --localstatedi | --localstated \
1321 | --localstate | --localstat | --localsta | --localst | --locals)
1322 ac_prev=localstatedir ;;
1323 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1324 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1325 localstatedir=$ac_optarg ;;
1327 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1329 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1330 mandir=$ac_optarg ;;
1332 -nfp | --nfp | --nf)
1333 # Obsolete; use --without-fp.
1336 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1337 | --no-cr | --no-c | -n)
1340 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1341 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1344 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1345 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1346 | --oldin | --oldi | --old | --ol | --o)
1347 ac_prev=oldincludedir ;;
1348 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1349 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1350 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1351 oldincludedir=$ac_optarg ;;
1353 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1355 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1356 prefix=$ac_optarg ;;
1358 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1359 | --program-pre | --program-pr | --program-p)
1360 ac_prev=program_prefix ;;
1361 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1362 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1363 program_prefix=$ac_optarg ;;
1365 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1366 | --program-suf | --program-su | --program-s)
1367 ac_prev=program_suffix ;;
1368 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1369 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1370 program_suffix=$ac_optarg ;;
1372 -program-transform-name | --program-transform-name \
1373 | --program-transform-nam | --program-transform-na \
1374 | --program-transform-n | --program-transform- \
1375 | --program-transform | --program-transfor \
1376 | --program-transfo | --program-transf \
1377 | --program-trans | --program-tran \
1378 | --progr-tra | --program-tr | --program-t)
1379 ac_prev=program_transform_name ;;
1380 -program-transform-name=* | --program-transform-name=* \
1381 | --program-transform-nam=* | --program-transform-na=* \
1382 | --program-transform-n=* | --program-transform-=* \
1383 | --program-transform=* | --program-transfor=* \
1384 | --program-transfo=* | --program-transf=* \
1385 | --program-trans=* | --program-tran=* \
1386 | --progr-tra=* | --program-tr=* | --program-t=*)
1387 program_transform_name=$ac_optarg ;;
1389 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1391 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1392 pdfdir=$ac_optarg ;;
1394 -psdir | --psdir | --psdi | --psd | --ps)
1396 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1400 | -silent | --silent | --silen | --sile | --sil)
1403 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1405 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1407 sbindir=$ac_optarg ;;
1409 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1410 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1411 | --sharedst | --shareds | --shared | --share | --shar \
1413 ac_prev=sharedstatedir ;;
1414 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1415 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1416 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1418 sharedstatedir=$ac_optarg ;;
1420 -site | --site | --sit)
1422 -site=* | --site=* | --sit=*)
1425 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1427 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1428 srcdir=$ac_optarg ;;
1430 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1431 | --syscon | --sysco | --sysc | --sys | --sy)
1432 ac_prev=sysconfdir ;;
1433 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1434 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1435 sysconfdir=$ac_optarg ;;
1437 -target | --target | --targe | --targ | --tar | --ta | --t)
1438 ac_prev=target_alias ;;
1439 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1440 target_alias=$ac_optarg ;;
1442 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1445 -version | --version | --versio | --versi | --vers | -V)
1446 ac_init_version=: ;;
1449 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1450 # Reject names that are not valid shell variable names.
1451 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1452 as_fn_error $? "invalid package name: $ac_useropt"
1453 ac_useropt_orig=$ac_useropt
1454 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1455 case $ac_user_opts in
1459 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1460 ac_unrecognized_sep=', ';;
1462 eval with_$ac_useropt=\$ac_optarg ;;
1464 -without-* | --without-*)
1465 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1466 # Reject names that are not valid shell variable names.
1467 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1468 as_fn_error $? "invalid package name: $ac_useropt"
1469 ac_useropt_orig=$ac_useropt
1470 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1471 case $ac_user_opts in
1475 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1476 ac_unrecognized_sep=', ';;
1478 eval with_$ac_useropt=no ;;
1481 # Obsolete; use --with-x.
1484 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1485 | --x-incl | --x-inc | --x-in | --x-i)
1486 ac_prev=x_includes ;;
1487 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1488 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1489 x_includes=$ac_optarg ;;
1491 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1492 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1493 ac_prev=x_libraries ;;
1494 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1495 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1496 x_libraries=$ac_optarg ;;
1498 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1499 Try \`$0 --help' for more information"
1503 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1504 # Reject names that are not valid shell variable names.
1505 case $ac_envvar in #(
1506 '' | [0-9]* | *[!_$as_cr_alnum]* )
1507 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1509 eval $ac_envvar=\$ac_optarg
1510 export $ac_envvar ;;
1513 # FIXME: should be removed in autoconf 3.0.
1514 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1515 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1516 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1517 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1523 if test -n "$ac_prev"; then
1524 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1525 as_fn_error $? "missing argument to $ac_option"
1528 if test -n "$ac_unrecognized_opts"; then
1529 case $enable_option_checking in
1531 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1532 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1536 # Check all directory arguments for consistency.
1537 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1538 datadir sysconfdir sharedstatedir localstatedir includedir \
1539 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1540 libdir localedir mandir
1542 eval ac_val=\$$ac_var
1543 # Remove trailing slashes.
1546 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1547 eval $ac_var=\$ac_val;;
1549 # Be sure to have absolute directory names.
1551 [\\/$]* | ?:[\\/]* ) continue;;
1552 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1554 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1557 # There might be people who depend on the old broken behavior: `$host'
1558 # used to hold the argument of --host etc.
1559 # FIXME: To remove some day.
1562 target=$target_alias
1564 # FIXME: To remove some day.
1565 if test "x$host_alias" != x; then
1566 if test "x$build_alias" = x; then
1567 cross_compiling=maybe
1568 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1569 If a cross compiler is detected then cross compile mode will be used" >&2
1570 elif test "x$build_alias" != "x$host_alias"; then
1576 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1578 test "$silent" = yes && exec 6>/dev/null
1581 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1582 ac_ls_di=`ls -di .` &&
1583 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1584 as_fn_error $? "working directory cannot be determined"
1585 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1586 as_fn_error $? "pwd does not report name of working directory"
1589 # Find the source files, if location was not specified.
1590 if test -z "$srcdir"; then
1591 ac_srcdir_defaulted=yes
1592 # Try the directory containing this script, then the parent directory.
1593 ac_confdir=`$as_dirname -- "$as_myself" ||
1594 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1595 X"$as_myself" : 'X\(//\)[^/]' \| \
1596 X"$as_myself" : 'X\(//\)$' \| \
1597 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1598 $as_echo X"$as_myself" |
1599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1617 if test ! -r "$srcdir/$ac_unique_file"; then
1621 ac_srcdir_defaulted=no
1623 if test ! -r "$srcdir/$ac_unique_file"; then
1624 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1625 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1627 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1629 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1631 # When building in place, set srcdir=.
1632 if test "$ac_abs_confdir" = "$ac_pwd"; then
1635 # Remove unnecessary trailing slashes from srcdir.
1636 # Double slashes in file names in object file debugging info
1637 # mess up M-x gdb in Emacs.
1639 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1641 for ac_var in $ac_precious_vars; do
1642 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1643 eval ac_env_${ac_var}_value=\$${ac_var}
1644 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1645 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1649 # Report the --help message.
1651 if test "$ac_init_help" = "long"; then
1652 # Omit some internal or obsolete options to make the list less imposing.
1653 # This message is too long to be a string in the A/UX 3.1 sh.
1655 \`configure' configures WebKit 1.6.1 to adapt to many kinds of systems.
1657 Usage: $0 [OPTION]... [VAR=VALUE]...
1659 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1660 VAR=VALUE. See below for descriptions of some of the useful variables.
1662 Defaults for the options are specified in brackets.
1665 -h, --help display this help and exit
1666 --help=short display options specific to this package
1667 --help=recursive display the short help of all the included packages
1668 -V, --version display version information and exit
1669 -q, --quiet, --silent do not print \`checking ...' messages
1670 --cache-file=FILE cache test results in FILE [disabled]
1671 -C, --config-cache alias for \`--cache-file=config.cache'
1672 -n, --no-create do not create output files
1673 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1675 Installation directories:
1676 --prefix=PREFIX install architecture-independent files in PREFIX
1677 @<:@@S|@ac_default_prefix@:>@
1678 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1681 By default, \`make install' will install all the files in
1682 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1683 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1684 for instance \`--prefix=\$HOME'.
1686 For better control, use the options below.
1688 Fine tuning of the installation directories:
1689 --bindir=DIR user executables [EPREFIX/bin]
1690 --sbindir=DIR system admin executables [EPREFIX/sbin]
1691 --libexecdir=DIR program executables [EPREFIX/libexec]
1692 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1693 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1694 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1695 --libdir=DIR object code libraries [EPREFIX/lib]
1696 --includedir=DIR C header files [PREFIX/include]
1697 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1698 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1699 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1700 --infodir=DIR info documentation [DATAROOTDIR/info]
1701 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1702 --mandir=DIR man documentation [DATAROOTDIR/man]
1703 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/webkit@:>@
1704 --htmldir=DIR html documentation [DOCDIR]
1705 --dvidir=DIR dvi documentation [DOCDIR]
1706 --pdfdir=DIR pdf documentation [DOCDIR]
1707 --psdir=DIR ps documentation [DOCDIR]
1713 --program-prefix=PREFIX prepend PREFIX to installed program names
1714 --program-suffix=SUFFIX append SUFFIX to installed program names
1715 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1718 --build=BUILD configure for building on BUILD [guessed]
1719 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1723 if test -n "$ac_init_help"; then
1724 case $ac_init_help in
1725 short | recursive ) echo "Configuration of WebKit 1.6.1:";;
1730 --disable-option-checking ignore unrecognized --enable/--with options
1731 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1732 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1733 --enable-silent-rules less verbose build output (undo: `make V=1')
1734 --disable-silent-rules verbose build output (undo: `make V=0')
1735 --disable-dependency-tracking speeds up one-time build
1736 --enable-dependency-tracking do not reject slow dependency extractors
1737 --disable-largefile omit support for large files
1738 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
1739 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1740 --enable-fast-install@<:@=PKGS@:>@
1741 optimize for fast installation @<:@default=yes@:>@
1742 --disable-libtool-lock avoid locking (might break parallel builds)
1743 --disable-glibtest do not try to compile and run a test GLIB program
1744 --disable-schemas-compile
1745 Disable regeneration of gschemas.compiled on install
1746 --enable-spellcheck enable support for spellcheck
1747 --enable-debug turn on debugging @<:@default=no@:>@
1748 --enable-optimizations turn on optimize builds (GCC only) @<:@default=yes@:>@
1749 --enable-3d-rendering enable support for 3D Rendering (experimental)
1751 --enable-webgl enable support for WebGL (experimental) @<:@default=no@:>@
1752 --enable-channel-messaging
1753 enable HTML5 channel messaging support @<:@default=yes@:>@
1754 --enable-notifications enable notifications @<:@default=no@:>@
1755 --enable-meter-tag enable HTML5 meter @<:@default=yes@:>@
1756 --enable-page-visibility-api
1757 enable page visibility api@<:@default=no@:>@
1758 --enable-progress-tag enable HTML5 progress @<:@default=yes@:>@
1759 --enable-javascript-debugger
1760 enable JavaScript debugger/profiler support
1762 --enable-datagrid enable HTML5 datagrid support @<:@default=no@:>@
1763 --enable-data-transfer-items
1764 enable HTML5 data transfer items support
1766 --enable-offline-web-applications
1767 enable HTML5 offline web applications support
1769 --enable-dom-storage enable HTML5 client-side session and persistent
1770 storage support @<:@default=yes@:>@
1771 --enable-indexed-database
1772 enable the indexed database API @<:@default=no@:>@
1773 --enable-input-color enable the color input @<:@default=no@:>@
1774 --enable-input-speech enable the speech input API @<:@default=no@:>@
1775 --enable-sql-database enable SQL client-side database storage support
1777 --enable-icon-database enable icon database @<:@default=yes@:>@
1778 --enable-image-resizer enable image resizer @<:@default=no@:>@
1779 --enable-datalist enable HTML5 datalist support @<:@default=yes@:>@
1780 --enable-sandbox enable HTML5 sandboxed iframe support @<:@default=yes@:>@
1781 --enable-video enable HTML5 video support @<:@default=yes@:>@
1782 --enable-elis-media enable Elis Media support @<:@default=no@:>@
1783 --enable-video-track enable HTML5 video track support @<:@default=yes@:>@
1784 --enable-media-source enable support for media source @<:@default=no@:>@
1785 --enable-media-statistics
1786 enable support for media statistics @<:@default=no@:>@
1787 --enable-fullscreen-api enable the Fullscreen API support @<:@default=yes@:>@
1788 --enable-media-stream enable media stream support (incomplete)
1790 --enable-xhtmlmp enable support for XHTML-MP @<:@default=no@:>@
1791 --enable-xpath enable support for XPath @<:@default=yes@:>@
1792 --enable-xslt enable support for XSLT @<:@default=yes@:>@
1793 --enable-geolocation enable support for geolocation @<:@default=no@:>@
1794 --enable-client-based-geolocation
1795 enable support for client-based geolocation
1797 --enable-mathml enable support for MathML @<:@default=no@:>@
1798 --enable-svg enable support for SVG @<:@default=yes@:>@
1799 --enable-wcss enable support for WCSS @<:@default=no@:>@
1800 --enable-shared-workers enable support for SharedWorkers @<:@default=yes@:>@
1801 --enable-workers enable support for Web Workers @<:@default=yes@:>@
1802 --enable-directory-upload
1803 enable support for directory upload @<:@default=no@:>@
1804 --enable-file-system enable support for HTML5 FileSystem API @<:@default=no@:>@
1805 --enable-quota enable support for Quota API @<:@default=no@:>@
1806 --enable-filters enable support for filters (experimental)
1808 --enable-svg-fonts enable support for SVG fonts (experimental)
1810 --enable-web-sockets enable support for Web Sockets @<:@default=yes@:>@
1811 --enable-web-audio enable support for Web Audio @<:@default=no@:>@
1812 --enable-web-timing enable support for Web Timing @<:@default=no@:>@
1813 --enable-blob enable support for Blob @<:@default=yes@:>@
1814 --enable-fast-mobile-scrolling
1815 enable support for Fast Mobile Scrolling
1817 --enable-coverage enable code coverage support @<:@default=no@:>@
1818 --enable-fast-malloc enable optimized memory allocator default=yes,
1819 default=no for debug builds
1820 --enable-debug-symbols enable debug symbols default=no, default=yes for
1822 --enable-debug-features enable debug features default=no, default=yes for
1824 --enable-jit Enable JIT compilation default=yes
1825 --enable-opcode-stats Enable Opcode statistics (default: disabled)
1826 --enable-link-prefetch Enable Link prefetch support (default: disabled)
1827 --enable-introspection Enable GObject introspection (default: disabled)
1828 --enable-animation-api enable support for Animation API (experimental)
1830 --enable-touch-icon-loading
1831 enable support for loading touch icons @<:@default=no@:>@
1832 --enable-register-protocol-handler
1833 enable support for Register Protocol Handler
1834 (experimental) @<:@default=no@:>@
1835 --enable-device-orientation
1836 enable support for DeviceOrientation (experimental
1837 and incomplete) @<:@default=no@:>@
1838 --enable-webkit2 build webkit2 @<:@default=no@:>@
1839 --enable-plugin-process build plugin process for WebKit2 @<:@default=yes@:>@
1842 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1843 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1844 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
1846 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1847 --with-sysroot=DIR Search for dependent libraries within DIR
1848 (or the compiler's sysroot if not specified).
1849 --with-gtk=2.0|3.0 the GTK+ version to use (default: 3.0)
1850 --with-target=@<:@x11/win32/quartz/directfb@:>@
1851 Select webkit target @<:@default=x11@:>@
1852 --with-hildon Use Hildon UI extensions @<:@default=no@:>@
1853 --with-unicode-backend=@<:@icu/glib@:>@
1854 Select Unicode backend (WARNING: the glib-based
1855 backend is slow, and incomplete) @<:@default=icu@:>@
1856 --with-font-backend=@<:@freetype/pango@:>@
1857 Select font backend @<:@default=freetype@:>@
1859 Some influential environment variables:
1860 CC C compiler command
1861 CFLAGS C compiler flags
1862 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1863 nonstandard directory <lib dir>
1864 LIBS libraries to pass to the linker, e.g. -l<library>
1865 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1866 you have headers in a nonstandard directory <include dir>
1867 CXX C++ compiler command
1868 CXXFLAGS C++ compiler flags
1870 CXXCPP C++ preprocessor
1871 PKG_CONFIG path to pkg-config utility
1873 directories to add to pkg-config's search path
1875 path overriding pkg-config's built-in search path
1877 C compiler flags for HILDON, overriding pkg-config
1878 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1880 C compiler flags for UNICODE, overriding pkg-config
1882 linker flags for UNICODE, overriding pkg-config
1883 ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
1884 ZLIB_LIBS linker flags for ZLIB, overriding pkg-config
1886 C compiler flags for LIBXML, overriding pkg-config
1887 LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1889 C compiler flags for PANGO, overriding pkg-config
1890 PANGO_LIBS linker flags for PANGO, overriding pkg-config
1892 C compiler flags for ENCHANT, overriding pkg-config
1894 linker flags for ENCHANT, overriding pkg-config
1895 GAIL_CFLAGS C compiler flags for GAIL, overriding pkg-config
1896 GAIL_LIBS linker flags for GAIL, overriding pkg-config
1898 C compiler flags for CAIRO, overriding pkg-config
1899 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1900 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1901 GTK_LIBS linker flags for GTK, overriding pkg-config
1902 XT_CFLAGS C compiler flags for XT, overriding pkg-config
1903 XT_LIBS linker flags for XT, overriding pkg-config
1904 INTROSPECTION_CFLAGS
1905 C compiler flags for INTROSPECTION, overriding pkg-config
1907 linker flags for INTROSPECTION, overriding pkg-config
1909 C compiler flags for LIBSOUP, overriding pkg-config
1911 linker flags for LIBSOUP, overriding pkg-config
1913 C compiler flags for FREETYPE, overriding pkg-config
1915 linker flags for FREETYPE, overriding pkg-config
1917 C compiler flags for SQLITE3, overriding pkg-config
1919 linker flags for SQLITE3, overriding pkg-config
1921 C compiler flags for LIBXSLT, overriding pkg-config
1923 linker flags for LIBXSLT, overriding pkg-config
1925 C compiler flags for GEOCLUE, overriding pkg-config
1927 linker flags for GEOCLUE, overriding pkg-config
1928 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1929 GTK2_LIBS linker flags for GTK2, overriding pkg-config
1931 Use these variables to override the choices made by `configure' or to help
1932 it to find libraries and programs with nonstandard names/locations.
1934 Report bugs to <http://bugs.webkit.org/>.
1939 if test "$ac_init_help" = "recursive"; then
1940 # If there are subdirs, report their specific --help.
1941 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1942 test -d "$ac_dir" ||
1943 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1948 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1950 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1951 # A ".." for each directory in $ac_dir_suffix.
1952 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1953 case $ac_top_builddir_sub in
1954 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1955 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1958 ac_abs_top_builddir=$ac_pwd
1959 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1960 # for backward compatibility:
1961 ac_top_builddir=$ac_top_build_prefix
1964 .) # We are building in place.
1966 ac_top_srcdir=$ac_top_builddir_sub
1967 ac_abs_top_srcdir=$ac_pwd ;;
1968 [\\/]* | ?:[\\/]* ) # Absolute name.
1969 ac_srcdir=$srcdir$ac_dir_suffix;
1970 ac_top_srcdir=$srcdir
1971 ac_abs_top_srcdir=$srcdir ;;
1973 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1974 ac_top_srcdir=$ac_top_build_prefix$srcdir
1975 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1977 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1979 cd "$ac_dir" || { ac_status=$?; continue; }
1980 # Check for guested configure.
1981 if test -f "$ac_srcdir/configure.gnu"; then
1983 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1984 elif test -f "$ac_srcdir/configure"; then
1986 $SHELL "$ac_srcdir/configure" --help=recursive
1988 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1990 cd "$ac_pwd" || { ac_status=$?; break; }
1994 test -n "$ac_init_help" && exit $ac_status
1995 if $ac_init_version; then
1997 WebKit configure 1.6.1
1998 generated by GNU Autoconf 2.68
2000 Copyright (C) 2010 Free Software Foundation, Inc.
2001 This configure script is free software; the Free Software Foundation
2002 gives unlimited permission to copy, distribute and modify it.
2007 ## ------------------------ ##
2008 ## Autoconf initialization. ##
2009 ## ------------------------ ##
2011 @%:@ ac_fn_c_try_compile LINENO
2012 @%:@ --------------------------
2013 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
2014 ac_fn_c_try_compile ()
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 rm -f conftest.$ac_objext
2018 if { { ac_try="$ac_compile"
2020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2021 *) ac_try_echo=$ac_try;;
2023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2024 $as_echo "$ac_try_echo"; } >&5
2025 (eval "$ac_compile") 2>conftest.err
2027 if test -s conftest.err; then
2028 grep -v '^ *+' conftest.err >conftest.er1
2029 cat conftest.er1 >&5
2030 mv -f conftest.er1 conftest.err
2032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033 test $ac_status = 0; } && {
2034 test -z "$ac_c_werror_flag" ||
2035 test ! -s conftest.err
2036 } && test -s conftest.$ac_objext; then :
2039 $as_echo "$as_me: failed program was:" >&5
2040 sed 's/^/| /' conftest.$ac_ext >&5
2044 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2045 as_fn_set_status $ac_retval
2047 } @%:@ ac_fn_c_try_compile
2049 @%:@ ac_fn_cxx_try_compile LINENO
2050 @%:@ ----------------------------
2051 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
2052 ac_fn_cxx_try_compile ()
2054 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2055 rm -f conftest.$ac_objext
2056 if { { ac_try="$ac_compile"
2058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2059 *) ac_try_echo=$ac_try;;
2061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2062 $as_echo "$ac_try_echo"; } >&5
2063 (eval "$ac_compile") 2>conftest.err
2065 if test -s conftest.err; then
2066 grep -v '^ *+' conftest.err >conftest.er1
2067 cat conftest.er1 >&5
2068 mv -f conftest.er1 conftest.err
2070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2071 test $ac_status = 0; } && {
2072 test -z "$ac_cxx_werror_flag" ||
2073 test ! -s conftest.err
2074 } && test -s conftest.$ac_objext; then :
2077 $as_echo "$as_me: failed program was:" >&5
2078 sed 's/^/| /' conftest.$ac_ext >&5
2082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2083 as_fn_set_status $ac_retval
2085 } @%:@ ac_fn_cxx_try_compile
2087 @%:@ ac_fn_c_try_cpp LINENO
2088 @%:@ ----------------------
2089 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093 if { { ac_try="$ac_cpp conftest.$ac_ext"
2095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2096 *) ac_try_echo=$ac_try;;
2098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2099 $as_echo "$ac_try_echo"; } >&5
2100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2102 if test -s conftest.err; then
2103 grep -v '^ *+' conftest.err >conftest.er1
2104 cat conftest.er1 >&5
2105 mv -f conftest.er1 conftest.err
2107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2108 test $ac_status = 0; } > conftest.i && {
2109 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2110 test ! -s conftest.err
2114 $as_echo "$as_me: failed program was:" >&5
2115 sed 's/^/| /' conftest.$ac_ext >&5
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120 as_fn_set_status $ac_retval
2122 } @%:@ ac_fn_c_try_cpp
2124 @%:@ ac_fn_c_try_run LINENO
2125 @%:@ ----------------------
2126 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2127 @%:@ that executables *can* be run.
2130 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2131 if { { ac_try="$ac_link"
2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138 (eval "$ac_link") 2>&5
2140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2141 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2142 { { case "(($ac_try" in
2143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2144 *) ac_try_echo=$ac_try;;
2146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2147 $as_echo "$ac_try_echo"; } >&5
2148 (eval "$ac_try") 2>&5
2150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2151 test $ac_status = 0; }; }; then :
2154 $as_echo "$as_me: program exited with status $ac_status" >&5
2155 $as_echo "$as_me: failed program was:" >&5
2156 sed 's/^/| /' conftest.$ac_ext >&5
2158 ac_retval=$ac_status
2160 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2162 as_fn_set_status $ac_retval
2164 } @%:@ ac_fn_c_try_run
2166 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2167 @%:@ -------------------------------------------
2168 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2169 @%:@ variable VAR accordingly.
2170 ac_fn_c_check_type ()
2172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2174 $as_echo_n "checking for $2... " >&6; }
2175 if eval \${$3+:} false; then :
2176 $as_echo_n "(cached) " >&6
2179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h. */
2191 if ac_fn_c_try_compile "$LINENO"; then :
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193 /* end confdefs.h. */
2204 if ac_fn_c_try_compile "$LINENO"; then :
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2215 $as_echo "$ac_res" >&6; }
2216 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2218 } @%:@ ac_fn_c_check_type
2220 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2221 @%:@ -------------------------------------------------------
2222 @%:@ Tests whether HEADER exists and can be compiled using the include files in
2223 @%:@ INCLUDES, setting the cache variable VAR accordingly.
2224 ac_fn_c_check_header_compile ()
2226 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2228 $as_echo_n "checking for $2... " >&6; }
2229 if eval \${$3+:} false; then :
2230 $as_echo_n "(cached) " >&6
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2237 if ac_fn_c_try_compile "$LINENO"; then :
2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2246 $as_echo "$ac_res" >&6; }
2247 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2249 } @%:@ ac_fn_c_check_header_compile
2251 @%:@ ac_fn_c_try_link LINENO
2252 @%:@ -----------------------
2253 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2256 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2257 rm -f conftest.$ac_objext conftest$ac_exeext
2258 if { { ac_try="$ac_link"
2260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2261 *) ac_try_echo=$ac_try;;
2263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2264 $as_echo "$ac_try_echo"; } >&5
2265 (eval "$ac_link") 2>conftest.err
2267 if test -s conftest.err; then
2268 grep -v '^ *+' conftest.err >conftest.er1
2269 cat conftest.er1 >&5
2270 mv -f conftest.er1 conftest.err
2272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2273 test $ac_status = 0; } && {
2274 test -z "$ac_c_werror_flag" ||
2275 test ! -s conftest.err
2276 } && test -s conftest$ac_exeext && {
2277 test "$cross_compiling" = yes ||
2278 $as_test_x conftest$ac_exeext
2282 $as_echo "$as_me: failed program was:" >&5
2283 sed 's/^/| /' conftest.$ac_ext >&5
2287 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2288 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2289 # interfere with the next link command; also delete a directory that is
2290 # left behind by Apple's compiler. We do this before executing the actions.
2291 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2292 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2293 as_fn_set_status $ac_retval
2295 } @%:@ ac_fn_c_try_link
2297 @%:@ ac_fn_c_check_func LINENO FUNC VAR
2298 @%:@ ----------------------------------
2299 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2300 ac_fn_c_check_func ()
2302 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2304 $as_echo_n "checking for $2... " >&6; }
2305 if eval \${$3+:} false; then :
2306 $as_echo_n "(cached) " >&6
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2310 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2312 #define $2 innocuous_$2
2314 /* System header to define __stub macros and hopefully few prototypes,
2315 which can conflict with char $2 (); below.
2316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2317 <limits.h> exists even on freestanding compilers. */
2320 # include <limits.h>
2322 # include <assert.h>
2327 /* Override any GCC internal prototype to avoid an error.
2328 Use char because int might match the return type of a GCC
2329 builtin and then its argument prototype would still apply. */
2334 /* The GNU C library defines this for functions which it implements
2335 to always fail with ENOSYS. Some functions are actually named
2336 something starting with __ and the normal name is an alias. */
2337 #if defined __stub_$2 || defined __stub___$2
2349 if ac_fn_c_try_link "$LINENO"; then :
2354 rm -f core conftest.err conftest.$ac_objext \
2355 conftest$ac_exeext conftest.$ac_ext
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2359 $as_echo "$ac_res" >&6; }
2360 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2362 } @%:@ ac_fn_c_check_func
2364 @%:@ ac_fn_cxx_try_cpp LINENO
2365 @%:@ ------------------------
2366 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2367 ac_fn_cxx_try_cpp ()
2369 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2370 if { { ac_try="$ac_cpp conftest.$ac_ext"
2372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2379 if test -s conftest.err; then
2380 grep -v '^ *+' conftest.err >conftest.er1
2381 cat conftest.er1 >&5
2382 mv -f conftest.er1 conftest.err
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; } > conftest.i && {
2386 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2387 test ! -s conftest.err
2391 $as_echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2396 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2397 as_fn_set_status $ac_retval
2399 } @%:@ ac_fn_cxx_try_cpp
2401 @%:@ ac_fn_cxx_try_link LINENO
2402 @%:@ -------------------------
2403 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2404 ac_fn_cxx_try_link ()
2406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2407 rm -f conftest.$ac_objext conftest$ac_exeext
2408 if { { ac_try="$ac_link"
2410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2411 *) ac_try_echo=$ac_try;;
2413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2414 $as_echo "$ac_try_echo"; } >&5
2415 (eval "$ac_link") 2>conftest.err
2417 if test -s conftest.err; then
2418 grep -v '^ *+' conftest.err >conftest.er1
2419 cat conftest.er1 >&5
2420 mv -f conftest.er1 conftest.err
2422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2423 test $ac_status = 0; } && {
2424 test -z "$ac_cxx_werror_flag" ||
2425 test ! -s conftest.err
2426 } && test -s conftest$ac_exeext && {
2427 test "$cross_compiling" = yes ||
2428 $as_test_x conftest$ac_exeext
2432 $as_echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2437 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2438 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2439 # interfere with the next link command; also delete a directory that is
2440 # left behind by Apple's compiler. We do this before executing the actions.
2441 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2443 as_fn_set_status $ac_retval
2445 } @%:@ ac_fn_cxx_try_link
2447 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2448 @%:@ -------------------------------------------------------
2449 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2450 @%:@ the include files in INCLUDES and setting the cache variable VAR
2452 ac_fn_c_check_header_mongrel ()
2454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2455 if eval \${$3+:} false; then :
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2457 $as_echo_n "checking for $2... " >&6; }
2458 if eval \${$3+:} false; then :
2459 $as_echo_n "(cached) " >&6
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2463 $as_echo "$ac_res" >&6; }
2465 # Is the header compilable?
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2467 $as_echo_n "checking $2 usability... " >&6; }
2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474 ac_header_compiler=yes
2476 ac_header_compiler=no
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2480 $as_echo "$ac_header_compiler" >&6; }
2482 # Is the header present?
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2484 $as_echo_n "checking $2 presence... " >&6; }
2485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2489 if ac_fn_c_try_cpp "$LINENO"; then :
2490 ac_header_preproc=yes
2492 ac_header_preproc=no
2494 rm -f conftest.err conftest.i conftest.$ac_ext
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2496 $as_echo "$ac_header_preproc" >&6; }
2498 # So? What about this header?
2499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2502 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2504 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2508 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2510 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2512 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2514 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2516 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2517 ( $as_echo "## -------------------------------------- ##
2518 ## Report this to http://bugs.webkit.org/ ##
2519 ## -------------------------------------- ##"
2520 ) | sed "s/^/$as_me: WARNING: /" >&2
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if eval \${$3+:} false; then :
2526 $as_echo_n "(cached) " >&6
2528 eval "$3=\$ac_header_compiler"
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2532 $as_echo "$ac_res" >&6; }
2534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2536 } @%:@ ac_fn_c_check_header_mongrel
2537 cat >config.log <<_ACEOF
2538 This file contains any messages produced by compilers while
2539 running configure, to aid debugging if configure makes a mistake.
2541 It was created by WebKit $as_me 1.6.1, which was
2542 generated by GNU Autoconf 2.68. Invocation command line was
2554 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2555 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2556 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2557 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2558 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2560 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2561 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2563 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2564 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2565 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2566 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2567 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2568 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2569 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir=.
2578 $as_echo "PATH: $as_dir"
2594 # Keep a trace of the command line.
2595 # Strip out --no-create and --no-recursion so they do not pile up.
2596 # Strip out --silent because we don't want to record it for future runs.
2597 # Also quote any args containing shell meta-characters.
2598 # Make two passes to allow for proper duplicate-argument suppression.
2602 ac_must_keep_next=false
2608 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2609 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2610 | -silent | --silent | --silen | --sile | --sil)
2613 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2616 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2618 as_fn_append ac_configure_args1 " '$ac_arg'"
2619 if test $ac_must_keep_next = true; then
2620 ac_must_keep_next=false # Got value, back to normal.
2623 *=* | --config-cache | -C | -disable-* | --disable-* \
2624 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2625 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2626 | -with-* | --with-* | -without-* | --without-* | --x)
2627 case "$ac_configure_args0 " in
2628 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2631 -* ) ac_must_keep_next=true ;;
2634 as_fn_append ac_configure_args " '$ac_arg'"
2639 { ac_configure_args0=; unset ac_configure_args0;}
2640 { ac_configure_args1=; unset ac_configure_args1;}
2642 # When interrupted or exit'd, cleanup temporary files, and complete
2643 # config.log. We remove comments because anyway the quotes in there
2644 # would cause problems or look ugly.
2645 # WARNING: Use '\'' to represent an apostrophe within the trap.
2646 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2647 trap 'exit_status=$?
2648 # Save into config.log some information that might help in debugging.
2652 $as_echo "## ---------------- ##
2653 ## Cache variables. ##
2654 ## ---------------- ##"
2656 # The following way of writing the cache mishandles newlines in values,
2658 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2659 eval ac_val=\$$ac_var
2663 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2664 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2667 _ | IFS | as_nl) ;; #(
2668 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2669 *) { eval $ac_var=; unset $ac_var;} ;;
2674 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2675 *${as_nl}ac_space=\ *)
2677 "s/'\''/'\''\\\\'\'''\''/g;
2678 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2681 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2688 $as_echo "## ----------------- ##
2689 ## Output variables. ##
2690 ## ----------------- ##"
2692 for ac_var in $ac_subst_vars
2694 eval ac_val=\$$ac_var
2696 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2698 $as_echo "$ac_var='\''$ac_val'\''"
2702 if test -n "$ac_subst_files"; then
2703 $as_echo "## ------------------- ##
2704 ## File substitutions. ##
2705 ## ------------------- ##"
2707 for ac_var in $ac_subst_files
2709 eval ac_val=\$$ac_var
2711 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2713 $as_echo "$ac_var='\''$ac_val'\''"
2718 if test -s confdefs.h; then
2719 $as_echo "## ----------- ##
2726 test "$ac_signal" != 0 &&
2727 $as_echo "$as_me: caught signal $ac_signal"
2728 $as_echo "$as_me: exit $exit_status"
2730 rm -f core *.core core.conftest.* &&
2731 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2734 for ac_signal in 1 2 13 15; do
2735 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2739 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2740 rm -f -r conftest* confdefs.h
2742 $as_echo "/* confdefs.h */" > confdefs.h
2744 # Predefined preprocessor variables.
2746 cat >>confdefs.h <<_ACEOF
2747 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2750 cat >>confdefs.h <<_ACEOF
2751 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2754 cat >>confdefs.h <<_ACEOF
2755 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2758 cat >>confdefs.h <<_ACEOF
2759 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2762 cat >>confdefs.h <<_ACEOF
2763 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2766 cat >>confdefs.h <<_ACEOF
2767 @%:@define PACKAGE_URL "$PACKAGE_URL"
2771 # Let the site file select an alternate cache file if it wants to.
2772 # Prefer an explicitly selected file to automatically selected ones.
2775 if test -n "$CONFIG_SITE"; then
2776 # We do not want a PATH search for config.site.
2777 case $CONFIG_SITE in @%:@((
2778 -*) ac_site_file1=./$CONFIG_SITE;;
2779 */*) ac_site_file1=$CONFIG_SITE;;
2780 *) ac_site_file1=./$CONFIG_SITE;;
2782 elif test "x$prefix" != xNONE; then
2783 ac_site_file1=$prefix/share/config.site
2784 ac_site_file2=$prefix/etc/config.site
2786 ac_site_file1=$ac_default_prefix/share/config.site
2787 ac_site_file2=$ac_default_prefix/etc/config.site
2789 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2791 test "x$ac_site_file" = xNONE && continue
2792 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2794 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2795 sed 's/^/| /' "$ac_site_file" >&5
2797 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799 as_fn_error $? "failed to load site script $ac_site_file
2800 See \`config.log' for more details" "$LINENO" 5; }
2804 if test -r "$cache_file"; then
2805 # Some versions of bash will fail to source /dev/null (special files
2806 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2807 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2809 $as_echo "$as_me: loading cache $cache_file" >&6;}
2811 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2812 *) . "./$cache_file";;
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2817 $as_echo "$as_me: creating cache $cache_file" >&6;}
2821 # Check that the precious variables saved in the cache have kept the same
2823 ac_cache_corrupted=false
2824 for ac_var in $ac_precious_vars; do
2825 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2826 eval ac_new_set=\$ac_env_${ac_var}_set
2827 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2828 eval ac_new_val=\$ac_env_${ac_var}_value
2829 case $ac_old_set,$ac_new_set in
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2832 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2833 ac_cache_corrupted=: ;;
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2836 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2837 ac_cache_corrupted=: ;;
2840 if test "x$ac_old_val" != "x$ac_new_val"; then
2841 # differences in whitespace do not lead to failure.
2842 ac_old_val_w=`echo x $ac_old_val`
2843 ac_new_val_w=`echo x $ac_new_val`
2844 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2846 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2847 ac_cache_corrupted=:
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2850 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2851 eval $ac_var=\$ac_old_val
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2854 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2856 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2859 # Pass precious variables to config.status.
2860 if test "$ac_new_set" = set; then
2862 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2863 *) ac_arg=$ac_var=$ac_new_val ;;
2865 case " $ac_configure_args " in
2866 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2867 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2871 if $ac_cache_corrupted; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2875 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2876 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2878 ## -------------------- ##
2879 ## Main body of script. ##
2880 ## -------------------- ##
2883 ac_cpp='$CPP $CPPFLAGS'
2884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892 for ac_dir in Source/autotools "$srcdir"/Source/autotools; do
2893 if test -f "$ac_dir/install-sh"; then
2895 ac_install_sh="$ac_aux_dir/install-sh -c"
2897 elif test -f "$ac_dir/install.sh"; then
2899 ac_install_sh="$ac_aux_dir/install.sh -c"
2901 elif test -f "$ac_dir/shtool"; then
2903 ac_install_sh="$ac_aux_dir/shtool install -c"
2907 if test -z "$ac_aux_dir"; then
2908 as_fn_error $? "cannot find install-sh, install.sh, or shtool in Source/autotools \"$srcdir\"/Source/autotools" "$LINENO" 5
2911 # These three variables are undocumented and unsupported,
2912 # and are intended to be withdrawn in a future Autoconf release.
2913 # They can cause serious problems if a builder's source tree is in a directory
2914 # whose full name contains unusual characters.
2915 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2916 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2917 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2920 ACLOCAL_AMFLAGS="-I Source/autotools"
2923 ac_config_headers="$ac_config_headers autotoolsconfig.h"
2925 # Make sure we can run config.sub.
2926 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2927 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2930 $as_echo_n "checking build system type... " >&6; }
2931 if ${ac_cv_build+:} false; then :
2932 $as_echo_n "(cached) " >&6
2934 ac_build_alias=$build_alias
2935 test "x$ac_build_alias" = x &&
2936 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2937 test "x$ac_build_alias" = x &&
2938 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2939 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2940 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2944 $as_echo "$ac_cv_build" >&6; }
2945 case $ac_cv_build in
2947 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2950 ac_save_IFS=$IFS; IFS='-'
2956 # Remember, the first character of IFS is used to create $*,
2957 # except with old shells:
2960 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2964 $as_echo_n "checking host system type... " >&6; }
2965 if ${ac_cv_host+:} false; then :
2966 $as_echo_n "(cached) " >&6
2968 if test "x$host_alias" = x; then
2969 ac_cv_host=$ac_cv_build
2971 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2972 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2977 $as_echo "$ac_cv_host" >&6; }
2980 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2983 ac_save_IFS=$IFS; IFS='-'
2989 # Remember, the first character of IFS is used to create $*,
2990 # except with old shells:
2993 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2997 WEBKIT_MAJOR_VERSION=1
2998 WEBKIT_MINOR_VERSION=6
2999 WEBKIT_MICRO_VERSION=1
3000 WEBKIT_USER_AGENT_MAJOR_VERSION=535
3001 WEBKIT_USER_AGENT_MINOR_VERSION=4
3010 LIBWEBKITGTK_VERSION=11:0:11
3013 am__api_version='1.11'
3015 # Find a good install program. We prefer a C program (faster),
3016 # so one script is as good as another. But avoid the broken or
3017 # incompatible versions:
3018 # SysV /etc/install, /usr/sbin/install
3019 # SunOS /usr/etc/install
3020 # IRIX /sbin/install
3022 # AmigaOS /C/install, which installs bootblocks on floppy discs
3023 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3024 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3025 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3026 # OS/2's system install, which has a completely different semantic
3027 # ./install, which can be erroneously created by make from ./install.sh.
3028 # Reject install programs that cannot install multiple files.
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3030 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3031 if test -z "$INSTALL"; then
3032 if ${ac_cv_path_install+:} false; then :
3033 $as_echo_n "(cached) " >&6
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir=.
3040 # Account for people who put trailing slashes in PATH elements.
3041 case $as_dir/ in @%:@((
3042 ./ | .// | /[cC]/* | \
3043 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3044 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3047 # OSF1 and SCO ODT 3.0 have their own names for install.
3048 # Don't use installbsd from OSF since it installs stuff as root
3050 for ac_prog in ginstall scoinst install; do
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3053 if test $ac_prog = install &&
3054 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3055 # AIX install. It has an incompatible calling convention.
3057 elif test $ac_prog = install &&
3058 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3059 # program-specific install script used by HP pwplus--don't use.
3062 rm -rf conftest.one conftest.two conftest.dir
3063 echo one > conftest.one
3064 echo two > conftest.two
3066 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3067 test -s conftest.one && test -s conftest.two &&
3068 test -s conftest.dir/conftest.one &&
3069 test -s conftest.dir/conftest.two
3071 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3084 rm -rf conftest.one conftest.two conftest.dir
3087 if test "${ac_cv_path_install+set}" = set; then
3088 INSTALL=$ac_cv_path_install
3090 # As a last resort, use the slow shell script. Don't cache a
3091 # value for INSTALL within a source directory, because that will
3092 # break other packages using the cache if that directory is
3093 # removed, or if the value is a relative name.
3094 INSTALL=$ac_install_sh
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3098 $as_echo "$INSTALL" >&6; }
3100 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3101 # It thinks the first close brace ends the variable substitution.
3102 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3104 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3106 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3109 $as_echo_n "checking whether build environment is sane... " >&6; }
3112 echo timestamp > conftest.file
3113 # Reject unsafe characters in $srcdir or the absolute working directory
3114 # name. Accept space and tab only in the latter.
3118 *[\\\"\#\$\&\'\`$am_lf]*)
3119 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3122 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3123 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3126 # Do `set' in a subshell so we don't clobber the current shell's
3127 # arguments. Must try -L first in case configure is actually a
3128 # symlink; some systems play weird games with the mod time of symlinks
3129 # (eg FreeBSD returns the mod time of the symlink's containing
3132 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3133 if test "$*" = "X"; then
3135 set X `ls -t "$srcdir/configure" conftest.file`
3138 if test "$*" != "X $srcdir/configure conftest.file" \
3139 && test "$*" != "X conftest.file $srcdir/configure"; then
3141 # If neither matched, then we have a broken ls. This can happen
3142 # if, for instance, CONFIG_SHELL is bash and it inherits a
3143 # broken ls alias from the environment. This has actually
3144 # happened. Such a system could not be considered "sane".
3145 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3146 alias in your environment" "$LINENO" 5
3149 test "$2" = conftest.file
3155 as_fn_error $? "newly created file is older than distributed files!
3156 Check your system clock" "$LINENO" 5
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3159 $as_echo "yes" >&6; }
3160 test "$program_prefix" != NONE &&
3161 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3162 # Use a double $ so make ignores it.
3163 test "$program_suffix" != NONE &&
3164 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3165 # Double any \ or $.
3166 # By default was `s,x,x', remove it if useless.
3167 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3168 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3170 # expand $ac_aux_dir to an absolute path
3171 am_aux_dir=`cd $ac_aux_dir && pwd`
3173 if test x"${MISSING+set}" != xset; then
3176 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3178 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3181 # Use eval to expand $SHELL
3182 if eval "$MISSING --run true"; then
3183 am_missing_run="$MISSING --run "
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3187 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3190 if test x"${install_sh}" != xset; then
3193 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3195 install_sh="\${SHELL} $am_aux_dir/install-sh"
3199 # Installed binaries are usually stripped using `strip' when the user
3200 # run `make install-strip'. However `strip' might not be the right
3201 # tool to use in cross-compilation environments, therefore Automake
3202 # will honor the `STRIP' environment variable to overrule this program.
3203 if test "$cross_compiling" != no; then
3204 if test -n "$ac_tool_prefix"; then
3205 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3206 set dummy ${ac_tool_prefix}strip; ac_word=$2
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3208 $as_echo_n "checking for $ac_word... " >&6; }
3209 if ${ac_cv_prog_STRIP+:} false; then :
3210 $as_echo_n "(cached) " >&6
3212 if test -n "$STRIP"; then
3213 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir=.
3220 for ac_exec_ext in '' $ac_executable_extensions; do
3221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3222 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 STRIP=$ac_cv_prog_STRIP
3233 if test -n "$STRIP"; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3235 $as_echo "$STRIP" >&6; }
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3243 if test -z "$ac_cv_prog_STRIP"; then
3245 # Extract the first word of "strip", so it can be a program name with args.
3246 set dummy strip; ac_word=$2
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248 $as_echo_n "checking for $ac_word... " >&6; }
3249 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3250 $as_echo_n "(cached) " >&6
3252 if test -n "$ac_ct_STRIP"; then
3253 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 test -z "$as_dir" && as_dir=.
3260 for ac_exec_ext in '' $ac_executable_extensions; do
3261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3262 ac_cv_prog_ac_ct_STRIP="strip"
3263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3273 if test -n "$ac_ct_STRIP"; then
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3275 $as_echo "$ac_ct_STRIP" >&6; }
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 $as_echo "no" >&6; }
3281 if test "x$ac_ct_STRIP" = x; then
3284 case $cross_compiling:$ac_tool_warned in
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3288 ac_tool_warned=yes ;;
3293 STRIP="$ac_cv_prog_STRIP"
3297 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3300 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3301 if test -z "$MKDIR_P"; then
3302 if ${ac_cv_path_mkdir+:} false; then :
3303 $as_echo_n "(cached) " >&6
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3309 test -z "$as_dir" && as_dir=.
3310 for ac_prog in mkdir gmkdir; do
3311 for ac_exec_ext in '' $ac_executable_extensions; do
3312 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3313 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3314 'mkdir (GNU coreutils) '* | \
3315 'mkdir (coreutils) '* | \
3316 'mkdir (fileutils) '4.1*)
3317 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3327 test -d ./--version && rmdir ./--version
3328 if test "${ac_cv_path_mkdir+set}" = set; then
3329 MKDIR_P="$ac_cv_path_mkdir -p"
3331 # As a last resort, use the slow shell script. Don't cache a
3332 # value for MKDIR_P within a source directory, because that will
3333 # break other packages using the cache if that directory is
3334 # removed, or if the value is a relative name.
3335 MKDIR_P="$ac_install_sh -d"
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3339 $as_echo "$MKDIR_P" >&6; }
3343 [\\/$]* | ?:[\\/]*) ;;
3344 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3347 for ac_prog in gawk mawk nawk awk
3349 # Extract the first word of "$ac_prog", so it can be a program name with args.
3350 set dummy $ac_prog; ac_word=$2
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352 $as_echo_n "checking for $ac_word... " >&6; }
3353 if ${ac_cv_prog_AWK+:} false; then :
3354 $as_echo_n "(cached) " >&6
3356 if test -n "$AWK"; then
3357 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 test -z "$as_dir" && as_dir=.
3364 for ac_exec_ext in '' $ac_executable_extensions; do
3365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3366 ac_cv_prog_AWK="$ac_prog"
3367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3377 if test -n "$AWK"; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3379 $as_echo "$AWK" >&6; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382 $as_echo "no" >&6; }
3386 test -n "$AWK" && break
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3390 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3392 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3393 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3394 $as_echo_n "(cached) " >&6
3396 cat >conftest.make <<\_ACEOF
3399 @echo '@@@%%%=$(MAKE)=@@@%%%'
3401 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3402 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3404 eval ac_cv_prog_make_${ac_make}_set=yes;;
3406 eval ac_cv_prog_make_${ac_make}_set=no;;
3410 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3412 $as_echo "yes" >&6; }
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3417 SET_MAKE="MAKE=${MAKE-make}"
3420 rm -rf .tst 2>/dev/null
3421 mkdir .tst 2>/dev/null
3422 if test -d .tst; then
3427 rmdir .tst 2>/dev/null
3429 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3430 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3431 # is not polluted with repeated "-I."
3432 am__isrc=' -I$(srcdir)'
3433 # test to see if srcdir already configured
3434 if test -f $srcdir/config.status; then
3435 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3439 # test whether we have cygpath
3440 if test -z "$CYGPATH_W"; then
3441 if (cygpath --version) >/dev/null 2>/dev/null; then
3442 CYGPATH_W='cygpath -w'
3449 # Define the identity of the package.
3454 cat >>confdefs.h <<_ACEOF
3455 @%:@define PACKAGE "$PACKAGE"
3459 cat >>confdefs.h <<_ACEOF
3460 @%:@define VERSION "$VERSION"
3463 # Some tools Automake needs.
3465 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3468 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3471 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3474 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3477 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3479 # We need awk for the "check" target. The system "awk" is bad on
3481 # Always define AMTAR for backward compatibility. Yes, it's still used
3482 # in the wild :-( We should find a proper way to deprecate it ...
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3487 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3488 # Loop over all known methods to create a tar archive until one works.
3489 _am_tools='gnutar plaintar pax cpio none'
3490 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3491 # Do not fold the above two line into one, because Tru64 sh and
3492 # Solaris sh will not grok spaces in the rhs of `-'.
3493 for _am_tool in $_am_tools
3497 for _am_tar in tar gnutar gtar;
3499 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3500 ($_am_tar --version) >&5 2>&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); } && break
3505 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3506 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3507 am__untar="$_am_tar -xf -"
3510 # Must skip GNU tar: if it does not support --format= it doesn't create
3511 # ustar tarball either.
3512 (tar --version) >/dev/null 2>&1 && continue
3513 am__tar='tar chf - "$$tardir"'
3514 am__tar_='tar chf - "$tardir"'
3515 am__untar='tar xf -'
3518 am__tar='pax -L -x ustar -w "$$tardir"'
3519 am__tar_='pax -L -x ustar -w "$tardir"'
3523 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3524 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3525 am__untar='cpio -i -H ustar -d'
3534 # If the value was cached, stop now. We just wanted to have am__tar
3535 # and am__untar set.
3536 test -n "${am_cv_prog_tar_ustar}" && break
3538 # tar/untar a dummy directory, and stop if the command works
3541 echo GrepMe > conftest.dir/file
3542 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3543 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }
3548 if test -s conftest.tar; then
3549 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3550 ($am__untar <conftest.tar) >&5 2>&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); }
3554 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3559 if ${am_cv_prog_tar_ustar+:} false; then :
3560 $as_echo_n "(cached) " >&6
3562 am_cv_prog_tar_ustar=$_am_tool
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3566 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3573 # Use AM_SILENT_RULES if present
3574 @%:@ Check whether --enable-silent-rules was given.
3575 if test "${enable_silent_rules+set}" = set; then :
3576 enableval=$enable_silent_rules;
3579 case $enable_silent_rules in
3580 yes) AM_DEFAULT_VERBOSITY=0;;
3581 no) AM_DEFAULT_VERBOSITY=1;;
3582 *) AM_DEFAULT_VERBOSITY=0;;
3584 am_make=${MAKE-make}
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3586 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3587 if ${am_cv_make_support_nested_variables+:} false; then :
3588 $as_echo_n "(cached) " >&6
3590 if $as_echo 'TRUE=$(BAR$(V))
3596 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3597 am_cv_make_support_nested_variables=yes
3599 am_cv_make_support_nested_variables=no
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3603 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3604 if test $am_cv_make_support_nested_variables = yes; then
3606 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3608 AM_V=$AM_DEFAULT_VERBOSITY
3609 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3614 # host checking - inspired by the GTK+ configure.in
3615 # TODO: move these to webkit.m4?
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
3617 $as_echo_n "checking for native Win32... " >&6; }
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
3627 $as_echo "$os_win32" >&6; }
3642 gnu* | linux* | k*bsd*-gnu)
3650 # initialize webkit options
3651 # If CXXFLAGS and CFLAGS are unset, default to empty.
3652 # This is to tell automake not to include '-g' if CXXFLAGS is not set
3653 # For more info - http://www.gnu.org/software/automake/manual/autoconf.html#C_002b_002b-Compiler
3654 if test -z "$CXXFLAGS"; then
3657 if test -z "$CFLAGS"; then
3661 DEPDIR="${am__leading_dot}deps"
3663 ac_config_commands="$ac_config_commands depfiles"
3666 am_make=${MAKE-make}
3667 cat > confinc << 'END'
3669 @echo this is the am__doit target
3672 # If we don't find an include directive, just comment out the code.
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3674 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3678 # First try GNU make style include.
3679 echo "include confinc" > confmf
3680 # Ignore all kinds of additional output from `make'.
3681 case `$am_make -s -f confmf 2> /dev/null` in #(
3682 *the\ am__doit\ target*)
3688 # Now try BSD make style include.
3689 if test "$am__include" = "#"; then
3690 echo '.include "confinc"' > confmf
3691 case `$am_make -s -f confmf 2> /dev/null` in #(
3692 *the\ am__doit\ target*)
3693 am__include=.include
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3702 $as_echo "$_am_result" >&6; }
3703 rm -f confinc confmf
3705 @%:@ Check whether --enable-dependency-tracking was given.
3706 if test "${enable_dependency_tracking+set}" = set; then :
3707 enableval=$enable_dependency_tracking;
3710 if test "x$enable_dependency_tracking" != xno; then
3711 am_depcomp="$ac_aux_dir/depcomp"
3715 if test "x$enable_dependency_tracking" != xno; then
3725 ac_cpp='$CPP $CPPFLAGS'
3726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3729 if test -n "$ac_tool_prefix"; then
3730 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3731 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if ${ac_cv_prog_CC+:} false; then :
3735 $as_echo_n "(cached) " >&6
3737 if test -n "$CC"; then
3738 ac_cv_prog_CC="$CC" # Let the user override the test.
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3747 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 if test -n "$CC"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3760 $as_echo "$CC" >&6; }
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3768 if test -z "$ac_cv_prog_CC"; then
3770 # Extract the first word of "gcc", so it can be a program name with args.
3771 set dummy gcc; ac_word=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3775 $as_echo_n "(cached) " >&6
3777 if test -n "$ac_ct_CC"; then
3778 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 test -z "$as_dir" && as_dir=.
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3787 ac_cv_prog_ac_ct_CC="gcc"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3798 if test -n "$ac_ct_CC"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3800 $as_echo "$ac_ct_CC" >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3806 if test "x$ac_ct_CC" = x; then
3809 case $cross_compiling:$ac_tool_warned in
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3813 ac_tool_warned=yes ;;
3821 if test -z "$CC"; then
3822 if test -n "$ac_tool_prefix"; then
3823 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3824 set dummy ${ac_tool_prefix}cc; ac_word=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; }
3827 if ${ac_cv_prog_CC+:} false; then :
3828 $as_echo_n "(cached) " >&6
3830 if test -n "$CC"; then
3831 ac_cv_prog_CC="$CC" # Let the user override the test.
3833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 test -z "$as_dir" && as_dir=.
3838 for ac_exec_ext in '' $ac_executable_extensions; do
3839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3840 ac_cv_prog_CC="${ac_tool_prefix}cc"
3841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 if test -n "$CC"; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3853 $as_echo "$CC" >&6; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 $as_echo "no" >&6; }
3862 if test -z "$CC"; then
3863 # Extract the first word of "cc", so it can be a program name with args.
3864 set dummy cc; ac_word=$2
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3866 $as_echo_n "checking for $ac_word... " >&6; }
3867 if ${ac_cv_prog_CC+:} false; then :
3868 $as_echo_n "(cached) " >&6
3870 if test -n "$CC"; then
3871 ac_cv_prog_CC="$CC" # Let the user override the test.
3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878 test -z "$as_dir" && as_dir=.
3879 for ac_exec_ext in '' $ac_executable_extensions; do
3880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3881 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3882 ac_prog_rejected=yes
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 if test $ac_prog_rejected = yes; then
3894 # We found a bogon in the path, so make sure we never use it.
3895 set dummy $ac_cv_prog_CC
3897 if test $@%:@ != 0; then
3898 # We chose a different compiler from the bogus one.
3899 # However, it has the same basename, so the bogon will be chosen
3900 # first if we set CC to just the basename; use the full file name.
3902 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3908 if test -n "$CC"; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3910 $as_echo "$CC" >&6; }
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3918 if test -z "$CC"; then
3919 if test -n "$ac_tool_prefix"; then
3920 for ac_prog in cl.exe
3922 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3923 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925 $as_echo_n "checking for $ac_word... " >&6; }
3926 if ${ac_cv_prog_CC+:} false; then :
3927 $as_echo_n "(cached) " >&6
3929 if test -n "$CC"; then
3930 ac_cv_prog_CC="$CC" # Let the user override the test.
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir=.
3937 for ac_exec_ext in '' $ac_executable_extensions; do
3938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3939 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 if test -n "$CC"; then
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3952 $as_echo "$CC" >&6; }
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3959 test -n "$CC" && break
3962 if test -z "$CC"; then
3964 for ac_prog in cl.exe
3966 # Extract the first word of "$ac_prog", so it can be a program name with args.
3967 set dummy $ac_prog; ac_word=$2
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3969 $as_echo_n "checking for $ac_word... " >&6; }
3970 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3971 $as_echo_n "(cached) " >&6
3973 if test -n "$ac_ct_CC"; then
3974 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3980 test -z "$as_dir" && as_dir=.
3981 for ac_exec_ext in '' $ac_executable_extensions; do
3982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3983 ac_cv_prog_ac_ct_CC="$ac_prog"
3984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3994 if test -n "$ac_ct_CC"; then
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3996 $as_echo "$ac_ct_CC" >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 $as_echo "no" >&6; }
4003 test -n "$ac_ct_CC" && break
4006 if test "x$ac_ct_CC" = x; then
4009 case $cross_compiling:$ac_tool_warned in
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4013 ac_tool_warned=yes ;;
4022 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error $? "no acceptable C compiler found in \$PATH
4025 See \`config.log' for more details" "$LINENO" 5; }
4027 # Provide some information about the compiler.
4028 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4031 for ac_option in --version -v -V -qversion; do
4032 { { ac_try="$ac_compiler $ac_option >&5"
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4041 if test -s conftest.err; then
4043 ... rest of stderr output deleted ...
4044 10q' conftest.err >conftest.er1
4045 cat conftest.er1 >&5
4047 rm -f conftest.er1 conftest.err
4048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049 test $ac_status = 0; }
4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4063 ac_clean_files_save=$ac_clean_files
4064 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4065 # Try to create an executable without -o first, disregard a.out.
4066 # It will help us diagnose broken compilers, and finding out an intuition
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4069 $as_echo_n "checking whether the C compiler works... " >&6; }
4070 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4072 # The possible output files:
4073 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4076 for ac_file in $ac_files
4079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4080 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4085 if { { ac_try="$ac_link_default"
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_link_default") 2>&5
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }; then :
4096 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4097 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4098 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4099 # so that the user can short-circuit this test for compilers unknown to
4101 for ac_file in $ac_files ''
4103 test -f "$ac_file" || continue
4105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4108 # We found the default executable, but exeext='' is most
4112 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4114 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4116 # We set ac_cv_exeext here because the later test for it is not
4117 # safe: cross compilers may not add the suffix if given an `-o'
4118 # argument, so we may need to know it at that point already.
4119 # Even if this section looks crufty: it has the advantage of
4126 test "$ac_cv_exeext" = no && ac_cv_exeext=
4131 if test -z "$ac_file"; then :
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4133 $as_echo "no" >&6; }
4134 $as_echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.$ac_ext >&5
4137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4139 as_fn_error 77 "C compiler cannot create executables
4140 See \`config.log' for more details" "$LINENO" 5; }
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4143 $as_echo "yes" >&6; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4146 $as_echo_n "checking for C compiler default output file name... " >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4148 $as_echo "$ac_file" >&6; }
4149 ac_exeext=$ac_cv_exeext
4151 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4152 ac_clean_files=$ac_clean_files_save
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4154 $as_echo_n "checking for suffix of executables... " >&6; }
4155 if { { ac_try="$ac_link"
4157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158 *) ac_try_echo=$ac_try;;
4160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4161 $as_echo "$ac_try_echo"; } >&5
4162 (eval "$ac_link") 2>&5
4164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4165 test $ac_status = 0; }; then :
4166 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4167 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4168 # work properly (i.e., refer to `conftest.exe'), while it won't with
4170 for ac_file in conftest.exe conftest conftest.*; do
4171 test -f "$ac_file" || continue
4173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4174 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4182 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4183 See \`config.log' for more details" "$LINENO" 5; }
4185 rm -f conftest conftest$ac_cv_exeext
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4187 $as_echo "$ac_cv_exeext" >&6; }
4189 rm -f conftest.$ac_ext
4190 EXEEXT=$ac_cv_exeext
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4194 @%:@include <stdio.h>
4198 FILE *f = fopen ("conftest.out", "w");
4199 return ferror (f) || fclose (f) != 0;
4205 ac_clean_files="$ac_clean_files conftest.out"
4206 # Check that the compiler produces executables we can run. If not, either
4207 # the compiler is broken, or we cross compile.
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4209 $as_echo_n "checking whether we are cross compiling... " >&6; }
4210 if test "$cross_compiling" != yes; then
4211 { { ac_try="$ac_link"
4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 *) ac_try_echo=$ac_try;;
4216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4217 $as_echo "$ac_try_echo"; } >&5
4218 (eval "$ac_link") 2>&5
4220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4221 test $ac_status = 0; }
4222 if { ac_try='./conftest$ac_cv_exeext'
4223 { { case "(($ac_try" in
4224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4225 *) ac_try_echo=$ac_try;;
4227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4228 $as_echo "$ac_try_echo"; } >&5
4229 (eval "$ac_try") 2>&5
4231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4232 test $ac_status = 0; }; }; then
4235 if test "$cross_compiling" = maybe; then
4238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4240 as_fn_error $? "cannot run C compiled programs.
4241 If you meant to cross compile, use \`--host'.
4242 See \`config.log' for more details" "$LINENO" 5; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4247 $as_echo "$cross_compiling" >&6; }
4249 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4250 ac_clean_files=$ac_clean_files_save
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4252 $as_echo_n "checking for suffix of object files... " >&6; }
4253 if ${ac_cv_objext+:} false; then :
4254 $as_echo_n "(cached) " >&6
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4267 rm -f conftest.o conftest.obj
4268 if { { ac_try="$ac_compile"
4270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4274 $as_echo "$ac_try_echo"; } >&5
4275 (eval "$ac_compile") 2>&5
4277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4278 test $ac_status = 0; }; then :
4279 for ac_file in conftest.o conftest.obj conftest.*; do
4280 test -f "$ac_file" || continue;
4282 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4283 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4288 $as_echo "$as_me: failed program was:" >&5
4289 sed 's/^/| /' conftest.$ac_ext >&5
4291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4293 as_fn_error $? "cannot compute suffix of object files: cannot compile
4294 See \`config.log' for more details" "$LINENO" 5; }
4296 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4299 $as_echo "$ac_cv_objext" >&6; }
4300 OBJEXT=$ac_cv_objext
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4303 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4304 if ${ac_cv_c_compiler_gnu+:} false; then :
4305 $as_echo_n "(cached) " >&6
4307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4321 if ac_fn_c_try_compile "$LINENO"; then :
4326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4327 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4331 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4332 if test $ac_compiler_gnu = yes; then
4337 ac_test_CFLAGS=${CFLAGS+set}
4338 ac_save_CFLAGS=$CFLAGS
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4340 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4341 if ${ac_cv_prog_cc_g+:} false; then :
4342 $as_echo_n "(cached) " >&6
4344 ac_save_c_werror_flag=$ac_c_werror_flag
4345 ac_c_werror_flag=yes
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4359 if ac_fn_c_try_compile "$LINENO"; then :
4363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h. */
4374 if ac_fn_c_try_compile "$LINENO"; then :
4377 ac_c_werror_flag=$ac_save_c_werror_flag
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4390 if ac_fn_c_try_compile "$LINENO"; then :
4393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4398 ac_c_werror_flag=$ac_save_c_werror_flag
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4401 $as_echo "$ac_cv_prog_cc_g" >&6; }
4402 if test "$ac_test_CFLAGS" = set; then
4403 CFLAGS=$ac_save_CFLAGS
4404 elif test $ac_cv_prog_cc_g = yes; then
4405 if test "$GCC" = yes; then
4411 if test "$GCC" = yes; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4418 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4419 if ${ac_cv_prog_cc_c89+:} false; then :
4420 $as_echo_n "(cached) " >&6
4422 ac_cv_prog_cc_c89=no
4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4428 #include <sys/types.h>
4429 #include <sys/stat.h>
4430 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4431 struct buf { int x; };
4432 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4433 static char *e (p, i)
4439 static char *f (char * (*g) (char **, int), char **p, ...)
4444 s = g (p, va_arg (v,int));
4449 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4450 function prototypes and stuff, but not '\xHH' hex character constants.
4451 These don't provoke an error unfortunately, instead are silently treated
4452 as 'x'. The following induces an error, until -std is added to get
4453 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4454 array size at least. It's necessary to write '\x00'==0 to get something
4455 that's true only with -std. */
4456 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4458 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4459 inside strings and character constants. */
4461 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4463 int test (int i, double x);
4464 struct s1 {int (*f) (int a);};
4465 struct s2 {int (*f) (double a);};
4466 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4472 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4477 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4478 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4480 CC="$ac_save_CC $ac_arg"
4481 if ac_fn_c_try_compile "$LINENO"; then :
4482 ac_cv_prog_cc_c89=$ac_arg
4484 rm -f core conftest.err conftest.$ac_objext
4485 test "x$ac_cv_prog_cc_c89" != "xno" && break
4487 rm -f conftest.$ac_ext
4492 case "x$ac_cv_prog_cc_c89" in
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4495 $as_echo "none needed" >&6; } ;;
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4498 $as_echo "unsupported" >&6; } ;;
4500 CC="$CC $ac_cv_prog_cc_c89"
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4502 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4504 if test "x$ac_cv_prog_cc_c89" != xno; then :
4509 ac_cpp='$CPP $CPPFLAGS'
4510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4514 depcc="$CC" am_compiler_list=
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4517 $as_echo_n "checking dependency style of $depcc... " >&6; }
4518 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4519 $as_echo_n "(cached) " >&6
4521 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4522 # We make a subdir and do the tests there. Otherwise we can end up
4523 # making bogus files that we don't know about and never remove. For
4524 # instance it was reported that on HP-UX the gcc test will end up
4525 # making a dummy file named `D' -- because `-MD' means `put the output
4529 # Copy depcomp to subdir because otherwise we won't find it if we're
4530 # using a relative directory.
4531 cp "$am_depcomp" conftest.dir
4533 # We will build objects and dependencies in a subdirectory because
4534 # it helps to detect inapplicable dependency modes. For instance
4535 # both Tru64's cc and ICC support -MD to output dependencies as a
4536 # side effect of compilation, but ICC will put the dependencies in
4537 # the current directory while Tru64 will put them in the object
4541 am_cv_CC_dependencies_compiler_type=none
4542 if test "$am_compiler_list" = ""; then
4543 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4546 case " $depcc " in #(
4547 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4550 for depmode in $am_compiler_list; do
4551 # Setup a source with many dependencies, because some compilers
4552 # like to wrap large dependency lists on column 80 (with \), and
4553 # we should not choose a depcomp mode which is confused by this.
4555 # We need to recreate these files for each test, as the compiler may
4556 # overwrite some of them when testing with obscure command lines.
4557 # This happens at least with the AIX C compiler.
4559 for i in 1 2 3 4 5 6; do
4560 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4561 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4562 # Solaris 8's {/usr,}/bin/sh.
4563 touch sub/conftst$i.h
4565 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4567 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4568 # mode. It turns out that the SunPro C++ compiler does not properly
4569 # handle `-M -o', and we need to detect this. Also, some Intel
4570 # versions had trouble with output in subdirs
4571 am__obj=sub/conftest.${OBJEXT-o}
4572 am__minus_obj="-o $am__obj"
4575 # This depmode causes a compiler race in universal mode.
4576 test "$am__universal" = false || continue
4579 # after this tag, mechanisms are not by side-effect, so they'll
4580 # only be used when explicitly requested
4581 if test "x$enable_dependency_tracking" = xyes; then
4587 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4588 # This compiler won't grok `-c -o', but also, the minuso test has
4589 # not run yet. These depmodes are late enough in the game, and
4590 # so weak that their functioning should not be impacted.
4591 am__obj=conftest.${OBJEXT-o}
4596 if depmode=$depmode \
4597 source=sub/conftest.c object=$am__obj \
4598 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4599 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4600 >/dev/null 2>conftest.err &&
4601 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4602 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4603 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4604 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4605 # icc doesn't choke on unknown options, it will just issue warnings
4606 # or remarks (even with -Werror). So we grep stderr for any message
4607 # that says an option was ignored or not supported.
4608 # When given -MP, icc 7.0 and 7.1 complain thusly:
4609 # icc: Command line warning: ignoring option '-M'; no argument required
4610 # The diagnosis changed in icc 8.0:
4611 # icc: Command line remark: option '-MP' not supported
4612 if (grep 'ignoring option' conftest.err ||
4613 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4614 am_cv_CC_dependencies_compiler_type=$depmode
4623 am_cv_CC_dependencies_compiler_type=none
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4628 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4629 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4632 test "x$enable_dependency_tracking" != xno \
4633 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4635 am__fastdepCC_FALSE='#'
4637 am__fastdepCC_TRUE='#'
4638 am__fastdepCC_FALSE=
4644 ac_cpp='$CXXCPP $CPPFLAGS'
4645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4648 if test -z "$CXX"; then
4649 if test -n "$CCC"; then
4652 if test -n "$ac_tool_prefix"; then
4653 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4658 $as_echo_n "checking for $ac_word... " >&6; }
4659 if ${ac_cv_prog_CXX+:} false; then :
4660 $as_echo_n "(cached) " >&6
4662 if test -n "$CXX"; then
4663 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 test -z "$as_dir" && as_dir=.
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4672 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 if test -n "$CXX"; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4685 $as_echo "$CXX" >&6; }
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 $as_echo "no" >&6; }
4692 test -n "$CXX" && break
4695 if test -z "$CXX"; then
4697 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4699 # Extract the first word of "$ac_prog", so it can be a program name with args.
4700 set dummy $ac_prog; ac_word=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4704 $as_echo_n "(cached) " >&6
4706 if test -n "$ac_ct_CXX"; then
4707 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4713 test -z "$as_dir" && as_dir=.
4714 for ac_exec_ext in '' $ac_executable_extensions; do
4715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4716 ac_cv_prog_ac_ct_CXX="$ac_prog"
4717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4727 if test -n "$ac_ct_CXX"; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4729 $as_echo "$ac_ct_CXX" >&6; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4736 test -n "$ac_ct_CXX" && break
4739 if test "x$ac_ct_CXX" = x; then
4742 case $cross_compiling:$ac_tool_warned in
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4746 ac_tool_warned=yes ;;
4754 # Provide some information about the compiler.
4755 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4758 for ac_option in --version -v -V -qversion; do
4759 { { ac_try="$ac_compiler $ac_option >&5"
4761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4762 *) ac_try_echo=$ac_try;;
4764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4765 $as_echo "$ac_try_echo"; } >&5
4766 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4768 if test -s conftest.err; then
4770 ... rest of stderr output deleted ...
4771 10q' conftest.err >conftest.er1
4772 cat conftest.er1 >&5
4774 rm -f conftest.er1 conftest.err
4775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4776 test $ac_status = 0; }
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4780 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4781 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4782 $as_echo_n "(cached) " >&6
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4798 if ac_fn_cxx_try_compile "$LINENO"; then :
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4808 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4809 if test $ac_compiler_gnu = yes; then
4814 ac_test_CXXFLAGS=${CXXFLAGS+set}
4815 ac_save_CXXFLAGS=$CXXFLAGS
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4817 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4818 if ${ac_cv_prog_cxx_g+:} false; then :
4819 $as_echo_n "(cached) " >&6
4821 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4822 ac_cxx_werror_flag=yes
4825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h. */
4836 if ac_fn_cxx_try_compile "$LINENO"; then :
4837 ac_cv_prog_cxx_g=yes
4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4851 if ac_fn_cxx_try_compile "$LINENO"; then :
4854 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4867 if ac_fn_cxx_try_compile "$LINENO"; then :
4868 ac_cv_prog_cxx_g=yes
4870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4875 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4878 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4879 if test "$ac_test_CXXFLAGS" = set; then
4880 CXXFLAGS=$ac_save_CXXFLAGS
4881 elif test $ac_cv_prog_cxx_g = yes; then
4882 if test "$GXX" = yes; then
4888 if test "$GXX" = yes; then
4895 ac_cpp='$CPP $CPPFLAGS'
4896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4900 depcc="$CXX" am_compiler_list=
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4903 $as_echo_n "checking dependency style of $depcc... " >&6; }
4904 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4905 $as_echo_n "(cached) " >&6
4907 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4908 # We make a subdir and do the tests there. Otherwise we can end up
4909 # making bogus files that we don't know about and never remove. For
4910 # instance it was reported that on HP-UX the gcc test will end up
4911 # making a dummy file named `D' -- because `-MD' means `put the output
4915 # Copy depcomp to subdir because otherwise we won't find it if we're
4916 # using a relative directory.
4917 cp "$am_depcomp" conftest.dir
4919 # We will build objects and dependencies in a subdirectory because
4920 # it helps to detect inapplicable dependency modes. For instance
4921 # both Tru64's cc and ICC support -MD to output dependencies as a
4922 # side effect of compilation, but ICC will put the dependencies in
4923 # the current directory while Tru64 will put them in the object
4927 am_cv_CXX_dependencies_compiler_type=none
4928 if test "$am_compiler_list" = ""; then
4929 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4932 case " $depcc " in #(
4933 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4936 for depmode in $am_compiler_list; do
4937 # Setup a source with many dependencies, because some compilers
4938 # like to wrap large dependency lists on column 80 (with \), and
4939 # we should not choose a depcomp mode which is confused by this.
4941 # We need to recreate these files for each test, as the compiler may
4942 # overwrite some of them when testing with obscure command lines.
4943 # This happens at least with the AIX C compiler.
4945 for i in 1 2 3 4 5 6; do
4946 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4947 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4948 # Solaris 8's {/usr,}/bin/sh.
4949 touch sub/conftst$i.h
4951 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4953 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4954 # mode. It turns out that the SunPro C++ compiler does not properly
4955 # handle `-M -o', and we need to detect this. Also, some Intel
4956 # versions had trouble with output in subdirs
4957 am__obj=sub/conftest.${OBJEXT-o}
4958 am__minus_obj="-o $am__obj"
4961 # This depmode causes a compiler race in universal mode.
4962 test "$am__universal" = false || continue
4965 # after this tag, mechanisms are not by side-effect, so they'll
4966 # only be used when explicitly requested
4967 if test "x$enable_dependency_tracking" = xyes; then
4973 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4974 # This compiler won't grok `-c -o', but also, the minuso test has
4975 # not run yet. These depmodes are late enough in the game, and
4976 # so weak that their functioning should not be impacted.
4977 am__obj=conftest.${OBJEXT-o}
4982 if depmode=$depmode \
4983 source=sub/conftest.c object=$am__obj \
4984 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4985 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4986 >/dev/null 2>conftest.err &&
4987 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4988 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4989 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4990 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4991 # icc doesn't choke on unknown options, it will just issue warnings
4992 # or remarks (even with -Werror). So we grep stderr for any message
4993 # that says an option was ignored or not supported.
4994 # When given -MP, icc 7.0 and 7.1 complain thusly:
4995 # icc: Command line warning: ignoring option '-M'; no argument required
4996 # The diagnosis changed in icc 8.0:
4997 # icc: Command line remark: option '-MP' not supported
4998 if (grep 'ignoring option' conftest.err ||
4999 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5000 am_cv_CXX_dependencies_compiler_type=$depmode
5009 am_cv_CXX_dependencies_compiler_type=none
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5014 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5015 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5018 test "x$enable_dependency_tracking" != xno \
5019 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5020 am__fastdepCXX_TRUE=
5021 am__fastdepCXX_FALSE='#'
5023 am__fastdepCXX_TRUE='#'
5024 am__fastdepCXX_FALSE=
5028 if test "x$CC" != xcc; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5030 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5033 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5035 set dummy $CC; ac_cc=`$as_echo "$2" |
5036 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5037 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5038 $as_echo_n "(cached) " >&6
5040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5041 /* end confdefs.h. */
5051 # Make sure it works both with $CC and with simple cc.
5052 # We do the test twice because some compilers refuse to overwrite an
5053 # existing .o file with -o, though they will create one.
5054 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5056 if { { case "(($ac_try" in
5057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5058 *) ac_try_echo=$ac_try;;
5060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5061 $as_echo "$ac_try_echo"; } >&5
5062 (eval "$ac_try") 2>&5
5064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5065 test $ac_status = 0; } &&
5066 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5068 *) ac_try_echo=$ac_try;;
5070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5071 $as_echo "$ac_try_echo"; } >&5
5072 (eval "$ac_try") 2>&5
5074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5075 test $ac_status = 0; };
5077 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5078 if test "x$CC" != xcc; then
5079 # Test first that cc exists at all.
5080 if { ac_try='cc -c conftest.$ac_ext >&5'
5081 { { case "(($ac_try" in
5082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5083 *) ac_try_echo=$ac_try;;
5085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5086 $as_echo "$ac_try_echo"; } >&5
5087 (eval "$ac_try") 2>&5
5089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5090 test $ac_status = 0; }; }; then
5091 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5093 if { { case "(($ac_try" in
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5098 $as_echo "$ac_try_echo"; } >&5
5099 (eval "$ac_try") 2>&5
5101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5102 test $ac_status = 0; } &&
5103 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5105 *) ac_try_echo=$ac_try;;
5107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5108 $as_echo "$ac_try_echo"; } >&5
5109 (eval "$ac_try") 2>&5
5111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5112 test $ac_status = 0; };
5117 # cc exists but doesn't like -o.
5118 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5123 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5125 rm -f core conftest*
5128 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5130 $as_echo "yes" >&6; }
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5135 $as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5141 ac_cpp='$CPP $CPPFLAGS'
5142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5146 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5147 # On Suns, sometimes $CPP names a directory.
5148 if test -n "$CPP" && test -d "$CPP"; then
5151 if test -z "$CPP"; then
5152 if ${ac_cv_prog_CPP+:} false; then :
5153 $as_echo_n "(cached) " >&6
5155 # Double quotes because CPP needs to be expanded
5156 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5159 for ac_c_preproc_warn_flag in '' yes
5161 # Use a header file that comes with gcc, so configuring glibc
5162 # with a fresh cross-compiler works.
5163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5164 # <limits.h> exists even on freestanding compilers.
5165 # On the NeXT, cc -E runs the code through the compiler's parser,
5166 # not just through cpp. "Syntax error" is here to catch this case.
5167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h. */
5170 @%:@ include <limits.h>
5172 @%:@ include <assert.h>
5176 if ac_fn_c_try_cpp "$LINENO"; then :
5179 # Broken: fails on valid input.
5182 rm -f conftest.err conftest.i conftest.$ac_ext
5184 # OK, works on sane cases. Now check whether nonexistent headers
5185 # can be detected and how.
5186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h. */
5188 @%:@include <ac_nonexistent.h>
5190 if ac_fn_c_try_cpp "$LINENO"; then :
5191 # Broken: success on invalid input.
5194 # Passes both tests.
5198 rm -f conftest.err conftest.i conftest.$ac_ext
5201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5202 rm -f conftest.i conftest.err conftest.$ac_ext
5203 if $ac_preproc_ok; then :
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5216 $as_echo "$CPP" >&6; }
5218 for ac_c_preproc_warn_flag in '' yes
5220 # Use a header file that comes with gcc, so configuring glibc
5221 # with a fresh cross-compiler works.
5222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5223 # <limits.h> exists even on freestanding compilers.
5224 # On the NeXT, cc -E runs the code through the compiler's parser,
5225 # not just through cpp. "Syntax error" is here to catch this case.
5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5229 @%:@ include <limits.h>
5231 @%:@ include <assert.h>
5235 if ac_fn_c_try_cpp "$LINENO"; then :
5238 # Broken: fails on valid input.
5241 rm -f conftest.err conftest.i conftest.$ac_ext
5243 # OK, works on sane cases. Now check whether nonexistent headers
5244 # can be detected and how.
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5247 @%:@include <ac_nonexistent.h>
5249 if ac_fn_c_try_cpp "$LINENO"; then :
5250 # Broken: success on invalid input.
5253 # Passes both tests.
5257 rm -f conftest.err conftest.i conftest.$ac_ext
5260 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5261 rm -f conftest.i conftest.err conftest.$ac_ext
5262 if $ac_preproc_ok; then :
5265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5267 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5268 See \`config.log' for more details" "$LINENO" 5; }
5272 ac_cpp='$CPP $CPPFLAGS'
5273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5279 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5280 if ${ac_cv_path_GREP+:} false; then :
5281 $as_echo_n "(cached) " >&6
5283 if test -z "$GREP"; then
5284 ac_path_GREP_found=false
5285 # Loop through the user's path and test for each of PROGNAME-LIST
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5290 test -z "$as_dir" && as_dir=.
5291 for ac_prog in grep ggrep; do
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5294 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5295 # Check for GNU ac_path_GREP and select it if it is found.
5296 # Check for GNU $ac_path_GREP
5297 case `"$ac_path_GREP" --version 2>&1` in
5299 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5302 $as_echo_n 0123456789 >"conftest.in"
5305 cat "conftest.in" "conftest.in" >"conftest.tmp"
5306 mv "conftest.tmp" "conftest.in"
5307 cp "conftest.in" "conftest.nl"
5308 $as_echo 'GREP' >> "conftest.nl"
5309 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5310 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5311 as_fn_arith $ac_count + 1 && ac_count=$as_val
5312 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5313 # Best one so far, save it but keep looking for a better one
5314 ac_cv_path_GREP="$ac_path_GREP"
5315 ac_path_GREP_max=$ac_count
5317 # 10*(2^10) chars as input seems more than enough
5318 test $ac_count -gt 10 && break
5320 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5323 $ac_path_GREP_found && break 3
5328 if test -z "$ac_cv_path_GREP"; then
5329 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5332 ac_cv_path_GREP=$GREP
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5337 $as_echo "$ac_cv_path_GREP" >&6; }
5338 GREP="$ac_cv_path_GREP"
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5342 $as_echo_n "checking for egrep... " >&6; }
5343 if ${ac_cv_path_EGREP+:} false; then :
5344 $as_echo_n "(cached) " >&6
5346 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5347 then ac_cv_path_EGREP="$GREP -E"
5349 if test -z "$EGREP"; then
5350 ac_path_EGREP_found=false
5351 # Loop through the user's path and test for each of PROGNAME-LIST
5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5356 test -z "$as_dir" && as_dir=.
5357 for ac_prog in egrep; do
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5360 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5361 # Check for GNU ac_path_EGREP and select it if it is found.
5362 # Check for GNU $ac_path_EGREP
5363 case `"$ac_path_EGREP" --version 2>&1` in
5365 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5368 $as_echo_n 0123456789 >"conftest.in"
5371 cat "conftest.in" "conftest.in" >"conftest.tmp"
5372 mv "conftest.tmp" "conftest.in"
5373 cp "conftest.in" "conftest.nl"
5374 $as_echo 'EGREP' >> "conftest.nl"
5375 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5376 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5377 as_fn_arith $ac_count + 1 && ac_count=$as_val
5378 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5379 # Best one so far, save it but keep looking for a better one
5380 ac_cv_path_EGREP="$ac_path_EGREP"
5381 ac_path_EGREP_max=$ac_count
5383 # 10*(2^10) chars as input seems more than enough
5384 test $ac_count -gt 10 && break
5386 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5389 $ac_path_EGREP_found && break 3
5394 if test -z "$ac_cv_path_EGREP"; then
5395 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5398 ac_cv_path_EGREP=$EGREP
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5404 $as_echo "$ac_cv_path_EGREP" >&6; }
5405 EGREP="$ac_cv_path_EGREP"
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5409 $as_echo_n "checking for ANSI C header files... " >&6; }
5410 if ${ac_cv_header_stdc+:} false; then :
5411 $as_echo_n "(cached) " >&6
5413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5428 if ac_fn_c_try_compile "$LINENO"; then :
5429 ac_cv_header_stdc=yes
5431 ac_cv_header_stdc=no
5433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5435 if test $ac_cv_header_stdc = yes; then
5436 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5443 $EGREP "memchr" >/dev/null 2>&1; then :
5446 ac_cv_header_stdc=no
5452 if test $ac_cv_header_stdc = yes; then
5453 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5455 /* end confdefs.h. */
5459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5460 $EGREP "free" >/dev/null 2>&1; then :
5463 ac_cv_header_stdc=no
5469 if test $ac_cv_header_stdc = yes; then
5470 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5471 if test "$cross_compiling" = yes; then :
5474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475 /* end confdefs.h. */
5478 #if ((' ' & 0x0FF) == 0x020)
5479 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5480 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5482 # define ISLOWER(c) \
5483 (('a' <= (c) && (c) <= 'i') \
5484 || ('j' <= (c) && (c) <= 'r') \
5485 || ('s' <= (c) && (c) <= 'z'))
5486 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5489 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5494 for (i = 0; i < 256; i++)
5495 if (XOR (islower (i), ISLOWER (i))
5496 || toupper (i) != TOUPPER (i))
5501 if ac_fn_c_try_run "$LINENO"; then :
5504 ac_cv_header_stdc=no
5506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5507 conftest.$ac_objext conftest.beam conftest.$ac_ext
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5513 $as_echo "$ac_cv_header_stdc" >&6; }
5514 if test $ac_cv_header_stdc = yes; then
5516 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5520 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5521 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5522 inttypes.h stdint.h unistd.h
5524 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5525 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5527 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5528 cat >>confdefs.h <<_ACEOF
5529 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5537 # Make sure CXXFLAGS and CFLAGS are set before expanding AC_PROG_CXX to avoid
5538 # building with '-g -O2' on Release builds.
5541 # check for -fvisibility=hidden compiler support (GCC >= 4)
5542 saved_CFLAGS="$CFLAGS"
5543 CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${CXX} supports -fvisibility=hidden -fvisibility-inlines-hidden" >&5
5545 $as_echo_n "checking if ${CXX} supports -fvisibility=hidden -fvisibility-inlines-hidden... " >&6; }
5546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5550 if ac_fn_c_try_compile "$LINENO"; then :
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5552 $as_echo "yes" >&6; }
5553 SYMBOL_VISIBILITY="-fvisibility=hidden" SYMBOL_VISIBILITY_INLINES="-fvisibility-inlines-hidden"
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5559 CFLAGS="$saved_CFLAGS"
5563 # check for pkg-config
5564 # Extract the first word of "pkg-config", so it can be a program name with args.
5565 set dummy pkg-config; ac_word=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5569 $as_echo_n "(cached) " >&6
5573 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5583 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5591 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5595 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5596 if test -n "$PKG_CONFIG"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5598 $as_echo "$PKG_CONFIG" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5605 if test "$PKG_CONFIG" = "no"; then
5606 as_fn_error $? "Cannot find pkg-config, make sure it is installed in your PATH" "$LINENO" 5
5609 # Extract the first word of "perl", so it can be a program name with args.
5610 set dummy perl; ac_word=$2
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612 $as_echo_n "checking for $ac_word... " >&6; }
5613 if ${ac_cv_path_PERL+:} false; then :
5614 $as_echo_n "(cached) " >&6
5618 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 test -z "$as_dir" && as_dir=.
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5628 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 PERL=$ac_cv_path_PERL
5640 if test -n "$PERL"; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5642 $as_echo "$PERL" >&6; }
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 $as_echo "no" >&6; }
5649 if test -z "$PERL"; then
5650 as_fn_error $? "You need 'perl' to compile WebKit" "$LINENO" 5
5653 # Extract the first word of "python", so it can be a program name with args.
5654 set dummy python; ac_word=$2
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 $as_echo_n "checking for $ac_word... " >&6; }
5657 if ${ac_cv_path_PYTHON+:} false; then :
5658 $as_echo_n "(cached) " >&6
5662 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir=.
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5672 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
5673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5683 PYTHON=$ac_cv_path_PYTHON
5684 if test -n "$PYTHON"; then
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5686 $as_echo "$PYTHON" >&6; }
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 $as_echo "no" >&6; }
5693 if test -z "$PYTHON"; then
5694 as_fn_error $? "You need 'python' to compile WebKit" "$LINENO" 5
5697 # Extract the first word of "bison", so it can be a program name with args.
5698 set dummy bison; ac_word=$2
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700 $as_echo_n "checking for $ac_word... " >&6; }
5701 if ${ac_cv_path_BISON+:} false; then :
5702 $as_echo_n "(cached) " >&6
5706 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 BISON=$ac_cv_path_BISON
5728 if test -n "$BISON"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5730 $as_echo "$BISON" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5737 if test -z "$BISON"; then
5738 as_fn_error $? "You need the 'bison' parser generator to compile WebKit" "$LINENO" 5
5741 # Extract the first word of "mv", so it can be a program name with args.
5742 set dummy mv; ac_word=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_path_MV+:} false; then :
5746 $as_echo_n "(cached) " >&6
5750 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir=.
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 if test -n "$MV"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5774 $as_echo "$MV" >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5781 if test -z "$MV"; then
5782 as_fn_error $? "You need 'mv' to compile WebKit" "$LINENO" 5
5788 ac_cpp='$CPP $CPPFLAGS'
5789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5792 if test -n "$ac_tool_prefix"; then
5793 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5794 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if ${ac_cv_prog_CC+:} false; then :
5798 $as_echo_n "(cached) " >&6
5800 if test -n "$CC"; then
5801 ac_cv_prog_CC="$CC" # Let the user override the test.
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 test -z "$as_dir" && as_dir=.
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5810 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 if test -n "$CC"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5823 $as_echo "$CC" >&6; }
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5831 if test -z "$ac_cv_prog_CC"; then
5833 # Extract the first word of "gcc", so it can be a program name with args.
5834 set dummy gcc; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5838 $as_echo_n "(cached) " >&6
5840 if test -n "$ac_ct_CC"; then
5841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_ac_ct_CC="gcc"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5861 if test -n "$ac_ct_CC"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5863 $as_echo "$ac_ct_CC" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5869 if test "x$ac_ct_CC" = x; then
5872 case $cross_compiling:$ac_tool_warned in
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5876 ac_tool_warned=yes ;;
5884 if test -z "$CC"; then
5885 if test -n "$ac_tool_prefix"; then
5886 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5887 set dummy ${ac_tool_prefix}cc; ac_word=$2
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 $as_echo_n "checking for $ac_word... " >&6; }
5890 if ${ac_cv_prog_CC+:} false; then :
5891 $as_echo_n "(cached) " >&6
5893 if test -n "$CC"; then
5894 ac_cv_prog_CC="$CC" # Let the user override the test.
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_prog_CC="${ac_tool_prefix}cc"
5904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 if test -n "$CC"; then
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5916 $as_echo "$CC" >&6; }
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919 $as_echo "no" >&6; }
5925 if test -z "$CC"; then
5926 # Extract the first word of "cc", so it can be a program name with args.
5927 set dummy cc; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if ${ac_cv_prog_CC+:} false; then :
5931 $as_echo_n "(cached) " >&6
5933 if test -n "$CC"; then
5934 ac_cv_prog_CC="$CC" # Let the user override the test.
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5944 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5945 ac_prog_rejected=yes
5949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5956 if test $ac_prog_rejected = yes; then
5957 # We found a bogon in the path, so make sure we never use it.
5958 set dummy $ac_cv_prog_CC
5960 if test $@%:@ != 0; then
5961 # We chose a different compiler from the bogus one.
5962 # However, it has the same basename, so the bogon will be chosen
5963 # first if we set CC to just the basename; use the full file name.
5965 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5971 if test -n "$CC"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5973 $as_echo "$CC" >&6; }
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5981 if test -z "$CC"; then
5982 if test -n "$ac_tool_prefix"; then
5983 for ac_prog in cl.exe
5985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5986 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988 $as_echo_n "checking for $ac_word... " >&6; }
5989 if ${ac_cv_prog_CC+:} false; then :
5990 $as_echo_n "(cached) " >&6
5992 if test -n "$CC"; then
5993 ac_cv_prog_CC="$CC" # Let the user override the test.
5995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 test -z "$as_dir" && as_dir=.
6000 for ac_exec_ext in '' $ac_executable_extensions; do
6001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6002 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6013 if test -n "$CC"; then
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6015 $as_echo "$CC" >&6; }
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6018 $as_echo "no" >&6; }
6022 test -n "$CC" && break
6025 if test -z "$CC"; then
6027 for ac_prog in cl.exe
6029 # Extract the first word of "$ac_prog", so it can be a program name with args.
6030 set dummy $ac_prog; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6034 $as_echo_n "(cached) " >&6
6036 if test -n "$ac_ct_CC"; then
6037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6046 ac_cv_prog_ac_ct_CC="$ac_prog"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6057 if test -n "$ac_ct_CC"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6059 $as_echo "$ac_ct_CC" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6066 test -n "$ac_ct_CC" && break
6069 if test "x$ac_ct_CC" = x; then
6072 case $cross_compiling:$ac_tool_warned in
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6076 ac_tool_warned=yes ;;
6085 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6087 as_fn_error $? "no acceptable C compiler found in \$PATH
6088 See \`config.log' for more details" "$LINENO" 5; }
6090 # Provide some information about the compiler.
6091 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6094 for ac_option in --version -v -V -qversion; do
6095 { { ac_try="$ac_compiler $ac_option >&5"
6097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6098 *) ac_try_echo=$ac_try;;
6100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6101 $as_echo "$ac_try_echo"; } >&5
6102 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6104 if test -s conftest.err; then
6106 ... rest of stderr output deleted ...
6107 10q' conftest.err >conftest.er1
6108 cat conftest.er1 >&5
6110 rm -f conftest.er1 conftest.err
6111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6112 test $ac_status = 0; }
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6116 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6117 if ${ac_cv_c_compiler_gnu+:} false; then :
6118 $as_echo_n "(cached) " >&6
6120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6121 /* end confdefs.h. */
6134 if ac_fn_c_try_compile "$LINENO"; then :
6139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6140 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6144 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6145 if test $ac_compiler_gnu = yes; then
6150 ac_test_CFLAGS=${CFLAGS+set}
6151 ac_save_CFLAGS=$CFLAGS
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6153 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6154 if ${ac_cv_prog_cc_g+:} false; then :
6155 $as_echo_n "(cached) " >&6
6157 ac_save_c_werror_flag=$ac_c_werror_flag
6158 ac_c_werror_flag=yes
6161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6172 if ac_fn_c_try_compile "$LINENO"; then :
6176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6177 /* end confdefs.h. */
6187 if ac_fn_c_try_compile "$LINENO"; then :
6190 ac_c_werror_flag=$ac_save_c_werror_flag
6192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6193 /* end confdefs.h. */
6203 if ac_fn_c_try_compile "$LINENO"; then :
6206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6211 ac_c_werror_flag=$ac_save_c_werror_flag
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6214 $as_echo "$ac_cv_prog_cc_g" >&6; }
6215 if test "$ac_test_CFLAGS" = set; then
6216 CFLAGS=$ac_save_CFLAGS
6217 elif test $ac_cv_prog_cc_g = yes; then
6218 if test "$GCC" = yes; then
6224 if test "$GCC" = yes; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6231 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6232 if ${ac_cv_prog_cc_c89+:} false; then :
6233 $as_echo_n "(cached) " >&6
6235 ac_cv_prog_cc_c89=no
6237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6238 /* end confdefs.h. */
6241 #include <sys/types.h>
6242 #include <sys/stat.h>
6243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6244 struct buf { int x; };
6245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6246 static char *e (p, i)
6252 static char *f (char * (*g) (char **, int), char **p, ...)
6257 s = g (p, va_arg (v,int));
6262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6263 function prototypes and stuff, but not '\xHH' hex character constants.
6264 These don't provoke an error unfortunately, instead are silently treated
6265 as 'x'. The following induces an error, until -std is added to get
6266 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6267 array size at least. It's necessary to write '\x00'==0 to get something
6268 that's true only with -std. */
6269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6271 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6272 inside strings and character constants. */
6274 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6276 int test (int i, double x);
6277 struct s1 {int (*f) (int a);};
6278 struct s2 {int (*f) (double a);};
6279 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6285 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6290 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6291 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6293 CC="$ac_save_CC $ac_arg"
6294 if ac_fn_c_try_compile "$LINENO"; then :
6295 ac_cv_prog_cc_c89=$ac_arg
6297 rm -f core conftest.err conftest.$ac_objext
6298 test "x$ac_cv_prog_cc_c89" != "xno" && break
6300 rm -f conftest.$ac_ext
6305 case "x$ac_cv_prog_cc_c89" in
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6308 $as_echo "none needed" >&6; } ;;
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6311 $as_echo "unsupported" >&6; } ;;
6313 CC="$CC $ac_cv_prog_cc_c89"
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6315 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6317 if test "x$ac_cv_prog_cc_c89" != xno; then :
6322 ac_cpp='$CPP $CPPFLAGS'
6323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6327 depcc="$CC" am_compiler_list=
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6330 $as_echo_n "checking dependency style of $depcc... " >&6; }
6331 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6332 $as_echo_n "(cached) " >&6
6334 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6335 # We make a subdir and do the tests there. Otherwise we can end up
6336 # making bogus files that we don't know about and never remove. For
6337 # instance it was reported that on HP-UX the gcc test will end up
6338 # making a dummy file named `D' -- because `-MD' means `put the output
6342 # Copy depcomp to subdir because otherwise we won't find it if we're
6343 # using a relative directory.
6344 cp "$am_depcomp" conftest.dir
6346 # We will build objects and dependencies in a subdirectory because
6347 # it helps to detect inapplicable dependency modes. For instance
6348 # both Tru64's cc and ICC support -MD to output dependencies as a
6349 # side effect of compilation, but ICC will put the dependencies in
6350 # the current directory while Tru64 will put them in the object
6354 am_cv_CC_dependencies_compiler_type=none
6355 if test "$am_compiler_list" = ""; then
6356 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6359 case " $depcc " in #(
6360 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6363 for depmode in $am_compiler_list; do
6364 # Setup a source with many dependencies, because some compilers
6365 # like to wrap large dependency lists on column 80 (with \), and
6366 # we should not choose a depcomp mode which is confused by this.
6368 # We need to recreate these files for each test, as the compiler may
6369 # overwrite some of them when testing with obscure command lines.
6370 # This happens at least with the AIX C compiler.
6372 for i in 1 2 3 4 5 6; do
6373 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6374 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6375 # Solaris 8's {/usr,}/bin/sh.
6376 touch sub/conftst$i.h
6378 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6380 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6381 # mode. It turns out that the SunPro C++ compiler does not properly
6382 # handle `-M -o', and we need to detect this. Also, some Intel
6383 # versions had trouble with output in subdirs
6384 am__obj=sub/conftest.${OBJEXT-o}
6385 am__minus_obj="-o $am__obj"
6388 # This depmode causes a compiler race in universal mode.
6389 test "$am__universal" = false || continue
6392 # after this tag, mechanisms are not by side-effect, so they'll
6393 # only be used when explicitly requested
6394 if test "x$enable_dependency_tracking" = xyes; then
6400 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6401 # This compiler won't grok `-c -o', but also, the minuso test has
6402 # not run yet. These depmodes are late enough in the game, and
6403 # so weak that their functioning should not be impacted.
6404 am__obj=conftest.${OBJEXT-o}
6409 if depmode=$depmode \
6410 source=sub/conftest.c object=$am__obj \
6411 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6412 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6413 >/dev/null 2>conftest.err &&
6414 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6415 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6416 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6417 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6418 # icc doesn't choke on unknown options, it will just issue warnings
6419 # or remarks (even with -Werror). So we grep stderr for any message
6420 # that says an option was ignored or not supported.
6421 # When given -MP, icc 7.0 and 7.1 complain thusly:
6422 # icc: Command line warning: ignoring option '-M'; no argument required
6423 # The diagnosis changed in icc 8.0:
6424 # icc: Command line remark: option '-MP' not supported
6425 if (grep 'ignoring option' conftest.err ||
6426 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6427 am_cv_CC_dependencies_compiler_type=$depmode
6436 am_cv_CC_dependencies_compiler_type=none
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6441 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6442 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6445 test "x$enable_dependency_tracking" != xno \
6446 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6448 am__fastdepCC_FALSE='#'
6450 am__fastdepCC_TRUE='#'
6451 am__fastdepCC_FALSE=
6456 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
6458 # FIXME: we rely on the cache variable name because
6459 # there is no other way.
6461 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6462 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6463 if test "$am_t" != yes; then
6464 # Losing compiler, so override with the script.
6465 # FIXME: It is wrong to rewrite CC.
6466 # But if we don't then we get into trouble of one sort or another.
6467 # A longer-term fix would be to have automake use am__CC in this case,
6468 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6469 CC="$am_aux_dir/compile $CC"
6474 @%:@ Check whether --enable-largefile was given.
6475 if test "${enable_largefile+set}" = set; then :
6476 enableval=$enable_largefile;
6479 if test "$enable_largefile" != no; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6482 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6483 if ${ac_cv_sys_largefile_CC+:} false; then :
6484 $as_echo_n "(cached) " >&6
6486 ac_cv_sys_largefile_CC=no
6487 if test "$GCC" != yes; then
6490 # IRIX 6.2 and later do not support large files by default,
6491 # so use the C compiler's -n32 option if that helps.
6492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6493 /* end confdefs.h. */
6494 @%:@include <sys/types.h>
6495 /* Check that off_t can represent 2**63 - 1 correctly.
6496 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6497 since some C++ compilers masquerading as C compilers
6498 incorrectly reject 9223372036854775807. */
6499 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6500 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6501 && LARGE_OFF_T % 2147483647 == 1)
6511 if ac_fn_c_try_compile "$LINENO"; then :
6514 rm -f core conftest.err conftest.$ac_objext
6516 if ac_fn_c_try_compile "$LINENO"; then :
6517 ac_cv_sys_largefile_CC=' -n32'; break
6519 rm -f core conftest.err conftest.$ac_objext
6523 rm -f conftest.$ac_ext
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6527 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6528 if test "$ac_cv_sys_largefile_CC" != no; then
6529 CC=$CC$ac_cv_sys_largefile_CC
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6533 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6534 if ${ac_cv_sys_file_offset_bits+:} false; then :
6535 $as_echo_n "(cached) " >&6
6538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6539 /* end confdefs.h. */
6540 @%:@include <sys/types.h>
6541 /* Check that off_t can represent 2**63 - 1 correctly.
6542 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6543 since some C++ compilers masquerading as C compilers
6544 incorrectly reject 9223372036854775807. */
6545 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6546 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6547 && LARGE_OFF_T % 2147483647 == 1)
6557 if ac_fn_c_try_compile "$LINENO"; then :
6558 ac_cv_sys_file_offset_bits=no; break
6560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6563 @%:@define _FILE_OFFSET_BITS 64
6564 @%:@include <sys/types.h>
6565 /* Check that off_t can represent 2**63 - 1 correctly.
6566 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6567 since some C++ compilers masquerading as C compilers
6568 incorrectly reject 9223372036854775807. */
6569 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6570 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6571 && LARGE_OFF_T % 2147483647 == 1)
6581 if ac_fn_c_try_compile "$LINENO"; then :
6582 ac_cv_sys_file_offset_bits=64; break
6584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6585 ac_cv_sys_file_offset_bits=unknown
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6590 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6591 case $ac_cv_sys_file_offset_bits in #(
6594 cat >>confdefs.h <<_ACEOF
6595 @%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6600 if test $ac_cv_sys_file_offset_bits = unknown; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6602 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6603 if ${ac_cv_sys_large_files+:} false; then :
6604 $as_echo_n "(cached) " >&6
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h. */
6609 @%:@include <sys/types.h>
6610 /* Check that off_t can represent 2**63 - 1 correctly.
6611 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6612 since some C++ compilers masquerading as C compilers
6613 incorrectly reject 9223372036854775807. */
6614 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6615 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6616 && LARGE_OFF_T % 2147483647 == 1)
6626 if ac_fn_c_try_compile "$LINENO"; then :
6627 ac_cv_sys_large_files=no; break
6629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6632 @%:@define _LARGE_FILES 1
6633 @%:@include <sys/types.h>
6634 /* Check that off_t can represent 2**63 - 1 correctly.
6635 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6636 since some C++ compilers masquerading as C compilers
6637 incorrectly reject 9223372036854775807. */
6638 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6639 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6640 && LARGE_OFF_T % 2147483647 == 1)
6650 if ac_fn_c_try_compile "$LINENO"; then :
6651 ac_cv_sys_large_files=1; break
6653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6654 ac_cv_sys_large_files=unknown
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6659 $as_echo "$ac_cv_sys_large_files" >&6; }
6660 case $ac_cv_sys_large_files in #(
6663 cat >>confdefs.h <<_ACEOF
6664 @%:@define _LARGE_FILES $ac_cv_sys_large_files
6673 # Check whether a C++ was found (AC_PROG_CXX sets $CXX to "g++" even when it
6676 ac_cpp='$CXXCPP $CPPFLAGS'
6677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6692 if ac_fn_cxx_try_compile "$LINENO"; then :
6695 as_fn_error $? "No C++ compiler found" "$LINENO" 5
6697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6699 ac_cpp='$CPP $CPPFLAGS'
6700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6705 # C/C++ Language Features
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6707 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6708 if ${ac_cv_c_const+:} false; then :
6709 $as_echo_n "(cached) " >&6
6711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6717 /* FIXME: Include the comments suggested by Paul. */
6719 /* Ultrix mips cc rejects this. */
6720 typedef int charset[2];
6722 /* SunOS 4.1.1 cc rejects this. */
6723 char const *const *pcpcc;
6725 /* NEC SVR4.0.2 mips cc rejects this. */
6726 struct point {int x, y;};
6727 static struct point const zero = {0,0};
6728 /* AIX XL C 1.02.0.0 rejects this.
6729 It does not let you subtract one const X* pointer from another in
6730 an arm of an if-expression whose if-part is not a constant
6732 const char *g = "string";
6733 pcpcc = &g + (g ? g-g : 0);
6734 /* HPUX 7.0 cc rejects these. */
6736 ppc = (char**) pcpcc;
6737 pcpcc = (char const *const *) ppc;
6738 { /* SCO 3.2v4 cc rejects this. */
6740 char const *s = 0 ? (char *) 0 : (char const *) 0;
6745 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6747 const int *foo = &x[0];
6750 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6751 typedef const int *iptr;
6755 { /* AIX XL C 1.02.0.0 rejects this saying
6756 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6757 struct s { int j; const int *ap[3]; };
6758 struct s *b; b->j = 5;
6760 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6764 return !cs[0] && !zero.x;
6771 if ac_fn_c_try_compile "$LINENO"; then :
6776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6779 $as_echo "$ac_cv_c_const" >&6; }
6780 if test $ac_cv_c_const = no; then
6782 $as_echo "@%:@define const /**/" >>confdefs.h
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6787 $as_echo_n "checking for inline... " >&6; }
6788 if ${ac_cv_c_inline+:} false; then :
6789 $as_echo_n "(cached) " >&6
6792 for ac_kw in inline __inline__ __inline; do
6793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6794 /* end confdefs.h. */
6797 static $ac_kw foo_t static_foo () {return 0; }
6798 $ac_kw foo_t foo () {return 0; }
6802 if ac_fn_c_try_compile "$LINENO"; then :
6803 ac_cv_c_inline=$ac_kw
6805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6806 test "$ac_cv_c_inline" != no && break
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6811 $as_echo "$ac_cv_c_inline" >&6; }
6813 case $ac_cv_c_inline in
6816 case $ac_cv_c_inline in
6818 *) ac_val=$ac_cv_c_inline;;
6820 cat >>confdefs.h <<_ACEOF
6822 #define inline $ac_val
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
6829 $as_echo_n "checking for working volatile... " >&6; }
6830 if ${ac_cv_c_volatile+:} false; then :
6831 $as_echo_n "(cached) " >&6
6833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6834 /* end confdefs.h. */
6841 int * volatile y = (int *) 0;
6847 if ac_fn_c_try_compile "$LINENO"; then :
6848 ac_cv_c_volatile=yes
6852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
6855 $as_echo "$ac_cv_c_volatile" >&6; }
6856 if test $ac_cv_c_volatile = no; then
6858 $as_echo "@%:@define volatile /**/" >>confdefs.h
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
6866 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
6867 if ${ac_cv_header_stdbool_h+:} false; then :
6868 $as_echo_n "(cached) " >&6
6870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6871 /* end confdefs.h. */
6873 #include <stdbool.h>
6875 "error: bool is not defined"
6878 "error: false is not defined"
6881 "error: false is not 0"
6884 "error: true is not defined"
6887 "error: true is not 1"
6889 #ifndef __bool_true_false_are_defined
6890 "error: __bool_true_false_are_defined is not defined"
6893 struct s { _Bool s: 1; _Bool t; } s;
6895 char a[true == 1 ? 1 : -1];
6896 char b[false == 0 ? 1 : -1];
6897 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
6898 char d[(bool) 0.5 == true ? 1 : -1];
6899 /* See body of main program for 'e'. */
6900 char f[(_Bool) 0.0 == false ? 1 : -1];
6902 char h[sizeof (_Bool)];
6904 enum { j = false, k = true, l = false * true, m = true * 256 };
6905 /* The following fails for
6906 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
6908 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
6909 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
6910 /* Catch a bug in an HP-UX C compiler. See
6911 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
6912 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
6924 /* Refer to every declared value, to avoid compiler optimizations. */
6925 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
6926 + !m + !n + !o + !p + !q + !pq);
6932 if ac_fn_c_try_compile "$LINENO"; then :
6933 ac_cv_header_stdbool_h=yes
6935 ac_cv_header_stdbool_h=no
6937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
6940 $as_echo "$ac_cv_header_stdbool_h" >&6; }
6941 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
6942 if test "x$ac_cv_type__Bool" = xyes; then :
6944 cat >>confdefs.h <<_ACEOF
6945 @%:@define HAVE__BOOL 1
6951 if test $ac_cv_header_stdbool_h = yes; then
6953 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
6960 @%:@ Check whether --enable-static was given.
6961 if test "${enable_static+set}" = set; then :
6962 enableval=$enable_static; p=${PACKAGE-default}
6964 yes) enable_static=yes ;;
6965 no) enable_static=no ;;
6968 # Look at the argument we got. We use all the common list separators.
6969 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6970 for pkg in $enableval; do
6972 if test "X$pkg" = "X$p"; then
6991 enable_win32_dll=yes
6994 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
6995 if test -n "$ac_tool_prefix"; then
6996 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6997 set dummy ${ac_tool_prefix}as; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if ${ac_cv_prog_AS+:} false; then :
7001 $as_echo_n "(cached) " >&6
7003 if test -n "$AS"; then
7004 ac_cv_prog_AS="$AS" # Let the user override the test.
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7013 ac_cv_prog_AS="${ac_tool_prefix}as"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7024 if test -n "$AS"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7026 $as_echo "$AS" >&6; }
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7034 if test -z "$ac_cv_prog_AS"; then
7036 # Extract the first word of "as", so it can be a program name with args.
7037 set dummy as; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7041 $as_echo_n "(cached) " >&6
7043 if test -n "$ac_ct_AS"; then
7044 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053 ac_cv_prog_ac_ct_AS="as"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7063 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7064 if test -n "$ac_ct_AS"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7066 $as_echo "$ac_ct_AS" >&6; }
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7072 if test "x$ac_ct_AS" = x; then
7075 case $cross_compiling:$ac_tool_warned in
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7079 ac_tool_warned=yes ;;
7087 if test -n "$ac_tool_prefix"; then
7088 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7089 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 $as_echo_n "checking for $ac_word... " >&6; }
7092 if ${ac_cv_prog_DLLTOOL+:} false; then :
7093 $as_echo_n "(cached) " >&6
7095 if test -n "$DLLTOOL"; then
7096 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 test -z "$as_dir" && as_dir=.
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7115 DLLTOOL=$ac_cv_prog_DLLTOOL
7116 if test -n "$DLLTOOL"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7118 $as_echo "$DLLTOOL" >&6; }
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7126 if test -z "$ac_cv_prog_DLLTOOL"; then
7127 ac_ct_DLLTOOL=$DLLTOOL
7128 # Extract the first word of "dlltool", so it can be a program name with args.
7129 set dummy dlltool; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7133 $as_echo_n "(cached) " >&6
7135 if test -n "$ac_ct_DLLTOOL"; then
7136 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 test -z "$as_dir" && as_dir=.
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7145 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7155 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7156 if test -n "$ac_ct_DLLTOOL"; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7158 $as_echo "$ac_ct_DLLTOOL" >&6; }
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7164 if test "x$ac_ct_DLLTOOL" = x; then
7167 case $cross_compiling:$ac_tool_warned in
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7171 ac_tool_warned=yes ;;
7173 DLLTOOL=$ac_ct_DLLTOOL
7176 DLLTOOL="$ac_cv_prog_DLLTOOL"
7179 if test -n "$ac_tool_prefix"; then
7180 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7181 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 $as_echo_n "checking for $ac_word... " >&6; }
7184 if ${ac_cv_prog_OBJDUMP+:} false; then :
7185 $as_echo_n "(cached) " >&6
7187 if test -n "$OBJDUMP"; then
7188 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 test -z "$as_dir" && as_dir=.
7195 for ac_exec_ext in '' $ac_executable_extensions; do
7196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7197 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7207 OBJDUMP=$ac_cv_prog_OBJDUMP
7208 if test -n "$OBJDUMP"; then
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7210 $as_echo "$OBJDUMP" >&6; }
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7213 $as_echo "no" >&6; }
7218 if test -z "$ac_cv_prog_OBJDUMP"; then
7219 ac_ct_OBJDUMP=$OBJDUMP
7220 # Extract the first word of "objdump", so it can be a program name with args.
7221 set dummy objdump; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7225 $as_echo_n "(cached) " >&6
7227 if test -n "$ac_ct_OBJDUMP"; then
7228 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 test -z "$as_dir" && as_dir=.
7235 for ac_exec_ext in '' $ac_executable_extensions; do
7236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7237 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7248 if test -n "$ac_ct_OBJDUMP"; then
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7250 $as_echo "$ac_ct_OBJDUMP" >&6; }
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7256 if test "x$ac_ct_OBJDUMP" = x; then
7259 case $cross_compiling:$ac_tool_warned in
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7263 ac_tool_warned=yes ;;
7265 OBJDUMP=$ac_ct_OBJDUMP
7268 OBJDUMP="$ac_cv_prog_OBJDUMP"
7274 test -z "$AS" && AS=as
7280 test -z "$DLLTOOL" && DLLTOOL=dlltool
7286 test -z "$OBJDUMP" && OBJDUMP=objdump
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7297 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7302 macro_version='2.4.2'
7303 macro_revision='1.3337'
7317 ltmain="$ac_aux_dir/ltmain.sh"
7319 # Backslashify metacharacters that are still active within
7320 # double-quoted strings.
7321 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7323 # Same as above, but do not quote variable references.
7324 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7326 # Sed substitution to delay expansion of an escaped shell variable in a
7327 # double_quote_subst'ed string.
7328 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7330 # Sed substitution to delay expansion of an escaped single quote.
7331 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7333 # Sed substitution to avoid accidental globbing in evaled expressions
7334 no_glob_subst='s/\*/\\\*/g'
7336 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7337 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7338 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7341 $as_echo_n "checking how to print strings... " >&6; }
7342 # Test print first, because it will be a builtin if present.
7343 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7344 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7346 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7349 # Use this function as a fallback that always works.
7350 func_fallback_echo ()
7352 eval 'cat <<_LTECHO_EOF
7356 ECHO='func_fallback_echo'
7359 # func_echo_all arg...
7360 # Invoke $ECHO with all args, space-separated.
7367 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7368 $as_echo "printf" >&6; } ;;
7369 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7370 $as_echo "print -r" >&6; } ;;
7371 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7372 $as_echo "cat" >&6; } ;;
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7389 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7390 if ${ac_cv_path_SED+:} false; then :
7391 $as_echo_n "(cached) " >&6
7393 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7394 for ac_i in 1 2 3 4 5 6 7; do
7395 ac_script="$ac_script$as_nl$ac_script"
7397 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7398 { ac_script=; unset ac_script;}
7399 if test -z "$SED"; then
7400 ac_path_SED_found=false
7401 # Loop through the user's path and test for each of PROGNAME-LIST
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 test -z "$as_dir" && as_dir=.
7407 for ac_prog in sed gsed; do
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7410 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7411 # Check for GNU ac_path_SED and select it if it is found.
7412 # Check for GNU $ac_path_SED
7413 case `"$ac_path_SED" --version 2>&1` in
7415 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7418 $as_echo_n 0123456789 >"conftest.in"
7421 cat "conftest.in" "conftest.in" >"conftest.tmp"
7422 mv "conftest.tmp" "conftest.in"
7423 cp "conftest.in" "conftest.nl"
7424 $as_echo '' >> "conftest.nl"
7425 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7426 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7427 as_fn_arith $ac_count + 1 && ac_count=$as_val
7428 if test $ac_count -gt ${ac_path_SED_max-0}; then
7429 # Best one so far, save it but keep looking for a better one
7430 ac_cv_path_SED="$ac_path_SED"
7431 ac_path_SED_max=$ac_count
7433 # 10*(2^10) chars as input seems more than enough
7434 test $ac_count -gt 10 && break
7436 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7439 $ac_path_SED_found && break 3
7444 if test -z "$ac_cv_path_SED"; then
7445 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7453 $as_echo "$ac_cv_path_SED" >&6; }
7454 SED="$ac_cv_path_SED"
7457 test -z "$SED" && SED=sed
7458 Xsed="$SED -e 1s/^X//"
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7471 $as_echo_n "checking for fgrep... " >&6; }
7472 if ${ac_cv_path_FGREP+:} false; then :
7473 $as_echo_n "(cached) " >&6
7475 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7476 then ac_cv_path_FGREP="$GREP -F"
7478 if test -z "$FGREP"; then
7479 ac_path_FGREP_found=false
7480 # Loop through the user's path and test for each of PROGNAME-LIST
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7485 test -z "$as_dir" && as_dir=.
7486 for ac_prog in fgrep; do
7487 for ac_exec_ext in '' $ac_executable_extensions; do
7488 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7489 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7490 # Check for GNU ac_path_FGREP and select it if it is found.
7491 # Check for GNU $ac_path_FGREP
7492 case `"$ac_path_FGREP" --version 2>&1` in
7494 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7497 $as_echo_n 0123456789 >"conftest.in"
7500 cat "conftest.in" "conftest.in" >"conftest.tmp"
7501 mv "conftest.tmp" "conftest.in"
7502 cp "conftest.in" "conftest.nl"
7503 $as_echo 'FGREP' >> "conftest.nl"
7504 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7505 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7506 as_fn_arith $ac_count + 1 && ac_count=$as_val
7507 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7508 # Best one so far, save it but keep looking for a better one
7509 ac_cv_path_FGREP="$ac_path_FGREP"
7510 ac_path_FGREP_max=$ac_count
7512 # 10*(2^10) chars as input seems more than enough
7513 test $ac_count -gt 10 && break
7515 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7518 $ac_path_FGREP_found && break 3
7523 if test -z "$ac_cv_path_FGREP"; then
7524 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7527 ac_cv_path_FGREP=$FGREP
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7533 $as_echo "$ac_cv_path_FGREP" >&6; }
7534 FGREP="$ac_cv_path_FGREP"
7537 test -z "$GREP" && GREP=grep
7557 @%:@ Check whether --with-gnu-ld was given.
7558 if test "${with_gnu_ld+set}" = set; then :
7559 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7565 if test "$GCC" = yes; then
7566 # Check if gcc -print-prog-name=ld gives a path.
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7568 $as_echo_n "checking for ld used by $CC... " >&6; }
7571 # gcc leaves a trailing carriage return which upsets mingw
7572 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7574 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7577 # Accept absolute paths.
7579 re_direlt='/[^/][^/]*/\.\./'
7580 # Canonicalize the pathname of ld
7581 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7582 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7583 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7585 test -z "$LD" && LD="$ac_prog"
7588 # If it fails, then pretend we aren't using GCC.
7592 # If it is relative, then search for the first ld in PATH.
7596 elif test "$with_gnu_ld" = yes; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7598 $as_echo_n "checking for GNU ld... " >&6; }
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7601 $as_echo_n "checking for non-GNU ld... " >&6; }
7603 if ${lt_cv_path_LD+:} false; then :
7604 $as_echo_n "(cached) " >&6
7606 if test -z "$LD"; then
7607 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7608 for ac_dir in $PATH; do
7610 test -z "$ac_dir" && ac_dir=.
7611 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7612 lt_cv_path_LD="$ac_dir/$ac_prog"
7613 # Check to see if the program is GNU ld. I'd rather use --version,
7614 # but apparently some variants of GNU ld only accept -v.
7615 # Break only if it was the GNU/non-GNU ld that we prefer.
7616 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7617 *GNU* | *'with BFD'*)
7618 test "$with_gnu_ld" != no && break
7621 test "$with_gnu_ld" != yes && break
7628 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7633 if test -n "$LD"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7635 $as_echo "$LD" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7640 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7642 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7643 if ${lt_cv_prog_gnu_ld+:} false; then :
7644 $as_echo_n "(cached) " >&6
7646 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7647 case `$LD -v 2>&1 </dev/null` in
7648 *GNU* | *'with BFD'*)
7649 lt_cv_prog_gnu_ld=yes
7652 lt_cv_prog_gnu_ld=no
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7657 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7658 with_gnu_ld=$lt_cv_prog_gnu_ld
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7669 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7670 if ${lt_cv_path_NM+:} false; then :
7671 $as_echo_n "(cached) " >&6
7673 if test -n "$NM"; then
7674 # Let the user override the test.
7677 lt_nm_to_check="${ac_tool_prefix}nm"
7678 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7679 lt_nm_to_check="$lt_nm_to_check nm"
7681 for lt_tmp_nm in $lt_nm_to_check; do
7682 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7683 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7685 test -z "$ac_dir" && ac_dir=.
7686 tmp_nm="$ac_dir/$lt_tmp_nm"
7687 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7688 # Check to see if the nm accepts a BSD-compat flag.
7689 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7690 # nm: unknown option "B" ignored
7691 # Tru64's nm complains that /dev/null is an invalid object file
7692 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7693 */dev/null* | *'Invalid file or object type'*)
7694 lt_cv_path_NM="$tmp_nm -B"
7698 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7700 lt_cv_path_NM="$tmp_nm -p"
7704 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7705 continue # so that we can try to find one that supports BSD flags
7714 : ${lt_cv_path_NM=no}
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7718 $as_echo "$lt_cv_path_NM" >&6; }
7719 if test "$lt_cv_path_NM" != "no"; then
7722 # Didn't find any BSD compatible name lister, look for dumpbin.
7723 if test -n "$DUMPBIN"; then :
7724 # Let the user override the test.
7726 if test -n "$ac_tool_prefix"; then
7727 for ac_prog in dumpbin "link -dump"
7729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7730 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7732 $as_echo_n "checking for $ac_word... " >&6; }
7733 if ${ac_cv_prog_DUMPBIN+:} false; then :
7734 $as_echo_n "(cached) " >&6
7736 if test -n "$DUMPBIN"; then
7737 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7743 test -z "$as_dir" && as_dir=.
7744 for ac_exec_ext in '' $ac_executable_extensions; do
7745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7746 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7756 DUMPBIN=$ac_cv_prog_DUMPBIN
7757 if test -n "$DUMPBIN"; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7759 $as_echo "$DUMPBIN" >&6; }
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 $as_echo "no" >&6; }
7766 test -n "$DUMPBIN" && break
7769 if test -z "$DUMPBIN"; then
7770 ac_ct_DUMPBIN=$DUMPBIN
7771 for ac_prog in dumpbin "link -dump"
7773 # Extract the first word of "$ac_prog", so it can be a program name with args.
7774 set dummy $ac_prog; ac_word=$2
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7776 $as_echo_n "checking for $ac_word... " >&6; }
7777 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7778 $as_echo_n "(cached) " >&6
7780 if test -n "$ac_ct_DUMPBIN"; then
7781 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7787 test -z "$as_dir" && as_dir=.
7788 for ac_exec_ext in '' $ac_executable_extensions; do
7789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7790 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7800 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7801 if test -n "$ac_ct_DUMPBIN"; then
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7803 $as_echo "$ac_ct_DUMPBIN" >&6; }
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7806 $as_echo "no" >&6; }
7810 test -n "$ac_ct_DUMPBIN" && break
7813 if test "x$ac_ct_DUMPBIN" = x; then
7816 case $cross_compiling:$ac_tool_warned in
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7820 ac_tool_warned=yes ;;
7822 DUMPBIN=$ac_ct_DUMPBIN
7826 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7828 DUMPBIN="$DUMPBIN -symbols"
7836 if test "$DUMPBIN" != ":"; then
7840 test -z "$NM" && NM=nm
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7848 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7849 if ${lt_cv_nm_interface+:} false; then :
7850 $as_echo_n "(cached) " >&6
7852 lt_cv_nm_interface="BSD nm"
7853 echo "int some_variable = 0;" > conftest.$ac_ext
7854 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7855 (eval "$ac_compile" 2>conftest.err)
7856 cat conftest.err >&5
7857 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7858 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7859 cat conftest.err >&5
7860 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7861 cat conftest.out >&5
7862 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7863 lt_cv_nm_interface="MS dumpbin"
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7868 $as_echo "$lt_cv_nm_interface" >&6; }
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7871 $as_echo_n "checking whether ln -s works... " >&6; }
7873 if test "$LN_S" = "ln -s"; then
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7875 $as_echo "yes" >&6; }
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7878 $as_echo "no, using $LN_S" >&6; }
7881 # find the maximum length of command line arguments
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7883 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7884 if ${lt_cv_sys_max_cmd_len+:} false; then :
7885 $as_echo_n "(cached) " >&6
7892 # On DJGPP, this test can blow up pretty badly due to problems in libc
7893 # (any single argument exceeding 2000 bytes causes a buffer overrun
7894 # during glob expansion). Even if it were fixed, the result of this
7895 # check would be larger than it should be.
7896 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7900 # Under GNU Hurd, this test is not required because there is
7901 # no limit to the length of command line arguments.
7902 # Libtool will interpret -1 as no limit whatsoever
7903 lt_cv_sys_max_cmd_len=-1;
7906 cygwin* | mingw* | cegcc*)
7907 # On Win9x/ME, this test blows up -- it succeeds, but takes
7908 # about 5 minutes as the teststring grows exponentially.
7909 # Worse, since 9x/ME are not pre-emptively multitasking,
7910 # you end up with a "frozen" computer, even though with patience
7911 # the test eventually succeeds (with a max line length of 256k).
7912 # Instead, let's just punt: use the minimum linelength reported by
7913 # all of the supported platforms: 8192 (on NT/2K/XP).
7914 lt_cv_sys_max_cmd_len=8192;
7918 # On MiNT this can take a long time and run out of memory.
7919 lt_cv_sys_max_cmd_len=8192;
7923 # On AmigaOS with pdksh, this test takes hours, literally.
7924 # So we just punt and use a minimum line length of 8192.
7925 lt_cv_sys_max_cmd_len=8192;
7928 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7929 # This has been around since 386BSD, at least. Likely further.
7930 if test -x /sbin/sysctl; then
7931 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7932 elif test -x /usr/sbin/sysctl; then
7933 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7935 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7937 # And add a safety zone
7938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7939 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7943 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7944 lt_cv_sys_max_cmd_len=196608
7948 # The test takes a long time on OS/2.
7949 lt_cv_sys_max_cmd_len=8192
7953 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7954 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7955 # nice to cause kernel panics so lets avoid the loop below.
7956 # First set a reasonable default.
7957 lt_cv_sys_max_cmd_len=16384
7959 if test -x /sbin/sysconfig; then
7960 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7961 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7966 lt_cv_sys_max_cmd_len=102400
7968 sysv5* | sco5v6* | sysv4.2uw2*)
7969 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7970 if test -n "$kargmax"; then
7971 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7973 lt_cv_sys_max_cmd_len=32768
7977 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7978 if test -n "$lt_cv_sys_max_cmd_len"; then
7979 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7980 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7982 # Make teststring a little bigger before we do anything with it.
7983 # a 1K string should be a reasonable start.
7984 for i in 1 2 3 4 5 6 7 8 ; do
7985 teststring=$teststring$teststring
7987 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7988 # If test is not a shell built-in, we'll probably end up computing a
7989 # maximum length that is only half of the actual maximum length, but
7991 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
7992 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7993 test $i != 17 # 1/2 MB should be enough
7996 teststring=$teststring$teststring
7998 # Only check the string length outside the loop.
7999 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8001 # Add a significant safety factor because C++ compilers can tack on
8002 # massive amounts of additional arguments before passing them to the
8003 # linker. It appears as though 1/2 is a usable value.
8004 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8011 if test -n $lt_cv_sys_max_cmd_len ; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8013 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8016 $as_echo "none" >&6; }
8018 max_cmd_len=$lt_cv_sys_max_cmd_len
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8030 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8031 # Try some XSI features
8034 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
8036 && eval 'test $(( 1 + 1 )) -eq 2 \
8037 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8040 $as_echo "$xsi_shell" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8044 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8046 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8048 && lt_shell_append=yes
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8050 $as_echo "$lt_shell_append" >&6; }
8053 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8063 # test EBCDIC or ASCII
8064 case `echo X|tr X '\101'` in
8065 A) # ASCII based system
8066 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8067 lt_SP2NL='tr \040 \012'
8068 lt_NL2SP='tr \015\012 \040\040'
8070 *) # EBCDIC based system
8071 lt_SP2NL='tr \100 \n'
8072 lt_NL2SP='tr \r\n \100\100'
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8085 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8086 if ${lt_cv_to_host_file_cmd+:} false; then :
8087 $as_echo_n "(cached) " >&6
8092 *-*-mingw* ) # actually msys
8093 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8096 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8098 * ) # otherwise, assume *nix
8099 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8105 *-*-mingw* ) # actually msys
8106 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8109 lt_cv_to_host_file_cmd=func_convert_file_noop
8111 * ) # otherwise, assume *nix
8112 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8116 * ) # unhandled hosts (and "normal" native builds)
8117 lt_cv_to_host_file_cmd=func_convert_file_noop
8123 to_host_file_cmd=$lt_cv_to_host_file_cmd
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8125 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8132 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8133 if ${lt_cv_to_tool_file_cmd+:} false; then :
8134 $as_echo_n "(cached) " >&6
8136 #assume ordinary cross tools, or native build.
8137 lt_cv_to_tool_file_cmd=func_convert_file_noop
8141 *-*-mingw* ) # actually msys
8142 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8150 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8152 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8159 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8160 if ${lt_cv_ld_reload_flag+:} false; then :
8161 $as_echo_n "(cached) " >&6
8163 lt_cv_ld_reload_flag='-r'
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8166 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8167 reload_flag=$lt_cv_ld_reload_flag
8168 case $reload_flag in
8170 *) reload_flag=" $reload_flag" ;;
8172 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8174 cygwin* | mingw* | pw32* | cegcc*)
8175 if test "$GCC" != yes; then
8180 if test "$GCC" = yes; then
8181 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8183 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8196 if test -n "$ac_tool_prefix"; then
8197 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8198 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8200 $as_echo_n "checking for $ac_word... " >&6; }
8201 if ${ac_cv_prog_OBJDUMP+:} false; then :
8202 $as_echo_n "(cached) " >&6
8204 if test -n "$OBJDUMP"; then
8205 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211 test -z "$as_dir" && as_dir=.
8212 for ac_exec_ext in '' $ac_executable_extensions; do
8213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8214 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8224 OBJDUMP=$ac_cv_prog_OBJDUMP
8225 if test -n "$OBJDUMP"; then
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8227 $as_echo "$OBJDUMP" >&6; }
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8230 $as_echo "no" >&6; }
8235 if test -z "$ac_cv_prog_OBJDUMP"; then
8236 ac_ct_OBJDUMP=$OBJDUMP
8237 # Extract the first word of "objdump", so it can be a program name with args.
8238 set dummy objdump; ac_word=$2
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8240 $as_echo_n "checking for $ac_word... " >&6; }
8241 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8242 $as_echo_n "(cached) " >&6
8244 if test -n "$ac_ct_OBJDUMP"; then
8245 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8251 test -z "$as_dir" && as_dir=.
8252 for ac_exec_ext in '' $ac_executable_extensions; do
8253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8254 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8264 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8265 if test -n "$ac_ct_OBJDUMP"; then
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8267 $as_echo "$ac_ct_OBJDUMP" >&6; }
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8270 $as_echo "no" >&6; }
8273 if test "x$ac_ct_OBJDUMP" = x; then
8276 case $cross_compiling:$ac_tool_warned in
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8280 ac_tool_warned=yes ;;
8282 OBJDUMP=$ac_ct_OBJDUMP
8285 OBJDUMP="$ac_cv_prog_OBJDUMP"
8288 test -z "$OBJDUMP" && OBJDUMP=objdump
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8296 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8297 if ${lt_cv_deplibs_check_method+:} false; then :
8298 $as_echo_n "(cached) " >&6
8300 lt_cv_file_magic_cmd='$MAGIC_CMD'
8301 lt_cv_file_magic_test_file=
8302 lt_cv_deplibs_check_method='unknown'
8303 # Need to set the preceding variable on all platforms that support
8304 # interlibrary dependencies.
8305 # 'none' -- dependencies not supported.
8306 # `unknown' -- same as none, but documents that we really don't know.
8307 # 'pass_all' -- all dependencies passed with no checks.
8308 # 'test_compile' -- check by making test program.
8309 # 'file_magic [[regex]]' -- check by looking for files in library path
8310 # which responds to the $file_magic_cmd with a given extended regex.
8311 # If you have `file' or equivalent on your system and you're not sure
8312 # whether `pass_all' will *always* work, you probably want this one.
8316 lt_cv_deplibs_check_method=pass_all
8320 lt_cv_deplibs_check_method=pass_all
8324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8325 lt_cv_file_magic_cmd='/usr/bin/file -L'
8326 lt_cv_file_magic_test_file=/shlib/libc.so
8330 # func_win32_libid is a shell function defined in ltmain.sh
8331 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8332 lt_cv_file_magic_cmd='func_win32_libid'
8336 # Base MSYS/MinGW do not provide the 'file' command needed by
8337 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8338 # unless we find 'file', for example because we are cross-compiling.
8339 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8340 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
8341 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8342 lt_cv_file_magic_cmd='func_win32_libid'
8344 # Keep this pattern in sync with the one in func_win32_libid.
8345 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8346 lt_cv_file_magic_cmd='$OBJDUMP -f'
8351 # use the weaker test based on 'objdump'. See mingw*.
8352 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8353 lt_cv_file_magic_cmd='$OBJDUMP -f'
8356 darwin* | rhapsody*)
8357 lt_cv_deplibs_check_method=pass_all
8360 freebsd* | dragonfly*)
8361 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8364 # Not sure whether the presence of OpenBSD here was a mistake.
8365 # Let's accept both of them until this is cleared up.
8366 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8367 lt_cv_file_magic_cmd=/usr/bin/file
8368 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8372 lt_cv_deplibs_check_method=pass_all
8377 lt_cv_deplibs_check_method=pass_all
8381 lt_cv_deplibs_check_method=pass_all
8384 hpux10.20* | hpux11*)
8385 lt_cv_file_magic_cmd=/usr/bin/file
8388 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8389 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8392 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]'
8393 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8396 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8397 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8403 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8404 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8407 irix5* | irix6* | nonstopux*)
8409 *-32|*"-32 ") libmagic=32-bit;;
8410 *-n32|*"-n32 ") libmagic=N32;;
8411 *-64|*"-64 ") libmagic=64-bit;;
8412 *) libmagic=never-match;;
8414 lt_cv_deplibs_check_method=pass_all
8417 # This must be glibc/ELF.
8418 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8419 lt_cv_deplibs_check_method=pass_all
8422 netbsd* | netbsdelf*-gnu)
8423 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8426 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8431 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8432 lt_cv_file_magic_cmd=/usr/bin/file
8433 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8437 lt_cv_deplibs_check_method=pass_all
8441 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8444 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8448 osf3* | osf4* | osf5*)
8449 lt_cv_deplibs_check_method=pass_all
8453 lt_cv_deplibs_check_method=pass_all
8457 lt_cv_deplibs_check_method=pass_all
8460 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8461 lt_cv_deplibs_check_method=pass_all
8465 case $host_vendor in
8467 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]'
8468 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8471 lt_cv_deplibs_check_method=pass_all
8474 lt_cv_file_magic_cmd='/bin/file'
8475 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8478 lt_cv_file_magic_cmd='/bin/file'
8479 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8480 lt_cv_file_magic_test_file=/lib/libc.so
8483 lt_cv_deplibs_check_method=pass_all
8486 lt_cv_deplibs_check_method=pass_all
8492 lt_cv_deplibs_check_method=pass_all
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8498 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8502 if test "$build" = "$host"; then
8505 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8508 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8514 file_magic_cmd=$lt_cv_file_magic_cmd
8515 deplibs_check_method=$lt_cv_deplibs_check_method
8516 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8539 if test -n "$ac_tool_prefix"; then
8540 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8541 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8543 $as_echo_n "checking for $ac_word... " >&6; }
8544 if ${ac_cv_prog_DLLTOOL+:} false; then :
8545 $as_echo_n "(cached) " >&6
8547 if test -n "$DLLTOOL"; then
8548 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8554 test -z "$as_dir" && as_dir=.
8555 for ac_exec_ext in '' $ac_executable_extensions; do
8556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8557 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8567 DLLTOOL=$ac_cv_prog_DLLTOOL
8568 if test -n "$DLLTOOL"; then
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8570 $as_echo "$DLLTOOL" >&6; }
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8573 $as_echo "no" >&6; }
8578 if test -z "$ac_cv_prog_DLLTOOL"; then
8579 ac_ct_DLLTOOL=$DLLTOOL
8580 # Extract the first word of "dlltool", so it can be a program name with args.
8581 set dummy dlltool; ac_word=$2
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8583 $as_echo_n "checking for $ac_word... " >&6; }
8584 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8585 $as_echo_n "(cached) " >&6
8587 if test -n "$ac_ct_DLLTOOL"; then
8588 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8594 test -z "$as_dir" && as_dir=.
8595 for ac_exec_ext in '' $ac_executable_extensions; do
8596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8597 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8607 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8608 if test -n "$ac_ct_DLLTOOL"; then
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8610 $as_echo "$ac_ct_DLLTOOL" >&6; }
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8613 $as_echo "no" >&6; }
8616 if test "x$ac_ct_DLLTOOL" = x; then
8619 case $cross_compiling:$ac_tool_warned in
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8623 ac_tool_warned=yes ;;
8625 DLLTOOL=$ac_ct_DLLTOOL
8628 DLLTOOL="$ac_cv_prog_DLLTOOL"
8631 test -z "$DLLTOOL" && DLLTOOL=dlltool
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8640 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8641 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8642 $as_echo_n "(cached) " >&6
8644 lt_cv_sharedlib_from_linklib_cmd='unknown'
8647 cygwin* | mingw* | pw32* | cegcc*)
8648 # two different shell functions defined in ltmain.sh
8649 # decide which to use based on capabilities of $DLLTOOL
8650 case `$DLLTOOL --help 2>&1` in
8651 *--identify-strict*)
8652 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8655 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8660 # fallback: assume linklib IS sharedlib
8661 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8667 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8668 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8669 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8677 if test -n "$ac_tool_prefix"; then
8680 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8681 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8683 $as_echo_n "checking for $ac_word... " >&6; }
8684 if ${ac_cv_prog_AR+:} false; then :
8685 $as_echo_n "(cached) " >&6
8687 if test -n "$AR"; then
8688 ac_cv_prog_AR="$AR" # Let the user override the test.
8690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8694 test -z "$as_dir" && as_dir=.
8695 for ac_exec_ext in '' $ac_executable_extensions; do
8696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8697 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8708 if test -n "$AR"; then
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8710 $as_echo "$AR" >&6; }
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8713 $as_echo "no" >&6; }
8717 test -n "$AR" && break
8720 if test -z "$AR"; then
8724 # Extract the first word of "$ac_prog", so it can be a program name with args.
8725 set dummy $ac_prog; ac_word=$2
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8727 $as_echo_n "checking for $ac_word... " >&6; }
8728 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8729 $as_echo_n "(cached) " >&6
8731 if test -n "$ac_ct_AR"; then
8732 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8738 test -z "$as_dir" && as_dir=.
8739 for ac_exec_ext in '' $ac_executable_extensions; do
8740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8741 ac_cv_prog_ac_ct_AR="$ac_prog"
8742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8751 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8752 if test -n "$ac_ct_AR"; then
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8754 $as_echo "$ac_ct_AR" >&6; }
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8757 $as_echo "no" >&6; }
8761 test -n "$ac_ct_AR" && break
8764 if test "x$ac_ct_AR" = x; then
8767 case $cross_compiling:$ac_tool_warned in
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8771 ac_tool_warned=yes ;;
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8791 $as_echo_n "checking for archiver @FILE support... " >&6; }
8792 if ${lt_cv_ar_at_file+:} false; then :
8793 $as_echo_n "(cached) " >&6
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8807 if ac_fn_c_try_compile "$LINENO"; then :
8808 echo conftest.$ac_objext > conftest.lst
8809 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8810 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8811 (eval $lt_ar_try) 2>&5
8813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8814 test $ac_status = 0; }
8815 if test "$ac_status" -eq 0; then
8816 # Ensure the archiver fails upon bogus file names.
8817 rm -f conftest.$ac_objext libconftest.a
8818 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8819 (eval $lt_ar_try) 2>&5
8821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8822 test $ac_status = 0; }
8823 if test "$ac_status" -ne 0; then
8827 rm -f conftest.* libconftest.a
8830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8834 $as_echo "$lt_cv_ar_at_file" >&6; }
8836 if test "x$lt_cv_ar_at_file" = xno; then
8839 archiver_list_spec=$lt_cv_ar_at_file
8848 if test -n "$ac_tool_prefix"; then
8849 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8850 set dummy ${ac_tool_prefix}strip; ac_word=$2
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8852 $as_echo_n "checking for $ac_word... " >&6; }
8853 if ${ac_cv_prog_STRIP+:} false; then :
8854 $as_echo_n "(cached) " >&6
8856 if test -n "$STRIP"; then
8857 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8863 test -z "$as_dir" && as_dir=.
8864 for ac_exec_ext in '' $ac_executable_extensions; do
8865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8866 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8876 STRIP=$ac_cv_prog_STRIP
8877 if test -n "$STRIP"; then
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8879 $as_echo "$STRIP" >&6; }
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8887 if test -z "$ac_cv_prog_STRIP"; then
8889 # Extract the first word of "strip", so it can be a program name with args.
8890 set dummy strip; ac_word=$2
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8892 $as_echo_n "checking for $ac_word... " >&6; }
8893 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8894 $as_echo_n "(cached) " >&6
8896 if test -n "$ac_ct_STRIP"; then
8897 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8903 test -z "$as_dir" && as_dir=.
8904 for ac_exec_ext in '' $ac_executable_extensions; do
8905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8906 ac_cv_prog_ac_ct_STRIP="strip"
8907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8916 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8917 if test -n "$ac_ct_STRIP"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8919 $as_echo "$ac_ct_STRIP" >&6; }
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8925 if test "x$ac_ct_STRIP" = x; then
8928 case $cross_compiling:$ac_tool_warned in
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8932 ac_tool_warned=yes ;;
8937 STRIP="$ac_cv_prog_STRIP"
8940 test -z "$STRIP" && STRIP=:
8947 if test -n "$ac_tool_prefix"; then
8948 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8949 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8951 $as_echo_n "checking for $ac_word... " >&6; }
8952 if ${ac_cv_prog_RANLIB+:} false; then :
8953 $as_echo_n "(cached) " >&6
8955 if test -n "$RANLIB"; then
8956 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8962 test -z "$as_dir" && as_dir=.
8963 for ac_exec_ext in '' $ac_executable_extensions; do
8964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8965 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8975 RANLIB=$ac_cv_prog_RANLIB
8976 if test -n "$RANLIB"; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8978 $as_echo "$RANLIB" >&6; }
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8981 $as_echo "no" >&6; }
8986 if test -z "$ac_cv_prog_RANLIB"; then
8987 ac_ct_RANLIB=$RANLIB
8988 # Extract the first word of "ranlib", so it can be a program name with args.
8989 set dummy ranlib; ac_word=$2
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8991 $as_echo_n "checking for $ac_word... " >&6; }
8992 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8993 $as_echo_n "(cached) " >&6
8995 if test -n "$ac_ct_RANLIB"; then
8996 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9002 test -z "$as_dir" && as_dir=.
9003 for ac_exec_ext in '' $ac_executable_extensions; do
9004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9005 ac_cv_prog_ac_ct_RANLIB="ranlib"
9006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9015 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9016 if test -n "$ac_ct_RANLIB"; then
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9018 $as_echo "$ac_ct_RANLIB" >&6; }
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9021 $as_echo "no" >&6; }
9024 if test "x$ac_ct_RANLIB" = x; then
9027 case $cross_compiling:$ac_tool_warned in
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9031 ac_tool_warned=yes ;;
9033 RANLIB=$ac_ct_RANLIB
9036 RANLIB="$ac_cv_prog_RANLIB"
9039 test -z "$RANLIB" && RANLIB=:
9046 # Determine commands to create old-style static archives.
9047 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9048 old_postinstall_cmds='chmod 644 $oldlib'
9049 old_postuninstall_cmds=
9051 if test -n "$RANLIB"; then
9054 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9057 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9060 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9065 lock_old_archive_extraction=yes ;;
9067 lock_old_archive_extraction=no ;;
9108 # If no C compiler was specified, use CC.
9111 # If no C compiler flags were specified, use CFLAGS.
9112 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9114 # Allow CC to be a program name with arguments.
9118 # Check for command to grab the raw symbol name followed by C symbol from nm.
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9120 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9121 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9122 $as_echo_n "(cached) " >&6
9125 # These are sane defaults that work on at least a few old systems.
9126 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9128 # Character class describing NM global symbol codes.
9129 symcode='[BCDEGRST]'
9131 # Regexp to match symbols that can be accessed directly from C.
9132 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9134 # Define system-specific variables.
9139 cygwin* | mingw* | pw32* | cegcc*)
9140 symcode='[ABCDGISTW]'
9143 if test "$host_cpu" = ia64; then
9144 symcode='[ABCDEGRST]'
9148 symcode='[BCDEGRST]'
9151 symcode='[BCDEGQRST]'
9162 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9170 # If we're using GNU nm, then use its standard symbol codes.
9171 case `$NM -V 2>&1` in
9172 *GNU* | *'with BFD'*)
9173 symcode='[ABCDGIRSTW]' ;;
9176 # Transform an extracted symbol line into a proper C declaration.
9177 # Some systems (esp. on ia64) link data and code symbols differently,
9178 # so use this general approach.
9179 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9181 # Transform an extracted symbol line into symbol name and symbol address
9182 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9183 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'"
9185 # Handle CRLF in mingw tool chain
9189 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9193 # Try without a prefix underscore, then with it.
9194 for ac_symprfx in "" "_"; do
9196 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9197 symxfrm="\\1 $ac_symprfx\\2 \\2"
9199 # Write the raw and C identifiers.
9200 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9201 # Fake it for dumpbin and say T for any non-static function
9202 # and D for any global variable.
9203 # Also find C++ and __fastcall symbols from MSVC++,
9204 # which start with @ or ?.
9205 lt_cv_sys_global_symbol_pipe="$AWK '"\
9206 " {last_section=section; section=\$ 3};"\
9207 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9208 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9209 " \$ 0!~/External *\|/{next};"\
9210 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9211 " {if(hide[section]) next};"\
9212 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9213 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9214 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
9215 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9216 " ' prfx=^$ac_symprfx"
9218 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9220 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9222 # Check to see that the pipe works correctly.
9226 cat > conftest.$ac_ext <<_LT_EOF
9231 void nm_test_func(void);
9232 void nm_test_func(void){}
9236 int main(){nm_test_var='a';nm_test_func();return(0);}
9239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9240 (eval $ac_compile) 2>&5
9242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9243 test $ac_status = 0; }; then
9244 # Now try to grab the symbols.
9246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9247 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9250 test $ac_status = 0; } && test -s "$nlist"; then
9251 # Try sorting and uniquifying the output.
9252 if sort "$nlist" | uniq > "$nlist"T; then
9253 mv -f "$nlist"T "$nlist"
9258 # Make sure that we snagged all the symbols we need.
9259 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9260 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9261 cat <<_LT_EOF > conftest.$ac_ext
9262 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9263 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9264 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9265 relocations are performed -- see ld's documentation on pseudo-relocs. */
9266 # define LT@&t@_DLSYM_CONST
9267 #elif defined(__osf__)
9268 /* This system does not cope well with relocations in const data. */
9269 # define LT@&t@_DLSYM_CONST
9271 # define LT@&t@_DLSYM_CONST const
9279 # Now generate the symbol file.
9280 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9282 cat <<_LT_EOF >> conftest.$ac_ext
9284 /* The mapping between symbol names and symbols. */
9285 LT@&t@_DLSYM_CONST struct {
9289 lt__PROGRAM__LTX_preloaded_symbols[] =
9291 { "@PROGRAM@", (void *) 0 },
9293 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9294 cat <<\_LT_EOF >> conftest.$ac_ext
9298 /* This works around a problem in FreeBSD linker */
9299 #ifdef FREEBSD_WORKAROUND
9300 static const void *lt_preloaded_setup() {
9301 return lt__PROGRAM__LTX_preloaded_symbols;
9309 # Now try linking the two files.
9310 mv conftest.$ac_objext conftstm.$ac_objext
9311 lt_globsym_save_LIBS=$LIBS
9312 lt_globsym_save_CFLAGS=$CFLAGS
9313 LIBS="conftstm.$ac_objext"
9314 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9316 (eval $ac_link) 2>&5
9318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9319 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9322 LIBS=$lt_globsym_save_LIBS
9323 CFLAGS=$lt_globsym_save_CFLAGS
9325 echo "cannot find nm_test_func in $nlist" >&5
9328 echo "cannot find nm_test_var in $nlist" >&5
9331 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9334 echo "$progname: failed program was:" >&5
9335 cat conftest.$ac_ext >&5
9337 rm -rf conftest* conftst*
9339 # Do not use the global_symbol_pipe unless it works.
9340 if test "$pipe_works" = yes; then
9343 lt_cv_sys_global_symbol_pipe=
9349 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9350 lt_cv_sys_global_symbol_to_cdecl=
9352 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9354 $as_echo "failed" >&6; }
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9357 $as_echo "ok" >&6; }
9360 # Response file support.
9361 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9362 nm_file_list_spec='@'
9363 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9364 nm_file_list_spec='@'
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9394 $as_echo_n "checking for sysroot... " >&6; }
9396 @%:@ Check whether --with-sysroot was given.
9397 if test "${with_sysroot+set}" = set; then :
9398 withval=$with_sysroot;
9405 case ${with_sysroot} in #(
9407 if test "$GCC" = yes; then
9408 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9412 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9418 $as_echo "${with_sysroot}" >&6; }
9419 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9424 $as_echo "${lt_sysroot:-no}" >&6; }
9430 @%:@ Check whether --enable-libtool-lock was given.
9431 if test "${enable_libtool_lock+set}" = set; then :
9432 enableval=$enable_libtool_lock;
9435 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9437 # Some flags need to be propagated to the compiler or linker for good
9441 # Find out which ABI we are using.
9442 echo 'int i;' > conftest.$ac_ext
9443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9444 (eval $ac_compile) 2>&5
9446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9447 test $ac_status = 0; }; then
9448 case `/usr/bin/file conftest.$ac_objext` in
9460 # Find out which ABI we are using.
9461 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9463 (eval $ac_compile) 2>&5
9465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9466 test $ac_status = 0; }; then
9467 if test "$lt_cv_prog_gnu_ld" = yes; then
9468 case `/usr/bin/file conftest.$ac_objext` in
9470 LD="${LD-ld} -melf32bsmip"
9473 LD="${LD-ld} -melf32bmipn32"
9476 LD="${LD-ld} -melf64bmip"
9480 case `/usr/bin/file conftest.$ac_objext` in
9496 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9497 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9498 # Find out which ABI we are using.
9499 echo 'int i;' > conftest.$ac_ext
9500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9501 (eval $ac_compile) 2>&5
9503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9504 test $ac_status = 0; }; then
9505 case `/usr/bin/file conftest.o` in
9508 x86_64-*kfreebsd*-gnu)
9509 LD="${LD-ld} -m elf_i386_fbsd"
9512 LD="${LD-ld} -m elf_i386"
9514 ppc64-*linux*|powerpc64-*linux*)
9515 LD="${LD-ld} -m elf32ppclinux"
9518 LD="${LD-ld} -m elf_s390"
9521 LD="${LD-ld} -m elf32_sparc"
9527 x86_64-*kfreebsd*-gnu)
9528 LD="${LD-ld} -m elf_x86_64_fbsd"
9531 LD="${LD-ld} -m elf_x86_64"
9533 ppc*-*linux*|powerpc*-*linux*)
9534 LD="${LD-ld} -m elf64ppc"
9536 s390*-*linux*|s390*-*tpf*)
9537 LD="${LD-ld} -m elf64_s390"
9540 LD="${LD-ld} -m elf64_sparc"
9550 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9551 SAVE_CFLAGS="$CFLAGS"
9552 CFLAGS="$CFLAGS -belf"
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9554 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9555 if ${lt_cv_cc_needs_belf+:} false; then :
9556 $as_echo_n "(cached) " >&6
9559 ac_cpp='$CPP $CPPFLAGS'
9560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9575 if ac_fn_c_try_link "$LINENO"; then :
9576 lt_cv_cc_needs_belf=yes
9578 lt_cv_cc_needs_belf=no
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9583 ac_cpp='$CPP $CPPFLAGS'
9584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9590 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9591 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9592 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9593 CFLAGS="$SAVE_CFLAGS"
9597 # Find out which ABI we are using.
9598 echo 'int i;' > conftest.$ac_ext
9599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9600 (eval $ac_compile) 2>&5
9602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9603 test $ac_status = 0; }; then
9604 case `/usr/bin/file conftest.o` in
9606 case $lt_cv_prog_gnu_ld in
9610 LD="${LD-ld} -m elf_x86_64"
9613 LD="${LD-ld} -m elf64_sparc"
9616 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9617 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9622 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9634 need_locks="$enable_libtool_lock"
9636 if test -n "$ac_tool_prefix"; then
9637 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9638 set dummy ${ac_tool_prefix}mt; ac_word=$2
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9640 $as_echo_n "checking for $ac_word... " >&6; }
9641 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9642 $as_echo_n "(cached) " >&6
9644 if test -n "$MANIFEST_TOOL"; then
9645 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9651 test -z "$as_dir" && as_dir=.
9652 for ac_exec_ext in '' $ac_executable_extensions; do
9653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9654 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9664 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9665 if test -n "$MANIFEST_TOOL"; then
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9667 $as_echo "$MANIFEST_TOOL" >&6; }
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9670 $as_echo "no" >&6; }
9675 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9676 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9677 # Extract the first word of "mt", so it can be a program name with args.
9678 set dummy mt; ac_word=$2
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9680 $as_echo_n "checking for $ac_word... " >&6; }
9681 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9682 $as_echo_n "(cached) " >&6
9684 if test -n "$ac_ct_MANIFEST_TOOL"; then
9685 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9691 test -z "$as_dir" && as_dir=.
9692 for ac_exec_ext in '' $ac_executable_extensions; do
9693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9694 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9704 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9705 if test -n "$ac_ct_MANIFEST_TOOL"; then
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9707 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9710 $as_echo "no" >&6; }
9713 if test "x$ac_ct_MANIFEST_TOOL" = x; then
9716 case $cross_compiling:$ac_tool_warned in
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9720 ac_tool_warned=yes ;;
9722 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9725 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9728 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9730 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9731 if ${lt_cv_path_mainfest_tool+:} false; then :
9732 $as_echo_n "(cached) " >&6
9734 lt_cv_path_mainfest_tool=no
9735 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9736 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9737 cat conftest.err >&5
9738 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9739 lt_cv_path_mainfest_tool=yes
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9744 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9745 if test "x$lt_cv_path_mainfest_tool" != xyes; then
9755 rhapsody* | darwin*)
9756 if test -n "$ac_tool_prefix"; then
9757 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9758 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9760 $as_echo_n "checking for $ac_word... " >&6; }
9761 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9762 $as_echo_n "(cached) " >&6
9764 if test -n "$DSYMUTIL"; then
9765 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9771 test -z "$as_dir" && as_dir=.
9772 for ac_exec_ext in '' $ac_executable_extensions; do
9773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9774 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9784 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9785 if test -n "$DSYMUTIL"; then
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9787 $as_echo "$DSYMUTIL" >&6; }
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9790 $as_echo "no" >&6; }
9795 if test -z "$ac_cv_prog_DSYMUTIL"; then
9796 ac_ct_DSYMUTIL=$DSYMUTIL
9797 # Extract the first word of "dsymutil", so it can be a program name with args.
9798 set dummy dsymutil; ac_word=$2
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9800 $as_echo_n "checking for $ac_word... " >&6; }
9801 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9802 $as_echo_n "(cached) " >&6
9804 if test -n "$ac_ct_DSYMUTIL"; then
9805 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9811 test -z "$as_dir" && as_dir=.
9812 for ac_exec_ext in '' $ac_executable_extensions; do
9813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9814 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9824 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9825 if test -n "$ac_ct_DSYMUTIL"; then
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9827 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9830 $as_echo "no" >&6; }
9833 if test "x$ac_ct_DSYMUTIL" = x; then
9836 case $cross_compiling:$ac_tool_warned in
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9840 ac_tool_warned=yes ;;
9842 DSYMUTIL=$ac_ct_DSYMUTIL
9845 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9848 if test -n "$ac_tool_prefix"; then
9849 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9850 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9852 $as_echo_n "checking for $ac_word... " >&6; }
9853 if ${ac_cv_prog_NMEDIT+:} false; then :
9854 $as_echo_n "(cached) " >&6
9856 if test -n "$NMEDIT"; then
9857 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9863 test -z "$as_dir" && as_dir=.
9864 for ac_exec_ext in '' $ac_executable_extensions; do
9865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9866 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9876 NMEDIT=$ac_cv_prog_NMEDIT
9877 if test -n "$NMEDIT"; then
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9879 $as_echo "$NMEDIT" >&6; }
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9882 $as_echo "no" >&6; }
9887 if test -z "$ac_cv_prog_NMEDIT"; then
9888 ac_ct_NMEDIT=$NMEDIT
9889 # Extract the first word of "nmedit", so it can be a program name with args.
9890 set dummy nmedit; ac_word=$2
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9892 $as_echo_n "checking for $ac_word... " >&6; }
9893 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9894 $as_echo_n "(cached) " >&6
9896 if test -n "$ac_ct_NMEDIT"; then
9897 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9903 test -z "$as_dir" && as_dir=.
9904 for ac_exec_ext in '' $ac_executable_extensions; do
9905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9906 ac_cv_prog_ac_ct_NMEDIT="nmedit"
9907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9916 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9917 if test -n "$ac_ct_NMEDIT"; then
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9919 $as_echo "$ac_ct_NMEDIT" >&6; }
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9922 $as_echo "no" >&6; }
9925 if test "x$ac_ct_NMEDIT" = x; then
9928 case $cross_compiling:$ac_tool_warned in
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9932 ac_tool_warned=yes ;;
9934 NMEDIT=$ac_ct_NMEDIT
9937 NMEDIT="$ac_cv_prog_NMEDIT"
9940 if test -n "$ac_tool_prefix"; then
9941 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9942 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9944 $as_echo_n "checking for $ac_word... " >&6; }
9945 if ${ac_cv_prog_LIPO+:} false; then :
9946 $as_echo_n "(cached) " >&6
9948 if test -n "$LIPO"; then
9949 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9955 test -z "$as_dir" && as_dir=.
9956 for ac_exec_ext in '' $ac_executable_extensions; do
9957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9958 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9968 LIPO=$ac_cv_prog_LIPO
9969 if test -n "$LIPO"; then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9971 $as_echo "$LIPO" >&6; }
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9974 $as_echo "no" >&6; }
9979 if test -z "$ac_cv_prog_LIPO"; then
9981 # Extract the first word of "lipo", so it can be a program name with args.
9982 set dummy lipo; ac_word=$2
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9984 $as_echo_n "checking for $ac_word... " >&6; }
9985 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9986 $as_echo_n "(cached) " >&6
9988 if test -n "$ac_ct_LIPO"; then
9989 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9995 test -z "$as_dir" && as_dir=.
9996 for ac_exec_ext in '' $ac_executable_extensions; do
9997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9998 ac_cv_prog_ac_ct_LIPO="lipo"
9999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10008 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10009 if test -n "$ac_ct_LIPO"; then
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10011 $as_echo "$ac_ct_LIPO" >&6; }
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10014 $as_echo "no" >&6; }
10017 if test "x$ac_ct_LIPO" = x; then
10020 case $cross_compiling:$ac_tool_warned in
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10024 ac_tool_warned=yes ;;
10029 LIPO="$ac_cv_prog_LIPO"
10032 if test -n "$ac_tool_prefix"; then
10033 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10034 set dummy ${ac_tool_prefix}otool; ac_word=$2
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10036 $as_echo_n "checking for $ac_word... " >&6; }
10037 if ${ac_cv_prog_OTOOL+:} false; then :
10038 $as_echo_n "(cached) " >&6
10040 if test -n "$OTOOL"; then
10041 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10044 for as_dir in $PATH
10047 test -z "$as_dir" && as_dir=.
10048 for ac_exec_ext in '' $ac_executable_extensions; do
10049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10050 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10060 OTOOL=$ac_cv_prog_OTOOL
10061 if test -n "$OTOOL"; then
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10063 $as_echo "$OTOOL" >&6; }
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10066 $as_echo "no" >&6; }
10071 if test -z "$ac_cv_prog_OTOOL"; then
10073 # Extract the first word of "otool", so it can be a program name with args.
10074 set dummy otool; ac_word=$2
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10076 $as_echo_n "checking for $ac_word... " >&6; }
10077 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10078 $as_echo_n "(cached) " >&6
10080 if test -n "$ac_ct_OTOOL"; then
10081 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10084 for as_dir in $PATH
10087 test -z "$as_dir" && as_dir=.
10088 for ac_exec_ext in '' $ac_executable_extensions; do
10089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10090 ac_cv_prog_ac_ct_OTOOL="otool"
10091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10100 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10101 if test -n "$ac_ct_OTOOL"; then
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10103 $as_echo "$ac_ct_OTOOL" >&6; }
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10106 $as_echo "no" >&6; }
10109 if test "x$ac_ct_OTOOL" = x; then
10112 case $cross_compiling:$ac_tool_warned in
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10116 ac_tool_warned=yes ;;
10121 OTOOL="$ac_cv_prog_OTOOL"
10124 if test -n "$ac_tool_prefix"; then
10125 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10126 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10128 $as_echo_n "checking for $ac_word... " >&6; }
10129 if ${ac_cv_prog_OTOOL64+:} false; then :
10130 $as_echo_n "(cached) " >&6
10132 if test -n "$OTOOL64"; then
10133 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10136 for as_dir in $PATH
10139 test -z "$as_dir" && as_dir=.
10140 for ac_exec_ext in '' $ac_executable_extensions; do
10141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10142 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10152 OTOOL64=$ac_cv_prog_OTOOL64
10153 if test -n "$OTOOL64"; then
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10155 $as_echo "$OTOOL64" >&6; }
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10158 $as_echo "no" >&6; }
10163 if test -z "$ac_cv_prog_OTOOL64"; then
10164 ac_ct_OTOOL64=$OTOOL64
10165 # Extract the first word of "otool64", so it can be a program name with args.
10166 set dummy otool64; ac_word=$2
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10168 $as_echo_n "checking for $ac_word... " >&6; }
10169 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10170 $as_echo_n "(cached) " >&6
10172 if test -n "$ac_ct_OTOOL64"; then
10173 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10176 for as_dir in $PATH
10179 test -z "$as_dir" && as_dir=.
10180 for ac_exec_ext in '' $ac_executable_extensions; do
10181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10182 ac_cv_prog_ac_ct_OTOOL64="otool64"
10183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10192 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10193 if test -n "$ac_ct_OTOOL64"; then
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10195 $as_echo "$ac_ct_OTOOL64" >&6; }
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10198 $as_echo "no" >&6; }
10201 if test "x$ac_ct_OTOOL64" = x; then
10204 case $cross_compiling:$ac_tool_warned in
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10208 ac_tool_warned=yes ;;
10210 OTOOL64=$ac_ct_OTOOL64
10213 OTOOL64="$ac_cv_prog_OTOOL64"
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10243 $as_echo_n "checking for -single_module linker flag... " >&6; }
10244 if ${lt_cv_apple_cc_single_mod+:} false; then :
10245 $as_echo_n "(cached) " >&6
10247 lt_cv_apple_cc_single_mod=no
10248 if test -z "${LT_MULTI_MODULE}"; then
10249 # By default we will add the -single_module flag. You can override
10250 # by either setting the environment variable LT_MULTI_MODULE
10251 # non-empty at configure time, or by adding -multi_module to the
10253 rm -rf libconftest.dylib*
10254 echo "int foo(void){return 1;}" > conftest.c
10255 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10256 -dynamiclib -Wl,-single_module conftest.c" >&5
10257 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10258 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10260 # If there is a non-empty error log, and "single_module"
10261 # appears in it, assume the flag caused a linker warning
10262 if test -s conftest.err && $GREP single_module conftest.err; then
10263 cat conftest.err >&5
10264 # Otherwise, if the output was created with a 0 exit code from
10265 # the compiler, it worked.
10266 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
10267 lt_cv_apple_cc_single_mod=yes
10269 cat conftest.err >&5
10271 rm -rf libconftest.dylib*
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10276 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10279 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10280 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10281 $as_echo_n "(cached) " >&6
10283 lt_cv_ld_exported_symbols_list=no
10284 save_LDFLAGS=$LDFLAGS
10285 echo "_main" > conftest.sym
10286 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10298 if ac_fn_c_try_link "$LINENO"; then :
10299 lt_cv_ld_exported_symbols_list=yes
10301 lt_cv_ld_exported_symbols_list=no
10303 rm -f core conftest.err conftest.$ac_objext \
10304 conftest$ac_exeext conftest.$ac_ext
10305 LDFLAGS="$save_LDFLAGS"
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10309 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10312 $as_echo_n "checking for -force_load linker flag... " >&6; }
10313 if ${lt_cv_ld_force_load+:} false; then :
10314 $as_echo_n "(cached) " >&6
10316 lt_cv_ld_force_load=no
10317 cat > conftest.c << _LT_EOF
10318 int forced_loaded() { return 2;}
10320 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10321 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10322 echo "$AR cru libconftest.a conftest.o" >&5
10323 $AR cru libconftest.a conftest.o 2>&5
10324 echo "$RANLIB libconftest.a" >&5
10325 $RANLIB libconftest.a 2>&5
10326 cat > conftest.c << _LT_EOF
10327 int main() { return 0;}
10329 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10330 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10332 if test -s conftest.err && $GREP force_load conftest.err; then
10333 cat conftest.err >&5
10334 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
10335 lt_cv_ld_force_load=yes
10337 cat conftest.err >&5
10339 rm -f conftest.err libconftest.a conftest conftest.c
10340 rm -rf conftest.dSYM
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10344 $as_echo "$lt_cv_ld_force_load" >&6; }
10346 rhapsody* | darwin1.[012])
10347 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10349 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10350 darwin*) # darwin 5.x on
10351 # if running on 10.5 or later, the deployment target defaults
10352 # to the OS version, if on x86, and 10.4, the deployment
10353 # target defaults to 10.4. Don't you love it?
10354 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10355 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10356 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10358 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10360 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10364 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10365 _lt_dar_single_mod='$single_module'
10367 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10368 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10370 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10372 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10373 _lt_dsymutil='~$DSYMUTIL $lib || :'
10380 for ac_header in dlfcn.h
10382 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10384 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10385 cat >>confdefs.h <<_ACEOF
10386 @%:@define HAVE_DLFCN_H 1
10395 func_stripname_cnf ()
10398 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10399 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10401 } # func_stripname_cnf
10415 @%:@ Check whether --enable-shared was given.
10416 if test "${enable_shared+set}" = set; then :
10417 enableval=$enable_shared; p=${PACKAGE-default}
10419 yes) enable_shared=yes ;;
10420 no) enable_shared=no ;;
10423 # Look at the argument we got. We use all the common list separators.
10424 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10425 for pkg in $enableval; do
10427 if test "X$pkg" = "X$p"; then
10448 @%:@ Check whether --with-pic was given.
10449 if test "${with_pic+set}" = set; then :
10450 withval=$with_pic; lt_p=${PACKAGE-default}
10452 yes|no) pic_mode=$withval ;;
10455 # Look at the argument we got. We use all the common list separators.
10456 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10457 for lt_pkg in $withval; do
10459 if test "X$lt_pkg" = "X$lt_p"; then
10471 test -z "$pic_mode" && pic_mode=default
10479 @%:@ Check whether --enable-fast-install was given.
10480 if test "${enable_fast_install+set}" = set; then :
10481 enableval=$enable_fast_install; p=${PACKAGE-default}
10483 yes) enable_fast_install=yes ;;
10484 no) enable_fast_install=no ;;
10486 enable_fast_install=no
10487 # Look at the argument we got. We use all the common list separators.
10488 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10489 for pkg in $enableval; do
10491 if test "X$pkg" = "X$p"; then
10492 enable_fast_install=yes
10499 enable_fast_install=yes
10512 # This can be used to rebuild libtool when needed
10513 LIBTOOL_DEPS="$ltmain"
10515 # Always use our own libtool.
10516 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10547 test -z "$LN_S" && LN_S="ln -s"
10562 if test -n "${ZSH_VERSION+set}" ; then
10563 setopt NO_GLOB_SUBST
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10567 $as_echo_n "checking for objdir... " >&6; }
10568 if ${lt_cv_objdir+:} false; then :
10569 $as_echo_n "(cached) " >&6
10571 rm -f .libs 2>/dev/null
10572 mkdir .libs 2>/dev/null
10573 if test -d .libs; then
10576 # MS-DOS does not allow filenames that begin with a dot.
10579 rmdir .libs 2>/dev/null
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10582 $as_echo "$lt_cv_objdir" >&6; }
10583 objdir=$lt_cv_objdir
10589 cat >>confdefs.h <<_ACEOF
10590 @%:@define LT_OBJDIR "$lt_cv_objdir/"
10598 # AIX sometimes has problems with the GCC collect2 program. For some
10599 # reason, if we set the COLLECT_NAMES environment variable, the problems
10600 # vanish in a puff of smoke.
10601 if test "X${COLLECT_NAMES+set}" != Xset; then
10603 export COLLECT_NAMES
10608 # Global variables:
10610 can_build_shared=yes
10612 # All known linkers require a `.a' archive for static linking (except MSVC,
10613 # which needs '.lib').
10616 with_gnu_ld="$lt_cv_prog_gnu_ld"
10619 old_CFLAGS="$CFLAGS"
10621 # Set sane defaults for various variables
10622 test -z "$CC" && CC=cc
10623 test -z "$LTCC" && LTCC=$CC
10624 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10625 test -z "$LD" && LD=ld
10626 test -z "$ac_objext" && ac_objext=o
10628 for cc_temp in $compiler""; do
10630 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10631 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10636 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10639 # Only perform the check for file, if the check method requires it
10640 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10641 case $deplibs_check_method in
10643 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10645 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10646 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10647 $as_echo_n "(cached) " >&6
10651 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10654 lt_save_MAGIC_CMD="$MAGIC_CMD"
10655 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10656 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10657 for ac_dir in $ac_dummy; do
10659 test -z "$ac_dir" && ac_dir=.
10660 if test -f $ac_dir/${ac_tool_prefix}file; then
10661 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10662 if test -n "$file_magic_test_file"; then
10663 case $deplibs_check_method in
10665 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10666 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10667 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10668 $EGREP "$file_magic_regex" > /dev/null; then
10673 *** Warning: the command libtool uses to detect shared libraries,
10674 *** $file_magic_cmd, produces output that libtool cannot recognize.
10675 *** The result is that libtool may fail to recognize shared libraries
10676 *** as such. This will affect the creation of libtool libraries that
10677 *** depend on shared libraries, but programs linked with such libtool
10678 *** libraries will work regardless of this problem. Nevertheless, you
10679 *** may want to report the problem to your system manager and/or to
10680 *** bug-libtool@gnu.org
10690 MAGIC_CMD="$lt_save_MAGIC_CMD"
10695 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10696 if test -n "$MAGIC_CMD"; then
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10698 $as_echo "$MAGIC_CMD" >&6; }
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10701 $as_echo "no" >&6; }
10708 if test -z "$lt_cv_path_MAGIC_CMD"; then
10709 if test -n "$ac_tool_prefix"; then
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10711 $as_echo_n "checking for file... " >&6; }
10712 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10713 $as_echo_n "(cached) " >&6
10717 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10720 lt_save_MAGIC_CMD="$MAGIC_CMD"
10721 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10722 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10723 for ac_dir in $ac_dummy; do
10725 test -z "$ac_dir" && ac_dir=.
10726 if test -f $ac_dir/file; then
10727 lt_cv_path_MAGIC_CMD="$ac_dir/file"
10728 if test -n "$file_magic_test_file"; then
10729 case $deplibs_check_method in
10731 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10732 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10733 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10734 $EGREP "$file_magic_regex" > /dev/null; then
10739 *** Warning: the command libtool uses to detect shared libraries,
10740 *** $file_magic_cmd, produces output that libtool cannot recognize.
10741 *** The result is that libtool may fail to recognize shared libraries
10742 *** as such. This will affect the creation of libtool libraries that
10743 *** depend on shared libraries, but programs linked with such libtool
10744 *** libraries will work regardless of this problem. Nevertheless, you
10745 *** may want to report the problem to your system manager and/or to
10746 *** bug-libtool@gnu.org
10756 MAGIC_CMD="$lt_save_MAGIC_CMD"
10761 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10762 if test -n "$MAGIC_CMD"; then
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10764 $as_echo "$MAGIC_CMD" >&6; }
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10767 $as_echo "no" >&6; }
10780 # Use C for the default configuration in the libtool script
10784 ac_cpp='$CPP $CPPFLAGS'
10785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10790 # Source file extension for C test sources.
10793 # Object file extension for compiled C test sources.
10797 # Code to be used in simple compile tests
10798 lt_simple_compile_test_code="int some_variable = 0;"
10800 # Code to be used in simple link tests
10801 lt_simple_link_test_code='int main(){return(0);}'
10809 # If no C compiler was specified, use CC.
10812 # If no C compiler flags were specified, use CFLAGS.
10813 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10815 # Allow CC to be a program name with arguments.
10818 # Save the default compiler, since it gets overwritten when the other
10819 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10820 compiler_DEFAULT=$CC
10822 # save warnings/boilerplate of simple test code
10823 ac_outfile=conftest.$ac_objext
10824 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10825 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10826 _lt_compiler_boilerplate=`cat conftest.err`
10829 ac_outfile=conftest.$ac_objext
10830 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10831 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10832 _lt_linker_boilerplate=`cat conftest.err`
10837 ## There is no encapsulation within the following macros, do not change
10838 ## the running order or otherwise move them around unless you know exactly
10839 ## what you are doing...
10840 if test -n "$compiler"; then
10842 lt_prog_compiler_no_builtin_flag=
10844 if test "$GCC" = yes; then
10845 case $cc_basename in
10847 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10849 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10853 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10854 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10855 $as_echo_n "(cached) " >&6
10857 lt_cv_prog_compiler_rtti_exceptions=no
10858 ac_outfile=conftest.$ac_objext
10859 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10860 lt_compiler_flag="-fno-rtti -fno-exceptions"
10861 # Insert the option either (1) after the last *FLAGS variable, or
10862 # (2) before a word containing "conftest.", or (3) at the end.
10863 # Note that $ac_compile itself does not contain backslashes and begins
10864 # with a dollar sign (not a hyphen), so the echo should work correctly.
10865 # The option is referenced via a variable to avoid confusing sed.
10866 lt_compile=`echo "$ac_compile" | $SED \
10867 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10868 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10869 -e 's:$: $lt_compiler_flag:'`
10870 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10871 (eval "$lt_compile" 2>conftest.err)
10873 cat conftest.err >&5
10874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875 if (exit $ac_status) && test -s "$ac_outfile"; then
10876 # The compiler can only warn and ignore the option if not recognized
10877 # So say no if there are warnings other than the usual output.
10878 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10879 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10880 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10881 lt_cv_prog_compiler_rtti_exceptions=yes
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10888 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10890 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10891 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10903 lt_prog_compiler_wl=
10904 lt_prog_compiler_pic=
10905 lt_prog_compiler_static=
10908 if test "$GCC" = yes; then
10909 lt_prog_compiler_wl='-Wl,'
10910 lt_prog_compiler_static='-static'
10914 # All AIX code is PIC.
10915 if test "$host_cpu" = ia64; then
10916 # AIX 5 now supports IA64 processor
10917 lt_prog_compiler_static='-Bstatic'
10924 # see comment about AmigaOS4 .so support
10925 lt_prog_compiler_pic='-fPIC'
10928 # FIXME: we need at least 68020 code to build shared libraries, but
10929 # adding the `-m68020' flag to GCC prevents building anything better,
10931 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10936 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10937 # PIC is the default for these OSes.
10940 mingw* | cygwin* | pw32* | os2* | cegcc*)
10941 # This hack is so that the source file can tell whether it is being
10942 # built for inclusion in a dll (and should export symbols for example).
10943 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10944 # (--disable-auto-import) libraries
10945 lt_prog_compiler_pic='-DDLL_EXPORT'
10948 darwin* | rhapsody*)
10949 # PIC is the default on this platform
10950 # Common symbols not allowed in MH_DYLIB files
10951 lt_prog_compiler_pic='-fno-common'
10955 # PIC is the default for Haiku.
10956 # The "-static" flag exists, but is broken.
10957 lt_prog_compiler_static=
10961 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10962 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10963 # sets the default TLS model and affects inlining.
10969 lt_prog_compiler_pic='-fPIC'
10975 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10976 # Instead, we relocate shared libraries at runtime.
10980 # Just because we use GCC doesn't mean we suddenly get shared libraries
10981 # on systems that don't support them.
10982 lt_prog_compiler_can_build_shared=no
10987 # QNX uses GNU C++, but need to define -shared option too, otherwise
10988 # it will coredump.
10989 lt_prog_compiler_pic='-fPIC -shared'
10993 if test -d /usr/nec; then
10994 lt_prog_compiler_pic=-Kconform_pic
10999 lt_prog_compiler_pic='-fPIC'
11003 case $cc_basename in
11004 nvcc*) # Cuda Compiler Driver 2.2
11005 lt_prog_compiler_wl='-Xlinker '
11006 if test -n "$lt_prog_compiler_pic"; then
11007 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11012 # PORTME Check for flag to pass linker flags through the system compiler.
11015 lt_prog_compiler_wl='-Wl,'
11016 if test "$host_cpu" = ia64; then
11017 # AIX 5 now supports IA64 processor
11018 lt_prog_compiler_static='-Bstatic'
11020 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11024 mingw* | cygwin* | pw32* | os2* | cegcc*)
11025 # This hack is so that the source file can tell whether it is being
11026 # built for inclusion in a dll (and should export symbols for example).
11027 lt_prog_compiler_pic='-DDLL_EXPORT'
11030 hpux9* | hpux10* | hpux11*)
11031 lt_prog_compiler_wl='-Wl,'
11032 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11033 # not for PA HP-UX.
11039 lt_prog_compiler_pic='+Z'
11042 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11043 lt_prog_compiler_static='${wl}-a ${wl}archive'
11046 irix5* | irix6* | nonstopux*)
11047 lt_prog_compiler_wl='-Wl,'
11048 # PIC (with -KPIC) is the default.
11049 lt_prog_compiler_static='-non_shared'
11052 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11053 case $cc_basename in
11054 # old Intel for x86_64 which still supported -KPIC.
11056 lt_prog_compiler_wl='-Wl,'
11057 lt_prog_compiler_pic='-KPIC'
11058 lt_prog_compiler_static='-static'
11060 # icc used to be incompatible with GCC.
11061 # ICC 10 doesn't accept -KPIC any more.
11063 lt_prog_compiler_wl='-Wl,'
11064 lt_prog_compiler_pic='-fPIC'
11065 lt_prog_compiler_static='-static'
11067 # Lahey Fortran 8.1.
11069 lt_prog_compiler_wl='-Wl,'
11070 lt_prog_compiler_pic='--shared'
11071 lt_prog_compiler_static='--static'
11074 # NAG Fortran compiler
11075 lt_prog_compiler_wl='-Wl,-Wl,,'
11076 lt_prog_compiler_pic='-PIC'
11077 lt_prog_compiler_static='-Bstatic'
11079 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11080 # Portland Group compilers (*not* the Pentium gcc compiler,
11081 # which looks to be a dead project)
11082 lt_prog_compiler_wl='-Wl,'
11083 lt_prog_compiler_pic='-fpic'
11084 lt_prog_compiler_static='-Bstatic'
11087 lt_prog_compiler_wl='-Wl,'
11088 # All Alpha code is PIC.
11089 lt_prog_compiler_static='-non_shared'
11091 xl* | bgxl* | bgf* | mpixl*)
11092 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11093 lt_prog_compiler_wl='-Wl,'
11094 lt_prog_compiler_pic='-qpic'
11095 lt_prog_compiler_static='-qstaticlink'
11098 case `$CC -V 2>&1 | sed 5q` in
11099 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11100 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11101 lt_prog_compiler_pic='-KPIC'
11102 lt_prog_compiler_static='-Bstatic'
11103 lt_prog_compiler_wl=''
11105 *Sun\ F* | *Sun*Fortran*)
11106 lt_prog_compiler_pic='-KPIC'
11107 lt_prog_compiler_static='-Bstatic'
11108 lt_prog_compiler_wl='-Qoption ld '
11112 lt_prog_compiler_pic='-KPIC'
11113 lt_prog_compiler_static='-Bstatic'
11114 lt_prog_compiler_wl='-Wl,'
11116 *Intel*\ [CF]*Compiler*)
11117 lt_prog_compiler_wl='-Wl,'
11118 lt_prog_compiler_pic='-fPIC'
11119 lt_prog_compiler_static='-static'
11122 lt_prog_compiler_wl='-Wl,'
11123 lt_prog_compiler_pic='-fpic'
11124 lt_prog_compiler_static='-Bstatic'
11132 lt_prog_compiler_pic='-KPIC'
11133 lt_prog_compiler_static='-Bstatic'
11137 # QNX uses GNU C++, but need to define -shared option too, otherwise
11138 # it will coredump.
11139 lt_prog_compiler_pic='-fPIC -shared'
11142 osf3* | osf4* | osf5*)
11143 lt_prog_compiler_wl='-Wl,'
11144 # All OSF/1 code is PIC.
11145 lt_prog_compiler_static='-non_shared'
11149 lt_prog_compiler_static='-non_shared'
11153 lt_prog_compiler_pic='-KPIC'
11154 lt_prog_compiler_static='-Bstatic'
11155 case $cc_basename in
11156 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11157 lt_prog_compiler_wl='-Qoption ld ';;
11159 lt_prog_compiler_wl='-Wl,';;
11164 lt_prog_compiler_wl='-Qoption ld '
11165 lt_prog_compiler_pic='-PIC'
11166 lt_prog_compiler_static='-Bstatic'
11169 sysv4 | sysv4.2uw2* | sysv4.3*)
11170 lt_prog_compiler_wl='-Wl,'
11171 lt_prog_compiler_pic='-KPIC'
11172 lt_prog_compiler_static='-Bstatic'
11176 if test -d /usr/nec ;then
11177 lt_prog_compiler_pic='-Kconform_pic'
11178 lt_prog_compiler_static='-Bstatic'
11182 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11183 lt_prog_compiler_wl='-Wl,'
11184 lt_prog_compiler_pic='-KPIC'
11185 lt_prog_compiler_static='-Bstatic'
11189 lt_prog_compiler_wl='-Wl,'
11190 lt_prog_compiler_can_build_shared=no
11194 lt_prog_compiler_pic='-pic'
11195 lt_prog_compiler_static='-Bstatic'
11199 lt_prog_compiler_can_build_shared=no
11205 # For platforms which do not support PIC, -DPIC is meaningless:
11207 lt_prog_compiler_pic=
11210 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11215 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11216 if ${lt_cv_prog_compiler_pic+:} false; then :
11217 $as_echo_n "(cached) " >&6
11219 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11222 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11223 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11226 # Check to make sure the PIC flag actually works.
11228 if test -n "$lt_prog_compiler_pic"; then
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11230 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11231 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11232 $as_echo_n "(cached) " >&6
11234 lt_cv_prog_compiler_pic_works=no
11235 ac_outfile=conftest.$ac_objext
11236 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11237 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
11238 # Insert the option either (1) after the last *FLAGS variable, or
11239 # (2) before a word containing "conftest.", or (3) at the end.
11240 # Note that $ac_compile itself does not contain backslashes and begins
11241 # with a dollar sign (not a hyphen), so the echo should work correctly.
11242 # The option is referenced via a variable to avoid confusing sed.
11243 lt_compile=`echo "$ac_compile" | $SED \
11244 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11246 -e 's:$: $lt_compiler_flag:'`
11247 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11248 (eval "$lt_compile" 2>conftest.err)
11250 cat conftest.err >&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 if (exit $ac_status) && test -s "$ac_outfile"; then
11253 # The compiler can only warn and ignore the option if not recognized
11254 # So say no if there are warnings other than the usual output.
11255 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11256 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11257 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11258 lt_cv_prog_compiler_pic_works=yes
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11265 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11267 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11268 case $lt_prog_compiler_pic in
11270 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11273 lt_prog_compiler_pic=
11274 lt_prog_compiler_can_build_shared=no
11290 # Check to make sure the static flag actually works.
11292 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11294 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11295 if ${lt_cv_prog_compiler_static_works+:} false; then :
11296 $as_echo_n "(cached) " >&6
11298 lt_cv_prog_compiler_static_works=no
11299 save_LDFLAGS="$LDFLAGS"
11300 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11301 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11302 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11303 # The linker can only warn and ignore the option if not recognized
11304 # So say no if there are warnings
11305 if test -s conftest.err; then
11306 # Append any errors to the config.log.
11307 cat conftest.err 1>&5
11308 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11309 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11310 if diff conftest.exp conftest.er2 >/dev/null; then
11311 lt_cv_prog_compiler_static_works=yes
11314 lt_cv_prog_compiler_static_works=yes
11318 LDFLAGS="$save_LDFLAGS"
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11322 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11324 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11327 lt_prog_compiler_static=
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11337 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11338 if ${lt_cv_prog_compiler_c_o+:} false; then :
11339 $as_echo_n "(cached) " >&6
11341 lt_cv_prog_compiler_c_o=no
11342 $RM -r conftest 2>/dev/null
11346 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11348 lt_compiler_flag="-o out/conftest2.$ac_objext"
11349 # Insert the option either (1) after the last *FLAGS variable, or
11350 # (2) before a word containing "conftest.", or (3) at the end.
11351 # Note that $ac_compile itself does not contain backslashes and begins
11352 # with a dollar sign (not a hyphen), so the echo should work correctly.
11353 lt_compile=`echo "$ac_compile" | $SED \
11354 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11355 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11356 -e 's:$: $lt_compiler_flag:'`
11357 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11358 (eval "$lt_compile" 2>out/conftest.err)
11360 cat out/conftest.err >&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11364 # The compiler can only warn and ignore the option if not recognized
11365 # So say no if there are warnings
11366 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11367 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11368 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11369 lt_cv_prog_compiler_c_o=yes
11374 # SGI C++ compiler will create directory out/ii_files/ for
11375 # template instantiation
11376 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11377 $RM out/* && rmdir out
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11384 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11392 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11393 if ${lt_cv_prog_compiler_c_o+:} false; then :
11394 $as_echo_n "(cached) " >&6
11396 lt_cv_prog_compiler_c_o=no
11397 $RM -r conftest 2>/dev/null
11401 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11403 lt_compiler_flag="-o out/conftest2.$ac_objext"
11404 # Insert the option either (1) after the last *FLAGS variable, or
11405 # (2) before a word containing "conftest.", or (3) at the end.
11406 # Note that $ac_compile itself does not contain backslashes and begins
11407 # with a dollar sign (not a hyphen), so the echo should work correctly.
11408 lt_compile=`echo "$ac_compile" | $SED \
11409 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11410 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11411 -e 's:$: $lt_compiler_flag:'`
11412 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11413 (eval "$lt_compile" 2>out/conftest.err)
11415 cat out/conftest.err >&5
11416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11419 # The compiler can only warn and ignore the option if not recognized
11420 # So say no if there are warnings
11421 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11422 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11423 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11424 lt_cv_prog_compiler_c_o=yes
11429 # SGI C++ compiler will create directory out/ii_files/ for
11430 # template instantiation
11431 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11432 $RM out/* && rmdir out
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11439 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11444 hard_links="nottested"
11445 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11446 # do not overwrite the value of need_locks provided by the user
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11448 $as_echo_n "checking if we can lock with hard links... " >&6; }
11451 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11453 ln conftest.a conftest.b 2>&5 || hard_links=no
11454 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11456 $as_echo "$hard_links" >&6; }
11457 if test "$hard_links" = no; then
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11459 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11472 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11475 allow_undefined_flag=
11476 always_export_symbols=no
11478 archive_expsym_cmds=
11479 compiler_needs_object=no
11480 enable_shared_with_static_runtimes=no
11481 export_dynamic_flag_spec=
11482 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11483 hardcode_automatic=no
11485 hardcode_direct_absolute=no
11486 hardcode_libdir_flag_spec=
11487 hardcode_libdir_separator=
11488 hardcode_minus_L=no
11489 hardcode_shlibpath_var=unsupported
11491 link_all_deplibs=unknown
11493 module_expsym_cmds=
11494 old_archive_from_new_cmds=
11495 old_archive_from_expsyms_cmds=
11496 thread_safe_flag_spec=
11497 whole_archive_flag_spec=
11498 # include_expsyms should be a list of space-separated symbols to be *always*
11499 # included in the symbol list
11501 # exclude_expsyms can be an extended regexp of symbols to exclude
11502 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11503 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11504 # as well as any symbol that contains `d'.
11505 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11506 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11507 # platforms (ab)use it in PIC code, but their linkers get confused if
11508 # the symbol is explicitly referenced. Since portable code cannot
11509 # rely on this symbol name, it's probably fine to never include it in
11510 # preloaded symbol tables.
11511 # Exclude shared library initialization/finalization symbols.
11512 extract_expsyms_cmds=
11515 cygwin* | mingw* | pw32* | cegcc*)
11516 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11517 # When not using gcc, we currently assume that we are using
11518 # Microsoft Visual C++.
11519 if test "$GCC" != yes; then
11524 # we just hope/assume this is gcc and not c89 (= MSVC++)
11530 linux* | k*bsd*-gnu | gnu*)
11531 link_all_deplibs=no
11537 # On some targets, GNU ld is compatible enough with the native linker
11538 # that we're better off using the native interface for both.
11539 lt_use_gnu_ld_interface=no
11540 if test "$with_gnu_ld" = yes; then
11543 # The AIX port of GNU ld has always aspired to compatibility
11544 # with the native linker. However, as the warning in the GNU ld
11545 # block says, versions before 2.19.5* couldn't really create working
11546 # shared libraries, regardless of the interface used.
11547 case `$LD -v 2>&1` in
11548 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11549 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11550 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11552 lt_use_gnu_ld_interface=yes
11557 lt_use_gnu_ld_interface=yes
11562 if test "$lt_use_gnu_ld_interface" = yes; then
11563 # If archive_cmds runs LD, not CC, wlarc should be empty
11566 # Set some defaults for GNU ld with shared library support. These
11567 # are reset later if shared libraries are not supported. Putting them
11568 # here allows them to be overridden if necessary.
11569 runpath_var=LD_RUN_PATH
11570 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11571 export_dynamic_flag_spec='${wl}--export-dynamic'
11572 # ancient GNU ld didn't support --whole-archive et. al.
11573 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11574 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11576 whole_archive_flag_spec=
11578 supports_anon_versioning=no
11579 case `$LD -v 2>&1` in
11580 *GNU\ gold*) supports_anon_versioning=yes ;;
11581 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11582 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11583 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11584 *\ 2.11.*) ;; # other 2.11 versions
11585 *) supports_anon_versioning=yes ;;
11588 # See if GNU ld supports shared libraries.
11591 # On AIX/PPC, the GNU linker is very broken
11592 if test "$host_cpu" != ia64; then
11596 *** Warning: the GNU linker, at least up to release 2.19, is reported
11597 *** to be unable to reliably create shared libraries on AIX.
11598 *** Therefore, libtool is disabling shared libraries support. If you
11599 *** really care for shared libraries, you may want to install binutils
11600 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11601 *** You will then need to restart the configuration process.
11610 # see comment about AmigaOS4 .so support
11611 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11612 archive_expsym_cmds=''
11615 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)'
11616 hardcode_libdir_flag_spec='-L$libdir'
11617 hardcode_minus_L=yes
11623 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11624 allow_undefined_flag=unsupported
11625 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11626 # support --undefined. This deserves some investigation. FIXME
11627 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11633 cygwin* | mingw* | pw32* | cegcc*)
11634 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11635 # as there is no search path for DLLs.
11636 hardcode_libdir_flag_spec='-L$libdir'
11637 export_dynamic_flag_spec='${wl}--export-all-symbols'
11638 allow_undefined_flag=unsupported
11639 always_export_symbols=no
11640 enable_shared_with_static_runtimes=yes
11641 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'
11642 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11644 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11646 # If the export-symbols file already is a .def file (1st line
11647 # is EXPORTS), use it as is; otherwise, prepend...
11648 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11649 cp $export_symbols $output_objdir/$soname.def;
11651 echo EXPORTS > $output_objdir/$soname.def;
11652 cat $export_symbols >> $output_objdir/$soname.def;
11654 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11661 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11662 link_all_deplibs=yes
11667 hardcode_shlibpath_var=no
11668 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11669 export_dynamic_flag_spec='${wl}-E'
11670 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11671 # Instead, shared libraries are loaded at an image base (0x10000000 by
11672 # default) and relocated if they conflict, which is a slow very memory
11673 # consuming and fragmenting process. To avoid this, we pick a random,
11674 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11675 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11676 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11677 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'
11680 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11682 if test "$host_os" = linux-dietlibc; then
11683 case $cc_basename in
11684 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11687 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11688 && test "$tmp_diet" = no
11690 tmp_addflag=' $pic_flag'
11691 tmp_sharedflag='-shared'
11692 case $cc_basename,$host_cpu in
11693 pgcc*) # Portland Group C compiler
11694 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'
11695 tmp_addflag=' $pic_flag'
11697 pgf77* | pgf90* | pgf95* | pgfortran*)
11698 # Portland Group f77 and f90 compilers
11699 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'
11700 tmp_addflag=' $pic_flag -Mnomain' ;;
11701 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11702 tmp_addflag=' -i_dynamic' ;;
11703 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11704 tmp_addflag=' -i_dynamic -nofor_main' ;;
11705 ifc* | ifort*) # Intel Fortran compiler
11706 tmp_addflag=' -nofor_main' ;;
11707 lf95*) # Lahey Fortran 8.1
11708 whole_archive_flag_spec=
11709 tmp_sharedflag='--shared' ;;
11710 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11711 tmp_sharedflag='-qmkshrobj'
11713 nvcc*) # Cuda Compiler Driver 2.2
11714 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'
11715 compiler_needs_object=yes
11718 case `$CC -V 2>&1 | sed 5q` in
11719 *Sun\ C*) # Sun C 5.9
11720 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'
11721 compiler_needs_object=yes
11722 tmp_sharedflag='-G' ;;
11723 *Sun\ F*) # Sun Fortran 8.3
11724 tmp_sharedflag='-G' ;;
11726 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11728 if test "x$supports_anon_versioning" = xyes; then
11729 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11730 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11731 echo "local: *; };" >> $output_objdir/$libname.ver~
11732 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11735 case $cc_basename in
11736 xlf* | bgf* | bgxlf* | mpixlf*)
11737 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11738 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11739 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11740 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11741 if test "x$supports_anon_versioning" = xyes; then
11742 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11743 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11744 echo "local: *; };" >> $output_objdir/$libname.ver~
11745 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11754 netbsd* | netbsdelf*-gnu)
11755 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11756 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11759 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11760 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11765 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11769 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11770 *** create shared libraries on Solaris systems. Therefore, libtool
11771 *** is disabling shared libraries support. We urge you to upgrade GNU
11772 *** binutils to release 2.9.1 or newer. Another option is to modify
11773 *** your PATH or compiler configuration so that the native linker is
11774 *** used, and then restart.
11777 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11778 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11779 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11785 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11786 case `$LD -v 2>&1` in
11787 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11791 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11792 *** reliably create shared libraries on SCO systems. Therefore, libtool
11793 *** is disabling shared libraries support. We urge you to upgrade GNU
11794 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11795 *** your PATH or compiler configuration so that the native linker is
11796 *** used, and then restart.
11801 # For security reasons, it is highly recommended that you always
11802 # use absolute paths for naming shared libraries, and exclude the
11803 # DT_RUNPATH tag from executables and libraries. But doing so
11804 # requires that you compile everything twice, which is a pain.
11805 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11806 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11807 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11808 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11817 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11819 hardcode_direct=yes
11820 hardcode_shlibpath_var=no
11824 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11825 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11826 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11833 if test "$ld_shlibs" = no; then
11835 hardcode_libdir_flag_spec=
11836 export_dynamic_flag_spec=
11837 whole_archive_flag_spec=
11840 # PORTME fill in a description of your system's linker (not GNU ld)
11843 allow_undefined_flag=unsupported
11844 always_export_symbols=yes
11845 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'
11846 # Note: this linker hardcodes the directories in LIBPATH if there
11847 # are no directories specified by -L.
11848 hardcode_minus_L=yes
11849 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11850 # Neither direct hardcoding nor static linking is supported with a
11852 hardcode_direct=unsupported
11857 if test "$host_cpu" = ia64; then
11858 # On IA64, the linker does run time linking by default, so we don't
11859 # have to do anything special.
11860 aix_use_runtimelinking=no
11861 exp_sym_flag='-Bexport'
11864 # If we're using GNU nm, then we don't want the "-C" option.
11865 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11866 # Also, AIX nm treats weak defined symbols like other global
11867 # defined symbols, whereas GNU nm marks them as "W".
11868 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11869 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'
11871 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'
11873 aix_use_runtimelinking=no
11875 # Test if we are trying to use run time linking or normal
11876 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11877 # need to do runtime linking.
11878 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11879 for ld_flag in $LDFLAGS; do
11880 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11881 aix_use_runtimelinking=yes
11888 exp_sym_flag='-bexport'
11889 no_entry_flag='-bnoentry'
11892 # When large executables or shared objects are built, AIX ld can
11893 # have problems creating the table of contents. If linking a library
11894 # or program results in "error TOC overflow" add -mminimal-toc to
11895 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11896 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11899 hardcode_direct=yes
11900 hardcode_direct_absolute=yes
11901 hardcode_libdir_separator=':'
11902 link_all_deplibs=yes
11903 file_list_spec='${wl}-f,'
11905 if test "$GCC" = yes; then
11906 case $host_os in aix4.[012]|aix4.[012].*)
11907 # We only want to do this on AIX 4.2 and lower, the check
11908 # below for broken collect2 doesn't work under 4.3+
11909 collect2name=`${CC} -print-prog-name=collect2`
11910 if test -f "$collect2name" &&
11911 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11913 # We have reworked collect2
11916 # We have old collect2
11917 hardcode_direct=unsupported
11918 # It fails to find uninstalled libraries when the uninstalled
11919 # path is not listed in the libpath. Setting hardcode_minus_L
11920 # to unsupported forces relinking
11921 hardcode_minus_L=yes
11922 hardcode_libdir_flag_spec='-L$libdir'
11923 hardcode_libdir_separator=
11927 shared_flag='-shared'
11928 if test "$aix_use_runtimelinking" = yes; then
11929 shared_flag="$shared_flag "'${wl}-G'
11931 link_all_deplibs=no
11934 if test "$host_cpu" = ia64; then
11935 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11936 # chokes on -Wl,-G. The following line is correct:
11939 if test "$aix_use_runtimelinking" = yes; then
11940 shared_flag='${wl}-G'
11942 shared_flag='${wl}-bM:SRE'
11947 export_dynamic_flag_spec='${wl}-bexpall'
11948 # It seems that -bexpall does not export symbols beginning with
11949 # underscore (_), so it is better to generate a list of symbols to export.
11950 always_export_symbols=yes
11951 if test "$aix_use_runtimelinking" = yes; then
11952 # Warning - without using the other runtime loading flags (-brtl),
11953 # -berok will link without error, but may produce a broken library.
11954 allow_undefined_flag='-berok'
11955 # Determine the default libpath from the value encoded in an
11956 # empty executable.
11957 if test "${lt_cv_aix_libpath+set}" = set; then
11958 aix_libpath=$lt_cv_aix_libpath
11960 if ${lt_cv_aix_libpath_+:} false; then :
11961 $as_echo_n "(cached) " >&6
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11974 if ac_fn_c_try_link "$LINENO"; then :
11976 lt_aix_libpath_sed='
11977 /Import File Strings/,/^$/ {
11979 s/^0 *\([^ ]*\) *$/\1/
11983 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11984 # Check for a 64-bit object if we didn't find anything.
11985 if test -z "$lt_cv_aix_libpath_"; then
11986 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11989 rm -f core conftest.err conftest.$ac_objext \
11990 conftest$ac_exeext conftest.$ac_ext
11991 if test -z "$lt_cv_aix_libpath_"; then
11992 lt_cv_aix_libpath_="/usr/lib:/lib"
11997 aix_libpath=$lt_cv_aix_libpath_
12000 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12001 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"
12003 if test "$host_cpu" = ia64; then
12004 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12005 allow_undefined_flag="-z nodefs"
12006 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"
12008 # Determine the default libpath from the value encoded in an
12009 # empty executable.
12010 if test "${lt_cv_aix_libpath+set}" = set; then
12011 aix_libpath=$lt_cv_aix_libpath
12013 if ${lt_cv_aix_libpath_+:} false; then :
12014 $as_echo_n "(cached) " >&6
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12027 if ac_fn_c_try_link "$LINENO"; then :
12029 lt_aix_libpath_sed='
12030 /Import File Strings/,/^$/ {
12032 s/^0 *\([^ ]*\) *$/\1/
12036 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12037 # Check for a 64-bit object if we didn't find anything.
12038 if test -z "$lt_cv_aix_libpath_"; then
12039 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12042 rm -f core conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext
12044 if test -z "$lt_cv_aix_libpath_"; then
12045 lt_cv_aix_libpath_="/usr/lib:/lib"
12050 aix_libpath=$lt_cv_aix_libpath_
12053 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12054 # Warning - without using the other run time loading flags,
12055 # -berok will link without error, but may produce a broken library.
12056 no_undefined_flag=' ${wl}-bernotok'
12057 allow_undefined_flag=' ${wl}-berok'
12058 if test "$with_gnu_ld" = yes; then
12059 # We only use this code for GNU lds that support --whole-archive.
12060 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12062 # Exported symbols can be pulled into shared objects from archives
12063 whole_archive_flag_spec='$convenience'
12065 archive_cmds_need_lc=yes
12066 # This is similar to how AIX traditionally builds its shared libraries.
12067 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'
12075 # see comment about AmigaOS4 .so support
12076 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12077 archive_expsym_cmds=''
12080 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)'
12081 hardcode_libdir_flag_spec='-L$libdir'
12082 hardcode_minus_L=yes
12088 export_dynamic_flag_spec=-rdynamic
12091 cygwin* | mingw* | pw32* | cegcc*)
12092 # When not using gcc, we currently assume that we are using
12093 # Microsoft Visual C++.
12094 # hardcode_libdir_flag_spec is actually meaningless, as there is
12095 # no search path for DLLs.
12096 case $cc_basename in
12099 hardcode_libdir_flag_spec=' '
12100 allow_undefined_flag=unsupported
12101 always_export_symbols=yes
12103 # Tell ltmain to make .lib files, not .a files.
12105 # Tell ltmain to make .dll files, not .so files.
12107 # FIXME: Setting linknames here is a bad hack.
12108 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12109 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12110 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12112 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12114 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12116 # The linker will not automatically build a static lib if we build a DLL.
12117 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12118 enable_shared_with_static_runtimes=yes
12119 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12120 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12122 old_postinstall_cmds='chmod 644 $oldlib'
12123 postlink_cmds='lt_outputfile="@OUTPUT@"~
12124 lt_tool_outputfile="@TOOL_OUTPUT@"~
12125 case $lt_outputfile in
12128 lt_outputfile="$lt_outputfile.exe"
12129 lt_tool_outputfile="$lt_tool_outputfile.exe"
12132 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12133 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12134 $RM "$lt_outputfile.manifest";
12138 # Assume MSVC wrapper
12139 hardcode_libdir_flag_spec=' '
12140 allow_undefined_flag=unsupported
12141 # Tell ltmain to make .lib files, not .a files.
12143 # Tell ltmain to make .dll files, not .so files.
12145 # FIXME: Setting linknames here is a bad hack.
12146 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12147 # The linker will automatically build a .lib file if we build a DLL.
12148 old_archive_from_new_cmds='true'
12149 # FIXME: Should let the user specify the lib program.
12150 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12151 enable_shared_with_static_runtimes=yes
12156 darwin* | rhapsody*)
12159 archive_cmds_need_lc=no
12161 hardcode_automatic=yes
12162 hardcode_shlibpath_var=unsupported
12163 if test "$lt_cv_ld_force_load" = "yes"; then
12164 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\"`'
12167 whole_archive_flag_spec=''
12169 link_all_deplibs=yes
12170 allow_undefined_flag="$_lt_dar_allow_undefined"
12171 case $cc_basename in
12172 ifort*) _lt_dar_can_shared=yes ;;
12173 *) _lt_dar_can_shared=$GCC ;;
12175 if test "$_lt_dar_can_shared" = "yes"; then
12176 output_verbose_link_cmd=func_echo_all
12177 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12178 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12179 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}"
12180 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}"
12189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12190 hardcode_libdir_flag_spec='-L$libdir'
12191 hardcode_shlibpath_var=no
12194 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12195 # support. Future versions do this automatically, but an explicit c++rt0.o
12196 # does not break anything, and helps significantly (at the cost of a little
12199 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12200 hardcode_libdir_flag_spec='-R$libdir'
12201 hardcode_direct=yes
12202 hardcode_shlibpath_var=no
12205 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12207 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12208 hardcode_direct=yes
12209 hardcode_minus_L=yes
12210 hardcode_shlibpath_var=no
12213 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12214 freebsd* | dragonfly*)
12215 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12216 hardcode_libdir_flag_spec='-R$libdir'
12217 hardcode_direct=yes
12218 hardcode_shlibpath_var=no
12222 if test "$GCC" = yes; then
12223 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'
12225 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'
12227 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12228 hardcode_libdir_separator=:
12229 hardcode_direct=yes
12231 # hardcode_minus_L: Not really in the search PATH,
12232 # but as the default location of the library.
12233 hardcode_minus_L=yes
12234 export_dynamic_flag_spec='${wl}-E'
12238 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12239 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12241 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12243 if test "$with_gnu_ld" = no; then
12244 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12245 hardcode_libdir_separator=:
12246 hardcode_direct=yes
12247 hardcode_direct_absolute=yes
12248 export_dynamic_flag_spec='${wl}-E'
12249 # hardcode_minus_L: Not really in the search PATH,
12250 # but as the default location of the library.
12251 hardcode_minus_L=yes
12256 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12259 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12262 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12265 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12271 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12274 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12278 # Older versions of the 11.00 compiler do not understand -b yet
12279 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12281 $as_echo_n "checking if $CC understands -b... " >&6; }
12282 if ${lt_cv_prog_compiler__b+:} false; then :
12283 $as_echo_n "(cached) " >&6
12285 lt_cv_prog_compiler__b=no
12286 save_LDFLAGS="$LDFLAGS"
12287 LDFLAGS="$LDFLAGS -b"
12288 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12289 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12290 # The linker can only warn and ignore the option if not recognized
12291 # So say no if there are warnings
12292 if test -s conftest.err; then
12293 # Append any errors to the config.log.
12294 cat conftest.err 1>&5
12295 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12296 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12297 if diff conftest.exp conftest.er2 >/dev/null; then
12298 lt_cv_prog_compiler__b=yes
12301 lt_cv_prog_compiler__b=yes
12305 LDFLAGS="$save_LDFLAGS"
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12309 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12311 if test x"$lt_cv_prog_compiler__b" = xyes; then
12312 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12314 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12320 if test "$with_gnu_ld" = no; then
12321 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12322 hardcode_libdir_separator=:
12327 hardcode_shlibpath_var=no
12330 hardcode_direct=yes
12331 hardcode_direct_absolute=yes
12332 export_dynamic_flag_spec='${wl}-E'
12334 # hardcode_minus_L: Not really in the search PATH,
12335 # but as the default location of the library.
12336 hardcode_minus_L=yes
12342 irix5* | irix6* | nonstopux*)
12343 if test "$GCC" = yes; then
12344 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'
12345 # Try to use the -exported_symbol ld option, if it does not
12346 # work, assume that -exports_file does not work either and
12347 # implicitly export all symbols.
12348 # This should be the same for all languages, so no per-tag cache variable.
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12350 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12351 if ${lt_cv_irix_exported_symbol+:} false; then :
12352 $as_echo_n "(cached) " >&6
12354 save_LDFLAGS="$LDFLAGS"
12355 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12358 int foo (void) { return 0; }
12360 if ac_fn_c_try_link "$LINENO"; then :
12361 lt_cv_irix_exported_symbol=yes
12363 lt_cv_irix_exported_symbol=no
12365 rm -f core conftest.err conftest.$ac_objext \
12366 conftest$ac_exeext conftest.$ac_ext
12367 LDFLAGS="$save_LDFLAGS"
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12370 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12371 if test "$lt_cv_irix_exported_symbol" = yes; then
12372 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'
12375 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'
12376 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'
12378 archive_cmds_need_lc='no'
12379 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12380 hardcode_libdir_separator=:
12382 link_all_deplibs=yes
12385 netbsd* | netbsdelf*-gnu)
12386 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12387 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12389 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12391 hardcode_libdir_flag_spec='-R$libdir'
12392 hardcode_direct=yes
12393 hardcode_shlibpath_var=no
12397 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12398 hardcode_direct=yes
12399 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12400 hardcode_libdir_separator=:
12401 hardcode_shlibpath_var=no
12408 if test -f /usr/libexec/ld.so; then
12409 hardcode_direct=yes
12410 hardcode_shlibpath_var=no
12411 hardcode_direct_absolute=yes
12412 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12413 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12414 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12415 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12416 export_dynamic_flag_spec='${wl}-E'
12419 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12420 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12421 hardcode_libdir_flag_spec='-R$libdir'
12424 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12425 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12435 hardcode_libdir_flag_spec='-L$libdir'
12436 hardcode_minus_L=yes
12437 allow_undefined_flag=unsupported
12438 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'
12439 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12443 if test "$GCC" = yes; then
12444 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12445 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'
12447 allow_undefined_flag=' -expect_unresolved \*'
12448 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'
12450 archive_cmds_need_lc='no'
12451 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12452 hardcode_libdir_separator=:
12455 osf4* | osf5*) # as osf3* with the addition of -msym flag
12456 if test "$GCC" = yes; then
12457 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12458 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'
12459 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12461 allow_undefined_flag=' -expect_unresolved \*'
12462 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'
12463 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~
12464 $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'
12466 # Both c and cxx compiler support -rpath directly
12467 hardcode_libdir_flag_spec='-rpath $libdir'
12469 archive_cmds_need_lc='no'
12470 hardcode_libdir_separator=:
12474 no_undefined_flag=' -z defs'
12475 if test "$GCC" = yes; then
12477 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12478 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12479 $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'
12481 case `$CC -V 2>&1` in
12484 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12485 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12486 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12490 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12491 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12492 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12496 hardcode_libdir_flag_spec='-R$libdir'
12497 hardcode_shlibpath_var=no
12499 solaris2.[0-5] | solaris2.[0-5].*) ;;
12501 # The compiler driver will combine and reorder linker options,
12502 # but understands `-z linker_flag'. GCC discards it without `$wl',
12503 # but is careful enough not to reorder.
12504 # Supported since Solaris 2.6 (maybe 2.5.1?)
12505 if test "$GCC" = yes; then
12506 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12508 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12512 link_all_deplibs=yes
12516 if test "x$host_vendor" = xsequent; then
12517 # Use $CC to link under sequent, because it throws in some extra .o
12518 # files that make .init and .fini sections work.
12519 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12521 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12523 hardcode_libdir_flag_spec='-L$libdir'
12524 hardcode_direct=yes
12525 hardcode_minus_L=yes
12526 hardcode_shlibpath_var=no
12530 case $host_vendor in
12532 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12533 hardcode_direct=yes # is this really true???
12536 ## LD is ld it makes a PLAMLIB
12537 ## CC just makes a GrossModule.
12538 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12539 reload_cmds='$CC -r -o $output$reload_objs'
12543 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12544 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12547 runpath_var='LD_RUN_PATH'
12548 hardcode_shlibpath_var=no
12552 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12553 hardcode_shlibpath_var=no
12554 export_dynamic_flag_spec='-Bexport'
12558 if test -d /usr/nec; then
12559 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12560 hardcode_shlibpath_var=no
12561 runpath_var=LD_RUN_PATH
12562 hardcode_runpath_var=yes
12567 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12568 no_undefined_flag='${wl}-z,text'
12569 archive_cmds_need_lc=no
12570 hardcode_shlibpath_var=no
12571 runpath_var='LD_RUN_PATH'
12573 if test "$GCC" = yes; then
12574 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12575 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12577 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12578 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12582 sysv5* | sco3.2v5* | sco5v6*)
12583 # Note: We can NOT use -z defs as we might desire, because we do not
12584 # link with -lc, and that would cause any symbols used from libc to
12585 # always be unresolved, which means just about no library would
12586 # ever link correctly. If we're not using GNU ld we use -z text
12587 # though, which does catch some bad symbols but isn't as heavy-handed
12589 no_undefined_flag='${wl}-z,text'
12590 allow_undefined_flag='${wl}-z,nodefs'
12591 archive_cmds_need_lc=no
12592 hardcode_shlibpath_var=no
12593 hardcode_libdir_flag_spec='${wl}-R,$libdir'
12594 hardcode_libdir_separator=':'
12595 link_all_deplibs=yes
12596 export_dynamic_flag_spec='${wl}-Bexport'
12597 runpath_var='LD_RUN_PATH'
12599 if test "$GCC" = yes; then
12600 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12601 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12603 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12604 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12610 hardcode_libdir_flag_spec='-L$libdir'
12611 hardcode_shlibpath_var=no
12619 if test x$host_vendor = xsni; then
12621 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12622 export_dynamic_flag_spec='${wl}-Blargedynsym'
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12629 $as_echo "$ld_shlibs" >&6; }
12630 test "$ld_shlibs" = no && can_build_shared=no
12632 with_gnu_ld=$with_gnu_ld
12649 # Do we need to explicitly link libc?
12651 case "x$archive_cmds_need_lc" in
12653 # Assume -lc should be added
12654 archive_cmds_need_lc=yes
12656 if test "$enable_shared" = yes && test "$GCC" = yes; then
12657 case $archive_cmds in
12659 # FIXME: we may have to deal with multi-command sequences.
12662 # Test whether the compiler implicitly links with -lc since on some
12663 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12664 # to ld, don't add -lc before -lgcc.
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12666 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12667 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12668 $as_echo_n "(cached) " >&6
12671 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12674 (eval $ac_compile) 2>&5
12676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12677 test $ac_status = 0; } 2>conftest.err; then
12680 libobjs=conftest.$ac_objext
12682 wl=$lt_prog_compiler_wl
12683 pic_flag=$lt_prog_compiler_pic
12689 lt_save_allow_undefined_flag=$allow_undefined_flag
12690 allow_undefined_flag=
12691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12692 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12695 test $ac_status = 0; }
12697 lt_cv_archive_cmds_need_lc=no
12699 lt_cv_archive_cmds_need_lc=yes
12701 allow_undefined_flag=$lt_save_allow_undefined_flag
12703 cat conftest.err 1>&5
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12709 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12710 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12869 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12871 if test "$GCC" = yes; then
12873 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12874 *) lt_awk_arg="/^libraries:/" ;;
12877 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12878 *) lt_sed_strip_eq="s,=/,/,g" ;;
12880 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12881 case $lt_search_path_spec in
12883 # if the path contains ";" then we assume it to be the separator
12884 # otherwise default to the standard path separator (i.e. ":") - it is
12885 # assumed that no part of a normal pathname contains ";" but that should
12886 # okay in the real world where ";" in dirpaths is itself problematic.
12887 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12890 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12893 # Ok, now we have the path, separated by spaces, we can step through it
12894 # and add multilib dir if necessary.
12895 lt_tmp_lt_search_path_spec=
12896 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12897 for lt_sys_path in $lt_search_path_spec; do
12898 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12899 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12901 test -d "$lt_sys_path" && \
12902 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12905 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12906 BEGIN {RS=" "; FS="/|\n";} {
12909 for (lt_i = NF; lt_i > 0; lt_i--) {
12910 if ($lt_i != "" && $lt_i != ".") {
12911 if ($lt_i == "..") {
12914 if (lt_count == 0) {
12915 lt_foo="/" $lt_i lt_foo;
12922 if (lt_foo != "") { lt_freq[lt_foo]++; }
12923 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12925 # AWK program above erroneously prepends '/' to C:/dos/paths
12928 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12929 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12931 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12933 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12935 library_names_spec=
12936 libname_spec='lib$name'
12940 postuninstall_cmds=
12944 shlibpath_overrides_runpath=unknown
12946 dynamic_linker="$host_os ld.so"
12947 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12948 need_lib_prefix=unknown
12949 hardcode_into_libs=no
12951 # when you set need_version to no, make sure it does not cause -set_version
12952 # flags to be left without arguments
12953 need_version=unknown
12957 version_type=linux # correct to gnu/linux during the next big refactor
12958 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12959 shlibpath_var=LIBPATH
12961 # AIX 3 has no versioning support, so we append a major version to the name.
12962 soname_spec='${libname}${release}${shared_ext}$major'
12966 version_type=linux # correct to gnu/linux during the next big refactor
12969 hardcode_into_libs=yes
12970 if test "$host_cpu" = ia64; then
12971 # AIX 5 supports IA64
12972 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12973 shlibpath_var=LD_LIBRARY_PATH
12975 # With GCC up to 2.95.x, collect2 would create an import file
12976 # for dependence libraries. The import file would start with
12977 # the line `#! .'. This would cause the generated library to
12978 # depend on `.', always an invalid library. This was fixed in
12979 # development snapshots of GCC prior to 3.0.
12981 aix4 | aix4.[01] | aix4.[01].*)
12982 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12984 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12987 can_build_shared=no
12991 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12992 # soname into executable. Probably we can add versioning support to
12993 # collect2, so additional links can be useful in future.
12994 if test "$aix_use_runtimelinking" = yes; then
12995 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12996 # instead of lib<name>.a to let people know that these are not
12997 # typical AIX shared libraries.
12998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13000 # We preserve .a as extension for shared libraries through AIX4.2
13001 # and later when we are not doing run time linking.
13002 library_names_spec='${libname}${release}.a $libname.a'
13003 soname_spec='${libname}${release}${shared_ext}$major'
13005 shlibpath_var=LIBPATH
13012 # Since July 2007 AmigaOS4 officially supports .so libraries.
13013 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13017 library_names_spec='$libname.ixlibrary $libname.a'
13018 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13019 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'
13025 library_names_spec='${libname}${shared_ext}'
13026 dynamic_linker="$host_os ld.so"
13027 shlibpath_var=LIBRARY_PATH
13031 version_type=linux # correct to gnu/linux during the next big refactor
13033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13034 soname_spec='${libname}${release}${shared_ext}$major'
13035 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13036 shlibpath_var=LD_LIBRARY_PATH
13037 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13038 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13039 # the default ld.so.conf also contains /usr/contrib/lib and
13040 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13041 # libtool to hard-code these into programs
13044 cygwin* | mingw* | pw32* | cegcc*)
13045 version_type=windows
13050 case $GCC,$cc_basename in
13053 library_names_spec='$libname.dll.a'
13054 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13055 postinstall_cmds='base_file=`basename \${file}`~
13056 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13057 dldir=$destdir/`dirname \$dlpath`~
13058 test -d \$dldir || mkdir -p \$dldir~
13059 $install_prog $dir/$dlname \$dldir/$dlname~
13060 chmod a+x \$dldir/$dlname~
13061 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13062 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13064 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13065 dlpath=$dir/\$dldll~
13067 shlibpath_overrides_runpath=yes
13071 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13072 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13074 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13077 # MinGW DLLs use traditional 'lib' prefix
13078 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13081 # pw32 DLLs use 'pw' prefix rather than 'lib'
13082 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13085 dynamic_linker='Win32 ld.exe'
13090 libname_spec='$name'
13091 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13092 library_names_spec='${libname}.dll.lib'
13096 sys_lib_search_path_spec=
13099 for lt_path in $LIB
13102 # Let DOS variable expansion print the short 8.3 style file name.
13103 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13104 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13107 # Convert to MSYS style.
13108 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13111 # Convert to unix form, then to dos form, then back to unix form
13112 # but this time dos style (no spaces!) so that the unix form looks
13113 # like /cygdrive/c/PROGRA~1:/cygdr...
13114 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13115 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13116 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13119 sys_lib_search_path_spec="$LIB"
13120 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13121 # It is most probably a Windows format PATH.
13122 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13124 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13126 # FIXME: find the short name or the path components, as spaces are
13127 # common. (e.g. "Program Files" -> "PROGRA~1")
13131 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13132 postinstall_cmds='base_file=`basename \${file}`~
13133 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13134 dldir=$destdir/`dirname \$dlpath`~
13135 test -d \$dldir || mkdir -p \$dldir~
13136 $install_prog $dir/$dlname \$dldir/$dlname'
13137 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13138 dlpath=$dir/\$dldll~
13140 shlibpath_overrides_runpath=yes
13141 dynamic_linker='Win32 link.exe'
13145 # Assume MSVC wrapper
13146 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13147 dynamic_linker='Win32 ld.exe'
13150 # FIXME: first we should search . and the directory the executable is in
13154 darwin* | rhapsody*)
13155 dynamic_linker="$host_os dyld"
13156 version_type=darwin
13159 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13160 soname_spec='${libname}${release}${major}$shared_ext'
13161 shlibpath_overrides_runpath=yes
13162 shlibpath_var=DYLD_LIBRARY_PATH
13163 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13165 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13166 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13170 version_type=linux # correct to gnu/linux during the next big refactor
13173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13174 soname_spec='${libname}${release}${shared_ext}$major'
13175 shlibpath_var=LD_LIBRARY_PATH
13178 freebsd* | dragonfly*)
13179 # DragonFly does not have aout. When/if they implement a new
13180 # versioning mechanism, adjust this.
13181 if test -x /usr/bin/objformat; then
13182 objformat=`/usr/bin/objformat`
13185 freebsd[23].*) objformat=aout ;;
13186 *) objformat=elf ;;
13189 version_type=freebsd-$objformat
13190 case $version_type in
13192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13197 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13201 shlibpath_var=LD_LIBRARY_PATH
13204 shlibpath_overrides_runpath=yes
13206 freebsd3.[01]* | freebsdelf3.[01]*)
13207 shlibpath_overrides_runpath=yes
13208 hardcode_into_libs=yes
13210 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13211 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13212 shlibpath_overrides_runpath=no
13213 hardcode_into_libs=yes
13215 *) # from 4.6 on, and DragonFly
13216 shlibpath_overrides_runpath=yes
13217 hardcode_into_libs=yes
13223 version_type=linux # correct to gnu/linux during the next big refactor
13226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13227 soname_spec='${libname}${release}${shared_ext}$major'
13228 shlibpath_var=LD_LIBRARY_PATH
13229 shlibpath_overrides_runpath=no
13230 hardcode_into_libs=yes
13234 version_type=linux # correct to gnu/linux during the next big refactor
13237 dynamic_linker="$host_os runtime_loader"
13238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13239 soname_spec='${libname}${release}${shared_ext}$major'
13240 shlibpath_var=LIBRARY_PATH
13241 shlibpath_overrides_runpath=yes
13242 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13243 hardcode_into_libs=yes
13246 hpux9* | hpux10* | hpux11*)
13247 # Give a soname corresponding to the major version so that dld.sl refuses to
13248 # link against other versions.
13255 hardcode_into_libs=yes
13256 dynamic_linker="$host_os dld.so"
13257 shlibpath_var=LD_LIBRARY_PATH
13258 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13260 soname_spec='${libname}${release}${shared_ext}$major'
13261 if test "X$HPUX_IA64_MODE" = X32; then
13262 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13264 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13266 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13270 hardcode_into_libs=yes
13271 dynamic_linker="$host_os dld.sl"
13272 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13273 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13275 soname_spec='${libname}${release}${shared_ext}$major'
13276 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13277 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13281 dynamic_linker="$host_os dld.sl"
13282 shlibpath_var=SHLIB_PATH
13283 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13285 soname_spec='${libname}${release}${shared_ext}$major'
13288 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13289 postinstall_cmds='chmod 555 $lib'
13290 # or fails outright, so override atomically:
13291 install_override_mode=555
13295 version_type=linux # correct to gnu/linux during the next big refactor
13298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13299 soname_spec='${libname}${release}${shared_ext}$major'
13300 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13301 shlibpath_var=LD_LIBRARY_PATH
13302 shlibpath_overrides_runpath=no
13303 hardcode_into_libs=yes
13306 irix5* | irix6* | nonstopux*)
13308 nonstopux*) version_type=nonstopux ;;
13310 if test "$lt_cv_prog_gnu_ld" = yes; then
13311 version_type=linux # correct to gnu/linux during the next big refactor
13318 soname_spec='${libname}${release}${shared_ext}$major'
13319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13321 irix5* | nonstopux*)
13322 libsuff= shlibsuff=
13325 case $LD in # libtool.m4 will add one of these switches to LD
13326 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13327 libsuff= shlibsuff= libmagic=32-bit;;
13328 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13329 libsuff=32 shlibsuff=N32 libmagic=N32;;
13330 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13331 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13332 *) libsuff= shlibsuff= libmagic=never-match;;
13336 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13337 shlibpath_overrides_runpath=no
13338 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13339 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13340 hardcode_into_libs=yes
13343 # No shared lib support for Linux oldld, aout, or coff.
13344 linux*oldld* | linux*aout* | linux*coff*)
13348 # This must be glibc/ELF.
13349 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13350 version_type=linux # correct to gnu/linux during the next big refactor
13353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13354 soname_spec='${libname}${release}${shared_ext}$major'
13355 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13356 shlibpath_var=LD_LIBRARY_PATH
13357 shlibpath_overrides_runpath=no
13359 # Some binutils ld are patched to set DT_RUNPATH
13360 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13361 $as_echo_n "(cached) " >&6
13363 lt_cv_shlibpath_overrides_runpath=no
13364 save_LDFLAGS=$LDFLAGS
13365 save_libdir=$libdir
13366 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13367 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13369 /* end confdefs.h. */
13379 if ac_fn_c_try_link "$LINENO"; then :
13380 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13381 lt_cv_shlibpath_overrides_runpath=yes
13384 rm -f core conftest.err conftest.$ac_objext \
13385 conftest$ac_exeext conftest.$ac_ext
13386 LDFLAGS=$save_LDFLAGS
13387 libdir=$save_libdir
13391 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13393 # This implies no fast_install, which is unacceptable.
13394 # Some rework will be needed to allow for fast_install
13395 # before this can be enabled.
13396 hardcode_into_libs=yes
13398 # Append ld.so.conf contents to the search path
13399 if test -f /etc/ld.so.conf; then
13400 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' ' '`
13401 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13404 # We used to test for /lib/ld.so.1 and disable shared libraries on
13405 # powerpc, because MkLinux only supported shared libraries with the
13406 # GNU dynamic linker. Since this was broken with cross compilers,
13407 # most powerpc-linux boxes support dynamic linking these days and
13408 # people can always --disable-shared, the test was removed, and we
13409 # assume the GNU/Linux dynamic linker is in use.
13410 dynamic_linker='GNU/Linux ld.so'
13417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13418 soname_spec='${libname}${release}${shared_ext}$major'
13419 shlibpath_var=LD_LIBRARY_PATH
13420 shlibpath_overrides_runpath=no
13421 hardcode_into_libs=yes
13422 dynamic_linker='NetBSD ld.elf_so'
13429 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13431 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13432 dynamic_linker='NetBSD (a.out) ld.so'
13434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13435 soname_spec='${libname}${release}${shared_ext}$major'
13436 dynamic_linker='NetBSD ld.elf_so'
13438 shlibpath_var=LD_LIBRARY_PATH
13439 shlibpath_overrides_runpath=yes
13440 hardcode_into_libs=yes
13444 version_type=linux # correct to gnu/linux during the next big refactor
13445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13446 shlibpath_var=LD_LIBRARY_PATH
13447 shlibpath_overrides_runpath=yes
13454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13455 soname_spec='${libname}${release}${shared_ext}$major'
13456 shlibpath_var=LD_LIBRARY_PATH
13457 shlibpath_overrides_runpath=no
13458 hardcode_into_libs=yes
13459 dynamic_linker='ldqnx.so'
13464 sys_lib_dlsearch_path_spec="/usr/lib"
13466 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13468 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13469 *) need_version=no ;;
13471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13472 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13473 shlibpath_var=LD_LIBRARY_PATH
13474 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13476 openbsd2.[89] | openbsd2.[89].*)
13477 shlibpath_overrides_runpath=no
13480 shlibpath_overrides_runpath=yes
13484 shlibpath_overrides_runpath=yes
13489 libname_spec='$name'
13492 library_names_spec='$libname${shared_ext} $libname.a'
13493 dynamic_linker='OS/2 ld.exe'
13494 shlibpath_var=LIBPATH
13497 osf3* | osf4* | osf5*)
13501 soname_spec='${libname}${release}${shared_ext}$major'
13502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13503 shlibpath_var=LD_LIBRARY_PATH
13504 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13505 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13513 version_type=linux # correct to gnu/linux during the next big refactor
13516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $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 # ldd complains unless libraries are executable
13522 postinstall_cmds='chmod +x $lib'
13527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13528 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13529 shlibpath_var=LD_LIBRARY_PATH
13530 shlibpath_overrides_runpath=yes
13531 if test "$with_gnu_ld" = yes; then
13538 version_type=linux # correct to gnu/linux during the next big refactor
13539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13540 soname_spec='${libname}${release}${shared_ext}$major'
13541 shlibpath_var=LD_LIBRARY_PATH
13542 case $host_vendor in
13544 shlibpath_overrides_runpath=no
13546 runpath_var=LD_RUN_PATH
13554 shlibpath_overrides_runpath=no
13555 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13561 if test -d /usr/nec ;then
13562 version_type=linux # correct to gnu/linux during the next big refactor
13563 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13564 soname_spec='$libname${shared_ext}.$major'
13565 shlibpath_var=LD_LIBRARY_PATH
13569 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13570 version_type=freebsd-elf
13573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13574 soname_spec='${libname}${release}${shared_ext}$major'
13575 shlibpath_var=LD_LIBRARY_PATH
13576 shlibpath_overrides_runpath=yes
13577 hardcode_into_libs=yes
13578 if test "$with_gnu_ld" = yes; then
13579 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13581 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13584 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13588 sys_lib_dlsearch_path_spec='/usr/lib'
13592 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13593 version_type=linux # correct to gnu/linux during the next big refactor
13596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13597 shlibpath_var=LD_LIBRARY_PATH
13598 shlibpath_overrides_runpath=no
13599 hardcode_into_libs=yes
13603 version_type=linux # correct to gnu/linux during the next big refactor
13604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13605 soname_spec='${libname}${release}${shared_ext}$major'
13606 shlibpath_var=LD_LIBRARY_PATH
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13614 $as_echo "$dynamic_linker" >&6; }
13615 test "$dynamic_linker" = no && can_build_shared=no
13617 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13618 if test "$GCC" = yes; then
13619 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13622 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13623 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13625 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13626 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13721 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13723 if test -n "$hardcode_libdir_flag_spec" ||
13724 test -n "$runpath_var" ||
13725 test "X$hardcode_automatic" = "Xyes" ; then
13727 # We can hardcode non-existent directories.
13728 if test "$hardcode_direct" != no &&
13729 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13730 # have to relink, otherwise we might link with an installed library
13731 # when we should be linking with a yet-to-be-installed one
13732 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13733 test "$hardcode_minus_L" != no; then
13734 # Linking always hardcodes the temporary library directory.
13735 hardcode_action=relink
13737 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13738 hardcode_action=immediate
13741 # We cannot hardcode anything, or else we can only hardcode existing
13743 hardcode_action=unsupported
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13746 $as_echo "$hardcode_action" >&6; }
13748 if test "$hardcode_action" = relink ||
13749 test "$inherit_rpath" = yes; then
13750 # Fast installation is not supported
13751 enable_fast_install=no
13752 elif test "$shlibpath_overrides_runpath" = yes ||
13753 test "$enable_shared" = no; then
13754 # Fast installation is not necessary
13755 enable_fast_install=needless
13763 if test "x$enable_dlopen" != xyes; then
13764 enable_dlopen=unknown
13765 enable_dlopen_self=unknown
13766 enable_dlopen_self_static=unknown
13773 lt_cv_dlopen="load_add_on"
13775 lt_cv_dlopen_self=yes
13778 mingw* | pw32* | cegcc*)
13779 lt_cv_dlopen="LoadLibrary"
13784 lt_cv_dlopen="dlopen"
13789 # if libdl is installed we need to link against it
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13791 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13792 if ${ac_cv_lib_dl_dlopen+:} false; then :
13793 $as_echo_n "(cached) " >&6
13795 ac_check_lib_save_LIBS=$LIBS
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13800 /* Override any GCC internal prototype to avoid an error.
13801 Use char because int might match the return type of a GCC
13802 builtin and then its argument prototype would still apply. */
13815 if ac_fn_c_try_link "$LINENO"; then :
13816 ac_cv_lib_dl_dlopen=yes
13818 ac_cv_lib_dl_dlopen=no
13820 rm -f core conftest.err conftest.$ac_objext \
13821 conftest$ac_exeext conftest.$ac_ext
13822 LIBS=$ac_check_lib_save_LIBS
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13825 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13826 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13827 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13830 lt_cv_dlopen="dyld"
13832 lt_cv_dlopen_self=yes
13839 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13840 if test "x$ac_cv_func_shl_load" = xyes; then :
13841 lt_cv_dlopen="shl_load"
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13844 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13845 if ${ac_cv_lib_dld_shl_load+:} false; then :
13846 $as_echo_n "(cached) " >&6
13848 ac_check_lib_save_LIBS=$LIBS
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13853 /* Override any GCC internal prototype to avoid an error.
13854 Use char because int might match the return type of a GCC
13855 builtin and then its argument prototype would still apply. */
13863 return shl_load ();
13868 if ac_fn_c_try_link "$LINENO"; then :
13869 ac_cv_lib_dld_shl_load=yes
13871 ac_cv_lib_dld_shl_load=no
13873 rm -f core conftest.err conftest.$ac_objext \
13874 conftest$ac_exeext conftest.$ac_ext
13875 LIBS=$ac_check_lib_save_LIBS
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13878 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13879 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13880 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13882 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13883 if test "x$ac_cv_func_dlopen" = xyes; then :
13884 lt_cv_dlopen="dlopen"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13887 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13888 if ${ac_cv_lib_dl_dlopen+:} false; then :
13889 $as_echo_n "(cached) " >&6
13891 ac_check_lib_save_LIBS=$LIBS
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13896 /* Override any GCC internal prototype to avoid an error.
13897 Use char because int might match the return type of a GCC
13898 builtin and then its argument prototype would still apply. */
13911 if ac_fn_c_try_link "$LINENO"; then :
13912 ac_cv_lib_dl_dlopen=yes
13914 ac_cv_lib_dl_dlopen=no
13916 rm -f core conftest.err conftest.$ac_objext \
13917 conftest$ac_exeext conftest.$ac_ext
13918 LIBS=$ac_check_lib_save_LIBS
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13921 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13922 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13923 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13926 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13927 if ${ac_cv_lib_svld_dlopen+:} false; then :
13928 $as_echo_n "(cached) " >&6
13930 ac_check_lib_save_LIBS=$LIBS
13931 LIBS="-lsvld $LIBS"
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13935 /* Override any GCC internal prototype to avoid an error.
13936 Use char because int might match the return type of a GCC
13937 builtin and then its argument prototype would still apply. */
13950 if ac_fn_c_try_link "$LINENO"; then :
13951 ac_cv_lib_svld_dlopen=yes
13953 ac_cv_lib_svld_dlopen=no
13955 rm -f core conftest.err conftest.$ac_objext \
13956 conftest$ac_exeext conftest.$ac_ext
13957 LIBS=$ac_check_lib_save_LIBS
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13960 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13961 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13962 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13965 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13966 if ${ac_cv_lib_dld_dld_link+:} false; then :
13967 $as_echo_n "(cached) " >&6
13969 ac_check_lib_save_LIBS=$LIBS
13971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13974 /* Override any GCC internal prototype to avoid an error.
13975 Use char because int might match the return type of a GCC
13976 builtin and then its argument prototype would still apply. */
13984 return dld_link ();
13989 if ac_fn_c_try_link "$LINENO"; then :
13990 ac_cv_lib_dld_dld_link=yes
13992 ac_cv_lib_dld_dld_link=no
13994 rm -f core conftest.err conftest.$ac_objext \
13995 conftest$ac_exeext conftest.$ac_ext
13996 LIBS=$ac_check_lib_save_LIBS
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13999 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14000 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14001 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14022 if test "x$lt_cv_dlopen" != xno; then
14028 case $lt_cv_dlopen in
14030 save_CPPFLAGS="$CPPFLAGS"
14031 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14033 save_LDFLAGS="$LDFLAGS"
14034 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14037 LIBS="$lt_cv_dlopen_libs $LIBS"
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14040 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14041 if ${lt_cv_dlopen_self+:} false; then :
14042 $as_echo_n "(cached) " >&6
14044 if test "$cross_compiling" = yes; then :
14045 lt_cv_dlopen_self=cross
14047 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14048 lt_status=$lt_dlunknown
14049 cat > conftest.$ac_ext <<_LT_EOF
14050 #line $LINENO "configure"
14051 #include "confdefs.h"
14060 # define LT_DLGLOBAL RTLD_GLOBAL
14063 # define LT_DLGLOBAL DL_GLOBAL
14065 # define LT_DLGLOBAL 0
14069 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14070 find out it does not work in some platform. */
14071 #ifndef LT_DLLAZY_OR_NOW
14073 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14076 # define LT_DLLAZY_OR_NOW DL_LAZY
14079 # define LT_DLLAZY_OR_NOW RTLD_NOW
14082 # define LT_DLLAZY_OR_NOW DL_NOW
14084 # define LT_DLLAZY_OR_NOW 0
14091 /* When -fvisbility=hidden is used, assume the code has been annotated
14092 correspondingly for the symbols needed. */
14093 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14094 int fnord () __attribute__((visibility("default")));
14097 int fnord () { return 42; }
14100 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14101 int status = $lt_dlunknown;
14105 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14108 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14109 else puts (dlerror ());
14111 /* dlclose (self); */
14119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14120 (eval $ac_link) 2>&5
14122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14123 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14124 (./conftest; exit; ) >&5 2>/dev/null
14126 case x$lt_status in
14127 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14128 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14129 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14132 # compilation failed
14133 lt_cv_dlopen_self=no
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14141 $as_echo "$lt_cv_dlopen_self" >&6; }
14143 if test "x$lt_cv_dlopen_self" = xyes; then
14144 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14146 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14147 if ${lt_cv_dlopen_self_static+:} false; then :
14148 $as_echo_n "(cached) " >&6
14150 if test "$cross_compiling" = yes; then :
14151 lt_cv_dlopen_self_static=cross
14153 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14154 lt_status=$lt_dlunknown
14155 cat > conftest.$ac_ext <<_LT_EOF
14156 #line $LINENO "configure"
14157 #include "confdefs.h"
14166 # define LT_DLGLOBAL RTLD_GLOBAL
14169 # define LT_DLGLOBAL DL_GLOBAL
14171 # define LT_DLGLOBAL 0
14175 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14176 find out it does not work in some platform. */
14177 #ifndef LT_DLLAZY_OR_NOW
14179 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14182 # define LT_DLLAZY_OR_NOW DL_LAZY
14185 # define LT_DLLAZY_OR_NOW RTLD_NOW
14188 # define LT_DLLAZY_OR_NOW DL_NOW
14190 # define LT_DLLAZY_OR_NOW 0
14197 /* When -fvisbility=hidden is used, assume the code has been annotated
14198 correspondingly for the symbols needed. */
14199 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14200 int fnord () __attribute__((visibility("default")));
14203 int fnord () { return 42; }
14206 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14207 int status = $lt_dlunknown;
14211 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14214 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14215 else puts (dlerror ());
14217 /* dlclose (self); */
14225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14226 (eval $ac_link) 2>&5
14228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14229 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14230 (./conftest; exit; ) >&5 2>/dev/null
14232 case x$lt_status in
14233 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14234 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14235 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14238 # compilation failed
14239 lt_cv_dlopen_self_static=no
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14247 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14250 CPPFLAGS="$save_CPPFLAGS"
14251 LDFLAGS="$save_LDFLAGS"
14256 case $lt_cv_dlopen_self in
14257 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14258 *) enable_dlopen_self=unknown ;;
14261 case $lt_cv_dlopen_self_static in
14262 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14263 *) enable_dlopen_self_static=unknown ;;
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14286 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14287 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14288 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14289 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14291 $as_echo "yes" >&6; }
14293 # FIXME - insert some real tests, host_os isn't really good enough
14296 if test -n "$STRIP" ; then
14297 striplib="$STRIP -x"
14298 old_striplib="$STRIP -S"
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14300 $as_echo "yes" >&6; }
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14303 $as_echo "no" >&6; }
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14308 $as_echo "no" >&6; }
14324 # Report which library types will actually be built
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14326 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14328 $as_echo "$can_build_shared" >&6; }
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14331 $as_echo_n "checking whether to build shared libraries... " >&6; }
14332 test "$can_build_shared" = "no" && enable_shared=no
14334 # On AIX, shared libraries and static libraries use the same namespace, and
14335 # are all built from PIC.
14338 test "$enable_shared" = yes && enable_static=no
14339 if test -n "$RANLIB"; then
14340 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14341 postinstall_cmds='$RANLIB $lib'
14346 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14347 test "$enable_shared" = yes && enable_static=no
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14352 $as_echo "$enable_shared" >&6; }
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14355 $as_echo_n "checking whether to build static libraries... " >&6; }
14356 # Make sure either enable_shared or enable_static is yes.
14357 test "$enable_shared" = yes || enable_static=yes
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14359 $as_echo "$enable_static" >&6; }
14366 ac_cpp='$CPP $CPPFLAGS'
14367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14373 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14374 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14375 (test "X$CXX" != "Xg++"))) ; then
14377 ac_cpp='$CXXCPP $CPPFLAGS'
14378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14382 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14383 if test -z "$CXXCPP"; then
14384 if ${ac_cv_prog_CXXCPP+:} false; then :
14385 $as_echo_n "(cached) " >&6
14387 # Double quotes because CXXCPP needs to be expanded
14388 for CXXCPP in "$CXX -E" "/lib/cpp"
14390 ac_preproc_ok=false
14391 for ac_cxx_preproc_warn_flag in '' yes
14393 # Use a header file that comes with gcc, so configuring glibc
14394 # with a fresh cross-compiler works.
14395 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14396 # <limits.h> exists even on freestanding compilers.
14397 # On the NeXT, cc -E runs the code through the compiler's parser,
14398 # not just through cpp. "Syntax error" is here to catch this case.
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14402 @%:@ include <limits.h>
14404 @%:@ include <assert.h>
14408 if ac_fn_cxx_try_cpp "$LINENO"; then :
14411 # Broken: fails on valid input.
14414 rm -f conftest.err conftest.i conftest.$ac_ext
14416 # OK, works on sane cases. Now check whether nonexistent headers
14417 # can be detected and how.
14418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14420 @%:@include <ac_nonexistent.h>
14422 if ac_fn_cxx_try_cpp "$LINENO"; then :
14423 # Broken: success on invalid input.
14426 # Passes both tests.
14430 rm -f conftest.err conftest.i conftest.$ac_ext
14433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14434 rm -f conftest.i conftest.err conftest.$ac_ext
14435 if $ac_preproc_ok; then :
14440 ac_cv_prog_CXXCPP=$CXXCPP
14443 CXXCPP=$ac_cv_prog_CXXCPP
14445 ac_cv_prog_CXXCPP=$CXXCPP
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14448 $as_echo "$CXXCPP" >&6; }
14449 ac_preproc_ok=false
14450 for ac_cxx_preproc_warn_flag in '' yes
14452 # Use a header file that comes with gcc, so configuring glibc
14453 # with a fresh cross-compiler works.
14454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14455 # <limits.h> exists even on freestanding compilers.
14456 # On the NeXT, cc -E runs the code through the compiler's parser,
14457 # not just through cpp. "Syntax error" is here to catch this case.
14458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14461 @%:@ include <limits.h>
14463 @%:@ include <assert.h>
14467 if ac_fn_cxx_try_cpp "$LINENO"; then :
14470 # Broken: fails on valid input.
14473 rm -f conftest.err conftest.i conftest.$ac_ext
14475 # OK, works on sane cases. Now check whether nonexistent headers
14476 # can be detected and how.
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14479 @%:@include <ac_nonexistent.h>
14481 if ac_fn_cxx_try_cpp "$LINENO"; then :
14482 # Broken: success on invalid input.
14485 # Passes both tests.
14489 rm -f conftest.err conftest.i conftest.$ac_ext
14492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14493 rm -f conftest.i conftest.err conftest.$ac_ext
14494 if $ac_preproc_ok; then :
14497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14499 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14500 See \`config.log' for more details" "$LINENO" 5; }
14504 ac_cpp='$CPP $CPPFLAGS'
14505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14510 _lt_caught_CXX_error=yes
14514 ac_cpp='$CXXCPP $CPPFLAGS'
14515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14519 archive_cmds_need_lc_CXX=no
14520 allow_undefined_flag_CXX=
14521 always_export_symbols_CXX=no
14522 archive_expsym_cmds_CXX=
14523 compiler_needs_object_CXX=no
14524 export_dynamic_flag_spec_CXX=
14525 hardcode_direct_CXX=no
14526 hardcode_direct_absolute_CXX=no
14527 hardcode_libdir_flag_spec_CXX=
14528 hardcode_libdir_separator_CXX=
14529 hardcode_minus_L_CXX=no
14530 hardcode_shlibpath_var_CXX=unsupported
14531 hardcode_automatic_CXX=no
14532 inherit_rpath_CXX=no
14534 module_expsym_cmds_CXX=
14535 link_all_deplibs_CXX=unknown
14536 old_archive_cmds_CXX=$old_archive_cmds
14537 reload_flag_CXX=$reload_flag
14538 reload_cmds_CXX=$reload_cmds
14539 no_undefined_flag_CXX=
14540 whole_archive_flag_spec_CXX=
14541 enable_shared_with_static_runtimes_CXX=no
14543 # Source file extension for C++ test sources.
14546 # Object file extension for compiled C++ test sources.
14550 # No sense in running all these tests if we already determined that
14551 # the CXX compiler isn't working. Some variables (like enable_shared)
14552 # are currently assumed to apply to all compilers on this platform,
14553 # and will be corrupted by setting them based on a non-working compiler.
14554 if test "$_lt_caught_CXX_error" != yes; then
14555 # Code to be used in simple compile tests
14556 lt_simple_compile_test_code="int some_variable = 0;"
14558 # Code to be used in simple link tests
14559 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14561 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14568 # If no C compiler was specified, use CC.
14571 # If no C compiler flags were specified, use CFLAGS.
14572 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14574 # Allow CC to be a program name with arguments.
14578 # save warnings/boilerplate of simple test code
14579 ac_outfile=conftest.$ac_objext
14580 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14581 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14582 _lt_compiler_boilerplate=`cat conftest.err`
14585 ac_outfile=conftest.$ac_objext
14586 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14587 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14588 _lt_linker_boilerplate=`cat conftest.err`
14592 # Allow CC to be a program name with arguments.
14594 lt_save_CFLAGS=$CFLAGS
14598 lt_save_with_gnu_ld=$with_gnu_ld
14599 lt_save_path_LD=$lt_cv_path_LD
14600 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14601 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14603 $as_unset lt_cv_prog_gnu_ld
14605 if test -n "${lt_cv_path_LDCXX+set}"; then
14606 lt_cv_path_LD=$lt_cv_path_LDCXX
14608 $as_unset lt_cv_path_LD
14610 test -z "${LDCXX+set}" || LD=$LDCXX
14615 for cc_temp in $compiler""; do
14617 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14618 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14623 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14626 if test -n "$compiler"; then
14627 # We don't want -fno-exception when compiling C++ code, so set the
14628 # no_builtin_flag separately
14629 if test "$GXX" = yes; then
14630 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14632 lt_prog_compiler_no_builtin_flag_CXX=
14635 if test "$GXX" = yes; then
14636 # Set up default GNU C++ configuration
14640 @%:@ Check whether --with-gnu-ld was given.
14641 if test "${with_gnu_ld+set}" = set; then :
14642 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14648 if test "$GCC" = yes; then
14649 # Check if gcc -print-prog-name=ld gives a path.
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14651 $as_echo_n "checking for ld used by $CC... " >&6; }
14654 # gcc leaves a trailing carriage return which upsets mingw
14655 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14657 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14660 # Accept absolute paths.
14662 re_direlt='/[^/][^/]*/\.\./'
14663 # Canonicalize the pathname of ld
14664 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14665 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14666 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14668 test -z "$LD" && LD="$ac_prog"
14671 # If it fails, then pretend we aren't using GCC.
14675 # If it is relative, then search for the first ld in PATH.
14676 with_gnu_ld=unknown
14679 elif test "$with_gnu_ld" = yes; then
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14681 $as_echo_n "checking for GNU ld... " >&6; }
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14684 $as_echo_n "checking for non-GNU ld... " >&6; }
14686 if ${lt_cv_path_LD+:} false; then :
14687 $as_echo_n "(cached) " >&6
14689 if test -z "$LD"; then
14690 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14691 for ac_dir in $PATH; do
14693 test -z "$ac_dir" && ac_dir=.
14694 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14695 lt_cv_path_LD="$ac_dir/$ac_prog"
14696 # Check to see if the program is GNU ld. I'd rather use --version,
14697 # but apparently some variants of GNU ld only accept -v.
14698 # Break only if it was the GNU/non-GNU ld that we prefer.
14699 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14700 *GNU* | *'with BFD'*)
14701 test "$with_gnu_ld" != no && break
14704 test "$with_gnu_ld" != yes && break
14711 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14715 LD="$lt_cv_path_LD"
14716 if test -n "$LD"; then
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14718 $as_echo "$LD" >&6; }
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14721 $as_echo "no" >&6; }
14723 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14725 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14726 if ${lt_cv_prog_gnu_ld+:} false; then :
14727 $as_echo_n "(cached) " >&6
14729 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14730 case `$LD -v 2>&1 </dev/null` in
14731 *GNU* | *'with BFD'*)
14732 lt_cv_prog_gnu_ld=yes
14735 lt_cv_prog_gnu_ld=no
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14740 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14741 with_gnu_ld=$lt_cv_prog_gnu_ld
14749 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14750 # archiving commands below assume that GNU ld is being used.
14751 if test "$with_gnu_ld" = yes; then
14752 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14753 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'
14755 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14756 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14758 # If archive_cmds runs LD, not CC, wlarc should be empty
14759 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14760 # investigate it a little bit more. (MM)
14763 # ancient GNU ld didn't support --whole-archive et. al.
14764 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14765 $GREP 'no-whole-archive' > /dev/null; then
14766 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14768 whole_archive_flag_spec_CXX=
14774 # A generic and very simple default shared library creation
14775 # command for GNU C++ for the case where it uses the native
14776 # linker, instead of GNU ld. If possible, this setting should
14777 # overridden to take advantage of the native linker features on
14778 # the platform it is being used on.
14779 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14782 # Commands to make compiler produce verbose output that lists
14783 # what "hidden" libraries, object files and flags are used when
14784 # linking a shared library.
14785 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14793 # PORTME: fill in a description of your system's C++ link characteristics
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14795 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14799 # FIXME: insert proper C++ library support
14803 if test "$host_cpu" = ia64; then
14804 # On IA64, the linker does run time linking by default, so we don't
14805 # have to do anything special.
14806 aix_use_runtimelinking=no
14807 exp_sym_flag='-Bexport'
14810 aix_use_runtimelinking=no
14812 # Test if we are trying to use run time linking or normal
14813 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14814 # need to do runtime linking.
14815 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14816 for ld_flag in $LDFLAGS; do
14819 aix_use_runtimelinking=yes
14827 exp_sym_flag='-bexport'
14828 no_entry_flag='-bnoentry'
14831 # When large executables or shared objects are built, AIX ld can
14832 # have problems creating the table of contents. If linking a library
14833 # or program results in "error TOC overflow" add -mminimal-toc to
14834 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14835 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14837 archive_cmds_CXX=''
14838 hardcode_direct_CXX=yes
14839 hardcode_direct_absolute_CXX=yes
14840 hardcode_libdir_separator_CXX=':'
14841 link_all_deplibs_CXX=yes
14842 file_list_spec_CXX='${wl}-f,'
14844 if test "$GXX" = yes; then
14845 case $host_os in aix4.[012]|aix4.[012].*)
14846 # We only want to do this on AIX 4.2 and lower, the check
14847 # below for broken collect2 doesn't work under 4.3+
14848 collect2name=`${CC} -print-prog-name=collect2`
14849 if test -f "$collect2name" &&
14850 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14852 # We have reworked collect2
14855 # We have old collect2
14856 hardcode_direct_CXX=unsupported
14857 # It fails to find uninstalled libraries when the uninstalled
14858 # path is not listed in the libpath. Setting hardcode_minus_L
14859 # to unsupported forces relinking
14860 hardcode_minus_L_CXX=yes
14861 hardcode_libdir_flag_spec_CXX='-L$libdir'
14862 hardcode_libdir_separator_CXX=
14865 shared_flag='-shared'
14866 if test "$aix_use_runtimelinking" = yes; then
14867 shared_flag="$shared_flag "'${wl}-G'
14871 if test "$host_cpu" = ia64; then
14872 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14873 # chokes on -Wl,-G. The following line is correct:
14876 if test "$aix_use_runtimelinking" = yes; then
14877 shared_flag='${wl}-G'
14879 shared_flag='${wl}-bM:SRE'
14884 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14885 # It seems that -bexpall does not export symbols beginning with
14886 # underscore (_), so it is better to generate a list of symbols to
14888 always_export_symbols_CXX=yes
14889 if test "$aix_use_runtimelinking" = yes; then
14890 # Warning - without using the other runtime loading flags (-brtl),
14891 # -berok will link without error, but may produce a broken library.
14892 allow_undefined_flag_CXX='-berok'
14893 # Determine the default libpath from the value encoded in an empty
14895 if test "${lt_cv_aix_libpath+set}" = set; then
14896 aix_libpath=$lt_cv_aix_libpath
14898 if ${lt_cv_aix_libpath__CXX+:} false; then :
14899 $as_echo_n "(cached) " >&6
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14912 if ac_fn_cxx_try_link "$LINENO"; then :
14914 lt_aix_libpath_sed='
14915 /Import File Strings/,/^$/ {
14917 s/^0 *\([^ ]*\) *$/\1/
14921 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14922 # Check for a 64-bit object if we didn't find anything.
14923 if test -z "$lt_cv_aix_libpath__CXX"; then
14924 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14927 rm -f core conftest.err conftest.$ac_objext \
14928 conftest$ac_exeext conftest.$ac_ext
14929 if test -z "$lt_cv_aix_libpath__CXX"; then
14930 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14935 aix_libpath=$lt_cv_aix_libpath__CXX
14938 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14940 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"
14942 if test "$host_cpu" = ia64; then
14943 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14944 allow_undefined_flag_CXX="-z nodefs"
14945 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"
14947 # Determine the default libpath from the value encoded in an
14948 # empty executable.
14949 if test "${lt_cv_aix_libpath+set}" = set; then
14950 aix_libpath=$lt_cv_aix_libpath
14952 if ${lt_cv_aix_libpath__CXX+:} false; then :
14953 $as_echo_n "(cached) " >&6
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14966 if ac_fn_cxx_try_link "$LINENO"; then :
14968 lt_aix_libpath_sed='
14969 /Import File Strings/,/^$/ {
14971 s/^0 *\([^ ]*\) *$/\1/
14975 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14976 # Check for a 64-bit object if we didn't find anything.
14977 if test -z "$lt_cv_aix_libpath__CXX"; then
14978 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14981 rm -f core conftest.err conftest.$ac_objext \
14982 conftest$ac_exeext conftest.$ac_ext
14983 if test -z "$lt_cv_aix_libpath__CXX"; then
14984 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14989 aix_libpath=$lt_cv_aix_libpath__CXX
14992 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14993 # Warning - without using the other run time loading flags,
14994 # -berok will link without error, but may produce a broken library.
14995 no_undefined_flag_CXX=' ${wl}-bernotok'
14996 allow_undefined_flag_CXX=' ${wl}-berok'
14997 if test "$with_gnu_ld" = yes; then
14998 # We only use this code for GNU lds that support --whole-archive.
14999 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15001 # Exported symbols can be pulled into shared objects from archives
15002 whole_archive_flag_spec_CXX='$convenience'
15004 archive_cmds_need_lc_CXX=yes
15005 # This is similar to how AIX traditionally builds its shared
15007 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'
15013 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15014 allow_undefined_flag_CXX=unsupported
15015 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15016 # support --undefined. This deserves some investigation. FIXME
15017 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15024 case $cc_basename in
15026 # FIXME: insert proper C++ library support
15032 cygwin* | mingw* | pw32* | cegcc*)
15033 case $GXX,$cc_basename in
15036 # hardcode_libdir_flag_spec is actually meaningless, as there is
15037 # no search path for DLLs.
15038 hardcode_libdir_flag_spec_CXX=' '
15039 allow_undefined_flag_CXX=unsupported
15040 always_export_symbols_CXX=yes
15041 file_list_spec_CXX='@'
15042 # Tell ltmain to make .lib files, not .a files.
15044 # Tell ltmain to make .dll files, not .so files.
15046 # FIXME: Setting linknames here is a bad hack.
15047 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15048 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15049 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15051 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15053 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15055 # The linker will not automatically build a static lib if we build a DLL.
15056 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15057 enable_shared_with_static_runtimes_CXX=yes
15059 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15060 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15061 lt_tool_outputfile="@TOOL_OUTPUT@"~
15062 case $lt_outputfile in
15065 lt_outputfile="$lt_outputfile.exe"
15066 lt_tool_outputfile="$lt_tool_outputfile.exe"
15069 func_to_tool_file "$lt_outputfile"~
15070 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15071 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15072 $RM "$lt_outputfile.manifest";
15077 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15078 # as there is no search path for DLLs.
15079 hardcode_libdir_flag_spec_CXX='-L$libdir'
15080 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15081 allow_undefined_flag_CXX=unsupported
15082 always_export_symbols_CXX=no
15083 enable_shared_with_static_runtimes_CXX=yes
15085 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15086 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'
15087 # If the export-symbols file already is a .def file (1st line
15088 # is EXPORTS), use it as is; otherwise, prepend...
15089 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15090 cp $export_symbols $output_objdir/$soname.def;
15092 echo EXPORTS > $output_objdir/$soname.def;
15093 cat $export_symbols >> $output_objdir/$soname.def;
15095 $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'
15102 darwin* | rhapsody*)
15105 archive_cmds_need_lc_CXX=no
15106 hardcode_direct_CXX=no
15107 hardcode_automatic_CXX=yes
15108 hardcode_shlibpath_var_CXX=unsupported
15109 if test "$lt_cv_ld_force_load" = "yes"; then
15110 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\"`'
15113 whole_archive_flag_spec_CXX=''
15115 link_all_deplibs_CXX=yes
15116 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15117 case $cc_basename in
15118 ifort*) _lt_dar_can_shared=yes ;;
15119 *) _lt_dar_can_shared=$GCC ;;
15121 if test "$_lt_dar_can_shared" = "yes"; then
15122 output_verbose_link_cmd=func_echo_all
15123 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}"
15124 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15125 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}"
15126 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}"
15127 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15128 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}"
15129 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}"
15139 case $cc_basename in
15141 # FIXME: insert proper C++ library support
15145 # Green Hills C++ Compiler
15146 # FIXME: insert proper C++ library support
15150 # FIXME: insert proper C++ library support
15157 # C++ shared libraries reported to be fairly broken before
15163 archive_cmds_need_lc_CXX=no
15166 freebsd* | dragonfly*)
15167 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15176 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15177 link_all_deplibs_CXX=yes
15181 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15182 hardcode_libdir_separator_CXX=:
15183 export_dynamic_flag_spec_CXX='${wl}-E'
15184 hardcode_direct_CXX=yes
15185 hardcode_minus_L_CXX=yes # Not in the search PATH,
15186 # but as the default
15187 # location of the library.
15189 case $cc_basename in
15191 # FIXME: insert proper C++ library support
15195 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'
15196 # Commands to make compiler produce verbose output that lists
15197 # what "hidden" libraries, object files and flags are used when
15198 # linking a shared library.
15200 # There doesn't appear to be a way to prevent this compiler from
15201 # explicitly linking system object files so we need to strip them
15202 # from the output so that they don't get included in the library
15204 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"'
15207 if test "$GXX" = yes; then
15208 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'
15210 # FIXME: insert proper C++ library support
15218 if test $with_gnu_ld = no; then
15219 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15220 hardcode_libdir_separator_CXX=:
15226 export_dynamic_flag_spec_CXX='${wl}-E'
15232 hardcode_direct_CXX=no
15233 hardcode_shlibpath_var_CXX=no
15236 hardcode_direct_CXX=yes
15237 hardcode_direct_absolute_CXX=yes
15238 hardcode_minus_L_CXX=yes # Not in the search PATH,
15239 # but as the default
15240 # location of the library.
15244 case $cc_basename in
15246 # FIXME: insert proper C++ library support
15252 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15255 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15258 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15261 # Commands to make compiler produce verbose output that lists
15262 # what "hidden" libraries, object files and flags are used when
15263 # linking a shared library.
15265 # There doesn't appear to be a way to prevent this compiler from
15266 # explicitly linking system object files so we need to strip them
15267 # from the output so that they don't get included in the library
15269 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"'
15272 if test "$GXX" = yes; then
15273 if test $with_gnu_ld = no; then
15276 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15279 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15282 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'
15287 # FIXME: insert proper C++ library support
15295 hardcode_direct_CXX=no
15296 hardcode_shlibpath_var_CXX=no
15297 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15298 export_dynamic_flag_spec_CXX='${wl}-E'
15299 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15300 # Instead, shared libraries are loaded at an image base (0x10000000 by
15301 # default) and relocated if they conflict, which is a slow very memory
15302 # consuming and fragmenting process. To avoid this, we pick a random,
15303 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15304 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15305 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'
15306 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'
15309 case $cc_basename in
15312 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'
15314 # Archives containing C++ object files must be created using
15315 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15316 # necessary to make sure instantiated templates are included
15318 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15321 if test "$GXX" = yes; then
15322 if test "$with_gnu_ld" = no; then
15323 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'
15325 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'
15328 link_all_deplibs_CXX=yes
15331 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15332 hardcode_libdir_separator_CXX=:
15333 inherit_rpath_CXX=yes
15336 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15337 case $cc_basename in
15339 # Kuck and Associates, Inc. (KAI) C++ Compiler
15341 # KCC will only create a shared library if the output file
15342 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15343 # to its proper name (with version) after linking.
15344 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'
15345 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'
15346 # Commands to make compiler produce verbose output that lists
15347 # what "hidden" libraries, object files and flags are used when
15348 # linking a shared library.
15350 # There doesn't appear to be a way to prevent this compiler from
15351 # explicitly linking system object files so we need to strip them
15352 # from the output so that they don't get included in the library
15354 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"'
15356 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15357 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15359 # Archives containing C++ object files must be created using
15360 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15361 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15366 # version 8.0 and above of icpc choke on multiply defined symbols
15367 # if we add $predep_objects and $postdep_objects, however 7.1 and
15368 # earlier do not add the objects themselves.
15369 case `$CC -V 2>&1` in
15371 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15372 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'
15374 *) # Version 8.0 or newer
15377 ia64*) tmp_idyn=' -i_dynamic';;
15379 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15380 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'
15383 archive_cmds_need_lc_CXX=no
15384 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15385 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15386 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15389 # Portland Group C++ compiler
15391 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15392 prelink_cmds_CXX='tpldir=Template.dir~
15394 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15395 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15396 old_archive_cmds_CXX='tpldir=Template.dir~
15398 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15399 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15401 archive_cmds_CXX='tpldir=Template.dir~
15403 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15404 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15405 archive_expsym_cmds_CXX='tpldir=Template.dir~
15407 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15408 $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'
15410 *) # Version 6 and above use weak symbols
15411 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15412 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'
15416 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15417 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15418 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'
15422 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15423 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'
15425 runpath_var=LD_RUN_PATH
15426 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15427 hardcode_libdir_separator_CXX=:
15429 # Commands to make compiler produce verbose output that lists
15430 # what "hidden" libraries, object files and flags are used when
15431 # linking a shared library.
15433 # There doesn't appear to be a way to prevent this compiler from
15434 # explicitly linking system object files so we need to strip them
15435 # from the output so that they don't get included in the library
15437 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'
15439 xl* | mpixl* | bgxl*)
15440 # IBM XL 8.0 on PPC, with GNU ld
15441 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15442 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15443 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15444 if test "x$supports_anon_versioning" = xyes; then
15445 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15446 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15447 echo "local: *; };" >> $output_objdir/$libname.ver~
15448 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15452 case `$CC -V 2>&1 | sed 5q` in
15455 no_undefined_flag_CXX=' -zdefs'
15456 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15457 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'
15458 hardcode_libdir_flag_spec_CXX='-R$libdir'
15459 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'
15460 compiler_needs_object_CXX=yes
15462 # Not sure whether something based on
15463 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15465 output_verbose_link_cmd='func_echo_all'
15467 # Archives containing C++ object files must be created using
15468 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15469 # necessary to make sure instantiated templates are included
15471 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15479 # FIXME: insert proper C++ library support
15484 # FIXME: insert proper C++ library support
15489 case $cc_basename in
15491 # FIXME: insert proper C++ library support
15495 # FIXME: insert proper C++ library support
15502 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15503 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15505 hardcode_libdir_flag_spec_CXX='-R$libdir'
15506 hardcode_direct_CXX=yes
15507 hardcode_shlibpath_var_CXX=no
15509 # Workaround some broken pre-1.5 toolchains
15510 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15518 # C++ shared libraries are fairly broken
15523 if test -f /usr/libexec/ld.so; then
15524 hardcode_direct_CXX=yes
15525 hardcode_shlibpath_var_CXX=no
15526 hardcode_direct_absolute_CXX=yes
15527 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15528 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15529 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15530 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15531 export_dynamic_flag_spec_CXX='${wl}-E'
15532 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15534 output_verbose_link_cmd=func_echo_all
15540 osf3* | osf4* | osf5*)
15541 case $cc_basename in
15543 # Kuck and Associates, Inc. (KAI) C++ Compiler
15545 # KCC will only create a shared library if the output file
15546 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15547 # to its proper name (with version) after linking.
15548 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'
15550 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15551 hardcode_libdir_separator_CXX=:
15553 # Archives containing C++ object files must be created using
15554 # the KAI C++ compiler.
15556 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15557 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15561 # Rational C++ 2.4.1
15562 # FIXME: insert proper C++ library support
15568 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15569 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'
15570 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15573 allow_undefined_flag_CXX=' -expect_unresolved \*'
15574 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'
15575 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15576 echo "-hidden">> $lib.exp~
15577 $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~
15579 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15583 hardcode_libdir_separator_CXX=:
15585 # Commands to make compiler produce verbose output that lists
15586 # what "hidden" libraries, object files and flags are used when
15587 # linking a shared library.
15589 # There doesn't appear to be a way to prevent this compiler from
15590 # explicitly linking system object files so we need to strip them
15591 # from the output so that they don't get included in the library
15593 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"'
15596 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15597 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15600 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'
15603 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'
15607 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15608 hardcode_libdir_separator_CXX=:
15610 # Commands to make compiler produce verbose output that lists
15611 # what "hidden" libraries, object files and flags are used when
15612 # linking a shared library.
15613 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15616 # FIXME: insert proper C++ library support
15624 # FIXME: insert proper C++ library support
15629 case $cc_basename in
15632 # FIXME: insert proper C++ library support
15637 # FIXME: insert proper C++ library support
15641 # FIXME: insert proper C++ library support
15648 case $cc_basename in
15650 # Sun C++ 4.2, 5.x and Centerline C++
15651 archive_cmds_need_lc_CXX=yes
15652 no_undefined_flag_CXX=' -zdefs'
15653 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15654 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15655 $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'
15657 hardcode_libdir_flag_spec_CXX='-R$libdir'
15658 hardcode_shlibpath_var_CXX=no
15660 solaris2.[0-5] | solaris2.[0-5].*) ;;
15662 # The compiler driver will combine and reorder linker options,
15663 # but understands `-z linker_flag'.
15664 # Supported since Solaris 2.6 (maybe 2.5.1?)
15665 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15668 link_all_deplibs_CXX=yes
15670 output_verbose_link_cmd='func_echo_all'
15672 # Archives containing C++ object files must be created using
15673 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15674 # necessary to make sure instantiated templates are included
15676 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15679 # Green Hills C++ Compiler
15680 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15682 # The C++ compiler must be used to create the archive.
15683 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15686 # GNU C++ compiler with Solaris linker
15687 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15688 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15689 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15690 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15691 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15692 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15694 # Commands to make compiler produce verbose output that lists
15695 # what "hidden" libraries, object files and flags are used when
15696 # linking a shared library.
15697 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15699 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15701 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15702 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15703 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15705 # Commands to make compiler produce verbose output that lists
15706 # what "hidden" libraries, object files and flags are used when
15707 # linking a shared library.
15708 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15711 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15713 solaris2.[0-5] | solaris2.[0-5].*) ;;
15715 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15723 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15724 no_undefined_flag_CXX='${wl}-z,text'
15725 archive_cmds_need_lc_CXX=no
15726 hardcode_shlibpath_var_CXX=no
15727 runpath_var='LD_RUN_PATH'
15729 case $cc_basename in
15731 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15732 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15735 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15736 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15741 sysv5* | sco3.2v5* | sco5v6*)
15742 # Note: We can NOT use -z defs as we might desire, because we do not
15743 # link with -lc, and that would cause any symbols used from libc to
15744 # always be unresolved, which means just about no library would
15745 # ever link correctly. If we're not using GNU ld we use -z text
15746 # though, which does catch some bad symbols but isn't as heavy-handed
15748 no_undefined_flag_CXX='${wl}-z,text'
15749 allow_undefined_flag_CXX='${wl}-z,nodefs'
15750 archive_cmds_need_lc_CXX=no
15751 hardcode_shlibpath_var_CXX=no
15752 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15753 hardcode_libdir_separator_CXX=':'
15754 link_all_deplibs_CXX=yes
15755 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15756 runpath_var='LD_RUN_PATH'
15758 case $cc_basename in
15760 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15761 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15762 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15763 '"$old_archive_cmds_CXX"
15764 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15765 '"$reload_cmds_CXX"
15768 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15769 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15775 case $cc_basename in
15777 # NonStop-UX NCC 3.20
15778 # FIXME: insert proper C++ library support
15782 # FIXME: insert proper C++ library support
15789 # FIXME: insert proper C++ library support
15794 # FIXME: insert proper C++ library support
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15800 $as_echo "$ld_shlibs_CXX" >&6; }
15801 test "$ld_shlibs_CXX" = no && can_build_shared=no
15807 ## There is no encapsulation within the following macros, do not change
15808 ## the running order or otherwise move them around unless you know exactly
15809 ## what you are doing...
15810 # Dependencies to place before and after the object being linked:
15811 predep_objects_CXX=
15812 postdep_objects_CXX=
15815 compiler_lib_search_path_CXX=
15817 cat > conftest.$ac_ext <<_LT_EOF
15821 Foo (void) { a = 0; }
15828 _lt_libdeps_save_CFLAGS=$CFLAGS
15829 case "$CC $CFLAGS " in #(
15830 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15831 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15832 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15835 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15836 (eval $ac_compile) 2>&5
15838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15839 test $ac_status = 0; }; then
15840 # Parse the compiler output and extract the necessary
15841 # objects, libraries and library flags.
15843 # Sentinel used to keep track of whether or not we are before
15844 # the conftest object file.
15845 pre_test_object_deps_done=no
15847 for p in `eval "$output_verbose_link_cmd"`; do
15848 case ${prev}${p} in
15851 # Some compilers place space between "-{L,R}" and the path.
15852 # Remove the space.
15853 if test $p = "-L" ||
15854 test $p = "-R"; then
15859 # Expand the sysroot to ease extracting the directories later.
15860 if test -z "$prev"; then
15862 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15863 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15864 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15868 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15870 if test "$pre_test_object_deps_done" = no; then
15873 # Internal compiler library paths should come after those
15874 # provided the user. The postdeps already come after the
15875 # user supplied libs so there is no need to process them.
15876 if test -z "$compiler_lib_search_path_CXX"; then
15877 compiler_lib_search_path_CXX="${prev}${p}"
15879 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15882 # The "-l" case would never come before the object being
15883 # linked, so don't bother handling this case.
15886 if test -z "$postdeps_CXX"; then
15887 postdeps_CXX="${prev}${p}"
15889 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15895 *.lto.$objext) ;; # Ignore GCC LTO objects
15897 # This assumes that the test object file only shows up
15898 # once in the compiler output.
15899 if test "$p" = "conftest.$objext"; then
15900 pre_test_object_deps_done=yes
15904 if test "$pre_test_object_deps_done" = no; then
15905 if test -z "$predep_objects_CXX"; then
15906 predep_objects_CXX="$p"
15908 predep_objects_CXX="$predep_objects_CXX $p"
15911 if test -z "$postdep_objects_CXX"; then
15912 postdep_objects_CXX="$p"
15914 postdep_objects_CXX="$postdep_objects_CXX $p"
15919 *) ;; # Ignore the rest.
15927 echo "libtool.m4: error: problem compiling CXX test program"
15930 $RM -f confest.$objext
15931 CFLAGS=$_lt_libdeps_save_CFLAGS
15933 # PORTME: override above test on systems where it is broken
15936 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15937 # hack all around it, let's just trust "g++" to DTRT.
15938 predep_objects_CXX=
15939 postdep_objects_CXX=
15944 case `$CC -V 2>&1 | sed 5q` in
15948 # The more standards-conforming stlport4 library is
15949 # incompatible with the Cstd library. Avoid specifying
15950 # it if it's in CXXFLAGS. Ignore libCrun as
15951 # -library=stlport4 depends on it.
15952 case " $CXX $CXXFLAGS " in
15953 *" -library=stlport4 "*)
15954 solaris_use_stlport4=yes
15958 if test "$solaris_use_stlport4" != yes; then
15959 postdeps_CXX='-library=Cstd -library=Crun'
15966 case $cc_basename in
15968 # The more standards-conforming stlport4 library is
15969 # incompatible with the Cstd library. Avoid specifying
15970 # it if it's in CXXFLAGS. Ignore libCrun as
15971 # -library=stlport4 depends on it.
15972 case " $CXX $CXXFLAGS " in
15973 *" -library=stlport4 "*)
15974 solaris_use_stlport4=yes
15978 # Adding this requires a known-good setup of shared libraries for
15979 # Sun compiler versions before 5.6, else PIC objects from an old
15980 # archive will be linked into the output, leading to subtle bugs.
15981 if test "$solaris_use_stlport4" != yes; then
15982 postdeps_CXX='-library=Cstd -library=Crun'
15990 case " $postdeps_CXX " in
15991 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15993 compiler_lib_search_dirs_CXX=
15994 if test -n "${compiler_lib_search_path_CXX}"; then
15995 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16028 lt_prog_compiler_wl_CXX=
16029 lt_prog_compiler_pic_CXX=
16030 lt_prog_compiler_static_CXX=
16033 # C++ specific cases for pic, static, wl, etc.
16034 if test "$GXX" = yes; then
16035 lt_prog_compiler_wl_CXX='-Wl,'
16036 lt_prog_compiler_static_CXX='-static'
16040 # All AIX code is PIC.
16041 if test "$host_cpu" = ia64; then
16042 # AIX 5 now supports IA64 processor
16043 lt_prog_compiler_static_CXX='-Bstatic'
16050 # see comment about AmigaOS4 .so support
16051 lt_prog_compiler_pic_CXX='-fPIC'
16054 # FIXME: we need at least 68020 code to build shared libraries, but
16055 # adding the `-m68020' flag to GCC prevents building anything better,
16057 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16062 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16063 # PIC is the default for these OSes.
16065 mingw* | cygwin* | os2* | pw32* | cegcc*)
16066 # This hack is so that the source file can tell whether it is being
16067 # built for inclusion in a dll (and should export symbols for example).
16068 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16069 # (--disable-auto-import) libraries
16070 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16072 darwin* | rhapsody*)
16073 # PIC is the default on this platform
16074 # Common symbols not allowed in MH_DYLIB files
16075 lt_prog_compiler_pic_CXX='-fno-common'
16078 # DJGPP does not support shared libraries at all
16079 lt_prog_compiler_pic_CXX=
16082 # PIC is the default for Haiku.
16083 # The "-static" flag exists, but is broken.
16084 lt_prog_compiler_static_CXX=
16087 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16088 # Instead, we relocate shared libraries at runtime.
16091 if test -d /usr/nec; then
16092 lt_prog_compiler_pic_CXX=-Kconform_pic
16096 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16097 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16098 # sets the default TLS model and affects inlining.
16103 lt_prog_compiler_pic_CXX='-fPIC'
16108 # QNX uses GNU C++, but need to define -shared option too, otherwise
16109 # it will coredump.
16110 lt_prog_compiler_pic_CXX='-fPIC -shared'
16113 lt_prog_compiler_pic_CXX='-fPIC'
16119 # All AIX code is PIC.
16120 if test "$host_cpu" = ia64; then
16121 # AIX 5 now supports IA64 processor
16122 lt_prog_compiler_static_CXX='-Bstatic'
16124 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16128 case $cc_basename in
16130 # Green Hills C++ Compiler
16131 # _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"
16135 mingw* | cygwin* | os2* | pw32* | cegcc*)
16136 # This hack is so that the source file can tell whether it is being
16137 # built for inclusion in a dll (and should export symbols for example).
16138 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16141 case $cc_basename in
16143 lt_prog_compiler_pic_CXX='-KPIC'
16146 # Green Hills C++ Compiler
16147 lt_prog_compiler_pic_CXX='-pic'
16153 freebsd* | dragonfly*)
16154 # FreeBSD uses GNU C++
16156 hpux9* | hpux10* | hpux11*)
16157 case $cc_basename in
16159 lt_prog_compiler_wl_CXX='-Wl,'
16160 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16161 if test "$host_cpu" != ia64; then
16162 lt_prog_compiler_pic_CXX='+Z'
16166 lt_prog_compiler_wl_CXX='-Wl,'
16167 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16173 lt_prog_compiler_pic_CXX='+Z'
16182 # This is c89, which is MS Visual C++ (no shared libs)
16183 # Anyone wants to do a port?
16185 irix5* | irix6* | nonstopux*)
16186 case $cc_basename in
16188 lt_prog_compiler_wl_CXX='-Wl,'
16189 lt_prog_compiler_static_CXX='-non_shared'
16190 # CC pic flag -KPIC is the default.
16196 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16197 case $cc_basename in
16200 lt_prog_compiler_wl_CXX='--backend -Wl,'
16201 lt_prog_compiler_pic_CXX='-fPIC'
16204 # old Intel C++ for x86_64 which still supported -KPIC.
16205 lt_prog_compiler_wl_CXX='-Wl,'
16206 lt_prog_compiler_pic_CXX='-KPIC'
16207 lt_prog_compiler_static_CXX='-static'
16210 # Intel C++, used to be incompatible with GCC.
16211 # ICC 10 doesn't accept -KPIC any more.
16212 lt_prog_compiler_wl_CXX='-Wl,'
16213 lt_prog_compiler_pic_CXX='-fPIC'
16214 lt_prog_compiler_static_CXX='-static'
16217 # Portland Group C++ compiler
16218 lt_prog_compiler_wl_CXX='-Wl,'
16219 lt_prog_compiler_pic_CXX='-fpic'
16220 lt_prog_compiler_static_CXX='-Bstatic'
16224 # Make sure the PIC flag is empty. It appears that all Alpha
16225 # Linux and Compaq Tru64 Unix objects are PIC.
16226 lt_prog_compiler_pic_CXX=
16227 lt_prog_compiler_static_CXX='-non_shared'
16229 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16230 # IBM XL 8.0, 9.0 on PPC and BlueGene
16231 lt_prog_compiler_wl_CXX='-Wl,'
16232 lt_prog_compiler_pic_CXX='-qpic'
16233 lt_prog_compiler_static_CXX='-qstaticlink'
16236 case `$CC -V 2>&1 | sed 5q` in
16239 lt_prog_compiler_pic_CXX='-KPIC'
16240 lt_prog_compiler_static_CXX='-Bstatic'
16241 lt_prog_compiler_wl_CXX='-Qoption ld '
16252 case $cc_basename in
16254 lt_prog_compiler_pic_CXX='-W c,exportall'
16260 netbsd* | netbsdelf*-gnu)
16263 # QNX uses GNU C++, but need to define -shared option too, otherwise
16264 # it will coredump.
16265 lt_prog_compiler_pic_CXX='-fPIC -shared'
16267 osf3* | osf4* | osf5*)
16268 case $cc_basename in
16270 lt_prog_compiler_wl_CXX='--backend -Wl,'
16273 # Rational C++ 2.4.1
16274 lt_prog_compiler_pic_CXX='-pic'
16277 # Digital/Compaq C++
16278 lt_prog_compiler_wl_CXX='-Wl,'
16279 # Make sure the PIC flag is empty. It appears that all Alpha
16280 # Linux and Compaq Tru64 Unix objects are PIC.
16281 lt_prog_compiler_pic_CXX=
16282 lt_prog_compiler_static_CXX='-non_shared'
16291 case $cc_basename in
16293 # Sun C++ 4.2, 5.x and Centerline C++
16294 lt_prog_compiler_pic_CXX='-KPIC'
16295 lt_prog_compiler_static_CXX='-Bstatic'
16296 lt_prog_compiler_wl_CXX='-Qoption ld '
16299 # Green Hills C++ Compiler
16300 lt_prog_compiler_pic_CXX='-PIC'
16307 case $cc_basename in
16310 lt_prog_compiler_pic_CXX='-pic'
16311 lt_prog_compiler_static_CXX='-Bstatic'
16315 lt_prog_compiler_pic_CXX='-pic'
16321 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16322 case $cc_basename in
16324 lt_prog_compiler_wl_CXX='-Wl,'
16325 lt_prog_compiler_pic_CXX='-KPIC'
16326 lt_prog_compiler_static_CXX='-Bstatic'
16331 case $cc_basename in
16333 # NonStop-UX NCC 3.20
16334 lt_prog_compiler_pic_CXX='-KPIC'
16343 lt_prog_compiler_can_build_shared_CXX=no
16349 # For platforms which do not support PIC, -DPIC is meaningless:
16351 lt_prog_compiler_pic_CXX=
16354 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16359 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16360 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16361 $as_echo_n "(cached) " >&6
16363 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16366 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16367 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16370 # Check to make sure the PIC flag actually works.
16372 if test -n "$lt_prog_compiler_pic_CXX"; then
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16374 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16375 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16376 $as_echo_n "(cached) " >&6
16378 lt_cv_prog_compiler_pic_works_CXX=no
16379 ac_outfile=conftest.$ac_objext
16380 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16381 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
16382 # Insert the option either (1) after the last *FLAGS variable, or
16383 # (2) before a word containing "conftest.", or (3) at the end.
16384 # Note that $ac_compile itself does not contain backslashes and begins
16385 # with a dollar sign (not a hyphen), so the echo should work correctly.
16386 # The option is referenced via a variable to avoid confusing sed.
16387 lt_compile=`echo "$ac_compile" | $SED \
16388 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16389 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16390 -e 's:$: $lt_compiler_flag:'`
16391 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16392 (eval "$lt_compile" 2>conftest.err)
16394 cat conftest.err >&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 if (exit $ac_status) && test -s "$ac_outfile"; then
16397 # The compiler can only warn and ignore the option if not recognized
16398 # So say no if there are warnings other than the usual output.
16399 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16400 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16401 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16402 lt_cv_prog_compiler_pic_works_CXX=yes
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16409 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16411 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16412 case $lt_prog_compiler_pic_CXX in
16414 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16417 lt_prog_compiler_pic_CXX=
16418 lt_prog_compiler_can_build_shared_CXX=no
16428 # Check to make sure the static flag actually works.
16430 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16432 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16433 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16434 $as_echo_n "(cached) " >&6
16436 lt_cv_prog_compiler_static_works_CXX=no
16437 save_LDFLAGS="$LDFLAGS"
16438 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16439 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16440 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16441 # The linker can only warn and ignore the option if not recognized
16442 # So say no if there are warnings
16443 if test -s conftest.err; then
16444 # Append any errors to the config.log.
16445 cat conftest.err 1>&5
16446 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16448 if diff conftest.exp conftest.er2 >/dev/null; then
16449 lt_cv_prog_compiler_static_works_CXX=yes
16452 lt_cv_prog_compiler_static_works_CXX=yes
16456 LDFLAGS="$save_LDFLAGS"
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16460 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16462 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16465 lt_prog_compiler_static_CXX=
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16472 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16473 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16474 $as_echo_n "(cached) " >&6
16476 lt_cv_prog_compiler_c_o_CXX=no
16477 $RM -r conftest 2>/dev/null
16481 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16483 lt_compiler_flag="-o out/conftest2.$ac_objext"
16484 # Insert the option either (1) after the last *FLAGS variable, or
16485 # (2) before a word containing "conftest.", or (3) at the end.
16486 # Note that $ac_compile itself does not contain backslashes and begins
16487 # with a dollar sign (not a hyphen), so the echo should work correctly.
16488 lt_compile=`echo "$ac_compile" | $SED \
16489 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16490 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16491 -e 's:$: $lt_compiler_flag:'`
16492 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16493 (eval "$lt_compile" 2>out/conftest.err)
16495 cat out/conftest.err >&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16499 # The compiler can only warn and ignore the option if not recognized
16500 # So say no if there are warnings
16501 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16502 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16503 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16504 lt_cv_prog_compiler_c_o_CXX=yes
16509 # SGI C++ compiler will create directory out/ii_files/ for
16510 # template instantiation
16511 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16512 $RM out/* && rmdir out
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16519 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16524 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16525 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16526 $as_echo_n "(cached) " >&6
16528 lt_cv_prog_compiler_c_o_CXX=no
16529 $RM -r conftest 2>/dev/null
16533 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16535 lt_compiler_flag="-o out/conftest2.$ac_objext"
16536 # Insert the option either (1) after the last *FLAGS variable, or
16537 # (2) before a word containing "conftest.", or (3) at the end.
16538 # Note that $ac_compile itself does not contain backslashes and begins
16539 # with a dollar sign (not a hyphen), so the echo should work correctly.
16540 lt_compile=`echo "$ac_compile" | $SED \
16541 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16542 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16543 -e 's:$: $lt_compiler_flag:'`
16544 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16545 (eval "$lt_compile" 2>out/conftest.err)
16547 cat out/conftest.err >&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16551 # The compiler can only warn and ignore the option if not recognized
16552 # So say no if there are warnings
16553 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16554 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16555 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16556 lt_cv_prog_compiler_c_o_CXX=yes
16561 # SGI C++ compiler will create directory out/ii_files/ for
16562 # template instantiation
16563 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16564 $RM out/* && rmdir out
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16571 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16576 hard_links="nottested"
16577 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16578 # do not overwrite the value of need_locks provided by the user
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16580 $as_echo_n "checking if we can lock with hard links... " >&6; }
16583 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16585 ln conftest.a conftest.b 2>&5 || hard_links=no
16586 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16588 $as_echo "$hard_links" >&6; }
16589 if test "$hard_links" = no; then
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16591 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16601 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16603 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16604 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16607 # If we're using GNU nm, then we don't want the "-C" option.
16608 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16609 # Also, AIX nm treats weak defined symbols like other global defined
16610 # symbols, whereas GNU nm marks them as "W".
16611 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16612 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'
16614 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'
16618 export_symbols_cmds_CXX="$ltdll_cmds"
16620 cygwin* | mingw* | cegcc*)
16621 case $cc_basename in
16623 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16626 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'
16627 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16631 linux* | k*bsd*-gnu | gnu*)
16632 link_all_deplibs_CXX=no
16635 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16640 $as_echo "$ld_shlibs_CXX" >&6; }
16641 test "$ld_shlibs_CXX" = no && can_build_shared=no
16643 with_gnu_ld_CXX=$with_gnu_ld
16651 # Do we need to explicitly link libc?
16653 case "x$archive_cmds_need_lc_CXX" in
16655 # Assume -lc should be added
16656 archive_cmds_need_lc_CXX=yes
16658 if test "$enable_shared" = yes && test "$GCC" = yes; then
16659 case $archive_cmds_CXX in
16661 # FIXME: we may have to deal with multi-command sequences.
16664 # Test whether the compiler implicitly links with -lc since on some
16665 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16666 # to ld, don't add -lc before -lgcc.
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16668 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16669 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16670 $as_echo_n "(cached) " >&6
16673 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16676 (eval $ac_compile) 2>&5
16678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16679 test $ac_status = 0; } 2>conftest.err; then
16682 libobjs=conftest.$ac_objext
16684 wl=$lt_prog_compiler_wl_CXX
16685 pic_flag=$lt_prog_compiler_pic_CXX
16691 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16692 allow_undefined_flag_CXX=
16693 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16694 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16697 test $ac_status = 0; }
16699 lt_cv_archive_cmds_need_lc_CXX=no
16701 lt_cv_archive_cmds_need_lc_CXX=yes
16703 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16705 cat conftest.err 1>&5
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16711 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16712 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16781 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16783 library_names_spec=
16784 libname_spec='lib$name'
16788 postuninstall_cmds=
16792 shlibpath_overrides_runpath=unknown
16794 dynamic_linker="$host_os ld.so"
16795 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16796 need_lib_prefix=unknown
16797 hardcode_into_libs=no
16799 # when you set need_version to no, make sure it does not cause -set_version
16800 # flags to be left without arguments
16801 need_version=unknown
16805 version_type=linux # correct to gnu/linux during the next big refactor
16806 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16807 shlibpath_var=LIBPATH
16809 # AIX 3 has no versioning support, so we append a major version to the name.
16810 soname_spec='${libname}${release}${shared_ext}$major'
16814 version_type=linux # correct to gnu/linux during the next big refactor
16817 hardcode_into_libs=yes
16818 if test "$host_cpu" = ia64; then
16819 # AIX 5 supports IA64
16820 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16821 shlibpath_var=LD_LIBRARY_PATH
16823 # With GCC up to 2.95.x, collect2 would create an import file
16824 # for dependence libraries. The import file would start with
16825 # the line `#! .'. This would cause the generated library to
16826 # depend on `.', always an invalid library. This was fixed in
16827 # development snapshots of GCC prior to 3.0.
16829 aix4 | aix4.[01] | aix4.[01].*)
16830 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16832 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16835 can_build_shared=no
16839 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16840 # soname into executable. Probably we can add versioning support to
16841 # collect2, so additional links can be useful in future.
16842 if test "$aix_use_runtimelinking" = yes; then
16843 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16844 # instead of lib<name>.a to let people know that these are not
16845 # typical AIX shared libraries.
16846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16848 # We preserve .a as extension for shared libraries through AIX4.2
16849 # and later when we are not doing run time linking.
16850 library_names_spec='${libname}${release}.a $libname.a'
16851 soname_spec='${libname}${release}${shared_ext}$major'
16853 shlibpath_var=LIBPATH
16860 # Since July 2007 AmigaOS4 officially supports .so libraries.
16861 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16865 library_names_spec='$libname.ixlibrary $libname.a'
16866 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16867 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'
16873 library_names_spec='${libname}${shared_ext}'
16874 dynamic_linker="$host_os ld.so"
16875 shlibpath_var=LIBRARY_PATH
16879 version_type=linux # correct to gnu/linux during the next big refactor
16881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16882 soname_spec='${libname}${release}${shared_ext}$major'
16883 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16884 shlibpath_var=LD_LIBRARY_PATH
16885 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16886 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16887 # the default ld.so.conf also contains /usr/contrib/lib and
16888 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16889 # libtool to hard-code these into programs
16892 cygwin* | mingw* | pw32* | cegcc*)
16893 version_type=windows
16898 case $GCC,$cc_basename in
16901 library_names_spec='$libname.dll.a'
16902 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16903 postinstall_cmds='base_file=`basename \${file}`~
16904 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16905 dldir=$destdir/`dirname \$dlpath`~
16906 test -d \$dldir || mkdir -p \$dldir~
16907 $install_prog $dir/$dlname \$dldir/$dlname~
16908 chmod a+x \$dldir/$dlname~
16909 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16910 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16912 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16913 dlpath=$dir/\$dldll~
16915 shlibpath_overrides_runpath=yes
16919 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16920 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16924 # MinGW DLLs use traditional 'lib' prefix
16925 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16928 # pw32 DLLs use 'pw' prefix rather than 'lib'
16929 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16932 dynamic_linker='Win32 ld.exe'
16937 libname_spec='$name'
16938 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16939 library_names_spec='${libname}.dll.lib'
16943 sys_lib_search_path_spec=
16946 for lt_path in $LIB
16949 # Let DOS variable expansion print the short 8.3 style file name.
16950 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16951 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16954 # Convert to MSYS style.
16955 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16958 # Convert to unix form, then to dos form, then back to unix form
16959 # but this time dos style (no spaces!) so that the unix form looks
16960 # like /cygdrive/c/PROGRA~1:/cygdr...
16961 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16962 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16963 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16966 sys_lib_search_path_spec="$LIB"
16967 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16968 # It is most probably a Windows format PATH.
16969 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16971 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16973 # FIXME: find the short name or the path components, as spaces are
16974 # common. (e.g. "Program Files" -> "PROGRA~1")
16978 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16979 postinstall_cmds='base_file=`basename \${file}`~
16980 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16981 dldir=$destdir/`dirname \$dlpath`~
16982 test -d \$dldir || mkdir -p \$dldir~
16983 $install_prog $dir/$dlname \$dldir/$dlname'
16984 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16985 dlpath=$dir/\$dldll~
16987 shlibpath_overrides_runpath=yes
16988 dynamic_linker='Win32 link.exe'
16992 # Assume MSVC wrapper
16993 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16994 dynamic_linker='Win32 ld.exe'
16997 # FIXME: first we should search . and the directory the executable is in
17001 darwin* | rhapsody*)
17002 dynamic_linker="$host_os dyld"
17003 version_type=darwin
17006 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17007 soname_spec='${libname}${release}${major}$shared_ext'
17008 shlibpath_overrides_runpath=yes
17009 shlibpath_var=DYLD_LIBRARY_PATH
17010 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17012 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17016 version_type=linux # correct to gnu/linux during the next big refactor
17019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17020 soname_spec='${libname}${release}${shared_ext}$major'
17021 shlibpath_var=LD_LIBRARY_PATH
17024 freebsd* | dragonfly*)
17025 # DragonFly does not have aout. When/if they implement a new
17026 # versioning mechanism, adjust this.
17027 if test -x /usr/bin/objformat; then
17028 objformat=`/usr/bin/objformat`
17031 freebsd[23].*) objformat=aout ;;
17032 *) objformat=elf ;;
17035 version_type=freebsd-$objformat
17036 case $version_type in
17038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17043 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17047 shlibpath_var=LD_LIBRARY_PATH
17050 shlibpath_overrides_runpath=yes
17052 freebsd3.[01]* | freebsdelf3.[01]*)
17053 shlibpath_overrides_runpath=yes
17054 hardcode_into_libs=yes
17056 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17057 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17058 shlibpath_overrides_runpath=no
17059 hardcode_into_libs=yes
17061 *) # from 4.6 on, and DragonFly
17062 shlibpath_overrides_runpath=yes
17063 hardcode_into_libs=yes
17069 version_type=linux # correct to gnu/linux during the next big refactor
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'
17074 shlibpath_var=LD_LIBRARY_PATH
17075 shlibpath_overrides_runpath=no
17076 hardcode_into_libs=yes
17080 version_type=linux # correct to gnu/linux during the next big refactor
17083 dynamic_linker="$host_os runtime_loader"
17084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17085 soname_spec='${libname}${release}${shared_ext}$major'
17086 shlibpath_var=LIBRARY_PATH
17087 shlibpath_overrides_runpath=yes
17088 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17089 hardcode_into_libs=yes
17092 hpux9* | hpux10* | hpux11*)
17093 # Give a soname corresponding to the major version so that dld.sl refuses to
17094 # link against other versions.
17101 hardcode_into_libs=yes
17102 dynamic_linker="$host_os dld.so"
17103 shlibpath_var=LD_LIBRARY_PATH
17104 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17106 soname_spec='${libname}${release}${shared_ext}$major'
17107 if test "X$HPUX_IA64_MODE" = X32; then
17108 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17110 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17112 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17116 hardcode_into_libs=yes
17117 dynamic_linker="$host_os dld.sl"
17118 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17119 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17121 soname_spec='${libname}${release}${shared_ext}$major'
17122 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17123 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17127 dynamic_linker="$host_os dld.sl"
17128 shlibpath_var=SHLIB_PATH
17129 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17131 soname_spec='${libname}${release}${shared_ext}$major'
17134 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17135 postinstall_cmds='chmod 555 $lib'
17136 # or fails outright, so override atomically:
17137 install_override_mode=555
17141 version_type=linux # correct to gnu/linux during the next big refactor
17144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17145 soname_spec='${libname}${release}${shared_ext}$major'
17146 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17147 shlibpath_var=LD_LIBRARY_PATH
17148 shlibpath_overrides_runpath=no
17149 hardcode_into_libs=yes
17152 irix5* | irix6* | nonstopux*)
17154 nonstopux*) version_type=nonstopux ;;
17156 if test "$lt_cv_prog_gnu_ld" = yes; then
17157 version_type=linux # correct to gnu/linux during the next big refactor
17164 soname_spec='${libname}${release}${shared_ext}$major'
17165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17167 irix5* | nonstopux*)
17168 libsuff= shlibsuff=
17171 case $LD in # libtool.m4 will add one of these switches to LD
17172 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17173 libsuff= shlibsuff= libmagic=32-bit;;
17174 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17175 libsuff=32 shlibsuff=N32 libmagic=N32;;
17176 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17177 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17178 *) libsuff= shlibsuff= libmagic=never-match;;
17182 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17183 shlibpath_overrides_runpath=no
17184 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17185 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17186 hardcode_into_libs=yes
17189 # No shared lib support for Linux oldld, aout, or coff.
17190 linux*oldld* | linux*aout* | linux*coff*)
17194 # This must be glibc/ELF.
17195 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17196 version_type=linux # correct to gnu/linux during the next big refactor
17199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17200 soname_spec='${libname}${release}${shared_ext}$major'
17201 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17202 shlibpath_var=LD_LIBRARY_PATH
17203 shlibpath_overrides_runpath=no
17205 # Some binutils ld are patched to set DT_RUNPATH
17206 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17207 $as_echo_n "(cached) " >&6
17209 lt_cv_shlibpath_overrides_runpath=no
17210 save_LDFLAGS=$LDFLAGS
17211 save_libdir=$libdir
17212 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17213 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17225 if ac_fn_cxx_try_link "$LINENO"; then :
17226 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17227 lt_cv_shlibpath_overrides_runpath=yes
17230 rm -f core conftest.err conftest.$ac_objext \
17231 conftest$ac_exeext conftest.$ac_ext
17232 LDFLAGS=$save_LDFLAGS
17233 libdir=$save_libdir
17237 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17239 # This implies no fast_install, which is unacceptable.
17240 # Some rework will be needed to allow for fast_install
17241 # before this can be enabled.
17242 hardcode_into_libs=yes
17244 # Append ld.so.conf contents to the search path
17245 if test -f /etc/ld.so.conf; then
17246 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' ' '`
17247 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17250 # We used to test for /lib/ld.so.1 and disable shared libraries on
17251 # powerpc, because MkLinux only supported shared libraries with the
17252 # GNU dynamic linker. Since this was broken with cross compilers,
17253 # most powerpc-linux boxes support dynamic linking these days and
17254 # people can always --disable-shared, the test was removed, and we
17255 # assume the GNU/Linux dynamic linker is in use.
17256 dynamic_linker='GNU/Linux ld.so'
17263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17264 soname_spec='${libname}${release}${shared_ext}$major'
17265 shlibpath_var=LD_LIBRARY_PATH
17266 shlibpath_overrides_runpath=no
17267 hardcode_into_libs=yes
17268 dynamic_linker='NetBSD ld.elf_so'
17275 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17277 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17278 dynamic_linker='NetBSD (a.out) ld.so'
17280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17281 soname_spec='${libname}${release}${shared_ext}$major'
17282 dynamic_linker='NetBSD ld.elf_so'
17284 shlibpath_var=LD_LIBRARY_PATH
17285 shlibpath_overrides_runpath=yes
17286 hardcode_into_libs=yes
17290 version_type=linux # correct to gnu/linux during the next big refactor
17291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17292 shlibpath_var=LD_LIBRARY_PATH
17293 shlibpath_overrides_runpath=yes
17300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17301 soname_spec='${libname}${release}${shared_ext}$major'
17302 shlibpath_var=LD_LIBRARY_PATH
17303 shlibpath_overrides_runpath=no
17304 hardcode_into_libs=yes
17305 dynamic_linker='ldqnx.so'
17310 sys_lib_dlsearch_path_spec="/usr/lib"
17312 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17314 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17315 *) need_version=no ;;
17317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17318 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17319 shlibpath_var=LD_LIBRARY_PATH
17320 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17322 openbsd2.[89] | openbsd2.[89].*)
17323 shlibpath_overrides_runpath=no
17326 shlibpath_overrides_runpath=yes
17330 shlibpath_overrides_runpath=yes
17335 libname_spec='$name'
17338 library_names_spec='$libname${shared_ext} $libname.a'
17339 dynamic_linker='OS/2 ld.exe'
17340 shlibpath_var=LIBPATH
17343 osf3* | osf4* | osf5*)
17347 soname_spec='${libname}${release}${shared_ext}$major'
17348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17349 shlibpath_var=LD_LIBRARY_PATH
17350 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17351 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17359 version_type=linux # correct to gnu/linux during the next big refactor
17362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17363 soname_spec='${libname}${release}${shared_ext}$major'
17364 shlibpath_var=LD_LIBRARY_PATH
17365 shlibpath_overrides_runpath=yes
17366 hardcode_into_libs=yes
17367 # ldd complains unless libraries are executable
17368 postinstall_cmds='chmod +x $lib'
17373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17374 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17375 shlibpath_var=LD_LIBRARY_PATH
17376 shlibpath_overrides_runpath=yes
17377 if test "$with_gnu_ld" = yes; then
17384 version_type=linux # correct to gnu/linux during the next big refactor
17385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17386 soname_spec='${libname}${release}${shared_ext}$major'
17387 shlibpath_var=LD_LIBRARY_PATH
17388 case $host_vendor in
17390 shlibpath_overrides_runpath=no
17392 runpath_var=LD_RUN_PATH
17400 shlibpath_overrides_runpath=no
17401 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17407 if test -d /usr/nec ;then
17408 version_type=linux # correct to gnu/linux during the next big refactor
17409 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17410 soname_spec='$libname${shared_ext}.$major'
17411 shlibpath_var=LD_LIBRARY_PATH
17415 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17416 version_type=freebsd-elf
17419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17420 soname_spec='${libname}${release}${shared_ext}$major'
17421 shlibpath_var=LD_LIBRARY_PATH
17422 shlibpath_overrides_runpath=yes
17423 hardcode_into_libs=yes
17424 if test "$with_gnu_ld" = yes; then
17425 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17427 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17430 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17434 sys_lib_dlsearch_path_spec='/usr/lib'
17438 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17439 version_type=linux # correct to gnu/linux during the next big refactor
17442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17443 shlibpath_var=LD_LIBRARY_PATH
17444 shlibpath_overrides_runpath=no
17445 hardcode_into_libs=yes
17449 version_type=linux # correct to gnu/linux during the next big refactor
17450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17451 soname_spec='${libname}${release}${shared_ext}$major'
17452 shlibpath_var=LD_LIBRARY_PATH
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17460 $as_echo "$dynamic_linker" >&6; }
17461 test "$dynamic_linker" = no && can_build_shared=no
17463 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17464 if test "$GCC" = yes; then
17465 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17468 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17469 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17471 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17472 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17513 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17514 hardcode_action_CXX=
17515 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17516 test -n "$runpath_var_CXX" ||
17517 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17519 # We can hardcode non-existent directories.
17520 if test "$hardcode_direct_CXX" != no &&
17521 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17522 # have to relink, otherwise we might link with an installed library
17523 # when we should be linking with a yet-to-be-installed one
17524 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17525 test "$hardcode_minus_L_CXX" != no; then
17526 # Linking always hardcodes the temporary library directory.
17527 hardcode_action_CXX=relink
17529 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17530 hardcode_action_CXX=immediate
17533 # We cannot hardcode anything, or else we can only hardcode existing
17535 hardcode_action_CXX=unsupported
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17538 $as_echo "$hardcode_action_CXX" >&6; }
17540 if test "$hardcode_action_CXX" = relink ||
17541 test "$inherit_rpath_CXX" = yes; then
17542 # Fast installation is not supported
17543 enable_fast_install=no
17544 elif test "$shlibpath_overrides_runpath" = yes ||
17545 test "$enable_shared" = no; then
17546 # Fast installation is not necessary
17547 enable_fast_install=needless
17556 fi # test -n "$compiler"
17559 CFLAGS=$lt_save_CFLAGS
17563 with_gnu_ld=$lt_save_with_gnu_ld
17564 lt_cv_path_LDCXX=$lt_cv_path_LD
17565 lt_cv_path_LD=$lt_save_path_LD
17566 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17567 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17568 fi # test "$_lt_caught_CXX_error" != yes
17571 ac_cpp='$CPP $CPPFLAGS'
17572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17590 ac_config_commands="$ac_config_commands libtool"
17595 # Only expand once:
17598 # use dolt to speedup the build
17601 # dolt, a replacement for libtool
17602 # Josh Triplett <josh@freedesktop.org>
17603 # Extract the first word of "bash", so it can be a program name with args.
17604 set dummy bash; ac_word=$2
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17606 $as_echo_n "checking for $ac_word... " >&6; }
17607 if ${ac_cv_path_DOLT_BASH+:} false; then :
17608 $as_echo_n "(cached) " >&6
17612 ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path.
17615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17616 for as_dir in $PATH
17619 test -z "$as_dir" && as_dir=.
17620 for ac_exec_ext in '' $ac_executable_extensions; do
17621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17622 ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext"
17623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17633 DOLT_BASH=$ac_cv_path_DOLT_BASH
17634 if test -n "$DOLT_BASH"; then
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOLT_BASH" >&5
17636 $as_echo "$DOLT_BASH" >&6; }
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17639 $as_echo "no" >&6; }
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if dolt supports this host" >&5
17644 $as_echo_n "checking if dolt supports this host... " >&6; }
17646 if test x$DOLT_BASH = x; then
17649 if test x$GCC != xyes; then
17653 i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
17654 |amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
17655 pic_options='-fPIC'
17657 i?86-apple-darwin*)
17658 pic_options='-fno-common'
17661 pic_options='-DDLL_EXPORT'
17667 if test x$dolt_supported = xno ; then
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, falling back to libtool" >&5
17669 $as_echo "no, falling back to libtool" >&6; }
17670 LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
17671 LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, replacing libtool" >&5
17674 $as_echo "yes, replacing libtool" >&6; }
17676 cat <<__DOLTCOMPILE__EOF__ >doltcompile
17678 __DOLTCOMPILE__EOF__
17679 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17681 for ((arg=0; arg<${#args@<:@@@:>@}; arg++)) ; do
17682 if test x"${args@<:@$arg@:>@}" = x-o ; then
17687 if test x$objarg = x ; then
17688 echo 'Error: no -o on compiler command line' 1>&2
17691 lo="${args@<:@$objarg@:>@}"
17693 if test x"$lo" = x"$obj" ; then
17694 echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
17697 objbase="${obj##*/}"
17698 __DOLTCOMPILE__EOF__
17700 if test x$enable_shared = xyes; then
17701 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17702 libobjdir="${obj%$objbase}.libs"
17703 if test ! -d "$libobjdir" ; then
17704 mkdir_out="$(mkdir "$libobjdir" 2>&1)"
17706 if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
17707 echo "$mkdir_out" 1>&2
17711 pic_object="$libobjdir/$objbase.o"
17712 args@<:@$objarg@:>@="$pic_object"
17713 __DOLTCOMPILE__EOF__
17714 cat <<__DOLTCOMPILE__EOF__ >>doltcompile
17715 "\${args@<:@@@:>@}" $pic_options -DPIC || exit \$?
17716 __DOLTCOMPILE__EOF__
17719 if test x$enable_static = xyes; then
17720 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17721 non_pic_object="$obj.o"
17722 args@<:@$objarg@:>@="$non_pic_object"
17723 __DOLTCOMPILE__EOF__
17724 if test x$enable_shared = xyes; then
17725 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17726 "${args@<:@@@:>@}" >/dev/null 2>&1 || exit $?
17727 __DOLTCOMPILE__EOF__
17729 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17730 "${args@<:@@@:>@}" || exit $?
17731 __DOLTCOMPILE__EOF__
17735 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17737 echo "# $lo - a libtool object file"
17738 echo "# Generated by doltcompile, not libtool"
17739 __DOLTCOMPILE__EOF__
17741 if test x$enable_shared = xyes; then
17742 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17743 echo "pic_object='.libs/${objbase}.o'"
17744 __DOLTCOMPILE__EOF__
17746 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17747 echo pic_object=none
17748 __DOLTCOMPILE__EOF__
17751 if test x$enable_static = xyes; then
17752 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17753 echo "non_pic_object='${objbase}.o'"
17754 __DOLTCOMPILE__EOF__
17756 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17757 echo non_pic_object=none
17758 __DOLTCOMPILE__EOF__
17761 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17763 __DOLTCOMPILE__EOF__
17765 chmod +x doltcompile
17766 LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
17767 LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
17769 cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
17771 __DOLTLIBTOOL__EOF__
17772 cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
17773 top_builddir_slash="${0%%doltlibtool}"
17774 : ${top_builddir_slash:=./}
17778 for arg in "$@"; do
17781 --mode=compile) modeok=true ;;
17782 --tag=CC|--tag=CXX) tagok=true ;;
17783 *) args@<:@${#args[@]}@:>@="$arg" ;;
17786 if $modeok && $tagok ; then
17787 . ${top_builddir_slash}doltcompile "${args@<:@@@:>@}"
17789 exec ${top_builddir_slash}libtool "$@"
17791 __DOLTLIBTOOL__EOF__
17793 chmod +x doltlibtool
17794 LIBTOOL='$(top_builddir)/doltlibtool'
17801 # Extract the first word of "flex", so it can be a program name with args.
17802 set dummy flex; ac_word=$2
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17804 $as_echo_n "checking for $ac_word... " >&6; }
17805 if ${ac_cv_path_FLEX+:} false; then :
17806 $as_echo_n "(cached) " >&6
17810 ac_cv_path_FLEX="$FLEX" # Let the user override the test with a path.
17813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17814 for as_dir in $PATH
17817 test -z "$as_dir" && as_dir=.
17818 for ac_exec_ext in '' $ac_executable_extensions; do
17819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17820 ac_cv_path_FLEX="$as_dir/$ac_word$ac_exec_ext"
17821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17831 FLEX=$ac_cv_path_FLEX
17832 if test -n "$FLEX"; then
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17834 $as_echo "$FLEX" >&6; }
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17837 $as_echo "no" >&6; }
17841 if test -z "$FLEX"; then
17842 as_fn_error $? "You need the 'flex' lexer generator to compile WebKit" "$LINENO" 5
17844 FLEX_VERSION=`$FLEX --version | sed 's,.*\ \(0-9*\.0-9*\.0-9*\)$,\1,'`
17846 for ac_prog in gawk mawk nawk awk
17848 # Extract the first word of "$ac_prog", so it can be a program name with args.
17849 set dummy $ac_prog; ac_word=$2
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17851 $as_echo_n "checking for $ac_word... " >&6; }
17852 if ${ac_cv_prog_AWK+:} false; then :
17853 $as_echo_n "(cached) " >&6
17855 if test -n "$AWK"; then
17856 ac_cv_prog_AWK="$AWK" # Let the user override the test.
17858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17859 for as_dir in $PATH
17862 test -z "$as_dir" && as_dir=.
17863 for ac_exec_ext in '' $ac_executable_extensions; do
17864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17865 ac_cv_prog_AWK="$ac_prog"
17866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17875 AWK=$ac_cv_prog_AWK
17876 if test -n "$AWK"; then
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
17878 $as_echo "$AWK" >&6; }
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17881 $as_echo "no" >&6; }
17885 test -n "$AWK" && break
17889 # Used to indicate true or false condition
17890 ax_compare_version=false
17892 # Convert the two version strings to be compared into a format that
17893 # allows a simple string comparison. The end result is that a version
17894 # string of the form 1.12.5-r617 will be converted to the form
17895 # 0001001200050617. In other words, each number is zero padded to four
17896 # digits, and non digits are removed.
17898 ax_compare_version_A=`echo "2.5.33" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17899 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17900 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17901 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17905 ax_compare_version_B=`echo "$FLEX_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17906 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17907 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17908 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17912 ax_compare_version=`echo "x$ax_compare_version_A
17913 x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/false/;s/x${ax_compare_version_B}/true/;1q"`
17917 if test "$ax_compare_version" = "true" ; then
17918 { $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
17919 $as_echo "$as_me: WARNING: You need at least version 2.5.33 of the 'flex' lexer generator to compile WebKit correctly" >&2;}
17924 # Extract the first word of "gperf", so it can be a program name with args.
17925 set dummy gperf; ac_word=$2
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17927 $as_echo_n "checking for $ac_word... " >&6; }
17928 if ${ac_cv_path_GPERF+:} false; then :
17929 $as_echo_n "(cached) " >&6
17933 ac_cv_path_GPERF="$GPERF" # Let the user override the test with a path.
17936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17937 for as_dir in $PATH
17940 test -z "$as_dir" && as_dir=.
17941 for ac_exec_ext in '' $ac_executable_extensions; do
17942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17943 ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
17944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17954 GPERF=$ac_cv_path_GPERF
17955 if test -n "$GPERF"; then
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17957 $as_echo "$GPERF" >&6; }
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17960 $as_echo "no" >&6; }
17964 if test -z "$GPERF"; then
17965 as_fn_error $? "You need the 'gperf' hash function generator to compile WebKit" "$LINENO" 5
17968 # Disable C++0x compat warnings for GCC >= 4.6.0 until we build
17969 # cleanly with that.
17970 if test "$CXX" = "g++"; then
17971 CXX_VERSION=`$CXX -dumpversion`
17973 for ac_prog in gawk mawk nawk awk
17975 # Extract the first word of "$ac_prog", so it can be a program name with args.
17976 set dummy $ac_prog; ac_word=$2
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17978 $as_echo_n "checking for $ac_word... " >&6; }
17979 if ${ac_cv_prog_AWK+:} false; then :
17980 $as_echo_n "(cached) " >&6
17982 if test -n "$AWK"; then
17983 ac_cv_prog_AWK="$AWK" # Let the user override the test.
17985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17986 for as_dir in $PATH
17989 test -z "$as_dir" && as_dir=.
17990 for ac_exec_ext in '' $ac_executable_extensions; do
17991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17992 ac_cv_prog_AWK="$ac_prog"
17993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18002 AWK=$ac_cv_prog_AWK
18003 if test -n "$AWK"; then
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
18005 $as_echo "$AWK" >&6; }
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18008 $as_echo "no" >&6; }
18012 test -n "$AWK" && break
18016 # Used to indicate true or false condition
18017 ax_compare_version=false
18019 # Convert the two version strings to be compared into a format that
18020 # allows a simple string comparison. The end result is that a version
18021 # string of the form 1.12.5-r617 will be converted to the form
18022 # 0001001200050617. In other words, each number is zero padded to four
18023 # digits, and non digits are removed.
18025 ax_compare_version_A=`echo "$CXX_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
18026 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
18027 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
18028 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
18032 ax_compare_version_B=`echo "4.6.0" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
18033 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
18034 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
18035 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
18039 ax_compare_version=`echo "x$ax_compare_version_A
18040 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"`
18044 if test "$ax_compare_version" = "true" ; then
18045 CXXFLAGS="$CXXFLAGS -Wno-c++0x-compat"
18050 # pthread (not needed on Windows)
18051 if test "$os_win32" = "no"; then
18052 for ac_header in pthread.h
18054 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
18055 if test "x$ac_cv_header_pthread_h" = xyes; then :
18056 cat >>confdefs.h <<_ACEOF
18057 @%:@define HAVE_PTHREAD_H 1
18060 $as_echo "@%:@define HAVE_PTHREAD_H 1" >>confdefs.h
18063 as_fn_error $? "pthread support is required to build WebKit" "$LINENO" 5
18070 # check for libjpeg the way Gtk does it.
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
18072 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
18073 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
18074 $as_echo_n "(cached) " >&6
18076 ac_check_lib_save_LIBS=$LIBS
18077 LIBS="-ljpeg $LIBS"
18078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18079 /* end confdefs.h. */
18081 /* Override any GCC internal prototype to avoid an error.
18082 Use char because int might match the return type of a GCC
18083 builtin and then its argument prototype would still apply. */
18087 char jpeg_destroy_decompress ();
18091 return jpeg_destroy_decompress ();
18096 if ac_fn_c_try_link "$LINENO"; then :
18097 ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
18099 ac_cv_lib_jpeg_jpeg_destroy_decompress=no
18101 rm -f core conftest.err conftest.$ac_objext \
18102 conftest$ac_exeext conftest.$ac_ext
18103 LIBS=$ac_check_lib_save_LIBS
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
18106 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
18107 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
18111 as_fn_error $? "JPEG library (libjpeg) not found" "$LINENO" 5
18114 if test "$jpeg_ok" = yes; then
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib" >&5
18116 $as_echo_n "checking for jpeglib... " >&6; }
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18122 #undef HAVE_STDLIB_H
18123 #include <jpeglib.h>
18125 if ac_fn_c_try_cpp "$LINENO"; then :
18130 rm -f conftest.err conftest.i conftest.$ac_ext
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jpeg_ok" >&5
18132 $as_echo "$jpeg_ok" >&6; }
18133 if test "$jpeg_ok" = yes; then
18135 # should we check for progressive JPEG like GTK+ as well?
18137 as_fn_error $? "JPEG library (libjpeg) not found" "$LINENO" 5
18142 # Check for libpng the way Gtk+ does it
18143 for l in libpng libpng14 libpng12; do
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $l" >&5
18145 $as_echo_n "checking for $l... " >&6; }
18146 if $PKG_CONFIG --exists $l ; then
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18148 $as_echo "yes" >&6; }
18149 PNG_LIBS=`$PKG_CONFIG --libs $l`
18153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18154 $as_echo "no" >&6; }
18158 if test "$png_ok" != yes; then
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_info in -lpng" >&5
18160 $as_echo_n "checking for png_read_info in -lpng... " >&6; }
18161 if ${ac_cv_lib_png_png_read_info+:} false; then :
18162 $as_echo_n "(cached) " >&6
18164 ac_check_lib_save_LIBS=$LIBS
18165 LIBS="-lpng -lz -lm $LIBS"
18166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h. */
18169 /* Override any GCC internal prototype to avoid an error.
18170 Use char because int might match the return type of a GCC
18171 builtin and then its argument prototype would still apply. */
18175 char png_read_info ();
18179 return png_read_info ();
18184 if ac_fn_c_try_link "$LINENO"; then :
18185 ac_cv_lib_png_png_read_info=yes
18187 ac_cv_lib_png_png_read_info=no
18189 rm -f core conftest.err conftest.$ac_objext \
18190 conftest$ac_exeext conftest.$ac_ext
18191 LIBS=$ac_check_lib_save_LIBS
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_info" >&5
18194 $as_echo "$ac_cv_lib_png_png_read_info" >&6; }
18195 if test "x$ac_cv_lib_png_png_read_info" = xyes; then :
18196 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
18197 if test "x$ac_cv_header_png_h" = xyes; then :
18205 as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18208 if test "$png_ok" = yes; then
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_structp in png.h" >&5
18210 $as_echo_n "checking for png_structp in png.h... " >&6; }
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18217 png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;
18222 if ac_fn_c_try_compile "$LINENO"; then :
18227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_ok" >&5
18229 $as_echo "$png_ok" >&6; }
18230 if test "$png_ok" = yes; then
18231 PNG_LIBS='-lpng -lz'
18233 as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18236 as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18242 if test "$os_win32" = "yes"; then
18244 SHLWAPI_LIBS=-lshlwapi
18252 # determine the GTK+ version to use
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the GTK+ version to use" >&5
18254 $as_echo_n "checking the GTK+ version to use... " >&6; }
18256 @%:@ Check whether --with-gtk was given.
18257 if test "${with_gtk+set}" = set; then :
18258 withval=$with_gtk; case "$with_gtk" in
18260 *) as_fn_error $? "invalid GTK+ version specified" "$LINENO" 5 ;;
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5
18267 $as_echo "$with_gtk" >&6; }
18269 GTK2_REQUIRED_VERSION=2.10
18270 GAIL2_REQUIRED_VERSION=1.8
18271 GTK3_REQUIRED_VERSION=3.0
18272 GAIL3_REQUIRED_VERSION=3.0
18274 case "$with_gtk" in
18275 2.0) GTK_REQUIRED_VERSION=$GTK2_REQUIRED_VERSION
18276 GTK_API_VERSION=2.0
18277 WEBKITGTK_API_MAJOR_VERSION=1
18278 WEBKITGTK_API_MINOR_VERSION=0
18279 WEBKITGTK_API_VERSION=1.0
18280 WEBKITGTK_PC_NAME=webkit
18282 GAIL_REQUIRED_VERSION=$GAIL2_REQUIRED_VERSION
18284 3.0) GTK_REQUIRED_VERSION=$GTK3_REQUIRED_VERSION
18285 GTK_API_VERSION=3.0
18286 WEBKITGTK_API_MAJOR_VERSION=3
18287 WEBKITGTK_API_MINOR_VERSION=0
18288 WEBKITGTK_API_VERSION=3.0
18289 WEBKITGTK_PC_NAME=webkitgtk
18290 GAIL_PC_NAME=gail-3.0
18291 GAIL_REQUIRED_VERSION=$GAIL3_REQUIRED_VERSION
18300 if test "$GTK_API_VERSION" = "2.0"; then
18301 GTK_API_VERSION_2_TRUE=
18302 GTK_API_VERSION_2_FALSE='#'
18304 GTK_API_VERSION_2_TRUE='#'
18305 GTK_API_VERSION_2_FALSE=
18309 # determine the GDK/GTK+ target
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the target windowing system" >&5
18311 $as_echo_n "checking the target windowing system... " >&6; }
18313 @%:@ Check whether --with-target was given.
18314 if test "${with_target+set}" = set; then :
18315 withval=$with_target;
18321 case "$with_target" in
18322 x11|win32|quartz|directfb) ;;
18323 *) as_fn_error $? "Invalid target: must be x11, quartz, win32, or directfb." "$LINENO" 5 ;;
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_target" >&5
18327 $as_echo "$with_target" >&6; }
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Hildon UI extensions" >&5
18330 $as_echo_n "checking for Hildon UI extensions... " >&6; }
18332 @%:@ Check whether --with-hildon was given.
18333 if test "${with_hildon+set}" = set; then :
18334 withval=$with_hildon;
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_hildon" >&5
18340 $as_echo "$with_hildon" >&6; }
18342 if test "$with_hildon" = "yes"; then
18343 HILDON_CPPFLAGS="-DMAEMO_CHANGES"
18351 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18352 if test -n "$ac_tool_prefix"; then
18353 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18354 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18356 $as_echo_n "checking for $ac_word... " >&6; }
18357 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18358 $as_echo_n "(cached) " >&6
18360 case $PKG_CONFIG in
18362 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18366 for as_dir in $PATH
18369 test -z "$as_dir" && as_dir=.
18370 for ac_exec_ext in '' $ac_executable_extensions; do
18371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18372 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18383 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18384 if test -n "$PKG_CONFIG"; then
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18386 $as_echo "$PKG_CONFIG" >&6; }
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18389 $as_echo "no" >&6; }
18394 if test -z "$ac_cv_path_PKG_CONFIG"; then
18395 ac_pt_PKG_CONFIG=$PKG_CONFIG
18396 # Extract the first word of "pkg-config", so it can be a program name with args.
18397 set dummy pkg-config; ac_word=$2
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18399 $as_echo_n "checking for $ac_word... " >&6; }
18400 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18401 $as_echo_n "(cached) " >&6
18403 case $ac_pt_PKG_CONFIG in
18405 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18409 for as_dir in $PATH
18412 test -z "$as_dir" && as_dir=.
18413 for ac_exec_ext in '' $ac_executable_extensions; do
18414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18415 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18426 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18427 if test -n "$ac_pt_PKG_CONFIG"; then
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18429 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18432 $as_echo "no" >&6; }
18435 if test "x$ac_pt_PKG_CONFIG" = x; then
18438 case $cross_compiling:$ac_tool_warned in
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18442 ac_tool_warned=yes ;;
18444 PKG_CONFIG=$ac_pt_PKG_CONFIG
18447 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18451 if test -n "$PKG_CONFIG"; then
18452 _pkg_min_version=0.9.0
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18454 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18455 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18457 $as_echo "yes" >&6; }
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18460 $as_echo "no" >&6; }
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
18467 $as_echo_n "checking for HILDON... " >&6; }
18469 if test -n "$HILDON_CFLAGS"; then
18470 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
18471 elif test -n "$PKG_CONFIG"; then
18472 if test -n "$PKG_CONFIG" && \
18473 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
18474 ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
18476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18477 test $ac_status = 0; }; then
18478 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
18479 test "x$?" != "x0" && pkg_failed=yes
18486 if test -n "$HILDON_LIBS"; then
18487 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
18488 elif test -n "$PKG_CONFIG"; then
18489 if test -n "$PKG_CONFIG" && \
18490 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
18491 ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
18493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18494 test $ac_status = 0; }; then
18495 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
18496 test "x$?" != "x0" && pkg_failed=yes
18506 if test $pkg_failed = yes; then
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18508 $as_echo "no" >&6; }
18510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18511 _pkg_short_errors_supported=yes
18513 _pkg_short_errors_supported=no
18515 if test $_pkg_short_errors_supported = yes; then
18516 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hildon-1" 2>&1`
18518 HILDON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hildon-1" 2>&1`
18520 # Put the nasty error message in config.log where it belongs
18521 echo "$HILDON_PKG_ERRORS" >&5
18523 as_fn_error $? "Package requirements (hildon-1) were not met:
18527 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18528 installed software in a non-standard prefix.
18530 Alternatively, you may set the environment variables HILDON_CFLAGS
18531 and HILDON_LIBS to avoid the need to call pkg-config.
18532 See the pkg-config man page for more details." "$LINENO" 5
18533 elif test $pkg_failed = untried; then
18534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18535 $as_echo "no" >&6; }
18536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18538 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18539 is in your PATH or set the PKG_CONFIG environment variable to the full
18540 path to pkg-config.
18542 Alternatively, you may set the environment variables HILDON_CFLAGS
18543 and HILDON_LIBS to avoid the need to call pkg-config.
18544 See the pkg-config man page for more details.
18546 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18547 See \`config.log' for more details" "$LINENO" 5; }
18549 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
18550 HILDON_LIBS=$pkg_cv_HILDON_LIBS
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18552 $as_echo "yes" >&6; }
18560 # minimum base dependencies
18561 LIBSOUP_REQUIRED_VERSION=2.33.6
18562 CAIRO_REQUIRED_VERSION=1.10
18563 FONTCONFIG_REQUIRED_VERSION=2.4
18564 FREETYPE2_REQUIRED_VERSION=9.0
18565 LIBXML_REQUIRED_VERSION=2.6
18567 # minimum GTK+ base dependencies
18568 PANGO_REQUIRED_VERSION=1.12
18571 LIBXSLT_REQUIRED_VERSION=1.1.7
18572 SQLITE_REQUIRED_VERSION=3.0
18573 GSTREAMER_REQUIRED_VERSION=0.10
18574 GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=0.10.30
18575 ENCHANT_REQUIRED_VERSION=0.22
18577 # Available modules
18579 # glib - glib and includes gthread
18580 # unicode - check and identify which unicode backend to use
18582 # todo: webcore gtk
18583 # Version requirements
18584 GLIB_REQUIRED_VERSION=2.27.90
18585 @%:@ Check whether --enable-glibtest was given.
18586 if test "${enable_glibtest+set}" = set; then :
18587 enableval=$enable_glibtest;
18589 enable_glibtest=yes
18593 pkg_config_args=glib-2.0
18598 pkg_config_args="$pkg_config_args gmodule-2.0"
18601 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
18604 pkg_config_args="$pkg_config_args gobject-2.0"
18607 pkg_config_args="$pkg_config_args gthread-2.0"
18610 pkg_config_args="$pkg_config_args $module-2.0"
18622 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18623 if test -n "$ac_tool_prefix"; then
18624 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18625 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18627 $as_echo_n "checking for $ac_word... " >&6; }
18628 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18629 $as_echo_n "(cached) " >&6
18631 case $PKG_CONFIG in
18633 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18637 for as_dir in $PATH
18640 test -z "$as_dir" && as_dir=.
18641 for ac_exec_ext in '' $ac_executable_extensions; do
18642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18643 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18654 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18655 if test -n "$PKG_CONFIG"; then
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18657 $as_echo "$PKG_CONFIG" >&6; }
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18660 $as_echo "no" >&6; }
18665 if test -z "$ac_cv_path_PKG_CONFIG"; then
18666 ac_pt_PKG_CONFIG=$PKG_CONFIG
18667 # Extract the first word of "pkg-config", so it can be a program name with args.
18668 set dummy pkg-config; ac_word=$2
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18670 $as_echo_n "checking for $ac_word... " >&6; }
18671 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18672 $as_echo_n "(cached) " >&6
18674 case $ac_pt_PKG_CONFIG in
18676 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18680 for as_dir in $PATH
18683 test -z "$as_dir" && as_dir=.
18684 for ac_exec_ext in '' $ac_executable_extensions; do
18685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18686 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18697 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18698 if test -n "$ac_pt_PKG_CONFIG"; then
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18700 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18703 $as_echo "no" >&6; }
18706 if test "x$ac_pt_PKG_CONFIG" = x; then
18709 case $cross_compiling:$ac_tool_warned in
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18713 ac_tool_warned=yes ;;
18715 PKG_CONFIG=$ac_pt_PKG_CONFIG
18718 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18722 if test -n "$PKG_CONFIG"; then
18723 _pkg_min_version=0.16
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18725 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18726 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18728 $as_echo "yes" >&6; }
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18731 $as_echo "no" >&6; }
18738 if test "x$PKG_CONFIG" = x ; then
18743 min_glib_version=$GLIB_REQUIRED_VERSION
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
18745 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
18747 if test x$PKG_CONFIG != xno ; then
18748 ## don't try to run the test against uninstalled libtool libs
18749 if $PKG_CONFIG --uninstalled $pkg_config_args; then
18750 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
18754 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
18761 if test x"$no_glib" = x ; then
18762 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
18763 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
18764 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
18765 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
18767 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
18768 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
18769 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
18770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
18771 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
18772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
18773 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
18774 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
18775 if test "x$enable_glibtest" = "xyes" ; then
18776 ac_save_CFLAGS="$CFLAGS"
18777 ac_save_LIBS="$LIBS"
18778 CFLAGS="$CFLAGS $GLIB_CFLAGS"
18779 LIBS="$GLIB_LIBS $LIBS"
18780 rm -f conf.glibtest
18781 if test "$cross_compiling" = yes; then :
18782 echo $ac_n "cross compiling; assumed OK... $ac_c"
18784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h. */
18789 #include <stdlib.h>
18794 unsigned int major, minor, micro;
18797 fclose (fopen ("conf.glibtest", "w"));
18799 /* HP/UX 9 (%@#!) writes to sscanf strings */
18800 tmp_version = g_strdup("$min_glib_version");
18801 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
18802 printf("%s, bad version string\n", "$min_glib_version");
18806 if ((glib_major_version != $glib_config_major_version) ||
18807 (glib_minor_version != $glib_config_minor_version) ||
18808 (glib_micro_version != $glib_config_micro_version))
18810 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
18811 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
18812 glib_major_version, glib_minor_version, glib_micro_version);
18813 printf ("*** was found! If pkg-config was correct, then it is best\n");
18814 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
18815 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
18816 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
18817 printf("*** required on your system.\n");
18818 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
18819 printf("*** to point to the correct configuration files\n");
18821 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
18822 (glib_minor_version != GLIB_MINOR_VERSION) ||
18823 (glib_micro_version != GLIB_MICRO_VERSION))
18825 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
18826 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
18827 printf("*** library (version %d.%d.%d)\n",
18828 glib_major_version, glib_minor_version, glib_micro_version);
18832 if ((glib_major_version > major) ||
18833 ((glib_major_version == major) && (glib_minor_version > minor)) ||
18834 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
18840 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
18841 glib_major_version, glib_minor_version, glib_micro_version);
18842 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
18843 major, minor, micro);
18844 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
18846 printf("*** If you have already installed a sufficiently new version, this error\n");
18847 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
18848 printf("*** being found. The easiest way to fix this is to remove the old version\n");
18849 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
18850 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
18851 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
18852 printf("*** so that the correct libraries are found at run-time))\n");
18859 if ac_fn_c_try_run "$LINENO"; then :
18864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18865 conftest.$ac_objext conftest.beam conftest.$ac_ext
18868 CFLAGS="$ac_save_CFLAGS"
18869 LIBS="$ac_save_LIBS"
18872 if test "x$no_glib" = x ; then
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
18874 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18878 $as_echo "no" >&6; }
18879 if test "$PKG_CONFIG" = "no" ; then
18880 echo "*** A new enough version of pkg-config was not found."
18881 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
18883 if test -f conf.glibtest ; then
18886 echo "*** Could not run GLIB test program, checking why..."
18887 ac_save_CFLAGS="$CFLAGS"
18888 ac_save_LIBS="$LIBS"
18889 CFLAGS="$CFLAGS $GLIB_CFLAGS"
18890 LIBS="$LIBS $GLIB_LIBS"
18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18900 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
18905 if ac_fn_c_try_link "$LINENO"; then :
18906 echo "*** The test program compiled, but did not run. This usually means"
18907 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
18908 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
18909 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
18910 echo "*** to the installed location Also, make sure you have run ldconfig if that"
18911 echo "*** is required on your system"
18913 echo "*** If you have an old version installed, it is best to remove it, although"
18914 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
18916 echo "*** The test program failed to compile or link. See the file config.log for the"
18917 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
18919 rm -f core conftest.err conftest.$ac_objext \
18920 conftest$ac_exeext conftest.$ac_ext
18921 CFLAGS="$ac_save_CFLAGS"
18922 LIBS="$ac_save_LIBS"
18930 GLIB_COMPILE_RESOURCES=""
18939 rm -f conf.glibtest
18941 if test -z "$GLIB_GENMARSHAL" || test -z "$GLIB_MKENUMS"; then
18942 as_fn_error $? "You need the GLib dev tools in your path" "$LINENO" 5
18946 @%:@ Check whether --enable-schemas-compile was given.
18947 if test "${enable_schemas_compile+set}" = set; then :
18948 enableval=$enable_schemas_compile; case ${enableval} in
18949 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
18950 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
18951 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
18963 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18964 if test -n "$ac_tool_prefix"; then
18965 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18966 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18968 $as_echo_n "checking for $ac_word... " >&6; }
18969 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18970 $as_echo_n "(cached) " >&6
18972 case $PKG_CONFIG in
18974 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18978 for as_dir in $PATH
18981 test -z "$as_dir" && as_dir=.
18982 for ac_exec_ext in '' $ac_executable_extensions; do
18983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18984 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18995 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18996 if test -n "$PKG_CONFIG"; then
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18998 $as_echo "$PKG_CONFIG" >&6; }
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19001 $as_echo "no" >&6; }
19006 if test -z "$ac_cv_path_PKG_CONFIG"; then
19007 ac_pt_PKG_CONFIG=$PKG_CONFIG
19008 # Extract the first word of "pkg-config", so it can be a program name with args.
19009 set dummy pkg-config; ac_word=$2
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19011 $as_echo_n "checking for $ac_word... " >&6; }
19012 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
19013 $as_echo_n "(cached) " >&6
19015 case $ac_pt_PKG_CONFIG in
19017 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19021 for as_dir in $PATH
19024 test -z "$as_dir" && as_dir=.
19025 for ac_exec_ext in '' $ac_executable_extensions; do
19026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19027 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19038 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19039 if test -n "$ac_pt_PKG_CONFIG"; then
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19041 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19044 $as_echo "no" >&6; }
19047 if test "x$ac_pt_PKG_CONFIG" = x; then
19050 case $cross_compiling:$ac_tool_warned in
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19054 ac_tool_warned=yes ;;
19056 PKG_CONFIG=$ac_pt_PKG_CONFIG
19059 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19063 if test -n "$PKG_CONFIG"; then
19064 _pkg_min_version=0.16
19065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19066 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19067 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19069 $as_echo "yes" >&6; }
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19072 $as_echo "no" >&6; }
19076 gsettingsschemadir=${datadir}/glib-2.0/schemas
19078 if test x$cross_compiling != xyes; then
19079 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
19081 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
19082 set dummy glib-compile-schemas; ac_word=$2
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19084 $as_echo_n "checking for $ac_word... " >&6; }
19085 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
19086 $as_echo_n "(cached) " >&6
19088 case $GLIB_COMPILE_SCHEMAS in
19090 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
19093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19094 for as_dir in $PATH
19097 test -z "$as_dir" && as_dir=.
19098 for ac_exec_ext in '' $ac_executable_extensions; do
19099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19100 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
19101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19111 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
19112 if test -n "$GLIB_COMPILE_SCHEMAS"; then
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
19114 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19117 $as_echo "no" >&6; }
19123 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
19124 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
19130 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
19132 mostlyclean-am: clean-gsettings-schemas
19134 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
19136 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
19137 $(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 $@
19139 all-am: $(gsettings_SCHEMAS:.xml=.valid)
19140 uninstall-am: uninstall-gsettings-schemas
19141 install-data-am: install-gsettings-schemas
19143 .SECONDARY: $(gsettings_SCHEMAS)
19145 gsettings__base_list = \
19146 sed "$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g" | \
19147 sed "$$!N;$$!N;$$!N;$$!N;s/\n/ /g"
19149 install-gsettings-schemas: $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
19151 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"
19152 @list='\''$(gsettings__enum_file) $(gsettings_SCHEMAS)'\''; test -n "$(gsettingsschemadir)" || list=; \
19153 for p in $$list; do \
19154 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
19156 done | $(gsettings__base_list) | \
19157 while read files; do \
19158 echo " $(INSTALL_DATA) $$files '\''$(DESTDIR)$(gsettingsschemadir)'\''"; \
19159 $(INSTALL_DATA) $$files "$(DESTDIR)$(gsettingsschemadir)" || exit $$?; \
19161 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
19163 uninstall-gsettings-schemas:
19164 @$(NORMAL_UNINSTALL)
19165 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
19166 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
19167 test -n "$$files" || exit 0; \
19168 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
19169 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
19170 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
19172 clean-gsettings-schemas:
19173 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
19175 ifdef gsettings_ENUM_NAMESPACE
19176 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
19177 $(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 $@
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which Unicode backend to use" >&5
19188 $as_echo_n "checking which Unicode backend to use... " >&6; }
19190 @%:@ Check whether --with-unicode_backend was given.
19191 if test "${with_unicode_backend+set}" = set; then :
19192 withval=$with_unicode_backend;
19194 with_unicode_backend="icu"
19198 case "$with_unicode_backend" in
19200 *) as_fn_error $? "Invalid Unicode backend: must be icu or glib." "$LINENO" 5 ;;
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_unicode_backend" >&5
19204 $as_echo "$with_unicode_backend" >&6; }
19206 if test "$with_unicode_backend" = "icu"; then
19209 UNICODE_CFLAGS="-I$srcdir/Source/JavaScriptCore/icu -I$srcdir/Source/WebCore/icu"
19210 UNICODE_LIBS="-licucore"
19214 UNICODE_LIBS="-licuin -licuuc"
19217 # Extract the first word of "icu-config", so it can be a program name with args.
19218 set dummy icu-config; ac_word=$2
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19220 $as_echo_n "checking for $ac_word... " >&6; }
19221 if ${ac_cv_path_icu_config+:} false; then :
19222 $as_echo_n "(cached) " >&6
19224 case $icu_config in
19226 ac_cv_path_icu_config="$icu_config" # Let the user override the test with a path.
19229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19230 for as_dir in $PATH
19233 test -z "$as_dir" && as_dir=.
19234 for ac_exec_ext in '' $ac_executable_extensions; do
19235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19236 ac_cv_path_icu_config="$as_dir/$ac_word$ac_exec_ext"
19237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19244 test -z "$ac_cv_path_icu_config" && ac_cv_path_icu_config="no"
19248 icu_config=$ac_cv_path_icu_config
19249 if test -n "$icu_config"; then
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $icu_config" >&5
19251 $as_echo "$icu_config" >&6; }
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19254 $as_echo "no" >&6; }
19258 if test "$icu_config" = "no"; then
19259 as_fn_error $? "Cannot find icu-config. The ICU library is needed." "$LINENO" 5
19262 # We don't use --cflags as this gives us a lot of things that we don't
19263 # necessarily want, like debugging and optimization flags
19264 # See man (1) icu-config for more info.
19265 UNICODE_CFLAGS=`$icu_config --cppflags`
19266 UNICODE_LIBS=`$icu_config --ldflags-libsonly`
19271 if test "$with_unicode_backend" = "glib"; then
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNICODE" >&5
19275 $as_echo_n "checking for UNICODE... " >&6; }
19277 if test -n "$UNICODE_CFLAGS"; then
19278 pkg_cv_UNICODE_CFLAGS="$UNICODE_CFLAGS"
19279 elif test -n "$PKG_CONFIG"; then
19280 if test -n "$PKG_CONFIG" && \
19281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 pango >= 1.21.0\""; } >&5
19282 ($PKG_CONFIG --exists --print-errors "glib-2.0 pango >= 1.21.0") 2>&5
19284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19285 test $ac_status = 0; }; then
19286 pkg_cv_UNICODE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 pango >= 1.21.0" 2>/dev/null`
19287 test "x$?" != "x0" && pkg_failed=yes
19294 if test -n "$UNICODE_LIBS"; then
19295 pkg_cv_UNICODE_LIBS="$UNICODE_LIBS"
19296 elif test -n "$PKG_CONFIG"; then
19297 if test -n "$PKG_CONFIG" && \
19298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 pango >= 1.21.0\""; } >&5
19299 ($PKG_CONFIG --exists --print-errors "glib-2.0 pango >= 1.21.0") 2>&5
19301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19302 test $ac_status = 0; }; then
19303 pkg_cv_UNICODE_LIBS=`$PKG_CONFIG --libs "glib-2.0 pango >= 1.21.0" 2>/dev/null`
19304 test "x$?" != "x0" && pkg_failed=yes
19314 if test $pkg_failed = yes; then
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19316 $as_echo "no" >&6; }
19318 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19319 _pkg_short_errors_supported=yes
19321 _pkg_short_errors_supported=no
19323 if test $_pkg_short_errors_supported = yes; then
19324 UNICODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 pango >= 1.21.0" 2>&1`
19326 UNICODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 pango >= 1.21.0" 2>&1`
19328 # Put the nasty error message in config.log where it belongs
19329 echo "$UNICODE_PKG_ERRORS" >&5
19331 as_fn_error $? "Package requirements (glib-2.0 pango >= 1.21.0) were not met:
19333 $UNICODE_PKG_ERRORS
19335 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19336 installed software in a non-standard prefix.
19338 Alternatively, you may set the environment variables UNICODE_CFLAGS
19339 and UNICODE_LIBS to avoid the need to call pkg-config.
19340 See the pkg-config man page for more details." "$LINENO" 5
19341 elif test $pkg_failed = untried; then
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19343 $as_echo "no" >&6; }
19344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19346 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19347 is in your PATH or set the PKG_CONFIG environment variable to the full
19348 path to pkg-config.
19350 Alternatively, you may set the environment variables UNICODE_CFLAGS
19351 and UNICODE_LIBS to avoid the need to call pkg-config.
19352 See the pkg-config man page for more details.
19354 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19355 See \`config.log' for more details" "$LINENO" 5; }
19357 UNICODE_CFLAGS=$pkg_cv_UNICODE_CFLAGS
19358 UNICODE_LIBS=$pkg_cv_UNICODE_LIBS
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19360 $as_echo "yes" >&6; }
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZLIB" >&5
19371 $as_echo_n "checking for ZLIB... " >&6; }
19373 if test -n "$ZLIB_CFLAGS"; then
19374 pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
19375 elif test -n "$PKG_CONFIG"; then
19376 if test -n "$PKG_CONFIG" && \
19377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
19378 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
19380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19381 test $ac_status = 0; }; then
19382 pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
19383 test "x$?" != "x0" && pkg_failed=yes
19390 if test -n "$ZLIB_LIBS"; then
19391 pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
19392 elif test -n "$PKG_CONFIG"; then
19393 if test -n "$PKG_CONFIG" && \
19394 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
19395 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
19397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19398 test $ac_status = 0; }; then
19399 pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
19400 test "x$?" != "x0" && pkg_failed=yes
19410 if test $pkg_failed = yes; then
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19412 $as_echo "no" >&6; }
19414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19415 _pkg_short_errors_supported=yes
19417 _pkg_short_errors_supported=no
19419 if test $_pkg_short_errors_supported = yes; then
19420 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1`
19422 ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1`
19424 # Put the nasty error message in config.log where it belongs
19425 echo "$ZLIB_PKG_ERRORS" >&5
19427 as_fn_error $? "Package requirements (zlib) were not met:
19431 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19432 installed software in a non-standard prefix.
19434 Alternatively, you may set the environment variables ZLIB_CFLAGS
19435 and ZLIB_LIBS to avoid the need to call pkg-config.
19436 See the pkg-config man page for more details." "$LINENO" 5
19437 elif test $pkg_failed = untried; then
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19439 $as_echo "no" >&6; }
19440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19442 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19443 is in your PATH or set the PKG_CONFIG environment variable to the full
19444 path to pkg-config.
19446 Alternatively, you may set the environment variables ZLIB_CFLAGS
19447 and ZLIB_LIBS to avoid the need to call pkg-config.
19448 See the pkg-config man page for more details.
19450 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19451 See \`config.log' for more details" "$LINENO" 5; }
19453 ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
19454 ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19456 $as_echo "yes" >&6; }
19463 for module in glib unicode
19468 *) as_fn_error $? "I don't support that module. Sorry.." "$LINENO" 5 ;;
19474 GETTEXT_PACKAGE=$PACKAGE-$GTK_API_VERSION
19477 cat >>confdefs.h <<_ACEOF
19478 @%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
19485 $as_echo_n "checking for LIBXML... " >&6; }
19487 if test -n "$LIBXML_CFLAGS"; then
19488 pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
19489 elif test -n "$PKG_CONFIG"; then
19490 if test -n "$PKG_CONFIG" && \
19491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
19492 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
19494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19495 test $ac_status = 0; }; then
19496 pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
19497 test "x$?" != "x0" && pkg_failed=yes
19504 if test -n "$LIBXML_LIBS"; then
19505 pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
19506 elif test -n "$PKG_CONFIG"; then
19507 if test -n "$PKG_CONFIG" && \
19508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
19509 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
19511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19512 test $ac_status = 0; }; then
19513 pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
19514 test "x$?" != "x0" && pkg_failed=yes
19524 if test $pkg_failed = yes; then
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19526 $as_echo "no" >&6; }
19528 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19529 _pkg_short_errors_supported=yes
19531 _pkg_short_errors_supported=no
19533 if test $_pkg_short_errors_supported = yes; then
19534 LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
19536 LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
19538 # Put the nasty error message in config.log where it belongs
19539 echo "$LIBXML_PKG_ERRORS" >&5
19541 as_fn_error $? "Package requirements (libxml-2.0 >= $LIBXML_REQUIRED_VERSION) were not met:
19545 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19546 installed software in a non-standard prefix.
19548 Alternatively, you may set the environment variables LIBXML_CFLAGS
19549 and LIBXML_LIBS to avoid the need to call pkg-config.
19550 See the pkg-config man page for more details." "$LINENO" 5
19551 elif test $pkg_failed = untried; then
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19553 $as_echo "no" >&6; }
19554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19556 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19557 is in your PATH or set the PKG_CONFIG environment variable to the full
19558 path to pkg-config.
19560 Alternatively, you may set the environment variables LIBXML_CFLAGS
19561 and LIBXML_LIBS to avoid the need to call pkg-config.
19562 See the pkg-config man page for more details.
19564 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19565 See \`config.log' for more details" "$LINENO" 5; }
19567 LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
19568 LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19570 $as_echo "yes" >&6; }
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
19579 $as_echo_n "checking for PANGO... " >&6; }
19581 if test -n "$PANGO_CFLAGS"; then
19582 pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
19583 elif test -n "$PKG_CONFIG"; then
19584 if test -n "$PKG_CONFIG" && \
19585 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION
19587 ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION
19590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19591 test $ac_status = 0; }; then
19592 pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= $PANGO_REQUIRED_VERSION
19593 pangoft2" 2>/dev/null`
19594 test "x$?" != "x0" && pkg_failed=yes
19601 if test -n "$PANGO_LIBS"; then
19602 pkg_cv_PANGO_LIBS="$PANGO_LIBS"
19603 elif test -n "$PKG_CONFIG"; then
19604 if test -n "$PKG_CONFIG" && \
19605 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION
19607 ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION
19610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19611 test $ac_status = 0; }; then
19612 pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= $PANGO_REQUIRED_VERSION
19613 pangoft2" 2>/dev/null`
19614 test "x$?" != "x0" && pkg_failed=yes
19624 if test $pkg_failed = yes; then
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19626 $as_echo "no" >&6; }
19628 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19629 _pkg_short_errors_supported=yes
19631 _pkg_short_errors_supported=no
19633 if test $_pkg_short_errors_supported = yes; then
19634 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pango >= $PANGO_REQUIRED_VERSION
19637 PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pango >= $PANGO_REQUIRED_VERSION
19640 # Put the nasty error message in config.log where it belongs
19641 echo "$PANGO_PKG_ERRORS" >&5
19643 as_fn_error $? "Package requirements (pango >= $PANGO_REQUIRED_VERSION
19644 pangoft2) were not met:
19648 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19649 installed software in a non-standard prefix.
19651 Alternatively, you may set the environment variables PANGO_CFLAGS
19652 and PANGO_LIBS to avoid the need to call pkg-config.
19653 See the pkg-config man page for more details." "$LINENO" 5
19654 elif test $pkg_failed = untried; then
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19656 $as_echo "no" >&6; }
19657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19659 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19660 is in your PATH or set the PKG_CONFIG environment variable to the full
19661 path to pkg-config.
19663 Alternatively, you may set the environment variables PANGO_CFLAGS
19664 and PANGO_LIBS to avoid the need to call pkg-config.
19665 See the pkg-config man page for more details.
19667 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19668 See \`config.log' for more details" "$LINENO" 5; }
19670 PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
19671 PANGO_LIBS=$pkg_cv_PANGO_LIBS
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19673 $as_echo "yes" >&6; }
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable spellcheck support" >&5
19680 $as_echo_n "checking whether to enable spellcheck support... " >&6; }
19681 @%:@ Check whether --enable-spellcheck was given.
19682 if test "${enable_spellcheck+set}" = set; then :
19683 enableval=$enable_spellcheck;
19685 enable_spellcheck="yes"
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_spellcheck" >&5
19689 $as_echo "$enable_spellcheck" >&6; }
19691 if test "$enable_spellcheck" = "yes"; then
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCHANT" >&5
19695 $as_echo_n "checking for ENCHANT... " >&6; }
19697 if test -n "$ENCHANT_CFLAGS"; then
19698 pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS"
19699 elif test -n "$PKG_CONFIG"; then
19700 if test -n "$PKG_CONFIG" && \
19701 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED_VERSION\""; } >&5
19702 ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION") 2>&5
19704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19705 test $ac_status = 0; }; then
19706 pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant >= $ENCHANT_REQUIRED_VERSION" 2>/dev/null`
19707 test "x$?" != "x0" && pkg_failed=yes
19714 if test -n "$ENCHANT_LIBS"; then
19715 pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS"
19716 elif test -n "$PKG_CONFIG"; then
19717 if test -n "$PKG_CONFIG" && \
19718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED_VERSION\""; } >&5
19719 ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION") 2>&5
19721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19722 test $ac_status = 0; }; then
19723 pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant >= $ENCHANT_REQUIRED_VERSION" 2>/dev/null`
19724 test "x$?" != "x0" && pkg_failed=yes
19734 if test $pkg_failed = yes; then
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19736 $as_echo "no" >&6; }
19738 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19739 _pkg_short_errors_supported=yes
19741 _pkg_short_errors_supported=no
19743 if test $_pkg_short_errors_supported = yes; then
19744 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "enchant >= $ENCHANT_REQUIRED_VERSION" 2>&1`
19746 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "enchant >= $ENCHANT_REQUIRED_VERSION" 2>&1`
19748 # Put the nasty error message in config.log where it belongs
19749 echo "$ENCHANT_PKG_ERRORS" >&5
19751 enable_spellcheck="no"
19752 elif test $pkg_failed = untried; then
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19754 $as_echo "no" >&6; }
19755 enable_spellcheck="no"
19757 ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS
19758 ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19760 $as_echo "yes" >&6; }
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAIL" >&5
19770 $as_echo_n "checking for GAIL... " >&6; }
19772 if test -n "$GAIL_CFLAGS"; then
19773 pkg_cv_GAIL_CFLAGS="$GAIL_CFLAGS"
19774 elif test -n "$PKG_CONFIG"; then
19775 if test -n "$PKG_CONFIG" && \
19776 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_PC_NAME >= \$GAIL_REQUIRED_VERSION\""; } >&5
19777 ($PKG_CONFIG --exists --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION") 2>&5
19779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19780 test $ac_status = 0; }; then
19781 pkg_cv_GAIL_CFLAGS=`$PKG_CONFIG --cflags "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>/dev/null`
19782 test "x$?" != "x0" && pkg_failed=yes
19789 if test -n "$GAIL_LIBS"; then
19790 pkg_cv_GAIL_LIBS="$GAIL_LIBS"
19791 elif test -n "$PKG_CONFIG"; then
19792 if test -n "$PKG_CONFIG" && \
19793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_PC_NAME >= \$GAIL_REQUIRED_VERSION\""; } >&5
19794 ($PKG_CONFIG --exists --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION") 2>&5
19796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19797 test $ac_status = 0; }; then
19798 pkg_cv_GAIL_LIBS=`$PKG_CONFIG --libs "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>/dev/null`
19799 test "x$?" != "x0" && pkg_failed=yes
19809 if test $pkg_failed = yes; then
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19811 $as_echo "no" >&6; }
19813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19814 _pkg_short_errors_supported=yes
19816 _pkg_short_errors_supported=no
19818 if test $_pkg_short_errors_supported = yes; then
19819 GAIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>&1`
19821 GAIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>&1`
19823 # Put the nasty error message in config.log where it belongs
19824 echo "$GAIL_PKG_ERRORS" >&5
19826 as_fn_error $? "Package requirements ($GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION) were not met:
19830 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19831 installed software in a non-standard prefix.
19833 Alternatively, you may set the environment variables GAIL_CFLAGS
19834 and GAIL_LIBS to avoid the need to call pkg-config.
19835 See the pkg-config man page for more details." "$LINENO" 5
19836 elif test $pkg_failed = untried; then
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19838 $as_echo "no" >&6; }
19839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19841 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19842 is in your PATH or set the PKG_CONFIG environment variable to the full
19843 path to pkg-config.
19845 Alternatively, you may set the environment variables GAIL_CFLAGS
19846 and GAIL_LIBS to avoid the need to call pkg-config.
19847 See the pkg-config man page for more details.
19849 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19850 See \`config.log' for more details" "$LINENO" 5; }
19852 GAIL_CFLAGS=$pkg_cv_GAIL_CFLAGS
19853 GAIL_LIBS=$pkg_cv_GAIL_LIBS
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19855 $as_echo "yes" >&6; }
19861 # check for target-specific dependencies
19862 if test "$with_target" = "directfb"; then
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
19866 $as_echo_n "checking for CAIRO... " >&6; }
19868 if test -n "$CAIRO_CFLAGS"; then
19869 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
19870 elif test -n "$PKG_CONFIG"; then
19871 if test -n "$PKG_CONFIG" && \
19872 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-directfb >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19873 ($PKG_CONFIG --exists --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION") 2>&5
19875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19876 test $ac_status = 0; }; then
19877 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
19878 test "x$?" != "x0" && pkg_failed=yes
19885 if test -n "$CAIRO_LIBS"; then
19886 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
19887 elif test -n "$PKG_CONFIG"; then
19888 if test -n "$PKG_CONFIG" && \
19889 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-directfb >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19890 ($PKG_CONFIG --exists --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION") 2>&5
19892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19893 test $ac_status = 0; }; then
19894 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
19895 test "x$?" != "x0" && pkg_failed=yes
19905 if test $pkg_failed = yes; then
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19907 $as_echo "no" >&6; }
19909 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19910 _pkg_short_errors_supported=yes
19912 _pkg_short_errors_supported=no
19914 if test $_pkg_short_errors_supported = yes; then
19915 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>&1`
19917 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>&1`
19919 # Put the nasty error message in config.log where it belongs
19920 echo "$CAIRO_PKG_ERRORS" >&5
19922 as_fn_error $? "Package requirements (cairo-directfb >= $CAIRO_REQUIRED_VERSION) were not met:
19926 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19927 installed software in a non-standard prefix.
19929 Alternatively, you may set the environment variables CAIRO_CFLAGS
19930 and CAIRO_LIBS to avoid the need to call pkg-config.
19931 See the pkg-config man page for more details." "$LINENO" 5
19932 elif test $pkg_failed = untried; then
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19934 $as_echo "no" >&6; }
19935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19937 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19938 is in your PATH or set the PKG_CONFIG environment variable to the full
19939 path to pkg-config.
19941 Alternatively, you may set the environment variables CAIRO_CFLAGS
19942 and CAIRO_LIBS to avoid the need to call pkg-config.
19943 See the pkg-config man page for more details.
19945 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19946 See \`config.log' for more details" "$LINENO" 5; }
19948 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
19949 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19951 $as_echo "yes" >&6; }
19956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
19957 $as_echo_n "checking for GTK... " >&6; }
19959 if test -n "$GTK_CFLAGS"; then
19960 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
19961 elif test -n "$PKG_CONFIG"; then
19962 if test -n "$PKG_CONFIG" && \
19963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-directfb-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
19964 ($PKG_CONFIG --exists --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
19966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19967 test $ac_status = 0; }; then
19968 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
19969 test "x$?" != "x0" && pkg_failed=yes
19976 if test -n "$GTK_LIBS"; then
19977 pkg_cv_GTK_LIBS="$GTK_LIBS"
19978 elif test -n "$PKG_CONFIG"; then
19979 if test -n "$PKG_CONFIG" && \
19980 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-directfb-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
19981 ($PKG_CONFIG --exists --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
19983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19984 test $ac_status = 0; }; then
19985 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
19986 test "x$?" != "x0" && pkg_failed=yes
19996 if test $pkg_failed = yes; then
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19998 $as_echo "no" >&6; }
20000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20001 _pkg_short_errors_supported=yes
20003 _pkg_short_errors_supported=no
20005 if test $_pkg_short_errors_supported = yes; then
20006 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
20008 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
20010 # Put the nasty error message in config.log where it belongs
20011 echo "$GTK_PKG_ERRORS" >&5
20013 as_fn_error $? "Package requirements (gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION) were not met:
20017 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20018 installed software in a non-standard prefix.
20020 Alternatively, you may set the environment variables GTK_CFLAGS
20021 and GTK_LIBS to avoid the need to call pkg-config.
20022 See the pkg-config man page for more details." "$LINENO" 5
20023 elif test $pkg_failed = untried; then
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20025 $as_echo "no" >&6; }
20026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20028 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20029 is in your PATH or set the PKG_CONFIG environment variable to the full
20030 path to pkg-config.
20032 Alternatively, you may set the environment variables GTK_CFLAGS
20033 and GTK_LIBS to avoid the need to call pkg-config.
20034 See the pkg-config man page for more details.
20036 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20037 See \`config.log' for more details" "$LINENO" 5; }
20039 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
20040 GTK_LIBS=$pkg_cv_GTK_LIBS
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20042 $as_echo "yes" >&6; }
20046 $as_echo "@%:@define WTF_PLATFORM_DIRECTFB 1" >>confdefs.h
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
20052 $as_echo_n "checking for CAIRO... " >&6; }
20054 if test -n "$CAIRO_CFLAGS"; then
20055 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
20056 elif test -n "$PKG_CONFIG"; then
20057 if test -n "$PKG_CONFIG" && \
20058 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED_VERSION\""; } >&5
20059 ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED_VERSION") 2>&5
20061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20062 test $ac_status = 0; }; then
20063 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
20064 test "x$?" != "x0" && pkg_failed=yes
20071 if test -n "$CAIRO_LIBS"; then
20072 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
20073 elif test -n "$PKG_CONFIG"; then
20074 if test -n "$PKG_CONFIG" && \
20075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED_VERSION\""; } >&5
20076 ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED_VERSION") 2>&5
20078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20079 test $ac_status = 0; }; then
20080 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
20081 test "x$?" != "x0" && pkg_failed=yes
20091 if test $pkg_failed = yes; then
20092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20093 $as_echo "no" >&6; }
20095 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20096 _pkg_short_errors_supported=yes
20098 _pkg_short_errors_supported=no
20100 if test $_pkg_short_errors_supported = yes; then
20101 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= $CAIRO_REQUIRED_VERSION" 2>&1`
20103 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= $CAIRO_REQUIRED_VERSION" 2>&1`
20105 # Put the nasty error message in config.log where it belongs
20106 echo "$CAIRO_PKG_ERRORS" >&5
20108 as_fn_error $? "Package requirements (cairo >= $CAIRO_REQUIRED_VERSION) were not met:
20112 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20113 installed software in a non-standard prefix.
20115 Alternatively, you may set the environment variables CAIRO_CFLAGS
20116 and CAIRO_LIBS to avoid the need to call pkg-config.
20117 See the pkg-config man page for more details." "$LINENO" 5
20118 elif test $pkg_failed = untried; then
20119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20120 $as_echo "no" >&6; }
20121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20123 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20124 is in your PATH or set the PKG_CONFIG environment variable to the full
20125 path to pkg-config.
20127 Alternatively, you may set the environment variables CAIRO_CFLAGS
20128 and CAIRO_LIBS to avoid the need to call pkg-config.
20129 See the pkg-config man page for more details.
20131 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20132 See \`config.log' for more details" "$LINENO" 5; }
20134 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
20135 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20137 $as_echo "yes" >&6; }
20142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
20143 $as_echo_n "checking for GTK... " >&6; }
20145 if test -n "$GTK_CFLAGS"; then
20146 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
20147 elif test -n "$PKG_CONFIG"; then
20148 if test -n "$PKG_CONFIG" && \
20149 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED_VERSION\""; } >&5
20150 ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION") 2>&5
20152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20153 test $ac_status = 0; }; then
20154 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>/dev/null`
20155 test "x$?" != "x0" && pkg_failed=yes
20162 if test -n "$GTK_LIBS"; then
20163 pkg_cv_GTK_LIBS="$GTK_LIBS"
20164 elif test -n "$PKG_CONFIG"; then
20165 if test -n "$PKG_CONFIG" && \
20166 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED_VERSION\""; } >&5
20167 ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION") 2>&5
20169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20170 test $ac_status = 0; }; then
20171 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>/dev/null`
20172 test "x$?" != "x0" && pkg_failed=yes
20182 if test $pkg_failed = yes; then
20183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20184 $as_echo "no" >&6; }
20186 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20187 _pkg_short_errors_supported=yes
20189 _pkg_short_errors_supported=no
20191 if test $_pkg_short_errors_supported = yes; then
20192 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>&1`
20194 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>&1`
20196 # Put the nasty error message in config.log where it belongs
20197 echo "$GTK_PKG_ERRORS" >&5
20199 as_fn_error $? "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION) were not met:
20203 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20204 installed software in a non-standard prefix.
20206 Alternatively, you may set the environment variables GTK_CFLAGS
20207 and GTK_LIBS to avoid the need to call pkg-config.
20208 See the pkg-config man page for more details." "$LINENO" 5
20209 elif test $pkg_failed = untried; then
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20211 $as_echo "no" >&6; }
20212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20214 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20215 is in your PATH or set the PKG_CONFIG environment variable to the full
20216 path to pkg-config.
20218 Alternatively, you may set the environment variables GTK_CFLAGS
20219 and GTK_LIBS to avoid the need to call pkg-config.
20220 See the pkg-config man page for more details.
20222 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20223 See \`config.log' for more details" "$LINENO" 5; }
20225 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
20226 GTK_LIBS=$pkg_cv_GTK_LIBS
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20228 $as_echo "yes" >&6; }
20232 if test "$with_target" = "x11" && test "$os_win32" = "no"; then
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XT" >&5
20237 $as_echo_n "checking for XT... " >&6; }
20239 if test -n "$XT_CFLAGS"; then
20240 pkg_cv_XT_CFLAGS="$XT_CFLAGS"
20241 elif test -n "$PKG_CONFIG"; then
20242 if test -n "$PKG_CONFIG" && \
20243 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
20244 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
20246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20247 test $ac_status = 0; }; then
20248 pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
20249 test "x$?" != "x0" && pkg_failed=yes
20256 if test -n "$XT_LIBS"; then
20257 pkg_cv_XT_LIBS="$XT_LIBS"
20258 elif test -n "$PKG_CONFIG"; then
20259 if test -n "$PKG_CONFIG" && \
20260 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
20261 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
20263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20264 test $ac_status = 0; }; then
20265 pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
20266 test "x$?" != "x0" && pkg_failed=yes
20276 if test $pkg_failed = yes; then
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20278 $as_echo "no" >&6; }
20280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20281 _pkg_short_errors_supported=yes
20283 _pkg_short_errors_supported=no
20285 if test $_pkg_short_errors_supported = yes; then
20286 XT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
20288 XT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
20290 # Put the nasty error message in config.log where it belongs
20291 echo "$XT_PKG_ERRORS" >&5
20293 xt_has_pkg_config=no
20294 elif test $pkg_failed = untried; then
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20296 $as_echo "no" >&6; }
20297 xt_has_pkg_config=no
20299 XT_CFLAGS=$pkg_cv_XT_CFLAGS
20300 XT_LIBS=$pkg_cv_XT_LIBS
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20302 $as_echo "yes" >&6; }
20303 xt_has_pkg_config=yes
20305 # some old versions of Xt do not provide xt.pc, so try to link against Xt
20306 # and if it's installed fall back to just adding -lXt
20307 if test "$xt_has_pkg_config" = "no"; then
20308 # using AC_CHECK_LIB instead of AC_SEARCH_LIB is fine in this case as
20309 # we don't care about the XtOpenDisplay symbol but only about the
20310 # existence of libXt
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtOpenDisplay in -lXt" >&5
20312 $as_echo_n "checking for XtOpenDisplay in -lXt... " >&6; }
20313 if ${ac_cv_lib_Xt_XtOpenDisplay+:} false; then :
20314 $as_echo_n "(cached) " >&6
20316 ac_check_lib_save_LIBS=$LIBS
20318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20319 /* end confdefs.h. */
20321 /* Override any GCC internal prototype to avoid an error.
20322 Use char because int might match the return type of a GCC
20323 builtin and then its argument prototype would still apply. */
20327 char XtOpenDisplay ();
20331 return XtOpenDisplay ();
20336 if ac_fn_c_try_link "$LINENO"; then :
20337 ac_cv_lib_Xt_XtOpenDisplay=yes
20339 ac_cv_lib_Xt_XtOpenDisplay=no
20341 rm -f core conftest.err conftest.$ac_objext \
20342 conftest$ac_exeext conftest.$ac_ext
20343 LIBS=$ac_check_lib_save_LIBS
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_XtOpenDisplay" >&5
20346 $as_echo "$ac_cv_lib_Xt_XtOpenDisplay" >&6; }
20347 if test "x$ac_cv_lib_Xt_XtOpenDisplay" = xyes; then :
20348 XT_CFLAGS=""; XT_LIBS="-lXt"
20350 as_fn_error $? "X Toolkit Intrinsics library (libXt) not found" "$LINENO" 5
20357 $as_echo "@%:@define WTF_PLATFORM_X11 1" >>confdefs.h
20366 # check whether to build with debugging enabled
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to do a debug build" >&5
20368 $as_echo_n "checking whether to do a debug build... " >&6; }
20369 @%:@ Check whether --enable-debug was given.
20370 if test "${enable_debug+set}" = set; then :
20371 enableval=$enable_debug;
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
20377 $as_echo "$enable_debug" >&6; }
20379 # check whether to enable optimized builds
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable optimized builds" >&5
20381 $as_echo_n "checking whether to enable optimized builds... " >&6; }
20382 @%:@ Check whether --enable-optimizations was given.
20383 if test "${enable_optimizations+set}" = set; then :
20384 enableval=$enable_optimizations; enable_optimizations=$enableval
20386 if test "$enable_debug" = "yes"; then enable_optimizations="no"; else enable_optimizations="yes"; fi
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_optimizations" >&5
20390 $as_echo "$enable_optimizations" >&6; }
20392 # check whether to enable 3D rendering support
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for 3D Rendering" >&5
20394 $as_echo_n "checking whether to enable support for 3D Rendering... " >&6; }
20395 @%:@ Check whether --enable-3d_rendering was given.
20396 if test "${enable_3d_rendering+set}" = set; then :
20397 enableval=$enable_3d_rendering;
20399 enable_3d_rendering="no"
20402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_3d_rendering" >&5
20403 $as_echo "$enable_3d_rendering" >&6; }
20405 # check whether to enable WebGL support
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WebGL support" >&5
20407 $as_echo_n "checking whether to enable WebGL support... " >&6; }
20408 @%:@ Check whether --enable-webgl was given.
20409 if test "${enable_webgl+set}" = set; then :
20410 enableval=$enable_webgl;
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webgl" >&5
20416 $as_echo "$enable_webgl" >&6; }
20418 if test "$enable_webgl" = "yes"; then
20419 for ac_header in GL/gl.h
20421 ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
20422 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
20423 cat >>confdefs.h <<_ACEOF
20424 @%:@define HAVE_GL_GL_H 1
20428 as_fn_error $? "OpenGL header not found" "$LINENO" 5
20433 for ac_header in GL/glx.h
20435 ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
20436 if test "x$ac_cv_header_GL_glx_h" = xyes; then :
20437 cat >>confdefs.h <<_ACEOF
20438 @%:@define HAVE_GL_GLX_H 1
20442 as_fn_error $? "GLX header not found" "$LINENO" 5
20451 # check whether to enable channel messaging support
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 Channel Messaging support" >&5
20453 $as_echo_n "checking whether to enable HTML5 Channel Messaging support... " >&6; }
20454 @%:@ Check whether --enable-channel_messaging was given.
20455 if test "${enable_channel_messaging+set}" = set; then :
20456 enableval=$enable_channel_messaging;
20458 enable_channel_messaging="yes"
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_channel_messaging" >&5
20462 $as_echo "$enable_channel_messaging" >&6; }
20464 # check whether to enable notifications
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable notifications" >&5
20466 $as_echo_n "checking whether to enable notifications... " >&6; }
20467 @%:@ Check whether --enable-notifications was given.
20468 if test "${enable_notifications+set}" = set; then :
20469 enableval=$enable_notifications;
20471 enable_notifications="no"
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_notifications" >&5
20475 $as_echo "$enable_notifications" >&6; }
20477 # check whether to enable the meter tag
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 meter tag" >&5
20479 $as_echo_n "checking whether to enable HTML5 meter tag... " >&6; }
20480 @%:@ Check whether --enable-meter_tag was given.
20481 if test "${enable_meter_tag+set}" = set; then :
20482 enableval=$enable_meter_tag;
20484 enable_meter_tag="yes"
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_meter_tag" >&5
20488 $as_echo "$enable_meter_tag" >&6; }
20490 # check whether to enable page visibility API.
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Page Visibility API support" >&5
20492 $as_echo_n "checking whether to enable Page Visibility API support... " >&6; }
20493 @%:@ Check whether --enable-page_visibility_api was given.
20494 if test "${enable_page_visibility_api+set}" = set; then :
20495 enableval=$enable_page_visibility_api;
20497 enable_page_visibility_api="no"
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_page_visibility_api" >&5
20501 $as_echo "$enable_page_visibility_api" >&6; }
20503 # check whether to enable the progress tag
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 progress tag" >&5
20505 $as_echo_n "checking whether to enable HTML5 progress tag... " >&6; }
20506 @%:@ Check whether --enable-progress_tag was given.
20507 if test "${enable_progress_tag+set}" = set; then :
20508 enableval=$enable_progress_tag;
20510 enable_progress_tag="yes"
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_progress_tag" >&5
20514 $as_echo "$enable_progress_tag" >&6; }
20516 # check whether to enable JavaScript debugger/profiler support
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable JavaScript debugger/profiler support" >&5
20518 $as_echo_n "checking whether to enable JavaScript debugger/profiler support... " >&6; }
20519 @%:@ Check whether --enable-javascript_debugger was given.
20520 if test "${enable_javascript_debugger+set}" = set; then :
20521 enableval=$enable_javascript_debugger;
20523 enable_javascript_debugger="yes"
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_javascript_debugger" >&5
20527 $as_echo "$enable_javascript_debugger" >&6; }
20529 # check whether to build with datagrid support
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 datagrid support" >&5
20531 $as_echo_n "checking whether to enable HTML5 datagrid support... " >&6; }
20532 @%:@ Check whether --enable-datagrid was given.
20533 if test "${enable_datagrid+set}" = set; then :
20534 enableval=$enable_datagrid;
20536 enable_datagrid="no"
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_datagrid" >&5
20540 $as_echo "$enable_datagrid" >&6; }
20542 # check whether to build with data transfer items support
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 data transfer items support" >&5
20544 $as_echo_n "checking whether to enable HTML5 data transfer items support... " >&6; }
20545 @%:@ Check whether --enable-data_transfer_items was given.
20546 if test "${enable_data_transfer_items+set}" = set; then :
20547 enableval=$enable_data_transfer_items;
20549 enable_data_transfer_items="no"
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_data_transfer_items" >&5
20553 $as_echo "$enable_data_transfer_items" >&6; }
20555 # check whether to enable HTML5 Offline Web Applications support
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 offline web applications support" >&5
20557 $as_echo_n "checking whether to enable HTML5 offline web applications support... " >&6; }
20558 @%:@ Check whether --enable-offline_web_applications was given.
20559 if test "${enable_offline_web_applications+set}" = set; then :
20560 enableval=$enable_offline_web_applications;
20562 enable_offline_web_applications="yes"
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_offline_web_applications" >&5
20566 $as_echo "$enable_offline_web_applications" >&6; }
20568 # check whether to enable HTML5 client-side session and persitent storage support
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 client-side session and persistent storage support" >&5
20570 $as_echo_n "checking whether to enable HTML5 client-side session and persistent storage support... " >&6; }
20571 @%:@ Check whether --enable-dom_storage was given.
20572 if test "${enable_dom_storage+set}" = set; then :
20573 enableval=$enable_dom_storage;
20575 enable_dom_storage="yes"
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dom_storage" >&5
20579 $as_echo "$enable_dom_storage" >&6; }
20581 # check whether to enable the indexed database API
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the indexed database API" >&5
20583 $as_echo_n "checking whether to enable the indexed database API... " >&6; }
20584 @%:@ Check whether --enable-indexed_database was given.
20585 if test "${enable_indexed_database+set}" = set; then :
20586 enableval=$enable_indexed_database;
20588 enable_indexed_database="no"
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_indexed_database" >&5
20592 $as_echo "$enable_indexed_database" >&6; }
20594 # check whether to enable the color input
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the color input" >&5
20596 $as_echo_n "checking whether to enable the color input... " >&6; }
20597 @%:@ Check whether --enable-input_color was given.
20598 if test "${enable_input_color+set}" = set; then :
20599 enableval=$enable_input_color;
20601 enable_input_color="no"
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_input_color" >&5
20605 $as_echo "$enable_input_color" >&6; }
20607 # check whether to enable the speech input API
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the speech input API" >&5
20609 $as_echo_n "checking whether to enable the speech input API... " >&6; }
20610 @%:@ Check whether --enable-input_speech was given.
20611 if test "${enable_input_speech+set}" = set; then :
20612 enableval=$enable_input_speech;
20614 enable_input_speech="no"
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_input_speech" >&5
20618 $as_echo "$enable_input_speech" >&6; }
20620 # check whether to build with SQL database support
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SQL client-side database storage support" >&5
20622 $as_echo_n "checking whether to enable SQL client-side database storage support... " >&6; }
20623 @%:@ Check whether --enable-sql_database was given.
20624 if test "${enable_sql_database+set}" = set; then :
20625 enableval=$enable_sql_database;
20627 enable_sql_database="yes"
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sql_database" >&5
20631 $as_echo "$enable_sql_database" >&6; }
20633 # check whether to build with icon database support
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable icon database support" >&5
20635 $as_echo_n "checking whether to enable icon database support... " >&6; }
20636 @%:@ Check whether --enable-icon_database was given.
20637 if test "${enable_icon_database+set}" = set; then :
20638 enableval=$enable_icon_database;
20640 enable_icon_database="yes"
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_icon_database" >&5
20644 $as_echo "$enable_icon_database" >&6; }
20646 # check whether to build with image resizer API support
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable image resizer API support" >&5
20648 $as_echo_n "checking whether to enable image resizer API support... " >&6; }
20649 @%:@ Check whether --enable-image_resizer was given.
20650 if test "${enable_image_resizer+set}" = set; then :
20651 enableval=$enable_image_resizer;
20653 enable_image_resizer="no"
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_image_resizer" >&5
20657 $as_echo "$enable_image_resizer" >&6; }
20659 # check whether to enable HTML5 datalist support
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 datalist support" >&5
20661 $as_echo_n "checking whether to enable HTML5 datalist support... " >&6; }
20662 @%:@ Check whether --enable-datalist was given.
20663 if test "${enable_datalist+set}" = set; then :
20664 enableval=$enable_datalist;
20666 enable_datalist="yes"
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_datalist" >&5
20670 $as_echo "$enable_datalist" >&6; }
20672 # check whether to enable HTML5 sandbox iframe support
20673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 sandboxed iframe support" >&5
20674 $as_echo_n "checking whether to enable HTML5 sandboxed iframe support... " >&6; }
20675 @%:@ Check whether --enable-sandbox was given.
20676 if test "${enable_sandbox+set}" = set; then :
20677 enableval=$enable_sandbox;
20679 enable_sandbox="yes"
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sandbox" >&5
20683 $as_echo "$enable_sandbox" >&6; }
20685 # check whether to enable HTML5 audio/video support
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 video support" >&5
20687 $as_echo_n "checking whether to enable HTML5 video support... " >&6; }
20688 @%:@ Check whether --enable-video was given.
20689 if test "${enable_video+set}" = set; then :
20690 enableval=$enable_video;
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_video" >&5
20696 $as_echo "$enable_video" >&6; }
20698 # check whether to enable HTML5 audio/video support
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable elis media support" >&5
20700 $as_echo_n "checking whether to enable elis media support... " >&6; }
20701 @%:@ Check whether --enable-video was given.
20702 if test "${enable_video+set}" = set; then :
20703 enableval=$enable_video;
20705 enable_elis_media="no"
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_elis_media" >&5
20709 $as_echo "$enable_elis_media" >&6; }
20711 # turn off video features if --disable-video is requested
20712 if test "$enable_video" = "no"; then
20713 enable_video_track=no
20716 # check whether to enable HTML5 video track support
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 video track support" >&5
20718 $as_echo_n "checking whether to enable HTML5 video track support... " >&6; }
20719 @%:@ Check whether --enable-video_track was given.
20720 if test "${enable_video_track+set}" = set; then :
20721 enableval=$enable_video_track;
20723 enable_video_track="yes"
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_video_track" >&5
20727 $as_echo "$enable_video_track" >&6; }
20729 # check whether to enable media source support
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media source support" >&5
20731 $as_echo_n "checking whether to enable media source support... " >&6; }
20732 @%:@ Check whether --enable-media_source was given.
20733 if test "${enable_media_source+set}" = set; then :
20734 enableval=$enable_media_source;
20736 enable_media_source="no"
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_source" >&5
20740 $as_echo "$enable_media_source" >&6; }
20742 # check whether to enable media statistics support
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media statistics support" >&5
20744 $as_echo_n "checking whether to enable media statistics support... " >&6; }
20745 @%:@ Check whether --enable-media_statistics was given.
20746 if test "${enable_media_statistics+set}" = set; then :
20747 enableval=$enable_media_statistics;
20749 enable_media_statistics="no"
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_statistics" >&5
20753 $as_echo "$enable_media_statistics" >&6; }
20755 # check whether to enable Javascript Fullscreen API support
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Fullscreen API support" >&5
20757 $as_echo_n "checking whether to enable Fullscreen API support... " >&6; }
20758 @%:@ Check whether --enable-fullscreen_api was given.
20759 if test "${enable_fullscreen_api+set}" = set; then :
20760 enableval=$enable_fullscreen_api;
20762 enable_fullscreen_api="yes"
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fullscreen_api" >&5
20766 $as_echo "$enable_fullscreen_api" >&6; }
20768 # check whether to enable media stream support
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media stream support" >&5
20770 $as_echo_n "checking whether to enable media stream support... " >&6; }
20771 @%:@ Check whether --enable-media_stream was given.
20772 if test "${enable_media_stream+set}" = set; then :
20773 enableval=$enable_media_stream;
20775 enable_media_stream="no"
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_stream" >&5
20779 $as_echo "$enable_media_stream" >&6; }
20781 # check whether to enable XHTML-MP support
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XHTML-MP support" >&5
20783 $as_echo_n "checking whether to enable XHTML-MP support... " >&6; }
20784 @%:@ Check whether --enable-xhtmlmp was given.
20785 if test "${enable_xhtmlmp+set}" = set; then :
20786 enableval=$enable_xhtmlmp;
20788 enable_xhtmlmp="no"
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xhtmlmp" >&5
20792 $as_echo "$enable_xhtmlmp" >&6; }
20794 # check whether to enable XPath support
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPath support" >&5
20796 $as_echo_n "checking whether to enable XPath support... " >&6; }
20797 @%:@ Check whether --enable-xpath was given.
20798 if test "${enable_xpath+set}" = set; then :
20799 enableval=$enable_xpath;
20804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xpath" >&5
20805 $as_echo "$enable_xpath" >&6; }
20807 # check whether to enable XSLT support
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XSLT support" >&5
20809 $as_echo_n "checking whether to enable XSLT support... " >&6; }
20810 @%:@ Check whether --enable-xslt was given.
20811 if test "${enable_xslt+set}" = set; then :
20812 enableval=$enable_xslt;
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xslt" >&5
20818 $as_echo "$enable_xslt" >&6; }
20820 # check whether to enable geolocation support
20821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable geolocation support" >&5
20822 $as_echo_n "checking whether to enable geolocation support... " >&6; }
20823 @%:@ Check whether --enable-geolocation was given.
20824 if test "${enable_geolocation+set}" = set; then :
20825 enableval=$enable_geolocation;
20827 enable_geolocation="no"
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_geolocation" >&5
20831 $as_echo "$enable_geolocation" >&6; }
20833 # check whether to enable client-based geolocation support
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable client-based geolocation support" >&5
20835 $as_echo_n "checking whether to enable client-based geolocation support... " >&6; }
20836 @%:@ Check whether --enable-client_based_geolocation was given.
20837 if test "${enable_client_based_geolocation+set}" = set; then :
20838 enableval=$enable_client_based_geolocation;
20840 enable_client_based_geolocation="no"
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_client_based_geolocation" >&5
20844 $as_echo "$enable_client_based_geolocation" >&6; }
20846 # check whether to enable MathML support
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable MathML support" >&5
20848 $as_echo_n "checking whether to enable MathML support... " >&6; }
20849 @%:@ Check whether --enable-mathml was given.
20850 if test "${enable_mathml+set}" = set; then :
20851 enableval=$enable_mathml;
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_mathml" >&5
20857 $as_echo "$enable_mathml" >&6; }
20859 # check whether to enable SVG support
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG support" >&5
20861 $as_echo_n "checking whether to enable SVG support... " >&6; }
20862 @%:@ Check whether --enable-svg was given.
20863 if test "${enable_svg+set}" = set; then :
20864 enableval=$enable_svg;
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_svg" >&5
20870 $as_echo "$enable_svg" >&6; }
20872 # check whether to enable WCSS support
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WCSS support" >&5
20874 $as_echo_n "checking whether to enable WCSS support... " >&6; }
20875 @%:@ Check whether --enable-wcss was given.
20876 if test "${enable_wcss+set}" = set; then :
20877 enableval=$enable_wcss;
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wcss" >&5
20883 $as_echo "$enable_wcss" >&6; }
20885 # check whether to enable SharedWorkers support
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SharedWorkers support" >&5
20887 $as_echo_n "checking whether to enable SharedWorkers support... " >&6; }
20888 @%:@ Check whether --enable-shared_workers was given.
20889 if test "${enable_shared_workers+set}" = set; then :
20890 enableval=$enable_shared_workers;
20892 enable_shared_workers="yes"
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared_workers" >&5
20896 $as_echo "$enable_shared_workers" >&6; }
20898 # check whether to enable Web Workers support
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Workers support" >&5
20900 $as_echo_n "checking whether to enable Web Workers support... " >&6; }
20901 @%:@ Check whether --enable-workers was given.
20902 if test "${enable_workers+set}" = set; then :
20903 enableval=$enable_workers;
20905 enable_workers="yes"
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_workers" >&5
20909 $as_echo "$enable_workers" >&6; }
20911 # check whether to enable directory upload support
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable directory upload support" >&5
20913 $as_echo_n "checking whether to enable directory upload support... " >&6; }
20914 @%:@ Check whether --enable-directory_upload was given.
20915 if test "${enable_directory_upload+set}" = set; then :
20916 enableval=$enable_directory_upload;
20918 enable_directory_upload="no"
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_directory_upload" >&5
20922 $as_echo "$enable_directory_upload" >&6; }
20924 # check whether to enable HTML5 FileSystem API support
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 FileSystem API support" >&5
20926 $as_echo_n "checking whether to enable HTML5 FileSystem API support... " >&6; }
20927 @%:@ Check whether --enable-file_system was given.
20928 if test "${enable_file_system+set}" = set; then :
20929 enableval=$enable_file_system;
20931 enable_file_system="no"
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_file_system" >&5
20935 $as_echo "$enable_file_system" >&6; }
20937 # check whether to enable Quota API support
20938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Quota API support" >&5
20939 $as_echo_n "checking whether to enable Quota API support... " >&6; }
20940 @%:@ Check whether --enable-quota was given.
20941 if test "${enable_quota+set}" = set; then :
20942 enableval=$enable_quota;
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_quota" >&5
20948 $as_echo "$enable_quota" >&6; }
20950 # turn off svg features if --disable-svg is requested
20951 if test "$enable_svg" = "no"; then
20952 enable_svg_fonts=no
20955 # check whether to enable support for filters
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for filters" >&5
20957 $as_echo_n "checking whether to enable support for filters... " >&6; }
20958 @%:@ Check whether --enable-filters was given.
20959 if test "${enable_filters+set}" = set; then :
20960 enableval=$enable_filters;
20962 enable_filters="yes"
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_filters" >&5
20966 $as_echo "$enable_filters" >&6; }
20968 # check whether to enable support for SVG fonts
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for SVG fonts" >&5
20970 $as_echo_n "checking whether to enable support for SVG fonts... " >&6; }
20971 @%:@ Check whether --enable-svg_fonts was given.
20972 if test "${enable_svg_fonts+set}" = set; then :
20973 enableval=$enable_svg_fonts;
20975 enable_svg_fonts="yes"
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_svg_fonts" >&5
20979 $as_echo "$enable_svg_fonts" >&6; }
20981 # check for SVG features, enabling SVG if necessary
20982 if test "$enable_svg_fonts" = "yes"; then
20984 if test "$enable_svg" = "no"; then
20985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SVG feature(s) requested but SVG is disabled.. Enabling SVG support" >&5
20986 $as_echo "$as_me: WARNING: SVG feature(s) requested but SVG is disabled.. Enabling SVG support" >&2;}
20991 # check whether to enable Web Socket support
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Sockets support" >&5
20993 $as_echo_n "checking whether to enable Web Sockets support... " >&6; }
20994 @%:@ Check whether --enable-web_sockets was given.
20995 if test "${enable_web_sockets+set}" = set; then :
20996 enableval=$enable_web_sockets;
20998 enable_web_sockets="yes"
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_sockets" >&5
21002 $as_echo "$enable_web_sockets" >&6; }
21004 # check whether to enable Web Audio support
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Audio support" >&5
21006 $as_echo_n "checking whether to enable Web Audio support... " >&6; }
21007 @%:@ Check whether --enable-web_audio was given.
21008 if test "${enable_web_audio+set}" = set; then :
21009 enableval=$enable_web_audio;
21011 enable_web_audio="no"
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_audio" >&5
21015 $as_echo "$enable_web_audio" >&6; }
21017 # check whether to enable Web Timing support
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Timing support" >&5
21019 $as_echo_n "checking whether to enable Web Timing support... " >&6; }
21020 @%:@ Check whether --enable-web_timing was given.
21021 if test "${enable_web_timing+set}" = set; then :
21022 enableval=$enable_web_timing;
21024 enable_web_timing="no"
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_timing" >&5
21028 $as_echo "$enable_web_timing" >&6; }
21030 # check whether to enable Blob support
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Blob support" >&5
21032 $as_echo_n "checking whether to enable Blob support... " >&6; }
21033 @%:@ Check whether --enable-blob was given.
21034 if test "${enable_blob+set}" = set; then :
21035 enableval=$enable_blob;
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_blob" >&5
21041 $as_echo "$enable_blob" >&6; }
21043 # check whether to enable Fast Mobile Scrolling support
21044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Fast Mobile Scrolling" >&5
21045 $as_echo_n "checking whether to enable Fast Mobile Scrolling... " >&6; }
21046 @%:@ Check whether --enable-fast_mobile_scrolling was given.
21047 if test "${enable_fast_mobile_scrolling+set}" = set; then :
21048 enableval=$enable_fast_mobile_scrolling;
21050 enable_fast_mobile_scrolling="no"
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fast_mobile_scrolling" >&5
21054 $as_echo "$enable_fast_mobile_scrolling" >&6; }
21056 # check whether to enable code coverage
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable code coverage support" >&5
21058 $as_echo_n "checking whether to enable code coverage support... " >&6; }
21059 @%:@ Check whether --enable-coverage was given.
21060 if test "${enable_coverage+set}" = set; then :
21061 enableval=$enable_coverage;
21063 enable_coverage="no"
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_coverage" >&5
21067 $as_echo "$enable_coverage" >&6; }
21069 # check whether to enable FastMalloc
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable optimized memory allocator" >&5
21071 $as_echo_n "checking whether to enable optimized memory allocator... " >&6; }
21072 @%:@ Check whether --enable-fast_malloc was given.
21073 if test "${enable_fast_malloc+set}" = set; then :
21074 enableval=$enable_fast_malloc;
21076 if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fast_malloc" >&5
21080 $as_echo "$enable_fast_malloc" >&6; }
21082 # check whether to enable debug symbols
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug symbols" >&5
21084 $as_echo_n "checking whether to enable debug symbols... " >&6; }
21085 @%:@ Check whether --enable-debug_symbols was given.
21086 if test "${enable_debug_symbols+set}" = set; then :
21087 enableval=$enable_debug_symbols;
21089 if test "$enable_debug" = "yes"; then enable_debug_symbols="yes"; else enable_debug_symbols="no"; fi
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_symbols" >&5
21093 $as_echo "$enable_debug_symbols" >&6; }
21095 # check whether to enable debug features
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug features" >&5
21097 $as_echo_n "checking whether to enable debug features... " >&6; }
21098 @%:@ Check whether --enable-debug_features was given.
21099 if test "${enable_debug_features+set}" = set; then :
21100 enableval=$enable_debug_features;
21102 if test "$enable_debug" = "yes"; then enable_debug_features="yes"; else enable_debug_features="no"; fi
21105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_features" >&5
21106 $as_echo "$enable_debug_features" >&6; }
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable JIT compilation" >&5
21109 $as_echo_n "checking whether to enable JIT compilation... " >&6; }
21110 @%:@ Check whether --enable-jit was given.
21111 if test "${enable_jit+set}" = set; then :
21112 enableval=$enable_jit;
21117 if test "$enable_jit" = "yes"; then
21118 case "$host_cpu" in
21121 $as_echo "@%:@define ENABLE_JIT 1" >>confdefs.h
21124 $as_echo "@%:@define ENABLE_YARR 1" >>confdefs.h
21127 $as_echo "@%:@define ENABLE_YARR_JIT 1" >>confdefs.h
21132 $as_echo "@%:@define ENABLE_JIT 1" >>confdefs.h
21135 $as_echo "@%:@define ENABLE_YARR 1" >>confdefs.h
21138 $as_echo "@%:@define ENABLE_YARR_JIT 1" >>confdefs.h
21141 $as_echo "@%:@define ENABLE_JIT_OPTIMIZE_CALL 1" >>confdefs.h
21144 $as_echo "@%:@define ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS 1" >>confdefs.h
21147 $as_echo "@%:@define ENABLE_JIT_OPTIMIZE_ARITHMETIC 1" >>confdefs.h
21149 case "$host_cpu" in
21152 $as_echo "@%:@define WTF_USE_JIT_STUB_ARGUMENT_VA_LIST 1" >>confdefs.h
21157 $as_echo "@%:@define WTF_USE_JIT_STUB_ARGUMENT_REGISTER 1" >>confdefs.h
21160 $as_echo "@%:@define WTF_USE_ALTERNATE_JSIMMEDIATE 1" >>confdefs.h
21167 $as_echo "@%:@define ENABLE_YARR 1" >>confdefs.h
21170 $as_echo "@%:@define ENABLE_YARR_JIT 1" >>confdefs.h
21173 $as_echo "@%:@define ENABLE_JIT 1" >>confdefs.h
21176 $as_echo "@%:@define WTF_USE_JIT_STUB_ARGUMENT_REGISTER 1" >>confdefs.h
21180 enable_jit="no (CPU '$host_cpu' not supported)"
21185 $as_echo "@%:@define ENABLE_JIT 0" >>confdefs.h
21188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_jit" >&5
21189 $as_echo "$enable_jit" >&6; }
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable opcode stats" >&5
21193 $as_echo_n "checking whether to enable opcode stats... " >&6; }
21194 @%:@ Check whether --enable-opcode-stats was given.
21195 if test "${enable_opcode_stats+set}" = set; then :
21196 enableval=$enable_opcode_stats;
21198 enable_opcode_stats=no
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_opcode_stats" >&5
21202 $as_echo "$enable_opcode_stats" >&6; }
21204 if test "$enable_opcode_stats" = "yes"; then
21205 if test "$enable_jit" = "yes"; then
21206 as_fn_error $? "JIT must be disabled for Opcode stats to work." "$LINENO" 5
21209 $as_echo "@%:@define ENABLE_OPCODE_STATS 1" >>confdefs.h
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable link prefetch support" >&5
21215 $as_echo_n "checking whether to enable link prefetch support... " >&6; }
21216 @%:@ Check whether --enable-link-prefetch was given.
21217 if test "${enable_link_prefetch+set}" = set; then :
21218 enableval=$enable_link_prefetch;
21220 enable_link_prefetch=no
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_link_prefetch" >&5
21224 $as_echo "$enable_link_prefetch" >&6; }
21226 if test "$enable_link_prefetch" = "yes"; then
21228 $as_echo "@%:@define ENABLE_LINK_PREFETCH 1" >>confdefs.h
21232 # GObject Introspection
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GObject introspection support" >&5
21234 $as_echo_n "checking whether to enable GObject introspection support... " >&6; }
21235 @%:@ Check whether --enable-introspection was given.
21236 if test "${enable_introspection+set}" = set; then :
21237 enableval=$enable_introspection;
21239 enable_introspection=no
21242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_introspection" >&5
21243 $as_echo "$enable_introspection" >&6; }
21245 # check whether to enable animation API
21246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Animation API support" >&5
21247 $as_echo_n "checking whether to enable Animation API support... " >&6; }
21248 @%:@ Check whether --enable-animation_api was given.
21249 if test "${enable_animation_api+set}" = set; then :
21250 enableval=$enable_animation_api;
21252 enable_animation_api="no"
21255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_animation_api" >&5
21256 $as_echo "$enable_animation_api" >&6; }
21258 # check whether to enable touch icon loading
21259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable touch icon loading" >&5
21260 $as_echo_n "checking whether to enable touch icon loading... " >&6; }
21261 @%:@ Check whether --enable-touch_icon_loading was given.
21262 if test "${enable_touch_icon_loading+set}" = set; then :
21263 enableval=$enable_touch_icon_loading;
21265 enable_touch_icon_loading="no"
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_touch_icon_loading" >&5
21269 $as_echo "$enable_touch_icon_loading" >&6; }
21271 # check whether to enable Register Protocol Handler support
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Register Protocol Handler" >&5
21273 $as_echo_n "checking whether to enable Register Protocol Handler... " >&6; }
21274 @%:@ Check whether --enable-register_protocol_handler was given.
21275 if test "${enable_register_protocol_handler+set}" = set; then :
21276 enableval=$enable_register_protocol_handler;
21278 enable_register_protocol_handler="no"
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_register_protocol_handler" >&5
21282 $as_echo "$enable_register_protocol_handler" >&6; }
21284 # check whether to enable DeviceOrientation support
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DeviceOrientation" >&5
21286 $as_echo_n "checking whether to enable DeviceOrientation... " >&6; }
21287 @%:@ Check whether --enable-device_orientation was given.
21288 if test "${enable_device_orientation+set}" = set; then :
21289 enableval=$enable_device_orientation;
21291 enable_device_orientation="no"
21294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_device_orientation" >&5
21295 $as_echo "$enable_device_orientation" >&6; }
21303 if test "$enable_introspection" = "yes"; then
21304 GOBJECT_INTROSPECTION_REQUIRED=0.9.5
21307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INTROSPECTION" >&5
21308 $as_echo_n "checking for INTROSPECTION... " >&6; }
21310 if test -n "$INTROSPECTION_CFLAGS"; then
21311 pkg_cv_INTROSPECTION_CFLAGS="$INTROSPECTION_CFLAGS"
21312 elif test -n "$PKG_CONFIG"; then
21313 if test -n "$PKG_CONFIG" && \
21314 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQUIRED\""; } >&5
21315 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED") 2>&5
21317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21318 test $ac_status = 0; }; then
21319 pkg_cv_INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>/dev/null`
21320 test "x$?" != "x0" && pkg_failed=yes
21327 if test -n "$INTROSPECTION_LIBS"; then
21328 pkg_cv_INTROSPECTION_LIBS="$INTROSPECTION_LIBS"
21329 elif test -n "$PKG_CONFIG"; then
21330 if test -n "$PKG_CONFIG" && \
21331 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQUIRED\""; } >&5
21332 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED") 2>&5
21334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21335 test $ac_status = 0; }; then
21336 pkg_cv_INTROSPECTION_LIBS=`$PKG_CONFIG --libs "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>/dev/null`
21337 test "x$?" != "x0" && pkg_failed=yes
21347 if test $pkg_failed = yes; then
21348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21349 $as_echo "no" >&6; }
21351 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21352 _pkg_short_errors_supported=yes
21354 _pkg_short_errors_supported=no
21356 if test $_pkg_short_errors_supported = yes; then
21357 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>&1`
21359 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>&1`
21361 # Put the nasty error message in config.log where it belongs
21362 echo "$INTROSPECTION_PKG_ERRORS" >&5
21364 as_fn_error $? "Package requirements (gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED) were not met:
21366 $INTROSPECTION_PKG_ERRORS
21368 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21369 installed software in a non-standard prefix.
21371 Alternatively, you may set the environment variables INTROSPECTION_CFLAGS
21372 and INTROSPECTION_LIBS to avoid the need to call pkg-config.
21373 See the pkg-config man page for more details." "$LINENO" 5
21374 elif test $pkg_failed = untried; then
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21376 $as_echo "no" >&6; }
21377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21379 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21380 is in your PATH or set the PKG_CONFIG environment variable to the full
21381 path to pkg-config.
21383 Alternatively, you may set the environment variables INTROSPECTION_CFLAGS
21384 and INTROSPECTION_LIBS to avoid the need to call pkg-config.
21385 See the pkg-config man page for more details.
21387 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21388 See \`config.log' for more details" "$LINENO" 5; }
21390 INTROSPECTION_CFLAGS=$pkg_cv_INTROSPECTION_CFLAGS
21391 INTROSPECTION_LIBS=$pkg_cv_INTROSPECTION_LIBS
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21393 $as_echo "yes" >&6; }
21397 G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)"
21398 G_IR_COMPILER="$($PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0)"
21399 G_IR_GENERATE="$($PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0)"
21401 $as_echo "@%:@define ENABLE_INTROSPECTION 1" >>confdefs.h
21409 # determine the font backend
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the font backend to use" >&5
21411 $as_echo_n "checking the font backend to use... " >&6; }
21413 @%:@ Check whether --with-font_backend was given.
21414 if test "${with_font_backend+set}" = set; then :
21415 withval=$with_font_backend;
21417 with_font_backend="freetype"
21421 case "$with_font_backend" in
21423 *) as_fn_error $? "Invalid font backend: must be freetype or pango." "$LINENO" 5 ;;
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_font_backend" >&5
21426 $as_echo "$with_font_backend" >&6; }
21428 if test "$host_cpu" = "sh4"; then
21429 CXXFLAGS="$CXXFLAGS -mieee -w"
21430 CFLAGS="$CFLAGS -mieee -w"
21433 # Add '-g' flag to gcc to build with debug symbols
21434 if test "$enable_debug_symbols" = "yes"; then
21435 CXXFLAGS="$CXXFLAGS -g"
21436 CFLAGS="$CFLAGS -g"
21439 if test "$enable_debug_features" = "no"; then
21441 $as_echo "@%:@define NDEBUG 1" >>confdefs.h
21445 # Add the appropriate 'O' level for optimized builds
21446 if test "$enable_optimizations" = "yes"; then
21447 CXXFLAGS="$CXXFLAGS -O2"
21448 CFLAGS="$CFLAGS -O2"
21450 CXXFLAGS="$CXXFLAGS -O0"
21451 CFLAGS="$CFLAGS -O0"
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
21457 $as_echo_n "checking for LIBSOUP... " >&6; }
21459 if test -n "$LIBSOUP_CFLAGS"; then
21460 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
21461 elif test -n "$PKG_CONFIG"; then
21462 if test -n "$PKG_CONFIG" && \
21463 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED_VERSION\""; } >&5
21464 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION") 2>&5
21466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21467 test $ac_status = 0; }; then
21468 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>/dev/null`
21469 test "x$?" != "x0" && pkg_failed=yes
21476 if test -n "$LIBSOUP_LIBS"; then
21477 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
21478 elif test -n "$PKG_CONFIG"; then
21479 if test -n "$PKG_CONFIG" && \
21480 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED_VERSION\""; } >&5
21481 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION") 2>&5
21483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21484 test $ac_status = 0; }; then
21485 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>/dev/null`
21486 test "x$?" != "x0" && pkg_failed=yes
21496 if test $pkg_failed = yes; then
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21498 $as_echo "no" >&6; }
21500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21501 _pkg_short_errors_supported=yes
21503 _pkg_short_errors_supported=no
21505 if test $_pkg_short_errors_supported = yes; then
21506 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>&1`
21508 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>&1`
21510 # Put the nasty error message in config.log where it belongs
21511 echo "$LIBSOUP_PKG_ERRORS" >&5
21513 as_fn_error $? "Package requirements (libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION) were not met:
21515 $LIBSOUP_PKG_ERRORS
21517 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21518 installed software in a non-standard prefix.
21520 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
21521 and LIBSOUP_LIBS to avoid the need to call pkg-config.
21522 See the pkg-config man page for more details." "$LINENO" 5
21523 elif test $pkg_failed = untried; then
21524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21525 $as_echo "no" >&6; }
21526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21528 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21529 is in your PATH or set the PKG_CONFIG environment variable to the full
21530 path to pkg-config.
21532 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
21533 and LIBSOUP_LIBS to avoid the need to call pkg-config.
21534 See the pkg-config man page for more details.
21536 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21537 See \`config.log' for more details" "$LINENO" 5; }
21539 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
21540 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
21541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21542 $as_echo "yes" >&6; }
21548 # check if FreeType/FontConfig are available
21549 if test "$with_font_backend" = "freetype"; then
21550 if test "$with_target" = "directfb"; then
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
21554 $as_echo_n "checking for FREETYPE... " >&6; }
21556 if test -n "$FREETYPE_CFLAGS"; then
21557 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
21558 elif test -n "$PKG_CONFIG"; then
21559 if test -n "$PKG_CONFIG" && \
21560 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21561 freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21562 ($PKG_CONFIG --exists --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21563 freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21566 test $ac_status = 0; }; then
21567 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21568 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21569 test "x$?" != "x0" && pkg_failed=yes
21576 if test -n "$FREETYPE_LIBS"; then
21577 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
21578 elif test -n "$PKG_CONFIG"; then
21579 if test -n "$PKG_CONFIG" && \
21580 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21581 freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21582 ($PKG_CONFIG --exists --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21583 freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21586 test $ac_status = 0; }; then
21587 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21588 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21589 test "x$?" != "x0" && pkg_failed=yes
21599 if test $pkg_failed = yes; then
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21601 $as_echo "no" >&6; }
21603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21604 _pkg_short_errors_supported=yes
21606 _pkg_short_errors_supported=no
21608 if test $_pkg_short_errors_supported = yes; then
21609 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21610 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21612 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21613 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21615 # Put the nasty error message in config.log where it belongs
21616 echo "$FREETYPE_PKG_ERRORS" >&5
21618 as_fn_error $? "Package requirements (fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21619 freetype2 >= $FREETYPE2_REQUIRED_VERSION) were not met:
21621 $FREETYPE_PKG_ERRORS
21623 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21624 installed software in a non-standard prefix.
21626 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21627 and FREETYPE_LIBS to avoid the need to call pkg-config.
21628 See the pkg-config man page for more details." "$LINENO" 5
21629 elif test $pkg_failed = untried; then
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21631 $as_echo "no" >&6; }
21632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21634 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21635 is in your PATH or set the PKG_CONFIG environment variable to the full
21636 path to pkg-config.
21638 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21639 and FREETYPE_LIBS to avoid the need to call pkg-config.
21640 See the pkg-config man page for more details.
21642 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21643 See \`config.log' for more details" "$LINENO" 5; }
21645 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
21646 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21648 $as_echo "yes" >&6; }
21654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
21655 $as_echo_n "checking for FREETYPE... " >&6; }
21657 if test -n "$FREETYPE_CFLAGS"; then
21658 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
21659 elif test -n "$PKG_CONFIG"; then
21660 if test -n "$PKG_CONFIG" && \
21661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft
21662 fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21663 freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21664 ($PKG_CONFIG --exists --print-errors "cairo-ft
21665 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21666 freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21669 test $ac_status = 0; }; then
21670 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "cairo-ft
21671 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21672 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21673 test "x$?" != "x0" && pkg_failed=yes
21680 if test -n "$FREETYPE_LIBS"; then
21681 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
21682 elif test -n "$PKG_CONFIG"; then
21683 if test -n "$PKG_CONFIG" && \
21684 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft
21685 fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21686 freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21687 ($PKG_CONFIG --exists --print-errors "cairo-ft
21688 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21689 freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21692 test $ac_status = 0; }; then
21693 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "cairo-ft
21694 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21695 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21696 test "x$?" != "x0" && pkg_failed=yes
21706 if test $pkg_failed = yes; then
21707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21708 $as_echo "no" >&6; }
21710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21711 _pkg_short_errors_supported=yes
21713 _pkg_short_errors_supported=no
21715 if test $_pkg_short_errors_supported = yes; then
21716 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo-ft
21717 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21718 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21720 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo-ft
21721 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21722 freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21724 # Put the nasty error message in config.log where it belongs
21725 echo "$FREETYPE_PKG_ERRORS" >&5
21727 as_fn_error $? "Package requirements (cairo-ft
21728 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21729 freetype2 >= $FREETYPE2_REQUIRED_VERSION) were not met:
21731 $FREETYPE_PKG_ERRORS
21733 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21734 installed software in a non-standard prefix.
21736 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21737 and FREETYPE_LIBS to avoid the need to call pkg-config.
21738 See the pkg-config man page for more details." "$LINENO" 5
21739 elif test $pkg_failed = untried; then
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21741 $as_echo "no" >&6; }
21742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21744 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21745 is in your PATH or set the PKG_CONFIG environment variable to the full
21746 path to pkg-config.
21748 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21749 and FREETYPE_LIBS to avoid the need to call pkg-config.
21750 See the pkg-config man page for more details.
21752 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21753 See \`config.log' for more details" "$LINENO" 5; }
21755 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
21756 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21758 $as_echo "yes" >&6; }
21766 # check if SQLite3 is available. Error out only if one of the
21767 # features hard-depending on it is enabled while SQLite3 is
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE3" >&5
21772 $as_echo_n "checking for SQLITE3... " >&6; }
21774 if test -n "$SQLITE3_CFLAGS"; then
21775 pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
21776 elif test -n "$PKG_CONFIG"; then
21777 if test -n "$PKG_CONFIG" && \
21778 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED_VERSION\""; } >&5
21779 ($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION") 2>&5
21781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21782 test $ac_status = 0; }; then
21783 pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>/dev/null`
21784 test "x$?" != "x0" && pkg_failed=yes
21791 if test -n "$SQLITE3_LIBS"; then
21792 pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
21793 elif test -n "$PKG_CONFIG"; then
21794 if test -n "$PKG_CONFIG" && \
21795 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED_VERSION\""; } >&5
21796 ($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION") 2>&5
21798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21799 test $ac_status = 0; }; then
21800 pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>/dev/null`
21801 test "x$?" != "x0" && pkg_failed=yes
21811 if test $pkg_failed = yes; then
21812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21813 $as_echo "no" >&6; }
21815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21816 _pkg_short_errors_supported=yes
21818 _pkg_short_errors_supported=no
21820 if test $_pkg_short_errors_supported = yes; then
21821 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>&1`
21823 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>&1`
21825 # Put the nasty error message in config.log where it belongs
21826 echo "$SQLITE3_PKG_ERRORS" >&5
21828 sqlite3_has_pkg_config=no
21829 elif test $pkg_failed = untried; then
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21831 $as_echo "no" >&6; }
21832 sqlite3_has_pkg_config=no
21834 SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
21835 SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21837 $as_echo "yes" >&6; }
21838 sqlite3_has_pkg_config=yes
21840 if test "$sqlite3_has_pkg_config" = "no"; then
21841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open16" >&5
21842 $as_echo_n "checking for library containing sqlite3_open16... " >&6; }
21843 if ${ac_cv_search_sqlite3_open16+:} false; then :
21844 $as_echo_n "(cached) " >&6
21846 ac_func_search_save_LIBS=$LIBS
21847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21848 /* end confdefs.h. */
21850 /* Override any GCC internal prototype to avoid an error.
21851 Use char because int might match the return type of a GCC
21852 builtin and then its argument prototype would still apply. */
21856 char sqlite3_open16 ();
21860 return sqlite3_open16 ();
21865 for ac_lib in '' sqlite3; do
21866 if test -z "$ac_lib"; then
21867 ac_res="none required"
21870 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21872 if ac_fn_c_try_link "$LINENO"; then :
21873 ac_cv_search_sqlite3_open16=$ac_res
21875 rm -f core conftest.err conftest.$ac_objext \
21877 if ${ac_cv_search_sqlite3_open16+:} false; then :
21881 if ${ac_cv_search_sqlite3_open16+:} false; then :
21884 ac_cv_search_sqlite3_open16=no
21886 rm conftest.$ac_ext
21887 LIBS=$ac_func_search_save_LIBS
21889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open16" >&5
21890 $as_echo "$ac_cv_search_sqlite3_open16" >&6; }
21891 ac_res=$ac_cv_search_sqlite3_open16
21892 if test "$ac_res" != no; then :
21893 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21894 sqlite3_found=yes;SQLITE3_LIBS="$LIBS";SQLITE3_CFLAGS="-I $srcdir/WebKitLibraries/WebCoreSQLite3"
21903 if (test "$sqlite3_found" = "no") && (test "$enable_icon_database" = "yes" || \
21904 test "$enable_sql_database" = "yes" || \
21905 test "$enable_offline_web_applications" = "yes" || \
21906 test "$enable_dom_storage" = "yes"); then
21907 as_fn_error $? "SQLite3 is required for the Database related features" "$LINENO" 5
21910 # check if libxslt is available
21911 if test "$enable_xslt" = "yes"; then
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXSLT" >&5
21915 $as_echo_n "checking for LIBXSLT... " >&6; }
21917 if test -n "$LIBXSLT_CFLAGS"; then
21918 pkg_cv_LIBXSLT_CFLAGS="$LIBXSLT_CFLAGS"
21919 elif test -n "$PKG_CONFIG"; then
21920 if test -n "$PKG_CONFIG" && \
21921 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= \$LIBXSLT_REQUIRED_VERSION\""; } >&5
21922 ($PKG_CONFIG --exists --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION") 2>&5
21924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21925 test $ac_status = 0; }; then
21926 pkg_cv_LIBXSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>/dev/null`
21927 test "x$?" != "x0" && pkg_failed=yes
21934 if test -n "$LIBXSLT_LIBS"; then
21935 pkg_cv_LIBXSLT_LIBS="$LIBXSLT_LIBS"
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 \"libxslt >= \$LIBXSLT_REQUIRED_VERSION\""; } >&5
21939 ($PKG_CONFIG --exists --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION") 2>&5
21941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21942 test $ac_status = 0; }; then
21943 pkg_cv_LIBXSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>/dev/null`
21944 test "x$?" != "x0" && pkg_failed=yes
21954 if test $pkg_failed = yes; then
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21956 $as_echo "no" >&6; }
21958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21959 _pkg_short_errors_supported=yes
21961 _pkg_short_errors_supported=no
21963 if test $_pkg_short_errors_supported = yes; then
21964 LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>&1`
21966 LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>&1`
21968 # Put the nasty error message in config.log where it belongs
21969 echo "$LIBXSLT_PKG_ERRORS" >&5
21971 as_fn_error $? "Package requirements (libxslt >= $LIBXSLT_REQUIRED_VERSION) were not met:
21973 $LIBXSLT_PKG_ERRORS
21975 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21976 installed software in a non-standard prefix.
21978 Alternatively, you may set the environment variables LIBXSLT_CFLAGS
21979 and LIBXSLT_LIBS to avoid the need to call pkg-config.
21980 See the pkg-config man page for more details." "$LINENO" 5
21981 elif test $pkg_failed = untried; then
21982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21983 $as_echo "no" >&6; }
21984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21986 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21987 is in your PATH or set the PKG_CONFIG environment variable to the full
21988 path to pkg-config.
21990 Alternatively, you may set the environment variables LIBXSLT_CFLAGS
21991 and LIBXSLT_LIBS to avoid the need to call pkg-config.
21992 See the pkg-config man page for more details.
21994 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21995 See \`config.log' for more details" "$LINENO" 5; }
21997 LIBXSLT_CFLAGS=$pkg_cv_LIBXSLT_CFLAGS
21998 LIBXSLT_LIBS=$pkg_cv_LIBXSLT_LIBS
21999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22000 $as_echo "yes" >&6; }
22007 # check if geoclue is available
22008 if test "$enable_geolocation" = "yes"; then
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEOCLUE" >&5
22012 $as_echo_n "checking for GEOCLUE... " >&6; }
22014 if test -n "$GEOCLUE_CFLAGS"; then
22015 pkg_cv_GEOCLUE_CFLAGS="$GEOCLUE_CFLAGS"
22016 elif test -n "$PKG_CONFIG"; then
22017 if test -n "$PKG_CONFIG" && \
22018 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"geoclue\""; } >&5
22019 ($PKG_CONFIG --exists --print-errors "geoclue") 2>&5
22021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22022 test $ac_status = 0; }; then
22023 pkg_cv_GEOCLUE_CFLAGS=`$PKG_CONFIG --cflags "geoclue" 2>/dev/null`
22024 test "x$?" != "x0" && pkg_failed=yes
22031 if test -n "$GEOCLUE_LIBS"; then
22032 pkg_cv_GEOCLUE_LIBS="$GEOCLUE_LIBS"
22033 elif test -n "$PKG_CONFIG"; then
22034 if test -n "$PKG_CONFIG" && \
22035 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"geoclue\""; } >&5
22036 ($PKG_CONFIG --exists --print-errors "geoclue") 2>&5
22038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22039 test $ac_status = 0; }; then
22040 pkg_cv_GEOCLUE_LIBS=`$PKG_CONFIG --libs "geoclue" 2>/dev/null`
22041 test "x$?" != "x0" && pkg_failed=yes
22051 if test $pkg_failed = yes; then
22052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22053 $as_echo "no" >&6; }
22055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22056 _pkg_short_errors_supported=yes
22058 _pkg_short_errors_supported=no
22060 if test $_pkg_short_errors_supported = yes; then
22061 GEOCLUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "geoclue" 2>&1`
22063 GEOCLUE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "geoclue" 2>&1`
22065 # Put the nasty error message in config.log where it belongs
22066 echo "$GEOCLUE_PKG_ERRORS" >&5
22068 as_fn_error $? "Package requirements (geoclue) were not met:
22070 $GEOCLUE_PKG_ERRORS
22072 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22073 installed software in a non-standard prefix.
22075 Alternatively, you may set the environment variables GEOCLUE_CFLAGS
22076 and GEOCLUE_LIBS to avoid the need to call pkg-config.
22077 See the pkg-config man page for more details." "$LINENO" 5
22078 elif test $pkg_failed = untried; then
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22080 $as_echo "no" >&6; }
22081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22083 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22084 is in your PATH or set the PKG_CONFIG environment variable to the full
22085 path to pkg-config.
22087 Alternatively, you may set the environment variables GEOCLUE_CFLAGS
22088 and GEOCLUE_LIBS to avoid the need to call pkg-config.
22089 See the pkg-config man page for more details.
22091 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22092 See \`config.log' for more details" "$LINENO" 5; }
22094 GEOCLUE_CFLAGS=$pkg_cv_GEOCLUE_CFLAGS
22095 GEOCLUE_LIBS=$pkg_cv_GEOCLUE_LIBS
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22097 $as_echo "yes" >&6; }
22104 # check for XRender under Linux/Unix. Some linkers require explicit
22105 # linkage (like GNU Gold), so we cannot rely on GTK+ pulling XRender
22106 #if test "$os_win32" = "no"; then
22107 # PKG_CHECK_MODULES([XRENDER], [xrender])
22108 # AC_SUBST([XRENDER_CFLAGS])
22109 # AC_SUBST([XRENDER_LIBS])
22112 # check if gstreamer is available - video is not linked with gstreamer.
22113 #if test "$enable_video" = "yes"; then
22114 # PKG_CHECK_MODULES([GSTREAMER],
22115 # [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
22116 # gstreamer-app-0.10
22117 # gstreamer-base-0.10
22118 # gstreamer-interfaces-0.10
22119 # gstreamer-pbutils-0.10
22120 # gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION
22121 # gstreamer-video-0.10],
22122 # [have_gstreamer=yes])
22124 # AC_SUBST([GSTREAMER_CFLAGS])
22125 # AC_SUBST([GSTREAMER_LIBS])
22128 # check for code coverage support
22129 if test "$enable_coverage" = "yes"; then
22130 COVERAGE_CFLAGS="-MD"
22131 COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs"
22136 # check for HTML features
22137 if test "$enable_video" = "yes"; then
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Webkit2" >&5
22143 $as_echo_n "checking whether to build Webkit2... " >&6; }
22144 @%:@ Check whether --enable-webkit2 was given.
22145 if test "${enable_webkit2+set}" = set; then :
22146 enableval=$enable_webkit2;
22148 enable_webkit2="no"
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webkit2" >&5
22152 $as_echo "$enable_webkit2" >&6; }
22153 if test "$enable_webkit2" = "yes"; then
22154 if test "$GTK_API_VERSION" = "2.0"; then
22155 as_fn_error $? "WebKit2 requires GTK+ 3.x, use --with-gtk=3.0" "$LINENO" 5
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin process for WebKit2" >&5
22161 $as_echo_n "checking whether to build plugin process for WebKit2... " >&6; }
22162 @%:@ Check whether --enable-plugin_process was given.
22163 if test "${enable_plugin_process+set}" = set; then :
22164 enableval=$enable_plugin_process;
22166 enable_plugin_process="yes"
22169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_plugin_process" >&5
22170 $as_echo "$enable_plugin_process" >&6; }
22172 # Build the plugin process only when building Webkit2.
22173 if test "$enable_webkit2" = "no"; then
22174 enable_plugin_process=no
22177 # Make sure we have GTK+ 2.x to build the plugin process.
22178 if test "$enable_plugin_process" = "yes"; then
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
22182 $as_echo_n "checking for GTK2... " >&6; }
22184 if test -n "$GTK2_CFLAGS"; then
22185 pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
22186 elif test -n "$PKG_CONFIG"; then
22187 if test -n "$PKG_CONFIG" && \
22188 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_REQUIRED_VERSION gail >= \$GAIL2_REQUIRED_VERSION\""; } >&5
22189 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION") 2>&5
22191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22192 test $ac_status = 0; }; then
22193 pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>/dev/null`
22194 test "x$?" != "x0" && pkg_failed=yes
22201 if test -n "$GTK2_LIBS"; then
22202 pkg_cv_GTK2_LIBS="$GTK2_LIBS"
22203 elif test -n "$PKG_CONFIG"; then
22204 if test -n "$PKG_CONFIG" && \
22205 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_REQUIRED_VERSION gail >= \$GAIL2_REQUIRED_VERSION\""; } >&5
22206 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION") 2>&5
22208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22209 test $ac_status = 0; }; then
22210 pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>/dev/null`
22211 test "x$?" != "x0" && pkg_failed=yes
22221 if test $pkg_failed = yes; then
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22223 $as_echo "no" >&6; }
22225 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22226 _pkg_short_errors_supported=yes
22228 _pkg_short_errors_supported=no
22230 if test $_pkg_short_errors_supported = yes; then
22231 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>&1`
22233 GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>&1`
22235 # Put the nasty error message in config.log where it belongs
22236 echo "$GTK2_PKG_ERRORS" >&5
22238 as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION) were not met:
22242 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22243 installed software in a non-standard prefix.
22245 Alternatively, you may set the environment variables GTK2_CFLAGS
22246 and GTK2_LIBS to avoid the need to call pkg-config.
22247 See the pkg-config man page for more details." "$LINENO" 5
22248 elif test $pkg_failed = untried; then
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22250 $as_echo "no" >&6; }
22251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22253 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22254 is in your PATH or set the PKG_CONFIG environment variable to the full
22255 path to pkg-config.
22257 Alternatively, you may set the environment variables GTK2_CFLAGS
22258 and GTK2_LIBS to avoid the need to call pkg-config.
22259 See the pkg-config man page for more details.
22261 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22262 See \`config.log' for more details" "$LINENO" 5; }
22264 GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
22265 GTK2_LIBS=$pkg_cv_GTK2_LIBS
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22267 $as_echo "yes" >&6; }
22274 #GTK_DOC_CHECK([1.10])
22277 if test "$os_win32" = "yes"; then
22285 if test "$os_win32" = "no"; then
22293 if test "$os_linux" = "yes"; then
22301 if test "$os_gnu" = "yes"; then
22309 if test "$os_freebsd" = "yes"; then
22311 OS_FREEBSD_FALSE='#'
22313 OS_FREEBSD_TRUE='#'
22318 # target conditionals
22319 if test "$with_target" = "x11"; then
22321 TARGET_X11_FALSE='#'
22323 TARGET_X11_TRUE='#'
22327 if test "$with_target" = "win32"; then
22329 TARGET_WIN32_FALSE='#'
22331 TARGET_WIN32_TRUE='#'
22332 TARGET_WIN32_FALSE=
22335 if test "$with_target" = "quartz"; then
22336 TARGET_QUARTZ_TRUE=
22337 TARGET_QUARTZ_FALSE='#'
22339 TARGET_QUARTZ_TRUE='#'
22340 TARGET_QUARTZ_FALSE=
22343 if test "$with_target" = "directfb"; then
22344 TARGET_DIRECTFB_TRUE=
22345 TARGET_DIRECTFB_FALSE='#'
22347 TARGET_DIRECTFB_TRUE='#'
22348 TARGET_DIRECTFB_FALSE=
22352 # Unicode backend conditionals
22353 if test "$with_unicode_backend" = "icu"; then
22354 USE_ICU_UNICODE_TRUE=
22355 USE_ICU_UNICODE_FALSE='#'
22357 USE_ICU_UNICODE_TRUE='#'
22358 USE_ICU_UNICODE_FALSE=
22361 if test "$with_unicode_backend" = "glib"; then
22362 USE_GLIB_UNICODE_TRUE=
22363 USE_GLIB_UNICODE_FALSE='#'
22365 USE_GLIB_UNICODE_TRUE='#'
22366 USE_GLIB_UNICODE_FALSE=
22370 # Font backend conditionals
22371 if test "$with_font_backend" = "freetype"; then
22373 USE_FREETYPE_FALSE='#'
22375 USE_FREETYPE_TRUE='#'
22376 USE_FREETYPE_FALSE=
22379 if test "$with_font_backend" = "pango"; then
22381 USE_PANGO_FALSE='#'
22388 # GStreamer feature conditional
22389 if test "$have_gstreamer" = "yes"; then
22390 USE_GSTREAMER_TRUE=
22391 USE_GSTREAMER_FALSE='#'
22393 USE_GSTREAMER_TRUE='#'
22394 USE_GSTREAMER_FALSE=
22398 # WebKit feature conditionals
22399 if test "$enable_debug_features" = "yes"; then
22401 ENABLE_DEBUG_FALSE='#'
22403 ENABLE_DEBUG_TRUE='#'
22404 ENABLE_DEBUG_FALSE=
22407 if test "$enable_3d_rendering" = "yes"; then
22408 ENABLE_3D_RENDERING_TRUE=
22409 ENABLE_3D_RENDERING_FALSE='#'
22411 ENABLE_3D_RENDERING_TRUE='#'
22412 ENABLE_3D_RENDERING_FALSE=
22415 if test "$enable_webgl" = "yes"; then
22417 ENABLE_WEBGL_FALSE='#'
22419 ENABLE_WEBGL_TRUE='#'
22420 ENABLE_WEBGL_FALSE=
22423 if test "$enable_blob" = "yes"; then
22425 ENABLE_BLOB_FALSE='#'
22427 ENABLE_BLOB_TRUE='#'
22431 if test "$enable_meter_tag" = "yes"; then
22432 ENABLE_METER_TAG_TRUE=
22433 ENABLE_METER_TAG_FALSE='#'
22435 ENABLE_METER_TAG_TRUE='#'
22436 ENABLE_METER_TAG_FALSE=
22439 if test "$enable_page_visibility_api" = "yes"; then
22440 ENABLE_PAGE_VISIBILITY_API_TRUE=
22441 ENABLE_PAGE_VISIBILITY_API_FALSE='#'
22443 ENABLE_PAGE_VISIBILITY_API_TRUE='#'
22444 ENABLE_PAGE_VISIBILITY_API_FALSE=
22447 if test "$enable_progress_tag" = "yes"; then
22448 ENABLE_PROGRESS_TAG_TRUE=
22449 ENABLE_PROGRESS_TAG_FALSE='#'
22451 ENABLE_PROGRESS_TAG_TRUE='#'
22452 ENABLE_PROGRESS_TAG_FALSE=
22455 if test "$enable_channel_messaging" = "yes"; then
22456 ENABLE_CHANNEL_MESSAGING_TRUE=
22457 ENABLE_CHANNEL_MESSAGING_FALSE='#'
22459 ENABLE_CHANNEL_MESSAGING_TRUE='#'
22460 ENABLE_CHANNEL_MESSAGING_FALSE=
22463 if test "$enable_javascript_debugger" = "yes"; then
22464 ENABLE_JAVASCRIPT_DEBUGGER_TRUE=
22465 ENABLE_JAVASCRIPT_DEBUGGER_FALSE='#'
22467 ENABLE_JAVASCRIPT_DEBUGGER_TRUE='#'
22468 ENABLE_JAVASCRIPT_DEBUGGER_FALSE=
22471 if test "$enable_offline_web_applications" = "yes"; then
22472 ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE=
22473 ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE='#'
22475 ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE='#'
22476 ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE=
22479 if test "$enable_directory_upload" = "yes"; then
22480 ENABLE_DIRECTORY_UPLOAD_TRUE=
22481 ENABLE_DIRECTORY_UPLOAD_FALSE='#'
22483 ENABLE_DIRECTORY_UPLOAD_TRUE='#'
22484 ENABLE_DIRECTORY_UPLOAD_FALSE=
22487 if test "$enable_datagrid" = "yes"; then
22488 ENABLE_DATAGRID_TRUE=
22489 ENABLE_DATAGRID_FALSE='#'
22491 ENABLE_DATAGRID_TRUE='#'
22492 ENABLE_DATAGRID_FALSE=
22495 if test "$enable_data_transfer_items" = "yes"; then
22496 ENABLE_DATA_TRANSFER_ITEMS_TRUE=
22497 ENABLE_DATA_TRANSFER_ITEMS_FALSE='#'
22499 ENABLE_DATA_TRANSFER_ITEMS_TRUE='#'
22500 ENABLE_DATA_TRANSFER_ITEMS_FALSE=
22503 if test "$enable_dom_storage" = "yes"; then
22504 ENABLE_DOM_STORAGE_TRUE=
22505 ENABLE_DOM_STORAGE_FALSE='#'
22507 ENABLE_DOM_STORAGE_TRUE='#'
22508 ENABLE_DOM_STORAGE_FALSE=
22511 if test "$enable_sql_database" = "yes"; then
22512 ENABLE_SQL_DATABASE_TRUE=
22513 ENABLE_SQL_DATABASE_FALSE='#'
22515 ENABLE_SQL_DATABASE_TRUE='#'
22516 ENABLE_SQL_DATABASE_FALSE=
22519 if test "$enable_datalist" = "yes"; then
22520 ENABLE_DATALIST_TRUE=
22521 ENABLE_DATALIST_FALSE='#'
22523 ENABLE_DATALIST_TRUE='#'
22524 ENABLE_DATALIST_FALSE=
22527 if test "$enable_details" = "yes"; then
22528 ENABLE_DETAILS_TRUE=
22529 ENABLE_DETAILS_FALSE='#'
22531 ENABLE_DETAILS_TRUE='#'
22532 ENABLE_DETAILS_FALSE=
22535 if test "$enable_fast_mobile_scrolling" = "yes"; then
22536 ENABLE_FAST_MOBILE_SCROLLING_TRUE=
22537 ENABLE_FAST_MOBILE_SCROLLING_FALSE='#'
22539 ENABLE_FAST_MOBILE_SCROLLING_TRUE='#'
22540 ENABLE_FAST_MOBILE_SCROLLING_FALSE=
22543 if test "$enable_file_system" = "yes"; then
22544 ENABLE_FILE_SYSTEM_TRUE=
22545 ENABLE_FILE_SYSTEM_FALSE='#'
22547 ENABLE_FILE_SYSTEM_TRUE='#'
22548 ENABLE_FILE_SYSTEM_FALSE=
22551 if test "$enable_quota" = "yes"; then
22553 ENABLE_QUOTA_FALSE='#'
22555 ENABLE_QUOTA_TRUE='#'
22556 ENABLE_QUOTA_FALSE=
22559 if test "$enable_icon_database" = "yes"; then
22560 ENABLE_ICONDATABASE_TRUE=
22561 ENABLE_ICONDATABASE_FALSE='#'
22563 ENABLE_ICONDATABASE_TRUE='#'
22564 ENABLE_ICONDATABASE_FALSE=
22567 if test "$enable_image_resizer" = "yes"; then
22568 ENABLE_IMAGE_RESIZER_TRUE=
22569 ENABLE_IMAGE_RESIZER_FALSE='#'
22571 ENABLE_IMAGE_RESIZER_TRUE='#'
22572 ENABLE_IMAGE_RESIZER_FALSE=
22575 if test "$enable_indexed_database" = "yes"; then
22576 ENABLE_INDEXED_DATABASE_TRUE=
22577 ENABLE_INDEXED_DATABASE_FALSE='#'
22579 ENABLE_INDEXED_DATABASE_TRUE='#'
22580 ENABLE_INDEXED_DATABASE_FALSE=
22583 if test "$enable_input_color" = "yes"; then
22584 ENABLE_INPUT_COLOR_TRUE=
22585 ENABLE_INPUT_COLOR_FALSE='#'
22587 ENABLE_INPUT_COLOR_TRUE='#'
22588 ENABLE_INPUT_COLOR_FALSE=
22591 if test "$enable_input_speech" = "yes"; then
22592 ENABLE_INPUT_SPEECH_TRUE=
22593 ENABLE_INPUT_SPEECH_FALSE='#'
22595 ENABLE_INPUT_SPEECH_TRUE='#'
22596 ENABLE_INPUT_SPEECH_FALSE=
22599 if test "$enable_xhtmlmp" = "yes"; then
22600 ENABLE_XHTMLMP_TRUE=
22601 ENABLE_XHTMLMP_FALSE='#'
22603 ENABLE_XHTMLMP_TRUE='#'
22604 ENABLE_XHTMLMP_FALSE=
22607 if test "$enable_xpath" = "yes"; then
22609 ENABLE_XPATH_FALSE='#'
22611 ENABLE_XPATH_TRUE='#'
22612 ENABLE_XPATH_FALSE=
22615 if test "$enable_xslt" = "yes"; then
22617 ENABLE_XSLT_FALSE='#'
22619 ENABLE_XSLT_TRUE='#'
22623 if test "$enable_filters" = "yes"; then
22624 ENABLE_FILTERS_TRUE=
22625 ENABLE_FILTERS_FALSE='#'
22627 ENABLE_FILTERS_TRUE='#'
22628 ENABLE_FILTERS_FALSE=
22631 if test "$enable_geolocation" = "yes"; then
22632 ENABLE_GEOLOCATION_TRUE=
22633 ENABLE_GEOLOCATION_FALSE='#'
22635 ENABLE_GEOLOCATION_TRUE='#'
22636 ENABLE_GEOLOCATION_FALSE=
22639 if test "$enable_client_based_geolocation" = "yes"; then
22640 ENABLE_CLIENT_BASED_GEOLOCATION_TRUE=
22641 ENABLE_CLIENT_BASED_GEOLOCATION_FALSE='#'
22643 ENABLE_CLIENT_BASED_GEOLOCATION_TRUE='#'
22644 ENABLE_CLIENT_BASED_GEOLOCATION_FALSE=
22647 if test "$enable_mathml" = "yes"; then
22648 ENABLE_MATHML_TRUE=
22649 ENABLE_MATHML_FALSE='#'
22651 ENABLE_MATHML_TRUE='#'
22652 ENABLE_MATHML_FALSE=
22655 if test "$enable_mhtml" = "yes"; then
22657 ENABLE_MHTML_FALSE='#'
22659 ENABLE_MHTML_TRUE='#'
22660 ENABLE_MHTML_FALSE=
22663 if test "$enable_video" = "yes"; then
22665 ENABLE_VIDEO_FALSE='#'
22667 ENABLE_VIDEO_TRUE='#'
22668 ENABLE_VIDEO_FALSE=
22671 if test "$enable_elis_media" = "yes"; then
22672 ENABLE_ELIS_MEDIA_TRUE=
22673 ENABLE_ELIS_MEDIA_FALSE='#'
22675 ENABLE_ELIS_MEDIA_TRUE='#'
22676 ENABLE_ELIS_MEDIA_FALSE=
22679 if test "$enable_media_source" = "yes"; then
22680 ENABLE_MEDIA_SOURCE_TRUE=
22681 ENABLE_MEDIA_SOURCE_FALSE='#'
22683 ENABLE_MEDIA_SOURCE_TRUE='#'
22684 ENABLE_MEDIA_SOURCE_FALSE=
22687 if test "$enable_media_statistics" = "yes"; then
22688 ENABLE_MEDIA_STATISTICS_TRUE=
22689 ENABLE_MEDIA_STATISTICS_FALSE='#'
22691 ENABLE_MEDIA_STATISTICS_TRUE='#'
22692 ENABLE_MEDIA_STATISTICS_FALSE=
22695 if test "$enable_video_track" = "yes"; then
22696 ENABLE_VIDEO_TRACK_TRUE=
22697 ENABLE_VIDEO_TRACK_FALSE='#'
22699 ENABLE_VIDEO_TRACK_TRUE='#'
22700 ENABLE_VIDEO_TRACK_FALSE=
22703 if test "$enable_fullscreen_api" = "yes"; then
22704 ENABLE_FULLSCREEN_API_TRUE=
22705 ENABLE_FULLSCREEN_API_FALSE='#'
22707 ENABLE_FULLSCREEN_API_TRUE='#'
22708 ENABLE_FULLSCREEN_API_FALSE=
22711 if test "$enable_media_stream" = "yes"; then
22712 ENABLE_MEDIA_STREAM_TRUE=
22713 ENABLE_MEDIA_STREAM_FALSE='#'
22715 ENABLE_MEDIA_STREAM_TRUE='#'
22716 ENABLE_MEDIA_STREAM_FALSE=
22719 if test "$enable_notifications" = "yes"; then
22720 ENABLE_NOTIFICATIONS_TRUE=
22721 ENABLE_NOTIFICATIONS_FALSE='#'
22723 ENABLE_NOTIFICATIONS_TRUE='#'
22724 ENABLE_NOTIFICATIONS_FALSE=
22727 if test "$enable_orientation_events" = "yes"; then
22728 ENABLE_ORIENTATION_EVENTS_TRUE=
22729 ENABLE_ORIENTATION_EVENTS_FALSE='#'
22731 ENABLE_ORIENTATION_EVENTS_TRUE='#'
22732 ENABLE_ORIENTATION_EVENTS_FALSE=
22735 if test "$enable_svg" = "yes"; then
22737 ENABLE_SVG_FALSE='#'
22739 ENABLE_SVG_TRUE='#'
22743 if test "$enable_svg_fonts" = "yes"; then
22744 ENABLE_SVG_FONTS_TRUE=
22745 ENABLE_SVG_FONTS_FALSE='#'
22747 ENABLE_SVG_FONTS_TRUE='#'
22748 ENABLE_SVG_FONTS_FALSE=
22751 if test "$enable_coverage" = "yes"; then
22752 ENABLE_COVERAGE_TRUE=
22753 ENABLE_COVERAGE_FALSE='#'
22755 ENABLE_COVERAGE_TRUE='#'
22756 ENABLE_COVERAGE_FALSE=
22759 if test "$enable_fast_malloc" = "yes"; then
22760 ENABLE_FAST_MALLOC_TRUE=
22761 ENABLE_FAST_MALLOC_FALSE='#'
22763 ENABLE_FAST_MALLOC_TRUE='#'
22764 ENABLE_FAST_MALLOC_FALSE=
22767 if test "$enable_wcss" = "yes"; then
22769 ENABLE_WCSS_FALSE='#'
22771 ENABLE_WCSS_TRUE='#'
22775 if test "$enable_workers" = "yes"; then
22776 ENABLE_WORKERS_TRUE=
22777 ENABLE_WORKERS_FALSE='#'
22779 ENABLE_WORKERS_TRUE='#'
22780 ENABLE_WORKERS_FALSE=
22783 if test "$enable_shared_workers" = "yes"; then
22784 ENABLE_SHARED_WORKERS_TRUE=
22785 ENABLE_SHARED_WORKERS_FALSE='#'
22787 ENABLE_SHARED_WORKERS_TRUE='#'
22788 ENABLE_SHARED_WORKERS_FALSE=
22791 if test "$svg_flags" = "yes"; then
22793 SVG_FLAGS_FALSE='#'
22799 if test "$html_flags" = "yes"; then
22801 HTML_FLAGS_FALSE='#'
22803 HTML_FLAGS_TRUE='#'
22807 if test "$enable_web_sockets" = "yes"; then
22808 ENABLE_WEB_SOCKETS_TRUE=
22809 ENABLE_WEB_SOCKETS_FALSE='#'
22811 ENABLE_WEB_SOCKETS_TRUE='#'
22812 ENABLE_WEB_SOCKETS_FALSE=
22815 if test "$enable_web_audio" = "yes"; then
22816 ENABLE_WEB_AUDIO_TRUE=
22817 ENABLE_WEB_AUDIO_FALSE='#'
22819 ENABLE_WEB_AUDIO_TRUE='#'
22820 ENABLE_WEB_AUDIO_FALSE=
22823 if test "$enable_web_timing" = "yes"; then
22824 ENABLE_WEB_TIMING_TRUE=
22825 ENABLE_WEB_TIMING_FALSE='#'
22827 ENABLE_WEB_TIMING_TRUE='#'
22828 ENABLE_WEB_TIMING_FALSE=
22831 if test "$enable_opcode_stats" = "yes"; then
22832 ENABLE_OPCODE_STATS_TRUE=
22833 ENABLE_OPCODE_STATS_FALSE='#'
22835 ENABLE_OPCODE_STATS_TRUE='#'
22836 ENABLE_OPCODE_STATS_FALSE=
22839 if test "$enable_webkit2" = "yes"; then
22840 ENABLE_WEBKIT2_TRUE=
22841 ENABLE_WEBKIT2_FALSE='#'
22843 ENABLE_WEBKIT2_TRUE='#'
22844 ENABLE_WEBKIT2_FALSE=
22847 if test "$enable_plugin_process" = "yes"; then
22848 ENABLE_PLUGIN_PROCESS_TRUE=
22849 ENABLE_PLUGIN_PROCESS_FALSE='#'
22851 ENABLE_PLUGIN_PROCESS_TRUE='#'
22852 ENABLE_PLUGIN_PROCESS_FALSE=
22855 if test "$enable_spellcheck" = "yes"; then
22856 ENABLE_SPELLCHECK_TRUE=
22857 ENABLE_SPELLCHECK_FALSE='#'
22859 ENABLE_SPELLCHECK_TRUE='#'
22860 ENABLE_SPELLCHECK_FALSE=
22863 if test "$enable_animation_api" = "yes"; then
22864 ENABLE_ANIMATION_API_TRUE=
22865 ENABLE_ANIMATION_API_FALSE='#'
22867 ENABLE_ANIMATION_API_TRUE='#'
22868 ENABLE_ANIMATION_API_FALSE=
22871 if test "$enable_touch_icon_loading" = "yes"; then
22872 ENABLE_TOUCH_ICON_LOADING_TRUE=
22873 ENABLE_TOUCH_ICON_LOADING_FALSE='#'
22875 ENABLE_TOUCH_ICON_LOADING_TRUE='#'
22876 ENABLE_TOUCH_ICON_LOADING_FALSE=
22879 if test "$enable_register_protocol_handler" = "yes"; then
22880 ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE=
22881 ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE='#'
22883 ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE='#'
22884 ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE=
22887 if test "$enable_device_orientation" = "yes"; then
22888 ENABLE_DEVICE_ORIENTATION_TRUE=
22889 ENABLE_DEVICE_ORIENTATION_FALSE='#'
22891 ENABLE_DEVICE_ORIENTATION_TRUE='#'
22892 ENABLE_DEVICE_ORIENTATION_FALSE=
22897 if test "$enable_introspection" = "yes"; then
22898 ENABLE_INTROSPECTION_TRUE=
22899 ENABLE_INTROSPECTION_FALSE='#'
22901 ENABLE_INTROSPECTION_TRUE='#'
22902 ENABLE_INTROSPECTION_FALSE=
22906 ac_config_files="$ac_config_files GNUmakefile"
22910 ac_config_files="$ac_config_files Source/WebKit/gtk/webkit/webkitversion.h Source/WebKit/gtk/docs/GNUmakefile Source/WebKit/gtk/docs/version.xml"
22913 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"
22917 if test "$enable_webkit2" = "yes"; then
22918 ac_config_files="$ac_config_files Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/webkit2gtk.pc.in"
22922 cat >confcache <<\_ACEOF
22923 # This file is a shell script that caches the results of configure
22924 # tests run on this system so they can be shared between configure
22925 # scripts and configure runs, see configure's option --config-cache.
22926 # It is not useful on other systems. If it contains results you don't
22927 # want to keep, you may remove or edit it.
22929 # config.status only pays attention to the cache file if you give it
22930 # the --recheck option to rerun configure.
22932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22934 # following values.
22938 # The following way of writing the cache mishandles newlines in values,
22939 # but we know of no workaround that is simple, portable, and efficient.
22940 # So, we kill variables containing newlines.
22941 # Ultrix sh set writes to stderr and can't be redirected directly,
22942 # and sets the high bit in the cache file unless we assign to the vars.
22944 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22945 eval ac_val=\$$ac_var
22949 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22950 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22953 _ | IFS | as_nl) ;; #(
22954 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22955 *) { eval $ac_var=; unset $ac_var;} ;;
22961 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22962 *${as_nl}ac_space=\ *)
22963 # `set' does not quote correctly, so add quotes: double-quote
22964 # substitution turns \\\\ into \\, and sed turns \\ into \.
22967 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22970 # `set' quotes correctly as required by POSIX, so do not add quotes.
22971 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22980 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22982 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22984 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22985 if test -w "$cache_file"; then
22986 if test "x$cache_file" != "x/dev/null"; then
22987 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22988 $as_echo "$as_me: updating cache $cache_file" >&6;}
22989 if test ! -f "$cache_file" || test -h "$cache_file"; then
22990 cat confcache >"$cache_file"
22992 case $cache_file in #(
22994 mv -f confcache "$cache_file"$$ &&
22995 mv -f "$cache_file"$$ "$cache_file" ;; #(
22997 mv -f confcache "$cache_file" ;;
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23003 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23008 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23009 # Let make expand exec_prefix.
23010 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23012 DEFS=-DHAVE_CONFIG_H
23017 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
23018 # 1. Remove the extension, and $U if already installed.
23019 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23020 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
23021 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23022 # will be set to the directory where LIBOBJS objects are built.
23023 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23024 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23026 LIB@&t@OBJS=$ac_libobjs
23028 LTLIBOBJS=$ac_ltlibobjs
23031 if test -n "$EXEEXT"; then
23033 am__EXEEXT_FALSE='#'
23035 am__EXEEXT_TRUE='#'
23039 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23040 as_fn_error $? "conditional \"AMDEP\" was never defined.
23041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23043 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23044 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23047 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23048 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
23049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23051 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23052 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23055 if test -z "${GTK_API_VERSION_2_TRUE}" && test -z "${GTK_API_VERSION_2_FALSE}"; then
23056 as_fn_error $? "conditional \"GTK_API_VERSION_2\" was never defined.
23057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23059 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
23060 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
23061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23063 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
23064 as_fn_error $? "conditional \"OS_UNIX\" was never defined.
23065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23067 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
23068 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
23069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23071 if test -z "${OS_GNU_TRUE}" && test -z "${OS_GNU_FALSE}"; then
23072 as_fn_error $? "conditional \"OS_GNU\" was never defined.
23073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23075 if test -z "${OS_FREEBSD_TRUE}" && test -z "${OS_FREEBSD_FALSE}"; then
23076 as_fn_error $? "conditional \"OS_FREEBSD\" was never defined.
23077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23079 if test -z "${TARGET_X11_TRUE}" && test -z "${TARGET_X11_FALSE}"; then
23080 as_fn_error $? "conditional \"TARGET_X11\" was never defined.
23081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23083 if test -z "${TARGET_WIN32_TRUE}" && test -z "${TARGET_WIN32_FALSE}"; then
23084 as_fn_error $? "conditional \"TARGET_WIN32\" was never defined.
23085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23087 if test -z "${TARGET_QUARTZ_TRUE}" && test -z "${TARGET_QUARTZ_FALSE}"; then
23088 as_fn_error $? "conditional \"TARGET_QUARTZ\" was never defined.
23089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23091 if test -z "${TARGET_DIRECTFB_TRUE}" && test -z "${TARGET_DIRECTFB_FALSE}"; then
23092 as_fn_error $? "conditional \"TARGET_DIRECTFB\" was never defined.
23093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23095 if test -z "${USE_ICU_UNICODE_TRUE}" && test -z "${USE_ICU_UNICODE_FALSE}"; then
23096 as_fn_error $? "conditional \"USE_ICU_UNICODE\" was never defined.
23097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23099 if test -z "${USE_GLIB_UNICODE_TRUE}" && test -z "${USE_GLIB_UNICODE_FALSE}"; then
23100 as_fn_error $? "conditional \"USE_GLIB_UNICODE\" was never defined.
23101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23103 if test -z "${USE_FREETYPE_TRUE}" && test -z "${USE_FREETYPE_FALSE}"; then
23104 as_fn_error $? "conditional \"USE_FREETYPE\" was never defined.
23105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23107 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
23108 as_fn_error $? "conditional \"USE_PANGO\" was never defined.
23109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23111 if test -z "${USE_GSTREAMER_TRUE}" && test -z "${USE_GSTREAMER_FALSE}"; then
23112 as_fn_error $? "conditional \"USE_GSTREAMER\" was never defined.
23113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23115 if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
23116 as_fn_error $? "conditional \"ENABLE_DEBUG\" was never defined.
23117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23119 if test -z "${ENABLE_3D_RENDERING_TRUE}" && test -z "${ENABLE_3D_RENDERING_FALSE}"; then
23120 as_fn_error $? "conditional \"ENABLE_3D_RENDERING\" was never defined.
23121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23123 if test -z "${ENABLE_WEBGL_TRUE}" && test -z "${ENABLE_WEBGL_FALSE}"; then
23124 as_fn_error $? "conditional \"ENABLE_WEBGL\" was never defined.
23125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23127 if test -z "${ENABLE_BLOB_TRUE}" && test -z "${ENABLE_BLOB_FALSE}"; then
23128 as_fn_error $? "conditional \"ENABLE_BLOB\" was never defined.
23129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23131 if test -z "${ENABLE_METER_TAG_TRUE}" && test -z "${ENABLE_METER_TAG_FALSE}"; then
23132 as_fn_error $? "conditional \"ENABLE_METER_TAG\" was never defined.
23133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23135 if test -z "${ENABLE_PAGE_VISIBILITY_API_TRUE}" && test -z "${ENABLE_PAGE_VISIBILITY_API_FALSE}"; then
23136 as_fn_error $? "conditional \"ENABLE_PAGE_VISIBILITY_API\" was never defined.
23137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23139 if test -z "${ENABLE_PROGRESS_TAG_TRUE}" && test -z "${ENABLE_PROGRESS_TAG_FALSE}"; then
23140 as_fn_error $? "conditional \"ENABLE_PROGRESS_TAG\" was never defined.
23141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23143 if test -z "${ENABLE_CHANNEL_MESSAGING_TRUE}" && test -z "${ENABLE_CHANNEL_MESSAGING_FALSE}"; then
23144 as_fn_error $? "conditional \"ENABLE_CHANNEL_MESSAGING\" was never defined.
23145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23147 if test -z "${ENABLE_JAVASCRIPT_DEBUGGER_TRUE}" && test -z "${ENABLE_JAVASCRIPT_DEBUGGER_FALSE}"; then
23148 as_fn_error $? "conditional \"ENABLE_JAVASCRIPT_DEBUGGER\" was never defined.
23149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23151 if test -z "${ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE}" && test -z "${ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE}"; then
23152 as_fn_error $? "conditional \"ENABLE_OFFLINE_WEB_APPLICATIONS\" was never defined.
23153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23155 if test -z "${ENABLE_DIRECTORY_UPLOAD_TRUE}" && test -z "${ENABLE_DIRECTORY_UPLOAD_FALSE}"; then
23156 as_fn_error $? "conditional \"ENABLE_DIRECTORY_UPLOAD\" was never defined.
23157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23159 if test -z "${ENABLE_DATAGRID_TRUE}" && test -z "${ENABLE_DATAGRID_FALSE}"; then
23160 as_fn_error $? "conditional \"ENABLE_DATAGRID\" was never defined.
23161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23163 if test -z "${ENABLE_DATA_TRANSFER_ITEMS_TRUE}" && test -z "${ENABLE_DATA_TRANSFER_ITEMS_FALSE}"; then
23164 as_fn_error $? "conditional \"ENABLE_DATA_TRANSFER_ITEMS\" was never defined.
23165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23167 if test -z "${ENABLE_DOM_STORAGE_TRUE}" && test -z "${ENABLE_DOM_STORAGE_FALSE}"; then
23168 as_fn_error $? "conditional \"ENABLE_DOM_STORAGE\" was never defined.
23169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23171 if test -z "${ENABLE_SQL_DATABASE_TRUE}" && test -z "${ENABLE_SQL_DATABASE_FALSE}"; then
23172 as_fn_error $? "conditional \"ENABLE_SQL_DATABASE\" was never defined.
23173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23175 if test -z "${ENABLE_DATALIST_TRUE}" && test -z "${ENABLE_DATALIST_FALSE}"; then
23176 as_fn_error $? "conditional \"ENABLE_DATALIST\" was never defined.
23177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23179 if test -z "${ENABLE_DETAILS_TRUE}" && test -z "${ENABLE_DETAILS_FALSE}"; then
23180 as_fn_error $? "conditional \"ENABLE_DETAILS\" was never defined.
23181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23183 if test -z "${ENABLE_FAST_MOBILE_SCROLLING_TRUE}" && test -z "${ENABLE_FAST_MOBILE_SCROLLING_FALSE}"; then
23184 as_fn_error $? "conditional \"ENABLE_FAST_MOBILE_SCROLLING\" was never defined.
23185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23187 if test -z "${ENABLE_FILE_SYSTEM_TRUE}" && test -z "${ENABLE_FILE_SYSTEM_FALSE}"; then
23188 as_fn_error $? "conditional \"ENABLE_FILE_SYSTEM\" was never defined.
23189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23191 if test -z "${ENABLE_QUOTA_TRUE}" && test -z "${ENABLE_QUOTA_FALSE}"; then
23192 as_fn_error $? "conditional \"ENABLE_QUOTA\" was never defined.
23193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23195 if test -z "${ENABLE_ICONDATABASE_TRUE}" && test -z "${ENABLE_ICONDATABASE_FALSE}"; then
23196 as_fn_error $? "conditional \"ENABLE_ICONDATABASE\" was never defined.
23197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23199 if test -z "${ENABLE_IMAGE_RESIZER_TRUE}" && test -z "${ENABLE_IMAGE_RESIZER_FALSE}"; then
23200 as_fn_error $? "conditional \"ENABLE_IMAGE_RESIZER\" was never defined.
23201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23203 if test -z "${ENABLE_INDEXED_DATABASE_TRUE}" && test -z "${ENABLE_INDEXED_DATABASE_FALSE}"; then
23204 as_fn_error $? "conditional \"ENABLE_INDEXED_DATABASE\" was never defined.
23205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23207 if test -z "${ENABLE_INPUT_COLOR_TRUE}" && test -z "${ENABLE_INPUT_COLOR_FALSE}"; then
23208 as_fn_error $? "conditional \"ENABLE_INPUT_COLOR\" was never defined.
23209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23211 if test -z "${ENABLE_INPUT_SPEECH_TRUE}" && test -z "${ENABLE_INPUT_SPEECH_FALSE}"; then
23212 as_fn_error $? "conditional \"ENABLE_INPUT_SPEECH\" was never defined.
23213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23215 if test -z "${ENABLE_XHTMLMP_TRUE}" && test -z "${ENABLE_XHTMLMP_FALSE}"; then
23216 as_fn_error $? "conditional \"ENABLE_XHTMLMP\" was never defined.
23217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23219 if test -z "${ENABLE_XPATH_TRUE}" && test -z "${ENABLE_XPATH_FALSE}"; then
23220 as_fn_error $? "conditional \"ENABLE_XPATH\" was never defined.
23221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23223 if test -z "${ENABLE_XSLT_TRUE}" && test -z "${ENABLE_XSLT_FALSE}"; then
23224 as_fn_error $? "conditional \"ENABLE_XSLT\" was never defined.
23225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23227 if test -z "${ENABLE_FILTERS_TRUE}" && test -z "${ENABLE_FILTERS_FALSE}"; then
23228 as_fn_error $? "conditional \"ENABLE_FILTERS\" was never defined.
23229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23231 if test -z "${ENABLE_GEOLOCATION_TRUE}" && test -z "${ENABLE_GEOLOCATION_FALSE}"; then
23232 as_fn_error $? "conditional \"ENABLE_GEOLOCATION\" was never defined.
23233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23235 if test -z "${ENABLE_CLIENT_BASED_GEOLOCATION_TRUE}" && test -z "${ENABLE_CLIENT_BASED_GEOLOCATION_FALSE}"; then
23236 as_fn_error $? "conditional \"ENABLE_CLIENT_BASED_GEOLOCATION\" was never defined.
23237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23239 if test -z "${ENABLE_MATHML_TRUE}" && test -z "${ENABLE_MATHML_FALSE}"; then
23240 as_fn_error $? "conditional \"ENABLE_MATHML\" was never defined.
23241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23243 if test -z "${ENABLE_MHTML_TRUE}" && test -z "${ENABLE_MHTML_FALSE}"; then
23244 as_fn_error $? "conditional \"ENABLE_MHTML\" was never defined.
23245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23247 if test -z "${ENABLE_VIDEO_TRUE}" && test -z "${ENABLE_VIDEO_FALSE}"; then
23248 as_fn_error $? "conditional \"ENABLE_VIDEO\" was never defined.
23249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23251 if test -z "${ENABLE_ELIS_MEDIA_TRUE}" && test -z "${ENABLE_ELIS_MEDIA_FALSE}"; then
23252 as_fn_error $? "conditional \"ENABLE_ELIS_MEDIA\" was never defined.
23253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23255 if test -z "${ENABLE_MEDIA_SOURCE_TRUE}" && test -z "${ENABLE_MEDIA_SOURCE_FALSE}"; then
23256 as_fn_error $? "conditional \"ENABLE_MEDIA_SOURCE\" was never defined.
23257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23259 if test -z "${ENABLE_MEDIA_STATISTICS_TRUE}" && test -z "${ENABLE_MEDIA_STATISTICS_FALSE}"; then
23260 as_fn_error $? "conditional \"ENABLE_MEDIA_STATISTICS\" was never defined.
23261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23263 if test -z "${ENABLE_VIDEO_TRACK_TRUE}" && test -z "${ENABLE_VIDEO_TRACK_FALSE}"; then
23264 as_fn_error $? "conditional \"ENABLE_VIDEO_TRACK\" was never defined.
23265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23267 if test -z "${ENABLE_FULLSCREEN_API_TRUE}" && test -z "${ENABLE_FULLSCREEN_API_FALSE}"; then
23268 as_fn_error $? "conditional \"ENABLE_FULLSCREEN_API\" was never defined.
23269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23271 if test -z "${ENABLE_MEDIA_STREAM_TRUE}" && test -z "${ENABLE_MEDIA_STREAM_FALSE}"; then
23272 as_fn_error $? "conditional \"ENABLE_MEDIA_STREAM\" was never defined.
23273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23275 if test -z "${ENABLE_NOTIFICATIONS_TRUE}" && test -z "${ENABLE_NOTIFICATIONS_FALSE}"; then
23276 as_fn_error $? "conditional \"ENABLE_NOTIFICATIONS\" was never defined.
23277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23279 if test -z "${ENABLE_ORIENTATION_EVENTS_TRUE}" && test -z "${ENABLE_ORIENTATION_EVENTS_FALSE}"; then
23280 as_fn_error $? "conditional \"ENABLE_ORIENTATION_EVENTS\" was never defined.
23281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23283 if test -z "${ENABLE_SVG_TRUE}" && test -z "${ENABLE_SVG_FALSE}"; then
23284 as_fn_error $? "conditional \"ENABLE_SVG\" was never defined.
23285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23287 if test -z "${ENABLE_SVG_FONTS_TRUE}" && test -z "${ENABLE_SVG_FONTS_FALSE}"; then
23288 as_fn_error $? "conditional \"ENABLE_SVG_FONTS\" was never defined.
23289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23291 if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
23292 as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined.
23293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23295 if test -z "${ENABLE_FAST_MALLOC_TRUE}" && test -z "${ENABLE_FAST_MALLOC_FALSE}"; then
23296 as_fn_error $? "conditional \"ENABLE_FAST_MALLOC\" was never defined.
23297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23299 if test -z "${ENABLE_WCSS_TRUE}" && test -z "${ENABLE_WCSS_FALSE}"; then
23300 as_fn_error $? "conditional \"ENABLE_WCSS\" was never defined.
23301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23303 if test -z "${ENABLE_WORKERS_TRUE}" && test -z "${ENABLE_WORKERS_FALSE}"; then
23304 as_fn_error $? "conditional \"ENABLE_WORKERS\" was never defined.
23305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23307 if test -z "${ENABLE_SHARED_WORKERS_TRUE}" && test -z "${ENABLE_SHARED_WORKERS_FALSE}"; then
23308 as_fn_error $? "conditional \"ENABLE_SHARED_WORKERS\" was never defined.
23309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23311 if test -z "${SVG_FLAGS_TRUE}" && test -z "${SVG_FLAGS_FALSE}"; then
23312 as_fn_error $? "conditional \"SVG_FLAGS\" was never defined.
23313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23315 if test -z "${HTML_FLAGS_TRUE}" && test -z "${HTML_FLAGS_FALSE}"; then
23316 as_fn_error $? "conditional \"HTML_FLAGS\" was never defined.
23317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23319 if test -z "${ENABLE_WEB_SOCKETS_TRUE}" && test -z "${ENABLE_WEB_SOCKETS_FALSE}"; then
23320 as_fn_error $? "conditional \"ENABLE_WEB_SOCKETS\" was never defined.
23321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23323 if test -z "${ENABLE_WEB_AUDIO_TRUE}" && test -z "${ENABLE_WEB_AUDIO_FALSE}"; then
23324 as_fn_error $? "conditional \"ENABLE_WEB_AUDIO\" was never defined.
23325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23327 if test -z "${ENABLE_WEB_TIMING_TRUE}" && test -z "${ENABLE_WEB_TIMING_FALSE}"; then
23328 as_fn_error $? "conditional \"ENABLE_WEB_TIMING\" was never defined.
23329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23331 if test -z "${ENABLE_OPCODE_STATS_TRUE}" && test -z "${ENABLE_OPCODE_STATS_FALSE}"; then
23332 as_fn_error $? "conditional \"ENABLE_OPCODE_STATS\" was never defined.
23333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23335 if test -z "${ENABLE_WEBKIT2_TRUE}" && test -z "${ENABLE_WEBKIT2_FALSE}"; then
23336 as_fn_error $? "conditional \"ENABLE_WEBKIT2\" was never defined.
23337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23339 if test -z "${ENABLE_PLUGIN_PROCESS_TRUE}" && test -z "${ENABLE_PLUGIN_PROCESS_FALSE}"; then
23340 as_fn_error $? "conditional \"ENABLE_PLUGIN_PROCESS\" was never defined.
23341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23343 if test -z "${ENABLE_SPELLCHECK_TRUE}" && test -z "${ENABLE_SPELLCHECK_FALSE}"; then
23344 as_fn_error $? "conditional \"ENABLE_SPELLCHECK\" was never defined.
23345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23347 if test -z "${ENABLE_ANIMATION_API_TRUE}" && test -z "${ENABLE_ANIMATION_API_FALSE}"; then
23348 as_fn_error $? "conditional \"ENABLE_ANIMATION_API\" was never defined.
23349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23351 if test -z "${ENABLE_TOUCH_ICON_LOADING_TRUE}" && test -z "${ENABLE_TOUCH_ICON_LOADING_FALSE}"; then
23352 as_fn_error $? "conditional \"ENABLE_TOUCH_ICON_LOADING\" was never defined.
23353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23355 if test -z "${ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE}" && test -z "${ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE}"; then
23356 as_fn_error $? "conditional \"ENABLE_REGISTER_PROTOCOL_HANDLER\" was never defined.
23357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23359 if test -z "${ENABLE_DEVICE_ORIENTATION_TRUE}" && test -z "${ENABLE_DEVICE_ORIENTATION_FALSE}"; then
23360 as_fn_error $? "conditional \"ENABLE_DEVICE_ORIENTATION\" was never defined.
23361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23363 if test -z "${ENABLE_INTROSPECTION_TRUE}" && test -z "${ENABLE_INTROSPECTION_FALSE}"; then
23364 as_fn_error $? "conditional \"ENABLE_INTROSPECTION\" was never defined.
23365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23368 : "${CONFIG_STATUS=./config.status}"
23370 ac_clean_files_save=$ac_clean_files
23371 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23372 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23373 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23375 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23377 # Generated by $as_me.
23378 # Run this file to recreate the current configuration.
23379 # Compiler output produced by configure, useful for debugging
23380 # configure, is in config.log if it exists.
23383 ac_cs_recheck=false
23386 SHELL=\${CONFIG_SHELL-$SHELL}
23389 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23390 ## -------------------- ##
23391 ## M4sh Initialization. ##
23392 ## -------------------- ##
23394 # Be more Bourne compatible
23395 DUALCASE=1; export DUALCASE # for MKS sh
23396 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23399 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23400 # is contrary to our usage. Disable this feature.
23401 alias -g '${1+"$@"}'='"$@"'
23402 setopt NO_GLOB_SUBST
23404 case `(set -o) 2>/dev/null` in @%:@(
23406 set -o posix ;; @%:@(
23416 # Printing a long string crashes Solaris 7 /usr/bin/printf.
23417 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23418 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23419 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23420 # Prefer a ksh shell builtin over an external printf program on Solaris,
23421 # but without wasting forks for bash or zsh.
23422 if test -z "$BASH_VERSION$ZSH_VERSION" \
23423 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
23424 as_echo='print -r --'
23425 as_echo_n='print -rn --'
23426 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23427 as_echo='printf %s\n'
23428 as_echo_n='printf %s'
23430 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23431 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
23432 as_echo_n='/usr/ucb/echo -n'
23434 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23435 as_echo_n_body='eval
23439 expr "X$arg" : "X\\(.*\\)$as_nl";
23440 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23442 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
23444 export as_echo_n_body
23445 as_echo_n='sh -c $as_echo_n_body as_echo'
23447 export as_echo_body
23448 as_echo='sh -c $as_echo_body as_echo'
23451 # The user is always right.
23452 if test "${PATH_SEPARATOR+set}" != set; then
23454 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23455 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23462 # We need space, tab and new line, in precisely that order. Quoting is
23463 # there to prevent editors from complaining about space-tab.
23464 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23465 # splitting by setting IFS to empty value.)
23468 # Find who we are. Look in the path if we contain no directory separator.
23471 *[\\/]* ) as_myself=$0 ;;
23472 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23473 for as_dir in $PATH
23476 test -z "$as_dir" && as_dir=.
23477 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23483 # We did not find ourselves, most probably we were run as `sh COMMAND'
23484 # in which case we are not to be found in the path.
23485 if test "x$as_myself" = x; then
23488 if test ! -f "$as_myself"; then
23489 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23493 # Unset variables that we do not need and which cause bugs (e.g. in
23494 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
23495 # suppresses any "Segmentation fault" message there. '((' could
23496 # trigger a bug in pdksh 5.2.14.
23497 for as_var in BASH_ENV ENV MAIL MAILPATH
23498 do eval test x\${$as_var+set} = xset \
23499 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23512 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23515 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
23516 @%:@ ----------------------------------------
23517 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23518 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23519 @%:@ script with STATUS, using 1 if that was 0.
23522 as_status=$1; test $as_status -eq 0 && as_status=1
23524 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23525 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23527 $as_echo "$as_me: error: $2" >&2
23528 as_fn_exit $as_status
23532 @%:@ as_fn_set_status STATUS
23533 @%:@ -----------------------
23534 @%:@ Set @S|@? to STATUS, without forking.
23535 as_fn_set_status ()
23538 } @%:@ as_fn_set_status
23540 @%:@ as_fn_exit STATUS
23541 @%:@ -----------------
23542 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23546 as_fn_set_status $1
23550 @%:@ as_fn_unset VAR
23551 @%:@ ---------------
23552 @%:@ Portably unset VAR.
23555 { eval $1=; unset $1;}
23557 as_unset=as_fn_unset
23558 @%:@ as_fn_append VAR VALUE
23559 @%:@ ----------------------
23560 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
23561 @%:@ advantage of any shell optimizations that allow amortized linear growth over
23562 @%:@ repeated appends, instead of the typical quadratic growth present in naive
23563 @%:@ implementations.
23564 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
23565 eval 'as_fn_append ()
23576 @%:@ as_fn_arith ARG...
23577 @%:@ ------------------
23578 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
23579 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
23580 @%:@ must be portable across @S|@(()) and expr.
23581 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
23582 eval 'as_fn_arith ()
23589 as_val=`expr "$@" || test $? -eq 1`
23594 if expr a : '\(a\)' >/dev/null 2>&1 &&
23595 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23601 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23602 as_basename=basename
23607 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23613 as_me=`$as_basename -- "$0" ||
23614 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23615 X"$0" : 'X\(//\)$' \| \
23616 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23618 sed '/^.*\/\([^/][^/]*\)\/*$/{
23632 # Avoid depending upon Character Ranges.
23633 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23634 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23635 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23636 as_cr_digits='0123456789'
23637 as_cr_alnum=$as_cr_Letters$as_cr_digits
23639 ECHO_C= ECHO_N= ECHO_T=
23640 case `echo -n x` in @%:@(((((
23642 case `echo 'xy\c'` in
23643 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23645 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23652 rm -f conf$$ conf$$.exe conf$$.file
23653 if test -d conf$$.dir; then
23654 rm -f conf$$.dir/conf$$.file
23657 mkdir conf$$.dir 2>/dev/null
23659 if (echo >conf$$.file) 2>/dev/null; then
23660 if ln -s conf$$.file conf$$ 2>/dev/null; then
23662 # ... but there are two gotchas:
23663 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23664 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23665 # In both cases, we have to default to `cp -p'.
23666 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23668 elif ln conf$$.file conf$$ 2>/dev/null; then
23676 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23677 rmdir conf$$.dir 2>/dev/null
23682 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
23687 -*) as_dir=./$as_dir;;
23689 test -d "$as_dir" || eval $as_mkdir_p || {
23693 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23694 *) as_qdir=$as_dir;;
23696 as_dirs="'$as_qdir' $as_dirs"
23697 as_dir=`$as_dirname -- "$as_dir" ||
23698 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23699 X"$as_dir" : 'X\(//\)[^/]' \| \
23700 X"$as_dir" : 'X\(//\)$' \| \
23701 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23702 $as_echo X"$as_dir" |
23703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23707 /^X\(\/\/\)[^/].*/{
23720 test -d "$as_dir" && break
23722 test -z "$as_dirs" || eval "mkdir $as_dirs"
23723 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23726 } @%:@ as_fn_mkdir_p
23727 if mkdir -p . 2>/dev/null; then
23728 as_mkdir_p='mkdir -p "$as_dir"'
23730 test -d ./-p && rmdir ./-p
23734 if test -x / >/dev/null 2>&1; then
23735 as_test_x='test -x'
23737 if ls -dL / >/dev/null 2>&1; then
23744 if test -d "$1"; then
23750 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
23751 ???[sx]*):;;*)false;;esac;fi
23755 as_executable_p=$as_test_x
23757 # Sed expression to map a string onto a valid CPP name.
23758 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23760 # Sed expression to map a string onto a valid variable name.
23761 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23765 ## ----------------------------------- ##
23766 ## Main body of $CONFIG_STATUS script. ##
23767 ## ----------------------------------- ##
23769 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23772 # Save the log message, to keep $0 and so on meaningful, and to
23773 # report actual input values of CONFIG_FILES etc. instead of their
23774 # values after options handling.
23776 This file was extended by WebKit $as_me 1.6.1, which was
23777 generated by GNU Autoconf 2.68. Invocation command line was
23779 CONFIG_FILES = $CONFIG_FILES
23780 CONFIG_HEADERS = $CONFIG_HEADERS
23781 CONFIG_LINKS = $CONFIG_LINKS
23782 CONFIG_COMMANDS = $CONFIG_COMMANDS
23785 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23790 case $ac_config_files in *"
23791 "*) set x $ac_config_files; shift; ac_config_files=$*;;
23794 case $ac_config_headers in *"
23795 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23800 # Files that config.status was made for.
23801 config_files="$ac_config_files"
23802 config_headers="$ac_config_headers"
23803 config_commands="$ac_config_commands"
23807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23809 \`$as_me' instantiates files and other configuration actions
23810 from templates according to the current configuration. Unless the files
23811 and actions are specified as TAGs, all are instantiated by default.
23813 Usage: $0 [OPTION]... [TAG]...
23815 -h, --help print this help, then exit
23816 -V, --version print version number and configuration settings, then exit
23817 --config print configuration, then exit
23818 -q, --quiet, --silent
23819 do not print progress messages
23820 -d, --debug don't remove temporary files
23821 --recheck update $as_me by reconfiguring in the same conditions
23822 --file=FILE[:TEMPLATE]
23823 instantiate the configuration file FILE
23824 --header=FILE[:TEMPLATE]
23825 instantiate the configuration header FILE
23827 Configuration files:
23830 Configuration headers:
23833 Configuration commands:
23836 Report bugs to <http://bugs.webkit.org/>."
23839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23840 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23842 WebKit config.status 1.6.1
23843 configured by $0, generated by GNU Autoconf 2.68,
23844 with options \\"\$ac_cs_config\\"
23846 Copyright (C) 2010 Free Software Foundation, Inc.
23847 This config.status script is free software; the Free Software Foundation
23848 gives unlimited permission to copy, distribute and modify it."
23855 test -n "\$AWK" || AWK=awk
23858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23859 # The default lists apply if the user does not specify any file.
23865 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23866 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23870 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23882 # Handling of the options.
23883 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23885 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23886 $as_echo "$ac_cs_version"; exit ;;
23887 --config | --confi | --conf | --con | --co | --c )
23888 $as_echo "$ac_cs_config"; exit ;;
23889 --debug | --debu | --deb | --de | --d | -d )
23891 --file | --fil | --fi | --f )
23894 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23895 '') as_fn_error $? "missing file argument" ;;
23897 as_fn_append CONFIG_FILES " '$ac_optarg'"
23898 ac_need_defaults=false;;
23899 --header | --heade | --head | --hea )
23902 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23904 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23905 ac_need_defaults=false;;
23907 # Conflict between --help and --header
23908 as_fn_error $? "ambiguous option: \`$1'
23909 Try \`$0 --help' for more information.";;
23910 --help | --hel | -h )
23911 $as_echo "$ac_cs_usage"; exit ;;
23912 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23913 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23916 # This is an error.
23917 -*) as_fn_error $? "unrecognized option: \`$1'
23918 Try \`$0 --help' for more information." ;;
23920 *) as_fn_append ac_config_targets " $1"
23921 ac_need_defaults=false ;;
23927 ac_configure_extra_args=
23929 if $ac_cs_silent; then
23931 ac_configure_extra_args="$ac_configure_extra_args --silent"
23935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23936 if \$ac_cs_recheck; then
23937 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23939 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23940 CONFIG_SHELL='$SHELL'
23941 export CONFIG_SHELL
23946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23950 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
23951 @%:@@%:@ Running $as_me. @%:@@%:@
23957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23961 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23964 # The HP-UX ksh and POSIX shell print the target directory to stdout
23965 # if CDPATH is set.
23966 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23968 sed_quote_subst='$sed_quote_subst'
23969 double_quote_subst='$double_quote_subst'
23970 delay_variable_subst='$delay_variable_subst'
23971 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23972 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
23973 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23974 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23975 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23976 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23977 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23978 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23979 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23980 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23981 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23982 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
23983 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23984 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23985 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23986 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23987 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23988 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23989 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23990 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23991 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23992 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23993 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23994 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23995 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23996 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23997 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23998 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23999 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
24000 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
24001 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
24002 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
24003 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
24004 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
24005 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
24006 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
24007 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
24008 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
24009 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
24010 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
24011 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
24012 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
24013 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
24014 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
24015 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
24016 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
24017 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24018 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24019 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
24020 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
24021 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
24022 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
24023 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
24024 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
24025 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
24026 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
24027 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
24028 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"`'
24029 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
24030 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
24031 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
24032 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
24033 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
24034 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24035 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
24036 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
24037 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
24038 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
24039 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
24040 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
24041 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
24042 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
24043 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
24044 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
24045 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
24046 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
24047 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24048 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
24049 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
24050 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
24051 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
24052 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
24053 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
24054 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24055 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
24056 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24057 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
24058 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24059 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
24060 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
24061 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
24062 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
24063 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
24064 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
24065 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
24066 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
24067 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
24068 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
24069 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
24070 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
24071 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
24072 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
24073 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
24074 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
24075 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
24076 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
24077 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
24078 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
24079 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
24080 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
24081 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
24082 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
24083 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
24084 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
24085 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
24086 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
24087 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
24088 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
24089 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24090 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24091 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
24092 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
24093 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
24094 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
24095 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
24096 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
24097 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
24098 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
24099 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
24100 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
24101 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
24102 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
24103 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
24104 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
24105 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
24106 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
24107 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
24108 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
24109 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
24110 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24111 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24112 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
24113 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
24114 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
24115 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
24116 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
24117 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
24118 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
24119 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
24120 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
24121 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24122 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24123 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
24124 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24125 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24126 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24127 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24128 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24129 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24130 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
24131 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24132 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24133 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24134 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
24135 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
24136 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
24137 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
24138 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
24139 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
24140 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
24141 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
24142 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
24143 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24144 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24145 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24146 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24147 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24148 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
24149 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
24150 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
24151 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24152 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24153 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
24154 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
24155 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
24158 LTCFLAGS='$LTCFLAGS'
24159 compiler='$compiler_DEFAULT'
24161 # A function that is used when there is no print builtin or printf.
24162 func_fallback_echo ()
24164 eval 'cat <<_LTECHO_EOF
24169 # Quote evaled strings.
24186 deplibs_check_method \
24190 sharedlib_from_linklib_cmd \
24193 archiver_list_spec \
24199 lt_cv_sys_global_symbol_pipe \
24200 lt_cv_sys_global_symbol_to_cdecl \
24201 lt_cv_sys_global_symbol_to_c_name_address \
24202 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24203 nm_file_list_spec \
24204 lt_prog_compiler_no_builtin_flag \
24205 lt_prog_compiler_pic \
24206 lt_prog_compiler_wl \
24207 lt_prog_compiler_static \
24208 lt_cv_prog_compiler_c_o \
24217 export_dynamic_flag_spec \
24218 whole_archive_flag_spec \
24219 compiler_needs_object \
24221 allow_undefined_flag \
24222 no_undefined_flag \
24223 hardcode_libdir_flag_spec \
24224 hardcode_libdir_separator \
24228 variables_saved_for_relink \
24230 library_names_spec \
24232 install_override_mode \
24236 compiler_lib_search_dirs \
24241 compiler_lib_search_path \
24245 lt_prog_compiler_no_builtin_flag_CXX \
24246 lt_prog_compiler_pic_CXX \
24247 lt_prog_compiler_wl_CXX \
24248 lt_prog_compiler_static_CXX \
24249 lt_cv_prog_compiler_c_o_CXX \
24250 export_dynamic_flag_spec_CXX \
24251 whole_archive_flag_spec_CXX \
24252 compiler_needs_object_CXX \
24254 allow_undefined_flag_CXX \
24255 no_undefined_flag_CXX \
24256 hardcode_libdir_flag_spec_CXX \
24257 hardcode_libdir_separator_CXX \
24258 exclude_expsyms_CXX \
24259 include_expsyms_CXX \
24260 file_list_spec_CXX \
24261 compiler_lib_search_dirs_CXX \
24262 predep_objects_CXX \
24263 postdep_objects_CXX \
24266 compiler_lib_search_path_CXX; do
24267 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24268 *[\\\\\\\`\\"\\\$]*)
24269 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
24272 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24277 # Double-quote double-evaled strings.
24278 for var in reload_cmds \
24279 old_postinstall_cmds \
24280 old_postuninstall_cmds \
24282 extract_expsyms_cmds \
24283 old_archive_from_new_cmds \
24284 old_archive_from_expsyms_cmds \
24286 archive_expsym_cmds \
24288 module_expsym_cmds \
24289 export_symbols_cmds \
24293 postuninstall_cmds \
24295 sys_lib_search_path_spec \
24296 sys_lib_dlsearch_path_spec \
24298 old_archive_cmds_CXX \
24299 old_archive_from_new_cmds_CXX \
24300 old_archive_from_expsyms_cmds_CXX \
24302 archive_expsym_cmds_CXX \
24304 module_expsym_cmds_CXX \
24305 export_symbols_cmds_CXX \
24307 postlink_cmds_CXX; do
24308 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24309 *[\\\\\\\`\\"\\\$]*)
24310 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
24313 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24318 ac_aux_dir='$ac_aux_dir'
24319 xsi_shell='$xsi_shell'
24320 lt_shell_append='$lt_shell_append'
24322 # See if we are running on zsh, and set the options which allow our
24323 # commands through without removal of \ escapes INIT.
24324 if test -n "\${ZSH_VERSION+set}" ; then
24325 setopt NO_GLOB_SUBST
24331 TIMESTAMP='$TIMESTAMP'
24342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24344 # Handling of arguments.
24345 for ac_config_target in $ac_config_targets
24347 case $ac_config_target in
24348 "autotoolsconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS autotoolsconfig.h" ;;
24349 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24350 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24351 "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
24352 "Source/WebKit/gtk/webkit/webkitversion.h") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/webkit/webkitversion.h" ;;
24353 "Source/WebKit/gtk/docs/GNUmakefile") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/docs/GNUmakefile" ;;
24354 "Source/WebKit/gtk/docs/version.xml") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/docs/version.xml" ;;
24355 "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" ;;
24356 "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" ;;
24357 "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" ;;
24358 "Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc:Source/JavaScriptCore/javascriptcoregtk.pc.in" ;;
24359 "Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/webkit2gtk.pc.in" ;;
24361 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24366 # If the user did not use the arguments to specify the items to instantiate,
24367 # then the envvar interface is used. Set only those that are not.
24368 # We use the long form for the default assignment because of an extremely
24369 # bizarre bug on SunOS 4.1.3.
24370 if $ac_need_defaults; then
24371 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24372 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24373 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24376 # Have a temporary directory for convenience. Make it in the build tree
24377 # simply because there is no reason against having it here, and in addition,
24378 # creating and moving files from /tmp can sometimes cause problems.
24379 # Hook for its removal unless debugging.
24380 # Note that there is a small window in which the directory will not be cleaned:
24381 # after its creation but before its name has been assigned to `$tmp'.
24385 trap 'exit_status=$?
24386 : "${ac_tmp:=$tmp}"
24387 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24389 trap 'as_fn_exit 1' 1 2 13 15
24391 # Create a (secure) tmp directory for tmp files.
24394 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24398 tmp=./conf$$-$RANDOM
24399 (umask 077 && mkdir "$tmp")
24400 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24403 # Set up the scripts for CONFIG_FILES section.
24404 # No need to generate them if there are no CONFIG_FILES.
24405 # This happens for instance with `./config.status config.h'.
24406 if test -n "$CONFIG_FILES"; then
24409 ac_cr=`echo X | tr X '\015'`
24410 # On cygwin, bash can eat \r inside `` if the user requested igncr.
24411 # But we know of no other shell where ac_cr would be empty at this
24412 # point, so we can use a bashism as a fallback.
24413 if test "x$ac_cr" = x; then
24414 eval ac_cr=\$\'\\r\'
24416 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24417 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24420 ac_cs_awk_cr=$ac_cr
24423 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24428 echo "cat >conf$$subs.awk <<_ACEOF" &&
24429 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24431 } >conf$$subs.sh ||
24432 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24433 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
24435 for ac_last_try in false false false false false :; do
24436 . ./conf$$subs.sh ||
24437 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24439 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24440 if test $ac_delim_n = $ac_delim_num; then
24442 elif $ac_last_try; then
24443 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24445 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24448 rm -f conf$$subs.sh
24450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24451 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
24455 s/^/S["/; s/!.*/"]=/
24465 s/\(.\{148\}\)..*/\1/
24467 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
24472 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24479 s/\(.\{148\}\)..*/\1/
24481 s/["\\]/\\&/g; s/^/"/; s/$/"/
24485 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24490 ' <conf$$subs.awk | sed '
24495 ' >>$CONFIG_STATUS || ac_write_fail=1
24496 rm -f conf$$subs.awk
24497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24499 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
24500 for (key in S) S_is_set[key] = 1
24506 nfields = split(line, field, "@")
24508 len = length(field[1])
24509 for (i = 2; i < nfields; i++) {
24511 keylen = length(key)
24512 if (S_is_set[key]) {
24514 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24515 len += length(value) + length(field[++i])
24526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24527 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24528 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24531 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
24532 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
24535 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
24536 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
24537 # trailing colons and then remove the whole line if VPATH becomes empty
24538 # (actually we leave an empty line to preserve line numbers).
24539 if test "x$srcdir" = x.; then
24540 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
24558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24559 fi # test -n "$CONFIG_FILES"
24561 # Set up the scripts for CONFIG_HEADERS section.
24562 # No need to generate them if there are no CONFIG_HEADERS.
24563 # This happens for instance with `./config.status Makefile'.
24564 if test -n "$CONFIG_HEADERS"; then
24565 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24569 # Transform confdefs.h into an awk script `defines.awk', embedded as
24570 # here-document in config.status, that substitutes the proper values into
24571 # config.h.in to produce config.h.
24573 # Create a delimiter string that does not exist in confdefs.h, to ease
24574 # handling of long lines.
24576 for ac_last_try in false false :; do
24577 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24578 if test -z "$ac_tt"; then
24580 elif $ac_last_try; then
24581 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24583 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24587 # For the awk script, D is an array of macro values keyed by name,
24588 # likewise P contains macro parameters if any. Preserve backslash
24589 # newline sequences.
24591 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24593 s/.\{148\}/&'"$ac_delim"'/g
24596 s/^[ ]*#[ ]*define[ ][ ]*/ /
24603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24605 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24609 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24610 D["\1"]=" \3\\\\\\n"\\/p
24612 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24617 s/.\{148\}/&'"$ac_delim"'/g
24622 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24625 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24627 ' <confdefs.h | sed '
24628 s/'"$ac_delim"'/"\\\
24629 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24632 for (key in D) D_is_set[key] = 1
24635 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24637 split(line, arg, " ")
24638 if (arg[1] == "#") {
24642 defundef = substr(arg[1], 2)
24645 split(mac1, mac2, "(") #)
24647 prefix = substr(line, 1, index(line, defundef) - 1)
24648 if (D_is_set[macro]) {
24649 # Preserve the white space surrounding the "#".
24650 print prefix "define", macro P[macro] D[macro]
24653 # Replace #undef with comments. This is necessary, for example,
24654 # in the case of _POSIX_SOURCE, which is predefined and required
24655 # on some systems where configure will not decide to define it.
24656 if (defundef == "undef") {
24657 print "/*", prefix defundef, macro, "*/"
24665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24666 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24667 fi # test -n "$CONFIG_HEADERS"
24670 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
24675 :[FHLC]) ac_mode=$ac_tag; continue;;
24677 case $ac_mode$ac_tag in
24679 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24680 :[FH]-) ac_tag=-:-;;
24681 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24698 -) ac_f="$ac_tmp/stdin";;
24699 *) # Look for the file first in the build tree, then in the source tree
24700 # (if the path is not absolute). The absolute path cannot be DOS-style,
24701 # because $ac_f cannot contain `:'.
24705 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24707 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24709 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24710 as_fn_append ac_file_inputs " '$ac_f'"
24713 # Let's still pretend it is `configure' which instantiates (i.e., don't
24714 # use $as_me), people would be surprised to read:
24715 # /* config.h. Generated by config.status. */
24716 configure_input='Generated from '`
24717 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24719 if test x"$ac_file" != x-; then
24720 configure_input="$ac_file. $configure_input"
24721 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24722 $as_echo "$as_me: creating $ac_file" >&6;}
24724 # Neutralize special characters interpreted by sed in replacement strings.
24725 case $configure_input in #(
24726 *\&* | *\|* | *\\* )
24727 ac_sed_conf_input=`$as_echo "$configure_input" |
24728 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24729 *) ac_sed_conf_input=$configure_input;;
24733 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24739 ac_dir=`$as_dirname -- "$ac_file" ||
24740 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24741 X"$ac_file" : 'X\(//\)[^/]' \| \
24742 X"$ac_file" : 'X\(//\)$' \| \
24743 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24744 $as_echo X"$ac_file" |
24745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24749 /^X\(\/\/\)[^/].*/{
24762 as_dir="$ac_dir"; as_fn_mkdir_p
24766 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24768 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24769 # A ".." for each directory in $ac_dir_suffix.
24770 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24771 case $ac_top_builddir_sub in
24772 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24773 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24776 ac_abs_top_builddir=$ac_pwd
24777 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24778 # for backward compatibility:
24779 ac_top_builddir=$ac_top_build_prefix
24782 .) # We are building in place.
24784 ac_top_srcdir=$ac_top_builddir_sub
24785 ac_abs_top_srcdir=$ac_pwd ;;
24786 [\\/]* | ?:[\\/]* ) # Absolute name.
24787 ac_srcdir=$srcdir$ac_dir_suffix;
24788 ac_top_srcdir=$srcdir
24789 ac_abs_top_srcdir=$srcdir ;;
24790 *) # Relative name.
24791 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24792 ac_top_srcdir=$ac_top_build_prefix$srcdir
24793 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24795 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24805 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24806 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24808 ac_MKDIR_P=$MKDIR_P
24810 [\\/$]* | ?:[\\/]* ) ;;
24811 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
24815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24816 # If the template does not know about datarootdir, expand it.
24817 # FIXME: This hack should be removed a few years after 2.60.
24818 ac_datarootdir_hack=; ac_datarootdir_seen=
24829 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24830 *datarootdir*) ac_datarootdir_seen=yes;;
24831 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24833 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24836 ac_datarootdir_hack='
24837 s&@datadir@&$datadir&g
24838 s&@docdir@&$docdir&g
24839 s&@infodir@&$infodir&g
24840 s&@localedir@&$localedir&g
24841 s&@mandir@&$mandir&g
24842 s&\\\${datarootdir}&$datarootdir&g' ;;
24846 # Neutralize VPATH when `$srcdir' = `.'.
24847 # Shell code in configure.ac might set extrasub.
24848 # FIXME: do we really want to maintain this feature?
24849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24850 ac_sed_extra="$ac_vpsub
24853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24855 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24856 s|@configure_input@|$ac_sed_conf_input|;t t
24857 s&@top_builddir@&$ac_top_builddir_sub&;t t
24858 s&@top_build_prefix@&$ac_top_build_prefix&;t t
24859 s&@srcdir@&$ac_srcdir&;t t
24860 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24861 s&@top_srcdir@&$ac_top_srcdir&;t t
24862 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24863 s&@builddir@&$ac_builddir&;t t
24864 s&@abs_builddir@&$ac_abs_builddir&;t t
24865 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24866 s&@INSTALL@&$ac_INSTALL&;t t
24867 s&@MKDIR_P@&$ac_MKDIR_P&;t t
24868 $ac_datarootdir_hack
24870 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
24871 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24873 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24874 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
24875 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
24876 "$ac_tmp/out"`; test -z "$ac_out"; } &&
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24878 which seems to be undefined. Please make sure it is defined" >&5
24879 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24880 which seems to be undefined. Please make sure it is defined" >&2;}
24882 rm -f "$ac_tmp/stdin"
24884 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24885 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24893 if test x"$ac_file" != x-; then
24895 $as_echo "/* $configure_input */" \
24896 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24897 } >"$ac_tmp/config.h" \
24898 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24899 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24901 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24904 mv "$ac_tmp/config.h" "$ac_file" \
24905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24908 $as_echo "/* $configure_input */" \
24909 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24910 || as_fn_error $? "could not create -" "$LINENO" 5
24912 # Compute "$ac_file"'s index in $config_headers.
24915 for _am_header in $config_headers :; do
24916 case $_am_header in
24917 $_am_arg | $_am_arg:* )
24920 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24923 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24924 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24925 X"$_am_arg" : 'X\(//\)[^/]' \| \
24926 X"$_am_arg" : 'X\(//\)$' \| \
24927 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24928 $as_echo X"$_am_arg" |
24929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24933 /^X\(\/\/\)[^/].*/{
24945 s/.*/./; q'`/stamp-h$_am_stamp_count
24948 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24949 $as_echo "$as_me: executing $ac_file commands" >&6;}
24954 case $ac_file$ac_mode in
24955 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
24956 # Autoconf 2.62 quotes --file arguments for eval, but not when files
24957 # are listed without --file. Let's play safe and only enable the eval
24958 # if we detect the quoting.
24959 case $CONFIG_FILES in
24960 *\'*) eval set x "$CONFIG_FILES" ;;
24961 *) set x $CONFIG_FILES ;;
24966 # Strip MF so we end up with the name of the file.
24967 mf=`echo "$mf" | sed -e 's/:.*$//'`
24968 # Check whether this is an Automake generated Makefile or not.
24969 # We used to match only the files named `Makefile.in', but
24970 # some people rename them; so instead we look at the file content.
24971 # Grep'ing the first line is not enough: some people post-process
24972 # each Makefile.in and add a new line on top of each file to say so.
24973 # Grep'ing the whole file is not good either: AIX grep has a line
24974 # limit of 2048, but all sed's we know have understand at least 4000.
24975 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
24976 dirpart=`$as_dirname -- "$mf" ||
24977 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24978 X"$mf" : 'X\(//\)[^/]' \| \
24979 X"$mf" : 'X\(//\)$' \| \
24980 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24986 /^X\(\/\/\)[^/].*/{
25002 # Extract the definition of DEPDIR, am__include, and am__quote
25003 # from the Makefile without running `make'.
25004 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25005 test -z "$DEPDIR" && continue
25006 am__include=`sed -n 's/^am__include = //p' < "$mf"`
25007 test -z "am__include" && continue
25008 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25009 # When using ansi2knr, U may be empty or an underscore; expand it
25010 U=`sed -n 's/^U = //p' < "$mf"`
25011 # Find all dependency output files, they are included files with
25012 # $(DEPDIR) in their names. We invoke sed twice because it is the
25013 # simplest approach to changing $(DEPDIR) to its actual value in the
25015 for file in `sed -n "
25016 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25017 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25018 # Make sure the directory exists.
25019 test -f "$dirpart/$file" && continue
25020 fdir=`$as_dirname -- "$file" ||
25021 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25022 X"$file" : 'X\(//\)[^/]' \| \
25023 X"$file" : 'X\(//\)$' \| \
25024 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25025 $as_echo X"$file" |
25026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25030 /^X\(\/\/\)[^/].*/{
25043 as_dir=$dirpart/$fdir; as_fn_mkdir_p
25044 # echo "creating $dirpart/$file"
25045 echo '# dummy' > "$dirpart/$file"
25052 # See if we are running on zsh, and set the options which allow our
25053 # commands through without removal of \ escapes.
25054 if test -n "${ZSH_VERSION+set}" ; then
25055 setopt NO_GLOB_SUBST
25058 cfgfile="${ofile}T"
25059 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
25062 cat <<_LT_EOF >> "$cfgfile"
25065 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
25066 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
25067 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25068 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
25070 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25071 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
25073 # Written by Gordon Matzigkeit, 1996
25075 # This file is part of GNU Libtool.
25077 # GNU Libtool is free software; you can redistribute it and/or
25078 # modify it under the terms of the GNU General Public License as
25079 # published by the Free Software Foundation; either version 2 of
25080 # the License, or (at your option) any later version.
25082 # As a special exception to the GNU General Public License,
25083 # if you distribute this file as part of a program or library that
25084 # is built using GNU Libtool, you may include this file under the
25085 # same distribution terms that you use for the rest of that program.
25087 # GNU Libtool is distributed in the hope that it will be useful,
25088 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25089 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25090 # GNU General Public License for more details.
25092 # You should have received a copy of the GNU General Public License
25093 # along with GNU Libtool; see the file COPYING. If not, a copy
25094 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
25095 # obtained by writing to the Free Software Foundation, Inc.,
25096 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25099 # The names of the tagged configurations supported by this script.
25100 available_tags="CXX "
25102 # ### BEGIN LIBTOOL CONFIG
25104 # Whether or not to build static libraries.
25105 build_old_libs=$enable_static
25107 # Assembler program.
25110 # DLL creation program.
25111 DLLTOOL=$lt_DLLTOOL
25113 # Object dumper program.
25114 OBJDUMP=$lt_OBJDUMP
25116 # Which release of libtool.m4 was used?
25117 macro_version=$macro_version
25118 macro_revision=$macro_revision
25120 # Whether or not to build shared libraries.
25121 build_libtool_libs=$enable_shared
25123 # What type of objects to build.
25126 # Whether or not to optimize for fast installation.
25127 fast_install=$enable_fast_install
25129 # Shell to use when invoking shell scripts.
25132 # An echo program that protects backslashes.
25135 # The PATH separator for the build system.
25136 PATH_SEPARATOR=$lt_PATH_SEPARATOR
25139 host_alias=$host_alias
25143 # The build system.
25144 build_alias=$build_alias
25148 # A sed program that does not truncate output.
25151 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
25152 Xsed="\$SED -e 1s/^X//"
25154 # A grep program that handles long lines.
25160 # A literal string matcher.
25163 # A BSD- or MS-compatible name lister.
25166 # Whether we need soft or hard links.
25169 # What is the maximum length of a command?
25170 max_cmd_len=$max_cmd_len
25172 # Object file suffix (normally "o").
25175 # Executable file suffix (normally "").
25178 # whether the shell understands "unset".
25181 # turn spaces into newlines.
25184 # turn newlines into spaces.
25187 # convert \$build file names to \$host format.
25188 to_host_file_cmd=$lt_cv_to_host_file_cmd
25190 # convert \$build files to toolchain format.
25191 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
25193 # Method to check whether dependent libraries are shared objects.
25194 deplibs_check_method=$lt_deplibs_check_method
25196 # Command to use when deplibs_check_method = "file_magic".
25197 file_magic_cmd=$lt_file_magic_cmd
25199 # How to find potential files when deplibs_check_method = "file_magic".
25200 file_magic_glob=$lt_file_magic_glob
25202 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
25203 want_nocaseglob=$lt_want_nocaseglob
25205 # Command to associate shared and link libraries.
25206 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
25211 # Flags to create an archive.
25212 AR_FLAGS=$lt_AR_FLAGS
25214 # How to feed a file listing to the archiver.
25215 archiver_list_spec=$lt_archiver_list_spec
25217 # A symbol stripping program.
25220 # Commands used to install an old-style archive.
25222 old_postinstall_cmds=$lt_old_postinstall_cmds
25223 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25225 # Whether to use a lock for old archive extraction.
25226 lock_old_archive_extraction=$lock_old_archive_extraction
25231 # LTCC compiler flags.
25232 LTCFLAGS=$lt_CFLAGS
25234 # Take the output of nm and produce a listing of raw symbols and C names.
25235 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25237 # Transform the output of nm in a proper C declaration.
25238 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25240 # Transform the output of nm in a C name address pair.
25241 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25243 # Transform the output of nm in a C name address pair when lib prefix is needed.
25244 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25246 # Specify filename containing input files for \$NM.
25247 nm_file_list_spec=$lt_nm_file_list_spec
25249 # The root where to search for dependent libraries,and in which our libraries should be installed.
25250 lt_sysroot=$lt_sysroot
25252 # The name of the directory that contains temporary libtool files.
25255 # Used to examine libraries when file_magic_cmd begins with "file".
25256 MAGIC_CMD=$MAGIC_CMD
25258 # Must we lock files when doing compilation?
25259 need_locks=$lt_need_locks
25262 MANIFEST_TOOL=$lt_MANIFEST_TOOL
25264 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25265 DSYMUTIL=$lt_DSYMUTIL
25267 # Tool to change global to local symbols on Mac OS X.
25270 # Tool to manipulate fat objects and archives on Mac OS X.
25273 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
25276 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25277 OTOOL64=$lt_OTOOL64
25279 # Old archive suffix (normally "a").
25282 # Shared library suffix (normally ".so").
25283 shrext_cmds=$lt_shrext_cmds
25285 # The commands to extract the exported symbol list from a shared archive.
25286 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25288 # Variables whose values should be saved in libtool wrapper scripts and
25289 # restored at link time.
25290 variables_saved_for_relink=$lt_variables_saved_for_relink
25292 # Do we need the "lib" prefix for modules?
25293 need_lib_prefix=$need_lib_prefix
25295 # Do we need a version for libraries?
25296 need_version=$need_version
25298 # Library versioning type.
25299 version_type=$version_type
25301 # Shared library runtime path variable.
25302 runpath_var=$runpath_var
25304 # Shared library path variable.
25305 shlibpath_var=$shlibpath_var
25307 # Is shlibpath searched before the hard-coded library search path?
25308 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25310 # Format of library name prefix.
25311 libname_spec=$lt_libname_spec
25313 # List of archive names. First name is the real one, the rest are links.
25314 # The last name is the one that the linker finds with -lNAME
25315 library_names_spec=$lt_library_names_spec
25317 # The coded name of the library, if different from the real name.
25318 soname_spec=$lt_soname_spec
25320 # Permission mode override for installation of shared libraries.
25321 install_override_mode=$lt_install_override_mode
25323 # Command to use after installation of a shared archive.
25324 postinstall_cmds=$lt_postinstall_cmds
25326 # Command to use after uninstallation of a shared archive.
25327 postuninstall_cmds=$lt_postuninstall_cmds
25329 # Commands used to finish a libtool library installation in a directory.
25330 finish_cmds=$lt_finish_cmds
25332 # As "finish_cmds", except a single script fragment to be evaled but
25334 finish_eval=$lt_finish_eval
25336 # Whether we should hardcode library paths into libraries.
25337 hardcode_into_libs=$hardcode_into_libs
25339 # Compile-time system search path for libraries.
25340 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25342 # Run-time system search path for libraries.
25343 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25345 # Whether dlopen is supported.
25346 dlopen_support=$enable_dlopen
25348 # Whether dlopen of programs is supported.
25349 dlopen_self=$enable_dlopen_self
25351 # Whether dlopen of statically linked programs is supported.
25352 dlopen_self_static=$enable_dlopen_self_static
25354 # Commands to strip libraries.
25355 old_striplib=$lt_old_striplib
25356 striplib=$lt_striplib
25359 # The linker used to build libraries.
25362 # How to create reloadable object files.
25363 reload_flag=$lt_reload_flag
25364 reload_cmds=$lt_reload_cmds
25366 # Commands used to build an old-style archive.
25367 old_archive_cmds=$lt_old_archive_cmds
25369 # A language specific compiler.
25372 # Is the compiler the GNU compiler?
25375 # Compiler flag to turn off builtin functions.
25376 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25378 # Additional compiler flags for building library objects.
25379 pic_flag=$lt_lt_prog_compiler_pic
25381 # How to pass a linker flag through the compiler.
25382 wl=$lt_lt_prog_compiler_wl
25384 # Compiler flag to prevent dynamic linking.
25385 link_static_flag=$lt_lt_prog_compiler_static
25387 # Does compiler simultaneously support -c and -o options?
25388 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25390 # Whether or not to add -lc for building shared libraries.
25391 build_libtool_need_lc=$archive_cmds_need_lc
25393 # Whether or not to disallow shared libs when runtime libs are static.
25394 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25396 # Compiler flag to allow reflexive dlopens.
25397 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25399 # Compiler flag to generate shared objects directly from archives.
25400 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25402 # Whether the compiler copes with passing no objects directly.
25403 compiler_needs_object=$lt_compiler_needs_object
25405 # Create an old-style archive from a shared archive.
25406 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25408 # Create a temporary old-style archive to link instead of a shared archive.
25409 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25411 # Commands used to build a shared archive.
25412 archive_cmds=$lt_archive_cmds
25413 archive_expsym_cmds=$lt_archive_expsym_cmds
25415 # Commands used to build a loadable module if different from building
25416 # a shared archive.
25417 module_cmds=$lt_module_cmds
25418 module_expsym_cmds=$lt_module_expsym_cmds
25420 # Whether we are building with GNU ld or not.
25421 with_gnu_ld=$lt_with_gnu_ld
25423 # Flag that allows shared libraries with undefined symbols to be built.
25424 allow_undefined_flag=$lt_allow_undefined_flag
25426 # Flag that enforces no undefined symbols.
25427 no_undefined_flag=$lt_no_undefined_flag
25429 # Flag to hardcode \$libdir into a binary during linking.
25430 # This must work even if \$libdir does not exist
25431 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25433 # Whether we need a single "-rpath" flag with a separated argument.
25434 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25436 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25437 # DIR into the resulting binary.
25438 hardcode_direct=$hardcode_direct
25440 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25441 # DIR into the resulting binary and the resulting library dependency is
25442 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25443 # library is relocated.
25444 hardcode_direct_absolute=$hardcode_direct_absolute
25446 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25447 # into the resulting binary.
25448 hardcode_minus_L=$hardcode_minus_L
25450 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25451 # into the resulting binary.
25452 hardcode_shlibpath_var=$hardcode_shlibpath_var
25454 # Set to "yes" if building a shared library automatically hardcodes DIR
25455 # into the library and all subsequent libraries and executables linked
25457 hardcode_automatic=$hardcode_automatic
25459 # Set to yes if linker adds runtime paths of dependent libraries
25460 # to runtime path list.
25461 inherit_rpath=$inherit_rpath
25463 # Whether libtool must link a program against all its dependency libraries.
25464 link_all_deplibs=$link_all_deplibs
25466 # Set to "yes" if exported symbols are required.
25467 always_export_symbols=$always_export_symbols
25469 # The commands to list exported symbols.
25470 export_symbols_cmds=$lt_export_symbols_cmds
25472 # Symbols that should not be listed in the preloaded symbols.
25473 exclude_expsyms=$lt_exclude_expsyms
25475 # Symbols that must always be exported.
25476 include_expsyms=$lt_include_expsyms
25478 # Commands necessary for linking programs (against libraries) with templates.
25479 prelink_cmds=$lt_prelink_cmds
25481 # Commands necessary for finishing linking programs.
25482 postlink_cmds=$lt_postlink_cmds
25484 # Specify filename containing input files.
25485 file_list_spec=$lt_file_list_spec
25487 # How to hardcode a shared library path into an executable.
25488 hardcode_action=$hardcode_action
25490 # The directories searched by this compiler when creating a shared library.
25491 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
25493 # Dependencies to place before and after the objects being linked to
25494 # create a shared library.
25495 predep_objects=$lt_predep_objects
25496 postdep_objects=$lt_postdep_objects
25497 predeps=$lt_predeps
25498 postdeps=$lt_postdeps
25500 # The library search path used internally by the compiler when linking
25501 # a shared library.
25502 compiler_lib_search_path=$lt_compiler_lib_search_path
25504 # ### END LIBTOOL CONFIG
25510 cat <<\_LT_EOF >> "$cfgfile"
25511 # AIX sometimes has problems with the GCC collect2 program. For some
25512 # reason, if we set the COLLECT_NAMES environment variable, the problems
25513 # vanish in a puff of smoke.
25514 if test "X${COLLECT_NAMES+set}" != Xset; then
25516 export COLLECT_NAMES
25523 ltmain="$ac_aux_dir/ltmain.sh"
25526 # We use sed instead of cat because bash on DJGPP gets confused if
25527 # if finds mixed CR/LF and LF-only lines. Since sed operates in
25528 # text mode, it properly converts lines to CR/LF. This bash problem
25529 # is reportedly fixed, but why not run on old versions too?
25530 sed '$q' "$ltmain" >> "$cfgfile" \
25531 || (rm -f "$cfgfile"; exit 1)
25533 if test x"$xsi_shell" = xyes; then
25534 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
25538 \ */*) func_dirname_result="${1%/*}${2}" ;;\
25539 \ * ) func_dirname_result="${3}" ;;\
25541 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
25542 && mv -f "$cfgfile.tmp" "$cfgfile" \
25543 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25544 test 0 -eq $? || _lt_function_replace_fail=:
25547 sed -e '/^func_basename ()$/,/^} # func_basename /c\
25550 \ func_basename_result="${1##*/}"\
25551 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
25552 && mv -f "$cfgfile.tmp" "$cfgfile" \
25553 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25554 test 0 -eq $? || _lt_function_replace_fail=:
25557 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
25558 func_dirname_and_basename ()\
25561 \ */*) func_dirname_result="${1%/*}${2}" ;;\
25562 \ * ) func_dirname_result="${3}" ;;\
25564 \ func_basename_result="${1##*/}"\
25565 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
25566 && mv -f "$cfgfile.tmp" "$cfgfile" \
25567 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25568 test 0 -eq $? || _lt_function_replace_fail=:
25571 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
25574 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
25575 \ # positional parameters, so assign one to ordinary parameter first.\
25576 \ func_stripname_result=${3}\
25577 \ func_stripname_result=${func_stripname_result#"${1}"}\
25578 \ func_stripname_result=${func_stripname_result%"${2}"}\
25579 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
25580 && mv -f "$cfgfile.tmp" "$cfgfile" \
25581 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25582 test 0 -eq $? || _lt_function_replace_fail=:
25585 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
25586 func_split_long_opt ()\
25588 \ func_split_long_opt_name=${1%%=*}\
25589 \ func_split_long_opt_arg=${1#*=}\
25590 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
25591 && mv -f "$cfgfile.tmp" "$cfgfile" \
25592 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25593 test 0 -eq $? || _lt_function_replace_fail=:
25596 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
25597 func_split_short_opt ()\
25599 \ func_split_short_opt_arg=${1#??}\
25600 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
25601 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
25602 && mv -f "$cfgfile.tmp" "$cfgfile" \
25603 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25604 test 0 -eq $? || _lt_function_replace_fail=:
25607 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
25611 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
25612 \ *) func_lo2o_result=${1} ;;\
25614 } # Extended-shell func_lo2o 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_xform ()$/,/^} # func_xform /c\
25623 func_xform_result=${1%.*}.lo\
25624 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
25625 && mv -f "$cfgfile.tmp" "$cfgfile" \
25626 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25627 test 0 -eq $? || _lt_function_replace_fail=:
25630 sed -e '/^func_arith ()$/,/^} # func_arith /c\
25633 func_arith_result=$(( $* ))\
25634 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
25635 && mv -f "$cfgfile.tmp" "$cfgfile" \
25636 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25637 test 0 -eq $? || _lt_function_replace_fail=:
25640 sed -e '/^func_len ()$/,/^} # func_len /c\
25643 func_len_result=${#1}\
25644 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
25645 && mv -f "$cfgfile.tmp" "$cfgfile" \
25646 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25647 test 0 -eq $? || _lt_function_replace_fail=:
25651 if test x"$lt_shell_append" = xyes; then
25652 sed -e '/^func_append ()$/,/^} # func_append /c\
25655 eval "${1}+=\\${2}"\
25656 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
25657 && mv -f "$cfgfile.tmp" "$cfgfile" \
25658 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25659 test 0 -eq $? || _lt_function_replace_fail=:
25662 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
25663 func_append_quoted ()\
25665 \ func_quote_for_eval "${2}"\
25666 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
25667 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
25668 && mv -f "$cfgfile.tmp" "$cfgfile" \
25669 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25670 test 0 -eq $? || _lt_function_replace_fail=:
25673 # Save a `func_append' function call where possible by direct use of '+='
25674 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
25675 && mv -f "$cfgfile.tmp" "$cfgfile" \
25676 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25677 test 0 -eq $? || _lt_function_replace_fail=:
25679 # Save a `func_append' function call even when '+=' is not available
25680 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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 if test x"$_lt_function_replace_fail" = x":"; then
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
25688 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
25692 mv -f "$cfgfile" "$ofile" ||
25693 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25697 cat <<_LT_EOF >> "$ofile"
25699 # ### BEGIN LIBTOOL TAG CONFIG: CXX
25701 # The linker used to build libraries.
25704 # How to create reloadable object files.
25705 reload_flag=$lt_reload_flag_CXX
25706 reload_cmds=$lt_reload_cmds_CXX
25708 # Commands used to build an old-style archive.
25709 old_archive_cmds=$lt_old_archive_cmds_CXX
25711 # A language specific compiler.
25712 CC=$lt_compiler_CXX
25714 # Is the compiler the GNU compiler?
25717 # Compiler flag to turn off builtin functions.
25718 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25720 # Additional compiler flags for building library objects.
25721 pic_flag=$lt_lt_prog_compiler_pic_CXX
25723 # How to pass a linker flag through the compiler.
25724 wl=$lt_lt_prog_compiler_wl_CXX
25726 # Compiler flag to prevent dynamic linking.
25727 link_static_flag=$lt_lt_prog_compiler_static_CXX
25729 # Does compiler simultaneously support -c and -o options?
25730 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25732 # Whether or not to add -lc for building shared libraries.
25733 build_libtool_need_lc=$archive_cmds_need_lc_CXX
25735 # Whether or not to disallow shared libs when runtime libs are static.
25736 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25738 # Compiler flag to allow reflexive dlopens.
25739 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25741 # Compiler flag to generate shared objects directly from archives.
25742 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25744 # Whether the compiler copes with passing no objects directly.
25745 compiler_needs_object=$lt_compiler_needs_object_CXX
25747 # Create an old-style archive from a shared archive.
25748 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25750 # Create a temporary old-style archive to link instead of a shared archive.
25751 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25753 # Commands used to build a shared archive.
25754 archive_cmds=$lt_archive_cmds_CXX
25755 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25757 # Commands used to build a loadable module if different from building
25758 # a shared archive.
25759 module_cmds=$lt_module_cmds_CXX
25760 module_expsym_cmds=$lt_module_expsym_cmds_CXX
25762 # Whether we are building with GNU ld or not.
25763 with_gnu_ld=$lt_with_gnu_ld_CXX
25765 # Flag that allows shared libraries with undefined symbols to be built.
25766 allow_undefined_flag=$lt_allow_undefined_flag_CXX
25768 # Flag that enforces no undefined symbols.
25769 no_undefined_flag=$lt_no_undefined_flag_CXX
25771 # Flag to hardcode \$libdir into a binary during linking.
25772 # This must work even if \$libdir does not exist
25773 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25775 # Whether we need a single "-rpath" flag with a separated argument.
25776 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25778 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25779 # DIR into the resulting binary.
25780 hardcode_direct=$hardcode_direct_CXX
25782 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25783 # DIR into the resulting binary and the resulting library dependency is
25784 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25785 # library is relocated.
25786 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25788 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25789 # into the resulting binary.
25790 hardcode_minus_L=$hardcode_minus_L_CXX
25792 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25793 # into the resulting binary.
25794 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25796 # Set to "yes" if building a shared library automatically hardcodes DIR
25797 # into the library and all subsequent libraries and executables linked
25799 hardcode_automatic=$hardcode_automatic_CXX
25801 # Set to yes if linker adds runtime paths of dependent libraries
25802 # to runtime path list.
25803 inherit_rpath=$inherit_rpath_CXX
25805 # Whether libtool must link a program against all its dependency libraries.
25806 link_all_deplibs=$link_all_deplibs_CXX
25808 # Set to "yes" if exported symbols are required.
25809 always_export_symbols=$always_export_symbols_CXX
25811 # The commands to list exported symbols.
25812 export_symbols_cmds=$lt_export_symbols_cmds_CXX
25814 # Symbols that should not be listed in the preloaded symbols.
25815 exclude_expsyms=$lt_exclude_expsyms_CXX
25817 # Symbols that must always be exported.
25818 include_expsyms=$lt_include_expsyms_CXX
25820 # Commands necessary for linking programs (against libraries) with templates.
25821 prelink_cmds=$lt_prelink_cmds_CXX
25823 # Commands necessary for finishing linking programs.
25824 postlink_cmds=$lt_postlink_cmds_CXX
25826 # Specify filename containing input files.
25827 file_list_spec=$lt_file_list_spec_CXX
25829 # How to hardcode a shared library path into an executable.
25830 hardcode_action=$hardcode_action_CXX
25832 # The directories searched by this compiler when creating a shared library.
25833 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25835 # Dependencies to place before and after the objects being linked to
25836 # create a shared library.
25837 predep_objects=$lt_predep_objects_CXX
25838 postdep_objects=$lt_postdep_objects_CXX
25839 predeps=$lt_predeps_CXX
25840 postdeps=$lt_postdeps_CXX
25842 # The library search path used internally by the compiler when linking
25843 # a shared library.
25844 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25846 # ### END LIBTOOL TAG CONFIG: CXX
25850 "Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25852 "Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25854 "Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25856 "Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25858 "Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25867 ac_clean_files=$ac_clean_files_save
25869 test $ac_write_fail = 0 ||
25870 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
25873 # configure is writing to config.log, and then calls config.status.
25874 # config.status does its own redirection, appending to config.log.
25875 # Unfortunately, on DOS this fails, as config.log is still kept open
25876 # by configure, so config.status won't be able to write to it; its
25877 # output is simply discarded. So we exec the FD to /dev/null,
25878 # effectively closing config.log, so it can be properly (re)opened and
25879 # appended to by config.status. When coming back to configure, we
25880 # need to make the FD available again.
25881 if test "$no_create" != yes; then
25883 ac_config_status_args=
25884 test "$silent" = yes &&
25885 ac_config_status_args="$ac_config_status_args --quiet"
25887 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25889 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25890 # would make configure fail if this is the last instruction.
25891 $ac_cs_success || as_fn_exit 1
25893 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25895 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
25900 WebKit was configured with the following options:
25902 Build configuration:
25903 Enable debugging (slow) : $enable_debug
25904 Compile with debug symbols (slow) : $enable_debug_symbols
25905 Enable debug features (slow) : $enable_debug_features
25906 Enable GCC build optimization : $enable_optimizations
25907 Code coverage support : $enable_coverage
25908 Unicode backend : $with_unicode_backend
25909 Font backend : $with_font_backend
25910 Optimized memory allocator : $enable_fast_malloc
25912 3D Rendering : $enable_3d_rendering
25913 WebGL : $enable_webgl
25914 Blob support : $enable_blob
25915 DeviceOrientation support : $enable_device_orientation
25916 Directory upload : $enable_directory_upload
25917 Fast Mobile Scrolling : $enable_fast_mobile_scrolling
25918 JIT compilation : $enable_jit
25919 Filters support : $enable_filters
25920 Geolocation support : $enable_geolocation
25921 Client-based geolocation support : $enable_client_based_geolocation
25922 JavaScript debugger/profiler support : $enable_javascript_debugger
25923 MathML support : $enable_mathml
25924 Media source : $enable_media_source
25925 Media statistics : $enable_media_statistics
25926 HTML5 offline web applications support : $enable_offline_web_applications
25927 HTML5 channel messaging support : $enable_channel_messaging
25928 HTML5 meter element support : $enable_meter_tag
25929 Page Visibility API support : $enable_page_visibility_api
25930 HTML5 progress element support : $enable_progress_tag
25931 HTML5 client-side session and persistent storage support : $enable_dom_storage
25932 SQL client-side database storage support : $enable_sql_database
25933 HTML5 datagrid support : $enable_datagrid
25934 HTML5 data transfer items support : $enable_data_transfer_items
25935 HTML5 FileSystem API support : $enable_file_system
25936 Quota API support : $enable_quota
25937 HTML5 sandboxed iframe support : $enable_sandbox
25938 HTML5 video element support : $enable_video
25939 HTML5 track element support : $enable_video_track
25940 Fullscreen API support : $enable_fullscreen_api
25941 Media stream support : $enable_media_stream
25942 Icon database support : $enable_icon_database
25943 Image resizer support : $enable_image_resizer
25944 Link prefetch support : $enable_link_prefetch
25945 Opcode stats : $enable_opcode_stats
25946 SharedWorkers support : $enable_shared_workers
25947 Color input support : $enable_input_color
25948 Speech input support : $enable_input_speech
25949 SVG support : $enable_svg
25950 SVG fonts support : $enable_svg_fonts
25951 WCSS support : $enable_wcss
25952 Web Audio support : $enable_web_audio
25953 Web Sockets support : $enable_web_sockets
25954 Web Timing support : $enable_web_timing
25955 Web Workers support : $enable_workers
25956 XHTML-MP support : $enable_xhtmlmp
25957 XPATH support : $enable_xpath
25958 XSLT support : $enable_xslt
25959 Spellcheck support : $enable_spellcheck
25960 Animation API : $enable_animation_api
25961 Touch Icon Loading support : $enable_touch_icon_loading
25962 Register Protocol Handler support : $enable_register_protocol_handler
25963 WebKit2 support : $enable_webkit2
25964 WebKit2 plugin process : $enable_plugin_process
25966 GTK+ configuration:
25967 GTK+ version : $with_gtk
25968 GDK target : $with_target
25969 Hildon UI extensions : $with_hildon
25970 Introspection support : $enable_introspection
25972 if test "$with_unicode_backend" = "glib"; then
25973 echo " >> WARNING: the glib-based unicode backend is slow and incomplete <<"