2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for at-spi2-core 2.7.91.
5 # Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
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
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || 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: accessibility-atspi@lists.linux-foundation.org about
279 $0: your system, including any error possibly output before
280 $0: this message. Then install a modern shell, or manually
281 $0: run 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'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='at-spi2-core'
592 PACKAGE_TARNAME='at-spi2-core'
593 PACKAGE_VERSION='2.7.91'
594 PACKAGE_STRING='at-spi2-core 2.7.91'
595 PACKAGE_BUGREPORT='accessibility-atspi@lists.linux-foundation.org'
598 # Factoring default headers for most tests.
599 ac_includes_default="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
634 ac_subst_vars='am__EXEEXT_FALSE
638 GTK_DOC_USE_REBASE_FALSE
639 GTK_DOC_USE_REBASE_TRUE
640 GTK_DOC_USE_LIBTOOL_FALSE
641 GTK_DOC_USE_LIBTOOL_TRUE
642 GTK_DOC_BUILD_PDF_FALSE
643 GTK_DOC_BUILD_PDF_TRUE
644 GTK_DOC_BUILD_HTML_FALSE
645 GTK_DOC_BUILD_HTML_TRUE
654 DBIND_ALIGNOF_DBIND_STRUCT
655 DBIND_ALIGNOF_DBIND_POINTER
657 DBIND_ALIGNOF_DBUS_INT64_T
658 DBIND_ALIGNOF_DBUS_INT32_T
659 DBIND_ALIGNOF_DBUS_INT16_T
660 DBIND_ALIGNOF_DBUS_BOOL_T
662 LIBTOOL_EXPORT_OPTIONS
663 HAVE_INTROSPECTION_FALSE
664 HAVE_INTROSPECTION_TRUE
665 INTROSPECTION_MAKEFILE
668 INTROSPECTION_TYPELIBDIR
670 INTROSPECTION_GENERATE
671 INTROSPECTION_COMPILER
672 INTROSPECTION_SCANNER
701 INTLTOOL_SERVICE_RULE
703 INTLTOOL_SCHEMAS_RULE
705 INTLTOOL_XML_NOMERGE_RULE
710 INTLTOOL_SOUNDLIST_RULE
717 INTLTOOL_DIRECTORY_RULE
718 INTLTOOL_DESKTOP_RULE
719 intltool__v_merge_options_0
720 intltool__v_merge_options_
721 INTLTOOL_V_MERGE_OPTIONS
791 INSTALL_STRIP_PROGRAM
839 program_transform_name
852 enable_option_checking
854 enable_dependency_tracking
873 ac_precious_vars='build_alias
898 # Initialize some variables set by options.
900 ac_init_version=false
901 ac_unrecognized_opts=
903 # The variables have the same names as the options, with
904 # dashes changed to underlines.
912 program_transform_name=s,x,x,
920 # Installation directory options.
921 # These are left unexpanded so users can "make install exec_prefix=/foo"
922 # and all the variables that are supposed to be based on exec_prefix
923 # by default will actually change.
924 # Use braces instead of parens because sh, perl, etc. also accept them.
925 # (The list follows the same order as the GNU Coding Standards.)
926 bindir='${exec_prefix}/bin'
927 sbindir='${exec_prefix}/sbin'
928 libexecdir='${exec_prefix}/libexec'
929 datarootdir='${prefix}/share'
930 datadir='${datarootdir}'
931 sysconfdir='${prefix}/etc'
932 sharedstatedir='${prefix}/com'
933 localstatedir='${prefix}/var'
934 includedir='${prefix}/include'
935 oldincludedir='/usr/include'
936 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
937 infodir='${datarootdir}/info'
942 libdir='${exec_prefix}/lib'
943 localedir='${datarootdir}/locale'
944 mandir='${datarootdir}/man'
950 # If the previous option needs an argument, assign it.
951 if test -n "$ac_prev"; then
952 eval $ac_prev=\$ac_option
958 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
963 # Accept the important Cygnus configure options, so we can diagnose typos.
965 case $ac_dashdash$ac_option in
969 -bindir | --bindir | --bindi | --bind | --bin | --bi)
971 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
974 -build | --build | --buil | --bui | --bu)
975 ac_prev=build_alias ;;
976 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
977 build_alias=$ac_optarg ;;
979 -cache-file | --cache-file | --cache-fil | --cache-fi \
980 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
981 ac_prev=cache_file ;;
982 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
983 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
984 cache_file=$ac_optarg ;;
987 cache_file=config.cache ;;
989 -datadir | --datadir | --datadi | --datad)
991 -datadir=* | --datadir=* | --datadi=* | --datad=*)
992 datadir=$ac_optarg ;;
994 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
995 | --dataroo | --dataro | --datar)
996 ac_prev=datarootdir ;;
997 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
998 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
999 datarootdir=$ac_optarg ;;
1001 -disable-* | --disable-*)
1002 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error $? "invalid feature name: $ac_useropt"
1006 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1010 "enable_$ac_useropt"
1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1013 ac_unrecognized_sep=', ';;
1015 eval enable_$ac_useropt=no ;;
1017 -docdir | --docdir | --docdi | --doc | --do)
1019 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1020 docdir=$ac_optarg ;;
1022 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1024 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1025 dvidir=$ac_optarg ;;
1027 -enable-* | --enable-*)
1028 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031 as_fn_error $? "invalid feature name: $ac_useropt"
1032 ac_useropt_orig=$ac_useropt
1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1036 "enable_$ac_useropt"
1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1039 ac_unrecognized_sep=', ';;
1041 eval enable_$ac_useropt=\$ac_optarg ;;
1043 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1044 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1045 | --exec | --exe | --ex)
1046 ac_prev=exec_prefix ;;
1047 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1048 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1049 | --exec=* | --exe=* | --ex=*)
1050 exec_prefix=$ac_optarg ;;
1052 -gas | --gas | --ga | --g)
1053 # Obsolete; use --with-gas.
1056 -help | --help | --hel | --he | -h)
1057 ac_init_help=long ;;
1058 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1059 ac_init_help=recursive ;;
1060 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1061 ac_init_help=short ;;
1063 -host | --host | --hos | --ho)
1064 ac_prev=host_alias ;;
1065 -host=* | --host=* | --hos=* | --ho=*)
1066 host_alias=$ac_optarg ;;
1068 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1070 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1072 htmldir=$ac_optarg ;;
1074 -includedir | --includedir | --includedi | --included | --include \
1075 | --includ | --inclu | --incl | --inc)
1076 ac_prev=includedir ;;
1077 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1078 | --includ=* | --inclu=* | --incl=* | --inc=*)
1079 includedir=$ac_optarg ;;
1081 -infodir | --infodir | --infodi | --infod | --info | --inf)
1083 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1084 infodir=$ac_optarg ;;
1086 -libdir | --libdir | --libdi | --libd)
1088 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1089 libdir=$ac_optarg ;;
1091 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1092 | --libexe | --libex | --libe)
1093 ac_prev=libexecdir ;;
1094 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1095 | --libexe=* | --libex=* | --libe=*)
1096 libexecdir=$ac_optarg ;;
1098 -localedir | --localedir | --localedi | --localed | --locale)
1099 ac_prev=localedir ;;
1100 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1101 localedir=$ac_optarg ;;
1103 -localstatedir | --localstatedir | --localstatedi | --localstated \
1104 | --localstate | --localstat | --localsta | --localst | --locals)
1105 ac_prev=localstatedir ;;
1106 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1107 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1108 localstatedir=$ac_optarg ;;
1110 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1112 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1113 mandir=$ac_optarg ;;
1115 -nfp | --nfp | --nf)
1116 # Obsolete; use --without-fp.
1119 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1120 | --no-cr | --no-c | -n)
1123 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1124 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1127 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1128 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1129 | --oldin | --oldi | --old | --ol | --o)
1130 ac_prev=oldincludedir ;;
1131 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1132 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1133 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1134 oldincludedir=$ac_optarg ;;
1136 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1138 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1139 prefix=$ac_optarg ;;
1141 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1142 | --program-pre | --program-pr | --program-p)
1143 ac_prev=program_prefix ;;
1144 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1145 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1146 program_prefix=$ac_optarg ;;
1148 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1149 | --program-suf | --program-su | --program-s)
1150 ac_prev=program_suffix ;;
1151 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1152 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1153 program_suffix=$ac_optarg ;;
1155 -program-transform-name | --program-transform-name \
1156 | --program-transform-nam | --program-transform-na \
1157 | --program-transform-n | --program-transform- \
1158 | --program-transform | --program-transfor \
1159 | --program-transfo | --program-transf \
1160 | --program-trans | --program-tran \
1161 | --progr-tra | --program-tr | --program-t)
1162 ac_prev=program_transform_name ;;
1163 -program-transform-name=* | --program-transform-name=* \
1164 | --program-transform-nam=* | --program-transform-na=* \
1165 | --program-transform-n=* | --program-transform-=* \
1166 | --program-transform=* | --program-transfor=* \
1167 | --program-transfo=* | --program-transf=* \
1168 | --program-trans=* | --program-tran=* \
1169 | --progr-tra=* | --program-tr=* | --program-t=*)
1170 program_transform_name=$ac_optarg ;;
1172 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1174 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1175 pdfdir=$ac_optarg ;;
1177 -psdir | --psdir | --psdi | --psd | --ps)
1179 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1183 | -silent | --silent | --silen | --sile | --sil)
1186 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1188 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1190 sbindir=$ac_optarg ;;
1192 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1193 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1194 | --sharedst | --shareds | --shared | --share | --shar \
1196 ac_prev=sharedstatedir ;;
1197 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1198 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1199 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1201 sharedstatedir=$ac_optarg ;;
1203 -site | --site | --sit)
1205 -site=* | --site=* | --sit=*)
1208 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1210 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1211 srcdir=$ac_optarg ;;
1213 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1214 | --syscon | --sysco | --sysc | --sys | --sy)
1215 ac_prev=sysconfdir ;;
1216 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1217 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1218 sysconfdir=$ac_optarg ;;
1220 -target | --target | --targe | --targ | --tar | --ta | --t)
1221 ac_prev=target_alias ;;
1222 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1223 target_alias=$ac_optarg ;;
1225 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1228 -version | --version | --versio | --versi | --vers | -V)
1229 ac_init_version=: ;;
1232 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1235 as_fn_error $? "invalid package name: $ac_useropt"
1236 ac_useropt_orig=$ac_useropt
1237 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238 case $ac_user_opts in
1242 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1243 ac_unrecognized_sep=', ';;
1245 eval with_$ac_useropt=\$ac_optarg ;;
1247 -without-* | --without-*)
1248 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1249 # Reject names that are not valid shell variable names.
1250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1251 as_fn_error $? "invalid package name: $ac_useropt"
1252 ac_useropt_orig=$ac_useropt
1253 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254 case $ac_user_opts in
1258 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1259 ac_unrecognized_sep=', ';;
1261 eval with_$ac_useropt=no ;;
1264 # Obsolete; use --with-x.
1267 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1268 | --x-incl | --x-inc | --x-in | --x-i)
1269 ac_prev=x_includes ;;
1270 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1271 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1272 x_includes=$ac_optarg ;;
1274 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1275 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1276 ac_prev=x_libraries ;;
1277 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1278 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1279 x_libraries=$ac_optarg ;;
1281 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1282 Try \`$0 --help' for more information"
1286 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1287 # Reject names that are not valid shell variable names.
1288 case $ac_envvar in #(
1289 '' | [0-9]* | *[!_$as_cr_alnum]* )
1290 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1292 eval $ac_envvar=\$ac_optarg
1293 export $ac_envvar ;;
1296 # FIXME: should be removed in autoconf 3.0.
1297 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1298 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1299 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1300 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1306 if test -n "$ac_prev"; then
1307 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1308 as_fn_error $? "missing argument to $ac_option"
1311 if test -n "$ac_unrecognized_opts"; then
1312 case $enable_option_checking in
1314 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1315 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1319 # Check all directory arguments for consistency.
1320 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1321 datadir sysconfdir sharedstatedir localstatedir includedir \
1322 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1323 libdir localedir mandir
1325 eval ac_val=\$$ac_var
1326 # Remove trailing slashes.
1329 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1330 eval $ac_var=\$ac_val;;
1332 # Be sure to have absolute directory names.
1334 [\\/$]* | ?:[\\/]* ) continue;;
1335 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1337 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1340 # There might be people who depend on the old broken behavior: `$host'
1341 # used to hold the argument of --host etc.
1342 # FIXME: To remove some day.
1345 target=$target_alias
1347 # FIXME: To remove some day.
1348 if test "x$host_alias" != x; then
1349 if test "x$build_alias" = x; then
1350 cross_compiling=maybe
1351 elif test "x$build_alias" != "x$host_alias"; then
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1359 test "$silent" = yes && exec 6>/dev/null
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365 as_fn_error $? "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 as_fn_error $? "pwd does not report name of working directory"
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$as_myself" : 'X\(//\)[^/]' \| \
1377 X"$as_myself" : 'X\(//\)$' \| \
1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1402 ac_srcdir_defaulted=no
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1410 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1422 for ac_var in $ac_precious_vars; do
1423 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_${ac_var}_value=\$${ac_var}
1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1430 # Report the --help message.
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1436 \`configure' configures at-spi2-core 2.7.91 to adapt to many kinds of systems.
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1443 Defaults for the options are specified in brackets.
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking ...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1467 For better control, use the options below.
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/at-spi2-core]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1499 --x-includes=DIR X include files are in DIR
1500 --x-libraries=DIR X library files are in DIR
1503 --build=BUILD configure for building on BUILD [guessed]
1504 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1508 if test -n "$ac_init_help"; then
1509 case $ac_init_help in
1510 short | recursive ) echo "Configuration of at-spi2-core 2.7.91:";;
1515 --disable-option-checking ignore unrecognized --enable/--with options
1516 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1517 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1518 --enable-silent-rules less verbose build output (undo: "make V=1")
1519 --disable-silent-rules verbose build output (undo: "make V=0")
1520 --enable-dependency-tracking
1521 do not reject slow dependency extractors
1522 --disable-dependency-tracking
1523 speeds up one-time build
1524 --enable-static[=PKGS] build static libraries [default=no]
1525 --enable-shared[=PKGS] build shared libraries [default=yes]
1526 --enable-fast-install[=PKGS]
1527 optimize for fast installation [default=yes]
1528 --disable-libtool-lock avoid locking (might break parallel builds)
1529 --disable-nls do not use Native Language Support
1530 --enable-xevie Build with XEViE support [default=yes]
1531 --enable-introspection=[no/auto/yes]
1532 Enable introspection for this build
1533 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1534 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1535 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1538 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1539 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1540 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1542 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1543 --with-sysroot=DIR Search for dependent libraries within DIR
1544 (or the compiler's sysroot if not specified).
1545 --with-x use the X Window System
1546 --with-dbus-daemondir=<directory>
1547 Directory where the DBUS daemon is installed
1548 --with-dbus-services=<directory>
1549 where D-BUS services directory is
1550 --with-html-dir=PATH path to installed docs
1552 Some influential environment variables:
1553 CC C compiler command
1554 CFLAGS C compiler flags
1555 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1556 nonstandard directory <lib dir>
1557 LIBS libraries to pass to the linker, e.g. -l<library>
1558 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1559 you have headers in a nonstandard directory <include dir>
1561 PKG_CONFIG path to pkg-config utility
1563 directories to add to pkg-config's search path
1565 path overriding pkg-config's built-in search path
1566 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1567 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1568 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1569 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1570 GOBJ_CFLAGS C compiler flags for GOBJ, overriding pkg-config
1571 GOBJ_LIBS linker flags for GOBJ, overriding pkg-config
1572 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1573 GIO_LIBS linker flags for GIO, overriding pkg-config
1574 XMKMF Path to xmkmf, Makefile generator for X Window System
1576 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1578 linker flags for GTKDOC_DEPS, overriding pkg-config
1580 Use these variables to override the choices made by `configure' or to help
1581 it to find libraries and programs with nonstandard names/locations.
1583 Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
1588 if test "$ac_init_help" = "recursive"; then
1589 # If there are subdirs, report their specific --help.
1590 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1591 test -d "$ac_dir" ||
1592 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1597 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1600 # A ".." for each directory in $ac_dir_suffix.
1601 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1602 case $ac_top_builddir_sub in
1603 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1604 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1607 ac_abs_top_builddir=$ac_pwd
1608 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1609 # for backward compatibility:
1610 ac_top_builddir=$ac_top_build_prefix
1613 .) # We are building in place.
1615 ac_top_srcdir=$ac_top_builddir_sub
1616 ac_abs_top_srcdir=$ac_pwd ;;
1617 [\\/]* | ?:[\\/]* ) # Absolute name.
1618 ac_srcdir=$srcdir$ac_dir_suffix;
1619 ac_top_srcdir=$srcdir
1620 ac_abs_top_srcdir=$srcdir ;;
1622 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1623 ac_top_srcdir=$ac_top_build_prefix$srcdir
1624 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1626 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1628 cd "$ac_dir" || { ac_status=$?; continue; }
1629 # Check for guested configure.
1630 if test -f "$ac_srcdir/configure.gnu"; then
1632 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1633 elif test -f "$ac_srcdir/configure"; then
1635 $SHELL "$ac_srcdir/configure" --help=recursive
1637 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1639 cd "$ac_pwd" || { ac_status=$?; break; }
1643 test -n "$ac_init_help" && exit $ac_status
1644 if $ac_init_version; then
1646 at-spi2-core configure 2.7.91
1647 generated by GNU Autoconf 2.69
1649 Copyright (C) 2012 Free Software Foundation, Inc.
1650 This configure script is free software; the Free Software Foundation
1651 gives unlimited permission to copy, distribute and modify it.
1656 ## ------------------------ ##
1657 ## Autoconf initialization. ##
1658 ## ------------------------ ##
1660 # ac_fn_c_try_compile LINENO
1661 # --------------------------
1662 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1663 ac_fn_c_try_compile ()
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 rm -f conftest.$ac_objext
1667 if { { ac_try="$ac_compile"
1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_compile") 2>conftest.err
1676 if test -s conftest.err; then
1677 grep -v '^ *+' conftest.err >conftest.er1
1678 cat conftest.er1 >&5
1679 mv -f conftest.er1 conftest.err
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } && {
1683 test -z "$ac_c_werror_flag" ||
1684 test ! -s conftest.err
1685 } && test -s conftest.$ac_objext; then :
1688 $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 as_fn_set_status $ac_retval
1696 } # ac_fn_c_try_compile
1698 # ac_fn_c_try_link LINENO
1699 # -----------------------
1700 # Try to link conftest.$ac_ext, and return whether this succeeded.
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext conftest$ac_exeext
1705 if { { ac_try="$ac_link"
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_link") 2>conftest.err
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest$ac_exeext && {
1724 test "$cross_compiling" = yes ||
1725 test -x conftest$ac_exeext
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1734 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1735 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1736 # interfere with the next link command; also delete a directory that is
1737 # left behind by Apple's compiler. We do this before executing the actions.
1738 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740 as_fn_set_status $ac_retval
1742 } # ac_fn_c_try_link
1744 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1745 # -------------------------------------------------------
1746 # Tests whether HEADER exists and can be compiled using the include files in
1747 # INCLUDES, setting the cache variable VAR accordingly.
1748 ac_fn_c_check_header_compile ()
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752 $as_echo_n "checking for $2... " >&6; }
1753 if eval \${$3+:} false; then :
1754 $as_echo_n "(cached) " >&6
1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757 /* end confdefs.h. */
1761 if ac_fn_c_try_compile "$LINENO"; then :
1766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 $as_echo "$ac_res" >&6; }
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 } # ac_fn_c_check_header_compile
1775 # ac_fn_c_try_cpp LINENO
1776 # ----------------------
1777 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 if { { ac_try="$ac_cpp conftest.$ac_ext"
1783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1784 *) ac_try_echo=$ac_try;;
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1790 if test -s conftest.err; then
1791 grep -v '^ *+' conftest.err >conftest.er1
1792 cat conftest.er1 >&5
1793 mv -f conftest.er1 conftest.err
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } > conftest.i && {
1797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1798 test ! -s conftest.err
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808 as_fn_set_status $ac_retval
1812 # ac_fn_c_try_run LINENO
1813 # ----------------------
1814 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1815 # that executables *can* be run.
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 if { { ac_try="$ac_link"
1821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1822 *) ac_try_echo=$ac_try;;
1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_link") 2>&5
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1830 { { case "(($ac_try" in
1831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_try") 2>&5
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; }; }; then :
1842 $as_echo "$as_me: program exited with status $ac_status" >&5
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1846 ac_retval=$ac_status
1848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 as_fn_set_status $ac_retval
1854 # ac_fn_c_check_func LINENO FUNC VAR
1855 # ----------------------------------
1856 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1857 ac_fn_c_check_func ()
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if eval \${$3+:} false; then :
1863 $as_echo_n "(cached) " >&6
1865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1866 /* end confdefs.h. */
1867 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1869 #define $2 innocuous_$2
1871 /* System header to define __stub macros and hopefully few prototypes,
1872 which can conflict with char $2 (); below.
1873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1874 <limits.h> exists even on freestanding compilers. */
1877 # include <limits.h>
1879 # include <assert.h>
1884 /* Override any GCC internal prototype to avoid an error.
1885 Use char because int might match the return type of a GCC
1886 builtin and then its argument prototype would still apply. */
1891 /* The GNU C library defines this for functions which it implements
1892 to always fail with ENOSYS. Some functions are actually named
1893 something starting with __ and the normal name is an alias. */
1894 #if defined __stub_$2 || defined __stub___$2
1906 if ac_fn_c_try_link "$LINENO"; then :
1911 rm -f core conftest.err conftest.$ac_objext \
1912 conftest$ac_exeext conftest.$ac_ext
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919 } # ac_fn_c_check_func
1921 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1922 # -------------------------------------------------------
1923 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1924 # the include files in INCLUDES and setting the cache variable VAR
1926 ac_fn_c_check_header_mongrel ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 if eval \${$3+:} false; then :
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931 $as_echo_n "checking for $2... " >&6; }
1932 if eval \${$3+:} false; then :
1933 $as_echo_n "(cached) " >&6
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1939 # Is the header compilable?
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1941 $as_echo_n "checking $2 usability... " >&6; }
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h. */
1947 if ac_fn_c_try_compile "$LINENO"; then :
1948 ac_header_compiler=yes
1950 ac_header_compiler=no
1952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1954 $as_echo "$ac_header_compiler" >&6; }
1956 # Is the header present?
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1958 $as_echo_n "checking $2 presence... " >&6; }
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1963 if ac_fn_c_try_cpp "$LINENO"; then :
1964 ac_header_preproc=yes
1966 ac_header_preproc=no
1968 rm -f conftest.err conftest.i conftest.$ac_ext
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1970 $as_echo "$ac_header_preproc" >&6; }
1972 # So? What about this header?
1973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1976 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1978 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1982 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1984 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1986 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1988 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1990 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1991 ( $as_echo "## ------------------------------------------------------------- ##
1992 ## Report this to accessibility-atspi@lists.linux-foundation.org ##
1993 ## ------------------------------------------------------------- ##"
1994 ) | sed "s/^/$as_me: WARNING: /" >&2
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998 $as_echo_n "checking for $2... " >&6; }
1999 if eval \${$3+:} false; then :
2000 $as_echo_n "(cached) " >&6
2002 eval "$3=\$ac_header_compiler"
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2006 $as_echo "$ac_res" >&6; }
2008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010 } # ac_fn_c_check_header_mongrel
2011 cat >config.log <<_ACEOF
2012 This file contains any messages produced by compilers while
2013 running configure, to aid debugging if configure makes a mistake.
2015 It was created by at-spi2-core $as_me 2.7.91, which was
2016 generated by GNU Autoconf 2.69. Invocation command line was
2028 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2029 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2030 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2031 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2032 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2034 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2035 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2037 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2038 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2039 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2040 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2041 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2042 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2043 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir=.
2052 $as_echo "PATH: $as_dir"
2068 # Keep a trace of the command line.
2069 # Strip out --no-create and --no-recursion so they do not pile up.
2070 # Strip out --silent because we don't want to record it for future runs.
2071 # Also quote any args containing shell meta-characters.
2072 # Make two passes to allow for proper duplicate-argument suppression.
2076 ac_must_keep_next=false
2082 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2083 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2084 | -silent | --silent | --silen | --sile | --sil)
2087 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2090 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2092 as_fn_append ac_configure_args1 " '$ac_arg'"
2093 if test $ac_must_keep_next = true; then
2094 ac_must_keep_next=false # Got value, back to normal.
2097 *=* | --config-cache | -C | -disable-* | --disable-* \
2098 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2099 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2100 | -with-* | --with-* | -without-* | --without-* | --x)
2101 case "$ac_configure_args0 " in
2102 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2105 -* ) ac_must_keep_next=true ;;
2108 as_fn_append ac_configure_args " '$ac_arg'"
2113 { ac_configure_args0=; unset ac_configure_args0;}
2114 { ac_configure_args1=; unset ac_configure_args1;}
2116 # When interrupted or exit'd, cleanup temporary files, and complete
2117 # config.log. We remove comments because anyway the quotes in there
2118 # would cause problems or look ugly.
2119 # WARNING: Use '\'' to represent an apostrophe within the trap.
2120 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2121 trap 'exit_status=$?
2122 # Save into config.log some information that might help in debugging.
2126 $as_echo "## ---------------- ##
2127 ## Cache variables. ##
2128 ## ---------------- ##"
2130 # The following way of writing the cache mishandles newlines in values,
2132 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2133 eval ac_val=\$$ac_var
2137 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2138 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2141 _ | IFS | as_nl) ;; #(
2142 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2143 *) { eval $ac_var=; unset $ac_var;} ;;
2148 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2149 *${as_nl}ac_space=\ *)
2151 "s/'\''/'\''\\\\'\'''\''/g;
2152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2162 $as_echo "## ----------------- ##
2163 ## Output variables. ##
2164 ## ----------------- ##"
2166 for ac_var in $ac_subst_vars
2168 eval ac_val=\$$ac_var
2170 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2172 $as_echo "$ac_var='\''$ac_val'\''"
2176 if test -n "$ac_subst_files"; then
2177 $as_echo "## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##"
2181 for ac_var in $ac_subst_files
2183 eval ac_val=\$$ac_var
2185 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 $as_echo "$ac_var='\''$ac_val'\''"
2192 if test -s confdefs.h; then
2193 $as_echo "## ----------- ##
2200 test "$ac_signal" != 0 &&
2201 $as_echo "$as_me: caught signal $ac_signal"
2202 $as_echo "$as_me: exit $exit_status"
2204 rm -f core *.core core.conftest.* &&
2205 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2208 for ac_signal in 1 2 13 15; do
2209 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2214 rm -f -r conftest* confdefs.h
2216 $as_echo "/* confdefs.h */" > confdefs.h
2218 # Predefined preprocessor variables.
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_NAME "$PACKAGE_NAME"
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE_STRING "$PACKAGE_STRING"
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_URL "$PACKAGE_URL"
2245 # Let the site file select an alternate cache file if it wants to.
2246 # Prefer an explicitly selected file to automatically selected ones.
2249 if test -n "$CONFIG_SITE"; then
2250 # We do not want a PATH search for config.site.
2251 case $CONFIG_SITE in #((
2252 -*) ac_site_file1=./$CONFIG_SITE;;
2253 */*) ac_site_file1=$CONFIG_SITE;;
2254 *) ac_site_file1=./$CONFIG_SITE;;
2256 elif test "x$prefix" != xNONE; then
2257 ac_site_file1=$prefix/share/config.site
2258 ac_site_file2=$prefix/etc/config.site
2260 ac_site_file1=$ac_default_prefix/share/config.site
2261 ac_site_file2=$ac_default_prefix/etc/config.site
2263 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2265 test "x$ac_site_file" = xNONE && continue
2266 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2268 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2269 sed 's/^/| /' "$ac_site_file" >&5
2271 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2273 as_fn_error $? "failed to load site script $ac_site_file
2274 See \`config.log' for more details" "$LINENO" 5; }
2278 if test -r "$cache_file"; then
2279 # Some versions of bash will fail to source /dev/null (special files
2280 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2281 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2283 $as_echo "$as_me: loading cache $cache_file" >&6;}
2285 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2286 *) . "./$cache_file";;
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2291 $as_echo "$as_me: creating cache $cache_file" >&6;}
2295 # Check that the precious variables saved in the cache have kept the same
2297 ac_cache_corrupted=false
2298 for ac_var in $ac_precious_vars; do
2299 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2300 eval ac_new_set=\$ac_env_${ac_var}_set
2301 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2302 eval ac_new_val=\$ac_env_${ac_var}_value
2303 case $ac_old_set,$ac_new_set in
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2306 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2307 ac_cache_corrupted=: ;;
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2310 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2311 ac_cache_corrupted=: ;;
2314 if test "x$ac_old_val" != "x$ac_new_val"; then
2315 # differences in whitespace do not lead to failure.
2316 ac_old_val_w=`echo x $ac_old_val`
2317 ac_new_val_w=`echo x $ac_new_val`
2318 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2320 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2321 ac_cache_corrupted=:
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2324 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2325 eval $ac_var=\$ac_old_val
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2328 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2330 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2333 # Pass precious variables to config.status.
2334 if test "$ac_new_set" = set; then
2336 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2337 *) ac_arg=$ac_var=$ac_new_val ;;
2339 case " $ac_configure_args " in
2340 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2341 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2345 if $ac_cache_corrupted; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2349 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2350 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2352 ## -------------------- ##
2353 ## Main body of script. ##
2354 ## -------------------- ##
2357 ac_cpp='$CPP $CPPFLAGS'
2358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2365 for ac_dir in config "$srcdir"/config; do
2366 if test -f "$ac_dir/install-sh"; then
2368 ac_install_sh="$ac_aux_dir/install-sh -c"
2370 elif test -f "$ac_dir/install.sh"; then
2372 ac_install_sh="$ac_aux_dir/install.sh -c"
2374 elif test -f "$ac_dir/shtool"; then
2376 ac_install_sh="$ac_aux_dir/shtool install -c"
2380 if test -z "$ac_aux_dir"; then
2381 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2384 # These three variables are undocumented and unsupported,
2385 # and are intended to be withdrawn in a future Autoconf release.
2386 # They can cause serious problems if a builder's source tree is in a directory
2387 # whose full name contains unusual characters.
2388 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2389 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2390 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2395 AT_SPI_CORE_MAJOR_VERSION=0
2396 AT_SPI_CORE_MINOR_VERSION=1
2397 AT_SPI_CORE_MICRO_VERSION=3
2398 AT_SPI_CORE_VERSION="$AT_SPI_CORE_MAJOR_VERSION.$AT_SPI_CORE_MINOR_VERSION"
2401 LT_RELEASE=$AT_SPI_CORE_VERSION
2405 LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
2412 am__api_version='1.12'
2414 # Find a good install program. We prefer a C program (faster),
2415 # so one script is as good as another. But avoid the broken or
2416 # incompatible versions:
2417 # SysV /etc/install, /usr/sbin/install
2418 # SunOS /usr/etc/install
2419 # IRIX /sbin/install
2421 # AmigaOS /C/install, which installs bootblocks on floppy discs
2422 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2423 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2424 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2425 # OS/2's system install, which has a completely different semantic
2426 # ./install, which can be erroneously created by make from ./install.sh.
2427 # Reject install programs that cannot install multiple files.
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2429 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2430 if test -z "$INSTALL"; then
2431 if ${ac_cv_path_install+:} false; then :
2432 $as_echo_n "(cached) " >&6
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir=.
2439 # Account for people who put trailing slashes in PATH elements.
2440 case $as_dir/ in #((
2441 ./ | .// | /[cC]/* | \
2442 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2443 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2446 # OSF1 and SCO ODT 3.0 have their own names for install.
2447 # Don't use installbsd from OSF since it installs stuff as root
2449 for ac_prog in ginstall scoinst install; do
2450 for ac_exec_ext in '' $ac_executable_extensions; do
2451 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2452 if test $ac_prog = install &&
2453 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2454 # AIX install. It has an incompatible calling convention.
2456 elif test $ac_prog = install &&
2457 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2458 # program-specific install script used by HP pwplus--don't use.
2461 rm -rf conftest.one conftest.two conftest.dir
2462 echo one > conftest.one
2463 echo two > conftest.two
2465 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2466 test -s conftest.one && test -s conftest.two &&
2467 test -s conftest.dir/conftest.one &&
2468 test -s conftest.dir/conftest.two
2470 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2483 rm -rf conftest.one conftest.two conftest.dir
2486 if test "${ac_cv_path_install+set}" = set; then
2487 INSTALL=$ac_cv_path_install
2489 # As a last resort, use the slow shell script. Don't cache a
2490 # value for INSTALL within a source directory, because that will
2491 # break other packages using the cache if that directory is
2492 # removed, or if the value is a relative name.
2493 INSTALL=$ac_install_sh
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2497 $as_echo "$INSTALL" >&6; }
2499 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2500 # It thinks the first close brace ends the variable substitution.
2501 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2503 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2505 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2508 $as_echo_n "checking whether build environment is sane... " >&6; }
2509 # Reject unsafe characters in $srcdir or the absolute working directory
2510 # name. Accept space and tab only in the latter.
2514 *[\\\"\#\$\&\'\`$am_lf]*)
2515 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2518 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2519 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2522 # Do 'set' in a subshell so we don't clobber the current shell's
2523 # arguments. Must try -L first in case configure is actually a
2524 # symlink; some systems play weird games with the mod time of symlinks
2525 # (eg FreeBSD returns the mod time of the symlink's containing
2529 for am_try in 1 2; do
2530 echo "timestamp, slept: $am_has_slept" > conftest.file
2531 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2532 if test "$*" = "X"; then
2534 set X `ls -t "$srcdir/configure" conftest.file`
2536 if test "$*" != "X $srcdir/configure conftest.file" \
2537 && test "$*" != "X conftest.file $srcdir/configure"; then
2539 # If neither matched, then we have a broken ls. This can happen
2540 # if, for instance, CONFIG_SHELL is bash and it inherits a
2541 # broken ls alias from the environment. This has actually
2542 # happened. Such a system could not be considered "sane".
2543 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2544 alias in your environment" "$LINENO" 5
2546 if test "$2" = conftest.file || test $am_try -eq 2; then
2553 test "$2" = conftest.file
2559 as_fn_error $? "newly created file is older than distributed files!
2560 Check your system clock" "$LINENO" 5
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2563 $as_echo "yes" >&6; }
2564 # If we didn't sleep, we still need to ensure time stamps of config.status and
2565 # generated files are strictly newer.
2567 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2574 test "$program_prefix" != NONE &&
2575 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2576 # Use a double $ so make ignores it.
2577 test "$program_suffix" != NONE &&
2578 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2579 # Double any \ or $.
2580 # By default was `s,x,x', remove it if useless.
2581 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2582 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2584 # expand $ac_aux_dir to an absolute path
2585 am_aux_dir=`cd $ac_aux_dir && pwd`
2587 if test x"${MISSING+set}" != xset; then
2590 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2592 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2595 # Use eval to expand $SHELL
2596 if eval "$MISSING --run true"; then
2597 am_missing_run="$MISSING --run "
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2601 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2604 if test x"${install_sh}" != xset; then
2607 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2609 install_sh="\${SHELL} $am_aux_dir/install-sh"
2613 # Installed binaries are usually stripped using 'strip' when the user
2614 # run "make install-strip". However 'strip' might not be the right
2615 # tool to use in cross-compilation environments, therefore Automake
2616 # will honor the 'STRIP' environment variable to overrule this program.
2617 if test "$cross_compiling" != no; then
2618 if test -n "$ac_tool_prefix"; then
2619 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2620 set dummy ${ac_tool_prefix}strip; ac_word=$2
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2622 $as_echo_n "checking for $ac_word... " >&6; }
2623 if ${ac_cv_prog_STRIP+:} false; then :
2624 $as_echo_n "(cached) " >&6
2626 if test -n "$STRIP"; then
2627 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir=.
2634 for ac_exec_ext in '' $ac_executable_extensions; do
2635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2636 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646 STRIP=$ac_cv_prog_STRIP
2647 if test -n "$STRIP"; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2649 $as_echo "$STRIP" >&6; }
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2652 $as_echo "no" >&6; }
2657 if test -z "$ac_cv_prog_STRIP"; then
2659 # Extract the first word of "strip", so it can be a program name with args.
2660 set dummy strip; ac_word=$2
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662 $as_echo_n "checking for $ac_word... " >&6; }
2663 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2664 $as_echo_n "(cached) " >&6
2666 if test -n "$ac_ct_STRIP"; then
2667 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir=.
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676 ac_cv_prog_ac_ct_STRIP="strip"
2677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2687 if test -n "$ac_ct_STRIP"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2689 $as_echo "$ac_ct_STRIP" >&6; }
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2695 if test "x$ac_ct_STRIP" = x; then
2698 case $cross_compiling:$ac_tool_warned in
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2702 ac_tool_warned=yes ;;
2707 STRIP="$ac_cv_prog_STRIP"
2711 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2714 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2715 if test -z "$MKDIR_P"; then
2716 if ${ac_cv_path_mkdir+:} false; then :
2717 $as_echo_n "(cached) " >&6
2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2723 test -z "$as_dir" && as_dir=.
2724 for ac_prog in mkdir gmkdir; do
2725 for ac_exec_ext in '' $ac_executable_extensions; do
2726 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2727 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2728 'mkdir (GNU coreutils) '* | \
2729 'mkdir (coreutils) '* | \
2730 'mkdir (fileutils) '4.1*)
2731 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2741 test -d ./--version && rmdir ./--version
2742 if test "${ac_cv_path_mkdir+set}" = set; then
2743 MKDIR_P="$ac_cv_path_mkdir -p"
2745 # As a last resort, use the slow shell script. Don't cache a
2746 # value for MKDIR_P within a source directory, because that will
2747 # break other packages using the cache if that directory is
2748 # removed, or if the value is a relative name.
2749 MKDIR_P="$ac_install_sh -d"
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2753 $as_echo "$MKDIR_P" >&6; }
2755 for ac_prog in gawk mawk nawk awk
2757 # Extract the first word of "$ac_prog", so it can be a program name with args.
2758 set dummy $ac_prog; ac_word=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_AWK+:} false; then :
2762 $as_echo_n "(cached) " >&6
2764 if test -n "$AWK"; then
2765 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir=.
2772 for ac_exec_ext in '' $ac_executable_extensions; do
2773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774 ac_cv_prog_AWK="$ac_prog"
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 if test -n "$AWK"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2787 $as_echo "$AWK" >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2794 test -n "$AWK" && break
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2798 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2800 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2801 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2802 $as_echo_n "(cached) " >&6
2804 cat >conftest.make <<\_ACEOF
2807 @echo '@@@%%%=$(MAKE)=@@@%%%'
2809 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2810 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2812 eval ac_cv_prog_make_${ac_make}_set=yes;;
2814 eval ac_cv_prog_make_${ac_make}_set=no;;
2818 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2820 $as_echo "yes" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825 SET_MAKE="MAKE=${MAKE-make}"
2828 rm -rf .tst 2>/dev/null
2829 mkdir .tst 2>/dev/null
2830 if test -d .tst; then
2835 rmdir .tst 2>/dev/null
2837 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2838 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2839 # is not polluted with repeated "-I."
2840 am__isrc=' -I$(srcdir)'
2841 # test to see if srcdir already configured
2842 if test -f $srcdir/config.status; then
2843 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2847 # test whether we have cygpath
2848 if test -z "$CYGPATH_W"; then
2849 if (cygpath --version) >/dev/null 2>/dev/null; then
2850 CYGPATH_W='cygpath -w'
2857 # Define the identity of the package.
2858 PACKAGE='at-spi2-core'
2862 cat >>confdefs.h <<_ACEOF
2863 #define PACKAGE "$PACKAGE"
2867 cat >>confdefs.h <<_ACEOF
2868 #define VERSION "$VERSION"
2871 # Some tools Automake needs.
2873 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2876 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2879 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2882 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2885 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2888 # We need awk for the "check" target. The system "awk" is bad on
2890 # Always define AMTAR for backward compatibility. Yes, it's still used
2891 # in the wild :-( We should find a proper way to deprecate it ...
2894 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2901 # Support silent build rules. Disable
2902 # by either passing --disable-silent-rules to configure or passing V=1
2904 # Check whether --enable-silent-rules was given.
2905 if test "${enable_silent_rules+set}" = set; then :
2906 enableval=$enable_silent_rules;
2909 case $enable_silent_rules in # (((
2910 yes) AM_DEFAULT_VERBOSITY=0;;
2911 no) AM_DEFAULT_VERBOSITY=1;;
2912 *) AM_DEFAULT_VERBOSITY=0;;
2914 am_make=${MAKE-make}
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2916 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2917 if ${am_cv_make_support_nested_variables+:} false; then :
2918 $as_echo_n "(cached) " >&6
2920 if $as_echo 'TRUE=$(BAR$(V))
2926 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2927 am_cv_make_support_nested_variables=yes
2929 am_cv_make_support_nested_variables=no
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2933 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2934 if test $am_cv_make_support_nested_variables = yes; then
2936 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2938 AM_V=$AM_DEFAULT_VERBOSITY
2939 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2945 ac_cpp='$CPP $CPPFLAGS'
2946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2949 if test -n "$ac_tool_prefix"; then
2950 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2951 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953 $as_echo_n "checking for $ac_word... " >&6; }
2954 if ${ac_cv_prog_CC+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 if test -n "$CC"; then
2958 ac_cv_prog_CC="$CC" # Let the user override the test.
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 test -z "$as_dir" && as_dir=.
2965 for ac_exec_ext in '' $ac_executable_extensions; do
2966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2967 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2978 if test -n "$CC"; then
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2980 $as_echo "$CC" >&6; }
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 $as_echo "no" >&6; }
2988 if test -z "$ac_cv_prog_CC"; then
2990 # Extract the first word of "gcc", so it can be a program name with args.
2991 set dummy gcc; ac_word=$2
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2993 $as_echo_n "checking for $ac_word... " >&6; }
2994 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2995 $as_echo_n "(cached) " >&6
2997 if test -n "$ac_ct_CC"; then
2998 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3007 ac_cv_prog_ac_ct_CC="gcc"
3008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3018 if test -n "$ac_ct_CC"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3020 $as_echo "$ac_ct_CC" >&6; }
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3023 $as_echo "no" >&6; }
3026 if test "x$ac_ct_CC" = x; then
3029 case $cross_compiling:$ac_tool_warned in
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3033 ac_tool_warned=yes ;;
3041 if test -z "$CC"; then
3042 if test -n "$ac_tool_prefix"; then
3043 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3044 set dummy ${ac_tool_prefix}cc; ac_word=$2
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046 $as_echo_n "checking for $ac_word... " >&6; }
3047 if ${ac_cv_prog_CC+:} false; then :
3048 $as_echo_n "(cached) " >&6
3050 if test -n "$CC"; then
3051 ac_cv_prog_CC="$CC" # Let the user override the test.
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 test -z "$as_dir" && as_dir=.
3058 for ac_exec_ext in '' $ac_executable_extensions; do
3059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060 ac_cv_prog_CC="${ac_tool_prefix}cc"
3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071 if test -n "$CC"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073 $as_echo "$CC" >&6; }
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3082 if test -z "$CC"; then
3083 # Extract the first word of "cc", so it can be a program name with args.
3084 set dummy cc; ac_word=$2
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3086 $as_echo_n "checking for $ac_word... " >&6; }
3087 if ${ac_cv_prog_CC+:} false; then :
3088 $as_echo_n "(cached) " >&6
3090 if test -n "$CC"; then
3091 ac_cv_prog_CC="$CC" # Let the user override the test.
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3101 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3102 ac_prog_rejected=yes
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 if test $ac_prog_rejected = yes; then
3114 # We found a bogon in the path, so make sure we never use it.
3115 set dummy $ac_cv_prog_CC
3117 if test $# != 0; then
3118 # We chose a different compiler from the bogus one.
3119 # However, it has the same basename, so the bogon will be chosen
3120 # first if we set CC to just the basename; use the full file name.
3122 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3128 if test -n "$CC"; then
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3130 $as_echo "$CC" >&6; }
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133 $as_echo "no" >&6; }
3138 if test -z "$CC"; then
3139 if test -n "$ac_tool_prefix"; then
3140 for ac_prog in cl.exe
3142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3145 $as_echo_n "checking for $ac_word... " >&6; }
3146 if ${ac_cv_prog_CC+:} false; then :
3147 $as_echo_n "(cached) " >&6
3149 if test -n "$CC"; then
3150 ac_cv_prog_CC="$CC" # Let the user override the test.
3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3156 test -z "$as_dir" && as_dir=.
3157 for ac_exec_ext in '' $ac_executable_extensions; do
3158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3159 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3170 if test -n "$CC"; then
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3172 $as_echo "$CC" >&6; }
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175 $as_echo "no" >&6; }
3179 test -n "$CC" && break
3182 if test -z "$CC"; then
3184 for ac_prog in cl.exe
3186 # Extract the first word of "$ac_prog", so it can be a program name with args.
3187 set dummy $ac_prog; ac_word=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3191 $as_echo_n "(cached) " >&6
3193 if test -n "$ac_ct_CC"; then
3194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir=.
3201 for ac_exec_ext in '' $ac_executable_extensions; do
3202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203 ac_cv_prog_ac_ct_CC="$ac_prog"
3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3214 if test -n "$ac_ct_CC"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3216 $as_echo "$ac_ct_CC" >&6; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3223 test -n "$ac_ct_CC" && break
3226 if test "x$ac_ct_CC" = x; then
3229 case $cross_compiling:$ac_tool_warned in
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3233 ac_tool_warned=yes ;;
3242 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244 as_fn_error $? "no acceptable C compiler found in \$PATH
3245 See \`config.log' for more details" "$LINENO" 5; }
3247 # Provide some information about the compiler.
3248 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3251 for ac_option in --version -v -V -qversion; do
3252 { { ac_try="$ac_compiler $ac_option >&5"
3254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3255 *) ac_try_echo=$ac_try;;
3257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3258 $as_echo "$ac_try_echo"; } >&5
3259 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3261 if test -s conftest.err; then
3263 ... rest of stderr output deleted ...
3264 10q' conftest.err >conftest.er1
3265 cat conftest.er1 >&5
3267 rm -f conftest.er1 conftest.err
3268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3269 test $ac_status = 0; }
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3283 ac_clean_files_save=$ac_clean_files
3284 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3285 # Try to create an executable without -o first, disregard a.out.
3286 # It will help us diagnose broken compilers, and finding out an intuition
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3289 $as_echo_n "checking whether the C compiler works... " >&6; }
3290 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3292 # The possible output files:
3293 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3296 for ac_file in $ac_files
3299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3300 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3305 if { { ac_try="$ac_link_default"
3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308 *) ac_try_echo=$ac_try;;
3310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311 $as_echo "$ac_try_echo"; } >&5
3312 (eval "$ac_link_default") 2>&5
3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3315 test $ac_status = 0; }; then :
3316 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3317 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3318 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3319 # so that the user can short-circuit this test for compilers unknown to
3321 for ac_file in $ac_files ''
3323 test -f "$ac_file" || continue
3325 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3328 # We found the default executable, but exeext='' is most
3332 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3334 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3336 # We set ac_cv_exeext here because the later test for it is not
3337 # safe: cross compilers may not add the suffix if given an `-o'
3338 # argument, so we may need to know it at that point already.
3339 # Even if this section looks crufty: it has the advantage of
3346 test "$ac_cv_exeext" = no && ac_cv_exeext=
3351 if test -z "$ac_file"; then :
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3354 $as_echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error 77 "C compiler cannot create executables
3360 See \`config.log' for more details" "$LINENO" 5; }
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3363 $as_echo "yes" >&6; }
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3366 $as_echo_n "checking for C compiler default output file name... " >&6; }
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3368 $as_echo "$ac_file" >&6; }
3369 ac_exeext=$ac_cv_exeext
3371 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3372 ac_clean_files=$ac_clean_files_save
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3374 $as_echo_n "checking for suffix of executables... " >&6; }
3375 if { { ac_try="$ac_link"
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 $as_echo "$ac_try_echo"; } >&5
3382 (eval "$ac_link") 2>&5
3384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385 test $ac_status = 0; }; then :
3386 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3387 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3388 # work properly (i.e., refer to `conftest.exe'), while it won't with
3390 for ac_file in conftest.exe conftest conftest.*; do
3391 test -f "$ac_file" || continue
3393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3394 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3402 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3403 See \`config.log' for more details" "$LINENO" 5; }
3405 rm -f conftest conftest$ac_cv_exeext
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3407 $as_echo "$ac_cv_exeext" >&6; }
3409 rm -f conftest.$ac_ext
3410 EXEEXT=$ac_cv_exeext
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3418 FILE *f = fopen ("conftest.out", "w");
3419 return ferror (f) || fclose (f) != 0;
3425 ac_clean_files="$ac_clean_files conftest.out"
3426 # Check that the compiler produces executables we can run. If not, either
3427 # the compiler is broken, or we cross compile.
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3429 $as_echo_n "checking whether we are cross compiling... " >&6; }
3430 if test "$cross_compiling" != yes; then
3431 { { ac_try="$ac_link"
3433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438 (eval "$ac_link") 2>&5
3440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441 test $ac_status = 0; }
3442 if { ac_try='./conftest$ac_cv_exeext'
3443 { { case "(($ac_try" in
3444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;;
3447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3448 $as_echo "$ac_try_echo"; } >&5
3449 (eval "$ac_try") 2>&5
3451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452 test $ac_status = 0; }; }; then
3455 if test "$cross_compiling" = maybe; then
3458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3460 as_fn_error $? "cannot run C compiled programs.
3461 If you meant to cross compile, use \`--host'.
3462 See \`config.log' for more details" "$LINENO" 5; }
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3467 $as_echo "$cross_compiling" >&6; }
3469 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3470 ac_clean_files=$ac_clean_files_save
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3472 $as_echo_n "checking for suffix of object files... " >&6; }
3473 if ${ac_cv_objext+:} false; then :
3474 $as_echo_n "(cached) " >&6
3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477 /* end confdefs.h. */
3487 rm -f conftest.o conftest.obj
3488 if { { ac_try="$ac_compile"
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3494 $as_echo "$ac_try_echo"; } >&5
3495 (eval "$ac_compile") 2>&5
3497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498 test $ac_status = 0; }; then :
3499 for ac_file in conftest.o conftest.obj conftest.*; do
3500 test -f "$ac_file" || continue;
3502 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3503 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3508 $as_echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513 as_fn_error $? "cannot compute suffix of object files: cannot compile
3514 See \`config.log' for more details" "$LINENO" 5; }
3516 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3519 $as_echo "$ac_cv_objext" >&6; }
3520 OBJEXT=$ac_cv_objext
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3523 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3524 if ${ac_cv_c_compiler_gnu+:} false; then :
3525 $as_echo_n "(cached) " >&6
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3541 if ac_fn_c_try_compile "$LINENO"; then :
3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3551 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3552 if test $ac_compiler_gnu = yes; then
3557 ac_test_CFLAGS=${CFLAGS+set}
3558 ac_save_CFLAGS=$CFLAGS
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3560 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3561 if ${ac_cv_prog_cc_g+:} false; then :
3562 $as_echo_n "(cached) " >&6
3564 ac_save_c_werror_flag=$ac_c_werror_flag
3565 ac_c_werror_flag=yes
3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3579 if ac_fn_c_try_compile "$LINENO"; then :
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3594 if ac_fn_c_try_compile "$LINENO"; then :
3597 ac_c_werror_flag=$ac_save_c_werror_flag
3599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3610 if ac_fn_c_try_compile "$LINENO"; then :
3613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618 ac_c_werror_flag=$ac_save_c_werror_flag
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3621 $as_echo "$ac_cv_prog_cc_g" >&6; }
3622 if test "$ac_test_CFLAGS" = set; then
3623 CFLAGS=$ac_save_CFLAGS
3624 elif test $ac_cv_prog_cc_g = yes; then
3625 if test "$GCC" = yes; then
3631 if test "$GCC" = yes; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3638 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3639 if ${ac_cv_prog_cc_c89+:} false; then :
3640 $as_echo_n "(cached) " >&6
3642 ac_cv_prog_cc_c89=no
3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3649 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3650 struct buf { int x; };
3651 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3652 static char *e (p, i)
3658 static char *f (char * (*g) (char **, int), char **p, ...)
3663 s = g (p, va_arg (v,int));
3668 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3669 function prototypes and stuff, but not '\xHH' hex character constants.
3670 These don't provoke an error unfortunately, instead are silently treated
3671 as 'x'. The following induces an error, until -std is added to get
3672 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3673 array size at least. It's necessary to write '\x00'==0 to get something
3674 that's true only with -std. */
3675 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3677 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3678 inside strings and character constants. */
3680 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3682 int test (int i, double x);
3683 struct s1 {int (*f) (int a);};
3684 struct s2 {int (*f) (double a);};
3685 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3691 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3696 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3697 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3699 CC="$ac_save_CC $ac_arg"
3700 if ac_fn_c_try_compile "$LINENO"; then :
3701 ac_cv_prog_cc_c89=$ac_arg
3703 rm -f core conftest.err conftest.$ac_objext
3704 test "x$ac_cv_prog_cc_c89" != "xno" && break
3706 rm -f conftest.$ac_ext
3711 case "x$ac_cv_prog_cc_c89" in
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3714 $as_echo "none needed" >&6; } ;;
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3717 $as_echo "unsupported" >&6; } ;;
3719 CC="$CC $ac_cv_prog_cc_c89"
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3721 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3723 if test "x$ac_cv_prog_cc_c89" != xno; then :
3728 ac_cpp='$CPP $CPPFLAGS'
3729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3732 DEPDIR="${am__leading_dot}deps"
3734 ac_config_commands="$ac_config_commands depfiles"
3737 am_make=${MAKE-make}
3738 cat > confinc << 'END'
3740 @echo this is the am__doit target
3743 # If we don't find an include directive, just comment out the code.
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3745 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3749 # First try GNU make style include.
3750 echo "include confinc" > confmf
3751 # Ignore all kinds of additional output from 'make'.
3752 case `$am_make -s -f confmf 2> /dev/null` in #(
3753 *the\ am__doit\ target*)
3759 # Now try BSD make style include.
3760 if test "$am__include" = "#"; then
3761 echo '.include "confinc"' > confmf
3762 case `$am_make -s -f confmf 2> /dev/null` in #(
3763 *the\ am__doit\ target*)
3764 am__include=.include
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3773 $as_echo "$_am_result" >&6; }
3774 rm -f confinc confmf
3776 # Check whether --enable-dependency-tracking was given.
3777 if test "${enable_dependency_tracking+set}" = set; then :
3778 enableval=$enable_dependency_tracking;
3781 if test "x$enable_dependency_tracking" != xno; then
3782 am_depcomp="$ac_aux_dir/depcomp"
3786 if test "x$enable_dependency_tracking" != xno; then
3796 depcc="$CC" am_compiler_list=
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3799 $as_echo_n "checking dependency style of $depcc... " >&6; }
3800 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3801 $as_echo_n "(cached) " >&6
3803 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3804 # We make a subdir and do the tests there. Otherwise we can end up
3805 # making bogus files that we don't know about and never remove. For
3806 # instance it was reported that on HP-UX the gcc test will end up
3807 # making a dummy file named 'D' -- because '-MD' means "put the output
3811 # Copy depcomp to subdir because otherwise we won't find it if we're
3812 # using a relative directory.
3813 cp "$am_depcomp" conftest.dir
3815 # We will build objects and dependencies in a subdirectory because
3816 # it helps to detect inapplicable dependency modes. For instance
3817 # both Tru64's cc and ICC support -MD to output dependencies as a
3818 # side effect of compilation, but ICC will put the dependencies in
3819 # the current directory while Tru64 will put them in the object
3823 am_cv_CC_dependencies_compiler_type=none
3824 if test "$am_compiler_list" = ""; then
3825 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3828 case " $depcc " in #(
3829 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3832 for depmode in $am_compiler_list; do
3833 # Setup a source with many dependencies, because some compilers
3834 # like to wrap large dependency lists on column 80 (with \), and
3835 # we should not choose a depcomp mode which is confused by this.
3837 # We need to recreate these files for each test, as the compiler may
3838 # overwrite some of them when testing with obscure command lines.
3839 # This happens at least with the AIX C compiler.
3841 for i in 1 2 3 4 5 6; do
3842 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3843 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3844 # Solaris 10 /bin/sh.
3845 echo '/* dummy */' > sub/conftst$i.h
3847 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3849 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3850 # mode. It turns out that the SunPro C++ compiler does not properly
3851 # handle '-M -o', and we need to detect this. Also, some Intel
3852 # versions had trouble with output in subdirs.
3853 am__obj=sub/conftest.${OBJEXT-o}
3854 am__minus_obj="-o $am__obj"
3857 # This depmode causes a compiler race in universal mode.
3858 test "$am__universal" = false || continue
3861 # After this tag, mechanisms are not by side-effect, so they'll
3862 # only be used when explicitly requested.
3863 if test "x$enable_dependency_tracking" = xyes; then
3869 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3870 # This compiler won't grok '-c -o', but also, the minuso test has
3871 # not run yet. These depmodes are late enough in the game, and
3872 # so weak that their functioning should not be impacted.
3873 am__obj=conftest.${OBJEXT-o}
3878 if depmode=$depmode \
3879 source=sub/conftest.c object=$am__obj \
3880 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3881 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3882 >/dev/null 2>conftest.err &&
3883 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3884 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3885 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3886 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3887 # icc doesn't choke on unknown options, it will just issue warnings
3888 # or remarks (even with -Werror). So we grep stderr for any message
3889 # that says an option was ignored or not supported.
3890 # When given -MP, icc 7.0 and 7.1 complain thusly:
3891 # icc: Command line warning: ignoring option '-M'; no argument required
3892 # The diagnosis changed in icc 8.0:
3893 # icc: Command line remark: option '-MP' not supported
3894 if (grep 'ignoring option' conftest.err ||
3895 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3896 am_cv_CC_dependencies_compiler_type=$depmode
3905 am_cv_CC_dependencies_compiler_type=none
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3910 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3911 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3914 test "x$enable_dependency_tracking" != xno \
3915 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3917 am__fastdepCC_FALSE='#'
3919 am__fastdepCC_TRUE='#'
3920 am__fastdepCC_FALSE=
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3927 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3932 macro_version='2.4.2'
3933 macro_revision='1.3337'
3947 ltmain="$ac_aux_dir/ltmain.sh"
3949 # Make sure we can run config.sub.
3950 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3951 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3954 $as_echo_n "checking build system type... " >&6; }
3955 if ${ac_cv_build+:} false; then :
3956 $as_echo_n "(cached) " >&6
3958 ac_build_alias=$build_alias
3959 test "x$ac_build_alias" = x &&
3960 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3961 test "x$ac_build_alias" = x &&
3962 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3963 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3964 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3968 $as_echo "$ac_cv_build" >&6; }
3969 case $ac_cv_build in
3971 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3974 ac_save_IFS=$IFS; IFS='-'
3980 # Remember, the first character of IFS is used to create $*,
3981 # except with old shells:
3984 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3988 $as_echo_n "checking host system type... " >&6; }
3989 if ${ac_cv_host+:} false; then :
3990 $as_echo_n "(cached) " >&6
3992 if test "x$host_alias" = x; then
3993 ac_cv_host=$ac_cv_build
3995 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3996 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4001 $as_echo "$ac_cv_host" >&6; }
4004 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4007 ac_save_IFS=$IFS; IFS='-'
4013 # Remember, the first character of IFS is used to create $*,
4014 # except with old shells:
4017 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4020 # Backslashify metacharacters that are still active within
4021 # double-quoted strings.
4022 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4024 # Same as above, but do not quote variable references.
4025 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4027 # Sed substitution to delay expansion of an escaped shell variable in a
4028 # double_quote_subst'ed string.
4029 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4031 # Sed substitution to delay expansion of an escaped single quote.
4032 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4034 # Sed substitution to avoid accidental globbing in evaled expressions
4035 no_glob_subst='s/\*/\\\*/g'
4037 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4038 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4039 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4042 $as_echo_n "checking how to print strings... " >&6; }
4043 # Test print first, because it will be a builtin if present.
4044 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4045 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4047 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4050 # Use this function as a fallback that always works.
4051 func_fallback_echo ()
4053 eval 'cat <<_LTECHO_EOF
4057 ECHO='func_fallback_echo'
4060 # func_echo_all arg...
4061 # Invoke $ECHO with all args, space-separated.
4068 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4069 $as_echo "printf" >&6; } ;;
4070 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4071 $as_echo "print -r" >&6; } ;;
4072 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4073 $as_echo "cat" >&6; } ;;
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4090 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4091 if ${ac_cv_path_SED+:} false; then :
4092 $as_echo_n "(cached) " >&6
4094 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4095 for ac_i in 1 2 3 4 5 6 7; do
4096 ac_script="$ac_script$as_nl$ac_script"
4098 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4099 { ac_script=; unset ac_script;}
4100 if test -z "$SED"; then
4101 ac_path_SED_found=false
4102 # Loop through the user's path and test for each of PROGNAME-LIST
4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107 test -z "$as_dir" && as_dir=.
4108 for ac_prog in sed gsed; do
4109 for ac_exec_ext in '' $ac_executable_extensions; do
4110 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4111 as_fn_executable_p "$ac_path_SED" || continue
4112 # Check for GNU ac_path_SED and select it if it is found.
4113 # Check for GNU $ac_path_SED
4114 case `"$ac_path_SED" --version 2>&1` in
4116 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4119 $as_echo_n 0123456789 >"conftest.in"
4122 cat "conftest.in" "conftest.in" >"conftest.tmp"
4123 mv "conftest.tmp" "conftest.in"
4124 cp "conftest.in" "conftest.nl"
4125 $as_echo '' >> "conftest.nl"
4126 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4127 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4128 as_fn_arith $ac_count + 1 && ac_count=$as_val
4129 if test $ac_count -gt ${ac_path_SED_max-0}; then
4130 # Best one so far, save it but keep looking for a better one
4131 ac_cv_path_SED="$ac_path_SED"
4132 ac_path_SED_max=$ac_count
4134 # 10*(2^10) chars as input seems more than enough
4135 test $ac_count -gt 10 && break
4137 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4140 $ac_path_SED_found && break 3
4145 if test -z "$ac_cv_path_SED"; then
4146 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4154 $as_echo "$ac_cv_path_SED" >&6; }
4155 SED="$ac_cv_path_SED"
4158 test -z "$SED" && SED=sed
4159 Xsed="$SED -e 1s/^X//"
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4172 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4173 if ${ac_cv_path_GREP+:} false; then :
4174 $as_echo_n "(cached) " >&6
4176 if test -z "$GREP"; then
4177 ac_path_GREP_found=false
4178 # Loop through the user's path and test for each of PROGNAME-LIST
4179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4180 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4183 test -z "$as_dir" && as_dir=.
4184 for ac_prog in grep ggrep; do
4185 for ac_exec_ext in '' $ac_executable_extensions; do
4186 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4187 as_fn_executable_p "$ac_path_GREP" || continue
4188 # Check for GNU ac_path_GREP and select it if it is found.
4189 # Check for GNU $ac_path_GREP
4190 case `"$ac_path_GREP" --version 2>&1` in
4192 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4195 $as_echo_n 0123456789 >"conftest.in"
4198 cat "conftest.in" "conftest.in" >"conftest.tmp"
4199 mv "conftest.tmp" "conftest.in"
4200 cp "conftest.in" "conftest.nl"
4201 $as_echo 'GREP' >> "conftest.nl"
4202 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4203 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4204 as_fn_arith $ac_count + 1 && ac_count=$as_val
4205 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4206 # Best one so far, save it but keep looking for a better one
4207 ac_cv_path_GREP="$ac_path_GREP"
4208 ac_path_GREP_max=$ac_count
4210 # 10*(2^10) chars as input seems more than enough
4211 test $ac_count -gt 10 && break
4213 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4216 $ac_path_GREP_found && break 3
4221 if test -z "$ac_cv_path_GREP"; then
4222 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4225 ac_cv_path_GREP=$GREP
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4230 $as_echo "$ac_cv_path_GREP" >&6; }
4231 GREP="$ac_cv_path_GREP"
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4235 $as_echo_n "checking for egrep... " >&6; }
4236 if ${ac_cv_path_EGREP+:} false; then :
4237 $as_echo_n "(cached) " >&6
4239 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4240 then ac_cv_path_EGREP="$GREP -E"
4242 if test -z "$EGREP"; then
4243 ac_path_EGREP_found=false
4244 # Loop through the user's path and test for each of PROGNAME-LIST
4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4249 test -z "$as_dir" && as_dir=.
4250 for ac_prog in egrep; do
4251 for ac_exec_ext in '' $ac_executable_extensions; do
4252 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4253 as_fn_executable_p "$ac_path_EGREP" || continue
4254 # Check for GNU ac_path_EGREP and select it if it is found.
4255 # Check for GNU $ac_path_EGREP
4256 case `"$ac_path_EGREP" --version 2>&1` in
4258 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4261 $as_echo_n 0123456789 >"conftest.in"
4264 cat "conftest.in" "conftest.in" >"conftest.tmp"
4265 mv "conftest.tmp" "conftest.in"
4266 cp "conftest.in" "conftest.nl"
4267 $as_echo 'EGREP' >> "conftest.nl"
4268 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4269 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4270 as_fn_arith $ac_count + 1 && ac_count=$as_val
4271 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4272 # Best one so far, save it but keep looking for a better one
4273 ac_cv_path_EGREP="$ac_path_EGREP"
4274 ac_path_EGREP_max=$ac_count
4276 # 10*(2^10) chars as input seems more than enough
4277 test $ac_count -gt 10 && break
4279 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4282 $ac_path_EGREP_found && break 3
4287 if test -z "$ac_cv_path_EGREP"; then
4288 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4291 ac_cv_path_EGREP=$EGREP
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4297 $as_echo "$ac_cv_path_EGREP" >&6; }
4298 EGREP="$ac_cv_path_EGREP"
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4302 $as_echo_n "checking for fgrep... " >&6; }
4303 if ${ac_cv_path_FGREP+:} false; then :
4304 $as_echo_n "(cached) " >&6
4306 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4307 then ac_cv_path_FGREP="$GREP -F"
4309 if test -z "$FGREP"; then
4310 ac_path_FGREP_found=false
4311 # Loop through the user's path and test for each of PROGNAME-LIST
4312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4316 test -z "$as_dir" && as_dir=.
4317 for ac_prog in fgrep; do
4318 for ac_exec_ext in '' $ac_executable_extensions; do
4319 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4320 as_fn_executable_p "$ac_path_FGREP" || continue
4321 # Check for GNU ac_path_FGREP and select it if it is found.
4322 # Check for GNU $ac_path_FGREP
4323 case `"$ac_path_FGREP" --version 2>&1` in
4325 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4328 $as_echo_n 0123456789 >"conftest.in"
4331 cat "conftest.in" "conftest.in" >"conftest.tmp"
4332 mv "conftest.tmp" "conftest.in"
4333 cp "conftest.in" "conftest.nl"
4334 $as_echo 'FGREP' >> "conftest.nl"
4335 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4336 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4337 as_fn_arith $ac_count + 1 && ac_count=$as_val
4338 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4339 # Best one so far, save it but keep looking for a better one
4340 ac_cv_path_FGREP="$ac_path_FGREP"
4341 ac_path_FGREP_max=$ac_count
4343 # 10*(2^10) chars as input seems more than enough
4344 test $ac_count -gt 10 && break
4346 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4349 $ac_path_FGREP_found && break 3
4354 if test -z "$ac_cv_path_FGREP"; then
4355 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4358 ac_cv_path_FGREP=$FGREP
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4364 $as_echo "$ac_cv_path_FGREP" >&6; }
4365 FGREP="$ac_cv_path_FGREP"
4368 test -z "$GREP" && GREP=grep
4388 # Check whether --with-gnu-ld was given.
4389 if test "${with_gnu_ld+set}" = set; then :
4390 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4396 if test "$GCC" = yes; then
4397 # Check if gcc -print-prog-name=ld gives a path.
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4399 $as_echo_n "checking for ld used by $CC... " >&6; }
4402 # gcc leaves a trailing carriage return which upsets mingw
4403 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4405 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4408 # Accept absolute paths.
4410 re_direlt='/[^/][^/]*/\.\./'
4411 # Canonicalize the pathname of ld
4412 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4413 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4414 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4416 test -z "$LD" && LD="$ac_prog"
4419 # If it fails, then pretend we aren't using GCC.
4423 # If it is relative, then search for the first ld in PATH.
4427 elif test "$with_gnu_ld" = yes; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4429 $as_echo_n "checking for GNU ld... " >&6; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4432 $as_echo_n "checking for non-GNU ld... " >&6; }
4434 if ${lt_cv_path_LD+:} false; then :
4435 $as_echo_n "(cached) " >&6
4437 if test -z "$LD"; then
4438 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4439 for ac_dir in $PATH; do
4441 test -z "$ac_dir" && ac_dir=.
4442 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4443 lt_cv_path_LD="$ac_dir/$ac_prog"
4444 # Check to see if the program is GNU ld. I'd rather use --version,
4445 # but apparently some variants of GNU ld only accept -v.
4446 # Break only if it was the GNU/non-GNU ld that we prefer.
4447 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4448 *GNU* | *'with BFD'*)
4449 test "$with_gnu_ld" != no && break
4452 test "$with_gnu_ld" != yes && break
4459 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4464 if test -n "$LD"; then
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4466 $as_echo "$LD" >&6; }
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469 $as_echo "no" >&6; }
4471 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4473 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4474 if ${lt_cv_prog_gnu_ld+:} false; then :
4475 $as_echo_n "(cached) " >&6
4477 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4478 case `$LD -v 2>&1 </dev/null` in
4479 *GNU* | *'with BFD'*)
4480 lt_cv_prog_gnu_ld=yes
4483 lt_cv_prog_gnu_ld=no
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4488 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4489 with_gnu_ld=$lt_cv_prog_gnu_ld
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4500 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4501 if ${lt_cv_path_NM+:} false; then :
4502 $as_echo_n "(cached) " >&6
4504 if test -n "$NM"; then
4505 # Let the user override the test.
4508 lt_nm_to_check="${ac_tool_prefix}nm"
4509 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4510 lt_nm_to_check="$lt_nm_to_check nm"
4512 for lt_tmp_nm in $lt_nm_to_check; do
4513 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4514 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4516 test -z "$ac_dir" && ac_dir=.
4517 tmp_nm="$ac_dir/$lt_tmp_nm"
4518 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4519 # Check to see if the nm accepts a BSD-compat flag.
4520 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4521 # nm: unknown option "B" ignored
4522 # Tru64's nm complains that /dev/null is an invalid object file
4523 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4524 */dev/null* | *'Invalid file or object type'*)
4525 lt_cv_path_NM="$tmp_nm -B"
4529 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4531 lt_cv_path_NM="$tmp_nm -p"
4535 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4536 continue # so that we can try to find one that supports BSD flags
4545 : ${lt_cv_path_NM=no}
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4549 $as_echo "$lt_cv_path_NM" >&6; }
4550 if test "$lt_cv_path_NM" != "no"; then
4553 # Didn't find any BSD compatible name lister, look for dumpbin.
4554 if test -n "$DUMPBIN"; then :
4555 # Let the user override the test.
4557 if test -n "$ac_tool_prefix"; then
4558 for ac_prog in dumpbin "link -dump"
4560 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4561 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4563 $as_echo_n "checking for $ac_word... " >&6; }
4564 if ${ac_cv_prog_DUMPBIN+:} false; then :
4565 $as_echo_n "(cached) " >&6
4567 if test -n "$DUMPBIN"; then
4568 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4574 test -z "$as_dir" && as_dir=.
4575 for ac_exec_ext in '' $ac_executable_extensions; do
4576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4577 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 DUMPBIN=$ac_cv_prog_DUMPBIN
4588 if test -n "$DUMPBIN"; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4590 $as_echo "$DUMPBIN" >&6; }
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4593 $as_echo "no" >&6; }
4597 test -n "$DUMPBIN" && break
4600 if test -z "$DUMPBIN"; then
4601 ac_ct_DUMPBIN=$DUMPBIN
4602 for ac_prog in dumpbin "link -dump"
4604 # Extract the first word of "$ac_prog", so it can be a program name with args.
4605 set dummy $ac_prog; ac_word=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -n "$ac_ct_DUMPBIN"; then
4612 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir=.
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4632 if test -n "$ac_ct_DUMPBIN"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4634 $as_echo "$ac_ct_DUMPBIN" >&6; }
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4641 test -n "$ac_ct_DUMPBIN" && break
4644 if test "x$ac_ct_DUMPBIN" = x; then
4647 case $cross_compiling:$ac_tool_warned in
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4651 ac_tool_warned=yes ;;
4653 DUMPBIN=$ac_ct_DUMPBIN
4657 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4659 DUMPBIN="$DUMPBIN -symbols"
4667 if test "$DUMPBIN" != ":"; then
4671 test -z "$NM" && NM=nm
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4679 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4680 if ${lt_cv_nm_interface+:} false; then :
4681 $as_echo_n "(cached) " >&6
4683 lt_cv_nm_interface="BSD nm"
4684 echo "int some_variable = 0;" > conftest.$ac_ext
4685 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4686 (eval "$ac_compile" 2>conftest.err)
4687 cat conftest.err >&5
4688 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4689 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4690 cat conftest.err >&5
4691 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4692 cat conftest.out >&5
4693 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4694 lt_cv_nm_interface="MS dumpbin"
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4699 $as_echo "$lt_cv_nm_interface" >&6; }
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4702 $as_echo_n "checking whether ln -s works... " >&6; }
4704 if test "$LN_S" = "ln -s"; then
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4706 $as_echo "yes" >&6; }
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4709 $as_echo "no, using $LN_S" >&6; }
4712 # find the maximum length of command line arguments
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4714 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4715 if ${lt_cv_sys_max_cmd_len+:} false; then :
4716 $as_echo_n "(cached) " >&6
4723 # On DJGPP, this test can blow up pretty badly due to problems in libc
4724 # (any single argument exceeding 2000 bytes causes a buffer overrun
4725 # during glob expansion). Even if it were fixed, the result of this
4726 # check would be larger than it should be.
4727 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4731 # Under GNU Hurd, this test is not required because there is
4732 # no limit to the length of command line arguments.
4733 # Libtool will interpret -1 as no limit whatsoever
4734 lt_cv_sys_max_cmd_len=-1;
4737 cygwin* | mingw* | cegcc*)
4738 # On Win9x/ME, this test blows up -- it succeeds, but takes
4739 # about 5 minutes as the teststring grows exponentially.
4740 # Worse, since 9x/ME are not pre-emptively multitasking,
4741 # you end up with a "frozen" computer, even though with patience
4742 # the test eventually succeeds (with a max line length of 256k).
4743 # Instead, let's just punt: use the minimum linelength reported by
4744 # all of the supported platforms: 8192 (on NT/2K/XP).
4745 lt_cv_sys_max_cmd_len=8192;
4749 # On MiNT this can take a long time and run out of memory.
4750 lt_cv_sys_max_cmd_len=8192;
4754 # On AmigaOS with pdksh, this test takes hours, literally.
4755 # So we just punt and use a minimum line length of 8192.
4756 lt_cv_sys_max_cmd_len=8192;
4759 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4760 # This has been around since 386BSD, at least. Likely further.
4761 if test -x /sbin/sysctl; then
4762 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4763 elif test -x /usr/sbin/sysctl; then
4764 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4766 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4768 # And add a safety zone
4769 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4770 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4774 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4775 lt_cv_sys_max_cmd_len=196608
4779 # The test takes a long time on OS/2.
4780 lt_cv_sys_max_cmd_len=8192
4784 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4785 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4786 # nice to cause kernel panics so lets avoid the loop below.
4787 # First set a reasonable default.
4788 lt_cv_sys_max_cmd_len=16384
4790 if test -x /sbin/sysconfig; then
4791 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4792 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4797 lt_cv_sys_max_cmd_len=102400
4799 sysv5* | sco5v6* | sysv4.2uw2*)
4800 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4801 if test -n "$kargmax"; then
4802 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4804 lt_cv_sys_max_cmd_len=32768
4808 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4809 if test -n "$lt_cv_sys_max_cmd_len"; then
4810 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4811 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4813 # Make teststring a little bigger before we do anything with it.
4814 # a 1K string should be a reasonable start.
4815 for i in 1 2 3 4 5 6 7 8 ; do
4816 teststring=$teststring$teststring
4818 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4819 # If test is not a shell built-in, we'll probably end up computing a
4820 # maximum length that is only half of the actual maximum length, but
4822 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4823 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4824 test $i != 17 # 1/2 MB should be enough
4827 teststring=$teststring$teststring
4829 # Only check the string length outside the loop.
4830 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4832 # Add a significant safety factor because C++ compilers can tack on
4833 # massive amounts of additional arguments before passing them to the
4834 # linker. It appears as though 1/2 is a usable value.
4835 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4842 if test -n $lt_cv_sys_max_cmd_len ; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4844 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4847 $as_echo "none" >&6; }
4849 max_cmd_len=$lt_cv_sys_max_cmd_len
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4861 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4862 # Try some XSI features
4865 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4867 && eval 'test $(( 1 + 1 )) -eq 2 \
4868 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4871 $as_echo "$xsi_shell" >&6; }
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4875 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4877 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4879 && lt_shell_append=yes
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4881 $as_echo "$lt_shell_append" >&6; }
4884 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4894 # test EBCDIC or ASCII
4895 case `echo X|tr X '\101'` in
4896 A) # ASCII based system
4897 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4898 lt_SP2NL='tr \040 \012'
4899 lt_NL2SP='tr \015\012 \040\040'
4901 *) # EBCDIC based system
4902 lt_SP2NL='tr \100 \n'
4903 lt_NL2SP='tr \r\n \100\100'
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4916 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4917 if ${lt_cv_to_host_file_cmd+:} false; then :
4918 $as_echo_n "(cached) " >&6
4923 *-*-mingw* ) # actually msys
4924 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4927 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4929 * ) # otherwise, assume *nix
4930 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4936 *-*-mingw* ) # actually msys
4937 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4940 lt_cv_to_host_file_cmd=func_convert_file_noop
4942 * ) # otherwise, assume *nix
4943 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4947 * ) # unhandled hosts (and "normal" native builds)
4948 lt_cv_to_host_file_cmd=func_convert_file_noop
4954 to_host_file_cmd=$lt_cv_to_host_file_cmd
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4956 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4963 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4964 if ${lt_cv_to_tool_file_cmd+:} false; then :
4965 $as_echo_n "(cached) " >&6
4967 #assume ordinary cross tools, or native build.
4968 lt_cv_to_tool_file_cmd=func_convert_file_noop
4972 *-*-mingw* ) # actually msys
4973 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4981 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4983 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4990 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4991 if ${lt_cv_ld_reload_flag+:} false; then :
4992 $as_echo_n "(cached) " >&6
4994 lt_cv_ld_reload_flag='-r'
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4997 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4998 reload_flag=$lt_cv_ld_reload_flag
4999 case $reload_flag in
5001 *) reload_flag=" $reload_flag" ;;
5003 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5005 cygwin* | mingw* | pw32* | cegcc*)
5006 if test "$GCC" != yes; then
5011 if test "$GCC" = yes; then
5012 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5014 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if ${ac_cv_prog_OBJDUMP+:} false; then :
5033 $as_echo_n "(cached) " >&6
5035 if test -n "$OBJDUMP"; then
5036 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 OBJDUMP=$ac_cv_prog_OBJDUMP
5056 if test -n "$OBJDUMP"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5058 $as_echo "$OBJDUMP" >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5066 if test -z "$ac_cv_prog_OBJDUMP"; then
5067 ac_ct_OBJDUMP=$OBJDUMP
5068 # Extract the first word of "objdump", so it can be a program name with args.
5069 set dummy objdump; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5073 $as_echo_n "(cached) " >&6
5075 if test -n "$ac_ct_OBJDUMP"; then
5076 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5085 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5096 if test -n "$ac_ct_OBJDUMP"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5098 $as_echo "$ac_ct_OBJDUMP" >&6; }
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5104 if test "x$ac_ct_OBJDUMP" = x; then
5107 case $cross_compiling:$ac_tool_warned in
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5113 OBJDUMP=$ac_ct_OBJDUMP
5116 OBJDUMP="$ac_cv_prog_OBJDUMP"
5119 test -z "$OBJDUMP" && OBJDUMP=objdump
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5130 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5131 if ${lt_cv_deplibs_check_method+:} false; then :
5132 $as_echo_n "(cached) " >&6
5134 lt_cv_file_magic_cmd='$MAGIC_CMD'
5135 lt_cv_file_magic_test_file=
5136 lt_cv_deplibs_check_method='unknown'
5137 # Need to set the preceding variable on all platforms that support
5138 # interlibrary dependencies.
5139 # 'none' -- dependencies not supported.
5140 # `unknown' -- same as none, but documents that we really don't know.
5141 # 'pass_all' -- all dependencies passed with no checks.
5142 # 'test_compile' -- check by making test program.
5143 # 'file_magic [[regex]]' -- check by looking for files in library path
5144 # which responds to the $file_magic_cmd with a given extended regex.
5145 # If you have `file' or equivalent on your system and you're not sure
5146 # whether `pass_all' will *always* work, you probably want this one.
5150 lt_cv_deplibs_check_method=pass_all
5154 lt_cv_deplibs_check_method=pass_all
5158 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5159 lt_cv_file_magic_cmd='/usr/bin/file -L'
5160 lt_cv_file_magic_test_file=/shlib/libc.so
5164 # func_win32_libid is a shell function defined in ltmain.sh
5165 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5166 lt_cv_file_magic_cmd='func_win32_libid'
5170 # Base MSYS/MinGW do not provide the 'file' command needed by
5171 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5172 # unless we find 'file', for example because we are cross-compiling.
5173 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5174 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5175 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5176 lt_cv_file_magic_cmd='func_win32_libid'
5178 # Keep this pattern in sync with the one in func_win32_libid.
5179 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5180 lt_cv_file_magic_cmd='$OBJDUMP -f'
5185 # use the weaker test based on 'objdump'. See mingw*.
5186 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5187 lt_cv_file_magic_cmd='$OBJDUMP -f'
5190 darwin* | rhapsody*)
5191 lt_cv_deplibs_check_method=pass_all
5194 freebsd* | dragonfly*)
5195 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5198 # Not sure whether the presence of OpenBSD here was a mistake.
5199 # Let's accept both of them until this is cleared up.
5200 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5201 lt_cv_file_magic_cmd=/usr/bin/file
5202 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5206 lt_cv_deplibs_check_method=pass_all
5211 lt_cv_deplibs_check_method=pass_all
5215 lt_cv_deplibs_check_method=pass_all
5218 hpux10.20* | hpux11*)
5219 lt_cv_file_magic_cmd=/usr/bin/file
5222 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5223 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5226 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]'
5227 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5230 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5231 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5237 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5238 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5241 irix5* | irix6* | nonstopux*)
5243 *-32|*"-32 ") libmagic=32-bit;;
5244 *-n32|*"-n32 ") libmagic=N32;;
5245 *-64|*"-64 ") libmagic=64-bit;;
5246 *) libmagic=never-match;;
5248 lt_cv_deplibs_check_method=pass_all
5251 # This must be glibc/ELF.
5252 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5253 lt_cv_deplibs_check_method=pass_all
5257 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5258 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5260 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5265 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5266 lt_cv_file_magic_cmd=/usr/bin/file
5267 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5271 lt_cv_deplibs_check_method=pass_all
5275 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5276 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5278 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5282 osf3* | osf4* | osf5*)
5283 lt_cv_deplibs_check_method=pass_all
5287 lt_cv_deplibs_check_method=pass_all
5291 lt_cv_deplibs_check_method=pass_all
5294 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5295 lt_cv_deplibs_check_method=pass_all
5299 case $host_vendor in
5301 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]'
5302 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5305 lt_cv_deplibs_check_method=pass_all
5308 lt_cv_file_magic_cmd='/bin/file'
5309 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5312 lt_cv_file_magic_cmd='/bin/file'
5313 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5314 lt_cv_file_magic_test_file=/lib/libc.so
5317 lt_cv_deplibs_check_method=pass_all
5320 lt_cv_deplibs_check_method=pass_all
5326 lt_cv_deplibs_check_method=pass_all
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5332 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5336 if test "$build" = "$host"; then
5339 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5342 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5348 file_magic_cmd=$lt_cv_file_magic_cmd
5349 deplibs_check_method=$lt_cv_deplibs_check_method
5350 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5373 if test -n "$ac_tool_prefix"; then
5374 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5375 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_DLLTOOL+:} false; then :
5379 $as_echo_n "(cached) " >&6
5381 if test -n "$DLLTOOL"; then
5382 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5401 DLLTOOL=$ac_cv_prog_DLLTOOL
5402 if test -n "$DLLTOOL"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5404 $as_echo "$DLLTOOL" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5412 if test -z "$ac_cv_prog_DLLTOOL"; then
5413 ac_ct_DLLTOOL=$DLLTOOL
5414 # Extract the first word of "dlltool", so it can be a program name with args.
5415 set dummy dlltool; ac_word=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 $as_echo_n "checking for $ac_word... " >&6; }
5418 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5419 $as_echo_n "(cached) " >&6
5421 if test -n "$ac_ct_DLLTOOL"; then
5422 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 test -z "$as_dir" && as_dir=.
5429 for ac_exec_ext in '' $ac_executable_extensions; do
5430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5431 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5442 if test -n "$ac_ct_DLLTOOL"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5444 $as_echo "$ac_ct_DLLTOOL" >&6; }
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5450 if test "x$ac_ct_DLLTOOL" = x; then
5453 case $cross_compiling:$ac_tool_warned in
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5457 ac_tool_warned=yes ;;
5459 DLLTOOL=$ac_ct_DLLTOOL
5462 DLLTOOL="$ac_cv_prog_DLLTOOL"
5465 test -z "$DLLTOOL" && DLLTOOL=dlltool
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5477 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5478 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5479 $as_echo_n "(cached) " >&6
5481 lt_cv_sharedlib_from_linklib_cmd='unknown'
5484 cygwin* | mingw* | pw32* | cegcc*)
5485 # two different shell functions defined in ltmain.sh
5486 # decide which to use based on capabilities of $DLLTOOL
5487 case `$DLLTOOL --help 2>&1` in
5488 *--identify-strict*)
5489 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5492 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5497 # fallback: assume linklib IS sharedlib
5498 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5504 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5505 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5506 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5515 if test -n "$ac_tool_prefix"; then
5518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521 $as_echo_n "checking for $ac_word... " >&6; }
5522 if ${ac_cv_prog_AR+:} false; then :
5523 $as_echo_n "(cached) " >&6
5525 if test -n "$AR"; then
5526 ac_cv_prog_AR="$AR" # Let the user override the test.
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 test -z "$as_dir" && as_dir=.
5533 for ac_exec_ext in '' $ac_executable_extensions; do
5534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5535 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 if test -n "$AR"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5548 $as_echo "$AR" >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5555 test -n "$AR" && break
5558 if test -z "$AR"; then
5562 # Extract the first word of "$ac_prog", so it can be a program name with args.
5563 set dummy $ac_prog; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5567 $as_echo_n "(cached) " >&6
5569 if test -n "$ac_ct_AR"; then
5570 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_ac_ct_AR="$ac_prog"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5590 if test -n "$ac_ct_AR"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5592 $as_echo "$ac_ct_AR" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5599 test -n "$ac_ct_AR" && break
5602 if test "x$ac_ct_AR" = x; then
5605 case $cross_compiling:$ac_tool_warned in
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5609 ac_tool_warned=yes ;;
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5629 $as_echo_n "checking for archiver @FILE support... " >&6; }
5630 if ${lt_cv_ar_at_file+:} false; then :
5631 $as_echo_n "(cached) " >&6
5634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5645 if ac_fn_c_try_compile "$LINENO"; then :
5646 echo conftest.$ac_objext > conftest.lst
5647 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5648 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5649 (eval $lt_ar_try) 2>&5
5651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5652 test $ac_status = 0; }
5653 if test "$ac_status" -eq 0; then
5654 # Ensure the archiver fails upon bogus file names.
5655 rm -f conftest.$ac_objext libconftest.a
5656 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5657 (eval $lt_ar_try) 2>&5
5659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5660 test $ac_status = 0; }
5661 if test "$ac_status" -ne 0; then
5665 rm -f conftest.* libconftest.a
5668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5672 $as_echo "$lt_cv_ar_at_file" >&6; }
5674 if test "x$lt_cv_ar_at_file" = xno; then
5677 archiver_list_spec=$lt_cv_ar_at_file
5686 if test -n "$ac_tool_prefix"; then
5687 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5688 set dummy ${ac_tool_prefix}strip; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if ${ac_cv_prog_STRIP+:} false; then :
5692 $as_echo_n "(cached) " >&6
5694 if test -n "$STRIP"; then
5695 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 test -z "$as_dir" && as_dir=.
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 STRIP=$ac_cv_prog_STRIP
5715 if test -n "$STRIP"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5717 $as_echo "$STRIP" >&6; }
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5725 if test -z "$ac_cv_prog_STRIP"; then
5727 # Extract the first word of "strip", so it can be a program name with args.
5728 set dummy strip; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5732 $as_echo_n "(cached) " >&6
5734 if test -n "$ac_ct_STRIP"; then
5735 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_ac_ct_STRIP="strip"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5755 if test -n "$ac_ct_STRIP"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5757 $as_echo "$ac_ct_STRIP" >&6; }
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5763 if test "x$ac_ct_STRIP" = x; then
5766 case $cross_compiling:$ac_tool_warned in
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5770 ac_tool_warned=yes ;;
5775 STRIP="$ac_cv_prog_STRIP"
5778 test -z "$STRIP" && STRIP=:
5785 if test -n "$ac_tool_prefix"; then
5786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5787 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789 $as_echo_n "checking for $ac_word... " >&6; }
5790 if ${ac_cv_prog_RANLIB+:} false; then :
5791 $as_echo_n "(cached) " >&6
5793 if test -n "$RANLIB"; then
5794 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 RANLIB=$ac_cv_prog_RANLIB
5814 if test -n "$RANLIB"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5816 $as_echo "$RANLIB" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819 $as_echo "no" >&6; }
5824 if test -z "$ac_cv_prog_RANLIB"; then
5825 ac_ct_RANLIB=$RANLIB
5826 # Extract the first word of "ranlib", so it can be a program name with args.
5827 set dummy ranlib; ac_word=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5831 $as_echo_n "(cached) " >&6
5833 if test -n "$ac_ct_RANLIB"; then
5834 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843 ac_cv_prog_ac_ct_RANLIB="ranlib"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5854 if test -n "$ac_ct_RANLIB"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5856 $as_echo "$ac_ct_RANLIB" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5862 if test "x$ac_ct_RANLIB" = x; then
5865 case $cross_compiling:$ac_tool_warned in
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5869 ac_tool_warned=yes ;;
5871 RANLIB=$ac_ct_RANLIB
5874 RANLIB="$ac_cv_prog_RANLIB"
5877 test -z "$RANLIB" && RANLIB=:
5884 # Determine commands to create old-style static archives.
5885 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5886 old_postinstall_cmds='chmod 644 $oldlib'
5887 old_postuninstall_cmds=
5889 if test -n "$RANLIB"; then
5892 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5895 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5898 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5903 lock_old_archive_extraction=yes ;;
5905 lock_old_archive_extraction=no ;;
5946 # If no C compiler was specified, use CC.
5949 # If no C compiler flags were specified, use CFLAGS.
5950 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5952 # Allow CC to be a program name with arguments.
5956 # Check for command to grab the raw symbol name followed by C symbol from nm.
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5958 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5959 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5960 $as_echo_n "(cached) " >&6
5963 # These are sane defaults that work on at least a few old systems.
5964 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5966 # Character class describing NM global symbol codes.
5967 symcode='[BCDEGRST]'
5969 # Regexp to match symbols that can be accessed directly from C.
5970 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5972 # Define system-specific variables.
5977 cygwin* | mingw* | pw32* | cegcc*)
5978 symcode='[ABCDGISTW]'
5981 if test "$host_cpu" = ia64; then
5982 symcode='[ABCDEGRST]'
5986 symcode='[BCDEGRST]'
5989 symcode='[BCDEGQRST]'
6000 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6008 # If we're using GNU nm, then use its standard symbol codes.
6009 case `$NM -V 2>&1` in
6010 *GNU* | *'with BFD'*)
6011 symcode='[ABCDGIRSTW]' ;;
6014 # Transform an extracted symbol line into a proper C declaration.
6015 # Some systems (esp. on ia64) link data and code symbols differently,
6016 # so use this general approach.
6017 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6019 # Transform an extracted symbol line into symbol name and symbol address
6020 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6021 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'"
6023 # Handle CRLF in mingw tool chain
6027 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6031 # Try without a prefix underscore, then with it.
6032 for ac_symprfx in "" "_"; do
6034 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6035 symxfrm="\\1 $ac_symprfx\\2 \\2"
6037 # Write the raw and C identifiers.
6038 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6039 # Fake it for dumpbin and say T for any non-static function
6040 # and D for any global variable.
6041 # Also find C++ and __fastcall symbols from MSVC++,
6042 # which start with @ or ?.
6043 lt_cv_sys_global_symbol_pipe="$AWK '"\
6044 " {last_section=section; section=\$ 3};"\
6045 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6046 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6047 " \$ 0!~/External *\|/{next};"\
6048 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6049 " {if(hide[section]) next};"\
6050 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6051 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6052 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6053 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6054 " ' prfx=^$ac_symprfx"
6056 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6058 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6060 # Check to see that the pipe works correctly.
6064 cat > conftest.$ac_ext <<_LT_EOF
6069 void nm_test_func(void);
6070 void nm_test_func(void){}
6074 int main(){nm_test_var='a';nm_test_func();return(0);}
6077 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6078 (eval $ac_compile) 2>&5
6080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6081 test $ac_status = 0; }; then
6082 # Now try to grab the symbols.
6084 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6085 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6088 test $ac_status = 0; } && test -s "$nlist"; then
6089 # Try sorting and uniquifying the output.
6090 if sort "$nlist" | uniq > "$nlist"T; then
6091 mv -f "$nlist"T "$nlist"
6096 # Make sure that we snagged all the symbols we need.
6097 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6098 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6099 cat <<_LT_EOF > conftest.$ac_ext
6100 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6101 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6102 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6103 relocations are performed -- see ld's documentation on pseudo-relocs. */
6104 # define LT_DLSYM_CONST
6105 #elif defined(__osf__)
6106 /* This system does not cope well with relocations in const data. */
6107 # define LT_DLSYM_CONST
6109 # define LT_DLSYM_CONST const
6117 # Now generate the symbol file.
6118 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6120 cat <<_LT_EOF >> conftest.$ac_ext
6122 /* The mapping between symbol names and symbols. */
6123 LT_DLSYM_CONST struct {
6127 lt__PROGRAM__LTX_preloaded_symbols[] =
6129 { "@PROGRAM@", (void *) 0 },
6131 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6132 cat <<\_LT_EOF >> conftest.$ac_ext
6136 /* This works around a problem in FreeBSD linker */
6137 #ifdef FREEBSD_WORKAROUND
6138 static const void *lt_preloaded_setup() {
6139 return lt__PROGRAM__LTX_preloaded_symbols;
6147 # Now try linking the two files.
6148 mv conftest.$ac_objext conftstm.$ac_objext
6149 lt_globsym_save_LIBS=$LIBS
6150 lt_globsym_save_CFLAGS=$CFLAGS
6151 LIBS="conftstm.$ac_objext"
6152 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6154 (eval $ac_link) 2>&5
6156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6157 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6160 LIBS=$lt_globsym_save_LIBS
6161 CFLAGS=$lt_globsym_save_CFLAGS
6163 echo "cannot find nm_test_func in $nlist" >&5
6166 echo "cannot find nm_test_var in $nlist" >&5
6169 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6172 echo "$progname: failed program was:" >&5
6173 cat conftest.$ac_ext >&5
6175 rm -rf conftest* conftst*
6177 # Do not use the global_symbol_pipe unless it works.
6178 if test "$pipe_works" = yes; then
6181 lt_cv_sys_global_symbol_pipe=
6187 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6188 lt_cv_sys_global_symbol_to_cdecl=
6190 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6192 $as_echo "failed" >&6; }
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6195 $as_echo "ok" >&6; }
6198 # Response file support.
6199 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6200 nm_file_list_spec='@'
6201 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6202 nm_file_list_spec='@'
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6232 $as_echo_n "checking for sysroot... " >&6; }
6234 # Check whether --with-sysroot was given.
6235 if test "${with_sysroot+set}" = set; then :
6236 withval=$with_sysroot;
6243 case ${with_sysroot} in #(
6245 if test "$GCC" = yes; then
6246 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6250 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6256 $as_echo "${with_sysroot}" >&6; }
6257 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6262 $as_echo "${lt_sysroot:-no}" >&6; }
6268 # Check whether --enable-libtool-lock was given.
6269 if test "${enable_libtool_lock+set}" = set; then :
6270 enableval=$enable_libtool_lock;
6273 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6275 # Some flags need to be propagated to the compiler or linker for good
6279 # Find out which ABI we are using.
6280 echo 'int i;' > conftest.$ac_ext
6281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6282 (eval $ac_compile) 2>&5
6284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6285 test $ac_status = 0; }; then
6286 case `/usr/bin/file conftest.$ac_objext` in
6298 # Find out which ABI we are using.
6299 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6301 (eval $ac_compile) 2>&5
6303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6304 test $ac_status = 0; }; then
6305 if test "$lt_cv_prog_gnu_ld" = yes; then
6306 case `/usr/bin/file conftest.$ac_objext` in
6308 LD="${LD-ld} -melf32bsmip"
6311 LD="${LD-ld} -melf32bmipn32"
6314 LD="${LD-ld} -melf64bmip"
6318 case `/usr/bin/file conftest.$ac_objext` in
6334 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6335 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6336 # Find out which ABI we are using.
6337 echo 'int i;' > conftest.$ac_ext
6338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6339 (eval $ac_compile) 2>&5
6341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6342 test $ac_status = 0; }; then
6343 case `/usr/bin/file conftest.o` in
6346 x86_64-*kfreebsd*-gnu)
6347 LD="${LD-ld} -m elf_i386_fbsd"
6350 LD="${LD-ld} -m elf_i386"
6352 ppc64-*linux*|powerpc64-*linux*)
6353 LD="${LD-ld} -m elf32ppclinux"
6356 LD="${LD-ld} -m elf_s390"
6359 LD="${LD-ld} -m elf32_sparc"
6365 x86_64-*kfreebsd*-gnu)
6366 LD="${LD-ld} -m elf_x86_64_fbsd"
6369 LD="${LD-ld} -m elf_x86_64"
6371 ppc*-*linux*|powerpc*-*linux*)
6372 LD="${LD-ld} -m elf64ppc"
6374 s390*-*linux*|s390*-*tpf*)
6375 LD="${LD-ld} -m elf64_s390"
6378 LD="${LD-ld} -m elf64_sparc"
6388 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6389 SAVE_CFLAGS="$CFLAGS"
6390 CFLAGS="$CFLAGS -belf"
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6392 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6393 if ${lt_cv_cc_needs_belf+:} false; then :
6394 $as_echo_n "(cached) " >&6
6397 ac_cpp='$CPP $CPPFLAGS'
6398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6403 /* end confdefs.h. */
6413 if ac_fn_c_try_link "$LINENO"; then :
6414 lt_cv_cc_needs_belf=yes
6416 lt_cv_cc_needs_belf=no
6418 rm -f core conftest.err conftest.$ac_objext \
6419 conftest$ac_exeext conftest.$ac_ext
6421 ac_cpp='$CPP $CPPFLAGS'
6422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6428 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6429 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6430 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6431 CFLAGS="$SAVE_CFLAGS"
6435 # Find out which ABI we are using.
6436 echo 'int i;' > conftest.$ac_ext
6437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6438 (eval $ac_compile) 2>&5
6440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6441 test $ac_status = 0; }; then
6442 case `/usr/bin/file conftest.o` in
6444 case $lt_cv_prog_gnu_ld in
6448 LD="${LD-ld} -m elf_x86_64"
6451 LD="${LD-ld} -m elf64_sparc"
6454 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6455 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6460 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6472 need_locks="$enable_libtool_lock"
6474 if test -n "$ac_tool_prefix"; then
6475 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6476 set dummy ${ac_tool_prefix}mt; ac_word=$2
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 $as_echo_n "checking for $ac_word... " >&6; }
6479 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6480 $as_echo_n "(cached) " >&6
6482 if test -n "$MANIFEST_TOOL"; then
6483 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6489 test -z "$as_dir" && as_dir=.
6490 for ac_exec_ext in '' $ac_executable_extensions; do
6491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6492 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6502 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6503 if test -n "$MANIFEST_TOOL"; then
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6505 $as_echo "$MANIFEST_TOOL" >&6; }
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6508 $as_echo "no" >&6; }
6513 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6514 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6515 # Extract the first word of "mt", so it can be a program name with args.
6516 set dummy mt; ac_word=$2
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518 $as_echo_n "checking for $ac_word... " >&6; }
6519 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6520 $as_echo_n "(cached) " >&6
6522 if test -n "$ac_ct_MANIFEST_TOOL"; then
6523 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 test -z "$as_dir" && as_dir=.
6530 for ac_exec_ext in '' $ac_executable_extensions; do
6531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6532 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6542 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6543 if test -n "$ac_ct_MANIFEST_TOOL"; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6545 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548 $as_echo "no" >&6; }
6551 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6554 case $cross_compiling:$ac_tool_warned in
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6558 ac_tool_warned=yes ;;
6560 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6563 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6566 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6568 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6569 if ${lt_cv_path_mainfest_tool+:} false; then :
6570 $as_echo_n "(cached) " >&6
6572 lt_cv_path_mainfest_tool=no
6573 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6574 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6575 cat conftest.err >&5
6576 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6577 lt_cv_path_mainfest_tool=yes
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6582 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6583 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6593 rhapsody* | darwin*)
6594 if test -n "$ac_tool_prefix"; then
6595 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6596 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6598 $as_echo_n "checking for $ac_word... " >&6; }
6599 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6600 $as_echo_n "(cached) " >&6
6602 if test -n "$DSYMUTIL"; then
6603 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6609 test -z "$as_dir" && as_dir=.
6610 for ac_exec_ext in '' $ac_executable_extensions; do
6611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6612 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6623 if test -n "$DSYMUTIL"; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6625 $as_echo "$DSYMUTIL" >&6; }
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628 $as_echo "no" >&6; }
6633 if test -z "$ac_cv_prog_DSYMUTIL"; then
6634 ac_ct_DSYMUTIL=$DSYMUTIL
6635 # Extract the first word of "dsymutil", so it can be a program name with args.
6636 set dummy dsymutil; ac_word=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6640 $as_echo_n "(cached) " >&6
6642 if test -n "$ac_ct_DSYMUTIL"; then
6643 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6649 test -z "$as_dir" && as_dir=.
6650 for ac_exec_ext in '' $ac_executable_extensions; do
6651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6663 if test -n "$ac_ct_DSYMUTIL"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6665 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6671 if test "x$ac_ct_DSYMUTIL" = x; then
6674 case $cross_compiling:$ac_tool_warned in
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6678 ac_tool_warned=yes ;;
6680 DSYMUTIL=$ac_ct_DSYMUTIL
6683 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6686 if test -n "$ac_tool_prefix"; then
6687 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6688 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if ${ac_cv_prog_NMEDIT+:} false; then :
6692 $as_echo_n "(cached) " >&6
6694 if test -n "$NMEDIT"; then
6695 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6701 test -z "$as_dir" && as_dir=.
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714 NMEDIT=$ac_cv_prog_NMEDIT
6715 if test -n "$NMEDIT"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6717 $as_echo "$NMEDIT" >&6; }
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6725 if test -z "$ac_cv_prog_NMEDIT"; then
6726 ac_ct_NMEDIT=$NMEDIT
6727 # Extract the first word of "nmedit", so it can be a program name with args.
6728 set dummy nmedit; ac_word=$2
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 $as_echo_n "checking for $ac_word... " >&6; }
6731 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6732 $as_echo_n "(cached) " >&6
6734 if test -n "$ac_ct_NMEDIT"; then
6735 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 test -z "$as_dir" && as_dir=.
6742 for ac_exec_ext in '' $ac_executable_extensions; do
6743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6744 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6755 if test -n "$ac_ct_NMEDIT"; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6757 $as_echo "$ac_ct_NMEDIT" >&6; }
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 $as_echo "no" >&6; }
6763 if test "x$ac_ct_NMEDIT" = x; then
6766 case $cross_compiling:$ac_tool_warned in
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6770 ac_tool_warned=yes ;;
6772 NMEDIT=$ac_ct_NMEDIT
6775 NMEDIT="$ac_cv_prog_NMEDIT"
6778 if test -n "$ac_tool_prefix"; then
6779 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6780 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 $as_echo_n "checking for $ac_word... " >&6; }
6783 if ${ac_cv_prog_LIPO+:} false; then :
6784 $as_echo_n "(cached) " >&6
6786 if test -n "$LIPO"; then
6787 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir=.
6794 for ac_exec_ext in '' $ac_executable_extensions; do
6795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6796 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 LIPO=$ac_cv_prog_LIPO
6807 if test -n "$LIPO"; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6809 $as_echo "$LIPO" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6817 if test -z "$ac_cv_prog_LIPO"; then
6819 # Extract the first word of "lipo", so it can be a program name with args.
6820 set dummy lipo; ac_word=$2
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6822 $as_echo_n "checking for $ac_word... " >&6; }
6823 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6824 $as_echo_n "(cached) " >&6
6826 if test -n "$ac_ct_LIPO"; then
6827 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6833 test -z "$as_dir" && as_dir=.
6834 for ac_exec_ext in '' $ac_executable_extensions; do
6835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6836 ac_cv_prog_ac_ct_LIPO="lipo"
6837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6846 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6847 if test -n "$ac_ct_LIPO"; then
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6849 $as_echo "$ac_ct_LIPO" >&6; }
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 $as_echo "no" >&6; }
6855 if test "x$ac_ct_LIPO" = x; then
6858 case $cross_compiling:$ac_tool_warned in
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6862 ac_tool_warned=yes ;;
6867 LIPO="$ac_cv_prog_LIPO"
6870 if test -n "$ac_tool_prefix"; then
6871 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6872 set dummy ${ac_tool_prefix}otool; ac_word=$2
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6874 $as_echo_n "checking for $ac_word... " >&6; }
6875 if ${ac_cv_prog_OTOOL+:} false; then :
6876 $as_echo_n "(cached) " >&6
6878 if test -n "$OTOOL"; then
6879 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6885 test -z "$as_dir" && as_dir=.
6886 for ac_exec_ext in '' $ac_executable_extensions; do
6887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6888 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6898 OTOOL=$ac_cv_prog_OTOOL
6899 if test -n "$OTOOL"; then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6901 $as_echo "$OTOOL" >&6; }
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6904 $as_echo "no" >&6; }
6909 if test -z "$ac_cv_prog_OTOOL"; then
6911 # Extract the first word of "otool", so it can be a program name with args.
6912 set dummy otool; ac_word=$2
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6914 $as_echo_n "checking for $ac_word... " >&6; }
6915 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6916 $as_echo_n "(cached) " >&6
6918 if test -n "$ac_ct_OTOOL"; then
6919 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6925 test -z "$as_dir" && as_dir=.
6926 for ac_exec_ext in '' $ac_executable_extensions; do
6927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6928 ac_cv_prog_ac_ct_OTOOL="otool"
6929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6939 if test -n "$ac_ct_OTOOL"; then
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6941 $as_echo "$ac_ct_OTOOL" >&6; }
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944 $as_echo "no" >&6; }
6947 if test "x$ac_ct_OTOOL" = x; then
6950 case $cross_compiling:$ac_tool_warned in
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6954 ac_tool_warned=yes ;;
6959 OTOOL="$ac_cv_prog_OTOOL"
6962 if test -n "$ac_tool_prefix"; then
6963 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6964 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966 $as_echo_n "checking for $ac_word... " >&6; }
6967 if ${ac_cv_prog_OTOOL64+:} false; then :
6968 $as_echo_n "(cached) " >&6
6970 if test -n "$OTOOL64"; then
6971 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977 test -z "$as_dir" && as_dir=.
6978 for ac_exec_ext in '' $ac_executable_extensions; do
6979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6980 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6990 OTOOL64=$ac_cv_prog_OTOOL64
6991 if test -n "$OTOOL64"; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6993 $as_echo "$OTOOL64" >&6; }
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996 $as_echo "no" >&6; }
7001 if test -z "$ac_cv_prog_OTOOL64"; then
7002 ac_ct_OTOOL64=$OTOOL64
7003 # Extract the first word of "otool64", so it can be a program name with args.
7004 set dummy otool64; ac_word=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7008 $as_echo_n "(cached) " >&6
7010 if test -n "$ac_ct_OTOOL64"; then
7011 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7017 test -z "$as_dir" && as_dir=.
7018 for ac_exec_ext in '' $ac_executable_extensions; do
7019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7020 ac_cv_prog_ac_ct_OTOOL64="otool64"
7021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7030 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7031 if test -n "$ac_ct_OTOOL64"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7033 $as_echo "$ac_ct_OTOOL64" >&6; }
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7039 if test "x$ac_ct_OTOOL64" = x; then
7042 case $cross_compiling:$ac_tool_warned in
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7046 ac_tool_warned=yes ;;
7048 OTOOL64=$ac_ct_OTOOL64
7051 OTOOL64="$ac_cv_prog_OTOOL64"
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7081 $as_echo_n "checking for -single_module linker flag... " >&6; }
7082 if ${lt_cv_apple_cc_single_mod+:} false; then :
7083 $as_echo_n "(cached) " >&6
7085 lt_cv_apple_cc_single_mod=no
7086 if test -z "${LT_MULTI_MODULE}"; then
7087 # By default we will add the -single_module flag. You can override
7088 # by either setting the environment variable LT_MULTI_MODULE
7089 # non-empty at configure time, or by adding -multi_module to the
7091 rm -rf libconftest.dylib*
7092 echo "int foo(void){return 1;}" > conftest.c
7093 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7094 -dynamiclib -Wl,-single_module conftest.c" >&5
7095 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7096 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7098 # If there is a non-empty error log, and "single_module"
7099 # appears in it, assume the flag caused a linker warning
7100 if test -s conftest.err && $GREP single_module conftest.err; then
7101 cat conftest.err >&5
7102 # Otherwise, if the output was created with a 0 exit code from
7103 # the compiler, it worked.
7104 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7105 lt_cv_apple_cc_single_mod=yes
7107 cat conftest.err >&5
7109 rm -rf libconftest.dylib*
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7114 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7117 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7118 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7119 $as_echo_n "(cached) " >&6
7121 lt_cv_ld_exported_symbols_list=no
7122 save_LDFLAGS=$LDFLAGS
7123 echo "_main" > conftest.sym
7124 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7126 /* end confdefs.h. */
7136 if ac_fn_c_try_link "$LINENO"; then :
7137 lt_cv_ld_exported_symbols_list=yes
7139 lt_cv_ld_exported_symbols_list=no
7141 rm -f core conftest.err conftest.$ac_objext \
7142 conftest$ac_exeext conftest.$ac_ext
7143 LDFLAGS="$save_LDFLAGS"
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7147 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7150 $as_echo_n "checking for -force_load linker flag... " >&6; }
7151 if ${lt_cv_ld_force_load+:} false; then :
7152 $as_echo_n "(cached) " >&6
7154 lt_cv_ld_force_load=no
7155 cat > conftest.c << _LT_EOF
7156 int forced_loaded() { return 2;}
7158 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7159 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7160 echo "$AR cru libconftest.a conftest.o" >&5
7161 $AR cru libconftest.a conftest.o 2>&5
7162 echo "$RANLIB libconftest.a" >&5
7163 $RANLIB libconftest.a 2>&5
7164 cat > conftest.c << _LT_EOF
7165 int main() { return 0;}
7167 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7168 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7170 if test -s conftest.err && $GREP force_load conftest.err; then
7171 cat conftest.err >&5
7172 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7173 lt_cv_ld_force_load=yes
7175 cat conftest.err >&5
7177 rm -f conftest.err libconftest.a conftest conftest.c
7178 rm -rf conftest.dSYM
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7182 $as_echo "$lt_cv_ld_force_load" >&6; }
7184 rhapsody* | darwin1.[012])
7185 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7187 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7188 darwin*) # darwin 5.x on
7189 # if running on 10.5 or later, the deployment target defaults
7190 # to the OS version, if on x86, and 10.4, the deployment
7191 # target defaults to 10.4. Don't you love it?
7192 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7193 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7194 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7196 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7198 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7202 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7203 _lt_dar_single_mod='$single_module'
7205 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7206 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7208 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7210 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7211 _lt_dsymutil='~$DSYMUTIL $lib || :'
7219 ac_cpp='$CPP $CPPFLAGS'
7220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7224 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7225 # On Suns, sometimes $CPP names a directory.
7226 if test -n "$CPP" && test -d "$CPP"; then
7229 if test -z "$CPP"; then
7230 if ${ac_cv_prog_CPP+:} false; then :
7231 $as_echo_n "(cached) " >&6
7233 # Double quotes because CPP needs to be expanded
7234 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7237 for ac_c_preproc_warn_flag in '' yes
7239 # Use a header file that comes with gcc, so configuring glibc
7240 # with a fresh cross-compiler works.
7241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7242 # <limits.h> exists even on freestanding compilers.
7243 # On the NeXT, cc -E runs the code through the compiler's parser,
7244 # not just through cpp. "Syntax error" is here to catch this case.
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7248 # include <limits.h>
7250 # include <assert.h>
7254 if ac_fn_c_try_cpp "$LINENO"; then :
7257 # Broken: fails on valid input.
7260 rm -f conftest.err conftest.i conftest.$ac_ext
7262 # OK, works on sane cases. Now check whether nonexistent headers
7263 # can be detected and how.
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7266 #include <ac_nonexistent.h>
7268 if ac_fn_c_try_cpp "$LINENO"; then :
7269 # Broken: success on invalid input.
7272 # Passes both tests.
7276 rm -f conftest.err conftest.i conftest.$ac_ext
7279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7280 rm -f conftest.i conftest.err conftest.$ac_ext
7281 if $ac_preproc_ok; then :
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7294 $as_echo "$CPP" >&6; }
7296 for ac_c_preproc_warn_flag in '' yes
7298 # Use a header file that comes with gcc, so configuring glibc
7299 # with a fresh cross-compiler works.
7300 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7301 # <limits.h> exists even on freestanding compilers.
7302 # On the NeXT, cc -E runs the code through the compiler's parser,
7303 # not just through cpp. "Syntax error" is here to catch this case.
7304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7305 /* end confdefs.h. */
7307 # include <limits.h>
7309 # include <assert.h>
7313 if ac_fn_c_try_cpp "$LINENO"; then :
7316 # Broken: fails on valid input.
7319 rm -f conftest.err conftest.i conftest.$ac_ext
7321 # OK, works on sane cases. Now check whether nonexistent headers
7322 # can be detected and how.
7323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7324 /* end confdefs.h. */
7325 #include <ac_nonexistent.h>
7327 if ac_fn_c_try_cpp "$LINENO"; then :
7328 # Broken: success on invalid input.
7331 # Passes both tests.
7335 rm -f conftest.err conftest.i conftest.$ac_ext
7338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7339 rm -f conftest.i conftest.err conftest.$ac_ext
7340 if $ac_preproc_ok; then :
7343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7345 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7346 See \`config.log' for more details" "$LINENO" 5; }
7350 ac_cpp='$CPP $CPPFLAGS'
7351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7357 $as_echo_n "checking for ANSI C header files... " >&6; }
7358 if ${ac_cv_header_stdc+:} false; then :
7359 $as_echo_n "(cached) " >&6
7361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7362 /* end confdefs.h. */
7376 if ac_fn_c_try_compile "$LINENO"; then :
7377 ac_cv_header_stdc=yes
7379 ac_cv_header_stdc=no
7381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7383 if test $ac_cv_header_stdc = yes; then
7384 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7386 /* end confdefs.h. */
7390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7391 $EGREP "memchr" >/dev/null 2>&1; then :
7394 ac_cv_header_stdc=no
7400 if test $ac_cv_header_stdc = yes; then
7401 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7403 /* end confdefs.h. */
7407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7408 $EGREP "free" >/dev/null 2>&1; then :
7411 ac_cv_header_stdc=no
7417 if test $ac_cv_header_stdc = yes; then
7418 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7419 if test "$cross_compiling" = yes; then :
7422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7423 /* end confdefs.h. */
7426 #if ((' ' & 0x0FF) == 0x020)
7427 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7428 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7430 # define ISLOWER(c) \
7431 (('a' <= (c) && (c) <= 'i') \
7432 || ('j' <= (c) && (c) <= 'r') \
7433 || ('s' <= (c) && (c) <= 'z'))
7434 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7437 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7442 for (i = 0; i < 256; i++)
7443 if (XOR (islower (i), ISLOWER (i))
7444 || toupper (i) != TOUPPER (i))
7449 if ac_fn_c_try_run "$LINENO"; then :
7452 ac_cv_header_stdc=no
7454 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7455 conftest.$ac_objext conftest.beam conftest.$ac_ext
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7461 $as_echo "$ac_cv_header_stdc" >&6; }
7462 if test $ac_cv_header_stdc = yes; then
7464 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7468 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7469 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7470 inttypes.h stdint.h unistd.h
7472 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7473 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7475 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7476 cat >>confdefs.h <<_ACEOF
7477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7485 for ac_header in dlfcn.h
7487 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7489 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7490 cat >>confdefs.h <<_ACEOF
7491 #define HAVE_DLFCN_H 1
7503 # Check whether --enable-static was given.
7504 if test "${enable_static+set}" = set; then :
7505 enableval=$enable_static; p=${PACKAGE-default}
7507 yes) enable_static=yes ;;
7508 no) enable_static=no ;;
7511 # Look at the argument we got. We use all the common list separators.
7512 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7513 for pkg in $enableval; do
7515 if test "X$pkg" = "X$p"; then
7541 # Check whether --enable-shared was given.
7542 if test "${enable_shared+set}" = set; then :
7543 enableval=$enable_shared; p=${PACKAGE-default}
7545 yes) enable_shared=yes ;;
7546 no) enable_shared=no ;;
7549 # Look at the argument we got. We use all the common list separators.
7550 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7551 for pkg in $enableval; do
7553 if test "X$pkg" = "X$p"; then
7574 # Check whether --with-pic was given.
7575 if test "${with_pic+set}" = set; then :
7576 withval=$with_pic; lt_p=${PACKAGE-default}
7578 yes|no) pic_mode=$withval ;;
7581 # Look at the argument we got. We use all the common list separators.
7582 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7583 for lt_pkg in $withval; do
7585 if test "X$lt_pkg" = "X$lt_p"; then
7597 test -z "$pic_mode" && pic_mode=default
7605 # Check whether --enable-fast-install was given.
7606 if test "${enable_fast_install+set}" = set; then :
7607 enableval=$enable_fast_install; p=${PACKAGE-default}
7609 yes) enable_fast_install=yes ;;
7610 no) enable_fast_install=no ;;
7612 enable_fast_install=no
7613 # Look at the argument we got. We use all the common list separators.
7614 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7615 for pkg in $enableval; do
7617 if test "X$pkg" = "X$p"; then
7618 enable_fast_install=yes
7625 enable_fast_install=yes
7638 # This can be used to rebuild libtool when needed
7639 LIBTOOL_DEPS="$ltmain"
7641 # Always use our own libtool.
7642 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7673 test -z "$LN_S" && LN_S="ln -s"
7688 if test -n "${ZSH_VERSION+set}" ; then
7689 setopt NO_GLOB_SUBST
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7693 $as_echo_n "checking for objdir... " >&6; }
7694 if ${lt_cv_objdir+:} false; then :
7695 $as_echo_n "(cached) " >&6
7697 rm -f .libs 2>/dev/null
7698 mkdir .libs 2>/dev/null
7699 if test -d .libs; then
7702 # MS-DOS does not allow filenames that begin with a dot.
7705 rmdir .libs 2>/dev/null
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7708 $as_echo "$lt_cv_objdir" >&6; }
7709 objdir=$lt_cv_objdir
7715 cat >>confdefs.h <<_ACEOF
7716 #define LT_OBJDIR "$lt_cv_objdir/"
7724 # AIX sometimes has problems with the GCC collect2 program. For some
7725 # reason, if we set the COLLECT_NAMES environment variable, the problems
7726 # vanish in a puff of smoke.
7727 if test "X${COLLECT_NAMES+set}" != Xset; then
7729 export COLLECT_NAMES
7736 can_build_shared=yes
7738 # All known linkers require a `.a' archive for static linking (except MSVC,
7739 # which needs '.lib').
7742 with_gnu_ld="$lt_cv_prog_gnu_ld"
7745 old_CFLAGS="$CFLAGS"
7747 # Set sane defaults for various variables
7748 test -z "$CC" && CC=cc
7749 test -z "$LTCC" && LTCC=$CC
7750 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7751 test -z "$LD" && LD=ld
7752 test -z "$ac_objext" && ac_objext=o
7754 for cc_temp in $compiler""; do
7756 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7757 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7762 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7765 # Only perform the check for file, if the check method requires it
7766 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7767 case $deplibs_check_method in
7769 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7771 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7772 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7773 $as_echo_n "(cached) " >&6
7777 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7780 lt_save_MAGIC_CMD="$MAGIC_CMD"
7781 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7782 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7783 for ac_dir in $ac_dummy; do
7785 test -z "$ac_dir" && ac_dir=.
7786 if test -f $ac_dir/${ac_tool_prefix}file; then
7787 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7788 if test -n "$file_magic_test_file"; then
7789 case $deplibs_check_method in
7791 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7792 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7793 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7794 $EGREP "$file_magic_regex" > /dev/null; then
7799 *** Warning: the command libtool uses to detect shared libraries,
7800 *** $file_magic_cmd, produces output that libtool cannot recognize.
7801 *** The result is that libtool may fail to recognize shared libraries
7802 *** as such. This will affect the creation of libtool libraries that
7803 *** depend on shared libraries, but programs linked with such libtool
7804 *** libraries will work regardless of this problem. Nevertheless, you
7805 *** may want to report the problem to your system manager and/or to
7806 *** bug-libtool@gnu.org
7816 MAGIC_CMD="$lt_save_MAGIC_CMD"
7821 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7822 if test -n "$MAGIC_CMD"; then
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7824 $as_echo "$MAGIC_CMD" >&6; }
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7827 $as_echo "no" >&6; }
7834 if test -z "$lt_cv_path_MAGIC_CMD"; then
7835 if test -n "$ac_tool_prefix"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7837 $as_echo_n "checking for file... " >&6; }
7838 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7839 $as_echo_n "(cached) " >&6
7843 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7846 lt_save_MAGIC_CMD="$MAGIC_CMD"
7847 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7848 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7849 for ac_dir in $ac_dummy; do
7851 test -z "$ac_dir" && ac_dir=.
7852 if test -f $ac_dir/file; then
7853 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7854 if test -n "$file_magic_test_file"; then
7855 case $deplibs_check_method in
7857 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7858 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7859 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7860 $EGREP "$file_magic_regex" > /dev/null; then
7865 *** Warning: the command libtool uses to detect shared libraries,
7866 *** $file_magic_cmd, produces output that libtool cannot recognize.
7867 *** The result is that libtool may fail to recognize shared libraries
7868 *** as such. This will affect the creation of libtool libraries that
7869 *** depend on shared libraries, but programs linked with such libtool
7870 *** libraries will work regardless of this problem. Nevertheless, you
7871 *** may want to report the problem to your system manager and/or to
7872 *** bug-libtool@gnu.org
7882 MAGIC_CMD="$lt_save_MAGIC_CMD"
7887 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7888 if test -n "$MAGIC_CMD"; then
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7890 $as_echo "$MAGIC_CMD" >&6; }
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7893 $as_echo "no" >&6; }
7906 # Use C for the default configuration in the libtool script
7910 ac_cpp='$CPP $CPPFLAGS'
7911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7916 # Source file extension for C test sources.
7919 # Object file extension for compiled C test sources.
7923 # Code to be used in simple compile tests
7924 lt_simple_compile_test_code="int some_variable = 0;"
7926 # Code to be used in simple link tests
7927 lt_simple_link_test_code='int main(){return(0);}'
7935 # If no C compiler was specified, use CC.
7938 # If no C compiler flags were specified, use CFLAGS.
7939 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7941 # Allow CC to be a program name with arguments.
7944 # Save the default compiler, since it gets overwritten when the other
7945 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7946 compiler_DEFAULT=$CC
7948 # save warnings/boilerplate of simple test code
7949 ac_outfile=conftest.$ac_objext
7950 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7951 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7952 _lt_compiler_boilerplate=`cat conftest.err`
7955 ac_outfile=conftest.$ac_objext
7956 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7957 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7958 _lt_linker_boilerplate=`cat conftest.err`
7963 ## There is no encapsulation within the following macros, do not change
7964 ## the running order or otherwise move them around unless you know exactly
7965 ## what you are doing...
7966 if test -n "$compiler"; then
7968 lt_prog_compiler_no_builtin_flag=
7970 if test "$GCC" = yes; then
7971 case $cc_basename in
7973 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7975 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7979 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7980 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7981 $as_echo_n "(cached) " >&6
7983 lt_cv_prog_compiler_rtti_exceptions=no
7984 ac_outfile=conftest.$ac_objext
7985 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7986 lt_compiler_flag="-fno-rtti -fno-exceptions"
7987 # Insert the option either (1) after the last *FLAGS variable, or
7988 # (2) before a word containing "conftest.", or (3) at the end.
7989 # Note that $ac_compile itself does not contain backslashes and begins
7990 # with a dollar sign (not a hyphen), so the echo should work correctly.
7991 # The option is referenced via a variable to avoid confusing sed.
7992 lt_compile=`echo "$ac_compile" | $SED \
7993 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7994 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7995 -e 's:$: $lt_compiler_flag:'`
7996 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7997 (eval "$lt_compile" 2>conftest.err)
7999 cat conftest.err >&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 if (exit $ac_status) && test -s "$ac_outfile"; then
8002 # The compiler can only warn and ignore the option if not recognized
8003 # So say no if there are warnings other than the usual output.
8004 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8005 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8006 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8007 lt_cv_prog_compiler_rtti_exceptions=yes
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8014 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8016 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8017 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8029 lt_prog_compiler_wl=
8030 lt_prog_compiler_pic=
8031 lt_prog_compiler_static=
8034 if test "$GCC" = yes; then
8035 lt_prog_compiler_wl='-Wl,'
8036 lt_prog_compiler_static='-static'
8040 # All AIX code is PIC.
8041 if test "$host_cpu" = ia64; then
8042 # AIX 5 now supports IA64 processor
8043 lt_prog_compiler_static='-Bstatic'
8050 # see comment about AmigaOS4 .so support
8051 lt_prog_compiler_pic='-fPIC'
8054 # FIXME: we need at least 68020 code to build shared libraries, but
8055 # adding the `-m68020' flag to GCC prevents building anything better,
8057 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8062 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8063 # PIC is the default for these OSes.
8066 mingw* | cygwin* | pw32* | os2* | cegcc*)
8067 # This hack is so that the source file can tell whether it is being
8068 # built for inclusion in a dll (and should export symbols for example).
8069 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8070 # (--disable-auto-import) libraries
8071 lt_prog_compiler_pic='-DDLL_EXPORT'
8074 darwin* | rhapsody*)
8075 # PIC is the default on this platform
8076 # Common symbols not allowed in MH_DYLIB files
8077 lt_prog_compiler_pic='-fno-common'
8081 # PIC is the default for Haiku.
8082 # The "-static" flag exists, but is broken.
8083 lt_prog_compiler_static=
8087 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8088 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8089 # sets the default TLS model and affects inlining.
8095 lt_prog_compiler_pic='-fPIC'
8101 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8102 # Instead, we relocate shared libraries at runtime.
8106 # Just because we use GCC doesn't mean we suddenly get shared libraries
8107 # on systems that don't support them.
8108 lt_prog_compiler_can_build_shared=no
8113 # QNX uses GNU C++, but need to define -shared option too, otherwise
8115 lt_prog_compiler_pic='-fPIC -shared'
8119 if test -d /usr/nec; then
8120 lt_prog_compiler_pic=-Kconform_pic
8125 lt_prog_compiler_pic='-fPIC'
8129 case $cc_basename in
8130 nvcc*) # Cuda Compiler Driver 2.2
8131 lt_prog_compiler_wl='-Xlinker '
8132 if test -n "$lt_prog_compiler_pic"; then
8133 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8138 # PORTME Check for flag to pass linker flags through the system compiler.
8141 lt_prog_compiler_wl='-Wl,'
8142 if test "$host_cpu" = ia64; then
8143 # AIX 5 now supports IA64 processor
8144 lt_prog_compiler_static='-Bstatic'
8146 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8150 mingw* | cygwin* | pw32* | os2* | cegcc*)
8151 # This hack is so that the source file can tell whether it is being
8152 # built for inclusion in a dll (and should export symbols for example).
8153 lt_prog_compiler_pic='-DDLL_EXPORT'
8156 hpux9* | hpux10* | hpux11*)
8157 lt_prog_compiler_wl='-Wl,'
8158 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8165 lt_prog_compiler_pic='+Z'
8168 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8169 lt_prog_compiler_static='${wl}-a ${wl}archive'
8172 irix5* | irix6* | nonstopux*)
8173 lt_prog_compiler_wl='-Wl,'
8174 # PIC (with -KPIC) is the default.
8175 lt_prog_compiler_static='-non_shared'
8178 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8179 case $cc_basename in
8180 # old Intel for x86_64 which still supported -KPIC.
8182 lt_prog_compiler_wl='-Wl,'
8183 lt_prog_compiler_pic='-KPIC'
8184 lt_prog_compiler_static='-static'
8186 # icc used to be incompatible with GCC.
8187 # ICC 10 doesn't accept -KPIC any more.
8189 lt_prog_compiler_wl='-Wl,'
8190 lt_prog_compiler_pic='-fPIC'
8191 lt_prog_compiler_static='-static'
8193 # Lahey Fortran 8.1.
8195 lt_prog_compiler_wl='-Wl,'
8196 lt_prog_compiler_pic='--shared'
8197 lt_prog_compiler_static='--static'
8200 # NAG Fortran compiler
8201 lt_prog_compiler_wl='-Wl,-Wl,,'
8202 lt_prog_compiler_pic='-PIC'
8203 lt_prog_compiler_static='-Bstatic'
8205 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8206 # Portland Group compilers (*not* the Pentium gcc compiler,
8207 # which looks to be a dead project)
8208 lt_prog_compiler_wl='-Wl,'
8209 lt_prog_compiler_pic='-fpic'
8210 lt_prog_compiler_static='-Bstatic'
8213 lt_prog_compiler_wl='-Wl,'
8214 # All Alpha code is PIC.
8215 lt_prog_compiler_static='-non_shared'
8217 xl* | bgxl* | bgf* | mpixl*)
8218 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8219 lt_prog_compiler_wl='-Wl,'
8220 lt_prog_compiler_pic='-qpic'
8221 lt_prog_compiler_static='-qstaticlink'
8224 case `$CC -V 2>&1 | sed 5q` in
8225 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8226 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8227 lt_prog_compiler_pic='-KPIC'
8228 lt_prog_compiler_static='-Bstatic'
8229 lt_prog_compiler_wl=''
8231 *Sun\ F* | *Sun*Fortran*)
8232 lt_prog_compiler_pic='-KPIC'
8233 lt_prog_compiler_static='-Bstatic'
8234 lt_prog_compiler_wl='-Qoption ld '
8238 lt_prog_compiler_pic='-KPIC'
8239 lt_prog_compiler_static='-Bstatic'
8240 lt_prog_compiler_wl='-Wl,'
8242 *Intel*\ [CF]*Compiler*)
8243 lt_prog_compiler_wl='-Wl,'
8244 lt_prog_compiler_pic='-fPIC'
8245 lt_prog_compiler_static='-static'
8248 lt_prog_compiler_wl='-Wl,'
8249 lt_prog_compiler_pic='-fpic'
8250 lt_prog_compiler_static='-Bstatic'
8258 lt_prog_compiler_pic='-KPIC'
8259 lt_prog_compiler_static='-Bstatic'
8263 # QNX uses GNU C++, but need to define -shared option too, otherwise
8265 lt_prog_compiler_pic='-fPIC -shared'
8268 osf3* | osf4* | osf5*)
8269 lt_prog_compiler_wl='-Wl,'
8270 # All OSF/1 code is PIC.
8271 lt_prog_compiler_static='-non_shared'
8275 lt_prog_compiler_static='-non_shared'
8279 lt_prog_compiler_pic='-KPIC'
8280 lt_prog_compiler_static='-Bstatic'
8281 case $cc_basename in
8282 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8283 lt_prog_compiler_wl='-Qoption ld ';;
8285 lt_prog_compiler_wl='-Wl,';;
8290 lt_prog_compiler_wl='-Qoption ld '
8291 lt_prog_compiler_pic='-PIC'
8292 lt_prog_compiler_static='-Bstatic'
8295 sysv4 | sysv4.2uw2* | sysv4.3*)
8296 lt_prog_compiler_wl='-Wl,'
8297 lt_prog_compiler_pic='-KPIC'
8298 lt_prog_compiler_static='-Bstatic'
8302 if test -d /usr/nec ;then
8303 lt_prog_compiler_pic='-Kconform_pic'
8304 lt_prog_compiler_static='-Bstatic'
8308 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8309 lt_prog_compiler_wl='-Wl,'
8310 lt_prog_compiler_pic='-KPIC'
8311 lt_prog_compiler_static='-Bstatic'
8315 lt_prog_compiler_wl='-Wl,'
8316 lt_prog_compiler_can_build_shared=no
8320 lt_prog_compiler_pic='-pic'
8321 lt_prog_compiler_static='-Bstatic'
8325 lt_prog_compiler_can_build_shared=no
8331 # For platforms which do not support PIC, -DPIC is meaningless:
8333 lt_prog_compiler_pic=
8336 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8341 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8342 if ${lt_cv_prog_compiler_pic+:} false; then :
8343 $as_echo_n "(cached) " >&6
8345 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8348 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8349 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8352 # Check to make sure the PIC flag actually works.
8354 if test -n "$lt_prog_compiler_pic"; then
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8356 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8357 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8358 $as_echo_n "(cached) " >&6
8360 lt_cv_prog_compiler_pic_works=no
8361 ac_outfile=conftest.$ac_objext
8362 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8363 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8364 # Insert the option either (1) after the last *FLAGS variable, or
8365 # (2) before a word containing "conftest.", or (3) at the end.
8366 # Note that $ac_compile itself does not contain backslashes and begins
8367 # with a dollar sign (not a hyphen), so the echo should work correctly.
8368 # The option is referenced via a variable to avoid confusing sed.
8369 lt_compile=`echo "$ac_compile" | $SED \
8370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8372 -e 's:$: $lt_compiler_flag:'`
8373 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8374 (eval "$lt_compile" 2>conftest.err)
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 if (exit $ac_status) && test -s "$ac_outfile"; then
8379 # The compiler can only warn and ignore the option if not recognized
8380 # So say no if there are warnings other than the usual output.
8381 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8382 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8383 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8384 lt_cv_prog_compiler_pic_works=yes
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8391 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8393 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8394 case $lt_prog_compiler_pic in
8396 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8399 lt_prog_compiler_pic=
8400 lt_prog_compiler_can_build_shared=no
8416 # Check to make sure the static flag actually works.
8418 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8420 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8421 if ${lt_cv_prog_compiler_static_works+:} false; then :
8422 $as_echo_n "(cached) " >&6
8424 lt_cv_prog_compiler_static_works=no
8425 save_LDFLAGS="$LDFLAGS"
8426 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8427 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8428 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8429 # The linker can only warn and ignore the option if not recognized
8430 # So say no if there are warnings
8431 if test -s conftest.err; then
8432 # Append any errors to the config.log.
8433 cat conftest.err 1>&5
8434 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8435 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8436 if diff conftest.exp conftest.er2 >/dev/null; then
8437 lt_cv_prog_compiler_static_works=yes
8440 lt_cv_prog_compiler_static_works=yes
8444 LDFLAGS="$save_LDFLAGS"
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8448 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8450 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8453 lt_prog_compiler_static=
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8463 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8464 if ${lt_cv_prog_compiler_c_o+:} false; then :
8465 $as_echo_n "(cached) " >&6
8467 lt_cv_prog_compiler_c_o=no
8468 $RM -r conftest 2>/dev/null
8472 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8474 lt_compiler_flag="-o out/conftest2.$ac_objext"
8475 # Insert the option either (1) after the last *FLAGS variable, or
8476 # (2) before a word containing "conftest.", or (3) at the end.
8477 # Note that $ac_compile itself does not contain backslashes and begins
8478 # with a dollar sign (not a hyphen), so the echo should work correctly.
8479 lt_compile=`echo "$ac_compile" | $SED \
8480 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8481 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8482 -e 's:$: $lt_compiler_flag:'`
8483 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8484 (eval "$lt_compile" 2>out/conftest.err)
8486 cat out/conftest.err >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8490 # The compiler can only warn and ignore the option if not recognized
8491 # So say no if there are warnings
8492 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8493 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8494 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8495 lt_cv_prog_compiler_c_o=yes
8500 # SGI C++ compiler will create directory out/ii_files/ for
8501 # template instantiation
8502 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8503 $RM out/* && rmdir out
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8510 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8518 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8519 if ${lt_cv_prog_compiler_c_o+:} false; then :
8520 $as_echo_n "(cached) " >&6
8522 lt_cv_prog_compiler_c_o=no
8523 $RM -r conftest 2>/dev/null
8527 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8529 lt_compiler_flag="-o out/conftest2.$ac_objext"
8530 # Insert the option either (1) after the last *FLAGS variable, or
8531 # (2) before a word containing "conftest.", or (3) at the end.
8532 # Note that $ac_compile itself does not contain backslashes and begins
8533 # with a dollar sign (not a hyphen), so the echo should work correctly.
8534 lt_compile=`echo "$ac_compile" | $SED \
8535 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8537 -e 's:$: $lt_compiler_flag:'`
8538 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8539 (eval "$lt_compile" 2>out/conftest.err)
8541 cat out/conftest.err >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8545 # The compiler can only warn and ignore the option if not recognized
8546 # So say no if there are warnings
8547 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8548 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8549 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8550 lt_cv_prog_compiler_c_o=yes
8555 # SGI C++ compiler will create directory out/ii_files/ for
8556 # template instantiation
8557 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8558 $RM out/* && rmdir out
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8565 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8570 hard_links="nottested"
8571 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8572 # do not overwrite the value of need_locks provided by the user
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8574 $as_echo_n "checking if we can lock with hard links... " >&6; }
8577 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8579 ln conftest.a conftest.b 2>&5 || hard_links=no
8580 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8582 $as_echo "$hard_links" >&6; }
8583 if test "$hard_links" = no; then
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8585 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8598 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8601 allow_undefined_flag=
8602 always_export_symbols=no
8604 archive_expsym_cmds=
8605 compiler_needs_object=no
8606 enable_shared_with_static_runtimes=no
8607 export_dynamic_flag_spec=
8608 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8609 hardcode_automatic=no
8611 hardcode_direct_absolute=no
8612 hardcode_libdir_flag_spec=
8613 hardcode_libdir_separator=
8615 hardcode_shlibpath_var=unsupported
8617 link_all_deplibs=unknown
8620 old_archive_from_new_cmds=
8621 old_archive_from_expsyms_cmds=
8622 thread_safe_flag_spec=
8623 whole_archive_flag_spec=
8624 # include_expsyms should be a list of space-separated symbols to be *always*
8625 # included in the symbol list
8627 # exclude_expsyms can be an extended regexp of symbols to exclude
8628 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8629 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8630 # as well as any symbol that contains `d'.
8631 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8632 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8633 # platforms (ab)use it in PIC code, but their linkers get confused if
8634 # the symbol is explicitly referenced. Since portable code cannot
8635 # rely on this symbol name, it's probably fine to never include it in
8636 # preloaded symbol tables.
8637 # Exclude shared library initialization/finalization symbols.
8638 extract_expsyms_cmds=
8641 cygwin* | mingw* | pw32* | cegcc*)
8642 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8643 # When not using gcc, we currently assume that we are using
8644 # Microsoft Visual C++.
8645 if test "$GCC" != yes; then
8650 # we just hope/assume this is gcc and not c89 (= MSVC++)
8660 # On some targets, GNU ld is compatible enough with the native linker
8661 # that we're better off using the native interface for both.
8662 lt_use_gnu_ld_interface=no
8663 if test "$with_gnu_ld" = yes; then
8666 # The AIX port of GNU ld has always aspired to compatibility
8667 # with the native linker. However, as the warning in the GNU ld
8668 # block says, versions before 2.19.5* couldn't really create working
8669 # shared libraries, regardless of the interface used.
8670 case `$LD -v 2>&1` in
8671 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8672 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8673 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8675 lt_use_gnu_ld_interface=yes
8680 lt_use_gnu_ld_interface=yes
8685 if test "$lt_use_gnu_ld_interface" = yes; then
8686 # If archive_cmds runs LD, not CC, wlarc should be empty
8689 # Set some defaults for GNU ld with shared library support. These
8690 # are reset later if shared libraries are not supported. Putting them
8691 # here allows them to be overridden if necessary.
8692 runpath_var=LD_RUN_PATH
8693 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8694 export_dynamic_flag_spec='${wl}--export-dynamic'
8695 # ancient GNU ld didn't support --whole-archive et. al.
8696 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8697 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8699 whole_archive_flag_spec=
8701 supports_anon_versioning=no
8702 case `$LD -v 2>&1` in
8703 *GNU\ gold*) supports_anon_versioning=yes ;;
8704 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8705 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8706 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8707 *\ 2.11.*) ;; # other 2.11 versions
8708 *) supports_anon_versioning=yes ;;
8711 # See if GNU ld supports shared libraries.
8714 # On AIX/PPC, the GNU linker is very broken
8715 if test "$host_cpu" != ia64; then
8719 *** Warning: the GNU linker, at least up to release 2.19, is reported
8720 *** to be unable to reliably create shared libraries on AIX.
8721 *** Therefore, libtool is disabling shared libraries support. If you
8722 *** really care for shared libraries, you may want to install binutils
8723 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8724 *** You will then need to restart the configuration process.
8733 # see comment about AmigaOS4 .so support
8734 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8735 archive_expsym_cmds=''
8738 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)'
8739 hardcode_libdir_flag_spec='-L$libdir'
8740 hardcode_minus_L=yes
8746 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8747 allow_undefined_flag=unsupported
8748 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8749 # support --undefined. This deserves some investigation. FIXME
8750 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8756 cygwin* | mingw* | pw32* | cegcc*)
8757 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8758 # as there is no search path for DLLs.
8759 hardcode_libdir_flag_spec='-L$libdir'
8760 export_dynamic_flag_spec='${wl}--export-all-symbols'
8761 allow_undefined_flag=unsupported
8762 always_export_symbols=no
8763 enable_shared_with_static_runtimes=yes
8764 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'
8765 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8767 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8768 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8769 # If the export-symbols file already is a .def file (1st line
8770 # is EXPORTS), use it as is; otherwise, prepend...
8771 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8772 cp $export_symbols $output_objdir/$soname.def;
8774 echo EXPORTS > $output_objdir/$soname.def;
8775 cat $export_symbols >> $output_objdir/$soname.def;
8777 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8784 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8785 link_all_deplibs=yes
8790 hardcode_shlibpath_var=no
8791 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8792 export_dynamic_flag_spec='${wl}-E'
8793 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8794 # Instead, shared libraries are loaded at an image base (0x10000000 by
8795 # default) and relocated if they conflict, which is a slow very memory
8796 # consuming and fragmenting process. To avoid this, we pick a random,
8797 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8798 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8799 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8800 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'
8803 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8805 if test "$host_os" = linux-dietlibc; then
8806 case $cc_basename in
8807 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8810 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8811 && test "$tmp_diet" = no
8813 tmp_addflag=' $pic_flag'
8814 tmp_sharedflag='-shared'
8815 case $cc_basename,$host_cpu in
8816 pgcc*) # Portland Group C compiler
8817 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'
8818 tmp_addflag=' $pic_flag'
8820 pgf77* | pgf90* | pgf95* | pgfortran*)
8821 # Portland Group f77 and f90 compilers
8822 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'
8823 tmp_addflag=' $pic_flag -Mnomain' ;;
8824 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8825 tmp_addflag=' -i_dynamic' ;;
8826 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8827 tmp_addflag=' -i_dynamic -nofor_main' ;;
8828 ifc* | ifort*) # Intel Fortran compiler
8829 tmp_addflag=' -nofor_main' ;;
8830 lf95*) # Lahey Fortran 8.1
8831 whole_archive_flag_spec=
8832 tmp_sharedflag='--shared' ;;
8833 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8834 tmp_sharedflag='-qmkshrobj'
8836 nvcc*) # Cuda Compiler Driver 2.2
8837 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'
8838 compiler_needs_object=yes
8841 case `$CC -V 2>&1 | sed 5q` in
8842 *Sun\ C*) # Sun C 5.9
8843 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'
8844 compiler_needs_object=yes
8845 tmp_sharedflag='-G' ;;
8846 *Sun\ F*) # Sun Fortran 8.3
8847 tmp_sharedflag='-G' ;;
8849 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8851 if test "x$supports_anon_versioning" = xyes; then
8852 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8853 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8854 echo "local: *; };" >> $output_objdir/$libname.ver~
8855 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8858 case $cc_basename in
8859 xlf* | bgf* | bgxlf* | mpixlf*)
8860 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8861 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8862 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8863 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8864 if test "x$supports_anon_versioning" = xyes; then
8865 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8866 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8867 echo "local: *; };" >> $output_objdir/$libname.ver~
8868 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8878 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8879 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8882 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8888 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8892 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8893 *** create shared libraries on Solaris systems. Therefore, libtool
8894 *** is disabling shared libraries support. We urge you to upgrade GNU
8895 *** binutils to release 2.9.1 or newer. Another option is to modify
8896 *** your PATH or compiler configuration so that the native linker is
8897 *** used, and then restart.
8900 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8901 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8902 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8908 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8909 case `$LD -v 2>&1` in
8910 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8914 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8915 *** reliably create shared libraries on SCO systems. Therefore, libtool
8916 *** is disabling shared libraries support. We urge you to upgrade GNU
8917 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8918 *** your PATH or compiler configuration so that the native linker is
8919 *** used, and then restart.
8924 # For security reasons, it is highly recommended that you always
8925 # use absolute paths for naming shared libraries, and exclude the
8926 # DT_RUNPATH tag from executables and libraries. But doing so
8927 # requires that you compile everything twice, which is a pain.
8928 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8929 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8930 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8931 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8940 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8943 hardcode_shlibpath_var=no
8947 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8948 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8949 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8956 if test "$ld_shlibs" = no; then
8958 hardcode_libdir_flag_spec=
8959 export_dynamic_flag_spec=
8960 whole_archive_flag_spec=
8963 # PORTME fill in a description of your system's linker (not GNU ld)
8966 allow_undefined_flag=unsupported
8967 always_export_symbols=yes
8968 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'
8969 # Note: this linker hardcodes the directories in LIBPATH if there
8970 # are no directories specified by -L.
8971 hardcode_minus_L=yes
8972 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8973 # Neither direct hardcoding nor static linking is supported with a
8975 hardcode_direct=unsupported
8980 if test "$host_cpu" = ia64; then
8981 # On IA64, the linker does run time linking by default, so we don't
8982 # have to do anything special.
8983 aix_use_runtimelinking=no
8984 exp_sym_flag='-Bexport'
8987 # If we're using GNU nm, then we don't want the "-C" option.
8988 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8989 # Also, AIX nm treats weak defined symbols like other global
8990 # defined symbols, whereas GNU nm marks them as "W".
8991 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8992 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'
8994 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'
8996 aix_use_runtimelinking=no
8998 # Test if we are trying to use run time linking or normal
8999 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9000 # need to do runtime linking.
9001 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9002 for ld_flag in $LDFLAGS; do
9003 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9004 aix_use_runtimelinking=yes
9011 exp_sym_flag='-bexport'
9012 no_entry_flag='-bnoentry'
9015 # When large executables or shared objects are built, AIX ld can
9016 # have problems creating the table of contents. If linking a library
9017 # or program results in "error TOC overflow" add -mminimal-toc to
9018 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9019 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9023 hardcode_direct_absolute=yes
9024 hardcode_libdir_separator=':'
9025 link_all_deplibs=yes
9026 file_list_spec='${wl}-f,'
9028 if test "$GCC" = yes; then
9029 case $host_os in aix4.[012]|aix4.[012].*)
9030 # We only want to do this on AIX 4.2 and lower, the check
9031 # below for broken collect2 doesn't work under 4.3+
9032 collect2name=`${CC} -print-prog-name=collect2`
9033 if test -f "$collect2name" &&
9034 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9036 # We have reworked collect2
9039 # We have old collect2
9040 hardcode_direct=unsupported
9041 # It fails to find uninstalled libraries when the uninstalled
9042 # path is not listed in the libpath. Setting hardcode_minus_L
9043 # to unsupported forces relinking
9044 hardcode_minus_L=yes
9045 hardcode_libdir_flag_spec='-L$libdir'
9046 hardcode_libdir_separator=
9050 shared_flag='-shared'
9051 if test "$aix_use_runtimelinking" = yes; then
9052 shared_flag="$shared_flag "'${wl}-G'
9056 if test "$host_cpu" = ia64; then
9057 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9058 # chokes on -Wl,-G. The following line is correct:
9061 if test "$aix_use_runtimelinking" = yes; then
9062 shared_flag='${wl}-G'
9064 shared_flag='${wl}-bM:SRE'
9069 export_dynamic_flag_spec='${wl}-bexpall'
9070 # It seems that -bexpall does not export symbols beginning with
9071 # underscore (_), so it is better to generate a list of symbols to export.
9072 always_export_symbols=yes
9073 if test "$aix_use_runtimelinking" = yes; then
9074 # Warning - without using the other runtime loading flags (-brtl),
9075 # -berok will link without error, but may produce a broken library.
9076 allow_undefined_flag='-berok'
9077 # Determine the default libpath from the value encoded in an
9079 if test "${lt_cv_aix_libpath+set}" = set; then
9080 aix_libpath=$lt_cv_aix_libpath
9082 if ${lt_cv_aix_libpath_+:} false; then :
9083 $as_echo_n "(cached) " >&6
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9096 if ac_fn_c_try_link "$LINENO"; then :
9098 lt_aix_libpath_sed='
9099 /Import File Strings/,/^$/ {
9101 s/^0 *\([^ ]*\) *$/\1/
9105 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9106 # Check for a 64-bit object if we didn't find anything.
9107 if test -z "$lt_cv_aix_libpath_"; then
9108 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9111 rm -f core conftest.err conftest.$ac_objext \
9112 conftest$ac_exeext conftest.$ac_ext
9113 if test -z "$lt_cv_aix_libpath_"; then
9114 lt_cv_aix_libpath_="/usr/lib:/lib"
9119 aix_libpath=$lt_cv_aix_libpath_
9122 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9123 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"
9125 if test "$host_cpu" = ia64; then
9126 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9127 allow_undefined_flag="-z nodefs"
9128 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"
9130 # Determine the default libpath from the value encoded in an
9132 if test "${lt_cv_aix_libpath+set}" = set; then
9133 aix_libpath=$lt_cv_aix_libpath
9135 if ${lt_cv_aix_libpath_+:} false; then :
9136 $as_echo_n "(cached) " >&6
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9149 if ac_fn_c_try_link "$LINENO"; then :
9151 lt_aix_libpath_sed='
9152 /Import File Strings/,/^$/ {
9154 s/^0 *\([^ ]*\) *$/\1/
9158 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9159 # Check for a 64-bit object if we didn't find anything.
9160 if test -z "$lt_cv_aix_libpath_"; then
9161 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9166 if test -z "$lt_cv_aix_libpath_"; then
9167 lt_cv_aix_libpath_="/usr/lib:/lib"
9172 aix_libpath=$lt_cv_aix_libpath_
9175 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9176 # Warning - without using the other run time loading flags,
9177 # -berok will link without error, but may produce a broken library.
9178 no_undefined_flag=' ${wl}-bernotok'
9179 allow_undefined_flag=' ${wl}-berok'
9180 if test "$with_gnu_ld" = yes; then
9181 # We only use this code for GNU lds that support --whole-archive.
9182 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9184 # Exported symbols can be pulled into shared objects from archives
9185 whole_archive_flag_spec='$convenience'
9187 archive_cmds_need_lc=yes
9188 # This is similar to how AIX traditionally builds its shared libraries.
9189 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'
9197 # see comment about AmigaOS4 .so support
9198 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9199 archive_expsym_cmds=''
9202 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)'
9203 hardcode_libdir_flag_spec='-L$libdir'
9204 hardcode_minus_L=yes
9210 export_dynamic_flag_spec=-rdynamic
9213 cygwin* | mingw* | pw32* | cegcc*)
9214 # When not using gcc, we currently assume that we are using
9215 # Microsoft Visual C++.
9216 # hardcode_libdir_flag_spec is actually meaningless, as there is
9217 # no search path for DLLs.
9218 case $cc_basename in
9221 hardcode_libdir_flag_spec=' '
9222 allow_undefined_flag=unsupported
9223 always_export_symbols=yes
9225 # Tell ltmain to make .lib files, not .a files.
9227 # Tell ltmain to make .dll files, not .so files.
9229 # FIXME: Setting linknames here is a bad hack.
9230 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9231 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9232 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9234 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9236 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9238 # The linker will not automatically build a static lib if we build a DLL.
9239 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9240 enable_shared_with_static_runtimes=yes
9241 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9242 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9244 old_postinstall_cmds='chmod 644 $oldlib'
9245 postlink_cmds='lt_outputfile="@OUTPUT@"~
9246 lt_tool_outputfile="@TOOL_OUTPUT@"~
9247 case $lt_outputfile in
9250 lt_outputfile="$lt_outputfile.exe"
9251 lt_tool_outputfile="$lt_tool_outputfile.exe"
9254 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9255 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9256 $RM "$lt_outputfile.manifest";
9260 # Assume MSVC wrapper
9261 hardcode_libdir_flag_spec=' '
9262 allow_undefined_flag=unsupported
9263 # Tell ltmain to make .lib files, not .a files.
9265 # Tell ltmain to make .dll files, not .so files.
9267 # FIXME: Setting linknames here is a bad hack.
9268 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9269 # The linker will automatically build a .lib file if we build a DLL.
9270 old_archive_from_new_cmds='true'
9271 # FIXME: Should let the user specify the lib program.
9272 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9273 enable_shared_with_static_runtimes=yes
9278 darwin* | rhapsody*)
9281 archive_cmds_need_lc=no
9283 hardcode_automatic=yes
9284 hardcode_shlibpath_var=unsupported
9285 if test "$lt_cv_ld_force_load" = "yes"; then
9286 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\"`'
9289 whole_archive_flag_spec=''
9291 link_all_deplibs=yes
9292 allow_undefined_flag="$_lt_dar_allow_undefined"
9293 case $cc_basename in
9294 ifort*) _lt_dar_can_shared=yes ;;
9295 *) _lt_dar_can_shared=$GCC ;;
9297 if test "$_lt_dar_can_shared" = "yes"; then
9298 output_verbose_link_cmd=func_echo_all
9299 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9300 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9301 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}"
9302 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}"
9311 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9312 hardcode_libdir_flag_spec='-L$libdir'
9313 hardcode_shlibpath_var=no
9316 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9317 # support. Future versions do this automatically, but an explicit c++rt0.o
9318 # does not break anything, and helps significantly (at the cost of a little
9321 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9322 hardcode_libdir_flag_spec='-R$libdir'
9324 hardcode_shlibpath_var=no
9327 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9329 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9331 hardcode_minus_L=yes
9332 hardcode_shlibpath_var=no
9335 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9336 freebsd* | dragonfly*)
9337 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9338 hardcode_libdir_flag_spec='-R$libdir'
9340 hardcode_shlibpath_var=no
9344 if test "$GCC" = yes; then
9345 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'
9347 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'
9349 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9350 hardcode_libdir_separator=:
9353 # hardcode_minus_L: Not really in the search PATH,
9354 # but as the default location of the library.
9355 hardcode_minus_L=yes
9356 export_dynamic_flag_spec='${wl}-E'
9360 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9361 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9363 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9365 if test "$with_gnu_ld" = no; then
9366 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9367 hardcode_libdir_separator=:
9369 hardcode_direct_absolute=yes
9370 export_dynamic_flag_spec='${wl}-E'
9371 # hardcode_minus_L: Not really in the search PATH,
9372 # but as the default location of the library.
9373 hardcode_minus_L=yes
9378 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9381 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9384 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9387 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9393 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9396 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9400 # Older versions of the 11.00 compiler do not understand -b yet
9401 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9403 $as_echo_n "checking if $CC understands -b... " >&6; }
9404 if ${lt_cv_prog_compiler__b+:} false; then :
9405 $as_echo_n "(cached) " >&6
9407 lt_cv_prog_compiler__b=no
9408 save_LDFLAGS="$LDFLAGS"
9409 LDFLAGS="$LDFLAGS -b"
9410 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9411 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9412 # The linker can only warn and ignore the option if not recognized
9413 # So say no if there are warnings
9414 if test -s conftest.err; then
9415 # Append any errors to the config.log.
9416 cat conftest.err 1>&5
9417 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9418 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9419 if diff conftest.exp conftest.er2 >/dev/null; then
9420 lt_cv_prog_compiler__b=yes
9423 lt_cv_prog_compiler__b=yes
9427 LDFLAGS="$save_LDFLAGS"
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9431 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9433 if test x"$lt_cv_prog_compiler__b" = xyes; then
9434 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9436 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9442 if test "$with_gnu_ld" = no; then
9443 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9444 hardcode_libdir_separator=:
9449 hardcode_shlibpath_var=no
9453 hardcode_direct_absolute=yes
9454 export_dynamic_flag_spec='${wl}-E'
9456 # hardcode_minus_L: Not really in the search PATH,
9457 # but as the default location of the library.
9458 hardcode_minus_L=yes
9464 irix5* | irix6* | nonstopux*)
9465 if test "$GCC" = yes; then
9466 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'
9467 # Try to use the -exported_symbol ld option, if it does not
9468 # work, assume that -exports_file does not work either and
9469 # implicitly export all symbols.
9470 # This should be the same for all languages, so no per-tag cache variable.
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9472 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9473 if ${lt_cv_irix_exported_symbol+:} false; then :
9474 $as_echo_n "(cached) " >&6
9476 save_LDFLAGS="$LDFLAGS"
9477 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h. */
9480 int foo (void) { return 0; }
9482 if ac_fn_c_try_link "$LINENO"; then :
9483 lt_cv_irix_exported_symbol=yes
9485 lt_cv_irix_exported_symbol=no
9487 rm -f core conftest.err conftest.$ac_objext \
9488 conftest$ac_exeext conftest.$ac_ext
9489 LDFLAGS="$save_LDFLAGS"
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9492 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9493 if test "$lt_cv_irix_exported_symbol" = yes; then
9494 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'
9497 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'
9498 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'
9500 archive_cmds_need_lc='no'
9501 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9502 hardcode_libdir_separator=:
9504 link_all_deplibs=yes
9508 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9509 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9511 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9513 hardcode_libdir_flag_spec='-R$libdir'
9515 hardcode_shlibpath_var=no
9519 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9521 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9522 hardcode_libdir_separator=:
9523 hardcode_shlibpath_var=no
9530 if test -f /usr/libexec/ld.so; then
9532 hardcode_shlibpath_var=no
9533 hardcode_direct_absolute=yes
9534 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9535 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9536 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9537 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9538 export_dynamic_flag_spec='${wl}-E'
9541 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9542 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9543 hardcode_libdir_flag_spec='-R$libdir'
9546 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9547 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9557 hardcode_libdir_flag_spec='-L$libdir'
9558 hardcode_minus_L=yes
9559 allow_undefined_flag=unsupported
9560 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'
9561 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9565 if test "$GCC" = yes; then
9566 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9567 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'
9569 allow_undefined_flag=' -expect_unresolved \*'
9570 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'
9572 archive_cmds_need_lc='no'
9573 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9574 hardcode_libdir_separator=:
9577 osf4* | osf5*) # as osf3* with the addition of -msym flag
9578 if test "$GCC" = yes; then
9579 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9580 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'
9581 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9583 allow_undefined_flag=' -expect_unresolved \*'
9584 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'
9585 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~
9586 $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'
9588 # Both c and cxx compiler support -rpath directly
9589 hardcode_libdir_flag_spec='-rpath $libdir'
9591 archive_cmds_need_lc='no'
9592 hardcode_libdir_separator=:
9596 no_undefined_flag=' -z defs'
9597 if test "$GCC" = yes; then
9599 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9600 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9601 $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'
9603 case `$CC -V 2>&1` in
9606 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9607 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9608 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9612 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9613 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9614 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9618 hardcode_libdir_flag_spec='-R$libdir'
9619 hardcode_shlibpath_var=no
9621 solaris2.[0-5] | solaris2.[0-5].*) ;;
9623 # The compiler driver will combine and reorder linker options,
9624 # but understands `-z linker_flag'. GCC discards it without `$wl',
9625 # but is careful enough not to reorder.
9626 # Supported since Solaris 2.6 (maybe 2.5.1?)
9627 if test "$GCC" = yes; then
9628 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9630 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9634 link_all_deplibs=yes
9638 if test "x$host_vendor" = xsequent; then
9639 # Use $CC to link under sequent, because it throws in some extra .o
9640 # files that make .init and .fini sections work.
9641 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9645 hardcode_libdir_flag_spec='-L$libdir'
9647 hardcode_minus_L=yes
9648 hardcode_shlibpath_var=no
9652 case $host_vendor in
9654 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9655 hardcode_direct=yes # is this really true???
9658 ## LD is ld it makes a PLAMLIB
9659 ## CC just makes a GrossModule.
9660 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9661 reload_cmds='$CC -r -o $output$reload_objs'
9665 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9666 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9669 runpath_var='LD_RUN_PATH'
9670 hardcode_shlibpath_var=no
9674 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9675 hardcode_shlibpath_var=no
9676 export_dynamic_flag_spec='-Bexport'
9680 if test -d /usr/nec; then
9681 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9682 hardcode_shlibpath_var=no
9683 runpath_var=LD_RUN_PATH
9684 hardcode_runpath_var=yes
9689 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9690 no_undefined_flag='${wl}-z,text'
9691 archive_cmds_need_lc=no
9692 hardcode_shlibpath_var=no
9693 runpath_var='LD_RUN_PATH'
9695 if test "$GCC" = yes; then
9696 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9697 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9699 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9700 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9704 sysv5* | sco3.2v5* | sco5v6*)
9705 # Note: We can NOT use -z defs as we might desire, because we do not
9706 # link with -lc, and that would cause any symbols used from libc to
9707 # always be unresolved, which means just about no library would
9708 # ever link correctly. If we're not using GNU ld we use -z text
9709 # though, which does catch some bad symbols but isn't as heavy-handed
9711 no_undefined_flag='${wl}-z,text'
9712 allow_undefined_flag='${wl}-z,nodefs'
9713 archive_cmds_need_lc=no
9714 hardcode_shlibpath_var=no
9715 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9716 hardcode_libdir_separator=':'
9717 link_all_deplibs=yes
9718 export_dynamic_flag_spec='${wl}-Bexport'
9719 runpath_var='LD_RUN_PATH'
9721 if test "$GCC" = yes; then
9722 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9723 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9725 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9726 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9731 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_libdir_flag_spec='-L$libdir'
9733 hardcode_shlibpath_var=no
9741 if test x$host_vendor = xsni; then
9743 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9744 export_dynamic_flag_spec='${wl}-Blargedynsym'
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9751 $as_echo "$ld_shlibs" >&6; }
9752 test "$ld_shlibs" = no && can_build_shared=no
9754 with_gnu_ld=$with_gnu_ld
9771 # Do we need to explicitly link libc?
9773 case "x$archive_cmds_need_lc" in
9775 # Assume -lc should be added
9776 archive_cmds_need_lc=yes
9778 if test "$enable_shared" = yes && test "$GCC" = yes; then
9779 case $archive_cmds in
9781 # FIXME: we may have to deal with multi-command sequences.
9784 # Test whether the compiler implicitly links with -lc since on some
9785 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9786 # to ld, don't add -lc before -lgcc.
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9788 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9789 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9790 $as_echo_n "(cached) " >&6
9793 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9795 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9796 (eval $ac_compile) 2>&5
9798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9799 test $ac_status = 0; } 2>conftest.err; then
9802 libobjs=conftest.$ac_objext
9804 wl=$lt_prog_compiler_wl
9805 pic_flag=$lt_prog_compiler_pic
9811 lt_save_allow_undefined_flag=$allow_undefined_flag
9812 allow_undefined_flag=
9813 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9814 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9817 test $ac_status = 0; }
9819 lt_cv_archive_cmds_need_lc=no
9821 lt_cv_archive_cmds_need_lc=yes
9823 allow_undefined_flag=$lt_save_allow_undefined_flag
9825 cat conftest.err 1>&5
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9831 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9832 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9991 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9993 if test "$GCC" = yes; then
9995 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9996 *) lt_awk_arg="/^libraries:/" ;;
9999 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10000 *) lt_sed_strip_eq="s,=/,/,g" ;;
10002 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10003 case $lt_search_path_spec in
10005 # if the path contains ";" then we assume it to be the separator
10006 # otherwise default to the standard path separator (i.e. ":") - it is
10007 # assumed that no part of a normal pathname contains ";" but that should
10008 # okay in the real world where ";" in dirpaths is itself problematic.
10009 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10012 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10015 # Ok, now we have the path, separated by spaces, we can step through it
10016 # and add multilib dir if necessary.
10017 lt_tmp_lt_search_path_spec=
10018 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10019 for lt_sys_path in $lt_search_path_spec; do
10020 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10021 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10023 test -d "$lt_sys_path" && \
10024 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10027 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10028 BEGIN {RS=" "; FS="/|\n";} {
10031 for (lt_i = NF; lt_i > 0; lt_i--) {
10032 if ($lt_i != "" && $lt_i != ".") {
10033 if ($lt_i == "..") {
10036 if (lt_count == 0) {
10037 lt_foo="/" $lt_i lt_foo;
10044 if (lt_foo != "") { lt_freq[lt_foo]++; }
10045 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10047 # AWK program above erroneously prepends '/' to C:/dos/paths
10050 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10051 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10053 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10055 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10057 library_names_spec=
10058 libname_spec='lib$name'
10062 postuninstall_cmds=
10066 shlibpath_overrides_runpath=unknown
10068 dynamic_linker="$host_os ld.so"
10069 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10070 need_lib_prefix=unknown
10071 hardcode_into_libs=no
10073 # when you set need_version to no, make sure it does not cause -set_version
10074 # flags to be left without arguments
10075 need_version=unknown
10079 version_type=linux # correct to gnu/linux during the next big refactor
10080 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10081 shlibpath_var=LIBPATH
10083 # AIX 3 has no versioning support, so we append a major version to the name.
10084 soname_spec='${libname}${release}${shared_ext}$major'
10088 version_type=linux # correct to gnu/linux during the next big refactor
10091 hardcode_into_libs=yes
10092 if test "$host_cpu" = ia64; then
10093 # AIX 5 supports IA64
10094 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10095 shlibpath_var=LD_LIBRARY_PATH
10097 # With GCC up to 2.95.x, collect2 would create an import file
10098 # for dependence libraries. The import file would start with
10099 # the line `#! .'. This would cause the generated library to
10100 # depend on `.', always an invalid library. This was fixed in
10101 # development snapshots of GCC prior to 3.0.
10103 aix4 | aix4.[01] | aix4.[01].*)
10104 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10106 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10109 can_build_shared=no
10113 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10114 # soname into executable. Probably we can add versioning support to
10115 # collect2, so additional links can be useful in future.
10116 if test "$aix_use_runtimelinking" = yes; then
10117 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10118 # instead of lib<name>.a to let people know that these are not
10119 # typical AIX shared libraries.
10120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10122 # We preserve .a as extension for shared libraries through AIX4.2
10123 # and later when we are not doing run time linking.
10124 library_names_spec='${libname}${release}.a $libname.a'
10125 soname_spec='${libname}${release}${shared_ext}$major'
10127 shlibpath_var=LIBPATH
10134 # Since July 2007 AmigaOS4 officially supports .so libraries.
10135 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10139 library_names_spec='$libname.ixlibrary $libname.a'
10140 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10141 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'
10147 library_names_spec='${libname}${shared_ext}'
10148 dynamic_linker="$host_os ld.so"
10149 shlibpath_var=LIBRARY_PATH
10153 version_type=linux # correct to gnu/linux during the next big refactor
10155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10156 soname_spec='${libname}${release}${shared_ext}$major'
10157 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10158 shlibpath_var=LD_LIBRARY_PATH
10159 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10160 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10161 # the default ld.so.conf also contains /usr/contrib/lib and
10162 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10163 # libtool to hard-code these into programs
10166 cygwin* | mingw* | pw32* | cegcc*)
10167 version_type=windows
10172 case $GCC,$cc_basename in
10175 library_names_spec='$libname.dll.a'
10176 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10177 postinstall_cmds='base_file=`basename \${file}`~
10178 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10179 dldir=$destdir/`dirname \$dlpath`~
10180 test -d \$dldir || mkdir -p \$dldir~
10181 $install_prog $dir/$dlname \$dldir/$dlname~
10182 chmod a+x \$dldir/$dlname~
10183 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10184 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10186 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10187 dlpath=$dir/\$dldll~
10189 shlibpath_overrides_runpath=yes
10193 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10194 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10196 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10199 # MinGW DLLs use traditional 'lib' prefix
10200 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10203 # pw32 DLLs use 'pw' prefix rather than 'lib'
10204 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10207 dynamic_linker='Win32 ld.exe'
10212 libname_spec='$name'
10213 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10214 library_names_spec='${libname}.dll.lib'
10218 sys_lib_search_path_spec=
10221 for lt_path in $LIB
10224 # Let DOS variable expansion print the short 8.3 style file name.
10225 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10226 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10229 # Convert to MSYS style.
10230 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10233 # Convert to unix form, then to dos form, then back to unix form
10234 # but this time dos style (no spaces!) so that the unix form looks
10235 # like /cygdrive/c/PROGRA~1:/cygdr...
10236 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10237 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10238 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10241 sys_lib_search_path_spec="$LIB"
10242 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10243 # It is most probably a Windows format PATH.
10244 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10246 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10248 # FIXME: find the short name or the path components, as spaces are
10249 # common. (e.g. "Program Files" -> "PROGRA~1")
10253 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10254 postinstall_cmds='base_file=`basename \${file}`~
10255 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10256 dldir=$destdir/`dirname \$dlpath`~
10257 test -d \$dldir || mkdir -p \$dldir~
10258 $install_prog $dir/$dlname \$dldir/$dlname'
10259 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10260 dlpath=$dir/\$dldll~
10262 shlibpath_overrides_runpath=yes
10263 dynamic_linker='Win32 link.exe'
10267 # Assume MSVC wrapper
10268 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10269 dynamic_linker='Win32 ld.exe'
10272 # FIXME: first we should search . and the directory the executable is in
10276 darwin* | rhapsody*)
10277 dynamic_linker="$host_os dyld"
10278 version_type=darwin
10281 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10282 soname_spec='${libname}${release}${major}$shared_ext'
10283 shlibpath_overrides_runpath=yes
10284 shlibpath_var=DYLD_LIBRARY_PATH
10285 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10287 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10288 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10292 version_type=linux # correct to gnu/linux during the next big refactor
10295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10296 soname_spec='${libname}${release}${shared_ext}$major'
10297 shlibpath_var=LD_LIBRARY_PATH
10300 freebsd* | dragonfly*)
10301 # DragonFly does not have aout. When/if they implement a new
10302 # versioning mechanism, adjust this.
10303 if test -x /usr/bin/objformat; then
10304 objformat=`/usr/bin/objformat`
10307 freebsd[23].*) objformat=aout ;;
10308 *) objformat=elf ;;
10311 version_type=freebsd-$objformat
10312 case $version_type in
10314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10319 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10323 shlibpath_var=LD_LIBRARY_PATH
10326 shlibpath_overrides_runpath=yes
10328 freebsd3.[01]* | freebsdelf3.[01]*)
10329 shlibpath_overrides_runpath=yes
10330 hardcode_into_libs=yes
10332 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10333 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10334 shlibpath_overrides_runpath=no
10335 hardcode_into_libs=yes
10337 *) # from 4.6 on, and DragonFly
10338 shlibpath_overrides_runpath=yes
10339 hardcode_into_libs=yes
10345 version_type=linux # correct to gnu/linux during the next big refactor
10348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10349 soname_spec='${libname}${release}${shared_ext}$major'
10350 shlibpath_var=LD_LIBRARY_PATH
10351 shlibpath_overrides_runpath=no
10352 hardcode_into_libs=yes
10356 version_type=linux # correct to gnu/linux during the next big refactor
10359 dynamic_linker="$host_os runtime_loader"
10360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10361 soname_spec='${libname}${release}${shared_ext}$major'
10362 shlibpath_var=LIBRARY_PATH
10363 shlibpath_overrides_runpath=yes
10364 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10365 hardcode_into_libs=yes
10368 hpux9* | hpux10* | hpux11*)
10369 # Give a soname corresponding to the major version so that dld.sl refuses to
10370 # link against other versions.
10377 hardcode_into_libs=yes
10378 dynamic_linker="$host_os dld.so"
10379 shlibpath_var=LD_LIBRARY_PATH
10380 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10382 soname_spec='${libname}${release}${shared_ext}$major'
10383 if test "X$HPUX_IA64_MODE" = X32; then
10384 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10386 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10388 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10392 hardcode_into_libs=yes
10393 dynamic_linker="$host_os dld.sl"
10394 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10395 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10397 soname_spec='${libname}${release}${shared_ext}$major'
10398 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10399 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10403 dynamic_linker="$host_os dld.sl"
10404 shlibpath_var=SHLIB_PATH
10405 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10407 soname_spec='${libname}${release}${shared_ext}$major'
10410 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10411 postinstall_cmds='chmod 555 $lib'
10412 # or fails outright, so override atomically:
10413 install_override_mode=555
10417 version_type=linux # correct to gnu/linux during the next big refactor
10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10421 soname_spec='${libname}${release}${shared_ext}$major'
10422 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10423 shlibpath_var=LD_LIBRARY_PATH
10424 shlibpath_overrides_runpath=no
10425 hardcode_into_libs=yes
10428 irix5* | irix6* | nonstopux*)
10430 nonstopux*) version_type=nonstopux ;;
10432 if test "$lt_cv_prog_gnu_ld" = yes; then
10433 version_type=linux # correct to gnu/linux during the next big refactor
10440 soname_spec='${libname}${release}${shared_ext}$major'
10441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10443 irix5* | nonstopux*)
10444 libsuff= shlibsuff=
10447 case $LD in # libtool.m4 will add one of these switches to LD
10448 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10449 libsuff= shlibsuff= libmagic=32-bit;;
10450 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10451 libsuff=32 shlibsuff=N32 libmagic=N32;;
10452 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10453 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10454 *) libsuff= shlibsuff= libmagic=never-match;;
10458 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10459 shlibpath_overrides_runpath=no
10460 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10461 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10462 hardcode_into_libs=yes
10465 # No shared lib support for Linux oldld, aout, or coff.
10466 linux*oldld* | linux*aout* | linux*coff*)
10470 # This must be glibc/ELF.
10471 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10472 version_type=linux # correct to gnu/linux during the next big refactor
10475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10476 soname_spec='${libname}${release}${shared_ext}$major'
10477 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10478 shlibpath_var=LD_LIBRARY_PATH
10479 shlibpath_overrides_runpath=no
10481 # Some binutils ld are patched to set DT_RUNPATH
10482 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10483 $as_echo_n "(cached) " >&6
10485 lt_cv_shlibpath_overrides_runpath=no
10486 save_LDFLAGS=$LDFLAGS
10487 save_libdir=$libdir
10488 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10489 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10491 /* end confdefs.h. */
10501 if ac_fn_c_try_link "$LINENO"; then :
10502 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10503 lt_cv_shlibpath_overrides_runpath=yes
10506 rm -f core conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 LDFLAGS=$save_LDFLAGS
10509 libdir=$save_libdir
10513 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10515 # This implies no fast_install, which is unacceptable.
10516 # Some rework will be needed to allow for fast_install
10517 # before this can be enabled.
10518 hardcode_into_libs=yes
10520 # Append ld.so.conf contents to the search path
10521 if test -f /etc/ld.so.conf; then
10522 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' ' '`
10523 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10526 # We used to test for /lib/ld.so.1 and disable shared libraries on
10527 # powerpc, because MkLinux only supported shared libraries with the
10528 # GNU dynamic linker. Since this was broken with cross compilers,
10529 # most powerpc-linux boxes support dynamic linking these days and
10530 # people can always --disable-shared, the test was removed, and we
10531 # assume the GNU/Linux dynamic linker is in use.
10532 dynamic_linker='GNU/Linux ld.so'
10539 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10541 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10542 dynamic_linker='NetBSD (a.out) ld.so'
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10545 soname_spec='${libname}${release}${shared_ext}$major'
10546 dynamic_linker='NetBSD ld.elf_so'
10548 shlibpath_var=LD_LIBRARY_PATH
10549 shlibpath_overrides_runpath=yes
10550 hardcode_into_libs=yes
10554 version_type=linux # correct to gnu/linux during the next big refactor
10555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 shlibpath_overrides_runpath=yes
10564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565 soname_spec='${libname}${release}${shared_ext}$major'
10566 shlibpath_var=LD_LIBRARY_PATH
10567 shlibpath_overrides_runpath=no
10568 hardcode_into_libs=yes
10569 dynamic_linker='ldqnx.so'
10574 sys_lib_dlsearch_path_spec="/usr/lib"
10576 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10578 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10579 *) need_version=no ;;
10581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10583 shlibpath_var=LD_LIBRARY_PATH
10584 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10586 openbsd2.[89] | openbsd2.[89].*)
10587 shlibpath_overrides_runpath=no
10590 shlibpath_overrides_runpath=yes
10594 shlibpath_overrides_runpath=yes
10599 libname_spec='$name'
10602 library_names_spec='$libname${shared_ext} $libname.a'
10603 dynamic_linker='OS/2 ld.exe'
10604 shlibpath_var=LIBPATH
10607 osf3* | osf4* | osf5*)
10611 soname_spec='${libname}${release}${shared_ext}$major'
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613 shlibpath_var=LD_LIBRARY_PATH
10614 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10615 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10623 version_type=linux # correct to gnu/linux during the next big refactor
10626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10627 soname_spec='${libname}${release}${shared_ext}$major'
10628 shlibpath_var=LD_LIBRARY_PATH
10629 shlibpath_overrides_runpath=yes
10630 hardcode_into_libs=yes
10631 # ldd complains unless libraries are executable
10632 postinstall_cmds='chmod +x $lib'
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10638 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10639 shlibpath_var=LD_LIBRARY_PATH
10640 shlibpath_overrides_runpath=yes
10641 if test "$with_gnu_ld" = yes; then
10648 version_type=linux # correct to gnu/linux during the next big refactor
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650 soname_spec='${libname}${release}${shared_ext}$major'
10651 shlibpath_var=LD_LIBRARY_PATH
10652 case $host_vendor in
10654 shlibpath_overrides_runpath=no
10656 runpath_var=LD_RUN_PATH
10664 shlibpath_overrides_runpath=no
10665 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10671 if test -d /usr/nec ;then
10672 version_type=linux # correct to gnu/linux during the next big refactor
10673 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10674 soname_spec='$libname${shared_ext}.$major'
10675 shlibpath_var=LD_LIBRARY_PATH
10679 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10680 version_type=freebsd-elf
10683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10684 soname_spec='${libname}${release}${shared_ext}$major'
10685 shlibpath_var=LD_LIBRARY_PATH
10686 shlibpath_overrides_runpath=yes
10687 hardcode_into_libs=yes
10688 if test "$with_gnu_ld" = yes; then
10689 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10691 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10694 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10698 sys_lib_dlsearch_path_spec='/usr/lib'
10702 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10703 version_type=linux # correct to gnu/linux during the next big refactor
10706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707 shlibpath_var=LD_LIBRARY_PATH
10708 shlibpath_overrides_runpath=no
10709 hardcode_into_libs=yes
10713 version_type=linux # correct to gnu/linux during the next big refactor
10714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10715 soname_spec='${libname}${release}${shared_ext}$major'
10716 shlibpath_var=LD_LIBRARY_PATH
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10724 $as_echo "$dynamic_linker" >&6; }
10725 test "$dynamic_linker" = no && can_build_shared=no
10727 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10728 if test "$GCC" = yes; then
10729 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10732 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10733 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10735 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10736 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10831 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10833 if test -n "$hardcode_libdir_flag_spec" ||
10834 test -n "$runpath_var" ||
10835 test "X$hardcode_automatic" = "Xyes" ; then
10837 # We can hardcode non-existent directories.
10838 if test "$hardcode_direct" != no &&
10839 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10840 # have to relink, otherwise we might link with an installed library
10841 # when we should be linking with a yet-to-be-installed one
10842 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10843 test "$hardcode_minus_L" != no; then
10844 # Linking always hardcodes the temporary library directory.
10845 hardcode_action=relink
10847 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10848 hardcode_action=immediate
10851 # We cannot hardcode anything, or else we can only hardcode existing
10853 hardcode_action=unsupported
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10856 $as_echo "$hardcode_action" >&6; }
10858 if test "$hardcode_action" = relink ||
10859 test "$inherit_rpath" = yes; then
10860 # Fast installation is not supported
10861 enable_fast_install=no
10862 elif test "$shlibpath_overrides_runpath" = yes ||
10863 test "$enable_shared" = no; then
10864 # Fast installation is not necessary
10865 enable_fast_install=needless
10873 if test "x$enable_dlopen" != xyes; then
10874 enable_dlopen=unknown
10875 enable_dlopen_self=unknown
10876 enable_dlopen_self_static=unknown
10883 lt_cv_dlopen="load_add_on"
10885 lt_cv_dlopen_self=yes
10888 mingw* | pw32* | cegcc*)
10889 lt_cv_dlopen="LoadLibrary"
10894 lt_cv_dlopen="dlopen"
10899 # if libdl is installed we need to link against it
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10901 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10902 if ${ac_cv_lib_dl_dlopen+:} false; then :
10903 $as_echo_n "(cached) " >&6
10905 ac_check_lib_save_LIBS=$LIBS
10907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10908 /* end confdefs.h. */
10910 /* Override any GCC internal prototype to avoid an error.
10911 Use char because int might match the return type of a GCC
10912 builtin and then its argument prototype would still apply. */
10925 if ac_fn_c_try_link "$LINENO"; then :
10926 ac_cv_lib_dl_dlopen=yes
10928 ac_cv_lib_dl_dlopen=no
10930 rm -f core conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LIBS=$ac_check_lib_save_LIBS
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10935 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10936 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10937 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10940 lt_cv_dlopen="dyld"
10942 lt_cv_dlopen_self=yes
10949 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10950 if test "x$ac_cv_func_shl_load" = xyes; then :
10951 lt_cv_dlopen="shl_load"
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10954 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10955 if ${ac_cv_lib_dld_shl_load+:} false; then :
10956 $as_echo_n "(cached) " >&6
10958 ac_check_lib_save_LIBS=$LIBS
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10973 return shl_load ();
10978 if ac_fn_c_try_link "$LINENO"; then :
10979 ac_cv_lib_dld_shl_load=yes
10981 ac_cv_lib_dld_shl_load=no
10983 rm -f core conftest.err conftest.$ac_objext \
10984 conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_lib_save_LIBS
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10988 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10989 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10990 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10992 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10993 if test "x$ac_cv_func_dlopen" = xyes; then :
10994 lt_cv_dlopen="dlopen"
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10997 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10998 if ${ac_cv_lib_dl_dlopen+:} false; then :
10999 $as_echo_n "(cached) " >&6
11001 ac_check_lib_save_LIBS=$LIBS
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11006 /* Override any GCC internal prototype to avoid an error.
11007 Use char because int might match the return type of a GCC
11008 builtin and then its argument prototype would still apply. */
11021 if ac_fn_c_try_link "$LINENO"; then :
11022 ac_cv_lib_dl_dlopen=yes
11024 ac_cv_lib_dl_dlopen=no
11026 rm -f core conftest.err conftest.$ac_objext \
11027 conftest$ac_exeext conftest.$ac_ext
11028 LIBS=$ac_check_lib_save_LIBS
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11031 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11032 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11033 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11036 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11037 if ${ac_cv_lib_svld_dlopen+:} false; then :
11038 $as_echo_n "(cached) " >&6
11040 ac_check_lib_save_LIBS=$LIBS
11041 LIBS="-lsvld $LIBS"
11042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11043 /* end confdefs.h. */
11045 /* Override any GCC internal prototype to avoid an error.
11046 Use char because int might match the return type of a GCC
11047 builtin and then its argument prototype would still apply. */
11060 if ac_fn_c_try_link "$LINENO"; then :
11061 ac_cv_lib_svld_dlopen=yes
11063 ac_cv_lib_svld_dlopen=no
11065 rm -f core conftest.err conftest.$ac_objext \
11066 conftest$ac_exeext conftest.$ac_ext
11067 LIBS=$ac_check_lib_save_LIBS
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11070 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11071 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11072 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11075 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11076 if ${ac_cv_lib_dld_dld_link+:} false; then :
11077 $as_echo_n "(cached) " >&6
11079 ac_check_lib_save_LIBS=$LIBS
11081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11082 /* end confdefs.h. */
11084 /* Override any GCC internal prototype to avoid an error.
11085 Use char because int might match the return type of a GCC
11086 builtin and then its argument prototype would still apply. */
11094 return dld_link ();
11099 if ac_fn_c_try_link "$LINENO"; then :
11100 ac_cv_lib_dld_dld_link=yes
11102 ac_cv_lib_dld_dld_link=no
11104 rm -f core conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11106 LIBS=$ac_check_lib_save_LIBS
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11109 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11110 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11111 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11132 if test "x$lt_cv_dlopen" != xno; then
11138 case $lt_cv_dlopen in
11140 save_CPPFLAGS="$CPPFLAGS"
11141 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11143 save_LDFLAGS="$LDFLAGS"
11144 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11147 LIBS="$lt_cv_dlopen_libs $LIBS"
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11150 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11151 if ${lt_cv_dlopen_self+:} false; then :
11152 $as_echo_n "(cached) " >&6
11154 if test "$cross_compiling" = yes; then :
11155 lt_cv_dlopen_self=cross
11157 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11158 lt_status=$lt_dlunknown
11159 cat > conftest.$ac_ext <<_LT_EOF
11160 #line $LINENO "configure"
11161 #include "confdefs.h"
11170 # define LT_DLGLOBAL RTLD_GLOBAL
11173 # define LT_DLGLOBAL DL_GLOBAL
11175 # define LT_DLGLOBAL 0
11179 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11180 find out it does not work in some platform. */
11181 #ifndef LT_DLLAZY_OR_NOW
11183 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11186 # define LT_DLLAZY_OR_NOW DL_LAZY
11189 # define LT_DLLAZY_OR_NOW RTLD_NOW
11192 # define LT_DLLAZY_OR_NOW DL_NOW
11194 # define LT_DLLAZY_OR_NOW 0
11201 /* When -fvisbility=hidden is used, assume the code has been annotated
11202 correspondingly for the symbols needed. */
11203 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11204 int fnord () __attribute__((visibility("default")));
11207 int fnord () { return 42; }
11210 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11211 int status = $lt_dlunknown;
11215 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11218 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11219 else puts (dlerror ());
11221 /* dlclose (self); */
11229 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11230 (eval $ac_link) 2>&5
11232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11233 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11234 (./conftest; exit; ) >&5 2>/dev/null
11236 case x$lt_status in
11237 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11238 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11239 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11242 # compilation failed
11243 lt_cv_dlopen_self=no
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11251 $as_echo "$lt_cv_dlopen_self" >&6; }
11253 if test "x$lt_cv_dlopen_self" = xyes; then
11254 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11256 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11257 if ${lt_cv_dlopen_self_static+:} false; then :
11258 $as_echo_n "(cached) " >&6
11260 if test "$cross_compiling" = yes; then :
11261 lt_cv_dlopen_self_static=cross
11263 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11264 lt_status=$lt_dlunknown
11265 cat > conftest.$ac_ext <<_LT_EOF
11266 #line $LINENO "configure"
11267 #include "confdefs.h"
11276 # define LT_DLGLOBAL RTLD_GLOBAL
11279 # define LT_DLGLOBAL DL_GLOBAL
11281 # define LT_DLGLOBAL 0
11285 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11286 find out it does not work in some platform. */
11287 #ifndef LT_DLLAZY_OR_NOW
11289 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11292 # define LT_DLLAZY_OR_NOW DL_LAZY
11295 # define LT_DLLAZY_OR_NOW RTLD_NOW
11298 # define LT_DLLAZY_OR_NOW DL_NOW
11300 # define LT_DLLAZY_OR_NOW 0
11307 /* When -fvisbility=hidden is used, assume the code has been annotated
11308 correspondingly for the symbols needed. */
11309 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11310 int fnord () __attribute__((visibility("default")));
11313 int fnord () { return 42; }
11316 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11317 int status = $lt_dlunknown;
11321 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11324 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11325 else puts (dlerror ());
11327 /* dlclose (self); */
11335 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11336 (eval $ac_link) 2>&5
11338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11339 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11340 (./conftest; exit; ) >&5 2>/dev/null
11342 case x$lt_status in
11343 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11344 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11345 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11348 # compilation failed
11349 lt_cv_dlopen_self_static=no
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11357 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11360 CPPFLAGS="$save_CPPFLAGS"
11361 LDFLAGS="$save_LDFLAGS"
11366 case $lt_cv_dlopen_self in
11367 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11368 *) enable_dlopen_self=unknown ;;
11371 case $lt_cv_dlopen_self_static in
11372 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11373 *) enable_dlopen_self_static=unknown ;;
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11396 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11397 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11398 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11399 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11401 $as_echo "yes" >&6; }
11403 # FIXME - insert some real tests, host_os isn't really good enough
11406 if test -n "$STRIP" ; then
11407 striplib="$STRIP -x"
11408 old_striplib="$STRIP -S"
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11410 $as_echo "yes" >&6; }
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11413 $as_echo "no" >&6; }
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11418 $as_echo "no" >&6; }
11434 # Report which library types will actually be built
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11436 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11438 $as_echo "$can_build_shared" >&6; }
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11441 $as_echo_n "checking whether to build shared libraries... " >&6; }
11442 test "$can_build_shared" = "no" && enable_shared=no
11444 # On AIX, shared libraries and static libraries use the same namespace, and
11445 # are all built from PIC.
11448 test "$enable_shared" = yes && enable_static=no
11449 if test -n "$RANLIB"; then
11450 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11451 postinstall_cmds='$RANLIB $lib'
11456 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11457 test "$enable_shared" = yes && enable_static=no
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11462 $as_echo "$enable_shared" >&6; }
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11465 $as_echo_n "checking whether to build static libraries... " >&6; }
11466 # Make sure either enable_shared or enable_static is yes.
11467 test "$enable_shared" = yes || enable_static=yes
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11469 $as_echo "$enable_static" >&6; }
11476 ac_cpp='$CPP $CPPFLAGS'
11477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11497 ac_config_commands="$ac_config_commands libtool"
11502 # Only expand once:
11511 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11512 if test -n "$ac_tool_prefix"; then
11513 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11514 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11516 $as_echo_n "checking for $ac_word... " >&6; }
11517 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11518 $as_echo_n "(cached) " >&6
11520 case $PKG_CONFIG in
11522 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11526 for as_dir in $PATH
11529 test -z "$as_dir" && as_dir=.
11530 for ac_exec_ext in '' $ac_executable_extensions; do
11531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11532 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11543 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11544 if test -n "$PKG_CONFIG"; then
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11546 $as_echo "$PKG_CONFIG" >&6; }
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11549 $as_echo "no" >&6; }
11554 if test -z "$ac_cv_path_PKG_CONFIG"; then
11555 ac_pt_PKG_CONFIG=$PKG_CONFIG
11556 # Extract the first word of "pkg-config", so it can be a program name with args.
11557 set dummy pkg-config; ac_word=$2
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11559 $as_echo_n "checking for $ac_word... " >&6; }
11560 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11561 $as_echo_n "(cached) " >&6
11563 case $ac_pt_PKG_CONFIG in
11565 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11569 for as_dir in $PATH
11572 test -z "$as_dir" && as_dir=.
11573 for ac_exec_ext in '' $ac_executable_extensions; do
11574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11575 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11586 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11587 if test -n "$ac_pt_PKG_CONFIG"; then
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11589 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11592 $as_echo "no" >&6; }
11595 if test "x$ac_pt_PKG_CONFIG" = x; then
11598 case $cross_compiling:$ac_tool_warned in
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11602 ac_tool_warned=yes ;;
11604 PKG_CONFIG=$ac_pt_PKG_CONFIG
11607 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11611 if test -n "$PKG_CONFIG"; then
11612 _pkg_min_version=0.9.0
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11614 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11615 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11617 $as_echo "yes" >&6; }
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11620 $as_echo "no" >&6; }
11625 ac_config_headers="$ac_config_headers config.h"
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11630 $as_echo_n "checking whether NLS is requested... " >&6; }
11631 # Check whether --enable-nls was given.
11632 if test "${enable_nls+set}" = set; then :
11633 enableval=$enable_nls; USE_NLS=$enableval
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11639 $as_echo "$USE_NLS" >&6; }
11644 case "$am__api_version" in
11646 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
11652 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11653 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
11654 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11655 if test -n "0.40.0"; then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
11657 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
11659 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
11660 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
11661 as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
11664 # Extract the first word of "intltool-update", so it can be a program name with args.
11665 set dummy intltool-update; ac_word=$2
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11667 $as_echo_n "checking for $ac_word... " >&6; }
11668 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
11669 $as_echo_n "(cached) " >&6
11671 case $INTLTOOL_UPDATE in
11673 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
11676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11677 for as_dir in $PATH
11680 test -z "$as_dir" && as_dir=.
11681 for ac_exec_ext in '' $ac_executable_extensions; do
11682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11683 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
11684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11694 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
11695 if test -n "$INTLTOOL_UPDATE"; then
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
11697 $as_echo "$INTLTOOL_UPDATE" >&6; }
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11700 $as_echo "no" >&6; }
11704 # Extract the first word of "intltool-merge", so it can be a program name with args.
11705 set dummy intltool-merge; ac_word=$2
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11707 $as_echo_n "checking for $ac_word... " >&6; }
11708 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
11709 $as_echo_n "(cached) " >&6
11711 case $INTLTOOL_MERGE in
11713 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
11716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11717 for as_dir in $PATH
11720 test -z "$as_dir" && as_dir=.
11721 for ac_exec_ext in '' $ac_executable_extensions; do
11722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11723 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
11724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11734 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
11735 if test -n "$INTLTOOL_MERGE"; then
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
11737 $as_echo "$INTLTOOL_MERGE" >&6; }
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11740 $as_echo "no" >&6; }
11744 # Extract the first word of "intltool-extract", so it can be a program name with args.
11745 set dummy intltool-extract; ac_word=$2
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11747 $as_echo_n "checking for $ac_word... " >&6; }
11748 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
11749 $as_echo_n "(cached) " >&6
11751 case $INTLTOOL_EXTRACT in
11753 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
11756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11757 for as_dir in $PATH
11760 test -z "$as_dir" && as_dir=.
11761 for ac_exec_ext in '' $ac_executable_extensions; do
11762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11763 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
11764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11774 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
11775 if test -n "$INTLTOOL_EXTRACT"; then
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
11777 $as_echo "$INTLTOOL_EXTRACT" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11784 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
11785 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
11788 if test -z "$AM_DEFAULT_VERBOSITY"; then
11789 AM_DEFAULT_VERBOSITY=1
11793 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
11794 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
11795 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
11800 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
11801 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
11802 intltool__v_merge_options_0='-q'
11807 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 $< $@'
11808 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 $< $@'
11809 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 $< $@'
11810 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 $< $@'
11811 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 $< $@'
11812 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 $< $@'
11813 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 $< $@'
11814 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 $< $@'
11815 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 $< $@'
11816 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 $< $@'
11817 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 $< $@'
11818 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
11819 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 $< $@'
11821 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'
11823 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 $< $@'
11824 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 $< $@'
11825 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 $< $@'
11826 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 $< $@'
11827 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 $< $@'
11828 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 $< $@'
11829 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 $< $@'
11927 # Check the gettext tools to make sure they are GNU
11928 # Extract the first word of "xgettext", so it can be a program name with args.
11929 set dummy xgettext; ac_word=$2
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11931 $as_echo_n "checking for $ac_word... " >&6; }
11932 if ${ac_cv_path_XGETTEXT+:} false; then :
11933 $as_echo_n "(cached) " >&6
11937 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11941 for as_dir in $PATH
11944 test -z "$as_dir" && as_dir=.
11945 for ac_exec_ext in '' $ac_executable_extensions; do
11946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11947 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
11948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11958 XGETTEXT=$ac_cv_path_XGETTEXT
11959 if test -n "$XGETTEXT"; then
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11961 $as_echo "$XGETTEXT" >&6; }
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11964 $as_echo "no" >&6; }
11968 # Extract the first word of "msgmerge", so it can be a program name with args.
11969 set dummy msgmerge; ac_word=$2
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11971 $as_echo_n "checking for $ac_word... " >&6; }
11972 if ${ac_cv_path_MSGMERGE+:} false; then :
11973 $as_echo_n "(cached) " >&6
11977 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11981 for as_dir in $PATH
11984 test -z "$as_dir" && as_dir=.
11985 for ac_exec_ext in '' $ac_executable_extensions; do
11986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11987 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
11988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11998 MSGMERGE=$ac_cv_path_MSGMERGE
11999 if test -n "$MSGMERGE"; then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12001 $as_echo "$MSGMERGE" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12008 # Extract the first word of "msgfmt", so it can be a program name with args.
12009 set dummy msgfmt; ac_word=$2
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12011 $as_echo_n "checking for $ac_word... " >&6; }
12012 if ${ac_cv_path_MSGFMT+:} false; then :
12013 $as_echo_n "(cached) " >&6
12017 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12021 for as_dir in $PATH
12024 test -z "$as_dir" && as_dir=.
12025 for ac_exec_ext in '' $ac_executable_extensions; do
12026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12027 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12038 MSGFMT=$ac_cv_path_MSGFMT
12039 if test -n "$MSGFMT"; then
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12041 $as_echo "$MSGFMT" >&6; }
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12044 $as_echo "no" >&6; }
12048 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12049 set dummy gmsgfmt; ac_word=$2
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12051 $as_echo_n "checking for $ac_word... " >&6; }
12052 if ${ac_cv_path_GMSGFMT+:} false; then :
12053 $as_echo_n "(cached) " >&6
12057 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12061 for as_dir in $PATH
12064 test -z "$as_dir" && as_dir=.
12065 for ac_exec_ext in '' $ac_executable_extensions; do
12066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12067 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12075 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12079 GMSGFMT=$ac_cv_path_GMSGFMT
12080 if test -n "$GMSGFMT"; then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12082 $as_echo "$GMSGFMT" >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12085 $as_echo "no" >&6; }
12089 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12090 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12092 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12093 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12094 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12095 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12096 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12099 # Extract the first word of "perl", so it can be a program name with args.
12100 set dummy perl; ac_word=$2
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12102 $as_echo_n "checking for $ac_word... " >&6; }
12103 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12104 $as_echo_n "(cached) " >&6
12106 case $INTLTOOL_PERL in
12108 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12112 for as_dir in $PATH
12115 test -z "$as_dir" && as_dir=.
12116 for ac_exec_ext in '' $ac_executable_extensions; do
12117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12118 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12129 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12130 if test -n "$INTLTOOL_PERL"; then
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12132 $as_echo "$INTLTOOL_PERL" >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12135 $as_echo "no" >&6; }
12139 if test -z "$INTLTOOL_PERL"; then
12140 as_fn_error $? "perl not found" "$LINENO" 5
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12143 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
12144 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12145 if test $? -ne 0; then
12146 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12148 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12150 $as_echo "$IT_PERL_VERSION" >&6; }
12152 if test "x" != "xno-xml"; then
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12154 $as_echo_n "checking for XML::Parser... " >&6; }
12155 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12157 $as_echo "ok" >&6; }
12159 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12163 # Substitute ALL_LINGUAS so we can use it in po/Makefile
12166 # Set DATADIRNAME correctly if it is not set yet
12167 # (copied from glib-gettext.m4)
12168 if test -z "$DATADIRNAME"; then
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12175 extern int _nl_msg_cat_cntr;
12176 return _nl_msg_cat_cntr
12181 if ac_fn_c_try_link "$LINENO"; then :
12186 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12187 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12199 rm -f core conftest.err conftest.$ac_objext \
12200 conftest$ac_exeext conftest.$ac_ext
12209 GETTEXT_PACKAGE="${PACKAGE}"
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12215 $as_echo_n "checking for DBUS... " >&6; }
12217 if test -n "$DBUS_CFLAGS"; then
12218 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
12219 elif test -n "$PKG_CONFIG"; then
12220 if test -n "$PKG_CONFIG" && \
12221 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
12222 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
12224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12225 test $ac_status = 0; }; then
12226 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
12233 if test -n "$DBUS_LIBS"; then
12234 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
12235 elif test -n "$PKG_CONFIG"; then
12236 if test -n "$PKG_CONFIG" && \
12237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
12238 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
12240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12241 test $ac_status = 0; }; then
12242 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
12252 if test $pkg_failed = yes; then
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12254 $as_echo "no" >&6; }
12256 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12257 _pkg_short_errors_supported=yes
12259 _pkg_short_errors_supported=no
12261 if test $_pkg_short_errors_supported = yes; then
12262 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.0" 2>&1`
12264 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.0" 2>&1`
12266 # Put the nasty error message in config.log where it belongs
12267 echo "$DBUS_PKG_ERRORS" >&5
12269 as_fn_error $? "Package requirements (dbus-1 >= 1.0) were not met:
12273 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12274 installed software in a non-standard prefix.
12276 Alternatively, you may set the environment variables DBUS_CFLAGS
12277 and DBUS_LIBS to avoid the need to call pkg-config.
12278 See the pkg-config man page for more details." "$LINENO" 5
12279 elif test $pkg_failed = untried; then
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12281 $as_echo "no" >&6; }
12282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12284 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12285 is in your PATH or set the PKG_CONFIG environment variable to the full
12286 path to pkg-config.
12288 Alternatively, you may set the environment variables DBUS_CFLAGS
12289 and DBUS_LIBS to avoid the need to call pkg-config.
12290 See the pkg-config man page for more details.
12292 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12293 See \`config.log' for more details" "$LINENO" 5; }
12295 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
12296 DBUS_LIBS=$pkg_cv_DBUS_LIBS
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12298 $as_echo "yes" >&6; }
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12307 $as_echo_n "checking for GLIB... " >&6; }
12309 if test -n "$GLIB_CFLAGS"; then
12310 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12311 elif test -n "$PKG_CONFIG"; then
12312 if test -n "$PKG_CONFIG" && \
12313 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.0\""; } >&5
12314 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.0") 2>&5
12316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12317 test $ac_status = 0; }; then
12318 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.26.0" 2>/dev/null`
12325 if test -n "$GLIB_LIBS"; then
12326 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12327 elif test -n "$PKG_CONFIG"; then
12328 if test -n "$PKG_CONFIG" && \
12329 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.0\""; } >&5
12330 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.0") 2>&5
12332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12333 test $ac_status = 0; }; then
12334 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.26.0" 2>/dev/null`
12344 if test $pkg_failed = yes; then
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12348 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12349 _pkg_short_errors_supported=yes
12351 _pkg_short_errors_supported=no
12353 if test $_pkg_short_errors_supported = yes; then
12354 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.26.0" 2>&1`
12356 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.26.0" 2>&1`
12358 # Put the nasty error message in config.log where it belongs
12359 echo "$GLIB_PKG_ERRORS" >&5
12361 as_fn_error $? "Package requirements (glib-2.0 >= 2.26.0) were not met:
12365 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12366 installed software in a non-standard prefix.
12368 Alternatively, you may set the environment variables GLIB_CFLAGS
12369 and GLIB_LIBS to avoid the need to call pkg-config.
12370 See the pkg-config man page for more details." "$LINENO" 5
12371 elif test $pkg_failed = untried; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12373 $as_echo "no" >&6; }
12374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12376 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12377 is in your PATH or set the PKG_CONFIG environment variable to the full
12378 path to pkg-config.
12380 Alternatively, you may set the environment variables GLIB_CFLAGS
12381 and GLIB_LIBS to avoid the need to call pkg-config.
12382 See the pkg-config man page for more details.
12384 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12385 See \`config.log' for more details" "$LINENO" 5; }
12387 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12388 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12390 $as_echo "yes" >&6; }
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g_ptr_array_new_with_free_func in -lglib-2.0" >&5
12396 $as_echo_n "checking for g_ptr_array_new_with_free_func in -lglib-2.0... " >&6; }
12397 if ${ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func+:} false; then :
12398 $as_echo_n "(cached) " >&6
12400 ac_check_lib_save_LIBS=$LIBS
12401 LIBS="-lglib-2.0 $GLIB_LIBS $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12411 char g_ptr_array_new_with_free_func ();
12415 return g_ptr_array_new_with_free_func ();
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func=yes
12423 ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func=no
12425 rm -f core conftest.err conftest.$ac_objext \
12426 conftest$ac_exeext conftest.$ac_ext
12427 LIBS=$ac_check_lib_save_LIBS
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func" >&5
12430 $as_echo "$ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func" >&6; }
12431 if test "x$ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func" = xyes; then :
12434 as_fn_error $? "The version of glib-2.0 found does not define
12435 g_ptr_array_new_with_free_func. Please upgrade glib." "$LINENO" 5
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJ" >&5
12442 $as_echo_n "checking for GOBJ... " >&6; }
12444 if test -n "$GOBJ_CFLAGS"; then
12445 pkg_cv_GOBJ_CFLAGS="$GOBJ_CFLAGS"
12446 elif test -n "$PKG_CONFIG"; then
12447 if test -n "$PKG_CONFIG" && \
12448 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
12449 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
12451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12452 test $ac_status = 0; }; then
12453 pkg_cv_GOBJ_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.0.0" 2>/dev/null`
12460 if test -n "$GOBJ_LIBS"; then
12461 pkg_cv_GOBJ_LIBS="$GOBJ_LIBS"
12462 elif test -n "$PKG_CONFIG"; then
12463 if test -n "$PKG_CONFIG" && \
12464 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
12465 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
12467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12468 test $ac_status = 0; }; then
12469 pkg_cv_GOBJ_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.0.0" 2>/dev/null`
12479 if test $pkg_failed = yes; then
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12481 $as_echo "no" >&6; }
12483 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12484 _pkg_short_errors_supported=yes
12486 _pkg_short_errors_supported=no
12488 if test $_pkg_short_errors_supported = yes; then
12489 GOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0 >= 2.0.0" 2>&1`
12491 GOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0 >= 2.0.0" 2>&1`
12493 # Put the nasty error message in config.log where it belongs
12494 echo "$GOBJ_PKG_ERRORS" >&5
12496 as_fn_error $? "Package requirements (gobject-2.0 >= 2.0.0) were not met:
12500 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12501 installed software in a non-standard prefix.
12503 Alternatively, you may set the environment variables GOBJ_CFLAGS
12504 and GOBJ_LIBS to avoid the need to call pkg-config.
12505 See the pkg-config man page for more details." "$LINENO" 5
12506 elif test $pkg_failed = untried; then
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12508 $as_echo "no" >&6; }
12509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12511 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12512 is in your PATH or set the PKG_CONFIG environment variable to the full
12513 path to pkg-config.
12515 Alternatively, you may set the environment variables GOBJ_CFLAGS
12516 and GOBJ_LIBS to avoid the need to call pkg-config.
12517 See the pkg-config man page for more details.
12519 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12520 See \`config.log' for more details" "$LINENO" 5; }
12522 GOBJ_CFLAGS=$pkg_cv_GOBJ_CFLAGS
12523 GOBJ_LIBS=$pkg_cv_GOBJ_LIBS
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12525 $as_echo "yes" >&6; }
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12534 $as_echo_n "checking for GIO... " >&6; }
12536 if test -n "$GIO_CFLAGS"; then
12537 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12538 elif test -n "$PKG_CONFIG"; then
12539 if test -n "$PKG_CONFIG" && \
12540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12541 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12544 test $ac_status = 0; }; then
12545 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.28" 2>/dev/null`
12552 if test -n "$GIO_LIBS"; then
12553 pkg_cv_GIO_LIBS="$GIO_LIBS"
12554 elif test -n "$PKG_CONFIG"; then
12555 if test -n "$PKG_CONFIG" && \
12556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12557 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12560 test $ac_status = 0; }; then
12561 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.28" 2>/dev/null`
12571 if test $pkg_failed = yes; then
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12573 $as_echo "no" >&6; }
12575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12576 _pkg_short_errors_supported=yes
12578 _pkg_short_errors_supported=no
12580 if test $_pkg_short_errors_supported = yes; then
12581 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0 >= 2.28" 2>&1`
12583 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0 >= 2.28" 2>&1`
12585 # Put the nasty error message in config.log where it belongs
12586 echo "$GIO_PKG_ERRORS" >&5
12588 as_fn_error $? "Package requirements (gio-2.0 >= 2.28) were not met:
12592 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12593 installed software in a non-standard prefix.
12595 Alternatively, you may set the environment variables GIO_CFLAGS
12596 and GIO_LIBS to avoid the need to call pkg-config.
12597 See the pkg-config man page for more details." "$LINENO" 5
12598 elif test $pkg_failed = untried; then
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12600 $as_echo "no" >&6; }
12601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12603 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12604 is in your PATH or set the PKG_CONFIG environment variable to the full
12605 path to pkg-config.
12607 Alternatively, you may set the environment variables GIO_CFLAGS
12608 and GIO_LIBS to avoid the need to call pkg-config.
12609 See the pkg-config man page for more details.
12611 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12612 See \`config.log' for more details" "$LINENO" 5; }
12614 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12615 GIO_LIBS=$pkg_cv_GIO_LIBS
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12617 $as_echo "yes" >&6; }
12623 # --------------------------------------------------------------------
12624 # Find DL functionality
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
12627 $as_echo_n "checking for dlopen in -lc... " >&6; }
12628 if ${ac_cv_lib_c_dlopen+:} false; then :
12629 $as_echo_n "(cached) " >&6
12631 ac_check_lib_save_LIBS=$LIBS
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 /* Override any GCC internal prototype to avoid an error.
12637 Use char because int might match the return type of a GCC
12638 builtin and then its argument prototype would still apply. */
12651 if ac_fn_c_try_link "$LINENO"; then :
12652 ac_cv_lib_c_dlopen=yes
12654 ac_cv_lib_c_dlopen=no
12656 rm -f core conftest.err conftest.$ac_objext \
12657 conftest$ac_exeext conftest.$ac_ext
12658 LIBS=$ac_check_lib_save_LIBS
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
12661 $as_echo "$ac_cv_lib_c_dlopen" >&6; }
12662 if test "x$ac_cv_lib_c_dlopen" = xyes; then :
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12666 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12667 if ${ac_cv_lib_dl_dlopen+:} false; then :
12668 $as_echo_n "(cached) " >&6
12670 ac_check_lib_save_LIBS=$LIBS
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12690 if ac_fn_c_try_link "$LINENO"; then :
12691 ac_cv_lib_dl_dlopen=yes
12693 ac_cv_lib_dl_dlopen=no
12695 rm -f core conftest.err conftest.$ac_objext \
12696 conftest$ac_exeext conftest.$ac_ext
12697 LIBS=$ac_check_lib_save_LIBS
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12700 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12701 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12704 as_fn_error $? "Could not find a library with the dlopen function" "$LINENO" 5
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
12715 $as_echo_n "checking for X... " >&6; }
12718 # Check whether --with-x was given.
12719 if test "${with_x+set}" = set; then :
12723 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12724 if test "x$with_x" = xno; then
12725 # The user explicitly disabled X.
12728 case $x_includes,$x_libraries in #(
12729 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12730 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
12731 $as_echo_n "(cached) " >&6
12733 # One or both of the vars are not set, and there is no cached value.
12734 ac_x_includes=no ac_x_libraries=no
12735 rm -f -r conftest.dir
12736 if mkdir conftest.dir; then
12738 cat >Imakefile <<'_ACEOF'
12740 @echo incroot='${INCROOT}'
12742 @echo usrlibdir='${USRLIBDIR}'
12744 @echo libdir='${LIBDIR}'
12746 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12747 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12748 for ac_var in incroot usrlibdir libdir; do
12749 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
12751 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12752 for ac_extension in a so sl dylib la dll; do
12753 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
12754 test -f "$ac_im_libdir/libX11.$ac_extension"; then
12755 ac_im_usrlibdir=$ac_im_libdir; break
12758 # Screen out bogus values from the imake configuration. They are
12759 # bogus both because they are the default anyway, and because
12760 # using them would break gcc on systems where it needs fixed includes.
12761 case $ac_im_incroot in
12762 /usr/include) ac_x_includes= ;;
12763 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
12765 case $ac_im_usrlibdir in
12766 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
12767 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
12771 rm -f -r conftest.dir
12774 # Standard set of common directories for X headers.
12775 # Check X11 before X11Rn because it is often a symlink to the current release.
12789 /usr/local/X11/include
12790 /usr/local/X11R7/include
12791 /usr/local/X11R6/include
12792 /usr/local/X11R5/include
12793 /usr/local/X11R4/include
12795 /usr/local/include/X11
12796 /usr/local/include/X11R7
12797 /usr/local/include/X11R6
12798 /usr/local/include/X11R5
12799 /usr/local/include/X11R4
12803 /usr/XFree86/include/X11
12807 /usr/unsupported/include
12808 /usr/athena/include
12809 /usr/local/x11r5/include
12810 /usr/lpp/Xamples/include
12812 /usr/openwin/include
12813 /usr/openwin/share/include'
12815 if test "$ac_x_includes" = no; then
12816 # Guess where to find include files, by looking for Xlib.h.
12817 # First, try using that file with no special directory specified.
12818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12820 #include <X11/Xlib.h>
12822 if ac_fn_c_try_cpp "$LINENO"; then :
12823 # We can compile using X headers with no special include directory.
12826 for ac_dir in $ac_x_header_dirs; do
12827 if test -r "$ac_dir/X11/Xlib.h"; then
12828 ac_x_includes=$ac_dir
12833 rm -f conftest.err conftest.i conftest.$ac_ext
12834 fi # $ac_x_includes = no
12836 if test "$ac_x_libraries" = no; then
12837 # Check for the libraries.
12838 # See if we find them without any special options.
12839 # Don't add to $LIBS permanently.
12842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12844 #include <X11/Xlib.h>
12853 if ac_fn_c_try_link "$LINENO"; then :
12855 # We can link X programs with no special library path.
12859 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12861 # Don't even attempt the hair of trying to link an X program!
12862 for ac_extension in a so sl dylib la dll; do
12863 if test -r "$ac_dir/libX11.$ac_extension"; then
12864 ac_x_libraries=$ac_dir
12870 rm -f core conftest.err conftest.$ac_objext \
12871 conftest$ac_exeext conftest.$ac_ext
12872 fi # $ac_x_libraries = no
12874 case $ac_x_includes,$ac_x_libraries in #(
12875 no,* | *,no | *\'*)
12876 # Didn't find X, or a directory has "'" in its name.
12877 ac_cv_have_x="have_x=no";; #(
12879 # Record where we found X for the cache.
12880 ac_cv_have_x="have_x=yes\
12881 ac_x_includes='$ac_x_includes'\
12882 ac_x_libraries='$ac_x_libraries'"
12888 eval "$ac_cv_have_x"
12891 if test "$have_x" != yes; then
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12893 $as_echo "$have_x" >&6; }
12896 # If each of the values was on the command line, it overrides each guess.
12897 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12898 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12899 # Update the cache value to reflect the command line values.
12900 ac_cv_have_x="have_x=yes\
12901 ac_x_includes='$x_includes'\
12902 ac_x_libraries='$x_libraries'"
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12904 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12907 if test "$no_x" = yes; then
12908 # Not all programs may use this symbol, but it does not hurt to define it.
12910 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
12912 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12914 if test -n "$x_includes"; then
12915 X_CFLAGS="$X_CFLAGS -I$x_includes"
12918 # It would also be nice to do this for all -L options, not just this one.
12919 if test -n "$x_libraries"; then
12920 X_LIBS="$X_LIBS -L$x_libraries"
12921 # For Solaris; some versions of Sun CC require a space after -R and
12922 # others require no space. Words are not sufficient . . . .
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
12924 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
12925 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
12926 ac_xsave_c_werror_flag=$ac_c_werror_flag
12927 ac_c_werror_flag=yes
12928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12939 if ac_fn_c_try_link "$LINENO"; then :
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 $as_echo "no" >&6; }
12942 X_LIBS="$X_LIBS -R$x_libraries"
12944 LIBS="$ac_xsave_LIBS -R $x_libraries"
12945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h. */
12956 if ac_fn_c_try_link "$LINENO"; then :
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12958 $as_echo "yes" >&6; }
12959 X_LIBS="$X_LIBS -R $x_libraries"
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
12962 $as_echo "neither works" >&6; }
12964 rm -f core conftest.err conftest.$ac_objext \
12965 conftest$ac_exeext conftest.$ac_ext
12967 rm -f core conftest.err conftest.$ac_objext \
12968 conftest$ac_exeext conftest.$ac_ext
12969 ac_c_werror_flag=$ac_xsave_c_werror_flag
12970 LIBS=$ac_xsave_LIBS
12973 # Check for system-dependent libraries X programs must link with.
12974 # Do this before checking for the system-independent R6 libraries
12975 # (-lICE), since we may need -lsocket or whatever for X linking.
12977 if test "$ISC" = yes; then
12978 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
12980 # Martyn Johnson says this is needed for Ultrix, if the X
12981 # libraries were built with DECnet support. And Karl Berry says
12982 # the Alpha needs dnet_stub (dnet does not exist).
12983 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12993 char XOpenDisplay ();
12997 return XOpenDisplay ();
13002 if ac_fn_c_try_link "$LINENO"; then :
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13006 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
13007 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
13008 $as_echo_n "(cached) " >&6
13010 ac_check_lib_save_LIBS=$LIBS
13011 LIBS="-ldnet $LIBS"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 /* Override any GCC internal prototype to avoid an error.
13016 Use char because int might match the return type of a GCC
13017 builtin and then its argument prototype would still apply. */
13025 return dnet_ntoa ();
13030 if ac_fn_c_try_link "$LINENO"; then :
13031 ac_cv_lib_dnet_dnet_ntoa=yes
13033 ac_cv_lib_dnet_dnet_ntoa=no
13035 rm -f core conftest.err conftest.$ac_objext \
13036 conftest$ac_exeext conftest.$ac_ext
13037 LIBS=$ac_check_lib_save_LIBS
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13040 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13041 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
13042 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13045 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13047 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13048 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
13049 $as_echo_n "(cached) " >&6
13051 ac_check_lib_save_LIBS=$LIBS
13052 LIBS="-ldnet_stub $LIBS"
13053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13056 /* Override any GCC internal prototype to avoid an error.
13057 Use char because int might match the return type of a GCC
13058 builtin and then its argument prototype would still apply. */
13066 return dnet_ntoa ();
13071 if ac_fn_c_try_link "$LINENO"; then :
13072 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13074 ac_cv_lib_dnet_stub_dnet_ntoa=no
13076 rm -f core conftest.err conftest.$ac_objext \
13077 conftest$ac_exeext conftest.$ac_ext
13078 LIBS=$ac_check_lib_save_LIBS
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13081 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13082 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
13083 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13088 rm -f core conftest.err conftest.$ac_objext \
13089 conftest$ac_exeext conftest.$ac_ext
13090 LIBS="$ac_xsave_LIBS"
13092 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13093 # to get the SysV transport functions.
13094 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13096 # The nsl library prevents programs from opening the X display
13097 # on Irix 5.2, according to T.E. Dickey.
13098 # The functions gethostbyname, getservbyname, and inet_addr are
13099 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13100 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13101 if test "x$ac_cv_func_gethostbyname" = xyes; then :
13105 if test $ac_cv_func_gethostbyname = no; then
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13107 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
13108 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
13109 $as_echo_n "(cached) " >&6
13111 ac_check_lib_save_LIBS=$LIBS
13113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13116 /* Override any GCC internal prototype to avoid an error.
13117 Use char because int might match the return type of a GCC
13118 builtin and then its argument prototype would still apply. */
13122 char gethostbyname ();
13126 return gethostbyname ();
13131 if ac_fn_c_try_link "$LINENO"; then :
13132 ac_cv_lib_nsl_gethostbyname=yes
13134 ac_cv_lib_nsl_gethostbyname=no
13136 rm -f core conftest.err conftest.$ac_objext \
13137 conftest$ac_exeext conftest.$ac_ext
13138 LIBS=$ac_check_lib_save_LIBS
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13141 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
13142 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
13143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13146 if test $ac_cv_lib_nsl_gethostbyname = no; then
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13148 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
13149 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
13150 $as_echo_n "(cached) " >&6
13152 ac_check_lib_save_LIBS=$LIBS
13154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13155 /* end confdefs.h. */
13157 /* Override any GCC internal prototype to avoid an error.
13158 Use char because int might match the return type of a GCC
13159 builtin and then its argument prototype would still apply. */
13163 char gethostbyname ();
13167 return gethostbyname ();
13172 if ac_fn_c_try_link "$LINENO"; then :
13173 ac_cv_lib_bsd_gethostbyname=yes
13175 ac_cv_lib_bsd_gethostbyname=no
13177 rm -f core conftest.err conftest.$ac_objext \
13178 conftest$ac_exeext conftest.$ac_ext
13179 LIBS=$ac_check_lib_save_LIBS
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13182 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
13183 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
13184 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13190 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13191 # socket/setsockopt and other routines are undefined under SCO ODT
13192 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13193 # on later versions), says Simon Leinen: it contains gethostby*
13194 # variants that don't use the name server (or something). -lsocket
13195 # must be given before -lnsl if both are needed. We assume that
13196 # if connect needs -lnsl, so does gethostbyname.
13197 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13198 if test "x$ac_cv_func_connect" = xyes; then :
13202 if test $ac_cv_func_connect = no; then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13204 $as_echo_n "checking for connect in -lsocket... " >&6; }
13205 if ${ac_cv_lib_socket_connect+:} false; then :
13206 $as_echo_n "(cached) " >&6
13208 ac_check_lib_save_LIBS=$LIBS
13209 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13228 if ac_fn_c_try_link "$LINENO"; then :
13229 ac_cv_lib_socket_connect=yes
13231 ac_cv_lib_socket_connect=no
13233 rm -f core conftest.err conftest.$ac_objext \
13234 conftest$ac_exeext conftest.$ac_ext
13235 LIBS=$ac_check_lib_save_LIBS
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13238 $as_echo "$ac_cv_lib_socket_connect" >&6; }
13239 if test "x$ac_cv_lib_socket_connect" = xyes; then :
13240 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13245 # Guillermo Gomez says -lposix is necessary on A/UX.
13246 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13247 if test "x$ac_cv_func_remove" = xyes; then :
13251 if test $ac_cv_func_remove = no; then
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13253 $as_echo_n "checking for remove in -lposix... " >&6; }
13254 if ${ac_cv_lib_posix_remove+:} false; then :
13255 $as_echo_n "(cached) " >&6
13257 ac_check_lib_save_LIBS=$LIBS
13258 LIBS="-lposix $LIBS"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13277 if ac_fn_c_try_link "$LINENO"; then :
13278 ac_cv_lib_posix_remove=yes
13280 ac_cv_lib_posix_remove=no
13282 rm -f core conftest.err conftest.$ac_objext \
13283 conftest$ac_exeext conftest.$ac_ext
13284 LIBS=$ac_check_lib_save_LIBS
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13287 $as_echo "$ac_cv_lib_posix_remove" >&6; }
13288 if test "x$ac_cv_lib_posix_remove" = xyes; then :
13289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13294 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13295 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13296 if test "x$ac_cv_func_shmat" = xyes; then :
13300 if test $ac_cv_func_shmat = no; then
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13302 $as_echo_n "checking for shmat in -lipc... " >&6; }
13303 if ${ac_cv_lib_ipc_shmat+:} false; then :
13304 $as_echo_n "(cached) " >&6
13306 ac_check_lib_save_LIBS=$LIBS
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13311 /* Override any GCC internal prototype to avoid an error.
13312 Use char because int might match the return type of a GCC
13313 builtin and then its argument prototype would still apply. */
13326 if ac_fn_c_try_link "$LINENO"; then :
13327 ac_cv_lib_ipc_shmat=yes
13329 ac_cv_lib_ipc_shmat=no
13331 rm -f core conftest.err conftest.$ac_objext \
13332 conftest$ac_exeext conftest.$ac_ext
13333 LIBS=$ac_check_lib_save_LIBS
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13336 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
13337 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
13338 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13344 # Check for libraries that X11R6 Xt/Xaw programs need.
13345 ac_save_LDFLAGS=$LDFLAGS
13346 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13347 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13348 # check for ICE first), but we must link in the order -lSM -lICE or
13349 # we get undefined symbols. So assume we have SM if we have ICE.
13350 # These have to be linked with before -lX11, unlike the other
13351 # libraries we check for below, so use a different variable.
13352 # John Interrante, Karl Berry
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13354 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
13355 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
13356 $as_echo_n "(cached) " >&6
13358 ac_check_lib_save_LIBS=$LIBS
13359 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13363 /* Override any GCC internal prototype to avoid an error.
13364 Use char because int might match the return type of a GCC
13365 builtin and then its argument prototype would still apply. */
13369 char IceConnectionNumber ();
13373 return IceConnectionNumber ();
13378 if ac_fn_c_try_link "$LINENO"; then :
13379 ac_cv_lib_ICE_IceConnectionNumber=yes
13381 ac_cv_lib_ICE_IceConnectionNumber=no
13383 rm -f core conftest.err conftest.$ac_objext \
13384 conftest$ac_exeext conftest.$ac_ext
13385 LIBS=$ac_check_lib_save_LIBS
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13388 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13389 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
13390 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13393 LDFLAGS=$ac_save_LDFLAGS
13398 if test x$no_x = xyes ; then
13399 as_fn_error $? "X development libraries not found" "$LINENO" 5
13401 X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
13407 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
13409 $as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
13410 if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then :
13411 $as_echo_n "(cached) " >&6
13413 ac_check_lib_save_LIBS=$LIBS
13414 LIBS="-lXtst $X_LIBS $LIBS"
13415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13418 /* Override any GCC internal prototype to avoid an error.
13419 Use char because int might match the return type of a GCC
13420 builtin and then its argument prototype would still apply. */
13424 char XTestFakeKeyEvent ();
13428 return XTestFakeKeyEvent ();
13433 if ac_fn_c_try_link "$LINENO"; then :
13434 ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
13436 ac_cv_lib_Xtst_XTestFakeKeyEvent=no
13438 rm -f core conftest.err conftest.$ac_objext \
13439 conftest$ac_exeext conftest.$ac_ext
13440 LIBS=$ac_check_lib_save_LIBS
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
13443 $as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
13444 if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then :
13448 as_fn_error $? "Couldn't find the Xtst library. Check config.log" "$LINENO" 5
13452 LIBS="$LIBS $save_LIBS"
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
13457 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
13458 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
13459 $as_echo_n "(cached) " >&6
13461 ac_check_lib_save_LIBS=$LIBS
13462 LIBS="-lX11 $X_LIBS $LIBS"
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13466 /* Override any GCC internal prototype to avoid an error.
13467 Use char because int might match the return type of a GCC
13468 builtin and then its argument prototype would still apply. */
13472 char XkbQueryExtension ();
13476 return XkbQueryExtension ();
13481 if ac_fn_c_try_link "$LINENO"; then :
13482 ac_cv_lib_X11_XkbQueryExtension=yes
13484 ac_cv_lib_X11_XkbQueryExtension=no
13486 rm -f core conftest.err conftest.$ac_objext \
13487 conftest$ac_exeext conftest.$ac_ext
13488 LIBS=$ac_check_lib_save_LIBS
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
13491 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
13492 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
13498 if test "x$have_xkb" = "xmaybe"; then
13499 ac_fn_c_check_header_mongrel "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "$ac_includes_default"
13500 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
13506 if test "x$have_xkb" = "xyes"; then
13508 $as_echo "#define HAVE_XKB /**/" >>confdefs.h
13511 LIBS="$LIBS $save_LIBS"
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDevice in -lXi" >&5
13516 $as_echo_n "checking for XOpenDevice in -lXi... " >&6; }
13517 if ${ac_cv_lib_Xi_XOpenDevice+:} false; then :
13518 $as_echo_n "(cached) " >&6
13520 ac_check_lib_save_LIBS=$LIBS
13521 LIBS="-lXi $X_LIBS $LIBS"
13522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13523 /* end confdefs.h. */
13525 /* Override any GCC internal prototype to avoid an error.
13526 Use char because int might match the return type of a GCC
13527 builtin and then its argument prototype would still apply. */
13531 char XOpenDevice ();
13535 return XOpenDevice ();
13540 if ac_fn_c_try_link "$LINENO"; then :
13541 ac_cv_lib_Xi_XOpenDevice=yes
13543 ac_cv_lib_Xi_XOpenDevice=no
13545 rm -f core conftest.err conftest.$ac_objext \
13546 conftest$ac_exeext conftest.$ac_ext
13547 LIBS=$ac_check_lib_save_LIBS
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XOpenDevice" >&5
13550 $as_echo "$ac_cv_lib_Xi_XOpenDevice" >&6; }
13551 if test "x$ac_cv_lib_Xi_XOpenDevice" = xyes; then :
13552 have_xinput="maybe"
13557 if test "x$have_xinput" = "xmaybe"; then
13559 LIBS="$LIBS $X_LIBS"
13560 ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$ac_includes_default"
13561 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes; then :
13568 if test "x$have_xinput" != "xyes"; then
13569 as_fn_error $? "Couldn't find the XInput library. Check config.log for details" "$LINENO" 5
13573 LIBS="$LIBS $save_LIBS"
13577 # Check whether --enable-xevie was given.
13578 if test "${enable_xevie+set}" = set; then :
13579 enableval=$enable_xevie; enable_xevie="$enableval"
13585 if test x$enable_xevie = xyes ; then
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XevieStart in -lXext" >&5
13588 $as_echo_n "checking for XevieStart in -lXext... " >&6; }
13589 if ${ac_cv_lib_Xext_XevieStart+:} false; then :
13590 $as_echo_n "(cached) " >&6
13592 ac_check_lib_save_LIBS=$LIBS
13593 LIBS="-lXext $X_LIBS $LIBS"
13594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13595 /* end confdefs.h. */
13597 /* Override any GCC internal prototype to avoid an error.
13598 Use char because int might match the return type of a GCC
13599 builtin and then its argument prototype would still apply. */
13603 char XevieStart ();
13607 return XevieStart ();
13612 if ac_fn_c_try_link "$LINENO"; then :
13613 ac_cv_lib_Xext_XevieStart=yes
13615 ac_cv_lib_Xext_XevieStart=no
13617 rm -f core conftest.err conftest.$ac_objext \
13618 conftest$ac_exeext conftest.$ac_ext
13619 LIBS=$ac_check_lib_save_LIBS
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XevieStart" >&5
13622 $as_echo "$ac_cv_lib_Xext_XevieStart" >&6; }
13623 if test "x$ac_cv_lib_Xext_XevieStart" = xyes; then :
13630 if test "x$have_xevie" = "xyes"; then
13631 XEVIE_LIBS="-lXext"
13633 $as_echo "#define HAVE_XEVIE /**/" >>confdefs.h
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XevieQueryVersion in -lXevie" >&5
13637 $as_echo_n "checking for XevieQueryVersion in -lXevie... " >&6; }
13638 if ${ac_cv_lib_Xevie_XevieQueryVersion+:} false; then :
13639 $as_echo_n "(cached) " >&6
13641 ac_check_lib_save_LIBS=$LIBS
13642 LIBS="-lXevie $X_LIBS $LIBS"
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13646 /* Override any GCC internal prototype to avoid an error.
13647 Use char because int might match the return type of a GCC
13648 builtin and then its argument prototype would still apply. */
13652 char XevieQueryVersion ();
13656 return XevieQueryVersion ();
13661 if ac_fn_c_try_link "$LINENO"; then :
13662 ac_cv_lib_Xevie_XevieQueryVersion=yes
13664 ac_cv_lib_Xevie_XevieQueryVersion=no
13666 rm -f core conftest.err conftest.$ac_objext \
13667 conftest$ac_exeext conftest.$ac_ext
13668 LIBS=$ac_check_lib_save_LIBS
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xevie_XevieQueryVersion" >&5
13671 $as_echo "$ac_cv_lib_Xevie_XevieQueryVersion" >&6; }
13672 if test "x$ac_cv_lib_Xevie_XevieQueryVersion" = xyes; then :
13676 if test "x$have_xevie" = "xmaybe"; then
13677 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xevie.h" "ac_cv_header_X11_extensions_Xevie_h" "#include <X11/Xlib.h>
13680 if test "x$ac_cv_header_X11_extensions_Xevie_h" = xyes; then :
13685 if test "x$have_xevie" = "xyes"; then
13686 XEVIE_LIBS="-lXext -lXevie"
13688 $as_echo "#define HAVE_XEVIE /**/" >>confdefs.h
13695 LIBS="$LIBS $save_LIBS"
13698 # Check whether --with-dbus_daemondir was given.
13699 if test "${with_dbus_daemondir+set}" = set; then :
13700 withval=$with_dbus_daemondir; DBUS_DAEMON="$with_dbus_daemondir/dbus-daemon"
13702 # Extract the first word of "dbus-daemon", so it can be a program name with args.
13703 set dummy dbus-daemon; ac_word=$2
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13705 $as_echo_n "checking for $ac_word... " >&6; }
13706 if ${ac_cv_path_DBUS_DAEMON+:} false; then :
13707 $as_echo_n "(cached) " >&6
13709 case $DBUS_DAEMON in
13711 ac_cv_path_DBUS_DAEMON="$DBUS_DAEMON" # Let the user override the test with a path.
13714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13715 for as_dir in $PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/libexec$PATH_SEPARATOR/usr/libexec$PATH_SEPARATOR/usr/local/bin$PATH_SEPARATOR/usr/pkg/bin
13718 test -z "$as_dir" && as_dir=.
13719 for ac_exec_ext in '' $ac_executable_extensions; do
13720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13721 ac_cv_path_DBUS_DAEMON="$as_dir/$ac_word$ac_exec_ext"
13722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13729 test -z "$ac_cv_path_DBUS_DAEMON" && ac_cv_path_DBUS_DAEMON="XXXDBUSDAEMONNOTFOUND"
13733 DBUS_DAEMON=$ac_cv_path_DBUS_DAEMON
13734 if test -n "$DBUS_DAEMON"; then
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_DAEMON" >&5
13736 $as_echo "$DBUS_DAEMON" >&6; }
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13739 $as_echo "no" >&6; }
13746 if test "$DBUS_DAEMON" = "XXXDBUSDAEMONNOTFOUND"; then
13747 DBUS_DAEMON = "$bindir/dbus-daemon"
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: at-spi2 relies on dbus, and the dbus-daemon was not found" >&5
13749 $as_echo "$as_me: WARNING: at-spi2 relies on dbus, and the dbus-daemon was not found" >&2;}
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we assume that it will be installed in \"$bindir\"" >&5
13751 $as_echo "$as_me: WARNING: we assume that it will be installed in \"$bindir\"" >&2;}
13756 # Check whether --with-dbus-services was given.
13757 if test "${with_dbus_services+set}" = set; then :
13758 withval=$with_dbus_services;
13761 if ! test -z "$with_dbus_services" ; then
13762 DBUS_SERVICES_DIR="$with_dbus_services"
13764 DBUS_SERVICES_DIR="$datadir/dbus-1/services"
13771 # Check whether --enable-introspection was given.
13772 if test "${enable_introspection+set}" = set; then :
13773 enableval=$enable_introspection;
13775 enable_introspection=auto
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
13780 $as_echo_n "checking for gobject-introspection... " >&6; }
13782 case $enable_introspection in #(
13784 found_introspection="no (disabled, use --enable-introspection to enable)"
13787 if test -n "$PKG_CONFIG" && \
13788 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
13789 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
13791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13792 test $ac_status = 0; }; then
13795 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
13797 if test -n "$PKG_CONFIG" && \
13798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
13799 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
13801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13802 test $ac_status = 0; }; then
13803 found_introspection=yes
13805 as_fn_error $? "You need to have gobject-introspection >= 0.9.6 installed to build at-spi2-core" "$LINENO" 5
13809 if test -n "$PKG_CONFIG" && \
13810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
13811 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
13813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13814 test $ac_status = 0; }; then
13815 found_introspection=yes
13817 found_introspection=no
13821 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
13825 $as_echo "$found_introspection" >&6; }
13827 INTROSPECTION_SCANNER=
13828 INTROSPECTION_COMPILER=
13829 INTROSPECTION_GENERATE=
13830 INTROSPECTION_GIRDIR=
13831 INTROSPECTION_TYPELIBDIR=
13832 if test "x$found_introspection" = "xyes"; then
13833 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
13834 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
13835 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
13836 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
13837 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
13838 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
13839 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
13840 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
13851 if test "x$found_introspection" = "xyes"; then
13852 HAVE_INTROSPECTION_TRUE=
13853 HAVE_INTROSPECTION_FALSE='#'
13855 HAVE_INTROSPECTION_TRUE='#'
13856 HAVE_INTROSPECTION_FALSE=
13864 orig_CPPFLAGS=$CPPFLAGS
13865 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of char" >&5
13867 $as_echo_n "checking alignment of char... " >&6; }
13868 if ${ac_cv_alignof_char+:} false; then :
13869 $as_echo_n "(cached) " >&6
13871 if test "$cross_compiling" = yes; then :
13872 ac_cv_alignof_char=0
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13877 #include <stdlib.h>
13878 #define DBUS_API_SUBJECT_TO_CHANGE
13879 #include <dbus/dbus.h>
13880 typedef struct {char s1;} dbind_struct;
13881 typedef void *dbind_pointer;
13882 struct test {char s1; char s2;};
13885 FILE *f=fopen("conftestval", "w");
13887 fprintf(f, "%d\n", &(((struct test*)0)->s2));
13891 if ac_fn_c_try_run "$LINENO"; then :
13892 ac_cv_alignof_char=`cat conftestval`
13894 ac_cv_alignof_char=0
13896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13897 conftest.$ac_objext conftest.beam conftest.$ac_ext
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_char" >&5
13903 $as_echo "$ac_cv_alignof_char" >&6; }
13904 if test "$ac_cv_alignof_char" = "0" ; then
13905 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
13907 DBIND_ALIGNOF_CHAR=$ac_cv_alignof_char
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_bool_t" >&5
13911 $as_echo_n "checking alignment of dbus_bool_t... " >&6; }
13912 if ${ac_cv_alignof_dbus_bool_t+:} false; then :
13913 $as_echo_n "(cached) " >&6
13915 if test "$cross_compiling" = yes; then :
13916 ac_cv_alignof_dbus_bool_t=0
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13921 #include <stdlib.h>
13922 #define DBUS_API_SUBJECT_TO_CHANGE
13923 #include <dbus/dbus.h>
13924 typedef struct {char s1;} dbind_struct;
13925 typedef void *dbind_pointer;
13926 struct test {char s1; dbus_bool_t s2;};
13929 FILE *f=fopen("conftestval", "w");
13931 fprintf(f, "%d\n", &(((struct test*)0)->s2));
13935 if ac_fn_c_try_run "$LINENO"; then :
13936 ac_cv_alignof_dbus_bool_t=`cat conftestval`
13938 ac_cv_alignof_dbus_bool_t=0
13940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13941 conftest.$ac_objext conftest.beam conftest.$ac_ext
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_bool_t" >&5
13947 $as_echo "$ac_cv_alignof_dbus_bool_t" >&6; }
13948 if test "$ac_cv_alignof_dbus_bool_t" = "0" ; then
13949 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
13951 DBIND_ALIGNOF_DBUS_BOOL_T=$ac_cv_alignof_dbus_bool_t
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int16_t" >&5
13955 $as_echo_n "checking alignment of dbus_int16_t... " >&6; }
13956 if ${ac_cv_alignof_dbus_int16_t+:} false; then :
13957 $as_echo_n "(cached) " >&6
13959 if test "$cross_compiling" = yes; then :
13960 ac_cv_alignof_dbus_int16_t=0
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13965 #include <stdlib.h>
13966 #define DBUS_API_SUBJECT_TO_CHANGE
13967 #include <dbus/dbus.h>
13968 typedef struct {char s1;} dbind_struct;
13969 typedef void *dbind_pointer;
13970 struct test {char s1; dbus_int16_t s2;};
13973 FILE *f=fopen("conftestval", "w");
13975 fprintf(f, "%d\n", &(((struct test*)0)->s2));
13979 if ac_fn_c_try_run "$LINENO"; then :
13980 ac_cv_alignof_dbus_int16_t=`cat conftestval`
13982 ac_cv_alignof_dbus_int16_t=0
13984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13985 conftest.$ac_objext conftest.beam conftest.$ac_ext
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int16_t" >&5
13991 $as_echo "$ac_cv_alignof_dbus_int16_t" >&6; }
13992 if test "$ac_cv_alignof_dbus_int16_t" = "0" ; then
13993 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
13995 DBIND_ALIGNOF_DBUS_INT16_T=$ac_cv_alignof_dbus_int16_t
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int32_t" >&5
13999 $as_echo_n "checking alignment of dbus_int32_t... " >&6; }
14000 if ${ac_cv_alignof_dbus_int32_t+:} false; then :
14001 $as_echo_n "(cached) " >&6
14003 if test "$cross_compiling" = yes; then :
14004 ac_cv_alignof_dbus_int32_t=0
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14009 #include <stdlib.h>
14010 #define DBUS_API_SUBJECT_TO_CHANGE
14011 #include <dbus/dbus.h>
14012 typedef struct {char s1;} dbind_struct;
14013 typedef void *dbind_pointer;
14014 struct test {char s1; dbus_int32_t s2;};
14017 FILE *f=fopen("conftestval", "w");
14019 fprintf(f, "%d\n", &(((struct test*)0)->s2));
14023 if ac_fn_c_try_run "$LINENO"; then :
14024 ac_cv_alignof_dbus_int32_t=`cat conftestval`
14026 ac_cv_alignof_dbus_int32_t=0
14028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14029 conftest.$ac_objext conftest.beam conftest.$ac_ext
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int32_t" >&5
14035 $as_echo "$ac_cv_alignof_dbus_int32_t" >&6; }
14036 if test "$ac_cv_alignof_dbus_int32_t" = "0" ; then
14037 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
14039 DBIND_ALIGNOF_DBUS_INT32_T=$ac_cv_alignof_dbus_int32_t
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int64_t" >&5
14043 $as_echo_n "checking alignment of dbus_int64_t... " >&6; }
14044 if ${ac_cv_alignof_dbus_int64_t+:} false; then :
14045 $as_echo_n "(cached) " >&6
14047 if test "$cross_compiling" = yes; then :
14048 ac_cv_alignof_dbus_int64_t=0
14050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14053 #include <stdlib.h>
14054 #define DBUS_API_SUBJECT_TO_CHANGE
14055 #include <dbus/dbus.h>
14056 typedef struct {char s1;} dbind_struct;
14057 typedef void *dbind_pointer;
14058 struct test {char s1; dbus_int64_t s2;};
14061 FILE *f=fopen("conftestval", "w");
14063 fprintf(f, "%d\n", &(((struct test*)0)->s2));
14067 if ac_fn_c_try_run "$LINENO"; then :
14068 ac_cv_alignof_dbus_int64_t=`cat conftestval`
14070 ac_cv_alignof_dbus_int64_t=0
14072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14073 conftest.$ac_objext conftest.beam conftest.$ac_ext
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int64_t" >&5
14079 $as_echo "$ac_cv_alignof_dbus_int64_t" >&6; }
14080 if test "$ac_cv_alignof_dbus_int64_t" = "0" ; then
14081 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
14083 DBIND_ALIGNOF_DBUS_INT64_T=$ac_cv_alignof_dbus_int64_t
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
14087 $as_echo_n "checking alignment of double... " >&6; }
14088 if ${ac_cv_alignof_double+:} false; then :
14089 $as_echo_n "(cached) " >&6
14091 if test "$cross_compiling" = yes; then :
14092 ac_cv_alignof_double=0
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14097 #include <stdlib.h>
14098 #define DBUS_API_SUBJECT_TO_CHANGE
14099 #include <dbus/dbus.h>
14100 typedef struct {char s1;} dbind_struct;
14101 typedef void *dbind_pointer;
14102 struct test {char s1; double s2;};
14105 FILE *f=fopen("conftestval", "w");
14107 fprintf(f, "%d\n", &(((struct test*)0)->s2));
14111 if ac_fn_c_try_run "$LINENO"; then :
14112 ac_cv_alignof_double=`cat conftestval`
14114 ac_cv_alignof_double=0
14116 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14117 conftest.$ac_objext conftest.beam conftest.$ac_ext
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
14123 $as_echo "$ac_cv_alignof_double" >&6; }
14124 if test "$ac_cv_alignof_double" = "0" ; then
14125 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
14127 DBIND_ALIGNOF_DOUBLE=$ac_cv_alignof_double
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_pointer" >&5
14131 $as_echo_n "checking alignment of dbind_pointer... " >&6; }
14132 if ${ac_cv_alignof_dbind_pointer+:} false; then :
14133 $as_echo_n "(cached) " >&6
14135 if test "$cross_compiling" = yes; then :
14136 ac_cv_alignof_dbind_pointer=0
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14141 #include <stdlib.h>
14142 #define DBUS_API_SUBJECT_TO_CHANGE
14143 #include <dbus/dbus.h>
14144 typedef struct {char s1;} dbind_struct;
14145 typedef void *dbind_pointer;
14146 struct test {char s1; dbind_pointer s2;};
14149 FILE *f=fopen("conftestval", "w");
14151 fprintf(f, "%d\n", &(((struct test*)0)->s2));
14155 if ac_fn_c_try_run "$LINENO"; then :
14156 ac_cv_alignof_dbind_pointer=`cat conftestval`
14158 ac_cv_alignof_dbind_pointer=0
14160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14161 conftest.$ac_objext conftest.beam conftest.$ac_ext
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_pointer" >&5
14167 $as_echo "$ac_cv_alignof_dbind_pointer" >&6; }
14168 if test "$ac_cv_alignof_dbind_pointer" = "0" ; then
14169 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
14171 DBIND_ALIGNOF_DBIND_POINTER=$ac_cv_alignof_dbind_pointer
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_struct" >&5
14175 $as_echo_n "checking alignment of dbind_struct... " >&6; }
14176 if ${ac_cv_alignof_dbind_struct+:} false; then :
14177 $as_echo_n "(cached) " >&6
14179 if test "$cross_compiling" = yes; then :
14180 ac_cv_alignof_dbind_struct=0
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14185 #include <stdlib.h>
14186 #define DBUS_API_SUBJECT_TO_CHANGE
14187 #include <dbus/dbus.h>
14188 typedef struct {char s1;} dbind_struct;
14189 typedef void *dbind_pointer;
14190 struct test {char s1; dbind_struct s2;};
14193 FILE *f=fopen("conftestval", "w");
14195 fprintf(f, "%d\n", &(((struct test*)0)->s2));
14199 if ac_fn_c_try_run "$LINENO"; then :
14200 ac_cv_alignof_dbind_struct=`cat conftestval`
14202 ac_cv_alignof_dbind_struct=0
14204 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14205 conftest.$ac_objext conftest.beam conftest.$ac_ext
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_struct" >&5
14211 $as_echo "$ac_cv_alignof_dbind_struct" >&6; }
14212 if test "$ac_cv_alignof_dbind_struct" = "0" ; then
14213 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
14215 DBIND_ALIGNOF_DBIND_STRUCT=$ac_cv_alignof_dbind_struct
14222 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
14223 set dummy gtkdoc-check; ac_word=$2
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14225 $as_echo_n "checking for $ac_word... " >&6; }
14226 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
14227 $as_echo_n "(cached) " >&6
14229 case $GTKDOC_CHECK in
14231 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14235 for as_dir in $PATH
14238 test -z "$as_dir" && as_dir=.
14239 for ac_exec_ext in '' $ac_executable_extensions; do
14240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14241 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14252 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14253 if test -n "$GTKDOC_CHECK"; then
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14255 $as_echo "$GTKDOC_CHECK" >&6; }
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14258 $as_echo "no" >&6; }
14262 for ac_prog in gtkdoc-rebase
14264 # Extract the first word of "$ac_prog", so it can be a program name with args.
14265 set dummy $ac_prog; ac_word=$2
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14267 $as_echo_n "checking for $ac_word... " >&6; }
14268 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
14269 $as_echo_n "(cached) " >&6
14271 case $GTKDOC_REBASE in
14273 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
14276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14277 for as_dir in $PATH
14280 test -z "$as_dir" && as_dir=.
14281 for ac_exec_ext in '' $ac_executable_extensions; do
14282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14283 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
14284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14294 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
14295 if test -n "$GTKDOC_REBASE"; then
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14297 $as_echo "$GTKDOC_REBASE" >&6; }
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14300 $as_echo "no" >&6; }
14304 test -n "$GTKDOC_REBASE" && break
14306 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
14308 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14309 set dummy gtkdoc-mkpdf; ac_word=$2
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14311 $as_echo_n "checking for $ac_word... " >&6; }
14312 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
14313 $as_echo_n "(cached) " >&6
14315 case $GTKDOC_MKPDF in
14317 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
14320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14321 for as_dir in $PATH
14324 test -z "$as_dir" && as_dir=.
14325 for ac_exec_ext in '' $ac_executable_extensions; do
14326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14327 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
14328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14338 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
14339 if test -n "$GTKDOC_MKPDF"; then
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14341 $as_echo "$GTKDOC_MKPDF" >&6; }
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14344 $as_echo "no" >&6; }
14350 # Check whether --with-html-dir was given.
14351 if test "${with_html_dir+set}" = set; then :
14352 withval=$with_html_dir;
14354 with_html_dir='${datadir}/gtk-doc/html'
14357 HTML_DIR="$with_html_dir"
14360 # Check whether --enable-gtk-doc was given.
14361 if test "${enable_gtk_doc+set}" = set; then :
14362 enableval=$enable_gtk_doc;
14368 if test x$enable_gtk_doc = xyes; then
14369 if test -n "$PKG_CONFIG" && \
14370 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.09\""; } >&5
14371 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.09") 2>&5
14373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14374 test $ac_status = 0; }; then
14377 as_fn_error $? "You need to have gtk-doc >= 1.09 installed to build $PACKAGE_NAME" "$LINENO" 5
14379 if test "x$PACKAGE_NAME" != "xglib"; then
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
14383 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
14385 if test -n "$GTKDOC_DEPS_CFLAGS"; then
14386 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
14387 elif test -n "$PKG_CONFIG"; then
14388 if test -n "$PKG_CONFIG" && \
14389 { { $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
14390 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14393 test $ac_status = 0; }; then
14394 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14401 if test -n "$GTKDOC_DEPS_LIBS"; then
14402 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
14403 elif test -n "$PKG_CONFIG"; then
14404 if test -n "$PKG_CONFIG" && \
14405 { { $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
14406 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14409 test $ac_status = 0; }; then
14410 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14420 if test $pkg_failed = yes; then
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14422 $as_echo "no" >&6; }
14424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14425 _pkg_short_errors_supported=yes
14427 _pkg_short_errors_supported=no
14429 if test $_pkg_short_errors_supported = yes; then
14430 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14432 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14434 # Put the nasty error message in config.log where it belongs
14435 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14438 elif test $pkg_failed = untried; then
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14440 $as_echo "no" >&6; }
14443 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
14444 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14446 $as_echo "yes" >&6; }
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14453 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14455 $as_echo "$enable_gtk_doc" >&6; }
14457 # Check whether --enable-gtk-doc-html was given.
14458 if test "${enable_gtk_doc_html+set}" = set; then :
14459 enableval=$enable_gtk_doc_html;
14461 enable_gtk_doc_html=yes
14464 # Check whether --enable-gtk-doc-pdf was given.
14465 if test "${enable_gtk_doc_pdf+set}" = set; then :
14466 enableval=$enable_gtk_doc_pdf;
14468 enable_gtk_doc_pdf=no
14472 if test -z "$GTKDOC_MKPDF"; then
14473 enable_gtk_doc_pdf=no
14476 if test -z "$AM_DEFAULT_VERBOSITY"; then
14477 AM_DEFAULT_VERBOSITY=1
14481 if test x$enable_gtk_doc = xyes; then
14482 ENABLE_GTK_DOC_TRUE=
14483 ENABLE_GTK_DOC_FALSE='#'
14485 ENABLE_GTK_DOC_TRUE='#'
14486 ENABLE_GTK_DOC_FALSE=
14489 if test x$enable_gtk_doc_html = xyes; then
14490 GTK_DOC_BUILD_HTML_TRUE=
14491 GTK_DOC_BUILD_HTML_FALSE='#'
14493 GTK_DOC_BUILD_HTML_TRUE='#'
14494 GTK_DOC_BUILD_HTML_FALSE=
14497 if test x$enable_gtk_doc_pdf = xyes; then
14498 GTK_DOC_BUILD_PDF_TRUE=
14499 GTK_DOC_BUILD_PDF_FALSE='#'
14501 GTK_DOC_BUILD_PDF_TRUE='#'
14502 GTK_DOC_BUILD_PDF_FALSE=
14505 if test -n "$LIBTOOL"; then
14506 GTK_DOC_USE_LIBTOOL_TRUE=
14507 GTK_DOC_USE_LIBTOOL_FALSE='#'
14509 GTK_DOC_USE_LIBTOOL_TRUE='#'
14510 GTK_DOC_USE_LIBTOOL_FALSE=
14513 if test -n "$GTKDOC_REBASE"; then
14514 GTK_DOC_USE_REBASE_TRUE=
14515 GTK_DOC_USE_REBASE_FALSE='#'
14517 GTK_DOC_USE_REBASE_TRUE='#'
14518 GTK_DOC_USE_REBASE_FALSE=
14523 if test "x$GCC" = xyes; then
14524 CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
14526 CPPFLAGS=$orig_CPPFLAGS
14527 ac_config_files="$ac_config_files Makefile po/Makefile.in xml/Makefile dbind/Makefile dbind/dbind-config.h atspi/Makefile registryd/Makefile bus/Makefile doc/Makefile doc/libatspi/Makefile test/Makefile atspi-2.pc atspi-2-uninstalled.pc"
14530 cat >confcache <<\_ACEOF
14531 # This file is a shell script that caches the results of configure
14532 # tests run on this system so they can be shared between configure
14533 # scripts and configure runs, see configure's option --config-cache.
14534 # It is not useful on other systems. If it contains results you don't
14535 # want to keep, you may remove or edit it.
14537 # config.status only pays attention to the cache file if you give it
14538 # the --recheck option to rerun configure.
14540 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14541 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14542 # following values.
14546 # The following way of writing the cache mishandles newlines in values,
14547 # but we know of no workaround that is simple, portable, and efficient.
14548 # So, we kill variables containing newlines.
14549 # Ultrix sh set writes to stderr and can't be redirected directly,
14550 # and sets the high bit in the cache file unless we assign to the vars.
14552 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14553 eval ac_val=\$$ac_var
14557 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14558 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14561 _ | IFS | as_nl) ;; #(
14562 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14563 *) { eval $ac_var=; unset $ac_var;} ;;
14569 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14570 *${as_nl}ac_space=\ *)
14571 # `set' does not quote correctly, so add quotes: double-quote
14572 # substitution turns \\\\ into \\, and sed turns \\ into \.
14575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14578 # `set' quotes correctly as required by POSIX, so do not add quotes.
14579 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14588 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14590 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14592 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14593 if test -w "$cache_file"; then
14594 if test "x$cache_file" != "x/dev/null"; then
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14596 $as_echo "$as_me: updating cache $cache_file" >&6;}
14597 if test ! -f "$cache_file" || test -h "$cache_file"; then
14598 cat confcache >"$cache_file"
14600 case $cache_file in #(
14602 mv -f confcache "$cache_file"$$ &&
14603 mv -f "$cache_file"$$ "$cache_file" ;; #(
14605 mv -f confcache "$cache_file" ;;
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14611 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14616 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14617 # Let make expand exec_prefix.
14618 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14620 DEFS=-DHAVE_CONFIG_H
14625 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14626 # 1. Remove the extension, and $U if already installed.
14627 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14628 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14629 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14630 # will be set to the directory where LIBOBJS objects are built.
14631 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14632 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14634 LIBOBJS=$ac_libobjs
14636 LTLIBOBJS=$ac_ltlibobjs
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14640 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14641 if test -n "$am_sleep_pid"; then
14642 # Hide warnings about reused PIDs.
14643 wait $am_sleep_pid 2>/dev/null
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14646 $as_echo "done" >&6; }
14647 if test -n "$EXEEXT"; then
14649 am__EXEEXT_FALSE='#'
14651 am__EXEEXT_TRUE='#'
14655 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14656 as_fn_error $? "conditional \"AMDEP\" was never defined.
14657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14659 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14660 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14664 ac_config_commands="$ac_config_commands po/stamp-it"
14667 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
14668 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
14669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14671 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14672 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14675 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14676 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14679 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14680 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14683 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14684 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14687 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14688 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14692 : "${CONFIG_STATUS=./config.status}"
14694 ac_clean_files_save=$ac_clean_files
14695 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14697 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14699 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14701 # Generated by $as_me.
14702 # Run this file to recreate the current configuration.
14703 # Compiler output produced by configure, useful for debugging
14704 # configure, is in config.log if it exists.
14707 ac_cs_recheck=false
14710 SHELL=\${CONFIG_SHELL-$SHELL}
14713 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14714 ## -------------------- ##
14715 ## M4sh Initialization. ##
14716 ## -------------------- ##
14718 # Be more Bourne compatible
14719 DUALCASE=1; export DUALCASE # for MKS sh
14720 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14723 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14724 # is contrary to our usage. Disable this feature.
14725 alias -g '${1+"$@"}'='"$@"'
14726 setopt NO_GLOB_SUBST
14728 case `(set -o) 2>/dev/null` in #(
14740 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14741 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14742 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14743 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14744 # Prefer a ksh shell builtin over an external printf program on Solaris,
14745 # but without wasting forks for bash or zsh.
14746 if test -z "$BASH_VERSION$ZSH_VERSION" \
14747 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14748 as_echo='print -r --'
14749 as_echo_n='print -rn --'
14750 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14751 as_echo='printf %s\n'
14752 as_echo_n='printf %s'
14754 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14755 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14756 as_echo_n='/usr/ucb/echo -n'
14758 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14759 as_echo_n_body='eval
14763 expr "X$arg" : "X\\(.*\\)$as_nl";
14764 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14766 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14768 export as_echo_n_body
14769 as_echo_n='sh -c $as_echo_n_body as_echo'
14771 export as_echo_body
14772 as_echo='sh -c $as_echo_body as_echo'
14775 # The user is always right.
14776 if test "${PATH_SEPARATOR+set}" != set; then
14778 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14779 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14786 # We need space, tab and new line, in precisely that order. Quoting is
14787 # there to prevent editors from complaining about space-tab.
14788 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14789 # splitting by setting IFS to empty value.)
14792 # Find who we are. Look in the path if we contain no directory separator.
14795 *[\\/]* ) as_myself=$0 ;;
14796 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14797 for as_dir in $PATH
14800 test -z "$as_dir" && as_dir=.
14801 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14807 # We did not find ourselves, most probably we were run as `sh COMMAND'
14808 # in which case we are not to be found in the path.
14809 if test "x$as_myself" = x; then
14812 if test ! -f "$as_myself"; then
14813 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14817 # Unset variables that we do not need and which cause bugs (e.g. in
14818 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14819 # suppresses any "Segmentation fault" message there. '((' could
14820 # trigger a bug in pdksh 5.2.14.
14821 for as_var in BASH_ENV ENV MAIL MAILPATH
14822 do eval test x\${$as_var+set} = xset \
14823 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14836 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14839 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14840 # ----------------------------------------
14841 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14842 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14843 # script with STATUS, using 1 if that was 0.
14846 as_status=$1; test $as_status -eq 0 && as_status=1
14848 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14849 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14851 $as_echo "$as_me: error: $2" >&2
14852 as_fn_exit $as_status
14856 # as_fn_set_status STATUS
14857 # -----------------------
14858 # Set $? to STATUS, without forking.
14859 as_fn_set_status ()
14862 } # as_fn_set_status
14864 # as_fn_exit STATUS
14865 # -----------------
14866 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14870 as_fn_set_status $1
14876 # Portably unset VAR.
14879 { eval $1=; unset $1;}
14881 as_unset=as_fn_unset
14882 # as_fn_append VAR VALUE
14883 # ----------------------
14884 # Append the text in VALUE to the end of the definition contained in VAR. Take
14885 # advantage of any shell optimizations that allow amortized linear growth over
14886 # repeated appends, instead of the typical quadratic growth present in naive
14888 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14889 eval 'as_fn_append ()
14900 # as_fn_arith ARG...
14901 # ------------------
14902 # Perform arithmetic evaluation on the ARGs, and store the result in the
14903 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14904 # must be portable across $(()) and expr.
14905 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14906 eval 'as_fn_arith ()
14913 as_val=`expr "$@" || test $? -eq 1`
14918 if expr a : '\(a\)' >/dev/null 2>&1 &&
14919 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14925 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14926 as_basename=basename
14931 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14937 as_me=`$as_basename -- "$0" ||
14938 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14939 X"$0" : 'X\(//\)$' \| \
14940 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14942 sed '/^.*\/\([^/][^/]*\)\/*$/{
14956 # Avoid depending upon Character Ranges.
14957 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14958 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14959 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14960 as_cr_digits='0123456789'
14961 as_cr_alnum=$as_cr_Letters$as_cr_digits
14963 ECHO_C= ECHO_N= ECHO_T=
14964 case `echo -n x` in #(((((
14966 case `echo 'xy\c'` in
14967 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14969 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14976 rm -f conf$$ conf$$.exe conf$$.file
14977 if test -d conf$$.dir; then
14978 rm -f conf$$.dir/conf$$.file
14981 mkdir conf$$.dir 2>/dev/null
14983 if (echo >conf$$.file) 2>/dev/null; then
14984 if ln -s conf$$.file conf$$ 2>/dev/null; then
14986 # ... but there are two gotchas:
14987 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14988 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14989 # In both cases, we have to default to `cp -pR'.
14990 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14992 elif ln conf$$.file conf$$ 2>/dev/null; then
15000 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15001 rmdir conf$$.dir 2>/dev/null
15006 # Create "$as_dir" as a directory, including parents if necessary.
15011 -*) as_dir=./$as_dir;;
15013 test -d "$as_dir" || eval $as_mkdir_p || {
15017 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15018 *) as_qdir=$as_dir;;
15020 as_dirs="'$as_qdir' $as_dirs"
15021 as_dir=`$as_dirname -- "$as_dir" ||
15022 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15023 X"$as_dir" : 'X\(//\)[^/]' \| \
15024 X"$as_dir" : 'X\(//\)$' \| \
15025 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15026 $as_echo X"$as_dir" |
15027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15031 /^X\(\/\/\)[^/].*/{
15044 test -d "$as_dir" && break
15046 test -z "$as_dirs" || eval "mkdir $as_dirs"
15047 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15051 if mkdir -p . 2>/dev/null; then
15052 as_mkdir_p='mkdir -p "$as_dir"'
15054 test -d ./-p && rmdir ./-p
15059 # as_fn_executable_p FILE
15060 # -----------------------
15061 # Test if FILE is an executable regular file.
15062 as_fn_executable_p ()
15064 test -f "$1" && test -x "$1"
15065 } # as_fn_executable_p
15066 as_test_x='test -x'
15067 as_executable_p=as_fn_executable_p
15069 # Sed expression to map a string onto a valid CPP name.
15070 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15072 # Sed expression to map a string onto a valid variable name.
15073 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15077 ## ----------------------------------- ##
15078 ## Main body of $CONFIG_STATUS script. ##
15079 ## ----------------------------------- ##
15081 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15084 # Save the log message, to keep $0 and so on meaningful, and to
15085 # report actual input values of CONFIG_FILES etc. instead of their
15086 # values after options handling.
15088 This file was extended by at-spi2-core $as_me 2.7.91, which was
15089 generated by GNU Autoconf 2.69. Invocation command line was
15091 CONFIG_FILES = $CONFIG_FILES
15092 CONFIG_HEADERS = $CONFIG_HEADERS
15093 CONFIG_LINKS = $CONFIG_LINKS
15094 CONFIG_COMMANDS = $CONFIG_COMMANDS
15097 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15102 case $ac_config_files in *"
15103 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15106 case $ac_config_headers in *"
15107 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15112 # Files that config.status was made for.
15113 config_files="$ac_config_files"
15114 config_headers="$ac_config_headers"
15115 config_commands="$ac_config_commands"
15119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15121 \`$as_me' instantiates files and other configuration actions
15122 from templates according to the current configuration. Unless the files
15123 and actions are specified as TAGs, all are instantiated by default.
15125 Usage: $0 [OPTION]... [TAG]...
15127 -h, --help print this help, then exit
15128 -V, --version print version number and configuration settings, then exit
15129 --config print configuration, then exit
15130 -q, --quiet, --silent
15131 do not print progress messages
15132 -d, --debug don't remove temporary files
15133 --recheck update $as_me by reconfiguring in the same conditions
15134 --file=FILE[:TEMPLATE]
15135 instantiate the configuration file FILE
15136 --header=FILE[:TEMPLATE]
15137 instantiate the configuration header FILE
15139 Configuration files:
15142 Configuration headers:
15145 Configuration commands:
15148 Report bugs to <accessibility-atspi@lists.linux-foundation.org>."
15151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15152 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15154 at-spi2-core config.status 2.7.91
15155 configured by $0, generated by GNU Autoconf 2.69,
15156 with options \\"\$ac_cs_config\\"
15158 Copyright (C) 2012 Free Software Foundation, Inc.
15159 This config.status script is free software; the Free Software Foundation
15160 gives unlimited permission to copy, distribute and modify it."
15167 test -n "\$AWK" || AWK=awk
15170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15171 # The default lists apply if the user does not specify any file.
15177 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15178 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15182 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15194 # Handling of the options.
15195 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15197 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15198 $as_echo "$ac_cs_version"; exit ;;
15199 --config | --confi | --conf | --con | --co | --c )
15200 $as_echo "$ac_cs_config"; exit ;;
15201 --debug | --debu | --deb | --de | --d | -d )
15203 --file | --fil | --fi | --f )
15206 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15207 '') as_fn_error $? "missing file argument" ;;
15209 as_fn_append CONFIG_FILES " '$ac_optarg'"
15210 ac_need_defaults=false;;
15211 --header | --heade | --head | --hea )
15214 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15216 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15217 ac_need_defaults=false;;
15219 # Conflict between --help and --header
15220 as_fn_error $? "ambiguous option: \`$1'
15221 Try \`$0 --help' for more information.";;
15222 --help | --hel | -h )
15223 $as_echo "$ac_cs_usage"; exit ;;
15224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15225 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15228 # This is an error.
15229 -*) as_fn_error $? "unrecognized option: \`$1'
15230 Try \`$0 --help' for more information." ;;
15232 *) as_fn_append ac_config_targets " $1"
15233 ac_need_defaults=false ;;
15239 ac_configure_extra_args=
15241 if $ac_cs_silent; then
15243 ac_configure_extra_args="$ac_configure_extra_args --silent"
15247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15248 if \$ac_cs_recheck; then
15249 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15251 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15252 CONFIG_SHELL='$SHELL'
15253 export CONFIG_SHELL
15258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15262 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15263 ## Running $as_me. ##
15269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15273 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15276 # The HP-UX ksh and POSIX shell print the target directory to stdout
15277 # if CDPATH is set.
15278 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15280 sed_quote_subst='$sed_quote_subst'
15281 double_quote_subst='$double_quote_subst'
15282 delay_variable_subst='$delay_variable_subst'
15283 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15284 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15285 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15286 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15287 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15288 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15289 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15290 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15291 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15292 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15293 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15294 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15295 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15296 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15297 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15298 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15299 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15300 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15301 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15302 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15303 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15304 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15305 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15306 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15307 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15308 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15309 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15310 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15311 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15312 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15313 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15314 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15315 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15316 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15317 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15318 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15319 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15320 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15321 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15322 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15323 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15324 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15325 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15326 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15327 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15328 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15329 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15330 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15331 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15332 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15333 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15334 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15335 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15336 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15337 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15338 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15339 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"`'
15340 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15341 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15342 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15343 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15344 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15345 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15346 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15347 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15348 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15349 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15350 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15351 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15352 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15353 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15354 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15355 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15356 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15357 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15358 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15359 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15360 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15361 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15362 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15363 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15364 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15365 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15366 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15367 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15368 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15369 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15370 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15371 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15372 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15373 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15374 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15375 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15376 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15377 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15378 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15379 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15380 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15381 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15382 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15383 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15384 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15385 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15386 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15387 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15388 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15389 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15390 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15391 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15392 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15393 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15394 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15395 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15396 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15397 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15398 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15399 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15400 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15401 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15402 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15403 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15404 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15405 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15406 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15407 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15408 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15409 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15410 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15411 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15412 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15415 LTCFLAGS='$LTCFLAGS'
15416 compiler='$compiler_DEFAULT'
15418 # A function that is used when there is no print builtin or printf.
15419 func_fallback_echo ()
15421 eval 'cat <<_LTECHO_EOF
15426 # Quote evaled strings.
15441 deplibs_check_method \
15446 sharedlib_from_linklib_cmd \
15449 archiver_list_spec \
15455 lt_cv_sys_global_symbol_pipe \
15456 lt_cv_sys_global_symbol_to_cdecl \
15457 lt_cv_sys_global_symbol_to_c_name_address \
15458 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15459 nm_file_list_spec \
15460 lt_prog_compiler_no_builtin_flag \
15461 lt_prog_compiler_pic \
15462 lt_prog_compiler_wl \
15463 lt_prog_compiler_static \
15464 lt_cv_prog_compiler_c_o \
15473 export_dynamic_flag_spec \
15474 whole_archive_flag_spec \
15475 compiler_needs_object \
15477 allow_undefined_flag \
15478 no_undefined_flag \
15479 hardcode_libdir_flag_spec \
15480 hardcode_libdir_separator \
15484 variables_saved_for_relink \
15486 library_names_spec \
15488 install_override_mode \
15492 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15493 *[\\\\\\\`\\"\\\$]*)
15494 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15497 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15502 # Double-quote double-evaled strings.
15503 for var in reload_cmds \
15504 old_postinstall_cmds \
15505 old_postuninstall_cmds \
15507 extract_expsyms_cmds \
15508 old_archive_from_new_cmds \
15509 old_archive_from_expsyms_cmds \
15511 archive_expsym_cmds \
15513 module_expsym_cmds \
15514 export_symbols_cmds \
15518 postuninstall_cmds \
15520 sys_lib_search_path_spec \
15521 sys_lib_dlsearch_path_spec; do
15522 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15523 *[\\\\\\\`\\"\\\$]*)
15524 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15527 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15532 ac_aux_dir='$ac_aux_dir'
15533 xsi_shell='$xsi_shell'
15534 lt_shell_append='$lt_shell_append'
15536 # See if we are running on zsh, and set the options which allow our
15537 # commands through without removal of \ escapes INIT.
15538 if test -n "\${ZSH_VERSION+set}" ; then
15539 setopt NO_GLOB_SUBST
15545 TIMESTAMP='$TIMESTAMP'
15554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15556 # Handling of arguments.
15557 for ac_config_target in $ac_config_targets
15559 case $ac_config_target in
15560 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15561 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15562 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15563 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15564 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15565 "xml/Makefile") CONFIG_FILES="$CONFIG_FILES xml/Makefile" ;;
15566 "dbind/Makefile") CONFIG_FILES="$CONFIG_FILES dbind/Makefile" ;;
15567 "dbind/dbind-config.h") CONFIG_FILES="$CONFIG_FILES dbind/dbind-config.h" ;;
15568 "atspi/Makefile") CONFIG_FILES="$CONFIG_FILES atspi/Makefile" ;;
15569 "registryd/Makefile") CONFIG_FILES="$CONFIG_FILES registryd/Makefile" ;;
15570 "bus/Makefile") CONFIG_FILES="$CONFIG_FILES bus/Makefile" ;;
15571 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15572 "doc/libatspi/Makefile") CONFIG_FILES="$CONFIG_FILES doc/libatspi/Makefile" ;;
15573 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
15574 "atspi-2.pc") CONFIG_FILES="$CONFIG_FILES atspi-2.pc" ;;
15575 "atspi-2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES atspi-2-uninstalled.pc" ;;
15576 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15578 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15583 # If the user did not use the arguments to specify the items to instantiate,
15584 # then the envvar interface is used. Set only those that are not.
15585 # We use the long form for the default assignment because of an extremely
15586 # bizarre bug on SunOS 4.1.3.
15587 if $ac_need_defaults; then
15588 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15589 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15590 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15593 # Have a temporary directory for convenience. Make it in the build tree
15594 # simply because there is no reason against having it here, and in addition,
15595 # creating and moving files from /tmp can sometimes cause problems.
15596 # Hook for its removal unless debugging.
15597 # Note that there is a small window in which the directory will not be cleaned:
15598 # after its creation but before its name has been assigned to `$tmp'.
15602 trap 'exit_status=$?
15603 : "${ac_tmp:=$tmp}"
15604 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15606 trap 'as_fn_exit 1' 1 2 13 15
15608 # Create a (secure) tmp directory for tmp files.
15611 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15615 tmp=./conf$$-$RANDOM
15616 (umask 077 && mkdir "$tmp")
15617 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15620 # Set up the scripts for CONFIG_FILES section.
15621 # No need to generate them if there are no CONFIG_FILES.
15622 # This happens for instance with `./config.status config.h'.
15623 if test -n "$CONFIG_FILES"; then
15626 ac_cr=`echo X | tr X '\015'`
15627 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15628 # But we know of no other shell where ac_cr would be empty at this
15629 # point, so we can use a bashism as a fallback.
15630 if test "x$ac_cr" = x; then
15631 eval ac_cr=\$\'\\r\'
15633 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15634 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15637 ac_cs_awk_cr=$ac_cr
15640 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15645 echo "cat >conf$$subs.awk <<_ACEOF" &&
15646 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15648 } >conf$$subs.sh ||
15649 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15650 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15652 for ac_last_try in false false false false false :; do
15653 . ./conf$$subs.sh ||
15654 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15656 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15657 if test $ac_delim_n = $ac_delim_num; then
15659 elif $ac_last_try; then
15660 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15662 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15665 rm -f conf$$subs.sh
15667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15668 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15672 s/^/S["/; s/!.*/"]=/
15682 s/\(.\{148\}\)..*/\1/
15684 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15689 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15696 s/\(.\{148\}\)..*/\1/
15698 s/["\\]/\\&/g; s/^/"/; s/$/"/
15702 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15707 ' <conf$$subs.awk | sed '
15712 ' >>$CONFIG_STATUS || ac_write_fail=1
15713 rm -f conf$$subs.awk
15714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15716 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15717 for (key in S) S_is_set[key] = 1
15723 nfields = split(line, field, "@")
15725 len = length(field[1])
15726 for (i = 2; i < nfields; i++) {
15728 keylen = length(key)
15729 if (S_is_set[key]) {
15731 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15732 len += length(value) + length(field[++i])
15743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15744 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15745 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15748 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15749 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15752 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15753 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15754 # trailing colons and then remove the whole line if VPATH becomes empty
15755 # (actually we leave an empty line to preserve line numbers).
15756 if test "x$srcdir" = x.; then
15757 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15776 fi # test -n "$CONFIG_FILES"
15778 # Set up the scripts for CONFIG_HEADERS section.
15779 # No need to generate them if there are no CONFIG_HEADERS.
15780 # This happens for instance with `./config.status Makefile'.
15781 if test -n "$CONFIG_HEADERS"; then
15782 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15786 # Transform confdefs.h into an awk script `defines.awk', embedded as
15787 # here-document in config.status, that substitutes the proper values into
15788 # config.h.in to produce config.h.
15790 # Create a delimiter string that does not exist in confdefs.h, to ease
15791 # handling of long lines.
15793 for ac_last_try in false false :; do
15794 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15795 if test -z "$ac_tt"; then
15797 elif $ac_last_try; then
15798 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15800 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15804 # For the awk script, D is an array of macro values keyed by name,
15805 # likewise P contains macro parameters if any. Preserve backslash
15806 # newline sequences.
15808 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15810 s/.\{148\}/&'"$ac_delim"'/g
15813 s/^[ ]*#[ ]*define[ ][ ]*/ /
15820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15822 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15826 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15827 D["\1"]=" \3\\\\\\n"\\/p
15829 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15834 s/.\{148\}/&'"$ac_delim"'/g
15839 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15842 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15844 ' <confdefs.h | sed '
15845 s/'"$ac_delim"'/"\\\
15846 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15849 for (key in D) D_is_set[key] = 1
15852 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15854 split(line, arg, " ")
15855 if (arg[1] == "#") {
15859 defundef = substr(arg[1], 2)
15862 split(mac1, mac2, "(") #)
15864 prefix = substr(line, 1, index(line, defundef) - 1)
15865 if (D_is_set[macro]) {
15866 # Preserve the white space surrounding the "#".
15867 print prefix "define", macro P[macro] D[macro]
15870 # Replace #undef with comments. This is necessary, for example,
15871 # in the case of _POSIX_SOURCE, which is predefined and required
15872 # on some systems where configure will not decide to define it.
15873 if (defundef == "undef") {
15874 print "/*", prefix defundef, macro, "*/"
15882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15883 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15884 fi # test -n "$CONFIG_HEADERS"
15887 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15892 :[FHLC]) ac_mode=$ac_tag; continue;;
15894 case $ac_mode$ac_tag in
15896 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15897 :[FH]-) ac_tag=-:-;;
15898 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15915 -) ac_f="$ac_tmp/stdin";;
15916 *) # Look for the file first in the build tree, then in the source tree
15917 # (if the path is not absolute). The absolute path cannot be DOS-style,
15918 # because $ac_f cannot contain `:'.
15922 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15924 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15926 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15927 as_fn_append ac_file_inputs " '$ac_f'"
15930 # Let's still pretend it is `configure' which instantiates (i.e., don't
15931 # use $as_me), people would be surprised to read:
15932 # /* config.h. Generated by config.status. */
15933 configure_input='Generated from '`
15934 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15936 if test x"$ac_file" != x-; then
15937 configure_input="$ac_file. $configure_input"
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15939 $as_echo "$as_me: creating $ac_file" >&6;}
15941 # Neutralize special characters interpreted by sed in replacement strings.
15942 case $configure_input in #(
15943 *\&* | *\|* | *\\* )
15944 ac_sed_conf_input=`$as_echo "$configure_input" |
15945 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15946 *) ac_sed_conf_input=$configure_input;;
15950 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15951 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15956 ac_dir=`$as_dirname -- "$ac_file" ||
15957 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15958 X"$ac_file" : 'X\(//\)[^/]' \| \
15959 X"$ac_file" : 'X\(//\)$' \| \
15960 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15961 $as_echo X"$ac_file" |
15962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15966 /^X\(\/\/\)[^/].*/{
15979 as_dir="$ac_dir"; as_fn_mkdir_p
15983 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15985 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15986 # A ".." for each directory in $ac_dir_suffix.
15987 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15988 case $ac_top_builddir_sub in
15989 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15990 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15993 ac_abs_top_builddir=$ac_pwd
15994 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15995 # for backward compatibility:
15996 ac_top_builddir=$ac_top_build_prefix
15999 .) # We are building in place.
16001 ac_top_srcdir=$ac_top_builddir_sub
16002 ac_abs_top_srcdir=$ac_pwd ;;
16003 [\\/]* | ?:[\\/]* ) # Absolute name.
16004 ac_srcdir=$srcdir$ac_dir_suffix;
16005 ac_top_srcdir=$srcdir
16006 ac_abs_top_srcdir=$srcdir ;;
16007 *) # Relative name.
16008 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16009 ac_top_srcdir=$ac_top_build_prefix$srcdir
16010 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16012 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16022 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16023 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16025 ac_MKDIR_P=$MKDIR_P
16027 [\\/$]* | ?:[\\/]* ) ;;
16028 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16033 # If the template does not know about datarootdir, expand it.
16034 # FIXME: This hack should be removed a few years after 2.60.
16035 ac_datarootdir_hack=; ac_datarootdir_seen=
16046 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16047 *datarootdir*) ac_datarootdir_seen=yes;;
16048 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16050 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16053 ac_datarootdir_hack='
16054 s&@datadir@&$datadir&g
16055 s&@docdir@&$docdir&g
16056 s&@infodir@&$infodir&g
16057 s&@localedir@&$localedir&g
16058 s&@mandir@&$mandir&g
16059 s&\\\${datarootdir}&$datarootdir&g' ;;
16063 # Neutralize VPATH when `$srcdir' = `.'.
16064 # Shell code in configure.ac might set extrasub.
16065 # FIXME: do we really want to maintain this feature?
16066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16067 ac_sed_extra="$ac_vpsub
16070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16072 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16073 s|@configure_input@|$ac_sed_conf_input|;t t
16074 s&@top_builddir@&$ac_top_builddir_sub&;t t
16075 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16076 s&@srcdir@&$ac_srcdir&;t t
16077 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16078 s&@top_srcdir@&$ac_top_srcdir&;t t
16079 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16080 s&@builddir@&$ac_builddir&;t t
16081 s&@abs_builddir@&$ac_abs_builddir&;t t
16082 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16083 s&@INSTALL@&$ac_INSTALL&;t t
16084 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16085 $ac_datarootdir_hack
16087 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16088 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16090 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16091 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16092 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16093 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16095 which seems to be undefined. Please make sure it is defined" >&5
16096 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16097 which seems to be undefined. Please make sure it is defined" >&2;}
16099 rm -f "$ac_tmp/stdin"
16101 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16102 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16104 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16110 if test x"$ac_file" != x-; then
16112 $as_echo "/* $configure_input */" \
16113 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16114 } >"$ac_tmp/config.h" \
16115 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16116 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16118 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16121 mv "$ac_tmp/config.h" "$ac_file" \
16122 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16125 $as_echo "/* $configure_input */" \
16126 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16127 || as_fn_error $? "could not create -" "$LINENO" 5
16129 # Compute "$ac_file"'s index in $config_headers.
16132 for _am_header in $config_headers :; do
16133 case $_am_header in
16134 $_am_arg | $_am_arg:* )
16137 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16140 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16141 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16142 X"$_am_arg" : 'X\(//\)[^/]' \| \
16143 X"$_am_arg" : 'X\(//\)$' \| \
16144 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16145 $as_echo X"$_am_arg" |
16146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16150 /^X\(\/\/\)[^/].*/{
16162 s/.*/./; q'`/stamp-h$_am_stamp_count
16165 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16166 $as_echo "$as_me: executing $ac_file commands" >&6;}
16171 case $ac_file$ac_mode in
16172 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16173 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16174 # are listed without --file. Let's play safe and only enable the eval
16175 # if we detect the quoting.
16176 case $CONFIG_FILES in
16177 *\'*) eval set x "$CONFIG_FILES" ;;
16178 *) set x $CONFIG_FILES ;;
16183 # Strip MF so we end up with the name of the file.
16184 mf=`echo "$mf" | sed -e 's/:.*$//'`
16185 # Check whether this is an Automake generated Makefile or not.
16186 # We used to match only the files named 'Makefile.in', but
16187 # some people rename them; so instead we look at the file content.
16188 # Grep'ing the first line is not enough: some people post-process
16189 # each Makefile.in and add a new line on top of each file to say so.
16190 # Grep'ing the whole file is not good either: AIX grep has a line
16191 # limit of 2048, but all sed's we know have understand at least 4000.
16192 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16193 dirpart=`$as_dirname -- "$mf" ||
16194 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16195 X"$mf" : 'X\(//\)[^/]' \| \
16196 X"$mf" : 'X\(//\)$' \| \
16197 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16203 /^X\(\/\/\)[^/].*/{
16219 # Extract the definition of DEPDIR, am__include, and am__quote
16220 # from the Makefile without running 'make'.
16221 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16222 test -z "$DEPDIR" && continue
16223 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16224 test -z "am__include" && continue
16225 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16226 # Find all dependency output files, they are included files with
16227 # $(DEPDIR) in their names. We invoke sed twice because it is the
16228 # simplest approach to changing $(DEPDIR) to its actual value in the
16230 for file in `sed -n "
16231 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16232 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16233 # Make sure the directory exists.
16234 test -f "$dirpart/$file" && continue
16235 fdir=`$as_dirname -- "$file" ||
16236 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16237 X"$file" : 'X\(//\)[^/]' \| \
16238 X"$file" : 'X\(//\)$' \| \
16239 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16240 $as_echo X"$file" |
16241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16245 /^X\(\/\/\)[^/].*/{
16258 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16259 # echo "creating $dirpart/$file"
16260 echo '# dummy' > "$dirpart/$file"
16267 # See if we are running on zsh, and set the options which allow our
16268 # commands through without removal of \ escapes.
16269 if test -n "${ZSH_VERSION+set}" ; then
16270 setopt NO_GLOB_SUBST
16273 cfgfile="${ofile}T"
16274 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16277 cat <<_LT_EOF >> "$cfgfile"
16280 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16281 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16282 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16283 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16285 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16286 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16288 # Written by Gordon Matzigkeit, 1996
16290 # This file is part of GNU Libtool.
16292 # GNU Libtool is free software; you can redistribute it and/or
16293 # modify it under the terms of the GNU General Public License as
16294 # published by the Free Software Foundation; either version 2 of
16295 # the License, or (at your option) any later version.
16297 # As a special exception to the GNU General Public License,
16298 # if you distribute this file as part of a program or library that
16299 # is built using GNU Libtool, you may include this file under the
16300 # same distribution terms that you use for the rest of that program.
16302 # GNU Libtool is distributed in the hope that it will be useful,
16303 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16304 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16305 # GNU General Public License for more details.
16307 # You should have received a copy of the GNU General Public License
16308 # along with GNU Libtool; see the file COPYING. If not, a copy
16309 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16310 # obtained by writing to the Free Software Foundation, Inc.,
16311 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16314 # The names of the tagged configurations supported by this script.
16317 # ### BEGIN LIBTOOL CONFIG
16319 # Which release of libtool.m4 was used?
16320 macro_version=$macro_version
16321 macro_revision=$macro_revision
16323 # Whether or not to build static libraries.
16324 build_old_libs=$enable_static
16326 # Whether or not to build shared libraries.
16327 build_libtool_libs=$enable_shared
16329 # What type of objects to build.
16332 # Whether or not to optimize for fast installation.
16333 fast_install=$enable_fast_install
16335 # Shell to use when invoking shell scripts.
16338 # An echo program that protects backslashes.
16341 # The PATH separator for the build system.
16342 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16345 host_alias=$host_alias
16349 # The build system.
16350 build_alias=$build_alias
16354 # A sed program that does not truncate output.
16357 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16358 Xsed="\$SED -e 1s/^X//"
16360 # A grep program that handles long lines.
16366 # A literal string matcher.
16369 # A BSD- or MS-compatible name lister.
16372 # Whether we need soft or hard links.
16375 # What is the maximum length of a command?
16376 max_cmd_len=$max_cmd_len
16378 # Object file suffix (normally "o").
16381 # Executable file suffix (normally "").
16384 # whether the shell understands "unset".
16387 # turn spaces into newlines.
16390 # turn newlines into spaces.
16393 # convert \$build file names to \$host format.
16394 to_host_file_cmd=$lt_cv_to_host_file_cmd
16396 # convert \$build files to toolchain format.
16397 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16399 # An object symbol dumper.
16400 OBJDUMP=$lt_OBJDUMP
16402 # Method to check whether dependent libraries are shared objects.
16403 deplibs_check_method=$lt_deplibs_check_method
16405 # Command to use when deplibs_check_method = "file_magic".
16406 file_magic_cmd=$lt_file_magic_cmd
16408 # How to find potential files when deplibs_check_method = "file_magic".
16409 file_magic_glob=$lt_file_magic_glob
16411 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16412 want_nocaseglob=$lt_want_nocaseglob
16414 # DLL creation program.
16415 DLLTOOL=$lt_DLLTOOL
16417 # Command to associate shared and link libraries.
16418 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16423 # Flags to create an archive.
16424 AR_FLAGS=$lt_AR_FLAGS
16426 # How to feed a file listing to the archiver.
16427 archiver_list_spec=$lt_archiver_list_spec
16429 # A symbol stripping program.
16432 # Commands used to install an old-style archive.
16434 old_postinstall_cmds=$lt_old_postinstall_cmds
16435 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16437 # Whether to use a lock for old archive extraction.
16438 lock_old_archive_extraction=$lock_old_archive_extraction
16443 # LTCC compiler flags.
16444 LTCFLAGS=$lt_CFLAGS
16446 # Take the output of nm and produce a listing of raw symbols and C names.
16447 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16449 # Transform the output of nm in a proper C declaration.
16450 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16452 # Transform the output of nm in a C name address pair.
16453 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16455 # Transform the output of nm in a C name address pair when lib prefix is needed.
16456 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16458 # Specify filename containing input files for \$NM.
16459 nm_file_list_spec=$lt_nm_file_list_spec
16461 # The root where to search for dependent libraries,and in which our libraries should be installed.
16462 lt_sysroot=$lt_sysroot
16464 # The name of the directory that contains temporary libtool files.
16467 # Used to examine libraries when file_magic_cmd begins with "file".
16468 MAGIC_CMD=$MAGIC_CMD
16470 # Must we lock files when doing compilation?
16471 need_locks=$lt_need_locks
16474 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16476 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16477 DSYMUTIL=$lt_DSYMUTIL
16479 # Tool to change global to local symbols on Mac OS X.
16482 # Tool to manipulate fat objects and archives on Mac OS X.
16485 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16488 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16489 OTOOL64=$lt_OTOOL64
16491 # Old archive suffix (normally "a").
16494 # Shared library suffix (normally ".so").
16495 shrext_cmds=$lt_shrext_cmds
16497 # The commands to extract the exported symbol list from a shared archive.
16498 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16500 # Variables whose values should be saved in libtool wrapper scripts and
16501 # restored at link time.
16502 variables_saved_for_relink=$lt_variables_saved_for_relink
16504 # Do we need the "lib" prefix for modules?
16505 need_lib_prefix=$need_lib_prefix
16507 # Do we need a version for libraries?
16508 need_version=$need_version
16510 # Library versioning type.
16511 version_type=$version_type
16513 # Shared library runtime path variable.
16514 runpath_var=$runpath_var
16516 # Shared library path variable.
16517 shlibpath_var=$shlibpath_var
16519 # Is shlibpath searched before the hard-coded library search path?
16520 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16522 # Format of library name prefix.
16523 libname_spec=$lt_libname_spec
16525 # List of archive names. First name is the real one, the rest are links.
16526 # The last name is the one that the linker finds with -lNAME
16527 library_names_spec=$lt_library_names_spec
16529 # The coded name of the library, if different from the real name.
16530 soname_spec=$lt_soname_spec
16532 # Permission mode override for installation of shared libraries.
16533 install_override_mode=$lt_install_override_mode
16535 # Command to use after installation of a shared archive.
16536 postinstall_cmds=$lt_postinstall_cmds
16538 # Command to use after uninstallation of a shared archive.
16539 postuninstall_cmds=$lt_postuninstall_cmds
16541 # Commands used to finish a libtool library installation in a directory.
16542 finish_cmds=$lt_finish_cmds
16544 # As "finish_cmds", except a single script fragment to be evaled but
16546 finish_eval=$lt_finish_eval
16548 # Whether we should hardcode library paths into libraries.
16549 hardcode_into_libs=$hardcode_into_libs
16551 # Compile-time system search path for libraries.
16552 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16554 # Run-time system search path for libraries.
16555 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16557 # Whether dlopen is supported.
16558 dlopen_support=$enable_dlopen
16560 # Whether dlopen of programs is supported.
16561 dlopen_self=$enable_dlopen_self
16563 # Whether dlopen of statically linked programs is supported.
16564 dlopen_self_static=$enable_dlopen_self_static
16566 # Commands to strip libraries.
16567 old_striplib=$lt_old_striplib
16568 striplib=$lt_striplib
16571 # The linker used to build libraries.
16574 # How to create reloadable object files.
16575 reload_flag=$lt_reload_flag
16576 reload_cmds=$lt_reload_cmds
16578 # Commands used to build an old-style archive.
16579 old_archive_cmds=$lt_old_archive_cmds
16581 # A language specific compiler.
16584 # Is the compiler the GNU compiler?
16587 # Compiler flag to turn off builtin functions.
16588 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16590 # Additional compiler flags for building library objects.
16591 pic_flag=$lt_lt_prog_compiler_pic
16593 # How to pass a linker flag through the compiler.
16594 wl=$lt_lt_prog_compiler_wl
16596 # Compiler flag to prevent dynamic linking.
16597 link_static_flag=$lt_lt_prog_compiler_static
16599 # Does compiler simultaneously support -c and -o options?
16600 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16602 # Whether or not to add -lc for building shared libraries.
16603 build_libtool_need_lc=$archive_cmds_need_lc
16605 # Whether or not to disallow shared libs when runtime libs are static.
16606 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16608 # Compiler flag to allow reflexive dlopens.
16609 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16611 # Compiler flag to generate shared objects directly from archives.
16612 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16614 # Whether the compiler copes with passing no objects directly.
16615 compiler_needs_object=$lt_compiler_needs_object
16617 # Create an old-style archive from a shared archive.
16618 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16620 # Create a temporary old-style archive to link instead of a shared archive.
16621 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16623 # Commands used to build a shared archive.
16624 archive_cmds=$lt_archive_cmds
16625 archive_expsym_cmds=$lt_archive_expsym_cmds
16627 # Commands used to build a loadable module if different from building
16628 # a shared archive.
16629 module_cmds=$lt_module_cmds
16630 module_expsym_cmds=$lt_module_expsym_cmds
16632 # Whether we are building with GNU ld or not.
16633 with_gnu_ld=$lt_with_gnu_ld
16635 # Flag that allows shared libraries with undefined symbols to be built.
16636 allow_undefined_flag=$lt_allow_undefined_flag
16638 # Flag that enforces no undefined symbols.
16639 no_undefined_flag=$lt_no_undefined_flag
16641 # Flag to hardcode \$libdir into a binary during linking.
16642 # This must work even if \$libdir does not exist
16643 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16645 # Whether we need a single "-rpath" flag with a separated argument.
16646 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16648 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16649 # DIR into the resulting binary.
16650 hardcode_direct=$hardcode_direct
16652 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16653 # DIR into the resulting binary and the resulting library dependency is
16654 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16655 # library is relocated.
16656 hardcode_direct_absolute=$hardcode_direct_absolute
16658 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16659 # into the resulting binary.
16660 hardcode_minus_L=$hardcode_minus_L
16662 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16663 # into the resulting binary.
16664 hardcode_shlibpath_var=$hardcode_shlibpath_var
16666 # Set to "yes" if building a shared library automatically hardcodes DIR
16667 # into the library and all subsequent libraries and executables linked
16669 hardcode_automatic=$hardcode_automatic
16671 # Set to yes if linker adds runtime paths of dependent libraries
16672 # to runtime path list.
16673 inherit_rpath=$inherit_rpath
16675 # Whether libtool must link a program against all its dependency libraries.
16676 link_all_deplibs=$link_all_deplibs
16678 # Set to "yes" if exported symbols are required.
16679 always_export_symbols=$always_export_symbols
16681 # The commands to list exported symbols.
16682 export_symbols_cmds=$lt_export_symbols_cmds
16684 # Symbols that should not be listed in the preloaded symbols.
16685 exclude_expsyms=$lt_exclude_expsyms
16687 # Symbols that must always be exported.
16688 include_expsyms=$lt_include_expsyms
16690 # Commands necessary for linking programs (against libraries) with templates.
16691 prelink_cmds=$lt_prelink_cmds
16693 # Commands necessary for finishing linking programs.
16694 postlink_cmds=$lt_postlink_cmds
16696 # Specify filename containing input files.
16697 file_list_spec=$lt_file_list_spec
16699 # How to hardcode a shared library path into an executable.
16700 hardcode_action=$hardcode_action
16702 # ### END LIBTOOL CONFIG
16708 cat <<\_LT_EOF >> "$cfgfile"
16709 # AIX sometimes has problems with the GCC collect2 program. For some
16710 # reason, if we set the COLLECT_NAMES environment variable, the problems
16711 # vanish in a puff of smoke.
16712 if test "X${COLLECT_NAMES+set}" != Xset; then
16714 export COLLECT_NAMES
16721 ltmain="$ac_aux_dir/ltmain.sh"
16724 # We use sed instead of cat because bash on DJGPP gets confused if
16725 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16726 # text mode, it properly converts lines to CR/LF. This bash problem
16727 # is reportedly fixed, but why not run on old versions too?
16728 sed '$q' "$ltmain" >> "$cfgfile" \
16729 || (rm -f "$cfgfile"; exit 1)
16731 if test x"$xsi_shell" = xyes; then
16732 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16736 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16737 \ * ) func_dirname_result="${3}" ;;\
16739 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16740 && mv -f "$cfgfile.tmp" "$cfgfile" \
16741 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16742 test 0 -eq $? || _lt_function_replace_fail=:
16745 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16748 \ func_basename_result="${1##*/}"\
16749 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16750 && mv -f "$cfgfile.tmp" "$cfgfile" \
16751 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16752 test 0 -eq $? || _lt_function_replace_fail=:
16755 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16756 func_dirname_and_basename ()\
16759 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16760 \ * ) func_dirname_result="${3}" ;;\
16762 \ func_basename_result="${1##*/}"\
16763 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16764 && mv -f "$cfgfile.tmp" "$cfgfile" \
16765 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16766 test 0 -eq $? || _lt_function_replace_fail=:
16769 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16772 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16773 \ # positional parameters, so assign one to ordinary parameter first.\
16774 \ func_stripname_result=${3}\
16775 \ func_stripname_result=${func_stripname_result#"${1}"}\
16776 \ func_stripname_result=${func_stripname_result%"${2}"}\
16777 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16778 && mv -f "$cfgfile.tmp" "$cfgfile" \
16779 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16780 test 0 -eq $? || _lt_function_replace_fail=:
16783 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16784 func_split_long_opt ()\
16786 \ func_split_long_opt_name=${1%%=*}\
16787 \ func_split_long_opt_arg=${1#*=}\
16788 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16789 && mv -f "$cfgfile.tmp" "$cfgfile" \
16790 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16791 test 0 -eq $? || _lt_function_replace_fail=:
16794 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16795 func_split_short_opt ()\
16797 \ func_split_short_opt_arg=${1#??}\
16798 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16799 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16800 && mv -f "$cfgfile.tmp" "$cfgfile" \
16801 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16802 test 0 -eq $? || _lt_function_replace_fail=:
16805 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16809 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16810 \ *) func_lo2o_result=${1} ;;\
16812 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16813 && mv -f "$cfgfile.tmp" "$cfgfile" \
16814 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16815 test 0 -eq $? || _lt_function_replace_fail=:
16818 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16821 func_xform_result=${1%.*}.lo\
16822 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16823 && mv -f "$cfgfile.tmp" "$cfgfile" \
16824 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16825 test 0 -eq $? || _lt_function_replace_fail=:
16828 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16831 func_arith_result=$(( $* ))\
16832 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16833 && mv -f "$cfgfile.tmp" "$cfgfile" \
16834 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16835 test 0 -eq $? || _lt_function_replace_fail=:
16838 sed -e '/^func_len ()$/,/^} # func_len /c\
16841 func_len_result=${#1}\
16842 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16843 && mv -f "$cfgfile.tmp" "$cfgfile" \
16844 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16845 test 0 -eq $? || _lt_function_replace_fail=:
16849 if test x"$lt_shell_append" = xyes; then
16850 sed -e '/^func_append ()$/,/^} # func_append /c\
16853 eval "${1}+=\\${2}"\
16854 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16855 && mv -f "$cfgfile.tmp" "$cfgfile" \
16856 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16857 test 0 -eq $? || _lt_function_replace_fail=:
16860 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16861 func_append_quoted ()\
16863 \ func_quote_for_eval "${2}"\
16864 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16865 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16866 && mv -f "$cfgfile.tmp" "$cfgfile" \
16867 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16868 test 0 -eq $? || _lt_function_replace_fail=:
16871 # Save a `func_append' function call where possible by direct use of '+='
16872 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16873 && mv -f "$cfgfile.tmp" "$cfgfile" \
16874 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16875 test 0 -eq $? || _lt_function_replace_fail=:
16877 # Save a `func_append' function call even when '+=' is not available
16878 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16879 && mv -f "$cfgfile.tmp" "$cfgfile" \
16880 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16881 test 0 -eq $? || _lt_function_replace_fail=:
16884 if test x"$_lt_function_replace_fail" = x":"; then
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16886 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16890 mv -f "$cfgfile" "$ofile" ||
16891 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16896 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16897 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16899 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16904 '"s|^| $ac_top_srcdir/|" \
16905 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16907 sed '/^POTFILES =/,/[^\\]$/ {
16911 ' "po/Makefile.in" >"po/Makefile"
16912 rm -f "po/Makefile.tmp"
16913 mv "po/stamp-it.tmp" "po/stamp-it"
16922 ac_clean_files=$ac_clean_files_save
16924 test $ac_write_fail = 0 ||
16925 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16928 # configure is writing to config.log, and then calls config.status.
16929 # config.status does its own redirection, appending to config.log.
16930 # Unfortunately, on DOS this fails, as config.log is still kept open
16931 # by configure, so config.status won't be able to write to it; its
16932 # output is simply discarded. So we exec the FD to /dev/null,
16933 # effectively closing config.log, so it can be properly (re)opened and
16934 # appended to by config.status. When coming back to configure, we
16935 # need to make the FD available again.
16936 if test "$no_create" != yes; then
16938 ac_config_status_args=
16939 test "$silent" = yes &&
16940 ac_config_status_args="$ac_config_status_args --quiet"
16942 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16944 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16945 # would make configure fail if this is the last instruction.
16946 $ac_cs_success || as_fn_exit 1
16948 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16950 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}