2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for at-spi2-atk 2.5.92.
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-atk'
592 PACKAGE_TARNAME='at-spi2-atk'
593 PACKAGE_VERSION='2.5.92'
594 PACKAGE_STRING='at-spi2-atk 2.5.92'
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
639 DBIND_ALIGNOF_DBIND_STRUCT
640 DBIND_ALIGNOF_DBIND_POINTER
642 DBIND_ALIGNOF_DBUS_INT64_T
643 DBIND_ALIGNOF_DBUS_INT32_T
644 DBIND_ALIGNOF_DBUS_INT16_T
645 DBIND_ALIGNOF_DBUS_BOOL_T
648 LIBTOOL_EXPORT_OPTIONS
652 GSETTINGS_DISABLE_SCHEMAS_COMPILE
728 INSTALL_STRIP_PROGRAM
776 program_transform_name
789 enable_option_checking
791 enable_dependency_tracking
799 enable_schemas_compile
802 ac_precious_vars='build_alias
828 # Initialize some variables set by options.
830 ac_init_version=false
831 ac_unrecognized_opts=
833 # The variables have the same names as the options, with
834 # dashes changed to underlines.
842 program_transform_name=s,x,x,
850 # Installation directory options.
851 # These are left unexpanded so users can "make install exec_prefix=/foo"
852 # and all the variables that are supposed to be based on exec_prefix
853 # by default will actually change.
854 # Use braces instead of parens because sh, perl, etc. also accept them.
855 # (The list follows the same order as the GNU Coding Standards.)
856 bindir='${exec_prefix}/bin'
857 sbindir='${exec_prefix}/sbin'
858 libexecdir='${exec_prefix}/libexec'
859 datarootdir='${prefix}/share'
860 datadir='${datarootdir}'
861 sysconfdir='${prefix}/etc'
862 sharedstatedir='${prefix}/com'
863 localstatedir='${prefix}/var'
864 includedir='${prefix}/include'
865 oldincludedir='/usr/include'
866 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
867 infodir='${datarootdir}/info'
872 libdir='${exec_prefix}/lib'
873 localedir='${datarootdir}/locale'
874 mandir='${datarootdir}/man'
880 # If the previous option needs an argument, assign it.
881 if test -n "$ac_prev"; then
882 eval $ac_prev=\$ac_option
888 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 # Accept the important Cygnus configure options, so we can diagnose typos.
895 case $ac_dashdash$ac_option in
899 -bindir | --bindir | --bindi | --bind | --bin | --bi)
901 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
904 -build | --build | --buil | --bui | --bu)
905 ac_prev=build_alias ;;
906 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
907 build_alias=$ac_optarg ;;
909 -cache-file | --cache-file | --cache-fil | --cache-fi \
910 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
911 ac_prev=cache_file ;;
912 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
913 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
914 cache_file=$ac_optarg ;;
917 cache_file=config.cache ;;
919 -datadir | --datadir | --datadi | --datad)
921 -datadir=* | --datadir=* | --datadi=* | --datad=*)
922 datadir=$ac_optarg ;;
924 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
925 | --dataroo | --dataro | --datar)
926 ac_prev=datarootdir ;;
927 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
928 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
929 datarootdir=$ac_optarg ;;
931 -disable-* | --disable-*)
932 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
935 as_fn_error $? "invalid feature name: $ac_useropt"
936 ac_useropt_orig=$ac_useropt
937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
943 ac_unrecognized_sep=', ';;
945 eval enable_$ac_useropt=no ;;
947 -docdir | --docdir | --docdi | --doc | --do)
949 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
952 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
954 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
957 -enable-* | --enable-*)
958 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
959 # Reject names that are not valid shell variable names.
960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961 as_fn_error $? "invalid feature name: $ac_useropt"
962 ac_useropt_orig=$ac_useropt
963 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964 case $ac_user_opts in
968 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
969 ac_unrecognized_sep=', ';;
971 eval enable_$ac_useropt=\$ac_optarg ;;
973 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
974 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
975 | --exec | --exe | --ex)
976 ac_prev=exec_prefix ;;
977 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
978 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
979 | --exec=* | --exe=* | --ex=*)
980 exec_prefix=$ac_optarg ;;
982 -gas | --gas | --ga | --g)
983 # Obsolete; use --with-gas.
986 -help | --help | --hel | --he | -h)
988 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
989 ac_init_help=recursive ;;
990 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
991 ac_init_help=short ;;
993 -host | --host | --hos | --ho)
994 ac_prev=host_alias ;;
995 -host=* | --host=* | --hos=* | --ho=*)
996 host_alias=$ac_optarg ;;
998 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1000 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1002 htmldir=$ac_optarg ;;
1004 -includedir | --includedir | --includedi | --included | --include \
1005 | --includ | --inclu | --incl | --inc)
1006 ac_prev=includedir ;;
1007 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1008 | --includ=* | --inclu=* | --incl=* | --inc=*)
1009 includedir=$ac_optarg ;;
1011 -infodir | --infodir | --infodi | --infod | --info | --inf)
1013 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1014 infodir=$ac_optarg ;;
1016 -libdir | --libdir | --libdi | --libd)
1018 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1019 libdir=$ac_optarg ;;
1021 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1022 | --libexe | --libex | --libe)
1023 ac_prev=libexecdir ;;
1024 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1025 | --libexe=* | --libex=* | --libe=*)
1026 libexecdir=$ac_optarg ;;
1028 -localedir | --localedir | --localedi | --localed | --locale)
1029 ac_prev=localedir ;;
1030 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1031 localedir=$ac_optarg ;;
1033 -localstatedir | --localstatedir | --localstatedi | --localstated \
1034 | --localstate | --localstat | --localsta | --localst | --locals)
1035 ac_prev=localstatedir ;;
1036 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1037 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1038 localstatedir=$ac_optarg ;;
1040 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1042 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1043 mandir=$ac_optarg ;;
1045 -nfp | --nfp | --nf)
1046 # Obsolete; use --without-fp.
1049 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1050 | --no-cr | --no-c | -n)
1053 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1054 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1057 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1058 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1059 | --oldin | --oldi | --old | --ol | --o)
1060 ac_prev=oldincludedir ;;
1061 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1062 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1063 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1064 oldincludedir=$ac_optarg ;;
1066 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1068 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1069 prefix=$ac_optarg ;;
1071 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1072 | --program-pre | --program-pr | --program-p)
1073 ac_prev=program_prefix ;;
1074 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1075 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1076 program_prefix=$ac_optarg ;;
1078 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1079 | --program-suf | --program-su | --program-s)
1080 ac_prev=program_suffix ;;
1081 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1082 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1083 program_suffix=$ac_optarg ;;
1085 -program-transform-name | --program-transform-name \
1086 | --program-transform-nam | --program-transform-na \
1087 | --program-transform-n | --program-transform- \
1088 | --program-transform | --program-transfor \
1089 | --program-transfo | --program-transf \
1090 | --program-trans | --program-tran \
1091 | --progr-tra | --program-tr | --program-t)
1092 ac_prev=program_transform_name ;;
1093 -program-transform-name=* | --program-transform-name=* \
1094 | --program-transform-nam=* | --program-transform-na=* \
1095 | --program-transform-n=* | --program-transform-=* \
1096 | --program-transform=* | --program-transfor=* \
1097 | --program-transfo=* | --program-transf=* \
1098 | --program-trans=* | --program-tran=* \
1099 | --progr-tra=* | --program-tr=* | --program-t=*)
1100 program_transform_name=$ac_optarg ;;
1102 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1104 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1105 pdfdir=$ac_optarg ;;
1107 -psdir | --psdir | --psdi | --psd | --ps)
1109 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1113 | -silent | --silent | --silen | --sile | --sil)
1116 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1118 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1120 sbindir=$ac_optarg ;;
1122 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1123 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1124 | --sharedst | --shareds | --shared | --share | --shar \
1126 ac_prev=sharedstatedir ;;
1127 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1128 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1129 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1131 sharedstatedir=$ac_optarg ;;
1133 -site | --site | --sit)
1135 -site=* | --site=* | --sit=*)
1138 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1140 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1141 srcdir=$ac_optarg ;;
1143 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1144 | --syscon | --sysco | --sysc | --sys | --sy)
1145 ac_prev=sysconfdir ;;
1146 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1147 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1148 sysconfdir=$ac_optarg ;;
1150 -target | --target | --targe | --targ | --tar | --ta | --t)
1151 ac_prev=target_alias ;;
1152 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1153 target_alias=$ac_optarg ;;
1155 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1158 -version | --version | --versio | --versi | --vers | -V)
1159 ac_init_version=: ;;
1162 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1163 # Reject names that are not valid shell variable names.
1164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1165 as_fn_error $? "invalid package name: $ac_useropt"
1166 ac_useropt_orig=$ac_useropt
1167 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168 case $ac_user_opts in
1172 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1173 ac_unrecognized_sep=', ';;
1175 eval with_$ac_useropt=\$ac_optarg ;;
1177 -without-* | --without-*)
1178 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181 as_fn_error $? "invalid package name: $ac_useropt"
1182 ac_useropt_orig=$ac_useropt
1183 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1189 ac_unrecognized_sep=', ';;
1191 eval with_$ac_useropt=no ;;
1194 # Obsolete; use --with-x.
1197 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1198 | --x-incl | --x-inc | --x-in | --x-i)
1199 ac_prev=x_includes ;;
1200 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1201 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1202 x_includes=$ac_optarg ;;
1204 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1205 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1206 ac_prev=x_libraries ;;
1207 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1208 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1209 x_libraries=$ac_optarg ;;
1211 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1212 Try \`$0 --help' for more information"
1216 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1217 # Reject names that are not valid shell variable names.
1218 case $ac_envvar in #(
1219 '' | [0-9]* | *[!_$as_cr_alnum]* )
1220 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1222 eval $ac_envvar=\$ac_optarg
1223 export $ac_envvar ;;
1226 # FIXME: should be removed in autoconf 3.0.
1227 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1228 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1229 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1230 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236 if test -n "$ac_prev"; then
1237 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1238 as_fn_error $? "missing argument to $ac_option"
1241 if test -n "$ac_unrecognized_opts"; then
1242 case $enable_option_checking in
1244 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1245 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249 # Check all directory arguments for consistency.
1250 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1251 datadir sysconfdir sharedstatedir localstatedir includedir \
1252 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1253 libdir localedir mandir
1255 eval ac_val=\$$ac_var
1256 # Remove trailing slashes.
1259 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1260 eval $ac_var=\$ac_val;;
1262 # Be sure to have absolute directory names.
1264 [\\/$]* | ?:[\\/]* ) continue;;
1265 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1267 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1270 # There might be people who depend on the old broken behavior: `$host'
1271 # used to hold the argument of --host etc.
1272 # FIXME: To remove some day.
1275 target=$target_alias
1277 # FIXME: To remove some day.
1278 if test "x$host_alias" != x; then
1279 if test "x$build_alias" = x; then
1280 cross_compiling=maybe
1281 elif test "x$build_alias" != "x$host_alias"; then
1287 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1289 test "$silent" = yes && exec 6>/dev/null
1292 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1293 ac_ls_di=`ls -di .` &&
1294 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1295 as_fn_error $? "working directory cannot be determined"
1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1297 as_fn_error $? "pwd does not report name of working directory"
1300 # Find the source files, if location was not specified.
1301 if test -z "$srcdir"; then
1302 ac_srcdir_defaulted=yes
1303 # Try the directory containing this script, then the parent directory.
1304 ac_confdir=`$as_dirname -- "$as_myself" ||
1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1306 X"$as_myself" : 'X\(//\)[^/]' \| \
1307 X"$as_myself" : 'X\(//\)$' \| \
1308 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1309 $as_echo X"$as_myself" |
1310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1332 ac_srcdir_defaulted=no
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1335 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1336 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1338 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1340 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1342 # When building in place, set srcdir=.
1343 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346 # Remove unnecessary trailing slashes from srcdir.
1347 # Double slashes in file names in object file debugging info
1348 # mess up M-x gdb in Emacs.
1350 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1352 for ac_var in $ac_precious_vars; do
1353 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1354 eval ac_env_${ac_var}_value=\$${ac_var}
1355 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1356 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1360 # Report the --help message.
1362 if test "$ac_init_help" = "long"; then
1363 # Omit some internal or obsolete options to make the list less imposing.
1364 # This message is too long to be a string in the A/UX 3.1 sh.
1366 \`configure' configures at-spi2-atk 2.5.92 to adapt to many kinds of systems.
1368 Usage: $0 [OPTION]... [VAR=VALUE]...
1370 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1371 VAR=VALUE. See below for descriptions of some of the useful variables.
1373 Defaults for the options are specified in brackets.
1376 -h, --help display this help and exit
1377 --help=short display options specific to this package
1378 --help=recursive display the short help of all the included packages
1379 -V, --version display version information and exit
1380 -q, --quiet, --silent do not print \`checking ...' messages
1381 --cache-file=FILE cache test results in FILE [disabled]
1382 -C, --config-cache alias for \`--cache-file=config.cache'
1383 -n, --no-create do not create output files
1384 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1386 Installation directories:
1387 --prefix=PREFIX install architecture-independent files in PREFIX
1388 [$ac_default_prefix]
1389 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1392 By default, \`make install' will install all the files in
1393 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1394 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1395 for instance \`--prefix=\$HOME'.
1397 For better control, use the options below.
1399 Fine tuning of the installation directories:
1400 --bindir=DIR user executables [EPREFIX/bin]
1401 --sbindir=DIR system admin executables [EPREFIX/sbin]
1402 --libexecdir=DIR program executables [EPREFIX/libexec]
1403 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1404 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1405 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1406 --libdir=DIR object code libraries [EPREFIX/lib]
1407 --includedir=DIR C header files [PREFIX/include]
1408 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1409 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1410 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1411 --infodir=DIR info documentation [DATAROOTDIR/info]
1412 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1413 --mandir=DIR man documentation [DATAROOTDIR/man]
1414 --docdir=DIR documentation root [DATAROOTDIR/doc/at-spi2-atk]
1415 --htmldir=DIR html documentation [DOCDIR]
1416 --dvidir=DIR dvi documentation [DOCDIR]
1417 --pdfdir=DIR pdf documentation [DOCDIR]
1418 --psdir=DIR ps documentation [DOCDIR]
1424 --program-prefix=PREFIX prepend PREFIX to installed program names
1425 --program-suffix=SUFFIX append SUFFIX to installed program names
1426 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1429 --build=BUILD configure for building on BUILD [guessed]
1430 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1434 if test -n "$ac_init_help"; then
1435 case $ac_init_help in
1436 short | recursive ) echo "Configuration of at-spi2-atk 2.5.92:";;
1441 --disable-option-checking ignore unrecognized --enable/--with options
1442 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1443 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1444 --enable-silent-rules less verbose build output (undo: "make V=1")
1445 --disable-silent-rules verbose build output (undo: "make V=0")
1446 --enable-dependency-tracking
1447 do not reject slow dependency extractors
1448 --disable-dependency-tracking
1449 speeds up one-time build
1450 --enable-static[=PKGS] build static libraries [default=no]
1451 --enable-shared[=PKGS] build shared libraries [default=yes]
1452 --enable-fast-install[=PKGS]
1453 optimize for fast installation [default=yes]
1454 --disable-libtool-lock avoid locking (might break parallel builds)
1455 --disable-schemas-compile
1456 Disable regeneration of gschemas.compiled on install
1457 --enable-p2p Allow peer-to-peer DBus connections default=yes
1460 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1461 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1462 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1464 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1465 --with-sysroot=DIR Search for dependent libraries within DIR
1466 (or the compiler's sysroot if not specified).
1468 Some influential environment variables:
1469 CC C compiler command
1470 CFLAGS C compiler flags
1471 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1472 nonstandard directory <lib dir>
1473 LIBS libraries to pass to the linker, e.g. -l<library>
1474 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1475 you have headers in a nonstandard directory <include dir>
1477 PKG_CONFIG path to pkg-config utility
1479 directories to add to pkg-config's search path
1481 path overriding pkg-config's built-in search path
1482 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1483 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1484 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1485 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1486 GOBJ_CFLAGS C compiler flags for GOBJ, overriding pkg-config
1487 GOBJ_LIBS linker flags for GOBJ, overriding pkg-config
1489 C compiler flags for GMODULE, overriding pkg-config
1491 linker flags for GMODULE, overriding pkg-config
1492 ATK_CFLAGS C compiler flags for ATK, overriding pkg-config
1493 ATK_LIBS linker flags for ATK, overriding pkg-config
1495 C compiler flags for ATSPI, overriding pkg-config
1496 ATSPI_LIBS linker flags for ATSPI, overriding pkg-config
1498 Use these variables to override the choices made by `configure' or to help
1499 it to find libraries and programs with nonstandard names/locations.
1501 Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
1506 if test "$ac_init_help" = "recursive"; then
1507 # If there are subdirs, report their specific --help.
1508 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1509 test -d "$ac_dir" ||
1510 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1515 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1517 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1518 # A ".." for each directory in $ac_dir_suffix.
1519 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1520 case $ac_top_builddir_sub in
1521 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1525 ac_abs_top_builddir=$ac_pwd
1526 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1527 # for backward compatibility:
1528 ac_top_builddir=$ac_top_build_prefix
1531 .) # We are building in place.
1533 ac_top_srcdir=$ac_top_builddir_sub
1534 ac_abs_top_srcdir=$ac_pwd ;;
1535 [\\/]* | ?:[\\/]* ) # Absolute name.
1536 ac_srcdir=$srcdir$ac_dir_suffix;
1537 ac_top_srcdir=$srcdir
1538 ac_abs_top_srcdir=$srcdir ;;
1540 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1541 ac_top_srcdir=$ac_top_build_prefix$srcdir
1542 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1544 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1546 cd "$ac_dir" || { ac_status=$?; continue; }
1547 # Check for guested configure.
1548 if test -f "$ac_srcdir/configure.gnu"; then
1550 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1551 elif test -f "$ac_srcdir/configure"; then
1553 $SHELL "$ac_srcdir/configure" --help=recursive
1555 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1557 cd "$ac_pwd" || { ac_status=$?; break; }
1561 test -n "$ac_init_help" && exit $ac_status
1562 if $ac_init_version; then
1564 at-spi2-atk configure 2.5.92
1565 generated by GNU Autoconf 2.69
1567 Copyright (C) 2012 Free Software Foundation, Inc.
1568 This configure script is free software; the Free Software Foundation
1569 gives unlimited permission to copy, distribute and modify it.
1574 ## ------------------------ ##
1575 ## Autoconf initialization. ##
1576 ## ------------------------ ##
1578 # ac_fn_c_try_compile LINENO
1579 # --------------------------
1580 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1581 ac_fn_c_try_compile ()
1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584 rm -f conftest.$ac_objext
1585 if { { ac_try="$ac_compile"
1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588 *) ac_try_echo=$ac_try;;
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_compile") 2>conftest.err
1594 if test -s conftest.err; then
1595 grep -v '^ *+' conftest.err >conftest.er1
1596 cat conftest.er1 >&5
1597 mv -f conftest.er1 conftest.err
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } && {
1601 test -z "$ac_c_werror_flag" ||
1602 test ! -s conftest.err
1603 } && test -s conftest.$ac_objext; then :
1606 $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612 as_fn_set_status $ac_retval
1614 } # ac_fn_c_try_compile
1616 # ac_fn_c_try_link LINENO
1617 # -----------------------
1618 # Try to link conftest.$ac_ext, and return whether this succeeded.
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 rm -f conftest.$ac_objext conftest$ac_exeext
1623 if { { ac_try="$ac_link"
1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_link") 2>conftest.err
1632 if test -s conftest.err; then
1633 grep -v '^ *+' conftest.err >conftest.er1
1634 cat conftest.er1 >&5
1635 mv -f conftest.er1 conftest.err
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && {
1639 test -z "$ac_c_werror_flag" ||
1640 test ! -s conftest.err
1641 } && test -s conftest$ac_exeext && {
1642 test "$cross_compiling" = yes ||
1643 test -x conftest$ac_exeext
1647 $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1652 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1653 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1654 # interfere with the next link command; also delete a directory that is
1655 # left behind by Apple's compiler. We do this before executing the actions.
1656 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 as_fn_set_status $ac_retval
1660 } # ac_fn_c_try_link
1662 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1663 # -------------------------------------------------------
1664 # Tests whether HEADER exists and can be compiled using the include files in
1665 # INCLUDES, setting the cache variable VAR accordingly.
1666 ac_fn_c_check_header_compile ()
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1670 $as_echo_n "checking for $2... " >&6; }
1671 if eval \${$3+:} false; then :
1672 $as_echo_n "(cached) " >&6
1674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1675 /* end confdefs.h. */
1679 if ac_fn_c_try_compile "$LINENO"; then :
1684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 } # ac_fn_c_check_header_compile
1693 # ac_fn_c_try_cpp LINENO
1694 # ----------------------
1695 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 if { { ac_try="$ac_cpp conftest.$ac_ext"
1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1708 if test -s conftest.err; then
1709 grep -v '^ *+' conftest.err >conftest.er1
1710 cat conftest.er1 >&5
1711 mv -f conftest.er1 conftest.err
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } > conftest.i && {
1715 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1716 test ! -s conftest.err
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 as_fn_set_status $ac_retval
1730 # ac_fn_c_try_run LINENO
1731 # ----------------------
1732 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1733 # that executables *can* be run.
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 if { { ac_try="$ac_link"
1739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_link") 2>&5
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1748 { { case "(($ac_try" in
1749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1750 *) ac_try_echo=$ac_try;;
1752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754 (eval "$ac_try") 2>&5
1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757 test $ac_status = 0; }; }; then :
1760 $as_echo "$as_me: program exited with status $ac_status" >&5
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.$ac_ext >&5
1764 ac_retval=$ac_status
1766 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768 as_fn_set_status $ac_retval
1772 # ac_fn_c_check_func LINENO FUNC VAR
1773 # ----------------------------------
1774 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1775 ac_fn_c_check_func ()
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval \${$3+:} false; then :
1781 $as_echo_n "(cached) " >&6
1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1785 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1787 #define $2 innocuous_$2
1789 /* System header to define __stub macros and hopefully few prototypes,
1790 which can conflict with char $2 (); below.
1791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1792 <limits.h> exists even on freestanding compilers. */
1795 # include <limits.h>
1797 # include <assert.h>
1802 /* Override any GCC internal prototype to avoid an error.
1803 Use char because int might match the return type of a GCC
1804 builtin and then its argument prototype would still apply. */
1809 /* The GNU C library defines this for functions which it implements
1810 to always fail with ENOSYS. Some functions are actually named
1811 something starting with __ and the normal name is an alias. */
1812 #if defined __stub_$2 || defined __stub___$2
1824 if ac_fn_c_try_link "$LINENO"; then :
1829 rm -f core conftest.err conftest.$ac_objext \
1830 conftest$ac_exeext conftest.$ac_ext
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834 $as_echo "$ac_res" >&6; }
1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837 } # ac_fn_c_check_func
1838 cat >config.log <<_ACEOF
1839 This file contains any messages produced by compilers while
1840 running configure, to aid debugging if configure makes a mistake.
1842 It was created by at-spi2-atk $as_me 2.5.92, which was
1843 generated by GNU Autoconf 2.69. Invocation command line was
1855 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1856 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1857 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1858 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1859 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1861 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1862 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1864 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1865 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1866 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1867 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1868 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1869 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1870 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878 test -z "$as_dir" && as_dir=.
1879 $as_echo "PATH: $as_dir"
1895 # Keep a trace of the command line.
1896 # Strip out --no-create and --no-recursion so they do not pile up.
1897 # Strip out --silent because we don't want to record it for future runs.
1898 # Also quote any args containing shell meta-characters.
1899 # Make two passes to allow for proper duplicate-argument suppression.
1903 ac_must_keep_next=false
1909 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1910 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1911 | -silent | --silent | --silen | --sile | --sil)
1914 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1917 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1919 as_fn_append ac_configure_args1 " '$ac_arg'"
1920 if test $ac_must_keep_next = true; then
1921 ac_must_keep_next=false # Got value, back to normal.
1924 *=* | --config-cache | -C | -disable-* | --disable-* \
1925 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1926 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1927 | -with-* | --with-* | -without-* | --without-* | --x)
1928 case "$ac_configure_args0 " in
1929 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1932 -* ) ac_must_keep_next=true ;;
1935 as_fn_append ac_configure_args " '$ac_arg'"
1940 { ac_configure_args0=; unset ac_configure_args0;}
1941 { ac_configure_args1=; unset ac_configure_args1;}
1943 # When interrupted or exit'd, cleanup temporary files, and complete
1944 # config.log. We remove comments because anyway the quotes in there
1945 # would cause problems or look ugly.
1946 # WARNING: Use '\'' to represent an apostrophe within the trap.
1947 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1948 trap 'exit_status=$?
1949 # Save into config.log some information that might help in debugging.
1953 $as_echo "## ---------------- ##
1954 ## Cache variables. ##
1955 ## ---------------- ##"
1957 # The following way of writing the cache mishandles newlines in values,
1959 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1960 eval ac_val=\$$ac_var
1964 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1965 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1968 _ | IFS | as_nl) ;; #(
1969 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1970 *) { eval $ac_var=; unset $ac_var;} ;;
1975 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1976 *${as_nl}ac_space=\ *)
1978 "s/'\''/'\''\\\\'\'''\''/g;
1979 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1982 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1989 $as_echo "## ----------------- ##
1990 ## Output variables. ##
1991 ## ----------------- ##"
1993 for ac_var in $ac_subst_vars
1995 eval ac_val=\$$ac_var
1997 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1999 $as_echo "$ac_var='\''$ac_val'\''"
2003 if test -n "$ac_subst_files"; then
2004 $as_echo "## ------------------- ##
2005 ## File substitutions. ##
2006 ## ------------------- ##"
2008 for ac_var in $ac_subst_files
2010 eval ac_val=\$$ac_var
2012 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2014 $as_echo "$ac_var='\''$ac_val'\''"
2019 if test -s confdefs.h; then
2020 $as_echo "## ----------- ##
2027 test "$ac_signal" != 0 &&
2028 $as_echo "$as_me: caught signal $ac_signal"
2029 $as_echo "$as_me: exit $exit_status"
2031 rm -f core *.core core.conftest.* &&
2032 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2035 for ac_signal in 1 2 13 15; do
2036 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2040 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2041 rm -f -r conftest* confdefs.h
2043 $as_echo "/* confdefs.h */" > confdefs.h
2045 # Predefined preprocessor variables.
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_NAME "$PACKAGE_NAME"
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2055 cat >>confdefs.h <<_ACEOF
2056 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_STRING "$PACKAGE_STRING"
2063 cat >>confdefs.h <<_ACEOF
2064 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2067 cat >>confdefs.h <<_ACEOF
2068 #define PACKAGE_URL "$PACKAGE_URL"
2072 # Let the site file select an alternate cache file if it wants to.
2073 # Prefer an explicitly selected file to automatically selected ones.
2076 if test -n "$CONFIG_SITE"; then
2077 # We do not want a PATH search for config.site.
2078 case $CONFIG_SITE in #((
2079 -*) ac_site_file1=./$CONFIG_SITE;;
2080 */*) ac_site_file1=$CONFIG_SITE;;
2081 *) ac_site_file1=./$CONFIG_SITE;;
2083 elif test "x$prefix" != xNONE; then
2084 ac_site_file1=$prefix/share/config.site
2085 ac_site_file2=$prefix/etc/config.site
2087 ac_site_file1=$ac_default_prefix/share/config.site
2088 ac_site_file2=$ac_default_prefix/etc/config.site
2090 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2092 test "x$ac_site_file" = xNONE && continue
2093 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2095 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2096 sed 's/^/| /' "$ac_site_file" >&5
2098 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2100 as_fn_error $? "failed to load site script $ac_site_file
2101 See \`config.log' for more details" "$LINENO" 5; }
2105 if test -r "$cache_file"; then
2106 # Some versions of bash will fail to source /dev/null (special files
2107 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2108 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2110 $as_echo "$as_me: loading cache $cache_file" >&6;}
2112 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2113 *) . "./$cache_file";;
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2118 $as_echo "$as_me: creating cache $cache_file" >&6;}
2122 # Check that the precious variables saved in the cache have kept the same
2124 ac_cache_corrupted=false
2125 for ac_var in $ac_precious_vars; do
2126 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2127 eval ac_new_set=\$ac_env_${ac_var}_set
2128 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2129 eval ac_new_val=\$ac_env_${ac_var}_value
2130 case $ac_old_set,$ac_new_set in
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2133 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2134 ac_cache_corrupted=: ;;
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2137 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2138 ac_cache_corrupted=: ;;
2141 if test "x$ac_old_val" != "x$ac_new_val"; then
2142 # differences in whitespace do not lead to failure.
2143 ac_old_val_w=`echo x $ac_old_val`
2144 ac_new_val_w=`echo x $ac_new_val`
2145 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2147 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2148 ac_cache_corrupted=:
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2151 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2152 eval $ac_var=\$ac_old_val
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2155 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2157 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2160 # Pass precious variables to config.status.
2161 if test "$ac_new_set" = set; then
2163 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2164 *) ac_arg=$ac_var=$ac_new_val ;;
2166 case " $ac_configure_args " in
2167 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2168 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2172 if $ac_cache_corrupted; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2176 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2177 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2179 ## -------------------- ##
2180 ## Main body of script. ##
2181 ## -------------------- ##
2184 ac_cpp='$CPP $CPPFLAGS'
2185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2191 for ac_dir in config "$srcdir"/config; do
2192 if test -f "$ac_dir/install-sh"; then
2194 ac_install_sh="$ac_aux_dir/install-sh -c"
2196 elif test -f "$ac_dir/install.sh"; then
2198 ac_install_sh="$ac_aux_dir/install.sh -c"
2200 elif test -f "$ac_dir/shtool"; then
2202 ac_install_sh="$ac_aux_dir/shtool install -c"
2206 if test -z "$ac_aux_dir"; then
2207 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2210 # These three variables are undocumented and unsupported,
2211 # and are intended to be withdrawn in a future Autoconf release.
2212 # They can cause serious problems if a builder's source tree is in a directory
2213 # whose full name contains unusual characters.
2214 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2215 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2216 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2220 AT_SPI_ATK_MAJOR_VERSION=0
2221 AT_SPI_ATK_MINOR_VERSION=3
2222 AT_SPI_ATK_INTERFACE_AGE=0
2223 AT_SPI_ATK_BINARY_AGE=0
2224 AT_SPI_ATK_VERSION="$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION"
2227 # libtool versioning
2228 LT_RELEASE=$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION
2232 LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
2239 am__api_version='1.12'
2241 # Find a good install program. We prefer a C program (faster),
2242 # so one script is as good as another. But avoid the broken or
2243 # incompatible versions:
2244 # SysV /etc/install, /usr/sbin/install
2245 # SunOS /usr/etc/install
2246 # IRIX /sbin/install
2248 # AmigaOS /C/install, which installs bootblocks on floppy discs
2249 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2250 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2251 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2252 # OS/2's system install, which has a completely different semantic
2253 # ./install, which can be erroneously created by make from ./install.sh.
2254 # Reject install programs that cannot install multiple files.
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2256 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2257 if test -z "$INSTALL"; then
2258 if ${ac_cv_path_install+:} false; then :
2259 $as_echo_n "(cached) " >&6
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 test -z "$as_dir" && as_dir=.
2266 # Account for people who put trailing slashes in PATH elements.
2267 case $as_dir/ in #((
2268 ./ | .// | /[cC]/* | \
2269 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2270 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2273 # OSF1 and SCO ODT 3.0 have their own names for install.
2274 # Don't use installbsd from OSF since it installs stuff as root
2276 for ac_prog in ginstall scoinst install; do
2277 for ac_exec_ext in '' $ac_executable_extensions; do
2278 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2279 if test $ac_prog = install &&
2280 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2281 # AIX install. It has an incompatible calling convention.
2283 elif test $ac_prog = install &&
2284 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2285 # program-specific install script used by HP pwplus--don't use.
2288 rm -rf conftest.one conftest.two conftest.dir
2289 echo one > conftest.one
2290 echo two > conftest.two
2292 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2293 test -s conftest.one && test -s conftest.two &&
2294 test -s conftest.dir/conftest.one &&
2295 test -s conftest.dir/conftest.two
2297 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2310 rm -rf conftest.one conftest.two conftest.dir
2313 if test "${ac_cv_path_install+set}" = set; then
2314 INSTALL=$ac_cv_path_install
2316 # As a last resort, use the slow shell script. Don't cache a
2317 # value for INSTALL within a source directory, because that will
2318 # break other packages using the cache if that directory is
2319 # removed, or if the value is a relative name.
2320 INSTALL=$ac_install_sh
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2324 $as_echo "$INSTALL" >&6; }
2326 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2327 # It thinks the first close brace ends the variable substitution.
2328 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2330 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2332 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2335 $as_echo_n "checking whether build environment is sane... " >&6; }
2336 # Reject unsafe characters in $srcdir or the absolute working directory
2337 # name. Accept space and tab only in the latter.
2341 *[\\\"\#\$\&\'\`$am_lf]*)
2342 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2345 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2346 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2349 # Do 'set' in a subshell so we don't clobber the current shell's
2350 # arguments. Must try -L first in case configure is actually a
2351 # symlink; some systems play weird games with the mod time of symlinks
2352 # (eg FreeBSD returns the mod time of the symlink's containing
2356 for am_try in 1 2; do
2357 echo "timestamp, slept: $am_has_slept" > conftest.file
2358 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2359 if test "$*" = "X"; then
2361 set X `ls -t "$srcdir/configure" conftest.file`
2363 if test "$*" != "X $srcdir/configure conftest.file" \
2364 && test "$*" != "X conftest.file $srcdir/configure"; then
2366 # If neither matched, then we have a broken ls. This can happen
2367 # if, for instance, CONFIG_SHELL is bash and it inherits a
2368 # broken ls alias from the environment. This has actually
2369 # happened. Such a system could not be considered "sane".
2370 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2371 alias in your environment" "$LINENO" 5
2373 if test "$2" = conftest.file || test $am_try -eq 2; then
2380 test "$2" = conftest.file
2386 as_fn_error $? "newly created file is older than distributed files!
2387 Check your system clock" "$LINENO" 5
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2390 $as_echo "yes" >&6; }
2391 # If we didn't sleep, we still need to ensure time stamps of config.status and
2392 # generated files are strictly newer.
2394 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2401 test "$program_prefix" != NONE &&
2402 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2403 # Use a double $ so make ignores it.
2404 test "$program_suffix" != NONE &&
2405 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2406 # Double any \ or $.
2407 # By default was `s,x,x', remove it if useless.
2408 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2409 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2411 # expand $ac_aux_dir to an absolute path
2412 am_aux_dir=`cd $ac_aux_dir && pwd`
2414 if test x"${MISSING+set}" != xset; then
2417 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2419 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2422 # Use eval to expand $SHELL
2423 if eval "$MISSING --run true"; then
2424 am_missing_run="$MISSING --run "
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2428 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2431 if test x"${install_sh}" != xset; then
2434 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2436 install_sh="\${SHELL} $am_aux_dir/install-sh"
2440 # Installed binaries are usually stripped using 'strip' when the user
2441 # run "make install-strip". However 'strip' might not be the right
2442 # tool to use in cross-compilation environments, therefore Automake
2443 # will honor the 'STRIP' environment variable to overrule this program.
2444 if test "$cross_compiling" != no; then
2445 if test -n "$ac_tool_prefix"; then
2446 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2447 set dummy ${ac_tool_prefix}strip; ac_word=$2
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2449 $as_echo_n "checking for $ac_word... " >&6; }
2450 if ${ac_cv_prog_STRIP+:} false; then :
2451 $as_echo_n "(cached) " >&6
2453 if test -n "$STRIP"; then
2454 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460 test -z "$as_dir" && as_dir=.
2461 for ac_exec_ext in '' $ac_executable_extensions; do
2462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2463 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 STRIP=$ac_cv_prog_STRIP
2474 if test -n "$STRIP"; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2476 $as_echo "$STRIP" >&6; }
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2479 $as_echo "no" >&6; }
2484 if test -z "$ac_cv_prog_STRIP"; then
2486 # Extract the first word of "strip", so it can be a program name with args.
2487 set dummy strip; ac_word=$2
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2489 $as_echo_n "checking for $ac_word... " >&6; }
2490 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2491 $as_echo_n "(cached) " >&6
2493 if test -n "$ac_ct_STRIP"; then
2494 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 test -z "$as_dir" && as_dir=.
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2503 ac_cv_prog_ac_ct_STRIP="strip"
2504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2514 if test -n "$ac_ct_STRIP"; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2516 $as_echo "$ac_ct_STRIP" >&6; }
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2519 $as_echo "no" >&6; }
2522 if test "x$ac_ct_STRIP" = x; then
2525 case $cross_compiling:$ac_tool_warned in
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2529 ac_tool_warned=yes ;;
2534 STRIP="$ac_cv_prog_STRIP"
2538 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2541 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2542 if test -z "$MKDIR_P"; then
2543 if ${ac_cv_path_mkdir+:} false; then :
2544 $as_echo_n "(cached) " >&6
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2550 test -z "$as_dir" && as_dir=.
2551 for ac_prog in mkdir gmkdir; do
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2554 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2555 'mkdir (GNU coreutils) '* | \
2556 'mkdir (coreutils) '* | \
2557 'mkdir (fileutils) '4.1*)
2558 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2568 test -d ./--version && rmdir ./--version
2569 if test "${ac_cv_path_mkdir+set}" = set; then
2570 MKDIR_P="$ac_cv_path_mkdir -p"
2572 # As a last resort, use the slow shell script. Don't cache a
2573 # value for MKDIR_P within a source directory, because that will
2574 # break other packages using the cache if that directory is
2575 # removed, or if the value is a relative name.
2576 MKDIR_P="$ac_install_sh -d"
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2580 $as_echo "$MKDIR_P" >&6; }
2582 for ac_prog in gawk mawk nawk awk
2584 # Extract the first word of "$ac_prog", so it can be a program name with args.
2585 set dummy $ac_prog; ac_word=$2
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2587 $as_echo_n "checking for $ac_word... " >&6; }
2588 if ${ac_cv_prog_AWK+:} false; then :
2589 $as_echo_n "(cached) " >&6
2591 if test -n "$AWK"; then
2592 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir=.
2599 for ac_exec_ext in '' $ac_executable_extensions; do
2600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2601 ac_cv_prog_AWK="$ac_prog"
2602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2612 if test -n "$AWK"; then
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2614 $as_echo "$AWK" >&6; }
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2617 $as_echo "no" >&6; }
2621 test -n "$AWK" && break
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2625 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2627 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2628 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2629 $as_echo_n "(cached) " >&6
2631 cat >conftest.make <<\_ACEOF
2634 @echo '@@@%%%=$(MAKE)=@@@%%%'
2636 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2637 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2639 eval ac_cv_prog_make_${ac_make}_set=yes;;
2641 eval ac_cv_prog_make_${ac_make}_set=no;;
2645 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2647 $as_echo "yes" >&6; }
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651 $as_echo "no" >&6; }
2652 SET_MAKE="MAKE=${MAKE-make}"
2655 rm -rf .tst 2>/dev/null
2656 mkdir .tst 2>/dev/null
2657 if test -d .tst; then
2662 rmdir .tst 2>/dev/null
2664 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2665 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2666 # is not polluted with repeated "-I."
2667 am__isrc=' -I$(srcdir)'
2668 # test to see if srcdir already configured
2669 if test -f $srcdir/config.status; then
2670 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2674 # test whether we have cygpath
2675 if test -z "$CYGPATH_W"; then
2676 if (cygpath --version) >/dev/null 2>/dev/null; then
2677 CYGPATH_W='cygpath -w'
2684 # Define the identity of the package.
2685 PACKAGE='at-spi2-atk'
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE "$PACKAGE"
2694 cat >>confdefs.h <<_ACEOF
2695 #define VERSION "$VERSION"
2698 # Some tools Automake needs.
2700 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2703 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2706 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2709 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2712 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2715 # We need awk for the "check" target. The system "awk" is bad on
2717 # Always define AMTAR for backward compatibility. Yes, it's still used
2718 # in the wild :-( We should find a proper way to deprecate it ...
2721 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2728 # Enable silent build when available (Automake 1.11)
2729 # Check whether --enable-silent-rules was given.
2730 if test "${enable_silent_rules+set}" = set; then :
2731 enableval=$enable_silent_rules;
2734 case $enable_silent_rules in # (((
2735 yes) AM_DEFAULT_VERBOSITY=0;;
2736 no) AM_DEFAULT_VERBOSITY=1;;
2737 *) AM_DEFAULT_VERBOSITY=0;;
2739 am_make=${MAKE-make}
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2741 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2742 if ${am_cv_make_support_nested_variables+:} false; then :
2743 $as_echo_n "(cached) " >&6
2745 if $as_echo 'TRUE=$(BAR$(V))
2751 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2752 am_cv_make_support_nested_variables=yes
2754 am_cv_make_support_nested_variables=no
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2758 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2759 if test $am_cv_make_support_nested_variables = yes; then
2761 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2763 AM_V=$AM_DEFAULT_VERBOSITY
2764 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2770 ac_cpp='$CPP $CPPFLAGS'
2771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2774 if test -n "$ac_tool_prefix"; then
2775 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2776 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2778 $as_echo_n "checking for $ac_word... " >&6; }
2779 if ${ac_cv_prog_CC+:} false; then :
2780 $as_echo_n "(cached) " >&6
2782 if test -n "$CC"; then
2783 ac_cv_prog_CC="$CC" # Let the user override the test.
2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 test -z "$as_dir" && as_dir=.
2790 for ac_exec_ext in '' $ac_executable_extensions; do
2791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2792 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 if test -n "$CC"; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2805 $as_echo "$CC" >&6; }
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2813 if test -z "$ac_cv_prog_CC"; then
2815 # Extract the first word of "gcc", so it can be a program name with args.
2816 set dummy gcc; ac_word=$2
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 $as_echo_n "checking for $ac_word... " >&6; }
2819 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2820 $as_echo_n "(cached) " >&6
2822 if test -n "$ac_ct_CC"; then
2823 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2829 test -z "$as_dir" && as_dir=.
2830 for ac_exec_ext in '' $ac_executable_extensions; do
2831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2832 ac_cv_prog_ac_ct_CC="gcc"
2833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2843 if test -n "$ac_ct_CC"; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2845 $as_echo "$ac_ct_CC" >&6; }
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2848 $as_echo "no" >&6; }
2851 if test "x$ac_ct_CC" = x; then
2854 case $cross_compiling:$ac_tool_warned in
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2858 ac_tool_warned=yes ;;
2866 if test -z "$CC"; then
2867 if test -n "$ac_tool_prefix"; then
2868 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2869 set dummy ${ac_tool_prefix}cc; ac_word=$2
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871 $as_echo_n "checking for $ac_word... " >&6; }
2872 if ${ac_cv_prog_CC+:} false; then :
2873 $as_echo_n "(cached) " >&6
2875 if test -n "$CC"; then
2876 ac_cv_prog_CC="$CC" # Let the user override the test.
2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir=.
2883 for ac_exec_ext in '' $ac_executable_extensions; do
2884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2885 ac_cv_prog_CC="${ac_tool_prefix}cc"
2886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 if test -n "$CC"; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2898 $as_echo "$CC" >&6; }
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901 $as_echo "no" >&6; }
2907 if test -z "$CC"; then
2908 # Extract the first word of "cc", so it can be a program name with args.
2909 set dummy cc; ac_word=$2
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911 $as_echo_n "checking for $ac_word... " >&6; }
2912 if ${ac_cv_prog_CC+:} false; then :
2913 $as_echo_n "(cached) " >&6
2915 if test -n "$CC"; then
2916 ac_cv_prog_CC="$CC" # Let the user override the test.
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2927 ac_prog_rejected=yes
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 if test $ac_prog_rejected = yes; then
2939 # We found a bogon in the path, so make sure we never use it.
2940 set dummy $ac_cv_prog_CC
2942 if test $# != 0; then
2943 # We chose a different compiler from the bogus one.
2944 # However, it has the same basename, so the bogon will be chosen
2945 # first if we set CC to just the basename; use the full file name.
2947 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2953 if test -n "$CC"; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2955 $as_echo "$CC" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2963 if test -z "$CC"; then
2964 if test -n "$ac_tool_prefix"; then
2965 for ac_prog in cl.exe
2967 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2968 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 $as_echo_n "checking for $ac_word... " >&6; }
2971 if ${ac_cv_prog_CC+:} false; then :
2972 $as_echo_n "(cached) " >&6
2974 if test -n "$CC"; then
2975 ac_cv_prog_CC="$CC" # Let the user override the test.
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir=.
2982 for ac_exec_ext in '' $ac_executable_extensions; do
2983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2984 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 if test -n "$CC"; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2997 $as_echo "$CC" >&6; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3004 test -n "$CC" && break
3007 if test -z "$CC"; then
3009 for ac_prog in cl.exe
3011 # Extract the first word of "$ac_prog", so it can be a program name with args.
3012 set dummy $ac_prog; ac_word=$2
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3014 $as_echo_n "checking for $ac_word... " >&6; }
3015 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3016 $as_echo_n "(cached) " >&6
3018 if test -n "$ac_ct_CC"; then
3019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 test -z "$as_dir" && as_dir=.
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3028 ac_cv_prog_ac_ct_CC="$ac_prog"
3029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3039 if test -n "$ac_ct_CC"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3041 $as_echo "$ac_ct_CC" >&6; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044 $as_echo "no" >&6; }
3048 test -n "$ac_ct_CC" && break
3051 if test "x$ac_ct_CC" = x; then
3054 case $cross_compiling:$ac_tool_warned in
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3058 ac_tool_warned=yes ;;
3067 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3069 as_fn_error $? "no acceptable C compiler found in \$PATH
3070 See \`config.log' for more details" "$LINENO" 5; }
3072 # Provide some information about the compiler.
3073 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3076 for ac_option in --version -v -V -qversion; do
3077 { { ac_try="$ac_compiler $ac_option >&5"
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3086 if test -s conftest.err; then
3088 ... rest of stderr output deleted ...
3089 10q' conftest.err >conftest.er1
3090 cat conftest.er1 >&5
3092 rm -f conftest.er1 conftest.err
3093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3094 test $ac_status = 0; }
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3108 ac_clean_files_save=$ac_clean_files
3109 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3110 # Try to create an executable without -o first, disregard a.out.
3111 # It will help us diagnose broken compilers, and finding out an intuition
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3114 $as_echo_n "checking whether the C compiler works... " >&6; }
3115 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3117 # The possible output files:
3118 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3121 for ac_file in $ac_files
3124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3125 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3130 if { { ac_try="$ac_link_default"
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3136 $as_echo "$ac_try_echo"; } >&5
3137 (eval "$ac_link_default") 2>&5
3139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3140 test $ac_status = 0; }; then :
3141 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3142 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3143 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3144 # so that the user can short-circuit this test for compilers unknown to
3146 for ac_file in $ac_files ''
3148 test -f "$ac_file" || continue
3150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3153 # We found the default executable, but exeext='' is most
3157 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3159 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3161 # We set ac_cv_exeext here because the later test for it is not
3162 # safe: cross compilers may not add the suffix if given an `-o'
3163 # argument, so we may need to know it at that point already.
3164 # Even if this section looks crufty: it has the advantage of
3171 test "$ac_cv_exeext" = no && ac_cv_exeext=
3176 if test -z "$ac_file"; then :
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3179 $as_echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3184 as_fn_error 77 "C compiler cannot create executables
3185 See \`config.log' for more details" "$LINENO" 5; }
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3188 $as_echo "yes" >&6; }
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3191 $as_echo_n "checking for C compiler default output file name... " >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3193 $as_echo "$ac_file" >&6; }
3194 ac_exeext=$ac_cv_exeext
3196 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3197 ac_clean_files=$ac_clean_files_save
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3199 $as_echo_n "checking for suffix of executables... " >&6; }
3200 if { { ac_try="$ac_link"
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3206 $as_echo "$ac_try_echo"; } >&5
3207 (eval "$ac_link") 2>&5
3209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3210 test $ac_status = 0; }; then :
3211 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3212 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3213 # work properly (i.e., refer to `conftest.exe'), while it won't with
3215 for ac_file in conftest.exe conftest conftest.*; do
3216 test -f "$ac_file" || continue
3218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3219 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3228 See \`config.log' for more details" "$LINENO" 5; }
3230 rm -f conftest conftest$ac_cv_exeext
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3232 $as_echo "$ac_cv_exeext" >&6; }
3234 rm -f conftest.$ac_ext
3235 EXEEXT=$ac_cv_exeext
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3243 FILE *f = fopen ("conftest.out", "w");
3244 return ferror (f) || fclose (f) != 0;
3250 ac_clean_files="$ac_clean_files conftest.out"
3251 # Check that the compiler produces executables we can run. If not, either
3252 # the compiler is broken, or we cross compile.
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3254 $as_echo_n "checking whether we are cross compiling... " >&6; }
3255 if test "$cross_compiling" != yes; then
3256 { { ac_try="$ac_link"
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_link") 2>&5
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }
3267 if { ac_try='./conftest$ac_cv_exeext'
3268 { { case "(($ac_try" in
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3273 $as_echo "$ac_try_echo"; } >&5
3274 (eval "$ac_try") 2>&5
3276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3277 test $ac_status = 0; }; }; then
3280 if test "$cross_compiling" = maybe; then
3283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285 as_fn_error $? "cannot run C compiled programs.
3286 If you meant to cross compile, use \`--host'.
3287 See \`config.log' for more details" "$LINENO" 5; }
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3292 $as_echo "$cross_compiling" >&6; }
3294 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3295 ac_clean_files=$ac_clean_files_save
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3297 $as_echo_n "checking for suffix of object files... " >&6; }
3298 if ${ac_cv_objext+:} false; then :
3299 $as_echo_n "(cached) " >&6
3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3312 rm -f conftest.o conftest.obj
3313 if { { ac_try="$ac_compile"
3315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3316 *) ac_try_echo=$ac_try;;
3318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3319 $as_echo "$ac_try_echo"; } >&5
3320 (eval "$ac_compile") 2>&5
3322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3323 test $ac_status = 0; }; then :
3324 for ac_file in conftest.o conftest.obj conftest.*; do
3325 test -f "$ac_file" || continue;
3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3328 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3333 $as_echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338 as_fn_error $? "cannot compute suffix of object files: cannot compile
3339 See \`config.log' for more details" "$LINENO" 5; }
3341 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3344 $as_echo "$ac_cv_objext" >&6; }
3345 OBJEXT=$ac_cv_objext
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3348 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3349 if ${ac_cv_c_compiler_gnu+:} false; then :
3350 $as_echo_n "(cached) " >&6
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3366 if ac_fn_c_try_compile "$LINENO"; then :
3371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3376 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3377 if test $ac_compiler_gnu = yes; then
3382 ac_test_CFLAGS=${CFLAGS+set}
3383 ac_save_CFLAGS=$CFLAGS
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3385 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3386 if ${ac_cv_prog_cc_g+:} false; then :
3387 $as_echo_n "(cached) " >&6
3389 ac_save_c_werror_flag=$ac_c_werror_flag
3390 ac_c_werror_flag=yes
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3404 if ac_fn_c_try_compile "$LINENO"; then :
3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h. */
3419 if ac_fn_c_try_compile "$LINENO"; then :
3422 ac_c_werror_flag=$ac_save_c_werror_flag
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3435 if ac_fn_c_try_compile "$LINENO"; then :
3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 ac_c_werror_flag=$ac_save_c_werror_flag
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3446 $as_echo "$ac_cv_prog_cc_g" >&6; }
3447 if test "$ac_test_CFLAGS" = set; then
3448 CFLAGS=$ac_save_CFLAGS
3449 elif test $ac_cv_prog_cc_g = yes; then
3450 if test "$GCC" = yes; then
3456 if test "$GCC" = yes; then
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3463 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3464 if ${ac_cv_prog_cc_c89+:} false; then :
3465 $as_echo_n "(cached) " >&6
3467 ac_cv_prog_cc_c89=no
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3474 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3475 struct buf { int x; };
3476 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3477 static char *e (p, i)
3483 static char *f (char * (*g) (char **, int), char **p, ...)
3488 s = g (p, va_arg (v,int));
3493 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3494 function prototypes and stuff, but not '\xHH' hex character constants.
3495 These don't provoke an error unfortunately, instead are silently treated
3496 as 'x'. The following induces an error, until -std is added to get
3497 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3498 array size at least. It's necessary to write '\x00'==0 to get something
3499 that's true only with -std. */
3500 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3502 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3503 inside strings and character constants. */
3505 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3507 int test (int i, double x);
3508 struct s1 {int (*f) (int a);};
3509 struct s2 {int (*f) (double a);};
3510 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3516 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3521 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3522 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3524 CC="$ac_save_CC $ac_arg"
3525 if ac_fn_c_try_compile "$LINENO"; then :
3526 ac_cv_prog_cc_c89=$ac_arg
3528 rm -f core conftest.err conftest.$ac_objext
3529 test "x$ac_cv_prog_cc_c89" != "xno" && break
3531 rm -f conftest.$ac_ext
3536 case "x$ac_cv_prog_cc_c89" in
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3539 $as_echo "none needed" >&6; } ;;
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3542 $as_echo "unsupported" >&6; } ;;
3544 CC="$CC $ac_cv_prog_cc_c89"
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3546 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3548 if test "x$ac_cv_prog_cc_c89" != xno; then :
3553 ac_cpp='$CPP $CPPFLAGS'
3554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3557 DEPDIR="${am__leading_dot}deps"
3559 ac_config_commands="$ac_config_commands depfiles"
3562 am_make=${MAKE-make}
3563 cat > confinc << 'END'
3565 @echo this is the am__doit target
3568 # If we don't find an include directive, just comment out the code.
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3570 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3574 # First try GNU make style include.
3575 echo "include confinc" > confmf
3576 # Ignore all kinds of additional output from 'make'.
3577 case `$am_make -s -f confmf 2> /dev/null` in #(
3578 *the\ am__doit\ target*)
3584 # Now try BSD make style include.
3585 if test "$am__include" = "#"; then
3586 echo '.include "confinc"' > confmf
3587 case `$am_make -s -f confmf 2> /dev/null` in #(
3588 *the\ am__doit\ target*)
3589 am__include=.include
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3598 $as_echo "$_am_result" >&6; }
3599 rm -f confinc confmf
3601 # Check whether --enable-dependency-tracking was given.
3602 if test "${enable_dependency_tracking+set}" = set; then :
3603 enableval=$enable_dependency_tracking;
3606 if test "x$enable_dependency_tracking" != xno; then
3607 am_depcomp="$ac_aux_dir/depcomp"
3611 if test "x$enable_dependency_tracking" != xno; then
3621 depcc="$CC" am_compiler_list=
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3624 $as_echo_n "checking dependency style of $depcc... " >&6; }
3625 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3626 $as_echo_n "(cached) " >&6
3628 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3629 # We make a subdir and do the tests there. Otherwise we can end up
3630 # making bogus files that we don't know about and never remove. For
3631 # instance it was reported that on HP-UX the gcc test will end up
3632 # making a dummy file named 'D' -- because '-MD' means "put the output
3636 # Copy depcomp to subdir because otherwise we won't find it if we're
3637 # using a relative directory.
3638 cp "$am_depcomp" conftest.dir
3640 # We will build objects and dependencies in a subdirectory because
3641 # it helps to detect inapplicable dependency modes. For instance
3642 # both Tru64's cc and ICC support -MD to output dependencies as a
3643 # side effect of compilation, but ICC will put the dependencies in
3644 # the current directory while Tru64 will put them in the object
3648 am_cv_CC_dependencies_compiler_type=none
3649 if test "$am_compiler_list" = ""; then
3650 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3653 case " $depcc " in #(
3654 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3657 for depmode in $am_compiler_list; do
3658 # Setup a source with many dependencies, because some compilers
3659 # like to wrap large dependency lists on column 80 (with \), and
3660 # we should not choose a depcomp mode which is confused by this.
3662 # We need to recreate these files for each test, as the compiler may
3663 # overwrite some of them when testing with obscure command lines.
3664 # This happens at least with the AIX C compiler.
3666 for i in 1 2 3 4 5 6; do
3667 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3668 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3669 # Solaris 10 /bin/sh.
3670 echo '/* dummy */' > sub/conftst$i.h
3672 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3674 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3675 # mode. It turns out that the SunPro C++ compiler does not properly
3676 # handle '-M -o', and we need to detect this. Also, some Intel
3677 # versions had trouble with output in subdirs.
3678 am__obj=sub/conftest.${OBJEXT-o}
3679 am__minus_obj="-o $am__obj"
3682 # This depmode causes a compiler race in universal mode.
3683 test "$am__universal" = false || continue
3686 # After this tag, mechanisms are not by side-effect, so they'll
3687 # only be used when explicitly requested.
3688 if test "x$enable_dependency_tracking" = xyes; then
3694 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3695 # This compiler won't grok '-c -o', but also, the minuso test has
3696 # not run yet. These depmodes are late enough in the game, and
3697 # so weak that their functioning should not be impacted.
3698 am__obj=conftest.${OBJEXT-o}
3703 if depmode=$depmode \
3704 source=sub/conftest.c object=$am__obj \
3705 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3706 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3707 >/dev/null 2>conftest.err &&
3708 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3709 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3710 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3711 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3712 # icc doesn't choke on unknown options, it will just issue warnings
3713 # or remarks (even with -Werror). So we grep stderr for any message
3714 # that says an option was ignored or not supported.
3715 # When given -MP, icc 7.0 and 7.1 complain thusly:
3716 # icc: Command line warning: ignoring option '-M'; no argument required
3717 # The diagnosis changed in icc 8.0:
3718 # icc: Command line remark: option '-MP' not supported
3719 if (grep 'ignoring option' conftest.err ||
3720 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3721 am_cv_CC_dependencies_compiler_type=$depmode
3730 am_cv_CC_dependencies_compiler_type=none
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3735 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3736 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3739 test "x$enable_dependency_tracking" != xno \
3740 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3742 am__fastdepCC_FALSE='#'
3744 am__fastdepCC_TRUE='#'
3745 am__fastdepCC_FALSE=
3749 # Check whether --enable-static was given.
3750 if test "${enable_static+set}" = set; then :
3751 enableval=$enable_static; p=${PACKAGE-default}
3753 yes) enable_static=yes ;;
3754 no) enable_static=no ;;
3757 # Look at the argument we got. We use all the common list separators.
3758 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3759 for pkg in $enableval; do
3761 if test "X$pkg" = "X$p"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3783 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3788 macro_version='2.4.2'
3789 macro_revision='1.3337'
3803 ltmain="$ac_aux_dir/ltmain.sh"
3805 # Make sure we can run config.sub.
3806 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3807 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3810 $as_echo_n "checking build system type... " >&6; }
3811 if ${ac_cv_build+:} false; then :
3812 $as_echo_n "(cached) " >&6
3814 ac_build_alias=$build_alias
3815 test "x$ac_build_alias" = x &&
3816 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3817 test "x$ac_build_alias" = x &&
3818 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3819 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3820 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3824 $as_echo "$ac_cv_build" >&6; }
3825 case $ac_cv_build in
3827 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3830 ac_save_IFS=$IFS; IFS='-'
3836 # Remember, the first character of IFS is used to create $*,
3837 # except with old shells:
3840 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3844 $as_echo_n "checking host system type... " >&6; }
3845 if ${ac_cv_host+:} false; then :
3846 $as_echo_n "(cached) " >&6
3848 if test "x$host_alias" = x; then
3849 ac_cv_host=$ac_cv_build
3851 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3852 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3857 $as_echo "$ac_cv_host" >&6; }
3860 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3863 ac_save_IFS=$IFS; IFS='-'
3869 # Remember, the first character of IFS is used to create $*,
3870 # except with old shells:
3873 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3876 # Backslashify metacharacters that are still active within
3877 # double-quoted strings.
3878 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3880 # Same as above, but do not quote variable references.
3881 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3883 # Sed substitution to delay expansion of an escaped shell variable in a
3884 # double_quote_subst'ed string.
3885 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3887 # Sed substitution to delay expansion of an escaped single quote.
3888 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3890 # Sed substitution to avoid accidental globbing in evaled expressions
3891 no_glob_subst='s/\*/\\\*/g'
3893 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3894 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3895 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3898 $as_echo_n "checking how to print strings... " >&6; }
3899 # Test print first, because it will be a builtin if present.
3900 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3901 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3903 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3906 # Use this function as a fallback that always works.
3907 func_fallback_echo ()
3909 eval 'cat <<_LTECHO_EOF
3913 ECHO='func_fallback_echo'
3916 # func_echo_all arg...
3917 # Invoke $ECHO with all args, space-separated.
3924 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3925 $as_echo "printf" >&6; } ;;
3926 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3927 $as_echo "print -r" >&6; } ;;
3928 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3929 $as_echo "cat" >&6; } ;;
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3946 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3947 if ${ac_cv_path_SED+:} false; then :
3948 $as_echo_n "(cached) " >&6
3950 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3951 for ac_i in 1 2 3 4 5 6 7; do
3952 ac_script="$ac_script$as_nl$ac_script"
3954 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3955 { ac_script=; unset ac_script;}
3956 if test -z "$SED"; then
3957 ac_path_SED_found=false
3958 # Loop through the user's path and test for each of PROGNAME-LIST
3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 test -z "$as_dir" && as_dir=.
3964 for ac_prog in sed gsed; do
3965 for ac_exec_ext in '' $ac_executable_extensions; do
3966 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3967 as_fn_executable_p "$ac_path_SED" || continue
3968 # Check for GNU ac_path_SED and select it if it is found.
3969 # Check for GNU $ac_path_SED
3970 case `"$ac_path_SED" --version 2>&1` in
3972 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3975 $as_echo_n 0123456789 >"conftest.in"
3978 cat "conftest.in" "conftest.in" >"conftest.tmp"
3979 mv "conftest.tmp" "conftest.in"
3980 cp "conftest.in" "conftest.nl"
3981 $as_echo '' >> "conftest.nl"
3982 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3983 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3984 as_fn_arith $ac_count + 1 && ac_count=$as_val
3985 if test $ac_count -gt ${ac_path_SED_max-0}; then
3986 # Best one so far, save it but keep looking for a better one
3987 ac_cv_path_SED="$ac_path_SED"
3988 ac_path_SED_max=$ac_count
3990 # 10*(2^10) chars as input seems more than enough
3991 test $ac_count -gt 10 && break
3993 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3996 $ac_path_SED_found && break 3
4001 if test -z "$ac_cv_path_SED"; then
4002 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4010 $as_echo "$ac_cv_path_SED" >&6; }
4011 SED="$ac_cv_path_SED"
4014 test -z "$SED" && SED=sed
4015 Xsed="$SED -e 1s/^X//"
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4028 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4029 if ${ac_cv_path_GREP+:} false; then :
4030 $as_echo_n "(cached) " >&6
4032 if test -z "$GREP"; then
4033 ac_path_GREP_found=false
4034 # Loop through the user's path and test for each of PROGNAME-LIST
4035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4039 test -z "$as_dir" && as_dir=.
4040 for ac_prog in grep ggrep; do
4041 for ac_exec_ext in '' $ac_executable_extensions; do
4042 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4043 as_fn_executable_p "$ac_path_GREP" || continue
4044 # Check for GNU ac_path_GREP and select it if it is found.
4045 # Check for GNU $ac_path_GREP
4046 case `"$ac_path_GREP" --version 2>&1` in
4048 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4051 $as_echo_n 0123456789 >"conftest.in"
4054 cat "conftest.in" "conftest.in" >"conftest.tmp"
4055 mv "conftest.tmp" "conftest.in"
4056 cp "conftest.in" "conftest.nl"
4057 $as_echo 'GREP' >> "conftest.nl"
4058 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4059 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4060 as_fn_arith $ac_count + 1 && ac_count=$as_val
4061 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4062 # Best one so far, save it but keep looking for a better one
4063 ac_cv_path_GREP="$ac_path_GREP"
4064 ac_path_GREP_max=$ac_count
4066 # 10*(2^10) chars as input seems more than enough
4067 test $ac_count -gt 10 && break
4069 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4072 $ac_path_GREP_found && break 3
4077 if test -z "$ac_cv_path_GREP"; then
4078 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4081 ac_cv_path_GREP=$GREP
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4086 $as_echo "$ac_cv_path_GREP" >&6; }
4087 GREP="$ac_cv_path_GREP"
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4091 $as_echo_n "checking for egrep... " >&6; }
4092 if ${ac_cv_path_EGREP+:} false; then :
4093 $as_echo_n "(cached) " >&6
4095 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4096 then ac_cv_path_EGREP="$GREP -E"
4098 if test -z "$EGREP"; then
4099 ac_path_EGREP_found=false
4100 # Loop through the user's path and test for each of PROGNAME-LIST
4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4102 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4105 test -z "$as_dir" && as_dir=.
4106 for ac_prog in egrep; do
4107 for ac_exec_ext in '' $ac_executable_extensions; do
4108 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4109 as_fn_executable_p "$ac_path_EGREP" || continue
4110 # Check for GNU ac_path_EGREP and select it if it is found.
4111 # Check for GNU $ac_path_EGREP
4112 case `"$ac_path_EGREP" --version 2>&1` in
4114 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4117 $as_echo_n 0123456789 >"conftest.in"
4120 cat "conftest.in" "conftest.in" >"conftest.tmp"
4121 mv "conftest.tmp" "conftest.in"
4122 cp "conftest.in" "conftest.nl"
4123 $as_echo 'EGREP' >> "conftest.nl"
4124 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4125 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4126 as_fn_arith $ac_count + 1 && ac_count=$as_val
4127 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4128 # Best one so far, save it but keep looking for a better one
4129 ac_cv_path_EGREP="$ac_path_EGREP"
4130 ac_path_EGREP_max=$ac_count
4132 # 10*(2^10) chars as input seems more than enough
4133 test $ac_count -gt 10 && break
4135 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4138 $ac_path_EGREP_found && break 3
4143 if test -z "$ac_cv_path_EGREP"; then
4144 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4147 ac_cv_path_EGREP=$EGREP
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4153 $as_echo "$ac_cv_path_EGREP" >&6; }
4154 EGREP="$ac_cv_path_EGREP"
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4158 $as_echo_n "checking for fgrep... " >&6; }
4159 if ${ac_cv_path_FGREP+:} false; then :
4160 $as_echo_n "(cached) " >&6
4162 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4163 then ac_cv_path_FGREP="$GREP -F"
4165 if test -z "$FGREP"; then
4166 ac_path_FGREP_found=false
4167 # Loop through the user's path and test for each of PROGNAME-LIST
4168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4169 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4172 test -z "$as_dir" && as_dir=.
4173 for ac_prog in fgrep; do
4174 for ac_exec_ext in '' $ac_executable_extensions; do
4175 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4176 as_fn_executable_p "$ac_path_FGREP" || continue
4177 # Check for GNU ac_path_FGREP and select it if it is found.
4178 # Check for GNU $ac_path_FGREP
4179 case `"$ac_path_FGREP" --version 2>&1` in
4181 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4184 $as_echo_n 0123456789 >"conftest.in"
4187 cat "conftest.in" "conftest.in" >"conftest.tmp"
4188 mv "conftest.tmp" "conftest.in"
4189 cp "conftest.in" "conftest.nl"
4190 $as_echo 'FGREP' >> "conftest.nl"
4191 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4192 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4193 as_fn_arith $ac_count + 1 && ac_count=$as_val
4194 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4195 # Best one so far, save it but keep looking for a better one
4196 ac_cv_path_FGREP="$ac_path_FGREP"
4197 ac_path_FGREP_max=$ac_count
4199 # 10*(2^10) chars as input seems more than enough
4200 test $ac_count -gt 10 && break
4202 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4205 $ac_path_FGREP_found && break 3
4210 if test -z "$ac_cv_path_FGREP"; then
4211 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4214 ac_cv_path_FGREP=$FGREP
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4220 $as_echo "$ac_cv_path_FGREP" >&6; }
4221 FGREP="$ac_cv_path_FGREP"
4224 test -z "$GREP" && GREP=grep
4244 # Check whether --with-gnu-ld was given.
4245 if test "${with_gnu_ld+set}" = set; then :
4246 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4252 if test "$GCC" = yes; then
4253 # Check if gcc -print-prog-name=ld gives a path.
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4255 $as_echo_n "checking for ld used by $CC... " >&6; }
4258 # gcc leaves a trailing carriage return which upsets mingw
4259 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4261 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4264 # Accept absolute paths.
4266 re_direlt='/[^/][^/]*/\.\./'
4267 # Canonicalize the pathname of ld
4268 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4269 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4270 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4272 test -z "$LD" && LD="$ac_prog"
4275 # If it fails, then pretend we aren't using GCC.
4279 # If it is relative, then search for the first ld in PATH.
4283 elif test "$with_gnu_ld" = yes; then
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4285 $as_echo_n "checking for GNU ld... " >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4288 $as_echo_n "checking for non-GNU ld... " >&6; }
4290 if ${lt_cv_path_LD+:} false; then :
4291 $as_echo_n "(cached) " >&6
4293 if test -z "$LD"; then
4294 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4295 for ac_dir in $PATH; do
4297 test -z "$ac_dir" && ac_dir=.
4298 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4299 lt_cv_path_LD="$ac_dir/$ac_prog"
4300 # Check to see if the program is GNU ld. I'd rather use --version,
4301 # but apparently some variants of GNU ld only accept -v.
4302 # Break only if it was the GNU/non-GNU ld that we prefer.
4303 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4304 *GNU* | *'with BFD'*)
4305 test "$with_gnu_ld" != no && break
4308 test "$with_gnu_ld" != yes && break
4315 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4320 if test -n "$LD"; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4322 $as_echo "$LD" >&6; }
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4327 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4329 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4330 if ${lt_cv_prog_gnu_ld+:} false; then :
4331 $as_echo_n "(cached) " >&6
4333 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4334 case `$LD -v 2>&1 </dev/null` in
4335 *GNU* | *'with BFD'*)
4336 lt_cv_prog_gnu_ld=yes
4339 lt_cv_prog_gnu_ld=no
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4344 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4345 with_gnu_ld=$lt_cv_prog_gnu_ld
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4356 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4357 if ${lt_cv_path_NM+:} false; then :
4358 $as_echo_n "(cached) " >&6
4360 if test -n "$NM"; then
4361 # Let the user override the test.
4364 lt_nm_to_check="${ac_tool_prefix}nm"
4365 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4366 lt_nm_to_check="$lt_nm_to_check nm"
4368 for lt_tmp_nm in $lt_nm_to_check; do
4369 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4370 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4372 test -z "$ac_dir" && ac_dir=.
4373 tmp_nm="$ac_dir/$lt_tmp_nm"
4374 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4375 # Check to see if the nm accepts a BSD-compat flag.
4376 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4377 # nm: unknown option "B" ignored
4378 # Tru64's nm complains that /dev/null is an invalid object file
4379 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4380 */dev/null* | *'Invalid file or object type'*)
4381 lt_cv_path_NM="$tmp_nm -B"
4385 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4387 lt_cv_path_NM="$tmp_nm -p"
4391 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4392 continue # so that we can try to find one that supports BSD flags
4401 : ${lt_cv_path_NM=no}
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4405 $as_echo "$lt_cv_path_NM" >&6; }
4406 if test "$lt_cv_path_NM" != "no"; then
4409 # Didn't find any BSD compatible name lister, look for dumpbin.
4410 if test -n "$DUMPBIN"; then :
4411 # Let the user override the test.
4413 if test -n "$ac_tool_prefix"; then
4414 for ac_prog in dumpbin "link -dump"
4416 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4417 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if ${ac_cv_prog_DUMPBIN+:} false; then :
4421 $as_echo_n "(cached) " >&6
4423 if test -n "$DUMPBIN"; then
4424 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir=.
4431 for ac_exec_ext in '' $ac_executable_extensions; do
4432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4433 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 DUMPBIN=$ac_cv_prog_DUMPBIN
4444 if test -n "$DUMPBIN"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4446 $as_echo "$DUMPBIN" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4453 test -n "$DUMPBIN" && break
4456 if test -z "$DUMPBIN"; then
4457 ac_ct_DUMPBIN=$DUMPBIN
4458 for ac_prog in dumpbin "link -dump"
4460 # Extract the first word of "$ac_prog", so it can be a program name with args.
4461 set dummy $ac_prog; ac_word=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4465 $as_echo_n "(cached) " >&6
4467 if test -n "$ac_ct_DUMPBIN"; then
4468 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474 test -z "$as_dir" && as_dir=.
4475 for ac_exec_ext in '' $ac_executable_extensions; do
4476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4477 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4488 if test -n "$ac_ct_DUMPBIN"; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4490 $as_echo "$ac_ct_DUMPBIN" >&6; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493 $as_echo "no" >&6; }
4497 test -n "$ac_ct_DUMPBIN" && break
4500 if test "x$ac_ct_DUMPBIN" = x; then
4503 case $cross_compiling:$ac_tool_warned in
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4507 ac_tool_warned=yes ;;
4509 DUMPBIN=$ac_ct_DUMPBIN
4513 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4515 DUMPBIN="$DUMPBIN -symbols"
4523 if test "$DUMPBIN" != ":"; then
4527 test -z "$NM" && NM=nm
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4535 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4536 if ${lt_cv_nm_interface+:} false; then :
4537 $as_echo_n "(cached) " >&6
4539 lt_cv_nm_interface="BSD nm"
4540 echo "int some_variable = 0;" > conftest.$ac_ext
4541 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4542 (eval "$ac_compile" 2>conftest.err)
4543 cat conftest.err >&5
4544 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4545 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4546 cat conftest.err >&5
4547 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4548 cat conftest.out >&5
4549 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4550 lt_cv_nm_interface="MS dumpbin"
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4555 $as_echo "$lt_cv_nm_interface" >&6; }
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4558 $as_echo_n "checking whether ln -s works... " >&6; }
4560 if test "$LN_S" = "ln -s"; then
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4562 $as_echo "yes" >&6; }
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4565 $as_echo "no, using $LN_S" >&6; }
4568 # find the maximum length of command line arguments
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4570 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4571 if ${lt_cv_sys_max_cmd_len+:} false; then :
4572 $as_echo_n "(cached) " >&6
4579 # On DJGPP, this test can blow up pretty badly due to problems in libc
4580 # (any single argument exceeding 2000 bytes causes a buffer overrun
4581 # during glob expansion). Even if it were fixed, the result of this
4582 # check would be larger than it should be.
4583 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4587 # Under GNU Hurd, this test is not required because there is
4588 # no limit to the length of command line arguments.
4589 # Libtool will interpret -1 as no limit whatsoever
4590 lt_cv_sys_max_cmd_len=-1;
4593 cygwin* | mingw* | cegcc*)
4594 # On Win9x/ME, this test blows up -- it succeeds, but takes
4595 # about 5 minutes as the teststring grows exponentially.
4596 # Worse, since 9x/ME are not pre-emptively multitasking,
4597 # you end up with a "frozen" computer, even though with patience
4598 # the test eventually succeeds (with a max line length of 256k).
4599 # Instead, let's just punt: use the minimum linelength reported by
4600 # all of the supported platforms: 8192 (on NT/2K/XP).
4601 lt_cv_sys_max_cmd_len=8192;
4605 # On MiNT this can take a long time and run out of memory.
4606 lt_cv_sys_max_cmd_len=8192;
4610 # On AmigaOS with pdksh, this test takes hours, literally.
4611 # So we just punt and use a minimum line length of 8192.
4612 lt_cv_sys_max_cmd_len=8192;
4615 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4616 # This has been around since 386BSD, at least. Likely further.
4617 if test -x /sbin/sysctl; then
4618 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4619 elif test -x /usr/sbin/sysctl; then
4620 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4622 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4624 # And add a safety zone
4625 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4626 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4630 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4631 lt_cv_sys_max_cmd_len=196608
4635 # The test takes a long time on OS/2.
4636 lt_cv_sys_max_cmd_len=8192
4640 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4641 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4642 # nice to cause kernel panics so lets avoid the loop below.
4643 # First set a reasonable default.
4644 lt_cv_sys_max_cmd_len=16384
4646 if test -x /sbin/sysconfig; then
4647 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4648 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4653 lt_cv_sys_max_cmd_len=102400
4655 sysv5* | sco5v6* | sysv4.2uw2*)
4656 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4657 if test -n "$kargmax"; then
4658 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4660 lt_cv_sys_max_cmd_len=32768
4664 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4665 if test -n "$lt_cv_sys_max_cmd_len"; then
4666 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4669 # Make teststring a little bigger before we do anything with it.
4670 # a 1K string should be a reasonable start.
4671 for i in 1 2 3 4 5 6 7 8 ; do
4672 teststring=$teststring$teststring
4674 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4675 # If test is not a shell built-in, we'll probably end up computing a
4676 # maximum length that is only half of the actual maximum length, but
4678 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4679 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4680 test $i != 17 # 1/2 MB should be enough
4683 teststring=$teststring$teststring
4685 # Only check the string length outside the loop.
4686 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4688 # Add a significant safety factor because C++ compilers can tack on
4689 # massive amounts of additional arguments before passing them to the
4690 # linker. It appears as though 1/2 is a usable value.
4691 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4698 if test -n $lt_cv_sys_max_cmd_len ; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4700 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4703 $as_echo "none" >&6; }
4705 max_cmd_len=$lt_cv_sys_max_cmd_len
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4717 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4718 # Try some XSI features
4721 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4723 && eval 'test $(( 1 + 1 )) -eq 2 \
4724 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4727 $as_echo "$xsi_shell" >&6; }
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4731 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4733 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4735 && lt_shell_append=yes
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4737 $as_echo "$lt_shell_append" >&6; }
4740 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4750 # test EBCDIC or ASCII
4751 case `echo X|tr X '\101'` in
4752 A) # ASCII based system
4753 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4754 lt_SP2NL='tr \040 \012'
4755 lt_NL2SP='tr \015\012 \040\040'
4757 *) # EBCDIC based system
4758 lt_SP2NL='tr \100 \n'
4759 lt_NL2SP='tr \r\n \100\100'
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4772 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4773 if ${lt_cv_to_host_file_cmd+:} false; then :
4774 $as_echo_n "(cached) " >&6
4779 *-*-mingw* ) # actually msys
4780 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4783 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4785 * ) # otherwise, assume *nix
4786 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4792 *-*-mingw* ) # actually msys
4793 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4796 lt_cv_to_host_file_cmd=func_convert_file_noop
4798 * ) # otherwise, assume *nix
4799 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4803 * ) # unhandled hosts (and "normal" native builds)
4804 lt_cv_to_host_file_cmd=func_convert_file_noop
4810 to_host_file_cmd=$lt_cv_to_host_file_cmd
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4812 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4819 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4820 if ${lt_cv_to_tool_file_cmd+:} false; then :
4821 $as_echo_n "(cached) " >&6
4823 #assume ordinary cross tools, or native build.
4824 lt_cv_to_tool_file_cmd=func_convert_file_noop
4828 *-*-mingw* ) # actually msys
4829 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4837 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4839 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4846 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4847 if ${lt_cv_ld_reload_flag+:} false; then :
4848 $as_echo_n "(cached) " >&6
4850 lt_cv_ld_reload_flag='-r'
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4853 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4854 reload_flag=$lt_cv_ld_reload_flag
4855 case $reload_flag in
4857 *) reload_flag=" $reload_flag" ;;
4859 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4861 cygwin* | mingw* | pw32* | cegcc*)
4862 if test "$GCC" != yes; then
4867 if test "$GCC" = yes; then
4868 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4870 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4883 if test -n "$ac_tool_prefix"; then
4884 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4885 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if ${ac_cv_prog_OBJDUMP+:} false; then :
4889 $as_echo_n "(cached) " >&6
4891 if test -n "$OBJDUMP"; then
4892 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 OBJDUMP=$ac_cv_prog_OBJDUMP
4912 if test -n "$OBJDUMP"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4914 $as_echo "$OBJDUMP" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4922 if test -z "$ac_cv_prog_OBJDUMP"; then
4923 ac_ct_OBJDUMP=$OBJDUMP
4924 # Extract the first word of "objdump", so it can be a program name with args.
4925 set dummy objdump; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$ac_ct_OBJDUMP"; then
4932 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4952 if test -n "$ac_ct_OBJDUMP"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4954 $as_echo "$ac_ct_OBJDUMP" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4960 if test "x$ac_ct_OBJDUMP" = x; then
4963 case $cross_compiling:$ac_tool_warned in
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned=yes ;;
4969 OBJDUMP=$ac_ct_OBJDUMP
4972 OBJDUMP="$ac_cv_prog_OBJDUMP"
4975 test -z "$OBJDUMP" && OBJDUMP=objdump
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4986 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4987 if ${lt_cv_deplibs_check_method+:} false; then :
4988 $as_echo_n "(cached) " >&6
4990 lt_cv_file_magic_cmd='$MAGIC_CMD'
4991 lt_cv_file_magic_test_file=
4992 lt_cv_deplibs_check_method='unknown'
4993 # Need to set the preceding variable on all platforms that support
4994 # interlibrary dependencies.
4995 # 'none' -- dependencies not supported.
4996 # `unknown' -- same as none, but documents that we really don't know.
4997 # 'pass_all' -- all dependencies passed with no checks.
4998 # 'test_compile' -- check by making test program.
4999 # 'file_magic [[regex]]' -- check by looking for files in library path
5000 # which responds to the $file_magic_cmd with a given extended regex.
5001 # If you have `file' or equivalent on your system and you're not sure
5002 # whether `pass_all' will *always* work, you probably want this one.
5006 lt_cv_deplibs_check_method=pass_all
5010 lt_cv_deplibs_check_method=pass_all
5014 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5015 lt_cv_file_magic_cmd='/usr/bin/file -L'
5016 lt_cv_file_magic_test_file=/shlib/libc.so
5020 # func_win32_libid is a shell function defined in ltmain.sh
5021 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5022 lt_cv_file_magic_cmd='func_win32_libid'
5026 # Base MSYS/MinGW do not provide the 'file' command needed by
5027 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5028 # unless we find 'file', for example because we are cross-compiling.
5029 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5030 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5031 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5032 lt_cv_file_magic_cmd='func_win32_libid'
5034 # Keep this pattern in sync with the one in func_win32_libid.
5035 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5036 lt_cv_file_magic_cmd='$OBJDUMP -f'
5041 # use the weaker test based on 'objdump'. See mingw*.
5042 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5043 lt_cv_file_magic_cmd='$OBJDUMP -f'
5046 darwin* | rhapsody*)
5047 lt_cv_deplibs_check_method=pass_all
5050 freebsd* | dragonfly*)
5051 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5054 # Not sure whether the presence of OpenBSD here was a mistake.
5055 # Let's accept both of them until this is cleared up.
5056 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5057 lt_cv_file_magic_cmd=/usr/bin/file
5058 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5062 lt_cv_deplibs_check_method=pass_all
5067 lt_cv_deplibs_check_method=pass_all
5071 lt_cv_deplibs_check_method=pass_all
5074 hpux10.20* | hpux11*)
5075 lt_cv_file_magic_cmd=/usr/bin/file
5078 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5079 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5082 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]'
5083 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5086 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5087 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5093 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5094 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5097 irix5* | irix6* | nonstopux*)
5099 *-32|*"-32 ") libmagic=32-bit;;
5100 *-n32|*"-n32 ") libmagic=N32;;
5101 *-64|*"-64 ") libmagic=64-bit;;
5102 *) libmagic=never-match;;
5104 lt_cv_deplibs_check_method=pass_all
5107 # This must be glibc/ELF.
5108 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5109 lt_cv_deplibs_check_method=pass_all
5113 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5114 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5116 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5121 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5122 lt_cv_file_magic_cmd=/usr/bin/file
5123 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5127 lt_cv_deplibs_check_method=pass_all
5131 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5132 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5134 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5138 osf3* | osf4* | osf5*)
5139 lt_cv_deplibs_check_method=pass_all
5143 lt_cv_deplibs_check_method=pass_all
5147 lt_cv_deplibs_check_method=pass_all
5150 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5151 lt_cv_deplibs_check_method=pass_all
5155 case $host_vendor in
5157 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]'
5158 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5161 lt_cv_deplibs_check_method=pass_all
5164 lt_cv_file_magic_cmd='/bin/file'
5165 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5168 lt_cv_file_magic_cmd='/bin/file'
5169 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5170 lt_cv_file_magic_test_file=/lib/libc.so
5173 lt_cv_deplibs_check_method=pass_all
5176 lt_cv_deplibs_check_method=pass_all
5182 lt_cv_deplibs_check_method=pass_all
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5188 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5192 if test "$build" = "$host"; then
5195 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5198 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5204 file_magic_cmd=$lt_cv_file_magic_cmd
5205 deplibs_check_method=$lt_cv_deplibs_check_method
5206 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5229 if test -n "$ac_tool_prefix"; then
5230 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5231 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5233 $as_echo_n "checking for $ac_word... " >&6; }
5234 if ${ac_cv_prog_DLLTOOL+:} false; then :
5235 $as_echo_n "(cached) " >&6
5237 if test -n "$DLLTOOL"; then
5238 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 DLLTOOL=$ac_cv_prog_DLLTOOL
5258 if test -n "$DLLTOOL"; then
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5260 $as_echo "$DLLTOOL" >&6; }
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5263 $as_echo "no" >&6; }
5268 if test -z "$ac_cv_prog_DLLTOOL"; then
5269 ac_ct_DLLTOOL=$DLLTOOL
5270 # Extract the first word of "dlltool", so it can be a program name with args.
5271 set dummy dlltool; ac_word=$2
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5273 $as_echo_n "checking for $ac_word... " >&6; }
5274 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5275 $as_echo_n "(cached) " >&6
5277 if test -n "$ac_ct_DLLTOOL"; then
5278 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 test -z "$as_dir" && as_dir=.
5285 for ac_exec_ext in '' $ac_executable_extensions; do
5286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5287 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5297 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5298 if test -n "$ac_ct_DLLTOOL"; then
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5300 $as_echo "$ac_ct_DLLTOOL" >&6; }
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }
5306 if test "x$ac_ct_DLLTOOL" = x; then
5309 case $cross_compiling:$ac_tool_warned in
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5313 ac_tool_warned=yes ;;
5315 DLLTOOL=$ac_ct_DLLTOOL
5318 DLLTOOL="$ac_cv_prog_DLLTOOL"
5321 test -z "$DLLTOOL" && DLLTOOL=dlltool
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5333 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5334 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5335 $as_echo_n "(cached) " >&6
5337 lt_cv_sharedlib_from_linklib_cmd='unknown'
5340 cygwin* | mingw* | pw32* | cegcc*)
5341 # two different shell functions defined in ltmain.sh
5342 # decide which to use based on capabilities of $DLLTOOL
5343 case `$DLLTOOL --help 2>&1` in
5344 *--identify-strict*)
5345 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5348 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5353 # fallback: assume linklib IS sharedlib
5354 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5360 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5361 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5362 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5371 if test -n "$ac_tool_prefix"; then
5374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5375 set dummy $ac_tool_prefix$ac_prog; 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_AR+:} false; then :
5379 $as_echo_n "(cached) " >&6
5381 if test -n "$AR"; then
5382 ac_cv_prog_AR="$AR" # 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_AR="$ac_tool_prefix$ac_prog"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 if test -n "$AR"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5404 $as_echo "$AR" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5411 test -n "$AR" && break
5414 if test -z "$AR"; then
5418 # Extract the first word of "$ac_prog", so it can be a program name with args.
5419 set dummy $ac_prog; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5423 $as_echo_n "(cached) " >&6
5425 if test -n "$ac_ct_AR"; then
5426 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_ac_ct_AR="$ac_prog"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5446 if test -n "$ac_ct_AR"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5448 $as_echo "$ac_ct_AR" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5455 test -n "$ac_ct_AR" && break
5458 if test "x$ac_ct_AR" = x; then
5461 case $cross_compiling:$ac_tool_warned in
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5465 ac_tool_warned=yes ;;
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5485 $as_echo_n "checking for archiver @FILE support... " >&6; }
5486 if ${lt_cv_ar_at_file+:} false; then :
5487 $as_echo_n "(cached) " >&6
5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5501 if ac_fn_c_try_compile "$LINENO"; then :
5502 echo conftest.$ac_objext > conftest.lst
5503 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5504 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5505 (eval $lt_ar_try) 2>&5
5507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5508 test $ac_status = 0; }
5509 if test "$ac_status" -eq 0; then
5510 # Ensure the archiver fails upon bogus file names.
5511 rm -f conftest.$ac_objext libconftest.a
5512 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5513 (eval $lt_ar_try) 2>&5
5515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5516 test $ac_status = 0; }
5517 if test "$ac_status" -ne 0; then
5521 rm -f conftest.* libconftest.a
5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5528 $as_echo "$lt_cv_ar_at_file" >&6; }
5530 if test "x$lt_cv_ar_at_file" = xno; then
5533 archiver_list_spec=$lt_cv_ar_at_file
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}strip; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_STRIP+:} false; then :
5548 $as_echo_n "(cached) " >&6
5550 if test -n "$STRIP"; then
5551 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 STRIP=$ac_cv_prog_STRIP
5571 if test -n "$STRIP"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5573 $as_echo "$STRIP" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5581 if test -z "$ac_cv_prog_STRIP"; then
5583 # Extract the first word of "strip", so it can be a program name with args.
5584 set dummy strip; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$ac_ct_STRIP"; then
5591 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_ac_ct_STRIP="strip"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5611 if test -n "$ac_ct_STRIP"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5613 $as_echo "$ac_ct_STRIP" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5619 if test "x$ac_ct_STRIP" = x; then
5622 case $cross_compiling:$ac_tool_warned in
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5626 ac_tool_warned=yes ;;
5631 STRIP="$ac_cv_prog_STRIP"
5634 test -z "$STRIP" && STRIP=:
5641 if test -n "$ac_tool_prefix"; then
5642 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5643 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 $as_echo_n "checking for $ac_word... " >&6; }
5646 if ${ac_cv_prog_RANLIB+:} false; then :
5647 $as_echo_n "(cached) " >&6
5649 if test -n "$RANLIB"; then
5650 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 test -z "$as_dir" && as_dir=.
5657 for ac_exec_ext in '' $ac_executable_extensions; do
5658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5659 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 RANLIB=$ac_cv_prog_RANLIB
5670 if test -n "$RANLIB"; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5672 $as_echo "$RANLIB" >&6; }
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5675 $as_echo "no" >&6; }
5680 if test -z "$ac_cv_prog_RANLIB"; then
5681 ac_ct_RANLIB=$RANLIB
5682 # Extract the first word of "ranlib", so it can be a program name with args.
5683 set dummy ranlib; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5687 $as_echo_n "(cached) " >&6
5689 if test -n "$ac_ct_RANLIB"; then
5690 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 test -z "$as_dir" && as_dir=.
5697 for ac_exec_ext in '' $ac_executable_extensions; do
5698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_ac_ct_RANLIB="ranlib"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5710 if test -n "$ac_ct_RANLIB"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5712 $as_echo "$ac_ct_RANLIB" >&6; }
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5718 if test "x$ac_ct_RANLIB" = x; then
5721 case $cross_compiling:$ac_tool_warned in
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5725 ac_tool_warned=yes ;;
5727 RANLIB=$ac_ct_RANLIB
5730 RANLIB="$ac_cv_prog_RANLIB"
5733 test -z "$RANLIB" && RANLIB=:
5740 # Determine commands to create old-style static archives.
5741 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5742 old_postinstall_cmds='chmod 644 $oldlib'
5743 old_postuninstall_cmds=
5745 if test -n "$RANLIB"; then
5748 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5751 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5754 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5759 lock_old_archive_extraction=yes ;;
5761 lock_old_archive_extraction=no ;;
5802 # If no C compiler was specified, use CC.
5805 # If no C compiler flags were specified, use CFLAGS.
5806 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5808 # Allow CC to be a program name with arguments.
5812 # Check for command to grab the raw symbol name followed by C symbol from nm.
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5814 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5815 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5816 $as_echo_n "(cached) " >&6
5819 # These are sane defaults that work on at least a few old systems.
5820 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5822 # Character class describing NM global symbol codes.
5823 symcode='[BCDEGRST]'
5825 # Regexp to match symbols that can be accessed directly from C.
5826 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5828 # Define system-specific variables.
5833 cygwin* | mingw* | pw32* | cegcc*)
5834 symcode='[ABCDGISTW]'
5837 if test "$host_cpu" = ia64; then
5838 symcode='[ABCDEGRST]'
5842 symcode='[BCDEGRST]'
5845 symcode='[BCDEGQRST]'
5856 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5864 # If we're using GNU nm, then use its standard symbol codes.
5865 case `$NM -V 2>&1` in
5866 *GNU* | *'with BFD'*)
5867 symcode='[ABCDGIRSTW]' ;;
5870 # Transform an extracted symbol line into a proper C declaration.
5871 # Some systems (esp. on ia64) link data and code symbols differently,
5872 # so use this general approach.
5873 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5875 # Transform an extracted symbol line into symbol name and symbol address
5876 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5877 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'"
5879 # Handle CRLF in mingw tool chain
5883 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5887 # Try without a prefix underscore, then with it.
5888 for ac_symprfx in "" "_"; do
5890 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5891 symxfrm="\\1 $ac_symprfx\\2 \\2"
5893 # Write the raw and C identifiers.
5894 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5895 # Fake it for dumpbin and say T for any non-static function
5896 # and D for any global variable.
5897 # Also find C++ and __fastcall symbols from MSVC++,
5898 # which start with @ or ?.
5899 lt_cv_sys_global_symbol_pipe="$AWK '"\
5900 " {last_section=section; section=\$ 3};"\
5901 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5902 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5903 " \$ 0!~/External *\|/{next};"\
5904 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5905 " {if(hide[section]) next};"\
5906 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5907 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5908 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5909 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5910 " ' prfx=^$ac_symprfx"
5912 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5914 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5916 # Check to see that the pipe works correctly.
5920 cat > conftest.$ac_ext <<_LT_EOF
5925 void nm_test_func(void);
5926 void nm_test_func(void){}
5930 int main(){nm_test_var='a';nm_test_func();return(0);}
5933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5934 (eval $ac_compile) 2>&5
5936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5937 test $ac_status = 0; }; then
5938 # Now try to grab the symbols.
5940 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5941 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5944 test $ac_status = 0; } && test -s "$nlist"; then
5945 # Try sorting and uniquifying the output.
5946 if sort "$nlist" | uniq > "$nlist"T; then
5947 mv -f "$nlist"T "$nlist"
5952 # Make sure that we snagged all the symbols we need.
5953 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5954 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5955 cat <<_LT_EOF > conftest.$ac_ext
5956 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5957 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5958 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5959 relocations are performed -- see ld's documentation on pseudo-relocs. */
5960 # define LT_DLSYM_CONST
5961 #elif defined(__osf__)
5962 /* This system does not cope well with relocations in const data. */
5963 # define LT_DLSYM_CONST
5965 # define LT_DLSYM_CONST const
5973 # Now generate the symbol file.
5974 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5976 cat <<_LT_EOF >> conftest.$ac_ext
5978 /* The mapping between symbol names and symbols. */
5979 LT_DLSYM_CONST struct {
5983 lt__PROGRAM__LTX_preloaded_symbols[] =
5985 { "@PROGRAM@", (void *) 0 },
5987 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5988 cat <<\_LT_EOF >> conftest.$ac_ext
5992 /* This works around a problem in FreeBSD linker */
5993 #ifdef FREEBSD_WORKAROUND
5994 static const void *lt_preloaded_setup() {
5995 return lt__PROGRAM__LTX_preloaded_symbols;
6003 # Now try linking the two files.
6004 mv conftest.$ac_objext conftstm.$ac_objext
6005 lt_globsym_save_LIBS=$LIBS
6006 lt_globsym_save_CFLAGS=$CFLAGS
6007 LIBS="conftstm.$ac_objext"
6008 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6010 (eval $ac_link) 2>&5
6012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6013 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6016 LIBS=$lt_globsym_save_LIBS
6017 CFLAGS=$lt_globsym_save_CFLAGS
6019 echo "cannot find nm_test_func in $nlist" >&5
6022 echo "cannot find nm_test_var in $nlist" >&5
6025 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6028 echo "$progname: failed program was:" >&5
6029 cat conftest.$ac_ext >&5
6031 rm -rf conftest* conftst*
6033 # Do not use the global_symbol_pipe unless it works.
6034 if test "$pipe_works" = yes; then
6037 lt_cv_sys_global_symbol_pipe=
6043 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6044 lt_cv_sys_global_symbol_to_cdecl=
6046 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6048 $as_echo "failed" >&6; }
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6051 $as_echo "ok" >&6; }
6054 # Response file support.
6055 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6056 nm_file_list_spec='@'
6057 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6058 nm_file_list_spec='@'
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6088 $as_echo_n "checking for sysroot... " >&6; }
6090 # Check whether --with-sysroot was given.
6091 if test "${with_sysroot+set}" = set; then :
6092 withval=$with_sysroot;
6099 case ${with_sysroot} in #(
6101 if test "$GCC" = yes; then
6102 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6106 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6112 $as_echo "${with_sysroot}" >&6; }
6113 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6118 $as_echo "${lt_sysroot:-no}" >&6; }
6124 # Check whether --enable-libtool-lock was given.
6125 if test "${enable_libtool_lock+set}" = set; then :
6126 enableval=$enable_libtool_lock;
6129 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6131 # Some flags need to be propagated to the compiler or linker for good
6135 # Find out which ABI we are using.
6136 echo 'int i;' > conftest.$ac_ext
6137 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6138 (eval $ac_compile) 2>&5
6140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6141 test $ac_status = 0; }; then
6142 case `/usr/bin/file conftest.$ac_objext` in
6154 # Find out which ABI we are using.
6155 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6156 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6157 (eval $ac_compile) 2>&5
6159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6160 test $ac_status = 0; }; then
6161 if test "$lt_cv_prog_gnu_ld" = yes; then
6162 case `/usr/bin/file conftest.$ac_objext` in
6164 LD="${LD-ld} -melf32bsmip"
6167 LD="${LD-ld} -melf32bmipn32"
6170 LD="${LD-ld} -melf64bmip"
6174 case `/usr/bin/file conftest.$ac_objext` in
6190 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6191 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6192 # Find out which ABI we are using.
6193 echo 'int i;' > conftest.$ac_ext
6194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6195 (eval $ac_compile) 2>&5
6197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6198 test $ac_status = 0; }; then
6199 case `/usr/bin/file conftest.o` in
6202 x86_64-*kfreebsd*-gnu)
6203 LD="${LD-ld} -m elf_i386_fbsd"
6206 LD="${LD-ld} -m elf_i386"
6208 ppc64-*linux*|powerpc64-*linux*)
6209 LD="${LD-ld} -m elf32ppclinux"
6212 LD="${LD-ld} -m elf_s390"
6215 LD="${LD-ld} -m elf32_sparc"
6221 x86_64-*kfreebsd*-gnu)
6222 LD="${LD-ld} -m elf_x86_64_fbsd"
6225 LD="${LD-ld} -m elf_x86_64"
6227 ppc*-*linux*|powerpc*-*linux*)
6228 LD="${LD-ld} -m elf64ppc"
6230 s390*-*linux*|s390*-*tpf*)
6231 LD="${LD-ld} -m elf64_s390"
6234 LD="${LD-ld} -m elf64_sparc"
6244 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6245 SAVE_CFLAGS="$CFLAGS"
6246 CFLAGS="$CFLAGS -belf"
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6248 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6249 if ${lt_cv_cc_needs_belf+:} false; then :
6250 $as_echo_n "(cached) " >&6
6253 ac_cpp='$CPP $CPPFLAGS'
6254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6269 if ac_fn_c_try_link "$LINENO"; then :
6270 lt_cv_cc_needs_belf=yes
6272 lt_cv_cc_needs_belf=no
6274 rm -f core conftest.err conftest.$ac_objext \
6275 conftest$ac_exeext conftest.$ac_ext
6277 ac_cpp='$CPP $CPPFLAGS'
6278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6284 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6285 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6286 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6287 CFLAGS="$SAVE_CFLAGS"
6291 # Find out which ABI we are using.
6292 echo 'int i;' > conftest.$ac_ext
6293 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6294 (eval $ac_compile) 2>&5
6296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6297 test $ac_status = 0; }; then
6298 case `/usr/bin/file conftest.o` in
6300 case $lt_cv_prog_gnu_ld in
6304 LD="${LD-ld} -m elf_x86_64"
6307 LD="${LD-ld} -m elf64_sparc"
6310 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6311 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6316 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6328 need_locks="$enable_libtool_lock"
6330 if test -n "$ac_tool_prefix"; then
6331 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6332 set dummy ${ac_tool_prefix}mt; ac_word=$2
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6334 $as_echo_n "checking for $ac_word... " >&6; }
6335 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6336 $as_echo_n "(cached) " >&6
6338 if test -n "$MANIFEST_TOOL"; then
6339 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6345 test -z "$as_dir" && as_dir=.
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6348 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6358 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6359 if test -n "$MANIFEST_TOOL"; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6361 $as_echo "$MANIFEST_TOOL" >&6; }
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6369 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6370 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6371 # Extract the first word of "mt", so it can be a program name with args.
6372 set dummy mt; ac_word=$2
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374 $as_echo_n "checking for $ac_word... " >&6; }
6375 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6376 $as_echo_n "(cached) " >&6
6378 if test -n "$ac_ct_MANIFEST_TOOL"; then
6379 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 test -z "$as_dir" && as_dir=.
6386 for ac_exec_ext in '' $ac_executable_extensions; do
6387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6388 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6398 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6399 if test -n "$ac_ct_MANIFEST_TOOL"; then
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6401 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6404 $as_echo "no" >&6; }
6407 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6410 case $cross_compiling:$ac_tool_warned in
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6414 ac_tool_warned=yes ;;
6416 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6419 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6422 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6424 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6425 if ${lt_cv_path_mainfest_tool+:} false; then :
6426 $as_echo_n "(cached) " >&6
6428 lt_cv_path_mainfest_tool=no
6429 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6430 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6431 cat conftest.err >&5
6432 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6433 lt_cv_path_mainfest_tool=yes
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6438 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6439 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6449 rhapsody* | darwin*)
6450 if test -n "$ac_tool_prefix"; then
6451 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6452 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454 $as_echo_n "checking for $ac_word... " >&6; }
6455 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6456 $as_echo_n "(cached) " >&6
6458 if test -n "$DSYMUTIL"; then
6459 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 test -z "$as_dir" && as_dir=.
6466 for ac_exec_ext in '' $ac_executable_extensions; do
6467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6468 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6479 if test -n "$DSYMUTIL"; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6481 $as_echo "$DSYMUTIL" >&6; }
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484 $as_echo "no" >&6; }
6489 if test -z "$ac_cv_prog_DSYMUTIL"; then
6490 ac_ct_DSYMUTIL=$DSYMUTIL
6491 # Extract the first word of "dsymutil", so it can be a program name with args.
6492 set dummy dsymutil; ac_word=$2
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494 $as_echo_n "checking for $ac_word... " >&6; }
6495 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6496 $as_echo_n "(cached) " >&6
6498 if test -n "$ac_ct_DSYMUTIL"; then
6499 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do
6507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6508 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6519 if test -n "$ac_ct_DSYMUTIL"; then
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6521 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524 $as_echo "no" >&6; }
6527 if test "x$ac_ct_DSYMUTIL" = x; then
6530 case $cross_compiling:$ac_tool_warned in
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6534 ac_tool_warned=yes ;;
6536 DSYMUTIL=$ac_ct_DSYMUTIL
6539 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6542 if test -n "$ac_tool_prefix"; then
6543 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6544 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if ${ac_cv_prog_NMEDIT+:} false; then :
6548 $as_echo_n "(cached) " >&6
6550 if test -n "$NMEDIT"; then
6551 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 NMEDIT=$ac_cv_prog_NMEDIT
6571 if test -n "$NMEDIT"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6573 $as_echo "$NMEDIT" >&6; }
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6581 if test -z "$ac_cv_prog_NMEDIT"; then
6582 ac_ct_NMEDIT=$NMEDIT
6583 # Extract the first word of "nmedit", so it can be a program name with args.
6584 set dummy nmedit; ac_word=$2
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6587 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6588 $as_echo_n "(cached) " >&6
6590 if test -n "$ac_ct_NMEDIT"; then
6591 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 test -z "$as_dir" && as_dir=.
6598 for ac_exec_ext in '' $ac_executable_extensions; do
6599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6600 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6611 if test -n "$ac_ct_NMEDIT"; then
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6613 $as_echo "$ac_ct_NMEDIT" >&6; }
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 $as_echo "no" >&6; }
6619 if test "x$ac_ct_NMEDIT" = x; then
6622 case $cross_compiling:$ac_tool_warned in
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6626 ac_tool_warned=yes ;;
6628 NMEDIT=$ac_ct_NMEDIT
6631 NMEDIT="$ac_cv_prog_NMEDIT"
6634 if test -n "$ac_tool_prefix"; then
6635 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6636 set dummy ${ac_tool_prefix}lipo; 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_LIPO+:} false; then :
6640 $as_echo_n "(cached) " >&6
6642 if test -n "$LIPO"; then
6643 ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ac_tool_prefix}lipo"
6653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 LIPO=$ac_cv_prog_LIPO
6663 if test -n "$LIPO"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6665 $as_echo "$LIPO" >&6; }
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6673 if test -z "$ac_cv_prog_LIPO"; then
6675 # Extract the first word of "lipo", so it can be a program name with args.
6676 set dummy lipo; ac_word=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 $as_echo_n "checking for $ac_word... " >&6; }
6679 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6680 $as_echo_n "(cached) " >&6
6682 if test -n "$ac_ct_LIPO"; then
6683 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689 test -z "$as_dir" && as_dir=.
6690 for ac_exec_ext in '' $ac_executable_extensions; do
6691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6692 ac_cv_prog_ac_ct_LIPO="lipo"
6693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6702 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6703 if test -n "$ac_ct_LIPO"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6705 $as_echo "$ac_ct_LIPO" >&6; }
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6711 if test "x$ac_ct_LIPO" = x; then
6714 case $cross_compiling:$ac_tool_warned in
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6718 ac_tool_warned=yes ;;
6723 LIPO="$ac_cv_prog_LIPO"
6726 if test -n "$ac_tool_prefix"; then
6727 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6728 set dummy ${ac_tool_prefix}otool; 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_OTOOL+:} false; then :
6732 $as_echo_n "(cached) " >&6
6734 if test -n "$OTOOL"; then
6735 ac_cv_prog_OTOOL="$OTOOL" # 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_OTOOL="${ac_tool_prefix}otool"
6745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754 OTOOL=$ac_cv_prog_OTOOL
6755 if test -n "$OTOOL"; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6757 $as_echo "$OTOOL" >&6; }
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 $as_echo "no" >&6; }
6765 if test -z "$ac_cv_prog_OTOOL"; then
6767 # Extract the first word of "otool", so it can be a program name with args.
6768 set dummy otool; ac_word=$2
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 $as_echo_n "checking for $ac_word... " >&6; }
6771 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6772 $as_echo_n "(cached) " >&6
6774 if test -n "$ac_ct_OTOOL"; then
6775 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6781 test -z "$as_dir" && as_dir=.
6782 for ac_exec_ext in '' $ac_executable_extensions; do
6783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6784 ac_cv_prog_ac_ct_OTOOL="otool"
6785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6794 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6795 if test -n "$ac_ct_OTOOL"; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6797 $as_echo "$ac_ct_OTOOL" >&6; }
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6800 $as_echo "no" >&6; }
6803 if test "x$ac_ct_OTOOL" = x; then
6806 case $cross_compiling:$ac_tool_warned in
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6810 ac_tool_warned=yes ;;
6815 OTOOL="$ac_cv_prog_OTOOL"
6818 if test -n "$ac_tool_prefix"; then
6819 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6820 set dummy ${ac_tool_prefix}otool64; 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_OTOOL64+:} false; then :
6824 $as_echo_n "(cached) " >&6
6826 if test -n "$OTOOL64"; then
6827 ac_cv_prog_OTOOL64="$OTOOL64" # 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_OTOOL64="${ac_tool_prefix}otool64"
6837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6846 OTOOL64=$ac_cv_prog_OTOOL64
6847 if test -n "$OTOOL64"; then
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6849 $as_echo "$OTOOL64" >&6; }
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 $as_echo "no" >&6; }
6857 if test -z "$ac_cv_prog_OTOOL64"; then
6858 ac_ct_OTOOL64=$OTOOL64
6859 # Extract the first word of "otool64", so it can be a program name with args.
6860 set dummy otool64; ac_word=$2
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6862 $as_echo_n "checking for $ac_word... " >&6; }
6863 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6864 $as_echo_n "(cached) " >&6
6866 if test -n "$ac_ct_OTOOL64"; then
6867 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6873 test -z "$as_dir" && as_dir=.
6874 for ac_exec_ext in '' $ac_executable_extensions; do
6875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6876 ac_cv_prog_ac_ct_OTOOL64="otool64"
6877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6886 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6887 if test -n "$ac_ct_OTOOL64"; then
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6889 $as_echo "$ac_ct_OTOOL64" >&6; }
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 $as_echo "no" >&6; }
6895 if test "x$ac_ct_OTOOL64" = x; then
6898 case $cross_compiling:$ac_tool_warned in
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6902 ac_tool_warned=yes ;;
6904 OTOOL64=$ac_ct_OTOOL64
6907 OTOOL64="$ac_cv_prog_OTOOL64"
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6937 $as_echo_n "checking for -single_module linker flag... " >&6; }
6938 if ${lt_cv_apple_cc_single_mod+:} false; then :
6939 $as_echo_n "(cached) " >&6
6941 lt_cv_apple_cc_single_mod=no
6942 if test -z "${LT_MULTI_MODULE}"; then
6943 # By default we will add the -single_module flag. You can override
6944 # by either setting the environment variable LT_MULTI_MODULE
6945 # non-empty at configure time, or by adding -multi_module to the
6947 rm -rf libconftest.dylib*
6948 echo "int foo(void){return 1;}" > conftest.c
6949 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6950 -dynamiclib -Wl,-single_module conftest.c" >&5
6951 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6952 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6954 # If there is a non-empty error log, and "single_module"
6955 # appears in it, assume the flag caused a linker warning
6956 if test -s conftest.err && $GREP single_module conftest.err; then
6957 cat conftest.err >&5
6958 # Otherwise, if the output was created with a 0 exit code from
6959 # the compiler, it worked.
6960 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6961 lt_cv_apple_cc_single_mod=yes
6963 cat conftest.err >&5
6965 rm -rf libconftest.dylib*
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6970 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6973 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6974 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6975 $as_echo_n "(cached) " >&6
6977 lt_cv_ld_exported_symbols_list=no
6978 save_LDFLAGS=$LDFLAGS
6979 echo "_main" > conftest.sym
6980 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6982 /* end confdefs.h. */
6992 if ac_fn_c_try_link "$LINENO"; then :
6993 lt_cv_ld_exported_symbols_list=yes
6995 lt_cv_ld_exported_symbols_list=no
6997 rm -f core conftest.err conftest.$ac_objext \
6998 conftest$ac_exeext conftest.$ac_ext
6999 LDFLAGS="$save_LDFLAGS"
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7003 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7006 $as_echo_n "checking for -force_load linker flag... " >&6; }
7007 if ${lt_cv_ld_force_load+:} false; then :
7008 $as_echo_n "(cached) " >&6
7010 lt_cv_ld_force_load=no
7011 cat > conftest.c << _LT_EOF
7012 int forced_loaded() { return 2;}
7014 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7015 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7016 echo "$AR cru libconftest.a conftest.o" >&5
7017 $AR cru libconftest.a conftest.o 2>&5
7018 echo "$RANLIB libconftest.a" >&5
7019 $RANLIB libconftest.a 2>&5
7020 cat > conftest.c << _LT_EOF
7021 int main() { return 0;}
7023 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7024 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7026 if test -s conftest.err && $GREP force_load conftest.err; then
7027 cat conftest.err >&5
7028 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7029 lt_cv_ld_force_load=yes
7031 cat conftest.err >&5
7033 rm -f conftest.err libconftest.a conftest conftest.c
7034 rm -rf conftest.dSYM
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7038 $as_echo "$lt_cv_ld_force_load" >&6; }
7040 rhapsody* | darwin1.[012])
7041 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7043 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7044 darwin*) # darwin 5.x on
7045 # if running on 10.5 or later, the deployment target defaults
7046 # to the OS version, if on x86, and 10.4, the deployment
7047 # target defaults to 10.4. Don't you love it?
7048 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7049 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7050 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7052 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7054 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7058 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7059 _lt_dar_single_mod='$single_module'
7061 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7062 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7064 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7066 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7067 _lt_dsymutil='~$DSYMUTIL $lib || :'
7075 ac_cpp='$CPP $CPPFLAGS'
7076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7080 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7081 # On Suns, sometimes $CPP names a directory.
7082 if test -n "$CPP" && test -d "$CPP"; then
7085 if test -z "$CPP"; then
7086 if ${ac_cv_prog_CPP+:} false; then :
7087 $as_echo_n "(cached) " >&6
7089 # Double quotes because CPP needs to be expanded
7090 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7093 for ac_c_preproc_warn_flag in '' yes
7095 # Use a header file that comes with gcc, so configuring glibc
7096 # with a fresh cross-compiler works.
7097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7098 # <limits.h> exists even on freestanding compilers.
7099 # On the NeXT, cc -E runs the code through the compiler's parser,
7100 # not just through cpp. "Syntax error" is here to catch this case.
7101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7102 /* end confdefs.h. */
7104 # include <limits.h>
7106 # include <assert.h>
7110 if ac_fn_c_try_cpp "$LINENO"; then :
7113 # Broken: fails on valid input.
7116 rm -f conftest.err conftest.i conftest.$ac_ext
7118 # OK, works on sane cases. Now check whether nonexistent headers
7119 # can be detected and how.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #include <ac_nonexistent.h>
7124 if ac_fn_c_try_cpp "$LINENO"; then :
7125 # Broken: success on invalid input.
7128 # Passes both tests.
7132 rm -f conftest.err conftest.i conftest.$ac_ext
7135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7136 rm -f conftest.i conftest.err conftest.$ac_ext
7137 if $ac_preproc_ok; then :
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7150 $as_echo "$CPP" >&6; }
7152 for ac_c_preproc_warn_flag in '' yes
7154 # Use a header file that comes with gcc, so configuring glibc
7155 # with a fresh cross-compiler works.
7156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7157 # <limits.h> exists even on freestanding compilers.
7158 # On the NeXT, cc -E runs the code through the compiler's parser,
7159 # not just through cpp. "Syntax error" is here to catch this case.
7160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7161 /* end confdefs.h. */
7163 # include <limits.h>
7165 # include <assert.h>
7169 if ac_fn_c_try_cpp "$LINENO"; then :
7172 # Broken: fails on valid input.
7175 rm -f conftest.err conftest.i conftest.$ac_ext
7177 # OK, works on sane cases. Now check whether nonexistent headers
7178 # can be detected and how.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7181 #include <ac_nonexistent.h>
7183 if ac_fn_c_try_cpp "$LINENO"; then :
7184 # Broken: success on invalid input.
7187 # Passes both tests.
7191 rm -f conftest.err conftest.i conftest.$ac_ext
7194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7195 rm -f conftest.i conftest.err conftest.$ac_ext
7196 if $ac_preproc_ok; then :
7199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7201 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7202 See \`config.log' for more details" "$LINENO" 5; }
7206 ac_cpp='$CPP $CPPFLAGS'
7207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7213 $as_echo_n "checking for ANSI C header files... " >&6; }
7214 if ${ac_cv_header_stdc+:} false; then :
7215 $as_echo_n "(cached) " >&6
7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7232 if ac_fn_c_try_compile "$LINENO"; then :
7233 ac_cv_header_stdc=yes
7235 ac_cv_header_stdc=no
7237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7239 if test $ac_cv_header_stdc = yes; then
7240 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h. */
7246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7247 $EGREP "memchr" >/dev/null 2>&1; then :
7250 ac_cv_header_stdc=no
7256 if test $ac_cv_header_stdc = yes; then
7257 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h. */
7263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7264 $EGREP "free" >/dev/null 2>&1; then :
7267 ac_cv_header_stdc=no
7273 if test $ac_cv_header_stdc = yes; then
7274 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7275 if test "$cross_compiling" = yes; then :
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h. */
7282 #if ((' ' & 0x0FF) == 0x020)
7283 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7284 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7286 # define ISLOWER(c) \
7287 (('a' <= (c) && (c) <= 'i') \
7288 || ('j' <= (c) && (c) <= 'r') \
7289 || ('s' <= (c) && (c) <= 'z'))
7290 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7293 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7298 for (i = 0; i < 256; i++)
7299 if (XOR (islower (i), ISLOWER (i))
7300 || toupper (i) != TOUPPER (i))
7305 if ac_fn_c_try_run "$LINENO"; then :
7308 ac_cv_header_stdc=no
7310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7311 conftest.$ac_objext conftest.beam conftest.$ac_ext
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7317 $as_echo "$ac_cv_header_stdc" >&6; }
7318 if test $ac_cv_header_stdc = yes; then
7320 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7324 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7325 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7326 inttypes.h stdint.h unistd.h
7328 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7329 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7331 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7332 cat >>confdefs.h <<_ACEOF
7333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7341 for ac_header in dlfcn.h
7343 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7345 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7346 cat >>confdefs.h <<_ACEOF
7347 #define HAVE_DLFCN_H 1
7368 # Check whether --enable-shared was given.
7369 if test "${enable_shared+set}" = set; then :
7370 enableval=$enable_shared; p=${PACKAGE-default}
7372 yes) enable_shared=yes ;;
7373 no) enable_shared=no ;;
7376 # Look at the argument we got. We use all the common list separators.
7377 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7378 for pkg in $enableval; do
7380 if test "X$pkg" = "X$p"; then
7401 # Check whether --with-pic was given.
7402 if test "${with_pic+set}" = set; then :
7403 withval=$with_pic; lt_p=${PACKAGE-default}
7405 yes|no) pic_mode=$withval ;;
7408 # Look at the argument we got. We use all the common list separators.
7409 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7410 for lt_pkg in $withval; do
7412 if test "X$lt_pkg" = "X$lt_p"; then
7424 test -z "$pic_mode" && pic_mode=default
7432 # Check whether --enable-fast-install was given.
7433 if test "${enable_fast_install+set}" = set; then :
7434 enableval=$enable_fast_install; p=${PACKAGE-default}
7436 yes) enable_fast_install=yes ;;
7437 no) enable_fast_install=no ;;
7439 enable_fast_install=no
7440 # Look at the argument we got. We use all the common list separators.
7441 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7442 for pkg in $enableval; do
7444 if test "X$pkg" = "X$p"; then
7445 enable_fast_install=yes
7452 enable_fast_install=yes
7465 # This can be used to rebuild libtool when needed
7466 LIBTOOL_DEPS="$ltmain"
7468 # Always use our own libtool.
7469 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7500 test -z "$LN_S" && LN_S="ln -s"
7515 if test -n "${ZSH_VERSION+set}" ; then
7516 setopt NO_GLOB_SUBST
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7520 $as_echo_n "checking for objdir... " >&6; }
7521 if ${lt_cv_objdir+:} false; then :
7522 $as_echo_n "(cached) " >&6
7524 rm -f .libs 2>/dev/null
7525 mkdir .libs 2>/dev/null
7526 if test -d .libs; then
7529 # MS-DOS does not allow filenames that begin with a dot.
7532 rmdir .libs 2>/dev/null
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7535 $as_echo "$lt_cv_objdir" >&6; }
7536 objdir=$lt_cv_objdir
7542 cat >>confdefs.h <<_ACEOF
7543 #define LT_OBJDIR "$lt_cv_objdir/"
7551 # AIX sometimes has problems with the GCC collect2 program. For some
7552 # reason, if we set the COLLECT_NAMES environment variable, the problems
7553 # vanish in a puff of smoke.
7554 if test "X${COLLECT_NAMES+set}" != Xset; then
7556 export COLLECT_NAMES
7563 can_build_shared=yes
7565 # All known linkers require a `.a' archive for static linking (except MSVC,
7566 # which needs '.lib').
7569 with_gnu_ld="$lt_cv_prog_gnu_ld"
7572 old_CFLAGS="$CFLAGS"
7574 # Set sane defaults for various variables
7575 test -z "$CC" && CC=cc
7576 test -z "$LTCC" && LTCC=$CC
7577 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7578 test -z "$LD" && LD=ld
7579 test -z "$ac_objext" && ac_objext=o
7581 for cc_temp in $compiler""; do
7583 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7584 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7589 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7592 # Only perform the check for file, if the check method requires it
7593 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7594 case $deplibs_check_method in
7596 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7598 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7599 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7600 $as_echo_n "(cached) " >&6
7604 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7607 lt_save_MAGIC_CMD="$MAGIC_CMD"
7608 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7609 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7610 for ac_dir in $ac_dummy; do
7612 test -z "$ac_dir" && ac_dir=.
7613 if test -f $ac_dir/${ac_tool_prefix}file; then
7614 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7615 if test -n "$file_magic_test_file"; then
7616 case $deplibs_check_method in
7618 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7619 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7620 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7621 $EGREP "$file_magic_regex" > /dev/null; then
7626 *** Warning: the command libtool uses to detect shared libraries,
7627 *** $file_magic_cmd, produces output that libtool cannot recognize.
7628 *** The result is that libtool may fail to recognize shared libraries
7629 *** as such. This will affect the creation of libtool libraries that
7630 *** depend on shared libraries, but programs linked with such libtool
7631 *** libraries will work regardless of this problem. Nevertheless, you
7632 *** may want to report the problem to your system manager and/or to
7633 *** bug-libtool@gnu.org
7643 MAGIC_CMD="$lt_save_MAGIC_CMD"
7648 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7649 if test -n "$MAGIC_CMD"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7651 $as_echo "$MAGIC_CMD" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7661 if test -z "$lt_cv_path_MAGIC_CMD"; then
7662 if test -n "$ac_tool_prefix"; then
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7664 $as_echo_n "checking for file... " >&6; }
7665 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7666 $as_echo_n "(cached) " >&6
7670 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7673 lt_save_MAGIC_CMD="$MAGIC_CMD"
7674 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7675 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7676 for ac_dir in $ac_dummy; do
7678 test -z "$ac_dir" && ac_dir=.
7679 if test -f $ac_dir/file; then
7680 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7681 if test -n "$file_magic_test_file"; then
7682 case $deplibs_check_method in
7684 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7685 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7686 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7687 $EGREP "$file_magic_regex" > /dev/null; then
7692 *** Warning: the command libtool uses to detect shared libraries,
7693 *** $file_magic_cmd, produces output that libtool cannot recognize.
7694 *** The result is that libtool may fail to recognize shared libraries
7695 *** as such. This will affect the creation of libtool libraries that
7696 *** depend on shared libraries, but programs linked with such libtool
7697 *** libraries will work regardless of this problem. Nevertheless, you
7698 *** may want to report the problem to your system manager and/or to
7699 *** bug-libtool@gnu.org
7709 MAGIC_CMD="$lt_save_MAGIC_CMD"
7714 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7715 if test -n "$MAGIC_CMD"; then
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7717 $as_echo "$MAGIC_CMD" >&6; }
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7720 $as_echo "no" >&6; }
7733 # Use C for the default configuration in the libtool script
7737 ac_cpp='$CPP $CPPFLAGS'
7738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7743 # Source file extension for C test sources.
7746 # Object file extension for compiled C test sources.
7750 # Code to be used in simple compile tests
7751 lt_simple_compile_test_code="int some_variable = 0;"
7753 # Code to be used in simple link tests
7754 lt_simple_link_test_code='int main(){return(0);}'
7762 # If no C compiler was specified, use CC.
7765 # If no C compiler flags were specified, use CFLAGS.
7766 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7768 # Allow CC to be a program name with arguments.
7771 # Save the default compiler, since it gets overwritten when the other
7772 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7773 compiler_DEFAULT=$CC
7775 # save warnings/boilerplate of simple test code
7776 ac_outfile=conftest.$ac_objext
7777 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7778 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7779 _lt_compiler_boilerplate=`cat conftest.err`
7782 ac_outfile=conftest.$ac_objext
7783 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7784 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7785 _lt_linker_boilerplate=`cat conftest.err`
7789 if test -n "$compiler"; then
7791 lt_prog_compiler_no_builtin_flag=
7793 if test "$GCC" = yes; then
7794 case $cc_basename in
7796 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7798 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7802 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7803 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7804 $as_echo_n "(cached) " >&6
7806 lt_cv_prog_compiler_rtti_exceptions=no
7807 ac_outfile=conftest.$ac_objext
7808 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7809 lt_compiler_flag="-fno-rtti -fno-exceptions"
7810 # Insert the option either (1) after the last *FLAGS variable, or
7811 # (2) before a word containing "conftest.", or (3) at the end.
7812 # Note that $ac_compile itself does not contain backslashes and begins
7813 # with a dollar sign (not a hyphen), so the echo should work correctly.
7814 # The option is referenced via a variable to avoid confusing sed.
7815 lt_compile=`echo "$ac_compile" | $SED \
7816 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7818 -e 's:$: $lt_compiler_flag:'`
7819 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7820 (eval "$lt_compile" 2>conftest.err)
7822 cat conftest.err >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 if (exit $ac_status) && test -s "$ac_outfile"; then
7825 # The compiler can only warn and ignore the option if not recognized
7826 # So say no if there are warnings other than the usual output.
7827 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7828 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7829 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7830 lt_cv_prog_compiler_rtti_exceptions=yes
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7837 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7839 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7840 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7852 lt_prog_compiler_wl=
7853 lt_prog_compiler_pic=
7854 lt_prog_compiler_static=
7857 if test "$GCC" = yes; then
7858 lt_prog_compiler_wl='-Wl,'
7859 lt_prog_compiler_static='-static'
7863 # All AIX code is PIC.
7864 if test "$host_cpu" = ia64; then
7865 # AIX 5 now supports IA64 processor
7866 lt_prog_compiler_static='-Bstatic'
7873 # see comment about AmigaOS4 .so support
7874 lt_prog_compiler_pic='-fPIC'
7877 # FIXME: we need at least 68020 code to build shared libraries, but
7878 # adding the `-m68020' flag to GCC prevents building anything better,
7880 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7885 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7886 # PIC is the default for these OSes.
7889 mingw* | cygwin* | pw32* | os2* | cegcc*)
7890 # This hack is so that the source file can tell whether it is being
7891 # built for inclusion in a dll (and should export symbols for example).
7892 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7893 # (--disable-auto-import) libraries
7894 lt_prog_compiler_pic='-DDLL_EXPORT'
7897 darwin* | rhapsody*)
7898 # PIC is the default on this platform
7899 # Common symbols not allowed in MH_DYLIB files
7900 lt_prog_compiler_pic='-fno-common'
7904 # PIC is the default for Haiku.
7905 # The "-static" flag exists, but is broken.
7906 lt_prog_compiler_static=
7910 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7911 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7912 # sets the default TLS model and affects inlining.
7918 lt_prog_compiler_pic='-fPIC'
7924 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7925 # Instead, we relocate shared libraries at runtime.
7929 # Just because we use GCC doesn't mean we suddenly get shared libraries
7930 # on systems that don't support them.
7931 lt_prog_compiler_can_build_shared=no
7936 # QNX uses GNU C++, but need to define -shared option too, otherwise
7938 lt_prog_compiler_pic='-fPIC -shared'
7942 if test -d /usr/nec; then
7943 lt_prog_compiler_pic=-Kconform_pic
7948 lt_prog_compiler_pic='-fPIC'
7952 case $cc_basename in
7953 nvcc*) # Cuda Compiler Driver 2.2
7954 lt_prog_compiler_wl='-Xlinker '
7955 if test -n "$lt_prog_compiler_pic"; then
7956 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7961 # PORTME Check for flag to pass linker flags through the system compiler.
7964 lt_prog_compiler_wl='-Wl,'
7965 if test "$host_cpu" = ia64; then
7966 # AIX 5 now supports IA64 processor
7967 lt_prog_compiler_static='-Bstatic'
7969 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7973 mingw* | cygwin* | pw32* | os2* | cegcc*)
7974 # This hack is so that the source file can tell whether it is being
7975 # built for inclusion in a dll (and should export symbols for example).
7976 lt_prog_compiler_pic='-DDLL_EXPORT'
7979 hpux9* | hpux10* | hpux11*)
7980 lt_prog_compiler_wl='-Wl,'
7981 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7988 lt_prog_compiler_pic='+Z'
7991 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7992 lt_prog_compiler_static='${wl}-a ${wl}archive'
7995 irix5* | irix6* | nonstopux*)
7996 lt_prog_compiler_wl='-Wl,'
7997 # PIC (with -KPIC) is the default.
7998 lt_prog_compiler_static='-non_shared'
8001 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8002 case $cc_basename in
8003 # old Intel for x86_64 which still supported -KPIC.
8005 lt_prog_compiler_wl='-Wl,'
8006 lt_prog_compiler_pic='-KPIC'
8007 lt_prog_compiler_static='-static'
8009 # icc used to be incompatible with GCC.
8010 # ICC 10 doesn't accept -KPIC any more.
8012 lt_prog_compiler_wl='-Wl,'
8013 lt_prog_compiler_pic='-fPIC'
8014 lt_prog_compiler_static='-static'
8016 # Lahey Fortran 8.1.
8018 lt_prog_compiler_wl='-Wl,'
8019 lt_prog_compiler_pic='--shared'
8020 lt_prog_compiler_static='--static'
8023 # NAG Fortran compiler
8024 lt_prog_compiler_wl='-Wl,-Wl,,'
8025 lt_prog_compiler_pic='-PIC'
8026 lt_prog_compiler_static='-Bstatic'
8028 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8029 # Portland Group compilers (*not* the Pentium gcc compiler,
8030 # which looks to be a dead project)
8031 lt_prog_compiler_wl='-Wl,'
8032 lt_prog_compiler_pic='-fpic'
8033 lt_prog_compiler_static='-Bstatic'
8036 lt_prog_compiler_wl='-Wl,'
8037 # All Alpha code is PIC.
8038 lt_prog_compiler_static='-non_shared'
8040 xl* | bgxl* | bgf* | mpixl*)
8041 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8042 lt_prog_compiler_wl='-Wl,'
8043 lt_prog_compiler_pic='-qpic'
8044 lt_prog_compiler_static='-qstaticlink'
8047 case `$CC -V 2>&1 | sed 5q` in
8048 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8049 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8050 lt_prog_compiler_pic='-KPIC'
8051 lt_prog_compiler_static='-Bstatic'
8052 lt_prog_compiler_wl=''
8054 *Sun\ F* | *Sun*Fortran*)
8055 lt_prog_compiler_pic='-KPIC'
8056 lt_prog_compiler_static='-Bstatic'
8057 lt_prog_compiler_wl='-Qoption ld '
8061 lt_prog_compiler_pic='-KPIC'
8062 lt_prog_compiler_static='-Bstatic'
8063 lt_prog_compiler_wl='-Wl,'
8065 *Intel*\ [CF]*Compiler*)
8066 lt_prog_compiler_wl='-Wl,'
8067 lt_prog_compiler_pic='-fPIC'
8068 lt_prog_compiler_static='-static'
8071 lt_prog_compiler_wl='-Wl,'
8072 lt_prog_compiler_pic='-fpic'
8073 lt_prog_compiler_static='-Bstatic'
8081 lt_prog_compiler_pic='-KPIC'
8082 lt_prog_compiler_static='-Bstatic'
8086 # QNX uses GNU C++, but need to define -shared option too, otherwise
8088 lt_prog_compiler_pic='-fPIC -shared'
8091 osf3* | osf4* | osf5*)
8092 lt_prog_compiler_wl='-Wl,'
8093 # All OSF/1 code is PIC.
8094 lt_prog_compiler_static='-non_shared'
8098 lt_prog_compiler_static='-non_shared'
8102 lt_prog_compiler_pic='-KPIC'
8103 lt_prog_compiler_static='-Bstatic'
8104 case $cc_basename in
8105 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8106 lt_prog_compiler_wl='-Qoption ld ';;
8108 lt_prog_compiler_wl='-Wl,';;
8113 lt_prog_compiler_wl='-Qoption ld '
8114 lt_prog_compiler_pic='-PIC'
8115 lt_prog_compiler_static='-Bstatic'
8118 sysv4 | sysv4.2uw2* | sysv4.3*)
8119 lt_prog_compiler_wl='-Wl,'
8120 lt_prog_compiler_pic='-KPIC'
8121 lt_prog_compiler_static='-Bstatic'
8125 if test -d /usr/nec ;then
8126 lt_prog_compiler_pic='-Kconform_pic'
8127 lt_prog_compiler_static='-Bstatic'
8131 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8132 lt_prog_compiler_wl='-Wl,'
8133 lt_prog_compiler_pic='-KPIC'
8134 lt_prog_compiler_static='-Bstatic'
8138 lt_prog_compiler_wl='-Wl,'
8139 lt_prog_compiler_can_build_shared=no
8143 lt_prog_compiler_pic='-pic'
8144 lt_prog_compiler_static='-Bstatic'
8148 lt_prog_compiler_can_build_shared=no
8154 # For platforms which do not support PIC, -DPIC is meaningless:
8156 lt_prog_compiler_pic=
8159 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8164 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8165 if ${lt_cv_prog_compiler_pic+:} false; then :
8166 $as_echo_n "(cached) " >&6
8168 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8171 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8172 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8175 # Check to make sure the PIC flag actually works.
8177 if test -n "$lt_prog_compiler_pic"; then
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8179 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8180 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8181 $as_echo_n "(cached) " >&6
8183 lt_cv_prog_compiler_pic_works=no
8184 ac_outfile=conftest.$ac_objext
8185 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8186 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8187 # Insert the option either (1) after the last *FLAGS variable, or
8188 # (2) before a word containing "conftest.", or (3) at the end.
8189 # Note that $ac_compile itself does not contain backslashes and begins
8190 # with a dollar sign (not a hyphen), so the echo should work correctly.
8191 # The option is referenced via a variable to avoid confusing sed.
8192 lt_compile=`echo "$ac_compile" | $SED \
8193 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8194 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8195 -e 's:$: $lt_compiler_flag:'`
8196 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8197 (eval "$lt_compile" 2>conftest.err)
8199 cat conftest.err >&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 if (exit $ac_status) && test -s "$ac_outfile"; then
8202 # The compiler can only warn and ignore the option if not recognized
8203 # So say no if there are warnings other than the usual output.
8204 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8205 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8206 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8207 lt_cv_prog_compiler_pic_works=yes
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8214 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8216 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8217 case $lt_prog_compiler_pic in
8219 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8222 lt_prog_compiler_pic=
8223 lt_prog_compiler_can_build_shared=no
8239 # Check to make sure the static flag actually works.
8241 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8243 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8244 if ${lt_cv_prog_compiler_static_works+:} false; then :
8245 $as_echo_n "(cached) " >&6
8247 lt_cv_prog_compiler_static_works=no
8248 save_LDFLAGS="$LDFLAGS"
8249 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8250 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8251 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8252 # The linker can only warn and ignore the option if not recognized
8253 # So say no if there are warnings
8254 if test -s conftest.err; then
8255 # Append any errors to the config.log.
8256 cat conftest.err 1>&5
8257 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8258 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8259 if diff conftest.exp conftest.er2 >/dev/null; then
8260 lt_cv_prog_compiler_static_works=yes
8263 lt_cv_prog_compiler_static_works=yes
8267 LDFLAGS="$save_LDFLAGS"
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8271 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8273 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8276 lt_prog_compiler_static=
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8286 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8287 if ${lt_cv_prog_compiler_c_o+:} false; then :
8288 $as_echo_n "(cached) " >&6
8290 lt_cv_prog_compiler_c_o=no
8291 $RM -r conftest 2>/dev/null
8295 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8297 lt_compiler_flag="-o out/conftest2.$ac_objext"
8298 # Insert the option either (1) after the last *FLAGS variable, or
8299 # (2) before a word containing "conftest.", or (3) at the end.
8300 # Note that $ac_compile itself does not contain backslashes and begins
8301 # with a dollar sign (not a hyphen), so the echo should work correctly.
8302 lt_compile=`echo "$ac_compile" | $SED \
8303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8305 -e 's:$: $lt_compiler_flag:'`
8306 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8307 (eval "$lt_compile" 2>out/conftest.err)
8309 cat out/conftest.err >&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8313 # The compiler can only warn and ignore the option if not recognized
8314 # So say no if there are warnings
8315 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8316 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8317 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8318 lt_cv_prog_compiler_c_o=yes
8323 # SGI C++ compiler will create directory out/ii_files/ for
8324 # template instantiation
8325 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8326 $RM out/* && rmdir out
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8333 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8341 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8342 if ${lt_cv_prog_compiler_c_o+:} false; then :
8343 $as_echo_n "(cached) " >&6
8345 lt_cv_prog_compiler_c_o=no
8346 $RM -r conftest 2>/dev/null
8350 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8352 lt_compiler_flag="-o out/conftest2.$ac_objext"
8353 # Insert the option either (1) after the last *FLAGS variable, or
8354 # (2) before a word containing "conftest.", or (3) at the end.
8355 # Note that $ac_compile itself does not contain backslashes and begins
8356 # with a dollar sign (not a hyphen), so the echo should work correctly.
8357 lt_compile=`echo "$ac_compile" | $SED \
8358 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8359 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8360 -e 's:$: $lt_compiler_flag:'`
8361 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8362 (eval "$lt_compile" 2>out/conftest.err)
8364 cat out/conftest.err >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8368 # The compiler can only warn and ignore the option if not recognized
8369 # So say no if there are warnings
8370 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8371 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8372 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8373 lt_cv_prog_compiler_c_o=yes
8378 # SGI C++ compiler will create directory out/ii_files/ for
8379 # template instantiation
8380 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8381 $RM out/* && rmdir out
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8388 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8393 hard_links="nottested"
8394 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8395 # do not overwrite the value of need_locks provided by the user
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8397 $as_echo_n "checking if we can lock with hard links... " >&6; }
8400 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8402 ln conftest.a conftest.b 2>&5 || hard_links=no
8403 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8405 $as_echo "$hard_links" >&6; }
8406 if test "$hard_links" = no; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8408 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8421 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8424 allow_undefined_flag=
8425 always_export_symbols=no
8427 archive_expsym_cmds=
8428 compiler_needs_object=no
8429 enable_shared_with_static_runtimes=no
8430 export_dynamic_flag_spec=
8431 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8432 hardcode_automatic=no
8434 hardcode_direct_absolute=no
8435 hardcode_libdir_flag_spec=
8436 hardcode_libdir_separator=
8438 hardcode_shlibpath_var=unsupported
8440 link_all_deplibs=unknown
8443 old_archive_from_new_cmds=
8444 old_archive_from_expsyms_cmds=
8445 thread_safe_flag_spec=
8446 whole_archive_flag_spec=
8447 # include_expsyms should be a list of space-separated symbols to be *always*
8448 # included in the symbol list
8450 # exclude_expsyms can be an extended regexp of symbols to exclude
8451 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8452 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8453 # as well as any symbol that contains `d'.
8454 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8455 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8456 # platforms (ab)use it in PIC code, but their linkers get confused if
8457 # the symbol is explicitly referenced. Since portable code cannot
8458 # rely on this symbol name, it's probably fine to never include it in
8459 # preloaded symbol tables.
8460 # Exclude shared library initialization/finalization symbols.
8461 extract_expsyms_cmds=
8464 cygwin* | mingw* | pw32* | cegcc*)
8465 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8466 # When not using gcc, we currently assume that we are using
8467 # Microsoft Visual C++.
8468 if test "$GCC" != yes; then
8473 # we just hope/assume this is gcc and not c89 (= MSVC++)
8483 # On some targets, GNU ld is compatible enough with the native linker
8484 # that we're better off using the native interface for both.
8485 lt_use_gnu_ld_interface=no
8486 if test "$with_gnu_ld" = yes; then
8489 # The AIX port of GNU ld has always aspired to compatibility
8490 # with the native linker. However, as the warning in the GNU ld
8491 # block says, versions before 2.19.5* couldn't really create working
8492 # shared libraries, regardless of the interface used.
8493 case `$LD -v 2>&1` in
8494 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8495 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8496 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8498 lt_use_gnu_ld_interface=yes
8503 lt_use_gnu_ld_interface=yes
8508 if test "$lt_use_gnu_ld_interface" = yes; then
8509 # If archive_cmds runs LD, not CC, wlarc should be empty
8512 # Set some defaults for GNU ld with shared library support. These
8513 # are reset later if shared libraries are not supported. Putting them
8514 # here allows them to be overridden if necessary.
8515 runpath_var=LD_RUN_PATH
8516 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8517 export_dynamic_flag_spec='${wl}--export-dynamic'
8518 # ancient GNU ld didn't support --whole-archive et. al.
8519 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8520 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8522 whole_archive_flag_spec=
8524 supports_anon_versioning=no
8525 case `$LD -v 2>&1` in
8526 *GNU\ gold*) supports_anon_versioning=yes ;;
8527 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8528 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8529 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8530 *\ 2.11.*) ;; # other 2.11 versions
8531 *) supports_anon_versioning=yes ;;
8534 # See if GNU ld supports shared libraries.
8537 # On AIX/PPC, the GNU linker is very broken
8538 if test "$host_cpu" != ia64; then
8542 *** Warning: the GNU linker, at least up to release 2.19, is reported
8543 *** to be unable to reliably create shared libraries on AIX.
8544 *** Therefore, libtool is disabling shared libraries support. If you
8545 *** really care for shared libraries, you may want to install binutils
8546 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8547 *** You will then need to restart the configuration process.
8556 # see comment about AmigaOS4 .so support
8557 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8558 archive_expsym_cmds=''
8561 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)'
8562 hardcode_libdir_flag_spec='-L$libdir'
8563 hardcode_minus_L=yes
8569 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8570 allow_undefined_flag=unsupported
8571 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8572 # support --undefined. This deserves some investigation. FIXME
8573 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8579 cygwin* | mingw* | pw32* | cegcc*)
8580 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8581 # as there is no search path for DLLs.
8582 hardcode_libdir_flag_spec='-L$libdir'
8583 export_dynamic_flag_spec='${wl}--export-all-symbols'
8584 allow_undefined_flag=unsupported
8585 always_export_symbols=no
8586 enable_shared_with_static_runtimes=yes
8587 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'
8588 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8590 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8591 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8592 # If the export-symbols file already is a .def file (1st line
8593 # is EXPORTS), use it as is; otherwise, prepend...
8594 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8595 cp $export_symbols $output_objdir/$soname.def;
8597 echo EXPORTS > $output_objdir/$soname.def;
8598 cat $export_symbols >> $output_objdir/$soname.def;
8600 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8607 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8608 link_all_deplibs=yes
8613 hardcode_shlibpath_var=no
8614 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8615 export_dynamic_flag_spec='${wl}-E'
8616 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8617 # Instead, shared libraries are loaded at an image base (0x10000000 by
8618 # default) and relocated if they conflict, which is a slow very memory
8619 # consuming and fragmenting process. To avoid this, we pick a random,
8620 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8621 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8622 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8623 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'
8626 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8628 if test "$host_os" = linux-dietlibc; then
8629 case $cc_basename in
8630 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8633 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8634 && test "$tmp_diet" = no
8636 tmp_addflag=' $pic_flag'
8637 tmp_sharedflag='-shared'
8638 case $cc_basename,$host_cpu in
8639 pgcc*) # Portland Group C compiler
8640 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'
8641 tmp_addflag=' $pic_flag'
8643 pgf77* | pgf90* | pgf95* | pgfortran*)
8644 # Portland Group f77 and f90 compilers
8645 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'
8646 tmp_addflag=' $pic_flag -Mnomain' ;;
8647 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8648 tmp_addflag=' -i_dynamic' ;;
8649 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8650 tmp_addflag=' -i_dynamic -nofor_main' ;;
8651 ifc* | ifort*) # Intel Fortran compiler
8652 tmp_addflag=' -nofor_main' ;;
8653 lf95*) # Lahey Fortran 8.1
8654 whole_archive_flag_spec=
8655 tmp_sharedflag='--shared' ;;
8656 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8657 tmp_sharedflag='-qmkshrobj'
8659 nvcc*) # Cuda Compiler Driver 2.2
8660 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'
8661 compiler_needs_object=yes
8664 case `$CC -V 2>&1 | sed 5q` in
8665 *Sun\ C*) # Sun C 5.9
8666 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'
8667 compiler_needs_object=yes
8668 tmp_sharedflag='-G' ;;
8669 *Sun\ F*) # Sun Fortran 8.3
8670 tmp_sharedflag='-G' ;;
8672 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8674 if test "x$supports_anon_versioning" = xyes; then
8675 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8676 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8677 echo "local: *; };" >> $output_objdir/$libname.ver~
8678 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8681 case $cc_basename in
8682 xlf* | bgf* | bgxlf* | mpixlf*)
8683 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8684 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8685 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8686 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8687 if test "x$supports_anon_versioning" = xyes; then
8688 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8689 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8690 echo "local: *; };" >> $output_objdir/$libname.ver~
8691 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8701 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8702 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8705 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8706 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8711 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8715 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8716 *** create shared libraries on Solaris systems. Therefore, libtool
8717 *** is disabling shared libraries support. We urge you to upgrade GNU
8718 *** binutils to release 2.9.1 or newer. Another option is to modify
8719 *** your PATH or compiler configuration so that the native linker is
8720 *** used, and then restart.
8723 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8724 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8725 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8731 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8732 case `$LD -v 2>&1` in
8733 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8737 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8738 *** reliably create shared libraries on SCO systems. Therefore, libtool
8739 *** is disabling shared libraries support. We urge you to upgrade GNU
8740 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8741 *** your PATH or compiler configuration so that the native linker is
8742 *** used, and then restart.
8747 # For security reasons, it is highly recommended that you always
8748 # use absolute paths for naming shared libraries, and exclude the
8749 # DT_RUNPATH tag from executables and libraries. But doing so
8750 # requires that you compile everything twice, which is a pain.
8751 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8752 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8753 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8754 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8763 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8766 hardcode_shlibpath_var=no
8770 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8771 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8772 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8779 if test "$ld_shlibs" = no; then
8781 hardcode_libdir_flag_spec=
8782 export_dynamic_flag_spec=
8783 whole_archive_flag_spec=
8786 # PORTME fill in a description of your system's linker (not GNU ld)
8789 allow_undefined_flag=unsupported
8790 always_export_symbols=yes
8791 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'
8792 # Note: this linker hardcodes the directories in LIBPATH if there
8793 # are no directories specified by -L.
8794 hardcode_minus_L=yes
8795 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8796 # Neither direct hardcoding nor static linking is supported with a
8798 hardcode_direct=unsupported
8803 if test "$host_cpu" = ia64; then
8804 # On IA64, the linker does run time linking by default, so we don't
8805 # have to do anything special.
8806 aix_use_runtimelinking=no
8807 exp_sym_flag='-Bexport'
8810 # If we're using GNU nm, then we don't want the "-C" option.
8811 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8812 # Also, AIX nm treats weak defined symbols like other global
8813 # defined symbols, whereas GNU nm marks them as "W".
8814 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8815 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'
8817 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'
8819 aix_use_runtimelinking=no
8821 # Test if we are trying to use run time linking or normal
8822 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8823 # need to do runtime linking.
8824 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8825 for ld_flag in $LDFLAGS; do
8826 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8827 aix_use_runtimelinking=yes
8834 exp_sym_flag='-bexport'
8835 no_entry_flag='-bnoentry'
8838 # When large executables or shared objects are built, AIX ld can
8839 # have problems creating the table of contents. If linking a library
8840 # or program results in "error TOC overflow" add -mminimal-toc to
8841 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8842 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8846 hardcode_direct_absolute=yes
8847 hardcode_libdir_separator=':'
8848 link_all_deplibs=yes
8849 file_list_spec='${wl}-f,'
8851 if test "$GCC" = yes; then
8852 case $host_os in aix4.[012]|aix4.[012].*)
8853 # We only want to do this on AIX 4.2 and lower, the check
8854 # below for broken collect2 doesn't work under 4.3+
8855 collect2name=`${CC} -print-prog-name=collect2`
8856 if test -f "$collect2name" &&
8857 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8859 # We have reworked collect2
8862 # We have old collect2
8863 hardcode_direct=unsupported
8864 # It fails to find uninstalled libraries when the uninstalled
8865 # path is not listed in the libpath. Setting hardcode_minus_L
8866 # to unsupported forces relinking
8867 hardcode_minus_L=yes
8868 hardcode_libdir_flag_spec='-L$libdir'
8869 hardcode_libdir_separator=
8873 shared_flag='-shared'
8874 if test "$aix_use_runtimelinking" = yes; then
8875 shared_flag="$shared_flag "'${wl}-G'
8879 if test "$host_cpu" = ia64; then
8880 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8881 # chokes on -Wl,-G. The following line is correct:
8884 if test "$aix_use_runtimelinking" = yes; then
8885 shared_flag='${wl}-G'
8887 shared_flag='${wl}-bM:SRE'
8892 export_dynamic_flag_spec='${wl}-bexpall'
8893 # It seems that -bexpall does not export symbols beginning with
8894 # underscore (_), so it is better to generate a list of symbols to export.
8895 always_export_symbols=yes
8896 if test "$aix_use_runtimelinking" = yes; then
8897 # Warning - without using the other runtime loading flags (-brtl),
8898 # -berok will link without error, but may produce a broken library.
8899 allow_undefined_flag='-berok'
8900 # Determine the default libpath from the value encoded in an
8902 if test "${lt_cv_aix_libpath+set}" = set; then
8903 aix_libpath=$lt_cv_aix_libpath
8905 if ${lt_cv_aix_libpath_+:} false; then :
8906 $as_echo_n "(cached) " >&6
8908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8919 if ac_fn_c_try_link "$LINENO"; then :
8921 lt_aix_libpath_sed='
8922 /Import File Strings/,/^$/ {
8924 s/^0 *\([^ ]*\) *$/\1/
8928 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8929 # Check for a 64-bit object if we didn't find anything.
8930 if test -z "$lt_cv_aix_libpath_"; then
8931 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8934 rm -f core conftest.err conftest.$ac_objext \
8935 conftest$ac_exeext conftest.$ac_ext
8936 if test -z "$lt_cv_aix_libpath_"; then
8937 lt_cv_aix_libpath_="/usr/lib:/lib"
8942 aix_libpath=$lt_cv_aix_libpath_
8945 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8946 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"
8948 if test "$host_cpu" = ia64; then
8949 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8950 allow_undefined_flag="-z nodefs"
8951 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"
8953 # Determine the default libpath from the value encoded in an
8955 if test "${lt_cv_aix_libpath+set}" = set; then
8956 aix_libpath=$lt_cv_aix_libpath
8958 if ${lt_cv_aix_libpath_+:} false; then :
8959 $as_echo_n "(cached) " >&6
8961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8972 if ac_fn_c_try_link "$LINENO"; then :
8974 lt_aix_libpath_sed='
8975 /Import File Strings/,/^$/ {
8977 s/^0 *\([^ ]*\) *$/\1/
8981 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8982 # Check for a 64-bit object if we didn't find anything.
8983 if test -z "$lt_cv_aix_libpath_"; then
8984 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8987 rm -f core conftest.err conftest.$ac_objext \
8988 conftest$ac_exeext conftest.$ac_ext
8989 if test -z "$lt_cv_aix_libpath_"; then
8990 lt_cv_aix_libpath_="/usr/lib:/lib"
8995 aix_libpath=$lt_cv_aix_libpath_
8998 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8999 # Warning - without using the other run time loading flags,
9000 # -berok will link without error, but may produce a broken library.
9001 no_undefined_flag=' ${wl}-bernotok'
9002 allow_undefined_flag=' ${wl}-berok'
9003 if test "$with_gnu_ld" = yes; then
9004 # We only use this code for GNU lds that support --whole-archive.
9005 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9007 # Exported symbols can be pulled into shared objects from archives
9008 whole_archive_flag_spec='$convenience'
9010 archive_cmds_need_lc=yes
9011 # This is similar to how AIX traditionally builds its shared libraries.
9012 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'
9020 # see comment about AmigaOS4 .so support
9021 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9022 archive_expsym_cmds=''
9025 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)'
9026 hardcode_libdir_flag_spec='-L$libdir'
9027 hardcode_minus_L=yes
9033 export_dynamic_flag_spec=-rdynamic
9036 cygwin* | mingw* | pw32* | cegcc*)
9037 # When not using gcc, we currently assume that we are using
9038 # Microsoft Visual C++.
9039 # hardcode_libdir_flag_spec is actually meaningless, as there is
9040 # no search path for DLLs.
9041 case $cc_basename in
9044 hardcode_libdir_flag_spec=' '
9045 allow_undefined_flag=unsupported
9046 always_export_symbols=yes
9048 # Tell ltmain to make .lib files, not .a files.
9050 # Tell ltmain to make .dll files, not .so files.
9052 # FIXME: Setting linknames here is a bad hack.
9053 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9054 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9055 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9057 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9059 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9061 # The linker will not automatically build a static lib if we build a DLL.
9062 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9063 enable_shared_with_static_runtimes=yes
9064 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9065 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9067 old_postinstall_cmds='chmod 644 $oldlib'
9068 postlink_cmds='lt_outputfile="@OUTPUT@"~
9069 lt_tool_outputfile="@TOOL_OUTPUT@"~
9070 case $lt_outputfile in
9073 lt_outputfile="$lt_outputfile.exe"
9074 lt_tool_outputfile="$lt_tool_outputfile.exe"
9077 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9078 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9079 $RM "$lt_outputfile.manifest";
9083 # Assume MSVC wrapper
9084 hardcode_libdir_flag_spec=' '
9085 allow_undefined_flag=unsupported
9086 # Tell ltmain to make .lib files, not .a files.
9088 # Tell ltmain to make .dll files, not .so files.
9090 # FIXME: Setting linknames here is a bad hack.
9091 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9092 # The linker will automatically build a .lib file if we build a DLL.
9093 old_archive_from_new_cmds='true'
9094 # FIXME: Should let the user specify the lib program.
9095 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9096 enable_shared_with_static_runtimes=yes
9101 darwin* | rhapsody*)
9104 archive_cmds_need_lc=no
9106 hardcode_automatic=yes
9107 hardcode_shlibpath_var=unsupported
9108 if test "$lt_cv_ld_force_load" = "yes"; then
9109 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\"`'
9112 whole_archive_flag_spec=''
9114 link_all_deplibs=yes
9115 allow_undefined_flag="$_lt_dar_allow_undefined"
9116 case $cc_basename in
9117 ifort*) _lt_dar_can_shared=yes ;;
9118 *) _lt_dar_can_shared=$GCC ;;
9120 if test "$_lt_dar_can_shared" = "yes"; then
9121 output_verbose_link_cmd=func_echo_all
9122 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9123 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9124 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}"
9125 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}"
9134 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9135 hardcode_libdir_flag_spec='-L$libdir'
9136 hardcode_shlibpath_var=no
9139 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9140 # support. Future versions do this automatically, but an explicit c++rt0.o
9141 # does not break anything, and helps significantly (at the cost of a little
9144 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9145 hardcode_libdir_flag_spec='-R$libdir'
9147 hardcode_shlibpath_var=no
9150 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9152 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9154 hardcode_minus_L=yes
9155 hardcode_shlibpath_var=no
9158 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9159 freebsd* | dragonfly*)
9160 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9161 hardcode_libdir_flag_spec='-R$libdir'
9163 hardcode_shlibpath_var=no
9167 if test "$GCC" = yes; then
9168 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'
9170 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'
9172 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9173 hardcode_libdir_separator=:
9176 # hardcode_minus_L: Not really in the search PATH,
9177 # but as the default location of the library.
9178 hardcode_minus_L=yes
9179 export_dynamic_flag_spec='${wl}-E'
9183 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9184 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9186 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9188 if test "$with_gnu_ld" = no; then
9189 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9190 hardcode_libdir_separator=:
9192 hardcode_direct_absolute=yes
9193 export_dynamic_flag_spec='${wl}-E'
9194 # hardcode_minus_L: Not really in the search PATH,
9195 # but as the default location of the library.
9196 hardcode_minus_L=yes
9201 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9204 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9207 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9210 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9216 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9219 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9223 # Older versions of the 11.00 compiler do not understand -b yet
9224 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9226 $as_echo_n "checking if $CC understands -b... " >&6; }
9227 if ${lt_cv_prog_compiler__b+:} false; then :
9228 $as_echo_n "(cached) " >&6
9230 lt_cv_prog_compiler__b=no
9231 save_LDFLAGS="$LDFLAGS"
9232 LDFLAGS="$LDFLAGS -b"
9233 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9234 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9235 # The linker can only warn and ignore the option if not recognized
9236 # So say no if there are warnings
9237 if test -s conftest.err; then
9238 # Append any errors to the config.log.
9239 cat conftest.err 1>&5
9240 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9241 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9242 if diff conftest.exp conftest.er2 >/dev/null; then
9243 lt_cv_prog_compiler__b=yes
9246 lt_cv_prog_compiler__b=yes
9250 LDFLAGS="$save_LDFLAGS"
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9254 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9256 if test x"$lt_cv_prog_compiler__b" = xyes; then
9257 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9259 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9265 if test "$with_gnu_ld" = no; then
9266 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9267 hardcode_libdir_separator=:
9272 hardcode_shlibpath_var=no
9276 hardcode_direct_absolute=yes
9277 export_dynamic_flag_spec='${wl}-E'
9279 # hardcode_minus_L: Not really in the search PATH,
9280 # but as the default location of the library.
9281 hardcode_minus_L=yes
9287 irix5* | irix6* | nonstopux*)
9288 if test "$GCC" = yes; then
9289 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'
9290 # Try to use the -exported_symbol ld option, if it does not
9291 # work, assume that -exports_file does not work either and
9292 # implicitly export all symbols.
9293 # This should be the same for all languages, so no per-tag cache variable.
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9295 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9296 if ${lt_cv_irix_exported_symbol+:} false; then :
9297 $as_echo_n "(cached) " >&6
9299 save_LDFLAGS="$LDFLAGS"
9300 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9303 int foo (void) { return 0; }
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 lt_cv_irix_exported_symbol=yes
9308 lt_cv_irix_exported_symbol=no
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 LDFLAGS="$save_LDFLAGS"
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9315 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9316 if test "$lt_cv_irix_exported_symbol" = yes; then
9317 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'
9320 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'
9321 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'
9323 archive_cmds_need_lc='no'
9324 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9325 hardcode_libdir_separator=:
9327 link_all_deplibs=yes
9331 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9332 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9334 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9336 hardcode_libdir_flag_spec='-R$libdir'
9338 hardcode_shlibpath_var=no
9342 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9344 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9345 hardcode_libdir_separator=:
9346 hardcode_shlibpath_var=no
9353 if test -f /usr/libexec/ld.so; then
9355 hardcode_shlibpath_var=no
9356 hardcode_direct_absolute=yes
9357 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9358 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9359 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9360 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9361 export_dynamic_flag_spec='${wl}-E'
9364 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9365 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9366 hardcode_libdir_flag_spec='-R$libdir'
9369 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9370 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9380 hardcode_libdir_flag_spec='-L$libdir'
9381 hardcode_minus_L=yes
9382 allow_undefined_flag=unsupported
9383 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'
9384 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9388 if test "$GCC" = yes; then
9389 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9390 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'
9392 allow_undefined_flag=' -expect_unresolved \*'
9393 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'
9395 archive_cmds_need_lc='no'
9396 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397 hardcode_libdir_separator=:
9400 osf4* | osf5*) # as osf3* with the addition of -msym flag
9401 if test "$GCC" = yes; then
9402 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9403 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'
9404 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9406 allow_undefined_flag=' -expect_unresolved \*'
9407 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'
9408 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~
9409 $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'
9411 # Both c and cxx compiler support -rpath directly
9412 hardcode_libdir_flag_spec='-rpath $libdir'
9414 archive_cmds_need_lc='no'
9415 hardcode_libdir_separator=:
9419 no_undefined_flag=' -z defs'
9420 if test "$GCC" = yes; then
9422 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9423 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9424 $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'
9426 case `$CC -V 2>&1` in
9429 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9430 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9431 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9435 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9436 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9437 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9441 hardcode_libdir_flag_spec='-R$libdir'
9442 hardcode_shlibpath_var=no
9444 solaris2.[0-5] | solaris2.[0-5].*) ;;
9446 # The compiler driver will combine and reorder linker options,
9447 # but understands `-z linker_flag'. GCC discards it without `$wl',
9448 # but is careful enough not to reorder.
9449 # Supported since Solaris 2.6 (maybe 2.5.1?)
9450 if test "$GCC" = yes; then
9451 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9453 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9457 link_all_deplibs=yes
9461 if test "x$host_vendor" = xsequent; then
9462 # Use $CC to link under sequent, because it throws in some extra .o
9463 # files that make .init and .fini sections work.
9464 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9466 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9468 hardcode_libdir_flag_spec='-L$libdir'
9470 hardcode_minus_L=yes
9471 hardcode_shlibpath_var=no
9475 case $host_vendor in
9477 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9478 hardcode_direct=yes # is this really true???
9481 ## LD is ld it makes a PLAMLIB
9482 ## CC just makes a GrossModule.
9483 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9484 reload_cmds='$CC -r -o $output$reload_objs'
9488 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9489 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9492 runpath_var='LD_RUN_PATH'
9493 hardcode_shlibpath_var=no
9497 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9498 hardcode_shlibpath_var=no
9499 export_dynamic_flag_spec='-Bexport'
9503 if test -d /usr/nec; then
9504 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9505 hardcode_shlibpath_var=no
9506 runpath_var=LD_RUN_PATH
9507 hardcode_runpath_var=yes
9512 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9513 no_undefined_flag='${wl}-z,text'
9514 archive_cmds_need_lc=no
9515 hardcode_shlibpath_var=no
9516 runpath_var='LD_RUN_PATH'
9518 if test "$GCC" = yes; then
9519 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9520 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9522 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9527 sysv5* | sco3.2v5* | sco5v6*)
9528 # Note: We can NOT use -z defs as we might desire, because we do not
9529 # link with -lc, and that would cause any symbols used from libc to
9530 # always be unresolved, which means just about no library would
9531 # ever link correctly. If we're not using GNU ld we use -z text
9532 # though, which does catch some bad symbols but isn't as heavy-handed
9534 no_undefined_flag='${wl}-z,text'
9535 allow_undefined_flag='${wl}-z,nodefs'
9536 archive_cmds_need_lc=no
9537 hardcode_shlibpath_var=no
9538 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9539 hardcode_libdir_separator=':'
9540 link_all_deplibs=yes
9541 export_dynamic_flag_spec='${wl}-Bexport'
9542 runpath_var='LD_RUN_PATH'
9544 if test "$GCC" = yes; then
9545 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9546 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9548 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9549 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9555 hardcode_libdir_flag_spec='-L$libdir'
9556 hardcode_shlibpath_var=no
9564 if test x$host_vendor = xsni; then
9566 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9567 export_dynamic_flag_spec='${wl}-Blargedynsym'
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9574 $as_echo "$ld_shlibs" >&6; }
9575 test "$ld_shlibs" = no && can_build_shared=no
9577 with_gnu_ld=$with_gnu_ld
9594 # Do we need to explicitly link libc?
9596 case "x$archive_cmds_need_lc" in
9598 # Assume -lc should be added
9599 archive_cmds_need_lc=yes
9601 if test "$enable_shared" = yes && test "$GCC" = yes; then
9602 case $archive_cmds in
9604 # FIXME: we may have to deal with multi-command sequences.
9607 # Test whether the compiler implicitly links with -lc since on some
9608 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9609 # to ld, don't add -lc before -lgcc.
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9611 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9612 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9613 $as_echo_n "(cached) " >&6
9616 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9619 (eval $ac_compile) 2>&5
9621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9622 test $ac_status = 0; } 2>conftest.err; then
9625 libobjs=conftest.$ac_objext
9627 wl=$lt_prog_compiler_wl
9628 pic_flag=$lt_prog_compiler_pic
9634 lt_save_allow_undefined_flag=$allow_undefined_flag
9635 allow_undefined_flag=
9636 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9637 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9640 test $ac_status = 0; }
9642 lt_cv_archive_cmds_need_lc=no
9644 lt_cv_archive_cmds_need_lc=yes
9646 allow_undefined_flag=$lt_save_allow_undefined_flag
9648 cat conftest.err 1>&5
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9654 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9655 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9814 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9816 if test "$GCC" = yes; then
9818 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9819 *) lt_awk_arg="/^libraries:/" ;;
9822 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9823 *) lt_sed_strip_eq="s,=/,/,g" ;;
9825 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9826 case $lt_search_path_spec in
9828 # if the path contains ";" then we assume it to be the separator
9829 # otherwise default to the standard path separator (i.e. ":") - it is
9830 # assumed that no part of a normal pathname contains ";" but that should
9831 # okay in the real world where ";" in dirpaths is itself problematic.
9832 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9835 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9838 # Ok, now we have the path, separated by spaces, we can step through it
9839 # and add multilib dir if necessary.
9840 lt_tmp_lt_search_path_spec=
9841 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9842 for lt_sys_path in $lt_search_path_spec; do
9843 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9844 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9846 test -d "$lt_sys_path" && \
9847 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9850 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9851 BEGIN {RS=" "; FS="/|\n";} {
9854 for (lt_i = NF; lt_i > 0; lt_i--) {
9855 if ($lt_i != "" && $lt_i != ".") {
9856 if ($lt_i == "..") {
9859 if (lt_count == 0) {
9860 lt_foo="/" $lt_i lt_foo;
9867 if (lt_foo != "") { lt_freq[lt_foo]++; }
9868 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9870 # AWK program above erroneously prepends '/' to C:/dos/paths
9873 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9874 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9876 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9878 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9881 libname_spec='lib$name'
9889 shlibpath_overrides_runpath=unknown
9891 dynamic_linker="$host_os ld.so"
9892 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9893 need_lib_prefix=unknown
9894 hardcode_into_libs=no
9896 # when you set need_version to no, make sure it does not cause -set_version
9897 # flags to be left without arguments
9898 need_version=unknown
9902 version_type=linux # correct to gnu/linux during the next big refactor
9903 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9904 shlibpath_var=LIBPATH
9906 # AIX 3 has no versioning support, so we append a major version to the name.
9907 soname_spec='${libname}${release}${shared_ext}$major'
9911 version_type=linux # correct to gnu/linux during the next big refactor
9914 hardcode_into_libs=yes
9915 if test "$host_cpu" = ia64; then
9916 # AIX 5 supports IA64
9917 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9918 shlibpath_var=LD_LIBRARY_PATH
9920 # With GCC up to 2.95.x, collect2 would create an import file
9921 # for dependence libraries. The import file would start with
9922 # the line `#! .'. This would cause the generated library to
9923 # depend on `.', always an invalid library. This was fixed in
9924 # development snapshots of GCC prior to 3.0.
9926 aix4 | aix4.[01] | aix4.[01].*)
9927 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9929 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9936 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9937 # soname into executable. Probably we can add versioning support to
9938 # collect2, so additional links can be useful in future.
9939 if test "$aix_use_runtimelinking" = yes; then
9940 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9941 # instead of lib<name>.a to let people know that these are not
9942 # typical AIX shared libraries.
9943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9945 # We preserve .a as extension for shared libraries through AIX4.2
9946 # and later when we are not doing run time linking.
9947 library_names_spec='${libname}${release}.a $libname.a'
9948 soname_spec='${libname}${release}${shared_ext}$major'
9950 shlibpath_var=LIBPATH
9957 # Since July 2007 AmigaOS4 officially supports .so libraries.
9958 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9962 library_names_spec='$libname.ixlibrary $libname.a'
9963 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9964 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'
9970 library_names_spec='${libname}${shared_ext}'
9971 dynamic_linker="$host_os ld.so"
9972 shlibpath_var=LIBRARY_PATH
9976 version_type=linux # correct to gnu/linux during the next big refactor
9978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9979 soname_spec='${libname}${release}${shared_ext}$major'
9980 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9981 shlibpath_var=LD_LIBRARY_PATH
9982 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9983 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9984 # the default ld.so.conf also contains /usr/contrib/lib and
9985 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9986 # libtool to hard-code these into programs
9989 cygwin* | mingw* | pw32* | cegcc*)
9990 version_type=windows
9995 case $GCC,$cc_basename in
9998 library_names_spec='$libname.dll.a'
9999 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10000 postinstall_cmds='base_file=`basename \${file}`~
10001 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10002 dldir=$destdir/`dirname \$dlpath`~
10003 test -d \$dldir || mkdir -p \$dldir~
10004 $install_prog $dir/$dlname \$dldir/$dlname~
10005 chmod a+x \$dldir/$dlname~
10006 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10007 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10009 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10010 dlpath=$dir/\$dldll~
10012 shlibpath_overrides_runpath=yes
10016 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10017 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10019 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10022 # MinGW DLLs use traditional 'lib' prefix
10023 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10026 # pw32 DLLs use 'pw' prefix rather than 'lib'
10027 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10030 dynamic_linker='Win32 ld.exe'
10035 libname_spec='$name'
10036 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10037 library_names_spec='${libname}.dll.lib'
10041 sys_lib_search_path_spec=
10044 for lt_path in $LIB
10047 # Let DOS variable expansion print the short 8.3 style file name.
10048 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10049 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10052 # Convert to MSYS style.
10053 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10056 # Convert to unix form, then to dos form, then back to unix form
10057 # but this time dos style (no spaces!) so that the unix form looks
10058 # like /cygdrive/c/PROGRA~1:/cygdr...
10059 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10060 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10061 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10064 sys_lib_search_path_spec="$LIB"
10065 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10066 # It is most probably a Windows format PATH.
10067 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10069 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10071 # FIXME: find the short name or the path components, as spaces are
10072 # common. (e.g. "Program Files" -> "PROGRA~1")
10076 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10077 postinstall_cmds='base_file=`basename \${file}`~
10078 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10079 dldir=$destdir/`dirname \$dlpath`~
10080 test -d \$dldir || mkdir -p \$dldir~
10081 $install_prog $dir/$dlname \$dldir/$dlname'
10082 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10083 dlpath=$dir/\$dldll~
10085 shlibpath_overrides_runpath=yes
10086 dynamic_linker='Win32 link.exe'
10090 # Assume MSVC wrapper
10091 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10092 dynamic_linker='Win32 ld.exe'
10095 # FIXME: first we should search . and the directory the executable is in
10099 darwin* | rhapsody*)
10100 dynamic_linker="$host_os dyld"
10101 version_type=darwin
10104 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10105 soname_spec='${libname}${release}${major}$shared_ext'
10106 shlibpath_overrides_runpath=yes
10107 shlibpath_var=DYLD_LIBRARY_PATH
10108 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10110 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10111 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10115 version_type=linux # correct to gnu/linux during the next big refactor
10118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10119 soname_spec='${libname}${release}${shared_ext}$major'
10120 shlibpath_var=LD_LIBRARY_PATH
10123 freebsd* | dragonfly*)
10124 # DragonFly does not have aout. When/if they implement a new
10125 # versioning mechanism, adjust this.
10126 if test -x /usr/bin/objformat; then
10127 objformat=`/usr/bin/objformat`
10130 freebsd[23].*) objformat=aout ;;
10131 *) objformat=elf ;;
10134 version_type=freebsd-$objformat
10135 case $version_type in
10137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10142 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10146 shlibpath_var=LD_LIBRARY_PATH
10149 shlibpath_overrides_runpath=yes
10151 freebsd3.[01]* | freebsdelf3.[01]*)
10152 shlibpath_overrides_runpath=yes
10153 hardcode_into_libs=yes
10155 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10156 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10157 shlibpath_overrides_runpath=no
10158 hardcode_into_libs=yes
10160 *) # from 4.6 on, and DragonFly
10161 shlibpath_overrides_runpath=yes
10162 hardcode_into_libs=yes
10168 version_type=linux # correct to gnu/linux during the next big refactor
10171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10172 soname_spec='${libname}${release}${shared_ext}$major'
10173 shlibpath_var=LD_LIBRARY_PATH
10174 shlibpath_overrides_runpath=no
10175 hardcode_into_libs=yes
10179 version_type=linux # correct to gnu/linux during the next big refactor
10182 dynamic_linker="$host_os runtime_loader"
10183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10184 soname_spec='${libname}${release}${shared_ext}$major'
10185 shlibpath_var=LIBRARY_PATH
10186 shlibpath_overrides_runpath=yes
10187 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10188 hardcode_into_libs=yes
10191 hpux9* | hpux10* | hpux11*)
10192 # Give a soname corresponding to the major version so that dld.sl refuses to
10193 # link against other versions.
10200 hardcode_into_libs=yes
10201 dynamic_linker="$host_os dld.so"
10202 shlibpath_var=LD_LIBRARY_PATH
10203 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10205 soname_spec='${libname}${release}${shared_ext}$major'
10206 if test "X$HPUX_IA64_MODE" = X32; then
10207 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10209 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10211 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10215 hardcode_into_libs=yes
10216 dynamic_linker="$host_os dld.sl"
10217 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10218 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10220 soname_spec='${libname}${release}${shared_ext}$major'
10221 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10222 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10226 dynamic_linker="$host_os dld.sl"
10227 shlibpath_var=SHLIB_PATH
10228 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10230 soname_spec='${libname}${release}${shared_ext}$major'
10233 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10234 postinstall_cmds='chmod 555 $lib'
10235 # or fails outright, so override atomically:
10236 install_override_mode=555
10240 version_type=linux # correct to gnu/linux during the next big refactor
10243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10244 soname_spec='${libname}${release}${shared_ext}$major'
10245 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10246 shlibpath_var=LD_LIBRARY_PATH
10247 shlibpath_overrides_runpath=no
10248 hardcode_into_libs=yes
10251 irix5* | irix6* | nonstopux*)
10253 nonstopux*) version_type=nonstopux ;;
10255 if test "$lt_cv_prog_gnu_ld" = yes; then
10256 version_type=linux # correct to gnu/linux during the next big refactor
10263 soname_spec='${libname}${release}${shared_ext}$major'
10264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10266 irix5* | nonstopux*)
10267 libsuff= shlibsuff=
10270 case $LD in # libtool.m4 will add one of these switches to LD
10271 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10272 libsuff= shlibsuff= libmagic=32-bit;;
10273 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10274 libsuff=32 shlibsuff=N32 libmagic=N32;;
10275 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10276 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10277 *) libsuff= shlibsuff= libmagic=never-match;;
10281 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10282 shlibpath_overrides_runpath=no
10283 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10284 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10285 hardcode_into_libs=yes
10288 # No shared lib support for Linux oldld, aout, or coff.
10289 linux*oldld* | linux*aout* | linux*coff*)
10293 # This must be glibc/ELF.
10294 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10295 version_type=linux # correct to gnu/linux during the next big refactor
10298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10299 soname_spec='${libname}${release}${shared_ext}$major'
10300 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10301 shlibpath_var=LD_LIBRARY_PATH
10302 shlibpath_overrides_runpath=no
10304 # Some binutils ld are patched to set DT_RUNPATH
10305 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10306 $as_echo_n "(cached) " >&6
10308 lt_cv_shlibpath_overrides_runpath=no
10309 save_LDFLAGS=$LDFLAGS
10310 save_libdir=$libdir
10311 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10312 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10324 if ac_fn_c_try_link "$LINENO"; then :
10325 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10326 lt_cv_shlibpath_overrides_runpath=yes
10329 rm -f core conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext
10331 LDFLAGS=$save_LDFLAGS
10332 libdir=$save_libdir
10336 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10338 # This implies no fast_install, which is unacceptable.
10339 # Some rework will be needed to allow for fast_install
10340 # before this can be enabled.
10341 hardcode_into_libs=yes
10343 # Append ld.so.conf contents to the search path
10344 if test -f /etc/ld.so.conf; then
10345 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' ' '`
10346 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10349 # We used to test for /lib/ld.so.1 and disable shared libraries on
10350 # powerpc, because MkLinux only supported shared libraries with the
10351 # GNU dynamic linker. Since this was broken with cross compilers,
10352 # most powerpc-linux boxes support dynamic linking these days and
10353 # people can always --disable-shared, the test was removed, and we
10354 # assume the GNU/Linux dynamic linker is in use.
10355 dynamic_linker='GNU/Linux ld.so'
10362 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10364 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10365 dynamic_linker='NetBSD (a.out) ld.so'
10367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10368 soname_spec='${libname}${release}${shared_ext}$major'
10369 dynamic_linker='NetBSD ld.elf_so'
10371 shlibpath_var=LD_LIBRARY_PATH
10372 shlibpath_overrides_runpath=yes
10373 hardcode_into_libs=yes
10377 version_type=linux # correct to gnu/linux during the next big refactor
10378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10379 shlibpath_var=LD_LIBRARY_PATH
10380 shlibpath_overrides_runpath=yes
10387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10388 soname_spec='${libname}${release}${shared_ext}$major'
10389 shlibpath_var=LD_LIBRARY_PATH
10390 shlibpath_overrides_runpath=no
10391 hardcode_into_libs=yes
10392 dynamic_linker='ldqnx.so'
10397 sys_lib_dlsearch_path_spec="/usr/lib"
10399 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10401 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10402 *) need_version=no ;;
10404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10405 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10406 shlibpath_var=LD_LIBRARY_PATH
10407 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10409 openbsd2.[89] | openbsd2.[89].*)
10410 shlibpath_overrides_runpath=no
10413 shlibpath_overrides_runpath=yes
10417 shlibpath_overrides_runpath=yes
10422 libname_spec='$name'
10425 library_names_spec='$libname${shared_ext} $libname.a'
10426 dynamic_linker='OS/2 ld.exe'
10427 shlibpath_var=LIBPATH
10430 osf3* | osf4* | osf5*)
10434 soname_spec='${libname}${release}${shared_ext}$major'
10435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10436 shlibpath_var=LD_LIBRARY_PATH
10437 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10438 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10446 version_type=linux # correct to gnu/linux during the next big refactor
10449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450 soname_spec='${libname}${release}${shared_ext}$major'
10451 shlibpath_var=LD_LIBRARY_PATH
10452 shlibpath_overrides_runpath=yes
10453 hardcode_into_libs=yes
10454 # ldd complains unless libraries are executable
10455 postinstall_cmds='chmod +x $lib'
10460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10461 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10462 shlibpath_var=LD_LIBRARY_PATH
10463 shlibpath_overrides_runpath=yes
10464 if test "$with_gnu_ld" = yes; then
10471 version_type=linux # correct to gnu/linux during the next big refactor
10472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10473 soname_spec='${libname}${release}${shared_ext}$major'
10474 shlibpath_var=LD_LIBRARY_PATH
10475 case $host_vendor in
10477 shlibpath_overrides_runpath=no
10479 runpath_var=LD_RUN_PATH
10487 shlibpath_overrides_runpath=no
10488 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10494 if test -d /usr/nec ;then
10495 version_type=linux # correct to gnu/linux during the next big refactor
10496 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10497 soname_spec='$libname${shared_ext}.$major'
10498 shlibpath_var=LD_LIBRARY_PATH
10502 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10503 version_type=freebsd-elf
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10508 shlibpath_var=LD_LIBRARY_PATH
10509 shlibpath_overrides_runpath=yes
10510 hardcode_into_libs=yes
10511 if test "$with_gnu_ld" = yes; then
10512 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10514 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10517 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10521 sys_lib_dlsearch_path_spec='/usr/lib'
10525 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10526 version_type=linux # correct to gnu/linux during the next big refactor
10529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530 shlibpath_var=LD_LIBRARY_PATH
10531 shlibpath_overrides_runpath=no
10532 hardcode_into_libs=yes
10536 version_type=linux # correct to gnu/linux during the next big refactor
10537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538 soname_spec='${libname}${release}${shared_ext}$major'
10539 shlibpath_var=LD_LIBRARY_PATH
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10547 $as_echo "$dynamic_linker" >&6; }
10548 test "$dynamic_linker" = no && can_build_shared=no
10550 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10551 if test "$GCC" = yes; then
10552 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10555 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10556 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10558 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10559 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10654 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10656 if test -n "$hardcode_libdir_flag_spec" ||
10657 test -n "$runpath_var" ||
10658 test "X$hardcode_automatic" = "Xyes" ; then
10660 # We can hardcode non-existent directories.
10661 if test "$hardcode_direct" != no &&
10662 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10663 # have to relink, otherwise we might link with an installed library
10664 # when we should be linking with a yet-to-be-installed one
10665 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10666 test "$hardcode_minus_L" != no; then
10667 # Linking always hardcodes the temporary library directory.
10668 hardcode_action=relink
10670 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10671 hardcode_action=immediate
10674 # We cannot hardcode anything, or else we can only hardcode existing
10676 hardcode_action=unsupported
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10679 $as_echo "$hardcode_action" >&6; }
10681 if test "$hardcode_action" = relink ||
10682 test "$inherit_rpath" = yes; then
10683 # Fast installation is not supported
10684 enable_fast_install=no
10685 elif test "$shlibpath_overrides_runpath" = yes ||
10686 test "$enable_shared" = no; then
10687 # Fast installation is not necessary
10688 enable_fast_install=needless
10696 if test "x$enable_dlopen" != xyes; then
10697 enable_dlopen=unknown
10698 enable_dlopen_self=unknown
10699 enable_dlopen_self_static=unknown
10706 lt_cv_dlopen="load_add_on"
10708 lt_cv_dlopen_self=yes
10711 mingw* | pw32* | cegcc*)
10712 lt_cv_dlopen="LoadLibrary"
10717 lt_cv_dlopen="dlopen"
10722 # if libdl is installed we need to link against it
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10724 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10725 if ${ac_cv_lib_dl_dlopen+:} false; then :
10726 $as_echo_n "(cached) " >&6
10728 ac_check_lib_save_LIBS=$LIBS
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10733 /* Override any GCC internal prototype to avoid an error.
10734 Use char because int might match the return type of a GCC
10735 builtin and then its argument prototype would still apply. */
10748 if ac_fn_c_try_link "$LINENO"; then :
10749 ac_cv_lib_dl_dlopen=yes
10751 ac_cv_lib_dl_dlopen=no
10753 rm -f core conftest.err conftest.$ac_objext \
10754 conftest$ac_exeext conftest.$ac_ext
10755 LIBS=$ac_check_lib_save_LIBS
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10758 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10759 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10760 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10763 lt_cv_dlopen="dyld"
10765 lt_cv_dlopen_self=yes
10772 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10773 if test "x$ac_cv_func_shl_load" = xyes; then :
10774 lt_cv_dlopen="shl_load"
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10777 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10778 if ${ac_cv_lib_dld_shl_load+:} false; then :
10779 $as_echo_n "(cached) " >&6
10781 ac_check_lib_save_LIBS=$LIBS
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10786 /* Override any GCC internal prototype to avoid an error.
10787 Use char because int might match the return type of a GCC
10788 builtin and then its argument prototype would still apply. */
10796 return shl_load ();
10801 if ac_fn_c_try_link "$LINENO"; then :
10802 ac_cv_lib_dld_shl_load=yes
10804 ac_cv_lib_dld_shl_load=no
10806 rm -f core conftest.err conftest.$ac_objext \
10807 conftest$ac_exeext conftest.$ac_ext
10808 LIBS=$ac_check_lib_save_LIBS
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10811 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10812 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10813 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10815 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10816 if test "x$ac_cv_func_dlopen" = xyes; then :
10817 lt_cv_dlopen="dlopen"
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10820 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10821 if ${ac_cv_lib_dl_dlopen+:} false; then :
10822 $as_echo_n "(cached) " >&6
10824 ac_check_lib_save_LIBS=$LIBS
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10829 /* Override any GCC internal prototype to avoid an error.
10830 Use char because int might match the return type of a GCC
10831 builtin and then its argument prototype would still apply. */
10844 if ac_fn_c_try_link "$LINENO"; then :
10845 ac_cv_lib_dl_dlopen=yes
10847 ac_cv_lib_dl_dlopen=no
10849 rm -f core conftest.err conftest.$ac_objext \
10850 conftest$ac_exeext conftest.$ac_ext
10851 LIBS=$ac_check_lib_save_LIBS
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10854 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10855 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10856 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10859 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10860 if ${ac_cv_lib_svld_dlopen+:} false; then :
10861 $as_echo_n "(cached) " >&6
10863 ac_check_lib_save_LIBS=$LIBS
10864 LIBS="-lsvld $LIBS"
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10883 if ac_fn_c_try_link "$LINENO"; then :
10884 ac_cv_lib_svld_dlopen=yes
10886 ac_cv_lib_svld_dlopen=no
10888 rm -f core conftest.err conftest.$ac_objext \
10889 conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_lib_save_LIBS
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10893 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10894 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10895 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10898 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10899 if ${ac_cv_lib_dld_dld_link+:} false; then :
10900 $as_echo_n "(cached) " >&6
10902 ac_check_lib_save_LIBS=$LIBS
10904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10907 /* Override any GCC internal prototype to avoid an error.
10908 Use char because int might match the return type of a GCC
10909 builtin and then its argument prototype would still apply. */
10917 return dld_link ();
10922 if ac_fn_c_try_link "$LINENO"; then :
10923 ac_cv_lib_dld_dld_link=yes
10925 ac_cv_lib_dld_dld_link=no
10927 rm -f core conftest.err conftest.$ac_objext \
10928 conftest$ac_exeext conftest.$ac_ext
10929 LIBS=$ac_check_lib_save_LIBS
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10932 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10933 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10934 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10955 if test "x$lt_cv_dlopen" != xno; then
10961 case $lt_cv_dlopen in
10963 save_CPPFLAGS="$CPPFLAGS"
10964 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10966 save_LDFLAGS="$LDFLAGS"
10967 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10970 LIBS="$lt_cv_dlopen_libs $LIBS"
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10973 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10974 if ${lt_cv_dlopen_self+:} false; then :
10975 $as_echo_n "(cached) " >&6
10977 if test "$cross_compiling" = yes; then :
10978 lt_cv_dlopen_self=cross
10980 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10981 lt_status=$lt_dlunknown
10982 cat > conftest.$ac_ext <<_LT_EOF
10983 #line $LINENO "configure"
10984 #include "confdefs.h"
10993 # define LT_DLGLOBAL RTLD_GLOBAL
10996 # define LT_DLGLOBAL DL_GLOBAL
10998 # define LT_DLGLOBAL 0
11002 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11003 find out it does not work in some platform. */
11004 #ifndef LT_DLLAZY_OR_NOW
11006 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11009 # define LT_DLLAZY_OR_NOW DL_LAZY
11012 # define LT_DLLAZY_OR_NOW RTLD_NOW
11015 # define LT_DLLAZY_OR_NOW DL_NOW
11017 # define LT_DLLAZY_OR_NOW 0
11024 /* When -fvisbility=hidden is used, assume the code has been annotated
11025 correspondingly for the symbols needed. */
11026 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11027 int fnord () __attribute__((visibility("default")));
11030 int fnord () { return 42; }
11033 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11034 int status = $lt_dlunknown;
11038 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11041 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11042 else puts (dlerror ());
11044 /* dlclose (self); */
11052 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11053 (eval $ac_link) 2>&5
11055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11056 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11057 (./conftest; exit; ) >&5 2>/dev/null
11059 case x$lt_status in
11060 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11061 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11062 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11065 # compilation failed
11066 lt_cv_dlopen_self=no
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11074 $as_echo "$lt_cv_dlopen_self" >&6; }
11076 if test "x$lt_cv_dlopen_self" = xyes; then
11077 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11079 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11080 if ${lt_cv_dlopen_self_static+:} false; then :
11081 $as_echo_n "(cached) " >&6
11083 if test "$cross_compiling" = yes; then :
11084 lt_cv_dlopen_self_static=cross
11086 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11087 lt_status=$lt_dlunknown
11088 cat > conftest.$ac_ext <<_LT_EOF
11089 #line $LINENO "configure"
11090 #include "confdefs.h"
11099 # define LT_DLGLOBAL RTLD_GLOBAL
11102 # define LT_DLGLOBAL DL_GLOBAL
11104 # define LT_DLGLOBAL 0
11108 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11109 find out it does not work in some platform. */
11110 #ifndef LT_DLLAZY_OR_NOW
11112 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11115 # define LT_DLLAZY_OR_NOW DL_LAZY
11118 # define LT_DLLAZY_OR_NOW RTLD_NOW
11121 # define LT_DLLAZY_OR_NOW DL_NOW
11123 # define LT_DLLAZY_OR_NOW 0
11130 /* When -fvisbility=hidden is used, assume the code has been annotated
11131 correspondingly for the symbols needed. */
11132 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11133 int fnord () __attribute__((visibility("default")));
11136 int fnord () { return 42; }
11139 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11140 int status = $lt_dlunknown;
11144 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11147 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11148 else puts (dlerror ());
11150 /* dlclose (self); */
11158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11159 (eval $ac_link) 2>&5
11161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11162 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11163 (./conftest; exit; ) >&5 2>/dev/null
11165 case x$lt_status in
11166 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11167 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11168 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11171 # compilation failed
11172 lt_cv_dlopen_self_static=no
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11180 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11183 CPPFLAGS="$save_CPPFLAGS"
11184 LDFLAGS="$save_LDFLAGS"
11189 case $lt_cv_dlopen_self in
11190 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11191 *) enable_dlopen_self=unknown ;;
11194 case $lt_cv_dlopen_self_static in
11195 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11196 *) enable_dlopen_self_static=unknown ;;
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11219 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11220 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11221 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11222 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11224 $as_echo "yes" >&6; }
11226 # FIXME - insert some real tests, host_os isn't really good enough
11229 if test -n "$STRIP" ; then
11230 striplib="$STRIP -x"
11231 old_striplib="$STRIP -S"
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11233 $as_echo "yes" >&6; }
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11236 $as_echo "no" >&6; }
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11241 $as_echo "no" >&6; }
11257 # Report which library types will actually be built
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11259 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11261 $as_echo "$can_build_shared" >&6; }
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11264 $as_echo_n "checking whether to build shared libraries... " >&6; }
11265 test "$can_build_shared" = "no" && enable_shared=no
11267 # On AIX, shared libraries and static libraries use the same namespace, and
11268 # are all built from PIC.
11271 test "$enable_shared" = yes && enable_static=no
11272 if test -n "$RANLIB"; then
11273 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11274 postinstall_cmds='$RANLIB $lib'
11279 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11280 test "$enable_shared" = yes && enable_static=no
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11285 $as_echo "$enable_shared" >&6; }
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11288 $as_echo_n "checking whether to build static libraries... " >&6; }
11289 # Make sure either enable_shared or enable_static is yes.
11290 test "$enable_shared" = yes || enable_static=yes
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11292 $as_echo "$enable_static" >&6; }
11299 ac_cpp='$CPP $CPPFLAGS'
11300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11320 ac_config_commands="$ac_config_commands libtool"
11325 # Only expand once:
11334 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11335 if test -n "$ac_tool_prefix"; then
11336 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11337 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11339 $as_echo_n "checking for $ac_word... " >&6; }
11340 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11341 $as_echo_n "(cached) " >&6
11343 case $PKG_CONFIG in
11345 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11349 for as_dir in $PATH
11352 test -z "$as_dir" && as_dir=.
11353 for ac_exec_ext in '' $ac_executable_extensions; do
11354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11355 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11366 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11367 if test -n "$PKG_CONFIG"; then
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11369 $as_echo "$PKG_CONFIG" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11372 $as_echo "no" >&6; }
11377 if test -z "$ac_cv_path_PKG_CONFIG"; then
11378 ac_pt_PKG_CONFIG=$PKG_CONFIG
11379 # Extract the first word of "pkg-config", so it can be a program name with args.
11380 set dummy pkg-config; ac_word=$2
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11382 $as_echo_n "checking for $ac_word... " >&6; }
11383 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11384 $as_echo_n "(cached) " >&6
11386 case $ac_pt_PKG_CONFIG in
11388 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11392 for as_dir in $PATH
11395 test -z "$as_dir" && as_dir=.
11396 for ac_exec_ext in '' $ac_executable_extensions; do
11397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11398 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11409 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11410 if test -n "$ac_pt_PKG_CONFIG"; then
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11412 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11415 $as_echo "no" >&6; }
11418 if test "x$ac_pt_PKG_CONFIG" = x; then
11421 case $cross_compiling:$ac_tool_warned in
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11425 ac_tool_warned=yes ;;
11427 PKG_CONFIG=$ac_pt_PKG_CONFIG
11430 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11434 if test -n "$PKG_CONFIG"; then
11435 _pkg_min_version=0.9.0
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11437 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11438 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11440 $as_echo "yes" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11443 $as_echo "no" >&6; }
11448 GETTEXT_PACKAGE="${PACKAGE}"
11451 ac_config_headers="$ac_config_headers config.h"
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
11457 $as_echo_n "checking for DBUS... " >&6; }
11459 if test -n "$DBUS_CFLAGS"; then
11460 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
11461 elif test -n "$PKG_CONFIG"; then
11462 if test -n "$PKG_CONFIG" && \
11463 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
11464 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
11466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11467 test $ac_status = 0; }; then
11468 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
11475 if test -n "$DBUS_LIBS"; then
11476 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
11477 elif test -n "$PKG_CONFIG"; then
11478 if test -n "$PKG_CONFIG" && \
11479 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
11480 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
11482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11483 test $ac_status = 0; }; then
11484 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
11494 if test $pkg_failed = yes; then
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11496 $as_echo "no" >&6; }
11498 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11499 _pkg_short_errors_supported=yes
11501 _pkg_short_errors_supported=no
11503 if test $_pkg_short_errors_supported = yes; then
11504 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.0" 2>&1`
11506 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.0" 2>&1`
11508 # Put the nasty error message in config.log where it belongs
11509 echo "$DBUS_PKG_ERRORS" >&5
11511 as_fn_error $? "Package requirements (dbus-1 >= 1.0) were not met:
11515 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11516 installed software in a non-standard prefix.
11518 Alternatively, you may set the environment variables DBUS_CFLAGS
11519 and DBUS_LIBS to avoid the need to call pkg-config.
11520 See the pkg-config man page for more details." "$LINENO" 5
11521 elif test $pkg_failed = untried; then
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11523 $as_echo "no" >&6; }
11524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11526 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11527 is in your PATH or set the PKG_CONFIG environment variable to the full
11528 path to pkg-config.
11530 Alternatively, you may set the environment variables DBUS_CFLAGS
11531 and DBUS_LIBS to avoid the need to call pkg-config.
11532 See the pkg-config man page for more details.
11534 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11535 See \`config.log' for more details" "$LINENO" 5; }
11537 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
11538 DBUS_LIBS=$pkg_cv_DBUS_LIBS
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11540 $as_echo "yes" >&6; }
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11549 $as_echo_n "checking for GLIB... " >&6; }
11551 if test -n "$GLIB_CFLAGS"; then
11552 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11553 elif test -n "$PKG_CONFIG"; then
11554 if test -n "$PKG_CONFIG" && \
11555 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
11556 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
11558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11559 test $ac_status = 0; }; then
11560 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
11567 if test -n "$GLIB_LIBS"; then
11568 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11569 elif test -n "$PKG_CONFIG"; then
11570 if test -n "$PKG_CONFIG" && \
11571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
11572 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
11574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11575 test $ac_status = 0; }; then
11576 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
11586 if test $pkg_failed = yes; then
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11588 $as_echo "no" >&6; }
11590 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11591 _pkg_short_errors_supported=yes
11593 _pkg_short_errors_supported=no
11595 if test $_pkg_short_errors_supported = yes; then
11596 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
11598 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
11600 # Put the nasty error message in config.log where it belongs
11601 echo "$GLIB_PKG_ERRORS" >&5
11603 as_fn_error $? "Package requirements (glib-2.0) were not met:
11607 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11608 installed software in a non-standard prefix.
11610 Alternatively, you may set the environment variables GLIB_CFLAGS
11611 and GLIB_LIBS to avoid the need to call pkg-config.
11612 See the pkg-config man page for more details." "$LINENO" 5
11613 elif test $pkg_failed = untried; then
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11615 $as_echo "no" >&6; }
11616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11618 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11619 is in your PATH or set the PKG_CONFIG environment variable to the full
11620 path to pkg-config.
11622 Alternatively, you may set the environment variables GLIB_CFLAGS
11623 and GLIB_LIBS to avoid the need to call pkg-config.
11624 See the pkg-config man page for more details.
11626 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11627 See \`config.log' for more details" "$LINENO" 5; }
11629 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11630 GLIB_LIBS=$pkg_cv_GLIB_LIBS
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11632 $as_echo "yes" >&6; }
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJ" >&5
11641 $as_echo_n "checking for GOBJ... " >&6; }
11643 if test -n "$GOBJ_CFLAGS"; then
11644 pkg_cv_GOBJ_CFLAGS="$GOBJ_CFLAGS"
11645 elif test -n "$PKG_CONFIG"; then
11646 if test -n "$PKG_CONFIG" && \
11647 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
11648 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
11650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11651 test $ac_status = 0; }; then
11652 pkg_cv_GOBJ_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.0.0" 2>/dev/null`
11659 if test -n "$GOBJ_LIBS"; then
11660 pkg_cv_GOBJ_LIBS="$GOBJ_LIBS"
11661 elif test -n "$PKG_CONFIG"; then
11662 if test -n "$PKG_CONFIG" && \
11663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
11664 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
11666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11667 test $ac_status = 0; }; then
11668 pkg_cv_GOBJ_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.0.0" 2>/dev/null`
11678 if test $pkg_failed = yes; then
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11680 $as_echo "no" >&6; }
11682 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11683 _pkg_short_errors_supported=yes
11685 _pkg_short_errors_supported=no
11687 if test $_pkg_short_errors_supported = yes; then
11688 GOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0 >= 2.0.0" 2>&1`
11690 GOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0 >= 2.0.0" 2>&1`
11692 # Put the nasty error message in config.log where it belongs
11693 echo "$GOBJ_PKG_ERRORS" >&5
11695 as_fn_error $? "Package requirements (gobject-2.0 >= 2.0.0) were not met:
11699 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11700 installed software in a non-standard prefix.
11702 Alternatively, you may set the environment variables GOBJ_CFLAGS
11703 and GOBJ_LIBS to avoid the need to call pkg-config.
11704 See the pkg-config man page for more details." "$LINENO" 5
11705 elif test $pkg_failed = untried; then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11707 $as_echo "no" >&6; }
11708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11710 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11711 is in your PATH or set the PKG_CONFIG environment variable to the full
11712 path to pkg-config.
11714 Alternatively, you may set the environment variables GOBJ_CFLAGS
11715 and GOBJ_LIBS to avoid the need to call pkg-config.
11716 See the pkg-config man page for more details.
11718 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11719 See \`config.log' for more details" "$LINENO" 5; }
11721 GOBJ_CFLAGS=$pkg_cv_GOBJ_CFLAGS
11722 GOBJ_LIBS=$pkg_cv_GOBJ_LIBS
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11724 $as_echo "yes" >&6; }
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
11733 $as_echo_n "checking for GMODULE... " >&6; }
11735 if test -n "$GMODULE_CFLAGS"; then
11736 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
11737 elif test -n "$PKG_CONFIG"; then
11738 if test -n "$PKG_CONFIG" && \
11739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.0.0\""; } >&5
11740 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.0.0") 2>&5
11742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11743 test $ac_status = 0; }; then
11744 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 >= 2.0.0" 2>/dev/null`
11751 if test -n "$GMODULE_LIBS"; then
11752 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
11753 elif test -n "$PKG_CONFIG"; then
11754 if test -n "$PKG_CONFIG" && \
11755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.0.0\""; } >&5
11756 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.0.0") 2>&5
11758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11759 test $ac_status = 0; }; then
11760 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 >= 2.0.0" 2>/dev/null`
11770 if test $pkg_failed = yes; then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11772 $as_echo "no" >&6; }
11774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11775 _pkg_short_errors_supported=yes
11777 _pkg_short_errors_supported=no
11779 if test $_pkg_short_errors_supported = yes; then
11780 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0 >= 2.0.0" 2>&1`
11782 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0 >= 2.0.0" 2>&1`
11784 # Put the nasty error message in config.log where it belongs
11785 echo "$GMODULE_PKG_ERRORS" >&5
11787 as_fn_error $? "Package requirements (gmodule-2.0 >= 2.0.0) were not met:
11789 $GMODULE_PKG_ERRORS
11791 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11792 installed software in a non-standard prefix.
11794 Alternatively, you may set the environment variables GMODULE_CFLAGS
11795 and GMODULE_LIBS to avoid the need to call pkg-config.
11796 See the pkg-config man page for more details." "$LINENO" 5
11797 elif test $pkg_failed = untried; then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11799 $as_echo "no" >&6; }
11800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11802 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11803 is in your PATH or set the PKG_CONFIG environment variable to the full
11804 path to pkg-config.
11806 Alternatively, you may set the environment variables GMODULE_CFLAGS
11807 and GMODULE_LIBS to avoid the need to call pkg-config.
11808 See the pkg-config man page for more details.
11810 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11811 See \`config.log' for more details" "$LINENO" 5; }
11813 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
11814 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11816 $as_echo "yes" >&6; }
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATK" >&5
11825 $as_echo_n "checking for ATK... " >&6; }
11827 if test -n "$ATK_CFLAGS"; then
11828 pkg_cv_ATK_CFLAGS="$ATK_CFLAGS"
11829 elif test -n "$PKG_CONFIG"; then
11830 if test -n "$PKG_CONFIG" && \
11831 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 2.1.5\""; } >&5
11832 ($PKG_CONFIG --exists --print-errors "atk >= 2.1.5") 2>&5
11834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11835 test $ac_status = 0; }; then
11836 pkg_cv_ATK_CFLAGS=`$PKG_CONFIG --cflags "atk >= 2.1.5" 2>/dev/null`
11843 if test -n "$ATK_LIBS"; then
11844 pkg_cv_ATK_LIBS="$ATK_LIBS"
11845 elif test -n "$PKG_CONFIG"; then
11846 if test -n "$PKG_CONFIG" && \
11847 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 2.1.5\""; } >&5
11848 ($PKG_CONFIG --exists --print-errors "atk >= 2.1.5") 2>&5
11850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11851 test $ac_status = 0; }; then
11852 pkg_cv_ATK_LIBS=`$PKG_CONFIG --libs "atk >= 2.1.5" 2>/dev/null`
11862 if test $pkg_failed = yes; then
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11864 $as_echo "no" >&6; }
11866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11867 _pkg_short_errors_supported=yes
11869 _pkg_short_errors_supported=no
11871 if test $_pkg_short_errors_supported = yes; then
11872 ATK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "atk >= 2.1.5" 2>&1`
11874 ATK_PKG_ERRORS=`$PKG_CONFIG --print-errors "atk >= 2.1.5" 2>&1`
11876 # Put the nasty error message in config.log where it belongs
11877 echo "$ATK_PKG_ERRORS" >&5
11879 as_fn_error $? "Package requirements (atk >= 2.1.5) were not met:
11883 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11884 installed software in a non-standard prefix.
11886 Alternatively, you may set the environment variables ATK_CFLAGS
11887 and ATK_LIBS to avoid the need to call pkg-config.
11888 See the pkg-config man page for more details." "$LINENO" 5
11889 elif test $pkg_failed = untried; then
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11891 $as_echo "no" >&6; }
11892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11894 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11895 is in your PATH or set the PKG_CONFIG environment variable to the full
11896 path to pkg-config.
11898 Alternatively, you may set the environment variables ATK_CFLAGS
11899 and ATK_LIBS to avoid the need to call pkg-config.
11900 See the pkg-config man page for more details.
11902 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11903 See \`config.log' for more details" "$LINENO" 5; }
11905 ATK_CFLAGS=$pkg_cv_ATK_CFLAGS
11906 ATK_LIBS=$pkg_cv_ATK_LIBS
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11908 $as_echo "yes" >&6; }
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATSPI" >&5
11917 $as_echo_n "checking for ATSPI... " >&6; }
11919 if test -n "$ATSPI_CFLAGS"; then
11920 pkg_cv_ATSPI_CFLAGS="$ATSPI_CFLAGS"
11921 elif test -n "$PKG_CONFIG"; then
11922 if test -n "$PKG_CONFIG" && \
11923 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atspi-2 >= 2.1.4\""; } >&5
11924 ($PKG_CONFIG --exists --print-errors "atspi-2 >= 2.1.4") 2>&5
11926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11927 test $ac_status = 0; }; then
11928 pkg_cv_ATSPI_CFLAGS=`$PKG_CONFIG --cflags "atspi-2 >= 2.1.4" 2>/dev/null`
11935 if test -n "$ATSPI_LIBS"; then
11936 pkg_cv_ATSPI_LIBS="$ATSPI_LIBS"
11937 elif test -n "$PKG_CONFIG"; then
11938 if test -n "$PKG_CONFIG" && \
11939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atspi-2 >= 2.1.4\""; } >&5
11940 ($PKG_CONFIG --exists --print-errors "atspi-2 >= 2.1.4") 2>&5
11942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11943 test $ac_status = 0; }; then
11944 pkg_cv_ATSPI_LIBS=`$PKG_CONFIG --libs "atspi-2 >= 2.1.4" 2>/dev/null`
11954 if test $pkg_failed = yes; then
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11956 $as_echo "no" >&6; }
11958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11959 _pkg_short_errors_supported=yes
11961 _pkg_short_errors_supported=no
11963 if test $_pkg_short_errors_supported = yes; then
11964 ATSPI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "atspi-2 >= 2.1.4" 2>&1`
11966 ATSPI_PKG_ERRORS=`$PKG_CONFIG --print-errors "atspi-2 >= 2.1.4" 2>&1`
11968 # Put the nasty error message in config.log where it belongs
11969 echo "$ATSPI_PKG_ERRORS" >&5
11971 as_fn_error $? "Package requirements (atspi-2 >= 2.1.4) were not met:
11975 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11976 installed software in a non-standard prefix.
11978 Alternatively, you may set the environment variables ATSPI_CFLAGS
11979 and ATSPI_LIBS to avoid the need to call pkg-config.
11980 See the pkg-config man page for more details." "$LINENO" 5
11981 elif test $pkg_failed = untried; then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983 $as_echo "no" >&6; }
11984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11986 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11987 is in your PATH or set the PKG_CONFIG environment variable to the full
11988 path to pkg-config.
11990 Alternatively, you may set the environment variables ATSPI_CFLAGS
11991 and ATSPI_LIBS to avoid the need to call pkg-config.
11992 See the pkg-config man page for more details.
11994 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11995 See \`config.log' for more details" "$LINENO" 5; }
11997 ATSPI_CFLAGS=$pkg_cv_ATSPI_CFLAGS
11998 ATSPI_LIBS=$pkg_cv_ATSPI_LIBS
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12000 $as_echo "yes" >&6; }
12008 # Check whether --enable-schemas-compile was given.
12009 if test "${enable_schemas_compile+set}" = set; then :
12010 enableval=$enable_schemas_compile; case ${enableval} in
12011 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
12012 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
12013 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
12024 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12025 if test -n "$ac_tool_prefix"; then
12026 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12027 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12029 $as_echo_n "checking for $ac_word... " >&6; }
12030 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12031 $as_echo_n "(cached) " >&6
12033 case $PKG_CONFIG in
12035 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12039 for as_dir in $PATH
12042 test -z "$as_dir" && as_dir=.
12043 for ac_exec_ext in '' $ac_executable_extensions; do
12044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12045 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12056 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12057 if test -n "$PKG_CONFIG"; then
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12059 $as_echo "$PKG_CONFIG" >&6; }
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12062 $as_echo "no" >&6; }
12067 if test -z "$ac_cv_path_PKG_CONFIG"; then
12068 ac_pt_PKG_CONFIG=$PKG_CONFIG
12069 # Extract the first word of "pkg-config", so it can be a program name with args.
12070 set dummy pkg-config; ac_word=$2
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12072 $as_echo_n "checking for $ac_word... " >&6; }
12073 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12074 $as_echo_n "(cached) " >&6
12076 case $ac_pt_PKG_CONFIG in
12078 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082 for as_dir in $PATH
12085 test -z "$as_dir" && as_dir=.
12086 for ac_exec_ext in '' $ac_executable_extensions; do
12087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12088 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12099 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12100 if test -n "$ac_pt_PKG_CONFIG"; then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12102 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12105 $as_echo "no" >&6; }
12108 if test "x$ac_pt_PKG_CONFIG" = x; then
12111 case $cross_compiling:$ac_tool_warned in
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12115 ac_tool_warned=yes ;;
12117 PKG_CONFIG=$ac_pt_PKG_CONFIG
12120 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12124 if test -n "$PKG_CONFIG"; then
12125 _pkg_min_version=0.16
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12127 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12128 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12130 $as_echo "yes" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12137 gsettingsschemadir=${datadir}/glib-2.0/schemas
12139 if test x$cross_compiling != xyes; then
12140 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
12142 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
12143 set dummy glib-compile-schemas; ac_word=$2
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12145 $as_echo_n "checking for $ac_word... " >&6; }
12146 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
12147 $as_echo_n "(cached) " >&6
12149 case $GLIB_COMPILE_SCHEMAS in
12151 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
12154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12155 for as_dir in $PATH
12158 test -z "$as_dir" && as_dir=.
12159 for ac_exec_ext in '' $ac_executable_extensions; do
12160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12161 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
12162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12172 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
12173 if test -n "$GLIB_COMPILE_SCHEMAS"; then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
12175 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12178 $as_echo "no" >&6; }
12184 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
12185 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
12191 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
12193 mostlyclean-am: clean-gsettings-schemas
12195 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
12197 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
12198 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
12200 all-am: $(gsettings_SCHEMAS:.xml=.valid)
12201 uninstall-am: uninstall-gsettings-schemas
12202 install-data-am: install-gsettings-schemas
12204 .SECONDARY: $(gsettings_SCHEMAS)
12206 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
12208 if test -n "$^"; then \
12209 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
12210 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
12211 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
12214 uninstall-gsettings-schemas:
12215 @$(NORMAL_UNINSTALL)
12216 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
12217 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
12218 test -n "$$files" || exit 0; \
12219 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
12220 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
12221 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
12223 clean-gsettings-schemas:
12224 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
12226 ifdef gsettings_ENUM_NAMESPACE
12227 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
12228 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
12238 # Check whether --enable-p2p was given.
12239 if test "${enable_p2p+set}" = set; then :
12240 enableval=$enable_p2p; enable_p2p="$enableval"
12246 #libtool option to strip symbols starting with cspi
12247 LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[^cspi].*"'
12250 # Extra libraries for sockets added by Willie Walker
12251 # based upon how SunStudio libraries work.
12253 if test "$GCC" = yes; then
12254 EXTRA_SOCKET_LIBS=""
12256 EXTRA_SOCKET_LIBS="-lsocket -lnsl"
12260 orig_CPPFLAGS=$CPPFLAGS
12261 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of char" >&5
12263 $as_echo_n "checking alignment of char... " >&6; }
12264 if ${ac_cv_alignof_char+:} false; then :
12265 $as_echo_n "(cached) " >&6
12267 if test "$cross_compiling" = yes; then :
12268 ac_cv_alignof_char=0
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 #include <stdlib.h>
12274 #define DBUS_API_SUBJECT_TO_CHANGE
12275 #include <dbus/dbus.h>
12276 typedef struct {char s1;} dbind_struct;
12277 typedef void *dbind_pointer;
12278 struct test {char s1; char s2;};
12281 FILE *f=fopen("conftestval", "w");
12283 fprintf(f, "%d\n", &(((struct test*)0)->s2));
12287 if ac_fn_c_try_run "$LINENO"; then :
12288 ac_cv_alignof_char=`cat conftestval`
12290 ac_cv_alignof_char=0
12292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12293 conftest.$ac_objext conftest.beam conftest.$ac_ext
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_char" >&5
12299 $as_echo "$ac_cv_alignof_char" >&6; }
12300 if test "$ac_cv_alignof_char" = "0" ; then
12301 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12303 DBIND_ALIGNOF_CHAR=$ac_cv_alignof_char
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_bool_t" >&5
12307 $as_echo_n "checking alignment of dbus_bool_t... " >&6; }
12308 if ${ac_cv_alignof_dbus_bool_t+:} false; then :
12309 $as_echo_n "(cached) " >&6
12311 if test "$cross_compiling" = yes; then :
12312 ac_cv_alignof_dbus_bool_t=0
12314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12317 #include <stdlib.h>
12318 #define DBUS_API_SUBJECT_TO_CHANGE
12319 #include <dbus/dbus.h>
12320 typedef struct {char s1;} dbind_struct;
12321 typedef void *dbind_pointer;
12322 struct test {char s1; dbus_bool_t s2;};
12325 FILE *f=fopen("conftestval", "w");
12327 fprintf(f, "%d\n", &(((struct test*)0)->s2));
12331 if ac_fn_c_try_run "$LINENO"; then :
12332 ac_cv_alignof_dbus_bool_t=`cat conftestval`
12334 ac_cv_alignof_dbus_bool_t=0
12336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12337 conftest.$ac_objext conftest.beam conftest.$ac_ext
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_bool_t" >&5
12343 $as_echo "$ac_cv_alignof_dbus_bool_t" >&6; }
12344 if test "$ac_cv_alignof_dbus_bool_t" = "0" ; then
12345 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12347 DBIND_ALIGNOF_DBUS_BOOL_T=$ac_cv_alignof_dbus_bool_t
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int16_t" >&5
12351 $as_echo_n "checking alignment of dbus_int16_t... " >&6; }
12352 if ${ac_cv_alignof_dbus_int16_t+:} false; then :
12353 $as_echo_n "(cached) " >&6
12355 if test "$cross_compiling" = yes; then :
12356 ac_cv_alignof_dbus_int16_t=0
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12361 #include <stdlib.h>
12362 #define DBUS_API_SUBJECT_TO_CHANGE
12363 #include <dbus/dbus.h>
12364 typedef struct {char s1;} dbind_struct;
12365 typedef void *dbind_pointer;
12366 struct test {char s1; dbus_int16_t s2;};
12369 FILE *f=fopen("conftestval", "w");
12371 fprintf(f, "%d\n", &(((struct test*)0)->s2));
12375 if ac_fn_c_try_run "$LINENO"; then :
12376 ac_cv_alignof_dbus_int16_t=`cat conftestval`
12378 ac_cv_alignof_dbus_int16_t=0
12380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12381 conftest.$ac_objext conftest.beam conftest.$ac_ext
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int16_t" >&5
12387 $as_echo "$ac_cv_alignof_dbus_int16_t" >&6; }
12388 if test "$ac_cv_alignof_dbus_int16_t" = "0" ; then
12389 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12391 DBIND_ALIGNOF_DBUS_INT16_T=$ac_cv_alignof_dbus_int16_t
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int32_t" >&5
12395 $as_echo_n "checking alignment of dbus_int32_t... " >&6; }
12396 if ${ac_cv_alignof_dbus_int32_t+:} false; then :
12397 $as_echo_n "(cached) " >&6
12399 if test "$cross_compiling" = yes; then :
12400 ac_cv_alignof_dbus_int32_t=0
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 #include <stdlib.h>
12406 #define DBUS_API_SUBJECT_TO_CHANGE
12407 #include <dbus/dbus.h>
12408 typedef struct {char s1;} dbind_struct;
12409 typedef void *dbind_pointer;
12410 struct test {char s1; dbus_int32_t s2;};
12413 FILE *f=fopen("conftestval", "w");
12415 fprintf(f, "%d\n", &(((struct test*)0)->s2));
12419 if ac_fn_c_try_run "$LINENO"; then :
12420 ac_cv_alignof_dbus_int32_t=`cat conftestval`
12422 ac_cv_alignof_dbus_int32_t=0
12424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12425 conftest.$ac_objext conftest.beam conftest.$ac_ext
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int32_t" >&5
12431 $as_echo "$ac_cv_alignof_dbus_int32_t" >&6; }
12432 if test "$ac_cv_alignof_dbus_int32_t" = "0" ; then
12433 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12435 DBIND_ALIGNOF_DBUS_INT32_T=$ac_cv_alignof_dbus_int32_t
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int64_t" >&5
12439 $as_echo_n "checking alignment of dbus_int64_t... " >&6; }
12440 if ${ac_cv_alignof_dbus_int64_t+:} false; then :
12441 $as_echo_n "(cached) " >&6
12443 if test "$cross_compiling" = yes; then :
12444 ac_cv_alignof_dbus_int64_t=0
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12449 #include <stdlib.h>
12450 #define DBUS_API_SUBJECT_TO_CHANGE
12451 #include <dbus/dbus.h>
12452 typedef struct {char s1;} dbind_struct;
12453 typedef void *dbind_pointer;
12454 struct test {char s1; dbus_int64_t s2;};
12457 FILE *f=fopen("conftestval", "w");
12459 fprintf(f, "%d\n", &(((struct test*)0)->s2));
12463 if ac_fn_c_try_run "$LINENO"; then :
12464 ac_cv_alignof_dbus_int64_t=`cat conftestval`
12466 ac_cv_alignof_dbus_int64_t=0
12468 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12469 conftest.$ac_objext conftest.beam conftest.$ac_ext
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int64_t" >&5
12475 $as_echo "$ac_cv_alignof_dbus_int64_t" >&6; }
12476 if test "$ac_cv_alignof_dbus_int64_t" = "0" ; then
12477 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12479 DBIND_ALIGNOF_DBUS_INT64_T=$ac_cv_alignof_dbus_int64_t
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
12483 $as_echo_n "checking alignment of double... " >&6; }
12484 if ${ac_cv_alignof_double+:} false; then :
12485 $as_echo_n "(cached) " >&6
12487 if test "$cross_compiling" = yes; then :
12488 ac_cv_alignof_double=0
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12493 #include <stdlib.h>
12494 #define DBUS_API_SUBJECT_TO_CHANGE
12495 #include <dbus/dbus.h>
12496 typedef struct {char s1;} dbind_struct;
12497 typedef void *dbind_pointer;
12498 struct test {char s1; double s2;};
12501 FILE *f=fopen("conftestval", "w");
12503 fprintf(f, "%d\n", &(((struct test*)0)->s2));
12507 if ac_fn_c_try_run "$LINENO"; then :
12508 ac_cv_alignof_double=`cat conftestval`
12510 ac_cv_alignof_double=0
12512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12513 conftest.$ac_objext conftest.beam conftest.$ac_ext
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
12519 $as_echo "$ac_cv_alignof_double" >&6; }
12520 if test "$ac_cv_alignof_double" = "0" ; then
12521 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12523 DBIND_ALIGNOF_DOUBLE=$ac_cv_alignof_double
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_pointer" >&5
12527 $as_echo_n "checking alignment of dbind_pointer... " >&6; }
12528 if ${ac_cv_alignof_dbind_pointer+:} false; then :
12529 $as_echo_n "(cached) " >&6
12531 if test "$cross_compiling" = yes; then :
12532 ac_cv_alignof_dbind_pointer=0
12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12537 #include <stdlib.h>
12538 #define DBUS_API_SUBJECT_TO_CHANGE
12539 #include <dbus/dbus.h>
12540 typedef struct {char s1;} dbind_struct;
12541 typedef void *dbind_pointer;
12542 struct test {char s1; dbind_pointer s2;};
12545 FILE *f=fopen("conftestval", "w");
12547 fprintf(f, "%d\n", &(((struct test*)0)->s2));
12551 if ac_fn_c_try_run "$LINENO"; then :
12552 ac_cv_alignof_dbind_pointer=`cat conftestval`
12554 ac_cv_alignof_dbind_pointer=0
12556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12557 conftest.$ac_objext conftest.beam conftest.$ac_ext
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_pointer" >&5
12563 $as_echo "$ac_cv_alignof_dbind_pointer" >&6; }
12564 if test "$ac_cv_alignof_dbind_pointer" = "0" ; then
12565 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12567 DBIND_ALIGNOF_DBIND_POINTER=$ac_cv_alignof_dbind_pointer
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_struct" >&5
12571 $as_echo_n "checking alignment of dbind_struct... " >&6; }
12572 if ${ac_cv_alignof_dbind_struct+:} false; then :
12573 $as_echo_n "(cached) " >&6
12575 if test "$cross_compiling" = yes; then :
12576 ac_cv_alignof_dbind_struct=0
12578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12581 #include <stdlib.h>
12582 #define DBUS_API_SUBJECT_TO_CHANGE
12583 #include <dbus/dbus.h>
12584 typedef struct {char s1;} dbind_struct;
12585 typedef void *dbind_pointer;
12586 struct test {char s1; dbind_struct s2;};
12589 FILE *f=fopen("conftestval", "w");
12591 fprintf(f, "%d\n", &(((struct test*)0)->s2));
12595 if ac_fn_c_try_run "$LINENO"; then :
12596 ac_cv_alignof_dbind_struct=`cat conftestval`
12598 ac_cv_alignof_dbind_struct=0
12600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12601 conftest.$ac_objext conftest.beam conftest.$ac_ext
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_struct" >&5
12607 $as_echo "$ac_cv_alignof_dbind_struct" >&6; }
12608 if test "$ac_cv_alignof_dbind_struct" = "0" ; then
12609 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12611 DBIND_ALIGNOF_DBIND_STRUCT=$ac_cv_alignof_dbind_struct
12614 CPPFLAGS=$orig_CPPFLAGS
12616 if test "x$GCC" = xyes; then
12617 CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
12620 if test "x$enable_p2p" = "xno"; then
12621 P2P_CFLAGS=-DDISABLE_P2P
12626 ac_config_files="$ac_config_files Makefile atk-bridge-2.0.pc dbind/dbind-config.h dbind/Makefile droute/Makefile atk-adaptor/Makefile atk-adaptor/adaptors/Makefile atk-adaptor/gtk-2.0/Makefile schemas/Makefile"
12629 cat >confcache <<\_ACEOF
12630 # This file is a shell script that caches the results of configure
12631 # tests run on this system so they can be shared between configure
12632 # scripts and configure runs, see configure's option --config-cache.
12633 # It is not useful on other systems. If it contains results you don't
12634 # want to keep, you may remove or edit it.
12636 # config.status only pays attention to the cache file if you give it
12637 # the --recheck option to rerun configure.
12639 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12640 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12641 # following values.
12645 # The following way of writing the cache mishandles newlines in values,
12646 # but we know of no workaround that is simple, portable, and efficient.
12647 # So, we kill variables containing newlines.
12648 # Ultrix sh set writes to stderr and can't be redirected directly,
12649 # and sets the high bit in the cache file unless we assign to the vars.
12651 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12652 eval ac_val=\$$ac_var
12656 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12657 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12660 _ | IFS | as_nl) ;; #(
12661 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12662 *) { eval $ac_var=; unset $ac_var;} ;;
12668 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12669 *${as_nl}ac_space=\ *)
12670 # `set' does not quote correctly, so add quotes: double-quote
12671 # substitution turns \\\\ into \\, and sed turns \\ into \.
12674 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12677 # `set' quotes correctly as required by POSIX, so do not add quotes.
12678 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12687 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12689 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12691 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12692 if test -w "$cache_file"; then
12693 if test "x$cache_file" != "x/dev/null"; then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12695 $as_echo "$as_me: updating cache $cache_file" >&6;}
12696 if test ! -f "$cache_file" || test -h "$cache_file"; then
12697 cat confcache >"$cache_file"
12699 case $cache_file in #(
12701 mv -f confcache "$cache_file"$$ &&
12702 mv -f "$cache_file"$$ "$cache_file" ;; #(
12704 mv -f confcache "$cache_file" ;;
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12710 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12715 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12716 # Let make expand exec_prefix.
12717 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12719 DEFS=-DHAVE_CONFIG_H
12724 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12725 # 1. Remove the extension, and $U if already installed.
12726 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12727 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12728 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12729 # will be set to the directory where LIBOBJS objects are built.
12730 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12731 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12733 LIBOBJS=$ac_libobjs
12735 LTLIBOBJS=$ac_ltlibobjs
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12739 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12740 if test -n "$am_sleep_pid"; then
12741 # Hide warnings about reused PIDs.
12742 wait $am_sleep_pid 2>/dev/null
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12745 $as_echo "done" >&6; }
12746 if test -n "$EXEEXT"; then
12748 am__EXEEXT_FALSE='#'
12750 am__EXEEXT_TRUE='#'
12754 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12755 as_fn_error $? "conditional \"AMDEP\" was never defined.
12756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12758 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12759 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12763 : "${CONFIG_STATUS=./config.status}"
12765 ac_clean_files_save=$ac_clean_files
12766 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12768 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12770 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12772 # Generated by $as_me.
12773 # Run this file to recreate the current configuration.
12774 # Compiler output produced by configure, useful for debugging
12775 # configure, is in config.log if it exists.
12778 ac_cs_recheck=false
12781 SHELL=\${CONFIG_SHELL-$SHELL}
12784 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12785 ## -------------------- ##
12786 ## M4sh Initialization. ##
12787 ## -------------------- ##
12789 # Be more Bourne compatible
12790 DUALCASE=1; export DUALCASE # for MKS sh
12791 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12794 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12795 # is contrary to our usage. Disable this feature.
12796 alias -g '${1+"$@"}'='"$@"'
12797 setopt NO_GLOB_SUBST
12799 case `(set -o) 2>/dev/null` in #(
12811 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12812 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12813 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12814 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12815 # Prefer a ksh shell builtin over an external printf program on Solaris,
12816 # but without wasting forks for bash or zsh.
12817 if test -z "$BASH_VERSION$ZSH_VERSION" \
12818 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12819 as_echo='print -r --'
12820 as_echo_n='print -rn --'
12821 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12822 as_echo='printf %s\n'
12823 as_echo_n='printf %s'
12825 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12826 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12827 as_echo_n='/usr/ucb/echo -n'
12829 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12830 as_echo_n_body='eval
12834 expr "X$arg" : "X\\(.*\\)$as_nl";
12835 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12837 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12839 export as_echo_n_body
12840 as_echo_n='sh -c $as_echo_n_body as_echo'
12842 export as_echo_body
12843 as_echo='sh -c $as_echo_body as_echo'
12846 # The user is always right.
12847 if test "${PATH_SEPARATOR+set}" != set; then
12849 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12850 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12857 # We need space, tab and new line, in precisely that order. Quoting is
12858 # there to prevent editors from complaining about space-tab.
12859 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12860 # splitting by setting IFS to empty value.)
12863 # Find who we are. Look in the path if we contain no directory separator.
12866 *[\\/]* ) as_myself=$0 ;;
12867 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12868 for as_dir in $PATH
12871 test -z "$as_dir" && as_dir=.
12872 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12878 # We did not find ourselves, most probably we were run as `sh COMMAND'
12879 # in which case we are not to be found in the path.
12880 if test "x$as_myself" = x; then
12883 if test ! -f "$as_myself"; then
12884 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12888 # Unset variables that we do not need and which cause bugs (e.g. in
12889 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12890 # suppresses any "Segmentation fault" message there. '((' could
12891 # trigger a bug in pdksh 5.2.14.
12892 for as_var in BASH_ENV ENV MAIL MAILPATH
12893 do eval test x\${$as_var+set} = xset \
12894 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12907 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12910 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12911 # ----------------------------------------
12912 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12913 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12914 # script with STATUS, using 1 if that was 0.
12917 as_status=$1; test $as_status -eq 0 && as_status=1
12919 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12920 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12922 $as_echo "$as_me: error: $2" >&2
12923 as_fn_exit $as_status
12927 # as_fn_set_status STATUS
12928 # -----------------------
12929 # Set $? to STATUS, without forking.
12930 as_fn_set_status ()
12933 } # as_fn_set_status
12935 # as_fn_exit STATUS
12936 # -----------------
12937 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12941 as_fn_set_status $1
12947 # Portably unset VAR.
12950 { eval $1=; unset $1;}
12952 as_unset=as_fn_unset
12953 # as_fn_append VAR VALUE
12954 # ----------------------
12955 # Append the text in VALUE to the end of the definition contained in VAR. Take
12956 # advantage of any shell optimizations that allow amortized linear growth over
12957 # repeated appends, instead of the typical quadratic growth present in naive
12959 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12960 eval 'as_fn_append ()
12971 # as_fn_arith ARG...
12972 # ------------------
12973 # Perform arithmetic evaluation on the ARGs, and store the result in the
12974 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12975 # must be portable across $(()) and expr.
12976 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12977 eval 'as_fn_arith ()
12984 as_val=`expr "$@" || test $? -eq 1`
12989 if expr a : '\(a\)' >/dev/null 2>&1 &&
12990 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12996 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12997 as_basename=basename
13002 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13008 as_me=`$as_basename -- "$0" ||
13009 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13010 X"$0" : 'X\(//\)$' \| \
13011 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13013 sed '/^.*\/\([^/][^/]*\)\/*$/{
13027 # Avoid depending upon Character Ranges.
13028 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13029 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13030 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13031 as_cr_digits='0123456789'
13032 as_cr_alnum=$as_cr_Letters$as_cr_digits
13034 ECHO_C= ECHO_N= ECHO_T=
13035 case `echo -n x` in #(((((
13037 case `echo 'xy\c'` in
13038 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13040 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13047 rm -f conf$$ conf$$.exe conf$$.file
13048 if test -d conf$$.dir; then
13049 rm -f conf$$.dir/conf$$.file
13052 mkdir conf$$.dir 2>/dev/null
13054 if (echo >conf$$.file) 2>/dev/null; then
13055 if ln -s conf$$.file conf$$ 2>/dev/null; then
13057 # ... but there are two gotchas:
13058 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13059 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13060 # In both cases, we have to default to `cp -pR'.
13061 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13063 elif ln conf$$.file conf$$ 2>/dev/null; then
13071 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13072 rmdir conf$$.dir 2>/dev/null
13077 # Create "$as_dir" as a directory, including parents if necessary.
13082 -*) as_dir=./$as_dir;;
13084 test -d "$as_dir" || eval $as_mkdir_p || {
13088 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13089 *) as_qdir=$as_dir;;
13091 as_dirs="'$as_qdir' $as_dirs"
13092 as_dir=`$as_dirname -- "$as_dir" ||
13093 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13094 X"$as_dir" : 'X\(//\)[^/]' \| \
13095 X"$as_dir" : 'X\(//\)$' \| \
13096 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13097 $as_echo X"$as_dir" |
13098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13102 /^X\(\/\/\)[^/].*/{
13115 test -d "$as_dir" && break
13117 test -z "$as_dirs" || eval "mkdir $as_dirs"
13118 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13122 if mkdir -p . 2>/dev/null; then
13123 as_mkdir_p='mkdir -p "$as_dir"'
13125 test -d ./-p && rmdir ./-p
13130 # as_fn_executable_p FILE
13131 # -----------------------
13132 # Test if FILE is an executable regular file.
13133 as_fn_executable_p ()
13135 test -f "$1" && test -x "$1"
13136 } # as_fn_executable_p
13137 as_test_x='test -x'
13138 as_executable_p=as_fn_executable_p
13140 # Sed expression to map a string onto a valid CPP name.
13141 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13143 # Sed expression to map a string onto a valid variable name.
13144 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13148 ## ----------------------------------- ##
13149 ## Main body of $CONFIG_STATUS script. ##
13150 ## ----------------------------------- ##
13152 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13155 # Save the log message, to keep $0 and so on meaningful, and to
13156 # report actual input values of CONFIG_FILES etc. instead of their
13157 # values after options handling.
13159 This file was extended by at-spi2-atk $as_me 2.5.92, which was
13160 generated by GNU Autoconf 2.69. Invocation command line was
13162 CONFIG_FILES = $CONFIG_FILES
13163 CONFIG_HEADERS = $CONFIG_HEADERS
13164 CONFIG_LINKS = $CONFIG_LINKS
13165 CONFIG_COMMANDS = $CONFIG_COMMANDS
13168 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13173 case $ac_config_files in *"
13174 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13177 case $ac_config_headers in *"
13178 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13183 # Files that config.status was made for.
13184 config_files="$ac_config_files"
13185 config_headers="$ac_config_headers"
13186 config_commands="$ac_config_commands"
13190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13192 \`$as_me' instantiates files and other configuration actions
13193 from templates according to the current configuration. Unless the files
13194 and actions are specified as TAGs, all are instantiated by default.
13196 Usage: $0 [OPTION]... [TAG]...
13198 -h, --help print this help, then exit
13199 -V, --version print version number and configuration settings, then exit
13200 --config print configuration, then exit
13201 -q, --quiet, --silent
13202 do not print progress messages
13203 -d, --debug don't remove temporary files
13204 --recheck update $as_me by reconfiguring in the same conditions
13205 --file=FILE[:TEMPLATE]
13206 instantiate the configuration file FILE
13207 --header=FILE[:TEMPLATE]
13208 instantiate the configuration header FILE
13210 Configuration files:
13213 Configuration headers:
13216 Configuration commands:
13219 Report bugs to <accessibility-atspi@lists.linux-foundation.org>."
13222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13223 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13225 at-spi2-atk config.status 2.5.92
13226 configured by $0, generated by GNU Autoconf 2.69,
13227 with options \\"\$ac_cs_config\\"
13229 Copyright (C) 2012 Free Software Foundation, Inc.
13230 This config.status script is free software; the Free Software Foundation
13231 gives unlimited permission to copy, distribute and modify it."
13238 test -n "\$AWK" || AWK=awk
13241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13242 # The default lists apply if the user does not specify any file.
13248 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13249 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13253 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13265 # Handling of the options.
13266 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13268 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13269 $as_echo "$ac_cs_version"; exit ;;
13270 --config | --confi | --conf | --con | --co | --c )
13271 $as_echo "$ac_cs_config"; exit ;;
13272 --debug | --debu | --deb | --de | --d | -d )
13274 --file | --fil | --fi | --f )
13277 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13278 '') as_fn_error $? "missing file argument" ;;
13280 as_fn_append CONFIG_FILES " '$ac_optarg'"
13281 ac_need_defaults=false;;
13282 --header | --heade | --head | --hea )
13285 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13287 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13288 ac_need_defaults=false;;
13290 # Conflict between --help and --header
13291 as_fn_error $? "ambiguous option: \`$1'
13292 Try \`$0 --help' for more information.";;
13293 --help | --hel | -h )
13294 $as_echo "$ac_cs_usage"; exit ;;
13295 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13296 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13299 # This is an error.
13300 -*) as_fn_error $? "unrecognized option: \`$1'
13301 Try \`$0 --help' for more information." ;;
13303 *) as_fn_append ac_config_targets " $1"
13304 ac_need_defaults=false ;;
13310 ac_configure_extra_args=
13312 if $ac_cs_silent; then
13314 ac_configure_extra_args="$ac_configure_extra_args --silent"
13318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13319 if \$ac_cs_recheck; then
13320 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13322 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13323 CONFIG_SHELL='$SHELL'
13324 export CONFIG_SHELL
13329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13333 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13334 ## Running $as_me. ##
13340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13344 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13347 # The HP-UX ksh and POSIX shell print the target directory to stdout
13348 # if CDPATH is set.
13349 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13351 sed_quote_subst='$sed_quote_subst'
13352 double_quote_subst='$double_quote_subst'
13353 delay_variable_subst='$delay_variable_subst'
13354 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13355 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13356 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13357 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13358 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13359 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13360 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13361 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13362 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13363 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13364 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13365 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13366 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13367 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13368 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13369 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13370 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13371 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13372 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13373 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13374 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13375 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13376 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13377 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13378 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13379 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13380 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13381 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13382 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13383 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13384 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13385 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13386 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13387 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13388 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13389 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13390 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13391 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13392 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13393 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13394 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13395 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13396 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13397 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13398 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13399 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13400 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13401 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13402 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13403 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13404 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13405 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13406 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13407 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13408 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13409 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13410 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"`'
13411 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13412 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13413 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13414 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13415 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13416 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13417 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13418 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13419 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13420 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13421 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13422 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13423 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13424 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13425 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13426 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13427 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13428 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13429 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13430 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13431 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13432 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13433 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13434 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13435 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13436 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13437 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13438 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13439 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13440 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13441 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13442 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13443 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13444 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13445 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13446 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13447 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13448 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13449 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13450 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13451 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13452 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13453 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13454 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13455 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13456 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13457 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13458 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13459 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13460 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13461 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13462 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13463 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13464 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13465 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13466 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13467 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13468 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13469 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13470 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13471 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13472 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13473 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13474 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13475 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13476 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13477 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13478 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13479 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13480 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13481 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13482 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13483 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13486 LTCFLAGS='$LTCFLAGS'
13487 compiler='$compiler_DEFAULT'
13489 # A function that is used when there is no print builtin or printf.
13490 func_fallback_echo ()
13492 eval 'cat <<_LTECHO_EOF
13497 # Quote evaled strings.
13512 deplibs_check_method \
13517 sharedlib_from_linklib_cmd \
13520 archiver_list_spec \
13526 lt_cv_sys_global_symbol_pipe \
13527 lt_cv_sys_global_symbol_to_cdecl \
13528 lt_cv_sys_global_symbol_to_c_name_address \
13529 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13530 nm_file_list_spec \
13531 lt_prog_compiler_no_builtin_flag \
13532 lt_prog_compiler_pic \
13533 lt_prog_compiler_wl \
13534 lt_prog_compiler_static \
13535 lt_cv_prog_compiler_c_o \
13544 export_dynamic_flag_spec \
13545 whole_archive_flag_spec \
13546 compiler_needs_object \
13548 allow_undefined_flag \
13549 no_undefined_flag \
13550 hardcode_libdir_flag_spec \
13551 hardcode_libdir_separator \
13555 variables_saved_for_relink \
13557 library_names_spec \
13559 install_override_mode \
13563 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13564 *[\\\\\\\`\\"\\\$]*)
13565 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13568 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13573 # Double-quote double-evaled strings.
13574 for var in reload_cmds \
13575 old_postinstall_cmds \
13576 old_postuninstall_cmds \
13578 extract_expsyms_cmds \
13579 old_archive_from_new_cmds \
13580 old_archive_from_expsyms_cmds \
13582 archive_expsym_cmds \
13584 module_expsym_cmds \
13585 export_symbols_cmds \
13589 postuninstall_cmds \
13591 sys_lib_search_path_spec \
13592 sys_lib_dlsearch_path_spec; do
13593 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13594 *[\\\\\\\`\\"\\\$]*)
13595 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13598 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13603 ac_aux_dir='$ac_aux_dir'
13604 xsi_shell='$xsi_shell'
13605 lt_shell_append='$lt_shell_append'
13607 # See if we are running on zsh, and set the options which allow our
13608 # commands through without removal of \ escapes INIT.
13609 if test -n "\${ZSH_VERSION+set}" ; then
13610 setopt NO_GLOB_SUBST
13616 TIMESTAMP='$TIMESTAMP'
13625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13627 # Handling of arguments.
13628 for ac_config_target in $ac_config_targets
13630 case $ac_config_target in
13631 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13632 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13633 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13634 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13635 "atk-bridge-2.0.pc") CONFIG_FILES="$CONFIG_FILES atk-bridge-2.0.pc" ;;
13636 "dbind/dbind-config.h") CONFIG_FILES="$CONFIG_FILES dbind/dbind-config.h" ;;
13637 "dbind/Makefile") CONFIG_FILES="$CONFIG_FILES dbind/Makefile" ;;
13638 "droute/Makefile") CONFIG_FILES="$CONFIG_FILES droute/Makefile" ;;
13639 "atk-adaptor/Makefile") CONFIG_FILES="$CONFIG_FILES atk-adaptor/Makefile" ;;
13640 "atk-adaptor/adaptors/Makefile") CONFIG_FILES="$CONFIG_FILES atk-adaptor/adaptors/Makefile" ;;
13641 "atk-adaptor/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES atk-adaptor/gtk-2.0/Makefile" ;;
13642 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
13644 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13649 # If the user did not use the arguments to specify the items to instantiate,
13650 # then the envvar interface is used. Set only those that are not.
13651 # We use the long form for the default assignment because of an extremely
13652 # bizarre bug on SunOS 4.1.3.
13653 if $ac_need_defaults; then
13654 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13655 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13656 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13659 # Have a temporary directory for convenience. Make it in the build tree
13660 # simply because there is no reason against having it here, and in addition,
13661 # creating and moving files from /tmp can sometimes cause problems.
13662 # Hook for its removal unless debugging.
13663 # Note that there is a small window in which the directory will not be cleaned:
13664 # after its creation but before its name has been assigned to `$tmp'.
13668 trap 'exit_status=$?
13669 : "${ac_tmp:=$tmp}"
13670 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13672 trap 'as_fn_exit 1' 1 2 13 15
13674 # Create a (secure) tmp directory for tmp files.
13677 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13681 tmp=./conf$$-$RANDOM
13682 (umask 077 && mkdir "$tmp")
13683 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13686 # Set up the scripts for CONFIG_FILES section.
13687 # No need to generate them if there are no CONFIG_FILES.
13688 # This happens for instance with `./config.status config.h'.
13689 if test -n "$CONFIG_FILES"; then
13692 ac_cr=`echo X | tr X '\015'`
13693 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13694 # But we know of no other shell where ac_cr would be empty at this
13695 # point, so we can use a bashism as a fallback.
13696 if test "x$ac_cr" = x; then
13697 eval ac_cr=\$\'\\r\'
13699 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13700 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13703 ac_cs_awk_cr=$ac_cr
13706 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13711 echo "cat >conf$$subs.awk <<_ACEOF" &&
13712 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13714 } >conf$$subs.sh ||
13715 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13716 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13718 for ac_last_try in false false false false false :; do
13719 . ./conf$$subs.sh ||
13720 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13722 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13723 if test $ac_delim_n = $ac_delim_num; then
13725 elif $ac_last_try; then
13726 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13728 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13731 rm -f conf$$subs.sh
13733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13734 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13738 s/^/S["/; s/!.*/"]=/
13748 s/\(.\{148\}\)..*/\1/
13750 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13755 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13762 s/\(.\{148\}\)..*/\1/
13764 s/["\\]/\\&/g; s/^/"/; s/$/"/
13768 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13773 ' <conf$$subs.awk | sed '
13778 ' >>$CONFIG_STATUS || ac_write_fail=1
13779 rm -f conf$$subs.awk
13780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13782 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13783 for (key in S) S_is_set[key] = 1
13789 nfields = split(line, field, "@")
13791 len = length(field[1])
13792 for (i = 2; i < nfields; i++) {
13794 keylen = length(key)
13795 if (S_is_set[key]) {
13797 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13798 len += length(value) + length(field[++i])
13809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13810 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13811 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13814 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13815 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13818 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13819 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13820 # trailing colons and then remove the whole line if VPATH becomes empty
13821 # (actually we leave an empty line to preserve line numbers).
13822 if test "x$srcdir" = x.; then
13823 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13842 fi # test -n "$CONFIG_FILES"
13844 # Set up the scripts for CONFIG_HEADERS section.
13845 # No need to generate them if there are no CONFIG_HEADERS.
13846 # This happens for instance with `./config.status Makefile'.
13847 if test -n "$CONFIG_HEADERS"; then
13848 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13852 # Transform confdefs.h into an awk script `defines.awk', embedded as
13853 # here-document in config.status, that substitutes the proper values into
13854 # config.h.in to produce config.h.
13856 # Create a delimiter string that does not exist in confdefs.h, to ease
13857 # handling of long lines.
13859 for ac_last_try in false false :; do
13860 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13861 if test -z "$ac_tt"; then
13863 elif $ac_last_try; then
13864 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13866 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13870 # For the awk script, D is an array of macro values keyed by name,
13871 # likewise P contains macro parameters if any. Preserve backslash
13872 # newline sequences.
13874 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13876 s/.\{148\}/&'"$ac_delim"'/g
13879 s/^[ ]*#[ ]*define[ ][ ]*/ /
13886 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13888 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13892 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13893 D["\1"]=" \3\\\\\\n"\\/p
13895 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13900 s/.\{148\}/&'"$ac_delim"'/g
13905 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13908 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13910 ' <confdefs.h | sed '
13911 s/'"$ac_delim"'/"\\\
13912 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13915 for (key in D) D_is_set[key] = 1
13918 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13920 split(line, arg, " ")
13921 if (arg[1] == "#") {
13925 defundef = substr(arg[1], 2)
13928 split(mac1, mac2, "(") #)
13930 prefix = substr(line, 1, index(line, defundef) - 1)
13931 if (D_is_set[macro]) {
13932 # Preserve the white space surrounding the "#".
13933 print prefix "define", macro P[macro] D[macro]
13936 # Replace #undef with comments. This is necessary, for example,
13937 # in the case of _POSIX_SOURCE, which is predefined and required
13938 # on some systems where configure will not decide to define it.
13939 if (defundef == "undef") {
13940 print "/*", prefix defundef, macro, "*/"
13948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13949 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13950 fi # test -n "$CONFIG_HEADERS"
13953 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13958 :[FHLC]) ac_mode=$ac_tag; continue;;
13960 case $ac_mode$ac_tag in
13962 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13963 :[FH]-) ac_tag=-:-;;
13964 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13981 -) ac_f="$ac_tmp/stdin";;
13982 *) # Look for the file first in the build tree, then in the source tree
13983 # (if the path is not absolute). The absolute path cannot be DOS-style,
13984 # because $ac_f cannot contain `:'.
13988 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13990 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13992 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13993 as_fn_append ac_file_inputs " '$ac_f'"
13996 # Let's still pretend it is `configure' which instantiates (i.e., don't
13997 # use $as_me), people would be surprised to read:
13998 # /* config.h. Generated by config.status. */
13999 configure_input='Generated from '`
14000 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14002 if test x"$ac_file" != x-; then
14003 configure_input="$ac_file. $configure_input"
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14005 $as_echo "$as_me: creating $ac_file" >&6;}
14007 # Neutralize special characters interpreted by sed in replacement strings.
14008 case $configure_input in #(
14009 *\&* | *\|* | *\\* )
14010 ac_sed_conf_input=`$as_echo "$configure_input" |
14011 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14012 *) ac_sed_conf_input=$configure_input;;
14016 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14017 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14022 ac_dir=`$as_dirname -- "$ac_file" ||
14023 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14024 X"$ac_file" : 'X\(//\)[^/]' \| \
14025 X"$ac_file" : 'X\(//\)$' \| \
14026 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14027 $as_echo X"$ac_file" |
14028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14032 /^X\(\/\/\)[^/].*/{
14045 as_dir="$ac_dir"; as_fn_mkdir_p
14049 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14051 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14052 # A ".." for each directory in $ac_dir_suffix.
14053 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14054 case $ac_top_builddir_sub in
14055 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14056 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14059 ac_abs_top_builddir=$ac_pwd
14060 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14061 # for backward compatibility:
14062 ac_top_builddir=$ac_top_build_prefix
14065 .) # We are building in place.
14067 ac_top_srcdir=$ac_top_builddir_sub
14068 ac_abs_top_srcdir=$ac_pwd ;;
14069 [\\/]* | ?:[\\/]* ) # Absolute name.
14070 ac_srcdir=$srcdir$ac_dir_suffix;
14071 ac_top_srcdir=$srcdir
14072 ac_abs_top_srcdir=$srcdir ;;
14073 *) # Relative name.
14074 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14075 ac_top_srcdir=$ac_top_build_prefix$srcdir
14076 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14078 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14088 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14089 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14091 ac_MKDIR_P=$MKDIR_P
14093 [\\/$]* | ?:[\\/]* ) ;;
14094 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14099 # If the template does not know about datarootdir, expand it.
14100 # FIXME: This hack should be removed a few years after 2.60.
14101 ac_datarootdir_hack=; ac_datarootdir_seen=
14112 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14113 *datarootdir*) ac_datarootdir_seen=yes;;
14114 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14116 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14119 ac_datarootdir_hack='
14120 s&@datadir@&$datadir&g
14121 s&@docdir@&$docdir&g
14122 s&@infodir@&$infodir&g
14123 s&@localedir@&$localedir&g
14124 s&@mandir@&$mandir&g
14125 s&\\\${datarootdir}&$datarootdir&g' ;;
14129 # Neutralize VPATH when `$srcdir' = `.'.
14130 # Shell code in configure.ac might set extrasub.
14131 # FIXME: do we really want to maintain this feature?
14132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14133 ac_sed_extra="$ac_vpsub
14136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14138 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14139 s|@configure_input@|$ac_sed_conf_input|;t t
14140 s&@top_builddir@&$ac_top_builddir_sub&;t t
14141 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14142 s&@srcdir@&$ac_srcdir&;t t
14143 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14144 s&@top_srcdir@&$ac_top_srcdir&;t t
14145 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14146 s&@builddir@&$ac_builddir&;t t
14147 s&@abs_builddir@&$ac_abs_builddir&;t t
14148 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14149 s&@INSTALL@&$ac_INSTALL&;t t
14150 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14151 $ac_datarootdir_hack
14153 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14154 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14156 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14157 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14158 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14159 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14161 which seems to be undefined. Please make sure it is defined" >&5
14162 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14163 which seems to be undefined. Please make sure it is defined" >&2;}
14165 rm -f "$ac_tmp/stdin"
14167 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14168 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14170 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14176 if test x"$ac_file" != x-; then
14178 $as_echo "/* $configure_input */" \
14179 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14180 } >"$ac_tmp/config.h" \
14181 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14182 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14184 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14187 mv "$ac_tmp/config.h" "$ac_file" \
14188 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14191 $as_echo "/* $configure_input */" \
14192 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14193 || as_fn_error $? "could not create -" "$LINENO" 5
14195 # Compute "$ac_file"'s index in $config_headers.
14198 for _am_header in $config_headers :; do
14199 case $_am_header in
14200 $_am_arg | $_am_arg:* )
14203 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14206 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14207 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14208 X"$_am_arg" : 'X\(//\)[^/]' \| \
14209 X"$_am_arg" : 'X\(//\)$' \| \
14210 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14211 $as_echo X"$_am_arg" |
14212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14216 /^X\(\/\/\)[^/].*/{
14228 s/.*/./; q'`/stamp-h$_am_stamp_count
14231 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14232 $as_echo "$as_me: executing $ac_file commands" >&6;}
14237 case $ac_file$ac_mode in
14238 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14239 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14240 # are listed without --file. Let's play safe and only enable the eval
14241 # if we detect the quoting.
14242 case $CONFIG_FILES in
14243 *\'*) eval set x "$CONFIG_FILES" ;;
14244 *) set x $CONFIG_FILES ;;
14249 # Strip MF so we end up with the name of the file.
14250 mf=`echo "$mf" | sed -e 's/:.*$//'`
14251 # Check whether this is an Automake generated Makefile or not.
14252 # We used to match only the files named 'Makefile.in', but
14253 # some people rename them; so instead we look at the file content.
14254 # Grep'ing the first line is not enough: some people post-process
14255 # each Makefile.in and add a new line on top of each file to say so.
14256 # Grep'ing the whole file is not good either: AIX grep has a line
14257 # limit of 2048, but all sed's we know have understand at least 4000.
14258 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14259 dirpart=`$as_dirname -- "$mf" ||
14260 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14261 X"$mf" : 'X\(//\)[^/]' \| \
14262 X"$mf" : 'X\(//\)$' \| \
14263 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14269 /^X\(\/\/\)[^/].*/{
14285 # Extract the definition of DEPDIR, am__include, and am__quote
14286 # from the Makefile without running 'make'.
14287 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14288 test -z "$DEPDIR" && continue
14289 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14290 test -z "am__include" && continue
14291 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14292 # Find all dependency output files, they are included files with
14293 # $(DEPDIR) in their names. We invoke sed twice because it is the
14294 # simplest approach to changing $(DEPDIR) to its actual value in the
14296 for file in `sed -n "
14297 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14298 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14299 # Make sure the directory exists.
14300 test -f "$dirpart/$file" && continue
14301 fdir=`$as_dirname -- "$file" ||
14302 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14303 X"$file" : 'X\(//\)[^/]' \| \
14304 X"$file" : 'X\(//\)$' \| \
14305 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14306 $as_echo X"$file" |
14307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14311 /^X\(\/\/\)[^/].*/{
14324 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14325 # echo "creating $dirpart/$file"
14326 echo '# dummy' > "$dirpart/$file"
14333 # See if we are running on zsh, and set the options which allow our
14334 # commands through without removal of \ escapes.
14335 if test -n "${ZSH_VERSION+set}" ; then
14336 setopt NO_GLOB_SUBST
14339 cfgfile="${ofile}T"
14340 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14343 cat <<_LT_EOF >> "$cfgfile"
14346 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14347 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14348 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14349 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14351 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14352 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14354 # Written by Gordon Matzigkeit, 1996
14356 # This file is part of GNU Libtool.
14358 # GNU Libtool is free software; you can redistribute it and/or
14359 # modify it under the terms of the GNU General Public License as
14360 # published by the Free Software Foundation; either version 2 of
14361 # the License, or (at your option) any later version.
14363 # As a special exception to the GNU General Public License,
14364 # if you distribute this file as part of a program or library that
14365 # is built using GNU Libtool, you may include this file under the
14366 # same distribution terms that you use for the rest of that program.
14368 # GNU Libtool is distributed in the hope that it will be useful,
14369 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14370 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14371 # GNU General Public License for more details.
14373 # You should have received a copy of the GNU General Public License
14374 # along with GNU Libtool; see the file COPYING. If not, a copy
14375 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14376 # obtained by writing to the Free Software Foundation, Inc.,
14377 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14380 # The names of the tagged configurations supported by this script.
14383 # ### BEGIN LIBTOOL CONFIG
14385 # Whether or not to build static libraries.
14386 build_old_libs=$enable_static
14388 # Which release of libtool.m4 was used?
14389 macro_version=$macro_version
14390 macro_revision=$macro_revision
14392 # Whether or not to build shared libraries.
14393 build_libtool_libs=$enable_shared
14395 # What type of objects to build.
14398 # Whether or not to optimize for fast installation.
14399 fast_install=$enable_fast_install
14401 # Shell to use when invoking shell scripts.
14404 # An echo program that protects backslashes.
14407 # The PATH separator for the build system.
14408 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14411 host_alias=$host_alias
14415 # The build system.
14416 build_alias=$build_alias
14420 # A sed program that does not truncate output.
14423 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14424 Xsed="\$SED -e 1s/^X//"
14426 # A grep program that handles long lines.
14432 # A literal string matcher.
14435 # A BSD- or MS-compatible name lister.
14438 # Whether we need soft or hard links.
14441 # What is the maximum length of a command?
14442 max_cmd_len=$max_cmd_len
14444 # Object file suffix (normally "o").
14447 # Executable file suffix (normally "").
14450 # whether the shell understands "unset".
14453 # turn spaces into newlines.
14456 # turn newlines into spaces.
14459 # convert \$build file names to \$host format.
14460 to_host_file_cmd=$lt_cv_to_host_file_cmd
14462 # convert \$build files to toolchain format.
14463 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14465 # An object symbol dumper.
14466 OBJDUMP=$lt_OBJDUMP
14468 # Method to check whether dependent libraries are shared objects.
14469 deplibs_check_method=$lt_deplibs_check_method
14471 # Command to use when deplibs_check_method = "file_magic".
14472 file_magic_cmd=$lt_file_magic_cmd
14474 # How to find potential files when deplibs_check_method = "file_magic".
14475 file_magic_glob=$lt_file_magic_glob
14477 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14478 want_nocaseglob=$lt_want_nocaseglob
14480 # DLL creation program.
14481 DLLTOOL=$lt_DLLTOOL
14483 # Command to associate shared and link libraries.
14484 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14489 # Flags to create an archive.
14490 AR_FLAGS=$lt_AR_FLAGS
14492 # How to feed a file listing to the archiver.
14493 archiver_list_spec=$lt_archiver_list_spec
14495 # A symbol stripping program.
14498 # Commands used to install an old-style archive.
14500 old_postinstall_cmds=$lt_old_postinstall_cmds
14501 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14503 # Whether to use a lock for old archive extraction.
14504 lock_old_archive_extraction=$lock_old_archive_extraction
14509 # LTCC compiler flags.
14510 LTCFLAGS=$lt_CFLAGS
14512 # Take the output of nm and produce a listing of raw symbols and C names.
14513 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14515 # Transform the output of nm in a proper C declaration.
14516 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14518 # Transform the output of nm in a C name address pair.
14519 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14521 # Transform the output of nm in a C name address pair when lib prefix is needed.
14522 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14524 # Specify filename containing input files for \$NM.
14525 nm_file_list_spec=$lt_nm_file_list_spec
14527 # The root where to search for dependent libraries,and in which our libraries should be installed.
14528 lt_sysroot=$lt_sysroot
14530 # The name of the directory that contains temporary libtool files.
14533 # Used to examine libraries when file_magic_cmd begins with "file".
14534 MAGIC_CMD=$MAGIC_CMD
14536 # Must we lock files when doing compilation?
14537 need_locks=$lt_need_locks
14540 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14542 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14543 DSYMUTIL=$lt_DSYMUTIL
14545 # Tool to change global to local symbols on Mac OS X.
14548 # Tool to manipulate fat objects and archives on Mac OS X.
14551 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14554 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14555 OTOOL64=$lt_OTOOL64
14557 # Old archive suffix (normally "a").
14560 # Shared library suffix (normally ".so").
14561 shrext_cmds=$lt_shrext_cmds
14563 # The commands to extract the exported symbol list from a shared archive.
14564 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14566 # Variables whose values should be saved in libtool wrapper scripts and
14567 # restored at link time.
14568 variables_saved_for_relink=$lt_variables_saved_for_relink
14570 # Do we need the "lib" prefix for modules?
14571 need_lib_prefix=$need_lib_prefix
14573 # Do we need a version for libraries?
14574 need_version=$need_version
14576 # Library versioning type.
14577 version_type=$version_type
14579 # Shared library runtime path variable.
14580 runpath_var=$runpath_var
14582 # Shared library path variable.
14583 shlibpath_var=$shlibpath_var
14585 # Is shlibpath searched before the hard-coded library search path?
14586 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14588 # Format of library name prefix.
14589 libname_spec=$lt_libname_spec
14591 # List of archive names. First name is the real one, the rest are links.
14592 # The last name is the one that the linker finds with -lNAME
14593 library_names_spec=$lt_library_names_spec
14595 # The coded name of the library, if different from the real name.
14596 soname_spec=$lt_soname_spec
14598 # Permission mode override for installation of shared libraries.
14599 install_override_mode=$lt_install_override_mode
14601 # Command to use after installation of a shared archive.
14602 postinstall_cmds=$lt_postinstall_cmds
14604 # Command to use after uninstallation of a shared archive.
14605 postuninstall_cmds=$lt_postuninstall_cmds
14607 # Commands used to finish a libtool library installation in a directory.
14608 finish_cmds=$lt_finish_cmds
14610 # As "finish_cmds", except a single script fragment to be evaled but
14612 finish_eval=$lt_finish_eval
14614 # Whether we should hardcode library paths into libraries.
14615 hardcode_into_libs=$hardcode_into_libs
14617 # Compile-time system search path for libraries.
14618 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14620 # Run-time system search path for libraries.
14621 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14623 # Whether dlopen is supported.
14624 dlopen_support=$enable_dlopen
14626 # Whether dlopen of programs is supported.
14627 dlopen_self=$enable_dlopen_self
14629 # Whether dlopen of statically linked programs is supported.
14630 dlopen_self_static=$enable_dlopen_self_static
14632 # Commands to strip libraries.
14633 old_striplib=$lt_old_striplib
14634 striplib=$lt_striplib
14637 # The linker used to build libraries.
14640 # How to create reloadable object files.
14641 reload_flag=$lt_reload_flag
14642 reload_cmds=$lt_reload_cmds
14644 # Commands used to build an old-style archive.
14645 old_archive_cmds=$lt_old_archive_cmds
14647 # A language specific compiler.
14650 # Is the compiler the GNU compiler?
14653 # Compiler flag to turn off builtin functions.
14654 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14656 # Additional compiler flags for building library objects.
14657 pic_flag=$lt_lt_prog_compiler_pic
14659 # How to pass a linker flag through the compiler.
14660 wl=$lt_lt_prog_compiler_wl
14662 # Compiler flag to prevent dynamic linking.
14663 link_static_flag=$lt_lt_prog_compiler_static
14665 # Does compiler simultaneously support -c and -o options?
14666 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14668 # Whether or not to add -lc for building shared libraries.
14669 build_libtool_need_lc=$archive_cmds_need_lc
14671 # Whether or not to disallow shared libs when runtime libs are static.
14672 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14674 # Compiler flag to allow reflexive dlopens.
14675 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14677 # Compiler flag to generate shared objects directly from archives.
14678 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14680 # Whether the compiler copes with passing no objects directly.
14681 compiler_needs_object=$lt_compiler_needs_object
14683 # Create an old-style archive from a shared archive.
14684 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14686 # Create a temporary old-style archive to link instead of a shared archive.
14687 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14689 # Commands used to build a shared archive.
14690 archive_cmds=$lt_archive_cmds
14691 archive_expsym_cmds=$lt_archive_expsym_cmds
14693 # Commands used to build a loadable module if different from building
14694 # a shared archive.
14695 module_cmds=$lt_module_cmds
14696 module_expsym_cmds=$lt_module_expsym_cmds
14698 # Whether we are building with GNU ld or not.
14699 with_gnu_ld=$lt_with_gnu_ld
14701 # Flag that allows shared libraries with undefined symbols to be built.
14702 allow_undefined_flag=$lt_allow_undefined_flag
14704 # Flag that enforces no undefined symbols.
14705 no_undefined_flag=$lt_no_undefined_flag
14707 # Flag to hardcode \$libdir into a binary during linking.
14708 # This must work even if \$libdir does not exist
14709 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14711 # Whether we need a single "-rpath" flag with a separated argument.
14712 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14714 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14715 # DIR into the resulting binary.
14716 hardcode_direct=$hardcode_direct
14718 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14719 # DIR into the resulting binary and the resulting library dependency is
14720 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14721 # library is relocated.
14722 hardcode_direct_absolute=$hardcode_direct_absolute
14724 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14725 # into the resulting binary.
14726 hardcode_minus_L=$hardcode_minus_L
14728 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14729 # into the resulting binary.
14730 hardcode_shlibpath_var=$hardcode_shlibpath_var
14732 # Set to "yes" if building a shared library automatically hardcodes DIR
14733 # into the library and all subsequent libraries and executables linked
14735 hardcode_automatic=$hardcode_automatic
14737 # Set to yes if linker adds runtime paths of dependent libraries
14738 # to runtime path list.
14739 inherit_rpath=$inherit_rpath
14741 # Whether libtool must link a program against all its dependency libraries.
14742 link_all_deplibs=$link_all_deplibs
14744 # Set to "yes" if exported symbols are required.
14745 always_export_symbols=$always_export_symbols
14747 # The commands to list exported symbols.
14748 export_symbols_cmds=$lt_export_symbols_cmds
14750 # Symbols that should not be listed in the preloaded symbols.
14751 exclude_expsyms=$lt_exclude_expsyms
14753 # Symbols that must always be exported.
14754 include_expsyms=$lt_include_expsyms
14756 # Commands necessary for linking programs (against libraries) with templates.
14757 prelink_cmds=$lt_prelink_cmds
14759 # Commands necessary for finishing linking programs.
14760 postlink_cmds=$lt_postlink_cmds
14762 # Specify filename containing input files.
14763 file_list_spec=$lt_file_list_spec
14765 # How to hardcode a shared library path into an executable.
14766 hardcode_action=$hardcode_action
14768 # ### END LIBTOOL CONFIG
14774 cat <<\_LT_EOF >> "$cfgfile"
14775 # AIX sometimes has problems with the GCC collect2 program. For some
14776 # reason, if we set the COLLECT_NAMES environment variable, the problems
14777 # vanish in a puff of smoke.
14778 if test "X${COLLECT_NAMES+set}" != Xset; then
14780 export COLLECT_NAMES
14787 ltmain="$ac_aux_dir/ltmain.sh"
14790 # We use sed instead of cat because bash on DJGPP gets confused if
14791 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14792 # text mode, it properly converts lines to CR/LF. This bash problem
14793 # is reportedly fixed, but why not run on old versions too?
14794 sed '$q' "$ltmain" >> "$cfgfile" \
14795 || (rm -f "$cfgfile"; exit 1)
14797 if test x"$xsi_shell" = xyes; then
14798 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14802 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14803 \ * ) func_dirname_result="${3}" ;;\
14805 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14806 && mv -f "$cfgfile.tmp" "$cfgfile" \
14807 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14808 test 0 -eq $? || _lt_function_replace_fail=:
14811 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14814 \ func_basename_result="${1##*/}"\
14815 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14816 && mv -f "$cfgfile.tmp" "$cfgfile" \
14817 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14818 test 0 -eq $? || _lt_function_replace_fail=:
14821 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14822 func_dirname_and_basename ()\
14825 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14826 \ * ) func_dirname_result="${3}" ;;\
14828 \ func_basename_result="${1##*/}"\
14829 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14830 && mv -f "$cfgfile.tmp" "$cfgfile" \
14831 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14832 test 0 -eq $? || _lt_function_replace_fail=:
14835 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14838 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14839 \ # positional parameters, so assign one to ordinary parameter first.\
14840 \ func_stripname_result=${3}\
14841 \ func_stripname_result=${func_stripname_result#"${1}"}\
14842 \ func_stripname_result=${func_stripname_result%"${2}"}\
14843 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14844 && mv -f "$cfgfile.tmp" "$cfgfile" \
14845 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14846 test 0 -eq $? || _lt_function_replace_fail=:
14849 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14850 func_split_long_opt ()\
14852 \ func_split_long_opt_name=${1%%=*}\
14853 \ func_split_long_opt_arg=${1#*=}\
14854 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14855 && mv -f "$cfgfile.tmp" "$cfgfile" \
14856 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14857 test 0 -eq $? || _lt_function_replace_fail=:
14860 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14861 func_split_short_opt ()\
14863 \ func_split_short_opt_arg=${1#??}\
14864 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14865 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14866 && mv -f "$cfgfile.tmp" "$cfgfile" \
14867 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14868 test 0 -eq $? || _lt_function_replace_fail=:
14871 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14875 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14876 \ *) func_lo2o_result=${1} ;;\
14878 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14879 && mv -f "$cfgfile.tmp" "$cfgfile" \
14880 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14881 test 0 -eq $? || _lt_function_replace_fail=:
14884 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14887 func_xform_result=${1%.*}.lo\
14888 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14889 && mv -f "$cfgfile.tmp" "$cfgfile" \
14890 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14891 test 0 -eq $? || _lt_function_replace_fail=:
14894 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14897 func_arith_result=$(( $* ))\
14898 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14899 && mv -f "$cfgfile.tmp" "$cfgfile" \
14900 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14901 test 0 -eq $? || _lt_function_replace_fail=:
14904 sed -e '/^func_len ()$/,/^} # func_len /c\
14907 func_len_result=${#1}\
14908 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14909 && mv -f "$cfgfile.tmp" "$cfgfile" \
14910 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14911 test 0 -eq $? || _lt_function_replace_fail=:
14915 if test x"$lt_shell_append" = xyes; then
14916 sed -e '/^func_append ()$/,/^} # func_append /c\
14919 eval "${1}+=\\${2}"\
14920 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14921 && mv -f "$cfgfile.tmp" "$cfgfile" \
14922 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14923 test 0 -eq $? || _lt_function_replace_fail=:
14926 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14927 func_append_quoted ()\
14929 \ func_quote_for_eval "${2}"\
14930 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14931 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14932 && mv -f "$cfgfile.tmp" "$cfgfile" \
14933 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14934 test 0 -eq $? || _lt_function_replace_fail=:
14937 # Save a `func_append' function call where possible by direct use of '+='
14938 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14939 && mv -f "$cfgfile.tmp" "$cfgfile" \
14940 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14941 test 0 -eq $? || _lt_function_replace_fail=:
14943 # Save a `func_append' function call even when '+=' is not available
14944 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14945 && mv -f "$cfgfile.tmp" "$cfgfile" \
14946 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14947 test 0 -eq $? || _lt_function_replace_fail=:
14950 if test x"$_lt_function_replace_fail" = x":"; then
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14952 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14956 mv -f "$cfgfile" "$ofile" ||
14957 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14968 ac_clean_files=$ac_clean_files_save
14970 test $ac_write_fail = 0 ||
14971 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14974 # configure is writing to config.log, and then calls config.status.
14975 # config.status does its own redirection, appending to config.log.
14976 # Unfortunately, on DOS this fails, as config.log is still kept open
14977 # by configure, so config.status won't be able to write to it; its
14978 # output is simply discarded. So we exec the FD to /dev/null,
14979 # effectively closing config.log, so it can be properly (re)opened and
14980 # appended to by config.status. When coming back to configure, we
14981 # need to make the FD available again.
14982 if test "$no_create" != yes; then
14984 ac_config_status_args=
14985 test "$silent" = yes &&
14986 ac_config_status_args="$ac_config_status_args --quiet"
14988 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14990 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14991 # would make configure fail if this is the last instruction.
14992 $ac_cs_success || as_fn_exit 1
14994 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14996 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}