2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ibus 1.5.4.
5 # Report bugs to <http://code.google.com/p/ibus/issues/entry>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://code.google.com/p/ibus/issues/entry about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 # Use only awk features that work with 7th edition Unix awk (1978).
569 # My, what an old awk you have, Mr. Solaris!
571 while (length(v1) && length(v2)) {
572 # Set d1 to be the next thing to compare from v1, and likewise for d2.
573 # Normally this is a single character, but if v1 and v2 contain digits,
574 # compare them as integers and fractions as strverscmp does.
575 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
576 # Split v1 and v2 into their leading digit string components d1 and d2,
577 # and advance v1 and v2 past the leading digit strings.
578 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
579 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
580 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
581 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
584 # Compare two fractions.
585 while (d1 ~ /^0/ && d2 ~ /^0/) {
586 d1 = substr(d1, 2); len1--
587 d2 = substr(d2, 2); len2--
589 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
590 # The two components differ in length, and the common prefix
591 # contains only leading zeros. Consider the longer to be less.
595 # Otherwise, compare as strings.
600 # A fraction is less than an integer.
605 # An integer is greater than a fraction.
608 # Compare two integers.
614 # The normal case, without worrying about digits.
615 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
616 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
621 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
622 # which mishandles some comparisons of empty strings to integers.
623 if (length(v2)) exit 1
624 if (length(v1)) exit 2
627 SHELL=${CONFIG_SHELL-/bin/sh}
630 test -n "$DJDIR" || exec 7<&0 </dev/null
634 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
635 # so uname gets run too.
636 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
641 ac_default_prefix=/usr/local
643 ac_config_libobj_dir=.
650 # Identity of this package.
652 PACKAGE_TARNAME='ibus'
653 PACKAGE_VERSION='1.5.4'
654 PACKAGE_STRING='ibus 1.5.4'
655 PACKAGE_BUGREPORT='http://code.google.com/p/ibus/issues/entry'
658 # Factoring default headers for most tests.
659 ac_includes_default="\
661 #ifdef HAVE_SYS_TYPES_H
662 # include <sys/types.h>
664 #ifdef HAVE_SYS_STAT_H
665 # include <sys/stat.h>
671 # ifdef HAVE_STDLIB_H
676 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
681 #ifdef HAVE_STRINGS_H
682 # include <strings.h>
684 #ifdef HAVE_INTTYPES_H
685 # include <inttypes.h>
694 ac_subst_vars='am__EXEEXT_FALSE
703 ENABLE_LIBNOTIFY_FALSE
704 ENABLE_LIBNOTIFY_TRUE
716 ENABLE_PYGOBJECT_FALSE
717 ENABLE_PYGOBJECT_TRUE
734 ENABLE_PYTHON_LIBRARY_FALSE
735 ENABLE_PYTHON_LIBRARY_TRUE
737 GSETTINGS_SCHEMA_CONVERT
741 GSETTINGS_DISABLE_SCHEMAS_COMPILE
748 GCONF_SCHEMAS_INSTALL_FALSE
749 GCONF_SCHEMAS_INSTALL_TRUE
750 GCONF_SCHEMA_FILE_DIR
751 GCONF_SCHEMA_CONFIG_SOURCE
759 GTK_DOC_USE_REBASE_FALSE
760 GTK_DOC_USE_REBASE_TRUE
761 GTK_DOC_USE_LIBTOOL_FALSE
762 GTK_DOC_USE_LIBTOOL_TRUE
763 GTK_DOC_BUILD_PDF_FALSE
764 GTK_DOC_BUILD_PDF_TRUE
765 GTK_DOC_BUILD_HTML_FALSE
766 GTK_DOC_BUILD_HTML_TRUE
780 IBUS_GIR_SCANNERFLAGS
781 HAVE_INTROSPECTION_FALSE
782 HAVE_INTROSPECTION_TRUE
783 INTROSPECTION_MAKEFILE
786 INTROSPECTION_TYPELIBDIR
788 INTROSPECTION_GENERATE
789 INTROSPECTION_COMPILER
790 INTROSPECTION_SCANNER
821 GLIB_COMPILE_RESOURCES
834 INTLTOOL_SERVICE_RULE
836 INTLTOOL_SCHEMAS_RULE
838 INTLTOOL_XML_NOMERGE_RULE
843 INTLTOOL_SOUNDLIST_RULE
850 INTLTOOL_DIRECTORY_RULE
851 INTLTOOL_DESKTOP_RULE
852 intltool__v_merge_options_0
853 intltool__v_merge_options_
854 INTLTOOL_V_MERGE_OPTIONS
940 MAINTAINER_MODE_FALSE
954 INSTALL_STRIP_PROGRAM
969 VALA_TARGET_GLIB_VERSION
997 program_transform_name
1010 enable_option_checking
1012 enable_maintainer_mode
1013 enable_dependency_tracking
1028 enable_introspection
1036 with_gconf_schema_file_dir
1037 enable_schemas_install
1040 enable_schemas_compile
1041 enable_python_library
1043 with_gtk2_im_module_dir
1044 with_gtk3_im_module_dir
1045 enable_dbus_python_check
1047 with_no_snooper_apps
1048 with_panel_icon_keyboard
1049 enable_surrounding_text
1054 ac_precious_vars='build_alias
1105 # Initialize some variables set by options.
1107 ac_init_version=false
1108 ac_unrecognized_opts=
1109 ac_unrecognized_sep=
1110 # The variables have the same names as the options, with
1111 # dashes changed to underlines.
1112 cache_file=/dev/null
1119 program_transform_name=s,x,x,
1127 # Installation directory options.
1128 # These are left unexpanded so users can "make install exec_prefix=/foo"
1129 # and all the variables that are supposed to be based on exec_prefix
1130 # by default will actually change.
1131 # Use braces instead of parens because sh, perl, etc. also accept them.
1132 # (The list follows the same order as the GNU Coding Standards.)
1133 bindir='${exec_prefix}/bin'
1134 sbindir='${exec_prefix}/sbin'
1135 libexecdir='${exec_prefix}/libexec'
1136 datarootdir='${prefix}/share'
1137 datadir='${datarootdir}'
1138 sysconfdir='${prefix}/etc'
1139 sharedstatedir='${prefix}/com'
1140 localstatedir='${prefix}/var'
1141 includedir='${prefix}/include'
1142 oldincludedir='/usr/include'
1143 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1144 infodir='${datarootdir}/info'
1149 libdir='${exec_prefix}/lib'
1150 localedir='${datarootdir}/locale'
1151 mandir='${datarootdir}/man'
1157 # If the previous option needs an argument, assign it.
1158 if test -n "$ac_prev"; then
1159 eval $ac_prev=\$ac_option
1165 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1170 # Accept the important Cygnus configure options, so we can diagnose typos.
1172 case $ac_dashdash$ac_option in
1176 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1178 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1179 bindir=$ac_optarg ;;
1181 -build | --build | --buil | --bui | --bu)
1182 ac_prev=build_alias ;;
1183 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1184 build_alias=$ac_optarg ;;
1186 -cache-file | --cache-file | --cache-fil | --cache-fi \
1187 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1188 ac_prev=cache_file ;;
1189 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1190 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1191 cache_file=$ac_optarg ;;
1193 --config-cache | -C)
1194 cache_file=config.cache ;;
1196 -datadir | --datadir | --datadi | --datad)
1198 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1199 datadir=$ac_optarg ;;
1201 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1202 | --dataroo | --dataro | --datar)
1203 ac_prev=datarootdir ;;
1204 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1205 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1206 datarootdir=$ac_optarg ;;
1208 -disable-* | --disable-*)
1209 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1212 as_fn_error $? "invalid feature name: $ac_useropt"
1213 ac_useropt_orig=$ac_useropt
1214 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1215 case $ac_user_opts in
1217 "enable_$ac_useropt"
1219 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1220 ac_unrecognized_sep=', ';;
1222 eval enable_$ac_useropt=no ;;
1224 -docdir | --docdir | --docdi | --doc | --do)
1226 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1227 docdir=$ac_optarg ;;
1229 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1231 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1232 dvidir=$ac_optarg ;;
1234 -enable-* | --enable-*)
1235 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238 as_fn_error $? "invalid feature name: $ac_useropt"
1239 ac_useropt_orig=$ac_useropt
1240 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1243 "enable_$ac_useropt"
1245 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1246 ac_unrecognized_sep=', ';;
1248 eval enable_$ac_useropt=\$ac_optarg ;;
1250 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1251 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1252 | --exec | --exe | --ex)
1253 ac_prev=exec_prefix ;;
1254 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1255 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1256 | --exec=* | --exe=* | --ex=*)
1257 exec_prefix=$ac_optarg ;;
1259 -gas | --gas | --ga | --g)
1260 # Obsolete; use --with-gas.
1263 -help | --help | --hel | --he | -h)
1264 ac_init_help=long ;;
1265 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1266 ac_init_help=recursive ;;
1267 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1268 ac_init_help=short ;;
1270 -host | --host | --hos | --ho)
1271 ac_prev=host_alias ;;
1272 -host=* | --host=* | --hos=* | --ho=*)
1273 host_alias=$ac_optarg ;;
1275 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1277 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1279 htmldir=$ac_optarg ;;
1281 -includedir | --includedir | --includedi | --included | --include \
1282 | --includ | --inclu | --incl | --inc)
1283 ac_prev=includedir ;;
1284 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1285 | --includ=* | --inclu=* | --incl=* | --inc=*)
1286 includedir=$ac_optarg ;;
1288 -infodir | --infodir | --infodi | --infod | --info | --inf)
1290 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1291 infodir=$ac_optarg ;;
1293 -libdir | --libdir | --libdi | --libd)
1295 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1296 libdir=$ac_optarg ;;
1298 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1299 | --libexe | --libex | --libe)
1300 ac_prev=libexecdir ;;
1301 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1302 | --libexe=* | --libex=* | --libe=*)
1303 libexecdir=$ac_optarg ;;
1305 -localedir | --localedir | --localedi | --localed | --locale)
1306 ac_prev=localedir ;;
1307 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1308 localedir=$ac_optarg ;;
1310 -localstatedir | --localstatedir | --localstatedi | --localstated \
1311 | --localstate | --localstat | --localsta | --localst | --locals)
1312 ac_prev=localstatedir ;;
1313 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1314 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1315 localstatedir=$ac_optarg ;;
1317 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1319 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1320 mandir=$ac_optarg ;;
1322 -nfp | --nfp | --nf)
1323 # Obsolete; use --without-fp.
1326 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1327 | --no-cr | --no-c | -n)
1330 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1331 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1334 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1335 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1336 | --oldin | --oldi | --old | --ol | --o)
1337 ac_prev=oldincludedir ;;
1338 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1339 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1340 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1341 oldincludedir=$ac_optarg ;;
1343 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1345 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1346 prefix=$ac_optarg ;;
1348 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1349 | --program-pre | --program-pr | --program-p)
1350 ac_prev=program_prefix ;;
1351 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1352 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1353 program_prefix=$ac_optarg ;;
1355 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1356 | --program-suf | --program-su | --program-s)
1357 ac_prev=program_suffix ;;
1358 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1359 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1360 program_suffix=$ac_optarg ;;
1362 -program-transform-name | --program-transform-name \
1363 | --program-transform-nam | --program-transform-na \
1364 | --program-transform-n | --program-transform- \
1365 | --program-transform | --program-transfor \
1366 | --program-transfo | --program-transf \
1367 | --program-trans | --program-tran \
1368 | --progr-tra | --program-tr | --program-t)
1369 ac_prev=program_transform_name ;;
1370 -program-transform-name=* | --program-transform-name=* \
1371 | --program-transform-nam=* | --program-transform-na=* \
1372 | --program-transform-n=* | --program-transform-=* \
1373 | --program-transform=* | --program-transfor=* \
1374 | --program-transfo=* | --program-transf=* \
1375 | --program-trans=* | --program-tran=* \
1376 | --progr-tra=* | --program-tr=* | --program-t=*)
1377 program_transform_name=$ac_optarg ;;
1379 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1381 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1382 pdfdir=$ac_optarg ;;
1384 -psdir | --psdir | --psdi | --psd | --ps)
1386 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1390 | -silent | --silent | --silen | --sile | --sil)
1393 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1395 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1397 sbindir=$ac_optarg ;;
1399 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1400 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1401 | --sharedst | --shareds | --shared | --share | --shar \
1403 ac_prev=sharedstatedir ;;
1404 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1405 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1406 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1408 sharedstatedir=$ac_optarg ;;
1410 -site | --site | --sit)
1412 -site=* | --site=* | --sit=*)
1415 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1417 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1418 srcdir=$ac_optarg ;;
1420 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1421 | --syscon | --sysco | --sysc | --sys | --sy)
1422 ac_prev=sysconfdir ;;
1423 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1424 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1425 sysconfdir=$ac_optarg ;;
1427 -target | --target | --targe | --targ | --tar | --ta | --t)
1428 ac_prev=target_alias ;;
1429 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1430 target_alias=$ac_optarg ;;
1432 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1435 -version | --version | --versio | --versi | --vers | -V)
1436 ac_init_version=: ;;
1439 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1442 as_fn_error $? "invalid package name: $ac_useropt"
1443 ac_useropt_orig=$ac_useropt
1444 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1445 case $ac_user_opts in
1449 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1450 ac_unrecognized_sep=', ';;
1452 eval with_$ac_useropt=\$ac_optarg ;;
1454 -without-* | --without-*)
1455 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1456 # Reject names that are not valid shell variable names.
1457 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1458 as_fn_error $? "invalid package name: $ac_useropt"
1459 ac_useropt_orig=$ac_useropt
1460 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1461 case $ac_user_opts in
1465 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1466 ac_unrecognized_sep=', ';;
1468 eval with_$ac_useropt=no ;;
1471 # Obsolete; use --with-x.
1474 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1475 | --x-incl | --x-inc | --x-in | --x-i)
1476 ac_prev=x_includes ;;
1477 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1478 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1479 x_includes=$ac_optarg ;;
1481 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1482 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1483 ac_prev=x_libraries ;;
1484 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1485 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1486 x_libraries=$ac_optarg ;;
1488 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1489 Try \`$0 --help' for more information"
1493 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1494 # Reject names that are not valid shell variable names.
1495 case $ac_envvar in #(
1496 '' | [0-9]* | *[!_$as_cr_alnum]* )
1497 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1499 eval $ac_envvar=\$ac_optarg
1500 export $ac_envvar ;;
1503 # FIXME: should be removed in autoconf 3.0.
1504 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1505 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1506 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1507 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1513 if test -n "$ac_prev"; then
1514 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1515 as_fn_error $? "missing argument to $ac_option"
1518 if test -n "$ac_unrecognized_opts"; then
1519 case $enable_option_checking in
1521 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1522 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1526 # Check all directory arguments for consistency.
1527 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1528 datadir sysconfdir sharedstatedir localstatedir includedir \
1529 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1530 libdir localedir mandir
1532 eval ac_val=\$$ac_var
1533 # Remove trailing slashes.
1536 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1537 eval $ac_var=\$ac_val;;
1539 # Be sure to have absolute directory names.
1541 [\\/$]* | ?:[\\/]* ) continue;;
1542 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1544 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1547 # There might be people who depend on the old broken behavior: `$host'
1548 # used to hold the argument of --host etc.
1549 # FIXME: To remove some day.
1552 target=$target_alias
1554 # FIXME: To remove some day.
1555 if test "x$host_alias" != x; then
1556 if test "x$build_alias" = x; then
1557 cross_compiling=maybe
1558 elif test "x$build_alias" != "x$host_alias"; then
1564 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1566 test "$silent" = yes && exec 6>/dev/null
1569 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1570 ac_ls_di=`ls -di .` &&
1571 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1572 as_fn_error $? "working directory cannot be determined"
1573 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1574 as_fn_error $? "pwd does not report name of working directory"
1577 # Find the source files, if location was not specified.
1578 if test -z "$srcdir"; then
1579 ac_srcdir_defaulted=yes
1580 # Try the directory containing this script, then the parent directory.
1581 ac_confdir=`$as_dirname -- "$as_myself" ||
1582 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1583 X"$as_myself" : 'X\(//\)[^/]' \| \
1584 X"$as_myself" : 'X\(//\)$' \| \
1585 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1586 $as_echo X"$as_myself" |
1587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1605 if test ! -r "$srcdir/$ac_unique_file"; then
1609 ac_srcdir_defaulted=no
1611 if test ! -r "$srcdir/$ac_unique_file"; then
1612 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1613 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1615 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1617 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1619 # When building in place, set srcdir=.
1620 if test "$ac_abs_confdir" = "$ac_pwd"; then
1623 # Remove unnecessary trailing slashes from srcdir.
1624 # Double slashes in file names in object file debugging info
1625 # mess up M-x gdb in Emacs.
1627 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1629 for ac_var in $ac_precious_vars; do
1630 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1631 eval ac_env_${ac_var}_value=\$${ac_var}
1632 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1633 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1637 # Report the --help message.
1639 if test "$ac_init_help" = "long"; then
1640 # Omit some internal or obsolete options to make the list less imposing.
1641 # This message is too long to be a string in the A/UX 3.1 sh.
1643 \`configure' configures ibus 1.5.4 to adapt to many kinds of systems.
1645 Usage: $0 [OPTION]... [VAR=VALUE]...
1647 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1648 VAR=VALUE. See below for descriptions of some of the useful variables.
1650 Defaults for the options are specified in brackets.
1653 -h, --help display this help and exit
1654 --help=short display options specific to this package
1655 --help=recursive display the short help of all the included packages
1656 -V, --version display version information and exit
1657 -q, --quiet, --silent do not print \`checking ...' messages
1658 --cache-file=FILE cache test results in FILE [disabled]
1659 -C, --config-cache alias for \`--cache-file=config.cache'
1660 -n, --no-create do not create output files
1661 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1663 Installation directories:
1664 --prefix=PREFIX install architecture-independent files in PREFIX
1665 [$ac_default_prefix]
1666 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1669 By default, \`make install' will install all the files in
1670 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1671 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1672 for instance \`--prefix=\$HOME'.
1674 For better control, use the options below.
1676 Fine tuning of the installation directories:
1677 --bindir=DIR user executables [EPREFIX/bin]
1678 --sbindir=DIR system admin executables [EPREFIX/sbin]
1679 --libexecdir=DIR program executables [EPREFIX/libexec]
1680 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1681 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1682 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1683 --libdir=DIR object code libraries [EPREFIX/lib]
1684 --includedir=DIR C header files [PREFIX/include]
1685 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1686 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1687 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1688 --infodir=DIR info documentation [DATAROOTDIR/info]
1689 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1690 --mandir=DIR man documentation [DATAROOTDIR/man]
1691 --docdir=DIR documentation root [DATAROOTDIR/doc/ibus]
1692 --htmldir=DIR html documentation [DOCDIR]
1693 --dvidir=DIR dvi documentation [DOCDIR]
1694 --pdfdir=DIR pdf documentation [DOCDIR]
1695 --psdir=DIR ps documentation [DOCDIR]
1701 --program-prefix=PREFIX prepend PREFIX to installed program names
1702 --program-suffix=SUFFIX append SUFFIX to installed program names
1703 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1706 --build=BUILD configure for building on BUILD [guessed]
1707 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1711 if test -n "$ac_init_help"; then
1712 case $ac_init_help in
1713 short | recursive ) echo "Configuration of ibus 1.5.4:";;
1718 --disable-option-checking ignore unrecognized --enable/--with options
1719 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1720 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1721 --enable-silent-rules less verbose build output (undo: "make V=1")
1722 --disable-silent-rules verbose build output (undo: "make V=0")
1723 --disable-maintainer-mode
1724 disable make rules and dependencies not useful (and
1725 sometimes confusing) to the casual installer
1726 --enable-dependency-tracking
1727 do not reject slow dependency extractors
1728 --disable-dependency-tracking
1729 speeds up one-time build
1730 --enable-static[=PKGS] build static libraries [default=no]
1731 --enable-shared[=PKGS] build shared libraries [default=yes]
1732 --enable-fast-install[=PKGS]
1733 optimize for fast installation [default=yes]
1734 --disable-libtool-lock avoid locking (might break parallel builds)
1735 --disable-nls do not use Native Language Support
1736 --disable-glibtest do not try to compile and run a test GLIB program
1737 --disable-tests Do not run tests
1738 --disable-gtk2 Do not build gtk2 im module
1739 --disable-gtk3 Do not build gtk3 im module
1740 --disable-xim Do not build xim server
1741 --enable-wayland Build wayland support
1742 --enable-introspection=[no/auto/yes]
1743 Enable introspection for this build
1744 --enable-vala=[no/auto/yes]
1745 build Vala bindings [default=auto]
1746 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1747 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1748 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1749 --enable-gconf Use GConf code
1750 --disable-schemas-install
1751 Disable the schemas installation
1752 --enable-memconf Enable configure base on memory
1753 --disable-dconf Disable configure base on dconf
1754 --disable-schemas-compile
1755 Disable regeneration of gschemas.compiled on install
1756 --enable-python-library Use ibus python library
1757 --disable-setup Do not use setup ui.
1758 --disable-dbus-python-check
1759 Do not check dbus-python
1760 --disable-key-snooper Always disable key snooper in gtk im module
1761 --disable-surrounding-text
1762 Enable surrounding-text support
1763 --disable-ui Disable ibus default user interface
1764 --disable-engine Disable ibus simple engine
1765 --disable-libnotify Disable to link libnotify
1768 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1769 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1770 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1772 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1773 --with-sysroot=DIR Search for dependent libraries within DIR
1774 (or the compiler's sysroot if not specified).
1775 --with-html-dir=PATH path to installed docs
1776 --with-gconf-source=sourceaddress
1777 Config database for installing schema files.
1778 --with-gconf-schema-file-dir=dir
1779 Directory for installing schema files.
1780 --with-gtk2-im-module-dir=DIR
1781 Select gtk2 immodule dir
1782 --with-gtk3-im-module-dir=DIR
1783 Select gtk3 immodule dir
1784 --with-no-snooper-apps=regex1,regex2
1785 Does not enable keyboard snooper in those
1786 applications (like: .*chrome.*,firefox.*)
1787 --with-panel-icon-keyboard=icon_name
1788 Set the default panel icon (default:
1791 Some influential environment variables:
1792 CC C compiler command
1793 CFLAGS C compiler flags
1794 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1795 nonstandard directory <lib dir>
1796 LIBS libraries to pass to the linker, e.g. -l<library>
1797 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1798 you have headers in a nonstandard directory <include dir>
1800 PKG_CONFIG path to pkg-config utility
1802 directories to add to pkg-config's search path
1804 path overriding pkg-config's built-in search path
1806 C compiler flags for GLIB2, overriding pkg-config
1807 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
1809 C compiler flags for GOBJECT2, overriding pkg-config
1811 linker flags for GOBJECT2, overriding pkg-config
1812 GIO2_CFLAGS C compiler flags for GIO2, overriding pkg-config
1813 GIO2_LIBS linker flags for GIO2, overriding pkg-config
1815 C compiler flags for GTHREAD2, overriding pkg-config
1817 linker flags for GTHREAD2, overriding pkg-config
1818 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1819 GTK2_LIBS linker flags for GTK2, overriding pkg-config
1820 GDK2_CFLAGS C compiler flags for GDK2, overriding pkg-config
1821 GDK2_LIBS linker flags for GDK2, overriding pkg-config
1822 GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config
1823 GTK3_LIBS linker flags for GTK3, overriding pkg-config
1824 GDK3_CFLAGS C compiler flags for GDK3, overriding pkg-config
1825 GDK3_LIBS linker flags for GDK3, overriding pkg-config
1826 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1827 X11_LIBS linker flags for X11, overriding pkg-config
1829 C compiler flags for WAYLAND, overriding pkg-config
1831 linker flags for WAYLAND, overriding pkg-config
1833 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1835 linker flags for GTKDOC_DEPS, overriding pkg-config
1836 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1837 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1839 C compiler flags for GCONF, overriding pkg-config
1840 GCONF_LIBS linker flags for GCONF, overriding pkg-config
1842 C compiler flags for DCONF, overriding pkg-config
1843 DCONF_LIBS linker flags for DCONF, overriding pkg-config
1844 PYTHON the Python interpreter
1846 C compiler flags for PYTHON, overriding pkg-config
1847 PYTHON_LIBS linker flags for PYTHON, overriding pkg-config
1849 C compiler flags for DBUS_PYTHON, overriding pkg-config
1851 linker flags for DBUS_PYTHON, overriding pkg-config
1853 C compiler flags for LIBNOTIFY, overriding pkg-config
1855 linker flags for LIBNOTIFY, overriding pkg-config
1857 C compiler flags for ISOCODES, overriding pkg-config
1859 linker flags for ISOCODES, overriding pkg-config
1861 Use these variables to override the choices made by `configure' or to help
1862 it to find libraries and programs with nonstandard names/locations.
1864 Report bugs to <http://code.google.com/p/ibus/issues/entry>.
1869 if test "$ac_init_help" = "recursive"; then
1870 # If there are subdirs, report their specific --help.
1871 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1872 test -d "$ac_dir" ||
1873 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1878 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1880 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1881 # A ".." for each directory in $ac_dir_suffix.
1882 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1883 case $ac_top_builddir_sub in
1884 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1885 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1888 ac_abs_top_builddir=$ac_pwd
1889 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1890 # for backward compatibility:
1891 ac_top_builddir=$ac_top_build_prefix
1894 .) # We are building in place.
1896 ac_top_srcdir=$ac_top_builddir_sub
1897 ac_abs_top_srcdir=$ac_pwd ;;
1898 [\\/]* | ?:[\\/]* ) # Absolute name.
1899 ac_srcdir=$srcdir$ac_dir_suffix;
1900 ac_top_srcdir=$srcdir
1901 ac_abs_top_srcdir=$srcdir ;;
1903 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1904 ac_top_srcdir=$ac_top_build_prefix$srcdir
1905 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1907 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1909 cd "$ac_dir" || { ac_status=$?; continue; }
1910 # Check for guested configure.
1911 if test -f "$ac_srcdir/configure.gnu"; then
1913 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1914 elif test -f "$ac_srcdir/configure"; then
1916 $SHELL "$ac_srcdir/configure" --help=recursive
1918 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1920 cd "$ac_pwd" || { ac_status=$?; break; }
1924 test -n "$ac_init_help" && exit $ac_status
1925 if $ac_init_version; then
1927 ibus configure 1.5.4
1928 generated by GNU Autoconf 2.69
1930 Copyright (C) 2012 Free Software Foundation, Inc.
1931 This configure script is free software; the Free Software Foundation
1932 gives unlimited permission to copy, distribute and modify it.
1937 ## ------------------------ ##
1938 ## Autoconf initialization. ##
1939 ## ------------------------ ##
1941 # ac_fn_c_try_compile LINENO
1942 # --------------------------
1943 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1944 ac_fn_c_try_compile ()
1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947 rm -f conftest.$ac_objext
1948 if { { ac_try="$ac_compile"
1950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1951 *) ac_try_echo=$ac_try;;
1953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1954 $as_echo "$ac_try_echo"; } >&5
1955 (eval "$ac_compile") 2>conftest.err
1957 if test -s conftest.err; then
1958 grep -v '^ *+' conftest.err >conftest.er1
1959 cat conftest.er1 >&5
1960 mv -f conftest.er1 conftest.err
1962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1963 test $ac_status = 0; } && {
1964 test -z "$ac_c_werror_flag" ||
1965 test ! -s conftest.err
1966 } && test -s conftest.$ac_objext; then :
1969 $as_echo "$as_me: failed program was:" >&5
1970 sed 's/^/| /' conftest.$ac_ext >&5
1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975 as_fn_set_status $ac_retval
1977 } # ac_fn_c_try_compile
1979 # ac_fn_c_try_cpp LINENO
1980 # ----------------------
1981 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985 if { { ac_try="$ac_cpp conftest.$ac_ext"
1987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1988 *) ac_try_echo=$ac_try;;
1990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1991 $as_echo "$ac_try_echo"; } >&5
1992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1994 if test -s conftest.err; then
1995 grep -v '^ *+' conftest.err >conftest.er1
1996 cat conftest.er1 >&5
1997 mv -f conftest.er1 conftest.err
1999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2000 test $ac_status = 0; } > conftest.i && {
2001 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2002 test ! -s conftest.err
2006 $as_echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.$ac_ext >&5
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012 as_fn_set_status $ac_retval
2016 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2017 # -------------------------------------------------------
2018 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2019 # the include files in INCLUDES and setting the cache variable VAR
2021 ac_fn_c_check_header_mongrel ()
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 if eval \${$3+:} false; then :
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2026 $as_echo_n "checking for $2... " >&6; }
2027 if eval \${$3+:} false; then :
2028 $as_echo_n "(cached) " >&6
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2032 $as_echo "$ac_res" >&6; }
2034 # Is the header compilable?
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2036 $as_echo_n "checking $2 usability... " >&6; }
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2042 if ac_fn_c_try_compile "$LINENO"; then :
2043 ac_header_compiler=yes
2045 ac_header_compiler=no
2047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2049 $as_echo "$ac_header_compiler" >&6; }
2051 # Is the header present?
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2053 $as_echo_n "checking $2 presence... " >&6; }
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2058 if ac_fn_c_try_cpp "$LINENO"; then :
2059 ac_header_preproc=yes
2061 ac_header_preproc=no
2063 rm -f conftest.err conftest.i conftest.$ac_ext
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2065 $as_echo "$ac_header_preproc" >&6; }
2067 # So? What about this header?
2068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2071 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2073 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2077 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2079 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2081 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2083 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2085 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2086 ( $as_echo "## --------------------------------------------------------- ##
2087 ## Report this to http://code.google.com/p/ibus/issues/entry ##
2088 ## --------------------------------------------------------- ##"
2089 ) | sed "s/^/$as_me: WARNING: /" >&2
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if eval \${$3+:} false; then :
2095 $as_echo_n "(cached) " >&6
2097 eval "$3=\$ac_header_compiler"
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101 $as_echo "$ac_res" >&6; }
2103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105 } # ac_fn_c_check_header_mongrel
2107 # ac_fn_c_try_run LINENO
2108 # ----------------------
2109 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2110 # that executables *can* be run.
2113 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2114 if { { ac_try="$ac_link"
2116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2117 *) ac_try_echo=$ac_try;;
2119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2120 $as_echo "$ac_try_echo"; } >&5
2121 (eval "$ac_link") 2>&5
2123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2125 { { case "(($ac_try" in
2126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2127 *) ac_try_echo=$ac_try;;
2129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2130 $as_echo "$ac_try_echo"; } >&5
2131 (eval "$ac_try") 2>&5
2133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2134 test $ac_status = 0; }; }; then :
2137 $as_echo "$as_me: program exited with status $ac_status" >&5
2138 $as_echo "$as_me: failed program was:" >&5
2139 sed 's/^/| /' conftest.$ac_ext >&5
2141 ac_retval=$ac_status
2143 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2144 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2145 as_fn_set_status $ac_retval
2149 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2150 # -------------------------------------------------------
2151 # Tests whether HEADER exists and can be compiled using the include files in
2152 # INCLUDES, setting the cache variable VAR accordingly.
2153 ac_fn_c_check_header_compile ()
2155 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2157 $as_echo_n "checking for $2... " >&6; }
2158 if eval \${$3+:} false; then :
2159 $as_echo_n "(cached) " >&6
2161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2162 /* end confdefs.h. */
2166 if ac_fn_c_try_compile "$LINENO"; then :
2171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2175 $as_echo "$ac_res" >&6; }
2176 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2178 } # ac_fn_c_check_header_compile
2180 # ac_fn_c_try_link LINENO
2181 # -----------------------
2182 # Try to link conftest.$ac_ext, and return whether this succeeded.
2185 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2186 rm -f conftest.$ac_objext conftest$ac_exeext
2187 if { { ac_try="$ac_link"
2189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2190 *) ac_try_echo=$ac_try;;
2192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2193 $as_echo "$ac_try_echo"; } >&5
2194 (eval "$ac_link") 2>conftest.err
2196 if test -s conftest.err; then
2197 grep -v '^ *+' conftest.err >conftest.er1
2198 cat conftest.er1 >&5
2199 mv -f conftest.er1 conftest.err
2201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2202 test $ac_status = 0; } && {
2203 test -z "$ac_c_werror_flag" ||
2204 test ! -s conftest.err
2205 } && test -s conftest$ac_exeext && {
2206 test "$cross_compiling" = yes ||
2207 test -x conftest$ac_exeext
2211 $as_echo "$as_me: failed program was:" >&5
2212 sed 's/^/| /' conftest.$ac_ext >&5
2216 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2217 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2218 # interfere with the next link command; also delete a directory that is
2219 # left behind by Apple's compiler. We do this before executing the actions.
2220 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2221 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2222 as_fn_set_status $ac_retval
2224 } # ac_fn_c_try_link
2226 # ac_fn_c_check_func LINENO FUNC VAR
2227 # ----------------------------------
2228 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2229 ac_fn_c_check_func ()
2231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2233 $as_echo_n "checking for $2... " >&6; }
2234 if eval \${$3+:} false; then :
2235 $as_echo_n "(cached) " >&6
2237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2238 /* end confdefs.h. */
2239 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2241 #define $2 innocuous_$2
2243 /* System header to define __stub macros and hopefully few prototypes,
2244 which can conflict with char $2 (); below.
2245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2246 <limits.h> exists even on freestanding compilers. */
2249 # include <limits.h>
2251 # include <assert.h>
2256 /* Override any GCC internal prototype to avoid an error.
2257 Use char because int might match the return type of a GCC
2258 builtin and then its argument prototype would still apply. */
2263 /* The GNU C library defines this for functions which it implements
2264 to always fail with ENOSYS. Some functions are actually named
2265 something starting with __ and the normal name is an alias. */
2266 #if defined __stub_$2 || defined __stub___$2
2278 if ac_fn_c_try_link "$LINENO"; then :
2283 rm -f core conftest.err conftest.$ac_objext \
2284 conftest$ac_exeext conftest.$ac_ext
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2288 $as_echo "$ac_res" >&6; }
2289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2291 } # ac_fn_c_check_func
2292 cat >config.log <<_ACEOF
2293 This file contains any messages produced by compilers while
2294 running configure, to aid debugging if configure makes a mistake.
2296 It was created by ibus $as_me 1.5.4, which was
2297 generated by GNU Autoconf 2.69. Invocation command line was
2309 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2310 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2311 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2312 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2313 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2315 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2316 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2318 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2319 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2320 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2321 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2322 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2323 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2324 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 $as_echo "PATH: $as_dir"
2349 # Keep a trace of the command line.
2350 # Strip out --no-create and --no-recursion so they do not pile up.
2351 # Strip out --silent because we don't want to record it for future runs.
2352 # Also quote any args containing shell meta-characters.
2353 # Make two passes to allow for proper duplicate-argument suppression.
2357 ac_must_keep_next=false
2363 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2364 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2365 | -silent | --silent | --silen | --sile | --sil)
2368 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2371 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2373 as_fn_append ac_configure_args1 " '$ac_arg'"
2374 if test $ac_must_keep_next = true; then
2375 ac_must_keep_next=false # Got value, back to normal.
2378 *=* | --config-cache | -C | -disable-* | --disable-* \
2379 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2380 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2381 | -with-* | --with-* | -without-* | --without-* | --x)
2382 case "$ac_configure_args0 " in
2383 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2386 -* ) ac_must_keep_next=true ;;
2389 as_fn_append ac_configure_args " '$ac_arg'"
2394 { ac_configure_args0=; unset ac_configure_args0;}
2395 { ac_configure_args1=; unset ac_configure_args1;}
2397 # When interrupted or exit'd, cleanup temporary files, and complete
2398 # config.log. We remove comments because anyway the quotes in there
2399 # would cause problems or look ugly.
2400 # WARNING: Use '\'' to represent an apostrophe within the trap.
2401 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2402 trap 'exit_status=$?
2403 # Save into config.log some information that might help in debugging.
2407 $as_echo "## ---------------- ##
2408 ## Cache variables. ##
2409 ## ---------------- ##"
2411 # The following way of writing the cache mishandles newlines in values,
2413 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2414 eval ac_val=\$$ac_var
2418 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2419 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2422 _ | IFS | as_nl) ;; #(
2423 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2424 *) { eval $ac_var=; unset $ac_var;} ;;
2429 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2430 *${as_nl}ac_space=\ *)
2432 "s/'\''/'\''\\\\'\'''\''/g;
2433 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2436 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2443 $as_echo "## ----------------- ##
2444 ## Output variables. ##
2445 ## ----------------- ##"
2447 for ac_var in $ac_subst_vars
2449 eval ac_val=\$$ac_var
2451 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2453 $as_echo "$ac_var='\''$ac_val'\''"
2457 if test -n "$ac_subst_files"; then
2458 $as_echo "## ------------------- ##
2459 ## File substitutions. ##
2460 ## ------------------- ##"
2462 for ac_var in $ac_subst_files
2464 eval ac_val=\$$ac_var
2466 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2468 $as_echo "$ac_var='\''$ac_val'\''"
2473 if test -s confdefs.h; then
2474 $as_echo "## ----------- ##
2481 test "$ac_signal" != 0 &&
2482 $as_echo "$as_me: caught signal $ac_signal"
2483 $as_echo "$as_me: exit $exit_status"
2485 rm -f core *.core core.conftest.* &&
2486 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2489 for ac_signal in 1 2 13 15; do
2490 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2494 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2495 rm -f -r conftest* confdefs.h
2497 $as_echo "/* confdefs.h */" > confdefs.h
2499 # Predefined preprocessor variables.
2501 cat >>confdefs.h <<_ACEOF
2502 #define PACKAGE_NAME "$PACKAGE_NAME"
2505 cat >>confdefs.h <<_ACEOF
2506 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2509 cat >>confdefs.h <<_ACEOF
2510 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2513 cat >>confdefs.h <<_ACEOF
2514 #define PACKAGE_STRING "$PACKAGE_STRING"
2517 cat >>confdefs.h <<_ACEOF
2518 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2521 cat >>confdefs.h <<_ACEOF
2522 #define PACKAGE_URL "$PACKAGE_URL"
2526 # Let the site file select an alternate cache file if it wants to.
2527 # Prefer an explicitly selected file to automatically selected ones.
2530 if test -n "$CONFIG_SITE"; then
2531 # We do not want a PATH search for config.site.
2532 case $CONFIG_SITE in #((
2533 -*) ac_site_file1=./$CONFIG_SITE;;
2534 */*) ac_site_file1=$CONFIG_SITE;;
2535 *) ac_site_file1=./$CONFIG_SITE;;
2537 elif test "x$prefix" != xNONE; then
2538 ac_site_file1=$prefix/share/config.site
2539 ac_site_file2=$prefix/etc/config.site
2541 ac_site_file1=$ac_default_prefix/share/config.site
2542 ac_site_file2=$ac_default_prefix/etc/config.site
2544 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2546 test "x$ac_site_file" = xNONE && continue
2547 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2549 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2550 sed 's/^/| /' "$ac_site_file" >&5
2552 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2554 as_fn_error $? "failed to load site script $ac_site_file
2555 See \`config.log' for more details" "$LINENO" 5; }
2559 if test -r "$cache_file"; then
2560 # Some versions of bash will fail to source /dev/null (special files
2561 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2562 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2564 $as_echo "$as_me: loading cache $cache_file" >&6;}
2566 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2567 *) . "./$cache_file";;
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2572 $as_echo "$as_me: creating cache $cache_file" >&6;}
2576 # Check that the precious variables saved in the cache have kept the same
2578 ac_cache_corrupted=false
2579 for ac_var in $ac_precious_vars; do
2580 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2581 eval ac_new_set=\$ac_env_${ac_var}_set
2582 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2583 eval ac_new_val=\$ac_env_${ac_var}_value
2584 case $ac_old_set,$ac_new_set in
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2587 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2588 ac_cache_corrupted=: ;;
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2591 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2592 ac_cache_corrupted=: ;;
2595 if test "x$ac_old_val" != "x$ac_new_val"; then
2596 # differences in whitespace do not lead to failure.
2597 ac_old_val_w=`echo x $ac_old_val`
2598 ac_new_val_w=`echo x $ac_new_val`
2599 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2601 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2602 ac_cache_corrupted=:
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2605 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2606 eval $ac_var=\$ac_old_val
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2609 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2611 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2614 # Pass precious variables to config.status.
2615 if test "$ac_new_set" = set; then
2617 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2618 *) ac_arg=$ac_var=$ac_new_val ;;
2620 case " $ac_configure_args " in
2621 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2622 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2626 if $ac_cache_corrupted; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2630 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2631 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2633 ## -------------------- ##
2634 ## Main body of script. ##
2635 ## -------------------- ##
2638 ac_cpp='$CPP $CPPFLAGS'
2639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2645 ac_config_headers="$ac_config_headers config.h"
2652 # Required versions of other packages.
2655 # VALA_TARGET_GLIB_VERSION is used by valac --ccode --target-glib .
2656 # VALA_TARGET_GLIB_VERSION and glib_required_version will be different
2658 VALA_TARGET_GLIB_VERSION=2.32
2662 am__api_version='1.13'
2665 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2666 if test -f "$ac_dir/install-sh"; then
2668 ac_install_sh="$ac_aux_dir/install-sh -c"
2670 elif test -f "$ac_dir/install.sh"; then
2672 ac_install_sh="$ac_aux_dir/install.sh -c"
2674 elif test -f "$ac_dir/shtool"; then
2676 ac_install_sh="$ac_aux_dir/shtool install -c"
2680 if test -z "$ac_aux_dir"; then
2681 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2684 # These three variables are undocumented and unsupported,
2685 # and are intended to be withdrawn in a future Autoconf release.
2686 # They can cause serious problems if a builder's source tree is in a directory
2687 # whose full name contains unusual characters.
2688 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2689 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2690 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2693 # Find a good install program. We prefer a C program (faster),
2694 # so one script is as good as another. But avoid the broken or
2695 # incompatible versions:
2696 # SysV /etc/install, /usr/sbin/install
2697 # SunOS /usr/etc/install
2698 # IRIX /sbin/install
2700 # AmigaOS /C/install, which installs bootblocks on floppy discs
2701 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2702 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2703 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2704 # OS/2's system install, which has a completely different semantic
2705 # ./install, which can be erroneously created by make from ./install.sh.
2706 # Reject install programs that cannot install multiple files.
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2708 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2709 if test -z "$INSTALL"; then
2710 if ${ac_cv_path_install+:} false; then :
2711 $as_echo_n "(cached) " >&6
2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir=.
2718 # Account for people who put trailing slashes in PATH elements.
2719 case $as_dir/ in #((
2720 ./ | .// | /[cC]/* | \
2721 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2722 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2725 # OSF1 and SCO ODT 3.0 have their own names for install.
2726 # Don't use installbsd from OSF since it installs stuff as root
2728 for ac_prog in ginstall scoinst install; do
2729 for ac_exec_ext in '' $ac_executable_extensions; do
2730 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2731 if test $ac_prog = install &&
2732 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2733 # AIX install. It has an incompatible calling convention.
2735 elif test $ac_prog = install &&
2736 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2737 # program-specific install script used by HP pwplus--don't use.
2740 rm -rf conftest.one conftest.two conftest.dir
2741 echo one > conftest.one
2742 echo two > conftest.two
2744 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2745 test -s conftest.one && test -s conftest.two &&
2746 test -s conftest.dir/conftest.one &&
2747 test -s conftest.dir/conftest.two
2749 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2762 rm -rf conftest.one conftest.two conftest.dir
2765 if test "${ac_cv_path_install+set}" = set; then
2766 INSTALL=$ac_cv_path_install
2768 # As a last resort, use the slow shell script. Don't cache a
2769 # value for INSTALL within a source directory, because that will
2770 # break other packages using the cache if that directory is
2771 # removed, or if the value is a relative name.
2772 INSTALL=$ac_install_sh
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2776 $as_echo "$INSTALL" >&6; }
2778 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2779 # It thinks the first close brace ends the variable substitution.
2780 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2782 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2784 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2787 $as_echo_n "checking whether build environment is sane... " >&6; }
2788 # Reject unsafe characters in $srcdir or the absolute working directory
2789 # name. Accept space and tab only in the latter.
2793 *[\\\"\#\$\&\'\`$am_lf]*)
2794 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2797 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2798 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2801 # Do 'set' in a subshell so we don't clobber the current shell's
2802 # arguments. Must try -L first in case configure is actually a
2803 # symlink; some systems play weird games with the mod time of symlinks
2804 # (eg FreeBSD returns the mod time of the symlink's containing
2808 for am_try in 1 2; do
2809 echo "timestamp, slept: $am_has_slept" > conftest.file
2810 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2811 if test "$*" = "X"; then
2813 set X `ls -t "$srcdir/configure" conftest.file`
2815 if test "$*" != "X $srcdir/configure conftest.file" \
2816 && test "$*" != "X conftest.file $srcdir/configure"; then
2818 # If neither matched, then we have a broken ls. This can happen
2819 # if, for instance, CONFIG_SHELL is bash and it inherits a
2820 # broken ls alias from the environment. This has actually
2821 # happened. Such a system could not be considered "sane".
2822 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2823 alias in your environment" "$LINENO" 5
2825 if test "$2" = conftest.file || test $am_try -eq 2; then
2832 test "$2" = conftest.file
2838 as_fn_error $? "newly created file is older than distributed files!
2839 Check your system clock" "$LINENO" 5
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2842 $as_echo "yes" >&6; }
2843 # If we didn't sleep, we still need to ensure time stamps of config.status and
2844 # generated files are strictly newer.
2846 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2853 test "$program_prefix" != NONE &&
2854 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2855 # Use a double $ so make ignores it.
2856 test "$program_suffix" != NONE &&
2857 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2858 # Double any \ or $.
2859 # By default was `s,x,x', remove it if useless.
2860 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2861 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2863 # expand $ac_aux_dir to an absolute path
2864 am_aux_dir=`cd $ac_aux_dir && pwd`
2866 if test x"${MISSING+set}" != xset; then
2869 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2871 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2874 # Use eval to expand $SHELL
2875 if eval "$MISSING --is-lightweight"; then
2876 am_missing_run="$MISSING "
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2880 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2883 if test x"${install_sh}" != xset; then
2886 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2888 install_sh="\${SHELL} $am_aux_dir/install-sh"
2892 # Installed binaries are usually stripped using 'strip' when the user
2893 # run "make install-strip". However 'strip' might not be the right
2894 # tool to use in cross-compilation environments, therefore Automake
2895 # will honor the 'STRIP' environment variable to overrule this program.
2896 if test "$cross_compiling" != no; then
2897 if test -n "$ac_tool_prefix"; then
2898 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2899 set dummy ${ac_tool_prefix}strip; ac_word=$2
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2901 $as_echo_n "checking for $ac_word... " >&6; }
2902 if ${ac_cv_prog_STRIP+:} false; then :
2903 $as_echo_n "(cached) " >&6
2905 if test -n "$STRIP"; then
2906 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2915 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 STRIP=$ac_cv_prog_STRIP
2926 if test -n "$STRIP"; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2928 $as_echo "$STRIP" >&6; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 $as_echo "no" >&6; }
2936 if test -z "$ac_cv_prog_STRIP"; then
2938 # Extract the first word of "strip", so it can be a program name with args.
2939 set dummy strip; ac_word=$2
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941 $as_echo_n "checking for $ac_word... " >&6; }
2942 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2943 $as_echo_n "(cached) " >&6
2945 if test -n "$ac_ct_STRIP"; then
2946 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 test -z "$as_dir" && as_dir=.
2953 for ac_exec_ext in '' $ac_executable_extensions; do
2954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2955 ac_cv_prog_ac_ct_STRIP="strip"
2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2966 if test -n "$ac_ct_STRIP"; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2968 $as_echo "$ac_ct_STRIP" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2974 if test "x$ac_ct_STRIP" = x; then
2977 case $cross_compiling:$ac_tool_warned in
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2981 ac_tool_warned=yes ;;
2986 STRIP="$ac_cv_prog_STRIP"
2990 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2993 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2994 if test -z "$MKDIR_P"; then
2995 if ${ac_cv_path_mkdir+:} false; then :
2996 $as_echo_n "(cached) " >&6
2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3002 test -z "$as_dir" && as_dir=.
3003 for ac_prog in mkdir gmkdir; do
3004 for ac_exec_ext in '' $ac_executable_extensions; do
3005 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3006 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3007 'mkdir (GNU coreutils) '* | \
3008 'mkdir (coreutils) '* | \
3009 'mkdir (fileutils) '4.1*)
3010 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3020 test -d ./--version && rmdir ./--version
3021 if test "${ac_cv_path_mkdir+set}" = set; then
3022 MKDIR_P="$ac_cv_path_mkdir -p"
3024 # As a last resort, use the slow shell script. Don't cache a
3025 # value for MKDIR_P within a source directory, because that will
3026 # break other packages using the cache if that directory is
3027 # removed, or if the value is a relative name.
3028 MKDIR_P="$ac_install_sh -d"
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3032 $as_echo "$MKDIR_P" >&6; }
3034 for ac_prog in gawk mawk nawk awk
3036 # Extract the first word of "$ac_prog", so it can be a program name with args.
3037 set dummy $ac_prog; ac_word=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if ${ac_cv_prog_AWK+:} false; then :
3041 $as_echo_n "(cached) " >&6
3043 if test -n "$AWK"; then
3044 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_AWK="$ac_prog"
3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3064 if test -n "$AWK"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3066 $as_echo "$AWK" >&6; }
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3069 $as_echo "no" >&6; }
3073 test -n "$AWK" && break
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3077 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3079 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3080 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3081 $as_echo_n "(cached) " >&6
3083 cat >conftest.make <<\_ACEOF
3086 @echo '@@@%%%=$(MAKE)=@@@%%%'
3088 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3089 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3091 eval ac_cv_prog_make_${ac_make}_set=yes;;
3093 eval ac_cv_prog_make_${ac_make}_set=no;;
3097 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3099 $as_echo "yes" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3104 SET_MAKE="MAKE=${MAKE-make}"
3107 rm -rf .tst 2>/dev/null
3108 mkdir .tst 2>/dev/null
3109 if test -d .tst; then
3114 rmdir .tst 2>/dev/null
3116 # Check whether --enable-silent-rules was given.
3117 if test "${enable_silent_rules+set}" = set; then :
3118 enableval=$enable_silent_rules;
3121 case $enable_silent_rules in # (((
3122 yes) AM_DEFAULT_VERBOSITY=0;;
3123 no) AM_DEFAULT_VERBOSITY=1;;
3124 *) AM_DEFAULT_VERBOSITY=1;;
3126 am_make=${MAKE-make}
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3128 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3129 if ${am_cv_make_support_nested_variables+:} false; then :
3130 $as_echo_n "(cached) " >&6
3132 if $as_echo 'TRUE=$(BAR$(V))
3138 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3139 am_cv_make_support_nested_variables=yes
3141 am_cv_make_support_nested_variables=no
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3145 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3146 if test $am_cv_make_support_nested_variables = yes; then
3148 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3150 AM_V=$AM_DEFAULT_VERBOSITY
3151 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3155 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3156 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3157 # is not polluted with repeated "-I."
3158 am__isrc=' -I$(srcdir)'
3159 # test to see if srcdir already configured
3160 if test -f $srcdir/config.status; then
3161 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3165 # test whether we have cygpath
3166 if test -z "$CYGPATH_W"; then
3167 if (cygpath --version) >/dev/null 2>/dev/null; then
3168 CYGPATH_W='cygpath -w'
3175 # Define the identity of the package.
3180 cat >>confdefs.h <<_ACEOF
3181 #define PACKAGE "$PACKAGE"
3185 cat >>confdefs.h <<_ACEOF
3186 #define VERSION "$VERSION"
3189 # Some tools Automake needs.
3191 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3194 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3197 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3200 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3203 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3205 # For better backward compatibility. To be removed once Automake 1.9.x
3206 # dies out for good. For more background, see:
3207 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3208 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3209 mkdir_p='$(MKDIR_P)'
3211 # We need awk for the "check" target. The system "awk" is bad on
3213 # Always define AMTAR for backward compatibility. Yes, it's still used
3214 # in the wild :-( We should find a proper way to deprecate it ...
3218 # We'll loop over all known methods to create a tar archive until one works.
3219 _am_tools='gnutar pax cpio none'
3221 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3230 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3231 # Check whether --enable-maintainer-mode was given.
3232 if test "${enable_maintainer_mode+set}" = set; then :
3233 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3235 USE_MAINTAINER_MODE=yes
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3239 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3240 if test $USE_MAINTAINER_MODE = yes; then
3241 MAINTAINER_MODE_TRUE=
3242 MAINTAINER_MODE_FALSE='#'
3244 MAINTAINER_MODE_TRUE='#'
3245 MAINTAINER_MODE_FALSE=
3248 MAINT=$MAINTAINER_MODE_TRUE
3251 DEPDIR="${am__leading_dot}deps"
3253 ac_config_commands="$ac_config_commands depfiles"
3256 am_make=${MAKE-make}
3257 cat > confinc << 'END'
3259 @echo this is the am__doit target
3262 # If we don't find an include directive, just comment out the code.
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3264 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3268 # First try GNU make style include.
3269 echo "include confinc" > confmf
3270 # Ignore all kinds of additional output from 'make'.
3271 case `$am_make -s -f confmf 2> /dev/null` in #(
3272 *the\ am__doit\ target*)
3278 # Now try BSD make style include.
3279 if test "$am__include" = "#"; then
3280 echo '.include "confinc"' > confmf
3281 case `$am_make -s -f confmf 2> /dev/null` in #(
3282 *the\ am__doit\ target*)
3283 am__include=.include
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3292 $as_echo "$_am_result" >&6; }
3293 rm -f confinc confmf
3295 # Check whether --enable-dependency-tracking was given.
3296 if test "${enable_dependency_tracking+set}" = set; then :
3297 enableval=$enable_dependency_tracking;
3300 if test "x$enable_dependency_tracking" != xno; then
3301 am_depcomp="$ac_aux_dir/depcomp"
3305 if test "x$enable_dependency_tracking" != xno; then
3315 ac_cpp='$CPP $CPPFLAGS'
3316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3319 if test -n "$ac_tool_prefix"; then
3320 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3321 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3323 $as_echo_n "checking for $ac_word... " >&6; }
3324 if ${ac_cv_prog_CC+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 if test -n "$CC"; then
3328 ac_cv_prog_CC="$CC" # Let the user override the test.
3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 test -z "$as_dir" && as_dir=.
3335 for ac_exec_ext in '' $ac_executable_extensions; do
3336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3337 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 if test -n "$CC"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3350 $as_echo "$CC" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3358 if test -z "$ac_cv_prog_CC"; then
3360 # Extract the first word of "gcc", so it can be a program name with args.
3361 set dummy gcc; ac_word=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3365 $as_echo_n "(cached) " >&6
3367 if test -n "$ac_ct_CC"; then
3368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir=.
3375 for ac_exec_ext in '' $ac_executable_extensions; do
3376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3377 ac_cv_prog_ac_ct_CC="gcc"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3387 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3388 if test -n "$ac_ct_CC"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3390 $as_echo "$ac_ct_CC" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3396 if test "x$ac_ct_CC" = x; then
3399 case $cross_compiling:$ac_tool_warned in
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3403 ac_tool_warned=yes ;;
3411 if test -z "$CC"; then
3412 if test -n "$ac_tool_prefix"; then
3413 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3414 set dummy ${ac_tool_prefix}cc; ac_word=$2
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 $as_echo_n "checking for $ac_word... " >&6; }
3417 if ${ac_cv_prog_CC+:} false; then :
3418 $as_echo_n "(cached) " >&6
3420 if test -n "$CC"; then
3421 ac_cv_prog_CC="$CC" # Let the user override the test.
3423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427 test -z "$as_dir" && as_dir=.
3428 for ac_exec_ext in '' $ac_executable_extensions; do
3429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3430 ac_cv_prog_CC="${ac_tool_prefix}cc"
3431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 if test -n "$CC"; then
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3443 $as_echo "$CC" >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3446 $as_echo "no" >&6; }
3452 if test -z "$CC"; then
3453 # Extract the first word of "cc", so it can be a program name with args.
3454 set dummy cc; ac_word=$2
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3456 $as_echo_n "checking for $ac_word... " >&6; }
3457 if ${ac_cv_prog_CC+:} false; then :
3458 $as_echo_n "(cached) " >&6
3460 if test -n "$CC"; then
3461 ac_cv_prog_CC="$CC" # Let the user override the test.
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 test -z "$as_dir" && as_dir=.
3469 for ac_exec_ext in '' $ac_executable_extensions; do
3470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3472 ac_prog_rejected=yes
3476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 if test $ac_prog_rejected = yes; then
3484 # We found a bogon in the path, so make sure we never use it.
3485 set dummy $ac_cv_prog_CC
3487 if test $# != 0; then
3488 # We chose a different compiler from the bogus one.
3489 # However, it has the same basename, so the bogon will be chosen
3490 # first if we set CC to just the basename; use the full file name.
3492 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3498 if test -n "$CC"; then
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3500 $as_echo "$CC" >&6; }
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 $as_echo "no" >&6; }
3508 if test -z "$CC"; then
3509 if test -n "$ac_tool_prefix"; then
3510 for ac_prog in cl.exe
3512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3513 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515 $as_echo_n "checking for $ac_word... " >&6; }
3516 if ${ac_cv_prog_CC+:} false; then :
3517 $as_echo_n "(cached) " >&6
3519 if test -n "$CC"; then
3520 ac_cv_prog_CC="$CC" # Let the user override the test.
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 if test -n "$CC"; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3542 $as_echo "$CC" >&6; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3549 test -n "$CC" && break
3552 if test -z "$CC"; then
3554 for ac_prog in cl.exe
3556 # Extract the first word of "$ac_prog", so it can be a program name with args.
3557 set dummy $ac_prog; ac_word=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3561 $as_echo_n "(cached) " >&6
3563 if test -n "$ac_ct_CC"; then
3564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3573 ac_cv_prog_ac_ct_CC="$ac_prog"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3584 if test -n "$ac_ct_CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3586 $as_echo "$ac_ct_CC" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3593 test -n "$ac_ct_CC" && break
3596 if test "x$ac_ct_CC" = x; then
3599 case $cross_compiling:$ac_tool_warned in
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3603 ac_tool_warned=yes ;;
3612 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614 as_fn_error $? "no acceptable C compiler found in \$PATH
3615 See \`config.log' for more details" "$LINENO" 5; }
3617 # Provide some information about the compiler.
3618 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3621 for ac_option in --version -v -V -qversion; do
3622 { { ac_try="$ac_compiler $ac_option >&5"
3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3628 $as_echo "$ac_try_echo"; } >&5
3629 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3631 if test -s conftest.err; then
3633 ... rest of stderr output deleted ...
3634 10q' conftest.err >conftest.er1
3635 cat conftest.er1 >&5
3637 rm -f conftest.er1 conftest.err
3638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639 test $ac_status = 0; }
3642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3653 ac_clean_files_save=$ac_clean_files
3654 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3655 # Try to create an executable without -o first, disregard a.out.
3656 # It will help us diagnose broken compilers, and finding out an intuition
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3659 $as_echo_n "checking whether the C compiler works... " >&6; }
3660 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3662 # The possible output files:
3663 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3666 for ac_file in $ac_files
3669 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3670 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3675 if { { ac_try="$ac_link_default"
3677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678 *) ac_try_echo=$ac_try;;
3680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3681 $as_echo "$ac_try_echo"; } >&5
3682 (eval "$ac_link_default") 2>&5
3684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3685 test $ac_status = 0; }; then :
3686 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3687 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3688 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3689 # so that the user can short-circuit this test for compilers unknown to
3691 for ac_file in $ac_files ''
3693 test -f "$ac_file" || continue
3695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3698 # We found the default executable, but exeext='' is most
3702 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3704 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3706 # We set ac_cv_exeext here because the later test for it is not
3707 # safe: cross compilers may not add the suffix if given an `-o'
3708 # argument, so we may need to know it at that point already.
3709 # Even if this section looks crufty: it has the advantage of
3716 test "$ac_cv_exeext" = no && ac_cv_exeext=
3721 if test -z "$ac_file"; then :
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3724 $as_echo "$as_me: failed program was:" >&5
3725 sed 's/^/| /' conftest.$ac_ext >&5
3727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729 as_fn_error 77 "C compiler cannot create executables
3730 See \`config.log' for more details" "$LINENO" 5; }
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3733 $as_echo "yes" >&6; }
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3736 $as_echo_n "checking for C compiler default output file name... " >&6; }
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3738 $as_echo "$ac_file" >&6; }
3739 ac_exeext=$ac_cv_exeext
3741 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3742 ac_clean_files=$ac_clean_files_save
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3744 $as_echo_n "checking for suffix of executables... " >&6; }
3745 if { { ac_try="$ac_link"
3747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3751 $as_echo "$ac_try_echo"; } >&5
3752 (eval "$ac_link") 2>&5
3754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3755 test $ac_status = 0; }; then :
3756 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3757 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3758 # work properly (i.e., refer to `conftest.exe'), while it won't with
3760 for ac_file in conftest.exe conftest conftest.*; do
3761 test -f "$ac_file" || continue
3763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3764 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3772 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3773 See \`config.log' for more details" "$LINENO" 5; }
3775 rm -f conftest conftest$ac_cv_exeext
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3777 $as_echo "$ac_cv_exeext" >&6; }
3779 rm -f conftest.$ac_ext
3780 EXEEXT=$ac_cv_exeext
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3788 FILE *f = fopen ("conftest.out", "w");
3789 return ferror (f) || fclose (f) != 0;
3795 ac_clean_files="$ac_clean_files conftest.out"
3796 # Check that the compiler produces executables we can run. If not, either
3797 # the compiler is broken, or we cross compile.
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3799 $as_echo_n "checking whether we are cross compiling... " >&6; }
3800 if test "$cross_compiling" != yes; then
3801 { { ac_try="$ac_link"
3803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3804 *) ac_try_echo=$ac_try;;
3806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3807 $as_echo "$ac_try_echo"; } >&5
3808 (eval "$ac_link") 2>&5
3810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3811 test $ac_status = 0; }
3812 if { ac_try='./conftest$ac_cv_exeext'
3813 { { case "(($ac_try" in
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3818 $as_echo "$ac_try_echo"; } >&5
3819 (eval "$ac_try") 2>&5
3821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3822 test $ac_status = 0; }; }; then
3825 if test "$cross_compiling" = maybe; then
3828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3830 as_fn_error $? "cannot run C compiled programs.
3831 If you meant to cross compile, use \`--host'.
3832 See \`config.log' for more details" "$LINENO" 5; }
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3837 $as_echo "$cross_compiling" >&6; }
3839 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3840 ac_clean_files=$ac_clean_files_save
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3842 $as_echo_n "checking for suffix of object files... " >&6; }
3843 if ${ac_cv_objext+:} false; then :
3844 $as_echo_n "(cached) " >&6
3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847 /* end confdefs.h. */
3857 rm -f conftest.o conftest.obj
3858 if { { ac_try="$ac_compile"
3860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3861 *) ac_try_echo=$ac_try;;
3863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3864 $as_echo "$ac_try_echo"; } >&5
3865 (eval "$ac_compile") 2>&5
3867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3868 test $ac_status = 0; }; then :
3869 for ac_file in conftest.o conftest.obj conftest.*; do
3870 test -f "$ac_file" || continue;
3872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3873 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3878 $as_echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.$ac_ext >&5
3881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3883 as_fn_error $? "cannot compute suffix of object files: cannot compile
3884 See \`config.log' for more details" "$LINENO" 5; }
3886 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3889 $as_echo "$ac_cv_objext" >&6; }
3890 OBJEXT=$ac_cv_objext
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3893 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3894 if ${ac_cv_c_compiler_gnu+:} false; then :
3895 $as_echo_n "(cached) " >&6
3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3911 if ac_fn_c_try_compile "$LINENO"; then :
3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3917 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3921 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3922 if test $ac_compiler_gnu = yes; then
3927 ac_test_CFLAGS=${CFLAGS+set}
3928 ac_save_CFLAGS=$CFLAGS
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3930 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3931 if ${ac_cv_prog_cc_g+:} false; then :
3932 $as_echo_n "(cached) " >&6
3934 ac_save_c_werror_flag=$ac_c_werror_flag
3935 ac_c_werror_flag=yes
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3949 if ac_fn_c_try_compile "$LINENO"; then :
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3964 if ac_fn_c_try_compile "$LINENO"; then :
3967 ac_c_werror_flag=$ac_save_c_werror_flag
3969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3970 /* end confdefs.h. */
3980 if ac_fn_c_try_compile "$LINENO"; then :
3983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988 ac_c_werror_flag=$ac_save_c_werror_flag
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3991 $as_echo "$ac_cv_prog_cc_g" >&6; }
3992 if test "$ac_test_CFLAGS" = set; then
3993 CFLAGS=$ac_save_CFLAGS
3994 elif test $ac_cv_prog_cc_g = yes; then
3995 if test "$GCC" = yes; then
4001 if test "$GCC" = yes; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4008 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4009 if ${ac_cv_prog_cc_c89+:} false; then :
4010 $as_echo_n "(cached) " >&6
4012 ac_cv_prog_cc_c89=no
4014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4015 /* end confdefs.h. */
4019 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4020 struct buf { int x; };
4021 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4022 static char *e (p, i)
4028 static char *f (char * (*g) (char **, int), char **p, ...)
4033 s = g (p, va_arg (v,int));
4038 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4039 function prototypes and stuff, but not '\xHH' hex character constants.
4040 These don't provoke an error unfortunately, instead are silently treated
4041 as 'x'. The following induces an error, until -std is added to get
4042 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4043 array size at least. It's necessary to write '\x00'==0 to get something
4044 that's true only with -std. */
4045 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4047 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4048 inside strings and character constants. */
4050 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4052 int test (int i, double x);
4053 struct s1 {int (*f) (int a);};
4054 struct s2 {int (*f) (double a);};
4055 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4061 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4066 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4067 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4069 CC="$ac_save_CC $ac_arg"
4070 if ac_fn_c_try_compile "$LINENO"; then :
4071 ac_cv_prog_cc_c89=$ac_arg
4073 rm -f core conftest.err conftest.$ac_objext
4074 test "x$ac_cv_prog_cc_c89" != "xno" && break
4076 rm -f conftest.$ac_ext
4081 case "x$ac_cv_prog_cc_c89" in
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4084 $as_echo "none needed" >&6; } ;;
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4087 $as_echo "unsupported" >&6; } ;;
4089 CC="$CC $ac_cv_prog_cc_c89"
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4091 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4093 if test "x$ac_cv_prog_cc_c89" != xno; then :
4098 ac_cpp='$CPP $CPPFLAGS'
4099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4103 depcc="$CC" am_compiler_list=
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4106 $as_echo_n "checking dependency style of $depcc... " >&6; }
4107 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4108 $as_echo_n "(cached) " >&6
4110 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4111 # We make a subdir and do the tests there. Otherwise we can end up
4112 # making bogus files that we don't know about and never remove. For
4113 # instance it was reported that on HP-UX the gcc test will end up
4114 # making a dummy file named 'D' -- because '-MD' means "put the output
4118 # Copy depcomp to subdir because otherwise we won't find it if we're
4119 # using a relative directory.
4120 cp "$am_depcomp" conftest.dir
4122 # We will build objects and dependencies in a subdirectory because
4123 # it helps to detect inapplicable dependency modes. For instance
4124 # both Tru64's cc and ICC support -MD to output dependencies as a
4125 # side effect of compilation, but ICC will put the dependencies in
4126 # the current directory while Tru64 will put them in the object
4130 am_cv_CC_dependencies_compiler_type=none
4131 if test "$am_compiler_list" = ""; then
4132 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4135 case " $depcc " in #(
4136 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4139 for depmode in $am_compiler_list; do
4140 # Setup a source with many dependencies, because some compilers
4141 # like to wrap large dependency lists on column 80 (with \), and
4142 # we should not choose a depcomp mode which is confused by this.
4144 # We need to recreate these files for each test, as the compiler may
4145 # overwrite some of them when testing with obscure command lines.
4146 # This happens at least with the AIX C compiler.
4148 for i in 1 2 3 4 5 6; do
4149 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4150 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4151 # Solaris 10 /bin/sh.
4152 echo '/* dummy */' > sub/conftst$i.h
4154 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4156 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4157 # mode. It turns out that the SunPro C++ compiler does not properly
4158 # handle '-M -o', and we need to detect this. Also, some Intel
4159 # versions had trouble with output in subdirs.
4160 am__obj=sub/conftest.${OBJEXT-o}
4161 am__minus_obj="-o $am__obj"
4164 # This depmode causes a compiler race in universal mode.
4165 test "$am__universal" = false || continue
4168 # After this tag, mechanisms are not by side-effect, so they'll
4169 # only be used when explicitly requested.
4170 if test "x$enable_dependency_tracking" = xyes; then
4176 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4177 # This compiler won't grok '-c -o', but also, the minuso test has
4178 # not run yet. These depmodes are late enough in the game, and
4179 # so weak that their functioning should not be impacted.
4180 am__obj=conftest.${OBJEXT-o}
4185 if depmode=$depmode \
4186 source=sub/conftest.c object=$am__obj \
4187 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4188 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4189 >/dev/null 2>conftest.err &&
4190 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4191 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4192 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4193 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4194 # icc doesn't choke on unknown options, it will just issue warnings
4195 # or remarks (even with -Werror). So we grep stderr for any message
4196 # that says an option was ignored or not supported.
4197 # When given -MP, icc 7.0 and 7.1 complain thusly:
4198 # icc: Command line warning: ignoring option '-M'; no argument required
4199 # The diagnosis changed in icc 8.0:
4200 # icc: Command line remark: option '-MP' not supported
4201 if (grep 'ignoring option' conftest.err ||
4202 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4203 am_cv_CC_dependencies_compiler_type=$depmode
4212 am_cv_CC_dependencies_compiler_type=none
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4217 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4218 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4221 test "x$enable_dependency_tracking" != xno \
4222 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4224 am__fastdepCC_FALSE='#'
4226 am__fastdepCC_TRUE='#'
4227 am__fastdepCC_FALSE=
4233 ac_cpp='$CPP $CPPFLAGS'
4234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4238 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4239 # On Suns, sometimes $CPP names a directory.
4240 if test -n "$CPP" && test -d "$CPP"; then
4243 if test -z "$CPP"; then
4244 if ${ac_cv_prog_CPP+:} false; then :
4245 $as_echo_n "(cached) " >&6
4247 # Double quotes because CPP needs to be expanded
4248 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4251 for ac_c_preproc_warn_flag in '' yes
4253 # Use a header file that comes with gcc, so configuring glibc
4254 # with a fresh cross-compiler works.
4255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4256 # <limits.h> exists even on freestanding compilers.
4257 # On the NeXT, cc -E runs the code through the compiler's parser,
4258 # not just through cpp. "Syntax error" is here to catch this case.
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4262 # include <limits.h>
4264 # include <assert.h>
4268 if ac_fn_c_try_cpp "$LINENO"; then :
4271 # Broken: fails on valid input.
4274 rm -f conftest.err conftest.i conftest.$ac_ext
4276 # OK, works on sane cases. Now check whether nonexistent headers
4277 # can be detected and how.
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4280 #include <ac_nonexistent.h>
4282 if ac_fn_c_try_cpp "$LINENO"; then :
4283 # Broken: success on invalid input.
4286 # Passes both tests.
4290 rm -f conftest.err conftest.i conftest.$ac_ext
4293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4294 rm -f conftest.i conftest.err conftest.$ac_ext
4295 if $ac_preproc_ok; then :
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4308 $as_echo "$CPP" >&6; }
4310 for ac_c_preproc_warn_flag in '' yes
4312 # Use a header file that comes with gcc, so configuring glibc
4313 # with a fresh cross-compiler works.
4314 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4315 # <limits.h> exists even on freestanding compilers.
4316 # On the NeXT, cc -E runs the code through the compiler's parser,
4317 # not just through cpp. "Syntax error" is here to catch this case.
4318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h. */
4321 # include <limits.h>
4323 # include <assert.h>
4327 if ac_fn_c_try_cpp "$LINENO"; then :
4330 # Broken: fails on valid input.
4333 rm -f conftest.err conftest.i conftest.$ac_ext
4335 # OK, works on sane cases. Now check whether nonexistent headers
4336 # can be detected and how.
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4339 #include <ac_nonexistent.h>
4341 if ac_fn_c_try_cpp "$LINENO"; then :
4342 # Broken: success on invalid input.
4345 # Passes both tests.
4349 rm -f conftest.err conftest.i conftest.$ac_ext
4352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4353 rm -f conftest.i conftest.err conftest.$ac_ext
4354 if $ac_preproc_ok; then :
4357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4359 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4360 See \`config.log' for more details" "$LINENO" 5; }
4364 ac_cpp='$CPP $CPPFLAGS'
4365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4371 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4372 if ${ac_cv_path_GREP+:} false; then :
4373 $as_echo_n "(cached) " >&6
4375 if test -z "$GREP"; then
4376 ac_path_GREP_found=false
4377 # Loop through the user's path and test for each of PROGNAME-LIST
4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4382 test -z "$as_dir" && as_dir=.
4383 for ac_prog in grep ggrep; do
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4386 as_fn_executable_p "$ac_path_GREP" || continue
4387 # Check for GNU ac_path_GREP and select it if it is found.
4388 # Check for GNU $ac_path_GREP
4389 case `"$ac_path_GREP" --version 2>&1` in
4391 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4394 $as_echo_n 0123456789 >"conftest.in"
4397 cat "conftest.in" "conftest.in" >"conftest.tmp"
4398 mv "conftest.tmp" "conftest.in"
4399 cp "conftest.in" "conftest.nl"
4400 $as_echo 'GREP' >> "conftest.nl"
4401 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4402 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4403 as_fn_arith $ac_count + 1 && ac_count=$as_val
4404 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4405 # Best one so far, save it but keep looking for a better one
4406 ac_cv_path_GREP="$ac_path_GREP"
4407 ac_path_GREP_max=$ac_count
4409 # 10*(2^10) chars as input seems more than enough
4410 test $ac_count -gt 10 && break
4412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4415 $ac_path_GREP_found && break 3
4420 if test -z "$ac_cv_path_GREP"; then
4421 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4424 ac_cv_path_GREP=$GREP
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4429 $as_echo "$ac_cv_path_GREP" >&6; }
4430 GREP="$ac_cv_path_GREP"
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4434 $as_echo_n "checking for egrep... " >&6; }
4435 if ${ac_cv_path_EGREP+:} false; then :
4436 $as_echo_n "(cached) " >&6
4438 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4439 then ac_cv_path_EGREP="$GREP -E"
4441 if test -z "$EGREP"; then
4442 ac_path_EGREP_found=false
4443 # Loop through the user's path and test for each of PROGNAME-LIST
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4448 test -z "$as_dir" && as_dir=.
4449 for ac_prog in egrep; do
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4452 as_fn_executable_p "$ac_path_EGREP" || continue
4453 # Check for GNU ac_path_EGREP and select it if it is found.
4454 # Check for GNU $ac_path_EGREP
4455 case `"$ac_path_EGREP" --version 2>&1` in
4457 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4460 $as_echo_n 0123456789 >"conftest.in"
4463 cat "conftest.in" "conftest.in" >"conftest.tmp"
4464 mv "conftest.tmp" "conftest.in"
4465 cp "conftest.in" "conftest.nl"
4466 $as_echo 'EGREP' >> "conftest.nl"
4467 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4468 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4469 as_fn_arith $ac_count + 1 && ac_count=$as_val
4470 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4471 # Best one so far, save it but keep looking for a better one
4472 ac_cv_path_EGREP="$ac_path_EGREP"
4473 ac_path_EGREP_max=$ac_count
4475 # 10*(2^10) chars as input seems more than enough
4476 test $ac_count -gt 10 && break
4478 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4481 $ac_path_EGREP_found && break 3
4486 if test -z "$ac_cv_path_EGREP"; then
4487 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4490 ac_cv_path_EGREP=$EGREP
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4496 $as_echo "$ac_cv_path_EGREP" >&6; }
4497 EGREP="$ac_cv_path_EGREP"
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4501 $as_echo_n "checking for ANSI C header files... " >&6; }
4502 if ${ac_cv_header_stdc+:} false; then :
4503 $as_echo_n "(cached) " >&6
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4520 if ac_fn_c_try_compile "$LINENO"; then :
4521 ac_cv_header_stdc=yes
4523 ac_cv_header_stdc=no
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 if test $ac_cv_header_stdc = yes; then
4528 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4535 $EGREP "memchr" >/dev/null 2>&1; then :
4538 ac_cv_header_stdc=no
4544 if test $ac_cv_header_stdc = yes; then
4545 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4552 $EGREP "free" >/dev/null 2>&1; then :
4555 ac_cv_header_stdc=no
4561 if test $ac_cv_header_stdc = yes; then
4562 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4563 if test "$cross_compiling" = yes; then :
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 #if ((' ' & 0x0FF) == 0x020)
4571 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4572 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4574 # define ISLOWER(c) \
4575 (('a' <= (c) && (c) <= 'i') \
4576 || ('j' <= (c) && (c) <= 'r') \
4577 || ('s' <= (c) && (c) <= 'z'))
4578 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4581 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4586 for (i = 0; i < 256; i++)
4587 if (XOR (islower (i), ISLOWER (i))
4588 || toupper (i) != TOUPPER (i))
4593 if ac_fn_c_try_run "$LINENO"; then :
4596 ac_cv_header_stdc=no
4598 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4599 conftest.$ac_objext conftest.beam conftest.$ac_ext
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4605 $as_echo "$ac_cv_header_stdc" >&6; }
4606 if test $ac_cv_header_stdc = yes; then
4608 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4612 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4613 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4614 inttypes.h stdint.h unistd.h
4616 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4617 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4619 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4620 cat >>confdefs.h <<_ACEOF
4621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4630 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4631 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4638 if test "$MINIX" = yes; then
4640 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4643 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4646 $as_echo "#define _MINIX 1" >>confdefs.h
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4652 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4653 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4654 $as_echo_n "(cached) " >&6
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4659 # define __EXTENSIONS__ 1
4660 $ac_includes_default
4669 if ac_fn_c_try_compile "$LINENO"; then :
4670 ac_cv_safe_to_define___extensions__=yes
4672 ac_cv_safe_to_define___extensions__=no
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4677 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4678 test $ac_cv_safe_to_define___extensions__ = yes &&
4679 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4681 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4683 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4685 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4687 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4692 # Support silent build rules. Disable
4693 # by either passing --disable-silent-rules to configure or passing V=1
4695 # Check whether --enable-silent-rules was given.
4696 if test "${enable_silent_rules+set}" = set; then :
4697 enableval=$enable_silent_rules;
4700 case $enable_silent_rules in # (((
4701 yes) AM_DEFAULT_VERBOSITY=0;;
4702 no) AM_DEFAULT_VERBOSITY=1;;
4703 *) AM_DEFAULT_VERBOSITY=0;;
4705 am_make=${MAKE-make}
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4707 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4708 if ${am_cv_make_support_nested_variables+:} false; then :
4709 $as_echo_n "(cached) " >&6
4711 if $as_echo 'TRUE=$(BAR$(V))
4717 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4718 am_cv_make_support_nested_variables=yes
4720 am_cv_make_support_nested_variables=no
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4724 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4725 if test $am_cv_make_support_nested_variables = yes; then
4727 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4729 AM_V=$AM_DEFAULT_VERBOSITY
4730 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4735 # Define sustituted variables:
4736 IBUS_MAJOR_VERSION=1
4737 IBUS_MINOR_VERSION=5
4738 IBUS_MICRO_VERSION=4
4740 IBUS_ABI_REVISION=504
4743 IBUS_API_VERSION=1.0
4744 IBUS_BINARY_VERSION=1.5.0.504
4755 # libtool versioning
4757 # If LT_VERSION_INFO="lt_current:lt_revision:lt_age", libibus is
4758 # libibus-ibus_api_version.so.(lt_current - lt_age).lt_age.lt_revision
4759 # If the abi is changed, but it is compatible with last version,
4760 # ibus_abi_current++, ibus_abi_age++;
4761 # If the abi is not compatible with last version,
4762 # ibus_abi_current++, ibus_abi_age = 0;
4766 LT_VERSION_INFO="5:504:0"
4767 LT_CURRENT_MINUS_AGE=5
4771 # Define GETTEXT_* variables.
4772 GETTEXT_PACKAGE=ibus10
4775 cat >>confdefs.h <<_ACEOF
4776 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4780 for ac_header in locale.h
4782 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4783 if test "x$ac_cv_header_locale_h" = xyes; then :
4784 cat >>confdefs.h <<_ACEOF
4785 #define HAVE_LOCALE_H 1
4792 if test $ac_cv_header_locale_h = yes; then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
4794 $as_echo_n "checking for LC_MESSAGES... " >&6; }
4795 if ${am_cv_val_LC_MESSAGES+:} false; then :
4796 $as_echo_n "(cached) " >&6
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4809 if ac_fn_c_try_link "$LINENO"; then :
4810 am_cv_val_LC_MESSAGES=yes
4812 am_cv_val_LC_MESSAGES=no
4814 rm -f core conftest.err conftest.$ac_objext \
4815 conftest$ac_exeext conftest.$ac_ext
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
4818 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
4819 if test $am_cv_val_LC_MESSAGES = yes; then
4821 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
4828 gt_cv_have_gettext=no
4834 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4835 if test "x$ac_cv_header_libintl_h" = xyes; then :
4836 gt_cv_func_dgettext_libintl="no"
4837 libintl_extra_libs=""
4840 # First check in libc
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
4843 $as_echo_n "checking for ngettext in libc... " >&6; }
4844 if ${gt_cv_func_ngettext_libc+:} false; then :
4845 $as_echo_n "(cached) " >&6
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4850 #include <libintl.h>
4855 return !ngettext ("","", 1)
4860 if ac_fn_c_try_link "$LINENO"; then :
4861 gt_cv_func_ngettext_libc=yes
4863 gt_cv_func_ngettext_libc=no
4865 rm -f core conftest.err conftest.$ac_objext \
4866 conftest$ac_exeext conftest.$ac_ext
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
4870 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
4872 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
4874 $as_echo_n "checking for dgettext in libc... " >&6; }
4875 if ${gt_cv_func_dgettext_libc+:} false; then :
4876 $as_echo_n "(cached) " >&6
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4881 #include <libintl.h>
4886 return !dgettext ("","")
4891 if ac_fn_c_try_link "$LINENO"; then :
4892 gt_cv_func_dgettext_libc=yes
4894 gt_cv_func_dgettext_libc=no
4896 rm -f core conftest.err conftest.$ac_objext \
4897 conftest$ac_exeext conftest.$ac_ext
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
4901 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
4904 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4905 for ac_func in bind_textdomain_codeset
4907 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4908 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4909 cat >>confdefs.h <<_ACEOF
4910 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
4919 # If we don't have everything we want, check in libintl
4921 if test "$gt_cv_func_dgettext_libc" != "yes" \
4922 || test "$gt_cv_func_ngettext_libc" != "yes" \
4923 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
4926 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
4927 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
4928 $as_echo_n "(cached) " >&6
4930 ac_check_lib_save_LIBS=$LIBS
4932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4935 /* Override any GCC internal prototype to avoid an error.
4936 Use char because int might match the return type of a GCC
4937 builtin and then its argument prototype would still apply. */
4941 char bindtextdomain ();
4945 return bindtextdomain ();
4950 if ac_fn_c_try_link "$LINENO"; then :
4951 ac_cv_lib_intl_bindtextdomain=yes
4953 ac_cv_lib_intl_bindtextdomain=no
4955 rm -f core conftest.err conftest.$ac_objext \
4956 conftest$ac_exeext conftest.$ac_ext
4957 LIBS=$ac_check_lib_save_LIBS
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
4960 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
4961 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
4963 $as_echo_n "checking for ngettext in -lintl... " >&6; }
4964 if ${ac_cv_lib_intl_ngettext+:} false; then :
4965 $as_echo_n "(cached) " >&6
4967 ac_check_lib_save_LIBS=$LIBS
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4972 /* Override any GCC internal prototype to avoid an error.
4973 Use char because int might match the return type of a GCC
4974 builtin and then its argument prototype would still apply. */
4987 if ac_fn_c_try_link "$LINENO"; then :
4988 ac_cv_lib_intl_ngettext=yes
4990 ac_cv_lib_intl_ngettext=no
4992 rm -f core conftest.err conftest.$ac_objext \
4993 conftest$ac_exeext conftest.$ac_ext
4994 LIBS=$ac_check_lib_save_LIBS
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
4997 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
4998 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5000 $as_echo_n "checking for dgettext in -lintl... " >&6; }
5001 if ${ac_cv_lib_intl_dgettext+:} false; then :
5002 $as_echo_n "(cached) " >&6
5004 ac_check_lib_save_LIBS=$LIBS
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5009 /* Override any GCC internal prototype to avoid an error.
5010 Use char because int might match the return type of a GCC
5011 builtin and then its argument prototype would still apply. */
5024 if ac_fn_c_try_link "$LINENO"; then :
5025 ac_cv_lib_intl_dgettext=yes
5027 ac_cv_lib_intl_dgettext=no
5029 rm -f core conftest.err conftest.$ac_objext \
5030 conftest$ac_exeext conftest.$ac_ext
5031 LIBS=$ac_check_lib_save_LIBS
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5034 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5035 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
5036 gt_cv_func_dgettext_libintl=yes
5044 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5046 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5050 $as_echo_n "checking for ngettext in -lintl... " >&6; }
5051 if ${ac_cv_lib_intl_ngettext+:} false; then :
5052 $as_echo_n "(cached) " >&6
5054 ac_check_lib_save_LIBS=$LIBS
5055 LIBS="-lintl -liconv $LIBS"
5056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5057 /* end confdefs.h. */
5059 /* Override any GCC internal prototype to avoid an error.
5060 Use char because int might match the return type of a GCC
5061 builtin and then its argument prototype would still apply. */
5074 if ac_fn_c_try_link "$LINENO"; then :
5075 ac_cv_lib_intl_ngettext=yes
5077 ac_cv_lib_intl_ngettext=no
5079 rm -f core conftest.err conftest.$ac_objext \
5080 conftest$ac_exeext conftest.$ac_ext
5081 LIBS=$ac_check_lib_save_LIBS
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5084 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5085 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5087 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
5088 if ${ac_cv_lib_intl_dcgettext+:} false; then :
5089 $as_echo_n "(cached) " >&6
5091 ac_check_lib_save_LIBS=$LIBS
5092 LIBS="-lintl -liconv $LIBS"
5093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5096 /* Override any GCC internal prototype to avoid an error.
5097 Use char because int might match the return type of a GCC
5098 builtin and then its argument prototype would still apply. */
5106 return dcgettext ();
5111 if ac_fn_c_try_link "$LINENO"; then :
5112 ac_cv_lib_intl_dcgettext=yes
5114 ac_cv_lib_intl_dcgettext=no
5116 rm -f core conftest.err conftest.$ac_objext \
5117 conftest$ac_exeext conftest.$ac_ext
5118 LIBS=$ac_check_lib_save_LIBS
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5121 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5122 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
5123 gt_cv_func_dgettext_libintl=yes
5124 libintl_extra_libs=-liconv
5136 # If we found libintl, then check in it for bind_textdomain_codeset();
5137 # we'll prefer libc if neither have bind_textdomain_codeset(),
5138 # and both have dgettext and ngettext
5140 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5141 glib_save_LIBS="$LIBS"
5142 LIBS="$LIBS -lintl $libintl_extra_libs"
5143 unset ac_cv_func_bind_textdomain_codeset
5144 for ac_func in bind_textdomain_codeset
5146 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5147 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5148 cat >>confdefs.h <<_ACEOF
5149 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
5155 LIBS="$glib_save_LIBS"
5157 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5158 gt_cv_func_dgettext_libc=no
5160 if test "$gt_cv_func_dgettext_libc" = "yes" \
5161 && test "$gt_cv_func_ngettext_libc" = "yes"; then
5162 gt_cv_func_dgettext_libintl=no
5168 if test "$gt_cv_func_dgettext_libc" = "yes" \
5169 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
5170 gt_cv_have_gettext=yes
5173 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5174 INTLLIBS="-lintl $libintl_extra_libs"
5177 if test "$gt_cv_have_gettext" = "yes"; then
5179 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5181 # Extract the first word of "msgfmt", so it can be a program name with args.
5182 set dummy msgfmt; ac_word=$2
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if ${ac_cv_path_MSGFMT+:} false; then :
5186 $as_echo_n "(cached) " >&6
5190 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5193 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5194 for ac_dir in $PATH; do
5195 test -z "$ac_dir" && ac_dir=.
5196 if test -f $ac_dir/$ac_word; then
5197 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5198 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5204 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5208 MSGFMT="$ac_cv_path_MSGFMT"
5209 if test "$MSGFMT" != "no"; then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5211 $as_echo "$MSGFMT" >&6; }
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5216 if test "$MSGFMT" != "no"; then
5217 glib_save_LIBS="$LIBS"
5218 LIBS="$LIBS $INTLLIBS"
5219 for ac_func in dcgettext
5221 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
5222 if test "x$ac_cv_func_dcgettext" = xyes; then :
5223 cat >>confdefs.h <<_ACEOF
5224 #define HAVE_DCGETTEXT 1
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
5232 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
5233 cat >conftest.foo <<_ACEOF
5237 "Content-Type: text/plain; charset=UTF-8\n"
5238 "Project-Id-Version: test 1.0\n"
5239 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
5240 "Last-Translator: test <foo@bar.xx>\n"
5241 "Language-Team: C <LL@li.org>\n"
5242 "MIME-Version: 1.0\n"
5243 "Content-Transfer-Encoding: 8bit\n"
5246 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
5247 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
5249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5250 test $ac_status = 0; }; then
5251 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5252 $as_echo "yes" >&6; }
5253 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5255 echo "$as_me: failed input was:" >&5
5256 sed 's/^/| /' conftest.foo >&5
5259 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5260 set dummy gmsgfmt; ac_word=$2
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5262 $as_echo_n "checking for $ac_word... " >&6; }
5263 if ${ac_cv_path_GMSGFMT+:} false; then :
5264 $as_echo_n "(cached) " >&6
5268 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5290 GMSGFMT=$ac_cv_path_GMSGFMT
5291 if test -n "$GMSGFMT"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5293 $as_echo "$GMSGFMT" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5300 # Extract the first word of "xgettext", so it can be a program name with args.
5301 set dummy xgettext; ac_word=$2
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5303 $as_echo_n "checking for $ac_word... " >&6; }
5304 if ${ac_cv_path_XGETTEXT+:} false; then :
5305 $as_echo_n "(cached) " >&6
5309 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5312 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5313 for ac_dir in $PATH; do
5314 test -z "$ac_dir" && ac_dir=.
5315 if test -f $ac_dir/$ac_word; then
5316 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5317 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5323 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5327 XGETTEXT="$ac_cv_path_XGETTEXT"
5328 if test "$XGETTEXT" != ":"; then
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5330 $as_echo "$XGETTEXT" >&6; }
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5333 $as_echo "no" >&6; }
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5342 extern int _nl_msg_cat_cntr;
5343 return _nl_msg_cat_cntr
5348 if ac_fn_c_try_link "$LINENO"; then :
5354 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5355 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5374 rm -f core conftest.err conftest.$ac_objext \
5375 conftest$ac_exeext conftest.$ac_ext
5376 LIBS="$glib_save_LIBS"
5379 gt_cv_have_gettext=no
5387 if test "$gt_cv_have_gettext" = "yes" ; then
5389 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5393 if test "$XGETTEXT" != ":"; then
5394 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5398 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5403 # We need to process the po/ directory.
5406 ac_config_commands="$ac_config_commands default-1"
5409 for lang in $ALL_LINGUAS; do
5410 GMOFILES="$GMOFILES $lang.gmo"
5411 POFILES="$POFILES $lang.po"
5426 if test "$gt_cv_have_gettext" = "yes"; then
5427 if test "x$ALL_LINGUAS" = "x"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5431 $as_echo_n "checking for catalogs to be installed... " >&6; }
5433 for presentlang in $ALL_LINGUAS; do
5435 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5436 desiredlanguages="$LINGUAS"
5438 desiredlanguages="$ALL_LINGUAS"
5440 for desiredlang in $desiredlanguages; do
5441 # Use the presentlang catalog if desiredlang is
5442 # a. equal to presentlang, or
5443 # b. a variant of presentlang (because in this case,
5444 # presentlang can be used as a fallback for messages
5445 # which are not translated in the desiredlang catalog).
5446 case "$desiredlang" in
5447 "$presentlang"*) useit=yes;;
5450 if test $useit = yes; then
5451 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5454 LINGUAS=$NEW_LINGUAS
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5456 $as_echo "$LINGUAS" >&6; }
5459 if test -n "$LINGUAS"; then
5460 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5465 if test -n "$ac_aux_dir"; then
5466 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5468 if test -z "$MKINSTALLDIRS"; then
5469 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5473 test -d po || mkdir po
5474 if test "x$srcdir" != "x."; then
5475 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5476 posrcprefix="$srcdir/"
5478 posrcprefix="../$srcdir/"
5484 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5485 < $srcdir/po/POTFILES.in > po/POTFILES
5487 glib_save_prefix="$prefix"
5488 glib_save_exec_prefix="$exec_prefix"
5489 glib_save_datarootdir="$datarootdir"
5490 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5491 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
5492 datarootdir=`eval echo "${datarootdir}"`
5493 if test "x$CATOBJEXT" = "x.mo" ; then
5494 localedir=`eval echo "${libdir}/locale"`
5496 localedir=`eval echo "${datadir}/locale"`
5498 prefix="$glib_save_prefix"
5499 exec_prefix="$glib_save_exec_prefix"
5500 datarootdir="$glib_save_datarootdir"
5502 cat >>confdefs.h <<_ACEOF
5503 #define GLIB_LOCALE_DIR "$localedir"
5507 GLIB_LOCALE_DIR=$localedir
5512 DATE_DISPLAY="Fri Sep 20 2013"
5516 # Check for programs.
5518 ac_cpp='$CPP $CPPFLAGS'
5519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5522 if test -n "$ac_tool_prefix"; then
5523 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5524 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_CC+:} false; then :
5528 $as_echo_n "(cached) " >&6
5530 if test -n "$CC"; then
5531 ac_cv_prog_CC="$CC" # Let the user override the test.
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5551 if test -n "$CC"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5553 $as_echo "$CC" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5561 if test -z "$ac_cv_prog_CC"; then
5563 # Extract the first word of "gcc", so it can be a program name with args.
5564 set dummy gcc; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5568 $as_echo_n "(cached) " >&6
5570 if test -n "$ac_ct_CC"; then
5571 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_ac_ct_CC="gcc"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5591 if test -n "$ac_ct_CC"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5593 $as_echo "$ac_ct_CC" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5599 if test "x$ac_ct_CC" = x; then
5602 case $cross_compiling:$ac_tool_warned in
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5606 ac_tool_warned=yes ;;
5614 if test -z "$CC"; then
5615 if test -n "$ac_tool_prefix"; then
5616 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5617 set dummy ${ac_tool_prefix}cc; ac_word=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if ${ac_cv_prog_CC+:} false; then :
5621 $as_echo_n "(cached) " >&6
5623 if test -n "$CC"; then
5624 ac_cv_prog_CC="$CC" # Let the user override the test.
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630 test -z "$as_dir" && as_dir=.
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5633 ac_cv_prog_CC="${ac_tool_prefix}cc"
5634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 if test -n "$CC"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5646 $as_echo "$CC" >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5655 if test -z "$CC"; then
5656 # Extract the first word of "cc", so it can be a program name with args.
5657 set dummy cc; ac_word=$2
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659 $as_echo_n "checking for $ac_word... " >&6; }
5660 if ${ac_cv_prog_CC+:} false; then :
5661 $as_echo_n "(cached) " >&6
5663 if test -n "$CC"; then
5664 ac_cv_prog_CC="$CC" # Let the user override the test.
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5675 ac_prog_rejected=yes
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 if test $ac_prog_rejected = yes; then
5687 # We found a bogon in the path, so make sure we never use it.
5688 set dummy $ac_cv_prog_CC
5690 if test $# != 0; then
5691 # We chose a different compiler from the bogus one.
5692 # However, it has the same basename, so the bogon will be chosen
5693 # first if we set CC to just the basename; use the full file name.
5695 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5701 if test -n "$CC"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5703 $as_echo "$CC" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5711 if test -z "$CC"; then
5712 if test -n "$ac_tool_prefix"; then
5713 for ac_prog in cl.exe
5715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if ${ac_cv_prog_CC+:} false; then :
5720 $as_echo_n "(cached) " >&6
5722 if test -n "$CC"; then
5723 ac_cv_prog_CC="$CC" # Let the user override the test.
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 test -z "$as_dir" && as_dir=.
5730 for ac_exec_ext in '' $ac_executable_extensions; do
5731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5732 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 if test -n "$CC"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5745 $as_echo "$CC" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5752 test -n "$CC" && break
5755 if test -z "$CC"; then
5757 for ac_prog in cl.exe
5759 # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy $ac_prog; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5764 $as_echo_n "(cached) " >&6
5766 if test -n "$ac_ct_CC"; then
5767 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_ac_ct_CC="$ac_prog"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5787 if test -n "$ac_ct_CC"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5789 $as_echo "$ac_ct_CC" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5796 test -n "$ac_ct_CC" && break
5799 if test "x$ac_ct_CC" = x; then
5802 case $cross_compiling:$ac_tool_warned in
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5815 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5817 as_fn_error $? "no acceptable C compiler found in \$PATH
5818 See \`config.log' for more details" "$LINENO" 5; }
5820 # Provide some information about the compiler.
5821 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5824 for ac_option in --version -v -V -qversion; do
5825 { { ac_try="$ac_compiler $ac_option >&5"
5827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5828 *) ac_try_echo=$ac_try;;
5830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5831 $as_echo "$ac_try_echo"; } >&5
5832 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5834 if test -s conftest.err; then
5836 ... rest of stderr output deleted ...
5837 10q' conftest.err >conftest.er1
5838 cat conftest.er1 >&5
5840 rm -f conftest.er1 conftest.err
5841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5842 test $ac_status = 0; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5846 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5847 if ${ac_cv_c_compiler_gnu+:} false; then :
5848 $as_echo_n "(cached) " >&6
5850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h. */
5864 if ac_fn_c_try_compile "$LINENO"; then :
5869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5870 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5874 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5875 if test $ac_compiler_gnu = yes; then
5880 ac_test_CFLAGS=${CFLAGS+set}
5881 ac_save_CFLAGS=$CFLAGS
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5883 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5884 if ${ac_cv_prog_cc_g+:} false; then :
5885 $as_echo_n "(cached) " >&6
5887 ac_save_c_werror_flag=$ac_c_werror_flag
5888 ac_c_werror_flag=yes
5891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5892 /* end confdefs.h. */
5902 if ac_fn_c_try_compile "$LINENO"; then :
5906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5907 /* end confdefs.h. */
5917 if ac_fn_c_try_compile "$LINENO"; then :
5920 ac_c_werror_flag=$ac_save_c_werror_flag
5922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5923 /* end confdefs.h. */
5933 if ac_fn_c_try_compile "$LINENO"; then :
5936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5941 ac_c_werror_flag=$ac_save_c_werror_flag
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5944 $as_echo "$ac_cv_prog_cc_g" >&6; }
5945 if test "$ac_test_CFLAGS" = set; then
5946 CFLAGS=$ac_save_CFLAGS
5947 elif test $ac_cv_prog_cc_g = yes; then
5948 if test "$GCC" = yes; then
5954 if test "$GCC" = yes; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5961 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5962 if ${ac_cv_prog_cc_c89+:} false; then :
5963 $as_echo_n "(cached) " >&6
5965 ac_cv_prog_cc_c89=no
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5972 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5973 struct buf { int x; };
5974 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5975 static char *e (p, i)
5981 static char *f (char * (*g) (char **, int), char **p, ...)
5986 s = g (p, va_arg (v,int));
5991 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5992 function prototypes and stuff, but not '\xHH' hex character constants.
5993 These don't provoke an error unfortunately, instead are silently treated
5994 as 'x'. The following induces an error, until -std is added to get
5995 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5996 array size at least. It's necessary to write '\x00'==0 to get something
5997 that's true only with -std. */
5998 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6000 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6001 inside strings and character constants. */
6003 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6005 int test (int i, double x);
6006 struct s1 {int (*f) (int a);};
6007 struct s2 {int (*f) (double a);};
6008 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6014 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6019 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6020 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6022 CC="$ac_save_CC $ac_arg"
6023 if ac_fn_c_try_compile "$LINENO"; then :
6024 ac_cv_prog_cc_c89=$ac_arg
6026 rm -f core conftest.err conftest.$ac_objext
6027 test "x$ac_cv_prog_cc_c89" != "xno" && break
6029 rm -f conftest.$ac_ext
6034 case "x$ac_cv_prog_cc_c89" in
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6037 $as_echo "none needed" >&6; } ;;
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6040 $as_echo "unsupported" >&6; } ;;
6042 CC="$CC $ac_cv_prog_cc_c89"
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6044 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6046 if test "x$ac_cv_prog_cc_c89" != xno; then :
6051 ac_cpp='$CPP $CPPFLAGS'
6052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6056 depcc="$CC" am_compiler_list=
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6059 $as_echo_n "checking dependency style of $depcc... " >&6; }
6060 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6061 $as_echo_n "(cached) " >&6
6063 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6064 # We make a subdir and do the tests there. Otherwise we can end up
6065 # making bogus files that we don't know about and never remove. For
6066 # instance it was reported that on HP-UX the gcc test will end up
6067 # making a dummy file named 'D' -- because '-MD' means "put the output
6071 # Copy depcomp to subdir because otherwise we won't find it if we're
6072 # using a relative directory.
6073 cp "$am_depcomp" conftest.dir
6075 # We will build objects and dependencies in a subdirectory because
6076 # it helps to detect inapplicable dependency modes. For instance
6077 # both Tru64's cc and ICC support -MD to output dependencies as a
6078 # side effect of compilation, but ICC will put the dependencies in
6079 # the current directory while Tru64 will put them in the object
6083 am_cv_CC_dependencies_compiler_type=none
6084 if test "$am_compiler_list" = ""; then
6085 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6088 case " $depcc " in #(
6089 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6092 for depmode in $am_compiler_list; do
6093 # Setup a source with many dependencies, because some compilers
6094 # like to wrap large dependency lists on column 80 (with \), and
6095 # we should not choose a depcomp mode which is confused by this.
6097 # We need to recreate these files for each test, as the compiler may
6098 # overwrite some of them when testing with obscure command lines.
6099 # This happens at least with the AIX C compiler.
6101 for i in 1 2 3 4 5 6; do
6102 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6103 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6104 # Solaris 10 /bin/sh.
6105 echo '/* dummy */' > sub/conftst$i.h
6107 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6109 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6110 # mode. It turns out that the SunPro C++ compiler does not properly
6111 # handle '-M -o', and we need to detect this. Also, some Intel
6112 # versions had trouble with output in subdirs.
6113 am__obj=sub/conftest.${OBJEXT-o}
6114 am__minus_obj="-o $am__obj"
6117 # This depmode causes a compiler race in universal mode.
6118 test "$am__universal" = false || continue
6121 # After this tag, mechanisms are not by side-effect, so they'll
6122 # only be used when explicitly requested.
6123 if test "x$enable_dependency_tracking" = xyes; then
6129 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6130 # This compiler won't grok '-c -o', but also, the minuso test has
6131 # not run yet. These depmodes are late enough in the game, and
6132 # so weak that their functioning should not be impacted.
6133 am__obj=conftest.${OBJEXT-o}
6138 if depmode=$depmode \
6139 source=sub/conftest.c object=$am__obj \
6140 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6141 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6142 >/dev/null 2>conftest.err &&
6143 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6144 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6145 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6146 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6147 # icc doesn't choke on unknown options, it will just issue warnings
6148 # or remarks (even with -Werror). So we grep stderr for any message
6149 # that says an option was ignored or not supported.
6150 # When given -MP, icc 7.0 and 7.1 complain thusly:
6151 # icc: Command line warning: ignoring option '-M'; no argument required
6152 # The diagnosis changed in icc 8.0:
6153 # icc: Command line remark: option '-MP' not supported
6154 if (grep 'ignoring option' conftest.err ||
6155 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6156 am_cv_CC_dependencies_compiler_type=$depmode
6165 am_cv_CC_dependencies_compiler_type=none
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6170 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6171 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6174 test "x$enable_dependency_tracking" != xno \
6175 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6177 am__fastdepCC_FALSE='#'
6179 am__fastdepCC_TRUE='#'
6180 am__fastdepCC_FALSE=
6184 if test "x$CC" != xcc; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6186 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6189 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6191 set dummy $CC; ac_cc=`$as_echo "$2" |
6192 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6193 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
6194 $as_echo_n "(cached) " >&6
6196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6197 /* end confdefs.h. */
6207 # Make sure it works both with $CC and with simple cc.
6208 # We do the test twice because some compilers refuse to overwrite an
6209 # existing .o file with -o, though they will create one.
6210 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6212 if { { case "(($ac_try" in
6213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6214 *) ac_try_echo=$ac_try;;
6216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6217 $as_echo "$ac_try_echo"; } >&5
6218 (eval "$ac_try") 2>&5
6220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6221 test $ac_status = 0; } &&
6222 test -f conftest2.$ac_objext && { { case "(($ac_try" in
6223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6224 *) ac_try_echo=$ac_try;;
6226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6227 $as_echo "$ac_try_echo"; } >&5
6228 (eval "$ac_try") 2>&5
6230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6231 test $ac_status = 0; };
6233 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
6234 if test "x$CC" != xcc; then
6235 # Test first that cc exists at all.
6236 if { ac_try='cc -c conftest.$ac_ext >&5'
6237 { { case "(($ac_try" in
6238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6239 *) ac_try_echo=$ac_try;;
6241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6242 $as_echo "$ac_try_echo"; } >&5
6243 (eval "$ac_try") 2>&5
6245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6246 test $ac_status = 0; }; }; then
6247 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6249 if { { case "(($ac_try" in
6250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6251 *) ac_try_echo=$ac_try;;
6253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6254 $as_echo "$ac_try_echo"; } >&5
6255 (eval "$ac_try") 2>&5
6257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6258 test $ac_status = 0; } &&
6259 test -f conftest2.$ac_objext && { { case "(($ac_try" in
6260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6261 *) ac_try_echo=$ac_try;;
6263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6264 $as_echo "$ac_try_echo"; } >&5
6265 (eval "$ac_try") 2>&5
6267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6268 test $ac_status = 0; };
6273 # cc exists but doesn't like -o.
6274 eval ac_cv_prog_cc_${ac_cc}_c_o=no
6279 eval ac_cv_prog_cc_${ac_cc}_c_o=no
6281 rm -f core conftest*
6284 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6286 $as_echo "yes" >&6; }
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6291 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
6295 # FIXME: we rely on the cache variable name because
6296 # there is no other way.
6298 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6299 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6300 if test "$am_t" != yes; then
6301 # Losing compiler, so override with the script.
6302 # FIXME: It is wrong to rewrite CC.
6303 # But if we don't then we get into trouble of one sort or another.
6304 # A longer-term fix would be to have automake use am__CC in this case,
6305 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6306 CC="$am_aux_dir/compile $CC"
6310 case $ac_cv_prog_cc_stdc in #(
6312 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
6315 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
6316 if ${ac_cv_prog_cc_c99+:} false; then :
6317 $as_echo_n "(cached) " >&6
6319 ac_cv_prog_cc_c99=no
6321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6322 /* end confdefs.h. */
6324 #include <stdbool.h>
6329 // Check varargs macros. These examples are taken from C99 6.10.3.5.
6330 #define debug(...) fprintf (stderr, __VA_ARGS__)
6331 #define showlist(...) puts (#__VA_ARGS__)
6332 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
6334 test_varargs_macros (void)
6339 debug ("X = %d\n", x);
6340 showlist (The first, second, and third items.);
6341 report (x>y, "x is %d but y is %d", x, y);
6344 // Check long long types.
6345 #define BIG64 18446744073709551615ull
6346 #define BIG32 4294967295ul
6347 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
6349 your preprocessor is broken;
6353 your preprocessor is broken;
6355 static long long int bignum = -9223372036854775807LL;
6356 static unsigned long long int ubignum = BIG64;
6358 struct incomplete_array
6366 const wchar_t *name;
6370 typedef const char *ccp;
6373 test_restrict (ccp restrict text)
6375 // See if C++-style comments work.
6376 // Iterate through items via the restricted pointer.
6377 // Also check for declarations in for loops.
6378 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
6383 // Check varargs and va_copy.
6385 test_varargs (const char *format, ...)
6388 va_start (args, format);
6390 va_copy (args_copy, args);
6401 str = va_arg (args_copy, const char *);
6404 number = va_arg (args_copy, int);
6407 fnumber = va_arg (args_copy, double);
6422 _Bool success = false;
6425 if (test_restrict ("String literal") == 0)
6427 char *restrict newvar = "Another string";
6430 test_varargs ("s, d' f .", "string", 65, 34.234);
6431 test_varargs_macros ();
6433 // Check flexible array members.
6434 struct incomplete_array *ia =
6435 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
6437 for (int i = 0; i < ia->datasize; ++i)
6438 ia->data[i] = i * 1.234;
6440 // Check named initializers.
6441 struct named_init ni = {
6443 .name = L"Test wide string",
6444 .average = 543.34343,
6449 int dynamic_array[ni.number];
6450 dynamic_array[ni.number - 1] = 543;
6452 // work around unused variable warnings
6453 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
6454 || dynamic_array[ni.number - 1] != 543);
6460 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
6462 CC="$ac_save_CC $ac_arg"
6463 if ac_fn_c_try_compile "$LINENO"; then :
6464 ac_cv_prog_cc_c99=$ac_arg
6466 rm -f core conftest.err conftest.$ac_objext
6467 test "x$ac_cv_prog_cc_c99" != "xno" && break
6469 rm -f conftest.$ac_ext
6474 case "x$ac_cv_prog_cc_c99" in
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6477 $as_echo "none needed" >&6; } ;;
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6480 $as_echo "unsupported" >&6; } ;;
6482 CC="$CC $ac_cv_prog_cc_c99"
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
6484 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
6486 if test "x$ac_cv_prog_cc_c99" != xno; then :
6487 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6490 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6491 if ${ac_cv_prog_cc_c89+:} false; then :
6492 $as_echo_n "(cached) " >&6
6494 ac_cv_prog_cc_c89=no
6496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6497 /* end confdefs.h. */
6501 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6502 struct buf { int x; };
6503 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6504 static char *e (p, i)
6510 static char *f (char * (*g) (char **, int), char **p, ...)
6515 s = g (p, va_arg (v,int));
6520 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6521 function prototypes and stuff, but not '\xHH' hex character constants.
6522 These don't provoke an error unfortunately, instead are silently treated
6523 as 'x'. The following induces an error, until -std is added to get
6524 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6525 array size at least. It's necessary to write '\x00'==0 to get something
6526 that's true only with -std. */
6527 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6529 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6530 inside strings and character constants. */
6532 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6534 int test (int i, double x);
6535 struct s1 {int (*f) (int a);};
6536 struct s2 {int (*f) (double a);};
6537 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6543 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6548 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6549 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6551 CC="$ac_save_CC $ac_arg"
6552 if ac_fn_c_try_compile "$LINENO"; then :
6553 ac_cv_prog_cc_c89=$ac_arg
6555 rm -f core conftest.err conftest.$ac_objext
6556 test "x$ac_cv_prog_cc_c89" != "xno" && break
6558 rm -f conftest.$ac_ext
6563 case "x$ac_cv_prog_cc_c89" in
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6566 $as_echo "none needed" >&6; } ;;
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6569 $as_echo "unsupported" >&6; } ;;
6571 CC="$CC $ac_cv_prog_cc_c89"
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6573 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6575 if test "x$ac_cv_prog_cc_c89" != xno; then :
6576 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
6578 ac_cv_prog_cc_stdc=no
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
6585 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
6586 if ${ac_cv_prog_cc_stdc+:} false; then :
6587 $as_echo_n "(cached) " >&6
6590 case $ac_cv_prog_cc_stdc in #(
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6593 $as_echo "unsupported" >&6; } ;; #(
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6596 $as_echo "none needed" >&6; } ;; #(
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
6599 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
6602 # Extract the first word of "valac", so it can be a program name with args.
6603 set dummy valac; ac_word=$2
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 $as_echo_n "checking for $ac_word... " >&6; }
6606 if ${ac_cv_path_VALAC+:} false; then :
6607 $as_echo_n "(cached) " >&6
6611 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 test -z "$as_dir" && as_dir=.
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6621 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
6622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
6633 VALAC=$ac_cv_path_VALAC
6634 if test -n "$VALAC"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
6636 $as_echo "$VALAC" >&6; }
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 $as_echo "no" >&6; }
6643 if test "$VALAC" != valac && test -n "0.14"; then :
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.14" >&5
6645 $as_echo_n "checking whether $VALAC is at least version 0.14... " >&6; }
6646 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
6648 as_arg_v2="$am__vala_version"
6649 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6653 $as_echo "yes" >&6; } ;; #(
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6656 $as_echo "yes" >&6; } ;; #(
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 $as_echo "no" >&6; }
6665 if test "$VALAC" = valac; then
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
6667 $as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
6669 $as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6675 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6677 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6678 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6679 $as_echo_n "(cached) " >&6
6681 cat >conftest.make <<\_ACEOF
6684 @echo '@@@%%%=$(MAKE)=@@@%%%'
6686 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6687 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6689 eval ac_cv_prog_make_${ac_make}_set=yes;;
6691 eval ac_cv_prog_make_${ac_make}_set=no;;
6695 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6697 $as_echo "yes" >&6; }
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 $as_echo "no" >&6; }
6702 SET_MAKE="MAKE=${MAKE-make}"
6708 for ac_header in locale.h
6710 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
6711 if test "x$ac_cv_header_locale_h" = xyes; then :
6712 cat >>confdefs.h <<_ACEOF
6713 #define HAVE_LOCALE_H 1
6720 if test $ac_cv_header_locale_h = yes; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
6722 $as_echo_n "checking for LC_MESSAGES... " >&6; }
6723 if ${am_cv_val_LC_MESSAGES+:} false; then :
6724 $as_echo_n "(cached) " >&6
6726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6727 /* end confdefs.h. */
6737 if ac_fn_c_try_link "$LINENO"; then :
6738 am_cv_val_LC_MESSAGES=yes
6740 am_cv_val_LC_MESSAGES=no
6742 rm -f core conftest.err conftest.$ac_objext \
6743 conftest$ac_exeext conftest.$ac_ext
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
6746 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6747 if test $am_cv_val_LC_MESSAGES = yes; then
6749 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
6756 gt_cv_have_gettext=no
6762 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
6763 if test "x$ac_cv_header_libintl_h" = xyes; then :
6764 gt_cv_func_dgettext_libintl="no"
6765 libintl_extra_libs=""
6768 # First check in libc
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
6771 $as_echo_n "checking for ngettext in libc... " >&6; }
6772 if ${gt_cv_func_ngettext_libc+:} false; then :
6773 $as_echo_n "(cached) " >&6
6775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6776 /* end confdefs.h. */
6778 #include <libintl.h>
6783 return !ngettext ("","", 1)
6788 if ac_fn_c_try_link "$LINENO"; then :
6789 gt_cv_func_ngettext_libc=yes
6791 gt_cv_func_ngettext_libc=no
6793 rm -f core conftest.err conftest.$ac_objext \
6794 conftest$ac_exeext conftest.$ac_ext
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
6798 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
6800 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
6802 $as_echo_n "checking for dgettext in libc... " >&6; }
6803 if ${gt_cv_func_dgettext_libc+:} false; then :
6804 $as_echo_n "(cached) " >&6
6806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6807 /* end confdefs.h. */
6809 #include <libintl.h>
6814 return !dgettext ("","")
6819 if ac_fn_c_try_link "$LINENO"; then :
6820 gt_cv_func_dgettext_libc=yes
6822 gt_cv_func_dgettext_libc=no
6824 rm -f core conftest.err conftest.$ac_objext \
6825 conftest$ac_exeext conftest.$ac_ext
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
6829 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
6832 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6833 for ac_func in bind_textdomain_codeset
6835 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6836 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6837 cat >>confdefs.h <<_ACEOF
6838 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
6847 # If we don't have everything we want, check in libintl
6849 if test "$gt_cv_func_dgettext_libc" != "yes" \
6850 || test "$gt_cv_func_ngettext_libc" != "yes" \
6851 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
6854 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6855 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
6856 $as_echo_n "(cached) " >&6
6858 ac_check_lib_save_LIBS=$LIBS
6860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6861 /* end confdefs.h. */
6863 /* Override any GCC internal prototype to avoid an error.
6864 Use char because int might match the return type of a GCC
6865 builtin and then its argument prototype would still apply. */
6869 char bindtextdomain ();
6873 return bindtextdomain ();
6878 if ac_fn_c_try_link "$LINENO"; then :
6879 ac_cv_lib_intl_bindtextdomain=yes
6881 ac_cv_lib_intl_bindtextdomain=no
6883 rm -f core conftest.err conftest.$ac_objext \
6884 conftest$ac_exeext conftest.$ac_ext
6885 LIBS=$ac_check_lib_save_LIBS
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
6888 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6889 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6891 $as_echo_n "checking for ngettext in -lintl... " >&6; }
6892 if ${ac_cv_lib_intl_ngettext+:} false; then :
6893 $as_echo_n "(cached) " >&6
6895 ac_check_lib_save_LIBS=$LIBS
6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6900 /* Override any GCC internal prototype to avoid an error.
6901 Use char because int might match the return type of a GCC
6902 builtin and then its argument prototype would still apply. */
6915 if ac_fn_c_try_link "$LINENO"; then :
6916 ac_cv_lib_intl_ngettext=yes
6918 ac_cv_lib_intl_ngettext=no
6920 rm -f core conftest.err conftest.$ac_objext \
6921 conftest$ac_exeext conftest.$ac_ext
6922 LIBS=$ac_check_lib_save_LIBS
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6925 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6926 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
6928 $as_echo_n "checking for dgettext in -lintl... " >&6; }
6929 if ${ac_cv_lib_intl_dgettext+:} false; then :
6930 $as_echo_n "(cached) " >&6
6932 ac_check_lib_save_LIBS=$LIBS
6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h. */
6937 /* Override any GCC internal prototype to avoid an error.
6938 Use char because int might match the return type of a GCC
6939 builtin and then its argument prototype would still apply. */
6952 if ac_fn_c_try_link "$LINENO"; then :
6953 ac_cv_lib_intl_dgettext=yes
6955 ac_cv_lib_intl_dgettext=no
6957 rm -f core conftest.err conftest.$ac_objext \
6958 conftest$ac_exeext conftest.$ac_ext
6959 LIBS=$ac_check_lib_save_LIBS
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
6962 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6963 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
6964 gt_cv_func_dgettext_libintl=yes
6972 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
6974 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6978 $as_echo_n "checking for ngettext in -lintl... " >&6; }
6979 if ${ac_cv_lib_intl_ngettext+:} false; then :
6980 $as_echo_n "(cached) " >&6
6982 ac_check_lib_save_LIBS=$LIBS
6983 LIBS="-lintl -liconv $LIBS"
6984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6985 /* end confdefs.h. */
6987 /* Override any GCC internal prototype to avoid an error.
6988 Use char because int might match the return type of a GCC
6989 builtin and then its argument prototype would still apply. */
7002 if ac_fn_c_try_link "$LINENO"; then :
7003 ac_cv_lib_intl_ngettext=yes
7005 ac_cv_lib_intl_ngettext=no
7007 rm -f core conftest.err conftest.$ac_objext \
7008 conftest$ac_exeext conftest.$ac_ext
7009 LIBS=$ac_check_lib_save_LIBS
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
7012 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
7013 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
7015 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
7016 if ${ac_cv_lib_intl_dcgettext+:} false; then :
7017 $as_echo_n "(cached) " >&6
7019 ac_check_lib_save_LIBS=$LIBS
7020 LIBS="-lintl -liconv $LIBS"
7021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7022 /* end confdefs.h. */
7024 /* Override any GCC internal prototype to avoid an error.
7025 Use char because int might match the return type of a GCC
7026 builtin and then its argument prototype would still apply. */
7034 return dcgettext ();
7039 if ac_fn_c_try_link "$LINENO"; then :
7040 ac_cv_lib_intl_dcgettext=yes
7042 ac_cv_lib_intl_dcgettext=no
7044 rm -f core conftest.err conftest.$ac_objext \
7045 conftest$ac_exeext conftest.$ac_ext
7046 LIBS=$ac_check_lib_save_LIBS
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
7049 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
7050 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
7051 gt_cv_func_dgettext_libintl=yes
7052 libintl_extra_libs=-liconv
7064 # If we found libintl, then check in it for bind_textdomain_codeset();
7065 # we'll prefer libc if neither have bind_textdomain_codeset(),
7066 # and both have dgettext and ngettext
7068 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7069 glib_save_LIBS="$LIBS"
7070 LIBS="$LIBS -lintl $libintl_extra_libs"
7071 unset ac_cv_func_bind_textdomain_codeset
7072 for ac_func in bind_textdomain_codeset
7074 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
7075 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
7076 cat >>confdefs.h <<_ACEOF
7077 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
7083 LIBS="$glib_save_LIBS"
7085 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7086 gt_cv_func_dgettext_libc=no
7088 if test "$gt_cv_func_dgettext_libc" = "yes" \
7089 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7090 gt_cv_func_dgettext_libintl=no
7096 if test "$gt_cv_func_dgettext_libc" = "yes" \
7097 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
7098 gt_cv_have_gettext=yes
7101 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7102 INTLLIBS="-lintl $libintl_extra_libs"
7105 if test "$gt_cv_have_gettext" = "yes"; then
7107 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7109 # Extract the first word of "msgfmt", so it can be a program name with args.
7110 set dummy msgfmt; ac_word=$2
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7112 $as_echo_n "checking for $ac_word... " >&6; }
7113 if ${ac_cv_path_MSGFMT+:} false; then :
7114 $as_echo_n "(cached) " >&6
7118 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7121 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7122 for ac_dir in $PATH; do
7123 test -z "$ac_dir" && ac_dir=.
7124 if test -f $ac_dir/$ac_word; then
7125 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7126 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7132 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
7136 MSGFMT="$ac_cv_path_MSGFMT"
7137 if test "$MSGFMT" != "no"; then
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7139 $as_echo "$MSGFMT" >&6; }
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142 $as_echo "no" >&6; }
7144 if test "$MSGFMT" != "no"; then
7145 glib_save_LIBS="$LIBS"
7146 LIBS="$LIBS $INTLLIBS"
7147 for ac_func in dcgettext
7149 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
7150 if test "x$ac_cv_func_dcgettext" = xyes; then :
7151 cat >>confdefs.h <<_ACEOF
7152 #define HAVE_DCGETTEXT 1
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
7160 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
7161 cat >conftest.foo <<_ACEOF
7165 "Content-Type: text/plain; charset=UTF-8\n"
7166 "Project-Id-Version: test 1.0\n"
7167 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
7168 "Last-Translator: test <foo@bar.xx>\n"
7169 "Language-Team: C <LL@li.org>\n"
7170 "MIME-Version: 1.0\n"
7171 "Content-Transfer-Encoding: 8bit\n"
7174 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
7175 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7178 test $ac_status = 0; }; then
7179 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7180 $as_echo "yes" >&6; }
7181 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7182 $as_echo "no" >&6; }
7183 echo "$as_me: failed input was:" >&5
7184 sed 's/^/| /' conftest.foo >&5
7187 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7188 set dummy gmsgfmt; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_path_GMSGFMT+:} false; then :
7192 $as_echo_n "(cached) " >&6
7196 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 test -z "$as_dir" && as_dir=.
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7206 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7218 GMSGFMT=$ac_cv_path_GMSGFMT
7219 if test -n "$GMSGFMT"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
7221 $as_echo "$GMSGFMT" >&6; }
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7228 # Extract the first word of "xgettext", so it can be a program name with args.
7229 set dummy xgettext; ac_word=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if ${ac_cv_path_XGETTEXT+:} false; then :
7233 $as_echo_n "(cached) " >&6
7237 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7240 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7241 for ac_dir in $PATH; do
7242 test -z "$ac_dir" && ac_dir=.
7243 if test -f $ac_dir/$ac_word; then
7244 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7245 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7251 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7255 XGETTEXT="$ac_cv_path_XGETTEXT"
7256 if test "$XGETTEXT" != ":"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
7258 $as_echo "$XGETTEXT" >&6; }
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7270 extern int _nl_msg_cat_cntr;
7271 return _nl_msg_cat_cntr
7276 if ac_fn_c_try_link "$LINENO"; then :
7282 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
7283 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
7302 rm -f core conftest.err conftest.$ac_objext \
7303 conftest$ac_exeext conftest.$ac_ext
7304 LIBS="$glib_save_LIBS"
7307 gt_cv_have_gettext=no
7315 if test "$gt_cv_have_gettext" = "yes" ; then
7317 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
7321 if test "$XGETTEXT" != ":"; then
7322 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
7326 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
7331 # We need to process the po/ directory.
7334 ac_config_commands="$ac_config_commands default-2"
7337 for lang in $ALL_LINGUAS; do
7338 GMOFILES="$GMOFILES $lang.gmo"
7339 POFILES="$POFILES $lang.po"
7354 if test "$gt_cv_have_gettext" = "yes"; then
7355 if test "x$ALL_LINGUAS" = "x"; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
7359 $as_echo_n "checking for catalogs to be installed... " >&6; }
7361 for presentlang in $ALL_LINGUAS; do
7363 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7364 desiredlanguages="$LINGUAS"
7366 desiredlanguages="$ALL_LINGUAS"
7368 for desiredlang in $desiredlanguages; do
7369 # Use the presentlang catalog if desiredlang is
7370 # a. equal to presentlang, or
7371 # b. a variant of presentlang (because in this case,
7372 # presentlang can be used as a fallback for messages
7373 # which are not translated in the desiredlang catalog).
7374 case "$desiredlang" in
7375 "$presentlang"*) useit=yes;;
7378 if test $useit = yes; then
7379 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7382 LINGUAS=$NEW_LINGUAS
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
7384 $as_echo "$LINGUAS" >&6; }
7387 if test -n "$LINGUAS"; then
7388 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7393 if test -n "$ac_aux_dir"; then
7394 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7396 if test -z "$MKINSTALLDIRS"; then
7397 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7401 test -d po || mkdir po
7402 if test "x$srcdir" != "x."; then
7403 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7404 posrcprefix="$srcdir/"
7406 posrcprefix="../$srcdir/"
7412 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7413 < $srcdir/po/POTFILES.in > po/POTFILES
7416 # Define PACKAGE_VERSION_* variables.
7417 # Check whether --enable-static was given.
7418 if test "${enable_static+set}" = set; then :
7419 enableval=$enable_static; p=${PACKAGE-default}
7421 yes) enable_static=yes ;;
7422 no) enable_static=no ;;
7425 # Look at the argument we got. We use all the common list separators.
7426 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7427 for pkg in $enableval; do
7429 if test "X$pkg" = "X$p"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
7449 $as_echo_n "checking for library containing strerror... " >&6; }
7450 if ${ac_cv_search_strerror+:} false; then :
7451 $as_echo_n "(cached) " >&6
7453 ac_func_search_save_LIBS=$LIBS
7454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7455 /* end confdefs.h. */
7457 /* Override any GCC internal prototype to avoid an error.
7458 Use char because int might match the return type of a GCC
7459 builtin and then its argument prototype would still apply. */
7472 for ac_lib in '' cposix; do
7473 if test -z "$ac_lib"; then
7474 ac_res="none required"
7477 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7479 if ac_fn_c_try_link "$LINENO"; then :
7480 ac_cv_search_strerror=$ac_res
7482 rm -f core conftest.err conftest.$ac_objext \
7484 if ${ac_cv_search_strerror+:} false; then :
7488 if ${ac_cv_search_strerror+:} false; then :
7491 ac_cv_search_strerror=no
7494 LIBS=$ac_func_search_save_LIBS
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
7497 $as_echo "$ac_cv_search_strerror" >&6; }
7498 ac_res=$ac_cv_search_strerror
7499 if test "$ac_res" != no; then :
7500 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7505 $as_echo_n "checking for ANSI C header files... " >&6; }
7506 if ${ac_cv_header_stdc+:} false; then :
7507 $as_echo_n "(cached) " >&6
7509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7510 /* end confdefs.h. */
7524 if ac_fn_c_try_compile "$LINENO"; then :
7525 ac_cv_header_stdc=yes
7527 ac_cv_header_stdc=no
7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7531 if test $ac_cv_header_stdc = yes; then
7532 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h. */
7538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7539 $EGREP "memchr" >/dev/null 2>&1; then :
7542 ac_cv_header_stdc=no
7548 if test $ac_cv_header_stdc = yes; then
7549 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7551 /* end confdefs.h. */
7555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7556 $EGREP "free" >/dev/null 2>&1; then :
7559 ac_cv_header_stdc=no
7565 if test $ac_cv_header_stdc = yes; then
7566 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7567 if test "$cross_compiling" = yes; then :
7570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h. */
7574 #if ((' ' & 0x0FF) == 0x020)
7575 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7576 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7578 # define ISLOWER(c) \
7579 (('a' <= (c) && (c) <= 'i') \
7580 || ('j' <= (c) && (c) <= 'r') \
7581 || ('s' <= (c) && (c) <= 'z'))
7582 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7585 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7590 for (i = 0; i < 256; i++)
7591 if (XOR (islower (i), ISLOWER (i))
7592 || toupper (i) != TOUPPER (i))
7597 if ac_fn_c_try_run "$LINENO"; then :
7600 ac_cv_header_stdc=no
7602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7603 conftest.$ac_objext conftest.beam conftest.$ac_ext
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7609 $as_echo "$ac_cv_header_stdc" >&6; }
7610 if test $ac_cv_header_stdc = yes; then
7612 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7619 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7624 macro_version='2.4.2'
7625 macro_revision='1.3337'
7639 ltmain="$ac_aux_dir/ltmain.sh"
7641 # Make sure we can run config.sub.
7642 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
7643 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7646 $as_echo_n "checking build system type... " >&6; }
7647 if ${ac_cv_build+:} false; then :
7648 $as_echo_n "(cached) " >&6
7650 ac_build_alias=$build_alias
7651 test "x$ac_build_alias" = x &&
7652 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
7653 test "x$ac_build_alias" = x &&
7654 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
7655 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
7656 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7660 $as_echo "$ac_cv_build" >&6; }
7661 case $ac_cv_build in
7663 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
7666 ac_save_IFS=$IFS; IFS='-'
7672 # Remember, the first character of IFS is used to create $*,
7673 # except with old shells:
7676 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7680 $as_echo_n "checking host system type... " >&6; }
7681 if ${ac_cv_host+:} false; then :
7682 $as_echo_n "(cached) " >&6
7684 if test "x$host_alias" = x; then
7685 ac_cv_host=$ac_cv_build
7687 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7688 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7693 $as_echo "$ac_cv_host" >&6; }
7696 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
7699 ac_save_IFS=$IFS; IFS='-'
7705 # Remember, the first character of IFS is used to create $*,
7706 # except with old shells:
7709 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7712 # Backslashify metacharacters that are still active within
7713 # double-quoted strings.
7714 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7716 # Same as above, but do not quote variable references.
7717 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7719 # Sed substitution to delay expansion of an escaped shell variable in a
7720 # double_quote_subst'ed string.
7721 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7723 # Sed substitution to delay expansion of an escaped single quote.
7724 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7726 # Sed substitution to avoid accidental globbing in evaled expressions
7727 no_glob_subst='s/\*/\\\*/g'
7729 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7730 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7731 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7734 $as_echo_n "checking how to print strings... " >&6; }
7735 # Test print first, because it will be a builtin if present.
7736 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7737 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7739 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7742 # Use this function as a fallback that always works.
7743 func_fallback_echo ()
7745 eval 'cat <<_LTECHO_EOF
7749 ECHO='func_fallback_echo'
7752 # func_echo_all arg...
7753 # Invoke $ECHO with all args, space-separated.
7760 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7761 $as_echo "printf" >&6; } ;;
7762 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7763 $as_echo "print -r" >&6; } ;;
7764 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7765 $as_echo "cat" >&6; } ;;
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7782 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7783 if ${ac_cv_path_SED+:} false; then :
7784 $as_echo_n "(cached) " >&6
7786 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7787 for ac_i in 1 2 3 4 5 6 7; do
7788 ac_script="$ac_script$as_nl$ac_script"
7790 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7791 { ac_script=; unset ac_script;}
7792 if test -z "$SED"; then
7793 ac_path_SED_found=false
7794 # Loop through the user's path and test for each of PROGNAME-LIST
7795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7799 test -z "$as_dir" && as_dir=.
7800 for ac_prog in sed gsed; do
7801 for ac_exec_ext in '' $ac_executable_extensions; do
7802 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7803 as_fn_executable_p "$ac_path_SED" || continue
7804 # Check for GNU ac_path_SED and select it if it is found.
7805 # Check for GNU $ac_path_SED
7806 case `"$ac_path_SED" --version 2>&1` in
7808 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7811 $as_echo_n 0123456789 >"conftest.in"
7814 cat "conftest.in" "conftest.in" >"conftest.tmp"
7815 mv "conftest.tmp" "conftest.in"
7816 cp "conftest.in" "conftest.nl"
7817 $as_echo '' >> "conftest.nl"
7818 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7819 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7820 as_fn_arith $ac_count + 1 && ac_count=$as_val
7821 if test $ac_count -gt ${ac_path_SED_max-0}; then
7822 # Best one so far, save it but keep looking for a better one
7823 ac_cv_path_SED="$ac_path_SED"
7824 ac_path_SED_max=$ac_count
7826 # 10*(2^10) chars as input seems more than enough
7827 test $ac_count -gt 10 && break
7829 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7832 $ac_path_SED_found && break 3
7837 if test -z "$ac_cv_path_SED"; then
7838 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7846 $as_echo "$ac_cv_path_SED" >&6; }
7847 SED="$ac_cv_path_SED"
7850 test -z "$SED" && SED=sed
7851 Xsed="$SED -e 1s/^X//"
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7864 $as_echo_n "checking for fgrep... " >&6; }
7865 if ${ac_cv_path_FGREP+:} false; then :
7866 $as_echo_n "(cached) " >&6
7868 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7869 then ac_cv_path_FGREP="$GREP -F"
7871 if test -z "$FGREP"; then
7872 ac_path_FGREP_found=false
7873 # Loop through the user's path and test for each of PROGNAME-LIST
7874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7878 test -z "$as_dir" && as_dir=.
7879 for ac_prog in fgrep; do
7880 for ac_exec_ext in '' $ac_executable_extensions; do
7881 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7882 as_fn_executable_p "$ac_path_FGREP" || continue
7883 # Check for GNU ac_path_FGREP and select it if it is found.
7884 # Check for GNU $ac_path_FGREP
7885 case `"$ac_path_FGREP" --version 2>&1` in
7887 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7890 $as_echo_n 0123456789 >"conftest.in"
7893 cat "conftest.in" "conftest.in" >"conftest.tmp"
7894 mv "conftest.tmp" "conftest.in"
7895 cp "conftest.in" "conftest.nl"
7896 $as_echo 'FGREP' >> "conftest.nl"
7897 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7898 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7899 as_fn_arith $ac_count + 1 && ac_count=$as_val
7900 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7901 # Best one so far, save it but keep looking for a better one
7902 ac_cv_path_FGREP="$ac_path_FGREP"
7903 ac_path_FGREP_max=$ac_count
7905 # 10*(2^10) chars as input seems more than enough
7906 test $ac_count -gt 10 && break
7908 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7911 $ac_path_FGREP_found && break 3
7916 if test -z "$ac_cv_path_FGREP"; then
7917 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7920 ac_cv_path_FGREP=$FGREP
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7926 $as_echo "$ac_cv_path_FGREP" >&6; }
7927 FGREP="$ac_cv_path_FGREP"
7930 test -z "$GREP" && GREP=grep
7950 # Check whether --with-gnu-ld was given.
7951 if test "${with_gnu_ld+set}" = set; then :
7952 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7958 if test "$GCC" = yes; then
7959 # Check if gcc -print-prog-name=ld gives a path.
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7961 $as_echo_n "checking for ld used by $CC... " >&6; }
7964 # gcc leaves a trailing carriage return which upsets mingw
7965 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7967 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7970 # Accept absolute paths.
7972 re_direlt='/[^/][^/]*/\.\./'
7973 # Canonicalize the pathname of ld
7974 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7975 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7976 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7978 test -z "$LD" && LD="$ac_prog"
7981 # If it fails, then pretend we aren't using GCC.
7985 # If it is relative, then search for the first ld in PATH.
7989 elif test "$with_gnu_ld" = yes; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7991 $as_echo_n "checking for GNU ld... " >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7994 $as_echo_n "checking for non-GNU ld... " >&6; }
7996 if ${lt_cv_path_LD+:} false; then :
7997 $as_echo_n "(cached) " >&6
7999 if test -z "$LD"; then
8000 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8001 for ac_dir in $PATH; do
8003 test -z "$ac_dir" && ac_dir=.
8004 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8005 lt_cv_path_LD="$ac_dir/$ac_prog"
8006 # Check to see if the program is GNU ld. I'd rather use --version,
8007 # but apparently some variants of GNU ld only accept -v.
8008 # Break only if it was the GNU/non-GNU ld that we prefer.
8009 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8010 *GNU* | *'with BFD'*)
8011 test "$with_gnu_ld" != no && break
8014 test "$with_gnu_ld" != yes && break
8021 lt_cv_path_LD="$LD" # Let the user override the test with a path.
8026 if test -n "$LD"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8028 $as_echo "$LD" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8033 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8035 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
8036 if ${lt_cv_prog_gnu_ld+:} false; then :
8037 $as_echo_n "(cached) " >&6
8039 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8040 case `$LD -v 2>&1 </dev/null` in
8041 *GNU* | *'with BFD'*)
8042 lt_cv_prog_gnu_ld=yes
8045 lt_cv_prog_gnu_ld=no
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8050 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
8051 with_gnu_ld=$lt_cv_prog_gnu_ld
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
8062 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8063 if ${lt_cv_path_NM+:} false; then :
8064 $as_echo_n "(cached) " >&6
8066 if test -n "$NM"; then
8067 # Let the user override the test.
8070 lt_nm_to_check="${ac_tool_prefix}nm"
8071 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8072 lt_nm_to_check="$lt_nm_to_check nm"
8074 for lt_tmp_nm in $lt_nm_to_check; do
8075 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8076 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8078 test -z "$ac_dir" && ac_dir=.
8079 tmp_nm="$ac_dir/$lt_tmp_nm"
8080 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8081 # Check to see if the nm accepts a BSD-compat flag.
8082 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8083 # nm: unknown option "B" ignored
8084 # Tru64's nm complains that /dev/null is an invalid object file
8085 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8086 */dev/null* | *'Invalid file or object type'*)
8087 lt_cv_path_NM="$tmp_nm -B"
8091 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8093 lt_cv_path_NM="$tmp_nm -p"
8097 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8098 continue # so that we can try to find one that supports BSD flags
8107 : ${lt_cv_path_NM=no}
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8111 $as_echo "$lt_cv_path_NM" >&6; }
8112 if test "$lt_cv_path_NM" != "no"; then
8115 # Didn't find any BSD compatible name lister, look for dumpbin.
8116 if test -n "$DUMPBIN"; then :
8117 # Let the user override the test.
8119 if test -n "$ac_tool_prefix"; then
8120 for ac_prog in dumpbin "link -dump"
8122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8125 $as_echo_n "checking for $ac_word... " >&6; }
8126 if ${ac_cv_prog_DUMPBIN+:} false; then :
8127 $as_echo_n "(cached) " >&6
8129 if test -n "$DUMPBIN"; then
8130 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8136 test -z "$as_dir" && as_dir=.
8137 for ac_exec_ext in '' $ac_executable_extensions; do
8138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8139 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8149 DUMPBIN=$ac_cv_prog_DUMPBIN
8150 if test -n "$DUMPBIN"; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8152 $as_echo "$DUMPBIN" >&6; }
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155 $as_echo "no" >&6; }
8159 test -n "$DUMPBIN" && break
8162 if test -z "$DUMPBIN"; then
8163 ac_ct_DUMPBIN=$DUMPBIN
8164 for ac_prog in dumpbin "link -dump"
8166 # Extract the first word of "$ac_prog", so it can be a program name with args.
8167 set dummy $ac_prog; ac_word=$2
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8169 $as_echo_n "checking for $ac_word... " >&6; }
8170 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
8171 $as_echo_n "(cached) " >&6
8173 if test -n "$ac_ct_DUMPBIN"; then
8174 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8180 test -z "$as_dir" && as_dir=.
8181 for ac_exec_ext in '' $ac_executable_extensions; do
8182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8183 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8193 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8194 if test -n "$ac_ct_DUMPBIN"; then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8196 $as_echo "$ac_ct_DUMPBIN" >&6; }
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8199 $as_echo "no" >&6; }
8203 test -n "$ac_ct_DUMPBIN" && break
8206 if test "x$ac_ct_DUMPBIN" = x; then
8209 case $cross_compiling:$ac_tool_warned in
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8213 ac_tool_warned=yes ;;
8215 DUMPBIN=$ac_ct_DUMPBIN
8219 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8221 DUMPBIN="$DUMPBIN -symbols"
8229 if test "$DUMPBIN" != ":"; then
8233 test -z "$NM" && NM=nm
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8241 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8242 if ${lt_cv_nm_interface+:} false; then :
8243 $as_echo_n "(cached) " >&6
8245 lt_cv_nm_interface="BSD nm"
8246 echo "int some_variable = 0;" > conftest.$ac_ext
8247 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8248 (eval "$ac_compile" 2>conftest.err)
8249 cat conftest.err >&5
8250 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8251 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8252 cat conftest.err >&5
8253 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8254 cat conftest.out >&5
8255 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8256 lt_cv_nm_interface="MS dumpbin"
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8261 $as_echo "$lt_cv_nm_interface" >&6; }
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8264 $as_echo_n "checking whether ln -s works... " >&6; }
8266 if test "$LN_S" = "ln -s"; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8268 $as_echo "yes" >&6; }
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8271 $as_echo "no, using $LN_S" >&6; }
8274 # find the maximum length of command line arguments
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8276 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8277 if ${lt_cv_sys_max_cmd_len+:} false; then :
8278 $as_echo_n "(cached) " >&6
8285 # On DJGPP, this test can blow up pretty badly due to problems in libc
8286 # (any single argument exceeding 2000 bytes causes a buffer overrun
8287 # during glob expansion). Even if it were fixed, the result of this
8288 # check would be larger than it should be.
8289 lt_cv_sys_max_cmd_len=12288; # 12K is about right
8293 # Under GNU Hurd, this test is not required because there is
8294 # no limit to the length of command line arguments.
8295 # Libtool will interpret -1 as no limit whatsoever
8296 lt_cv_sys_max_cmd_len=-1;
8299 cygwin* | mingw* | cegcc*)
8300 # On Win9x/ME, this test blows up -- it succeeds, but takes
8301 # about 5 minutes as the teststring grows exponentially.
8302 # Worse, since 9x/ME are not pre-emptively multitasking,
8303 # you end up with a "frozen" computer, even though with patience
8304 # the test eventually succeeds (with a max line length of 256k).
8305 # Instead, let's just punt: use the minimum linelength reported by
8306 # all of the supported platforms: 8192 (on NT/2K/XP).
8307 lt_cv_sys_max_cmd_len=8192;
8311 # On MiNT this can take a long time and run out of memory.
8312 lt_cv_sys_max_cmd_len=8192;
8316 # On AmigaOS with pdksh, this test takes hours, literally.
8317 # So we just punt and use a minimum line length of 8192.
8318 lt_cv_sys_max_cmd_len=8192;
8321 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8322 # This has been around since 386BSD, at least. Likely further.
8323 if test -x /sbin/sysctl; then
8324 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8325 elif test -x /usr/sbin/sysctl; then
8326 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8328 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
8330 # And add a safety zone
8331 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8332 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8336 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8337 lt_cv_sys_max_cmd_len=196608
8341 # The test takes a long time on OS/2.
8342 lt_cv_sys_max_cmd_len=8192
8346 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8347 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8348 # nice to cause kernel panics so lets avoid the loop below.
8349 # First set a reasonable default.
8350 lt_cv_sys_max_cmd_len=16384
8352 if test -x /sbin/sysconfig; then
8353 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8354 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8359 lt_cv_sys_max_cmd_len=102400
8361 sysv5* | sco5v6* | sysv4.2uw2*)
8362 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8363 if test -n "$kargmax"; then
8364 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
8366 lt_cv_sys_max_cmd_len=32768
8370 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8371 if test -n "$lt_cv_sys_max_cmd_len"; then
8372 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8373 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8375 # Make teststring a little bigger before we do anything with it.
8376 # a 1K string should be a reasonable start.
8377 for i in 1 2 3 4 5 6 7 8 ; do
8378 teststring=$teststring$teststring
8380 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8381 # If test is not a shell built-in, we'll probably end up computing a
8382 # maximum length that is only half of the actual maximum length, but
8384 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
8385 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8386 test $i != 17 # 1/2 MB should be enough
8389 teststring=$teststring$teststring
8391 # Only check the string length outside the loop.
8392 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8394 # Add a significant safety factor because C++ compilers can tack on
8395 # massive amounts of additional arguments before passing them to the
8396 # linker. It appears as though 1/2 is a usable value.
8397 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8404 if test -n $lt_cv_sys_max_cmd_len ; then
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8406 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8409 $as_echo "none" >&6; }
8411 max_cmd_len=$lt_cv_sys_max_cmd_len
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8423 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8424 # Try some XSI features
8427 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
8429 && eval 'test $(( 1 + 1 )) -eq 2 \
8430 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8433 $as_echo "$xsi_shell" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8437 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8439 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8441 && lt_shell_append=yes
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8443 $as_echo "$lt_shell_append" >&6; }
8446 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8456 # test EBCDIC or ASCII
8457 case `echo X|tr X '\101'` in
8458 A) # ASCII based system
8459 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8460 lt_SP2NL='tr \040 \012'
8461 lt_NL2SP='tr \015\012 \040\040'
8463 *) # EBCDIC based system
8464 lt_SP2NL='tr \100 \n'
8465 lt_NL2SP='tr \r\n \100\100'
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8478 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8479 if ${lt_cv_to_host_file_cmd+:} false; then :
8480 $as_echo_n "(cached) " >&6
8485 *-*-mingw* ) # actually msys
8486 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8489 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8491 * ) # otherwise, assume *nix
8492 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8498 *-*-mingw* ) # actually msys
8499 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8502 lt_cv_to_host_file_cmd=func_convert_file_noop
8504 * ) # otherwise, assume *nix
8505 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8509 * ) # unhandled hosts (and "normal" native builds)
8510 lt_cv_to_host_file_cmd=func_convert_file_noop
8516 to_host_file_cmd=$lt_cv_to_host_file_cmd
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8518 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8525 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8526 if ${lt_cv_to_tool_file_cmd+:} false; then :
8527 $as_echo_n "(cached) " >&6
8529 #assume ordinary cross tools, or native build.
8530 lt_cv_to_tool_file_cmd=func_convert_file_noop
8534 *-*-mingw* ) # actually msys
8535 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8543 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8545 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8552 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8553 if ${lt_cv_ld_reload_flag+:} false; then :
8554 $as_echo_n "(cached) " >&6
8556 lt_cv_ld_reload_flag='-r'
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8559 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8560 reload_flag=$lt_cv_ld_reload_flag
8561 case $reload_flag in
8563 *) reload_flag=" $reload_flag" ;;
8565 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8567 cygwin* | mingw* | pw32* | cegcc*)
8568 if test "$GCC" != yes; then
8573 if test "$GCC" = yes; then
8574 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8576 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8589 if test -n "$ac_tool_prefix"; then
8590 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8591 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8593 $as_echo_n "checking for $ac_word... " >&6; }
8594 if ${ac_cv_prog_OBJDUMP+:} false; then :
8595 $as_echo_n "(cached) " >&6
8597 if test -n "$OBJDUMP"; then
8598 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8604 test -z "$as_dir" && as_dir=.
8605 for ac_exec_ext in '' $ac_executable_extensions; do
8606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8607 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8617 OBJDUMP=$ac_cv_prog_OBJDUMP
8618 if test -n "$OBJDUMP"; then
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8620 $as_echo "$OBJDUMP" >&6; }
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8623 $as_echo "no" >&6; }
8628 if test -z "$ac_cv_prog_OBJDUMP"; then
8629 ac_ct_OBJDUMP=$OBJDUMP
8630 # Extract the first word of "objdump", so it can be a program name with args.
8631 set dummy objdump; ac_word=$2
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8633 $as_echo_n "checking for $ac_word... " >&6; }
8634 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8635 $as_echo_n "(cached) " >&6
8637 if test -n "$ac_ct_OBJDUMP"; then
8638 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8644 test -z "$as_dir" && as_dir=.
8645 for ac_exec_ext in '' $ac_executable_extensions; do
8646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8647 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8657 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8658 if test -n "$ac_ct_OBJDUMP"; then
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8660 $as_echo "$ac_ct_OBJDUMP" >&6; }
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8663 $as_echo "no" >&6; }
8666 if test "x$ac_ct_OBJDUMP" = x; then
8669 case $cross_compiling:$ac_tool_warned in
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8673 ac_tool_warned=yes ;;
8675 OBJDUMP=$ac_ct_OBJDUMP
8678 OBJDUMP="$ac_cv_prog_OBJDUMP"
8681 test -z "$OBJDUMP" && OBJDUMP=objdump
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8692 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8693 if ${lt_cv_deplibs_check_method+:} false; then :
8694 $as_echo_n "(cached) " >&6
8696 lt_cv_file_magic_cmd='$MAGIC_CMD'
8697 lt_cv_file_magic_test_file=
8698 lt_cv_deplibs_check_method='unknown'
8699 # Need to set the preceding variable on all platforms that support
8700 # interlibrary dependencies.
8701 # 'none' -- dependencies not supported.
8702 # `unknown' -- same as none, but documents that we really don't know.
8703 # 'pass_all' -- all dependencies passed with no checks.
8704 # 'test_compile' -- check by making test program.
8705 # 'file_magic [[regex]]' -- check by looking for files in library path
8706 # which responds to the $file_magic_cmd with a given extended regex.
8707 # If you have `file' or equivalent on your system and you're not sure
8708 # whether `pass_all' will *always* work, you probably want this one.
8712 lt_cv_deplibs_check_method=pass_all
8716 lt_cv_deplibs_check_method=pass_all
8720 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8721 lt_cv_file_magic_cmd='/usr/bin/file -L'
8722 lt_cv_file_magic_test_file=/shlib/libc.so
8726 # func_win32_libid is a shell function defined in ltmain.sh
8727 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8728 lt_cv_file_magic_cmd='func_win32_libid'
8732 # Base MSYS/MinGW do not provide the 'file' command needed by
8733 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8734 # unless we find 'file', for example because we are cross-compiling.
8735 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8736 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
8737 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8738 lt_cv_file_magic_cmd='func_win32_libid'
8740 # Keep this pattern in sync with the one in func_win32_libid.
8741 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8742 lt_cv_file_magic_cmd='$OBJDUMP -f'
8747 # use the weaker test based on 'objdump'. See mingw*.
8748 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8749 lt_cv_file_magic_cmd='$OBJDUMP -f'
8752 darwin* | rhapsody*)
8753 lt_cv_deplibs_check_method=pass_all
8756 freebsd* | dragonfly*)
8757 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8760 # Not sure whether the presence of OpenBSD here was a mistake.
8761 # Let's accept both of them until this is cleared up.
8762 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8763 lt_cv_file_magic_cmd=/usr/bin/file
8764 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8768 lt_cv_deplibs_check_method=pass_all
8773 lt_cv_deplibs_check_method=pass_all
8777 lt_cv_deplibs_check_method=pass_all
8780 hpux10.20* | hpux11*)
8781 lt_cv_file_magic_cmd=/usr/bin/file
8784 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8785 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8788 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]'
8789 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8792 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8793 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8799 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8800 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8803 irix5* | irix6* | nonstopux*)
8805 *-32|*"-32 ") libmagic=32-bit;;
8806 *-n32|*"-n32 ") libmagic=N32;;
8807 *-64|*"-64 ") libmagic=64-bit;;
8808 *) libmagic=never-match;;
8810 lt_cv_deplibs_check_method=pass_all
8813 # This must be glibc/ELF.
8814 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8815 lt_cv_deplibs_check_method=pass_all
8819 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8820 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8822 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8827 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8828 lt_cv_file_magic_cmd=/usr/bin/file
8829 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8833 lt_cv_deplibs_check_method=pass_all
8837 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8838 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8840 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8844 osf3* | osf4* | osf5*)
8845 lt_cv_deplibs_check_method=pass_all
8849 lt_cv_deplibs_check_method=pass_all
8853 lt_cv_deplibs_check_method=pass_all
8856 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8857 lt_cv_deplibs_check_method=pass_all
8861 case $host_vendor in
8863 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]'
8864 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8867 lt_cv_deplibs_check_method=pass_all
8870 lt_cv_file_magic_cmd='/bin/file'
8871 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8874 lt_cv_file_magic_cmd='/bin/file'
8875 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8876 lt_cv_file_magic_test_file=/lib/libc.so
8879 lt_cv_deplibs_check_method=pass_all
8882 lt_cv_deplibs_check_method=pass_all
8888 lt_cv_deplibs_check_method=pass_all
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8894 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8898 if test "$build" = "$host"; then
8901 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8904 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8910 file_magic_cmd=$lt_cv_file_magic_cmd
8911 deplibs_check_method=$lt_cv_deplibs_check_method
8912 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8935 if test -n "$ac_tool_prefix"; then
8936 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8937 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8939 $as_echo_n "checking for $ac_word... " >&6; }
8940 if ${ac_cv_prog_DLLTOOL+:} false; then :
8941 $as_echo_n "(cached) " >&6
8943 if test -n "$DLLTOOL"; then
8944 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8950 test -z "$as_dir" && as_dir=.
8951 for ac_exec_ext in '' $ac_executable_extensions; do
8952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8953 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8963 DLLTOOL=$ac_cv_prog_DLLTOOL
8964 if test -n "$DLLTOOL"; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8966 $as_echo "$DLLTOOL" >&6; }
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8969 $as_echo "no" >&6; }
8974 if test -z "$ac_cv_prog_DLLTOOL"; then
8975 ac_ct_DLLTOOL=$DLLTOOL
8976 # Extract the first word of "dlltool", so it can be a program name with args.
8977 set dummy dlltool; ac_word=$2
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8979 $as_echo_n "checking for $ac_word... " >&6; }
8980 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8981 $as_echo_n "(cached) " >&6
8983 if test -n "$ac_ct_DLLTOOL"; then
8984 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8990 test -z "$as_dir" && as_dir=.
8991 for ac_exec_ext in '' $ac_executable_extensions; do
8992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8993 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9003 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9004 if test -n "$ac_ct_DLLTOOL"; then
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9006 $as_echo "$ac_ct_DLLTOOL" >&6; }
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9009 $as_echo "no" >&6; }
9012 if test "x$ac_ct_DLLTOOL" = x; then
9015 case $cross_compiling:$ac_tool_warned in
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9019 ac_tool_warned=yes ;;
9021 DLLTOOL=$ac_ct_DLLTOOL
9024 DLLTOOL="$ac_cv_prog_DLLTOOL"
9027 test -z "$DLLTOOL" && DLLTOOL=dlltool
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
9039 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
9040 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
9041 $as_echo_n "(cached) " >&6
9043 lt_cv_sharedlib_from_linklib_cmd='unknown'
9046 cygwin* | mingw* | pw32* | cegcc*)
9047 # two different shell functions defined in ltmain.sh
9048 # decide which to use based on capabilities of $DLLTOOL
9049 case `$DLLTOOL --help 2>&1` in
9050 *--identify-strict*)
9051 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
9054 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
9059 # fallback: assume linklib IS sharedlib
9060 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
9066 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
9067 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
9068 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
9076 if test -n "$ac_tool_prefix"; then
9079 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9080 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9082 $as_echo_n "checking for $ac_word... " >&6; }
9083 if ${ac_cv_prog_AR+:} false; then :
9084 $as_echo_n "(cached) " >&6
9086 if test -n "$AR"; then
9087 ac_cv_prog_AR="$AR" # Let the user override the test.
9089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9093 test -z "$as_dir" && as_dir=.
9094 for ac_exec_ext in '' $ac_executable_extensions; do
9095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9096 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9107 if test -n "$AR"; then
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9109 $as_echo "$AR" >&6; }
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9112 $as_echo "no" >&6; }
9116 test -n "$AR" && break
9119 if test -z "$AR"; then
9123 # Extract the first word of "$ac_prog", so it can be a program name with args.
9124 set dummy $ac_prog; ac_word=$2
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9126 $as_echo_n "checking for $ac_word... " >&6; }
9127 if ${ac_cv_prog_ac_ct_AR+:} false; then :
9128 $as_echo_n "(cached) " >&6
9130 if test -n "$ac_ct_AR"; then
9131 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9137 test -z "$as_dir" && as_dir=.
9138 for ac_exec_ext in '' $ac_executable_extensions; do
9139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9140 ac_cv_prog_ac_ct_AR="$ac_prog"
9141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9150 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9151 if test -n "$ac_ct_AR"; then
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9153 $as_echo "$ac_ct_AR" >&6; }
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9156 $as_echo "no" >&6; }
9160 test -n "$ac_ct_AR" && break
9163 if test "x$ac_ct_AR" = x; then
9166 case $cross_compiling:$ac_tool_warned in
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9170 ac_tool_warned=yes ;;
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9190 $as_echo_n "checking for archiver @FILE support... " >&6; }
9191 if ${lt_cv_ar_at_file+:} false; then :
9192 $as_echo_n "(cached) " >&6
9195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9196 /* end confdefs.h. */
9206 if ac_fn_c_try_compile "$LINENO"; then :
9207 echo conftest.$ac_objext > conftest.lst
9208 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9209 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9210 (eval $lt_ar_try) 2>&5
9212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9213 test $ac_status = 0; }
9214 if test "$ac_status" -eq 0; then
9215 # Ensure the archiver fails upon bogus file names.
9216 rm -f conftest.$ac_objext libconftest.a
9217 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9218 (eval $lt_ar_try) 2>&5
9220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9221 test $ac_status = 0; }
9222 if test "$ac_status" -ne 0; then
9226 rm -f conftest.* libconftest.a
9229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9233 $as_echo "$lt_cv_ar_at_file" >&6; }
9235 if test "x$lt_cv_ar_at_file" = xno; then
9238 archiver_list_spec=$lt_cv_ar_at_file
9247 if test -n "$ac_tool_prefix"; then
9248 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9249 set dummy ${ac_tool_prefix}strip; ac_word=$2
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9251 $as_echo_n "checking for $ac_word... " >&6; }
9252 if ${ac_cv_prog_STRIP+:} false; then :
9253 $as_echo_n "(cached) " >&6
9255 if test -n "$STRIP"; then
9256 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9262 test -z "$as_dir" && as_dir=.
9263 for ac_exec_ext in '' $ac_executable_extensions; do
9264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9265 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9275 STRIP=$ac_cv_prog_STRIP
9276 if test -n "$STRIP"; then
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9278 $as_echo "$STRIP" >&6; }
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9281 $as_echo "no" >&6; }
9286 if test -z "$ac_cv_prog_STRIP"; then
9288 # Extract the first word of "strip", so it can be a program name with args.
9289 set dummy strip; ac_word=$2
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9291 $as_echo_n "checking for $ac_word... " >&6; }
9292 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9293 $as_echo_n "(cached) " >&6
9295 if test -n "$ac_ct_STRIP"; then
9296 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9302 test -z "$as_dir" && as_dir=.
9303 for ac_exec_ext in '' $ac_executable_extensions; do
9304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9305 ac_cv_prog_ac_ct_STRIP="strip"
9306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9315 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9316 if test -n "$ac_ct_STRIP"; then
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9318 $as_echo "$ac_ct_STRIP" >&6; }
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9321 $as_echo "no" >&6; }
9324 if test "x$ac_ct_STRIP" = x; then
9327 case $cross_compiling:$ac_tool_warned in
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9331 ac_tool_warned=yes ;;
9336 STRIP="$ac_cv_prog_STRIP"
9339 test -z "$STRIP" && STRIP=:
9346 if test -n "$ac_tool_prefix"; then
9347 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9348 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9350 $as_echo_n "checking for $ac_word... " >&6; }
9351 if ${ac_cv_prog_RANLIB+:} false; then :
9352 $as_echo_n "(cached) " >&6
9354 if test -n "$RANLIB"; then
9355 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361 test -z "$as_dir" && as_dir=.
9362 for ac_exec_ext in '' $ac_executable_extensions; do
9363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9364 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9374 RANLIB=$ac_cv_prog_RANLIB
9375 if test -n "$RANLIB"; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9377 $as_echo "$RANLIB" >&6; }
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9380 $as_echo "no" >&6; }
9385 if test -z "$ac_cv_prog_RANLIB"; then
9386 ac_ct_RANLIB=$RANLIB
9387 # Extract the first word of "ranlib", so it can be a program name with args.
9388 set dummy ranlib; ac_word=$2
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9390 $as_echo_n "checking for $ac_word... " >&6; }
9391 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9392 $as_echo_n "(cached) " >&6
9394 if test -n "$ac_ct_RANLIB"; then
9395 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9401 test -z "$as_dir" && as_dir=.
9402 for ac_exec_ext in '' $ac_executable_extensions; do
9403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9404 ac_cv_prog_ac_ct_RANLIB="ranlib"
9405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9414 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9415 if test -n "$ac_ct_RANLIB"; then
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9417 $as_echo "$ac_ct_RANLIB" >&6; }
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9420 $as_echo "no" >&6; }
9423 if test "x$ac_ct_RANLIB" = x; then
9426 case $cross_compiling:$ac_tool_warned in
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9430 ac_tool_warned=yes ;;
9432 RANLIB=$ac_ct_RANLIB
9435 RANLIB="$ac_cv_prog_RANLIB"
9438 test -z "$RANLIB" && RANLIB=:
9445 # Determine commands to create old-style static archives.
9446 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9447 old_postinstall_cmds='chmod 644 $oldlib'
9448 old_postuninstall_cmds=
9450 if test -n "$RANLIB"; then
9453 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9456 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9459 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9464 lock_old_archive_extraction=yes ;;
9466 lock_old_archive_extraction=no ;;
9507 # If no C compiler was specified, use CC.
9510 # If no C compiler flags were specified, use CFLAGS.
9511 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9513 # Allow CC to be a program name with arguments.
9517 # Check for command to grab the raw symbol name followed by C symbol from nm.
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9519 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9520 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9521 $as_echo_n "(cached) " >&6
9524 # These are sane defaults that work on at least a few old systems.
9525 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9527 # Character class describing NM global symbol codes.
9528 symcode='[BCDEGRST]'
9530 # Regexp to match symbols that can be accessed directly from C.
9531 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9533 # Define system-specific variables.
9538 cygwin* | mingw* | pw32* | cegcc*)
9539 symcode='[ABCDGISTW]'
9542 if test "$host_cpu" = ia64; then
9543 symcode='[ABCDEGRST]'
9547 symcode='[BCDEGRST]'
9550 symcode='[BCDEGQRST]'
9561 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9569 # If we're using GNU nm, then use its standard symbol codes.
9570 case `$NM -V 2>&1` in
9571 *GNU* | *'with BFD'*)
9572 symcode='[ABCDGIRSTW]' ;;
9575 # Transform an extracted symbol line into a proper C declaration.
9576 # Some systems (esp. on ia64) link data and code symbols differently,
9577 # so use this general approach.
9578 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9580 # Transform an extracted symbol line into symbol name and symbol address
9581 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9582 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'"
9584 # Handle CRLF in mingw tool chain
9588 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9592 # Try without a prefix underscore, then with it.
9593 for ac_symprfx in "" "_"; do
9595 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9596 symxfrm="\\1 $ac_symprfx\\2 \\2"
9598 # Write the raw and C identifiers.
9599 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9600 # Fake it for dumpbin and say T for any non-static function
9601 # and D for any global variable.
9602 # Also find C++ and __fastcall symbols from MSVC++,
9603 # which start with @ or ?.
9604 lt_cv_sys_global_symbol_pipe="$AWK '"\
9605 " {last_section=section; section=\$ 3};"\
9606 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9607 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9608 " \$ 0!~/External *\|/{next};"\
9609 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9610 " {if(hide[section]) next};"\
9611 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9612 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9613 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
9614 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9615 " ' prfx=^$ac_symprfx"
9617 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9619 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9621 # Check to see that the pipe works correctly.
9625 cat > conftest.$ac_ext <<_LT_EOF
9630 void nm_test_func(void);
9631 void nm_test_func(void){}
9635 int main(){nm_test_var='a';nm_test_func();return(0);}
9638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9639 (eval $ac_compile) 2>&5
9641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9642 test $ac_status = 0; }; then
9643 # Now try to grab the symbols.
9645 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9646 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9649 test $ac_status = 0; } && test -s "$nlist"; then
9650 # Try sorting and uniquifying the output.
9651 if sort "$nlist" | uniq > "$nlist"T; then
9652 mv -f "$nlist"T "$nlist"
9657 # Make sure that we snagged all the symbols we need.
9658 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9659 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9660 cat <<_LT_EOF > conftest.$ac_ext
9661 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9662 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9663 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9664 relocations are performed -- see ld's documentation on pseudo-relocs. */
9665 # define LT_DLSYM_CONST
9666 #elif defined(__osf__)
9667 /* This system does not cope well with relocations in const data. */
9668 # define LT_DLSYM_CONST
9670 # define LT_DLSYM_CONST const
9678 # Now generate the symbol file.
9679 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9681 cat <<_LT_EOF >> conftest.$ac_ext
9683 /* The mapping between symbol names and symbols. */
9684 LT_DLSYM_CONST struct {
9688 lt__PROGRAM__LTX_preloaded_symbols[] =
9690 { "@PROGRAM@", (void *) 0 },
9692 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9693 cat <<\_LT_EOF >> conftest.$ac_ext
9697 /* This works around a problem in FreeBSD linker */
9698 #ifdef FREEBSD_WORKAROUND
9699 static const void *lt_preloaded_setup() {
9700 return lt__PROGRAM__LTX_preloaded_symbols;
9708 # Now try linking the two files.
9709 mv conftest.$ac_objext conftstm.$ac_objext
9710 lt_globsym_save_LIBS=$LIBS
9711 lt_globsym_save_CFLAGS=$CFLAGS
9712 LIBS="conftstm.$ac_objext"
9713 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9715 (eval $ac_link) 2>&5
9717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9718 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9721 LIBS=$lt_globsym_save_LIBS
9722 CFLAGS=$lt_globsym_save_CFLAGS
9724 echo "cannot find nm_test_func in $nlist" >&5
9727 echo "cannot find nm_test_var in $nlist" >&5
9730 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9733 echo "$progname: failed program was:" >&5
9734 cat conftest.$ac_ext >&5
9736 rm -rf conftest* conftst*
9738 # Do not use the global_symbol_pipe unless it works.
9739 if test "$pipe_works" = yes; then
9742 lt_cv_sys_global_symbol_pipe=
9748 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9749 lt_cv_sys_global_symbol_to_cdecl=
9751 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9753 $as_echo "failed" >&6; }
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9756 $as_echo "ok" >&6; }
9759 # Response file support.
9760 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9761 nm_file_list_spec='@'
9762 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9763 nm_file_list_spec='@'
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9793 $as_echo_n "checking for sysroot... " >&6; }
9795 # Check whether --with-sysroot was given.
9796 if test "${with_sysroot+set}" = set; then :
9797 withval=$with_sysroot;
9804 case ${with_sysroot} in #(
9806 if test "$GCC" = yes; then
9807 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9811 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9817 $as_echo "${with_sysroot}" >&6; }
9818 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9823 $as_echo "${lt_sysroot:-no}" >&6; }
9829 # Check whether --enable-libtool-lock was given.
9830 if test "${enable_libtool_lock+set}" = set; then :
9831 enableval=$enable_libtool_lock;
9834 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9836 # Some flags need to be propagated to the compiler or linker for good
9840 # Find out which ABI we are using.
9841 echo 'int i;' > conftest.$ac_ext
9842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9843 (eval $ac_compile) 2>&5
9845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9846 test $ac_status = 0; }; then
9847 case `/usr/bin/file conftest.$ac_objext` in
9859 # Find out which ABI we are using.
9860 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9861 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9862 (eval $ac_compile) 2>&5
9864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9865 test $ac_status = 0; }; then
9866 if test "$lt_cv_prog_gnu_ld" = yes; then
9867 case `/usr/bin/file conftest.$ac_objext` in
9869 LD="${LD-ld} -melf32bsmip"
9872 LD="${LD-ld} -melf32bmipn32"
9875 LD="${LD-ld} -melf64bmip"
9879 case `/usr/bin/file conftest.$ac_objext` in
9895 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9896 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9897 # Find out which ABI we are using.
9898 echo 'int i;' > conftest.$ac_ext
9899 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9900 (eval $ac_compile) 2>&5
9902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9903 test $ac_status = 0; }; then
9904 case `/usr/bin/file conftest.o` in
9907 x86_64-*kfreebsd*-gnu)
9908 LD="${LD-ld} -m elf_i386_fbsd"
9911 LD="${LD-ld} -m elf_i386"
9913 ppc64-*linux*|powerpc64-*linux*)
9914 LD="${LD-ld} -m elf32ppclinux"
9917 LD="${LD-ld} -m elf_s390"
9920 LD="${LD-ld} -m elf32_sparc"
9926 x86_64-*kfreebsd*-gnu)
9927 LD="${LD-ld} -m elf_x86_64_fbsd"
9930 LD="${LD-ld} -m elf_x86_64"
9932 ppc*-*linux*|powerpc*-*linux*)
9933 LD="${LD-ld} -m elf64ppc"
9935 s390*-*linux*|s390*-*tpf*)
9936 LD="${LD-ld} -m elf64_s390"
9939 LD="${LD-ld} -m elf64_sparc"
9949 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9950 SAVE_CFLAGS="$CFLAGS"
9951 CFLAGS="$CFLAGS -belf"
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9953 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9954 if ${lt_cv_cc_needs_belf+:} false; then :
9955 $as_echo_n "(cached) " >&6
9958 ac_cpp='$CPP $CPPFLAGS'
9959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9964 /* end confdefs.h. */
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 lt_cv_cc_needs_belf=yes
9977 lt_cv_cc_needs_belf=no
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9982 ac_cpp='$CPP $CPPFLAGS'
9983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9989 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9990 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9991 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9992 CFLAGS="$SAVE_CFLAGS"
9996 # Find out which ABI we are using.
9997 echo 'int i;' > conftest.$ac_ext
9998 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9999 (eval $ac_compile) 2>&5
10001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10002 test $ac_status = 0; }; then
10003 case `/usr/bin/file conftest.o` in
10005 case $lt_cv_prog_gnu_ld in
10009 LD="${LD-ld} -m elf_x86_64"
10012 LD="${LD-ld} -m elf64_sparc"
10015 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
10016 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
10021 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10033 need_locks="$enable_libtool_lock"
10035 if test -n "$ac_tool_prefix"; then
10036 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
10037 set dummy ${ac_tool_prefix}mt; ac_word=$2
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10039 $as_echo_n "checking for $ac_word... " >&6; }
10040 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
10041 $as_echo_n "(cached) " >&6
10043 if test -n "$MANIFEST_TOOL"; then
10044 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
10046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10047 for as_dir in $PATH
10050 test -z "$as_dir" && as_dir=.
10051 for ac_exec_ext in '' $ac_executable_extensions; do
10052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10053 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10063 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10064 if test -n "$MANIFEST_TOOL"; then
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10066 $as_echo "$MANIFEST_TOOL" >&6; }
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10069 $as_echo "no" >&6; }
10074 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10075 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10076 # Extract the first word of "mt", so it can be a program name with args.
10077 set dummy mt; ac_word=$2
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10079 $as_echo_n "checking for $ac_word... " >&6; }
10080 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
10081 $as_echo_n "(cached) " >&6
10083 if test -n "$ac_ct_MANIFEST_TOOL"; then
10084 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10087 for as_dir in $PATH
10090 test -z "$as_dir" && as_dir=.
10091 for ac_exec_ext in '' $ac_executable_extensions; do
10092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10093 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10103 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10104 if test -n "$ac_ct_MANIFEST_TOOL"; then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10106 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10109 $as_echo "no" >&6; }
10112 if test "x$ac_ct_MANIFEST_TOOL" = x; then
10115 case $cross_compiling:$ac_tool_warned in
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10119 ac_tool_warned=yes ;;
10121 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10124 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10127 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10129 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10130 if ${lt_cv_path_mainfest_tool+:} false; then :
10131 $as_echo_n "(cached) " >&6
10133 lt_cv_path_mainfest_tool=no
10134 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10135 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10136 cat conftest.err >&5
10137 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10138 lt_cv_path_mainfest_tool=yes
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10143 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10144 if test "x$lt_cv_path_mainfest_tool" != xyes; then
10154 rhapsody* | darwin*)
10155 if test -n "$ac_tool_prefix"; then
10156 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10157 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10159 $as_echo_n "checking for $ac_word... " >&6; }
10160 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10161 $as_echo_n "(cached) " >&6
10163 if test -n "$DSYMUTIL"; then
10164 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10167 for as_dir in $PATH
10170 test -z "$as_dir" && as_dir=.
10171 for ac_exec_ext in '' $ac_executable_extensions; do
10172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10173 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10183 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10184 if test -n "$DSYMUTIL"; then
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10186 $as_echo "$DSYMUTIL" >&6; }
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10189 $as_echo "no" >&6; }
10194 if test -z "$ac_cv_prog_DSYMUTIL"; then
10195 ac_ct_DSYMUTIL=$DSYMUTIL
10196 # Extract the first word of "dsymutil", so it can be a program name with args.
10197 set dummy dsymutil; ac_word=$2
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10199 $as_echo_n "checking for $ac_word... " >&6; }
10200 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10201 $as_echo_n "(cached) " >&6
10203 if test -n "$ac_ct_DSYMUTIL"; then
10204 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10207 for as_dir in $PATH
10210 test -z "$as_dir" && as_dir=.
10211 for ac_exec_ext in '' $ac_executable_extensions; do
10212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10213 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10223 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10224 if test -n "$ac_ct_DSYMUTIL"; then
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10226 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10229 $as_echo "no" >&6; }
10232 if test "x$ac_ct_DSYMUTIL" = x; then
10235 case $cross_compiling:$ac_tool_warned in
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10239 ac_tool_warned=yes ;;
10241 DSYMUTIL=$ac_ct_DSYMUTIL
10244 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10247 if test -n "$ac_tool_prefix"; then
10248 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10249 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10251 $as_echo_n "checking for $ac_word... " >&6; }
10252 if ${ac_cv_prog_NMEDIT+:} false; then :
10253 $as_echo_n "(cached) " >&6
10255 if test -n "$NMEDIT"; then
10256 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10259 for as_dir in $PATH
10262 test -z "$as_dir" && as_dir=.
10263 for ac_exec_ext in '' $ac_executable_extensions; do
10264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10265 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10275 NMEDIT=$ac_cv_prog_NMEDIT
10276 if test -n "$NMEDIT"; then
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10278 $as_echo "$NMEDIT" >&6; }
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10281 $as_echo "no" >&6; }
10286 if test -z "$ac_cv_prog_NMEDIT"; then
10287 ac_ct_NMEDIT=$NMEDIT
10288 # Extract the first word of "nmedit", so it can be a program name with args.
10289 set dummy nmedit; ac_word=$2
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10291 $as_echo_n "checking for $ac_word... " >&6; }
10292 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10293 $as_echo_n "(cached) " >&6
10295 if test -n "$ac_ct_NMEDIT"; then
10296 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10299 for as_dir in $PATH
10302 test -z "$as_dir" && as_dir=.
10303 for ac_exec_ext in '' $ac_executable_extensions; do
10304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10305 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10315 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10316 if test -n "$ac_ct_NMEDIT"; then
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10318 $as_echo "$ac_ct_NMEDIT" >&6; }
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10321 $as_echo "no" >&6; }
10324 if test "x$ac_ct_NMEDIT" = x; then
10327 case $cross_compiling:$ac_tool_warned in
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10331 ac_tool_warned=yes ;;
10333 NMEDIT=$ac_ct_NMEDIT
10336 NMEDIT="$ac_cv_prog_NMEDIT"
10339 if test -n "$ac_tool_prefix"; then
10340 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10341 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10343 $as_echo_n "checking for $ac_word... " >&6; }
10344 if ${ac_cv_prog_LIPO+:} false; then :
10345 $as_echo_n "(cached) " >&6
10347 if test -n "$LIPO"; then
10348 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10351 for as_dir in $PATH
10354 test -z "$as_dir" && as_dir=.
10355 for ac_exec_ext in '' $ac_executable_extensions; do
10356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10357 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10367 LIPO=$ac_cv_prog_LIPO
10368 if test -n "$LIPO"; then
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10370 $as_echo "$LIPO" >&6; }
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10373 $as_echo "no" >&6; }
10378 if test -z "$ac_cv_prog_LIPO"; then
10380 # Extract the first word of "lipo", so it can be a program name with args.
10381 set dummy lipo; ac_word=$2
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10383 $as_echo_n "checking for $ac_word... " >&6; }
10384 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10385 $as_echo_n "(cached) " >&6
10387 if test -n "$ac_ct_LIPO"; then
10388 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10391 for as_dir in $PATH
10394 test -z "$as_dir" && as_dir=.
10395 for ac_exec_ext in '' $ac_executable_extensions; do
10396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10397 ac_cv_prog_ac_ct_LIPO="lipo"
10398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10407 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10408 if test -n "$ac_ct_LIPO"; then
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10410 $as_echo "$ac_ct_LIPO" >&6; }
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10413 $as_echo "no" >&6; }
10416 if test "x$ac_ct_LIPO" = x; then
10419 case $cross_compiling:$ac_tool_warned in
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10423 ac_tool_warned=yes ;;
10428 LIPO="$ac_cv_prog_LIPO"
10431 if test -n "$ac_tool_prefix"; then
10432 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10433 set dummy ${ac_tool_prefix}otool; ac_word=$2
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10435 $as_echo_n "checking for $ac_word... " >&6; }
10436 if ${ac_cv_prog_OTOOL+:} false; then :
10437 $as_echo_n "(cached) " >&6
10439 if test -n "$OTOOL"; then
10440 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10443 for as_dir in $PATH
10446 test -z "$as_dir" && as_dir=.
10447 for ac_exec_ext in '' $ac_executable_extensions; do
10448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10449 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10459 OTOOL=$ac_cv_prog_OTOOL
10460 if test -n "$OTOOL"; then
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10462 $as_echo "$OTOOL" >&6; }
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10465 $as_echo "no" >&6; }
10470 if test -z "$ac_cv_prog_OTOOL"; then
10472 # Extract the first word of "otool", so it can be a program name with args.
10473 set dummy otool; ac_word=$2
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10475 $as_echo_n "checking for $ac_word... " >&6; }
10476 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10477 $as_echo_n "(cached) " >&6
10479 if test -n "$ac_ct_OTOOL"; then
10480 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10483 for as_dir in $PATH
10486 test -z "$as_dir" && as_dir=.
10487 for ac_exec_ext in '' $ac_executable_extensions; do
10488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10489 ac_cv_prog_ac_ct_OTOOL="otool"
10490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10499 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10500 if test -n "$ac_ct_OTOOL"; then
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10502 $as_echo "$ac_ct_OTOOL" >&6; }
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10505 $as_echo "no" >&6; }
10508 if test "x$ac_ct_OTOOL" = x; then
10511 case $cross_compiling:$ac_tool_warned in
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10515 ac_tool_warned=yes ;;
10520 OTOOL="$ac_cv_prog_OTOOL"
10523 if test -n "$ac_tool_prefix"; then
10524 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10525 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10527 $as_echo_n "checking for $ac_word... " >&6; }
10528 if ${ac_cv_prog_OTOOL64+:} false; then :
10529 $as_echo_n "(cached) " >&6
10531 if test -n "$OTOOL64"; then
10532 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10535 for as_dir in $PATH
10538 test -z "$as_dir" && as_dir=.
10539 for ac_exec_ext in '' $ac_executable_extensions; do
10540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10541 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10551 OTOOL64=$ac_cv_prog_OTOOL64
10552 if test -n "$OTOOL64"; then
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10554 $as_echo "$OTOOL64" >&6; }
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10557 $as_echo "no" >&6; }
10562 if test -z "$ac_cv_prog_OTOOL64"; then
10563 ac_ct_OTOOL64=$OTOOL64
10564 # Extract the first word of "otool64", so it can be a program name with args.
10565 set dummy otool64; ac_word=$2
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10567 $as_echo_n "checking for $ac_word... " >&6; }
10568 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10569 $as_echo_n "(cached) " >&6
10571 if test -n "$ac_ct_OTOOL64"; then
10572 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10575 for as_dir in $PATH
10578 test -z "$as_dir" && as_dir=.
10579 for ac_exec_ext in '' $ac_executable_extensions; do
10580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10581 ac_cv_prog_ac_ct_OTOOL64="otool64"
10582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10591 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10592 if test -n "$ac_ct_OTOOL64"; then
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10594 $as_echo "$ac_ct_OTOOL64" >&6; }
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10597 $as_echo "no" >&6; }
10600 if test "x$ac_ct_OTOOL64" = x; then
10603 case $cross_compiling:$ac_tool_warned in
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10607 ac_tool_warned=yes ;;
10609 OTOOL64=$ac_ct_OTOOL64
10612 OTOOL64="$ac_cv_prog_OTOOL64"
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10642 $as_echo_n "checking for -single_module linker flag... " >&6; }
10643 if ${lt_cv_apple_cc_single_mod+:} false; then :
10644 $as_echo_n "(cached) " >&6
10646 lt_cv_apple_cc_single_mod=no
10647 if test -z "${LT_MULTI_MODULE}"; then
10648 # By default we will add the -single_module flag. You can override
10649 # by either setting the environment variable LT_MULTI_MODULE
10650 # non-empty at configure time, or by adding -multi_module to the
10652 rm -rf libconftest.dylib*
10653 echo "int foo(void){return 1;}" > conftest.c
10654 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10655 -dynamiclib -Wl,-single_module conftest.c" >&5
10656 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10657 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10659 # If there is a non-empty error log, and "single_module"
10660 # appears in it, assume the flag caused a linker warning
10661 if test -s conftest.err && $GREP single_module conftest.err; then
10662 cat conftest.err >&5
10663 # Otherwise, if the output was created with a 0 exit code from
10664 # the compiler, it worked.
10665 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
10666 lt_cv_apple_cc_single_mod=yes
10668 cat conftest.err >&5
10670 rm -rf libconftest.dylib*
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10675 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10678 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10679 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10680 $as_echo_n "(cached) " >&6
10682 lt_cv_ld_exported_symbols_list=no
10683 save_LDFLAGS=$LDFLAGS
10684 echo "_main" > conftest.sym
10685 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10697 if ac_fn_c_try_link "$LINENO"; then :
10698 lt_cv_ld_exported_symbols_list=yes
10700 lt_cv_ld_exported_symbols_list=no
10702 rm -f core conftest.err conftest.$ac_objext \
10703 conftest$ac_exeext conftest.$ac_ext
10704 LDFLAGS="$save_LDFLAGS"
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10708 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10711 $as_echo_n "checking for -force_load linker flag... " >&6; }
10712 if ${lt_cv_ld_force_load+:} false; then :
10713 $as_echo_n "(cached) " >&6
10715 lt_cv_ld_force_load=no
10716 cat > conftest.c << _LT_EOF
10717 int forced_loaded() { return 2;}
10719 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10720 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10721 echo "$AR cru libconftest.a conftest.o" >&5
10722 $AR cru libconftest.a conftest.o 2>&5
10723 echo "$RANLIB libconftest.a" >&5
10724 $RANLIB libconftest.a 2>&5
10725 cat > conftest.c << _LT_EOF
10726 int main() { return 0;}
10728 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10729 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10731 if test -s conftest.err && $GREP force_load conftest.err; then
10732 cat conftest.err >&5
10733 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
10734 lt_cv_ld_force_load=yes
10736 cat conftest.err >&5
10738 rm -f conftest.err libconftest.a conftest conftest.c
10739 rm -rf conftest.dSYM
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10743 $as_echo "$lt_cv_ld_force_load" >&6; }
10745 rhapsody* | darwin1.[012])
10746 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10748 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10749 darwin*) # darwin 5.x on
10750 # if running on 10.5 or later, the deployment target defaults
10751 # to the OS version, if on x86, and 10.4, the deployment
10752 # target defaults to 10.4. Don't you love it?
10753 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10754 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10755 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10757 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10759 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10763 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10764 _lt_dar_single_mod='$single_module'
10766 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10767 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10769 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10771 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10772 _lt_dsymutil='~$DSYMUTIL $lib || :'
10779 for ac_header in dlfcn.h
10781 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10783 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10784 cat >>confdefs.h <<_ACEOF
10785 #define HAVE_DLFCN_H 1
10803 enable_win32_dll=no
10806 # Check whether --enable-shared was given.
10807 if test "${enable_shared+set}" = set; then :
10808 enableval=$enable_shared; p=${PACKAGE-default}
10810 yes) enable_shared=yes ;;
10811 no) enable_shared=no ;;
10814 # Look at the argument we got. We use all the common list separators.
10815 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10816 for pkg in $enableval; do
10818 if test "X$pkg" = "X$p"; then
10839 # Check whether --with-pic was given.
10840 if test "${with_pic+set}" = set; then :
10841 withval=$with_pic; lt_p=${PACKAGE-default}
10843 yes|no) pic_mode=$withval ;;
10846 # Look at the argument we got. We use all the common list separators.
10847 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10848 for lt_pkg in $withval; do
10850 if test "X$lt_pkg" = "X$lt_p"; then
10862 test -z "$pic_mode" && pic_mode=default
10870 # Check whether --enable-fast-install was given.
10871 if test "${enable_fast_install+set}" = set; then :
10872 enableval=$enable_fast_install; p=${PACKAGE-default}
10874 yes) enable_fast_install=yes ;;
10875 no) enable_fast_install=no ;;
10877 enable_fast_install=no
10878 # Look at the argument we got. We use all the common list separators.
10879 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10880 for pkg in $enableval; do
10882 if test "X$pkg" = "X$p"; then
10883 enable_fast_install=yes
10890 enable_fast_install=yes
10903 # This can be used to rebuild libtool when needed
10904 LIBTOOL_DEPS="$ltmain"
10906 # Always use our own libtool.
10907 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10938 test -z "$LN_S" && LN_S="ln -s"
10953 if test -n "${ZSH_VERSION+set}" ; then
10954 setopt NO_GLOB_SUBST
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10958 $as_echo_n "checking for objdir... " >&6; }
10959 if ${lt_cv_objdir+:} false; then :
10960 $as_echo_n "(cached) " >&6
10962 rm -f .libs 2>/dev/null
10963 mkdir .libs 2>/dev/null
10964 if test -d .libs; then
10967 # MS-DOS does not allow filenames that begin with a dot.
10970 rmdir .libs 2>/dev/null
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10973 $as_echo "$lt_cv_objdir" >&6; }
10974 objdir=$lt_cv_objdir
10980 cat >>confdefs.h <<_ACEOF
10981 #define LT_OBJDIR "$lt_cv_objdir/"
10989 # AIX sometimes has problems with the GCC collect2 program. For some
10990 # reason, if we set the COLLECT_NAMES environment variable, the problems
10991 # vanish in a puff of smoke.
10992 if test "X${COLLECT_NAMES+set}" != Xset; then
10994 export COLLECT_NAMES
10999 # Global variables:
11001 can_build_shared=yes
11003 # All known linkers require a `.a' archive for static linking (except MSVC,
11004 # which needs '.lib').
11007 with_gnu_ld="$lt_cv_prog_gnu_ld"
11010 old_CFLAGS="$CFLAGS"
11012 # Set sane defaults for various variables
11013 test -z "$CC" && CC=cc
11014 test -z "$LTCC" && LTCC=$CC
11015 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11016 test -z "$LD" && LD=ld
11017 test -z "$ac_objext" && ac_objext=o
11019 for cc_temp in $compiler""; do
11021 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11022 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11027 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11030 # Only perform the check for file, if the check method requires it
11031 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11032 case $deplibs_check_method in
11034 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11036 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11037 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11038 $as_echo_n "(cached) " >&6
11042 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11045 lt_save_MAGIC_CMD="$MAGIC_CMD"
11046 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11047 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11048 for ac_dir in $ac_dummy; do
11050 test -z "$ac_dir" && ac_dir=.
11051 if test -f $ac_dir/${ac_tool_prefix}file; then
11052 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11053 if test -n "$file_magic_test_file"; then
11054 case $deplibs_check_method in
11056 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11057 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11058 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11059 $EGREP "$file_magic_regex" > /dev/null; then
11064 *** Warning: the command libtool uses to detect shared libraries,
11065 *** $file_magic_cmd, produces output that libtool cannot recognize.
11066 *** The result is that libtool may fail to recognize shared libraries
11067 *** as such. This will affect the creation of libtool libraries that
11068 *** depend on shared libraries, but programs linked with such libtool
11069 *** libraries will work regardless of this problem. Nevertheless, you
11070 *** may want to report the problem to your system manager and/or to
11071 *** bug-libtool@gnu.org
11081 MAGIC_CMD="$lt_save_MAGIC_CMD"
11086 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11087 if test -n "$MAGIC_CMD"; then
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11089 $as_echo "$MAGIC_CMD" >&6; }
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11092 $as_echo "no" >&6; }
11099 if test -z "$lt_cv_path_MAGIC_CMD"; then
11100 if test -n "$ac_tool_prefix"; then
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11102 $as_echo_n "checking for file... " >&6; }
11103 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11104 $as_echo_n "(cached) " >&6
11108 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11111 lt_save_MAGIC_CMD="$MAGIC_CMD"
11112 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11113 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11114 for ac_dir in $ac_dummy; do
11116 test -z "$ac_dir" && ac_dir=.
11117 if test -f $ac_dir/file; then
11118 lt_cv_path_MAGIC_CMD="$ac_dir/file"
11119 if test -n "$file_magic_test_file"; then
11120 case $deplibs_check_method in
11122 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11123 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11124 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11125 $EGREP "$file_magic_regex" > /dev/null; then
11130 *** Warning: the command libtool uses to detect shared libraries,
11131 *** $file_magic_cmd, produces output that libtool cannot recognize.
11132 *** The result is that libtool may fail to recognize shared libraries
11133 *** as such. This will affect the creation of libtool libraries that
11134 *** depend on shared libraries, but programs linked with such libtool
11135 *** libraries will work regardless of this problem. Nevertheless, you
11136 *** may want to report the problem to your system manager and/or to
11137 *** bug-libtool@gnu.org
11147 MAGIC_CMD="$lt_save_MAGIC_CMD"
11152 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11153 if test -n "$MAGIC_CMD"; then
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11155 $as_echo "$MAGIC_CMD" >&6; }
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11158 $as_echo "no" >&6; }
11171 # Use C for the default configuration in the libtool script
11175 ac_cpp='$CPP $CPPFLAGS'
11176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11181 # Source file extension for C test sources.
11184 # Object file extension for compiled C test sources.
11188 # Code to be used in simple compile tests
11189 lt_simple_compile_test_code="int some_variable = 0;"
11191 # Code to be used in simple link tests
11192 lt_simple_link_test_code='int main(){return(0);}'
11200 # If no C compiler was specified, use CC.
11203 # If no C compiler flags were specified, use CFLAGS.
11204 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11206 # Allow CC to be a program name with arguments.
11209 # Save the default compiler, since it gets overwritten when the other
11210 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11211 compiler_DEFAULT=$CC
11213 # save warnings/boilerplate of simple test code
11214 ac_outfile=conftest.$ac_objext
11215 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11216 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11217 _lt_compiler_boilerplate=`cat conftest.err`
11220 ac_outfile=conftest.$ac_objext
11221 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11222 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11223 _lt_linker_boilerplate=`cat conftest.err`
11228 ## There is no encapsulation within the following macros, do not change
11229 ## the running order or otherwise move them around unless you know exactly
11230 ## what you are doing...
11231 if test -n "$compiler"; then
11233 lt_prog_compiler_no_builtin_flag=
11235 if test "$GCC" = yes; then
11236 case $cc_basename in
11238 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11240 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11244 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11245 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11246 $as_echo_n "(cached) " >&6
11248 lt_cv_prog_compiler_rtti_exceptions=no
11249 ac_outfile=conftest.$ac_objext
11250 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11251 lt_compiler_flag="-fno-rtti -fno-exceptions"
11252 # Insert the option either (1) after the last *FLAGS variable, or
11253 # (2) before a word containing "conftest.", or (3) at the end.
11254 # Note that $ac_compile itself does not contain backslashes and begins
11255 # with a dollar sign (not a hyphen), so the echo should work correctly.
11256 # The option is referenced via a variable to avoid confusing sed.
11257 lt_compile=`echo "$ac_compile" | $SED \
11258 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11260 -e 's:$: $lt_compiler_flag:'`
11261 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11262 (eval "$lt_compile" 2>conftest.err)
11264 cat conftest.err >&5
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 if (exit $ac_status) && test -s "$ac_outfile"; then
11267 # The compiler can only warn and ignore the option if not recognized
11268 # So say no if there are warnings other than the usual output.
11269 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11270 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11271 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11272 lt_cv_prog_compiler_rtti_exceptions=yes
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11279 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11281 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11282 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11294 lt_prog_compiler_wl=
11295 lt_prog_compiler_pic=
11296 lt_prog_compiler_static=
11299 if test "$GCC" = yes; then
11300 lt_prog_compiler_wl='-Wl,'
11301 lt_prog_compiler_static='-static'
11305 # All AIX code is PIC.
11306 if test "$host_cpu" = ia64; then
11307 # AIX 5 now supports IA64 processor
11308 lt_prog_compiler_static='-Bstatic'
11315 # see comment about AmigaOS4 .so support
11316 lt_prog_compiler_pic='-fPIC'
11319 # FIXME: we need at least 68020 code to build shared libraries, but
11320 # adding the `-m68020' flag to GCC prevents building anything better,
11322 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11327 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11328 # PIC is the default for these OSes.
11331 mingw* | cygwin* | pw32* | os2* | cegcc*)
11332 # This hack is so that the source file can tell whether it is being
11333 # built for inclusion in a dll (and should export symbols for example).
11334 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11335 # (--disable-auto-import) libraries
11336 lt_prog_compiler_pic='-DDLL_EXPORT'
11339 darwin* | rhapsody*)
11340 # PIC is the default on this platform
11341 # Common symbols not allowed in MH_DYLIB files
11342 lt_prog_compiler_pic='-fno-common'
11346 # PIC is the default for Haiku.
11347 # The "-static" flag exists, but is broken.
11348 lt_prog_compiler_static=
11352 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11353 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11354 # sets the default TLS model and affects inlining.
11360 lt_prog_compiler_pic='-fPIC'
11366 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11367 # Instead, we relocate shared libraries at runtime.
11371 # Just because we use GCC doesn't mean we suddenly get shared libraries
11372 # on systems that don't support them.
11373 lt_prog_compiler_can_build_shared=no
11378 # QNX uses GNU C++, but need to define -shared option too, otherwise
11379 # it will coredump.
11380 lt_prog_compiler_pic='-fPIC -shared'
11384 if test -d /usr/nec; then
11385 lt_prog_compiler_pic=-Kconform_pic
11390 lt_prog_compiler_pic='-fPIC'
11394 case $cc_basename in
11395 nvcc*) # Cuda Compiler Driver 2.2
11396 lt_prog_compiler_wl='-Xlinker '
11397 if test -n "$lt_prog_compiler_pic"; then
11398 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11403 # PORTME Check for flag to pass linker flags through the system compiler.
11406 lt_prog_compiler_wl='-Wl,'
11407 if test "$host_cpu" = ia64; then
11408 # AIX 5 now supports IA64 processor
11409 lt_prog_compiler_static='-Bstatic'
11411 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11415 mingw* | cygwin* | pw32* | os2* | cegcc*)
11416 # This hack is so that the source file can tell whether it is being
11417 # built for inclusion in a dll (and should export symbols for example).
11418 lt_prog_compiler_pic='-DDLL_EXPORT'
11421 hpux9* | hpux10* | hpux11*)
11422 lt_prog_compiler_wl='-Wl,'
11423 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11424 # not for PA HP-UX.
11430 lt_prog_compiler_pic='+Z'
11433 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11434 lt_prog_compiler_static='${wl}-a ${wl}archive'
11437 irix5* | irix6* | nonstopux*)
11438 lt_prog_compiler_wl='-Wl,'
11439 # PIC (with -KPIC) is the default.
11440 lt_prog_compiler_static='-non_shared'
11443 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11444 case $cc_basename in
11445 # old Intel for x86_64 which still supported -KPIC.
11447 lt_prog_compiler_wl='-Wl,'
11448 lt_prog_compiler_pic='-KPIC'
11449 lt_prog_compiler_static='-static'
11451 # icc used to be incompatible with GCC.
11452 # ICC 10 doesn't accept -KPIC any more.
11454 lt_prog_compiler_wl='-Wl,'
11455 lt_prog_compiler_pic='-fPIC'
11456 lt_prog_compiler_static='-static'
11458 # Lahey Fortran 8.1.
11460 lt_prog_compiler_wl='-Wl,'
11461 lt_prog_compiler_pic='--shared'
11462 lt_prog_compiler_static='--static'
11465 # NAG Fortran compiler
11466 lt_prog_compiler_wl='-Wl,-Wl,,'
11467 lt_prog_compiler_pic='-PIC'
11468 lt_prog_compiler_static='-Bstatic'
11470 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11471 # Portland Group compilers (*not* the Pentium gcc compiler,
11472 # which looks to be a dead project)
11473 lt_prog_compiler_wl='-Wl,'
11474 lt_prog_compiler_pic='-fpic'
11475 lt_prog_compiler_static='-Bstatic'
11478 lt_prog_compiler_wl='-Wl,'
11479 # All Alpha code is PIC.
11480 lt_prog_compiler_static='-non_shared'
11482 xl* | bgxl* | bgf* | mpixl*)
11483 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11484 lt_prog_compiler_wl='-Wl,'
11485 lt_prog_compiler_pic='-qpic'
11486 lt_prog_compiler_static='-qstaticlink'
11489 case `$CC -V 2>&1 | sed 5q` in
11490 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11491 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11492 lt_prog_compiler_pic='-KPIC'
11493 lt_prog_compiler_static='-Bstatic'
11494 lt_prog_compiler_wl=''
11496 *Sun\ F* | *Sun*Fortran*)
11497 lt_prog_compiler_pic='-KPIC'
11498 lt_prog_compiler_static='-Bstatic'
11499 lt_prog_compiler_wl='-Qoption ld '
11503 lt_prog_compiler_pic='-KPIC'
11504 lt_prog_compiler_static='-Bstatic'
11505 lt_prog_compiler_wl='-Wl,'
11507 *Intel*\ [CF]*Compiler*)
11508 lt_prog_compiler_wl='-Wl,'
11509 lt_prog_compiler_pic='-fPIC'
11510 lt_prog_compiler_static='-static'
11513 lt_prog_compiler_wl='-Wl,'
11514 lt_prog_compiler_pic='-fpic'
11515 lt_prog_compiler_static='-Bstatic'
11523 lt_prog_compiler_pic='-KPIC'
11524 lt_prog_compiler_static='-Bstatic'
11528 # QNX uses GNU C++, but need to define -shared option too, otherwise
11529 # it will coredump.
11530 lt_prog_compiler_pic='-fPIC -shared'
11533 osf3* | osf4* | osf5*)
11534 lt_prog_compiler_wl='-Wl,'
11535 # All OSF/1 code is PIC.
11536 lt_prog_compiler_static='-non_shared'
11540 lt_prog_compiler_static='-non_shared'
11544 lt_prog_compiler_pic='-KPIC'
11545 lt_prog_compiler_static='-Bstatic'
11546 case $cc_basename in
11547 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11548 lt_prog_compiler_wl='-Qoption ld ';;
11550 lt_prog_compiler_wl='-Wl,';;
11555 lt_prog_compiler_wl='-Qoption ld '
11556 lt_prog_compiler_pic='-PIC'
11557 lt_prog_compiler_static='-Bstatic'
11560 sysv4 | sysv4.2uw2* | sysv4.3*)
11561 lt_prog_compiler_wl='-Wl,'
11562 lt_prog_compiler_pic='-KPIC'
11563 lt_prog_compiler_static='-Bstatic'
11567 if test -d /usr/nec ;then
11568 lt_prog_compiler_pic='-Kconform_pic'
11569 lt_prog_compiler_static='-Bstatic'
11573 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11574 lt_prog_compiler_wl='-Wl,'
11575 lt_prog_compiler_pic='-KPIC'
11576 lt_prog_compiler_static='-Bstatic'
11580 lt_prog_compiler_wl='-Wl,'
11581 lt_prog_compiler_can_build_shared=no
11585 lt_prog_compiler_pic='-pic'
11586 lt_prog_compiler_static='-Bstatic'
11590 lt_prog_compiler_can_build_shared=no
11596 # For platforms which do not support PIC, -DPIC is meaningless:
11598 lt_prog_compiler_pic=
11601 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11606 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11607 if ${lt_cv_prog_compiler_pic+:} false; then :
11608 $as_echo_n "(cached) " >&6
11610 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11613 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11614 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11617 # Check to make sure the PIC flag actually works.
11619 if test -n "$lt_prog_compiler_pic"; then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11621 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11622 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11623 $as_echo_n "(cached) " >&6
11625 lt_cv_prog_compiler_pic_works=no
11626 ac_outfile=conftest.$ac_objext
11627 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11628 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11629 # Insert the option either (1) after the last *FLAGS variable, or
11630 # (2) before a word containing "conftest.", or (3) at the end.
11631 # Note that $ac_compile itself does not contain backslashes and begins
11632 # with a dollar sign (not a hyphen), so the echo should work correctly.
11633 # The option is referenced via a variable to avoid confusing sed.
11634 lt_compile=`echo "$ac_compile" | $SED \
11635 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11637 -e 's:$: $lt_compiler_flag:'`
11638 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11639 (eval "$lt_compile" 2>conftest.err)
11641 cat conftest.err >&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 if (exit $ac_status) && test -s "$ac_outfile"; then
11644 # The compiler can only warn and ignore the option if not recognized
11645 # So say no if there are warnings other than the usual output.
11646 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11647 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11648 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11649 lt_cv_prog_compiler_pic_works=yes
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11656 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11658 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11659 case $lt_prog_compiler_pic in
11661 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11664 lt_prog_compiler_pic=
11665 lt_prog_compiler_can_build_shared=no
11681 # Check to make sure the static flag actually works.
11683 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11685 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11686 if ${lt_cv_prog_compiler_static_works+:} false; then :
11687 $as_echo_n "(cached) " >&6
11689 lt_cv_prog_compiler_static_works=no
11690 save_LDFLAGS="$LDFLAGS"
11691 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11692 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11693 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11694 # The linker can only warn and ignore the option if not recognized
11695 # So say no if there are warnings
11696 if test -s conftest.err; then
11697 # Append any errors to the config.log.
11698 cat conftest.err 1>&5
11699 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11700 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11701 if diff conftest.exp conftest.er2 >/dev/null; then
11702 lt_cv_prog_compiler_static_works=yes
11705 lt_cv_prog_compiler_static_works=yes
11709 LDFLAGS="$save_LDFLAGS"
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11713 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11715 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11718 lt_prog_compiler_static=
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11728 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11729 if ${lt_cv_prog_compiler_c_o+:} false; then :
11730 $as_echo_n "(cached) " >&6
11732 lt_cv_prog_compiler_c_o=no
11733 $RM -r conftest 2>/dev/null
11737 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11739 lt_compiler_flag="-o out/conftest2.$ac_objext"
11740 # Insert the option either (1) after the last *FLAGS variable, or
11741 # (2) before a word containing "conftest.", or (3) at the end.
11742 # Note that $ac_compile itself does not contain backslashes and begins
11743 # with a dollar sign (not a hyphen), so the echo should work correctly.
11744 lt_compile=`echo "$ac_compile" | $SED \
11745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11747 -e 's:$: $lt_compiler_flag:'`
11748 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11749 (eval "$lt_compile" 2>out/conftest.err)
11751 cat out/conftest.err >&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11755 # The compiler can only warn and ignore the option if not recognized
11756 # So say no if there are warnings
11757 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11758 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11759 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11760 lt_cv_prog_compiler_c_o=yes
11765 # SGI C++ compiler will create directory out/ii_files/ for
11766 # template instantiation
11767 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11768 $RM out/* && rmdir out
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11775 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11783 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11784 if ${lt_cv_prog_compiler_c_o+:} false; then :
11785 $as_echo_n "(cached) " >&6
11787 lt_cv_prog_compiler_c_o=no
11788 $RM -r conftest 2>/dev/null
11792 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11794 lt_compiler_flag="-o out/conftest2.$ac_objext"
11795 # Insert the option either (1) after the last *FLAGS variable, or
11796 # (2) before a word containing "conftest.", or (3) at the end.
11797 # Note that $ac_compile itself does not contain backslashes and begins
11798 # with a dollar sign (not a hyphen), so the echo should work correctly.
11799 lt_compile=`echo "$ac_compile" | $SED \
11800 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11801 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11802 -e 's:$: $lt_compiler_flag:'`
11803 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11804 (eval "$lt_compile" 2>out/conftest.err)
11806 cat out/conftest.err >&5
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11810 # The compiler can only warn and ignore the option if not recognized
11811 # So say no if there are warnings
11812 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11813 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11814 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11815 lt_cv_prog_compiler_c_o=yes
11820 # SGI C++ compiler will create directory out/ii_files/ for
11821 # template instantiation
11822 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11823 $RM out/* && rmdir out
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11830 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11835 hard_links="nottested"
11836 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11837 # do not overwrite the value of need_locks provided by the user
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11839 $as_echo_n "checking if we can lock with hard links... " >&6; }
11842 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11844 ln conftest.a conftest.b 2>&5 || hard_links=no
11845 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11847 $as_echo "$hard_links" >&6; }
11848 if test "$hard_links" = no; then
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11850 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11863 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11866 allow_undefined_flag=
11867 always_export_symbols=no
11869 archive_expsym_cmds=
11870 compiler_needs_object=no
11871 enable_shared_with_static_runtimes=no
11872 export_dynamic_flag_spec=
11873 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11874 hardcode_automatic=no
11876 hardcode_direct_absolute=no
11877 hardcode_libdir_flag_spec=
11878 hardcode_libdir_separator=
11879 hardcode_minus_L=no
11880 hardcode_shlibpath_var=unsupported
11882 link_all_deplibs=unknown
11884 module_expsym_cmds=
11885 old_archive_from_new_cmds=
11886 old_archive_from_expsyms_cmds=
11887 thread_safe_flag_spec=
11888 whole_archive_flag_spec=
11889 # include_expsyms should be a list of space-separated symbols to be *always*
11890 # included in the symbol list
11892 # exclude_expsyms can be an extended regexp of symbols to exclude
11893 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11894 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11895 # as well as any symbol that contains `d'.
11896 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11897 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11898 # platforms (ab)use it in PIC code, but their linkers get confused if
11899 # the symbol is explicitly referenced. Since portable code cannot
11900 # rely on this symbol name, it's probably fine to never include it in
11901 # preloaded symbol tables.
11902 # Exclude shared library initialization/finalization symbols.
11903 extract_expsyms_cmds=
11906 cygwin* | mingw* | pw32* | cegcc*)
11907 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11908 # When not using gcc, we currently assume that we are using
11909 # Microsoft Visual C++.
11910 if test "$GCC" != yes; then
11915 # we just hope/assume this is gcc and not c89 (= MSVC++)
11925 # On some targets, GNU ld is compatible enough with the native linker
11926 # that we're better off using the native interface for both.
11927 lt_use_gnu_ld_interface=no
11928 if test "$with_gnu_ld" = yes; then
11931 # The AIX port of GNU ld has always aspired to compatibility
11932 # with the native linker. However, as the warning in the GNU ld
11933 # block says, versions before 2.19.5* couldn't really create working
11934 # shared libraries, regardless of the interface used.
11935 case `$LD -v 2>&1` in
11936 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11937 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11938 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11940 lt_use_gnu_ld_interface=yes
11945 lt_use_gnu_ld_interface=yes
11950 if test "$lt_use_gnu_ld_interface" = yes; then
11951 # If archive_cmds runs LD, not CC, wlarc should be empty
11954 # Set some defaults for GNU ld with shared library support. These
11955 # are reset later if shared libraries are not supported. Putting them
11956 # here allows them to be overridden if necessary.
11957 runpath_var=LD_RUN_PATH
11958 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11959 export_dynamic_flag_spec='${wl}--export-dynamic'
11960 # ancient GNU ld didn't support --whole-archive et. al.
11961 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11962 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11964 whole_archive_flag_spec=
11966 supports_anon_versioning=no
11967 case `$LD -v 2>&1` in
11968 *GNU\ gold*) supports_anon_versioning=yes ;;
11969 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11970 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11971 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11972 *\ 2.11.*) ;; # other 2.11 versions
11973 *) supports_anon_versioning=yes ;;
11976 # See if GNU ld supports shared libraries.
11979 # On AIX/PPC, the GNU linker is very broken
11980 if test "$host_cpu" != ia64; then
11984 *** Warning: the GNU linker, at least up to release 2.19, is reported
11985 *** to be unable to reliably create shared libraries on AIX.
11986 *** Therefore, libtool is disabling shared libraries support. If you
11987 *** really care for shared libraries, you may want to install binutils
11988 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11989 *** You will then need to restart the configuration process.
11998 # see comment about AmigaOS4 .so support
11999 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12000 archive_expsym_cmds=''
12003 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)'
12004 hardcode_libdir_flag_spec='-L$libdir'
12005 hardcode_minus_L=yes
12011 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12012 allow_undefined_flag=unsupported
12013 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12014 # support --undefined. This deserves some investigation. FIXME
12015 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12021 cygwin* | mingw* | pw32* | cegcc*)
12022 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12023 # as there is no search path for DLLs.
12024 hardcode_libdir_flag_spec='-L$libdir'
12025 export_dynamic_flag_spec='${wl}--export-all-symbols'
12026 allow_undefined_flag=unsupported
12027 always_export_symbols=no
12028 enable_shared_with_static_runtimes=yes
12029 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'
12030 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12032 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12033 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12034 # If the export-symbols file already is a .def file (1st line
12035 # is EXPORTS), use it as is; otherwise, prepend...
12036 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12037 cp $export_symbols $output_objdir/$soname.def;
12039 echo EXPORTS > $output_objdir/$soname.def;
12040 cat $export_symbols >> $output_objdir/$soname.def;
12042 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12049 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12050 link_all_deplibs=yes
12055 hardcode_shlibpath_var=no
12056 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12057 export_dynamic_flag_spec='${wl}-E'
12058 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12059 # Instead, shared libraries are loaded at an image base (0x10000000 by
12060 # default) and relocated if they conflict, which is a slow very memory
12061 # consuming and fragmenting process. To avoid this, we pick a random,
12062 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12063 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12064 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12065 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'
12068 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12070 if test "$host_os" = linux-dietlibc; then
12071 case $cc_basename in
12072 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12075 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12076 && test "$tmp_diet" = no
12078 tmp_addflag=' $pic_flag'
12079 tmp_sharedflag='-shared'
12080 case $cc_basename,$host_cpu in
12081 pgcc*) # Portland Group C compiler
12082 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'
12083 tmp_addflag=' $pic_flag'
12085 pgf77* | pgf90* | pgf95* | pgfortran*)
12086 # Portland Group f77 and f90 compilers
12087 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'
12088 tmp_addflag=' $pic_flag -Mnomain' ;;
12089 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12090 tmp_addflag=' -i_dynamic' ;;
12091 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12092 tmp_addflag=' -i_dynamic -nofor_main' ;;
12093 ifc* | ifort*) # Intel Fortran compiler
12094 tmp_addflag=' -nofor_main' ;;
12095 lf95*) # Lahey Fortran 8.1
12096 whole_archive_flag_spec=
12097 tmp_sharedflag='--shared' ;;
12098 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12099 tmp_sharedflag='-qmkshrobj'
12101 nvcc*) # Cuda Compiler Driver 2.2
12102 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'
12103 compiler_needs_object=yes
12106 case `$CC -V 2>&1 | sed 5q` in
12107 *Sun\ C*) # Sun C 5.9
12108 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'
12109 compiler_needs_object=yes
12110 tmp_sharedflag='-G' ;;
12111 *Sun\ F*) # Sun Fortran 8.3
12112 tmp_sharedflag='-G' ;;
12114 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12116 if test "x$supports_anon_versioning" = xyes; then
12117 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12118 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12119 echo "local: *; };" >> $output_objdir/$libname.ver~
12120 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12123 case $cc_basename in
12124 xlf* | bgf* | bgxlf* | mpixlf*)
12125 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12126 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12127 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12128 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12129 if test "x$supports_anon_versioning" = xyes; then
12130 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12131 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12132 echo "local: *; };" >> $output_objdir/$libname.ver~
12133 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12143 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12144 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12147 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12148 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12153 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12157 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12158 *** create shared libraries on Solaris systems. Therefore, libtool
12159 *** is disabling shared libraries support. We urge you to upgrade GNU
12160 *** binutils to release 2.9.1 or newer. Another option is to modify
12161 *** your PATH or compiler configuration so that the native linker is
12162 *** used, and then restart.
12165 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12166 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12167 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12173 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12174 case `$LD -v 2>&1` in
12175 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12179 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12180 *** reliably create shared libraries on SCO systems. Therefore, libtool
12181 *** is disabling shared libraries support. We urge you to upgrade GNU
12182 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12183 *** your PATH or compiler configuration so that the native linker is
12184 *** used, and then restart.
12189 # For security reasons, it is highly recommended that you always
12190 # use absolute paths for naming shared libraries, and exclude the
12191 # DT_RUNPATH tag from executables and libraries. But doing so
12192 # requires that you compile everything twice, which is a pain.
12193 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12194 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12195 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12196 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12205 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12207 hardcode_direct=yes
12208 hardcode_shlibpath_var=no
12212 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12213 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12214 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12221 if test "$ld_shlibs" = no; then
12223 hardcode_libdir_flag_spec=
12224 export_dynamic_flag_spec=
12225 whole_archive_flag_spec=
12228 # PORTME fill in a description of your system's linker (not GNU ld)
12231 allow_undefined_flag=unsupported
12232 always_export_symbols=yes
12233 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'
12234 # Note: this linker hardcodes the directories in LIBPATH if there
12235 # are no directories specified by -L.
12236 hardcode_minus_L=yes
12237 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12238 # Neither direct hardcoding nor static linking is supported with a
12240 hardcode_direct=unsupported
12245 if test "$host_cpu" = ia64; then
12246 # On IA64, the linker does run time linking by default, so we don't
12247 # have to do anything special.
12248 aix_use_runtimelinking=no
12249 exp_sym_flag='-Bexport'
12252 # If we're using GNU nm, then we don't want the "-C" option.
12253 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12254 # Also, AIX nm treats weak defined symbols like other global
12255 # defined symbols, whereas GNU nm marks them as "W".
12256 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12257 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'
12259 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'
12261 aix_use_runtimelinking=no
12263 # Test if we are trying to use run time linking or normal
12264 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12265 # need to do runtime linking.
12266 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12267 for ld_flag in $LDFLAGS; do
12268 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12269 aix_use_runtimelinking=yes
12276 exp_sym_flag='-bexport'
12277 no_entry_flag='-bnoentry'
12280 # When large executables or shared objects are built, AIX ld can
12281 # have problems creating the table of contents. If linking a library
12282 # or program results in "error TOC overflow" add -mminimal-toc to
12283 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12284 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12287 hardcode_direct=yes
12288 hardcode_direct_absolute=yes
12289 hardcode_libdir_separator=':'
12290 link_all_deplibs=yes
12291 file_list_spec='${wl}-f,'
12293 if test "$GCC" = yes; then
12294 case $host_os in aix4.[012]|aix4.[012].*)
12295 # We only want to do this on AIX 4.2 and lower, the check
12296 # below for broken collect2 doesn't work under 4.3+
12297 collect2name=`${CC} -print-prog-name=collect2`
12298 if test -f "$collect2name" &&
12299 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12301 # We have reworked collect2
12304 # We have old collect2
12305 hardcode_direct=unsupported
12306 # It fails to find uninstalled libraries when the uninstalled
12307 # path is not listed in the libpath. Setting hardcode_minus_L
12308 # to unsupported forces relinking
12309 hardcode_minus_L=yes
12310 hardcode_libdir_flag_spec='-L$libdir'
12311 hardcode_libdir_separator=
12315 shared_flag='-shared'
12316 if test "$aix_use_runtimelinking" = yes; then
12317 shared_flag="$shared_flag "'${wl}-G'
12321 if test "$host_cpu" = ia64; then
12322 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12323 # chokes on -Wl,-G. The following line is correct:
12326 if test "$aix_use_runtimelinking" = yes; then
12327 shared_flag='${wl}-G'
12329 shared_flag='${wl}-bM:SRE'
12334 export_dynamic_flag_spec='${wl}-bexpall'
12335 # It seems that -bexpall does not export symbols beginning with
12336 # underscore (_), so it is better to generate a list of symbols to export.
12337 always_export_symbols=yes
12338 if test "$aix_use_runtimelinking" = yes; then
12339 # Warning - without using the other runtime loading flags (-brtl),
12340 # -berok will link without error, but may produce a broken library.
12341 allow_undefined_flag='-berok'
12342 # Determine the default libpath from the value encoded in an
12343 # empty executable.
12344 if test "${lt_cv_aix_libpath+set}" = set; then
12345 aix_libpath=$lt_cv_aix_libpath
12347 if ${lt_cv_aix_libpath_+:} false; then :
12348 $as_echo_n "(cached) " >&6
12350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12351 /* end confdefs.h. */
12361 if ac_fn_c_try_link "$LINENO"; then :
12363 lt_aix_libpath_sed='
12364 /Import File Strings/,/^$/ {
12366 s/^0 *\([^ ]*\) *$/\1/
12370 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12371 # Check for a 64-bit object if we didn't find anything.
12372 if test -z "$lt_cv_aix_libpath_"; then
12373 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12376 rm -f core conftest.err conftest.$ac_objext \
12377 conftest$ac_exeext conftest.$ac_ext
12378 if test -z "$lt_cv_aix_libpath_"; then
12379 lt_cv_aix_libpath_="/usr/lib:/lib"
12384 aix_libpath=$lt_cv_aix_libpath_
12387 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12388 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"
12390 if test "$host_cpu" = ia64; then
12391 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12392 allow_undefined_flag="-z nodefs"
12393 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"
12395 # Determine the default libpath from the value encoded in an
12396 # empty executable.
12397 if test "${lt_cv_aix_libpath+set}" = set; then
12398 aix_libpath=$lt_cv_aix_libpath
12400 if ${lt_cv_aix_libpath_+:} false; then :
12401 $as_echo_n "(cached) " >&6
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12414 if ac_fn_c_try_link "$LINENO"; then :
12416 lt_aix_libpath_sed='
12417 /Import File Strings/,/^$/ {
12419 s/^0 *\([^ ]*\) *$/\1/
12423 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12424 # Check for a 64-bit object if we didn't find anything.
12425 if test -z "$lt_cv_aix_libpath_"; then
12426 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12429 rm -f core conftest.err conftest.$ac_objext \
12430 conftest$ac_exeext conftest.$ac_ext
12431 if test -z "$lt_cv_aix_libpath_"; then
12432 lt_cv_aix_libpath_="/usr/lib:/lib"
12437 aix_libpath=$lt_cv_aix_libpath_
12440 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12441 # Warning - without using the other run time loading flags,
12442 # -berok will link without error, but may produce a broken library.
12443 no_undefined_flag=' ${wl}-bernotok'
12444 allow_undefined_flag=' ${wl}-berok'
12445 if test "$with_gnu_ld" = yes; then
12446 # We only use this code for GNU lds that support --whole-archive.
12447 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12449 # Exported symbols can be pulled into shared objects from archives
12450 whole_archive_flag_spec='$convenience'
12452 archive_cmds_need_lc=yes
12453 # This is similar to how AIX traditionally builds its shared libraries.
12454 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'
12462 # see comment about AmigaOS4 .so support
12463 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12464 archive_expsym_cmds=''
12467 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)'
12468 hardcode_libdir_flag_spec='-L$libdir'
12469 hardcode_minus_L=yes
12475 export_dynamic_flag_spec=-rdynamic
12478 cygwin* | mingw* | pw32* | cegcc*)
12479 # When not using gcc, we currently assume that we are using
12480 # Microsoft Visual C++.
12481 # hardcode_libdir_flag_spec is actually meaningless, as there is
12482 # no search path for DLLs.
12483 case $cc_basename in
12486 hardcode_libdir_flag_spec=' '
12487 allow_undefined_flag=unsupported
12488 always_export_symbols=yes
12490 # Tell ltmain to make .lib files, not .a files.
12492 # Tell ltmain to make .dll files, not .so files.
12494 # FIXME: Setting linknames here is a bad hack.
12495 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12496 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12497 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12499 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12501 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12503 # The linker will not automatically build a static lib if we build a DLL.
12504 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12505 enable_shared_with_static_runtimes=yes
12506 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12507 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12509 old_postinstall_cmds='chmod 644 $oldlib'
12510 postlink_cmds='lt_outputfile="@OUTPUT@"~
12511 lt_tool_outputfile="@TOOL_OUTPUT@"~
12512 case $lt_outputfile in
12515 lt_outputfile="$lt_outputfile.exe"
12516 lt_tool_outputfile="$lt_tool_outputfile.exe"
12519 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12520 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12521 $RM "$lt_outputfile.manifest";
12525 # Assume MSVC wrapper
12526 hardcode_libdir_flag_spec=' '
12527 allow_undefined_flag=unsupported
12528 # Tell ltmain to make .lib files, not .a files.
12530 # Tell ltmain to make .dll files, not .so files.
12532 # FIXME: Setting linknames here is a bad hack.
12533 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12534 # The linker will automatically build a .lib file if we build a DLL.
12535 old_archive_from_new_cmds='true'
12536 # FIXME: Should let the user specify the lib program.
12537 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12538 enable_shared_with_static_runtimes=yes
12543 darwin* | rhapsody*)
12546 archive_cmds_need_lc=no
12548 hardcode_automatic=yes
12549 hardcode_shlibpath_var=unsupported
12550 if test "$lt_cv_ld_force_load" = "yes"; then
12551 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\"`'
12554 whole_archive_flag_spec=''
12556 link_all_deplibs=yes
12557 allow_undefined_flag="$_lt_dar_allow_undefined"
12558 case $cc_basename in
12559 ifort*) _lt_dar_can_shared=yes ;;
12560 *) _lt_dar_can_shared=$GCC ;;
12562 if test "$_lt_dar_can_shared" = "yes"; then
12563 output_verbose_link_cmd=func_echo_all
12564 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12565 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12566 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}"
12567 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}"
12576 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12577 hardcode_libdir_flag_spec='-L$libdir'
12578 hardcode_shlibpath_var=no
12581 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12582 # support. Future versions do this automatically, but an explicit c++rt0.o
12583 # does not break anything, and helps significantly (at the cost of a little
12586 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12587 hardcode_libdir_flag_spec='-R$libdir'
12588 hardcode_direct=yes
12589 hardcode_shlibpath_var=no
12592 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12594 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12595 hardcode_direct=yes
12596 hardcode_minus_L=yes
12597 hardcode_shlibpath_var=no
12600 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12601 freebsd* | dragonfly*)
12602 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12603 hardcode_libdir_flag_spec='-R$libdir'
12604 hardcode_direct=yes
12605 hardcode_shlibpath_var=no
12609 if test "$GCC" = yes; then
12610 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'
12612 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'
12614 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12615 hardcode_libdir_separator=:
12616 hardcode_direct=yes
12618 # hardcode_minus_L: Not really in the search PATH,
12619 # but as the default location of the library.
12620 hardcode_minus_L=yes
12621 export_dynamic_flag_spec='${wl}-E'
12625 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12626 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12628 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12630 if test "$with_gnu_ld" = no; then
12631 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12632 hardcode_libdir_separator=:
12633 hardcode_direct=yes
12634 hardcode_direct_absolute=yes
12635 export_dynamic_flag_spec='${wl}-E'
12636 # hardcode_minus_L: Not really in the search PATH,
12637 # but as the default location of the library.
12638 hardcode_minus_L=yes
12643 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12646 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12649 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12652 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12658 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12661 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12665 # Older versions of the 11.00 compiler do not understand -b yet
12666 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12668 $as_echo_n "checking if $CC understands -b... " >&6; }
12669 if ${lt_cv_prog_compiler__b+:} false; then :
12670 $as_echo_n "(cached) " >&6
12672 lt_cv_prog_compiler__b=no
12673 save_LDFLAGS="$LDFLAGS"
12674 LDFLAGS="$LDFLAGS -b"
12675 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12676 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12677 # The linker can only warn and ignore the option if not recognized
12678 # So say no if there are warnings
12679 if test -s conftest.err; then
12680 # Append any errors to the config.log.
12681 cat conftest.err 1>&5
12682 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12683 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12684 if diff conftest.exp conftest.er2 >/dev/null; then
12685 lt_cv_prog_compiler__b=yes
12688 lt_cv_prog_compiler__b=yes
12692 LDFLAGS="$save_LDFLAGS"
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12696 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12698 if test x"$lt_cv_prog_compiler__b" = xyes; then
12699 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12701 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12707 if test "$with_gnu_ld" = no; then
12708 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12709 hardcode_libdir_separator=:
12714 hardcode_shlibpath_var=no
12717 hardcode_direct=yes
12718 hardcode_direct_absolute=yes
12719 export_dynamic_flag_spec='${wl}-E'
12721 # hardcode_minus_L: Not really in the search PATH,
12722 # but as the default location of the library.
12723 hardcode_minus_L=yes
12729 irix5* | irix6* | nonstopux*)
12730 if test "$GCC" = yes; then
12731 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'
12732 # Try to use the -exported_symbol ld option, if it does not
12733 # work, assume that -exports_file does not work either and
12734 # implicitly export all symbols.
12735 # This should be the same for all languages, so no per-tag cache variable.
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12737 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12738 if ${lt_cv_irix_exported_symbol+:} false; then :
12739 $as_echo_n "(cached) " >&6
12741 save_LDFLAGS="$LDFLAGS"
12742 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12745 int foo (void) { return 0; }
12747 if ac_fn_c_try_link "$LINENO"; then :
12748 lt_cv_irix_exported_symbol=yes
12750 lt_cv_irix_exported_symbol=no
12752 rm -f core conftest.err conftest.$ac_objext \
12753 conftest$ac_exeext conftest.$ac_ext
12754 LDFLAGS="$save_LDFLAGS"
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12757 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12758 if test "$lt_cv_irix_exported_symbol" = yes; then
12759 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'
12762 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'
12763 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'
12765 archive_cmds_need_lc='no'
12766 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12767 hardcode_libdir_separator=:
12769 link_all_deplibs=yes
12773 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12774 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12776 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12778 hardcode_libdir_flag_spec='-R$libdir'
12779 hardcode_direct=yes
12780 hardcode_shlibpath_var=no
12784 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12785 hardcode_direct=yes
12786 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12787 hardcode_libdir_separator=:
12788 hardcode_shlibpath_var=no
12795 if test -f /usr/libexec/ld.so; then
12796 hardcode_direct=yes
12797 hardcode_shlibpath_var=no
12798 hardcode_direct_absolute=yes
12799 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12800 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12801 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12802 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12803 export_dynamic_flag_spec='${wl}-E'
12806 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12807 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12808 hardcode_libdir_flag_spec='-R$libdir'
12811 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12812 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12822 hardcode_libdir_flag_spec='-L$libdir'
12823 hardcode_minus_L=yes
12824 allow_undefined_flag=unsupported
12825 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'
12826 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12830 if test "$GCC" = yes; then
12831 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12832 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'
12834 allow_undefined_flag=' -expect_unresolved \*'
12835 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'
12837 archive_cmds_need_lc='no'
12838 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12839 hardcode_libdir_separator=:
12842 osf4* | osf5*) # as osf3* with the addition of -msym flag
12843 if test "$GCC" = yes; then
12844 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12845 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'
12846 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12848 allow_undefined_flag=' -expect_unresolved \*'
12849 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'
12850 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~
12851 $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'
12853 # Both c and cxx compiler support -rpath directly
12854 hardcode_libdir_flag_spec='-rpath $libdir'
12856 archive_cmds_need_lc='no'
12857 hardcode_libdir_separator=:
12861 no_undefined_flag=' -z defs'
12862 if test "$GCC" = yes; then
12864 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12865 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12866 $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'
12868 case `$CC -V 2>&1` in
12871 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12872 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12873 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12877 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12878 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12879 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12883 hardcode_libdir_flag_spec='-R$libdir'
12884 hardcode_shlibpath_var=no
12886 solaris2.[0-5] | solaris2.[0-5].*) ;;
12888 # The compiler driver will combine and reorder linker options,
12889 # but understands `-z linker_flag'. GCC discards it without `$wl',
12890 # but is careful enough not to reorder.
12891 # Supported since Solaris 2.6 (maybe 2.5.1?)
12892 if test "$GCC" = yes; then
12893 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12895 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12899 link_all_deplibs=yes
12903 if test "x$host_vendor" = xsequent; then
12904 # Use $CC to link under sequent, because it throws in some extra .o
12905 # files that make .init and .fini sections work.
12906 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12908 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12910 hardcode_libdir_flag_spec='-L$libdir'
12911 hardcode_direct=yes
12912 hardcode_minus_L=yes
12913 hardcode_shlibpath_var=no
12917 case $host_vendor in
12919 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12920 hardcode_direct=yes # is this really true???
12923 ## LD is ld it makes a PLAMLIB
12924 ## CC just makes a GrossModule.
12925 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12926 reload_cmds='$CC -r -o $output$reload_objs'
12930 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12931 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12934 runpath_var='LD_RUN_PATH'
12935 hardcode_shlibpath_var=no
12939 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12940 hardcode_shlibpath_var=no
12941 export_dynamic_flag_spec='-Bexport'
12945 if test -d /usr/nec; then
12946 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12947 hardcode_shlibpath_var=no
12948 runpath_var=LD_RUN_PATH
12949 hardcode_runpath_var=yes
12954 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12955 no_undefined_flag='${wl}-z,text'
12956 archive_cmds_need_lc=no
12957 hardcode_shlibpath_var=no
12958 runpath_var='LD_RUN_PATH'
12960 if test "$GCC" = yes; then
12961 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12962 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12964 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12965 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12969 sysv5* | sco3.2v5* | sco5v6*)
12970 # Note: We can NOT use -z defs as we might desire, because we do not
12971 # link with -lc, and that would cause any symbols used from libc to
12972 # always be unresolved, which means just about no library would
12973 # ever link correctly. If we're not using GNU ld we use -z text
12974 # though, which does catch some bad symbols but isn't as heavy-handed
12976 no_undefined_flag='${wl}-z,text'
12977 allow_undefined_flag='${wl}-z,nodefs'
12978 archive_cmds_need_lc=no
12979 hardcode_shlibpath_var=no
12980 hardcode_libdir_flag_spec='${wl}-R,$libdir'
12981 hardcode_libdir_separator=':'
12982 link_all_deplibs=yes
12983 export_dynamic_flag_spec='${wl}-Bexport'
12984 runpath_var='LD_RUN_PATH'
12986 if test "$GCC" = yes; then
12987 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12988 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12990 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12991 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12996 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12997 hardcode_libdir_flag_spec='-L$libdir'
12998 hardcode_shlibpath_var=no
13006 if test x$host_vendor = xsni; then
13008 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13009 export_dynamic_flag_spec='${wl}-Blargedynsym'
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13016 $as_echo "$ld_shlibs" >&6; }
13017 test "$ld_shlibs" = no && can_build_shared=no
13019 with_gnu_ld=$with_gnu_ld
13036 # Do we need to explicitly link libc?
13038 case "x$archive_cmds_need_lc" in
13040 # Assume -lc should be added
13041 archive_cmds_need_lc=yes
13043 if test "$enable_shared" = yes && test "$GCC" = yes; then
13044 case $archive_cmds in
13046 # FIXME: we may have to deal with multi-command sequences.
13049 # Test whether the compiler implicitly links with -lc since on some
13050 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13051 # to ld, don't add -lc before -lgcc.
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13053 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13054 if ${lt_cv_archive_cmds_need_lc+:} false; then :
13055 $as_echo_n "(cached) " >&6
13058 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13061 (eval $ac_compile) 2>&5
13063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13064 test $ac_status = 0; } 2>conftest.err; then
13067 libobjs=conftest.$ac_objext
13069 wl=$lt_prog_compiler_wl
13070 pic_flag=$lt_prog_compiler_pic
13076 lt_save_allow_undefined_flag=$allow_undefined_flag
13077 allow_undefined_flag=
13078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13079 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13082 test $ac_status = 0; }
13084 lt_cv_archive_cmds_need_lc=no
13086 lt_cv_archive_cmds_need_lc=yes
13088 allow_undefined_flag=$lt_save_allow_undefined_flag
13090 cat conftest.err 1>&5
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13096 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13097 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13256 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13258 if test "$GCC" = yes; then
13260 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
13261 *) lt_awk_arg="/^libraries:/" ;;
13264 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
13265 *) lt_sed_strip_eq="s,=/,/,g" ;;
13267 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13268 case $lt_search_path_spec in
13270 # if the path contains ";" then we assume it to be the separator
13271 # otherwise default to the standard path separator (i.e. ":") - it is
13272 # assumed that no part of a normal pathname contains ";" but that should
13273 # okay in the real world where ";" in dirpaths is itself problematic.
13274 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13277 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13280 # Ok, now we have the path, separated by spaces, we can step through it
13281 # and add multilib dir if necessary.
13282 lt_tmp_lt_search_path_spec=
13283 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13284 for lt_sys_path in $lt_search_path_spec; do
13285 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
13286 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
13288 test -d "$lt_sys_path" && \
13289 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13292 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13293 BEGIN {RS=" "; FS="/|\n";} {
13296 for (lt_i = NF; lt_i > 0; lt_i--) {
13297 if ($lt_i != "" && $lt_i != ".") {
13298 if ($lt_i == "..") {
13301 if (lt_count == 0) {
13302 lt_foo="/" $lt_i lt_foo;
13309 if (lt_foo != "") { lt_freq[lt_foo]++; }
13310 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13312 # AWK program above erroneously prepends '/' to C:/dos/paths
13315 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13316 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
13318 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13320 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13322 library_names_spec=
13323 libname_spec='lib$name'
13327 postuninstall_cmds=
13331 shlibpath_overrides_runpath=unknown
13333 dynamic_linker="$host_os ld.so"
13334 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13335 need_lib_prefix=unknown
13336 hardcode_into_libs=no
13338 # when you set need_version to no, make sure it does not cause -set_version
13339 # flags to be left without arguments
13340 need_version=unknown
13344 version_type=linux # correct to gnu/linux during the next big refactor
13345 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13346 shlibpath_var=LIBPATH
13348 # AIX 3 has no versioning support, so we append a major version to the name.
13349 soname_spec='${libname}${release}${shared_ext}$major'
13353 version_type=linux # correct to gnu/linux during the next big refactor
13356 hardcode_into_libs=yes
13357 if test "$host_cpu" = ia64; then
13358 # AIX 5 supports IA64
13359 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13360 shlibpath_var=LD_LIBRARY_PATH
13362 # With GCC up to 2.95.x, collect2 would create an import file
13363 # for dependence libraries. The import file would start with
13364 # the line `#! .'. This would cause the generated library to
13365 # depend on `.', always an invalid library. This was fixed in
13366 # development snapshots of GCC prior to 3.0.
13368 aix4 | aix4.[01] | aix4.[01].*)
13369 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13371 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13374 can_build_shared=no
13378 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13379 # soname into executable. Probably we can add versioning support to
13380 # collect2, so additional links can be useful in future.
13381 if test "$aix_use_runtimelinking" = yes; then
13382 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13383 # instead of lib<name>.a to let people know that these are not
13384 # typical AIX shared libraries.
13385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13387 # We preserve .a as extension for shared libraries through AIX4.2
13388 # and later when we are not doing run time linking.
13389 library_names_spec='${libname}${release}.a $libname.a'
13390 soname_spec='${libname}${release}${shared_ext}$major'
13392 shlibpath_var=LIBPATH
13399 # Since July 2007 AmigaOS4 officially supports .so libraries.
13400 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13404 library_names_spec='$libname.ixlibrary $libname.a'
13405 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13406 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'
13412 library_names_spec='${libname}${shared_ext}'
13413 dynamic_linker="$host_os ld.so"
13414 shlibpath_var=LIBRARY_PATH
13418 version_type=linux # correct to gnu/linux during the next big refactor
13420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13421 soname_spec='${libname}${release}${shared_ext}$major'
13422 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13423 shlibpath_var=LD_LIBRARY_PATH
13424 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13425 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13426 # the default ld.so.conf also contains /usr/contrib/lib and
13427 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13428 # libtool to hard-code these into programs
13431 cygwin* | mingw* | pw32* | cegcc*)
13432 version_type=windows
13437 case $GCC,$cc_basename in
13440 library_names_spec='$libname.dll.a'
13441 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13442 postinstall_cmds='base_file=`basename \${file}`~
13443 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13444 dldir=$destdir/`dirname \$dlpath`~
13445 test -d \$dldir || mkdir -p \$dldir~
13446 $install_prog $dir/$dlname \$dldir/$dlname~
13447 chmod a+x \$dldir/$dlname~
13448 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13449 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13451 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13452 dlpath=$dir/\$dldll~
13454 shlibpath_overrides_runpath=yes
13458 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13459 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13461 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13464 # MinGW DLLs use traditional 'lib' prefix
13465 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13468 # pw32 DLLs use 'pw' prefix rather than 'lib'
13469 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13472 dynamic_linker='Win32 ld.exe'
13477 libname_spec='$name'
13478 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13479 library_names_spec='${libname}.dll.lib'
13483 sys_lib_search_path_spec=
13486 for lt_path in $LIB
13489 # Let DOS variable expansion print the short 8.3 style file name.
13490 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13491 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13494 # Convert to MSYS style.
13495 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13498 # Convert to unix form, then to dos form, then back to unix form
13499 # but this time dos style (no spaces!) so that the unix form looks
13500 # like /cygdrive/c/PROGRA~1:/cygdr...
13501 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13502 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13503 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13506 sys_lib_search_path_spec="$LIB"
13507 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13508 # It is most probably a Windows format PATH.
13509 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13511 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13513 # FIXME: find the short name or the path components, as spaces are
13514 # common. (e.g. "Program Files" -> "PROGRA~1")
13518 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13519 postinstall_cmds='base_file=`basename \${file}`~
13520 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13521 dldir=$destdir/`dirname \$dlpath`~
13522 test -d \$dldir || mkdir -p \$dldir~
13523 $install_prog $dir/$dlname \$dldir/$dlname'
13524 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13525 dlpath=$dir/\$dldll~
13527 shlibpath_overrides_runpath=yes
13528 dynamic_linker='Win32 link.exe'
13532 # Assume MSVC wrapper
13533 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13534 dynamic_linker='Win32 ld.exe'
13537 # FIXME: first we should search . and the directory the executable is in
13541 darwin* | rhapsody*)
13542 dynamic_linker="$host_os dyld"
13543 version_type=darwin
13546 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13547 soname_spec='${libname}${release}${major}$shared_ext'
13548 shlibpath_overrides_runpath=yes
13549 shlibpath_var=DYLD_LIBRARY_PATH
13550 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13552 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13553 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13557 version_type=linux # correct to gnu/linux during the next big refactor
13560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13561 soname_spec='${libname}${release}${shared_ext}$major'
13562 shlibpath_var=LD_LIBRARY_PATH
13565 freebsd* | dragonfly*)
13566 # DragonFly does not have aout. When/if they implement a new
13567 # versioning mechanism, adjust this.
13568 if test -x /usr/bin/objformat; then
13569 objformat=`/usr/bin/objformat`
13572 freebsd[23].*) objformat=aout ;;
13573 *) objformat=elf ;;
13576 version_type=freebsd-$objformat
13577 case $version_type in
13579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13584 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13588 shlibpath_var=LD_LIBRARY_PATH
13591 shlibpath_overrides_runpath=yes
13593 freebsd3.[01]* | freebsdelf3.[01]*)
13594 shlibpath_overrides_runpath=yes
13595 hardcode_into_libs=yes
13597 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13598 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13599 shlibpath_overrides_runpath=no
13600 hardcode_into_libs=yes
13602 *) # from 4.6 on, and DragonFly
13603 shlibpath_overrides_runpath=yes
13604 hardcode_into_libs=yes
13610 version_type=linux # correct to gnu/linux during the next big refactor
13613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13614 soname_spec='${libname}${release}${shared_ext}$major'
13615 shlibpath_var=LD_LIBRARY_PATH
13616 shlibpath_overrides_runpath=no
13617 hardcode_into_libs=yes
13621 version_type=linux # correct to gnu/linux during the next big refactor
13624 dynamic_linker="$host_os runtime_loader"
13625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13626 soname_spec='${libname}${release}${shared_ext}$major'
13627 shlibpath_var=LIBRARY_PATH
13628 shlibpath_overrides_runpath=yes
13629 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13630 hardcode_into_libs=yes
13633 hpux9* | hpux10* | hpux11*)
13634 # Give a soname corresponding to the major version so that dld.sl refuses to
13635 # link against other versions.
13642 hardcode_into_libs=yes
13643 dynamic_linker="$host_os dld.so"
13644 shlibpath_var=LD_LIBRARY_PATH
13645 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13647 soname_spec='${libname}${release}${shared_ext}$major'
13648 if test "X$HPUX_IA64_MODE" = X32; then
13649 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13651 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13653 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13657 hardcode_into_libs=yes
13658 dynamic_linker="$host_os dld.sl"
13659 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13660 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13662 soname_spec='${libname}${release}${shared_ext}$major'
13663 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13664 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13668 dynamic_linker="$host_os dld.sl"
13669 shlibpath_var=SHLIB_PATH
13670 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13672 soname_spec='${libname}${release}${shared_ext}$major'
13675 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13676 postinstall_cmds='chmod 555 $lib'
13677 # or fails outright, so override atomically:
13678 install_override_mode=555
13682 version_type=linux # correct to gnu/linux during the next big refactor
13685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13686 soname_spec='${libname}${release}${shared_ext}$major'
13687 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13688 shlibpath_var=LD_LIBRARY_PATH
13689 shlibpath_overrides_runpath=no
13690 hardcode_into_libs=yes
13693 irix5* | irix6* | nonstopux*)
13695 nonstopux*) version_type=nonstopux ;;
13697 if test "$lt_cv_prog_gnu_ld" = yes; then
13698 version_type=linux # correct to gnu/linux during the next big refactor
13705 soname_spec='${libname}${release}${shared_ext}$major'
13706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13708 irix5* | nonstopux*)
13709 libsuff= shlibsuff=
13712 case $LD in # libtool.m4 will add one of these switches to LD
13713 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13714 libsuff= shlibsuff= libmagic=32-bit;;
13715 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13716 libsuff=32 shlibsuff=N32 libmagic=N32;;
13717 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13718 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13719 *) libsuff= shlibsuff= libmagic=never-match;;
13723 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13724 shlibpath_overrides_runpath=no
13725 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13726 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13727 hardcode_into_libs=yes
13730 # No shared lib support for Linux oldld, aout, or coff.
13731 linux*oldld* | linux*aout* | linux*coff*)
13735 # This must be glibc/ELF.
13736 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13737 version_type=linux # correct to gnu/linux during the next big refactor
13740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13741 soname_spec='${libname}${release}${shared_ext}$major'
13742 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13743 shlibpath_var=LD_LIBRARY_PATH
13744 shlibpath_overrides_runpath=no
13746 # Some binutils ld are patched to set DT_RUNPATH
13747 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13748 $as_echo_n "(cached) " >&6
13750 lt_cv_shlibpath_overrides_runpath=no
13751 save_LDFLAGS=$LDFLAGS
13752 save_libdir=$libdir
13753 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13754 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13766 if ac_fn_c_try_link "$LINENO"; then :
13767 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13768 lt_cv_shlibpath_overrides_runpath=yes
13771 rm -f core conftest.err conftest.$ac_objext \
13772 conftest$ac_exeext conftest.$ac_ext
13773 LDFLAGS=$save_LDFLAGS
13774 libdir=$save_libdir
13778 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13780 # This implies no fast_install, which is unacceptable.
13781 # Some rework will be needed to allow for fast_install
13782 # before this can be enabled.
13783 hardcode_into_libs=yes
13785 # Add ABI-specific directories to the system library path.
13786 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
13788 # Append ld.so.conf contents to the search path
13789 if test -f /etc/ld.so.conf; then
13790 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' ' '`
13791 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13795 # We used to test for /lib/ld.so.1 and disable shared libraries on
13796 # powerpc, because MkLinux only supported shared libraries with the
13797 # GNU dynamic linker. Since this was broken with cross compilers,
13798 # most powerpc-linux boxes support dynamic linking these days and
13799 # people can always --disable-shared, the test was removed, and we
13800 # assume the GNU/Linux dynamic linker is in use.
13801 dynamic_linker='GNU/Linux ld.so'
13808 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13810 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13811 dynamic_linker='NetBSD (a.out) ld.so'
13813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13814 soname_spec='${libname}${release}${shared_ext}$major'
13815 dynamic_linker='NetBSD ld.elf_so'
13817 shlibpath_var=LD_LIBRARY_PATH
13818 shlibpath_overrides_runpath=yes
13819 hardcode_into_libs=yes
13823 version_type=linux # correct to gnu/linux during the next big refactor
13824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13825 shlibpath_var=LD_LIBRARY_PATH
13826 shlibpath_overrides_runpath=yes
13833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13834 soname_spec='${libname}${release}${shared_ext}$major'
13835 shlibpath_var=LD_LIBRARY_PATH
13836 shlibpath_overrides_runpath=no
13837 hardcode_into_libs=yes
13838 dynamic_linker='ldqnx.so'
13843 sys_lib_dlsearch_path_spec="/usr/lib"
13845 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13847 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13848 *) need_version=no ;;
13850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13851 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13852 shlibpath_var=LD_LIBRARY_PATH
13853 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13855 openbsd2.[89] | openbsd2.[89].*)
13856 shlibpath_overrides_runpath=no
13859 shlibpath_overrides_runpath=yes
13863 shlibpath_overrides_runpath=yes
13868 libname_spec='$name'
13871 library_names_spec='$libname${shared_ext} $libname.a'
13872 dynamic_linker='OS/2 ld.exe'
13873 shlibpath_var=LIBPATH
13876 osf3* | osf4* | osf5*)
13880 soname_spec='${libname}${release}${shared_ext}$major'
13881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13882 shlibpath_var=LD_LIBRARY_PATH
13883 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13884 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13892 version_type=linux # correct to gnu/linux during the next big refactor
13895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13896 soname_spec='${libname}${release}${shared_ext}$major'
13897 shlibpath_var=LD_LIBRARY_PATH
13898 shlibpath_overrides_runpath=yes
13899 hardcode_into_libs=yes
13900 # ldd complains unless libraries are executable
13901 postinstall_cmds='chmod +x $lib'
13906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13907 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13908 shlibpath_var=LD_LIBRARY_PATH
13909 shlibpath_overrides_runpath=yes
13910 if test "$with_gnu_ld" = yes; then
13917 version_type=linux # correct to gnu/linux during the next big refactor
13918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13919 soname_spec='${libname}${release}${shared_ext}$major'
13920 shlibpath_var=LD_LIBRARY_PATH
13921 case $host_vendor in
13923 shlibpath_overrides_runpath=no
13925 runpath_var=LD_RUN_PATH
13933 shlibpath_overrides_runpath=no
13934 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13940 if test -d /usr/nec ;then
13941 version_type=linux # correct to gnu/linux during the next big refactor
13942 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13943 soname_spec='$libname${shared_ext}.$major'
13944 shlibpath_var=LD_LIBRARY_PATH
13948 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13949 version_type=freebsd-elf
13952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13953 soname_spec='${libname}${release}${shared_ext}$major'
13954 shlibpath_var=LD_LIBRARY_PATH
13955 shlibpath_overrides_runpath=yes
13956 hardcode_into_libs=yes
13957 if test "$with_gnu_ld" = yes; then
13958 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13960 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13963 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13967 sys_lib_dlsearch_path_spec='/usr/lib'
13971 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13972 version_type=linux # correct to gnu/linux during the next big refactor
13975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13976 shlibpath_var=LD_LIBRARY_PATH
13977 shlibpath_overrides_runpath=no
13978 hardcode_into_libs=yes
13982 version_type=linux # correct to gnu/linux during the next big refactor
13983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13984 soname_spec='${libname}${release}${shared_ext}$major'
13985 shlibpath_var=LD_LIBRARY_PATH
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13993 $as_echo "$dynamic_linker" >&6; }
13994 test "$dynamic_linker" = no && can_build_shared=no
13996 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13997 if test "$GCC" = yes; then
13998 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14001 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14002 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14004 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14005 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14100 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14102 if test -n "$hardcode_libdir_flag_spec" ||
14103 test -n "$runpath_var" ||
14104 test "X$hardcode_automatic" = "Xyes" ; then
14106 # We can hardcode non-existent directories.
14107 if test "$hardcode_direct" != no &&
14108 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14109 # have to relink, otherwise we might link with an installed library
14110 # when we should be linking with a yet-to-be-installed one
14111 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14112 test "$hardcode_minus_L" != no; then
14113 # Linking always hardcodes the temporary library directory.
14114 hardcode_action=relink
14116 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14117 hardcode_action=immediate
14120 # We cannot hardcode anything, or else we can only hardcode existing
14122 hardcode_action=unsupported
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14125 $as_echo "$hardcode_action" >&6; }
14127 if test "$hardcode_action" = relink ||
14128 test "$inherit_rpath" = yes; then
14129 # Fast installation is not supported
14130 enable_fast_install=no
14131 elif test "$shlibpath_overrides_runpath" = yes ||
14132 test "$enable_shared" = no; then
14133 # Fast installation is not necessary
14134 enable_fast_install=needless
14142 if test "x$enable_dlopen" != xyes; then
14143 enable_dlopen=unknown
14144 enable_dlopen_self=unknown
14145 enable_dlopen_self_static=unknown
14152 lt_cv_dlopen="load_add_on"
14154 lt_cv_dlopen_self=yes
14157 mingw* | pw32* | cegcc*)
14158 lt_cv_dlopen="LoadLibrary"
14163 lt_cv_dlopen="dlopen"
14168 # if libdl is installed we need to link against it
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14170 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14171 if ${ac_cv_lib_dl_dlopen+:} false; then :
14172 $as_echo_n "(cached) " >&6
14174 ac_check_lib_save_LIBS=$LIBS
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14179 /* Override any GCC internal prototype to avoid an error.
14180 Use char because int might match the return type of a GCC
14181 builtin and then its argument prototype would still apply. */
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 ac_cv_lib_dl_dlopen=yes
14197 ac_cv_lib_dl_dlopen=no
14199 rm -f core conftest.err conftest.$ac_objext \
14200 conftest$ac_exeext conftest.$ac_ext
14201 LIBS=$ac_check_lib_save_LIBS
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14204 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14205 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14206 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14209 lt_cv_dlopen="dyld"
14211 lt_cv_dlopen_self=yes
14218 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14219 if test "x$ac_cv_func_shl_load" = xyes; then :
14220 lt_cv_dlopen="shl_load"
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14223 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14224 if ${ac_cv_lib_dld_shl_load+:} false; then :
14225 $as_echo_n "(cached) " >&6
14227 ac_check_lib_save_LIBS=$LIBS
14229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14232 /* Override any GCC internal prototype to avoid an error.
14233 Use char because int might match the return type of a GCC
14234 builtin and then its argument prototype would still apply. */
14242 return shl_load ();
14247 if ac_fn_c_try_link "$LINENO"; then :
14248 ac_cv_lib_dld_shl_load=yes
14250 ac_cv_lib_dld_shl_load=no
14252 rm -f core conftest.err conftest.$ac_objext \
14253 conftest$ac_exeext conftest.$ac_ext
14254 LIBS=$ac_check_lib_save_LIBS
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14257 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14258 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14259 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
14261 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14262 if test "x$ac_cv_func_dlopen" = xyes; then :
14263 lt_cv_dlopen="dlopen"
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14266 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14267 if ${ac_cv_lib_dl_dlopen+:} false; then :
14268 $as_echo_n "(cached) " >&6
14270 ac_check_lib_save_LIBS=$LIBS
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14275 /* Override any GCC internal prototype to avoid an error.
14276 Use char because int might match the return type of a GCC
14277 builtin and then its argument prototype would still apply. */
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_lib_dl_dlopen=yes
14293 ac_cv_lib_dl_dlopen=no
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 LIBS=$ac_check_lib_save_LIBS
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14300 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14301 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14302 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14305 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14306 if ${ac_cv_lib_svld_dlopen+:} false; then :
14307 $as_echo_n "(cached) " >&6
14309 ac_check_lib_save_LIBS=$LIBS
14310 LIBS="-lsvld $LIBS"
14311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14314 /* Override any GCC internal prototype to avoid an error.
14315 Use char because int might match the return type of a GCC
14316 builtin and then its argument prototype would still apply. */
14329 if ac_fn_c_try_link "$LINENO"; then :
14330 ac_cv_lib_svld_dlopen=yes
14332 ac_cv_lib_svld_dlopen=no
14334 rm -f core conftest.err conftest.$ac_objext \
14335 conftest$ac_exeext conftest.$ac_ext
14336 LIBS=$ac_check_lib_save_LIBS
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14339 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14340 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14341 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14344 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14345 if ${ac_cv_lib_dld_dld_link+:} false; then :
14346 $as_echo_n "(cached) " >&6
14348 ac_check_lib_save_LIBS=$LIBS
14350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14351 /* end confdefs.h. */
14353 /* Override any GCC internal prototype to avoid an error.
14354 Use char because int might match the return type of a GCC
14355 builtin and then its argument prototype would still apply. */
14363 return dld_link ();
14368 if ac_fn_c_try_link "$LINENO"; then :
14369 ac_cv_lib_dld_dld_link=yes
14371 ac_cv_lib_dld_dld_link=no
14373 rm -f core conftest.err conftest.$ac_objext \
14374 conftest$ac_exeext conftest.$ac_ext
14375 LIBS=$ac_check_lib_save_LIBS
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14378 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14379 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14380 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14401 if test "x$lt_cv_dlopen" != xno; then
14407 case $lt_cv_dlopen in
14409 save_CPPFLAGS="$CPPFLAGS"
14410 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14412 save_LDFLAGS="$LDFLAGS"
14413 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14416 LIBS="$lt_cv_dlopen_libs $LIBS"
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14419 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14420 if ${lt_cv_dlopen_self+:} false; then :
14421 $as_echo_n "(cached) " >&6
14423 if test "$cross_compiling" = yes; then :
14424 lt_cv_dlopen_self=cross
14426 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14427 lt_status=$lt_dlunknown
14428 cat > conftest.$ac_ext <<_LT_EOF
14429 #line $LINENO "configure"
14430 #include "confdefs.h"
14439 # define LT_DLGLOBAL RTLD_GLOBAL
14442 # define LT_DLGLOBAL DL_GLOBAL
14444 # define LT_DLGLOBAL 0
14448 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14449 find out it does not work in some platform. */
14450 #ifndef LT_DLLAZY_OR_NOW
14452 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14455 # define LT_DLLAZY_OR_NOW DL_LAZY
14458 # define LT_DLLAZY_OR_NOW RTLD_NOW
14461 # define LT_DLLAZY_OR_NOW DL_NOW
14463 # define LT_DLLAZY_OR_NOW 0
14470 /* When -fvisbility=hidden is used, assume the code has been annotated
14471 correspondingly for the symbols needed. */
14472 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14473 int fnord () __attribute__((visibility("default")));
14476 int fnord () { return 42; }
14479 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14480 int status = $lt_dlunknown;
14484 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14487 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14488 else puts (dlerror ());
14490 /* dlclose (self); */
14498 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14499 (eval $ac_link) 2>&5
14501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14502 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14503 (./conftest; exit; ) >&5 2>/dev/null
14505 case x$lt_status in
14506 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14507 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14508 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14511 # compilation failed
14512 lt_cv_dlopen_self=no
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14520 $as_echo "$lt_cv_dlopen_self" >&6; }
14522 if test "x$lt_cv_dlopen_self" = xyes; then
14523 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14525 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14526 if ${lt_cv_dlopen_self_static+:} false; then :
14527 $as_echo_n "(cached) " >&6
14529 if test "$cross_compiling" = yes; then :
14530 lt_cv_dlopen_self_static=cross
14532 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14533 lt_status=$lt_dlunknown
14534 cat > conftest.$ac_ext <<_LT_EOF
14535 #line $LINENO "configure"
14536 #include "confdefs.h"
14545 # define LT_DLGLOBAL RTLD_GLOBAL
14548 # define LT_DLGLOBAL DL_GLOBAL
14550 # define LT_DLGLOBAL 0
14554 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14555 find out it does not work in some platform. */
14556 #ifndef LT_DLLAZY_OR_NOW
14558 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14561 # define LT_DLLAZY_OR_NOW DL_LAZY
14564 # define LT_DLLAZY_OR_NOW RTLD_NOW
14567 # define LT_DLLAZY_OR_NOW DL_NOW
14569 # define LT_DLLAZY_OR_NOW 0
14576 /* When -fvisbility=hidden is used, assume the code has been annotated
14577 correspondingly for the symbols needed. */
14578 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14579 int fnord () __attribute__((visibility("default")));
14582 int fnord () { return 42; }
14585 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14586 int status = $lt_dlunknown;
14590 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14593 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14594 else puts (dlerror ());
14596 /* dlclose (self); */
14604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14605 (eval $ac_link) 2>&5
14607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14608 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14609 (./conftest; exit; ) >&5 2>/dev/null
14611 case x$lt_status in
14612 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14613 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14614 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14617 # compilation failed
14618 lt_cv_dlopen_self_static=no
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14626 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14629 CPPFLAGS="$save_CPPFLAGS"
14630 LDFLAGS="$save_LDFLAGS"
14635 case $lt_cv_dlopen_self in
14636 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14637 *) enable_dlopen_self=unknown ;;
14640 case $lt_cv_dlopen_self_static in
14641 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14642 *) enable_dlopen_self_static=unknown ;;
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14665 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14666 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14667 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14668 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14670 $as_echo "yes" >&6; }
14672 # FIXME - insert some real tests, host_os isn't really good enough
14675 if test -n "$STRIP" ; then
14676 striplib="$STRIP -x"
14677 old_striplib="$STRIP -S"
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14679 $as_echo "yes" >&6; }
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14682 $as_echo "no" >&6; }
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14687 $as_echo "no" >&6; }
14703 # Report which library types will actually be built
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14705 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14707 $as_echo "$can_build_shared" >&6; }
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14710 $as_echo_n "checking whether to build shared libraries... " >&6; }
14711 test "$can_build_shared" = "no" && enable_shared=no
14713 # On AIX, shared libraries and static libraries use the same namespace, and
14714 # are all built from PIC.
14717 test "$enable_shared" = yes && enable_static=no
14718 if test -n "$RANLIB"; then
14719 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14720 postinstall_cmds='$RANLIB $lib'
14725 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14726 test "$enable_shared" = yes && enable_static=no
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14731 $as_echo "$enable_shared" >&6; }
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14734 $as_echo_n "checking whether to build static libraries... " >&6; }
14735 # Make sure either enable_shared or enable_static is yes.
14736 test "$enable_shared" = yes || enable_static=yes
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14738 $as_echo "$enable_static" >&6; }
14745 ac_cpp='$CPP $CPPFLAGS'
14746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14766 ac_config_commands="$ac_config_commands libtool"
14771 # Only expand once:
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14776 $as_echo_n "checking whether NLS is requested... " >&6; }
14777 # Check whether --enable-nls was given.
14778 if test "${enable_nls+set}" = set; then :
14779 enableval=$enable_nls; USE_NLS=$enableval
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14785 $as_echo "$USE_NLS" >&6; }
14790 case "$am__api_version" in
14792 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
14798 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
14799 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
14800 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
14801 if test -n "0.35.0"; then
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
14803 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
14805 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
14806 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
14807 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
14810 # Extract the first word of "intltool-update", so it can be a program name with args.
14811 set dummy intltool-update; ac_word=$2
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14813 $as_echo_n "checking for $ac_word... " >&6; }
14814 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
14815 $as_echo_n "(cached) " >&6
14817 case $INTLTOOL_UPDATE in
14819 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
14822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14823 for as_dir in $PATH
14826 test -z "$as_dir" && as_dir=.
14827 for ac_exec_ext in '' $ac_executable_extensions; do
14828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14829 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
14830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14840 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
14841 if test -n "$INTLTOOL_UPDATE"; then
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
14843 $as_echo "$INTLTOOL_UPDATE" >&6; }
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14846 $as_echo "no" >&6; }
14850 # Extract the first word of "intltool-merge", so it can be a program name with args.
14851 set dummy intltool-merge; ac_word=$2
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14853 $as_echo_n "checking for $ac_word... " >&6; }
14854 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
14855 $as_echo_n "(cached) " >&6
14857 case $INTLTOOL_MERGE in
14859 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
14862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14863 for as_dir in $PATH
14866 test -z "$as_dir" && as_dir=.
14867 for ac_exec_ext in '' $ac_executable_extensions; do
14868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14869 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
14870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14880 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
14881 if test -n "$INTLTOOL_MERGE"; then
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
14883 $as_echo "$INTLTOOL_MERGE" >&6; }
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14886 $as_echo "no" >&6; }
14890 # Extract the first word of "intltool-extract", so it can be a program name with args.
14891 set dummy intltool-extract; ac_word=$2
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14893 $as_echo_n "checking for $ac_word... " >&6; }
14894 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
14895 $as_echo_n "(cached) " >&6
14897 case $INTLTOOL_EXTRACT in
14899 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
14902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14903 for as_dir in $PATH
14906 test -z "$as_dir" && as_dir=.
14907 for ac_exec_ext in '' $ac_executable_extensions; do
14908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14909 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
14910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14920 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
14921 if test -n "$INTLTOOL_EXTRACT"; then
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
14923 $as_echo "$INTLTOOL_EXTRACT" >&6; }
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14926 $as_echo "no" >&6; }
14930 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
14931 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
14934 if test -z "$AM_DEFAULT_VERBOSITY"; then
14935 AM_DEFAULT_VERBOSITY=1
14939 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
14940 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
14941 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
14946 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
14947 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
14948 intltool__v_merge_options_0='-q'
14953 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14954 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14955 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14956 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14957 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
14958 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14959 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14960 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14961 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14962 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14963 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14964 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
14965 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
14967 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
14969 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14970 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14971 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14972 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14973 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14974 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14975 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15073 # Check the gettext tools to make sure they are GNU
15074 # Extract the first word of "xgettext", so it can be a program name with args.
15075 set dummy xgettext; ac_word=$2
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15077 $as_echo_n "checking for $ac_word... " >&6; }
15078 if ${ac_cv_path_XGETTEXT+:} false; then :
15079 $as_echo_n "(cached) " >&6
15083 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15087 for as_dir in $PATH
15090 test -z "$as_dir" && as_dir=.
15091 for ac_exec_ext in '' $ac_executable_extensions; do
15092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15093 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
15094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15104 XGETTEXT=$ac_cv_path_XGETTEXT
15105 if test -n "$XGETTEXT"; then
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15107 $as_echo "$XGETTEXT" >&6; }
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15110 $as_echo "no" >&6; }
15114 # Extract the first word of "msgmerge", so it can be a program name with args.
15115 set dummy msgmerge; ac_word=$2
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15117 $as_echo_n "checking for $ac_word... " >&6; }
15118 if ${ac_cv_path_MSGMERGE+:} false; then :
15119 $as_echo_n "(cached) " >&6
15123 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
15126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15127 for as_dir in $PATH
15130 test -z "$as_dir" && as_dir=.
15131 for ac_exec_ext in '' $ac_executable_extensions; do
15132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15133 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
15134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15144 MSGMERGE=$ac_cv_path_MSGMERGE
15145 if test -n "$MSGMERGE"; then
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15147 $as_echo "$MSGMERGE" >&6; }
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15150 $as_echo "no" >&6; }
15154 # Extract the first word of "msgfmt", so it can be a program name with args.
15155 set dummy msgfmt; ac_word=$2
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15157 $as_echo_n "checking for $ac_word... " >&6; }
15158 if ${ac_cv_path_MSGFMT+:} false; then :
15159 $as_echo_n "(cached) " >&6
15163 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15167 for as_dir in $PATH
15170 test -z "$as_dir" && as_dir=.
15171 for ac_exec_ext in '' $ac_executable_extensions; do
15172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15173 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
15174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15184 MSGFMT=$ac_cv_path_MSGFMT
15185 if test -n "$MSGFMT"; then
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15187 $as_echo "$MSGFMT" >&6; }
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15190 $as_echo "no" >&6; }
15194 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15195 set dummy gmsgfmt; ac_word=$2
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15197 $as_echo_n "checking for $ac_word... " >&6; }
15198 if ${ac_cv_path_GMSGFMT+:} false; then :
15199 $as_echo_n "(cached) " >&6
15203 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15207 for as_dir in $PATH
15210 test -z "$as_dir" && as_dir=.
15211 for ac_exec_ext in '' $ac_executable_extensions; do
15212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15213 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15221 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15225 GMSGFMT=$ac_cv_path_GMSGFMT
15226 if test -n "$GMSGFMT"; then
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15228 $as_echo "$GMSGFMT" >&6; }
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15231 $as_echo "no" >&6; }
15235 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
15236 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
15238 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
15239 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
15240 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
15241 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
15242 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
15245 # Extract the first word of "perl", so it can be a program name with args.
15246 set dummy perl; ac_word=$2
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15248 $as_echo_n "checking for $ac_word... " >&6; }
15249 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
15250 $as_echo_n "(cached) " >&6
15252 case $INTLTOOL_PERL in
15254 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
15257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15258 for as_dir in $PATH
15261 test -z "$as_dir" && as_dir=.
15262 for ac_exec_ext in '' $ac_executable_extensions; do
15263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15264 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
15265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15275 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
15276 if test -n "$INTLTOOL_PERL"; then
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
15278 $as_echo "$INTLTOOL_PERL" >&6; }
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15281 $as_echo "no" >&6; }
15285 if test -z "$INTLTOOL_PERL"; then
15286 as_fn_error $? "perl not found" "$LINENO" 5
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
15289 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
15290 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
15291 if test $? -ne 0; then
15292 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
15294 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
15296 $as_echo "$IT_PERL_VERSION" >&6; }
15298 if test "x" != "xno-xml"; then
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
15300 $as_echo_n "checking for XML::Parser... " >&6; }
15301 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
15303 $as_echo "ok" >&6; }
15305 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
15309 # Substitute ALL_LINGUAS so we can use it in po/Makefile
15312 # Set DATADIRNAME correctly if it is not set yet
15313 # (copied from glib-gettext.m4)
15314 if test -z "$DATADIRNAME"; then
15315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15316 /* end confdefs.h. */
15321 extern int _nl_msg_cat_cntr;
15322 return _nl_msg_cat_cntr
15327 if ac_fn_c_try_link "$LINENO"; then :
15332 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15333 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15345 rm -f core conftest.err conftest.$ac_objext \
15346 conftest$ac_exeext conftest.$ac_ext
15355 for ac_func in daemon
15357 ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
15358 if test "x$ac_cv_func_daemon" = xyes; then :
15359 cat >>confdefs.h <<_ACEOF
15360 #define HAVE_DAEMON 1
15369 # Check whether --enable-glibtest was given.
15370 if test "${enable_glibtest+set}" = set; then :
15371 enableval=$enable_glibtest;
15373 enable_glibtest=yes
15377 pkg_config_args=glib-2.0
15382 pkg_config_args="$pkg_config_args gmodule-2.0"
15385 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
15388 pkg_config_args="$pkg_config_args gobject-2.0"
15391 pkg_config_args="$pkg_config_args gthread-2.0"
15394 pkg_config_args="$pkg_config_args $module-2.0"
15406 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15407 if test -n "$ac_tool_prefix"; then
15408 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15409 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15411 $as_echo_n "checking for $ac_word... " >&6; }
15412 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15413 $as_echo_n "(cached) " >&6
15415 case $PKG_CONFIG in
15417 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15421 for as_dir in $PATH
15424 test -z "$as_dir" && as_dir=.
15425 for ac_exec_ext in '' $ac_executable_extensions; do
15426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15427 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15438 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15439 if test -n "$PKG_CONFIG"; then
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15441 $as_echo "$PKG_CONFIG" >&6; }
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15444 $as_echo "no" >&6; }
15449 if test -z "$ac_cv_path_PKG_CONFIG"; then
15450 ac_pt_PKG_CONFIG=$PKG_CONFIG
15451 # Extract the first word of "pkg-config", so it can be a program name with args.
15452 set dummy pkg-config; ac_word=$2
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15454 $as_echo_n "checking for $ac_word... " >&6; }
15455 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15456 $as_echo_n "(cached) " >&6
15458 case $ac_pt_PKG_CONFIG in
15460 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15464 for as_dir in $PATH
15467 test -z "$as_dir" && as_dir=.
15468 for ac_exec_ext in '' $ac_executable_extensions; do
15469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15470 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15481 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15482 if test -n "$ac_pt_PKG_CONFIG"; then
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15484 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15487 $as_echo "no" >&6; }
15490 if test "x$ac_pt_PKG_CONFIG" = x; then
15493 case $cross_compiling:$ac_tool_warned in
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15497 ac_tool_warned=yes ;;
15499 PKG_CONFIG=$ac_pt_PKG_CONFIG
15502 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15506 if test -n "$PKG_CONFIG"; then
15507 _pkg_min_version=0.16
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15509 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15510 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15512 $as_echo "yes" >&6; }
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15515 $as_echo "no" >&6; }
15522 if test "x$PKG_CONFIG" = x ; then
15527 min_glib_version=2.0.0
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
15529 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
15531 if test x$PKG_CONFIG != xno ; then
15532 ## don't try to run the test against uninstalled libtool libs
15533 if $PKG_CONFIG --uninstalled $pkg_config_args; then
15534 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
15538 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
15545 if test x"$no_glib" = x ; then
15546 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
15547 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
15548 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
15549 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
15551 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
15552 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
15553 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
15554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15555 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
15556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15557 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
15558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15559 if test "x$enable_glibtest" = "xyes" ; then
15560 ac_save_CFLAGS="$CFLAGS"
15561 ac_save_LIBS="$LIBS"
15562 CFLAGS="$CFLAGS $GLIB_CFLAGS"
15563 LIBS="$GLIB_LIBS $LIBS"
15564 rm -f conf.glibtest
15565 if test "$cross_compiling" = yes; then :
15566 echo $ac_n "cross compiling; assumed OK... $ac_c"
15568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15573 #include <stdlib.h>
15578 unsigned int major, minor, micro;
15581 fclose (fopen ("conf.glibtest", "w"));
15583 /* HP/UX 9 (%@#!) writes to sscanf strings */
15584 tmp_version = g_strdup("$min_glib_version");
15585 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
15586 printf("%s, bad version string\n", "$min_glib_version");
15590 if ((glib_major_version != $glib_config_major_version) ||
15591 (glib_minor_version != $glib_config_minor_version) ||
15592 (glib_micro_version != $glib_config_micro_version))
15594 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
15595 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
15596 glib_major_version, glib_minor_version, glib_micro_version);
15597 printf ("*** was found! If pkg-config was correct, then it is best\n");
15598 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
15599 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
15600 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
15601 printf("*** required on your system.\n");
15602 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
15603 printf("*** to point to the correct configuration files\n");
15605 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
15606 (glib_minor_version != GLIB_MINOR_VERSION) ||
15607 (glib_micro_version != GLIB_MICRO_VERSION))
15609 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
15610 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
15611 printf("*** library (version %d.%d.%d)\n",
15612 glib_major_version, glib_minor_version, glib_micro_version);
15616 if ((glib_major_version > major) ||
15617 ((glib_major_version == major) && (glib_minor_version > minor)) ||
15618 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
15624 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
15625 glib_major_version, glib_minor_version, glib_micro_version);
15626 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
15627 major, minor, micro);
15628 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
15630 printf("*** If you have already installed a sufficiently new version, this error\n");
15631 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
15632 printf("*** being found. The easiest way to fix this is to remove the old version\n");
15633 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
15634 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
15635 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15636 printf("*** so that the correct libraries are found at run-time))\n");
15643 if ac_fn_c_try_run "$LINENO"; then :
15648 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15649 conftest.$ac_objext conftest.beam conftest.$ac_ext
15652 CFLAGS="$ac_save_CFLAGS"
15653 LIBS="$ac_save_LIBS"
15656 if test "x$no_glib" = x ; then
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
15658 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15662 $as_echo "no" >&6; }
15663 if test "$PKG_CONFIG" = "no" ; then
15664 echo "*** A new enough version of pkg-config was not found."
15665 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
15667 if test -f conf.glibtest ; then
15670 echo "*** Could not run GLIB test program, checking why..."
15671 ac_save_CFLAGS="$CFLAGS"
15672 ac_save_LIBS="$LIBS"
15673 CFLAGS="$CFLAGS $GLIB_CFLAGS"
15674 LIBS="$LIBS $GLIB_LIBS"
15675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15676 /* end confdefs.h. */
15684 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
15689 if ac_fn_c_try_link "$LINENO"; then :
15690 echo "*** The test program compiled, but did not run. This usually means"
15691 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
15692 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
15693 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15694 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15695 echo "*** is required on your system"
15697 echo "*** If you have an old version installed, it is best to remove it, although"
15698 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15700 echo "*** The test program failed to compile or link. See the file config.log for the"
15701 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
15703 rm -f core conftest.err conftest.$ac_objext \
15704 conftest$ac_exeext conftest.$ac_ext
15705 CFLAGS="$ac_save_CFLAGS"
15706 LIBS="$ac_save_LIBS"
15714 GLIB_COMPILE_RESOURCES=""
15723 rm -f conf.glibtest
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5
15728 $as_echo_n "checking for GLIB2... " >&6; }
15730 if test -n "$GLIB2_CFLAGS"; then
15731 pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
15732 elif test -n "$PKG_CONFIG"; then
15733 if test -n "$PKG_CONFIG" && \
15734 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15737 ($PKG_CONFIG --exists --print-errors "
15741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15742 test $ac_status = 0; }; then
15743 pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "
15746 test "x$?" != "x0" && pkg_failed=yes
15753 if test -n "$GLIB2_LIBS"; then
15754 pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
15755 elif test -n "$PKG_CONFIG"; then
15756 if test -n "$PKG_CONFIG" && \
15757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15760 ($PKG_CONFIG --exists --print-errors "
15764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15765 test $ac_status = 0; }; then
15766 pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "
15769 test "x$?" != "x0" && pkg_failed=yes
15779 if test $pkg_failed = yes; then
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15781 $as_echo "no" >&6; }
15783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15784 _pkg_short_errors_supported=yes
15786 _pkg_short_errors_supported=no
15788 if test $_pkg_short_errors_supported = yes; then
15789 GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15793 GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15797 # Put the nasty error message in config.log where it belongs
15798 echo "$GLIB2_PKG_ERRORS" >&5
15800 as_fn_error $? "Package requirements (
15806 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15807 installed software in a non-standard prefix.
15809 Alternatively, you may set the environment variables GLIB2_CFLAGS
15810 and GLIB2_LIBS to avoid the need to call pkg-config.
15811 See the pkg-config man page for more details." "$LINENO" 5
15812 elif test $pkg_failed = untried; then
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15814 $as_echo "no" >&6; }
15815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15817 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15818 is in your PATH or set the PKG_CONFIG environment variable to the full
15819 path to pkg-config.
15821 Alternatively, you may set the environment variables GLIB2_CFLAGS
15822 and GLIB2_LIBS to avoid the need to call pkg-config.
15823 See the pkg-config man page for more details.
15825 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15826 See \`config.log' for more details" "$LINENO" 5; }
15828 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
15829 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15831 $as_echo "yes" >&6; }
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT2" >&5
15837 $as_echo_n "checking for GOBJECT2... " >&6; }
15839 if test -n "$GOBJECT2_CFLAGS"; then
15840 pkg_cv_GOBJECT2_CFLAGS="$GOBJECT2_CFLAGS"
15841 elif test -n "$PKG_CONFIG"; then
15842 if test -n "$PKG_CONFIG" && \
15843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15844 gobject-2.0 >= 2.32.0
15846 ($PKG_CONFIG --exists --print-errors "
15847 gobject-2.0 >= 2.32.0
15850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15851 test $ac_status = 0; }; then
15852 pkg_cv_GOBJECT2_CFLAGS=`$PKG_CONFIG --cflags "
15853 gobject-2.0 >= 2.32.0
15855 test "x$?" != "x0" && pkg_failed=yes
15862 if test -n "$GOBJECT2_LIBS"; then
15863 pkg_cv_GOBJECT2_LIBS="$GOBJECT2_LIBS"
15864 elif test -n "$PKG_CONFIG"; then
15865 if test -n "$PKG_CONFIG" && \
15866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15867 gobject-2.0 >= 2.32.0
15869 ($PKG_CONFIG --exists --print-errors "
15870 gobject-2.0 >= 2.32.0
15873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15874 test $ac_status = 0; }; then
15875 pkg_cv_GOBJECT2_LIBS=`$PKG_CONFIG --libs "
15876 gobject-2.0 >= 2.32.0
15878 test "x$?" != "x0" && pkg_failed=yes
15888 if test $pkg_failed = yes; then
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15890 $as_echo "no" >&6; }
15892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15893 _pkg_short_errors_supported=yes
15895 _pkg_short_errors_supported=no
15897 if test $_pkg_short_errors_supported = yes; then
15898 GOBJECT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15899 gobject-2.0 >= 2.32.0
15902 GOBJECT2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15903 gobject-2.0 >= 2.32.0
15906 # Put the nasty error message in config.log where it belongs
15907 echo "$GOBJECT2_PKG_ERRORS" >&5
15909 as_fn_error $? "Package requirements (
15910 gobject-2.0 >= 2.32.0
15913 $GOBJECT2_PKG_ERRORS
15915 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15916 installed software in a non-standard prefix.
15918 Alternatively, you may set the environment variables GOBJECT2_CFLAGS
15919 and GOBJECT2_LIBS to avoid the need to call pkg-config.
15920 See the pkg-config man page for more details." "$LINENO" 5
15921 elif test $pkg_failed = untried; then
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15923 $as_echo "no" >&6; }
15924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15926 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15927 is in your PATH or set the PKG_CONFIG environment variable to the full
15928 path to pkg-config.
15930 Alternatively, you may set the environment variables GOBJECT2_CFLAGS
15931 and GOBJECT2_LIBS to avoid the need to call pkg-config.
15932 See the pkg-config man page for more details.
15934 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15935 See \`config.log' for more details" "$LINENO" 5; }
15937 GOBJECT2_CFLAGS=$pkg_cv_GOBJECT2_CFLAGS
15938 GOBJECT2_LIBS=$pkg_cv_GOBJECT2_LIBS
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15940 $as_echo "yes" >&6; }
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO2" >&5
15946 $as_echo_n "checking for GIO2... " >&6; }
15948 if test -n "$GIO2_CFLAGS"; then
15949 pkg_cv_GIO2_CFLAGS="$GIO2_CFLAGS"
15950 elif test -n "$PKG_CONFIG"; then
15951 if test -n "$PKG_CONFIG" && \
15952 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15955 ($PKG_CONFIG --exists --print-errors "
15959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15960 test $ac_status = 0; }; then
15961 pkg_cv_GIO2_CFLAGS=`$PKG_CONFIG --cflags "
15964 test "x$?" != "x0" && pkg_failed=yes
15971 if test -n "$GIO2_LIBS"; then
15972 pkg_cv_GIO2_LIBS="$GIO2_LIBS"
15973 elif test -n "$PKG_CONFIG"; then
15974 if test -n "$PKG_CONFIG" && \
15975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15978 ($PKG_CONFIG --exists --print-errors "
15982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15983 test $ac_status = 0; }; then
15984 pkg_cv_GIO2_LIBS=`$PKG_CONFIG --libs "
15987 test "x$?" != "x0" && pkg_failed=yes
15997 if test $pkg_failed = yes; then
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15999 $as_echo "no" >&6; }
16001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16002 _pkg_short_errors_supported=yes
16004 _pkg_short_errors_supported=no
16006 if test $_pkg_short_errors_supported = yes; then
16007 GIO2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16011 GIO2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16015 # Put the nasty error message in config.log where it belongs
16016 echo "$GIO2_PKG_ERRORS" >&5
16018 as_fn_error $? "Package requirements (
16024 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16025 installed software in a non-standard prefix.
16027 Alternatively, you may set the environment variables GIO2_CFLAGS
16028 and GIO2_LIBS to avoid the need to call pkg-config.
16029 See the pkg-config man page for more details." "$LINENO" 5
16030 elif test $pkg_failed = untried; then
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16032 $as_echo "no" >&6; }
16033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16035 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16036 is in your PATH or set the PKG_CONFIG environment variable to the full
16037 path to pkg-config.
16039 Alternatively, you may set the environment variables GIO2_CFLAGS
16040 and GIO2_LIBS to avoid the need to call pkg-config.
16041 See the pkg-config man page for more details.
16043 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16044 See \`config.log' for more details" "$LINENO" 5; }
16046 GIO2_CFLAGS=$pkg_cv_GIO2_CFLAGS
16047 GIO2_LIBS=$pkg_cv_GIO2_LIBS
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16049 $as_echo "yes" >&6; }
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD2" >&5
16055 $as_echo_n "checking for GTHREAD2... " >&6; }
16057 if test -n "$GTHREAD2_CFLAGS"; then
16058 pkg_cv_GTHREAD2_CFLAGS="$GTHREAD2_CFLAGS"
16059 elif test -n "$PKG_CONFIG"; then
16060 if test -n "$PKG_CONFIG" && \
16061 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16062 gthread-2.0 >= 2.32.0
16064 ($PKG_CONFIG --exists --print-errors "
16065 gthread-2.0 >= 2.32.0
16068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16069 test $ac_status = 0; }; then
16070 pkg_cv_GTHREAD2_CFLAGS=`$PKG_CONFIG --cflags "
16071 gthread-2.0 >= 2.32.0
16073 test "x$?" != "x0" && pkg_failed=yes
16080 if test -n "$GTHREAD2_LIBS"; then
16081 pkg_cv_GTHREAD2_LIBS="$GTHREAD2_LIBS"
16082 elif test -n "$PKG_CONFIG"; then
16083 if test -n "$PKG_CONFIG" && \
16084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16085 gthread-2.0 >= 2.32.0
16087 ($PKG_CONFIG --exists --print-errors "
16088 gthread-2.0 >= 2.32.0
16091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16092 test $ac_status = 0; }; then
16093 pkg_cv_GTHREAD2_LIBS=`$PKG_CONFIG --libs "
16094 gthread-2.0 >= 2.32.0
16096 test "x$?" != "x0" && pkg_failed=yes
16106 if test $pkg_failed = yes; then
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16108 $as_echo "no" >&6; }
16110 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16111 _pkg_short_errors_supported=yes
16113 _pkg_short_errors_supported=no
16115 if test $_pkg_short_errors_supported = yes; then
16116 GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16117 gthread-2.0 >= 2.32.0
16120 GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16121 gthread-2.0 >= 2.32.0
16124 # Put the nasty error message in config.log where it belongs
16125 echo "$GTHREAD2_PKG_ERRORS" >&5
16127 as_fn_error $? "Package requirements (
16128 gthread-2.0 >= 2.32.0
16131 $GTHREAD2_PKG_ERRORS
16133 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16134 installed software in a non-standard prefix.
16136 Alternatively, you may set the environment variables GTHREAD2_CFLAGS
16137 and GTHREAD2_LIBS to avoid the need to call pkg-config.
16138 See the pkg-config man page for more details." "$LINENO" 5
16139 elif test $pkg_failed = untried; then
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16141 $as_echo "no" >&6; }
16142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16144 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16145 is in your PATH or set the PKG_CONFIG environment variable to the full
16146 path to pkg-config.
16148 Alternatively, you may set the environment variables GTHREAD2_CFLAGS
16149 and GTHREAD2_LIBS to avoid the need to call pkg-config.
16150 See the pkg-config man page for more details.
16152 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16153 See \`config.log' for more details" "$LINENO" 5; }
16155 GTHREAD2_CFLAGS=$pkg_cv_GTHREAD2_CFLAGS
16156 GTHREAD2_LIBS=$pkg_cv_GTHREAD2_LIBS
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16158 $as_echo "yes" >&6; }
16162 # --disable-tests option.
16163 # Check whether --enable-tests was given.
16164 if test "${enable_tests+set}" = set; then :
16165 enableval=$enable_tests; enable_tests=$enableval
16171 if test x"$enable_tests" = x"yes"; then
16173 ENABLE_TESTS_FALSE='#'
16175 ENABLE_TESTS_TRUE='#'
16176 ENABLE_TESTS_FALSE=
16179 if test x"$enable_tests" != x"yes"; then
16180 enable_tests="no (disabled, use --enable-tests to enable)"
16183 # --disable-gtk2 option.
16184 # Check whether --enable-gtk2 was given.
16185 if test "${enable_gtk2+set}" = set; then :
16186 enableval=$enable_gtk2; enable_gtk2=$enableval
16192 if test x"$enable_gtk2" = x"yes"; then
16194 ENABLE_GTK2_FALSE='#'
16196 ENABLE_GTK2_TRUE='#'
16201 # --disable-gtk3 option.
16202 # Check whether --enable-gtk3 was given.
16203 if test "${enable_gtk3+set}" = set; then :
16204 enableval=$enable_gtk3; enable_gtk3=$enableval
16210 if test x"$enable_gtk3" = x"yes"; then
16212 ENABLE_GTK3_FALSE='#'
16214 ENABLE_GTK3_TRUE='#'
16219 # --disable-xim option.
16220 # Check whether --enable-xim was given.
16221 if test "${enable_xim+set}" = set; then :
16222 enableval=$enable_xim; enable_xim=$enableval
16228 if test x"$enable_xim" = x"yes"; then
16230 ENABLE_XIM_FALSE='#'
16232 ENABLE_XIM_TRUE='#'
16237 # --enable-wayland option.
16238 # Check whether --enable-wayland was given.
16239 if test "${enable_wayland+set}" = set; then :
16240 enableval=$enable_wayland; enable_wayland=$enableval
16246 if test x"$enable_wayland" = x"yes"; then
16247 ENABLE_WAYLAND_TRUE=
16248 ENABLE_WAYLAND_FALSE='#'
16250 ENABLE_WAYLAND_TRUE='#'
16251 ENABLE_WAYLAND_FALSE=
16255 if test x"$enable_gtk2" = x"yes" -o x"$enable_xim" = x"yes" ; then
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
16260 $as_echo_n "checking for GTK2... " >&6; }
16262 if test -n "$GTK2_CFLAGS"; then
16263 pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
16264 elif test -n "$PKG_CONFIG"; then
16265 if test -n "$PKG_CONFIG" && \
16266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16269 ($PKG_CONFIG --exists --print-errors "
16273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16274 test $ac_status = 0; }; then
16275 pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "
16278 test "x$?" != "x0" && pkg_failed=yes
16285 if test -n "$GTK2_LIBS"; then
16286 pkg_cv_GTK2_LIBS="$GTK2_LIBS"
16287 elif test -n "$PKG_CONFIG"; then
16288 if test -n "$PKG_CONFIG" && \
16289 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16292 ($PKG_CONFIG --exists --print-errors "
16296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16297 test $ac_status = 0; }; then
16298 pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "
16301 test "x$?" != "x0" && pkg_failed=yes
16311 if test $pkg_failed = yes; then
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16313 $as_echo "no" >&6; }
16315 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16316 _pkg_short_errors_supported=yes
16318 _pkg_short_errors_supported=no
16320 if test $_pkg_short_errors_supported = yes; then
16321 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16325 GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16329 # Put the nasty error message in config.log where it belongs
16330 echo "$GTK2_PKG_ERRORS" >&5
16332 as_fn_error $? "Package requirements (
16338 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16339 installed software in a non-standard prefix.
16341 Alternatively, you may set the environment variables GTK2_CFLAGS
16342 and GTK2_LIBS to avoid the need to call pkg-config.
16343 See the pkg-config man page for more details." "$LINENO" 5
16344 elif test $pkg_failed = untried; then
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16346 $as_echo "no" >&6; }
16347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16349 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16350 is in your PATH or set the PKG_CONFIG environment variable to the full
16351 path to pkg-config.
16353 Alternatively, you may set the environment variables GTK2_CFLAGS
16354 and GTK2_LIBS to avoid the need to call pkg-config.
16355 See the pkg-config man page for more details.
16357 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16358 See \`config.log' for more details" "$LINENO" 5; }
16360 GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
16361 GTK2_LIBS=$pkg_cv_GTK2_LIBS
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16363 $as_echo "yes" >&6; }
16368 if test x"$enable_gtk2" = x"yes"; then
16370 gtk2_binary_version=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
16371 GTK2_IM_MODULEDIR="$libdir"/gtk-2.0/$gtk2_binary_version/immodules
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK2" >&5
16376 $as_echo_n "checking for GDK2... " >&6; }
16378 if test -n "$GDK2_CFLAGS"; then
16379 pkg_cv_GDK2_CFLAGS="$GDK2_CFLAGS"
16380 elif test -n "$PKG_CONFIG"; then
16381 if test -n "$PKG_CONFIG" && \
16382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16385 ($PKG_CONFIG --exists --print-errors "
16389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16390 test $ac_status = 0; }; then
16391 pkg_cv_GDK2_CFLAGS=`$PKG_CONFIG --cflags "
16394 test "x$?" != "x0" && pkg_failed=yes
16401 if test -n "$GDK2_LIBS"; then
16402 pkg_cv_GDK2_LIBS="$GDK2_LIBS"
16403 elif test -n "$PKG_CONFIG"; then
16404 if test -n "$PKG_CONFIG" && \
16405 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16408 ($PKG_CONFIG --exists --print-errors "
16412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16413 test $ac_status = 0; }; then
16414 pkg_cv_GDK2_LIBS=`$PKG_CONFIG --libs "
16417 test "x$?" != "x0" && pkg_failed=yes
16427 if test $pkg_failed = yes; then
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16429 $as_echo "no" >&6; }
16431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16432 _pkg_short_errors_supported=yes
16434 _pkg_short_errors_supported=no
16436 if test $_pkg_short_errors_supported = yes; then
16437 GDK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16441 GDK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16445 # Put the nasty error message in config.log where it belongs
16446 echo "$GDK2_PKG_ERRORS" >&5
16448 as_fn_error $? "Package requirements (
16454 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16455 installed software in a non-standard prefix.
16457 Alternatively, you may set the environment variables GDK2_CFLAGS
16458 and GDK2_LIBS to avoid the need to call pkg-config.
16459 See the pkg-config man page for more details." "$LINENO" 5
16460 elif test $pkg_failed = untried; then
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16462 $as_echo "no" >&6; }
16463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16465 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16466 is in your PATH or set the PKG_CONFIG environment variable to the full
16467 path to pkg-config.
16469 Alternatively, you may set the environment variables GDK2_CFLAGS
16470 and GDK2_LIBS to avoid the need to call pkg-config.
16471 See the pkg-config man page for more details.
16473 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16474 See \`config.log' for more details" "$LINENO" 5; }
16476 GDK2_CFLAGS=$pkg_cv_GDK2_CFLAGS
16477 GDK2_LIBS=$pkg_cv_GDK2_LIBS
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16479 $as_echo "yes" >&6; }
16483 enable_gtk2="no (disabled, use --enable-gtk2 to enable)"
16486 if test x"$enable_gtk3" = x"yes"; then
16487 # check for gtk3, gdk3
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5
16491 $as_echo_n "checking for GTK3... " >&6; }
16493 if test -n "$GTK3_CFLAGS"; then
16494 pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS"
16495 elif test -n "$PKG_CONFIG"; then
16496 if test -n "$PKG_CONFIG" && \
16497 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16500 ($PKG_CONFIG --exists --print-errors "
16504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16505 test $ac_status = 0; }; then
16506 pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "
16509 test "x$?" != "x0" && pkg_failed=yes
16516 if test -n "$GTK3_LIBS"; then
16517 pkg_cv_GTK3_LIBS="$GTK3_LIBS"
16518 elif test -n "$PKG_CONFIG"; then
16519 if test -n "$PKG_CONFIG" && \
16520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16523 ($PKG_CONFIG --exists --print-errors "
16527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16528 test $ac_status = 0; }; then
16529 pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "
16532 test "x$?" != "x0" && pkg_failed=yes
16542 if test $pkg_failed = yes; then
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16544 $as_echo "no" >&6; }
16546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16547 _pkg_short_errors_supported=yes
16549 _pkg_short_errors_supported=no
16551 if test $_pkg_short_errors_supported = yes; then
16552 GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16556 GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16560 # Put the nasty error message in config.log where it belongs
16561 echo "$GTK3_PKG_ERRORS" >&5
16563 as_fn_error $? "Package requirements (
16569 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16570 installed software in a non-standard prefix.
16572 Alternatively, you may set the environment variables GTK3_CFLAGS
16573 and GTK3_LIBS to avoid the need to call pkg-config.
16574 See the pkg-config man page for more details." "$LINENO" 5
16575 elif test $pkg_failed = untried; then
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16577 $as_echo "no" >&6; }
16578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16580 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16581 is in your PATH or set the PKG_CONFIG environment variable to the full
16582 path to pkg-config.
16584 Alternatively, you may set the environment variables GTK3_CFLAGS
16585 and GTK3_LIBS to avoid the need to call pkg-config.
16586 See the pkg-config man page for more details.
16588 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16589 See \`config.log' for more details" "$LINENO" 5; }
16591 GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS
16592 GTK3_LIBS=$pkg_cv_GTK3_LIBS
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16594 $as_echo "yes" >&6; }
16598 gtk3_binary_version=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0`
16599 GTK3_IM_MODULEDIR="$libdir"/gtk-3.0/$gtk3_binary_version/immodules
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK3" >&5
16604 $as_echo_n "checking for GDK3... " >&6; }
16606 if test -n "$GDK3_CFLAGS"; then
16607 pkg_cv_GDK3_CFLAGS="$GDK3_CFLAGS"
16608 elif test -n "$PKG_CONFIG"; then
16609 if test -n "$PKG_CONFIG" && \
16610 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16613 ($PKG_CONFIG --exists --print-errors "
16617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16618 test $ac_status = 0; }; then
16619 pkg_cv_GDK3_CFLAGS=`$PKG_CONFIG --cflags "
16622 test "x$?" != "x0" && pkg_failed=yes
16629 if test -n "$GDK3_LIBS"; then
16630 pkg_cv_GDK3_LIBS="$GDK3_LIBS"
16631 elif test -n "$PKG_CONFIG"; then
16632 if test -n "$PKG_CONFIG" && \
16633 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16636 ($PKG_CONFIG --exists --print-errors "
16640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16641 test $ac_status = 0; }; then
16642 pkg_cv_GDK3_LIBS=`$PKG_CONFIG --libs "
16645 test "x$?" != "x0" && pkg_failed=yes
16655 if test $pkg_failed = yes; then
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16657 $as_echo "no" >&6; }
16659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16660 _pkg_short_errors_supported=yes
16662 _pkg_short_errors_supported=no
16664 if test $_pkg_short_errors_supported = yes; then
16665 GDK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16669 GDK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16673 # Put the nasty error message in config.log where it belongs
16674 echo "$GDK3_PKG_ERRORS" >&5
16676 as_fn_error $? "Package requirements (
16682 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16683 installed software in a non-standard prefix.
16685 Alternatively, you may set the environment variables GDK3_CFLAGS
16686 and GDK3_LIBS to avoid the need to call pkg-config.
16687 See the pkg-config man page for more details." "$LINENO" 5
16688 elif test $pkg_failed = untried; then
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16690 $as_echo "no" >&6; }
16691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16693 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16694 is in your PATH or set the PKG_CONFIG environment variable to the full
16695 path to pkg-config.
16697 Alternatively, you may set the environment variables GDK3_CFLAGS
16698 and GDK3_LIBS to avoid the need to call pkg-config.
16699 See the pkg-config man page for more details.
16701 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16702 See \`config.log' for more details" "$LINENO" 5; }
16704 GDK3_CFLAGS=$pkg_cv_GDK3_CFLAGS
16705 GDK3_LIBS=$pkg_cv_GDK3_LIBS
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16707 $as_echo "yes" >&6; }
16711 enable_gtk3="no (disabled, use --enable-gtk3 to enable)"
16714 if test x"$enable_xim" = x"yes"; then
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
16719 $as_echo_n "checking for X11... " >&6; }
16721 if test -n "$X11_CFLAGS"; then
16722 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
16723 elif test -n "$PKG_CONFIG"; then
16724 if test -n "$PKG_CONFIG" && \
16725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16728 ($PKG_CONFIG --exists --print-errors "
16732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16733 test $ac_status = 0; }; then
16734 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "
16737 test "x$?" != "x0" && pkg_failed=yes
16744 if test -n "$X11_LIBS"; then
16745 pkg_cv_X11_LIBS="$X11_LIBS"
16746 elif test -n "$PKG_CONFIG"; then
16747 if test -n "$PKG_CONFIG" && \
16748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16751 ($PKG_CONFIG --exists --print-errors "
16755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16756 test $ac_status = 0; }; then
16757 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "
16760 test "x$?" != "x0" && pkg_failed=yes
16770 if test $pkg_failed = yes; then
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16772 $as_echo "no" >&6; }
16774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16775 _pkg_short_errors_supported=yes
16777 _pkg_short_errors_supported=no
16779 if test $_pkg_short_errors_supported = yes; then
16780 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16784 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16788 # Put the nasty error message in config.log where it belongs
16789 echo "$X11_PKG_ERRORS" >&5
16791 as_fn_error $? "Package requirements (
16797 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16798 installed software in a non-standard prefix.
16800 Alternatively, you may set the environment variables X11_CFLAGS
16801 and X11_LIBS to avoid the need to call pkg-config.
16802 See the pkg-config man page for more details." "$LINENO" 5
16803 elif test $pkg_failed = untried; then
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16805 $as_echo "no" >&6; }
16806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16808 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16809 is in your PATH or set the PKG_CONFIG environment variable to the full
16810 path to pkg-config.
16812 Alternatively, you may set the environment variables X11_CFLAGS
16813 and X11_LIBS to avoid the need to call pkg-config.
16814 See the pkg-config man page for more details.
16816 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16817 See \`config.log' for more details" "$LINENO" 5; }
16819 X11_CFLAGS=$pkg_cv_X11_CFLAGS
16820 X11_LIBS=$pkg_cv_X11_LIBS
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16822 $as_echo "yes" >&6; }
16825 for ac_header in X11/XKBlib.h
16827 ac_fn_c_check_header_mongrel "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "$ac_includes_default"
16828 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
16829 cat >>confdefs.h <<_ACEOF
16830 #define HAVE_X11_XKBLIB_H 1
16838 enable_xim="no (disabled, use --enable-xim to enable)"
16841 if test x"$enable_wayland" = x"yes"; then
16842 # Check for wayland
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND" >&5
16846 $as_echo_n "checking for WAYLAND... " >&6; }
16848 if test -n "$WAYLAND_CFLAGS"; then
16849 pkg_cv_WAYLAND_CFLAGS="$WAYLAND_CFLAGS"
16850 elif test -n "$PKG_CONFIG"; then
16851 if test -n "$PKG_CONFIG" && \
16852 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16853 wayland-client >= 1.2.0
16856 ($PKG_CONFIG --exists --print-errors "
16857 wayland-client >= 1.2.0
16861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16862 test $ac_status = 0; }; then
16863 pkg_cv_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "
16864 wayland-client >= 1.2.0
16867 test "x$?" != "x0" && pkg_failed=yes
16874 if test -n "$WAYLAND_LIBS"; then
16875 pkg_cv_WAYLAND_LIBS="$WAYLAND_LIBS"
16876 elif test -n "$PKG_CONFIG"; then
16877 if test -n "$PKG_CONFIG" && \
16878 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16879 wayland-client >= 1.2.0
16882 ($PKG_CONFIG --exists --print-errors "
16883 wayland-client >= 1.2.0
16887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16888 test $ac_status = 0; }; then
16889 pkg_cv_WAYLAND_LIBS=`$PKG_CONFIG --libs "
16890 wayland-client >= 1.2.0
16893 test "x$?" != "x0" && pkg_failed=yes
16903 if test $pkg_failed = yes; then
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16905 $as_echo "no" >&6; }
16907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16908 _pkg_short_errors_supported=yes
16910 _pkg_short_errors_supported=no
16912 if test $_pkg_short_errors_supported = yes; then
16913 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16914 wayland-client >= 1.2.0
16918 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16919 wayland-client >= 1.2.0
16923 # Put the nasty error message in config.log where it belongs
16924 echo "$WAYLAND_PKG_ERRORS" >&5
16926 as_fn_error $? "Package requirements (
16927 wayland-client >= 1.2.0
16931 $WAYLAND_PKG_ERRORS
16933 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16934 installed software in a non-standard prefix.
16936 Alternatively, you may set the environment variables WAYLAND_CFLAGS
16937 and WAYLAND_LIBS to avoid the need to call pkg-config.
16938 See the pkg-config man page for more details." "$LINENO" 5
16939 elif test $pkg_failed = untried; then
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16941 $as_echo "no" >&6; }
16942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16944 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16945 is in your PATH or set the PKG_CONFIG environment variable to the full
16946 path to pkg-config.
16948 Alternatively, you may set the environment variables WAYLAND_CFLAGS
16949 and WAYLAND_LIBS to avoid the need to call pkg-config.
16950 See the pkg-config man page for more details.
16952 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16953 See \`config.log' for more details" "$LINENO" 5; }
16955 WAYLAND_CFLAGS=$pkg_cv_WAYLAND_CFLAGS
16956 WAYLAND_LIBS=$pkg_cv_WAYLAND_LIBS
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16958 $as_echo "yes" >&6; }
16962 enable_wayland="no (disabled, use --enable-wayland to enable)"
16965 # GObject introspection
16969 # Check whether --enable-introspection was given.
16970 if test "${enable_introspection+set}" = set; then :
16971 enableval=$enable_introspection;
16973 enable_introspection=auto
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
16978 $as_echo_n "checking for gobject-introspection... " >&6; }
16980 case $enable_introspection in #(
16982 found_introspection="no (disabled, use --enable-introspection to enable)"
16985 if test -n "$PKG_CONFIG" && \
16986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
16987 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
16989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16990 test $ac_status = 0; }; then
16993 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
16995 if test -n "$PKG_CONFIG" && \
16996 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.8\""; } >&5
16997 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8") 2>&5
16999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17000 test $ac_status = 0; }; then
17001 found_introspection=yes
17003 as_fn_error $? "You need to have gobject-introspection >= 0.6.8 installed to build ibus" "$LINENO" 5
17007 if test -n "$PKG_CONFIG" && \
17008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.8\""; } >&5
17009 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8") 2>&5
17011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17012 test $ac_status = 0; }; then
17013 found_introspection=yes
17015 found_introspection=no
17019 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
17023 $as_echo "$found_introspection" >&6; }
17025 INTROSPECTION_SCANNER=
17026 INTROSPECTION_COMPILER=
17027 INTROSPECTION_GENERATE=
17028 INTROSPECTION_GIRDIR=
17029 INTROSPECTION_TYPELIBDIR=
17030 if test "x$found_introspection" = "xyes"; then
17031 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
17032 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
17033 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
17034 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
17035 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
17036 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
17037 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
17038 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
17049 if test "x$found_introspection" = "xyes"; then
17050 HAVE_INTROSPECTION_TRUE=
17051 HAVE_INTROSPECTION_FALSE='#'
17053 HAVE_INTROSPECTION_TRUE='#'
17054 HAVE_INTROSPECTION_FALSE=
17060 IBUS_GIR_SCANNERFLAGS=
17061 if test x"$found_introspection" = x"yes" ; then
17062 IBUS_GIR_SCANNERFLAGS="--warn-all --identifier-prefix=IBus --symbol-prefix=ibus"
17063 if test -n "$PKG_CONFIG" && \
17064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
17065 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
17067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17068 test $ac_status = 0; }; then
17069 gir_symbol_prefix=yes
17071 gir_symbol_prefix=no
17073 if test x"$gir_symbol_prefix" = x"no" ; then
17074 IBUS_GIR_SCANNERFLAGS="--strip-prefix=IBus"
17084 # Check whether --enable-vala was given.
17085 if test "${enable_vala+set}" = set; then :
17086 enableval=$enable_vala;
17089 if test "x" = "x"; then :
17102 case $enable_vala in #(
17104 enable_vala=no ;; #(
17107 if test "x" != "xyes" -a "x$found_introspection" != "xyes"; then :
17109 as_fn_error $? "Vala bindings require GObject Introspection" "$LINENO" 5
17115 if test "x" != "xyes" -a "x$found_introspection" != "xyes"; then :
17123 as_fn_error $? "Invalid argument passed to --enable-vala, should be one of [no/auto/yes]" "$LINENO" 5
17127 if test "x" = "x"; then :
17129 vapigen_pkg_name=vapigen
17133 vapigen_pkg_name=vapigen-
17136 if test "x0.16" = "x"; then :
17138 vapigen_pkg="$vapigen_pkg_name"
17142 vapigen_pkg="$vapigen_pkg_name >= 0.16"
17153 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17154 if test -n "$ac_tool_prefix"; then
17155 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17156 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17158 $as_echo_n "checking for $ac_word... " >&6; }
17159 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17160 $as_echo_n "(cached) " >&6
17162 case $PKG_CONFIG in
17164 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17168 for as_dir in $PATH
17171 test -z "$as_dir" && as_dir=.
17172 for ac_exec_ext in '' $ac_executable_extensions; do
17173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17174 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17185 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17186 if test -n "$PKG_CONFIG"; then
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17188 $as_echo "$PKG_CONFIG" >&6; }
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17191 $as_echo "no" >&6; }
17196 if test -z "$ac_cv_path_PKG_CONFIG"; then
17197 ac_pt_PKG_CONFIG=$PKG_CONFIG
17198 # Extract the first word of "pkg-config", so it can be a program name with args.
17199 set dummy pkg-config; ac_word=$2
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17201 $as_echo_n "checking for $ac_word... " >&6; }
17202 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17203 $as_echo_n "(cached) " >&6
17205 case $ac_pt_PKG_CONFIG in
17207 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17211 for as_dir in $PATH
17214 test -z "$as_dir" && as_dir=.
17215 for ac_exec_ext in '' $ac_executable_extensions; do
17216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17217 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17228 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17229 if test -n "$ac_pt_PKG_CONFIG"; then
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17231 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17234 $as_echo "no" >&6; }
17237 if test "x$ac_pt_PKG_CONFIG" = x; then
17240 case $cross_compiling:$ac_tool_warned in
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17244 ac_tool_warned=yes ;;
17246 PKG_CONFIG=$ac_pt_PKG_CONFIG
17249 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17253 if test -n "$PKG_CONFIG"; then
17254 _pkg_min_version=0.9.0
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17256 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17257 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17259 $as_echo "yes" >&6; }
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17262 $as_echo "no" >&6; }
17267 if test -n "$PKG_CONFIG" && \
17268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$vapigen_pkg\""; } >&5
17269 ($PKG_CONFIG --exists --print-errors "$vapigen_pkg") 2>&5
17271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17272 test $ac_status = 0; }; then
17274 if test "$enable_vala" = "auto"; then :
17282 case $enable_vala in #(
17285 as_fn_error $? "$vapigen_pkg not found" "$LINENO" 5
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vapigen" >&5
17298 $as_echo_n "checking for vapigen... " >&6; }
17300 case $enable_vala in #(
17303 VAPIGEN=`$PKG_CONFIG --variable=vapigen $vapigen_pkg_name`
17304 VAPIGEN_MAKEFILE=`$PKG_CONFIG --variable=datadir $vapigen_pkg_name`/vala/Makefile.vapigen
17305 if test "x" = "x"; then :
17307 VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir $vapigen_pkg_name`
17311 VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir_versioned $vapigen_pkg_name`
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vala" >&5
17320 $as_echo "$enable_vala" >&6; }
17326 if test "x$enable_vala" = "xyes"; then
17327 ENABLE_VAPIGEN_TRUE=
17328 ENABLE_VAPIGEN_FALSE='#'
17330 ENABLE_VAPIGEN_TRUE='#'
17331 ENABLE_VAPIGEN_FALSE=
17336 # Check for gtk-doc.
17340 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
17341 set dummy gtkdoc-check; ac_word=$2
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17343 $as_echo_n "checking for $ac_word... " >&6; }
17344 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
17345 $as_echo_n "(cached) " >&6
17347 case $GTKDOC_CHECK in
17349 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
17352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17353 for as_dir in $PATH
17356 test -z "$as_dir" && as_dir=.
17357 for ac_exec_ext in '' $ac_executable_extensions; do
17358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17359 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
17360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17370 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
17371 if test -n "$GTKDOC_CHECK"; then
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
17373 $as_echo "$GTKDOC_CHECK" >&6; }
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17376 $as_echo "no" >&6; }
17380 for ac_prog in gtkdoc-rebase
17382 # Extract the first word of "$ac_prog", so it can be a program name with args.
17383 set dummy $ac_prog; ac_word=$2
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17385 $as_echo_n "checking for $ac_word... " >&6; }
17386 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
17387 $as_echo_n "(cached) " >&6
17389 case $GTKDOC_REBASE in
17391 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
17394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17395 for as_dir in $PATH
17398 test -z "$as_dir" && as_dir=.
17399 for ac_exec_ext in '' $ac_executable_extensions; do
17400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17401 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
17402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17412 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
17413 if test -n "$GTKDOC_REBASE"; then
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
17415 $as_echo "$GTKDOC_REBASE" >&6; }
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17418 $as_echo "no" >&6; }
17422 test -n "$GTKDOC_REBASE" && break
17424 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
17426 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
17427 set dummy gtkdoc-mkpdf; ac_word=$2
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17429 $as_echo_n "checking for $ac_word... " >&6; }
17430 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
17431 $as_echo_n "(cached) " >&6
17433 case $GTKDOC_MKPDF in
17435 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
17438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17439 for as_dir in $PATH
17442 test -z "$as_dir" && as_dir=.
17443 for ac_exec_ext in '' $ac_executable_extensions; do
17444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17445 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
17446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17456 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
17457 if test -n "$GTKDOC_MKPDF"; then
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
17459 $as_echo "$GTKDOC_MKPDF" >&6; }
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17462 $as_echo "no" >&6; }
17468 # Check whether --with-html-dir was given.
17469 if test "${with_html_dir+set}" = set; then :
17470 withval=$with_html_dir;
17472 with_html_dir='${datadir}/gtk-doc/html'
17475 HTML_DIR="$with_html_dir"
17478 # Check whether --enable-gtk-doc was given.
17479 if test "${enable_gtk_doc+set}" = set; then :
17480 enableval=$enable_gtk_doc;
17486 if test x$enable_gtk_doc = xyes; then
17487 if test -n "$PKG_CONFIG" && \
17488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.9\""; } >&5
17489 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.9") 2>&5
17491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17492 test $ac_status = 0; }; then
17495 as_fn_error $? "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5
17497 if test "x$PACKAGE_NAME" != "xglib"; then
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
17501 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
17503 if test -n "$GTKDOC_DEPS_CFLAGS"; then
17504 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
17505 elif test -n "$PKG_CONFIG"; then
17506 if test -n "$PKG_CONFIG" && \
17507 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
17508 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
17510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17511 test $ac_status = 0; }; then
17512 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
17513 test "x$?" != "x0" && pkg_failed=yes
17520 if test -n "$GTKDOC_DEPS_LIBS"; then
17521 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
17522 elif test -n "$PKG_CONFIG"; then
17523 if test -n "$PKG_CONFIG" && \
17524 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
17525 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
17527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17528 test $ac_status = 0; }; then
17529 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
17530 test "x$?" != "x0" && pkg_failed=yes
17540 if test $pkg_failed = yes; then
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17542 $as_echo "no" >&6; }
17544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17545 _pkg_short_errors_supported=yes
17547 _pkg_short_errors_supported=no
17549 if test $_pkg_short_errors_supported = yes; then
17550 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
17552 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
17554 # Put the nasty error message in config.log where it belongs
17555 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
17558 elif test $pkg_failed = untried; then
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17560 $as_echo "no" >&6; }
17563 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
17564 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17566 $as_echo "yes" >&6; }
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
17573 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
17575 $as_echo "$enable_gtk_doc" >&6; }
17577 # Check whether --enable-gtk-doc-html was given.
17578 if test "${enable_gtk_doc_html+set}" = set; then :
17579 enableval=$enable_gtk_doc_html;
17581 enable_gtk_doc_html=yes
17584 # Check whether --enable-gtk-doc-pdf was given.
17585 if test "${enable_gtk_doc_pdf+set}" = set; then :
17586 enableval=$enable_gtk_doc_pdf;
17588 enable_gtk_doc_pdf=no
17592 if test -z "$GTKDOC_MKPDF"; then
17593 enable_gtk_doc_pdf=no
17596 if test -z "$AM_DEFAULT_VERBOSITY"; then
17597 AM_DEFAULT_VERBOSITY=1
17601 if test x$enable_gtk_doc = xyes; then
17602 ENABLE_GTK_DOC_TRUE=
17603 ENABLE_GTK_DOC_FALSE='#'
17605 ENABLE_GTK_DOC_TRUE='#'
17606 ENABLE_GTK_DOC_FALSE=
17609 if test x$enable_gtk_doc_html = xyes; then
17610 GTK_DOC_BUILD_HTML_TRUE=
17611 GTK_DOC_BUILD_HTML_FALSE='#'
17613 GTK_DOC_BUILD_HTML_TRUE='#'
17614 GTK_DOC_BUILD_HTML_FALSE=
17617 if test x$enable_gtk_doc_pdf = xyes; then
17618 GTK_DOC_BUILD_PDF_TRUE=
17619 GTK_DOC_BUILD_PDF_FALSE='#'
17621 GTK_DOC_BUILD_PDF_TRUE='#'
17622 GTK_DOC_BUILD_PDF_FALSE=
17625 if test -n "$LIBTOOL"; then
17626 GTK_DOC_USE_LIBTOOL_TRUE=
17627 GTK_DOC_USE_LIBTOOL_FALSE='#'
17629 GTK_DOC_USE_LIBTOOL_TRUE='#'
17630 GTK_DOC_USE_LIBTOOL_FALSE=
17633 if test -n "$GTKDOC_REBASE"; then
17634 GTK_DOC_USE_REBASE_TRUE=
17635 GTK_DOC_USE_REBASE_FALSE='#'
17637 GTK_DOC_USE_REBASE_TRUE='#'
17638 GTK_DOC_USE_REBASE_FALSE=
17642 if test x"$enable_gtk_doc" = x"no"; then
17643 enable_gtk_doc="no (disabled, use --enable-gtk-doc to enable)"
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
17650 $as_echo_n "checking for DBUS... " >&6; }
17652 if test -n "$DBUS_CFLAGS"; then
17653 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
17654 elif test -n "$PKG_CONFIG"; then
17655 if test -n "$PKG_CONFIG" && \
17656 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
17659 ($PKG_CONFIG --exists --print-errors "
17663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17664 test $ac_status = 0; }; then
17665 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "
17668 test "x$?" != "x0" && pkg_failed=yes
17675 if test -n "$DBUS_LIBS"; then
17676 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
17677 elif test -n "$PKG_CONFIG"; then
17678 if test -n "$PKG_CONFIG" && \
17679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
17682 ($PKG_CONFIG --exists --print-errors "
17686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17687 test $ac_status = 0; }; then
17688 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "
17691 test "x$?" != "x0" && pkg_failed=yes
17701 if test $pkg_failed = yes; then
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17703 $as_echo "no" >&6; }
17705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17706 _pkg_short_errors_supported=yes
17708 _pkg_short_errors_supported=no
17710 if test $_pkg_short_errors_supported = yes; then
17711 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
17715 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
17719 # Put the nasty error message in config.log where it belongs
17720 echo "$DBUS_PKG_ERRORS" >&5
17722 as_fn_error $? "Package requirements (
17728 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17729 installed software in a non-standard prefix.
17731 Alternatively, you may set the environment variables DBUS_CFLAGS
17732 and DBUS_LIBS to avoid the need to call pkg-config.
17733 See the pkg-config man page for more details." "$LINENO" 5
17734 elif test $pkg_failed = untried; then
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17736 $as_echo "no" >&6; }
17737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17739 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17740 is in your PATH or set the PKG_CONFIG environment variable to the full
17741 path to pkg-config.
17743 Alternatively, you may set the environment variables DBUS_CFLAGS
17744 and DBUS_LIBS to avoid the need to call pkg-config.
17745 See the pkg-config man page for more details.
17747 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17748 See \`config.log' for more details" "$LINENO" 5; }
17750 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
17751 DBUS_LIBS=$pkg_cv_DBUS_LIBS
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17753 $as_echo "yes" >&6; }
17757 # --enable-gconf option.
17758 # Check whether --enable-gconf was given.
17759 if test "${enable_gconf+set}" = set; then :
17760 enableval=$enable_gconf; enable_gconf=$enableval
17766 if test x"$enable_gconf" = x"yes"; then
17768 ENABLE_GCONF_FALSE='#'
17770 ENABLE_GCONF_TRUE='#'
17771 ENABLE_GCONF_FALSE=
17775 if test x"$enable_gconf" = x"yes"; then
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
17780 $as_echo_n "checking for GCONF... " >&6; }
17782 if test -n "$GCONF_CFLAGS"; then
17783 pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
17784 elif test -n "$PKG_CONFIG"; then
17785 if test -n "$PKG_CONFIG" && \
17786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.12\""; } >&5
17787 ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.12") 2>&5
17789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17790 test $ac_status = 0; }; then
17791 pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.12" 2>/dev/null`
17792 test "x$?" != "x0" && pkg_failed=yes
17799 if test -n "$GCONF_LIBS"; then
17800 pkg_cv_GCONF_LIBS="$GCONF_LIBS"
17801 elif test -n "$PKG_CONFIG"; then
17802 if test -n "$PKG_CONFIG" && \
17803 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.12\""; } >&5
17804 ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.12") 2>&5
17806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17807 test $ac_status = 0; }; then
17808 pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.12" 2>/dev/null`
17809 test "x$?" != "x0" && pkg_failed=yes
17819 if test $pkg_failed = yes; then
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17821 $as_echo "no" >&6; }
17823 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17824 _pkg_short_errors_supported=yes
17826 _pkg_short_errors_supported=no
17828 if test $_pkg_short_errors_supported = yes; then
17829 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0 >= 2.12" 2>&1`
17831 GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0 >= 2.12" 2>&1`
17833 # Put the nasty error message in config.log where it belongs
17834 echo "$GCONF_PKG_ERRORS" >&5
17836 as_fn_error $? "Package requirements (gconf-2.0 >= 2.12) were not met:
17840 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17841 installed software in a non-standard prefix.
17843 Alternatively, you may set the environment variables GCONF_CFLAGS
17844 and GCONF_LIBS to avoid the need to call pkg-config.
17845 See the pkg-config man page for more details." "$LINENO" 5
17846 elif test $pkg_failed = untried; then
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17848 $as_echo "no" >&6; }
17849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17851 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17852 is in your PATH or set the PKG_CONFIG environment variable to the full
17853 path to pkg-config.
17855 Alternatively, you may set the environment variables GCONF_CFLAGS
17856 and GCONF_LIBS to avoid the need to call pkg-config.
17857 See the pkg-config man page for more details.
17859 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17860 See \`config.log' for more details" "$LINENO" 5; }
17862 GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
17863 GCONF_LIBS=$pkg_cv_GCONF_LIBS
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17865 $as_echo "yes" >&6; }
17869 # Extract the first word of "gconftool-2", so it can be a program name with args.
17870 set dummy gconftool-2; ac_word=$2
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17872 $as_echo_n "checking for $ac_word... " >&6; }
17873 if ${ac_cv_path_GCONFTOOL+:} false; then :
17874 $as_echo_n "(cached) " >&6
17878 ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
17881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17882 for as_dir in $PATH
17885 test -z "$as_dir" && as_dir=.
17886 for ac_exec_ext in '' $ac_executable_extensions; do
17887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17888 ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
17889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17896 test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
17900 GCONFTOOL=$ac_cv_path_GCONFTOOL
17901 if test -n "$GCONFTOOL"; then
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
17903 $as_echo "$GCONFTOOL" >&6; }
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17906 $as_echo "no" >&6; }
17910 if test x"$GCONFTOOL" = xno; then
17911 as_fn_error $? "gconftool-2 executable not found in your path - should be installed with GConf" "$LINENO" 5
17915 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
17916 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
17918 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
17922 # Check whether --with-gconf-source was given.
17923 if test "${with_gconf_source+set}" = set; then :
17924 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
17930 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
17932 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
17933 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
17937 # Check whether --with-gconf-schema-file-dir was given.
17938 if test "${with_gconf_schema_file_dir+set}" = set; then :
17939 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
17945 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
17947 # Check whether --enable-schemas-install was given.
17948 if test "${enable_schemas_install+set}" = set; then :
17949 enableval=$enable_schemas_install; case ${enableval} in
17951 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
17955 if test "$enable_schemas_install" != no; then
17956 GCONF_SCHEMAS_INSTALL_TRUE=
17957 GCONF_SCHEMAS_INSTALL_FALSE='#'
17959 GCONF_SCHEMAS_INSTALL_TRUE='#'
17960 GCONF_SCHEMAS_INSTALL_FALSE=
17964 # GCONF_SCHEMAS_INSTALL should be set in macro AM_GCONF_SOURCE_2
17967 GCONF_SCHEMAS_INSTALL_TRUE=
17968 GCONF_SCHEMAS_INSTALL_FALSE='#'
17970 GCONF_SCHEMAS_INSTALL_TRUE='#'
17971 GCONF_SCHEMAS_INSTALL_FALSE=
17974 enable_gconf="no (disabled, use --enable-gconf to enable)"
17977 # --enable-memconf option.
17978 # Check whether --enable-memconf was given.
17979 if test "${enable_memconf+set}" = set; then :
17980 enableval=$enable_memconf; enable_memconf=$enableval
17986 if test "x$enable_memconf" = "xyes"; then
17987 ENABLE_MEMCONF_TRUE=
17988 ENABLE_MEMCONF_FALSE='#'
17990 ENABLE_MEMCONF_TRUE='#'
17991 ENABLE_MEMCONF_FALSE=
17995 # Check whether --enable-dconf was given.
17996 if test "${enable_dconf+set}" = set; then :
17997 enableval=$enable_dconf; enable_dconf=$enableval
18003 if test x"$enable_dconf" = x"yes"; then
18005 ENABLE_DCONF_FALSE='#'
18007 ENABLE_DCONF_TRUE='#'
18008 ENABLE_DCONF_FALSE=
18012 if test x"$enable_dconf" = x"yes"; then
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DCONF" >&5
18017 $as_echo_n "checking for DCONF... " >&6; }
18019 if test -n "$DCONF_CFLAGS"; then
18020 pkg_cv_DCONF_CFLAGS="$DCONF_CFLAGS"
18021 elif test -n "$PKG_CONFIG"; then
18022 if test -n "$PKG_CONFIG" && \
18023 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dconf >= 0.7.5\""; } >&5
18024 ($PKG_CONFIG --exists --print-errors "dconf >= 0.7.5") 2>&5
18026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18027 test $ac_status = 0; }; then
18028 pkg_cv_DCONF_CFLAGS=`$PKG_CONFIG --cflags "dconf >= 0.7.5" 2>/dev/null`
18029 test "x$?" != "x0" && pkg_failed=yes
18036 if test -n "$DCONF_LIBS"; then
18037 pkg_cv_DCONF_LIBS="$DCONF_LIBS"
18038 elif test -n "$PKG_CONFIG"; then
18039 if test -n "$PKG_CONFIG" && \
18040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dconf >= 0.7.5\""; } >&5
18041 ($PKG_CONFIG --exists --print-errors "dconf >= 0.7.5") 2>&5
18043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18044 test $ac_status = 0; }; then
18045 pkg_cv_DCONF_LIBS=`$PKG_CONFIG --libs "dconf >= 0.7.5" 2>/dev/null`
18046 test "x$?" != "x0" && pkg_failed=yes
18056 if test $pkg_failed = yes; then
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18058 $as_echo "no" >&6; }
18060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18061 _pkg_short_errors_supported=yes
18063 _pkg_short_errors_supported=no
18065 if test $_pkg_short_errors_supported = yes; then
18066 DCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dconf >= 0.7.5" 2>&1`
18068 DCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dconf >= 0.7.5" 2>&1`
18070 # Put the nasty error message in config.log where it belongs
18071 echo "$DCONF_PKG_ERRORS" >&5
18073 as_fn_error $? "Package requirements (dconf >= 0.7.5) were not met:
18077 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18078 installed software in a non-standard prefix.
18080 Alternatively, you may set the environment variables DCONF_CFLAGS
18081 and DCONF_LIBS to avoid the need to call pkg-config.
18082 See the pkg-config man page for more details." "$LINENO" 5
18083 elif test $pkg_failed = untried; then
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18085 $as_echo "no" >&6; }
18086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18088 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18089 is in your PATH or set the PKG_CONFIG environment variable to the full
18090 path to pkg-config.
18092 Alternatively, you may set the environment variables DCONF_CFLAGS
18093 and DCONF_LIBS to avoid the need to call pkg-config.
18094 See the pkg-config man page for more details.
18096 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18097 See \`config.log' for more details" "$LINENO" 5; }
18099 DCONF_CFLAGS=$pkg_cv_DCONF_CFLAGS
18100 DCONF_LIBS=$pkg_cv_DCONF_LIBS
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18102 $as_echo "yes" >&6; }
18105 if test -n "$PKG_CONFIG" && \
18106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dconf >= 0.13.4\""; } >&5
18107 ($PKG_CONFIG --exists --print-errors "dconf >= 0.13.4") 2>&5
18109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18110 test $ac_status = 0; }; then
18112 $as_echo "#define DCONF_0_13_4 TRUE" >>confdefs.h
18115 # check glib-compile-schemas
18118 # Check whether --enable-schemas-compile was given.
18119 if test "${enable_schemas_compile+set}" = set; then :
18120 enableval=$enable_schemas_compile; case ${enableval} in
18121 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
18122 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
18123 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
18135 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18136 if test -n "$ac_tool_prefix"; then
18137 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18138 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18140 $as_echo_n "checking for $ac_word... " >&6; }
18141 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18142 $as_echo_n "(cached) " >&6
18144 case $PKG_CONFIG in
18146 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18150 for as_dir in $PATH
18153 test -z "$as_dir" && as_dir=.
18154 for ac_exec_ext in '' $ac_executable_extensions; do
18155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18156 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18167 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18168 if test -n "$PKG_CONFIG"; then
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18170 $as_echo "$PKG_CONFIG" >&6; }
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18173 $as_echo "no" >&6; }
18178 if test -z "$ac_cv_path_PKG_CONFIG"; then
18179 ac_pt_PKG_CONFIG=$PKG_CONFIG
18180 # Extract the first word of "pkg-config", so it can be a program name with args.
18181 set dummy pkg-config; ac_word=$2
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18183 $as_echo_n "checking for $ac_word... " >&6; }
18184 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18185 $as_echo_n "(cached) " >&6
18187 case $ac_pt_PKG_CONFIG in
18189 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18193 for as_dir in $PATH
18196 test -z "$as_dir" && as_dir=.
18197 for ac_exec_ext in '' $ac_executable_extensions; do
18198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18199 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18210 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18211 if test -n "$ac_pt_PKG_CONFIG"; then
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18213 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18216 $as_echo "no" >&6; }
18219 if test "x$ac_pt_PKG_CONFIG" = x; then
18222 case $cross_compiling:$ac_tool_warned in
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18226 ac_tool_warned=yes ;;
18228 PKG_CONFIG=$ac_pt_PKG_CONFIG
18231 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18235 if test -n "$PKG_CONFIG"; then
18236 _pkg_min_version=0.16
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18238 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18239 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18241 $as_echo "yes" >&6; }
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18244 $as_echo "no" >&6; }
18248 gsettingsschemadir=${datadir}/glib-2.0/schemas
18250 if test x$cross_compiling != xyes; then
18251 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
18253 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
18254 set dummy glib-compile-schemas; ac_word=$2
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18256 $as_echo_n "checking for $ac_word... " >&6; }
18257 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
18258 $as_echo_n "(cached) " >&6
18260 case $GLIB_COMPILE_SCHEMAS in
18262 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
18265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18266 for as_dir in $PATH
18269 test -z "$as_dir" && as_dir=.
18270 for ac_exec_ext in '' $ac_executable_extensions; do
18271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18272 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
18273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18283 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
18284 if test -n "$GLIB_COMPILE_SCHEMAS"; then
18285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
18286 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18289 $as_echo "no" >&6; }
18295 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
18296 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
18302 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
18304 mostlyclean-am: clean-gsettings-schemas
18306 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
18308 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
18309 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
18311 all-am: $(gsettings_SCHEMAS:.xml=.valid)
18312 uninstall-am: uninstall-gsettings-schemas
18313 install-data-am: install-gsettings-schemas
18315 .SECONDARY: $(gsettings_SCHEMAS)
18317 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
18319 if test -n "$^"; then \
18320 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
18321 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
18322 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
18325 uninstall-gsettings-schemas:
18326 @$(NORMAL_UNINSTALL)
18327 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
18328 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
18329 test -n "$$files" || exit 0; \
18330 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
18331 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
18332 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
18334 clean-gsettings-schemas:
18335 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
18337 ifdef gsettings_ENUM_NAMESPACE
18338 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
18339 $(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>" $^ > $@.tmp && mv $@.tmp $@
18348 # Extract the first word of "gsettings-schema-convert", so it can be a program name with args.
18349 set dummy gsettings-schema-convert; ac_word=$2
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18351 $as_echo_n "checking for $ac_word... " >&6; }
18352 if ${ac_cv_path_GSETTINGS_SCHEMA_CONVERT+:} false; then :
18353 $as_echo_n "(cached) " >&6
18355 case $GSETTINGS_SCHEMA_CONVERT in
18357 ac_cv_path_GSETTINGS_SCHEMA_CONVERT="$GSETTINGS_SCHEMA_CONVERT" # Let the user override the test with a path.
18360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18361 for as_dir in $PATH
18364 test -z "$as_dir" && as_dir=.
18365 for ac_exec_ext in '' $ac_executable_extensions; do
18366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18367 ac_cv_path_GSETTINGS_SCHEMA_CONVERT="$as_dir/$ac_word$ac_exec_ext"
18368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18378 GSETTINGS_SCHEMA_CONVERT=$ac_cv_path_GSETTINGS_SCHEMA_CONVERT
18379 if test -n "$GSETTINGS_SCHEMA_CONVERT"; then
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSETTINGS_SCHEMA_CONVERT" >&5
18381 $as_echo "$GSETTINGS_SCHEMA_CONVERT" >&6; }
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18384 $as_echo "no" >&6; }
18388 if test x"$ac_cv_path_GSETTINGS_SCHEMA_CONVERT" = x""; then :
18389 as_fn_error $? "gsettings-schema-convert from GConf2 is required for dconf support" "$LINENO" 5
18391 enable_dconf="yes (enabled, use --disable-dconf to disable)"
18395 # Extract the first word of "env", so it can be a program name with args.
18396 set dummy env; ac_word=$2
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18398 $as_echo_n "checking for $ac_word... " >&6; }
18399 if ${ac_cv_path_ENV_IBUS_TEST+:} false; then :
18400 $as_echo_n "(cached) " >&6
18402 case $ENV_IBUS_TEST in
18404 ac_cv_path_ENV_IBUS_TEST="$ENV_IBUS_TEST" # Let the user override the test with a path.
18407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18408 for as_dir in $PATH
18411 test -z "$as_dir" && as_dir=.
18412 for ac_exec_ext in '' $ac_executable_extensions; do
18413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18414 ac_cv_path_ENV_IBUS_TEST="$as_dir/$ac_word$ac_exec_ext"
18415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18425 ENV_IBUS_TEST=$ac_cv_path_ENV_IBUS_TEST
18426 if test -n "$ENV_IBUS_TEST"; then
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENV_IBUS_TEST" >&5
18428 $as_echo "$ENV_IBUS_TEST" >&6; }
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18431 $as_echo "no" >&6; }
18437 # Check whether --enable-python-library was given.
18438 if test "${enable_python_library+set}" = set; then :
18439 enableval=$enable_python_library; enable_python_library=$enableval
18441 enable_python_library=no
18446 # Check whether --enable-setup was given.
18447 if test "${enable_setup+set}" = set; then :
18448 enableval=$enable_setup; enable_setup=$enableval
18455 if test x"$enable_python_library" = x"yes"; then
18456 ENABLE_PYTHON_LIBRARY_TRUE=
18457 ENABLE_PYTHON_LIBRARY_FALSE='#'
18459 ENABLE_PYTHON_LIBRARY_TRUE='#'
18460 ENABLE_PYTHON_LIBRARY_FALSE=
18463 if test x"$enable_setup" = x"yes"; then
18465 ENABLE_SETUP_FALSE='#'
18467 ENABLE_SETUP_TRUE='#'
18468 ENABLE_SETUP_FALSE=
18472 ENABLE_DAEMON_TRUE=
18473 ENABLE_DAEMON_FALSE='#'
18475 ENABLE_DAEMON_TRUE='#'
18476 ENABLE_DAEMON_FALSE=
18486 if test -n "$PYTHON"; then
18487 # If the user set $PYTHON, use it and don't search something else.
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
18489 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
18491 # split strings by '.' and convert to numeric. Append some zeros
18492 # because we need at least 4 digits for the hex conversion.
18493 # map returns an iterator in Python 3.0 and a list in 2.x
18494 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
18496 # xrange is not present in Python 3.0 and range returns an iterator
18497 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
18498 sys.exit(sys.hexversion < minverhex)"
18499 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
18500 ($PYTHON -c "$prog") >&5 2>&5
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); }; then :
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18505 $as_echo "yes" >&6; }
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18508 $as_echo "no" >&6; }
18509 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
18511 am_display_PYTHON=$PYTHON
18513 # Otherwise, try each interpreter until we find one that satisfies
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
18516 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
18517 if ${am_cv_pathless_PYTHON+:} false; then :
18518 $as_echo_n "(cached) " >&6
18521 for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
18522 test "$am_cv_pathless_PYTHON" = none && break
18524 # split strings by '.' and convert to numeric. Append some zeros
18525 # because we need at least 4 digits for the hex conversion.
18526 # map returns an iterator in Python 3.0 and a list in 2.x
18527 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
18529 # xrange is not present in Python 3.0 and range returns an iterator
18530 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
18531 sys.exit(sys.hexversion < minverhex)"
18532 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
18533 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); }; then :
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
18542 $as_echo "$am_cv_pathless_PYTHON" >&6; }
18543 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
18544 if test "$am_cv_pathless_PYTHON" = none; then
18547 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
18548 set dummy $am_cv_pathless_PYTHON; ac_word=$2
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18550 $as_echo_n "checking for $ac_word... " >&6; }
18551 if ${ac_cv_path_PYTHON+:} false; then :
18552 $as_echo_n "(cached) " >&6
18556 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18560 for as_dir in $PATH
18563 test -z "$as_dir" && as_dir=.
18564 for ac_exec_ext in '' $ac_executable_extensions; do
18565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18566 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18577 PYTHON=$ac_cv_path_PYTHON
18578 if test -n "$PYTHON"; then
18579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
18580 $as_echo "$PYTHON" >&6; }
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18583 $as_echo "no" >&6; }
18588 am_display_PYTHON=$am_cv_pathless_PYTHON
18592 if test "$PYTHON" = :; then
18593 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
18598 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
18599 if ${am_cv_python_version+:} false; then :
18600 $as_echo_n "(cached) " >&6
18602 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
18605 $as_echo "$am_cv_python_version" >&6; }
18606 PYTHON_VERSION=$am_cv_python_version
18610 PYTHON_PREFIX='${prefix}'
18612 PYTHON_EXEC_PREFIX='${exec_prefix}'
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
18617 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
18618 if ${am_cv_python_platform+:} false; then :
18619 $as_echo_n "(cached) " >&6
18621 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
18624 $as_echo "$am_cv_python_platform" >&6; }
18625 PYTHON_PLATFORM=$am_cv_python_platform
18628 # Just factor out some code duplication.
18629 am_python_setup_sysconfig="\
18631 # Prefer sysconfig over distutils.sysconfig, for better compatibility
18632 # with python 3.x. See automake bug#10227.
18635 except ImportError:
18636 can_use_sysconfig = 0
18638 can_use_sysconfig = 1
18639 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
18640 # <https://github.com/pypa/virtualenv/issues/118>
18642 from platform import python_implementation
18643 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
18644 can_use_sysconfig = 0
18645 except ImportError:
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
18650 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
18651 if ${am_cv_python_pythondir+:} false; then :
18652 $as_echo_n "(cached) " >&6
18654 if test "x$prefix" = xNONE
18656 am_py_prefix=$ac_default_prefix
18658 am_py_prefix=$prefix
18660 am_cv_python_pythondir=`$PYTHON -c "
18661 $am_python_setup_sysconfig
18662 if can_use_sysconfig:
18663 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
18665 from distutils import sysconfig
18666 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
18667 sys.stdout.write(sitedir)"`
18668 case $am_cv_python_pythondir in
18670 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
18671 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
18674 case $am_py_prefix in
18677 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
18685 $as_echo "$am_cv_python_pythondir" >&6; }
18686 pythondir=$am_cv_python_pythondir
18690 pkgpythondir=\${pythondir}/$PACKAGE
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
18694 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
18695 if ${am_cv_python_pyexecdir+:} false; then :
18696 $as_echo_n "(cached) " >&6
18698 if test "x$exec_prefix" = xNONE
18700 am_py_exec_prefix=$am_py_prefix
18702 am_py_exec_prefix=$exec_prefix
18704 am_cv_python_pyexecdir=`$PYTHON -c "
18705 $am_python_setup_sysconfig
18706 if can_use_sysconfig:
18707 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
18709 from distutils import sysconfig
18710 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
18711 sys.stdout.write(sitedir)"`
18712 case $am_cv_python_pyexecdir in
18713 $am_py_exec_prefix*)
18714 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
18715 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
18718 case $am_py_exec_prefix in
18721 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
18729 $as_echo "$am_cv_python_pyexecdir" >&6; }
18730 pyexecdir=$am_cv_python_pyexecdir
18734 pkgpyexecdir=\${pyexecdir}/$PACKAGE
18742 PYGOBJECT_REQUIRED=3.0.0
18744 if test -n "$PKG_CONFIG" && \
18745 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
18746 ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
18748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18749 test $ac_status = 0; }; then
18750 enable_pygobject=yes
18752 enable_pygobject=no
18755 if test "x$enable_pygobject" = "xyes"; then
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5
18759 $as_echo_n "checking for PYTHON... " >&6; }
18761 if test -n "$PYTHON_CFLAGS"; then
18762 pkg_cv_PYTHON_CFLAGS="$PYTHON_CFLAGS"
18763 elif test -n "$PKG_CONFIG"; then
18764 if test -n "$PKG_CONFIG" && \
18765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
18766 ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
18768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18769 test $ac_status = 0; }; then
18770 pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
18771 test "x$?" != "x0" && pkg_failed=yes
18778 if test -n "$PYTHON_LIBS"; then
18779 pkg_cv_PYTHON_LIBS="$PYTHON_LIBS"
18780 elif test -n "$PKG_CONFIG"; then
18781 if test -n "$PKG_CONFIG" && \
18782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
18783 ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
18785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18786 test $ac_status = 0; }; then
18787 pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
18788 test "x$?" != "x0" && pkg_failed=yes
18798 if test $pkg_failed = yes; then
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18800 $as_echo "no" >&6; }
18802 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18803 _pkg_short_errors_supported=yes
18805 _pkg_short_errors_supported=no
18807 if test $_pkg_short_errors_supported = yes; then
18808 PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>&1`
18810 PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>&1`
18812 # Put the nasty error message in config.log where it belongs
18813 echo "$PYTHON_PKG_ERRORS" >&5
18815 as_fn_error $? "Package requirements (pygobject-3.0 >= $PYGOBJECT_REQUIRED) were not met:
18819 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18820 installed software in a non-standard prefix.
18822 Alternatively, you may set the environment variables PYTHON_CFLAGS
18823 and PYTHON_LIBS to avoid the need to call pkg-config.
18824 See the pkg-config man page for more details." "$LINENO" 5
18825 elif test $pkg_failed = untried; then
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18827 $as_echo "no" >&6; }
18828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18830 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18831 is in your PATH or set the PKG_CONFIG environment variable to the full
18832 path to pkg-config.
18834 Alternatively, you may set the environment variables PYTHON_CFLAGS
18835 and PYTHON_LIBS to avoid the need to call pkg-config.
18836 See the pkg-config man page for more details.
18838 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18839 See \`config.log' for more details" "$LINENO" 5; }
18841 PYTHON_CFLAGS=$pkg_cv_PYTHON_CFLAGS
18842 PYTHON_LIBS=$pkg_cv_PYTHON_LIBS
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18844 $as_echo "yes" >&6; }
18848 pyoverridesdir=`$PYTHON -c "import gi; print(gi._overridesdir)"`
18852 if test x"$enable_pygobject" = "xyes"; then
18853 ENABLE_PYGOBJECT_TRUE=
18854 ENABLE_PYGOBJECT_FALSE='#'
18856 ENABLE_PYGOBJECT_TRUE='#'
18857 ENABLE_PYGOBJECT_FALSE=
18861 if test x"$enable_python_library" = x"yes"; then
18863 # Extract the first word of "python$PYTHON_VERSION-config", so it can be a program name with args.
18864 set dummy python$PYTHON_VERSION-config; ac_word=$2
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18866 $as_echo_n "checking for $ac_word... " >&6; }
18867 if ${ac_cv_path_PYTHON_CONFIG+:} false; then :
18868 $as_echo_n "(cached) " >&6
18870 case $PYTHON_CONFIG in
18872 ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path.
18875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18876 for as_dir in $PATH
18879 test -z "$as_dir" && as_dir=.
18880 for ac_exec_ext in '' $ac_executable_extensions; do
18881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18882 ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18893 PYTHON_CONFIG=$ac_cv_path_PYTHON_CONFIG
18894 if test -n "$PYTHON_CONFIG"; then
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
18896 $as_echo "$PYTHON_CONFIG" >&6; }
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18899 $as_echo "no" >&6; }
18903 if test x"$PYTHON_CONFIG" = x""; then
18904 # Extract the first word of "python-config", so it can be a program name with args.
18905 set dummy python-config; ac_word=$2
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18907 $as_echo_n "checking for $ac_word... " >&6; }
18908 if ${ac_cv_path_PYTHON_CONFIG+:} false; then :
18909 $as_echo_n "(cached) " >&6
18911 case $PYTHON_CONFIG in
18913 ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path.
18916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18917 for as_dir in $PATH
18920 test -z "$as_dir" && as_dir=.
18921 for ac_exec_ext in '' $ac_executable_extensions; do
18922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18923 ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18934 PYTHON_CONFIG=$ac_cv_path_PYTHON_CONFIG
18935 if test -n "$PYTHON_CONFIG"; then
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
18937 $as_echo "$PYTHON_CONFIG" >&6; }
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18940 $as_echo "no" >&6; }
18945 if test x"$PYTHON_CONFIG" != x""; then
18946 PYTHON_CFLAGS=`$PYTHON_CONFIG --includes`
18947 PYTHON_LIBS=`$PYTHON_CONFIG --libs`
18949 PYTHON_CFLAGS=`$PYTHON $srcdir/python-config.py --includes`
18950 PYTHON_LIBS=`$PYTHON $srcdir/python-config.py --libs`
18952 PYTHON_INCLUDES="$PYTHON_CFLAGS"
18957 enable_python_library="no (disabled, use --enable-python-library to enable)"
18960 # Define gtk2 immodule dir.
18962 # Check whether --with-gtk2-im-module-dir was given.
18963 if test "${with_gtk2_im_module_dir+set}" = set; then :
18964 withval=$with_gtk2_im_module_dir; GTK2_IM_MODULEDIR=$with_gtk2_im_module_dir
18970 # Define gtk3 immodule dir.
18972 # Check whether --with-gtk3-im-module-dir was given.
18973 if test "${with_gtk3_im_module_dir+set}" = set; then :
18974 withval=$with_gtk3_im_module_dir; GTK3_IM_MODULEDIR=$with_gtk3_im_module_dir
18980 if test x"$enable_python" = x"yes"; then
18981 # Check for dbus-python.
18982 # Check whether --enable-dbus-python-check was given.
18983 if test "${enable_dbus_python_check+set}" = set; then :
18984 enableval=$enable_dbus_python_check; enable_dbus_python_check=$enableval
18986 enable_dbus_python_check=yes
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_PYTHON" >&5
18993 $as_echo_n "checking for DBUS_PYTHON... " >&6; }
18995 if test -n "$DBUS_PYTHON_CFLAGS"; then
18996 pkg_cv_DBUS_PYTHON_CFLAGS="$DBUS_PYTHON_CFLAGS"
18997 elif test -n "$PKG_CONFIG"; then
18998 if test -n "$PKG_CONFIG" && \
18999 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-python >= 0.83.0\""; } >&5
19000 ($PKG_CONFIG --exists --print-errors "dbus-python >= 0.83.0") 2>&5
19002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19003 test $ac_status = 0; }; then
19004 pkg_cv_DBUS_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "dbus-python >= 0.83.0" 2>/dev/null`
19005 test "x$?" != "x0" && pkg_failed=yes
19012 if test -n "$DBUS_PYTHON_LIBS"; then
19013 pkg_cv_DBUS_PYTHON_LIBS="$DBUS_PYTHON_LIBS"
19014 elif test -n "$PKG_CONFIG"; then
19015 if test -n "$PKG_CONFIG" && \
19016 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-python >= 0.83.0\""; } >&5
19017 ($PKG_CONFIG --exists --print-errors "dbus-python >= 0.83.0") 2>&5
19019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19020 test $ac_status = 0; }; then
19021 pkg_cv_DBUS_PYTHON_LIBS=`$PKG_CONFIG --libs "dbus-python >= 0.83.0" 2>/dev/null`
19022 test "x$?" != "x0" && pkg_failed=yes
19032 if test $pkg_failed = yes; then
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19034 $as_echo "no" >&6; }
19036 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19037 _pkg_short_errors_supported=yes
19039 _pkg_short_errors_supported=no
19041 if test $_pkg_short_errors_supported = yes; then
19042 DBUS_PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-python >= 0.83.0" 2>&1`
19044 DBUS_PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-python >= 0.83.0" 2>&1`
19046 # Put the nasty error message in config.log where it belongs
19047 echo "$DBUS_PYTHON_PKG_ERRORS" >&5
19049 IBUS_HAS_DBUS_PYTHON=no
19051 elif test $pkg_failed = untried; then
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19053 $as_echo "no" >&6; }
19054 IBUS_HAS_DBUS_PYTHON=no
19057 DBUS_PYTHON_CFLAGS=$pkg_cv_DBUS_PYTHON_CFLAGS
19058 DBUS_PYTHON_LIBS=$pkg_cv_DBUS_PYTHON_LIBS
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19060 $as_echo "yes" >&6; }
19061 IBUS_HAS_DBUS_PYTHON=yes
19063 if test x"$IBUS_HAS_DBUS_PYTHON" != x"yes"; then
19064 if test x"$enable_dbus_python_check" != x"no"; then
19065 as_fn_error $? "can not find dbus-python >= 0.83.0. Please install or update dbus-python." "$LINENO" 5
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can not find dbus-python >= 0.83.0. It is required." >&5
19068 $as_echo "$as_me: WARNING: can not find dbus-python >= 0.83.0. It is required." >&2;}
19073 # Option for always disable snooper applications.
19074 # Check whether --enable-key-snooper was given.
19075 if test "${enable_key_snooper+set}" = set; then :
19076 enableval=$enable_key_snooper; enable_key_snooper=$enableval
19078 enable_key_snooper=yes
19082 if test x"$enable_key_snooper" = x"yes"; then
19084 $as_echo "#define ENABLE_SNOOPER TRUE" >>confdefs.h
19088 $as_echo "#define ENABLE_SNOOPER FALSE" >>confdefs.h
19090 enable_key_snooper="no (disabled, use --enable-key-snooper to enable)"
19093 # Option for no snooper applications.
19095 # Check whether --with-no-snooper-apps was given.
19096 if test "${with_no_snooper_apps+set}" = set; then :
19097 withval=$with_no_snooper_apps; NO_SNOOPER_APPS=$with_no_snooper_apps
19099 NO_SNOOPER_APPS=.*chrome.*,.*chromium.*,firefox.*,Do.*
19104 cat >>confdefs.h <<_ACEOF
19105 #define NO_SNOOPER_APPS "$NO_SNOOPER_APPS"
19109 # GNOME 3 uses the theme's icon.
19111 # Check whether --with-panel-icon-keyboard was given.
19112 if test "${with_panel_icon_keyboard+set}" = set; then :
19113 withval=$with_panel_icon_keyboard; if test x"$with_panel_icon_keyboard" = x"yes" -o \
19114 x"$with_panel_icon_keyboard" = x; then
19115 with_panel_icon_keyboard="input-keyboard-symbolic"
19117 if test x"$with_panel_icon_keyboard" = x"legacy"; then
19118 with_panel_icon_keyboard="ibus-keyboard"
19120 IBUS_ICON_KEYBOARD=$with_panel_icon_keyboard
19123 IBUS_ICON_KEYBOARD="ibus-keyboard"
19129 # --disable-surrounding-text option.
19130 # Check whether --enable-surrounding-text was given.
19131 if test "${enable_surrounding_text+set}" = set; then :
19132 enableval=$enable_surrounding_text; enable_surrounding_text=$enableval
19134 enable_surrounding_text=yes
19138 if test x"$enable_surrounding_text" = x"yes"; then
19140 $as_echo "#define ENABLE_SURROUNDING TRUE" >>confdefs.h
19143 enable_surrounding_text="no (disabled, use --enable-surrounding-text to enable)"
19147 # Check whether --enable-ui was given.
19148 if test "${enable_ui+set}" = set; then :
19149 enableval=$enable_ui; enable_ui=$enableval
19155 if test x"$enable_ui" = x"yes"; then
19157 ENABLE_UI_FALSE='#'
19163 if test x"$enable_ui" = x"yes"; then
19164 enable_ui="yes (enabled, use --disable-ui to disable)"
19168 # Check whether --enable-engine was given.
19169 if test "${enable_engine+set}" = set; then :
19170 enableval=$enable_engine; enable_engine=$enableval
19176 if test x"$enable_engine" = x"yes"; then
19177 ENABLE_ENGINE_TRUE=
19178 ENABLE_ENGINE_FALSE='#'
19180 ENABLE_ENGINE_TRUE='#'
19181 ENABLE_ENGINE_FALSE=
19184 if test x"$enable_engine" = x"yes"; then
19185 enable_engine="yes (enabled, use --disable-engine to disable)"
19188 # --disable-libnotify
19189 # Check whether --enable-libnotify was given.
19190 if test "${enable_libnotify+set}" = set; then :
19191 enableval=$enable_libnotify; enable_libnotify=$enableval
19193 enable_libnotify=yes
19197 if test x"$enable_libnotify" = x"yes"; then
19198 ENABLE_LIBNOTIFY_TRUE=
19199 ENABLE_LIBNOTIFY_FALSE='#'
19201 ENABLE_LIBNOTIFY_TRUE='#'
19202 ENABLE_LIBNOTIFY_FALSE=
19205 if test x"$enable_libnotify" = x"yes"; then
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
19209 $as_echo_n "checking for LIBNOTIFY... " >&6; }
19211 if test -n "$LIBNOTIFY_CFLAGS"; then
19212 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
19213 elif test -n "$PKG_CONFIG"; then
19214 if test -n "$PKG_CONFIG" && \
19215 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
19218 ($PKG_CONFIG --exists --print-errors "
19222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19223 test $ac_status = 0; }; then
19224 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "
19227 test "x$?" != "x0" && pkg_failed=yes
19234 if test -n "$LIBNOTIFY_LIBS"; then
19235 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
19236 elif test -n "$PKG_CONFIG"; then
19237 if test -n "$PKG_CONFIG" && \
19238 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
19241 ($PKG_CONFIG --exists --print-errors "
19245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19246 test $ac_status = 0; }; then
19247 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "
19250 test "x$?" != "x0" && pkg_failed=yes
19260 if test $pkg_failed = yes; then
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19262 $as_echo "no" >&6; }
19264 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19265 _pkg_short_errors_supported=yes
19267 _pkg_short_errors_supported=no
19269 if test $_pkg_short_errors_supported = yes; then
19270 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
19274 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
19278 # Put the nasty error message in config.log where it belongs
19279 echo "$LIBNOTIFY_PKG_ERRORS" >&5
19281 as_fn_error $? "Package requirements (
19285 $LIBNOTIFY_PKG_ERRORS
19287 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19288 installed software in a non-standard prefix.
19290 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
19291 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
19292 See the pkg-config man page for more details." "$LINENO" 5
19293 elif test $pkg_failed = untried; then
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19295 $as_echo "no" >&6; }
19296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19298 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19299 is in your PATH or set the PKG_CONFIG environment variable to the full
19300 path to pkg-config.
19302 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
19303 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
19304 See the pkg-config man page for more details.
19306 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19307 See \`config.log' for more details" "$LINENO" 5; }
19309 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
19310 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19312 $as_echo "yes" >&6; }
19315 enable_libnotify="yes (enabled, use --disable-libnotify to disable)"
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISOCODES" >&5
19322 $as_echo_n "checking for ISOCODES... " >&6; }
19324 if test -n "$ISOCODES_CFLAGS"; then
19325 pkg_cv_ISOCODES_CFLAGS="$ISOCODES_CFLAGS"
19326 elif test -n "$PKG_CONFIG"; then
19327 if test -n "$PKG_CONFIG" && \
19328 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
19331 ($PKG_CONFIG --exists --print-errors "
19335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19336 test $ac_status = 0; }; then
19337 pkg_cv_ISOCODES_CFLAGS=`$PKG_CONFIG --cflags "
19340 test "x$?" != "x0" && pkg_failed=yes
19347 if test -n "$ISOCODES_LIBS"; then
19348 pkg_cv_ISOCODES_LIBS="$ISOCODES_LIBS"
19349 elif test -n "$PKG_CONFIG"; then
19350 if test -n "$PKG_CONFIG" && \
19351 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
19354 ($PKG_CONFIG --exists --print-errors "
19358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19359 test $ac_status = 0; }; then
19360 pkg_cv_ISOCODES_LIBS=`$PKG_CONFIG --libs "
19363 test "x$?" != "x0" && pkg_failed=yes
19373 if test $pkg_failed = yes; then
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19375 $as_echo "no" >&6; }
19377 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19378 _pkg_short_errors_supported=yes
19380 _pkg_short_errors_supported=no
19382 if test $_pkg_short_errors_supported = yes; then
19383 ISOCODES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
19387 ISOCODES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
19391 # Put the nasty error message in config.log where it belongs
19392 echo "$ISOCODES_PKG_ERRORS" >&5
19394 as_fn_error $? "Package requirements (
19398 $ISOCODES_PKG_ERRORS
19400 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19401 installed software in a non-standard prefix.
19403 Alternatively, you may set the environment variables ISOCODES_CFLAGS
19404 and ISOCODES_LIBS to avoid the need to call pkg-config.
19405 See the pkg-config man page for more details." "$LINENO" 5
19406 elif test $pkg_failed = untried; then
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19408 $as_echo "no" >&6; }
19409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19411 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19412 is in your PATH or set the PKG_CONFIG environment variable to the full
19413 path to pkg-config.
19415 Alternatively, you may set the environment variables ISOCODES_CFLAGS
19416 and ISOCODES_LIBS to avoid the need to call pkg-config.
19417 See the pkg-config man page for more details.
19419 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19420 See \`config.log' for more details" "$LINENO" 5; }
19422 ISOCODES_CFLAGS=$pkg_cv_ISOCODES_CFLAGS
19423 ISOCODES_LIBS=$pkg_cv_ISOCODES_LIBS
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19425 $as_echo "yes" >&6; }
19428 ISOCODES_PREFIX=`pkg-config iso-codes --variable=prefix`
19432 ac_config_files="$ac_config_files po/Makefile.in Makefile ibus-1.0.pc ibus.spec client/Makefile client/gtk2/Makefile client/gtk3/Makefile client/x11/Makefile client/wayland/Makefile src/Makefile src/ibusversion.h src/tests/Makefile bus/Makefile engine/Makefile util/Makefile util/IMdkit/Makefile data/Makefile data/icons/Makefile data/keymaps/Makefile data/dconf/Makefile docs/Makefile docs/reference/Makefile docs/reference/ibus/ibus-docs.sgml docs/reference/ibus/Makefile m4/Makefile ibus/_config.py ibus/Makefile ibus/interface/Makefile ui/Makefile ui/gtk3/Makefile setup/Makefile setup/ibus-setup bindings/Makefile bindings/pygobject/Makefile bindings/vala/Makefile conf/Makefile conf/gconf/Makefile conf/dconf/Makefile conf/memconf/Makefile tools/Makefile"
19435 cat >confcache <<\_ACEOF
19436 # This file is a shell script that caches the results of configure
19437 # tests run on this system so they can be shared between configure
19438 # scripts and configure runs, see configure's option --config-cache.
19439 # It is not useful on other systems. If it contains results you don't
19440 # want to keep, you may remove or edit it.
19442 # config.status only pays attention to the cache file if you give it
19443 # the --recheck option to rerun configure.
19445 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19446 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19447 # following values.
19451 # The following way of writing the cache mishandles newlines in values,
19452 # but we know of no workaround that is simple, portable, and efficient.
19453 # So, we kill variables containing newlines.
19454 # Ultrix sh set writes to stderr and can't be redirected directly,
19455 # and sets the high bit in the cache file unless we assign to the vars.
19457 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19458 eval ac_val=\$$ac_var
19462 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19463 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19466 _ | IFS | as_nl) ;; #(
19467 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19468 *) { eval $ac_var=; unset $ac_var;} ;;
19474 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19475 *${as_nl}ac_space=\ *)
19476 # `set' does not quote correctly, so add quotes: double-quote
19477 # substitution turns \\\\ into \\, and sed turns \\ into \.
19480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19483 # `set' quotes correctly as required by POSIX, so do not add quotes.
19484 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19493 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19495 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19497 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19498 if test -w "$cache_file"; then
19499 if test "x$cache_file" != "x/dev/null"; then
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19501 $as_echo "$as_me: updating cache $cache_file" >&6;}
19502 if test ! -f "$cache_file" || test -h "$cache_file"; then
19503 cat confcache >"$cache_file"
19505 case $cache_file in #(
19507 mv -f confcache "$cache_file"$$ &&
19508 mv -f "$cache_file"$$ "$cache_file" ;; #(
19510 mv -f confcache "$cache_file" ;;
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19516 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19521 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19522 # Let make expand exec_prefix.
19523 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19525 DEFS=-DHAVE_CONFIG_H
19530 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19531 # 1. Remove the extension, and $U if already installed.
19532 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19533 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19534 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19535 # will be set to the directory where LIBOBJS objects are built.
19536 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19537 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19539 LIBOBJS=$ac_libobjs
19541 LTLIBOBJS=$ac_ltlibobjs
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19545 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19546 if test -n "$am_sleep_pid"; then
19547 # Hide warnings about reused PIDs.
19548 wait $am_sleep_pid 2>/dev/null
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19551 $as_echo "done" >&6; }
19552 if test -n "$EXEEXT"; then
19554 am__EXEEXT_FALSE='#'
19556 am__EXEEXT_TRUE='#'
19560 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19561 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19564 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19565 as_fn_error $? "conditional \"AMDEP\" was never defined.
19566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19568 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19569 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19572 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19573 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19577 ac_config_commands="$ac_config_commands po/stamp-it"
19580 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19581 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
19582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19584 if test -z "${ENABLE_GTK2_TRUE}" && test -z "${ENABLE_GTK2_FALSE}"; then
19585 as_fn_error $? "conditional \"ENABLE_GTK2\" was never defined.
19586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19588 if test -z "${ENABLE_GTK3_TRUE}" && test -z "${ENABLE_GTK3_FALSE}"; then
19589 as_fn_error $? "conditional \"ENABLE_GTK3\" was never defined.
19590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19592 if test -z "${ENABLE_XIM_TRUE}" && test -z "${ENABLE_XIM_FALSE}"; then
19593 as_fn_error $? "conditional \"ENABLE_XIM\" was never defined.
19594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19596 if test -z "${ENABLE_WAYLAND_TRUE}" && test -z "${ENABLE_WAYLAND_FALSE}"; then
19597 as_fn_error $? "conditional \"ENABLE_WAYLAND\" was never defined.
19598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19600 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19601 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
19602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19604 if test -z "${ENABLE_VAPIGEN_TRUE}" && test -z "${ENABLE_VAPIGEN_FALSE}"; then
19605 as_fn_error $? "conditional \"ENABLE_VAPIGEN\" was never defined.
19606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19608 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
19609 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
19610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19612 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
19613 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19616 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
19617 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19620 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
19621 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
19622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19624 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
19625 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
19626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19628 if test -z "${ENABLE_GCONF_TRUE}" && test -z "${ENABLE_GCONF_FALSE}"; then
19629 as_fn_error $? "conditional \"ENABLE_GCONF\" was never defined.
19630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19632 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
19633 as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
19634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19636 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
19637 as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
19638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19640 if test -z "${ENABLE_MEMCONF_TRUE}" && test -z "${ENABLE_MEMCONF_FALSE}"; then
19641 as_fn_error $? "conditional \"ENABLE_MEMCONF\" was never defined.
19642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19644 if test -z "${ENABLE_DCONF_TRUE}" && test -z "${ENABLE_DCONF_FALSE}"; then
19645 as_fn_error $? "conditional \"ENABLE_DCONF\" was never defined.
19646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19648 if test -z "${ENABLE_PYTHON_LIBRARY_TRUE}" && test -z "${ENABLE_PYTHON_LIBRARY_FALSE}"; then
19649 as_fn_error $? "conditional \"ENABLE_PYTHON_LIBRARY\" was never defined.
19650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19652 if test -z "${ENABLE_SETUP_TRUE}" && test -z "${ENABLE_SETUP_FALSE}"; then
19653 as_fn_error $? "conditional \"ENABLE_SETUP\" was never defined.
19654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19656 if test -z "${ENABLE_DAEMON_TRUE}" && test -z "${ENABLE_DAEMON_FALSE}"; then
19657 as_fn_error $? "conditional \"ENABLE_DAEMON\" was never defined.
19658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19660 if test -z "${ENABLE_PYGOBJECT_TRUE}" && test -z "${ENABLE_PYGOBJECT_FALSE}"; then
19661 as_fn_error $? "conditional \"ENABLE_PYGOBJECT\" was never defined.
19662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19664 if test -z "${ENABLE_UI_TRUE}" && test -z "${ENABLE_UI_FALSE}"; then
19665 as_fn_error $? "conditional \"ENABLE_UI\" was never defined.
19666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19668 if test -z "${ENABLE_ENGINE_TRUE}" && test -z "${ENABLE_ENGINE_FALSE}"; then
19669 as_fn_error $? "conditional \"ENABLE_ENGINE\" was never defined.
19670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19672 if test -z "${ENABLE_LIBNOTIFY_TRUE}" && test -z "${ENABLE_LIBNOTIFY_FALSE}"; then
19673 as_fn_error $? "conditional \"ENABLE_LIBNOTIFY\" was never defined.
19674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19677 : "${CONFIG_STATUS=./config.status}"
19679 ac_clean_files_save=$ac_clean_files
19680 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19682 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19684 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19686 # Generated by $as_me.
19687 # Run this file to recreate the current configuration.
19688 # Compiler output produced by configure, useful for debugging
19689 # configure, is in config.log if it exists.
19692 ac_cs_recheck=false
19695 SHELL=\${CONFIG_SHELL-$SHELL}
19698 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19699 ## -------------------- ##
19700 ## M4sh Initialization. ##
19701 ## -------------------- ##
19703 # Be more Bourne compatible
19704 DUALCASE=1; export DUALCASE # for MKS sh
19705 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19708 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19709 # is contrary to our usage. Disable this feature.
19710 alias -g '${1+"$@"}'='"$@"'
19711 setopt NO_GLOB_SUBST
19713 case `(set -o) 2>/dev/null` in #(
19725 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19726 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19727 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19728 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19729 # Prefer a ksh shell builtin over an external printf program on Solaris,
19730 # but without wasting forks for bash or zsh.
19731 if test -z "$BASH_VERSION$ZSH_VERSION" \
19732 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19733 as_echo='print -r --'
19734 as_echo_n='print -rn --'
19735 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19736 as_echo='printf %s\n'
19737 as_echo_n='printf %s'
19739 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19740 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19741 as_echo_n='/usr/ucb/echo -n'
19743 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19744 as_echo_n_body='eval
19748 expr "X$arg" : "X\\(.*\\)$as_nl";
19749 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19751 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19753 export as_echo_n_body
19754 as_echo_n='sh -c $as_echo_n_body as_echo'
19756 export as_echo_body
19757 as_echo='sh -c $as_echo_body as_echo'
19760 # The user is always right.
19761 if test "${PATH_SEPARATOR+set}" != set; then
19763 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19764 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19771 # We need space, tab and new line, in precisely that order. Quoting is
19772 # there to prevent editors from complaining about space-tab.
19773 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19774 # splitting by setting IFS to empty value.)
19777 # Find who we are. Look in the path if we contain no directory separator.
19780 *[\\/]* ) as_myself=$0 ;;
19781 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19782 for as_dir in $PATH
19785 test -z "$as_dir" && as_dir=.
19786 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19792 # We did not find ourselves, most probably we were run as `sh COMMAND'
19793 # in which case we are not to be found in the path.
19794 if test "x$as_myself" = x; then
19797 if test ! -f "$as_myself"; then
19798 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19802 # Unset variables that we do not need and which cause bugs (e.g. in
19803 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19804 # suppresses any "Segmentation fault" message there. '((' could
19805 # trigger a bug in pdksh 5.2.14.
19806 for as_var in BASH_ENV ENV MAIL MAILPATH
19807 do eval test x\${$as_var+set} = xset \
19808 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19821 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19824 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19825 # ----------------------------------------
19826 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19827 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19828 # script with STATUS, using 1 if that was 0.
19831 as_status=$1; test $as_status -eq 0 && as_status=1
19833 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19834 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19836 $as_echo "$as_me: error: $2" >&2
19837 as_fn_exit $as_status
19841 # as_fn_set_status STATUS
19842 # -----------------------
19843 # Set $? to STATUS, without forking.
19844 as_fn_set_status ()
19847 } # as_fn_set_status
19849 # as_fn_exit STATUS
19850 # -----------------
19851 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19855 as_fn_set_status $1
19861 # Portably unset VAR.
19864 { eval $1=; unset $1;}
19866 as_unset=as_fn_unset
19867 # as_fn_append VAR VALUE
19868 # ----------------------
19869 # Append the text in VALUE to the end of the definition contained in VAR. Take
19870 # advantage of any shell optimizations that allow amortized linear growth over
19871 # repeated appends, instead of the typical quadratic growth present in naive
19873 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19874 eval 'as_fn_append ()
19885 # as_fn_arith ARG...
19886 # ------------------
19887 # Perform arithmetic evaluation on the ARGs, and store the result in the
19888 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19889 # must be portable across $(()) and expr.
19890 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19891 eval 'as_fn_arith ()
19898 as_val=`expr "$@" || test $? -eq 1`
19903 if expr a : '\(a\)' >/dev/null 2>&1 &&
19904 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19910 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19911 as_basename=basename
19916 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19922 as_me=`$as_basename -- "$0" ||
19923 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19924 X"$0" : 'X\(//\)$' \| \
19925 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19927 sed '/^.*\/\([^/][^/]*\)\/*$/{
19941 # Avoid depending upon Character Ranges.
19942 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19943 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19944 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19945 as_cr_digits='0123456789'
19946 as_cr_alnum=$as_cr_Letters$as_cr_digits
19948 ECHO_C= ECHO_N= ECHO_T=
19949 case `echo -n x` in #(((((
19951 case `echo 'xy\c'` in
19952 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19954 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19961 rm -f conf$$ conf$$.exe conf$$.file
19962 if test -d conf$$.dir; then
19963 rm -f conf$$.dir/conf$$.file
19966 mkdir conf$$.dir 2>/dev/null
19968 if (echo >conf$$.file) 2>/dev/null; then
19969 if ln -s conf$$.file conf$$ 2>/dev/null; then
19971 # ... but there are two gotchas:
19972 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19973 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19974 # In both cases, we have to default to `cp -pR'.
19975 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19977 elif ln conf$$.file conf$$ 2>/dev/null; then
19985 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19986 rmdir conf$$.dir 2>/dev/null
19991 # Create "$as_dir" as a directory, including parents if necessary.
19996 -*) as_dir=./$as_dir;;
19998 test -d "$as_dir" || eval $as_mkdir_p || {
20002 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20003 *) as_qdir=$as_dir;;
20005 as_dirs="'$as_qdir' $as_dirs"
20006 as_dir=`$as_dirname -- "$as_dir" ||
20007 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20008 X"$as_dir" : 'X\(//\)[^/]' \| \
20009 X"$as_dir" : 'X\(//\)$' \| \
20010 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20011 $as_echo X"$as_dir" |
20012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20016 /^X\(\/\/\)[^/].*/{
20029 test -d "$as_dir" && break
20031 test -z "$as_dirs" || eval "mkdir $as_dirs"
20032 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20036 if mkdir -p . 2>/dev/null; then
20037 as_mkdir_p='mkdir -p "$as_dir"'
20039 test -d ./-p && rmdir ./-p
20044 # as_fn_executable_p FILE
20045 # -----------------------
20046 # Test if FILE is an executable regular file.
20047 as_fn_executable_p ()
20049 test -f "$1" && test -x "$1"
20050 } # as_fn_executable_p
20051 as_test_x='test -x'
20052 as_executable_p=as_fn_executable_p
20054 # Sed expression to map a string onto a valid CPP name.
20055 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20057 # Sed expression to map a string onto a valid variable name.
20058 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20062 ## ----------------------------------- ##
20063 ## Main body of $CONFIG_STATUS script. ##
20064 ## ----------------------------------- ##
20066 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20069 # Save the log message, to keep $0 and so on meaningful, and to
20070 # report actual input values of CONFIG_FILES etc. instead of their
20071 # values after options handling.
20073 This file was extended by ibus $as_me 1.5.4, which was
20074 generated by GNU Autoconf 2.69. Invocation command line was
20076 CONFIG_FILES = $CONFIG_FILES
20077 CONFIG_HEADERS = $CONFIG_HEADERS
20078 CONFIG_LINKS = $CONFIG_LINKS
20079 CONFIG_COMMANDS = $CONFIG_COMMANDS
20082 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20087 case $ac_config_files in *"
20088 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20091 case $ac_config_headers in *"
20092 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20097 # Files that config.status was made for.
20098 config_files="$ac_config_files"
20099 config_headers="$ac_config_headers"
20100 config_commands="$ac_config_commands"
20104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20106 \`$as_me' instantiates files and other configuration actions
20107 from templates according to the current configuration. Unless the files
20108 and actions are specified as TAGs, all are instantiated by default.
20110 Usage: $0 [OPTION]... [TAG]...
20112 -h, --help print this help, then exit
20113 -V, --version print version number and configuration settings, then exit
20114 --config print configuration, then exit
20115 -q, --quiet, --silent
20116 do not print progress messages
20117 -d, --debug don't remove temporary files
20118 --recheck update $as_me by reconfiguring in the same conditions
20119 --file=FILE[:TEMPLATE]
20120 instantiate the configuration file FILE
20121 --header=FILE[:TEMPLATE]
20122 instantiate the configuration header FILE
20124 Configuration files:
20127 Configuration headers:
20130 Configuration commands:
20133 Report bugs to <http://code.google.com/p/ibus/issues/entry>."
20136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20137 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20139 ibus config.status 1.5.4
20140 configured by $0, generated by GNU Autoconf 2.69,
20141 with options \\"\$ac_cs_config\\"
20143 Copyright (C) 2012 Free Software Foundation, Inc.
20144 This config.status script is free software; the Free Software Foundation
20145 gives unlimited permission to copy, distribute and modify it."
20152 test -n "\$AWK" || AWK=awk
20155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20156 # The default lists apply if the user does not specify any file.
20162 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20163 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20167 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20179 # Handling of the options.
20180 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20182 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20183 $as_echo "$ac_cs_version"; exit ;;
20184 --config | --confi | --conf | --con | --co | --c )
20185 $as_echo "$ac_cs_config"; exit ;;
20186 --debug | --debu | --deb | --de | --d | -d )
20188 --file | --fil | --fi | --f )
20191 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20192 '') as_fn_error $? "missing file argument" ;;
20194 as_fn_append CONFIG_FILES " '$ac_optarg'"
20195 ac_need_defaults=false;;
20196 --header | --heade | --head | --hea )
20199 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20201 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20202 ac_need_defaults=false;;
20204 # Conflict between --help and --header
20205 as_fn_error $? "ambiguous option: \`$1'
20206 Try \`$0 --help' for more information.";;
20207 --help | --hel | -h )
20208 $as_echo "$ac_cs_usage"; exit ;;
20209 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20210 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20213 # This is an error.
20214 -*) as_fn_error $? "unrecognized option: \`$1'
20215 Try \`$0 --help' for more information." ;;
20217 *) as_fn_append ac_config_targets " $1"
20218 ac_need_defaults=false ;;
20224 ac_configure_extra_args=
20226 if $ac_cs_silent; then
20228 ac_configure_extra_args="$ac_configure_extra_args --silent"
20232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20233 if \$ac_cs_recheck; then
20234 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20236 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20237 CONFIG_SHELL='$SHELL'
20238 export CONFIG_SHELL
20243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20247 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20248 ## Running $as_me. ##
20254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20258 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20263 # The HP-UX ksh and POSIX shell print the target directory to stdout
20264 # if CDPATH is set.
20265 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20267 sed_quote_subst='$sed_quote_subst'
20268 double_quote_subst='$double_quote_subst'
20269 delay_variable_subst='$delay_variable_subst'
20270 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20271 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20272 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20273 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20274 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20275 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20276 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20277 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20278 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20279 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20280 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20281 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20282 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20283 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20284 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20285 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20286 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20287 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20288 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20289 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20290 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20291 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20292 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20293 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20294 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20295 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20296 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20297 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20298 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20299 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20300 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20301 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20302 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20303 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20304 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20305 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20306 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20307 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20308 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20309 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20310 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20311 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20312 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20313 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20314 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20315 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20316 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20317 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20318 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20319 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20320 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20321 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20322 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20323 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20324 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20325 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20326 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"`'
20327 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20328 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20329 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20330 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20331 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20332 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20333 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20334 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20335 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20336 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20337 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20338 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20339 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20340 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20341 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20342 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20343 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20344 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20345 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20346 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20347 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20348 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20349 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20350 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20351 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20352 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20353 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20354 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20355 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20356 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20357 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20358 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20359 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20360 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20361 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20362 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20363 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20364 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20365 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20366 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20367 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20368 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20369 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20370 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20371 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20372 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20373 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20374 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20375 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20376 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20377 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20378 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20379 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20380 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20381 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20382 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20383 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20384 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20385 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20386 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20387 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20388 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20389 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20390 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20391 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20392 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20393 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20394 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20395 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20396 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20397 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20398 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20399 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20402 LTCFLAGS='$LTCFLAGS'
20403 compiler='$compiler_DEFAULT'
20405 # A function that is used when there is no print builtin or printf.
20406 func_fallback_echo ()
20408 eval 'cat <<_LTECHO_EOF
20413 # Quote evaled strings.
20428 deplibs_check_method \
20433 sharedlib_from_linklib_cmd \
20436 archiver_list_spec \
20442 lt_cv_sys_global_symbol_pipe \
20443 lt_cv_sys_global_symbol_to_cdecl \
20444 lt_cv_sys_global_symbol_to_c_name_address \
20445 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20446 nm_file_list_spec \
20447 lt_prog_compiler_no_builtin_flag \
20448 lt_prog_compiler_pic \
20449 lt_prog_compiler_wl \
20450 lt_prog_compiler_static \
20451 lt_cv_prog_compiler_c_o \
20460 export_dynamic_flag_spec \
20461 whole_archive_flag_spec \
20462 compiler_needs_object \
20464 allow_undefined_flag \
20465 no_undefined_flag \
20466 hardcode_libdir_flag_spec \
20467 hardcode_libdir_separator \
20471 variables_saved_for_relink \
20473 library_names_spec \
20475 install_override_mode \
20479 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20480 *[\\\\\\\`\\"\\\$]*)
20481 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20484 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20489 # Double-quote double-evaled strings.
20490 for var in reload_cmds \
20491 old_postinstall_cmds \
20492 old_postuninstall_cmds \
20494 extract_expsyms_cmds \
20495 old_archive_from_new_cmds \
20496 old_archive_from_expsyms_cmds \
20498 archive_expsym_cmds \
20500 module_expsym_cmds \
20501 export_symbols_cmds \
20505 postuninstall_cmds \
20507 sys_lib_search_path_spec \
20508 sys_lib_dlsearch_path_spec; do
20509 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20510 *[\\\\\\\`\\"\\\$]*)
20511 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20514 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20519 ac_aux_dir='$ac_aux_dir'
20520 xsi_shell='$xsi_shell'
20521 lt_shell_append='$lt_shell_append'
20523 # See if we are running on zsh, and set the options which allow our
20524 # commands through without removal of \ escapes INIT.
20525 if test -n "\${ZSH_VERSION+set}" ; then
20526 setopt NO_GLOB_SUBST
20532 TIMESTAMP='$TIMESTAMP'
20541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20543 # Handling of arguments.
20544 for ac_config_target in $ac_config_targets
20546 case $ac_config_target in
20547 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20548 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20549 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
20550 "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
20551 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20552 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
20553 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20554 "ibus-1.0.pc") CONFIG_FILES="$CONFIG_FILES ibus-1.0.pc" ;;
20555 "ibus.spec") CONFIG_FILES="$CONFIG_FILES ibus.spec" ;;
20556 "client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;;
20557 "client/gtk2/Makefile") CONFIG_FILES="$CONFIG_FILES client/gtk2/Makefile" ;;
20558 "client/gtk3/Makefile") CONFIG_FILES="$CONFIG_FILES client/gtk3/Makefile" ;;
20559 "client/x11/Makefile") CONFIG_FILES="$CONFIG_FILES client/x11/Makefile" ;;
20560 "client/wayland/Makefile") CONFIG_FILES="$CONFIG_FILES client/wayland/Makefile" ;;
20561 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20562 "src/ibusversion.h") CONFIG_FILES="$CONFIG_FILES src/ibusversion.h" ;;
20563 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
20564 "bus/Makefile") CONFIG_FILES="$CONFIG_FILES bus/Makefile" ;;
20565 "engine/Makefile") CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;;
20566 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
20567 "util/IMdkit/Makefile") CONFIG_FILES="$CONFIG_FILES util/IMdkit/Makefile" ;;
20568 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
20569 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
20570 "data/keymaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/keymaps/Makefile" ;;
20571 "data/dconf/Makefile") CONFIG_FILES="$CONFIG_FILES data/dconf/Makefile" ;;
20572 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
20573 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
20574 "docs/reference/ibus/ibus-docs.sgml") CONFIG_FILES="$CONFIG_FILES docs/reference/ibus/ibus-docs.sgml" ;;
20575 "docs/reference/ibus/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/ibus/Makefile" ;;
20576 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
20577 "ibus/_config.py") CONFIG_FILES="$CONFIG_FILES ibus/_config.py" ;;
20578 "ibus/Makefile") CONFIG_FILES="$CONFIG_FILES ibus/Makefile" ;;
20579 "ibus/interface/Makefile") CONFIG_FILES="$CONFIG_FILES ibus/interface/Makefile" ;;
20580 "ui/Makefile") CONFIG_FILES="$CONFIG_FILES ui/Makefile" ;;
20581 "ui/gtk3/Makefile") CONFIG_FILES="$CONFIG_FILES ui/gtk3/Makefile" ;;
20582 "setup/Makefile") CONFIG_FILES="$CONFIG_FILES setup/Makefile" ;;
20583 "setup/ibus-setup") CONFIG_FILES="$CONFIG_FILES setup/ibus-setup" ;;
20584 "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
20585 "bindings/pygobject/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/pygobject/Makefile" ;;
20586 "bindings/vala/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/vala/Makefile" ;;
20587 "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
20588 "conf/gconf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/gconf/Makefile" ;;
20589 "conf/dconf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/dconf/Makefile" ;;
20590 "conf/memconf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/memconf/Makefile" ;;
20591 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20592 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
20594 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20599 # If the user did not use the arguments to specify the items to instantiate,
20600 # then the envvar interface is used. Set only those that are not.
20601 # We use the long form for the default assignment because of an extremely
20602 # bizarre bug on SunOS 4.1.3.
20603 if $ac_need_defaults; then
20604 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20605 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20606 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20609 # Have a temporary directory for convenience. Make it in the build tree
20610 # simply because there is no reason against having it here, and in addition,
20611 # creating and moving files from /tmp can sometimes cause problems.
20612 # Hook for its removal unless debugging.
20613 # Note that there is a small window in which the directory will not be cleaned:
20614 # after its creation but before its name has been assigned to `$tmp'.
20618 trap 'exit_status=$?
20619 : "${ac_tmp:=$tmp}"
20620 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20622 trap 'as_fn_exit 1' 1 2 13 15
20624 # Create a (secure) tmp directory for tmp files.
20627 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20631 tmp=./conf$$-$RANDOM
20632 (umask 077 && mkdir "$tmp")
20633 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20636 # Set up the scripts for CONFIG_FILES section.
20637 # No need to generate them if there are no CONFIG_FILES.
20638 # This happens for instance with `./config.status config.h'.
20639 if test -n "$CONFIG_FILES"; then
20642 ac_cr=`echo X | tr X '\015'`
20643 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20644 # But we know of no other shell where ac_cr would be empty at this
20645 # point, so we can use a bashism as a fallback.
20646 if test "x$ac_cr" = x; then
20647 eval ac_cr=\$\'\\r\'
20649 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20650 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20653 ac_cs_awk_cr=$ac_cr
20656 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20661 echo "cat >conf$$subs.awk <<_ACEOF" &&
20662 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20664 } >conf$$subs.sh ||
20665 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20666 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20668 for ac_last_try in false false false false false :; do
20669 . ./conf$$subs.sh ||
20670 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20672 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20673 if test $ac_delim_n = $ac_delim_num; then
20675 elif $ac_last_try; then
20676 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20678 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20681 rm -f conf$$subs.sh
20683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20684 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20688 s/^/S["/; s/!.*/"]=/
20698 s/\(.\{148\}\)..*/\1/
20700 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20705 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20712 s/\(.\{148\}\)..*/\1/
20714 s/["\\]/\\&/g; s/^/"/; s/$/"/
20718 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20723 ' <conf$$subs.awk | sed '
20728 ' >>$CONFIG_STATUS || ac_write_fail=1
20729 rm -f conf$$subs.awk
20730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20732 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20733 for (key in S) S_is_set[key] = 1
20739 nfields = split(line, field, "@")
20741 len = length(field[1])
20742 for (i = 2; i < nfields; i++) {
20744 keylen = length(key)
20745 if (S_is_set[key]) {
20747 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20748 len += length(value) + length(field[++i])
20759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20760 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20761 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20764 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20765 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20768 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20769 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20770 # trailing colons and then remove the whole line if VPATH becomes empty
20771 # (actually we leave an empty line to preserve line numbers).
20772 if test "x$srcdir" = x.; then
20773 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20792 fi # test -n "$CONFIG_FILES"
20794 # Set up the scripts for CONFIG_HEADERS section.
20795 # No need to generate them if there are no CONFIG_HEADERS.
20796 # This happens for instance with `./config.status Makefile'.
20797 if test -n "$CONFIG_HEADERS"; then
20798 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20802 # Transform confdefs.h into an awk script `defines.awk', embedded as
20803 # here-document in config.status, that substitutes the proper values into
20804 # config.h.in to produce config.h.
20806 # Create a delimiter string that does not exist in confdefs.h, to ease
20807 # handling of long lines.
20809 for ac_last_try in false false :; do
20810 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20811 if test -z "$ac_tt"; then
20813 elif $ac_last_try; then
20814 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20816 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20820 # For the awk script, D is an array of macro values keyed by name,
20821 # likewise P contains macro parameters if any. Preserve backslash
20822 # newline sequences.
20824 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20826 s/.\{148\}/&'"$ac_delim"'/g
20829 s/^[ ]*#[ ]*define[ ][ ]*/ /
20836 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20838 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20842 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20843 D["\1"]=" \3\\\\\\n"\\/p
20845 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20850 s/.\{148\}/&'"$ac_delim"'/g
20855 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20858 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20860 ' <confdefs.h | sed '
20861 s/'"$ac_delim"'/"\\\
20862 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20865 for (key in D) D_is_set[key] = 1
20868 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20870 split(line, arg, " ")
20871 if (arg[1] == "#") {
20875 defundef = substr(arg[1], 2)
20878 split(mac1, mac2, "(") #)
20880 prefix = substr(line, 1, index(line, defundef) - 1)
20881 if (D_is_set[macro]) {
20882 # Preserve the white space surrounding the "#".
20883 print prefix "define", macro P[macro] D[macro]
20886 # Replace #undef with comments. This is necessary, for example,
20887 # in the case of _POSIX_SOURCE, which is predefined and required
20888 # on some systems where configure will not decide to define it.
20889 if (defundef == "undef") {
20890 print "/*", prefix defundef, macro, "*/"
20898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20899 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20900 fi # test -n "$CONFIG_HEADERS"
20903 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20908 :[FHLC]) ac_mode=$ac_tag; continue;;
20910 case $ac_mode$ac_tag in
20912 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20913 :[FH]-) ac_tag=-:-;;
20914 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20931 -) ac_f="$ac_tmp/stdin";;
20932 *) # Look for the file first in the build tree, then in the source tree
20933 # (if the path is not absolute). The absolute path cannot be DOS-style,
20934 # because $ac_f cannot contain `:'.
20938 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20940 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20942 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20943 as_fn_append ac_file_inputs " '$ac_f'"
20946 # Let's still pretend it is `configure' which instantiates (i.e., don't
20947 # use $as_me), people would be surprised to read:
20948 # /* config.h. Generated by config.status. */
20949 configure_input='Generated from '`
20950 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20952 if test x"$ac_file" != x-; then
20953 configure_input="$ac_file. $configure_input"
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20955 $as_echo "$as_me: creating $ac_file" >&6;}
20957 # Neutralize special characters interpreted by sed in replacement strings.
20958 case $configure_input in #(
20959 *\&* | *\|* | *\\* )
20960 ac_sed_conf_input=`$as_echo "$configure_input" |
20961 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20962 *) ac_sed_conf_input=$configure_input;;
20966 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20967 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20972 ac_dir=`$as_dirname -- "$ac_file" ||
20973 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20974 X"$ac_file" : 'X\(//\)[^/]' \| \
20975 X"$ac_file" : 'X\(//\)$' \| \
20976 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20977 $as_echo X"$ac_file" |
20978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20982 /^X\(\/\/\)[^/].*/{
20995 as_dir="$ac_dir"; as_fn_mkdir_p
20999 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21001 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21002 # A ".." for each directory in $ac_dir_suffix.
21003 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21004 case $ac_top_builddir_sub in
21005 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21006 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21009 ac_abs_top_builddir=$ac_pwd
21010 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21011 # for backward compatibility:
21012 ac_top_builddir=$ac_top_build_prefix
21015 .) # We are building in place.
21017 ac_top_srcdir=$ac_top_builddir_sub
21018 ac_abs_top_srcdir=$ac_pwd ;;
21019 [\\/]* | ?:[\\/]* ) # Absolute name.
21020 ac_srcdir=$srcdir$ac_dir_suffix;
21021 ac_top_srcdir=$srcdir
21022 ac_abs_top_srcdir=$srcdir ;;
21023 *) # Relative name.
21024 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21025 ac_top_srcdir=$ac_top_build_prefix$srcdir
21026 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21028 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21038 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21039 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21041 ac_MKDIR_P=$MKDIR_P
21043 [\\/$]* | ?:[\\/]* ) ;;
21044 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21049 # If the template does not know about datarootdir, expand it.
21050 # FIXME: This hack should be removed a few years after 2.60.
21051 ac_datarootdir_hack=; ac_datarootdir_seen=
21062 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21063 *datarootdir*) ac_datarootdir_seen=yes;;
21064 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21066 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21069 ac_datarootdir_hack='
21070 s&@datadir@&$datadir&g
21071 s&@docdir@&$docdir&g
21072 s&@infodir@&$infodir&g
21073 s&@localedir@&$localedir&g
21074 s&@mandir@&$mandir&g
21075 s&\\\${datarootdir}&$datarootdir&g' ;;
21079 # Neutralize VPATH when `$srcdir' = `.'.
21080 # Shell code in configure.ac might set extrasub.
21081 # FIXME: do we really want to maintain this feature?
21082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21083 ac_sed_extra="$ac_vpsub
21086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21088 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21089 s|@configure_input@|$ac_sed_conf_input|;t t
21090 s&@top_builddir@&$ac_top_builddir_sub&;t t
21091 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21092 s&@srcdir@&$ac_srcdir&;t t
21093 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21094 s&@top_srcdir@&$ac_top_srcdir&;t t
21095 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21096 s&@builddir@&$ac_builddir&;t t
21097 s&@abs_builddir@&$ac_abs_builddir&;t t
21098 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21099 s&@INSTALL@&$ac_INSTALL&;t t
21100 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21101 $ac_datarootdir_hack
21103 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21104 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21106 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21107 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21108 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21109 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21111 which seems to be undefined. Please make sure it is defined" >&5
21112 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21113 which seems to be undefined. Please make sure it is defined" >&2;}
21115 rm -f "$ac_tmp/stdin"
21117 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21118 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21120 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21126 if test x"$ac_file" != x-; then
21128 $as_echo "/* $configure_input */" \
21129 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21130 } >"$ac_tmp/config.h" \
21131 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21132 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21134 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21137 mv "$ac_tmp/config.h" "$ac_file" \
21138 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21141 $as_echo "/* $configure_input */" \
21142 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21143 || as_fn_error $? "could not create -" "$LINENO" 5
21145 # Compute "$ac_file"'s index in $config_headers.
21148 for _am_header in $config_headers :; do
21149 case $_am_header in
21150 $_am_arg | $_am_arg:* )
21153 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21156 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21157 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21158 X"$_am_arg" : 'X\(//\)[^/]' \| \
21159 X"$_am_arg" : 'X\(//\)$' \| \
21160 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21161 $as_echo X"$_am_arg" |
21162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21166 /^X\(\/\/\)[^/].*/{
21178 s/.*/./; q'`/stamp-h$_am_stamp_count
21181 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21182 $as_echo "$as_me: executing $ac_file commands" >&6;}
21187 case $ac_file$ac_mode in
21188 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21189 # Older Autoconf quotes --file arguments for eval, but not when files
21190 # are listed without --file. Let's play safe and only enable the eval
21191 # if we detect the quoting.
21192 case $CONFIG_FILES in
21193 *\'*) eval set x "$CONFIG_FILES" ;;
21194 *) set x $CONFIG_FILES ;;
21199 # Strip MF so we end up with the name of the file.
21200 mf=`echo "$mf" | sed -e 's/:.*$//'`
21201 # Check whether this is an Automake generated Makefile or not.
21202 # We used to match only the files named 'Makefile.in', but
21203 # some people rename them; so instead we look at the file content.
21204 # Grep'ing the first line is not enough: some people post-process
21205 # each Makefile.in and add a new line on top of each file to say so.
21206 # Grep'ing the whole file is not good either: AIX grep has a line
21207 # limit of 2048, but all sed's we know have understand at least 4000.
21208 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21209 dirpart=`$as_dirname -- "$mf" ||
21210 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21211 X"$mf" : 'X\(//\)[^/]' \| \
21212 X"$mf" : 'X\(//\)$' \| \
21213 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21219 /^X\(\/\/\)[^/].*/{
21235 # Extract the definition of DEPDIR, am__include, and am__quote
21236 # from the Makefile without running 'make'.
21237 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21238 test -z "$DEPDIR" && continue
21239 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21240 test -z "$am__include" && continue
21241 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21242 # Find all dependency output files, they are included files with
21243 # $(DEPDIR) in their names. We invoke sed twice because it is the
21244 # simplest approach to changing $(DEPDIR) to its actual value in the
21246 for file in `sed -n "
21247 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21248 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21249 # Make sure the directory exists.
21250 test -f "$dirpart/$file" && continue
21251 fdir=`$as_dirname -- "$file" ||
21252 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21253 X"$file" : 'X\(//\)[^/]' \| \
21254 X"$file" : 'X\(//\)$' \| \
21255 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21256 $as_echo X"$file" |
21257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21261 /^X\(\/\/\)[^/].*/{
21274 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21275 # echo "creating $dirpart/$file"
21276 echo '# dummy' > "$dirpart/$file"
21281 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
21282 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
21284 "default-2":C) case "$CONFIG_FILES" in *po/Makefile.in*)
21285 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
21289 # See if we are running on zsh, and set the options which allow our
21290 # commands through without removal of \ escapes.
21291 if test -n "${ZSH_VERSION+set}" ; then
21292 setopt NO_GLOB_SUBST
21295 cfgfile="${ofile}T"
21296 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21299 cat <<_LT_EOF >> "$cfgfile"
21302 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21303 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21304 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21305 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21307 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21308 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21310 # Written by Gordon Matzigkeit, 1996
21312 # This file is part of GNU Libtool.
21314 # GNU Libtool is free software; you can redistribute it and/or
21315 # modify it under the terms of the GNU General Public License as
21316 # published by the Free Software Foundation; either version 2 of
21317 # the License, or (at your option) any later version.
21319 # As a special exception to the GNU General Public License,
21320 # if you distribute this file as part of a program or library that
21321 # is built using GNU Libtool, you may include this file under the
21322 # same distribution terms that you use for the rest of that program.
21324 # GNU Libtool is distributed in the hope that it will be useful,
21325 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21326 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21327 # GNU General Public License for more details.
21329 # You should have received a copy of the GNU General Public License
21330 # along with GNU Libtool; see the file COPYING. If not, a copy
21331 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21332 # obtained by writing to the Free Software Foundation, Inc.,
21333 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21336 # The names of the tagged configurations supported by this script.
21339 # ### BEGIN LIBTOOL CONFIG
21341 # Whether or not to build static libraries.
21342 build_old_libs=$enable_static
21344 # Which release of libtool.m4 was used?
21345 macro_version=$macro_version
21346 macro_revision=$macro_revision
21348 # Whether or not to build shared libraries.
21349 build_libtool_libs=$enable_shared
21351 # What type of objects to build.
21354 # Whether or not to optimize for fast installation.
21355 fast_install=$enable_fast_install
21357 # Shell to use when invoking shell scripts.
21360 # An echo program that protects backslashes.
21363 # The PATH separator for the build system.
21364 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21367 host_alias=$host_alias
21371 # The build system.
21372 build_alias=$build_alias
21376 # A sed program that does not truncate output.
21379 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21380 Xsed="\$SED -e 1s/^X//"
21382 # A grep program that handles long lines.
21388 # A literal string matcher.
21391 # A BSD- or MS-compatible name lister.
21394 # Whether we need soft or hard links.
21397 # What is the maximum length of a command?
21398 max_cmd_len=$max_cmd_len
21400 # Object file suffix (normally "o").
21403 # Executable file suffix (normally "").
21406 # whether the shell understands "unset".
21409 # turn spaces into newlines.
21412 # turn newlines into spaces.
21415 # convert \$build file names to \$host format.
21416 to_host_file_cmd=$lt_cv_to_host_file_cmd
21418 # convert \$build files to toolchain format.
21419 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21421 # An object symbol dumper.
21422 OBJDUMP=$lt_OBJDUMP
21424 # Method to check whether dependent libraries are shared objects.
21425 deplibs_check_method=$lt_deplibs_check_method
21427 # Command to use when deplibs_check_method = "file_magic".
21428 file_magic_cmd=$lt_file_magic_cmd
21430 # How to find potential files when deplibs_check_method = "file_magic".
21431 file_magic_glob=$lt_file_magic_glob
21433 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21434 want_nocaseglob=$lt_want_nocaseglob
21436 # DLL creation program.
21437 DLLTOOL=$lt_DLLTOOL
21439 # Command to associate shared and link libraries.
21440 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21445 # Flags to create an archive.
21446 AR_FLAGS=$lt_AR_FLAGS
21448 # How to feed a file listing to the archiver.
21449 archiver_list_spec=$lt_archiver_list_spec
21451 # A symbol stripping program.
21454 # Commands used to install an old-style archive.
21456 old_postinstall_cmds=$lt_old_postinstall_cmds
21457 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21459 # Whether to use a lock for old archive extraction.
21460 lock_old_archive_extraction=$lock_old_archive_extraction
21465 # LTCC compiler flags.
21466 LTCFLAGS=$lt_CFLAGS
21468 # Take the output of nm and produce a listing of raw symbols and C names.
21469 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21471 # Transform the output of nm in a proper C declaration.
21472 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21474 # Transform the output of nm in a C name address pair.
21475 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21477 # Transform the output of nm in a C name address pair when lib prefix is needed.
21478 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21480 # Specify filename containing input files for \$NM.
21481 nm_file_list_spec=$lt_nm_file_list_spec
21483 # The root where to search for dependent libraries,and in which our libraries should be installed.
21484 lt_sysroot=$lt_sysroot
21486 # The name of the directory that contains temporary libtool files.
21489 # Used to examine libraries when file_magic_cmd begins with "file".
21490 MAGIC_CMD=$MAGIC_CMD
21492 # Must we lock files when doing compilation?
21493 need_locks=$lt_need_locks
21496 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21498 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21499 DSYMUTIL=$lt_DSYMUTIL
21501 # Tool to change global to local symbols on Mac OS X.
21504 # Tool to manipulate fat objects and archives on Mac OS X.
21507 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21510 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21511 OTOOL64=$lt_OTOOL64
21513 # Old archive suffix (normally "a").
21516 # Shared library suffix (normally ".so").
21517 shrext_cmds=$lt_shrext_cmds
21519 # The commands to extract the exported symbol list from a shared archive.
21520 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21522 # Variables whose values should be saved in libtool wrapper scripts and
21523 # restored at link time.
21524 variables_saved_for_relink=$lt_variables_saved_for_relink
21526 # Do we need the "lib" prefix for modules?
21527 need_lib_prefix=$need_lib_prefix
21529 # Do we need a version for libraries?
21530 need_version=$need_version
21532 # Library versioning type.
21533 version_type=$version_type
21535 # Shared library runtime path variable.
21536 runpath_var=$runpath_var
21538 # Shared library path variable.
21539 shlibpath_var=$shlibpath_var
21541 # Is shlibpath searched before the hard-coded library search path?
21542 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21544 # Format of library name prefix.
21545 libname_spec=$lt_libname_spec
21547 # List of archive names. First name is the real one, the rest are links.
21548 # The last name is the one that the linker finds with -lNAME
21549 library_names_spec=$lt_library_names_spec
21551 # The coded name of the library, if different from the real name.
21552 soname_spec=$lt_soname_spec
21554 # Permission mode override for installation of shared libraries.
21555 install_override_mode=$lt_install_override_mode
21557 # Command to use after installation of a shared archive.
21558 postinstall_cmds=$lt_postinstall_cmds
21560 # Command to use after uninstallation of a shared archive.
21561 postuninstall_cmds=$lt_postuninstall_cmds
21563 # Commands used to finish a libtool library installation in a directory.
21564 finish_cmds=$lt_finish_cmds
21566 # As "finish_cmds", except a single script fragment to be evaled but
21568 finish_eval=$lt_finish_eval
21570 # Whether we should hardcode library paths into libraries.
21571 hardcode_into_libs=$hardcode_into_libs
21573 # Compile-time system search path for libraries.
21574 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21576 # Run-time system search path for libraries.
21577 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21579 # Whether dlopen is supported.
21580 dlopen_support=$enable_dlopen
21582 # Whether dlopen of programs is supported.
21583 dlopen_self=$enable_dlopen_self
21585 # Whether dlopen of statically linked programs is supported.
21586 dlopen_self_static=$enable_dlopen_self_static
21588 # Commands to strip libraries.
21589 old_striplib=$lt_old_striplib
21590 striplib=$lt_striplib
21593 # The linker used to build libraries.
21596 # How to create reloadable object files.
21597 reload_flag=$lt_reload_flag
21598 reload_cmds=$lt_reload_cmds
21600 # Commands used to build an old-style archive.
21601 old_archive_cmds=$lt_old_archive_cmds
21603 # A language specific compiler.
21606 # Is the compiler the GNU compiler?
21609 # Compiler flag to turn off builtin functions.
21610 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21612 # Additional compiler flags for building library objects.
21613 pic_flag=$lt_lt_prog_compiler_pic
21615 # How to pass a linker flag through the compiler.
21616 wl=$lt_lt_prog_compiler_wl
21618 # Compiler flag to prevent dynamic linking.
21619 link_static_flag=$lt_lt_prog_compiler_static
21621 # Does compiler simultaneously support -c and -o options?
21622 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21624 # Whether or not to add -lc for building shared libraries.
21625 build_libtool_need_lc=$archive_cmds_need_lc
21627 # Whether or not to disallow shared libs when runtime libs are static.
21628 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21630 # Compiler flag to allow reflexive dlopens.
21631 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21633 # Compiler flag to generate shared objects directly from archives.
21634 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21636 # Whether the compiler copes with passing no objects directly.
21637 compiler_needs_object=$lt_compiler_needs_object
21639 # Create an old-style archive from a shared archive.
21640 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21642 # Create a temporary old-style archive to link instead of a shared archive.
21643 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21645 # Commands used to build a shared archive.
21646 archive_cmds=$lt_archive_cmds
21647 archive_expsym_cmds=$lt_archive_expsym_cmds
21649 # Commands used to build a loadable module if different from building
21650 # a shared archive.
21651 module_cmds=$lt_module_cmds
21652 module_expsym_cmds=$lt_module_expsym_cmds
21654 # Whether we are building with GNU ld or not.
21655 with_gnu_ld=$lt_with_gnu_ld
21657 # Flag that allows shared libraries with undefined symbols to be built.
21658 allow_undefined_flag=$lt_allow_undefined_flag
21660 # Flag that enforces no undefined symbols.
21661 no_undefined_flag=$lt_no_undefined_flag
21663 # Flag to hardcode \$libdir into a binary during linking.
21664 # This must work even if \$libdir does not exist
21665 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21667 # Whether we need a single "-rpath" flag with a separated argument.
21668 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21670 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21671 # DIR into the resulting binary.
21672 hardcode_direct=$hardcode_direct
21674 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21675 # DIR into the resulting binary and the resulting library dependency is
21676 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21677 # library is relocated.
21678 hardcode_direct_absolute=$hardcode_direct_absolute
21680 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21681 # into the resulting binary.
21682 hardcode_minus_L=$hardcode_minus_L
21684 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21685 # into the resulting binary.
21686 hardcode_shlibpath_var=$hardcode_shlibpath_var
21688 # Set to "yes" if building a shared library automatically hardcodes DIR
21689 # into the library and all subsequent libraries and executables linked
21691 hardcode_automatic=$hardcode_automatic
21693 # Set to yes if linker adds runtime paths of dependent libraries
21694 # to runtime path list.
21695 inherit_rpath=$inherit_rpath
21697 # Whether libtool must link a program against all its dependency libraries.
21698 link_all_deplibs=$link_all_deplibs
21700 # Set to "yes" if exported symbols are required.
21701 always_export_symbols=$always_export_symbols
21703 # The commands to list exported symbols.
21704 export_symbols_cmds=$lt_export_symbols_cmds
21706 # Symbols that should not be listed in the preloaded symbols.
21707 exclude_expsyms=$lt_exclude_expsyms
21709 # Symbols that must always be exported.
21710 include_expsyms=$lt_include_expsyms
21712 # Commands necessary for linking programs (against libraries) with templates.
21713 prelink_cmds=$lt_prelink_cmds
21715 # Commands necessary for finishing linking programs.
21716 postlink_cmds=$lt_postlink_cmds
21718 # Specify filename containing input files.
21719 file_list_spec=$lt_file_list_spec
21721 # How to hardcode a shared library path into an executable.
21722 hardcode_action=$hardcode_action
21724 # ### END LIBTOOL CONFIG
21730 cat <<\_LT_EOF >> "$cfgfile"
21731 # AIX sometimes has problems with the GCC collect2 program. For some
21732 # reason, if we set the COLLECT_NAMES environment variable, the problems
21733 # vanish in a puff of smoke.
21734 if test "X${COLLECT_NAMES+set}" != Xset; then
21736 export COLLECT_NAMES
21743 ltmain="$ac_aux_dir/ltmain.sh"
21746 # We use sed instead of cat because bash on DJGPP gets confused if
21747 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21748 # text mode, it properly converts lines to CR/LF. This bash problem
21749 # is reportedly fixed, but why not run on old versions too?
21750 sed '$q' "$ltmain" >> "$cfgfile" \
21751 || (rm -f "$cfgfile"; exit 1)
21753 if test x"$xsi_shell" = xyes; then
21754 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21758 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21759 \ * ) func_dirname_result="${3}" ;;\
21761 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21762 && mv -f "$cfgfile.tmp" "$cfgfile" \
21763 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21764 test 0 -eq $? || _lt_function_replace_fail=:
21767 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21770 \ func_basename_result="${1##*/}"\
21771 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21772 && mv -f "$cfgfile.tmp" "$cfgfile" \
21773 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21774 test 0 -eq $? || _lt_function_replace_fail=:
21777 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21778 func_dirname_and_basename ()\
21781 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21782 \ * ) func_dirname_result="${3}" ;;\
21784 \ func_basename_result="${1##*/}"\
21785 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21786 && mv -f "$cfgfile.tmp" "$cfgfile" \
21787 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21788 test 0 -eq $? || _lt_function_replace_fail=:
21791 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21794 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21795 \ # positional parameters, so assign one to ordinary parameter first.\
21796 \ func_stripname_result=${3}\
21797 \ func_stripname_result=${func_stripname_result#"${1}"}\
21798 \ func_stripname_result=${func_stripname_result%"${2}"}\
21799 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21800 && mv -f "$cfgfile.tmp" "$cfgfile" \
21801 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21802 test 0 -eq $? || _lt_function_replace_fail=:
21805 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21806 func_split_long_opt ()\
21808 \ func_split_long_opt_name=${1%%=*}\
21809 \ func_split_long_opt_arg=${1#*=}\
21810 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21811 && mv -f "$cfgfile.tmp" "$cfgfile" \
21812 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21813 test 0 -eq $? || _lt_function_replace_fail=:
21816 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21817 func_split_short_opt ()\
21819 \ func_split_short_opt_arg=${1#??}\
21820 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21821 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21822 && mv -f "$cfgfile.tmp" "$cfgfile" \
21823 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21824 test 0 -eq $? || _lt_function_replace_fail=:
21827 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21831 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21832 \ *) func_lo2o_result=${1} ;;\
21834 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21835 && mv -f "$cfgfile.tmp" "$cfgfile" \
21836 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21837 test 0 -eq $? || _lt_function_replace_fail=:
21840 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21843 func_xform_result=${1%.*}.lo\
21844 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21845 && mv -f "$cfgfile.tmp" "$cfgfile" \
21846 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21847 test 0 -eq $? || _lt_function_replace_fail=:
21850 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21853 func_arith_result=$(( $* ))\
21854 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21855 && mv -f "$cfgfile.tmp" "$cfgfile" \
21856 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21857 test 0 -eq $? || _lt_function_replace_fail=:
21860 sed -e '/^func_len ()$/,/^} # func_len /c\
21863 func_len_result=${#1}\
21864 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21865 && mv -f "$cfgfile.tmp" "$cfgfile" \
21866 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21867 test 0 -eq $? || _lt_function_replace_fail=:
21871 if test x"$lt_shell_append" = xyes; then
21872 sed -e '/^func_append ()$/,/^} # func_append /c\
21875 eval "${1}+=\\${2}"\
21876 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21877 && mv -f "$cfgfile.tmp" "$cfgfile" \
21878 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21879 test 0 -eq $? || _lt_function_replace_fail=:
21882 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21883 func_append_quoted ()\
21885 \ func_quote_for_eval "${2}"\
21886 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21887 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21888 && mv -f "$cfgfile.tmp" "$cfgfile" \
21889 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21890 test 0 -eq $? || _lt_function_replace_fail=:
21893 # Save a `func_append' function call where possible by direct use of '+='
21894 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21895 && mv -f "$cfgfile.tmp" "$cfgfile" \
21896 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21897 test 0 -eq $? || _lt_function_replace_fail=:
21899 # Save a `func_append' function call even when '+=' is not available
21900 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21901 && mv -f "$cfgfile.tmp" "$cfgfile" \
21902 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21903 test 0 -eq $? || _lt_function_replace_fail=:
21906 if test x"$_lt_function_replace_fail" = x":"; then
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21908 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21912 mv -f "$cfgfile" "$ofile" ||
21913 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21918 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
21919 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
21921 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
21926 '"s|^| $ac_top_srcdir/|" \
21927 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
21929 sed '/^POTFILES =/,/[^\\]$/ {
21933 ' "po/Makefile.in" >"po/Makefile"
21934 rm -f "po/Makefile.tmp"
21935 mv "po/stamp-it.tmp" "po/stamp-it"
21944 ac_clean_files=$ac_clean_files_save
21946 test $ac_write_fail = 0 ||
21947 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21950 # configure is writing to config.log, and then calls config.status.
21951 # config.status does its own redirection, appending to config.log.
21952 # Unfortunately, on DOS this fails, as config.log is still kept open
21953 # by configure, so config.status won't be able to write to it; its
21954 # output is simply discarded. So we exec the FD to /dev/null,
21955 # effectively closing config.log, so it can be properly (re)opened and
21956 # appended to by config.status. When coming back to configure, we
21957 # need to make the FD available again.
21958 if test "$no_create" != yes; then
21960 ac_config_status_args=
21961 test "$silent" = yes &&
21962 ac_config_status_args="$ac_config_status_args --quiet"
21964 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21966 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21967 # would make configure fail if this is the last instruction.
21968 $ac_cs_success || as_fn_exit 1
21970 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21972 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21975 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
21977 Version $IBUS_VERSION
21978 Install prefix $prefix
21979 Build shared libs $enable_shared
21980 Build static libs $enable_static
21982 Gtk2 immodule dir $GTK2_IM_MODULEDIR
21983 Gtk3 immodule dir $GTK3_IM_MODULEDIR
21984 Build gtk2 immodule $enable_gtk2
21985 Build gtk3 immodule $enable_gtk3
21986 Build XIM agent server $enable_xim
21987 Build wayland support $enable_wayland
21988 Build python library $enable_python_library
21989 Build gconf modules $enable_gconf
21990 Build memconf modules $enable_memconf
21991 Build dconf modules $enable_dconf
21992 Build introspection $found_introspection
21993 IBus-1.0.gir scannerflags \"$IBUS_GIR_SCANNERFLAGS\"
21994 Build vala binding $enable_vala
21995 Build document $enable_gtk_doc
21996 Build UI $enable_ui
21997 Build engine $enable_engine
21998 Enable key snooper $enable_key_snooper
21999 No snooper regexes \"$NO_SNOOPER_APPS\"
22000 Panel icon \"$IBUS_ICON_KEYBOARD\"
22001 Enable surrounding-text $enable_surrounding_text
22002 Enable libnotify $enable_libnotify
22003 Run test cases $enable_tests
22007 Version $IBUS_VERSION
22008 Install prefix $prefix
22009 Build shared libs $enable_shared
22010 Build static libs $enable_static
22012 Gtk2 immodule dir $GTK2_IM_MODULEDIR
22013 Gtk3 immodule dir $GTK3_IM_MODULEDIR
22014 Build gtk2 immodule $enable_gtk2
22015 Build gtk3 immodule $enable_gtk3
22016 Build XIM agent server $enable_xim
22017 Build wayland support $enable_wayland
22018 Build python library $enable_python_library
22019 Build gconf modules $enable_gconf
22020 Build memconf modules $enable_memconf
22021 Build dconf modules $enable_dconf
22022 Build introspection $found_introspection
22023 IBus-1.0.gir scannerflags \"$IBUS_GIR_SCANNERFLAGS\"
22024 Build vala binding $enable_vala
22025 Build document $enable_gtk_doc
22026 Build UI $enable_ui
22027 Build engine $enable_engine
22028 Enable key snooper $enable_key_snooper
22029 No snooper regexes \"$NO_SNOOPER_APPS\"
22030 Panel icon \"$IBUS_ICON_KEYBOARD\"
22031 Enable surrounding-text $enable_surrounding_text
22032 Enable libnotify $enable_libnotify
22033 Run test cases $enable_tests