2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for clutter 1.10.4.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=clutter>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=clutter
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='clutter'
573 PACKAGE_TARNAME='clutter'
574 PACKAGE_VERSION='1.10.4'
575 PACKAGE_STRING='clutter 1.10.4'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=clutter'
577 PACKAGE_URL='http://www.clutter-project.org'
579 ac_unique_file="clutter/clutter.h"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
617 ac_subst_vars='am__EXEEXT_FALSE
630 XGETTEXT_EXTRA_OPTIONS
638 GETTEXT_MACRO_VERSION
653 GTK_DOC_USE_REBASE_FALSE
654 GTK_DOC_USE_REBASE_TRUE
655 GTK_DOC_USE_LIBTOOL_FALSE
656 GTK_DOC_USE_LIBTOOL_TRUE
657 GTK_DOC_BUILD_PDF_FALSE
658 GTK_DOC_BUILD_PDF_TRUE
659 GTK_DOC_BUILD_HTML_FALSE
660 GTK_DOC_BUILD_HTML_TRUE
669 HAVE_INTROSPECTION_FALSE
670 HAVE_INTROSPECTION_TRUE
671 INTROSPECTION_MAKEFILE
674 INTROSPECTION_TYPELIBDIR
676 INTROSPECTION_GENERATE
677 INTROSPECTION_COMPILER
678 INTROSPECTION_SCANNER
681 CLUTTER_REQUIRES_PRIVATE
683 CLUTTER_DEPS_PRIVATE_LIBS
684 CLUTTER_DEPS_PRIVATE_CFLAGS
693 CLUTTER_PROFILE_LDFLAGS
694 CLUTTER_PROFILE_CFLAGS
701 CLUTTER_DEPRECATED_CFLAGS
719 CLUTTER_CONFIG_DEFINES
720 CLUTTER_INPUT_BACKENDS
732 SUPPORT_WAYLAND_FALSE
753 CLUTTER_CEX100_LIBGDL_PREFIX
754 SUPPORT_WAYLAND_COMPOSITOR_FALSE
755 SUPPORT_WAYLAND_COMPOSITOR_TRUE
757 GLIB_COMPILE_RESOURCES
767 XCOMPOSITE_REQ_VERSION
775 JSON_GLIB_REQ_VERSION
837 CLUTTER_RELEASE_STATUS
838 CLUTTER_API_VERSION_AM
841 CLUTTER_MICRO_VERSION
842 CLUTTER_MINOR_VERSION
843 CLUTTER_MAJOR_VERSION
856 INSTALL_STRIP_PROGRAM
898 program_transform_name
911 enable_option_checking
913 enable_dependency_tracking
925 enable_quartz_backend
927 enable_wayland_backend
929 enable_cex100_backend
930 enable_wayland_compositor
941 enable_maintainer_flags
953 ac_precious_vars='build_alias
976 CLUTTER_DEPS_PRIVATE_CFLAGS
977 CLUTTER_DEPS_PRIVATE_LIBS
982 # Initialize some variables set by options.
984 ac_init_version=false
985 ac_unrecognized_opts=
987 # The variables have the same names as the options, with
988 # dashes changed to underlines.
996 program_transform_name=s,x,x,
1004 # Installation directory options.
1005 # These are left unexpanded so users can "make install exec_prefix=/foo"
1006 # and all the variables that are supposed to be based on exec_prefix
1007 # by default will actually change.
1008 # Use braces instead of parens because sh, perl, etc. also accept them.
1009 # (The list follows the same order as the GNU Coding Standards.)
1010 bindir='${exec_prefix}/bin'
1011 sbindir='${exec_prefix}/sbin'
1012 libexecdir='${exec_prefix}/libexec'
1013 datarootdir='${prefix}/share'
1014 datadir='${datarootdir}'
1015 sysconfdir='${prefix}/etc'
1016 sharedstatedir='${prefix}/com'
1017 localstatedir='${prefix}/var'
1018 includedir='${prefix}/include'
1019 oldincludedir='/usr/include'
1020 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1021 infodir='${datarootdir}/info'
1026 libdir='${exec_prefix}/lib'
1027 localedir='${datarootdir}/locale'
1028 mandir='${datarootdir}/man'
1034 # If the previous option needs an argument, assign it.
1035 if test -n "$ac_prev"; then
1036 eval $ac_prev=\$ac_option
1042 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1047 # Accept the important Cygnus configure options, so we can diagnose typos.
1049 case $ac_dashdash$ac_option in
1053 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1055 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1056 bindir=$ac_optarg ;;
1058 -build | --build | --buil | --bui | --bu)
1059 ac_prev=build_alias ;;
1060 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1061 build_alias=$ac_optarg ;;
1063 -cache-file | --cache-file | --cache-fil | --cache-fi \
1064 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1065 ac_prev=cache_file ;;
1066 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1067 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1068 cache_file=$ac_optarg ;;
1070 --config-cache | -C)
1071 cache_file=config.cache ;;
1073 -datadir | --datadir | --datadi | --datad)
1075 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1076 datadir=$ac_optarg ;;
1078 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1079 | --dataroo | --dataro | --datar)
1080 ac_prev=datarootdir ;;
1081 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1082 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1083 datarootdir=$ac_optarg ;;
1085 -disable-* | --disable-*)
1086 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error $? "invalid feature name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1094 "enable_$ac_useropt"
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1099 eval enable_$ac_useropt=no ;;
1101 -docdir | --docdir | --docdi | --doc | --do)
1103 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1104 docdir=$ac_optarg ;;
1106 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1108 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1109 dvidir=$ac_optarg ;;
1111 -enable-* | --enable-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid feature name: $ac_useropt"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1120 "enable_$ac_useropt"
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1125 eval enable_$ac_useropt=\$ac_optarg ;;
1127 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1128 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1129 | --exec | --exe | --ex)
1130 ac_prev=exec_prefix ;;
1131 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1132 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1133 | --exec=* | --exe=* | --ex=*)
1134 exec_prefix=$ac_optarg ;;
1136 -gas | --gas | --ga | --g)
1137 # Obsolete; use --with-gas.
1140 -help | --help | --hel | --he | -h)
1141 ac_init_help=long ;;
1142 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1143 ac_init_help=recursive ;;
1144 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1145 ac_init_help=short ;;
1147 -host | --host | --hos | --ho)
1148 ac_prev=host_alias ;;
1149 -host=* | --host=* | --hos=* | --ho=*)
1150 host_alias=$ac_optarg ;;
1152 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1154 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1156 htmldir=$ac_optarg ;;
1158 -includedir | --includedir | --includedi | --included | --include \
1159 | --includ | --inclu | --incl | --inc)
1160 ac_prev=includedir ;;
1161 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1162 | --includ=* | --inclu=* | --incl=* | --inc=*)
1163 includedir=$ac_optarg ;;
1165 -infodir | --infodir | --infodi | --infod | --info | --inf)
1167 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1168 infodir=$ac_optarg ;;
1170 -libdir | --libdir | --libdi | --libd)
1172 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1173 libdir=$ac_optarg ;;
1175 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1176 | --libexe | --libex | --libe)
1177 ac_prev=libexecdir ;;
1178 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1179 | --libexe=* | --libex=* | --libe=*)
1180 libexecdir=$ac_optarg ;;
1182 -localedir | --localedir | --localedi | --localed | --locale)
1183 ac_prev=localedir ;;
1184 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1185 localedir=$ac_optarg ;;
1187 -localstatedir | --localstatedir | --localstatedi | --localstated \
1188 | --localstate | --localstat | --localsta | --localst | --locals)
1189 ac_prev=localstatedir ;;
1190 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1191 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1192 localstatedir=$ac_optarg ;;
1194 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1196 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1197 mandir=$ac_optarg ;;
1199 -nfp | --nfp | --nf)
1200 # Obsolete; use --without-fp.
1203 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1204 | --no-cr | --no-c | -n)
1207 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1208 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1211 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1212 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1213 | --oldin | --oldi | --old | --ol | --o)
1214 ac_prev=oldincludedir ;;
1215 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1216 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1217 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1218 oldincludedir=$ac_optarg ;;
1220 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1222 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1223 prefix=$ac_optarg ;;
1225 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1226 | --program-pre | --program-pr | --program-p)
1227 ac_prev=program_prefix ;;
1228 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1229 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1230 program_prefix=$ac_optarg ;;
1232 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1233 | --program-suf | --program-su | --program-s)
1234 ac_prev=program_suffix ;;
1235 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1236 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1237 program_suffix=$ac_optarg ;;
1239 -program-transform-name | --program-transform-name \
1240 | --program-transform-nam | --program-transform-na \
1241 | --program-transform-n | --program-transform- \
1242 | --program-transform | --program-transfor \
1243 | --program-transfo | --program-transf \
1244 | --program-trans | --program-tran \
1245 | --progr-tra | --program-tr | --program-t)
1246 ac_prev=program_transform_name ;;
1247 -program-transform-name=* | --program-transform-name=* \
1248 | --program-transform-nam=* | --program-transform-na=* \
1249 | --program-transform-n=* | --program-transform-=* \
1250 | --program-transform=* | --program-transfor=* \
1251 | --program-transfo=* | --program-transf=* \
1252 | --program-trans=* | --program-tran=* \
1253 | --progr-tra=* | --program-tr=* | --program-t=*)
1254 program_transform_name=$ac_optarg ;;
1256 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1258 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1259 pdfdir=$ac_optarg ;;
1261 -psdir | --psdir | --psdi | --psd | --ps)
1263 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267 | -silent | --silent | --silen | --sile | --sil)
1270 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1272 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1274 sbindir=$ac_optarg ;;
1276 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1277 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1278 | --sharedst | --shareds | --shared | --share | --shar \
1280 ac_prev=sharedstatedir ;;
1281 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1282 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1283 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1285 sharedstatedir=$ac_optarg ;;
1287 -site | --site | --sit)
1289 -site=* | --site=* | --sit=*)
1292 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1294 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1295 srcdir=$ac_optarg ;;
1297 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1298 | --syscon | --sysco | --sysc | --sys | --sy)
1299 ac_prev=sysconfdir ;;
1300 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1301 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1302 sysconfdir=$ac_optarg ;;
1304 -target | --target | --targe | --targ | --tar | --ta | --t)
1305 ac_prev=target_alias ;;
1306 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1307 target_alias=$ac_optarg ;;
1309 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1312 -version | --version | --versio | --versi | --vers | -V)
1313 ac_init_version=: ;;
1316 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1317 # Reject names that are not valid shell variable names.
1318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319 as_fn_error $? "invalid package name: $ac_useropt"
1320 ac_useropt_orig=$ac_useropt
1321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322 case $ac_user_opts in
1326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1327 ac_unrecognized_sep=', ';;
1329 eval with_$ac_useropt=\$ac_optarg ;;
1331 -without-* | --without-*)
1332 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1333 # Reject names that are not valid shell variable names.
1334 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1335 as_fn_error $? "invalid package name: $ac_useropt"
1336 ac_useropt_orig=$ac_useropt
1337 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1338 case $ac_user_opts in
1342 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1343 ac_unrecognized_sep=', ';;
1345 eval with_$ac_useropt=no ;;
1348 # Obsolete; use --with-x.
1351 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1352 | --x-incl | --x-inc | --x-in | --x-i)
1353 ac_prev=x_includes ;;
1354 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1355 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1356 x_includes=$ac_optarg ;;
1358 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1359 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1360 ac_prev=x_libraries ;;
1361 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1362 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1363 x_libraries=$ac_optarg ;;
1365 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1366 Try \`$0 --help' for more information"
1370 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1371 # Reject names that are not valid shell variable names.
1372 case $ac_envvar in #(
1373 '' | [0-9]* | *[!_$as_cr_alnum]* )
1374 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1376 eval $ac_envvar=\$ac_optarg
1377 export $ac_envvar ;;
1380 # FIXME: should be removed in autoconf 3.0.
1381 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1382 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1383 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1384 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1390 if test -n "$ac_prev"; then
1391 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1392 as_fn_error $? "missing argument to $ac_option"
1395 if test -n "$ac_unrecognized_opts"; then
1396 case $enable_option_checking in
1398 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1399 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1403 # Check all directory arguments for consistency.
1404 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1405 datadir sysconfdir sharedstatedir localstatedir includedir \
1406 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1407 libdir localedir mandir
1409 eval ac_val=\$$ac_var
1410 # Remove trailing slashes.
1413 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1414 eval $ac_var=\$ac_val;;
1416 # Be sure to have absolute directory names.
1418 [\\/$]* | ?:[\\/]* ) continue;;
1419 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1421 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1424 # There might be people who depend on the old broken behavior: `$host'
1425 # used to hold the argument of --host etc.
1426 # FIXME: To remove some day.
1429 target=$target_alias
1431 # FIXME: To remove some day.
1432 if test "x$host_alias" != x; then
1433 if test "x$build_alias" = x; then
1434 cross_compiling=maybe
1435 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1436 If a cross compiler is detected then cross compile mode will be used" >&2
1437 elif test "x$build_alias" != "x$host_alias"; then
1443 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1445 test "$silent" = yes && exec 6>/dev/null
1448 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1449 ac_ls_di=`ls -di .` &&
1450 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1451 as_fn_error $? "working directory cannot be determined"
1452 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1453 as_fn_error $? "pwd does not report name of working directory"
1456 # Find the source files, if location was not specified.
1457 if test -z "$srcdir"; then
1458 ac_srcdir_defaulted=yes
1459 # Try the directory containing this script, then the parent directory.
1460 ac_confdir=`$as_dirname -- "$as_myself" ||
1461 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1462 X"$as_myself" : 'X\(//\)[^/]' \| \
1463 X"$as_myself" : 'X\(//\)$' \| \
1464 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1465 $as_echo X"$as_myself" |
1466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1484 if test ! -r "$srcdir/$ac_unique_file"; then
1488 ac_srcdir_defaulted=no
1490 if test ! -r "$srcdir/$ac_unique_file"; then
1491 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1492 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1494 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1496 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1498 # When building in place, set srcdir=.
1499 if test "$ac_abs_confdir" = "$ac_pwd"; then
1502 # Remove unnecessary trailing slashes from srcdir.
1503 # Double slashes in file names in object file debugging info
1504 # mess up M-x gdb in Emacs.
1506 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1508 for ac_var in $ac_precious_vars; do
1509 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1510 eval ac_env_${ac_var}_value=\$${ac_var}
1511 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1512 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1516 # Report the --help message.
1518 if test "$ac_init_help" = "long"; then
1519 # Omit some internal or obsolete options to make the list less imposing.
1520 # This message is too long to be a string in the A/UX 3.1 sh.
1522 \`configure' configures clutter 1.10.4 to adapt to many kinds of systems.
1524 Usage: $0 [OPTION]... [VAR=VALUE]...
1526 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1527 VAR=VALUE. See below for descriptions of some of the useful variables.
1529 Defaults for the options are specified in brackets.
1532 -h, --help display this help and exit
1533 --help=short display options specific to this package
1534 --help=recursive display the short help of all the included packages
1535 -V, --version display version information and exit
1536 -q, --quiet, --silent do not print \`checking ...' messages
1537 --cache-file=FILE cache test results in FILE [disabled]
1538 -C, --config-cache alias for \`--cache-file=config.cache'
1539 -n, --no-create do not create output files
1540 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1542 Installation directories:
1543 --prefix=PREFIX install architecture-independent files in PREFIX
1544 [$ac_default_prefix]
1545 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1548 By default, \`make install' will install all the files in
1549 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1550 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1551 for instance \`--prefix=\$HOME'.
1553 For better control, use the options below.
1555 Fine tuning of the installation directories:
1556 --bindir=DIR user executables [EPREFIX/bin]
1557 --sbindir=DIR system admin executables [EPREFIX/sbin]
1558 --libexecdir=DIR program executables [EPREFIX/libexec]
1559 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1560 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1561 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1562 --libdir=DIR object code libraries [EPREFIX/lib]
1563 --includedir=DIR C header files [PREFIX/include]
1564 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1565 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1566 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1567 --infodir=DIR info documentation [DATAROOTDIR/info]
1568 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1569 --mandir=DIR man documentation [DATAROOTDIR/man]
1570 --docdir=DIR documentation root [DATAROOTDIR/doc/clutter]
1571 --htmldir=DIR html documentation [DOCDIR]
1572 --dvidir=DIR dvi documentation [DOCDIR]
1573 --pdfdir=DIR pdf documentation [DOCDIR]
1574 --psdir=DIR ps documentation [DOCDIR]
1580 --program-prefix=PREFIX prepend PREFIX to installed program names
1581 --program-suffix=SUFFIX append SUFFIX to installed program names
1582 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1585 --x-includes=DIR X include files are in DIR
1586 --x-libraries=DIR X library files are in DIR
1589 --build=BUILD configure for building on BUILD [guessed]
1590 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1594 if test -n "$ac_init_help"; then
1595 case $ac_init_help in
1596 short | recursive ) echo "Configuration of clutter 1.10.4:";;
1601 --disable-option-checking ignore unrecognized --enable/--with options
1602 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1603 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1604 --enable-silent-rules less verbose build output (undo: `make V=1')
1605 --disable-silent-rules verbose build output (undo: `make V=0')
1606 --disable-dependency-tracking speeds up one-time build
1607 --enable-dependency-tracking do not reject slow dependency extractors
1608 --enable-static[=PKGS] build static libraries [default=no]
1609 --enable-shared[=PKGS] build shared libraries [default=yes]
1610 --enable-fast-install[=PKGS]
1611 optimize for fast installation [default=yes]
1612 --disable-libtool-lock avoid locking (might break parallel builds)
1613 --disable-glibtest do not try to compile and run a test GLIB program
1614 --disable-Bsymbolic Avoid linking with -Bsymbolic
1615 --enable-x11-backend=[yes/no]
1616 Enable the X11 backend (default=check)
1617 --enable-win32-backend=[yes/no]
1618 Enable the Windows backend (default=check)
1619 --enable-quartz-backend=[yes/no]
1620 Enable the OS X backend (default=check)
1621 --enable-gdk-backend=[yes/no]
1622 Enable the GDK backend (default=check)
1623 --enable-wayland-backend=[yes/no]
1624 Enable the Wayland client backend (default=no)
1625 --enable-egl-backend=[yes/no]
1626 Enable the EGL framebuffer backend (default=no)
1627 --enable-cex100-backend=[yes/no]
1628 Enable the CEx100 backend (default=no)
1629 --enable-wayland-compositor=[yes/no]
1630 Enable Wayland compositor features (default=no)
1631 --enable-tslib-input=[yes/no]
1632 Enable TSLib for input events (default=no)
1633 --enable-evdev-input=[yes/no]
1634 Enable evdev for input events (default=no)
1635 --enable-xinput Use the XI X extension
1636 --enable-gdk-pixbuf=[no/yes]
1637 Enable tests using GDK-Pixbuf [default=yes]
1638 --enable-debug=[no/minimum/yes]
1639 Control Clutter debugging level [default=minimum]
1640 --enable-deprecated=[no/yes]
1641 Whether deprecated symbols should be disabled when
1642 compiling Clutter [default=yes]
1643 --enable-conformance=[no/yes]
1644 Build conformance test suite [default=yes]
1645 --enable-profile=[no/yes]
1646 Turn on profiling support. yes; All profiling probe
1647 points are compiled in and may be runtime enabled.
1648 no; No profiling support will built into clutter.
1650 --enable-gcov Whether to enable coverage testing (requires gcc and
1652 --enable-maintainer-flags=[no/yes/error]
1653 Use strict compiler flags [default=no]
1654 --enable-introspection=[no/auto/yes]
1655 Enable introspection for this build
1656 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1657 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1658 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1659 --enable-docs=[no/yes] Build optional documentation; requires xsltproc and
1661 --disable-nls do not use Native Language Support
1662 --disable-rpath do not hardcode runtime library paths
1665 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1666 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1667 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1669 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1670 --with-sysroot=DIR Search for dependent libraries within DIR
1671 (or the compiler's sysroot if not specified).
1672 --with-x use the X Window System
1673 --with-html-dir=PATH path to installed docs
1674 --with-gnu-ld assume the C compiler uses GNU ld default=no
1675 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1676 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1677 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1678 --without-libintl-prefix don't search for libintl in includedir and libdir
1680 Some influential environment variables:
1681 CC C compiler command
1682 CFLAGS C compiler flags
1683 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1684 nonstandard directory <lib dir>
1685 LIBS libraries to pass to the linker, e.g. -l<library>
1686 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1687 you have headers in a nonstandard directory <include dir>
1689 PKG_CONFIG path to pkg-config utility
1691 directories to add to pkg-config's search path
1693 path overriding pkg-config's built-in search path
1695 C compiler flags for TSLIB, overriding pkg-config
1696 TSLIB_LIBS linker flags for TSLIB, overriding pkg-config
1698 C compiler flags for EVDEV, overriding pkg-config
1699 EVDEV_LIBS linker flags for EVDEV, overriding pkg-config
1700 XMKMF Path to xmkmf, Makefile generator for X Window System
1702 C compiler flags for GDK_PIXBUF, overriding pkg-config
1704 linker flags for GDK_PIXBUF, overriding pkg-config
1706 C compiler flags for PROFILE_DEP, overriding pkg-config
1708 linker flags for PROFILE_DEP, overriding pkg-config
1710 C compiler flags for CLUTTER_DEPS, overriding pkg-config
1712 linker flags for CLUTTER_DEPS, overriding pkg-config
1713 CLUTTER_DEPS_PRIVATE_CFLAGS
1714 C compiler flags for CLUTTER_DEPS_PRIVATE, overriding pkg-config
1715 CLUTTER_DEPS_PRIVATE_LIBS
1716 linker flags for CLUTTER_DEPS_PRIVATE, overriding pkg-config
1718 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1720 linker flags for GTKDOC_DEPS, overriding pkg-config
1722 Use these variables to override the choices made by `configure' or to help
1723 it to find libraries and programs with nonstandard names/locations.
1725 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=clutter>.
1726 clutter home page: <http://www.clutter-project.org>.
1731 if test "$ac_init_help" = "recursive"; then
1732 # If there are subdirs, report their specific --help.
1733 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1734 test -d "$ac_dir" ||
1735 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1740 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1742 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1743 # A ".." for each directory in $ac_dir_suffix.
1744 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1745 case $ac_top_builddir_sub in
1746 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1747 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1750 ac_abs_top_builddir=$ac_pwd
1751 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1752 # for backward compatibility:
1753 ac_top_builddir=$ac_top_build_prefix
1756 .) # We are building in place.
1758 ac_top_srcdir=$ac_top_builddir_sub
1759 ac_abs_top_srcdir=$ac_pwd ;;
1760 [\\/]* | ?:[\\/]* ) # Absolute name.
1761 ac_srcdir=$srcdir$ac_dir_suffix;
1762 ac_top_srcdir=$srcdir
1763 ac_abs_top_srcdir=$srcdir ;;
1765 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1766 ac_top_srcdir=$ac_top_build_prefix$srcdir
1767 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1769 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1771 cd "$ac_dir" || { ac_status=$?; continue; }
1772 # Check for guested configure.
1773 if test -f "$ac_srcdir/configure.gnu"; then
1775 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1776 elif test -f "$ac_srcdir/configure"; then
1778 $SHELL "$ac_srcdir/configure" --help=recursive
1780 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1782 cd "$ac_pwd" || { ac_status=$?; break; }
1786 test -n "$ac_init_help" && exit $ac_status
1787 if $ac_init_version; then
1789 clutter configure 1.10.4
1790 generated by GNU Autoconf 2.68
1792 Copyright (C) 2010 Free Software Foundation, Inc.
1793 This configure script is free software; the Free Software Foundation
1794 gives unlimited permission to copy, distribute and modify it.
1799 ## ------------------------ ##
1800 ## Autoconf initialization. ##
1801 ## ------------------------ ##
1803 # ac_fn_c_try_compile LINENO
1804 # --------------------------
1805 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1806 ac_fn_c_try_compile ()
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 rm -f conftest.$ac_objext
1810 if { { ac_try="$ac_compile"
1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_compile") 2>conftest.err
1819 if test -s conftest.err; then
1820 grep -v '^ *+' conftest.err >conftest.er1
1821 cat conftest.er1 >&5
1822 mv -f conftest.er1 conftest.err
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } && {
1826 test -z "$ac_c_werror_flag" ||
1827 test ! -s conftest.err
1828 } && test -s conftest.$ac_objext; then :
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837 as_fn_set_status $ac_retval
1839 } # ac_fn_c_try_compile
1841 # ac_fn_c_try_cpp LINENO
1842 # ----------------------
1843 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 if { { ac_try="$ac_cpp conftest.$ac_ext"
1849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1856 if test -s conftest.err; then
1857 grep -v '^ *+' conftest.err >conftest.er1
1858 cat conftest.er1 >&5
1859 mv -f conftest.er1 conftest.err
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } > conftest.i && {
1863 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1864 test ! -s conftest.err
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874 as_fn_set_status $ac_retval
1878 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1879 # -------------------------------------------------------
1880 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1881 # the include files in INCLUDES and setting the cache variable VAR
1883 ac_fn_c_check_header_mongrel ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 if eval \${$3+:} false; then :
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888 $as_echo_n "checking for $2... " >&6; }
1889 if eval \${$3+:} false; then :
1890 $as_echo_n "(cached) " >&6
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894 $as_echo "$ac_res" >&6; }
1896 # Is the header compilable?
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1898 $as_echo_n "checking $2 usability... " >&6; }
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1904 if ac_fn_c_try_compile "$LINENO"; then :
1905 ac_header_compiler=yes
1907 ac_header_compiler=no
1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1911 $as_echo "$ac_header_compiler" >&6; }
1913 # Is the header present?
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1915 $as_echo_n "checking $2 presence... " >&6; }
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1920 if ac_fn_c_try_cpp "$LINENO"; then :
1921 ac_header_preproc=yes
1923 ac_header_preproc=no
1925 rm -f conftest.err conftest.i conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1927 $as_echo "$ac_header_preproc" >&6; }
1929 # So? What about this header?
1930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1933 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1939 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1941 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1943 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1945 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1947 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1948 ( $as_echo "## ---------------------------------------------------------------------- ##
1949 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=clutter ##
1950 ## ---------------------------------------------------------------------- ##"
1951 ) | sed "s/^/$as_me: WARNING: /" >&2
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1955 $as_echo_n "checking for $2... " >&6; }
1956 if eval \${$3+:} false; then :
1957 $as_echo_n "(cached) " >&6
1959 eval "$3=\$ac_header_compiler"
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1963 $as_echo "$ac_res" >&6; }
1965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967 } # ac_fn_c_check_header_mongrel
1969 # ac_fn_c_try_run LINENO
1970 # ----------------------
1971 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1972 # that executables *can* be run.
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 if { { ac_try="$ac_link"
1978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1979 *) ac_try_echo=$ac_try;;
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983 (eval "$ac_link") 2>&5
1985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1986 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1987 { { case "(($ac_try" in
1988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1989 *) ac_try_echo=$ac_try;;
1991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993 (eval "$ac_try") 2>&5
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; }; }; then :
1999 $as_echo "$as_me: program exited with status $ac_status" >&5
2000 $as_echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.$ac_ext >&5
2003 ac_retval=$ac_status
2005 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007 as_fn_set_status $ac_retval
2011 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2012 # -------------------------------------------------------
2013 # Tests whether HEADER exists and can be compiled using the include files in
2014 # INCLUDES, setting the cache variable VAR accordingly.
2015 ac_fn_c_check_header_compile ()
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2019 $as_echo_n "checking for $2... " >&6; }
2020 if eval \${$3+:} false; then :
2021 $as_echo_n "(cached) " >&6
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2028 if ac_fn_c_try_compile "$LINENO"; then :
2033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037 $as_echo "$ac_res" >&6; }
2038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040 } # ac_fn_c_check_header_compile
2042 # ac_fn_c_try_link LINENO
2043 # -----------------------
2044 # Try to link conftest.$ac_ext, and return whether this succeeded.
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048 rm -f conftest.$ac_objext conftest$ac_exeext
2049 if { { ac_try="$ac_link"
2051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2052 *) ac_try_echo=$ac_try;;
2054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2055 $as_echo "$ac_try_echo"; } >&5
2056 (eval "$ac_link") 2>conftest.err
2058 if test -s conftest.err; then
2059 grep -v '^ *+' conftest.err >conftest.er1
2060 cat conftest.er1 >&5
2061 mv -f conftest.er1 conftest.err
2063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2064 test $ac_status = 0; } && {
2065 test -z "$ac_c_werror_flag" ||
2066 test ! -s conftest.err
2067 } && test -s conftest$ac_exeext && {
2068 test "$cross_compiling" = yes ||
2069 $as_test_x conftest$ac_exeext
2073 $as_echo "$as_me: failed program was:" >&5
2074 sed 's/^/| /' conftest.$ac_ext >&5
2078 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2079 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2080 # interfere with the next link command; also delete a directory that is
2081 # left behind by Apple's compiler. We do this before executing the actions.
2082 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2084 as_fn_set_status $ac_retval
2086 } # ac_fn_c_try_link
2088 # ac_fn_c_check_func LINENO FUNC VAR
2089 # ----------------------------------
2090 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2091 ac_fn_c_check_func ()
2093 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 $as_echo_n "checking for $2... " >&6; }
2096 if eval \${$3+:} false; then :
2097 $as_echo_n "(cached) " >&6
2099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2100 /* end confdefs.h. */
2101 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2103 #define $2 innocuous_$2
2105 /* System header to define __stub macros and hopefully few prototypes,
2106 which can conflict with char $2 (); below.
2107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2108 <limits.h> exists even on freestanding compilers. */
2111 # include <limits.h>
2113 # include <assert.h>
2118 /* Override any GCC internal prototype to avoid an error.
2119 Use char because int might match the return type of a GCC
2120 builtin and then its argument prototype would still apply. */
2125 /* The GNU C library defines this for functions which it implements
2126 to always fail with ENOSYS. Some functions are actually named
2127 something starting with __ and the normal name is an alias. */
2128 #if defined __stub_$2 || defined __stub___$2
2140 if ac_fn_c_try_link "$LINENO"; then :
2145 rm -f core conftest.err conftest.$ac_objext \
2146 conftest$ac_exeext conftest.$ac_ext
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2150 $as_echo "$ac_res" >&6; }
2151 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2153 } # ac_fn_c_check_func
2155 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2156 # ----------------------------------------------------
2157 # Tries to find if the field MEMBER exists in type AGGR, after including
2158 # INCLUDES, setting cache variable VAR accordingly.
2159 ac_fn_c_check_member ()
2161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2163 $as_echo_n "checking for $2.$3... " >&6; }
2164 if eval \${$4+:} false; then :
2165 $as_echo_n "(cached) " >&6
2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2180 if ac_fn_c_try_compile "$LINENO"; then :
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2190 if (sizeof ac_aggr.$3)
2196 if ac_fn_c_try_compile "$LINENO"; then :
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2207 $as_echo "$ac_res" >&6; }
2208 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2210 } # ac_fn_c_check_member
2211 cat >config.log <<_ACEOF
2212 This file contains any messages produced by compilers while
2213 running configure, to aid debugging if configure makes a mistake.
2215 It was created by clutter $as_me 1.10.4, which was
2216 generated by GNU Autoconf 2.68. Invocation command line was
2228 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2229 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2230 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2231 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2232 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2234 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2235 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2237 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2238 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2239 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2240 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2241 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2242 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2243 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 test -z "$as_dir" && as_dir=.
2252 $as_echo "PATH: $as_dir"
2268 # Keep a trace of the command line.
2269 # Strip out --no-create and --no-recursion so they do not pile up.
2270 # Strip out --silent because we don't want to record it for future runs.
2271 # Also quote any args containing shell meta-characters.
2272 # Make two passes to allow for proper duplicate-argument suppression.
2276 ac_must_keep_next=false
2282 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2283 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2284 | -silent | --silent | --silen | --sile | --sil)
2287 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2290 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2292 as_fn_append ac_configure_args1 " '$ac_arg'"
2293 if test $ac_must_keep_next = true; then
2294 ac_must_keep_next=false # Got value, back to normal.
2297 *=* | --config-cache | -C | -disable-* | --disable-* \
2298 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2299 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2300 | -with-* | --with-* | -without-* | --without-* | --x)
2301 case "$ac_configure_args0 " in
2302 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2305 -* ) ac_must_keep_next=true ;;
2308 as_fn_append ac_configure_args " '$ac_arg'"
2313 { ac_configure_args0=; unset ac_configure_args0;}
2314 { ac_configure_args1=; unset ac_configure_args1;}
2316 # When interrupted or exit'd, cleanup temporary files, and complete
2317 # config.log. We remove comments because anyway the quotes in there
2318 # would cause problems or look ugly.
2319 # WARNING: Use '\'' to represent an apostrophe within the trap.
2320 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2321 trap 'exit_status=$?
2322 # Save into config.log some information that might help in debugging.
2326 $as_echo "## ---------------- ##
2327 ## Cache variables. ##
2328 ## ---------------- ##"
2330 # The following way of writing the cache mishandles newlines in values,
2332 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2333 eval ac_val=\$$ac_var
2337 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2338 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2341 _ | IFS | as_nl) ;; #(
2342 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2343 *) { eval $ac_var=; unset $ac_var;} ;;
2348 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2349 *${as_nl}ac_space=\ *)
2351 "s/'\''/'\''\\\\'\'''\''/g;
2352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2355 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2362 $as_echo "## ----------------- ##
2363 ## Output variables. ##
2364 ## ----------------- ##"
2366 for ac_var in $ac_subst_vars
2368 eval ac_val=\$$ac_var
2370 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2372 $as_echo "$ac_var='\''$ac_val'\''"
2376 if test -n "$ac_subst_files"; then
2377 $as_echo "## ------------------- ##
2378 ## File substitutions. ##
2379 ## ------------------- ##"
2381 for ac_var in $ac_subst_files
2383 eval ac_val=\$$ac_var
2385 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2387 $as_echo "$ac_var='\''$ac_val'\''"
2392 if test -s confdefs.h; then
2393 $as_echo "## ----------- ##
2400 test "$ac_signal" != 0 &&
2401 $as_echo "$as_me: caught signal $ac_signal"
2402 $as_echo "$as_me: exit $exit_status"
2404 rm -f core *.core core.conftest.* &&
2405 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2408 for ac_signal in 1 2 13 15; do
2409 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2413 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2414 rm -f -r conftest* confdefs.h
2416 $as_echo "/* confdefs.h */" > confdefs.h
2418 # Predefined preprocessor variables.
2420 cat >>confdefs.h <<_ACEOF
2421 #define PACKAGE_NAME "$PACKAGE_NAME"
2424 cat >>confdefs.h <<_ACEOF
2425 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2428 cat >>confdefs.h <<_ACEOF
2429 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2432 cat >>confdefs.h <<_ACEOF
2433 #define PACKAGE_STRING "$PACKAGE_STRING"
2436 cat >>confdefs.h <<_ACEOF
2437 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2440 cat >>confdefs.h <<_ACEOF
2441 #define PACKAGE_URL "$PACKAGE_URL"
2445 # Let the site file select an alternate cache file if it wants to.
2446 # Prefer an explicitly selected file to automatically selected ones.
2449 if test -n "$CONFIG_SITE"; then
2450 # We do not want a PATH search for config.site.
2451 case $CONFIG_SITE in #((
2452 -*) ac_site_file1=./$CONFIG_SITE;;
2453 */*) ac_site_file1=$CONFIG_SITE;;
2454 *) ac_site_file1=./$CONFIG_SITE;;
2456 elif test "x$prefix" != xNONE; then
2457 ac_site_file1=$prefix/share/config.site
2458 ac_site_file2=$prefix/etc/config.site
2460 ac_site_file1=$ac_default_prefix/share/config.site
2461 ac_site_file2=$ac_default_prefix/etc/config.site
2463 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2465 test "x$ac_site_file" = xNONE && continue
2466 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2468 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2469 sed 's/^/| /' "$ac_site_file" >&5
2471 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2473 as_fn_error $? "failed to load site script $ac_site_file
2474 See \`config.log' for more details" "$LINENO" 5; }
2478 if test -r "$cache_file"; then
2479 # Some versions of bash will fail to source /dev/null (special files
2480 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2481 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2483 $as_echo "$as_me: loading cache $cache_file" >&6;}
2485 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2486 *) . "./$cache_file";;
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2491 $as_echo "$as_me: creating cache $cache_file" >&6;}
2495 gt_needs="$gt_needs "
2496 # Check that the precious variables saved in the cache have kept the same
2498 ac_cache_corrupted=false
2499 for ac_var in $ac_precious_vars; do
2500 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2501 eval ac_new_set=\$ac_env_${ac_var}_set
2502 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2503 eval ac_new_val=\$ac_env_${ac_var}_value
2504 case $ac_old_set,$ac_new_set in
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2507 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2508 ac_cache_corrupted=: ;;
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2511 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2512 ac_cache_corrupted=: ;;
2515 if test "x$ac_old_val" != "x$ac_new_val"; then
2516 # differences in whitespace do not lead to failure.
2517 ac_old_val_w=`echo x $ac_old_val`
2518 ac_new_val_w=`echo x $ac_new_val`
2519 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2521 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2522 ac_cache_corrupted=:
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2525 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2526 eval $ac_var=\$ac_old_val
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2529 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2531 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2534 # Pass precious variables to config.status.
2535 if test "$ac_new_set" = set; then
2537 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2538 *) ac_arg=$ac_var=$ac_new_val ;;
2540 case " $ac_configure_args " in
2541 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2542 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2546 if $ac_cache_corrupted; then
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2550 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2551 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2553 ## -------------------- ##
2554 ## Main body of script. ##
2555 ## -------------------- ##
2558 ac_cpp='$CPP $CPPFLAGS'
2559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2566 ac_config_headers="$ac_config_headers config.h"
2569 for ac_dir in build "$srcdir"/build; do
2570 if test -f "$ac_dir/install-sh"; then
2572 ac_install_sh="$ac_aux_dir/install-sh -c"
2574 elif test -f "$ac_dir/install.sh"; then
2576 ac_install_sh="$ac_aux_dir/install.sh -c"
2578 elif test -f "$ac_dir/shtool"; then
2580 ac_install_sh="$ac_aux_dir/shtool install -c"
2584 if test -z "$ac_aux_dir"; then
2585 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2588 # These three variables are undocumented and unsupported,
2589 # and are intended to be withdrawn in a future Autoconf release.
2590 # They can cause serious problems if a builder's source tree is in a directory
2591 # whose full name contains unusual characters.
2592 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2593 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2594 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2599 am__api_version='1.11'
2601 # Find a good install program. We prefer a C program (faster),
2602 # so one script is as good as another. But avoid the broken or
2603 # incompatible versions:
2604 # SysV /etc/install, /usr/sbin/install
2605 # SunOS /usr/etc/install
2606 # IRIX /sbin/install
2608 # AmigaOS /C/install, which installs bootblocks on floppy discs
2609 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2610 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2611 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2612 # OS/2's system install, which has a completely different semantic
2613 # ./install, which can be erroneously created by make from ./install.sh.
2614 # Reject install programs that cannot install multiple files.
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2616 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2617 if test -z "$INSTALL"; then
2618 if ${ac_cv_path_install+:} false; then :
2619 $as_echo_n "(cached) " >&6
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir=.
2626 # Account for people who put trailing slashes in PATH elements.
2627 case $as_dir/ in #((
2628 ./ | .// | /[cC]/* | \
2629 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2630 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2633 # OSF1 and SCO ODT 3.0 have their own names for install.
2634 # Don't use installbsd from OSF since it installs stuff as root
2636 for ac_prog in ginstall scoinst install; do
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2639 if test $ac_prog = install &&
2640 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2641 # AIX install. It has an incompatible calling convention.
2643 elif test $ac_prog = install &&
2644 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2645 # program-specific install script used by HP pwplus--don't use.
2648 rm -rf conftest.one conftest.two conftest.dir
2649 echo one > conftest.one
2650 echo two > conftest.two
2652 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2653 test -s conftest.one && test -s conftest.two &&
2654 test -s conftest.dir/conftest.one &&
2655 test -s conftest.dir/conftest.two
2657 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2670 rm -rf conftest.one conftest.two conftest.dir
2673 if test "${ac_cv_path_install+set}" = set; then
2674 INSTALL=$ac_cv_path_install
2676 # As a last resort, use the slow shell script. Don't cache a
2677 # value for INSTALL within a source directory, because that will
2678 # break other packages using the cache if that directory is
2679 # removed, or if the value is a relative name.
2680 INSTALL=$ac_install_sh
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2684 $as_echo "$INSTALL" >&6; }
2686 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2687 # It thinks the first close brace ends the variable substitution.
2688 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2690 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2692 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2695 $as_echo_n "checking whether build environment is sane... " >&6; }
2698 echo timestamp > conftest.file
2699 # Reject unsafe characters in $srcdir or the absolute working directory
2700 # name. Accept space and tab only in the latter.
2704 *[\\\"\#\$\&\'\`$am_lf]*)
2705 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2708 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2709 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2712 # Do `set' in a subshell so we don't clobber the current shell's
2713 # arguments. Must try -L first in case configure is actually a
2714 # symlink; some systems play weird games with the mod time of symlinks
2715 # (eg FreeBSD returns the mod time of the symlink's containing
2718 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2719 if test "$*" = "X"; then
2721 set X `ls -t "$srcdir/configure" conftest.file`
2724 if test "$*" != "X $srcdir/configure conftest.file" \
2725 && test "$*" != "X conftest.file $srcdir/configure"; then
2727 # If neither matched, then we have a broken ls. This can happen
2728 # if, for instance, CONFIG_SHELL is bash and it inherits a
2729 # broken ls alias from the environment. This has actually
2730 # happened. Such a system could not be considered "sane".
2731 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2732 alias in your environment" "$LINENO" 5
2735 test "$2" = conftest.file
2741 as_fn_error $? "newly created file is older than distributed files!
2742 Check your system clock" "$LINENO" 5
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2745 $as_echo "yes" >&6; }
2746 test "$program_prefix" != NONE &&
2747 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2748 # Use a double $ so make ignores it.
2749 test "$program_suffix" != NONE &&
2750 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2751 # Double any \ or $.
2752 # By default was `s,x,x', remove it if useless.
2753 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2754 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2756 # expand $ac_aux_dir to an absolute path
2757 am_aux_dir=`cd $ac_aux_dir && pwd`
2759 if test x"${MISSING+set}" != xset; then
2762 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2764 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2767 # Use eval to expand $SHELL
2768 if eval "$MISSING --run true"; then
2769 am_missing_run="$MISSING --run "
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2773 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2776 if test x"${install_sh}" != xset; then
2779 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2781 install_sh="\${SHELL} $am_aux_dir/install-sh"
2785 # Installed binaries are usually stripped using `strip' when the user
2786 # run `make install-strip'. However `strip' might not be the right
2787 # tool to use in cross-compilation environments, therefore Automake
2788 # will honor the `STRIP' environment variable to overrule this program.
2789 if test "$cross_compiling" != no; then
2790 if test -n "$ac_tool_prefix"; then
2791 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2792 set dummy ${ac_tool_prefix}strip; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if ${ac_cv_prog_STRIP+:} false; then :
2796 $as_echo_n "(cached) " >&6
2798 if test -n "$STRIP"; then
2799 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 STRIP=$ac_cv_prog_STRIP
2819 if test -n "$STRIP"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2821 $as_echo "$STRIP" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2829 if test -z "$ac_cv_prog_STRIP"; then
2831 # Extract the first word of "strip", so it can be a program name with args.
2832 set dummy strip; ac_word=$2
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 $as_echo_n "checking for $ac_word... " >&6; }
2835 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2836 $as_echo_n "(cached) " >&6
2838 if test -n "$ac_ct_STRIP"; then
2839 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2845 test -z "$as_dir" && as_dir=.
2846 for ac_exec_ext in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 ac_cv_prog_ac_ct_STRIP="strip"
2849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2859 if test -n "$ac_ct_STRIP"; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2861 $as_echo "$ac_ct_STRIP" >&6; }
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2867 if test "x$ac_ct_STRIP" = x; then
2870 case $cross_compiling:$ac_tool_warned in
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2874 ac_tool_warned=yes ;;
2879 STRIP="$ac_cv_prog_STRIP"
2883 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2886 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2887 if test -z "$MKDIR_P"; then
2888 if ${ac_cv_path_mkdir+:} false; then :
2889 $as_echo_n "(cached) " >&6
2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2895 test -z "$as_dir" && as_dir=.
2896 for ac_prog in mkdir gmkdir; do
2897 for ac_exec_ext in '' $ac_executable_extensions; do
2898 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2899 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2900 'mkdir (GNU coreutils) '* | \
2901 'mkdir (coreutils) '* | \
2902 'mkdir (fileutils) '4.1*)
2903 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2913 test -d ./--version && rmdir ./--version
2914 if test "${ac_cv_path_mkdir+set}" = set; then
2915 MKDIR_P="$ac_cv_path_mkdir -p"
2917 # As a last resort, use the slow shell script. Don't cache a
2918 # value for MKDIR_P within a source directory, because that will
2919 # break other packages using the cache if that directory is
2920 # removed, or if the value is a relative name.
2921 MKDIR_P="$ac_install_sh -d"
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2925 $as_echo "$MKDIR_P" >&6; }
2929 [\\/$]* | ?:[\\/]*) ;;
2930 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2933 for ac_prog in gawk mawk nawk awk
2935 # Extract the first word of "$ac_prog", so it can be a program name with args.
2936 set dummy $ac_prog; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_AWK+:} false; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$AWK"; then
2943 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir=.
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2952 ac_cv_prog_AWK="$ac_prog"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 if test -n "$AWK"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2965 $as_echo "$AWK" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2972 test -n "$AWK" && break
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2976 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2978 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2979 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2980 $as_echo_n "(cached) " >&6
2982 cat >conftest.make <<\_ACEOF
2985 @echo '@@@%%%=$(MAKE)=@@@%%%'
2987 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2988 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2990 eval ac_cv_prog_make_${ac_make}_set=yes;;
2992 eval ac_cv_prog_make_${ac_make}_set=no;;
2996 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2998 $as_echo "yes" >&6; }
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3003 SET_MAKE="MAKE=${MAKE-make}"
3006 rm -rf .tst 2>/dev/null
3007 mkdir .tst 2>/dev/null
3008 if test -d .tst; then
3013 rmdir .tst 2>/dev/null
3015 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3016 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3017 # is not polluted with repeated "-I."
3018 am__isrc=' -I$(srcdir)'
3019 # test to see if srcdir already configured
3020 if test -f $srcdir/config.status; then
3021 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3025 # test whether we have cygpath
3026 if test -z "$CYGPATH_W"; then
3027 if (cygpath --version) >/dev/null 2>/dev/null; then
3028 CYGPATH_W='cygpath -w'
3035 # Define the identity of the package.
3040 # Some tools Automake needs.
3042 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3045 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3048 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3051 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3054 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3056 # We need awk for the "check" target. The system "awk" is bad on
3058 # Always define AMTAR for backward compatibility. Yes, it's still used
3059 # in the wild :-( We should find a proper way to deprecate it ...
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3064 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3065 # Loop over all known methods to create a tar archive until one works.
3066 _am_tools='gnutar plaintar pax cpio none'
3067 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3068 # Do not fold the above two line into one, because Tru64 sh and
3069 # Solaris sh will not grok spaces in the rhs of `-'.
3070 for _am_tool in $_am_tools
3074 for _am_tar in tar gnutar gtar;
3076 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3077 ($_am_tar --version) >&5 2>&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } && break
3082 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3083 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3084 am__untar="$_am_tar -xf -"
3087 # Must skip GNU tar: if it does not support --format= it doesn't create
3088 # ustar tarball either.
3089 (tar --version) >/dev/null 2>&1 && continue
3090 am__tar='tar chf - "$$tardir"'
3091 am__tar_='tar chf - "$tardir"'
3092 am__untar='tar xf -'
3095 am__tar='pax -L -x ustar -w "$$tardir"'
3096 am__tar_='pax -L -x ustar -w "$tardir"'
3100 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3101 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3102 am__untar='cpio -i -H ustar -d'
3111 # If the value was cached, stop now. We just wanted to have am__tar
3112 # and am__untar set.
3113 test -n "${am_cv_prog_tar_ustar}" && break
3115 # tar/untar a dummy directory, and stop if the command works
3118 echo GrepMe > conftest.dir/file
3119 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3120 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }
3125 if test -s conftest.tar; then
3126 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3127 ($am__untar <conftest.tar) >&5 2>&5
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }
3131 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3136 if ${am_cv_prog_tar_ustar+:} false; then :
3137 $as_echo_n "(cached) " >&6
3139 am_cv_prog_tar_ustar=$_am_tool
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3143 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3149 # Check whether --enable-silent-rules was given.
3150 if test "${enable_silent_rules+set}" = set; then :
3151 enableval=$enable_silent_rules;
3154 case $enable_silent_rules in
3155 yes) AM_DEFAULT_VERBOSITY=0;;
3156 no) AM_DEFAULT_VERBOSITY=1;;
3157 *) AM_DEFAULT_VERBOSITY=0;;
3159 am_make=${MAKE-make}
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3161 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3162 if ${am_cv_make_support_nested_variables+:} false; then :
3163 $as_echo_n "(cached) " >&6
3165 if $as_echo 'TRUE=$(BAR$(V))
3171 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3172 am_cv_make_support_nested_variables=yes
3174 am_cv_make_support_nested_variables=no
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3178 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3179 if test $am_cv_make_support_nested_variables = yes; then
3181 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3183 AM_V=$AM_DEFAULT_VERBOSITY
3184 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3189 CLUTTER_MAJOR_VERSION=1
3191 CLUTTER_MINOR_VERSION=10
3193 CLUTTER_MICRO_VERSION=4
3195 CLUTTER_VERSION=1.10.4
3197 CLUTTER_API_VERSION=1.0
3199 CLUTTER_API_VERSION_AM=$CLUTTER_MAJOR_VERSION\_0
3201 CLUTTER_RELEASE_STATUS=release
3207 CLUTTER_LT_CURRENT=1000
3210 CLUTTER_LT_VERSION="$CLUTTER_LT_CURRENT:$CLUTTER_LT_REV:$CLUTTER_LT_AGE"
3211 CLUTTER_LT_LDFLAGS="-version-info $CLUTTER_LT_VERSION"
3212 CLUTTER_LT_CURRENT=1000
3214 CLUTTER_LT_REVISION=4
3216 CLUTTER_LT_VERSION=$CLUTTER_LT_VERSION
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3220 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3221 if ${ac_cv_path_SED+:} false; then :
3222 $as_echo_n "(cached) " >&6
3224 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3225 for ac_i in 1 2 3 4 5 6 7; do
3226 ac_script="$ac_script$as_nl$ac_script"
3228 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3229 { ac_script=; unset ac_script;}
3230 if test -z "$SED"; then
3231 ac_path_SED_found=false
3232 # Loop through the user's path and test for each of PROGNAME-LIST
3233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237 test -z "$as_dir" && as_dir=.
3238 for ac_prog in sed gsed; do
3239 for ac_exec_ext in '' $ac_executable_extensions; do
3240 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3241 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3242 # Check for GNU ac_path_SED and select it if it is found.
3243 # Check for GNU $ac_path_SED
3244 case `"$ac_path_SED" --version 2>&1` in
3246 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3249 $as_echo_n 0123456789 >"conftest.in"
3252 cat "conftest.in" "conftest.in" >"conftest.tmp"
3253 mv "conftest.tmp" "conftest.in"
3254 cp "conftest.in" "conftest.nl"
3255 $as_echo '' >> "conftest.nl"
3256 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3257 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3258 as_fn_arith $ac_count + 1 && ac_count=$as_val
3259 if test $ac_count -gt ${ac_path_SED_max-0}; then
3260 # Best one so far, save it but keep looking for a better one
3261 ac_cv_path_SED="$ac_path_SED"
3262 ac_path_SED_max=$ac_count
3264 # 10*(2^10) chars as input seems more than enough
3265 test $ac_count -gt 10 && break
3267 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3270 $ac_path_SED_found && break 3
3275 if test -z "$ac_cv_path_SED"; then
3276 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3284 $as_echo "$ac_cv_path_SED" >&6; }
3285 SED="$ac_cv_path_SED"
3290 # Make sure we can run config.sub.
3291 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3292 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3295 $as_echo_n "checking build system type... " >&6; }
3296 if ${ac_cv_build+:} false; then :
3297 $as_echo_n "(cached) " >&6
3299 ac_build_alias=$build_alias
3300 test "x$ac_build_alias" = x &&
3301 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3302 test "x$ac_build_alias" = x &&
3303 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3304 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3305 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3309 $as_echo "$ac_cv_build" >&6; }
3310 case $ac_cv_build in
3312 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3315 ac_save_IFS=$IFS; IFS='-'
3321 # Remember, the first character of IFS is used to create $*,
3322 # except with old shells:
3325 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3329 $as_echo_n "checking host system type... " >&6; }
3330 if ${ac_cv_host+:} false; then :
3331 $as_echo_n "(cached) " >&6
3333 if test "x$host_alias" = x; then
3334 ac_cv_host=$ac_cv_build
3336 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3337 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3342 $as_echo "$ac_cv_host" >&6; }
3345 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3348 ac_save_IFS=$IFS; IFS='-'
3354 # Remember, the first character of IFS is used to create $*,
3355 # except with old shells:
3358 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for some Win32 platform" >&5
3367 $as_echo_n "checking if building for some Win32 platform... " >&6; }
3369 *-*-mingw*|*-*-cygwin*) :
3371 CLUTTER_LT_LDFLAGS="$CLUTTER_LT_LDFLAGS -no-undefined"
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
3383 $as_echo "$platform_win32" >&6; }
3385 if test "$platform_win32" = "yes"; then
3394 DEPDIR="${am__leading_dot}deps"
3396 ac_config_commands="$ac_config_commands depfiles"
3399 am_make=${MAKE-make}
3400 cat > confinc << 'END'
3402 @echo this is the am__doit target
3405 # If we don't find an include directive, just comment out the code.
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3407 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3411 # First try GNU make style include.
3412 echo "include confinc" > confmf
3413 # Ignore all kinds of additional output from `make'.
3414 case `$am_make -s -f confmf 2> /dev/null` in #(
3415 *the\ am__doit\ target*)
3421 # Now try BSD make style include.
3422 if test "$am__include" = "#"; then
3423 echo '.include "confinc"' > confmf
3424 case `$am_make -s -f confmf 2> /dev/null` in #(
3425 *the\ am__doit\ target*)
3426 am__include=.include
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3435 $as_echo "$_am_result" >&6; }
3436 rm -f confinc confmf
3438 # Check whether --enable-dependency-tracking was given.
3439 if test "${enable_dependency_tracking+set}" = set; then :
3440 enableval=$enable_dependency_tracking;
3443 if test "x$enable_dependency_tracking" != xno; then
3444 am_depcomp="$ac_aux_dir/depcomp"
3448 if test "x$enable_dependency_tracking" != xno; then
3458 ac_cpp='$CPP $CPPFLAGS'
3459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3462 if test -n "$ac_tool_prefix"; then
3463 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3464 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466 $as_echo_n "checking for $ac_word... " >&6; }
3467 if ${ac_cv_prog_CC+:} false; then :
3468 $as_echo_n "(cached) " >&6
3470 if test -n "$CC"; then
3471 ac_cv_prog_CC="$CC" # Let the user override the test.
3473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477 test -z "$as_dir" && as_dir=.
3478 for ac_exec_ext in '' $ac_executable_extensions; do
3479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3480 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3491 if test -n "$CC"; then
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3493 $as_echo "$CC" >&6; }
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496 $as_echo "no" >&6; }
3501 if test -z "$ac_cv_prog_CC"; then
3503 # Extract the first word of "gcc", so it can be a program name with args.
3504 set dummy gcc; ac_word=$2
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506 $as_echo_n "checking for $ac_word... " >&6; }
3507 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3508 $as_echo_n "(cached) " >&6
3510 if test -n "$ac_ct_CC"; then
3511 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 test -z "$as_dir" && as_dir=.
3518 for ac_exec_ext in '' $ac_executable_extensions; do
3519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3520 ac_cv_prog_ac_ct_CC="gcc"
3521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3530 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3531 if test -n "$ac_ct_CC"; then
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3533 $as_echo "$ac_ct_CC" >&6; }
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3539 if test "x$ac_ct_CC" = x; then
3542 case $cross_compiling:$ac_tool_warned in
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3546 ac_tool_warned=yes ;;
3554 if test -z "$CC"; then
3555 if test -n "$ac_tool_prefix"; then
3556 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3557 set dummy ${ac_tool_prefix}cc; ac_word=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if ${ac_cv_prog_CC+:} false; then :
3561 $as_echo_n "(cached) " >&6
3563 if test -n "$CC"; then
3564 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_CC="${ac_tool_prefix}cc"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 if test -n "$CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3586 $as_echo "$CC" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3595 if test -z "$CC"; then
3596 # Extract the first word of "cc", so it can be a program name with args.
3597 set dummy cc; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_CC+:} false; then :
3601 $as_echo_n "(cached) " >&6
3603 if test -n "$CC"; then
3604 ac_cv_prog_CC="$CC" # Let the user override the test.
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3615 ac_prog_rejected=yes
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 if test $ac_prog_rejected = yes; then
3627 # We found a bogon in the path, so make sure we never use it.
3628 set dummy $ac_cv_prog_CC
3630 if test $# != 0; then
3631 # We chose a different compiler from the bogus one.
3632 # However, it has the same basename, so the bogon will be chosen
3633 # first if we set CC to just the basename; use the full file name.
3635 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3641 if test -n "$CC"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3643 $as_echo "$CC" >&6; }
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3651 if test -z "$CC"; then
3652 if test -n "$ac_tool_prefix"; then
3653 for ac_prog in cl.exe
3655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3658 $as_echo_n "checking for $ac_word... " >&6; }
3659 if ${ac_cv_prog_CC+:} false; then :
3660 $as_echo_n "(cached) " >&6
3662 if test -n "$CC"; then
3663 ac_cv_prog_CC="$CC" # Let the user override the test.
3665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669 test -z "$as_dir" && as_dir=.
3670 for ac_exec_ext in '' $ac_executable_extensions; do
3671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3672 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 if test -n "$CC"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3685 $as_echo "$CC" >&6; }
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3692 test -n "$CC" && break
3695 if test -z "$CC"; then
3697 for ac_prog in cl.exe
3699 # Extract the first word of "$ac_prog", so it can be a program name with args.
3700 set dummy $ac_prog; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3704 $as_echo_n "(cached) " >&6
3706 if test -n "$ac_ct_CC"; then
3707 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 test -z "$as_dir" && as_dir=.
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 ac_cv_prog_ac_ct_CC="$ac_prog"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3727 if test -n "$ac_ct_CC"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3729 $as_echo "$ac_ct_CC" >&6; }
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3736 test -n "$ac_ct_CC" && break
3739 if test "x$ac_ct_CC" = x; then
3742 case $cross_compiling:$ac_tool_warned in
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3746 ac_tool_warned=yes ;;
3755 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3757 as_fn_error $? "no acceptable C compiler found in \$PATH
3758 See \`config.log' for more details" "$LINENO" 5; }
3760 # Provide some information about the compiler.
3761 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3764 for ac_option in --version -v -V -qversion; do
3765 { { ac_try="$ac_compiler $ac_option >&5"
3767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3768 *) ac_try_echo=$ac_try;;
3770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3771 $as_echo "$ac_try_echo"; } >&5
3772 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3774 if test -s conftest.err; then
3776 ... rest of stderr output deleted ...
3777 10q' conftest.err >conftest.er1
3778 cat conftest.er1 >&5
3780 rm -f conftest.er1 conftest.err
3781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3782 test $ac_status = 0; }
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3796 ac_clean_files_save=$ac_clean_files
3797 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3798 # Try to create an executable without -o first, disregard a.out.
3799 # It will help us diagnose broken compilers, and finding out an intuition
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3802 $as_echo_n "checking whether the C compiler works... " >&6; }
3803 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3805 # The possible output files:
3806 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3809 for ac_file in $ac_files
3812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3813 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3818 if { { ac_try="$ac_link_default"
3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825 (eval "$ac_link_default") 2>&5
3827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828 test $ac_status = 0; }; then :
3829 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3830 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3831 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3832 # so that the user can short-circuit this test for compilers unknown to
3834 for ac_file in $ac_files ''
3836 test -f "$ac_file" || continue
3838 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3841 # We found the default executable, but exeext='' is most
3845 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3847 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3849 # We set ac_cv_exeext here because the later test for it is not
3850 # safe: cross compilers may not add the suffix if given an `-o'
3851 # argument, so we may need to know it at that point already.
3852 # Even if this section looks crufty: it has the advantage of
3859 test "$ac_cv_exeext" = no && ac_cv_exeext=
3864 if test -z "$ac_file"; then :
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3867 $as_echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3872 as_fn_error 77 "C compiler cannot create executables
3873 See \`config.log' for more details" "$LINENO" 5; }
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3876 $as_echo "yes" >&6; }
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3879 $as_echo_n "checking for C compiler default output file name... " >&6; }
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3881 $as_echo "$ac_file" >&6; }
3882 ac_exeext=$ac_cv_exeext
3884 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3885 ac_clean_files=$ac_clean_files_save
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3887 $as_echo_n "checking for suffix of executables... " >&6; }
3888 if { { ac_try="$ac_link"
3890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891 *) ac_try_echo=$ac_try;;
3893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3894 $as_echo "$ac_try_echo"; } >&5
3895 (eval "$ac_link") 2>&5
3897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3898 test $ac_status = 0; }; then :
3899 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3900 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3901 # work properly (i.e., refer to `conftest.exe'), while it won't with
3903 for ac_file in conftest.exe conftest conftest.*; do
3904 test -f "$ac_file" || continue
3906 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3907 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3915 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3916 See \`config.log' for more details" "$LINENO" 5; }
3918 rm -f conftest conftest$ac_cv_exeext
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3920 $as_echo "$ac_cv_exeext" >&6; }
3922 rm -f conftest.$ac_ext
3923 EXEEXT=$ac_cv_exeext
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3931 FILE *f = fopen ("conftest.out", "w");
3932 return ferror (f) || fclose (f) != 0;
3938 ac_clean_files="$ac_clean_files conftest.out"
3939 # Check that the compiler produces executables we can run. If not, either
3940 # the compiler is broken, or we cross compile.
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3942 $as_echo_n "checking whether we are cross compiling... " >&6; }
3943 if test "$cross_compiling" != yes; then
3944 { { ac_try="$ac_link"
3946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3947 *) ac_try_echo=$ac_try;;
3949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3950 $as_echo "$ac_try_echo"; } >&5
3951 (eval "$ac_link") 2>&5
3953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 test $ac_status = 0; }
3955 if { ac_try='./conftest$ac_cv_exeext'
3956 { { case "(($ac_try" in
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 $as_echo "$ac_try_echo"; } >&5
3962 (eval "$ac_try") 2>&5
3964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965 test $ac_status = 0; }; }; then
3968 if test "$cross_compiling" = maybe; then
3971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error $? "cannot run C compiled programs.
3974 If you meant to cross compile, use \`--host'.
3975 See \`config.log' for more details" "$LINENO" 5; }
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3980 $as_echo "$cross_compiling" >&6; }
3982 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3983 ac_clean_files=$ac_clean_files_save
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3985 $as_echo_n "checking for suffix of object files... " >&6; }
3986 if ${ac_cv_objext+:} false; then :
3987 $as_echo_n "(cached) " >&6
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
4000 rm -f conftest.o conftest.obj
4001 if { { ac_try="$ac_compile"
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4007 $as_echo "$ac_try_echo"; } >&5
4008 (eval "$ac_compile") 2>&5
4010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4011 test $ac_status = 0; }; then :
4012 for ac_file in conftest.o conftest.obj conftest.*; do
4013 test -f "$ac_file" || continue;
4015 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4016 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4021 $as_echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4026 as_fn_error $? "cannot compute suffix of object files: cannot compile
4027 See \`config.log' for more details" "$LINENO" 5; }
4029 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4032 $as_echo "$ac_cv_objext" >&6; }
4033 OBJEXT=$ac_cv_objext
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4036 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4037 if ${ac_cv_c_compiler_gnu+:} false; then :
4038 $as_echo_n "(cached) " >&6
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4054 if ac_fn_c_try_compile "$LINENO"; then :
4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4064 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4065 if test $ac_compiler_gnu = yes; then
4070 ac_test_CFLAGS=${CFLAGS+set}
4071 ac_save_CFLAGS=$CFLAGS
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4073 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4074 if ${ac_cv_prog_cc_g+:} false; then :
4075 $as_echo_n "(cached) " >&6
4077 ac_save_c_werror_flag=$ac_c_werror_flag
4078 ac_c_werror_flag=yes
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4092 if ac_fn_c_try_compile "$LINENO"; then :
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4107 if ac_fn_c_try_compile "$LINENO"; then :
4110 ac_c_werror_flag=$ac_save_c_werror_flag
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4123 if ac_fn_c_try_compile "$LINENO"; then :
4126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131 ac_c_werror_flag=$ac_save_c_werror_flag
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4134 $as_echo "$ac_cv_prog_cc_g" >&6; }
4135 if test "$ac_test_CFLAGS" = set; then
4136 CFLAGS=$ac_save_CFLAGS
4137 elif test $ac_cv_prog_cc_g = yes; then
4138 if test "$GCC" = yes; then
4144 if test "$GCC" = yes; then
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4151 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4152 if ${ac_cv_prog_cc_c89+:} false; then :
4153 $as_echo_n "(cached) " >&6
4155 ac_cv_prog_cc_c89=no
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4161 #include <sys/types.h>
4162 #include <sys/stat.h>
4163 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4164 struct buf { int x; };
4165 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4166 static char *e (p, i)
4172 static char *f (char * (*g) (char **, int), char **p, ...)
4177 s = g (p, va_arg (v,int));
4182 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4183 function prototypes and stuff, but not '\xHH' hex character constants.
4184 These don't provoke an error unfortunately, instead are silently treated
4185 as 'x'. The following induces an error, until -std is added to get
4186 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4187 array size at least. It's necessary to write '\x00'==0 to get something
4188 that's true only with -std. */
4189 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4191 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4192 inside strings and character constants. */
4194 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4196 int test (int i, double x);
4197 struct s1 {int (*f) (int a);};
4198 struct s2 {int (*f) (double a);};
4199 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4205 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4210 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4211 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4213 CC="$ac_save_CC $ac_arg"
4214 if ac_fn_c_try_compile "$LINENO"; then :
4215 ac_cv_prog_cc_c89=$ac_arg
4217 rm -f core conftest.err conftest.$ac_objext
4218 test "x$ac_cv_prog_cc_c89" != "xno" && break
4220 rm -f conftest.$ac_ext
4225 case "x$ac_cv_prog_cc_c89" in
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4228 $as_echo "none needed" >&6; } ;;
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4231 $as_echo "unsupported" >&6; } ;;
4233 CC="$CC $ac_cv_prog_cc_c89"
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4235 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4237 if test "x$ac_cv_prog_cc_c89" != xno; then :
4242 ac_cpp='$CPP $CPPFLAGS'
4243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4247 depcc="$CC" am_compiler_list=
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4250 $as_echo_n "checking dependency style of $depcc... " >&6; }
4251 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4252 $as_echo_n "(cached) " >&6
4254 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4255 # We make a subdir and do the tests there. Otherwise we can end up
4256 # making bogus files that we don't know about and never remove. For
4257 # instance it was reported that on HP-UX the gcc test will end up
4258 # making a dummy file named `D' -- because `-MD' means `put the output
4262 # Copy depcomp to subdir because otherwise we won't find it if we're
4263 # using a relative directory.
4264 cp "$am_depcomp" conftest.dir
4266 # We will build objects and dependencies in a subdirectory because
4267 # it helps to detect inapplicable dependency modes. For instance
4268 # both Tru64's cc and ICC support -MD to output dependencies as a
4269 # side effect of compilation, but ICC will put the dependencies in
4270 # the current directory while Tru64 will put them in the object
4274 am_cv_CC_dependencies_compiler_type=none
4275 if test "$am_compiler_list" = ""; then
4276 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4279 case " $depcc " in #(
4280 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4283 for depmode in $am_compiler_list; do
4284 # Setup a source with many dependencies, because some compilers
4285 # like to wrap large dependency lists on column 80 (with \), and
4286 # we should not choose a depcomp mode which is confused by this.
4288 # We need to recreate these files for each test, as the compiler may
4289 # overwrite some of them when testing with obscure command lines.
4290 # This happens at least with the AIX C compiler.
4292 for i in 1 2 3 4 5 6; do
4293 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4294 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4295 # Solaris 8's {/usr,}/bin/sh.
4296 touch sub/conftst$i.h
4298 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4300 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4301 # mode. It turns out that the SunPro C++ compiler does not properly
4302 # handle `-M -o', and we need to detect this. Also, some Intel
4303 # versions had trouble with output in subdirs
4304 am__obj=sub/conftest.${OBJEXT-o}
4305 am__minus_obj="-o $am__obj"
4308 # This depmode causes a compiler race in universal mode.
4309 test "$am__universal" = false || continue
4312 # after this tag, mechanisms are not by side-effect, so they'll
4313 # only be used when explicitly requested
4314 if test "x$enable_dependency_tracking" = xyes; then
4320 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4321 # This compiler won't grok `-c -o', but also, the minuso test has
4322 # not run yet. These depmodes are late enough in the game, and
4323 # so weak that their functioning should not be impacted.
4324 am__obj=conftest.${OBJEXT-o}
4329 if depmode=$depmode \
4330 source=sub/conftest.c object=$am__obj \
4331 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4332 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4333 >/dev/null 2>conftest.err &&
4334 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4335 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4336 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4337 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4338 # icc doesn't choke on unknown options, it will just issue warnings
4339 # or remarks (even with -Werror). So we grep stderr for any message
4340 # that says an option was ignored or not supported.
4341 # When given -MP, icc 7.0 and 7.1 complain thusly:
4342 # icc: Command line warning: ignoring option '-M'; no argument required
4343 # The diagnosis changed in icc 8.0:
4344 # icc: Command line remark: option '-MP' not supported
4345 if (grep 'ignoring option' conftest.err ||
4346 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4347 am_cv_CC_dependencies_compiler_type=$depmode
4356 am_cv_CC_dependencies_compiler_type=none
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4361 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4362 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4365 test "x$enable_dependency_tracking" != xno \
4366 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4368 am__fastdepCC_FALSE='#'
4370 am__fastdepCC_TRUE='#'
4371 am__fastdepCC_FALSE=
4377 ac_cpp='$CPP $CPPFLAGS'
4378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4382 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4383 # On Suns, sometimes $CPP names a directory.
4384 if test -n "$CPP" && test -d "$CPP"; then
4387 if test -z "$CPP"; then
4388 if ${ac_cv_prog_CPP+:} false; then :
4389 $as_echo_n "(cached) " >&6
4391 # Double quotes because CPP needs to be expanded
4392 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4395 for ac_c_preproc_warn_flag in '' yes
4397 # Use a header file that comes with gcc, so configuring glibc
4398 # with a fresh cross-compiler works.
4399 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4400 # <limits.h> exists even on freestanding compilers.
4401 # On the NeXT, cc -E runs the code through the compiler's parser,
4402 # not just through cpp. "Syntax error" is here to catch this case.
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4406 # include <limits.h>
4408 # include <assert.h>
4412 if ac_fn_c_try_cpp "$LINENO"; then :
4415 # Broken: fails on valid input.
4418 rm -f conftest.err conftest.i conftest.$ac_ext
4420 # OK, works on sane cases. Now check whether nonexistent headers
4421 # can be detected and how.
4422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4424 #include <ac_nonexistent.h>
4426 if ac_fn_c_try_cpp "$LINENO"; then :
4427 # Broken: success on invalid input.
4430 # Passes both tests.
4434 rm -f conftest.err conftest.i conftest.$ac_ext
4437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4438 rm -f conftest.i conftest.err conftest.$ac_ext
4439 if $ac_preproc_ok; then :
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4452 $as_echo "$CPP" >&6; }
4454 for ac_c_preproc_warn_flag in '' yes
4456 # Use a header file that comes with gcc, so configuring glibc
4457 # with a fresh cross-compiler works.
4458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4459 # <limits.h> exists even on freestanding compilers.
4460 # On the NeXT, cc -E runs the code through the compiler's parser,
4461 # not just through cpp. "Syntax error" is here to catch this case.
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4465 # include <limits.h>
4467 # include <assert.h>
4471 if ac_fn_c_try_cpp "$LINENO"; then :
4474 # Broken: fails on valid input.
4477 rm -f conftest.err conftest.i conftest.$ac_ext
4479 # OK, works on sane cases. Now check whether nonexistent headers
4480 # can be detected and how.
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4483 #include <ac_nonexistent.h>
4485 if ac_fn_c_try_cpp "$LINENO"; then :
4486 # Broken: success on invalid input.
4489 # Passes both tests.
4493 rm -f conftest.err conftest.i conftest.$ac_ext
4496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4497 rm -f conftest.i conftest.err conftest.$ac_ext
4498 if $ac_preproc_ok; then :
4501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4503 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4504 See \`config.log' for more details" "$LINENO" 5; }
4508 ac_cpp='$CPP $CPPFLAGS'
4509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4515 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4516 if ${ac_cv_path_GREP+:} false; then :
4517 $as_echo_n "(cached) " >&6
4519 if test -z "$GREP"; then
4520 ac_path_GREP_found=false
4521 # Loop through the user's path and test for each of PROGNAME-LIST
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4526 test -z "$as_dir" && as_dir=.
4527 for ac_prog in grep ggrep; do
4528 for ac_exec_ext in '' $ac_executable_extensions; do
4529 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4530 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4531 # Check for GNU ac_path_GREP and select it if it is found.
4532 # Check for GNU $ac_path_GREP
4533 case `"$ac_path_GREP" --version 2>&1` in
4535 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4538 $as_echo_n 0123456789 >"conftest.in"
4541 cat "conftest.in" "conftest.in" >"conftest.tmp"
4542 mv "conftest.tmp" "conftest.in"
4543 cp "conftest.in" "conftest.nl"
4544 $as_echo 'GREP' >> "conftest.nl"
4545 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4546 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4547 as_fn_arith $ac_count + 1 && ac_count=$as_val
4548 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4549 # Best one so far, save it but keep looking for a better one
4550 ac_cv_path_GREP="$ac_path_GREP"
4551 ac_path_GREP_max=$ac_count
4553 # 10*(2^10) chars as input seems more than enough
4554 test $ac_count -gt 10 && break
4556 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4559 $ac_path_GREP_found && break 3
4564 if test -z "$ac_cv_path_GREP"; then
4565 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4568 ac_cv_path_GREP=$GREP
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4573 $as_echo "$ac_cv_path_GREP" >&6; }
4574 GREP="$ac_cv_path_GREP"
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4578 $as_echo_n "checking for egrep... " >&6; }
4579 if ${ac_cv_path_EGREP+:} false; then :
4580 $as_echo_n "(cached) " >&6
4582 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4583 then ac_cv_path_EGREP="$GREP -E"
4585 if test -z "$EGREP"; then
4586 ac_path_EGREP_found=false
4587 # Loop through the user's path and test for each of PROGNAME-LIST
4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4589 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4592 test -z "$as_dir" && as_dir=.
4593 for ac_prog in egrep; do
4594 for ac_exec_ext in '' $ac_executable_extensions; do
4595 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4596 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4597 # Check for GNU ac_path_EGREP and select it if it is found.
4598 # Check for GNU $ac_path_EGREP
4599 case `"$ac_path_EGREP" --version 2>&1` in
4601 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4604 $as_echo_n 0123456789 >"conftest.in"
4607 cat "conftest.in" "conftest.in" >"conftest.tmp"
4608 mv "conftest.tmp" "conftest.in"
4609 cp "conftest.in" "conftest.nl"
4610 $as_echo 'EGREP' >> "conftest.nl"
4611 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4612 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4613 as_fn_arith $ac_count + 1 && ac_count=$as_val
4614 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4615 # Best one so far, save it but keep looking for a better one
4616 ac_cv_path_EGREP="$ac_path_EGREP"
4617 ac_path_EGREP_max=$ac_count
4619 # 10*(2^10) chars as input seems more than enough
4620 test $ac_count -gt 10 && break
4622 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4625 $ac_path_EGREP_found && break 3
4630 if test -z "$ac_cv_path_EGREP"; then
4631 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4634 ac_cv_path_EGREP=$EGREP
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4640 $as_echo "$ac_cv_path_EGREP" >&6; }
4641 EGREP="$ac_cv_path_EGREP"
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4645 $as_echo_n "checking for ANSI C header files... " >&6; }
4646 if ${ac_cv_header_stdc+:} false; then :
4647 $as_echo_n "(cached) " >&6
4649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4650 /* end confdefs.h. */
4664 if ac_fn_c_try_compile "$LINENO"; then :
4665 ac_cv_header_stdc=yes
4667 ac_cv_header_stdc=no
4669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671 if test $ac_cv_header_stdc = yes; then
4672 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4679 $EGREP "memchr" >/dev/null 2>&1; then :
4682 ac_cv_header_stdc=no
4688 if test $ac_cv_header_stdc = yes; then
4689 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4696 $EGREP "free" >/dev/null 2>&1; then :
4699 ac_cv_header_stdc=no
4705 if test $ac_cv_header_stdc = yes; then
4706 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4707 if test "$cross_compiling" = yes; then :
4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4714 #if ((' ' & 0x0FF) == 0x020)
4715 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4716 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4718 # define ISLOWER(c) \
4719 (('a' <= (c) && (c) <= 'i') \
4720 || ('j' <= (c) && (c) <= 'r') \
4721 || ('s' <= (c) && (c) <= 'z'))
4722 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4725 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4730 for (i = 0; i < 256; i++)
4731 if (XOR (islower (i), ISLOWER (i))
4732 || toupper (i) != TOUPPER (i))
4737 if ac_fn_c_try_run "$LINENO"; then :
4740 ac_cv_header_stdc=no
4742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4743 conftest.$ac_objext conftest.beam conftest.$ac_ext
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4749 $as_echo "$ac_cv_header_stdc" >&6; }
4750 if test $ac_cv_header_stdc = yes; then
4752 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4756 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4757 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4758 inttypes.h stdint.h unistd.h
4760 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4761 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4763 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4764 cat >>confdefs.h <<_ACEOF
4765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4773 ac_fn_c_check_header_mongrel "$LINENO" "OpenGL/gl.h" "ac_cv_header_OpenGL_gl_h" "$ac_includes_default"
4774 if test "x$ac_cv_header_OpenGL_gl_h" = xyes; then :
4781 if test "$platform_quartz" = "yes"; then
4790 ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
4791 if test "x$ac_cv_header_GL_glx_h" = xyes; then :
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
4799 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
4800 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
4801 $as_echo_n "(cached) " >&6
4803 ac_check_lib_save_LIBS=$LIBS
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4808 /* Override any GCC internal prototype to avoid an error.
4809 Use char because int might match the return type of a GCC
4810 builtin and then its argument prototype would still apply. */
4814 char glXCreateContext ();
4818 return glXCreateContext ();
4823 if ac_fn_c_try_link "$LINENO"; then :
4824 ac_cv_lib_GL_glXCreateContext=yes
4826 ac_cv_lib_GL_glXCreateContext=no
4828 rm -f core conftest.err conftest.$ac_objext \
4829 conftest$ac_exeext conftest.$ac_ext
4830 LIBS=$ac_check_lib_save_LIBS
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
4833 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
4834 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
4840 if test "$platform_glx" = "yes"; then
4848 if test "$platform_linux" = "yes"; then
4859 cat >confcache <<\_ACEOF
4860 # This file is a shell script that caches the results of configure
4861 # tests run on this system so they can be shared between configure
4862 # scripts and configure runs, see configure's option --config-cache.
4863 # It is not useful on other systems. If it contains results you don't
4864 # want to keep, you may remove or edit it.
4866 # config.status only pays attention to the cache file if you give it
4867 # the --recheck option to rerun configure.
4869 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4870 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4875 # The following way of writing the cache mishandles newlines in values,
4876 # but we know of no workaround that is simple, portable, and efficient.
4877 # So, we kill variables containing newlines.
4878 # Ultrix sh set writes to stderr and can't be redirected directly,
4879 # and sets the high bit in the cache file unless we assign to the vars.
4881 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4882 eval ac_val=\$$ac_var
4886 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4887 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4890 _ | IFS | as_nl) ;; #(
4891 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4892 *) { eval $ac_var=; unset $ac_var;} ;;
4898 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4899 *${as_nl}ac_space=\ *)
4900 # `set' does not quote correctly, so add quotes: double-quote
4901 # substitution turns \\\\ into \\, and sed turns \\ into \.
4904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4907 # `set' quotes correctly as required by POSIX, so do not add quotes.
4908 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4917 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4919 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4921 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4922 if test -w "$cache_file"; then
4923 if test "x$cache_file" != "x/dev/null"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4925 $as_echo "$as_me: updating cache $cache_file" >&6;}
4926 if test ! -f "$cache_file" || test -h "$cache_file"; then
4927 cat confcache >"$cache_file"
4929 case $cache_file in #(
4931 mv -f confcache "$cache_file"$$ &&
4932 mv -f "$cache_file"$$ "$cache_file" ;; #(
4934 mv -f confcache "$cache_file" ;;
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4940 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4946 # Checks for programs.
4947 if test "x$CC" != xcc; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4949 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4952 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4954 set dummy $CC; ac_cc=`$as_echo "$2" |
4955 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4956 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4957 $as_echo_n "(cached) " >&6
4959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4970 # Make sure it works both with $CC and with simple cc.
4971 # We do the test twice because some compilers refuse to overwrite an
4972 # existing .o file with -o, though they will create one.
4973 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4975 if { { case "(($ac_try" in
4976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
4979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4980 $as_echo "$ac_try_echo"; } >&5
4981 (eval "$ac_try") 2>&5
4983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4984 test $ac_status = 0; } &&
4985 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4987 *) ac_try_echo=$ac_try;;
4989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4990 $as_echo "$ac_try_echo"; } >&5
4991 (eval "$ac_try") 2>&5
4993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4994 test $ac_status = 0; };
4996 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4997 if test "x$CC" != xcc; then
4998 # Test first that cc exists at all.
4999 if { ac_try='cc -c conftest.$ac_ext >&5'
5000 { { case "(($ac_try" in
5001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5002 *) ac_try_echo=$ac_try;;
5004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5005 $as_echo "$ac_try_echo"; } >&5
5006 (eval "$ac_try") 2>&5
5008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5009 test $ac_status = 0; }; }; then
5010 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5012 if { { case "(($ac_try" in
5013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5014 *) ac_try_echo=$ac_try;;
5016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5017 $as_echo "$ac_try_echo"; } >&5
5018 (eval "$ac_try") 2>&5
5020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5021 test $ac_status = 0; } &&
5022 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5024 *) ac_try_echo=$ac_try;;
5026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5027 $as_echo "$ac_try_echo"; } >&5
5028 (eval "$ac_try") 2>&5
5030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5031 test $ac_status = 0; };
5036 # cc exists but doesn't like -o.
5037 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5042 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5044 rm -f core conftest*
5047 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5049 $as_echo "yes" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5054 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5058 # FIXME: we rely on the cache variable name because
5059 # there is no other way.
5061 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5062 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5063 if test "$am_t" != yes; then
5064 # Losing compiler, so override with the script.
5065 # FIXME: It is wrong to rewrite CC.
5066 # But if we don't then we get into trouble of one sort or another.
5067 # A longer-term fix would be to have automake use am__CC in this case,
5068 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5069 CC="$am_aux_dir/compile $CC"
5074 # require libtool >= 2.2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5079 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5084 macro_version='2.4.2'
5085 macro_revision='1.3337'
5099 ltmain="$ac_aux_dir/ltmain.sh"
5101 # Backslashify metacharacters that are still active within
5102 # double-quoted strings.
5103 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5105 # Same as above, but do not quote variable references.
5106 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5108 # Sed substitution to delay expansion of an escaped shell variable in a
5109 # double_quote_subst'ed string.
5110 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5112 # Sed substitution to delay expansion of an escaped single quote.
5113 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5115 # Sed substitution to avoid accidental globbing in evaled expressions
5116 no_glob_subst='s/\*/\\\*/g'
5118 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5119 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5120 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5123 $as_echo_n "checking how to print strings... " >&6; }
5124 # Test print first, because it will be a builtin if present.
5125 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5126 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5128 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5131 # Use this function as a fallback that always works.
5132 func_fallback_echo ()
5134 eval 'cat <<_LTECHO_EOF
5138 ECHO='func_fallback_echo'
5141 # func_echo_all arg...
5142 # Invoke $ECHO with all args, space-separated.
5149 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5150 $as_echo "printf" >&6; } ;;
5151 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5152 $as_echo "print -r" >&6; } ;;
5153 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5154 $as_echo "cat" >&6; } ;;
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5171 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5172 if ${ac_cv_path_SED+:} false; then :
5173 $as_echo_n "(cached) " >&6
5175 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5176 for ac_i in 1 2 3 4 5 6 7; do
5177 ac_script="$ac_script$as_nl$ac_script"
5179 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5180 { ac_script=; unset ac_script;}
5181 if test -z "$SED"; then
5182 ac_path_SED_found=false
5183 # Loop through the user's path and test for each of PROGNAME-LIST
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir=.
5189 for ac_prog in sed gsed; do
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5192 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5193 # Check for GNU ac_path_SED and select it if it is found.
5194 # Check for GNU $ac_path_SED
5195 case `"$ac_path_SED" --version 2>&1` in
5197 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5200 $as_echo_n 0123456789 >"conftest.in"
5203 cat "conftest.in" "conftest.in" >"conftest.tmp"
5204 mv "conftest.tmp" "conftest.in"
5205 cp "conftest.in" "conftest.nl"
5206 $as_echo '' >> "conftest.nl"
5207 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5208 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5209 as_fn_arith $ac_count + 1 && ac_count=$as_val
5210 if test $ac_count -gt ${ac_path_SED_max-0}; then
5211 # Best one so far, save it but keep looking for a better one
5212 ac_cv_path_SED="$ac_path_SED"
5213 ac_path_SED_max=$ac_count
5215 # 10*(2^10) chars as input seems more than enough
5216 test $ac_count -gt 10 && break
5218 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5221 $ac_path_SED_found && break 3
5226 if test -z "$ac_cv_path_SED"; then
5227 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5235 $as_echo "$ac_cv_path_SED" >&6; }
5236 SED="$ac_cv_path_SED"
5239 test -z "$SED" && SED=sed
5240 Xsed="$SED -e 1s/^X//"
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5253 $as_echo_n "checking for fgrep... " >&6; }
5254 if ${ac_cv_path_FGREP+:} false; then :
5255 $as_echo_n "(cached) " >&6
5257 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5258 then ac_cv_path_FGREP="$GREP -F"
5260 if test -z "$FGREP"; then
5261 ac_path_FGREP_found=false
5262 # Loop through the user's path and test for each of PROGNAME-LIST
5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5267 test -z "$as_dir" && as_dir=.
5268 for ac_prog in fgrep; do
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5271 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5272 # Check for GNU ac_path_FGREP and select it if it is found.
5273 # Check for GNU $ac_path_FGREP
5274 case `"$ac_path_FGREP" --version 2>&1` in
5276 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5279 $as_echo_n 0123456789 >"conftest.in"
5282 cat "conftest.in" "conftest.in" >"conftest.tmp"
5283 mv "conftest.tmp" "conftest.in"
5284 cp "conftest.in" "conftest.nl"
5285 $as_echo 'FGREP' >> "conftest.nl"
5286 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5287 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5288 as_fn_arith $ac_count + 1 && ac_count=$as_val
5289 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5290 # Best one so far, save it but keep looking for a better one
5291 ac_cv_path_FGREP="$ac_path_FGREP"
5292 ac_path_FGREP_max=$ac_count
5294 # 10*(2^10) chars as input seems more than enough
5295 test $ac_count -gt 10 && break
5297 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5300 $ac_path_FGREP_found && break 3
5305 if test -z "$ac_cv_path_FGREP"; then
5306 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5309 ac_cv_path_FGREP=$FGREP
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5315 $as_echo "$ac_cv_path_FGREP" >&6; }
5316 FGREP="$ac_cv_path_FGREP"
5319 test -z "$GREP" && GREP=grep
5339 # Check whether --with-gnu-ld was given.
5340 if test "${with_gnu_ld+set}" = set; then :
5341 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5347 if test "$GCC" = yes; then
5348 # Check if gcc -print-prog-name=ld gives a path.
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5350 $as_echo_n "checking for ld used by $CC... " >&6; }
5353 # gcc leaves a trailing carriage return which upsets mingw
5354 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5356 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5359 # Accept absolute paths.
5361 re_direlt='/[^/][^/]*/\.\./'
5362 # Canonicalize the pathname of ld
5363 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5364 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5365 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5367 test -z "$LD" && LD="$ac_prog"
5370 # If it fails, then pretend we aren't using GCC.
5374 # If it is relative, then search for the first ld in PATH.
5378 elif test "$with_gnu_ld" = yes; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5380 $as_echo_n "checking for GNU ld... " >&6; }
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5383 $as_echo_n "checking for non-GNU ld... " >&6; }
5385 if ${lt_cv_path_LD+:} false; then :
5386 $as_echo_n "(cached) " >&6
5388 if test -z "$LD"; then
5389 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5390 for ac_dir in $PATH; do
5392 test -z "$ac_dir" && ac_dir=.
5393 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5394 lt_cv_path_LD="$ac_dir/$ac_prog"
5395 # Check to see if the program is GNU ld. I'd rather use --version,
5396 # but apparently some variants of GNU ld only accept -v.
5397 # Break only if it was the GNU/non-GNU ld that we prefer.
5398 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5399 *GNU* | *'with BFD'*)
5400 test "$with_gnu_ld" != no && break
5403 test "$with_gnu_ld" != yes && break
5410 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5415 if test -n "$LD"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5417 $as_echo "$LD" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }
5422 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5424 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5425 if ${lt_cv_prog_gnu_ld+:} false; then :
5426 $as_echo_n "(cached) " >&6
5428 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5429 case `$LD -v 2>&1 </dev/null` in
5430 *GNU* | *'with BFD'*)
5431 lt_cv_prog_gnu_ld=yes
5434 lt_cv_prog_gnu_ld=no
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5439 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5440 with_gnu_ld=$lt_cv_prog_gnu_ld
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5451 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5452 if ${lt_cv_path_NM+:} false; then :
5453 $as_echo_n "(cached) " >&6
5455 if test -n "$NM"; then
5456 # Let the user override the test.
5459 lt_nm_to_check="${ac_tool_prefix}nm"
5460 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5461 lt_nm_to_check="$lt_nm_to_check nm"
5463 for lt_tmp_nm in $lt_nm_to_check; do
5464 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5465 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5467 test -z "$ac_dir" && ac_dir=.
5468 tmp_nm="$ac_dir/$lt_tmp_nm"
5469 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5470 # Check to see if the nm accepts a BSD-compat flag.
5471 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5472 # nm: unknown option "B" ignored
5473 # Tru64's nm complains that /dev/null is an invalid object file
5474 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5475 */dev/null* | *'Invalid file or object type'*)
5476 lt_cv_path_NM="$tmp_nm -B"
5480 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5482 lt_cv_path_NM="$tmp_nm -p"
5486 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5487 continue # so that we can try to find one that supports BSD flags
5496 : ${lt_cv_path_NM=no}
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5500 $as_echo "$lt_cv_path_NM" >&6; }
5501 if test "$lt_cv_path_NM" != "no"; then
5504 # Didn't find any BSD compatible name lister, look for dumpbin.
5505 if test -n "$DUMPBIN"; then :
5506 # Let the user override the test.
5508 if test -n "$ac_tool_prefix"; then
5509 for ac_prog in dumpbin "link -dump"
5511 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_DUMPBIN+:} false; then :
5516 $as_echo_n "(cached) " >&6
5518 if test -n "$DUMPBIN"; then
5519 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5528 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 DUMPBIN=$ac_cv_prog_DUMPBIN
5539 if test -n "$DUMPBIN"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5541 $as_echo "$DUMPBIN" >&6; }
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5548 test -n "$DUMPBIN" && break
5551 if test -z "$DUMPBIN"; then
5552 ac_ct_DUMPBIN=$DUMPBIN
5553 for ac_prog in dumpbin "link -dump"
5555 # Extract the first word of "$ac_prog", so it can be a program name with args.
5556 set dummy $ac_prog; ac_word=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558 $as_echo_n "checking for $ac_word... " >&6; }
5559 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5560 $as_echo_n "(cached) " >&6
5562 if test -n "$ac_ct_DUMPBIN"; then
5563 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5572 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5583 if test -n "$ac_ct_DUMPBIN"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5585 $as_echo "$ac_ct_DUMPBIN" >&6; }
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5592 test -n "$ac_ct_DUMPBIN" && break
5595 if test "x$ac_ct_DUMPBIN" = x; then
5598 case $cross_compiling:$ac_tool_warned in
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5602 ac_tool_warned=yes ;;
5604 DUMPBIN=$ac_ct_DUMPBIN
5608 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5610 DUMPBIN="$DUMPBIN -symbols"
5618 if test "$DUMPBIN" != ":"; then
5622 test -z "$NM" && NM=nm
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5630 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5631 if ${lt_cv_nm_interface+:} false; then :
5632 $as_echo_n "(cached) " >&6
5634 lt_cv_nm_interface="BSD nm"
5635 echo "int some_variable = 0;" > conftest.$ac_ext
5636 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5637 (eval "$ac_compile" 2>conftest.err)
5638 cat conftest.err >&5
5639 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5640 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5641 cat conftest.err >&5
5642 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5643 cat conftest.out >&5
5644 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5645 lt_cv_nm_interface="MS dumpbin"
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5650 $as_echo "$lt_cv_nm_interface" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5653 $as_echo_n "checking whether ln -s works... " >&6; }
5655 if test "$LN_S" = "ln -s"; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5657 $as_echo "yes" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5660 $as_echo "no, using $LN_S" >&6; }
5663 # find the maximum length of command line arguments
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5665 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5666 if ${lt_cv_sys_max_cmd_len+:} false; then :
5667 $as_echo_n "(cached) " >&6
5674 # On DJGPP, this test can blow up pretty badly due to problems in libc
5675 # (any single argument exceeding 2000 bytes causes a buffer overrun
5676 # during glob expansion). Even if it were fixed, the result of this
5677 # check would be larger than it should be.
5678 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5682 # Under GNU Hurd, this test is not required because there is
5683 # no limit to the length of command line arguments.
5684 # Libtool will interpret -1 as no limit whatsoever
5685 lt_cv_sys_max_cmd_len=-1;
5688 cygwin* | mingw* | cegcc*)
5689 # On Win9x/ME, this test blows up -- it succeeds, but takes
5690 # about 5 minutes as the teststring grows exponentially.
5691 # Worse, since 9x/ME are not pre-emptively multitasking,
5692 # you end up with a "frozen" computer, even though with patience
5693 # the test eventually succeeds (with a max line length of 256k).
5694 # Instead, let's just punt: use the minimum linelength reported by
5695 # all of the supported platforms: 8192 (on NT/2K/XP).
5696 lt_cv_sys_max_cmd_len=8192;
5700 # On MiNT this can take a long time and run out of memory.
5701 lt_cv_sys_max_cmd_len=8192;
5705 # On AmigaOS with pdksh, this test takes hours, literally.
5706 # So we just punt and use a minimum line length of 8192.
5707 lt_cv_sys_max_cmd_len=8192;
5710 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5711 # This has been around since 386BSD, at least. Likely further.
5712 if test -x /sbin/sysctl; then
5713 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5714 elif test -x /usr/sbin/sysctl; then
5715 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5717 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5719 # And add a safety zone
5720 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5721 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5725 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5726 lt_cv_sys_max_cmd_len=196608
5730 # The test takes a long time on OS/2.
5731 lt_cv_sys_max_cmd_len=8192
5735 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5736 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5737 # nice to cause kernel panics so lets avoid the loop below.
5738 # First set a reasonable default.
5739 lt_cv_sys_max_cmd_len=16384
5741 if test -x /sbin/sysconfig; then
5742 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5743 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5748 lt_cv_sys_max_cmd_len=102400
5750 sysv5* | sco5v6* | sysv4.2uw2*)
5751 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5752 if test -n "$kargmax"; then
5753 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5755 lt_cv_sys_max_cmd_len=32768
5759 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5760 if test -n "$lt_cv_sys_max_cmd_len"; then
5761 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5762 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5764 # Make teststring a little bigger before we do anything with it.
5765 # a 1K string should be a reasonable start.
5766 for i in 1 2 3 4 5 6 7 8 ; do
5767 teststring=$teststring$teststring
5769 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5770 # If test is not a shell built-in, we'll probably end up computing a
5771 # maximum length that is only half of the actual maximum length, but
5773 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5774 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5775 test $i != 17 # 1/2 MB should be enough
5778 teststring=$teststring$teststring
5780 # Only check the string length outside the loop.
5781 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5783 # Add a significant safety factor because C++ compilers can tack on
5784 # massive amounts of additional arguments before passing them to the
5785 # linker. It appears as though 1/2 is a usable value.
5786 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5793 if test -n $lt_cv_sys_max_cmd_len ; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5795 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5798 $as_echo "none" >&6; }
5800 max_cmd_len=$lt_cv_sys_max_cmd_len
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5812 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5813 # Try some XSI features
5816 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5818 && eval 'test $(( 1 + 1 )) -eq 2 \
5819 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5822 $as_echo "$xsi_shell" >&6; }
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5826 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5828 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5830 && lt_shell_append=yes
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5832 $as_echo "$lt_shell_append" >&6; }
5835 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5845 # test EBCDIC or ASCII
5846 case `echo X|tr X '\101'` in
5847 A) # ASCII based system
5848 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5849 lt_SP2NL='tr \040 \012'
5850 lt_NL2SP='tr \015\012 \040\040'
5852 *) # EBCDIC based system
5853 lt_SP2NL='tr \100 \n'
5854 lt_NL2SP='tr \r\n \100\100'
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5867 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5868 if ${lt_cv_to_host_file_cmd+:} false; then :
5869 $as_echo_n "(cached) " >&6
5874 *-*-mingw* ) # actually msys
5875 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5878 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5880 * ) # otherwise, assume *nix
5881 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5887 *-*-mingw* ) # actually msys
5888 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5891 lt_cv_to_host_file_cmd=func_convert_file_noop
5893 * ) # otherwise, assume *nix
5894 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5898 * ) # unhandled hosts (and "normal" native builds)
5899 lt_cv_to_host_file_cmd=func_convert_file_noop
5905 to_host_file_cmd=$lt_cv_to_host_file_cmd
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5907 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5914 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5915 if ${lt_cv_to_tool_file_cmd+:} false; then :
5916 $as_echo_n "(cached) " >&6
5918 #assume ordinary cross tools, or native build.
5919 lt_cv_to_tool_file_cmd=func_convert_file_noop
5923 *-*-mingw* ) # actually msys
5924 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5932 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5934 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5941 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5942 if ${lt_cv_ld_reload_flag+:} false; then :
5943 $as_echo_n "(cached) " >&6
5945 lt_cv_ld_reload_flag='-r'
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5948 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5949 reload_flag=$lt_cv_ld_reload_flag
5950 case $reload_flag in
5952 *) reload_flag=" $reload_flag" ;;
5954 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5956 cygwin* | mingw* | pw32* | cegcc*)
5957 if test "$GCC" != yes; then
5962 if test "$GCC" = yes; then
5963 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5965 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5978 if test -n "$ac_tool_prefix"; then
5979 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5980 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982 $as_echo_n "checking for $ac_word... " >&6; }
5983 if ${ac_cv_prog_OBJDUMP+:} false; then :
5984 $as_echo_n "(cached) " >&6
5986 if test -n "$OBJDUMP"; then
5987 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 test -z "$as_dir" && as_dir=.
5994 for ac_exec_ext in '' $ac_executable_extensions; do
5995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5996 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 OBJDUMP=$ac_cv_prog_OBJDUMP
6007 if test -n "$OBJDUMP"; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6009 $as_echo "$OBJDUMP" >&6; }
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6017 if test -z "$ac_cv_prog_OBJDUMP"; then
6018 ac_ct_OBJDUMP=$OBJDUMP
6019 # Extract the first word of "objdump", so it can be a program name with args.
6020 set dummy objdump; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6024 $as_echo_n "(cached) " >&6
6026 if test -n "$ac_ct_OBJDUMP"; then
6027 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6036 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6047 if test -n "$ac_ct_OBJDUMP"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6049 $as_echo "$ac_ct_OBJDUMP" >&6; }
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6055 if test "x$ac_ct_OBJDUMP" = x; then
6058 case $cross_compiling:$ac_tool_warned in
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6062 ac_tool_warned=yes ;;
6064 OBJDUMP=$ac_ct_OBJDUMP
6067 OBJDUMP="$ac_cv_prog_OBJDUMP"
6070 test -z "$OBJDUMP" && OBJDUMP=objdump
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6081 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6082 if ${lt_cv_deplibs_check_method+:} false; then :
6083 $as_echo_n "(cached) " >&6
6085 lt_cv_file_magic_cmd='$MAGIC_CMD'
6086 lt_cv_file_magic_test_file=
6087 lt_cv_deplibs_check_method='unknown'
6088 # Need to set the preceding variable on all platforms that support
6089 # interlibrary dependencies.
6090 # 'none' -- dependencies not supported.
6091 # `unknown' -- same as none, but documents that we really don't know.
6092 # 'pass_all' -- all dependencies passed with no checks.
6093 # 'test_compile' -- check by making test program.
6094 # 'file_magic [[regex]]' -- check by looking for files in library path
6095 # which responds to the $file_magic_cmd with a given extended regex.
6096 # If you have `file' or equivalent on your system and you're not sure
6097 # whether `pass_all' will *always* work, you probably want this one.
6101 lt_cv_deplibs_check_method=pass_all
6105 lt_cv_deplibs_check_method=pass_all
6109 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6110 lt_cv_file_magic_cmd='/usr/bin/file -L'
6111 lt_cv_file_magic_test_file=/shlib/libc.so
6115 # func_win32_libid is a shell function defined in ltmain.sh
6116 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6117 lt_cv_file_magic_cmd='func_win32_libid'
6121 # Base MSYS/MinGW do not provide the 'file' command needed by
6122 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6123 # unless we find 'file', for example because we are cross-compiling.
6124 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6125 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6126 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6127 lt_cv_file_magic_cmd='func_win32_libid'
6129 # Keep this pattern in sync with the one in func_win32_libid.
6130 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6131 lt_cv_file_magic_cmd='$OBJDUMP -f'
6136 # use the weaker test based on 'objdump'. See mingw*.
6137 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6138 lt_cv_file_magic_cmd='$OBJDUMP -f'
6141 darwin* | rhapsody*)
6142 lt_cv_deplibs_check_method=pass_all
6145 freebsd* | dragonfly*)
6146 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6149 # Not sure whether the presence of OpenBSD here was a mistake.
6150 # Let's accept both of them until this is cleared up.
6151 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6152 lt_cv_file_magic_cmd=/usr/bin/file
6153 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6157 lt_cv_deplibs_check_method=pass_all
6162 lt_cv_deplibs_check_method=pass_all
6166 lt_cv_deplibs_check_method=pass_all
6169 hpux10.20* | hpux11*)
6170 lt_cv_file_magic_cmd=/usr/bin/file
6173 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6174 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6177 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]'
6178 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6181 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6182 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6188 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6189 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6192 irix5* | irix6* | nonstopux*)
6194 *-32|*"-32 ") libmagic=32-bit;;
6195 *-n32|*"-n32 ") libmagic=N32;;
6196 *-64|*"-64 ") libmagic=64-bit;;
6197 *) libmagic=never-match;;
6199 lt_cv_deplibs_check_method=pass_all
6202 # This must be glibc/ELF.
6203 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6204 lt_cv_deplibs_check_method=pass_all
6208 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6209 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6211 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6216 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6217 lt_cv_file_magic_cmd=/usr/bin/file
6218 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6222 lt_cv_deplibs_check_method=pass_all
6226 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6227 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6229 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6233 osf3* | osf4* | osf5*)
6234 lt_cv_deplibs_check_method=pass_all
6238 lt_cv_deplibs_check_method=pass_all
6242 lt_cv_deplibs_check_method=pass_all
6245 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6246 lt_cv_deplibs_check_method=pass_all
6250 case $host_vendor in
6252 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]'
6253 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6256 lt_cv_deplibs_check_method=pass_all
6259 lt_cv_file_magic_cmd='/bin/file'
6260 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6263 lt_cv_file_magic_cmd='/bin/file'
6264 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6265 lt_cv_file_magic_test_file=/lib/libc.so
6268 lt_cv_deplibs_check_method=pass_all
6271 lt_cv_deplibs_check_method=pass_all
6277 lt_cv_deplibs_check_method=pass_all
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6283 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6287 if test "$build" = "$host"; then
6290 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6293 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6299 file_magic_cmd=$lt_cv_file_magic_cmd
6300 deplibs_check_method=$lt_cv_deplibs_check_method
6301 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6324 if test -n "$ac_tool_prefix"; then
6325 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6326 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328 $as_echo_n "checking for $ac_word... " >&6; }
6329 if ${ac_cv_prog_DLLTOOL+:} false; then :
6330 $as_echo_n "(cached) " >&6
6332 if test -n "$DLLTOOL"; then
6333 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6342 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6352 DLLTOOL=$ac_cv_prog_DLLTOOL
6353 if test -n "$DLLTOOL"; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6355 $as_echo "$DLLTOOL" >&6; }
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6358 $as_echo "no" >&6; }
6363 if test -z "$ac_cv_prog_DLLTOOL"; then
6364 ac_ct_DLLTOOL=$DLLTOOL
6365 # Extract the first word of "dlltool", so it can be a program name with args.
6366 set dummy dlltool; ac_word=$2
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6368 $as_echo_n "checking for $ac_word... " >&6; }
6369 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6370 $as_echo_n "(cached) " >&6
6372 if test -n "$ac_ct_DLLTOOL"; then
6373 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379 test -z "$as_dir" && as_dir=.
6380 for ac_exec_ext in '' $ac_executable_extensions; do
6381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6382 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6393 if test -n "$ac_ct_DLLTOOL"; then
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6395 $as_echo "$ac_ct_DLLTOOL" >&6; }
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6398 $as_echo "no" >&6; }
6401 if test "x$ac_ct_DLLTOOL" = x; then
6404 case $cross_compiling:$ac_tool_warned in
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6408 ac_tool_warned=yes ;;
6410 DLLTOOL=$ac_ct_DLLTOOL
6413 DLLTOOL="$ac_cv_prog_DLLTOOL"
6416 test -z "$DLLTOOL" && DLLTOOL=dlltool
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6428 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6429 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6430 $as_echo_n "(cached) " >&6
6432 lt_cv_sharedlib_from_linklib_cmd='unknown'
6435 cygwin* | mingw* | pw32* | cegcc*)
6436 # two different shell functions defined in ltmain.sh
6437 # decide which to use based on capabilities of $DLLTOOL
6438 case `$DLLTOOL --help 2>&1` in
6439 *--identify-strict*)
6440 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6443 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6448 # fallback: assume linklib IS sharedlib
6449 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6455 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6456 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6457 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6465 if test -n "$ac_tool_prefix"; then
6468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6471 $as_echo_n "checking for $ac_word... " >&6; }
6472 if ${ac_cv_prog_AR+:} false; then :
6473 $as_echo_n "(cached) " >&6
6475 if test -n "$AR"; then
6476 ac_cv_prog_AR="$AR" # Let the user override the test.
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 test -z "$as_dir" && as_dir=.
6483 for ac_exec_ext in '' $ac_executable_extensions; do
6484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6485 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 if test -n "$AR"; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6498 $as_echo "$AR" >&6; }
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 $as_echo "no" >&6; }
6505 test -n "$AR" && break
6508 if test -z "$AR"; then
6512 # Extract the first word of "$ac_prog", so it can be a program name with args.
6513 set dummy $ac_prog; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6517 $as_echo_n "(cached) " >&6
6519 if test -n "$ac_ct_AR"; then
6520 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529 ac_cv_prog_ac_ct_AR="$ac_prog"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6539 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6540 if test -n "$ac_ct_AR"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6542 $as_echo "$ac_ct_AR" >&6; }
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6549 test -n "$ac_ct_AR" && break
6552 if test "x$ac_ct_AR" = x; then
6555 case $cross_compiling:$ac_tool_warned in
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6559 ac_tool_warned=yes ;;
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6579 $as_echo_n "checking for archiver @FILE support... " >&6; }
6580 if ${lt_cv_ar_at_file+:} false; then :
6581 $as_echo_n "(cached) " >&6
6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h. */
6595 if ac_fn_c_try_compile "$LINENO"; then :
6596 echo conftest.$ac_objext > conftest.lst
6597 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6598 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6599 (eval $lt_ar_try) 2>&5
6601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6602 test $ac_status = 0; }
6603 if test "$ac_status" -eq 0; then
6604 # Ensure the archiver fails upon bogus file names.
6605 rm -f conftest.$ac_objext libconftest.a
6606 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6607 (eval $lt_ar_try) 2>&5
6609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6610 test $ac_status = 0; }
6611 if test "$ac_status" -ne 0; then
6615 rm -f conftest.* libconftest.a
6618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6622 $as_echo "$lt_cv_ar_at_file" >&6; }
6624 if test "x$lt_cv_ar_at_file" = xno; then
6627 archiver_list_spec=$lt_cv_ar_at_file
6636 if test -n "$ac_tool_prefix"; then
6637 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6638 set dummy ${ac_tool_prefix}strip; ac_word=$2
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640 $as_echo_n "checking for $ac_word... " >&6; }
6641 if ${ac_cv_prog_STRIP+:} false; then :
6642 $as_echo_n "(cached) " >&6
6644 if test -n "$STRIP"; then
6645 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 test -z "$as_dir" && as_dir=.
6652 for ac_exec_ext in '' $ac_executable_extensions; do
6653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6654 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 STRIP=$ac_cv_prog_STRIP
6665 if test -n "$STRIP"; then
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6667 $as_echo "$STRIP" >&6; }
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 $as_echo "no" >&6; }
6675 if test -z "$ac_cv_prog_STRIP"; then
6677 # Extract the first word of "strip", so it can be a program name with args.
6678 set dummy strip; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6682 $as_echo_n "(cached) " >&6
6684 if test -n "$ac_ct_STRIP"; then
6685 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694 ac_cv_prog_ac_ct_STRIP="strip"
6695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6705 if test -n "$ac_ct_STRIP"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6707 $as_echo "$ac_ct_STRIP" >&6; }
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6713 if test "x$ac_ct_STRIP" = x; then
6716 case $cross_compiling:$ac_tool_warned in
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6720 ac_tool_warned=yes ;;
6725 STRIP="$ac_cv_prog_STRIP"
6728 test -z "$STRIP" && STRIP=:
6735 if test -n "$ac_tool_prefix"; then
6736 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6737 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 $as_echo_n "checking for $ac_word... " >&6; }
6740 if ${ac_cv_prog_RANLIB+:} false; then :
6741 $as_echo_n "(cached) " >&6
6743 if test -n "$RANLIB"; then
6744 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 test -z "$as_dir" && as_dir=.
6751 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6753 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 RANLIB=$ac_cv_prog_RANLIB
6764 if test -n "$RANLIB"; then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6766 $as_echo "$RANLIB" >&6; }
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 $as_echo "no" >&6; }
6774 if test -z "$ac_cv_prog_RANLIB"; then
6775 ac_ct_RANLIB=$RANLIB
6776 # Extract the first word of "ranlib", so it can be a program name with args.
6777 set dummy ranlib; ac_word=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779 $as_echo_n "checking for $ac_word... " >&6; }
6780 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6781 $as_echo_n "(cached) " >&6
6783 if test -n "$ac_ct_RANLIB"; then
6784 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir=.
6791 for ac_exec_ext in '' $ac_executable_extensions; do
6792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6793 ac_cv_prog_ac_ct_RANLIB="ranlib"
6794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6803 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6804 if test -n "$ac_ct_RANLIB"; then
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6806 $as_echo "$ac_ct_RANLIB" >&6; }
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6809 $as_echo "no" >&6; }
6812 if test "x$ac_ct_RANLIB" = x; then
6815 case $cross_compiling:$ac_tool_warned in
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6819 ac_tool_warned=yes ;;
6821 RANLIB=$ac_ct_RANLIB
6824 RANLIB="$ac_cv_prog_RANLIB"
6827 test -z "$RANLIB" && RANLIB=:
6834 # Determine commands to create old-style static archives.
6835 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6836 old_postinstall_cmds='chmod 644 $oldlib'
6837 old_postuninstall_cmds=
6839 if test -n "$RANLIB"; then
6842 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6845 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6848 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6853 lock_old_archive_extraction=yes ;;
6855 lock_old_archive_extraction=no ;;
6896 # If no C compiler was specified, use CC.
6899 # If no C compiler flags were specified, use CFLAGS.
6900 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6902 # Allow CC to be a program name with arguments.
6906 # Check for command to grab the raw symbol name followed by C symbol from nm.
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6908 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6909 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6910 $as_echo_n "(cached) " >&6
6913 # These are sane defaults that work on at least a few old systems.
6914 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6916 # Character class describing NM global symbol codes.
6917 symcode='[BCDEGRST]'
6919 # Regexp to match symbols that can be accessed directly from C.
6920 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6922 # Define system-specific variables.
6927 cygwin* | mingw* | pw32* | cegcc*)
6928 symcode='[ABCDGISTW]'
6931 if test "$host_cpu" = ia64; then
6932 symcode='[ABCDEGRST]'
6936 symcode='[BCDEGRST]'
6939 symcode='[BCDEGQRST]'
6950 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6958 # If we're using GNU nm, then use its standard symbol codes.
6959 case `$NM -V 2>&1` in
6960 *GNU* | *'with BFD'*)
6961 symcode='[ABCDGIRSTW]' ;;
6964 # Transform an extracted symbol line into a proper C declaration.
6965 # Some systems (esp. on ia64) link data and code symbols differently,
6966 # so use this general approach.
6967 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6969 # Transform an extracted symbol line into symbol name and symbol address
6970 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6971 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'"
6973 # Handle CRLF in mingw tool chain
6977 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6981 # Try without a prefix underscore, then with it.
6982 for ac_symprfx in "" "_"; do
6984 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6985 symxfrm="\\1 $ac_symprfx\\2 \\2"
6987 # Write the raw and C identifiers.
6988 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6989 # Fake it for dumpbin and say T for any non-static function
6990 # and D for any global variable.
6991 # Also find C++ and __fastcall symbols from MSVC++,
6992 # which start with @ or ?.
6993 lt_cv_sys_global_symbol_pipe="$AWK '"\
6994 " {last_section=section; section=\$ 3};"\
6995 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6996 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6997 " \$ 0!~/External *\|/{next};"\
6998 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6999 " {if(hide[section]) next};"\
7000 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7001 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7002 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7003 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7004 " ' prfx=^$ac_symprfx"
7006 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7008 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7010 # Check to see that the pipe works correctly.
7014 cat > conftest.$ac_ext <<_LT_EOF
7019 void nm_test_func(void);
7020 void nm_test_func(void){}
7024 int main(){nm_test_var='a';nm_test_func();return(0);}
7027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7028 (eval $ac_compile) 2>&5
7030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7031 test $ac_status = 0; }; then
7032 # Now try to grab the symbols.
7034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7035 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7038 test $ac_status = 0; } && test -s "$nlist"; then
7039 # Try sorting and uniquifying the output.
7040 if sort "$nlist" | uniq > "$nlist"T; then
7041 mv -f "$nlist"T "$nlist"
7046 # Make sure that we snagged all the symbols we need.
7047 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7048 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7049 cat <<_LT_EOF > conftest.$ac_ext
7050 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7051 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7052 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7053 relocations are performed -- see ld's documentation on pseudo-relocs. */
7054 # define LT_DLSYM_CONST
7055 #elif defined(__osf__)
7056 /* This system does not cope well with relocations in const data. */
7057 # define LT_DLSYM_CONST
7059 # define LT_DLSYM_CONST const
7067 # Now generate the symbol file.
7068 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7070 cat <<_LT_EOF >> conftest.$ac_ext
7072 /* The mapping between symbol names and symbols. */
7073 LT_DLSYM_CONST struct {
7077 lt__PROGRAM__LTX_preloaded_symbols[] =
7079 { "@PROGRAM@", (void *) 0 },
7081 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7082 cat <<\_LT_EOF >> conftest.$ac_ext
7086 /* This works around a problem in FreeBSD linker */
7087 #ifdef FREEBSD_WORKAROUND
7088 static const void *lt_preloaded_setup() {
7089 return lt__PROGRAM__LTX_preloaded_symbols;
7097 # Now try linking the two files.
7098 mv conftest.$ac_objext conftstm.$ac_objext
7099 lt_globsym_save_LIBS=$LIBS
7100 lt_globsym_save_CFLAGS=$CFLAGS
7101 LIBS="conftstm.$ac_objext"
7102 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7103 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7104 (eval $ac_link) 2>&5
7106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7107 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7110 LIBS=$lt_globsym_save_LIBS
7111 CFLAGS=$lt_globsym_save_CFLAGS
7113 echo "cannot find nm_test_func in $nlist" >&5
7116 echo "cannot find nm_test_var in $nlist" >&5
7119 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7122 echo "$progname: failed program was:" >&5
7123 cat conftest.$ac_ext >&5
7125 rm -rf conftest* conftst*
7127 # Do not use the global_symbol_pipe unless it works.
7128 if test "$pipe_works" = yes; then
7131 lt_cv_sys_global_symbol_pipe=
7137 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7138 lt_cv_sys_global_symbol_to_cdecl=
7140 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7142 $as_echo "failed" >&6; }
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7145 $as_echo "ok" >&6; }
7148 # Response file support.
7149 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7150 nm_file_list_spec='@'
7151 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7152 nm_file_list_spec='@'
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7182 $as_echo_n "checking for sysroot... " >&6; }
7184 # Check whether --with-sysroot was given.
7185 if test "${with_sysroot+set}" = set; then :
7186 withval=$with_sysroot;
7193 case ${with_sysroot} in #(
7195 if test "$GCC" = yes; then
7196 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7200 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7206 $as_echo "${with_sysroot}" >&6; }
7207 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7212 $as_echo "${lt_sysroot:-no}" >&6; }
7218 # Check whether --enable-libtool-lock was given.
7219 if test "${enable_libtool_lock+set}" = set; then :
7220 enableval=$enable_libtool_lock;
7223 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7225 # Some flags need to be propagated to the compiler or linker for good
7229 # Find out which ABI we are using.
7230 echo 'int i;' > conftest.$ac_ext
7231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7232 (eval $ac_compile) 2>&5
7234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7235 test $ac_status = 0; }; then
7236 case `/usr/bin/file conftest.$ac_objext` in
7248 # Find out which ABI we are using.
7249 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7250 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7251 (eval $ac_compile) 2>&5
7253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7254 test $ac_status = 0; }; then
7255 if test "$lt_cv_prog_gnu_ld" = yes; then
7256 case `/usr/bin/file conftest.$ac_objext` in
7258 LD="${LD-ld} -melf32bsmip"
7261 LD="${LD-ld} -melf32bmipn32"
7264 LD="${LD-ld} -melf64bmip"
7268 case `/usr/bin/file conftest.$ac_objext` in
7284 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7285 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7286 # Find out which ABI we are using.
7287 echo 'int i;' > conftest.$ac_ext
7288 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7289 (eval $ac_compile) 2>&5
7291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7292 test $ac_status = 0; }; then
7293 case `/usr/bin/file conftest.o` in
7296 x86_64-*kfreebsd*-gnu)
7297 LD="${LD-ld} -m elf_i386_fbsd"
7300 LD="${LD-ld} -m elf_i386"
7302 ppc64-*linux*|powerpc64-*linux*)
7303 LD="${LD-ld} -m elf32ppclinux"
7306 LD="${LD-ld} -m elf_s390"
7309 LD="${LD-ld} -m elf32_sparc"
7315 x86_64-*kfreebsd*-gnu)
7316 LD="${LD-ld} -m elf_x86_64_fbsd"
7319 LD="${LD-ld} -m elf_x86_64"
7321 ppc*-*linux*|powerpc*-*linux*)
7322 LD="${LD-ld} -m elf64ppc"
7324 s390*-*linux*|s390*-*tpf*)
7325 LD="${LD-ld} -m elf64_s390"
7328 LD="${LD-ld} -m elf64_sparc"
7338 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7339 SAVE_CFLAGS="$CFLAGS"
7340 CFLAGS="$CFLAGS -belf"
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7342 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7343 if ${lt_cv_cc_needs_belf+:} false; then :
7344 $as_echo_n "(cached) " >&6
7347 ac_cpp='$CPP $CPPFLAGS'
7348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7353 /* end confdefs.h. */
7363 if ac_fn_c_try_link "$LINENO"; then :
7364 lt_cv_cc_needs_belf=yes
7366 lt_cv_cc_needs_belf=no
7368 rm -f core conftest.err conftest.$ac_objext \
7369 conftest$ac_exeext conftest.$ac_ext
7371 ac_cpp='$CPP $CPPFLAGS'
7372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7378 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7379 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7380 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7381 CFLAGS="$SAVE_CFLAGS"
7385 # Find out which ABI we are using.
7386 echo 'int i;' > conftest.$ac_ext
7387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7388 (eval $ac_compile) 2>&5
7390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7391 test $ac_status = 0; }; then
7392 case `/usr/bin/file conftest.o` in
7394 case $lt_cv_prog_gnu_ld in
7398 LD="${LD-ld} -m elf_x86_64"
7401 LD="${LD-ld} -m elf64_sparc"
7404 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7405 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7410 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7422 need_locks="$enable_libtool_lock"
7424 if test -n "$ac_tool_prefix"; then
7425 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7426 set dummy ${ac_tool_prefix}mt; ac_word=$2
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 $as_echo_n "checking for $ac_word... " >&6; }
7429 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7430 $as_echo_n "(cached) " >&6
7432 if test -n "$MANIFEST_TOOL"; then
7433 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 test -z "$as_dir" && as_dir=.
7440 for ac_exec_ext in '' $ac_executable_extensions; do
7441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7442 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7453 if test -n "$MANIFEST_TOOL"; then
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7455 $as_echo "$MANIFEST_TOOL" >&6; }
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7458 $as_echo "no" >&6; }
7463 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7464 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7465 # Extract the first word of "mt", so it can be a program name with args.
7466 set dummy mt; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7470 $as_echo_n "(cached) " >&6
7472 if test -n "$ac_ct_MANIFEST_TOOL"; then
7473 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7493 if test -n "$ac_ct_MANIFEST_TOOL"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7495 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7501 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7504 case $cross_compiling:$ac_tool_warned in
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7508 ac_tool_warned=yes ;;
7510 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7513 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7516 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7518 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7519 if ${lt_cv_path_mainfest_tool+:} false; then :
7520 $as_echo_n "(cached) " >&6
7522 lt_cv_path_mainfest_tool=no
7523 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7524 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7525 cat conftest.err >&5
7526 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7527 lt_cv_path_mainfest_tool=yes
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7532 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7533 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7543 rhapsody* | darwin*)
7544 if test -n "$ac_tool_prefix"; then
7545 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7546 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7550 $as_echo_n "(cached) " >&6
7552 if test -n "$DSYMUTIL"; then
7553 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7562 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7573 if test -n "$DSYMUTIL"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7575 $as_echo "$DSYMUTIL" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7583 if test -z "$ac_cv_prog_DSYMUTIL"; then
7584 ac_ct_DSYMUTIL=$DSYMUTIL
7585 # Extract the first word of "dsymutil", so it can be a program name with args.
7586 set dummy dsymutil; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7590 $as_echo_n "(cached) " >&6
7592 if test -n "$ac_ct_DSYMUTIL"; then
7593 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7613 if test -n "$ac_ct_DSYMUTIL"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7615 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7621 if test "x$ac_ct_DSYMUTIL" = x; then
7624 case $cross_compiling:$ac_tool_warned in
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7628 ac_tool_warned=yes ;;
7630 DSYMUTIL=$ac_ct_DSYMUTIL
7633 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7636 if test -n "$ac_tool_prefix"; then
7637 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7638 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7640 $as_echo_n "checking for $ac_word... " >&6; }
7641 if ${ac_cv_prog_NMEDIT+:} false; then :
7642 $as_echo_n "(cached) " >&6
7644 if test -n "$NMEDIT"; then
7645 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 test -z "$as_dir" && as_dir=.
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7654 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7664 NMEDIT=$ac_cv_prog_NMEDIT
7665 if test -n "$NMEDIT"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7667 $as_echo "$NMEDIT" >&6; }
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7675 if test -z "$ac_cv_prog_NMEDIT"; then
7676 ac_ct_NMEDIT=$NMEDIT
7677 # Extract the first word of "nmedit", so it can be a program name with args.
7678 set dummy nmedit; ac_word=$2
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7680 $as_echo_n "checking for $ac_word... " >&6; }
7681 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7682 $as_echo_n "(cached) " >&6
7684 if test -n "$ac_ct_NMEDIT"; then
7685 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 test -z "$as_dir" && as_dir=.
7692 for ac_exec_ext in '' $ac_executable_extensions; do
7693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7694 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7704 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7705 if test -n "$ac_ct_NMEDIT"; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7707 $as_echo "$ac_ct_NMEDIT" >&6; }
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7713 if test "x$ac_ct_NMEDIT" = x; then
7716 case $cross_compiling:$ac_tool_warned in
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7720 ac_tool_warned=yes ;;
7722 NMEDIT=$ac_ct_NMEDIT
7725 NMEDIT="$ac_cv_prog_NMEDIT"
7728 if test -n "$ac_tool_prefix"; then
7729 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7730 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7732 $as_echo_n "checking for $ac_word... " >&6; }
7733 if ${ac_cv_prog_LIPO+:} false; then :
7734 $as_echo_n "(cached) " >&6
7736 if test -n "$LIPO"; then
7737 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7743 test -z "$as_dir" && as_dir=.
7744 for ac_exec_ext in '' $ac_executable_extensions; do
7745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7746 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7756 LIPO=$ac_cv_prog_LIPO
7757 if test -n "$LIPO"; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7759 $as_echo "$LIPO" >&6; }
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 $as_echo "no" >&6; }
7767 if test -z "$ac_cv_prog_LIPO"; then
7769 # Extract the first word of "lipo", so it can be a program name with args.
7770 set dummy lipo; ac_word=$2
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7772 $as_echo_n "checking for $ac_word... " >&6; }
7773 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7774 $as_echo_n "(cached) " >&6
7776 if test -n "$ac_ct_LIPO"; then
7777 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7783 test -z "$as_dir" && as_dir=.
7784 for ac_exec_ext in '' $ac_executable_extensions; do
7785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7786 ac_cv_prog_ac_ct_LIPO="lipo"
7787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7796 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7797 if test -n "$ac_ct_LIPO"; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7799 $as_echo "$ac_ct_LIPO" >&6; }
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7805 if test "x$ac_ct_LIPO" = x; then
7808 case $cross_compiling:$ac_tool_warned in
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7812 ac_tool_warned=yes ;;
7817 LIPO="$ac_cv_prog_LIPO"
7820 if test -n "$ac_tool_prefix"; then
7821 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7822 set dummy ${ac_tool_prefix}otool; ac_word=$2
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7824 $as_echo_n "checking for $ac_word... " >&6; }
7825 if ${ac_cv_prog_OTOOL+:} false; then :
7826 $as_echo_n "(cached) " >&6
7828 if test -n "$OTOOL"; then
7829 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7835 test -z "$as_dir" && as_dir=.
7836 for ac_exec_ext in '' $ac_executable_extensions; do
7837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7838 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7848 OTOOL=$ac_cv_prog_OTOOL
7849 if test -n "$OTOOL"; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7851 $as_echo "$OTOOL" >&6; }
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7854 $as_echo "no" >&6; }
7859 if test -z "$ac_cv_prog_OTOOL"; then
7861 # Extract the first word of "otool", so it can be a program name with args.
7862 set dummy otool; ac_word=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7864 $as_echo_n "checking for $ac_word... " >&6; }
7865 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7866 $as_echo_n "(cached) " >&6
7868 if test -n "$ac_ct_OTOOL"; then
7869 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 test -z "$as_dir" && as_dir=.
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7878 ac_cv_prog_ac_ct_OTOOL="otool"
7879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7889 if test -n "$ac_ct_OTOOL"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7891 $as_echo "$ac_ct_OTOOL" >&6; }
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894 $as_echo "no" >&6; }
7897 if test "x$ac_ct_OTOOL" = x; then
7900 case $cross_compiling:$ac_tool_warned in
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7904 ac_tool_warned=yes ;;
7909 OTOOL="$ac_cv_prog_OTOOL"
7912 if test -n "$ac_tool_prefix"; then
7913 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7914 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_OTOOL64+:} false; then :
7918 $as_echo_n "(cached) " >&6
7920 if test -n "$OTOOL64"; then
7921 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7930 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940 OTOOL64=$ac_cv_prog_OTOOL64
7941 if test -n "$OTOOL64"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7943 $as_echo "$OTOOL64" >&6; }
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7951 if test -z "$ac_cv_prog_OTOOL64"; then
7952 ac_ct_OTOOL64=$OTOOL64
7953 # Extract the first word of "otool64", so it can be a program name with args.
7954 set dummy otool64; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7958 $as_echo_n "(cached) " >&6
7960 if test -n "$ac_ct_OTOOL64"; then
7961 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7970 ac_cv_prog_ac_ct_OTOOL64="otool64"
7971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7981 if test -n "$ac_ct_OTOOL64"; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7983 $as_echo "$ac_ct_OTOOL64" >&6; }
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986 $as_echo "no" >&6; }
7989 if test "x$ac_ct_OTOOL64" = x; then
7992 case $cross_compiling:$ac_tool_warned in
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7996 ac_tool_warned=yes ;;
7998 OTOOL64=$ac_ct_OTOOL64
8001 OTOOL64="$ac_cv_prog_OTOOL64"
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8031 $as_echo_n "checking for -single_module linker flag... " >&6; }
8032 if ${lt_cv_apple_cc_single_mod+:} false; then :
8033 $as_echo_n "(cached) " >&6
8035 lt_cv_apple_cc_single_mod=no
8036 if test -z "${LT_MULTI_MODULE}"; then
8037 # By default we will add the -single_module flag. You can override
8038 # by either setting the environment variable LT_MULTI_MODULE
8039 # non-empty at configure time, or by adding -multi_module to the
8041 rm -rf libconftest.dylib*
8042 echo "int foo(void){return 1;}" > conftest.c
8043 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8044 -dynamiclib -Wl,-single_module conftest.c" >&5
8045 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8046 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8048 # If there is a non-empty error log, and "single_module"
8049 # appears in it, assume the flag caused a linker warning
8050 if test -s conftest.err && $GREP single_module conftest.err; then
8051 cat conftest.err >&5
8052 # Otherwise, if the output was created with a 0 exit code from
8053 # the compiler, it worked.
8054 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8055 lt_cv_apple_cc_single_mod=yes
8057 cat conftest.err >&5
8059 rm -rf libconftest.dylib*
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8064 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8067 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8068 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8069 $as_echo_n "(cached) " >&6
8071 lt_cv_ld_exported_symbols_list=no
8072 save_LDFLAGS=$LDFLAGS
8073 echo "_main" > conftest.sym
8074 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8076 /* end confdefs.h. */
8086 if ac_fn_c_try_link "$LINENO"; then :
8087 lt_cv_ld_exported_symbols_list=yes
8089 lt_cv_ld_exported_symbols_list=no
8091 rm -f core conftest.err conftest.$ac_objext \
8092 conftest$ac_exeext conftest.$ac_ext
8093 LDFLAGS="$save_LDFLAGS"
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8097 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8100 $as_echo_n "checking for -force_load linker flag... " >&6; }
8101 if ${lt_cv_ld_force_load+:} false; then :
8102 $as_echo_n "(cached) " >&6
8104 lt_cv_ld_force_load=no
8105 cat > conftest.c << _LT_EOF
8106 int forced_loaded() { return 2;}
8108 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8109 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8110 echo "$AR cru libconftest.a conftest.o" >&5
8111 $AR cru libconftest.a conftest.o 2>&5
8112 echo "$RANLIB libconftest.a" >&5
8113 $RANLIB libconftest.a 2>&5
8114 cat > conftest.c << _LT_EOF
8115 int main() { return 0;}
8117 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8118 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8120 if test -s conftest.err && $GREP force_load conftest.err; then
8121 cat conftest.err >&5
8122 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8123 lt_cv_ld_force_load=yes
8125 cat conftest.err >&5
8127 rm -f conftest.err libconftest.a conftest conftest.c
8128 rm -rf conftest.dSYM
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8132 $as_echo "$lt_cv_ld_force_load" >&6; }
8134 rhapsody* | darwin1.[012])
8135 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8137 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8138 darwin*) # darwin 5.x on
8139 # if running on 10.5 or later, the deployment target defaults
8140 # to the OS version, if on x86, and 10.4, the deployment
8141 # target defaults to 10.4. Don't you love it?
8142 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8143 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8144 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8146 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8148 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8152 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8153 _lt_dar_single_mod='$single_module'
8155 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8156 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8158 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8160 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8161 _lt_dsymutil='~$DSYMUTIL $lib || :'
8168 for ac_header in dlfcn.h
8170 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8172 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8173 cat >>confdefs.h <<_ACEOF
8174 #define HAVE_DLFCN_H 1
8186 # Check whether --enable-static was given.
8187 if test "${enable_static+set}" = set; then :
8188 enableval=$enable_static; p=${PACKAGE-default}
8190 yes) enable_static=yes ;;
8191 no) enable_static=no ;;
8194 # Look at the argument we got. We use all the common list separators.
8195 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8196 for pkg in $enableval; do
8198 if test "X$pkg" = "X$p"; then
8224 # Check whether --enable-shared was given.
8225 if test "${enable_shared+set}" = set; then :
8226 enableval=$enable_shared; p=${PACKAGE-default}
8228 yes) enable_shared=yes ;;
8229 no) enable_shared=no ;;
8232 # Look at the argument we got. We use all the common list separators.
8233 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8234 for pkg in $enableval; do
8236 if test "X$pkg" = "X$p"; then
8257 # Check whether --with-pic was given.
8258 if test "${with_pic+set}" = set; then :
8259 withval=$with_pic; lt_p=${PACKAGE-default}
8261 yes|no) pic_mode=$withval ;;
8264 # Look at the argument we got. We use all the common list separators.
8265 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8266 for lt_pkg in $withval; do
8268 if test "X$lt_pkg" = "X$lt_p"; then
8280 test -z "$pic_mode" && pic_mode=default
8288 # Check whether --enable-fast-install was given.
8289 if test "${enable_fast_install+set}" = set; then :
8290 enableval=$enable_fast_install; p=${PACKAGE-default}
8292 yes) enable_fast_install=yes ;;
8293 no) enable_fast_install=no ;;
8295 enable_fast_install=no
8296 # Look at the argument we got. We use all the common list separators.
8297 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8298 for pkg in $enableval; do
8300 if test "X$pkg" = "X$p"; then
8301 enable_fast_install=yes
8308 enable_fast_install=yes
8321 # This can be used to rebuild libtool when needed
8322 LIBTOOL_DEPS="$ltmain"
8324 # Always use our own libtool.
8325 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8356 test -z "$LN_S" && LN_S="ln -s"
8371 if test -n "${ZSH_VERSION+set}" ; then
8372 setopt NO_GLOB_SUBST
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8376 $as_echo_n "checking for objdir... " >&6; }
8377 if ${lt_cv_objdir+:} false; then :
8378 $as_echo_n "(cached) " >&6
8380 rm -f .libs 2>/dev/null
8381 mkdir .libs 2>/dev/null
8382 if test -d .libs; then
8385 # MS-DOS does not allow filenames that begin with a dot.
8388 rmdir .libs 2>/dev/null
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8391 $as_echo "$lt_cv_objdir" >&6; }
8392 objdir=$lt_cv_objdir
8398 cat >>confdefs.h <<_ACEOF
8399 #define LT_OBJDIR "$lt_cv_objdir/"
8407 # AIX sometimes has problems with the GCC collect2 program. For some
8408 # reason, if we set the COLLECT_NAMES environment variable, the problems
8409 # vanish in a puff of smoke.
8410 if test "X${COLLECT_NAMES+set}" != Xset; then
8412 export COLLECT_NAMES
8419 can_build_shared=yes
8421 # All known linkers require a `.a' archive for static linking (except MSVC,
8422 # which needs '.lib').
8425 with_gnu_ld="$lt_cv_prog_gnu_ld"
8428 old_CFLAGS="$CFLAGS"
8430 # Set sane defaults for various variables
8431 test -z "$CC" && CC=cc
8432 test -z "$LTCC" && LTCC=$CC
8433 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8434 test -z "$LD" && LD=ld
8435 test -z "$ac_objext" && ac_objext=o
8437 for cc_temp in $compiler""; do
8439 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8440 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8445 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8448 # Only perform the check for file, if the check method requires it
8449 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8450 case $deplibs_check_method in
8452 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8454 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8455 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8456 $as_echo_n "(cached) " >&6
8460 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8463 lt_save_MAGIC_CMD="$MAGIC_CMD"
8464 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8465 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8466 for ac_dir in $ac_dummy; do
8468 test -z "$ac_dir" && ac_dir=.
8469 if test -f $ac_dir/${ac_tool_prefix}file; then
8470 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8471 if test -n "$file_magic_test_file"; then
8472 case $deplibs_check_method in
8474 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8475 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8476 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8477 $EGREP "$file_magic_regex" > /dev/null; then
8482 *** Warning: the command libtool uses to detect shared libraries,
8483 *** $file_magic_cmd, produces output that libtool cannot recognize.
8484 *** The result is that libtool may fail to recognize shared libraries
8485 *** as such. This will affect the creation of libtool libraries that
8486 *** depend on shared libraries, but programs linked with such libtool
8487 *** libraries will work regardless of this problem. Nevertheless, you
8488 *** may want to report the problem to your system manager and/or to
8489 *** bug-libtool@gnu.org
8499 MAGIC_CMD="$lt_save_MAGIC_CMD"
8504 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8505 if test -n "$MAGIC_CMD"; then
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8507 $as_echo "$MAGIC_CMD" >&6; }
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510 $as_echo "no" >&6; }
8517 if test -z "$lt_cv_path_MAGIC_CMD"; then
8518 if test -n "$ac_tool_prefix"; then
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8520 $as_echo_n "checking for file... " >&6; }
8521 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8522 $as_echo_n "(cached) " >&6
8526 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8529 lt_save_MAGIC_CMD="$MAGIC_CMD"
8530 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8531 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8532 for ac_dir in $ac_dummy; do
8534 test -z "$ac_dir" && ac_dir=.
8535 if test -f $ac_dir/file; then
8536 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8537 if test -n "$file_magic_test_file"; then
8538 case $deplibs_check_method in
8540 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8541 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8542 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8543 $EGREP "$file_magic_regex" > /dev/null; then
8548 *** Warning: the command libtool uses to detect shared libraries,
8549 *** $file_magic_cmd, produces output that libtool cannot recognize.
8550 *** The result is that libtool may fail to recognize shared libraries
8551 *** as such. This will affect the creation of libtool libraries that
8552 *** depend on shared libraries, but programs linked with such libtool
8553 *** libraries will work regardless of this problem. Nevertheless, you
8554 *** may want to report the problem to your system manager and/or to
8555 *** bug-libtool@gnu.org
8565 MAGIC_CMD="$lt_save_MAGIC_CMD"
8570 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8571 if test -n "$MAGIC_CMD"; then
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8573 $as_echo "$MAGIC_CMD" >&6; }
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8576 $as_echo "no" >&6; }
8589 # Use C for the default configuration in the libtool script
8593 ac_cpp='$CPP $CPPFLAGS'
8594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8599 # Source file extension for C test sources.
8602 # Object file extension for compiled C test sources.
8606 # Code to be used in simple compile tests
8607 lt_simple_compile_test_code="int some_variable = 0;"
8609 # Code to be used in simple link tests
8610 lt_simple_link_test_code='int main(){return(0);}'
8618 # If no C compiler was specified, use CC.
8621 # If no C compiler flags were specified, use CFLAGS.
8622 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8624 # Allow CC to be a program name with arguments.
8627 # Save the default compiler, since it gets overwritten when the other
8628 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8629 compiler_DEFAULT=$CC
8631 # save warnings/boilerplate of simple test code
8632 ac_outfile=conftest.$ac_objext
8633 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8634 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8635 _lt_compiler_boilerplate=`cat conftest.err`
8638 ac_outfile=conftest.$ac_objext
8639 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8640 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8641 _lt_linker_boilerplate=`cat conftest.err`
8646 ## There is no encapsulation within the following macros, do not change
8647 ## the running order or otherwise move them around unless you know exactly
8648 ## what you are doing...
8649 if test -n "$compiler"; then
8651 lt_prog_compiler_no_builtin_flag=
8653 if test "$GCC" = yes; then
8654 case $cc_basename in
8656 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8658 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8662 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8663 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8664 $as_echo_n "(cached) " >&6
8666 lt_cv_prog_compiler_rtti_exceptions=no
8667 ac_outfile=conftest.$ac_objext
8668 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8669 lt_compiler_flag="-fno-rtti -fno-exceptions"
8670 # Insert the option either (1) after the last *FLAGS variable, or
8671 # (2) before a word containing "conftest.", or (3) at the end.
8672 # Note that $ac_compile itself does not contain backslashes and begins
8673 # with a dollar sign (not a hyphen), so the echo should work correctly.
8674 # The option is referenced via a variable to avoid confusing sed.
8675 lt_compile=`echo "$ac_compile" | $SED \
8676 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8677 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8678 -e 's:$: $lt_compiler_flag:'`
8679 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8680 (eval "$lt_compile" 2>conftest.err)
8682 cat conftest.err >&5
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 if (exit $ac_status) && test -s "$ac_outfile"; then
8685 # The compiler can only warn and ignore the option if not recognized
8686 # So say no if there are warnings other than the usual output.
8687 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8688 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8689 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8690 lt_cv_prog_compiler_rtti_exceptions=yes
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8697 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8699 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8700 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8712 lt_prog_compiler_wl=
8713 lt_prog_compiler_pic=
8714 lt_prog_compiler_static=
8717 if test "$GCC" = yes; then
8718 lt_prog_compiler_wl='-Wl,'
8719 lt_prog_compiler_static='-static'
8723 # All AIX code is PIC.
8724 if test "$host_cpu" = ia64; then
8725 # AIX 5 now supports IA64 processor
8726 lt_prog_compiler_static='-Bstatic'
8733 # see comment about AmigaOS4 .so support
8734 lt_prog_compiler_pic='-fPIC'
8737 # FIXME: we need at least 68020 code to build shared libraries, but
8738 # adding the `-m68020' flag to GCC prevents building anything better,
8740 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8745 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8746 # PIC is the default for these OSes.
8749 mingw* | cygwin* | pw32* | os2* | cegcc*)
8750 # This hack is so that the source file can tell whether it is being
8751 # built for inclusion in a dll (and should export symbols for example).
8752 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8753 # (--disable-auto-import) libraries
8754 lt_prog_compiler_pic='-DDLL_EXPORT'
8757 darwin* | rhapsody*)
8758 # PIC is the default on this platform
8759 # Common symbols not allowed in MH_DYLIB files
8760 lt_prog_compiler_pic='-fno-common'
8764 # PIC is the default for Haiku.
8765 # The "-static" flag exists, but is broken.
8766 lt_prog_compiler_static=
8770 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8771 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8772 # sets the default TLS model and affects inlining.
8778 lt_prog_compiler_pic='-fPIC'
8784 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8785 # Instead, we relocate shared libraries at runtime.
8789 # Just because we use GCC doesn't mean we suddenly get shared libraries
8790 # on systems that don't support them.
8791 lt_prog_compiler_can_build_shared=no
8796 # QNX uses GNU C++, but need to define -shared option too, otherwise
8798 lt_prog_compiler_pic='-fPIC -shared'
8802 if test -d /usr/nec; then
8803 lt_prog_compiler_pic=-Kconform_pic
8808 lt_prog_compiler_pic='-fPIC'
8812 case $cc_basename in
8813 nvcc*) # Cuda Compiler Driver 2.2
8814 lt_prog_compiler_wl='-Xlinker '
8815 if test -n "$lt_prog_compiler_pic"; then
8816 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8821 # PORTME Check for flag to pass linker flags through the system compiler.
8824 lt_prog_compiler_wl='-Wl,'
8825 if test "$host_cpu" = ia64; then
8826 # AIX 5 now supports IA64 processor
8827 lt_prog_compiler_static='-Bstatic'
8829 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8833 mingw* | cygwin* | pw32* | os2* | cegcc*)
8834 # This hack is so that the source file can tell whether it is being
8835 # built for inclusion in a dll (and should export symbols for example).
8836 lt_prog_compiler_pic='-DDLL_EXPORT'
8839 hpux9* | hpux10* | hpux11*)
8840 lt_prog_compiler_wl='-Wl,'
8841 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8848 lt_prog_compiler_pic='+Z'
8851 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8852 lt_prog_compiler_static='${wl}-a ${wl}archive'
8855 irix5* | irix6* | nonstopux*)
8856 lt_prog_compiler_wl='-Wl,'
8857 # PIC (with -KPIC) is the default.
8858 lt_prog_compiler_static='-non_shared'
8861 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8862 case $cc_basename in
8863 # old Intel for x86_64 which still supported -KPIC.
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-static'
8869 # icc used to be incompatible with GCC.
8870 # ICC 10 doesn't accept -KPIC any more.
8872 lt_prog_compiler_wl='-Wl,'
8873 lt_prog_compiler_pic='-fPIC'
8874 lt_prog_compiler_static='-static'
8876 # Lahey Fortran 8.1.
8878 lt_prog_compiler_wl='-Wl,'
8879 lt_prog_compiler_pic='--shared'
8880 lt_prog_compiler_static='--static'
8883 # NAG Fortran compiler
8884 lt_prog_compiler_wl='-Wl,-Wl,,'
8885 lt_prog_compiler_pic='-PIC'
8886 lt_prog_compiler_static='-Bstatic'
8888 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8889 # Portland Group compilers (*not* the Pentium gcc compiler,
8890 # which looks to be a dead project)
8891 lt_prog_compiler_wl='-Wl,'
8892 lt_prog_compiler_pic='-fpic'
8893 lt_prog_compiler_static='-Bstatic'
8896 lt_prog_compiler_wl='-Wl,'
8897 # All Alpha code is PIC.
8898 lt_prog_compiler_static='-non_shared'
8900 xl* | bgxl* | bgf* | mpixl*)
8901 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8902 lt_prog_compiler_wl='-Wl,'
8903 lt_prog_compiler_pic='-qpic'
8904 lt_prog_compiler_static='-qstaticlink'
8907 case `$CC -V 2>&1 | sed 5q` in
8908 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8909 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8910 lt_prog_compiler_pic='-KPIC'
8911 lt_prog_compiler_static='-Bstatic'
8912 lt_prog_compiler_wl=''
8914 *Sun\ F* | *Sun*Fortran*)
8915 lt_prog_compiler_pic='-KPIC'
8916 lt_prog_compiler_static='-Bstatic'
8917 lt_prog_compiler_wl='-Qoption ld '
8921 lt_prog_compiler_pic='-KPIC'
8922 lt_prog_compiler_static='-Bstatic'
8923 lt_prog_compiler_wl='-Wl,'
8925 *Intel*\ [CF]*Compiler*)
8926 lt_prog_compiler_wl='-Wl,'
8927 lt_prog_compiler_pic='-fPIC'
8928 lt_prog_compiler_static='-static'
8931 lt_prog_compiler_wl='-Wl,'
8932 lt_prog_compiler_pic='-fpic'
8933 lt_prog_compiler_static='-Bstatic'
8941 lt_prog_compiler_pic='-KPIC'
8942 lt_prog_compiler_static='-Bstatic'
8946 # QNX uses GNU C++, but need to define -shared option too, otherwise
8948 lt_prog_compiler_pic='-fPIC -shared'
8951 osf3* | osf4* | osf5*)
8952 lt_prog_compiler_wl='-Wl,'
8953 # All OSF/1 code is PIC.
8954 lt_prog_compiler_static='-non_shared'
8958 lt_prog_compiler_static='-non_shared'
8962 lt_prog_compiler_pic='-KPIC'
8963 lt_prog_compiler_static='-Bstatic'
8964 case $cc_basename in
8965 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8966 lt_prog_compiler_wl='-Qoption ld ';;
8968 lt_prog_compiler_wl='-Wl,';;
8973 lt_prog_compiler_wl='-Qoption ld '
8974 lt_prog_compiler_pic='-PIC'
8975 lt_prog_compiler_static='-Bstatic'
8978 sysv4 | sysv4.2uw2* | sysv4.3*)
8979 lt_prog_compiler_wl='-Wl,'
8980 lt_prog_compiler_pic='-KPIC'
8981 lt_prog_compiler_static='-Bstatic'
8985 if test -d /usr/nec ;then
8986 lt_prog_compiler_pic='-Kconform_pic'
8987 lt_prog_compiler_static='-Bstatic'
8991 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8992 lt_prog_compiler_wl='-Wl,'
8993 lt_prog_compiler_pic='-KPIC'
8994 lt_prog_compiler_static='-Bstatic'
8998 lt_prog_compiler_wl='-Wl,'
8999 lt_prog_compiler_can_build_shared=no
9003 lt_prog_compiler_pic='-pic'
9004 lt_prog_compiler_static='-Bstatic'
9008 lt_prog_compiler_can_build_shared=no
9014 # For platforms which do not support PIC, -DPIC is meaningless:
9016 lt_prog_compiler_pic=
9019 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9024 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9025 if ${lt_cv_prog_compiler_pic+:} false; then :
9026 $as_echo_n "(cached) " >&6
9028 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9031 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9032 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9035 # Check to make sure the PIC flag actually works.
9037 if test -n "$lt_prog_compiler_pic"; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9039 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9040 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9041 $as_echo_n "(cached) " >&6
9043 lt_cv_prog_compiler_pic_works=no
9044 ac_outfile=conftest.$ac_objext
9045 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9046 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9047 # Insert the option either (1) after the last *FLAGS variable, or
9048 # (2) before a word containing "conftest.", or (3) at the end.
9049 # Note that $ac_compile itself does not contain backslashes and begins
9050 # with a dollar sign (not a hyphen), so the echo should work correctly.
9051 # The option is referenced via a variable to avoid confusing sed.
9052 lt_compile=`echo "$ac_compile" | $SED \
9053 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9054 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9055 -e 's:$: $lt_compiler_flag:'`
9056 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9057 (eval "$lt_compile" 2>conftest.err)
9059 cat conftest.err >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 if (exit $ac_status) && test -s "$ac_outfile"; then
9062 # The compiler can only warn and ignore the option if not recognized
9063 # So say no if there are warnings other than the usual output.
9064 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9065 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9066 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9067 lt_cv_prog_compiler_pic_works=yes
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9074 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9076 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9077 case $lt_prog_compiler_pic in
9079 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9082 lt_prog_compiler_pic=
9083 lt_prog_compiler_can_build_shared=no
9099 # Check to make sure the static flag actually works.
9101 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9103 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9104 if ${lt_cv_prog_compiler_static_works+:} false; then :
9105 $as_echo_n "(cached) " >&6
9107 lt_cv_prog_compiler_static_works=no
9108 save_LDFLAGS="$LDFLAGS"
9109 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9110 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9111 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9112 # The linker can only warn and ignore the option if not recognized
9113 # So say no if there are warnings
9114 if test -s conftest.err; then
9115 # Append any errors to the config.log.
9116 cat conftest.err 1>&5
9117 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9118 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9119 if diff conftest.exp conftest.er2 >/dev/null; then
9120 lt_cv_prog_compiler_static_works=yes
9123 lt_cv_prog_compiler_static_works=yes
9127 LDFLAGS="$save_LDFLAGS"
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9131 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9133 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9136 lt_prog_compiler_static=
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9146 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9147 if ${lt_cv_prog_compiler_c_o+:} false; then :
9148 $as_echo_n "(cached) " >&6
9150 lt_cv_prog_compiler_c_o=no
9151 $RM -r conftest 2>/dev/null
9155 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9157 lt_compiler_flag="-o out/conftest2.$ac_objext"
9158 # Insert the option either (1) after the last *FLAGS variable, or
9159 # (2) before a word containing "conftest.", or (3) at the end.
9160 # Note that $ac_compile itself does not contain backslashes and begins
9161 # with a dollar sign (not a hyphen), so the echo should work correctly.
9162 lt_compile=`echo "$ac_compile" | $SED \
9163 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9164 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9165 -e 's:$: $lt_compiler_flag:'`
9166 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9167 (eval "$lt_compile" 2>out/conftest.err)
9169 cat out/conftest.err >&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9173 # The compiler can only warn and ignore the option if not recognized
9174 # So say no if there are warnings
9175 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9176 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9177 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9178 lt_cv_prog_compiler_c_o=yes
9183 # SGI C++ compiler will create directory out/ii_files/ for
9184 # template instantiation
9185 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9186 $RM out/* && rmdir out
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9193 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9201 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9202 if ${lt_cv_prog_compiler_c_o+:} false; then :
9203 $as_echo_n "(cached) " >&6
9205 lt_cv_prog_compiler_c_o=no
9206 $RM -r conftest 2>/dev/null
9210 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9212 lt_compiler_flag="-o out/conftest2.$ac_objext"
9213 # Insert the option either (1) after the last *FLAGS variable, or
9214 # (2) before a word containing "conftest.", or (3) at the end.
9215 # Note that $ac_compile itself does not contain backslashes and begins
9216 # with a dollar sign (not a hyphen), so the echo should work correctly.
9217 lt_compile=`echo "$ac_compile" | $SED \
9218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9220 -e 's:$: $lt_compiler_flag:'`
9221 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9222 (eval "$lt_compile" 2>out/conftest.err)
9224 cat out/conftest.err >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9228 # The compiler can only warn and ignore the option if not recognized
9229 # So say no if there are warnings
9230 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9231 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9232 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9233 lt_cv_prog_compiler_c_o=yes
9238 # SGI C++ compiler will create directory out/ii_files/ for
9239 # template instantiation
9240 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9241 $RM out/* && rmdir out
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9248 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9253 hard_links="nottested"
9254 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9255 # do not overwrite the value of need_locks provided by the user
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9257 $as_echo_n "checking if we can lock with hard links... " >&6; }
9260 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9262 ln conftest.a conftest.b 2>&5 || hard_links=no
9263 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9265 $as_echo "$hard_links" >&6; }
9266 if test "$hard_links" = no; then
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9268 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9281 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9284 allow_undefined_flag=
9285 always_export_symbols=no
9287 archive_expsym_cmds=
9288 compiler_needs_object=no
9289 enable_shared_with_static_runtimes=no
9290 export_dynamic_flag_spec=
9291 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9292 hardcode_automatic=no
9294 hardcode_direct_absolute=no
9295 hardcode_libdir_flag_spec=
9296 hardcode_libdir_separator=
9298 hardcode_shlibpath_var=unsupported
9300 link_all_deplibs=unknown
9303 old_archive_from_new_cmds=
9304 old_archive_from_expsyms_cmds=
9305 thread_safe_flag_spec=
9306 whole_archive_flag_spec=
9307 # include_expsyms should be a list of space-separated symbols to be *always*
9308 # included in the symbol list
9310 # exclude_expsyms can be an extended regexp of symbols to exclude
9311 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9312 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9313 # as well as any symbol that contains `d'.
9314 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9315 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9316 # platforms (ab)use it in PIC code, but their linkers get confused if
9317 # the symbol is explicitly referenced. Since portable code cannot
9318 # rely on this symbol name, it's probably fine to never include it in
9319 # preloaded symbol tables.
9320 # Exclude shared library initialization/finalization symbols.
9321 extract_expsyms_cmds=
9324 cygwin* | mingw* | pw32* | cegcc*)
9325 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9326 # When not using gcc, we currently assume that we are using
9327 # Microsoft Visual C++.
9328 if test "$GCC" != yes; then
9333 # we just hope/assume this is gcc and not c89 (= MSVC++)
9343 # On some targets, GNU ld is compatible enough with the native linker
9344 # that we're better off using the native interface for both.
9345 lt_use_gnu_ld_interface=no
9346 if test "$with_gnu_ld" = yes; then
9349 # The AIX port of GNU ld has always aspired to compatibility
9350 # with the native linker. However, as the warning in the GNU ld
9351 # block says, versions before 2.19.5* couldn't really create working
9352 # shared libraries, regardless of the interface used.
9353 case `$LD -v 2>&1` in
9354 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9355 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9356 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9358 lt_use_gnu_ld_interface=yes
9363 lt_use_gnu_ld_interface=yes
9368 if test "$lt_use_gnu_ld_interface" = yes; then
9369 # If archive_cmds runs LD, not CC, wlarc should be empty
9372 # Set some defaults for GNU ld with shared library support. These
9373 # are reset later if shared libraries are not supported. Putting them
9374 # here allows them to be overridden if necessary.
9375 runpath_var=LD_RUN_PATH
9376 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9377 export_dynamic_flag_spec='${wl}--export-dynamic'
9378 # ancient GNU ld didn't support --whole-archive et. al.
9379 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9380 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9382 whole_archive_flag_spec=
9384 supports_anon_versioning=no
9385 case `$LD -v 2>&1` in
9386 *GNU\ gold*) supports_anon_versioning=yes ;;
9387 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9388 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9389 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9390 *\ 2.11.*) ;; # other 2.11 versions
9391 *) supports_anon_versioning=yes ;;
9394 # See if GNU ld supports shared libraries.
9397 # On AIX/PPC, the GNU linker is very broken
9398 if test "$host_cpu" != ia64; then
9402 *** Warning: the GNU linker, at least up to release 2.19, is reported
9403 *** to be unable to reliably create shared libraries on AIX.
9404 *** Therefore, libtool is disabling shared libraries support. If you
9405 *** really care for shared libraries, you may want to install binutils
9406 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9407 *** You will then need to restart the configuration process.
9416 # see comment about AmigaOS4 .so support
9417 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9418 archive_expsym_cmds=''
9421 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)'
9422 hardcode_libdir_flag_spec='-L$libdir'
9423 hardcode_minus_L=yes
9429 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9430 allow_undefined_flag=unsupported
9431 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9432 # support --undefined. This deserves some investigation. FIXME
9433 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9439 cygwin* | mingw* | pw32* | cegcc*)
9440 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9441 # as there is no search path for DLLs.
9442 hardcode_libdir_flag_spec='-L$libdir'
9443 export_dynamic_flag_spec='${wl}--export-all-symbols'
9444 allow_undefined_flag=unsupported
9445 always_export_symbols=no
9446 enable_shared_with_static_runtimes=yes
9447 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'
9448 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9450 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9451 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9452 # If the export-symbols file already is a .def file (1st line
9453 # is EXPORTS), use it as is; otherwise, prepend...
9454 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9455 cp $export_symbols $output_objdir/$soname.def;
9457 echo EXPORTS > $output_objdir/$soname.def;
9458 cat $export_symbols >> $output_objdir/$soname.def;
9460 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9467 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9468 link_all_deplibs=yes
9473 hardcode_shlibpath_var=no
9474 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9475 export_dynamic_flag_spec='${wl}-E'
9476 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9477 # Instead, shared libraries are loaded at an image base (0x10000000 by
9478 # default) and relocated if they conflict, which is a slow very memory
9479 # consuming and fragmenting process. To avoid this, we pick a random,
9480 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9481 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9482 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9483 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'
9486 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9488 if test "$host_os" = linux-dietlibc; then
9489 case $cc_basename in
9490 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9493 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9494 && test "$tmp_diet" = no
9496 tmp_addflag=' $pic_flag'
9497 tmp_sharedflag='-shared'
9498 case $cc_basename,$host_cpu in
9499 pgcc*) # Portland Group C compiler
9500 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'
9501 tmp_addflag=' $pic_flag'
9503 pgf77* | pgf90* | pgf95* | pgfortran*)
9504 # Portland Group f77 and f90 compilers
9505 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'
9506 tmp_addflag=' $pic_flag -Mnomain' ;;
9507 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9508 tmp_addflag=' -i_dynamic' ;;
9509 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9510 tmp_addflag=' -i_dynamic -nofor_main' ;;
9511 ifc* | ifort*) # Intel Fortran compiler
9512 tmp_addflag=' -nofor_main' ;;
9513 lf95*) # Lahey Fortran 8.1
9514 whole_archive_flag_spec=
9515 tmp_sharedflag='--shared' ;;
9516 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9517 tmp_sharedflag='-qmkshrobj'
9519 nvcc*) # Cuda Compiler Driver 2.2
9520 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'
9521 compiler_needs_object=yes
9524 case `$CC -V 2>&1 | sed 5q` in
9525 *Sun\ C*) # Sun C 5.9
9526 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'
9527 compiler_needs_object=yes
9528 tmp_sharedflag='-G' ;;
9529 *Sun\ F*) # Sun Fortran 8.3
9530 tmp_sharedflag='-G' ;;
9532 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9534 if test "x$supports_anon_versioning" = xyes; then
9535 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9536 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9537 echo "local: *; };" >> $output_objdir/$libname.ver~
9538 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9541 case $cc_basename in
9542 xlf* | bgf* | bgxlf* | mpixlf*)
9543 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9544 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9545 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9546 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9547 if test "x$supports_anon_versioning" = xyes; then
9548 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9549 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9550 echo "local: *; };" >> $output_objdir/$libname.ver~
9551 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9561 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9562 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9565 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9566 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9571 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9575 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9576 *** create shared libraries on Solaris systems. Therefore, libtool
9577 *** is disabling shared libraries support. We urge you to upgrade GNU
9578 *** binutils to release 2.9.1 or newer. Another option is to modify
9579 *** your PATH or compiler configuration so that the native linker is
9580 *** used, and then restart.
9583 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9584 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9585 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9591 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9592 case `$LD -v 2>&1` in
9593 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9597 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9598 *** reliably create shared libraries on SCO systems. Therefore, libtool
9599 *** is disabling shared libraries support. We urge you to upgrade GNU
9600 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9601 *** your PATH or compiler configuration so that the native linker is
9602 *** used, and then restart.
9607 # For security reasons, it is highly recommended that you always
9608 # use absolute paths for naming shared libraries, and exclude the
9609 # DT_RUNPATH tag from executables and libraries. But doing so
9610 # requires that you compile everything twice, which is a pain.
9611 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9612 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9613 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9614 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9623 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9626 hardcode_shlibpath_var=no
9630 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9631 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9632 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9639 if test "$ld_shlibs" = no; then
9641 hardcode_libdir_flag_spec=
9642 export_dynamic_flag_spec=
9643 whole_archive_flag_spec=
9646 # PORTME fill in a description of your system's linker (not GNU ld)
9649 allow_undefined_flag=unsupported
9650 always_export_symbols=yes
9651 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'
9652 # Note: this linker hardcodes the directories in LIBPATH if there
9653 # are no directories specified by -L.
9654 hardcode_minus_L=yes
9655 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9656 # Neither direct hardcoding nor static linking is supported with a
9658 hardcode_direct=unsupported
9663 if test "$host_cpu" = ia64; then
9664 # On IA64, the linker does run time linking by default, so we don't
9665 # have to do anything special.
9666 aix_use_runtimelinking=no
9667 exp_sym_flag='-Bexport'
9670 # If we're using GNU nm, then we don't want the "-C" option.
9671 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9672 # Also, AIX nm treats weak defined symbols like other global
9673 # defined symbols, whereas GNU nm marks them as "W".
9674 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9675 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'
9677 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'
9679 aix_use_runtimelinking=no
9681 # Test if we are trying to use run time linking or normal
9682 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9683 # need to do runtime linking.
9684 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9685 for ld_flag in $LDFLAGS; do
9686 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9687 aix_use_runtimelinking=yes
9694 exp_sym_flag='-bexport'
9695 no_entry_flag='-bnoentry'
9698 # When large executables or shared objects are built, AIX ld can
9699 # have problems creating the table of contents. If linking a library
9700 # or program results in "error TOC overflow" add -mminimal-toc to
9701 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9702 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9706 hardcode_direct_absolute=yes
9707 hardcode_libdir_separator=':'
9708 link_all_deplibs=yes
9709 file_list_spec='${wl}-f,'
9711 if test "$GCC" = yes; then
9712 case $host_os in aix4.[012]|aix4.[012].*)
9713 # We only want to do this on AIX 4.2 and lower, the check
9714 # below for broken collect2 doesn't work under 4.3+
9715 collect2name=`${CC} -print-prog-name=collect2`
9716 if test -f "$collect2name" &&
9717 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9719 # We have reworked collect2
9722 # We have old collect2
9723 hardcode_direct=unsupported
9724 # It fails to find uninstalled libraries when the uninstalled
9725 # path is not listed in the libpath. Setting hardcode_minus_L
9726 # to unsupported forces relinking
9727 hardcode_minus_L=yes
9728 hardcode_libdir_flag_spec='-L$libdir'
9729 hardcode_libdir_separator=
9733 shared_flag='-shared'
9734 if test "$aix_use_runtimelinking" = yes; then
9735 shared_flag="$shared_flag "'${wl}-G'
9739 if test "$host_cpu" = ia64; then
9740 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9741 # chokes on -Wl,-G. The following line is correct:
9744 if test "$aix_use_runtimelinking" = yes; then
9745 shared_flag='${wl}-G'
9747 shared_flag='${wl}-bM:SRE'
9752 export_dynamic_flag_spec='${wl}-bexpall'
9753 # It seems that -bexpall does not export symbols beginning with
9754 # underscore (_), so it is better to generate a list of symbols to export.
9755 always_export_symbols=yes
9756 if test "$aix_use_runtimelinking" = yes; then
9757 # Warning - without using the other runtime loading flags (-brtl),
9758 # -berok will link without error, but may produce a broken library.
9759 allow_undefined_flag='-berok'
9760 # Determine the default libpath from the value encoded in an
9762 if test "${lt_cv_aix_libpath+set}" = set; then
9763 aix_libpath=$lt_cv_aix_libpath
9765 if ${lt_cv_aix_libpath_+:} false; then :
9766 $as_echo_n "(cached) " >&6
9768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9779 if ac_fn_c_try_link "$LINENO"; then :
9781 lt_aix_libpath_sed='
9782 /Import File Strings/,/^$/ {
9784 s/^0 *\([^ ]*\) *$/\1/
9788 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9789 # Check for a 64-bit object if we didn't find anything.
9790 if test -z "$lt_cv_aix_libpath_"; then
9791 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9794 rm -f core conftest.err conftest.$ac_objext \
9795 conftest$ac_exeext conftest.$ac_ext
9796 if test -z "$lt_cv_aix_libpath_"; then
9797 lt_cv_aix_libpath_="/usr/lib:/lib"
9802 aix_libpath=$lt_cv_aix_libpath_
9805 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9806 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"
9808 if test "$host_cpu" = ia64; then
9809 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9810 allow_undefined_flag="-z nodefs"
9811 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"
9813 # Determine the default libpath from the value encoded in an
9815 if test "${lt_cv_aix_libpath+set}" = set; then
9816 aix_libpath=$lt_cv_aix_libpath
9818 if ${lt_cv_aix_libpath_+:} false; then :
9819 $as_echo_n "(cached) " >&6
9821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9822 /* end confdefs.h. */
9832 if ac_fn_c_try_link "$LINENO"; then :
9834 lt_aix_libpath_sed='
9835 /Import File Strings/,/^$/ {
9837 s/^0 *\([^ ]*\) *$/\1/
9841 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9842 # Check for a 64-bit object if we didn't find anything.
9843 if test -z "$lt_cv_aix_libpath_"; then
9844 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9847 rm -f core conftest.err conftest.$ac_objext \
9848 conftest$ac_exeext conftest.$ac_ext
9849 if test -z "$lt_cv_aix_libpath_"; then
9850 lt_cv_aix_libpath_="/usr/lib:/lib"
9855 aix_libpath=$lt_cv_aix_libpath_
9858 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9859 # Warning - without using the other run time loading flags,
9860 # -berok will link without error, but may produce a broken library.
9861 no_undefined_flag=' ${wl}-bernotok'
9862 allow_undefined_flag=' ${wl}-berok'
9863 if test "$with_gnu_ld" = yes; then
9864 # We only use this code for GNU lds that support --whole-archive.
9865 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9867 # Exported symbols can be pulled into shared objects from archives
9868 whole_archive_flag_spec='$convenience'
9870 archive_cmds_need_lc=yes
9871 # This is similar to how AIX traditionally builds its shared libraries.
9872 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'
9880 # see comment about AmigaOS4 .so support
9881 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9882 archive_expsym_cmds=''
9885 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)'
9886 hardcode_libdir_flag_spec='-L$libdir'
9887 hardcode_minus_L=yes
9893 export_dynamic_flag_spec=-rdynamic
9896 cygwin* | mingw* | pw32* | cegcc*)
9897 # When not using gcc, we currently assume that we are using
9898 # Microsoft Visual C++.
9899 # hardcode_libdir_flag_spec is actually meaningless, as there is
9900 # no search path for DLLs.
9901 case $cc_basename in
9904 hardcode_libdir_flag_spec=' '
9905 allow_undefined_flag=unsupported
9906 always_export_symbols=yes
9908 # Tell ltmain to make .lib files, not .a files.
9910 # Tell ltmain to make .dll files, not .so files.
9912 # FIXME: Setting linknames here is a bad hack.
9913 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9914 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9915 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9917 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9919 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9921 # The linker will not automatically build a static lib if we build a DLL.
9922 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9923 enable_shared_with_static_runtimes=yes
9924 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9925 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9927 old_postinstall_cmds='chmod 644 $oldlib'
9928 postlink_cmds='lt_outputfile="@OUTPUT@"~
9929 lt_tool_outputfile="@TOOL_OUTPUT@"~
9930 case $lt_outputfile in
9933 lt_outputfile="$lt_outputfile.exe"
9934 lt_tool_outputfile="$lt_tool_outputfile.exe"
9937 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9938 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9939 $RM "$lt_outputfile.manifest";
9943 # Assume MSVC wrapper
9944 hardcode_libdir_flag_spec=' '
9945 allow_undefined_flag=unsupported
9946 # Tell ltmain to make .lib files, not .a files.
9948 # Tell ltmain to make .dll files, not .so files.
9950 # FIXME: Setting linknames here is a bad hack.
9951 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9952 # The linker will automatically build a .lib file if we build a DLL.
9953 old_archive_from_new_cmds='true'
9954 # FIXME: Should let the user specify the lib program.
9955 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9956 enable_shared_with_static_runtimes=yes
9961 darwin* | rhapsody*)
9964 archive_cmds_need_lc=no
9966 hardcode_automatic=yes
9967 hardcode_shlibpath_var=unsupported
9968 if test "$lt_cv_ld_force_load" = "yes"; then
9969 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\"`'
9972 whole_archive_flag_spec=''
9974 link_all_deplibs=yes
9975 allow_undefined_flag="$_lt_dar_allow_undefined"
9976 case $cc_basename in
9977 ifort*) _lt_dar_can_shared=yes ;;
9978 *) _lt_dar_can_shared=$GCC ;;
9980 if test "$_lt_dar_can_shared" = "yes"; then
9981 output_verbose_link_cmd=func_echo_all
9982 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9983 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9984 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}"
9985 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}"
9994 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9995 hardcode_libdir_flag_spec='-L$libdir'
9996 hardcode_shlibpath_var=no
9999 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10000 # support. Future versions do this automatically, but an explicit c++rt0.o
10001 # does not break anything, and helps significantly (at the cost of a little
10004 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10005 hardcode_libdir_flag_spec='-R$libdir'
10006 hardcode_direct=yes
10007 hardcode_shlibpath_var=no
10010 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10012 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10013 hardcode_direct=yes
10014 hardcode_minus_L=yes
10015 hardcode_shlibpath_var=no
10018 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10019 freebsd* | dragonfly*)
10020 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021 hardcode_libdir_flag_spec='-R$libdir'
10022 hardcode_direct=yes
10023 hardcode_shlibpath_var=no
10027 if test "$GCC" = yes; then
10028 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'
10030 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'
10032 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10033 hardcode_libdir_separator=:
10034 hardcode_direct=yes
10036 # hardcode_minus_L: Not really in the search PATH,
10037 # but as the default location of the library.
10038 hardcode_minus_L=yes
10039 export_dynamic_flag_spec='${wl}-E'
10043 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10044 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10046 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10048 if test "$with_gnu_ld" = no; then
10049 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10050 hardcode_libdir_separator=:
10051 hardcode_direct=yes
10052 hardcode_direct_absolute=yes
10053 export_dynamic_flag_spec='${wl}-E'
10054 # hardcode_minus_L: Not really in the search PATH,
10055 # but as the default location of the library.
10056 hardcode_minus_L=yes
10061 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10064 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10070 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10079 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10083 # Older versions of the 11.00 compiler do not understand -b yet
10084 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10086 $as_echo_n "checking if $CC understands -b... " >&6; }
10087 if ${lt_cv_prog_compiler__b+:} false; then :
10088 $as_echo_n "(cached) " >&6
10090 lt_cv_prog_compiler__b=no
10091 save_LDFLAGS="$LDFLAGS"
10092 LDFLAGS="$LDFLAGS -b"
10093 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10094 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10095 # The linker can only warn and ignore the option if not recognized
10096 # So say no if there are warnings
10097 if test -s conftest.err; then
10098 # Append any errors to the config.log.
10099 cat conftest.err 1>&5
10100 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10101 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10102 if diff conftest.exp conftest.er2 >/dev/null; then
10103 lt_cv_prog_compiler__b=yes
10106 lt_cv_prog_compiler__b=yes
10110 LDFLAGS="$save_LDFLAGS"
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10114 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10116 if test x"$lt_cv_prog_compiler__b" = xyes; then
10117 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10125 if test "$with_gnu_ld" = no; then
10126 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10127 hardcode_libdir_separator=:
10132 hardcode_shlibpath_var=no
10135 hardcode_direct=yes
10136 hardcode_direct_absolute=yes
10137 export_dynamic_flag_spec='${wl}-E'
10139 # hardcode_minus_L: Not really in the search PATH,
10140 # but as the default location of the library.
10141 hardcode_minus_L=yes
10147 irix5* | irix6* | nonstopux*)
10148 if test "$GCC" = yes; then
10149 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'
10150 # Try to use the -exported_symbol ld option, if it does not
10151 # work, assume that -exports_file does not work either and
10152 # implicitly export all symbols.
10153 # This should be the same for all languages, so no per-tag cache variable.
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10155 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10156 if ${lt_cv_irix_exported_symbol+:} false; then :
10157 $as_echo_n "(cached) " >&6
10159 save_LDFLAGS="$LDFLAGS"
10160 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10163 int foo (void) { return 0; }
10165 if ac_fn_c_try_link "$LINENO"; then :
10166 lt_cv_irix_exported_symbol=yes
10168 lt_cv_irix_exported_symbol=no
10170 rm -f core conftest.err conftest.$ac_objext \
10171 conftest$ac_exeext conftest.$ac_ext
10172 LDFLAGS="$save_LDFLAGS"
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10175 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10176 if test "$lt_cv_irix_exported_symbol" = yes; then
10177 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'
10180 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'
10181 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'
10183 archive_cmds_need_lc='no'
10184 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10185 hardcode_libdir_separator=:
10187 link_all_deplibs=yes
10191 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10192 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10194 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10196 hardcode_libdir_flag_spec='-R$libdir'
10197 hardcode_direct=yes
10198 hardcode_shlibpath_var=no
10202 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10203 hardcode_direct=yes
10204 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10205 hardcode_libdir_separator=:
10206 hardcode_shlibpath_var=no
10213 if test -f /usr/libexec/ld.so; then
10214 hardcode_direct=yes
10215 hardcode_shlibpath_var=no
10216 hardcode_direct_absolute=yes
10217 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10218 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10219 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10220 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10221 export_dynamic_flag_spec='${wl}-E'
10224 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10225 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10226 hardcode_libdir_flag_spec='-R$libdir'
10229 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10230 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10240 hardcode_libdir_flag_spec='-L$libdir'
10241 hardcode_minus_L=yes
10242 allow_undefined_flag=unsupported
10243 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'
10244 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10248 if test "$GCC" = yes; then
10249 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10250 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'
10252 allow_undefined_flag=' -expect_unresolved \*'
10253 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'
10255 archive_cmds_need_lc='no'
10256 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10257 hardcode_libdir_separator=:
10260 osf4* | osf5*) # as osf3* with the addition of -msym flag
10261 if test "$GCC" = yes; then
10262 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10263 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'
10264 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10266 allow_undefined_flag=' -expect_unresolved \*'
10267 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'
10268 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~
10269 $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'
10271 # Both c and cxx compiler support -rpath directly
10272 hardcode_libdir_flag_spec='-rpath $libdir'
10274 archive_cmds_need_lc='no'
10275 hardcode_libdir_separator=:
10279 no_undefined_flag=' -z defs'
10280 if test "$GCC" = yes; then
10282 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10283 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10284 $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'
10286 case `$CC -V 2>&1` in
10289 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10290 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10291 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10295 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10296 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10297 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10301 hardcode_libdir_flag_spec='-R$libdir'
10302 hardcode_shlibpath_var=no
10304 solaris2.[0-5] | solaris2.[0-5].*) ;;
10306 # The compiler driver will combine and reorder linker options,
10307 # but understands `-z linker_flag'. GCC discards it without `$wl',
10308 # but is careful enough not to reorder.
10309 # Supported since Solaris 2.6 (maybe 2.5.1?)
10310 if test "$GCC" = yes; then
10311 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10313 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10317 link_all_deplibs=yes
10321 if test "x$host_vendor" = xsequent; then
10322 # Use $CC to link under sequent, because it throws in some extra .o
10323 # files that make .init and .fini sections work.
10324 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10326 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10328 hardcode_libdir_flag_spec='-L$libdir'
10329 hardcode_direct=yes
10330 hardcode_minus_L=yes
10331 hardcode_shlibpath_var=no
10335 case $host_vendor in
10337 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10338 hardcode_direct=yes # is this really true???
10341 ## LD is ld it makes a PLAMLIB
10342 ## CC just makes a GrossModule.
10343 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10344 reload_cmds='$CC -r -o $output$reload_objs'
10348 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10349 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10352 runpath_var='LD_RUN_PATH'
10353 hardcode_shlibpath_var=no
10357 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10358 hardcode_shlibpath_var=no
10359 export_dynamic_flag_spec='-Bexport'
10363 if test -d /usr/nec; then
10364 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10365 hardcode_shlibpath_var=no
10366 runpath_var=LD_RUN_PATH
10367 hardcode_runpath_var=yes
10372 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10373 no_undefined_flag='${wl}-z,text'
10374 archive_cmds_need_lc=no
10375 hardcode_shlibpath_var=no
10376 runpath_var='LD_RUN_PATH'
10378 if test "$GCC" = yes; then
10379 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10380 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10382 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10383 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10387 sysv5* | sco3.2v5* | sco5v6*)
10388 # Note: We can NOT use -z defs as we might desire, because we do not
10389 # link with -lc, and that would cause any symbols used from libc to
10390 # always be unresolved, which means just about no library would
10391 # ever link correctly. If we're not using GNU ld we use -z text
10392 # though, which does catch some bad symbols but isn't as heavy-handed
10394 no_undefined_flag='${wl}-z,text'
10395 allow_undefined_flag='${wl}-z,nodefs'
10396 archive_cmds_need_lc=no
10397 hardcode_shlibpath_var=no
10398 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10399 hardcode_libdir_separator=':'
10400 link_all_deplibs=yes
10401 export_dynamic_flag_spec='${wl}-Bexport'
10402 runpath_var='LD_RUN_PATH'
10404 if test "$GCC" = yes; then
10405 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10406 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10408 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10409 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10414 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10415 hardcode_libdir_flag_spec='-L$libdir'
10416 hardcode_shlibpath_var=no
10424 if test x$host_vendor = xsni; then
10426 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10427 export_dynamic_flag_spec='${wl}-Blargedynsym'
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10434 $as_echo "$ld_shlibs" >&6; }
10435 test "$ld_shlibs" = no && can_build_shared=no
10437 with_gnu_ld=$with_gnu_ld
10454 # Do we need to explicitly link libc?
10456 case "x$archive_cmds_need_lc" in
10458 # Assume -lc should be added
10459 archive_cmds_need_lc=yes
10461 if test "$enable_shared" = yes && test "$GCC" = yes; then
10462 case $archive_cmds in
10464 # FIXME: we may have to deal with multi-command sequences.
10467 # Test whether the compiler implicitly links with -lc since on some
10468 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10469 # to ld, don't add -lc before -lgcc.
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10471 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10472 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10473 $as_echo_n "(cached) " >&6
10476 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10478 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10479 (eval $ac_compile) 2>&5
10481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10482 test $ac_status = 0; } 2>conftest.err; then
10485 libobjs=conftest.$ac_objext
10487 wl=$lt_prog_compiler_wl
10488 pic_flag=$lt_prog_compiler_pic
10494 lt_save_allow_undefined_flag=$allow_undefined_flag
10495 allow_undefined_flag=
10496 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10497 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10500 test $ac_status = 0; }
10502 lt_cv_archive_cmds_need_lc=no
10504 lt_cv_archive_cmds_need_lc=yes
10506 allow_undefined_flag=$lt_save_allow_undefined_flag
10508 cat conftest.err 1>&5
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10514 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10515 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10674 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10676 if test "$GCC" = yes; then
10678 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10679 *) lt_awk_arg="/^libraries:/" ;;
10682 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10683 *) lt_sed_strip_eq="s,=/,/,g" ;;
10685 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10686 case $lt_search_path_spec in
10688 # if the path contains ";" then we assume it to be the separator
10689 # otherwise default to the standard path separator (i.e. ":") - it is
10690 # assumed that no part of a normal pathname contains ";" but that should
10691 # okay in the real world where ";" in dirpaths is itself problematic.
10692 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10695 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10698 # Ok, now we have the path, separated by spaces, we can step through it
10699 # and add multilib dir if necessary.
10700 lt_tmp_lt_search_path_spec=
10701 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10702 for lt_sys_path in $lt_search_path_spec; do
10703 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10704 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10706 test -d "$lt_sys_path" && \
10707 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10710 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10711 BEGIN {RS=" "; FS="/|\n";} {
10714 for (lt_i = NF; lt_i > 0; lt_i--) {
10715 if ($lt_i != "" && $lt_i != ".") {
10716 if ($lt_i == "..") {
10719 if (lt_count == 0) {
10720 lt_foo="/" $lt_i lt_foo;
10727 if (lt_foo != "") { lt_freq[lt_foo]++; }
10728 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10730 # AWK program above erroneously prepends '/' to C:/dos/paths
10733 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10734 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10736 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10738 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10740 library_names_spec=
10741 libname_spec='lib$name'
10745 postuninstall_cmds=
10749 shlibpath_overrides_runpath=unknown
10751 dynamic_linker="$host_os ld.so"
10752 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10753 need_lib_prefix=unknown
10754 hardcode_into_libs=no
10756 # when you set need_version to no, make sure it does not cause -set_version
10757 # flags to be left without arguments
10758 need_version=unknown
10762 version_type=linux # correct to gnu/linux during the next big refactor
10763 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10764 shlibpath_var=LIBPATH
10766 # AIX 3 has no versioning support, so we append a major version to the name.
10767 soname_spec='${libname}${release}${shared_ext}$major'
10771 version_type=linux # correct to gnu/linux during the next big refactor
10774 hardcode_into_libs=yes
10775 if test "$host_cpu" = ia64; then
10776 # AIX 5 supports IA64
10777 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10778 shlibpath_var=LD_LIBRARY_PATH
10780 # With GCC up to 2.95.x, collect2 would create an import file
10781 # for dependence libraries. The import file would start with
10782 # the line `#! .'. This would cause the generated library to
10783 # depend on `.', always an invalid library. This was fixed in
10784 # development snapshots of GCC prior to 3.0.
10786 aix4 | aix4.[01] | aix4.[01].*)
10787 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10789 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10792 can_build_shared=no
10796 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10797 # soname into executable. Probably we can add versioning support to
10798 # collect2, so additional links can be useful in future.
10799 if test "$aix_use_runtimelinking" = yes; then
10800 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10801 # instead of lib<name>.a to let people know that these are not
10802 # typical AIX shared libraries.
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10805 # We preserve .a as extension for shared libraries through AIX4.2
10806 # and later when we are not doing run time linking.
10807 library_names_spec='${libname}${release}.a $libname.a'
10808 soname_spec='${libname}${release}${shared_ext}$major'
10810 shlibpath_var=LIBPATH
10817 # Since July 2007 AmigaOS4 officially supports .so libraries.
10818 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10822 library_names_spec='$libname.ixlibrary $libname.a'
10823 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10824 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'
10830 library_names_spec='${libname}${shared_ext}'
10831 dynamic_linker="$host_os ld.so"
10832 shlibpath_var=LIBRARY_PATH
10836 version_type=linux # correct to gnu/linux during the next big refactor
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839 soname_spec='${libname}${release}${shared_ext}$major'
10840 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10841 shlibpath_var=LD_LIBRARY_PATH
10842 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10843 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10844 # the default ld.so.conf also contains /usr/contrib/lib and
10845 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10846 # libtool to hard-code these into programs
10849 cygwin* | mingw* | pw32* | cegcc*)
10850 version_type=windows
10855 case $GCC,$cc_basename in
10858 library_names_spec='$libname.dll.a'
10859 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10860 postinstall_cmds='base_file=`basename \${file}`~
10861 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10862 dldir=$destdir/`dirname \$dlpath`~
10863 test -d \$dldir || mkdir -p \$dldir~
10864 $install_prog $dir/$dlname \$dldir/$dlname~
10865 chmod a+x \$dldir/$dlname~
10866 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10867 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10869 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10870 dlpath=$dir/\$dldll~
10872 shlibpath_overrides_runpath=yes
10876 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10877 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10879 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10882 # MinGW DLLs use traditional 'lib' prefix
10883 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10886 # pw32 DLLs use 'pw' prefix rather than 'lib'
10887 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10890 dynamic_linker='Win32 ld.exe'
10895 libname_spec='$name'
10896 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10897 library_names_spec='${libname}.dll.lib'
10901 sys_lib_search_path_spec=
10904 for lt_path in $LIB
10907 # Let DOS variable expansion print the short 8.3 style file name.
10908 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10909 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10912 # Convert to MSYS style.
10913 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10916 # Convert to unix form, then to dos form, then back to unix form
10917 # but this time dos style (no spaces!) so that the unix form looks
10918 # like /cygdrive/c/PROGRA~1:/cygdr...
10919 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10920 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10921 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10924 sys_lib_search_path_spec="$LIB"
10925 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10926 # It is most probably a Windows format PATH.
10927 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10929 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10931 # FIXME: find the short name or the path components, as spaces are
10932 # common. (e.g. "Program Files" -> "PROGRA~1")
10936 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10937 postinstall_cmds='base_file=`basename \${file}`~
10938 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10939 dldir=$destdir/`dirname \$dlpath`~
10940 test -d \$dldir || mkdir -p \$dldir~
10941 $install_prog $dir/$dlname \$dldir/$dlname'
10942 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10943 dlpath=$dir/\$dldll~
10945 shlibpath_overrides_runpath=yes
10946 dynamic_linker='Win32 link.exe'
10950 # Assume MSVC wrapper
10951 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10952 dynamic_linker='Win32 ld.exe'
10955 # FIXME: first we should search . and the directory the executable is in
10959 darwin* | rhapsody*)
10960 dynamic_linker="$host_os dyld"
10961 version_type=darwin
10964 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10965 soname_spec='${libname}${release}${major}$shared_ext'
10966 shlibpath_overrides_runpath=yes
10967 shlibpath_var=DYLD_LIBRARY_PATH
10968 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10970 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10971 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10975 version_type=linux # correct to gnu/linux during the next big refactor
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10979 soname_spec='${libname}${release}${shared_ext}$major'
10980 shlibpath_var=LD_LIBRARY_PATH
10983 freebsd* | dragonfly*)
10984 # DragonFly does not have aout. When/if they implement a new
10985 # versioning mechanism, adjust this.
10986 if test -x /usr/bin/objformat; then
10987 objformat=`/usr/bin/objformat`
10990 freebsd[23].*) objformat=aout ;;
10991 *) objformat=elf ;;
10994 version_type=freebsd-$objformat
10995 case $version_type in
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11002 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11006 shlibpath_var=LD_LIBRARY_PATH
11009 shlibpath_overrides_runpath=yes
11011 freebsd3.[01]* | freebsdelf3.[01]*)
11012 shlibpath_overrides_runpath=yes
11013 hardcode_into_libs=yes
11015 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11016 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11017 shlibpath_overrides_runpath=no
11018 hardcode_into_libs=yes
11020 *) # from 4.6 on, and DragonFly
11021 shlibpath_overrides_runpath=yes
11022 hardcode_into_libs=yes
11028 version_type=linux # correct to gnu/linux during the next big refactor
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11032 soname_spec='${libname}${release}${shared_ext}$major'
11033 shlibpath_var=LD_LIBRARY_PATH
11034 shlibpath_overrides_runpath=no
11035 hardcode_into_libs=yes
11039 version_type=linux # correct to gnu/linux during the next big refactor
11042 dynamic_linker="$host_os runtime_loader"
11043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11044 soname_spec='${libname}${release}${shared_ext}$major'
11045 shlibpath_var=LIBRARY_PATH
11046 shlibpath_overrides_runpath=yes
11047 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11048 hardcode_into_libs=yes
11051 hpux9* | hpux10* | hpux11*)
11052 # Give a soname corresponding to the major version so that dld.sl refuses to
11053 # link against other versions.
11060 hardcode_into_libs=yes
11061 dynamic_linker="$host_os dld.so"
11062 shlibpath_var=LD_LIBRARY_PATH
11063 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11065 soname_spec='${libname}${release}${shared_ext}$major'
11066 if test "X$HPUX_IA64_MODE" = X32; then
11067 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11069 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11071 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11075 hardcode_into_libs=yes
11076 dynamic_linker="$host_os dld.sl"
11077 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11078 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11080 soname_spec='${libname}${release}${shared_ext}$major'
11081 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11082 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11086 dynamic_linker="$host_os dld.sl"
11087 shlibpath_var=SHLIB_PATH
11088 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11090 soname_spec='${libname}${release}${shared_ext}$major'
11093 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11094 postinstall_cmds='chmod 555 $lib'
11095 # or fails outright, so override atomically:
11096 install_override_mode=555
11100 version_type=linux # correct to gnu/linux during the next big refactor
11103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11104 soname_spec='${libname}${release}${shared_ext}$major'
11105 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11106 shlibpath_var=LD_LIBRARY_PATH
11107 shlibpath_overrides_runpath=no
11108 hardcode_into_libs=yes
11111 irix5* | irix6* | nonstopux*)
11113 nonstopux*) version_type=nonstopux ;;
11115 if test "$lt_cv_prog_gnu_ld" = yes; then
11116 version_type=linux # correct to gnu/linux during the next big refactor
11123 soname_spec='${libname}${release}${shared_ext}$major'
11124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11126 irix5* | nonstopux*)
11127 libsuff= shlibsuff=
11130 case $LD in # libtool.m4 will add one of these switches to LD
11131 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11132 libsuff= shlibsuff= libmagic=32-bit;;
11133 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11134 libsuff=32 shlibsuff=N32 libmagic=N32;;
11135 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11136 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11137 *) libsuff= shlibsuff= libmagic=never-match;;
11141 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11142 shlibpath_overrides_runpath=no
11143 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11144 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11145 hardcode_into_libs=yes
11148 # No shared lib support for Linux oldld, aout, or coff.
11149 linux*oldld* | linux*aout* | linux*coff*)
11153 # This must be glibc/ELF.
11154 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11155 version_type=linux # correct to gnu/linux during the next big refactor
11158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159 soname_spec='${libname}${release}${shared_ext}$major'
11160 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11161 shlibpath_var=LD_LIBRARY_PATH
11162 shlibpath_overrides_runpath=no
11164 # Some binutils ld are patched to set DT_RUNPATH
11165 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11166 $as_echo_n "(cached) " >&6
11168 lt_cv_shlibpath_overrides_runpath=no
11169 save_LDFLAGS=$LDFLAGS
11170 save_libdir=$libdir
11171 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11172 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h. */
11184 if ac_fn_c_try_link "$LINENO"; then :
11185 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11186 lt_cv_shlibpath_overrides_runpath=yes
11189 rm -f core conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LDFLAGS=$save_LDFLAGS
11192 libdir=$save_libdir
11196 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11198 # This implies no fast_install, which is unacceptable.
11199 # Some rework will be needed to allow for fast_install
11200 # before this can be enabled.
11201 hardcode_into_libs=yes
11203 # Add ABI-specific directories to the system library path.
11204 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11206 # Append ld.so.conf contents to the search path
11207 if test -f /etc/ld.so.conf; then
11208 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' ' '`
11209 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11213 # We used to test for /lib/ld.so.1 and disable shared libraries on
11214 # powerpc, because MkLinux only supported shared libraries with the
11215 # GNU dynamic linker. Since this was broken with cross compilers,
11216 # most powerpc-linux boxes support dynamic linking these days and
11217 # people can always --disable-shared, the test was removed, and we
11218 # assume the GNU/Linux dynamic linker is in use.
11219 dynamic_linker='GNU/Linux ld.so'
11226 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11228 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11229 dynamic_linker='NetBSD (a.out) ld.so'
11231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11232 soname_spec='${libname}${release}${shared_ext}$major'
11233 dynamic_linker='NetBSD ld.elf_so'
11235 shlibpath_var=LD_LIBRARY_PATH
11236 shlibpath_overrides_runpath=yes
11237 hardcode_into_libs=yes
11241 version_type=linux # correct to gnu/linux during the next big refactor
11242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11243 shlibpath_var=LD_LIBRARY_PATH
11244 shlibpath_overrides_runpath=yes
11251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11252 soname_spec='${libname}${release}${shared_ext}$major'
11253 shlibpath_var=LD_LIBRARY_PATH
11254 shlibpath_overrides_runpath=no
11255 hardcode_into_libs=yes
11256 dynamic_linker='ldqnx.so'
11261 sys_lib_dlsearch_path_spec="/usr/lib"
11263 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11265 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11266 *) need_version=no ;;
11268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11269 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11270 shlibpath_var=LD_LIBRARY_PATH
11271 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11273 openbsd2.[89] | openbsd2.[89].*)
11274 shlibpath_overrides_runpath=no
11277 shlibpath_overrides_runpath=yes
11281 shlibpath_overrides_runpath=yes
11286 libname_spec='$name'
11289 library_names_spec='$libname${shared_ext} $libname.a'
11290 dynamic_linker='OS/2 ld.exe'
11291 shlibpath_var=LIBPATH
11294 osf3* | osf4* | osf5*)
11298 soname_spec='${libname}${release}${shared_ext}$major'
11299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11300 shlibpath_var=LD_LIBRARY_PATH
11301 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11302 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11310 version_type=linux # correct to gnu/linux during the next big refactor
11313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314 soname_spec='${libname}${release}${shared_ext}$major'
11315 shlibpath_var=LD_LIBRARY_PATH
11316 shlibpath_overrides_runpath=yes
11317 hardcode_into_libs=yes
11318 # ldd complains unless libraries are executable
11319 postinstall_cmds='chmod +x $lib'
11324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11325 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11326 shlibpath_var=LD_LIBRARY_PATH
11327 shlibpath_overrides_runpath=yes
11328 if test "$with_gnu_ld" = yes; then
11335 version_type=linux # correct to gnu/linux during the next big refactor
11336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11337 soname_spec='${libname}${release}${shared_ext}$major'
11338 shlibpath_var=LD_LIBRARY_PATH
11339 case $host_vendor in
11341 shlibpath_overrides_runpath=no
11343 runpath_var=LD_RUN_PATH
11351 shlibpath_overrides_runpath=no
11352 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11358 if test -d /usr/nec ;then
11359 version_type=linux # correct to gnu/linux during the next big refactor
11360 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11361 soname_spec='$libname${shared_ext}.$major'
11362 shlibpath_var=LD_LIBRARY_PATH
11366 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11367 version_type=freebsd-elf
11370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11371 soname_spec='${libname}${release}${shared_ext}$major'
11372 shlibpath_var=LD_LIBRARY_PATH
11373 shlibpath_overrides_runpath=yes
11374 hardcode_into_libs=yes
11375 if test "$with_gnu_ld" = yes; then
11376 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11378 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11381 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11385 sys_lib_dlsearch_path_spec='/usr/lib'
11389 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11390 version_type=linux # correct to gnu/linux during the next big refactor
11393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11394 shlibpath_var=LD_LIBRARY_PATH
11395 shlibpath_overrides_runpath=no
11396 hardcode_into_libs=yes
11400 version_type=linux # correct to gnu/linux during the next big refactor
11401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11402 soname_spec='${libname}${release}${shared_ext}$major'
11403 shlibpath_var=LD_LIBRARY_PATH
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11411 $as_echo "$dynamic_linker" >&6; }
11412 test "$dynamic_linker" = no && can_build_shared=no
11414 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11415 if test "$GCC" = yes; then
11416 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11419 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11420 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11422 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11423 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11518 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11520 if test -n "$hardcode_libdir_flag_spec" ||
11521 test -n "$runpath_var" ||
11522 test "X$hardcode_automatic" = "Xyes" ; then
11524 # We can hardcode non-existent directories.
11525 if test "$hardcode_direct" != no &&
11526 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11527 # have to relink, otherwise we might link with an installed library
11528 # when we should be linking with a yet-to-be-installed one
11529 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11530 test "$hardcode_minus_L" != no; then
11531 # Linking always hardcodes the temporary library directory.
11532 hardcode_action=relink
11534 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11535 hardcode_action=immediate
11538 # We cannot hardcode anything, or else we can only hardcode existing
11540 hardcode_action=unsupported
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11543 $as_echo "$hardcode_action" >&6; }
11545 if test "$hardcode_action" = relink ||
11546 test "$inherit_rpath" = yes; then
11547 # Fast installation is not supported
11548 enable_fast_install=no
11549 elif test "$shlibpath_overrides_runpath" = yes ||
11550 test "$enable_shared" = no; then
11551 # Fast installation is not necessary
11552 enable_fast_install=needless
11560 if test "x$enable_dlopen" != xyes; then
11561 enable_dlopen=unknown
11562 enable_dlopen_self=unknown
11563 enable_dlopen_self_static=unknown
11570 lt_cv_dlopen="load_add_on"
11572 lt_cv_dlopen_self=yes
11575 mingw* | pw32* | cegcc*)
11576 lt_cv_dlopen="LoadLibrary"
11581 lt_cv_dlopen="dlopen"
11586 # if libdl is installed we need to link against it
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11588 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11589 if ${ac_cv_lib_dl_dlopen+:} false; then :
11590 $as_echo_n "(cached) " >&6
11592 ac_check_lib_save_LIBS=$LIBS
11594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11595 /* end confdefs.h. */
11597 /* Override any GCC internal prototype to avoid an error.
11598 Use char because int might match the return type of a GCC
11599 builtin and then its argument prototype would still apply. */
11612 if ac_fn_c_try_link "$LINENO"; then :
11613 ac_cv_lib_dl_dlopen=yes
11615 ac_cv_lib_dl_dlopen=no
11617 rm -f core conftest.err conftest.$ac_objext \
11618 conftest$ac_exeext conftest.$ac_ext
11619 LIBS=$ac_check_lib_save_LIBS
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11622 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11623 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11624 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11627 lt_cv_dlopen="dyld"
11629 lt_cv_dlopen_self=yes
11636 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11637 if test "x$ac_cv_func_shl_load" = xyes; then :
11638 lt_cv_dlopen="shl_load"
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11641 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11642 if ${ac_cv_lib_dld_shl_load+:} false; then :
11643 $as_echo_n "(cached) " >&6
11645 ac_check_lib_save_LIBS=$LIBS
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11660 return shl_load ();
11665 if ac_fn_c_try_link "$LINENO"; then :
11666 ac_cv_lib_dld_shl_load=yes
11668 ac_cv_lib_dld_shl_load=no
11670 rm -f core conftest.err conftest.$ac_objext \
11671 conftest$ac_exeext conftest.$ac_ext
11672 LIBS=$ac_check_lib_save_LIBS
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11675 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11676 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11677 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11679 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11680 if test "x$ac_cv_func_dlopen" = xyes; then :
11681 lt_cv_dlopen="dlopen"
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11684 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11685 if ${ac_cv_lib_dl_dlopen+:} false; then :
11686 $as_echo_n "(cached) " >&6
11688 ac_check_lib_save_LIBS=$LIBS
11690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11693 /* Override any GCC internal prototype to avoid an error.
11694 Use char because int might match the return type of a GCC
11695 builtin and then its argument prototype would still apply. */
11708 if ac_fn_c_try_link "$LINENO"; then :
11709 ac_cv_lib_dl_dlopen=yes
11711 ac_cv_lib_dl_dlopen=no
11713 rm -f core conftest.err conftest.$ac_objext \
11714 conftest$ac_exeext conftest.$ac_ext
11715 LIBS=$ac_check_lib_save_LIBS
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11718 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11719 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11720 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11723 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11724 if ${ac_cv_lib_svld_dlopen+:} false; then :
11725 $as_echo_n "(cached) " >&6
11727 ac_check_lib_save_LIBS=$LIBS
11728 LIBS="-lsvld $LIBS"
11729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h. */
11732 /* Override any GCC internal prototype to avoid an error.
11733 Use char because int might match the return type of a GCC
11734 builtin and then its argument prototype would still apply. */
11747 if ac_fn_c_try_link "$LINENO"; then :
11748 ac_cv_lib_svld_dlopen=yes
11750 ac_cv_lib_svld_dlopen=no
11752 rm -f core conftest.err conftest.$ac_objext \
11753 conftest$ac_exeext conftest.$ac_ext
11754 LIBS=$ac_check_lib_save_LIBS
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11757 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11758 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11759 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11762 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11763 if ${ac_cv_lib_dld_dld_link+:} false; then :
11764 $as_echo_n "(cached) " >&6
11766 ac_check_lib_save_LIBS=$LIBS
11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11771 /* Override any GCC internal prototype to avoid an error.
11772 Use char because int might match the return type of a GCC
11773 builtin and then its argument prototype would still apply. */
11781 return dld_link ();
11786 if ac_fn_c_try_link "$LINENO"; then :
11787 ac_cv_lib_dld_dld_link=yes
11789 ac_cv_lib_dld_dld_link=no
11791 rm -f core conftest.err conftest.$ac_objext \
11792 conftest$ac_exeext conftest.$ac_ext
11793 LIBS=$ac_check_lib_save_LIBS
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11796 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11797 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11798 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11819 if test "x$lt_cv_dlopen" != xno; then
11825 case $lt_cv_dlopen in
11827 save_CPPFLAGS="$CPPFLAGS"
11828 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11830 save_LDFLAGS="$LDFLAGS"
11831 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11834 LIBS="$lt_cv_dlopen_libs $LIBS"
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11837 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11838 if ${lt_cv_dlopen_self+:} false; then :
11839 $as_echo_n "(cached) " >&6
11841 if test "$cross_compiling" = yes; then :
11842 lt_cv_dlopen_self=cross
11844 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11845 lt_status=$lt_dlunknown
11846 cat > conftest.$ac_ext <<_LT_EOF
11847 #line $LINENO "configure"
11848 #include "confdefs.h"
11857 # define LT_DLGLOBAL RTLD_GLOBAL
11860 # define LT_DLGLOBAL DL_GLOBAL
11862 # define LT_DLGLOBAL 0
11866 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11867 find out it does not work in some platform. */
11868 #ifndef LT_DLLAZY_OR_NOW
11870 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11873 # define LT_DLLAZY_OR_NOW DL_LAZY
11876 # define LT_DLLAZY_OR_NOW RTLD_NOW
11879 # define LT_DLLAZY_OR_NOW DL_NOW
11881 # define LT_DLLAZY_OR_NOW 0
11888 /* When -fvisbility=hidden is used, assume the code has been annotated
11889 correspondingly for the symbols needed. */
11890 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11891 int fnord () __attribute__((visibility("default")));
11894 int fnord () { return 42; }
11897 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11898 int status = $lt_dlunknown;
11902 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11905 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11906 else puts (dlerror ());
11908 /* dlclose (self); */
11916 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11917 (eval $ac_link) 2>&5
11919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11920 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11921 (./conftest; exit; ) >&5 2>/dev/null
11923 case x$lt_status in
11924 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11925 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11926 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11929 # compilation failed
11930 lt_cv_dlopen_self=no
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11938 $as_echo "$lt_cv_dlopen_self" >&6; }
11940 if test "x$lt_cv_dlopen_self" = xyes; then
11941 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11943 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11944 if ${lt_cv_dlopen_self_static+:} false; then :
11945 $as_echo_n "(cached) " >&6
11947 if test "$cross_compiling" = yes; then :
11948 lt_cv_dlopen_self_static=cross
11950 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11951 lt_status=$lt_dlunknown
11952 cat > conftest.$ac_ext <<_LT_EOF
11953 #line $LINENO "configure"
11954 #include "confdefs.h"
11963 # define LT_DLGLOBAL RTLD_GLOBAL
11966 # define LT_DLGLOBAL DL_GLOBAL
11968 # define LT_DLGLOBAL 0
11972 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11973 find out it does not work in some platform. */
11974 #ifndef LT_DLLAZY_OR_NOW
11976 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11979 # define LT_DLLAZY_OR_NOW DL_LAZY
11982 # define LT_DLLAZY_OR_NOW RTLD_NOW
11985 # define LT_DLLAZY_OR_NOW DL_NOW
11987 # define LT_DLLAZY_OR_NOW 0
11994 /* When -fvisbility=hidden is used, assume the code has been annotated
11995 correspondingly for the symbols needed. */
11996 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11997 int fnord () __attribute__((visibility("default")));
12000 int fnord () { return 42; }
12003 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12004 int status = $lt_dlunknown;
12008 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12011 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12012 else puts (dlerror ());
12014 /* dlclose (self); */
12022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12023 (eval $ac_link) 2>&5
12025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12026 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12027 (./conftest; exit; ) >&5 2>/dev/null
12029 case x$lt_status in
12030 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12031 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12032 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12035 # compilation failed
12036 lt_cv_dlopen_self_static=no
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12044 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12047 CPPFLAGS="$save_CPPFLAGS"
12048 LDFLAGS="$save_LDFLAGS"
12053 case $lt_cv_dlopen_self in
12054 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12055 *) enable_dlopen_self=unknown ;;
12058 case $lt_cv_dlopen_self_static in
12059 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12060 *) enable_dlopen_self_static=unknown ;;
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12083 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12084 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12085 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12086 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12088 $as_echo "yes" >&6; }
12090 # FIXME - insert some real tests, host_os isn't really good enough
12093 if test -n "$STRIP" ; then
12094 striplib="$STRIP -x"
12095 old_striplib="$STRIP -S"
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12097 $as_echo "yes" >&6; }
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12100 $as_echo "no" >&6; }
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12105 $as_echo "no" >&6; }
12121 # Report which library types will actually be built
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12123 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12125 $as_echo "$can_build_shared" >&6; }
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12128 $as_echo_n "checking whether to build shared libraries... " >&6; }
12129 test "$can_build_shared" = "no" && enable_shared=no
12131 # On AIX, shared libraries and static libraries use the same namespace, and
12132 # are all built from PIC.
12135 test "$enable_shared" = yes && enable_static=no
12136 if test -n "$RANLIB"; then
12137 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12138 postinstall_cmds='$RANLIB $lib'
12143 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12144 test "$enable_shared" = yes && enable_static=no
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12149 $as_echo "$enable_shared" >&6; }
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12152 $as_echo_n "checking whether to build static libraries... " >&6; }
12153 # Make sure either enable_shared or enable_static is yes.
12154 test "$enable_shared" = yes || enable_static=yes
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12156 $as_echo "$enable_static" >&6; }
12163 ac_cpp='$CPP $CPPFLAGS'
12164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12184 ac_config_commands="$ac_config_commands libtool"
12189 # Only expand once:
12193 # Checks for header files.
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12195 $as_echo_n "checking for ANSI C header files... " >&6; }
12196 if ${ac_cv_header_stdc+:} false; then :
12197 $as_echo_n "(cached) " >&6
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12201 #include <stdlib.h>
12202 #include <stdarg.h>
12203 #include <string.h>
12214 if ac_fn_c_try_compile "$LINENO"; then :
12215 ac_cv_header_stdc=yes
12217 ac_cv_header_stdc=no
12219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12221 if test $ac_cv_header_stdc = yes; then
12222 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12225 #include <string.h>
12228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12229 $EGREP "memchr" >/dev/null 2>&1; then :
12232 ac_cv_header_stdc=no
12238 if test $ac_cv_header_stdc = yes; then
12239 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12242 #include <stdlib.h>
12245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12246 $EGREP "free" >/dev/null 2>&1; then :
12249 ac_cv_header_stdc=no
12255 if test $ac_cv_header_stdc = yes; then
12256 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12257 if test "$cross_compiling" = yes; then :
12260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12263 #include <stdlib.h>
12264 #if ((' ' & 0x0FF) == 0x020)
12265 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12266 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12268 # define ISLOWER(c) \
12269 (('a' <= (c) && (c) <= 'i') \
12270 || ('j' <= (c) && (c) <= 'r') \
12271 || ('s' <= (c) && (c) <= 'z'))
12272 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12275 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12280 for (i = 0; i < 256; i++)
12281 if (XOR (islower (i), ISLOWER (i))
12282 || toupper (i) != TOUPPER (i))
12287 if ac_fn_c_try_run "$LINENO"; then :
12290 ac_cv_header_stdc=no
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_header_stdc" >&5
12299 $as_echo "$ac_cv_header_stdc" >&6; }
12300 if test $ac_cv_header_stdc = yes; then
12302 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12307 # required versions for dependencies
12321 GLIB_REQ_VERSION=2.31.19
12323 COGL_REQ_VERSION=1.9.6
12325 JSON_GLIB_REQ_VERSION=0.12.0
12327 ATK_REQ_VERSION=2.1.5
12329 CAIRO_REQ_VERSION=1.10
12331 PANGO_REQ_VERSION=1.20
12333 GI_REQ_VERSION=0.9.5
12335 UPROF_REQ_VERSION=0.3
12337 GTK_DOC_REQ_VERSION=1.15
12339 XFIXES_REQ_VERSION=3
12341 XCOMPOSITE_REQ_VERSION=0.4
12343 GDK_REQ_VERSION=3.3.18
12346 # Checks for typedefs, structures, and compiler characteristics.
12347 # Check whether --enable-glibtest was given.
12348 if test "${enable_glibtest+set}" = set; then :
12349 enableval=$enable_glibtest;
12351 enable_glibtest=yes
12355 pkg_config_args=glib-2.0
12356 for module in . gobject gthread gmodule-no-export
12360 pkg_config_args="$pkg_config_args gmodule-2.0"
12363 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
12366 pkg_config_args="$pkg_config_args gobject-2.0"
12369 pkg_config_args="$pkg_config_args gthread-2.0"
12372 pkg_config_args="$pkg_config_args $module-2.0"
12383 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12384 if test -n "$ac_tool_prefix"; then
12385 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12386 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12388 $as_echo_n "checking for $ac_word... " >&6; }
12389 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12390 $as_echo_n "(cached) " >&6
12392 case $PKG_CONFIG in
12394 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12398 for as_dir in $PATH
12401 test -z "$as_dir" && as_dir=.
12402 for ac_exec_ext in '' $ac_executable_extensions; do
12403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12404 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12415 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12416 if test -n "$PKG_CONFIG"; then
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12418 $as_echo "$PKG_CONFIG" >&6; }
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12421 $as_echo "no" >&6; }
12426 if test -z "$ac_cv_path_PKG_CONFIG"; then
12427 ac_pt_PKG_CONFIG=$PKG_CONFIG
12428 # Extract the first word of "pkg-config", so it can be a program name with args.
12429 set dummy pkg-config; ac_word=$2
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12431 $as_echo_n "checking for $ac_word... " >&6; }
12432 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12433 $as_echo_n "(cached) " >&6
12435 case $ac_pt_PKG_CONFIG in
12437 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12441 for as_dir in $PATH
12444 test -z "$as_dir" && as_dir=.
12445 for ac_exec_ext in '' $ac_executable_extensions; do
12446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12447 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12458 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12459 if test -n "$ac_pt_PKG_CONFIG"; then
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12461 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12464 $as_echo "no" >&6; }
12467 if test "x$ac_pt_PKG_CONFIG" = x; then
12470 case $cross_compiling:$ac_tool_warned in
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12474 ac_tool_warned=yes ;;
12476 PKG_CONFIG=$ac_pt_PKG_CONFIG
12479 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12483 if test -n "$PKG_CONFIG"; then
12484 _pkg_min_version=0.16
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12486 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12487 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12489 $as_echo "yes" >&6; }
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492 $as_echo "no" >&6; }
12499 if test "x$PKG_CONFIG" = x ; then
12504 min_glib_version=2.31.19
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
12506 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
12508 if test x$PKG_CONFIG != xno ; then
12509 ## don't try to run the test against uninstalled libtool libs
12510 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12511 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
12515 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
12522 if test x"$no_glib" = x ; then
12523 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
12524 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
12525 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
12526 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
12528 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
12529 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
12530 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
12531 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12532 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
12533 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12534 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
12535 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12536 if test "x$enable_glibtest" = "xyes" ; then
12537 ac_save_CFLAGS="$CFLAGS"
12538 ac_save_LIBS="$LIBS"
12539 CFLAGS="$CFLAGS $GLIB_CFLAGS"
12540 LIBS="$GLIB_LIBS $LIBS"
12541 rm -f conf.glibtest
12542 if test "$cross_compiling" = yes; then :
12543 echo $ac_n "cross compiling; assumed OK... $ac_c"
12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12550 #include <stdlib.h>
12555 unsigned int major, minor, micro;
12558 fclose (fopen ("conf.glibtest", "w"));
12560 /* HP/UX 9 (%@#!) writes to sscanf strings */
12561 tmp_version = g_strdup("$min_glib_version");
12562 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
12563 printf("%s, bad version string\n", "$min_glib_version");
12567 if ((glib_major_version != $glib_config_major_version) ||
12568 (glib_minor_version != $glib_config_minor_version) ||
12569 (glib_micro_version != $glib_config_micro_version))
12571 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
12572 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
12573 glib_major_version, glib_minor_version, glib_micro_version);
12574 printf ("*** was found! If pkg-config was correct, then it is best\n");
12575 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
12576 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12577 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12578 printf("*** required on your system.\n");
12579 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12580 printf("*** to point to the correct configuration files\n");
12582 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
12583 (glib_minor_version != GLIB_MINOR_VERSION) ||
12584 (glib_micro_version != GLIB_MICRO_VERSION))
12586 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
12587 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
12588 printf("*** library (version %d.%d.%d)\n",
12589 glib_major_version, glib_minor_version, glib_micro_version);
12593 if ((glib_major_version > major) ||
12594 ((glib_major_version == major) && (glib_minor_version > minor)) ||
12595 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
12601 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
12602 glib_major_version, glib_minor_version, glib_micro_version);
12603 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
12604 major, minor, micro);
12605 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
12607 printf("*** If you have already installed a sufficiently new version, this error\n");
12608 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12609 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12610 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
12611 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12612 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12613 printf("*** so that the correct libraries are found at run-time))\n");
12620 if ac_fn_c_try_run "$LINENO"; then :
12625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12626 conftest.$ac_objext conftest.beam conftest.$ac_ext
12629 CFLAGS="$ac_save_CFLAGS"
12630 LIBS="$ac_save_LIBS"
12633 if test "x$no_glib" = x ; then
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
12635 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12639 $as_echo "no" >&6; }
12640 if test "$PKG_CONFIG" = "no" ; then
12641 echo "*** A new enough version of pkg-config was not found."
12642 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
12644 if test -f conf.glibtest ; then
12647 echo "*** Could not run GLIB test program, checking why..."
12648 ac_save_CFLAGS="$CFLAGS"
12649 ac_save_LIBS="$LIBS"
12650 CFLAGS="$CFLAGS $GLIB_CFLAGS"
12651 LIBS="$LIBS $GLIB_LIBS"
12652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12661 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
12666 if ac_fn_c_try_link "$LINENO"; then :
12667 echo "*** The test program compiled, but did not run. This usually means"
12668 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
12669 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
12670 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12671 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12672 echo "*** is required on your system"
12674 echo "*** If you have an old version installed, it is best to remove it, although"
12675 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12677 echo "*** The test program failed to compile or link. See the file config.log for the"
12678 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
12680 rm -f core conftest.err conftest.$ac_objext \
12681 conftest$ac_exeext conftest.$ac_ext
12682 CFLAGS="$ac_save_CFLAGS"
12683 LIBS="$ac_save_LIBS"
12691 GLIB_COMPILE_RESOURCES=""
12692 as_fn_error $? "glib-2.0 is required" "$LINENO" 5
12700 rm -f conf.glibtest
12703 # Check for -Bsymbolic-functions to avoid intra-library PLT jumps
12704 # Check whether --enable-Bsymbolic was given.
12705 if test "${enable_Bsymbolic+set}" = set; then :
12706 enableval=$enable_Bsymbolic;
12709 saved_LDFLAGS="${LDFLAGS}"
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
12711 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
12712 LDFLAGS=-Wl,-Bsymbolic-functions
12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12719 int main (void) { return 0; }
12724 if ac_fn_c_try_link "$LINENO"; then :
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12727 $as_echo "yes" >&6; }
12728 enable_Bsymbolic=yes
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12733 $as_echo "no" >&6; }
12734 enable_Bsymbolic=no
12737 rm -f core conftest.err conftest.$ac_objext \
12738 conftest$ac_exeext conftest.$ac_ext
12739 LDFLAGS="${saved_LDFLAGS}"
12744 if test "x$enable_Bsymbolic" = "xyes"; then :
12745 CLUTTER_LINK_FLAGS=-Wl,-Bsymbolic-functions
12749 cat >confcache <<\_ACEOF
12750 # This file is a shell script that caches the results of configure
12751 # tests run on this system so they can be shared between configure
12752 # scripts and configure runs, see configure's option --config-cache.
12753 # It is not useful on other systems. If it contains results you don't
12754 # want to keep, you may remove or edit it.
12756 # config.status only pays attention to the cache file if you give it
12757 # the --recheck option to rerun configure.
12759 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12760 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12761 # following values.
12765 # The following way of writing the cache mishandles newlines in values,
12766 # but we know of no workaround that is simple, portable, and efficient.
12767 # So, we kill variables containing newlines.
12768 # Ultrix sh set writes to stderr and can't be redirected directly,
12769 # and sets the high bit in the cache file unless we assign to the vars.
12771 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12772 eval ac_val=\$$ac_var
12776 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12777 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12780 _ | IFS | as_nl) ;; #(
12781 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12782 *) { eval $ac_var=; unset $ac_var;} ;;
12788 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12789 *${as_nl}ac_space=\ *)
12790 # `set' does not quote correctly, so add quotes: double-quote
12791 # substitution turns \\\\ into \\, and sed turns \\ into \.
12794 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12797 # `set' quotes correctly as required by POSIX, so do not add quotes.
12798 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12807 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12809 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12811 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12812 if test -w "$cache_file"; then
12813 if test "x$cache_file" != "x/dev/null"; then
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12815 $as_echo "$as_me: updating cache $cache_file" >&6;}
12816 if test ! -f "$cache_file" || test -h "$cache_file"; then
12817 cat confcache >"$cache_file"
12819 case $cache_file in #(
12821 mv -f confcache "$cache_file"$$ &&
12822 mv -f "$cache_file"$$ "$cache_file" ;; #(
12824 mv -f confcache "$cache_file" ;;
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12830 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12838 CLUTTER_BACKENDS=""
12839 CLUTTER_INPUT_BACKENDS=""
12840 CLUTTER_CONFIG_DEFINES=
12842 experimental_backend=no
12843 experimental_input_backend=no
12845 # base dependencies for core
12846 CLUTTER_BASE_PC_FILES="cogl-1.0 >= $COGL_REQ_VERSION cairo-gobject >= $CAIRO_REQ_VERSION atk >= $ATK_REQ_VERSION pangocairo >= $PANGO_REQ_VERSION cogl-pango-1.0 json-glib-1.0 >= $JSON_GLIB_REQ_VERSION"
12848 # private base dependencies
12849 CLUTTER_BASE_PC_FILES_PRIVATE=""
12851 # backend specific pkg-config files
12852 BACKEND_PC_FILES=""
12854 # private backend specific dependencies
12855 BACKEND_PC_FILES_PRIVATE=""
12858 # Check whether --enable-x11-backend was given.
12859 if test "${enable_x11_backend+set}" = set; then :
12860 enableval=$enable_x11_backend; enable_x11=$enableval
12865 # Check whether --enable-win32-backend was given.
12866 if test "${enable_win32_backend+set}" = set; then :
12867 enableval=$enable_win32_backend; enable_win32=$enableval
12872 # Check whether --enable-quartz-backend was given.
12873 if test "${enable_quartz_backend+set}" = set; then :
12874 enableval=$enable_quartz_backend; enable_osx=$enableval
12879 # Check whether --enable-gdk-backend was given.
12880 if test "${enable_gdk_backend+set}" = set; then :
12881 enableval=$enable_gdk_backend; enable_gdk=$enableval
12886 # Check whether --enable-wayland-backend was given.
12887 if test "${enable_wayland_backend+set}" = set; then :
12888 enableval=$enable_wayland_backend; enable_wayland=$enableval
12893 # Check whether --enable-egl-backend was given.
12894 if test "${enable_egl_backend+set}" = set; then :
12895 enableval=$enable_egl_backend; enable_egl=$enableval
12900 # Check whether --enable-cex100-backend was given.
12901 if test "${enable_cex100_backend+set}" = set; then :
12902 enableval=$enable_cex100_backend; enable_cex100=$enableval
12908 if test "x$enable_x11" = "xcheck"; then :
12910 if test "x$platform_glx" = "xyes"; then :
12918 if test "x$enable_win32" = "xcheck"; then :
12920 if test "x$platform_win32" = "xyes"; then :
12928 if test "x$enable_osx" = "xcheck"; then :
12930 if test "x$platform_quartz" = "xyes"; then :
12938 if test "x$enable_gdk" = "xcheck"; then :
12940 if test -n "$PKG_CONFIG" && \
12941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-3.0 >= 3.3.18\""; } >&5
12942 ($PKG_CONFIG --exists --print-errors "gdk-3.0 >= 3.3.18") 2>&5
12944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12945 test $ac_status = 0; }; then
12953 if test "x$enable_x11" = "xyes"; then :
12955 CLUTTER_BACKENDS="$CLUTTER_BACKENDS x11"
12956 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS x11"
12962 # we use fontconfig API and pango-ft2 when the fontconfig
12963 # configuration changes; we don't expose any API for this
12964 # so we add pango-ft2 to the private Requires.
12965 if test -n "$PKG_CONFIG" && \
12966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
12967 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
12969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12970 test $ac_status = 0; }; then
12973 $as_echo "#define HAVE_PANGO_FT2 1" >>confdefs.h
12975 BACKEND_PC_FILES_PRIVATE="$BACKEND_PC_FILES_PRIVATE pangoft2"
12980 $as_echo "#define HAVE_CLUTTER_GLX 1" >>confdefs.h
12985 if test "x$enable_gdk" = "xyes"; then :
12987 CLUTTER_BACKENDS="$CLUTTER_BACKENDS gdk"
12988 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS gdk"
12993 BACKEND_PC_FILES="$BACKEND_PC_FILES gdk-3.0"
12997 if test "x$enable_wayland" = "xyes"; then :
12999 CLUTTER_BACKENDS="$CLUTTER_BACKENDS wayland"
13000 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS wayland"
13002 experimental_backend="yes"
13006 if test -n "$PKG_CONFIG" && \
13007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client xkbcommon gdk-pixbuf-2.0\""; } >&5
13008 ($PKG_CONFIG --exists --print-errors "wayland-client xkbcommon gdk-pixbuf-2.0") 2>&5
13010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13011 test $ac_status = 0; }; then
13013 BACKEND_PC_FILES="$BACKEND_PC_FILES wayland-client xkbcommon"
13014 BACKEND_PC_FILES_PRIVATE="$BACKEND_PC_FILES_PRIVATE gdk-pixbuf-2.0"
13019 $as_echo "#define HAVE_CLUTTER_WAYLAND 1" >>confdefs.h
13024 # Check whether --enable-wayland-compositor was given.
13025 if test "${enable_wayland_compositor+set}" = set; then :
13026 enableval=$enable_wayland_compositor;
13028 if test "x$SUPPORT_EGL" = "x1"; then :
13029 enable_wayland_compositor=yes
13031 enable_wayland_compositor=no
13037 if test "x$enable_wayland_compositor" = "xyes"; then :
13039 if test -n "$PKG_CONFIG" && \
13040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-server\""; } >&5
13041 ($PKG_CONFIG --exists --print-errors "wayland-server") 2>&5
13043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13044 test $ac_status = 0; }; then
13045 BACKEND_PC_FILES="$BACKEND_PC_FILES wayland-server"
13047 SUPPORT_WAYLAND_COMPOSITOR=1
13048 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13049 #define CLUTTER_HAS_WAYLAND_COMPOSITOR_SUPPORT 1"
13051 $as_echo "#define HAVE_CLUTTER_WAYLAND_COMPOSITOR 1" >>confdefs.h
13056 if test "x$SUPPORT_WAYLAND_COMPOSITOR" = "x1"; then
13057 SUPPORT_WAYLAND_COMPOSITOR_TRUE=
13058 SUPPORT_WAYLAND_COMPOSITOR_FALSE='#'
13060 SUPPORT_WAYLAND_COMPOSITOR_TRUE='#'
13061 SUPPORT_WAYLAND_COMPOSITOR_FALSE=
13065 if test "x$enable_wayland_compositor" != "xyes" -a "x$enable_wayland" != "xyes"; then :
13067 # The wayland headers introduce so much symbol shadowing that build
13068 # logs become incomprehensible with -Wshadow so we only use it for
13069 # non-wayland builds.
13070 MAINTAINER_COMPILER_FLAGS="-Wshadow"
13074 if test "x$enable_cex100" = "xyes"; then :
13076 CLUTTER_BACKENDS="$CLUTTER_BACKENDS cex100"
13078 experimental_backend="yes"
13084 for ac_header in libgdl.h
13086 ac_fn_c_check_header_mongrel "$LINENO" "libgdl.h" "ac_cv_header_libgdl_h" "$ac_includes_default"
13087 if test "x$ac_cv_header_libgdl_h" = xyes; then :
13088 cat >>confdefs.h <<_ACEOF
13089 #define HAVE_LIBGDL_H 1
13097 if test "x$have_gdl" = "xno"; then :
13099 for ac_header in CE4100/libgdl.h
13101 ac_fn_c_check_header_mongrel "$LINENO" "CE4100/libgdl.h" "ac_cv_header_CE4100_libgdl_h" "$ac_includes_default"
13102 if test "x$ac_cv_header_CE4100_libgdl_h" = xyes; then :
13103 cat >>confdefs.h <<_ACEOF
13104 #define HAVE_CE4100_LIBGDL_H 1
13107 FLAVOUR_CFLAGS="-I/usr/include/CE4100"
13109 CLUTTER_CEX100_LIBGDL_PREFIX=CE4100/
13118 if test "x$have_gdl" = "xno"; then :
13119 as_fn_error $? "libgdl.h not found but the CEx100 backend has been explicitly enabled" "$LINENO" 5
13124 FLAVOUR_LIBS="$FLAVOUR_LIBS -lgdl"
13127 $as_echo "#define CLUTTER_EGL_BACKEND_CEX100 1" >>confdefs.h
13130 $as_echo "#define CLUTTER_EGL_BACKEND_GENERIC 1" >>confdefs.h
13133 $as_echo "#define HAVE_CLUTTER_EGL 1" >>confdefs.h
13138 if test "x$enable_egl" = "xyes"; then :
13140 CLUTTER_BACKENDS="$CLUTTER_BACKENDS egl"
13142 experimental_backend="yes"
13147 FLAVOUR_LIBS="$FLAVOUR_LIBS $TSLIB_LIBS $EVDEV_LIBS"
13148 FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS $TSLIB_CFLAGS $EVDEV_CFLAGS"
13151 $as_echo "#define CLUTTER_EGL_BACKEND_GENERIC 1" >>confdefs.h
13155 $as_echo "#define HAVE_CLUTTER_EGL 1" >>confdefs.h
13160 if test "x$enable_osx" = "xyes"; then :
13162 CLUTTER_BACKENDS="$CLUTTER_BACKENDS osx"
13163 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS osx"
13166 $as_echo "#define HAVE_CLUTTER_OSX 1" >>confdefs.h
13169 FLAVOUR_LIBS="$FLAVOUR_LIBS -framework Cocoa -framework OpenGL"
13175 if test "x$enable_win32" = "xyes"; then :
13177 CLUTTER_BACKENDS="$CLUTTER_BACKENDS win32"
13178 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS win32"
13181 $as_echo "#define HAVE_CLUTTER_WIN32 1" >>confdefs.h
13184 FLAVOUR_LIBS="$FLAVOUR_LIBS -lopengl32 -lgdi32 -lwinmm"
13185 FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS -D_WIN32_WINNT=0x0500"
13187 if test -n "$ac_tool_prefix"; then
13188 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13189 set dummy ${ac_tool_prefix}windres; ac_word=$2
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13191 $as_echo_n "checking for $ac_word... " >&6; }
13192 if ${ac_cv_prog_WINDRES+:} false; then :
13193 $as_echo_n "(cached) " >&6
13195 if test -n "$WINDRES"; then
13196 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
13198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13199 for as_dir in $PATH
13202 test -z "$as_dir" && as_dir=.
13203 for ac_exec_ext in '' $ac_executable_extensions; do
13204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13205 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
13206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13215 WINDRES=$ac_cv_prog_WINDRES
13216 if test -n "$WINDRES"; then
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
13218 $as_echo "$WINDRES" >&6; }
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13221 $as_echo "no" >&6; }
13226 if test -z "$ac_cv_prog_WINDRES"; then
13227 ac_ct_WINDRES=$WINDRES
13228 # Extract the first word of "windres", so it can be a program name with args.
13229 set dummy windres; ac_word=$2
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13231 $as_echo_n "checking for $ac_word... " >&6; }
13232 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
13233 $as_echo_n "(cached) " >&6
13235 if test -n "$ac_ct_WINDRES"; then
13236 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
13238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13239 for as_dir in $PATH
13242 test -z "$as_dir" && as_dir=.
13243 for ac_exec_ext in '' $ac_executable_extensions; do
13244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13245 ac_cv_prog_ac_ct_WINDRES="windres"
13246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13255 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
13256 if test -n "$ac_ct_WINDRES"; then
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
13258 $as_echo "$ac_ct_WINDRES" >&6; }
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13261 $as_echo "no" >&6; }
13264 if test "x$ac_ct_WINDRES" = x; then
13265 WINDRES="as_fn_error $? "*** windres is required" "$LINENO" 5"
13267 case $cross_compiling:$ac_tool_warned in
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13271 ac_tool_warned=yes ;;
13273 WINDRES=$ac_ct_WINDRES
13276 WINDRES="$ac_cv_prog_WINDRES"
13284 if test "x$CLUTTER_BACKENDS" = "x"; then :
13286 as_fn_error $? "No backend enabled. You need to enable at least one backend." "$LINENO" 5
13290 # additional input backends
13292 # Check whether --enable-tslib-input was given.
13293 if test "${enable_tslib_input+set}" = set; then :
13294 enableval=$enable_tslib_input; enable_tslib=$enableval
13299 # Check whether --enable-evdev-input was given.
13300 if test "${enable_evdev_input+set}" = set; then :
13301 enableval=$enable_evdev_input; enable_evdev=$enableval
13307 if test "x$enable_tslib" = "xyes"; then :
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
13312 $as_echo_n "checking for TSLIB... " >&6; }
13314 if test -n "$TSLIB_CFLAGS"; then
13315 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
13316 elif test -n "$PKG_CONFIG"; then
13317 if test -n "$PKG_CONFIG" && \
13318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
13319 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
13321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13322 test $ac_status = 0; }; then
13323 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-1.0" 2>/dev/null`
13330 if test -n "$TSLIB_LIBS"; then
13331 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
13332 elif test -n "$PKG_CONFIG"; then
13333 if test -n "$PKG_CONFIG" && \
13334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
13335 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
13337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13338 test $ac_status = 0; }; then
13339 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-1.0" 2>/dev/null`
13349 if test $pkg_failed = yes; then
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13351 $as_echo "no" >&6; }
13353 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13354 _pkg_short_errors_supported=yes
13356 _pkg_short_errors_supported=no
13358 if test $_pkg_short_errors_supported = yes; then
13359 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib-1.0" 2>&1`
13361 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib-1.0" 2>&1`
13363 # Put the nasty error message in config.log where it belongs
13364 echo "$TSLIB_PKG_ERRORS" >&5
13367 elif test $pkg_failed = untried; then
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13369 $as_echo "no" >&6; }
13372 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
13373 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13375 $as_echo "yes" >&6; }
13378 if test "x$have_tslib" = "xyes"; then :
13380 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS tslib"
13381 experimental_input_backend="yes"
13383 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
13391 if test "x$enable_evdev" = "xyes"; then :
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVDEV" >&5
13396 $as_echo_n "checking for EVDEV... " >&6; }
13398 if test -n "$EVDEV_CFLAGS"; then
13399 pkg_cv_EVDEV_CFLAGS="$EVDEV_CFLAGS"
13400 elif test -n "$PKG_CONFIG"; then
13401 if test -n "$PKG_CONFIG" && \
13402 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 xkbcommon\""; } >&5
13403 ($PKG_CONFIG --exists --print-errors "gudev-1.0 xkbcommon") 2>&5
13405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13406 test $ac_status = 0; }; then
13407 pkg_cv_EVDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0 xkbcommon" 2>/dev/null`
13414 if test -n "$EVDEV_LIBS"; then
13415 pkg_cv_EVDEV_LIBS="$EVDEV_LIBS"
13416 elif test -n "$PKG_CONFIG"; then
13417 if test -n "$PKG_CONFIG" && \
13418 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 xkbcommon\""; } >&5
13419 ($PKG_CONFIG --exists --print-errors "gudev-1.0 xkbcommon") 2>&5
13421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13422 test $ac_status = 0; }; then
13423 pkg_cv_EVDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0 xkbcommon" 2>/dev/null`
13433 if test $pkg_failed = yes; then
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13435 $as_echo "no" >&6; }
13437 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13438 _pkg_short_errors_supported=yes
13440 _pkg_short_errors_supported=no
13442 if test $_pkg_short_errors_supported = yes; then
13443 EVDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0 xkbcommon" 2>&1`
13445 EVDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0 xkbcommon" 2>&1`
13447 # Put the nasty error message in config.log where it belongs
13448 echo "$EVDEV_PKG_ERRORS" >&5
13451 elif test $pkg_failed = untried; then
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13453 $as_echo "no" >&6; }
13456 EVDEV_CFLAGS=$pkg_cv_EVDEV_CFLAGS
13457 EVDEV_LIBS=$pkg_cv_EVDEV_LIBS
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13459 $as_echo "yes" >&6; }
13462 if test "x$have_evdev" = "xyes"; then :
13464 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS evdev"
13465 BACKEND_PC_FILES="$BACKEND_PC_FILES gudev-1.0 xkbcommon"
13466 experimental_input_backend="yes"
13468 $as_echo "#define HAVE_EVDEV 1" >>confdefs.h
13476 # conditionals for use in automake files...
13477 if test "x$SUPPORT_GLX" = "x1"; then
13479 SUPPORT_GLX_FALSE='#'
13481 SUPPORT_GLX_TRUE='#'
13485 if test "x$SUPPORT_X11" = "x1"; then
13487 SUPPORT_X11_FALSE='#'
13489 SUPPORT_X11_TRUE='#'
13493 if test "x$SUPPORT_GDK" = "x1"; then
13495 SUPPORT_GDK_FALSE='#'
13497 SUPPORT_GDK_TRUE='#'
13501 if test "x$SUPPORT_EGL" = "x1"; then
13503 SUPPORT_EGL_FALSE='#'
13505 SUPPORT_EGL_TRUE='#'
13509 if test "x$SUPPORT_OSX" = "x1"; then
13511 SUPPORT_OSX_FALSE='#'
13513 SUPPORT_OSX_TRUE='#'
13517 if test "x$SUPPORT_WIN32" = "x1"; then
13518 SUPPORT_WIN32_TRUE=
13519 SUPPORT_WIN32_FALSE='#'
13521 SUPPORT_WIN32_TRUE='#'
13522 SUPPORT_WIN32_FALSE=
13525 if test "x$SUPPORT_CEX100" = "x1"; then
13526 SUPPORT_CEX100_TRUE=
13527 SUPPORT_CEX100_FALSE='#'
13529 SUPPORT_CEX100_TRUE='#'
13530 SUPPORT_CEX100_FALSE=
13533 if test "x$SUPPORT_WAYLAND" = "x1"; then
13534 SUPPORT_WAYLAND_TRUE=
13535 SUPPORT_WAYLAND_FALSE='#'
13537 SUPPORT_WAYLAND_TRUE='#'
13538 SUPPORT_WAYLAND_FALSE=
13542 if test "x$SUPPORT_COGL" = "x1"; then
13550 if test "x$have_tslib" = "xyes"; then
13552 USE_TSLIB_FALSE='#'
13558 if test "x$have_evdev" = "xyes"; then
13560 USE_EVDEV_FALSE='#'
13566 if test "x$have_gdl" = "xyes"; then
13575 if test "x$have_evdev" = "xyes" -o "x$SUPPORT_WAYLAND" = "x1"; then
13576 NEED_XKB_UTILS_TRUE=
13577 NEED_XKB_UTILS_FALSE='#'
13579 NEED_XKB_UTILS_TRUE='#'
13580 NEED_XKB_UTILS_FALSE=
13585 $as_echo "#define COGL_ENABLE_EXPERIMENTAL_2_0_API 1" >>confdefs.h
13588 CLUTTER_BACKENDS=${CLUTTER_BACKENDS#* }
13591 CLUTTER_INPUT_BACKENDS=${CLUTTER_INPUT_BACKENDS#* }
13594 cat >confcache <<\_ACEOF
13595 # This file is a shell script that caches the results of configure
13596 # tests run on this system so they can be shared between configure
13597 # scripts and configure runs, see configure's option --config-cache.
13598 # It is not useful on other systems. If it contains results you don't
13599 # want to keep, you may remove or edit it.
13601 # config.status only pays attention to the cache file if you give it
13602 # the --recheck option to rerun configure.
13604 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13605 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13606 # following values.
13610 # The following way of writing the cache mishandles newlines in values,
13611 # but we know of no workaround that is simple, portable, and efficient.
13612 # So, we kill variables containing newlines.
13613 # Ultrix sh set writes to stderr and can't be redirected directly,
13614 # and sets the high bit in the cache file unless we assign to the vars.
13616 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13617 eval ac_val=\$$ac_var
13621 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13622 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13625 _ | IFS | as_nl) ;; #(
13626 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13627 *) { eval $ac_var=; unset $ac_var;} ;;
13633 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13634 *${as_nl}ac_space=\ *)
13635 # `set' does not quote correctly, so add quotes: double-quote
13636 # substitution turns \\\\ into \\, and sed turns \\ into \.
13639 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13642 # `set' quotes correctly as required by POSIX, so do not add quotes.
13643 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13652 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13654 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13656 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13657 if test -w "$cache_file"; then
13658 if test "x$cache_file" != "x/dev/null"; then
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13660 $as_echo "$as_me: updating cache $cache_file" >&6;}
13661 if test ! -f "$cache_file" || test -h "$cache_file"; then
13662 cat confcache >"$cache_file"
13664 case $cache_file in #(
13666 mv -f confcache "$cache_file"$$ &&
13667 mv -f "$cache_file"$$ "$cache_file" ;; #(
13669 mv -f confcache "$cache_file" ;;
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13675 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13681 # windowing systems
13682 if test "x$SUPPORT_X11" = "x1"; then :
13683 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13684 #define CLUTTER_WINDOWING_X11 \"x11\"
13685 #define CLUTTER_INPUT_X11 \"x11\""
13687 if test "x$SUPPORT_GDK" = "x1"; then :
13688 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13689 #define CLUTTER_WINDOWING_GDK \"gdk\"
13690 #define CLUTTER_INPUT_GDK \"gdk\""
13692 if test "x$SUPPORT_GLX" = "x1"; then :
13693 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13694 #define CLUTTER_WINDOWING_GLX \"glx\""
13696 if test "x$SUPPORT_EGL" = "x1"; then :
13697 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13698 #define CLUTTER_WINDOWING_EGL \"eglnative\""
13700 if test "x$SUPPORT_WAYLAND" = "x1"; then :
13701 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13702 #define CLUTTER_WINDOWING_WAYLAND \"wayland\""
13704 if test "x$SUPPORT_OSX" = "x1"; then :
13705 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13706 #define CLUTTER_WINDOWING_OSX \"osx\"
13707 #define CLUTTER_INPUT_OSX \"osx\""
13709 if test "x$SUPPORT_WIN32" = "x1"; then :
13710 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13711 #define CLUTTER_WINDOWING_WIN32 \"win32\"
13712 #define CLUTTER_INPUT_WIN32 \"win32\""
13714 if test "x$SUPPORT_CEX100" = "x1"; then :
13715 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13716 #define CLUTTER_WINDOWING_CEX100 \"cex100\""
13718 if test "x$SUPPORT_EVDEV" = "x1"; then :
13719 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13720 #define CLUTTER_INPUT_EVDEV \"evdev\""
13722 if test "x$SUPPORT_TSLIB" = "x1"; then :
13723 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13724 #define CLUTTER_INPUT_TSLIB \"tslib\""
13726 if test "x$SUPPORT_WAYLAND" = "x1"; then :
13727 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13728 #define CLUTTER_INPUT_WAYLAND \"wayland\""
13731 # the 'null' input backend is special
13732 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13733 #define CLUTTER_INPUT_NULL \"null\""
13737 CLUTTER_WINSYS=deprecated
13739 CLUTTER_WINSYS_BASE=deprecated
13741 CLUTTER_STAGE_TYPE=deprecated
13743 CLUTTER_SONAME_INFIX=deprecated
13745 CLUTTER_FLAVOUR=deprecated
13747 CLUTTER_COGL=deprecated
13749 COGL_DRIVER=deprecated
13756 if test "x$SUPPORT_X11" = "x1"; then :
13758 # base X11 includes and libraries
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
13760 $as_echo_n "checking for X11... " >&6; }
13762 # start with pkg-config
13763 if test -n "$PKG_CONFIG" && \
13764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
13765 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
13767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13768 test $ac_status = 0; }; then
13773 if test "x$have_x11" = "xyes"; then :
13777 # we actually need to ask for CFLAGS and LIBS
13778 X11_CFLAGS=`$PKG_CONFIG --cflags $X11_PC_FILES`
13779 X11_LIBS=`$PKG_CONFIG --libs $X11_PC_FILES`
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13782 $as_echo "found" >&6; }
13786 # no pkg-config, let's go old school
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13788 $as_echo_n "checking for X... " >&6; }
13791 # Check whether --with-x was given.
13792 if test "${with_x+set}" = set; then :
13796 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13797 if test "x$with_x" = xno; then
13798 # The user explicitly disabled X.
13801 case $x_includes,$x_libraries in #(
13802 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13803 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
13804 $as_echo_n "(cached) " >&6
13806 # One or both of the vars are not set, and there is no cached value.
13807 ac_x_includes=no ac_x_libraries=no
13808 rm -f -r conftest.dir
13809 if mkdir conftest.dir; then
13811 cat >Imakefile <<'_ACEOF'
13813 @echo incroot='${INCROOT}'
13815 @echo usrlibdir='${USRLIBDIR}'
13817 @echo libdir='${LIBDIR}'
13819 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13820 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13821 for ac_var in incroot usrlibdir libdir; do
13822 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13824 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13825 for ac_extension in a so sl dylib la dll; do
13826 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13827 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13828 ac_im_usrlibdir=$ac_im_libdir; break
13831 # Screen out bogus values from the imake configuration. They are
13832 # bogus both because they are the default anyway, and because
13833 # using them would break gcc on systems where it needs fixed includes.
13834 case $ac_im_incroot in
13835 /usr/include) ac_x_includes= ;;
13836 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13838 case $ac_im_usrlibdir in
13839 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13840 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13844 rm -f -r conftest.dir
13847 # Standard set of common directories for X headers.
13848 # Check X11 before X11Rn because it is often a symlink to the current release.
13862 /usr/local/X11/include
13863 /usr/local/X11R7/include
13864 /usr/local/X11R6/include
13865 /usr/local/X11R5/include
13866 /usr/local/X11R4/include
13868 /usr/local/include/X11
13869 /usr/local/include/X11R7
13870 /usr/local/include/X11R6
13871 /usr/local/include/X11R5
13872 /usr/local/include/X11R4
13876 /usr/XFree86/include/X11
13880 /usr/unsupported/include
13881 /usr/athena/include
13882 /usr/local/x11r5/include
13883 /usr/lpp/Xamples/include
13885 /usr/openwin/include
13886 /usr/openwin/share/include'
13888 if test "$ac_x_includes" = no; then
13889 # Guess where to find include files, by looking for Xlib.h.
13890 # First, try using that file with no special directory specified.
13891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13893 #include <X11/Xlib.h>
13895 if ac_fn_c_try_cpp "$LINENO"; then :
13896 # We can compile using X headers with no special include directory.
13899 for ac_dir in $ac_x_header_dirs; do
13900 if test -r "$ac_dir/X11/Xlib.h"; then
13901 ac_x_includes=$ac_dir
13906 rm -f conftest.err conftest.i conftest.$ac_ext
13907 fi # $ac_x_includes = no
13909 if test "$ac_x_libraries" = no; then
13910 # Check for the libraries.
13911 # See if we find them without any special options.
13912 # Don't add to $LIBS permanently.
13915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13917 #include <X11/Xlib.h>
13926 if ac_fn_c_try_link "$LINENO"; then :
13928 # We can link X programs with no special library path.
13932 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13934 # Don't even attempt the hair of trying to link an X program!
13935 for ac_extension in a so sl dylib la dll; do
13936 if test -r "$ac_dir/libX11.$ac_extension"; then
13937 ac_x_libraries=$ac_dir
13943 rm -f core conftest.err conftest.$ac_objext \
13944 conftest$ac_exeext conftest.$ac_ext
13945 fi # $ac_x_libraries = no
13947 case $ac_x_includes,$ac_x_libraries in #(
13948 no,* | *,no | *\'*)
13949 # Didn't find X, or a directory has "'" in its name.
13950 ac_cv_have_x="have_x=no";; #(
13952 # Record where we found X for the cache.
13953 ac_cv_have_x="have_x=yes\
13954 ac_x_includes='$ac_x_includes'\
13955 ac_x_libraries='$ac_x_libraries'"
13961 eval "$ac_cv_have_x"
13964 if test "$have_x" != yes; then
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13966 $as_echo "$have_x" >&6; }
13969 # If each of the values was on the command line, it overrides each guess.
13970 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13971 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13972 # Update the cache value to reflect the command line values.
13973 ac_cv_have_x="have_x=yes\
13974 ac_x_includes='$x_includes'\
13975 ac_x_libraries='$x_libraries'"
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13977 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13981 if test "x$no_x" = "xyes"; then :
13982 as_fn_error $? "No X11 Libraries found" "$LINENO" 5
13985 if test "x$x_includes" != "xNONE" && test -n "$x_includes"; then :
13986 X11_CFLAGS=-I`echo $x_includes | sed -e "s/:/ -I/g"`
13989 if test "x$x_libraries" != "xNONE" && test -n "$x_libraries"; then :
13990 X11_LIBS=-L`echo $x_libraries | sed -e "s/:/ -L/g"`
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13994 $as_echo "found" >&6; }
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT extension" >&5
14004 $as_echo_n "checking for XEXT extension... " >&6; }
14005 if test -n "$PKG_CONFIG" && \
14006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
14007 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
14009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14010 test $ac_status = 0; }; then
14015 if test "x$have_xext" = "xyes"; then :
14018 $as_echo "#define HAVE_XEXT 1" >>confdefs.h
14021 X11_LIBS="$X11_LIBS -lXext"
14022 X11_PC_FILES="$X11_PC_FILES xext"
14023 X11_EXTS="$X11_EXTS xext"
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14026 $as_echo "found" >&6; }
14029 as_fn_error $? "Not found" "$LINENO" 5
14033 # XFIXES (required)
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFIXES extension >= $XFIXES_REQ_VERSION" >&5
14035 $as_echo_n "checking for XFIXES extension >= $XFIXES_REQ_VERSION... " >&6; }
14036 if test -n "$PKG_CONFIG" && \
14037 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes >= \$XFIXES_REQ_VERSION\""; } >&5
14038 ($PKG_CONFIG --exists --print-errors "xfixes >= $XFIXES_REQ_VERSION") 2>&5
14040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14041 test $ac_status = 0; }; then
14046 if test "x$have_xfixes" = "xyes"; then :
14049 $as_echo "#define HAVE_XFIXES 1" >>confdefs.h
14052 X11_LIBS="$X11_LIBS -lXfixes"
14053 X11_PC_FILES="$X11_PC_FILES xfixes >= $XFIXES_REQ_VERSION"
14054 X11_EXTS="$X11_EXTS xfixes"
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14057 $as_echo "found" >&6; }
14060 as_fn_error $? "Not found" "$LINENO" 5
14064 # XDAMAGE (required)
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDAMAGE extension" >&5
14066 $as_echo_n "checking for XDAMAGE extension... " >&6; }
14067 if test -n "$PKG_CONFIG" && \
14068 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdamage\""; } >&5
14069 ($PKG_CONFIG --exists --print-errors "xdamage") 2>&5
14071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14072 test $ac_status = 0; }; then
14077 if test "x$have_xdamage" = "xyes"; then :
14080 $as_echo "#define HAVE_XDAMAGE 1" >>confdefs.h
14083 X11_LIBS="$X11_LIBS -lXdamage"
14084 X11_PC_FILES="$X11_PC_FILES xdamage"
14085 X11_EXTS="$X11_EXTS xdamage"
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14088 $as_echo "found" >&6; }
14091 as_fn_error $? "not found" "$LINENO" 5
14095 # XCOMPOSITE (optional)
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCOMPOSITE extension >= $XCOMPOSITE_REQ_VERSION" >&5
14097 $as_echo_n "checking for XCOMPOSITE extension >= $XCOMPOSITE_REQ_VERSION... " >&6; }
14098 if test -n "$PKG_CONFIG" && \
14099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcomposite >= \$XCOMPOSITE_REQ_VERSION\""; } >&5
14100 ($PKG_CONFIG --exists --print-errors "xcomposite >= $XCOMPOSITE_REQ_VERSION") 2>&5
14102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14103 test $ac_status = 0; }; then
14104 have_xcomposite=yes
14108 if test "x$have_xcomposite" = "xyes"; then :
14111 $as_echo "#define HAVE_XCOMPOSITE 1" >>confdefs.h
14114 X11_LIBS="$X11_LIBS -lXcomposite"
14115 X11_PC_FILES="$X11_PC_FILES xcomposite >= $XCOMPOSITE_REQ_VERSION"
14116 X11_EXTS="$X11_EXTS xcomposite"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14119 $as_echo "found" >&6; }
14122 as_fn_error $? "not found" "$LINENO" 5
14126 # X Generic Extensions (optional)
14127 clutter_save_CPPFLAGS="$CPPFLAGS"
14128 CPPFLAGS="$CPPFLAGS $X11_CFLAGS"
14130 clutter_save_LIBS="$LIBS"
14131 LIBS="$LIBS $X11_LIBS"
14134 ac_fn_c_check_func "$LINENO" "XGetEventData" "ac_cv_func_XGetEventData"
14135 if test "x$ac_cv_func_XGetEventData" = xyes; then :
14138 $as_echo "#define HAVE_XGE 1" >>confdefs.h
14141 X11_EXTS="$X11_EXTS xge"
14146 CPPFLAGS="$clutter_save_CPPFLAGS"
14147 LIBS="$clutter_save_LIBS"
14150 # Check whether --enable-xinput was given.
14151 if test "${enable_xinput+set}" = set; then :
14152 enableval=$enable_xinput;
14158 if test "x$enable_xinput" = "xyes"; then :
14160 if test -n "$PKG_CONFIG" && \
14161 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi\""; } >&5
14162 ($PKG_CONFIG --exists --print-errors "xi") 2>&5
14164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14165 test $ac_status = 0; }; then
14177 case $have_xinput in #(
14180 for ac_header in X11/extensions/XInput2.h
14182 ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$ac_includes_default"
14183 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes; then :
14184 cat >>confdefs.h <<_ACEOF
14185 #define HAVE_X11_EXTENSIONS_XINPUT2_H 1
14190 $as_echo "#define HAVE_XINPUT_2 1" >>confdefs.h
14197 $as_echo "#define HAVE_XINPUT 1" >>confdefs.h
14205 clutter_save_LIBS="$LIBS"
14208 ac_fn_c_check_func "$LINENO" "XIAllowTouchEvents" "ac_cv_func_XIAllowTouchEvents"
14209 if test "x$ac_cv_func_XIAllowTouchEvents" = xyes; then :
14211 ac_fn_c_check_member "$LINENO" "XIScrollClassInfo" "number" "ac_cv_member_XIScrollClassInfo_number" "#include <X11/extensions/XInput2.h>
14213 if test "x$ac_cv_member_XIScrollClassInfo_number" = xyes; then :
14215 have_xinput_2_2=yes
14217 $as_echo "#define HAVE_XINPUT_2_2 1" >>confdefs.h
14227 LIBS="$clutter_save_LIBS"
14229 X11_LIBS="$X11_LIBS $XINPUT_LIBS"
14230 X11_PC_FILES="$X11_PC_FILES xi"
14232 if test "x$have_xinput_2_2" = "xyes"; then :
14233 X11_EXTS="$X11_EXTS xi2.2"
14235 X11_EXTS="$X11_EXTS xi2.0"
14239 have_xinput2=no ;; #(
14241 as_fn_error $? "Invalid argument for --enable-xinput" "$LINENO" 5
14248 clutter_save_CPPFLAGS="$CPPFLAGS"
14249 CPPFLAGS="$CPPFLAGS $X11_CFLAGS"
14251 clutter_save_LIBS="$LIBS"
14252 LIBS="$LIBS $X11_LIBS"
14255 ac_fn_c_check_func "$LINENO" "XkbQueryExtension" "ac_cv_func_XkbQueryExtension"
14256 if test "x$ac_cv_func_XkbQueryExtension" = xyes; then :
14259 $as_echo "#define HAVE_XKB 1" >>confdefs.h
14263 X11_EXTS="$X11_EXTS xkb"
14268 CPPFLAGS="$clutter_save_CPPFLAGS"
14269 LIBS="$clutter_save_LIBS"
14272 BACKEND_PC_FILES="$BACKEND_PC_FILES $X11_PC_FILES"
14273 FLAVOUR_LIBS="$FLAVOUR_LIBS $X11_LIBS"
14274 FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS $X11_CFLAGS"
14279 if test "x$have_xinput2" = "xyes"; then
14281 BUILD_XI2_FALSE='#'
14287 if test "x$x11_tests" = "xyes"; then
14289 X11_TESTS_FALSE='#'
14296 X11_EXTS=${X11_EXTS#* }
14298 cat >confcache <<\_ACEOF
14299 # This file is a shell script that caches the results of configure
14300 # tests run on this system so they can be shared between configure
14301 # scripts and configure runs, see configure's option --config-cache.
14302 # It is not useful on other systems. If it contains results you don't
14303 # want to keep, you may remove or edit it.
14305 # config.status only pays attention to the cache file if you give it
14306 # the --recheck option to rerun configure.
14308 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14309 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14310 # following values.
14314 # The following way of writing the cache mishandles newlines in values,
14315 # but we know of no workaround that is simple, portable, and efficient.
14316 # So, we kill variables containing newlines.
14317 # Ultrix sh set writes to stderr and can't be redirected directly,
14318 # and sets the high bit in the cache file unless we assign to the vars.
14320 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14321 eval ac_val=\$$ac_var
14325 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14326 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14329 _ | IFS | as_nl) ;; #(
14330 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14331 *) { eval $ac_var=; unset $ac_var;} ;;
14337 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14338 *${as_nl}ac_space=\ *)
14339 # `set' does not quote correctly, so add quotes: double-quote
14340 # substitution turns \\\\ into \\, and sed turns \\ into \.
14343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14346 # `set' quotes correctly as required by POSIX, so do not add quotes.
14347 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14356 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14358 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14360 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14361 if test -w "$cache_file"; then
14362 if test "x$cache_file" != "x/dev/null"; then
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14364 $as_echo "$as_me: updating cache $cache_file" >&6;}
14365 if test ! -f "$cache_file" || test -h "$cache_file"; then
14366 cat confcache >"$cache_file"
14368 case $cache_file in #(
14370 mv -f confcache "$cache_file"$$ &&
14371 mv -f "$cache_file"$$ "$cache_file" ;; #(
14373 mv -f confcache "$cache_file" ;;
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14379 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14386 # Check whether --enable-gdk-pixbuf was given.
14387 if test "${enable_gdk_pixbuf+set}" = set; then :
14388 enableval=$enable_gdk_pixbuf; enable_pixbuf=$enable_val
14394 case $enable_pixbuf in #(
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
14400 $as_echo_n "checking for GDK_PIXBUF... " >&6; }
14402 if test -n "$GDK_PIXBUF_CFLAGS"; then
14403 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
14404 elif test -n "$PKG_CONFIG"; then
14405 if test -n "$PKG_CONFIG" && \
14406 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14407 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14410 test $ac_status = 0; }; then
14411 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
14418 if test -n "$GDK_PIXBUF_LIBS"; then
14419 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
14420 elif test -n "$PKG_CONFIG"; then
14421 if test -n "$PKG_CONFIG" && \
14422 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14423 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14426 test $ac_status = 0; }; then
14427 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
14437 if test $pkg_failed = yes; then
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14439 $as_echo "no" >&6; }
14441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14442 _pkg_short_errors_supported=yes
14444 _pkg_short_errors_supported=no
14446 if test $_pkg_short_errors_supported = yes; then
14447 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdk-pixbuf-2.0" 2>&1`
14449 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdk-pixbuf-2.0" 2>&1`
14451 # Put the nasty error message in config.log where it belongs
14452 echo "$GDK_PIXBUF_PKG_ERRORS" >&5
14454 as_fn_error $? "Package requirements (gdk-pixbuf-2.0) were not met:
14456 $GDK_PIXBUF_PKG_ERRORS
14458 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14459 installed software in a non-standard prefix.
14461 Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
14462 and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
14463 See the pkg-config man page for more details." "$LINENO" 5
14465 elif test $pkg_failed = untried; then
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14467 $as_echo "no" >&6; }
14468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14470 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14471 is in your PATH or set the PKG_CONFIG environment variable to the full
14472 path to pkg-config.
14474 Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
14475 and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
14476 See the pkg-config man page for more details.
14478 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14479 See \`config.log' for more details" "$LINENO" 5; }
14482 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
14483 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14485 $as_echo "yes" >&6; }
14501 if test "x$pixbuf_tests" = "xyes"; then
14503 PIXBUF_TESTS_FALSE='#'
14505 PIXBUF_TESTS_TRUE='#'
14506 PIXBUF_TESTS_FALSE=
14512 # Check whether --enable-debug was given.
14513 if test "${enable_debug+set}" = set; then :
14514 enableval=$enable_debug;
14516 enable_debug=minimum
14520 case $enable_debug in #(
14523 test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
14524 CLUTTER_DEBUG_CFLAGS="-DCLUTTER_ENABLE_DEBUG"
14527 CLUTTER_DEBUG_CFLAGS="-DCLUTTER_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS" ;; #(
14529 CLUTTER_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS" ;; #(
14531 as_fn_error $? "Unknown argument for --enable-debug" "$LINENO" 5
14540 # Check whether --enable-deprecated was given.
14541 if test "${enable_deprecated+set}" = set; then :
14542 enableval=$enable_deprecated;
14544 enable_deprecated=yes
14548 case $enable_deprecated in #(
14551 CLUTTER_DEPRECATED_CFLAGS="-DG_DISABLE_SINGLE_INCLUDES -DCOGL_DISABLE_DEPRECATED"
14555 CLUTTER_DEPRECATED_CFLAGS="-DGLIB_DISABLE_DEPRECATION_WARNINGS"
14558 as_fn_error $? "Unknown argument for --enable-deprecated" "$LINENO" 5
14566 # Check whether --enable-conformance was given.
14567 if test "${enable_conformance+set}" = set; then :
14568 enableval=$enable_conformance;
14570 enable_conformance=yes
14574 if test "x$enable_conformance" = "xyes"; then
14576 BUILD_TESTS_FALSE='#'
14578 BUILD_TESTS_TRUE='#'
14585 # Check whether --enable-profile was given.
14586 if test "${enable_profile+set}" = set; then :
14587 enableval=$enable_profile;
14593 case $enable_profile in #(
14596 if test "x$GCC" = "xyes"; then :
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PROFILE_DEP" >&5
14601 $as_echo_n "checking for PROFILE_DEP... " >&6; }
14603 if test -n "$PROFILE_DEP_CFLAGS"; then
14604 pkg_cv_PROFILE_DEP_CFLAGS="$PROFILE_DEP_CFLAGS"
14605 elif test -n "$PKG_CONFIG"; then
14606 if test -n "$PKG_CONFIG" && \
14607 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uprof-0.3\""; } >&5
14608 ($PKG_CONFIG --exists --print-errors "uprof-0.3") 2>&5
14610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14611 test $ac_status = 0; }; then
14612 pkg_cv_PROFILE_DEP_CFLAGS=`$PKG_CONFIG --cflags "uprof-0.3" 2>/dev/null`
14619 if test -n "$PROFILE_DEP_LIBS"; then
14620 pkg_cv_PROFILE_DEP_LIBS="$PROFILE_DEP_LIBS"
14621 elif test -n "$PKG_CONFIG"; then
14622 if test -n "$PKG_CONFIG" && \
14623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uprof-0.3\""; } >&5
14624 ($PKG_CONFIG --exists --print-errors "uprof-0.3") 2>&5
14626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14627 test $ac_status = 0; }; then
14628 pkg_cv_PROFILE_DEP_LIBS=`$PKG_CONFIG --libs "uprof-0.3" 2>/dev/null`
14638 if test $pkg_failed = yes; then
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14640 $as_echo "no" >&6; }
14642 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14643 _pkg_short_errors_supported=yes
14645 _pkg_short_errors_supported=no
14647 if test $_pkg_short_errors_supported = yes; then
14648 PROFILE_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "uprof-0.3" 2>&1`
14650 PROFILE_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors "uprof-0.3" 2>&1`
14652 # Put the nasty error message in config.log where it belongs
14653 echo "$PROFILE_DEP_PKG_ERRORS" >&5
14655 as_fn_error $? "Package requirements (uprof-0.3) were not met:
14657 $PROFILE_DEP_PKG_ERRORS
14659 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14660 installed software in a non-standard prefix.
14662 Alternatively, you may set the environment variables PROFILE_DEP_CFLAGS
14663 and PROFILE_DEP_LIBS to avoid the need to call pkg-config.
14664 See the pkg-config man page for more details." "$LINENO" 5
14666 elif test $pkg_failed = untried; then
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14668 $as_echo "no" >&6; }
14669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14671 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14672 is in your PATH or set the PKG_CONFIG environment variable to the full
14673 path to pkg-config.
14675 Alternatively, you may set the environment variables PROFILE_DEP_CFLAGS
14676 and PROFILE_DEP_LIBS to avoid the need to call pkg-config.
14677 See the pkg-config man page for more details.
14679 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14680 See \`config.log' for more details" "$LINENO" 5; }
14683 PROFILE_DEP_CFLAGS=$pkg_cv_PROFILE_DEP_CFLAGS
14684 PROFILE_DEP_LIBS=$pkg_cv_PROFILE_DEP_LIBS
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14686 $as_echo "yes" >&6; }
14689 CLUTTER_PROFILE_CFLAGS="-DCLUTTER_ENABLE_PROFILE $PROFILE_DEP_CFLAGS"
14690 CLUTTER_PROFILE_LDFLAGS="$PROFILE_DEP_LIBS"
14692 if test "x$enable_debug" = "xyes"; then :
14693 CLUTTER_PROFILE_CFLAGS+=" -DUPROF_DEBUG"
14698 as_fn_error $? "--enable-profile is currently only supported if using GCC" "$LINENO" 5
14704 CLUTTER_PROFILE_CFLAGS=""
14705 CLUTTER_PROFILE_LDFLAGS=""
14708 as_fn_error $? "Invalid value for --enable-profile" "$LINENO" 5
14713 if test "x$enable_profile" != "xno"; then
14725 # Extract the first word of "gcov", so it can be a program name with args.
14726 set dummy gcov; ac_word=$2
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14728 $as_echo_n "checking for $ac_word... " >&6; }
14729 if ${ac_cv_path_GCOV+:} false; then :
14730 $as_echo_n "(cached) " >&6
14734 ac_cv_path_GCOV="$GCOV" # Let the user override the test with a path.
14737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14738 for as_dir in $PATH
14741 test -z "$as_dir" && as_dir=.
14742 for ac_exec_ext in '' $ac_executable_extensions; do
14743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14744 ac_cv_path_GCOV="$as_dir/$ac_word$ac_exec_ext"
14745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14752 test -z "$ac_cv_path_GCOV" && ac_cv_path_GCOV="enable_gcov=no"
14756 GCOV=$ac_cv_path_GCOV
14757 if test -n "$GCOV"; then
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
14759 $as_echo "$GCOV" >&6; }
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14762 $as_echo "no" >&6; }
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with gcov testing" >&5
14768 $as_echo_n "checking whether to build with gcov testing... " >&6; }
14770 # Check whether --enable-gcov was given.
14771 if test "${enable_gcov+set}" = set; then :
14772 enableval=$enable_gcov;
14778 if test "x$enable_gcov" = "xyes" && test "x$GCC" = "xyes"; then :
14780 if test "x$enable_conformance" = "xno"; then :
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Conformance test suite is disabled, the coverage report will be incomplete" >&5
14782 $as_echo "$as_me: WARNING: Conformance test suite is disabled, the coverage report will be incomplete" >&2;}
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14785 $as_echo "yes" >&6; }
14789 GCOV_CFLAGS="-g -O0 -fprofile-arcs -ftest-coverage"
14790 GCOV_LDFLAGS="-lgcov"
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14794 $as_echo "no" >&6; }
14798 if test "x$enable_gcov" = "xyes"; then
14800 GCOV_ENABLED_FALSE='#'
14802 GCOV_ENABLED_TRUE='#'
14803 GCOV_ENABLED_FALSE=
14810 # use strict compiler flags only when building from git; the rules for
14811 # distcheck will take care of turning this on when making a release
14813 # Check whether --enable-maintainer-flags was given.
14814 if test "${enable_maintainer_flags+set}" = set; then :
14815 enableval=$enable_maintainer_flags;
14817 enable_maintainer_flags=no
14821 MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS
14822 -Wall -Wcast-align -Wuninitialized
14823 -Wno-strict-aliasing -Wempty-body -Wformat
14824 -Wformat-security -Wformat-nonliteral -Winit-self
14825 -Wdeclaration-after-statement -Wvla
14826 -Wpointer-arith -Wmissing-declarations
14827 -Waggregate-returns -Wcast-align
14830 case $enable_maintainer_flags in #(
14834 list=$MAINTAINER_COMPILER_FLAGS
14836 flags_unsupported=""
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
14838 $as_echo_n "checking for supported compiler flags... " >&6; }
14841 save_CFLAGS="$CFLAGS"
14842 CFLAGS="$CFLAGS $each"
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14854 if ac_fn_c_try_compile "$LINENO"; then :
14859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14860 CFLAGS="$save_CFLAGS"
14862 if test "X$flag_ok" = Xyes ; then
14863 flags_supported="$flags_supported $each"
14865 flags_unsupported="$flags_unsupported $each"
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
14869 $as_echo "$flags_supported" >&6; }
14870 if test "X$flags_unsupported" != X ; then
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
14872 $as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
14874 MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
14882 MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS -Werror"
14884 list=$MAINTAINER_COMPILER_FLAGS
14886 flags_unsupported=""
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
14888 $as_echo_n "checking for supported compiler flags... " >&6; }
14891 save_CFLAGS="$CFLAGS"
14892 CFLAGS="$CFLAGS $each"
14893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14904 if ac_fn_c_try_compile "$LINENO"; then :
14909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14910 CFLAGS="$save_CFLAGS"
14912 if test "X$flag_ok" = Xyes ; then
14913 flags_supported="$flags_supported $each"
14915 flags_unsupported="$flags_unsupported $each"
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
14919 $as_echo "$flags_supported" >&6; }
14920 if test "X$flags_unsupported" != X ; then
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
14922 $as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
14924 MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
14928 as_fn_error $? "Invalid option for --enable-maintainer-flags" "$LINENO" 5
14934 # strip leading spaces
14935 MAINTAINER_CFLAGS=${MAINTAINER_CFLAGS#* }
14938 # strip leading space
14939 BACKEND_PC_FILES=${BACKEND_PC_FILES#* }
14941 # public dependencies, will fill the Requires: field of clutter.pc
14942 CLUTTER_REQUIRES="$CLUTTER_BASE_PC_FILES $BACKEND_PC_FILES"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_DEPS" >&5
14946 $as_echo_n "checking for CLUTTER_DEPS... " >&6; }
14948 if test -n "$CLUTTER_DEPS_CFLAGS"; then
14949 pkg_cv_CLUTTER_DEPS_CFLAGS="$CLUTTER_DEPS_CFLAGS"
14950 elif test -n "$PKG_CONFIG"; then
14951 if test -n "$PKG_CONFIG" && \
14952 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES\""; } >&5
14953 ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES") 2>&5
14955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14956 test $ac_status = 0; }; then
14957 pkg_cv_CLUTTER_DEPS_CFLAGS=`$PKG_CONFIG --cflags "$CLUTTER_REQUIRES" 2>/dev/null`
14964 if test -n "$CLUTTER_DEPS_LIBS"; then
14965 pkg_cv_CLUTTER_DEPS_LIBS="$CLUTTER_DEPS_LIBS"
14966 elif test -n "$PKG_CONFIG"; then
14967 if test -n "$PKG_CONFIG" && \
14968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES\""; } >&5
14969 ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES") 2>&5
14971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14972 test $ac_status = 0; }; then
14973 pkg_cv_CLUTTER_DEPS_LIBS=`$PKG_CONFIG --libs "$CLUTTER_REQUIRES" 2>/dev/null`
14983 if test $pkg_failed = yes; then
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14985 $as_echo "no" >&6; }
14987 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14988 _pkg_short_errors_supported=yes
14990 _pkg_short_errors_supported=no
14992 if test $_pkg_short_errors_supported = yes; then
14993 CLUTTER_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$CLUTTER_REQUIRES" 2>&1`
14995 CLUTTER_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "$CLUTTER_REQUIRES" 2>&1`
14997 # Put the nasty error message in config.log where it belongs
14998 echo "$CLUTTER_DEPS_PKG_ERRORS" >&5
15000 as_fn_error $? "Package requirements ($CLUTTER_REQUIRES) were not met:
15002 $CLUTTER_DEPS_PKG_ERRORS
15004 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15005 installed software in a non-standard prefix.
15007 Alternatively, you may set the environment variables CLUTTER_DEPS_CFLAGS
15008 and CLUTTER_DEPS_LIBS to avoid the need to call pkg-config.
15009 See the pkg-config man page for more details." "$LINENO" 5
15011 elif test $pkg_failed = untried; then
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15013 $as_echo "no" >&6; }
15014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15016 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15017 is in your PATH or set the PKG_CONFIG environment variable to the full
15018 path to pkg-config.
15020 Alternatively, you may set the environment variables CLUTTER_DEPS_CFLAGS
15021 and CLUTTER_DEPS_LIBS to avoid the need to call pkg-config.
15022 See the pkg-config man page for more details.
15024 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15025 See \`config.log' for more details" "$LINENO" 5; }
15028 CLUTTER_DEPS_CFLAGS=$pkg_cv_CLUTTER_DEPS_CFLAGS
15029 CLUTTER_DEPS_LIBS=$pkg_cv_CLUTTER_DEPS_LIBS
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15031 $as_echo "yes" >&6; }
15035 # private dependencies, will fill the Requires.private: field of clutter.pc
15036 if test "x$CLUTTER_BASE_PC_FILES_PRIVATE" = "x" && test "x$BACKEND_PC_FILES_PRIVATE" = "x"; then :
15038 CLUTTER_REQUIRES_PRIVATE=""
15039 CLUTTER_DEPS_PRIVATE_CFLAGS=""
15040 CLUTTER_DEPS_PRIVATE_LIBS=""
15044 CLUTTER_REQUIRES_PRIVATE="$CLUTTER_BASE_PC_FILES_PRIVATE $BACKEND_PC_FILES_PRIVATE"
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_DEPS_PRIVATE" >&5
15048 $as_echo_n "checking for CLUTTER_DEPS_PRIVATE... " >&6; }
15050 if test -n "$CLUTTER_DEPS_PRIVATE_CFLAGS"; then
15051 pkg_cv_CLUTTER_DEPS_PRIVATE_CFLAGS="$CLUTTER_DEPS_PRIVATE_CFLAGS"
15052 elif test -n "$PKG_CONFIG"; then
15053 if test -n "$PKG_CONFIG" && \
15054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES_PRIVATE\""; } >&5
15055 ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES_PRIVATE") 2>&5
15057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15058 test $ac_status = 0; }; then
15059 pkg_cv_CLUTTER_DEPS_PRIVATE_CFLAGS=`$PKG_CONFIG --cflags "$CLUTTER_REQUIRES_PRIVATE" 2>/dev/null`
15066 if test -n "$CLUTTER_DEPS_PRIVATE_LIBS"; then
15067 pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS="$CLUTTER_DEPS_PRIVATE_LIBS"
15068 elif test -n "$PKG_CONFIG"; then
15069 if test -n "$PKG_CONFIG" && \
15070 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES_PRIVATE\""; } >&5
15071 ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES_PRIVATE") 2>&5
15073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15074 test $ac_status = 0; }; then
15075 pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS=`$PKG_CONFIG --libs "$CLUTTER_REQUIRES_PRIVATE" 2>/dev/null`
15085 if test $pkg_failed = yes; then
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15087 $as_echo "no" >&6; }
15089 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15090 _pkg_short_errors_supported=yes
15092 _pkg_short_errors_supported=no
15094 if test $_pkg_short_errors_supported = yes; then
15095 CLUTTER_DEPS_PRIVATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$CLUTTER_REQUIRES_PRIVATE" 2>&1`
15097 CLUTTER_DEPS_PRIVATE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$CLUTTER_REQUIRES_PRIVATE" 2>&1`
15099 # Put the nasty error message in config.log where it belongs
15100 echo "$CLUTTER_DEPS_PRIVATE_PKG_ERRORS" >&5
15102 as_fn_error $? "Package requirements ($CLUTTER_REQUIRES_PRIVATE) were not met:
15104 $CLUTTER_DEPS_PRIVATE_PKG_ERRORS
15106 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15107 installed software in a non-standard prefix.
15109 Alternatively, you may set the environment variables CLUTTER_DEPS_PRIVATE_CFLAGS
15110 and CLUTTER_DEPS_PRIVATE_LIBS to avoid the need to call pkg-config.
15111 See the pkg-config man page for more details." "$LINENO" 5
15113 elif test $pkg_failed = untried; then
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15115 $as_echo "no" >&6; }
15116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15118 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15119 is in your PATH or set the PKG_CONFIG environment variable to the full
15120 path to pkg-config.
15122 Alternatively, you may set the environment variables CLUTTER_DEPS_PRIVATE_CFLAGS
15123 and CLUTTER_DEPS_PRIVATE_LIBS to avoid the need to call pkg-config.
15124 See the pkg-config man page for more details.
15126 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15127 See \`config.log' for more details" "$LINENO" 5; }
15130 CLUTTER_DEPS_PRIVATE_CFLAGS=$pkg_cv_CLUTTER_DEPS_PRIVATE_CFLAGS
15131 CLUTTER_DEPS_PRIVATE_LIBS=$pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15133 $as_echo "yes" >&6; }
15142 CLUTTER_CFLAGS="$FLAVOUR_CFLAGS $CLUTTER_DEPS_CFLAGS $CLUTTER_DEPS_PRIVATE_CFLAGS $CLUTTER_PROFILE_CFLAGS $GLIB_CFLAGS"
15143 CLUTTER_LIBS="$FLAVOUR_LIBS $CLUTTER_DEPS_LIBS $CLUTTER_DEPS_PRIVATE_LIBS $CLUTTER_PROFILE_LDFLAGS $GLIB_LIBS"
15152 # Check whether --enable-introspection was given.
15153 if test "${enable_introspection+set}" = set; then :
15154 enableval=$enable_introspection;
15156 enable_introspection=auto
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
15161 $as_echo_n "checking for gobject-introspection... " >&6; }
15163 case $enable_introspection in #(
15165 found_introspection="no (disabled, use --enable-introspection to enable)"
15168 if test -n "$PKG_CONFIG" && \
15169 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
15170 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
15172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15173 test $ac_status = 0; }; then
15176 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
15178 if test -n "$PKG_CONFIG" && \
15179 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
15180 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15183 test $ac_status = 0; }; then
15184 found_introspection=yes
15186 as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build clutter" "$LINENO" 5
15190 if test -n "$PKG_CONFIG" && \
15191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
15192 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15195 test $ac_status = 0; }; then
15196 found_introspection=yes
15198 found_introspection=no
15202 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
15206 $as_echo "$found_introspection" >&6; }
15208 INTROSPECTION_SCANNER=
15209 INTROSPECTION_COMPILER=
15210 INTROSPECTION_GENERATE=
15211 INTROSPECTION_GIRDIR=
15212 INTROSPECTION_TYPELIBDIR=
15213 if test "x$found_introspection" = "xyes"; then
15214 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
15215 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
15216 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
15217 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
15218 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
15219 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
15220 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
15221 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
15232 if test "x$found_introspection" = "xyes"; then
15233 HAVE_INTROSPECTION_TRUE=
15234 HAVE_INTROSPECTION_FALSE='#'
15236 HAVE_INTROSPECTION_TRUE='#'
15237 HAVE_INTROSPECTION_FALSE=
15247 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
15248 set dummy gtkdoc-check; ac_word=$2
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15250 $as_echo_n "checking for $ac_word... " >&6; }
15251 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
15252 $as_echo_n "(cached) " >&6
15254 case $GTKDOC_CHECK in
15256 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
15259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15260 for as_dir in $PATH
15263 test -z "$as_dir" && as_dir=.
15264 for ac_exec_ext in '' $ac_executable_extensions; do
15265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15266 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
15267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15277 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
15278 if test -n "$GTKDOC_CHECK"; then
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
15280 $as_echo "$GTKDOC_CHECK" >&6; }
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15283 $as_echo "no" >&6; }
15287 for ac_prog in gtkdoc-rebase
15289 # Extract the first word of "$ac_prog", so it can be a program name with args.
15290 set dummy $ac_prog; ac_word=$2
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15292 $as_echo_n "checking for $ac_word... " >&6; }
15293 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
15294 $as_echo_n "(cached) " >&6
15296 case $GTKDOC_REBASE in
15298 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
15301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15302 for as_dir in $PATH
15305 test -z "$as_dir" && as_dir=.
15306 for ac_exec_ext in '' $ac_executable_extensions; do
15307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15308 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
15309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15319 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
15320 if test -n "$GTKDOC_REBASE"; then
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
15322 $as_echo "$GTKDOC_REBASE" >&6; }
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15325 $as_echo "no" >&6; }
15329 test -n "$GTKDOC_REBASE" && break
15331 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
15333 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
15334 set dummy gtkdoc-mkpdf; ac_word=$2
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15336 $as_echo_n "checking for $ac_word... " >&6; }
15337 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
15338 $as_echo_n "(cached) " >&6
15340 case $GTKDOC_MKPDF in
15342 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
15345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15346 for as_dir in $PATH
15349 test -z "$as_dir" && as_dir=.
15350 for ac_exec_ext in '' $ac_executable_extensions; do
15351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15352 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
15353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15363 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
15364 if test -n "$GTKDOC_MKPDF"; then
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
15366 $as_echo "$GTKDOC_MKPDF" >&6; }
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15369 $as_echo "no" >&6; }
15375 # Check whether --with-html-dir was given.
15376 if test "${with_html_dir+set}" = set; then :
15377 withval=$with_html_dir;
15379 with_html_dir='${datadir}/gtk-doc/html'
15382 HTML_DIR="$with_html_dir"
15385 # Check whether --enable-gtk-doc was given.
15386 if test "${enable_gtk_doc+set}" = set; then :
15387 enableval=$enable_gtk_doc;
15393 if test x$enable_gtk_doc = xyes; then
15394 if test -n "$PKG_CONFIG" && \
15395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
15396 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
15398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15399 test $ac_status = 0; }; then
15402 as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
15404 if test "x$PACKAGE_NAME" != "xglib"; then
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
15408 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
15410 if test -n "$GTKDOC_DEPS_CFLAGS"; then
15411 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
15412 elif test -n "$PKG_CONFIG"; then
15413 if test -n "$PKG_CONFIG" && \
15414 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
15415 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
15417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15418 test $ac_status = 0; }; then
15419 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
15426 if test -n "$GTKDOC_DEPS_LIBS"; then
15427 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
15428 elif test -n "$PKG_CONFIG"; then
15429 if test -n "$PKG_CONFIG" && \
15430 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
15431 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
15433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15434 test $ac_status = 0; }; then
15435 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
15445 if test $pkg_failed = yes; then
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15447 $as_echo "no" >&6; }
15449 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15450 _pkg_short_errors_supported=yes
15452 _pkg_short_errors_supported=no
15454 if test $_pkg_short_errors_supported = yes; then
15455 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
15457 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
15459 # Put the nasty error message in config.log where it belongs
15460 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
15462 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
15464 $GTKDOC_DEPS_PKG_ERRORS
15466 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15467 installed software in a non-standard prefix.
15469 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
15470 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
15471 See the pkg-config man page for more details." "$LINENO" 5
15473 elif test $pkg_failed = untried; then
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15475 $as_echo "no" >&6; }
15476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15478 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15479 is in your PATH or set the PKG_CONFIG environment variable to the full
15480 path to pkg-config.
15482 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
15483 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
15484 See the pkg-config man page for more details.
15486 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15487 See \`config.log' for more details" "$LINENO" 5; }
15490 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
15491 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15493 $as_echo "yes" >&6; }
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15500 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15502 $as_echo "$enable_gtk_doc" >&6; }
15504 # Check whether --enable-gtk-doc-html was given.
15505 if test "${enable_gtk_doc_html+set}" = set; then :
15506 enableval=$enable_gtk_doc_html;
15508 enable_gtk_doc_html=yes
15511 # Check whether --enable-gtk-doc-pdf was given.
15512 if test "${enable_gtk_doc_pdf+set}" = set; then :
15513 enableval=$enable_gtk_doc_pdf;
15515 enable_gtk_doc_pdf=no
15519 if test -z "$GTKDOC_MKPDF"; then
15520 enable_gtk_doc_pdf=no
15524 if test x$enable_gtk_doc = xyes; then
15525 ENABLE_GTK_DOC_TRUE=
15526 ENABLE_GTK_DOC_FALSE='#'
15528 ENABLE_GTK_DOC_TRUE='#'
15529 ENABLE_GTK_DOC_FALSE=
15532 if test x$enable_gtk_doc_html = xyes; then
15533 GTK_DOC_BUILD_HTML_TRUE=
15534 GTK_DOC_BUILD_HTML_FALSE='#'
15536 GTK_DOC_BUILD_HTML_TRUE='#'
15537 GTK_DOC_BUILD_HTML_FALSE=
15540 if test x$enable_gtk_doc_pdf = xyes; then
15541 GTK_DOC_BUILD_PDF_TRUE=
15542 GTK_DOC_BUILD_PDF_FALSE='#'
15544 GTK_DOC_BUILD_PDF_TRUE='#'
15545 GTK_DOC_BUILD_PDF_FALSE=
15548 if test -n "$LIBTOOL"; then
15549 GTK_DOC_USE_LIBTOOL_TRUE=
15550 GTK_DOC_USE_LIBTOOL_FALSE='#'
15552 GTK_DOC_USE_LIBTOOL_TRUE='#'
15553 GTK_DOC_USE_LIBTOOL_FALSE=
15556 if test -n "$GTKDOC_REBASE"; then
15557 GTK_DOC_USE_REBASE_TRUE=
15558 GTK_DOC_USE_REBASE_FALSE='#'
15560 GTK_DOC_USE_REBASE_TRUE='#'
15561 GTK_DOC_USE_REBASE_FALSE=
15566 # we don't want to build the documentation from a Git clone unless we
15567 # explicitly tell configure to do so; this allows avoiding to recurse into
15568 # the documentation directory when building Clutter inside Poky for a
15569 # target device that doesn't have gtk-doc installed. for reference
15570 # see: http://bugzilla.openedhand.com/show_bug.cgi?id=1047
15572 # we use autogen.sh as it exists only inside the Git clones, and it
15573 # is not packaged into tarballs.
15574 if test "x$enable_gtk_doc" = "xyes" || test ! -f "autogen.sh"; then
15575 BUILD_GTK_DOC_TRUE=
15576 BUILD_GTK_DOC_FALSE='#'
15578 BUILD_GTK_DOC_TRUE='#'
15579 BUILD_GTK_DOC_FALSE=
15583 # prefixes for fixing gtk-doc references
15584 CAIRO_PREFIX="`$PKG_CONFIG --variable=prefix cairo`"
15585 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
15586 PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
15587 COGL_PREFIX="`$PKG_CONFIG --variable=prefix cogl-1.0`"
15588 ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`"
15596 # Check whether --enable-docs was given.
15597 if test "${enable_docs+set}" = set; then :
15598 enableval=$enable_docs; enable_docs=$enableval
15605 if test "x$enable_docs" = "xyes"; then :
15607 # Extract the first word of "jw", so it can be a program name with args.
15608 set dummy jw; ac_word=$2
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15610 $as_echo_n "checking for $ac_word... " >&6; }
15611 if ${ac_cv_path_JW+:} false; then :
15612 $as_echo_n "(cached) " >&6
15616 ac_cv_path_JW="$JW" # Let the user override the test with a path.
15619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15620 for as_dir in $PATH
15623 test -z "$as_dir" && as_dir=.
15624 for ac_exec_ext in '' $ac_executable_extensions; do
15625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15626 ac_cv_path_JW="$as_dir/$ac_word$ac_exec_ext"
15627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15634 test -z "$ac_cv_path_JW" && ac_cv_path_JW="no"
15639 if test -n "$JW"; then
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JW" >&5
15641 $as_echo "$JW" >&6; }
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15644 $as_echo "no" >&6; }
15648 if test "x$JW" = "xno"; then :
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: jw not found; pdf generation has been disabled" >&5
15651 $as_echo "$as_me: WARNING: jw not found; pdf generation has been disabled" >&2;}
15657 # Extract the first word of "xsltproc", so it can be a program name with args.
15658 set dummy xsltproc; ac_word=$2
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15660 $as_echo_n "checking for $ac_word... " >&6; }
15661 if ${ac_cv_path_XSLTPROC+:} false; then :
15662 $as_echo_n "(cached) " >&6
15666 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15670 for as_dir in $PATH
15673 test -z "$as_dir" && as_dir=.
15674 for ac_exec_ext in '' $ac_executable_extensions; do
15675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15676 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15684 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
15688 XSLTPROC=$ac_cv_path_XSLTPROC
15689 if test -n "$XSLTPROC"; then
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15691 $as_echo "$XSLTPROC" >&6; }
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15694 $as_echo "no" >&6; }
15698 if test "x$XSLTPROC" = "xno"; then :
15700 as_fn_error $? "xsltproc not found" "$LINENO" 5
15707 if test "x$enable_docs" = "xyes"; then
15709 ENABLE_DOCS_FALSE='#'
15711 ENABLE_DOCS_TRUE='#'
15715 if test "x$enable_pdfs" = "xyes"; then
15717 ENABLE_PDFS_FALSE='#'
15719 ENABLE_PDFS_TRUE='#'
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15728 $as_echo_n "checking whether NLS is requested... " >&6; }
15729 # Check whether --enable-nls was given.
15730 if test "${enable_nls+set}" = set; then :
15731 enableval=$enable_nls; USE_NLS=$enableval
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15737 $as_echo "$USE_NLS" >&6; }
15742 GETTEXT_MACRO_VERSION=0.17
15747 # Prepare PATH_SEPARATOR.
15748 # The user is always right.
15749 if test "${PATH_SEPARATOR+set}" != set; then
15750 echo "#! /bin/sh" >conf$$.sh
15751 echo "exit 0" >>conf$$.sh
15753 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15761 # Find out how to test for executable files. Don't use a zero-byte file,
15762 # as systems may use methods other than mode bits to determine executability.
15763 cat >conf$$.file <<_ASEOF
15767 chmod +x conf$$.file
15768 if test -x conf$$.file >/dev/null 2>&1; then
15769 ac_executable_p="test -x"
15771 ac_executable_p="test -f"
15775 # Extract the first word of "msgfmt", so it can be a program name with args.
15776 set dummy msgfmt; ac_word=$2
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15778 $as_echo_n "checking for $ac_word... " >&6; }
15779 if ${ac_cv_path_MSGFMT+:} false; then :
15780 $as_echo_n "(cached) " >&6
15784 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15787 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15788 for ac_dir in $PATH; do
15790 test -z "$ac_dir" && ac_dir=.
15791 for ac_exec_ext in '' $ac_executable_extensions; do
15792 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15793 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15794 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
15795 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15796 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
15803 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
15807 MSGFMT="$ac_cv_path_MSGFMT"
15808 if test "$MSGFMT" != ":"; then
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15810 $as_echo "$MSGFMT" >&6; }
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15813 $as_echo "no" >&6; }
15816 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15817 set dummy gmsgfmt; ac_word=$2
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15819 $as_echo_n "checking for $ac_word... " >&6; }
15820 if ${ac_cv_path_GMSGFMT+:} false; then :
15821 $as_echo_n "(cached) " >&6
15825 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15829 for as_dir in $PATH
15832 test -z "$as_dir" && as_dir=.
15833 for ac_exec_ext in '' $ac_executable_extensions; do
15834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15835 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15843 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15847 GMSGFMT=$ac_cv_path_GMSGFMT
15848 if test -n "$GMSGFMT"; then
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15850 $as_echo "$GMSGFMT" >&6; }
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15853 $as_echo "no" >&6; }
15858 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15859 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
15860 *) MSGFMT_015=$MSGFMT ;;
15863 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15864 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
15865 *) GMSGFMT_015=$GMSGFMT ;;
15870 # Prepare PATH_SEPARATOR.
15871 # The user is always right.
15872 if test "${PATH_SEPARATOR+set}" != set; then
15873 echo "#! /bin/sh" >conf$$.sh
15874 echo "exit 0" >>conf$$.sh
15876 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15884 # Find out how to test for executable files. Don't use a zero-byte file,
15885 # as systems may use methods other than mode bits to determine executability.
15886 cat >conf$$.file <<_ASEOF
15890 chmod +x conf$$.file
15891 if test -x conf$$.file >/dev/null 2>&1; then
15892 ac_executable_p="test -x"
15894 ac_executable_p="test -f"
15898 # Extract the first word of "xgettext", so it can be a program name with args.
15899 set dummy xgettext; ac_word=$2
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15901 $as_echo_n "checking for $ac_word... " >&6; }
15902 if ${ac_cv_path_XGETTEXT+:} false; then :
15903 $as_echo_n "(cached) " >&6
15905 case "$XGETTEXT" in
15907 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15910 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15911 for ac_dir in $PATH; do
15913 test -z "$ac_dir" && ac_dir=.
15914 for ac_exec_ext in '' $ac_executable_extensions; do
15915 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15916 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15917 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
15918 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15919 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
15926 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15930 XGETTEXT="$ac_cv_path_XGETTEXT"
15931 if test "$XGETTEXT" != ":"; then
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15933 $as_echo "$XGETTEXT" >&6; }
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15936 $as_echo "no" >&6; }
15941 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15942 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
15943 *) XGETTEXT_015=$XGETTEXT ;;
15948 # Prepare PATH_SEPARATOR.
15949 # The user is always right.
15950 if test "${PATH_SEPARATOR+set}" != set; then
15951 echo "#! /bin/sh" >conf$$.sh
15952 echo "exit 0" >>conf$$.sh
15954 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15962 # Find out how to test for executable files. Don't use a zero-byte file,
15963 # as systems may use methods other than mode bits to determine executability.
15964 cat >conf$$.file <<_ASEOF
15968 chmod +x conf$$.file
15969 if test -x conf$$.file >/dev/null 2>&1; then
15970 ac_executable_p="test -x"
15972 ac_executable_p="test -f"
15976 # Extract the first word of "msgmerge", so it can be a program name with args.
15977 set dummy msgmerge; ac_word=$2
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15979 $as_echo_n "checking for $ac_word... " >&6; }
15980 if ${ac_cv_path_MSGMERGE+:} false; then :
15981 $as_echo_n "(cached) " >&6
15983 case "$MSGMERGE" in
15985 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
15988 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15989 for ac_dir in $PATH; do
15991 test -z "$ac_dir" && ac_dir=.
15992 for ac_exec_ext in '' $ac_executable_extensions; do
15993 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15994 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15995 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
15996 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
16003 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
16007 MSGMERGE="$ac_cv_path_MSGMERGE"
16008 if test "$MSGMERGE" != ":"; then
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16010 $as_echo "$MSGMERGE" >&6; }
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16013 $as_echo "no" >&6; }
16017 test -n "$localedir" || localedir='${datadir}/locale'
16020 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
16023 ac_config_commands="$ac_config_commands po-directories"
16027 if test "X$prefix" = "XNONE"; then
16028 acl_final_prefix="$ac_default_prefix"
16030 acl_final_prefix="$prefix"
16032 if test "X$exec_prefix" = "XNONE"; then
16033 acl_final_exec_prefix='${prefix}'
16035 acl_final_exec_prefix="$exec_prefix"
16037 acl_save_prefix="$prefix"
16038 prefix="$acl_final_prefix"
16039 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16040 prefix="$acl_save_prefix"
16043 # Check whether --with-gnu-ld was given.
16044 if test "${with_gnu_ld+set}" = set; then :
16045 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16050 # Prepare PATH_SEPARATOR.
16051 # The user is always right.
16052 if test "${PATH_SEPARATOR+set}" != set; then
16053 echo "#! /bin/sh" >conf$$.sh
16054 echo "exit 0" >>conf$$.sh
16056 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16064 if test "$GCC" = yes; then
16065 # Check if gcc -print-prog-name=ld gives a path.
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16067 $as_echo_n "checking for ld used by GCC... " >&6; }
16070 # gcc leaves a trailing carriage return which upsets mingw
16071 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16073 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16076 # Accept absolute paths.
16077 [\\/]* | [A-Za-z]:[\\/]*)
16078 re_direlt='/[^/][^/]*/\.\./'
16079 # Canonicalize the path of ld
16080 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
16081 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16082 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
16084 test -z "$LD" && LD="$ac_prog"
16087 # If it fails, then pretend we aren't using GCC.
16091 # If it is relative, then search for the first ld in PATH.
16092 with_gnu_ld=unknown
16095 elif test "$with_gnu_ld" = yes; then
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16097 $as_echo_n "checking for GNU ld... " >&6; }
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16100 $as_echo_n "checking for non-GNU ld... " >&6; }
16102 if ${acl_cv_path_LD+:} false; then :
16103 $as_echo_n "(cached) " >&6
16105 if test -z "$LD"; then
16106 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16107 for ac_dir in $PATH; do
16108 test -z "$ac_dir" && ac_dir=.
16109 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16110 acl_cv_path_LD="$ac_dir/$ac_prog"
16111 # Check to see if the program is GNU ld. I'd rather use --version,
16112 # but apparently some GNU ld's only accept -v.
16113 # Break only if it was the GNU/non-GNU ld that we prefer.
16114 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16115 *GNU* | *'with BFD'*)
16116 test "$with_gnu_ld" != no && break ;;
16118 test "$with_gnu_ld" != yes && break ;;
16124 acl_cv_path_LD="$LD" # Let the user override the test with a path.
16128 LD="$acl_cv_path_LD"
16129 if test -n "$LD"; then
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16131 $as_echo "$LD" >&6; }
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16134 $as_echo "no" >&6; }
16136 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16138 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16139 if ${acl_cv_prog_gnu_ld+:} false; then :
16140 $as_echo_n "(cached) " >&6
16142 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16143 case `$LD -v 2>&1 </dev/null` in
16144 *GNU* | *'with BFD'*)
16145 acl_cv_prog_gnu_ld=yes ;;
16147 acl_cv_prog_gnu_ld=no ;;
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16151 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16152 with_gnu_ld=$acl_cv_prog_gnu_ld
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16158 $as_echo_n "checking for shared library run path origin... " >&6; }
16159 if ${acl_cv_rpath+:} false; then :
16160 $as_echo_n "(cached) " >&6
16163 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16164 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16166 rm -f ./conftest.sh
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16171 $as_echo "$acl_cv_rpath" >&6; }
16173 acl_libext="$acl_cv_libext"
16174 acl_shlibext="$acl_cv_shlibext"
16175 acl_libname_spec="$acl_cv_libname_spec"
16176 acl_library_names_spec="$acl_cv_library_names_spec"
16177 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16178 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16179 acl_hardcode_direct="$acl_cv_hardcode_direct"
16180 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16181 # Check whether --enable-rpath was given.
16182 if test "${enable_rpath+set}" = set; then :
16183 enableval=$enable_rpath; :
16191 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16192 if test -n "$searchpath"; then
16193 acl_save_IFS="${IFS= }"; IFS=":"
16194 for searchdir in $searchpath; do
16195 if test -d "$searchdir"; then
16196 case "$searchdir" in
16197 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16198 *) searchdir=`cd "$searchdir" && pwd`
16199 case "$searchdir" in
16200 */lib64 ) acl_libdirstem=lib64 ;;
16205 IFS="$acl_save_IFS"
16218 acl_save_prefix="$prefix"
16219 prefix="$acl_final_prefix"
16220 acl_save_exec_prefix="$exec_prefix"
16221 exec_prefix="$acl_final_exec_prefix"
16223 eval additional_includedir=\"$includedir\"
16224 eval additional_libdir=\"$libdir\"
16226 exec_prefix="$acl_save_exec_prefix"
16227 prefix="$acl_save_prefix"
16230 # Check whether --with-libiconv-prefix was given.
16231 if test "${with_libiconv_prefix+set}" = set; then :
16232 withval=$with_libiconv_prefix;
16233 if test "X$withval" = "Xno"; then
16236 if test "X$withval" = "X"; then
16238 acl_save_prefix="$prefix"
16239 prefix="$acl_final_prefix"
16240 acl_save_exec_prefix="$exec_prefix"
16241 exec_prefix="$acl_final_exec_prefix"
16243 eval additional_includedir=\"$includedir\"
16244 eval additional_libdir=\"$libdir\"
16246 exec_prefix="$acl_save_exec_prefix"
16247 prefix="$acl_save_prefix"
16250 additional_includedir="$withval/include"
16251 additional_libdir="$withval/$acl_libdirstem"
16263 names_already_handled=
16264 names_next_round='iconv '
16265 while test -n "$names_next_round"; do
16266 names_this_round="$names_next_round"
16268 for name in $names_this_round; do
16270 for n in $names_already_handled; do
16271 if test "$n" = "$name"; then
16272 already_handled=yes
16276 if test -z "$already_handled"; then
16277 names_already_handled="$names_already_handled $name"
16278 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16279 eval value=\"\$HAVE_LIB$uppername\"
16280 if test -n "$value"; then
16281 if test "$value" = yes; then
16282 eval value=\"\$LIB$uppername\"
16283 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16284 eval value=\"\$LTLIB$uppername\"
16285 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16294 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16295 if test -n "$acl_shlibext"; then
16296 shrext=".$acl_shlibext" # typically: shrext=.so
16300 if test $use_additional = yes; then
16301 dir="$additional_libdir"
16302 if test -n "$acl_shlibext"; then
16303 if test -f "$dir/$libname$shrext"; then
16305 found_so="$dir/$libname$shrext"
16307 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16308 ver=`(cd "$dir" && \
16309 for f in "$libname$shrext".*; do echo "$f"; done \
16310 | sed -e "s,^$libname$shrext\\\\.,," \
16311 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16312 | sed 1q ) 2>/dev/null`
16313 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16315 found_so="$dir/$libname$shrext.$ver"
16318 eval library_names=\"$acl_library_names_spec\"
16319 for f in $library_names; do
16320 if test -f "$dir/$f"; then
16329 if test "X$found_dir" = "X"; then
16330 if test -f "$dir/$libname.$acl_libext"; then
16332 found_a="$dir/$libname.$acl_libext"
16335 if test "X$found_dir" != "X"; then
16336 if test -f "$dir/$libname.la"; then
16337 found_la="$dir/$libname.la"
16341 if test "X$found_dir" = "X"; then
16342 for x in $LDFLAGS $LTLIBICONV; do
16344 acl_save_prefix="$prefix"
16345 prefix="$acl_final_prefix"
16346 acl_save_exec_prefix="$exec_prefix"
16347 exec_prefix="$acl_final_exec_prefix"
16349 exec_prefix="$acl_save_exec_prefix"
16350 prefix="$acl_save_prefix"
16354 dir=`echo "X$x" | sed -e 's/^X-L//'`
16355 if test -n "$acl_shlibext"; then
16356 if test -f "$dir/$libname$shrext"; then
16358 found_so="$dir/$libname$shrext"
16360 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16361 ver=`(cd "$dir" && \
16362 for f in "$libname$shrext".*; do echo "$f"; done \
16363 | sed -e "s,^$libname$shrext\\\\.,," \
16364 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16365 | sed 1q ) 2>/dev/null`
16366 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16368 found_so="$dir/$libname$shrext.$ver"
16371 eval library_names=\"$acl_library_names_spec\"
16372 for f in $library_names; do
16373 if test -f "$dir/$f"; then
16382 if test "X$found_dir" = "X"; then
16383 if test -f "$dir/$libname.$acl_libext"; then
16385 found_a="$dir/$libname.$acl_libext"
16388 if test "X$found_dir" != "X"; then
16389 if test -f "$dir/$libname.la"; then
16390 found_la="$dir/$libname.la"
16395 if test "X$found_dir" != "X"; then
16400 if test "X$found_dir" != "X"; then
16401 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16402 if test "X$found_so" != "X"; then
16403 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
16404 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16407 for x in $ltrpathdirs; do
16408 if test "X$x" = "X$found_dir"; then
16413 if test -z "$haveit"; then
16414 ltrpathdirs="$ltrpathdirs $found_dir"
16416 if test "$acl_hardcode_direct" = yes; then
16417 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16419 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16420 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16422 for x in $rpathdirs; do
16423 if test "X$x" = "X$found_dir"; then
16428 if test -z "$haveit"; then
16429 rpathdirs="$rpathdirs $found_dir"
16433 for x in $LDFLAGS $LIBICONV; do
16435 acl_save_prefix="$prefix"
16436 prefix="$acl_final_prefix"
16437 acl_save_exec_prefix="$exec_prefix"
16438 exec_prefix="$acl_final_exec_prefix"
16440 exec_prefix="$acl_save_exec_prefix"
16441 prefix="$acl_save_prefix"
16443 if test "X$x" = "X-L$found_dir"; then
16448 if test -z "$haveit"; then
16449 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16451 if test "$acl_hardcode_minus_L" != no; then
16452 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16454 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16460 if test "X$found_a" != "X"; then
16461 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16463 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16466 additional_includedir=
16467 case "$found_dir" in
16468 */$acl_libdirstem | */$acl_libdirstem/)
16469 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16470 LIBICONV_PREFIX="$basedir"
16471 additional_includedir="$basedir/include"
16474 if test "X$additional_includedir" != "X"; then
16475 if test "X$additional_includedir" != "X/usr/include"; then
16477 if test "X$additional_includedir" = "X/usr/local/include"; then
16478 if test -n "$GCC"; then
16480 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16484 if test -z "$haveit"; then
16485 for x in $CPPFLAGS $INCICONV; do
16487 acl_save_prefix="$prefix"
16488 prefix="$acl_final_prefix"
16489 acl_save_exec_prefix="$exec_prefix"
16490 exec_prefix="$acl_final_exec_prefix"
16492 exec_prefix="$acl_save_exec_prefix"
16493 prefix="$acl_save_prefix"
16495 if test "X$x" = "X-I$additional_includedir"; then
16500 if test -z "$haveit"; then
16501 if test -d "$additional_includedir"; then
16502 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16508 if test -n "$found_la"; then
16509 save_libdir="$libdir"
16510 case "$found_la" in
16511 */* | *\\*) . "$found_la" ;;
16512 *) . "./$found_la" ;;
16514 libdir="$save_libdir"
16515 for dep in $dependency_libs; do
16518 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16519 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
16521 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
16522 if test -n "$GCC"; then
16524 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16528 if test -z "$haveit"; then
16530 for x in $LDFLAGS $LIBICONV; do
16532 acl_save_prefix="$prefix"
16533 prefix="$acl_final_prefix"
16534 acl_save_exec_prefix="$exec_prefix"
16535 exec_prefix="$acl_final_exec_prefix"
16537 exec_prefix="$acl_save_exec_prefix"
16538 prefix="$acl_save_prefix"
16540 if test "X$x" = "X-L$additional_libdir"; then
16545 if test -z "$haveit"; then
16546 if test -d "$additional_libdir"; then
16547 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16551 for x in $LDFLAGS $LTLIBICONV; do
16553 acl_save_prefix="$prefix"
16554 prefix="$acl_final_prefix"
16555 acl_save_exec_prefix="$exec_prefix"
16556 exec_prefix="$acl_final_exec_prefix"
16558 exec_prefix="$acl_save_exec_prefix"
16559 prefix="$acl_save_prefix"
16561 if test "X$x" = "X-L$additional_libdir"; then
16566 if test -z "$haveit"; then
16567 if test -d "$additional_libdir"; then
16568 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16575 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16576 if test "$enable_rpath" != no; then
16578 for x in $rpathdirs; do
16579 if test "X$x" = "X$dir"; then
16584 if test -z "$haveit"; then
16585 rpathdirs="$rpathdirs $dir"
16588 for x in $ltrpathdirs; do
16589 if test "X$x" = "X$dir"; then
16594 if test -z "$haveit"; then
16595 ltrpathdirs="$ltrpathdirs $dir"
16600 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16603 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16606 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16607 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16613 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16614 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16620 if test "X$rpathdirs" != "X"; then
16621 if test -n "$acl_hardcode_libdir_separator"; then
16623 for found_dir in $rpathdirs; do
16624 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16626 acl_save_libdir="$libdir"
16628 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16629 libdir="$acl_save_libdir"
16630 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16632 for found_dir in $rpathdirs; do
16633 acl_save_libdir="$libdir"
16634 libdir="$found_dir"
16635 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16636 libdir="$acl_save_libdir"
16637 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16641 if test "X$ltrpathdirs" != "X"; then
16642 for found_dir in $ltrpathdirs; do
16643 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
16672 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
16673 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
16674 $as_echo_n "(cached) " >&6
16676 gt_save_LIBS="$LIBS"
16677 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 #include <CoreFoundation/CFPreferences.h>
16684 CFPreferencesCopyAppValue(NULL, NULL)
16689 if ac_fn_c_try_link "$LINENO"; then :
16690 gt_cv_func_CFPreferencesCopyAppValue=yes
16692 gt_cv_func_CFPreferencesCopyAppValue=no
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16696 LIBS="$gt_save_LIBS"
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
16699 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
16700 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
16702 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
16706 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
16707 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
16708 $as_echo_n "(cached) " >&6
16710 gt_save_LIBS="$LIBS"
16711 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h. */
16714 #include <CoreFoundation/CFLocale.h>
16718 CFLocaleCopyCurrent();
16723 if ac_fn_c_try_link "$LINENO"; then :
16724 gt_cv_func_CFLocaleCopyCurrent=yes
16726 gt_cv_func_CFLocaleCopyCurrent=no
16728 rm -f core conftest.err conftest.$ac_objext \
16729 conftest$ac_exeext conftest.$ac_ext
16730 LIBS="$gt_save_LIBS"
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
16733 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
16734 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16736 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
16740 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16741 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
16753 case " $gt_needs " in
16754 *" need-formatstring-macros "*) gt_api_version=3 ;;
16755 *" need-ngettext "*) gt_api_version=2 ;;
16756 *) gt_api_version=1 ;;
16758 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
16759 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
16761 if test "$USE_NLS" = "yes"; then
16762 gt_use_preinstalled_gnugettext=no
16765 if test $gt_api_version -ge 3; then
16766 gt_revision_test_code='
16767 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
16768 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
16770 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
16773 gt_revision_test_code=
16775 if test $gt_api_version -ge 2; then
16776 gt_expression_test_code=' + * ngettext ("", "", 0)'
16778 gt_expression_test_code=
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
16782 $as_echo_n "checking for GNU gettext in libc... " >&6; }
16783 if eval \${$gt_func_gnugettext_libc+:} false; then :
16784 $as_echo_n "(cached) " >&6
16786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16788 #include <libintl.h>
16789 $gt_revision_test_code
16790 extern int _nl_msg_cat_cntr;
16791 extern int *_nl_domain_bindings;
16795 bindtextdomain ("", "");
16796 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
16801 if ac_fn_c_try_link "$LINENO"; then :
16802 eval "$gt_func_gnugettext_libc=yes"
16804 eval "$gt_func_gnugettext_libc=no"
16806 rm -f core conftest.err conftest.$ac_objext \
16807 conftest$ac_exeext conftest.$ac_ext
16809 eval ac_res=\$$gt_func_gnugettext_libc
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16811 $as_echo "$ac_res" >&6; }
16813 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
16819 am_save_CPPFLAGS="$CPPFLAGS"
16821 for element in $INCICONV; do
16823 for x in $CPPFLAGS; do
16825 acl_save_prefix="$prefix"
16826 prefix="$acl_final_prefix"
16827 acl_save_exec_prefix="$exec_prefix"
16828 exec_prefix="$acl_final_exec_prefix"
16830 exec_prefix="$acl_save_exec_prefix"
16831 prefix="$acl_save_prefix"
16833 if test "X$x" = "X$element"; then
16838 if test -z "$haveit"; then
16839 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16845 $as_echo_n "checking for iconv... " >&6; }
16846 if ${am_cv_func_iconv+:} false; then :
16847 $as_echo_n "(cached) " >&6
16850 am_cv_func_iconv="no, consider installing GNU libiconv"
16852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16854 #include <stdlib.h>
16859 iconv_t cd = iconv_open("","");
16860 iconv(cd,NULL,NULL,NULL,NULL);
16866 if ac_fn_c_try_link "$LINENO"; then :
16867 am_cv_func_iconv=yes
16869 rm -f core conftest.err conftest.$ac_objext \
16870 conftest$ac_exeext conftest.$ac_ext
16871 if test "$am_cv_func_iconv" != yes; then
16872 am_save_LIBS="$LIBS"
16873 LIBS="$LIBS $LIBICONV"
16874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16875 /* end confdefs.h. */
16876 #include <stdlib.h>
16881 iconv_t cd = iconv_open("","");
16882 iconv(cd,NULL,NULL,NULL,NULL);
16888 if ac_fn_c_try_link "$LINENO"; then :
16889 am_cv_lib_iconv=yes
16890 am_cv_func_iconv=yes
16892 rm -f core conftest.err conftest.$ac_objext \
16893 conftest$ac_exeext conftest.$ac_ext
16894 LIBS="$am_save_LIBS"
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
16899 $as_echo "$am_cv_func_iconv" >&6; }
16900 if test "$am_cv_func_iconv" = yes; then
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
16902 $as_echo_n "checking for working iconv... " >&6; }
16903 if ${am_cv_func_iconv_works+:} false; then :
16904 $as_echo_n "(cached) " >&6
16907 am_save_LIBS="$LIBS"
16908 if test $am_cv_lib_iconv = yes; then
16909 LIBS="$LIBS $LIBICONV"
16911 if test "$cross_compiling" = yes; then :
16913 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
16914 *) am_cv_func_iconv_works="guessing yes" ;;
16917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16921 #include <string.h>
16924 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
16927 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
16928 if (cd_utf8_to_88591 != (iconv_t)(-1))
16930 static const char input[] = "\342\202\254"; /* EURO SIGN */
16932 const char *inptr = input;
16933 size_t inbytesleft = strlen (input);
16934 char *outptr = buf;
16935 size_t outbytesleft = sizeof (buf);
16936 size_t res = iconv (cd_utf8_to_88591,
16937 (char **) &inptr, &inbytesleft,
16938 &outptr, &outbytesleft);
16943 #if 0 /* This bug could be worked around by the caller. */
16944 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
16946 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
16947 if (cd_88591_to_utf8 != (iconv_t)(-1))
16949 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
16951 const char *inptr = input;
16952 size_t inbytesleft = strlen (input);
16953 char *outptr = buf;
16954 size_t outbytesleft = sizeof (buf);
16955 size_t res = iconv (cd_88591_to_utf8,
16956 (char **) &inptr, &inbytesleft,
16957 &outptr, &outbytesleft);
16963 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
16965 if (/* Try standardized names. */
16966 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
16967 /* Try IRIX, OSF/1 names. */
16968 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
16969 /* Try AIX names. */
16970 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
16971 /* Try HP-UX names. */
16972 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
16977 if ac_fn_c_try_run "$LINENO"; then :
16978 am_cv_func_iconv_works=yes
16980 am_cv_func_iconv_works=no
16982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16983 conftest.$ac_objext conftest.beam conftest.$ac_ext
16986 LIBS="$am_save_LIBS"
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
16990 $as_echo "$am_cv_func_iconv_works" >&6; }
16991 case "$am_cv_func_iconv_works" in
16992 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
16993 *) am_func_iconv=yes ;;
16996 am_func_iconv=no am_cv_lib_iconv=no
16998 if test "$am_func_iconv" = yes; then
17000 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17003 if test "$am_cv_lib_iconv" = yes; then
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17005 $as_echo_n "checking how to link with libiconv... " >&6; }
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17007 $as_echo "$LIBICONV" >&6; }
17009 CPPFLAGS="$am_save_CPPFLAGS"
17023 acl_save_prefix="$prefix"
17024 prefix="$acl_final_prefix"
17025 acl_save_exec_prefix="$exec_prefix"
17026 exec_prefix="$acl_final_exec_prefix"
17028 eval additional_includedir=\"$includedir\"
17029 eval additional_libdir=\"$libdir\"
17031 exec_prefix="$acl_save_exec_prefix"
17032 prefix="$acl_save_prefix"
17035 # Check whether --with-libintl-prefix was given.
17036 if test "${with_libintl_prefix+set}" = set; then :
17037 withval=$with_libintl_prefix;
17038 if test "X$withval" = "Xno"; then
17041 if test "X$withval" = "X"; then
17043 acl_save_prefix="$prefix"
17044 prefix="$acl_final_prefix"
17045 acl_save_exec_prefix="$exec_prefix"
17046 exec_prefix="$acl_final_exec_prefix"
17048 eval additional_includedir=\"$includedir\"
17049 eval additional_libdir=\"$libdir\"
17051 exec_prefix="$acl_save_exec_prefix"
17052 prefix="$acl_save_prefix"
17055 additional_includedir="$withval/include"
17056 additional_libdir="$withval/$acl_libdirstem"
17068 names_already_handled=
17069 names_next_round='intl '
17070 while test -n "$names_next_round"; do
17071 names_this_round="$names_next_round"
17073 for name in $names_this_round; do
17075 for n in $names_already_handled; do
17076 if test "$n" = "$name"; then
17077 already_handled=yes
17081 if test -z "$already_handled"; then
17082 names_already_handled="$names_already_handled $name"
17083 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17084 eval value=\"\$HAVE_LIB$uppername\"
17085 if test -n "$value"; then
17086 if test "$value" = yes; then
17087 eval value=\"\$LIB$uppername\"
17088 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
17089 eval value=\"\$LTLIB$uppername\"
17090 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
17099 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
17100 if test -n "$acl_shlibext"; then
17101 shrext=".$acl_shlibext" # typically: shrext=.so
17105 if test $use_additional = yes; then
17106 dir="$additional_libdir"
17107 if test -n "$acl_shlibext"; then
17108 if test -f "$dir/$libname$shrext"; then
17110 found_so="$dir/$libname$shrext"
17112 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17113 ver=`(cd "$dir" && \
17114 for f in "$libname$shrext".*; do echo "$f"; done \
17115 | sed -e "s,^$libname$shrext\\\\.,," \
17116 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17117 | sed 1q ) 2>/dev/null`
17118 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17120 found_so="$dir/$libname$shrext.$ver"
17123 eval library_names=\"$acl_library_names_spec\"
17124 for f in $library_names; do
17125 if test -f "$dir/$f"; then
17134 if test "X$found_dir" = "X"; then
17135 if test -f "$dir/$libname.$acl_libext"; then
17137 found_a="$dir/$libname.$acl_libext"
17140 if test "X$found_dir" != "X"; then
17141 if test -f "$dir/$libname.la"; then
17142 found_la="$dir/$libname.la"
17146 if test "X$found_dir" = "X"; then
17147 for x in $LDFLAGS $LTLIBINTL; do
17149 acl_save_prefix="$prefix"
17150 prefix="$acl_final_prefix"
17151 acl_save_exec_prefix="$exec_prefix"
17152 exec_prefix="$acl_final_exec_prefix"
17154 exec_prefix="$acl_save_exec_prefix"
17155 prefix="$acl_save_prefix"
17159 dir=`echo "X$x" | sed -e 's/^X-L//'`
17160 if test -n "$acl_shlibext"; then
17161 if test -f "$dir/$libname$shrext"; then
17163 found_so="$dir/$libname$shrext"
17165 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17166 ver=`(cd "$dir" && \
17167 for f in "$libname$shrext".*; do echo "$f"; done \
17168 | sed -e "s,^$libname$shrext\\\\.,," \
17169 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17170 | sed 1q ) 2>/dev/null`
17171 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17173 found_so="$dir/$libname$shrext.$ver"
17176 eval library_names=\"$acl_library_names_spec\"
17177 for f in $library_names; do
17178 if test -f "$dir/$f"; then
17187 if test "X$found_dir" = "X"; then
17188 if test -f "$dir/$libname.$acl_libext"; then
17190 found_a="$dir/$libname.$acl_libext"
17193 if test "X$found_dir" != "X"; then
17194 if test -f "$dir/$libname.la"; then
17195 found_la="$dir/$libname.la"
17200 if test "X$found_dir" != "X"; then
17205 if test "X$found_dir" != "X"; then
17206 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17207 if test "X$found_so" != "X"; then
17208 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
17209 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17212 for x in $ltrpathdirs; do
17213 if test "X$x" = "X$found_dir"; then
17218 if test -z "$haveit"; then
17219 ltrpathdirs="$ltrpathdirs $found_dir"
17221 if test "$acl_hardcode_direct" = yes; then
17222 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17224 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17225 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17227 for x in $rpathdirs; do
17228 if test "X$x" = "X$found_dir"; then
17233 if test -z "$haveit"; then
17234 rpathdirs="$rpathdirs $found_dir"
17238 for x in $LDFLAGS $LIBINTL; do
17240 acl_save_prefix="$prefix"
17241 prefix="$acl_final_prefix"
17242 acl_save_exec_prefix="$exec_prefix"
17243 exec_prefix="$acl_final_exec_prefix"
17245 exec_prefix="$acl_save_exec_prefix"
17246 prefix="$acl_save_prefix"
17248 if test "X$x" = "X-L$found_dir"; then
17253 if test -z "$haveit"; then
17254 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17256 if test "$acl_hardcode_minus_L" != no; then
17257 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17259 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17265 if test "X$found_a" != "X"; then
17266 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
17268 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17271 additional_includedir=
17272 case "$found_dir" in
17273 */$acl_libdirstem | */$acl_libdirstem/)
17274 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17275 LIBINTL_PREFIX="$basedir"
17276 additional_includedir="$basedir/include"
17279 if test "X$additional_includedir" != "X"; then
17280 if test "X$additional_includedir" != "X/usr/include"; then
17282 if test "X$additional_includedir" = "X/usr/local/include"; then
17283 if test -n "$GCC"; then
17285 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17289 if test -z "$haveit"; then
17290 for x in $CPPFLAGS $INCINTL; do
17292 acl_save_prefix="$prefix"
17293 prefix="$acl_final_prefix"
17294 acl_save_exec_prefix="$exec_prefix"
17295 exec_prefix="$acl_final_exec_prefix"
17297 exec_prefix="$acl_save_exec_prefix"
17298 prefix="$acl_save_prefix"
17300 if test "X$x" = "X-I$additional_includedir"; then
17305 if test -z "$haveit"; then
17306 if test -d "$additional_includedir"; then
17307 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17313 if test -n "$found_la"; then
17314 save_libdir="$libdir"
17315 case "$found_la" in
17316 */* | *\\*) . "$found_la" ;;
17317 *) . "./$found_la" ;;
17319 libdir="$save_libdir"
17320 for dep in $dependency_libs; do
17323 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17324 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
17326 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
17327 if test -n "$GCC"; then
17329 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17333 if test -z "$haveit"; then
17335 for x in $LDFLAGS $LIBINTL; do
17337 acl_save_prefix="$prefix"
17338 prefix="$acl_final_prefix"
17339 acl_save_exec_prefix="$exec_prefix"
17340 exec_prefix="$acl_final_exec_prefix"
17342 exec_prefix="$acl_save_exec_prefix"
17343 prefix="$acl_save_prefix"
17345 if test "X$x" = "X-L$additional_libdir"; then
17350 if test -z "$haveit"; then
17351 if test -d "$additional_libdir"; then
17352 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17356 for x in $LDFLAGS $LTLIBINTL; do
17358 acl_save_prefix="$prefix"
17359 prefix="$acl_final_prefix"
17360 acl_save_exec_prefix="$exec_prefix"
17361 exec_prefix="$acl_final_exec_prefix"
17363 exec_prefix="$acl_save_exec_prefix"
17364 prefix="$acl_save_prefix"
17366 if test "X$x" = "X-L$additional_libdir"; then
17371 if test -z "$haveit"; then
17372 if test -d "$additional_libdir"; then
17373 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17380 dir=`echo "X$dep" | sed -e 's/^X-R//'`
17381 if test "$enable_rpath" != no; then
17383 for x in $rpathdirs; do
17384 if test "X$x" = "X$dir"; then
17389 if test -z "$haveit"; then
17390 rpathdirs="$rpathdirs $dir"
17393 for x in $ltrpathdirs; do
17394 if test "X$x" = "X$dir"; then
17399 if test -z "$haveit"; then
17400 ltrpathdirs="$ltrpathdirs $dir"
17405 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17408 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17411 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
17412 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17418 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17419 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17425 if test "X$rpathdirs" != "X"; then
17426 if test -n "$acl_hardcode_libdir_separator"; then
17428 for found_dir in $rpathdirs; do
17429 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17431 acl_save_libdir="$libdir"
17433 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17434 libdir="$acl_save_libdir"
17435 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17437 for found_dir in $rpathdirs; do
17438 acl_save_libdir="$libdir"
17439 libdir="$found_dir"
17440 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17441 libdir="$acl_save_libdir"
17442 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17446 if test "X$ltrpathdirs" != "X"; then
17447 for found_dir in $ltrpathdirs; do
17448 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
17453 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
17454 if eval \${$gt_func_gnugettext_libintl+:} false; then :
17455 $as_echo_n "(cached) " >&6
17457 gt_save_CPPFLAGS="$CPPFLAGS"
17458 CPPFLAGS="$CPPFLAGS $INCINTL"
17459 gt_save_LIBS="$LIBS"
17460 LIBS="$LIBS $LIBINTL"
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17463 #include <libintl.h>
17464 $gt_revision_test_code
17465 extern int _nl_msg_cat_cntr;
17470 const char *_nl_expand_alias (const char *);
17474 bindtextdomain ("", "");
17475 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17480 if ac_fn_c_try_link "$LINENO"; then :
17481 eval "$gt_func_gnugettext_libintl=yes"
17483 eval "$gt_func_gnugettext_libintl=no"
17485 rm -f core conftest.err conftest.$ac_objext \
17486 conftest$ac_exeext conftest.$ac_ext
17487 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
17488 LIBS="$LIBS $LIBICONV"
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17491 #include <libintl.h>
17492 $gt_revision_test_code
17493 extern int _nl_msg_cat_cntr;
17498 const char *_nl_expand_alias (const char *);
17502 bindtextdomain ("", "");
17503 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17508 if ac_fn_c_try_link "$LINENO"; then :
17509 LIBINTL="$LIBINTL $LIBICONV"
17510 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
17511 eval "$gt_func_gnugettext_libintl=yes"
17514 rm -f core conftest.err conftest.$ac_objext \
17515 conftest$ac_exeext conftest.$ac_ext
17517 CPPFLAGS="$gt_save_CPPFLAGS"
17518 LIBS="$gt_save_LIBS"
17520 eval ac_res=\$$gt_func_gnugettext_libintl
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17522 $as_echo "$ac_res" >&6; }
17525 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
17526 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
17527 && test "$PACKAGE" != gettext-runtime \
17528 && test "$PACKAGE" != gettext-tools; }; then
17529 gt_use_preinstalled_gnugettext=yes
17538 if test -n "$INTL_MACOSX_LIBS"; then
17539 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17540 || test "$nls_cv_use_gnu_gettext" = "yes"; then
17541 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
17542 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
17546 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17547 || test "$nls_cv_use_gnu_gettext" = "yes"; then
17549 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
17557 $as_echo_n "checking whether to use NLS... " >&6; }
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17559 $as_echo "$USE_NLS" >&6; }
17560 if test "$USE_NLS" = "yes"; then
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
17562 $as_echo_n "checking where the gettext function comes from... " >&6; }
17563 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17564 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17565 gt_source="external libintl"
17570 gt_source="included intl directory"
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
17573 $as_echo "$gt_source" >&6; }
17576 if test "$USE_NLS" = "yes"; then
17578 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17579 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
17581 $as_echo_n "checking how to link with libintl... " >&6; }
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
17583 $as_echo "$LIBINTL" >&6; }
17585 for element in $INCINTL; do
17587 for x in $CPPFLAGS; do
17589 acl_save_prefix="$prefix"
17590 prefix="$acl_final_prefix"
17591 acl_save_exec_prefix="$exec_prefix"
17592 exec_prefix="$acl_final_exec_prefix"
17594 exec_prefix="$acl_save_exec_prefix"
17595 prefix="$acl_save_prefix"
17597 if test "X$x" = "X$element"; then
17602 if test -z "$haveit"; then
17603 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17610 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17613 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
17622 INTLLIBS="$LIBINTL"
17630 GETTEXT_PACKAGE="clutter-1.0"
17633 cat >>confdefs.h <<_ACEOF
17634 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linguas" >&5
17639 $as_echo_n "checking for linguas... " >&6; }
17641 linguas=`cd $podir && ls *.po 2>/dev/null | awk 'BEGIN { FS="."; ORS=" " } { print $1 }'`
17642 if test -f "$podir/LINGUAS.ignore"; then
17644 ignore_linguas=`sed -n -e 's/^\s\+\|\s\+$//g' -e '/^#/b' -e '/\S/!b' \
17645 -e 's/\s\+/\n/g' -e p "$podir/LINGUAS.ignore"`;
17646 for lang in $linguas; do
17647 if ! echo "$ignore_linguas" | grep -q "^${lang}$"; then
17648 ALL_LINGUAS="$ALL_LINGUAS $lang";
17652 ALL_LINGUAS="$linguas";
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALL_LINGUAS" >&5
17656 $as_echo "$ALL_LINGUAS" >&6; }
17660 ac_config_files="$ac_config_files Makefile config.h.win32 README build/Makefile build/autotools/Makefile build/mingw/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs10/Makefile clutter/Makefile clutter/clutter-config.h clutter/clutter-version.h clutter/clutter-$CLUTTER_API_VERSION.pc:clutter/clutter.pc.in clutter/cally/cally-$CLUTTER_API_VERSION.pc:clutter/cally/cally.pc.in clutter/cex100/clutter-cex100.h tests/Makefile tests/accessibility/Makefile tests/conform/Makefile tests/conform/test-launcher.sh tests/data/Makefile tests/interactive/Makefile tests/interactive/wrapper.sh tests/micro-bench/Makefile tests/performance/Makefile doc/Makefile doc/reference/Makefile doc/reference/clutter/Makefile doc/reference/clutter/clutter-docs.xml doc/reference/cally/Makefile doc/reference/cally/cally-docs.xml doc/common/Makefile doc/cookbook/Makefile doc/cookbook/clutter-cookbook.xml doc/cookbook/examples/Makefile po/Makefile.in"
17663 cat >confcache <<\_ACEOF
17664 # This file is a shell script that caches the results of configure
17665 # tests run on this system so they can be shared between configure
17666 # scripts and configure runs, see configure's option --config-cache.
17667 # It is not useful on other systems. If it contains results you don't
17668 # want to keep, you may remove or edit it.
17670 # config.status only pays attention to the cache file if you give it
17671 # the --recheck option to rerun configure.
17673 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17675 # following values.
17679 # The following way of writing the cache mishandles newlines in values,
17680 # but we know of no workaround that is simple, portable, and efficient.
17681 # So, we kill variables containing newlines.
17682 # Ultrix sh set writes to stderr and can't be redirected directly,
17683 # and sets the high bit in the cache file unless we assign to the vars.
17685 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17686 eval ac_val=\$$ac_var
17690 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17691 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17694 _ | IFS | as_nl) ;; #(
17695 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17696 *) { eval $ac_var=; unset $ac_var;} ;;
17702 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17703 *${as_nl}ac_space=\ *)
17704 # `set' does not quote correctly, so add quotes: double-quote
17705 # substitution turns \\\\ into \\, and sed turns \\ into \.
17708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17711 # `set' quotes correctly as required by POSIX, so do not add quotes.
17712 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17721 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17723 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17725 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17726 if test -w "$cache_file"; then
17727 if test "x$cache_file" != "x/dev/null"; then
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17729 $as_echo "$as_me: updating cache $cache_file" >&6;}
17730 if test ! -f "$cache_file" || test -h "$cache_file"; then
17731 cat confcache >"$cache_file"
17733 case $cache_file in #(
17735 mv -f confcache "$cache_file"$$ &&
17736 mv -f "$cache_file"$$ "$cache_file" ;; #(
17738 mv -f confcache "$cache_file" ;;
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17744 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17749 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17750 # Let make expand exec_prefix.
17751 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17753 DEFS=-DHAVE_CONFIG_H
17758 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17759 # 1. Remove the extension, and $U if already installed.
17760 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17761 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17762 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17763 # will be set to the directory where LIBOBJS objects are built.
17764 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17765 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17767 LIBOBJS=$ac_libobjs
17769 LTLIBOBJS=$ac_ltlibobjs
17772 if test -n "$EXEEXT"; then
17774 am__EXEEXT_FALSE='#'
17776 am__EXEEXT_TRUE='#'
17780 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
17781 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
17782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17784 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17785 as_fn_error $? "conditional \"AMDEP\" was never defined.
17786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17788 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17789 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17792 if test -z "${OS_QUARTZ_TRUE}" && test -z "${OS_QUARTZ_FALSE}"; then
17793 as_fn_error $? "conditional \"OS_QUARTZ\" was never defined.
17794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17796 if test -z "${OS_GLX_TRUE}" && test -z "${OS_GLX_FALSE}"; then
17797 as_fn_error $? "conditional \"OS_GLX\" was never defined.
17798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17800 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
17801 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
17802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17804 if test -z "${SUPPORT_WAYLAND_COMPOSITOR_TRUE}" && test -z "${SUPPORT_WAYLAND_COMPOSITOR_FALSE}"; then
17805 as_fn_error $? "conditional \"SUPPORT_WAYLAND_COMPOSITOR\" was never defined.
17806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17808 if test -z "${SUPPORT_GLX_TRUE}" && test -z "${SUPPORT_GLX_FALSE}"; then
17809 as_fn_error $? "conditional \"SUPPORT_GLX\" was never defined.
17810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17812 if test -z "${SUPPORT_X11_TRUE}" && test -z "${SUPPORT_X11_FALSE}"; then
17813 as_fn_error $? "conditional \"SUPPORT_X11\" was never defined.
17814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17816 if test -z "${SUPPORT_GDK_TRUE}" && test -z "${SUPPORT_GDK_FALSE}"; then
17817 as_fn_error $? "conditional \"SUPPORT_GDK\" was never defined.
17818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17820 if test -z "${SUPPORT_EGL_TRUE}" && test -z "${SUPPORT_EGL_FALSE}"; then
17821 as_fn_error $? "conditional \"SUPPORT_EGL\" was never defined.
17822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17824 if test -z "${SUPPORT_OSX_TRUE}" && test -z "${SUPPORT_OSX_FALSE}"; then
17825 as_fn_error $? "conditional \"SUPPORT_OSX\" was never defined.
17826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17828 if test -z "${SUPPORT_WIN32_TRUE}" && test -z "${SUPPORT_WIN32_FALSE}"; then
17829 as_fn_error $? "conditional \"SUPPORT_WIN32\" was never defined.
17830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17832 if test -z "${SUPPORT_CEX100_TRUE}" && test -z "${SUPPORT_CEX100_FALSE}"; then
17833 as_fn_error $? "conditional \"SUPPORT_CEX100\" was never defined.
17834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17836 if test -z "${SUPPORT_WAYLAND_TRUE}" && test -z "${SUPPORT_WAYLAND_FALSE}"; then
17837 as_fn_error $? "conditional \"SUPPORT_WAYLAND\" was never defined.
17838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17840 if test -z "${USE_COGL_TRUE}" && test -z "${USE_COGL_FALSE}"; then
17841 as_fn_error $? "conditional \"USE_COGL\" was never defined.
17842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17844 if test -z "${USE_TSLIB_TRUE}" && test -z "${USE_TSLIB_FALSE}"; then
17845 as_fn_error $? "conditional \"USE_TSLIB\" was never defined.
17846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17848 if test -z "${USE_EVDEV_TRUE}" && test -z "${USE_EVDEV_FALSE}"; then
17849 as_fn_error $? "conditional \"USE_EVDEV\" was never defined.
17850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17852 if test -z "${USE_GLD_TRUE}" && test -z "${USE_GLD_FALSE}"; then
17853 as_fn_error $? "conditional \"USE_GLD\" was never defined.
17854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17856 if test -z "${NEED_XKB_UTILS_TRUE}" && test -z "${NEED_XKB_UTILS_FALSE}"; then
17857 as_fn_error $? "conditional \"NEED_XKB_UTILS\" was never defined.
17858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17860 if test -z "${BUILD_XI2_TRUE}" && test -z "${BUILD_XI2_FALSE}"; then
17861 as_fn_error $? "conditional \"BUILD_XI2\" was never defined.
17862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17864 if test -z "${X11_TESTS_TRUE}" && test -z "${X11_TESTS_FALSE}"; then
17865 as_fn_error $? "conditional \"X11_TESTS\" was never defined.
17866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17868 if test -z "${PIXBUF_TESTS_TRUE}" && test -z "${PIXBUF_TESTS_FALSE}"; then
17869 as_fn_error $? "conditional \"PIXBUF_TESTS\" was never defined.
17870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17872 if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
17873 as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
17874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17876 if test -z "${PROFILE_TRUE}" && test -z "${PROFILE_FALSE}"; then
17877 as_fn_error $? "conditional \"PROFILE\" was never defined.
17878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17880 if test -z "${GCOV_ENABLED_TRUE}" && test -z "${GCOV_ENABLED_FALSE}"; then
17881 as_fn_error $? "conditional \"GCOV_ENABLED\" was never defined.
17882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17884 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
17885 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
17886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17888 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
17889 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
17890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17892 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
17893 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
17894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17896 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
17897 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
17898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17900 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
17901 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17904 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
17905 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
17906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17908 if test -z "${BUILD_GTK_DOC_TRUE}" && test -z "${BUILD_GTK_DOC_FALSE}"; then
17909 as_fn_error $? "conditional \"BUILD_GTK_DOC\" was never defined.
17910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17912 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
17913 as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
17914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17916 if test -z "${ENABLE_PDFS_TRUE}" && test -z "${ENABLE_PDFS_FALSE}"; then
17917 as_fn_error $? "conditional \"ENABLE_PDFS\" was never defined.
17918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17921 : "${CONFIG_STATUS=./config.status}"
17923 ac_clean_files_save=$ac_clean_files
17924 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17926 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17928 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17930 # Generated by $as_me.
17931 # Run this file to recreate the current configuration.
17932 # Compiler output produced by configure, useful for debugging
17933 # configure, is in config.log if it exists.
17936 ac_cs_recheck=false
17939 SHELL=\${CONFIG_SHELL-$SHELL}
17942 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17943 ## -------------------- ##
17944 ## M4sh Initialization. ##
17945 ## -------------------- ##
17947 # Be more Bourne compatible
17948 DUALCASE=1; export DUALCASE # for MKS sh
17949 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17952 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17953 # is contrary to our usage. Disable this feature.
17954 alias -g '${1+"$@"}'='"$@"'
17955 setopt NO_GLOB_SUBST
17957 case `(set -o) 2>/dev/null` in #(
17969 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17970 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17971 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17972 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17973 # Prefer a ksh shell builtin over an external printf program on Solaris,
17974 # but without wasting forks for bash or zsh.
17975 if test -z "$BASH_VERSION$ZSH_VERSION" \
17976 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17977 as_echo='print -r --'
17978 as_echo_n='print -rn --'
17979 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17980 as_echo='printf %s\n'
17981 as_echo_n='printf %s'
17983 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17984 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17985 as_echo_n='/usr/ucb/echo -n'
17987 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17988 as_echo_n_body='eval
17992 expr "X$arg" : "X\\(.*\\)$as_nl";
17993 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17995 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17997 export as_echo_n_body
17998 as_echo_n='sh -c $as_echo_n_body as_echo'
18000 export as_echo_body
18001 as_echo='sh -c $as_echo_body as_echo'
18004 # The user is always right.
18005 if test "${PATH_SEPARATOR+set}" != set; then
18007 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18008 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18015 # We need space, tab and new line, in precisely that order. Quoting is
18016 # there to prevent editors from complaining about space-tab.
18017 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18018 # splitting by setting IFS to empty value.)
18021 # Find who we are. Look in the path if we contain no directory separator.
18024 *[\\/]* ) as_myself=$0 ;;
18025 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18026 for as_dir in $PATH
18029 test -z "$as_dir" && as_dir=.
18030 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18036 # We did not find ourselves, most probably we were run as `sh COMMAND'
18037 # in which case we are not to be found in the path.
18038 if test "x$as_myself" = x; then
18041 if test ! -f "$as_myself"; then
18042 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18046 # Unset variables that we do not need and which cause bugs (e.g. in
18047 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18048 # suppresses any "Segmentation fault" message there. '((' could
18049 # trigger a bug in pdksh 5.2.14.
18050 for as_var in BASH_ENV ENV MAIL MAILPATH
18051 do eval test x\${$as_var+set} = xset \
18052 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18065 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18068 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18069 # ----------------------------------------
18070 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18071 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18072 # script with STATUS, using 1 if that was 0.
18075 as_status=$1; test $as_status -eq 0 && as_status=1
18077 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18078 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18080 $as_echo "$as_me: error: $2" >&2
18081 as_fn_exit $as_status
18085 # as_fn_set_status STATUS
18086 # -----------------------
18087 # Set $? to STATUS, without forking.
18088 as_fn_set_status ()
18091 } # as_fn_set_status
18093 # as_fn_exit STATUS
18094 # -----------------
18095 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18099 as_fn_set_status $1
18105 # Portably unset VAR.
18108 { eval $1=; unset $1;}
18110 as_unset=as_fn_unset
18111 # as_fn_append VAR VALUE
18112 # ----------------------
18113 # Append the text in VALUE to the end of the definition contained in VAR. Take
18114 # advantage of any shell optimizations that allow amortized linear growth over
18115 # repeated appends, instead of the typical quadratic growth present in naive
18117 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18118 eval 'as_fn_append ()
18129 # as_fn_arith ARG...
18130 # ------------------
18131 # Perform arithmetic evaluation on the ARGs, and store the result in the
18132 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18133 # must be portable across $(()) and expr.
18134 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18135 eval 'as_fn_arith ()
18142 as_val=`expr "$@" || test $? -eq 1`
18147 if expr a : '\(a\)' >/dev/null 2>&1 &&
18148 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18154 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18155 as_basename=basename
18160 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18166 as_me=`$as_basename -- "$0" ||
18167 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18168 X"$0" : 'X\(//\)$' \| \
18169 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18171 sed '/^.*\/\([^/][^/]*\)\/*$/{
18185 # Avoid depending upon Character Ranges.
18186 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18187 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18188 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18189 as_cr_digits='0123456789'
18190 as_cr_alnum=$as_cr_Letters$as_cr_digits
18192 ECHO_C= ECHO_N= ECHO_T=
18193 case `echo -n x` in #(((((
18195 case `echo 'xy\c'` in
18196 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18198 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18205 rm -f conf$$ conf$$.exe conf$$.file
18206 if test -d conf$$.dir; then
18207 rm -f conf$$.dir/conf$$.file
18210 mkdir conf$$.dir 2>/dev/null
18212 if (echo >conf$$.file) 2>/dev/null; then
18213 if ln -s conf$$.file conf$$ 2>/dev/null; then
18215 # ... but there are two gotchas:
18216 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18217 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18218 # In both cases, we have to default to `cp -p'.
18219 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18221 elif ln conf$$.file conf$$ 2>/dev/null; then
18229 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18230 rmdir conf$$.dir 2>/dev/null
18235 # Create "$as_dir" as a directory, including parents if necessary.
18240 -*) as_dir=./$as_dir;;
18242 test -d "$as_dir" || eval $as_mkdir_p || {
18246 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18247 *) as_qdir=$as_dir;;
18249 as_dirs="'$as_qdir' $as_dirs"
18250 as_dir=`$as_dirname -- "$as_dir" ||
18251 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18252 X"$as_dir" : 'X\(//\)[^/]' \| \
18253 X"$as_dir" : 'X\(//\)$' \| \
18254 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18255 $as_echo X"$as_dir" |
18256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18260 /^X\(\/\/\)[^/].*/{
18273 test -d "$as_dir" && break
18275 test -z "$as_dirs" || eval "mkdir $as_dirs"
18276 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18280 if mkdir -p . 2>/dev/null; then
18281 as_mkdir_p='mkdir -p "$as_dir"'
18283 test -d ./-p && rmdir ./-p
18287 if test -x / >/dev/null 2>&1; then
18288 as_test_x='test -x'
18290 if ls -dL / >/dev/null 2>&1; then
18297 if test -d "$1"; then
18303 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18304 ???[sx]*):;;*)false;;esac;fi
18308 as_executable_p=$as_test_x
18310 # Sed expression to map a string onto a valid CPP name.
18311 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18313 # Sed expression to map a string onto a valid variable name.
18314 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18318 ## ----------------------------------- ##
18319 ## Main body of $CONFIG_STATUS script. ##
18320 ## ----------------------------------- ##
18322 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18325 # Save the log message, to keep $0 and so on meaningful, and to
18326 # report actual input values of CONFIG_FILES etc. instead of their
18327 # values after options handling.
18329 This file was extended by clutter $as_me 1.10.4, which was
18330 generated by GNU Autoconf 2.68. Invocation command line was
18332 CONFIG_FILES = $CONFIG_FILES
18333 CONFIG_HEADERS = $CONFIG_HEADERS
18334 CONFIG_LINKS = $CONFIG_LINKS
18335 CONFIG_COMMANDS = $CONFIG_COMMANDS
18338 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18343 case $ac_config_files in *"
18344 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18347 case $ac_config_headers in *"
18348 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18353 # Files that config.status was made for.
18354 config_files="$ac_config_files"
18355 config_headers="$ac_config_headers"
18356 config_commands="$ac_config_commands"
18360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18362 \`$as_me' instantiates files and other configuration actions
18363 from templates according to the current configuration. Unless the files
18364 and actions are specified as TAGs, all are instantiated by default.
18366 Usage: $0 [OPTION]... [TAG]...
18368 -h, --help print this help, then exit
18369 -V, --version print version number and configuration settings, then exit
18370 --config print configuration, then exit
18371 -q, --quiet, --silent
18372 do not print progress messages
18373 -d, --debug don't remove temporary files
18374 --recheck update $as_me by reconfiguring in the same conditions
18375 --file=FILE[:TEMPLATE]
18376 instantiate the configuration file FILE
18377 --header=FILE[:TEMPLATE]
18378 instantiate the configuration header FILE
18380 Configuration files:
18383 Configuration headers:
18386 Configuration commands:
18389 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=clutter>.
18390 clutter home page: <http://www.clutter-project.org>."
18393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18394 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18396 clutter config.status 1.10.4
18397 configured by $0, generated by GNU Autoconf 2.68,
18398 with options \\"\$ac_cs_config\\"
18400 Copyright (C) 2010 Free Software Foundation, Inc.
18401 This config.status script is free software; the Free Software Foundation
18402 gives unlimited permission to copy, distribute and modify it."
18409 test -n "\$AWK" || AWK=awk
18412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18413 # The default lists apply if the user does not specify any file.
18419 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18420 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18424 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18436 # Handling of the options.
18437 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18439 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18440 $as_echo "$ac_cs_version"; exit ;;
18441 --config | --confi | --conf | --con | --co | --c )
18442 $as_echo "$ac_cs_config"; exit ;;
18443 --debug | --debu | --deb | --de | --d | -d )
18445 --file | --fil | --fi | --f )
18448 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18449 '') as_fn_error $? "missing file argument" ;;
18451 as_fn_append CONFIG_FILES " '$ac_optarg'"
18452 ac_need_defaults=false;;
18453 --header | --heade | --head | --hea )
18456 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18458 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18459 ac_need_defaults=false;;
18461 # Conflict between --help and --header
18462 as_fn_error $? "ambiguous option: \`$1'
18463 Try \`$0 --help' for more information.";;
18464 --help | --hel | -h )
18465 $as_echo "$ac_cs_usage"; exit ;;
18466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18467 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18470 # This is an error.
18471 -*) as_fn_error $? "unrecognized option: \`$1'
18472 Try \`$0 --help' for more information." ;;
18474 *) as_fn_append ac_config_targets " $1"
18475 ac_need_defaults=false ;;
18481 ac_configure_extra_args=
18483 if $ac_cs_silent; then
18485 ac_configure_extra_args="$ac_configure_extra_args --silent"
18489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18490 if \$ac_cs_recheck; then
18491 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18493 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18494 CONFIG_SHELL='$SHELL'
18495 export CONFIG_SHELL
18500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18504 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18505 ## Running $as_me. ##
18511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18515 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18518 # The HP-UX ksh and POSIX shell print the target directory to stdout
18519 # if CDPATH is set.
18520 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18522 sed_quote_subst='$sed_quote_subst'
18523 double_quote_subst='$double_quote_subst'
18524 delay_variable_subst='$delay_variable_subst'
18525 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18526 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18527 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18528 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18529 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18530 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18531 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18532 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18533 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18534 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18535 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18536 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18537 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18538 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18539 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18540 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18541 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18542 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18543 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18544 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18545 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18546 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18547 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18548 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18549 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18550 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18551 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18552 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18553 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18554 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18555 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18556 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18557 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18558 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18559 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18560 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18561 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18562 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18563 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18564 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18565 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18566 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18567 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18568 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18569 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18570 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18571 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18572 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18573 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18574 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18575 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18576 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18577 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18578 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18579 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18580 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18581 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"`'
18582 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18583 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18584 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18585 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18586 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18587 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18588 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18589 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18590 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18591 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18592 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18593 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18594 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18595 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18596 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18597 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18598 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18599 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18600 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18601 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18602 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18603 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18604 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18605 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18606 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18607 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18608 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18609 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18610 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18611 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18612 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18613 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18614 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18615 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18616 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18617 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18618 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18619 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18620 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18621 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18622 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18623 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18624 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18625 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18626 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18627 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18628 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18629 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18630 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18631 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18632 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18633 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18634 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18635 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18636 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18637 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18638 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18639 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18640 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18641 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18642 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18643 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18644 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18645 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18646 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18647 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18648 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18649 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18650 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18651 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18652 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18653 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18654 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18657 LTCFLAGS='$LTCFLAGS'
18658 compiler='$compiler_DEFAULT'
18660 # A function that is used when there is no print builtin or printf.
18661 func_fallback_echo ()
18663 eval 'cat <<_LTECHO_EOF
18668 # Quote evaled strings.
18683 deplibs_check_method \
18688 sharedlib_from_linklib_cmd \
18691 archiver_list_spec \
18697 lt_cv_sys_global_symbol_pipe \
18698 lt_cv_sys_global_symbol_to_cdecl \
18699 lt_cv_sys_global_symbol_to_c_name_address \
18700 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18701 nm_file_list_spec \
18702 lt_prog_compiler_no_builtin_flag \
18703 lt_prog_compiler_pic \
18704 lt_prog_compiler_wl \
18705 lt_prog_compiler_static \
18706 lt_cv_prog_compiler_c_o \
18715 export_dynamic_flag_spec \
18716 whole_archive_flag_spec \
18717 compiler_needs_object \
18719 allow_undefined_flag \
18720 no_undefined_flag \
18721 hardcode_libdir_flag_spec \
18722 hardcode_libdir_separator \
18726 variables_saved_for_relink \
18728 library_names_spec \
18730 install_override_mode \
18734 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18735 *[\\\\\\\`\\"\\\$]*)
18736 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18739 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18744 # Double-quote double-evaled strings.
18745 for var in reload_cmds \
18746 old_postinstall_cmds \
18747 old_postuninstall_cmds \
18749 extract_expsyms_cmds \
18750 old_archive_from_new_cmds \
18751 old_archive_from_expsyms_cmds \
18753 archive_expsym_cmds \
18755 module_expsym_cmds \
18756 export_symbols_cmds \
18760 postuninstall_cmds \
18762 sys_lib_search_path_spec \
18763 sys_lib_dlsearch_path_spec; do
18764 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18765 *[\\\\\\\`\\"\\\$]*)
18766 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18769 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18774 ac_aux_dir='$ac_aux_dir'
18775 xsi_shell='$xsi_shell'
18776 lt_shell_append='$lt_shell_append'
18778 # See if we are running on zsh, and set the options which allow our
18779 # commands through without removal of \ escapes INIT.
18780 if test -n "\${ZSH_VERSION+set}" ; then
18781 setopt NO_GLOB_SUBST
18787 TIMESTAMP='$TIMESTAMP'
18793 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18794 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
18795 # from automake < 1.5.
18796 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18797 # Capture the value of LINGUAS because we need it to compute CATALOGS.
18798 LINGUAS="${LINGUAS-%UNSET%}"
18803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18805 # Handling of arguments.
18806 for ac_config_target in $ac_config_targets
18808 case $ac_config_target in
18809 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18810 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18811 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18812 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
18813 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18814 "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
18815 "README") CONFIG_FILES="$CONFIG_FILES README" ;;
18816 "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
18817 "build/autotools/Makefile") CONFIG_FILES="$CONFIG_FILES build/autotools/Makefile" ;;
18818 "build/mingw/Makefile") CONFIG_FILES="$CONFIG_FILES build/mingw/Makefile" ;;
18819 "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
18820 "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
18821 "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
18822 "clutter/Makefile") CONFIG_FILES="$CONFIG_FILES clutter/Makefile" ;;
18823 "clutter/clutter-config.h") CONFIG_FILES="$CONFIG_FILES clutter/clutter-config.h" ;;
18824 "clutter/clutter-version.h") CONFIG_FILES="$CONFIG_FILES clutter/clutter-version.h" ;;
18825 "clutter/clutter-$CLUTTER_API_VERSION.pc") CONFIG_FILES="$CONFIG_FILES clutter/clutter-$CLUTTER_API_VERSION.pc:clutter/clutter.pc.in" ;;
18826 "clutter/cally/cally-$CLUTTER_API_VERSION.pc") CONFIG_FILES="$CONFIG_FILES clutter/cally/cally-$CLUTTER_API_VERSION.pc:clutter/cally/cally.pc.in" ;;
18827 "clutter/cex100/clutter-cex100.h") CONFIG_FILES="$CONFIG_FILES clutter/cex100/clutter-cex100.h" ;;
18828 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
18829 "tests/accessibility/Makefile") CONFIG_FILES="$CONFIG_FILES tests/accessibility/Makefile" ;;
18830 "tests/conform/Makefile") CONFIG_FILES="$CONFIG_FILES tests/conform/Makefile" ;;
18831 "tests/conform/test-launcher.sh") CONFIG_FILES="$CONFIG_FILES tests/conform/test-launcher.sh" ;;
18832 "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
18833 "tests/interactive/Makefile") CONFIG_FILES="$CONFIG_FILES tests/interactive/Makefile" ;;
18834 "tests/interactive/wrapper.sh") CONFIG_FILES="$CONFIG_FILES tests/interactive/wrapper.sh" ;;
18835 "tests/micro-bench/Makefile") CONFIG_FILES="$CONFIG_FILES tests/micro-bench/Makefile" ;;
18836 "tests/performance/Makefile") CONFIG_FILES="$CONFIG_FILES tests/performance/Makefile" ;;
18837 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18838 "doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;;
18839 "doc/reference/clutter/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/clutter/Makefile" ;;
18840 "doc/reference/clutter/clutter-docs.xml") CONFIG_FILES="$CONFIG_FILES doc/reference/clutter/clutter-docs.xml" ;;
18841 "doc/reference/cally/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/cally/Makefile" ;;
18842 "doc/reference/cally/cally-docs.xml") CONFIG_FILES="$CONFIG_FILES doc/reference/cally/cally-docs.xml" ;;
18843 "doc/common/Makefile") CONFIG_FILES="$CONFIG_FILES doc/common/Makefile" ;;
18844 "doc/cookbook/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cookbook/Makefile" ;;
18845 "doc/cookbook/clutter-cookbook.xml") CONFIG_FILES="$CONFIG_FILES doc/cookbook/clutter-cookbook.xml" ;;
18846 "doc/cookbook/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cookbook/examples/Makefile" ;;
18847 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18849 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18854 # If the user did not use the arguments to specify the items to instantiate,
18855 # then the envvar interface is used. Set only those that are not.
18856 # We use the long form for the default assignment because of an extremely
18857 # bizarre bug on SunOS 4.1.3.
18858 if $ac_need_defaults; then
18859 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18860 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18861 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18864 # Have a temporary directory for convenience. Make it in the build tree
18865 # simply because there is no reason against having it here, and in addition,
18866 # creating and moving files from /tmp can sometimes cause problems.
18867 # Hook for its removal unless debugging.
18868 # Note that there is a small window in which the directory will not be cleaned:
18869 # after its creation but before its name has been assigned to `$tmp'.
18873 trap 'exit_status=$?
18874 : "${ac_tmp:=$tmp}"
18875 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18877 trap 'as_fn_exit 1' 1 2 13 15
18879 # Create a (secure) tmp directory for tmp files.
18882 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18886 tmp=./conf$$-$RANDOM
18887 (umask 077 && mkdir "$tmp")
18888 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18891 # Set up the scripts for CONFIG_FILES section.
18892 # No need to generate them if there are no CONFIG_FILES.
18893 # This happens for instance with `./config.status config.h'.
18894 if test -n "$CONFIG_FILES"; then
18897 ac_cr=`echo X | tr X '\015'`
18898 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18899 # But we know of no other shell where ac_cr would be empty at this
18900 # point, so we can use a bashism as a fallback.
18901 if test "x$ac_cr" = x; then
18902 eval ac_cr=\$\'\\r\'
18904 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18905 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18908 ac_cs_awk_cr=$ac_cr
18911 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18916 echo "cat >conf$$subs.awk <<_ACEOF" &&
18917 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18919 } >conf$$subs.sh ||
18920 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18921 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18923 for ac_last_try in false false false false false :; do
18924 . ./conf$$subs.sh ||
18925 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18927 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18928 if test $ac_delim_n = $ac_delim_num; then
18930 elif $ac_last_try; then
18931 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18933 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18936 rm -f conf$$subs.sh
18938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18939 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18943 s/^/S["/; s/!.*/"]=/
18953 s/\(.\{148\}\)..*/\1/
18955 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18960 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18967 s/\(.\{148\}\)..*/\1/
18969 s/["\\]/\\&/g; s/^/"/; s/$/"/
18973 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18978 ' <conf$$subs.awk | sed '
18983 ' >>$CONFIG_STATUS || ac_write_fail=1
18984 rm -f conf$$subs.awk
18985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18987 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18988 for (key in S) S_is_set[key] = 1
18994 nfields = split(line, field, "@")
18996 len = length(field[1])
18997 for (i = 2; i < nfields; i++) {
18999 keylen = length(key)
19000 if (S_is_set[key]) {
19002 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19003 len += length(value) + length(field[++i])
19014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19015 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19016 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19019 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19020 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19023 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19024 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19025 # trailing colons and then remove the whole line if VPATH becomes empty
19026 # (actually we leave an empty line to preserve line numbers).
19027 if test "x$srcdir" = x.; then
19028 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19047 fi # test -n "$CONFIG_FILES"
19049 # Set up the scripts for CONFIG_HEADERS section.
19050 # No need to generate them if there are no CONFIG_HEADERS.
19051 # This happens for instance with `./config.status Makefile'.
19052 if test -n "$CONFIG_HEADERS"; then
19053 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19057 # Transform confdefs.h into an awk script `defines.awk', embedded as
19058 # here-document in config.status, that substitutes the proper values into
19059 # config.h.in to produce config.h.
19061 # Create a delimiter string that does not exist in confdefs.h, to ease
19062 # handling of long lines.
19064 for ac_last_try in false false :; do
19065 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19066 if test -z "$ac_tt"; then
19068 elif $ac_last_try; then
19069 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19071 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19075 # For the awk script, D is an array of macro values keyed by name,
19076 # likewise P contains macro parameters if any. Preserve backslash
19077 # newline sequences.
19079 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19081 s/.\{148\}/&'"$ac_delim"'/g
19084 s/^[ ]*#[ ]*define[ ][ ]*/ /
19091 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19093 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19097 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19098 D["\1"]=" \3\\\\\\n"\\/p
19100 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19105 s/.\{148\}/&'"$ac_delim"'/g
19110 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19113 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19115 ' <confdefs.h | sed '
19116 s/'"$ac_delim"'/"\\\
19117 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19120 for (key in D) D_is_set[key] = 1
19123 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19125 split(line, arg, " ")
19126 if (arg[1] == "#") {
19130 defundef = substr(arg[1], 2)
19133 split(mac1, mac2, "(") #)
19135 prefix = substr(line, 1, index(line, defundef) - 1)
19136 if (D_is_set[macro]) {
19137 # Preserve the white space surrounding the "#".
19138 print prefix "define", macro P[macro] D[macro]
19141 # Replace #undef with comments. This is necessary, for example,
19142 # in the case of _POSIX_SOURCE, which is predefined and required
19143 # on some systems where configure will not decide to define it.
19144 if (defundef == "undef") {
19145 print "/*", prefix defundef, macro, "*/"
19153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19154 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19155 fi # test -n "$CONFIG_HEADERS"
19158 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19163 :[FHLC]) ac_mode=$ac_tag; continue;;
19165 case $ac_mode$ac_tag in
19167 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19168 :[FH]-) ac_tag=-:-;;
19169 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19186 -) ac_f="$ac_tmp/stdin";;
19187 *) # Look for the file first in the build tree, then in the source tree
19188 # (if the path is not absolute). The absolute path cannot be DOS-style,
19189 # because $ac_f cannot contain `:'.
19193 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19195 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19197 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19198 as_fn_append ac_file_inputs " '$ac_f'"
19201 # Let's still pretend it is `configure' which instantiates (i.e., don't
19202 # use $as_me), people would be surprised to read:
19203 # /* config.h. Generated by config.status. */
19204 configure_input='Generated from '`
19205 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19207 if test x"$ac_file" != x-; then
19208 configure_input="$ac_file. $configure_input"
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19210 $as_echo "$as_me: creating $ac_file" >&6;}
19212 # Neutralize special characters interpreted by sed in replacement strings.
19213 case $configure_input in #(
19214 *\&* | *\|* | *\\* )
19215 ac_sed_conf_input=`$as_echo "$configure_input" |
19216 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19217 *) ac_sed_conf_input=$configure_input;;
19221 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19222 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19227 ac_dir=`$as_dirname -- "$ac_file" ||
19228 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19229 X"$ac_file" : 'X\(//\)[^/]' \| \
19230 X"$ac_file" : 'X\(//\)$' \| \
19231 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19232 $as_echo X"$ac_file" |
19233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19237 /^X\(\/\/\)[^/].*/{
19250 as_dir="$ac_dir"; as_fn_mkdir_p
19254 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19256 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19257 # A ".." for each directory in $ac_dir_suffix.
19258 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19259 case $ac_top_builddir_sub in
19260 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19261 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19264 ac_abs_top_builddir=$ac_pwd
19265 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19266 # for backward compatibility:
19267 ac_top_builddir=$ac_top_build_prefix
19270 .) # We are building in place.
19272 ac_top_srcdir=$ac_top_builddir_sub
19273 ac_abs_top_srcdir=$ac_pwd ;;
19274 [\\/]* | ?:[\\/]* ) # Absolute name.
19275 ac_srcdir=$srcdir$ac_dir_suffix;
19276 ac_top_srcdir=$srcdir
19277 ac_abs_top_srcdir=$srcdir ;;
19278 *) # Relative name.
19279 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19280 ac_top_srcdir=$ac_top_build_prefix$srcdir
19281 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19283 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19293 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19294 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19296 ac_MKDIR_P=$MKDIR_P
19298 [\\/$]* | ?:[\\/]* ) ;;
19299 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19304 # If the template does not know about datarootdir, expand it.
19305 # FIXME: This hack should be removed a few years after 2.60.
19306 ac_datarootdir_hack=; ac_datarootdir_seen=
19317 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19318 *datarootdir*) ac_datarootdir_seen=yes;;
19319 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19321 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19324 ac_datarootdir_hack='
19325 s&@datadir@&$datadir&g
19326 s&@docdir@&$docdir&g
19327 s&@infodir@&$infodir&g
19328 s&@localedir@&$localedir&g
19329 s&@mandir@&$mandir&g
19330 s&\\\${datarootdir}&$datarootdir&g' ;;
19334 # Neutralize VPATH when `$srcdir' = `.'.
19335 # Shell code in configure.ac might set extrasub.
19336 # FIXME: do we really want to maintain this feature?
19337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19338 ac_sed_extra="$ac_vpsub
19341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19343 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19344 s|@configure_input@|$ac_sed_conf_input|;t t
19345 s&@top_builddir@&$ac_top_builddir_sub&;t t
19346 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19347 s&@srcdir@&$ac_srcdir&;t t
19348 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19349 s&@top_srcdir@&$ac_top_srcdir&;t t
19350 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19351 s&@builddir@&$ac_builddir&;t t
19352 s&@abs_builddir@&$ac_abs_builddir&;t t
19353 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19354 s&@INSTALL@&$ac_INSTALL&;t t
19355 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19356 $ac_datarootdir_hack
19358 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19359 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19361 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19362 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19363 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19364 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19366 which seems to be undefined. Please make sure it is defined" >&5
19367 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19368 which seems to be undefined. Please make sure it is defined" >&2;}
19370 rm -f "$ac_tmp/stdin"
19372 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19373 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19375 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19381 if test x"$ac_file" != x-; then
19383 $as_echo "/* $configure_input */" \
19384 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19385 } >"$ac_tmp/config.h" \
19386 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19387 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19389 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19392 mv "$ac_tmp/config.h" "$ac_file" \
19393 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19396 $as_echo "/* $configure_input */" \
19397 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19398 || as_fn_error $? "could not create -" "$LINENO" 5
19400 # Compute "$ac_file"'s index in $config_headers.
19403 for _am_header in $config_headers :; do
19404 case $_am_header in
19405 $_am_arg | $_am_arg:* )
19408 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19411 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19412 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19413 X"$_am_arg" : 'X\(//\)[^/]' \| \
19414 X"$_am_arg" : 'X\(//\)$' \| \
19415 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19416 $as_echo X"$_am_arg" |
19417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19421 /^X\(\/\/\)[^/].*/{
19433 s/.*/./; q'`/stamp-h$_am_stamp_count
19436 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19437 $as_echo "$as_me: executing $ac_file commands" >&6;}
19442 case $ac_file$ac_mode in
19443 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19444 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19445 # are listed without --file. Let's play safe and only enable the eval
19446 # if we detect the quoting.
19447 case $CONFIG_FILES in
19448 *\'*) eval set x "$CONFIG_FILES" ;;
19449 *) set x $CONFIG_FILES ;;
19454 # Strip MF so we end up with the name of the file.
19455 mf=`echo "$mf" | sed -e 's/:.*$//'`
19456 # Check whether this is an Automake generated Makefile or not.
19457 # We used to match only the files named `Makefile.in', but
19458 # some people rename them; so instead we look at the file content.
19459 # Grep'ing the first line is not enough: some people post-process
19460 # each Makefile.in and add a new line on top of each file to say so.
19461 # Grep'ing the whole file is not good either: AIX grep has a line
19462 # limit of 2048, but all sed's we know have understand at least 4000.
19463 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19464 dirpart=`$as_dirname -- "$mf" ||
19465 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19466 X"$mf" : 'X\(//\)[^/]' \| \
19467 X"$mf" : 'X\(//\)$' \| \
19468 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19474 /^X\(\/\/\)[^/].*/{
19490 # Extract the definition of DEPDIR, am__include, and am__quote
19491 # from the Makefile without running `make'.
19492 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19493 test -z "$DEPDIR" && continue
19494 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19495 test -z "am__include" && continue
19496 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19497 # When using ansi2knr, U may be empty or an underscore; expand it
19498 U=`sed -n 's/^U = //p' < "$mf"`
19499 # Find all dependency output files, they are included files with
19500 # $(DEPDIR) in their names. We invoke sed twice because it is the
19501 # simplest approach to changing $(DEPDIR) to its actual value in the
19503 for file in `sed -n "
19504 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19505 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19506 # Make sure the directory exists.
19507 test -f "$dirpart/$file" && continue
19508 fdir=`$as_dirname -- "$file" ||
19509 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19510 X"$file" : 'X\(//\)[^/]' \| \
19511 X"$file" : 'X\(//\)$' \| \
19512 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19513 $as_echo X"$file" |
19514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19518 /^X\(\/\/\)[^/].*/{
19531 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19532 # echo "creating $dirpart/$file"
19533 echo '# dummy' > "$dirpart/$file"
19540 # See if we are running on zsh, and set the options which allow our
19541 # commands through without removal of \ escapes.
19542 if test -n "${ZSH_VERSION+set}" ; then
19543 setopt NO_GLOB_SUBST
19546 cfgfile="${ofile}T"
19547 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19550 cat <<_LT_EOF >> "$cfgfile"
19553 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19554 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19555 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19556 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19558 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19559 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19561 # Written by Gordon Matzigkeit, 1996
19563 # This file is part of GNU Libtool.
19565 # GNU Libtool is free software; you can redistribute it and/or
19566 # modify it under the terms of the GNU General Public License as
19567 # published by the Free Software Foundation; either version 2 of
19568 # the License, or (at your option) any later version.
19570 # As a special exception to the GNU General Public License,
19571 # if you distribute this file as part of a program or library that
19572 # is built using GNU Libtool, you may include this file under the
19573 # same distribution terms that you use for the rest of that program.
19575 # GNU Libtool is distributed in the hope that it will be useful,
19576 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19577 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19578 # GNU General Public License for more details.
19580 # You should have received a copy of the GNU General Public License
19581 # along with GNU Libtool; see the file COPYING. If not, a copy
19582 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19583 # obtained by writing to the Free Software Foundation, Inc.,
19584 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19587 # The names of the tagged configurations supported by this script.
19590 # ### BEGIN LIBTOOL CONFIG
19592 # Which release of libtool.m4 was used?
19593 macro_version=$macro_version
19594 macro_revision=$macro_revision
19596 # Whether or not to build static libraries.
19597 build_old_libs=$enable_static
19599 # Whether or not to build shared libraries.
19600 build_libtool_libs=$enable_shared
19602 # What type of objects to build.
19605 # Whether or not to optimize for fast installation.
19606 fast_install=$enable_fast_install
19608 # Shell to use when invoking shell scripts.
19611 # An echo program that protects backslashes.
19614 # The PATH separator for the build system.
19615 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19618 host_alias=$host_alias
19622 # The build system.
19623 build_alias=$build_alias
19627 # A sed program that does not truncate output.
19630 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19631 Xsed="\$SED -e 1s/^X//"
19633 # A grep program that handles long lines.
19639 # A literal string matcher.
19642 # A BSD- or MS-compatible name lister.
19645 # Whether we need soft or hard links.
19648 # What is the maximum length of a command?
19649 max_cmd_len=$max_cmd_len
19651 # Object file suffix (normally "o").
19654 # Executable file suffix (normally "").
19657 # whether the shell understands "unset".
19660 # turn spaces into newlines.
19663 # turn newlines into spaces.
19666 # convert \$build file names to \$host format.
19667 to_host_file_cmd=$lt_cv_to_host_file_cmd
19669 # convert \$build files to toolchain format.
19670 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19672 # An object symbol dumper.
19673 OBJDUMP=$lt_OBJDUMP
19675 # Method to check whether dependent libraries are shared objects.
19676 deplibs_check_method=$lt_deplibs_check_method
19678 # Command to use when deplibs_check_method = "file_magic".
19679 file_magic_cmd=$lt_file_magic_cmd
19681 # How to find potential files when deplibs_check_method = "file_magic".
19682 file_magic_glob=$lt_file_magic_glob
19684 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19685 want_nocaseglob=$lt_want_nocaseglob
19687 # DLL creation program.
19688 DLLTOOL=$lt_DLLTOOL
19690 # Command to associate shared and link libraries.
19691 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19696 # Flags to create an archive.
19697 AR_FLAGS=$lt_AR_FLAGS
19699 # How to feed a file listing to the archiver.
19700 archiver_list_spec=$lt_archiver_list_spec
19702 # A symbol stripping program.
19705 # Commands used to install an old-style archive.
19707 old_postinstall_cmds=$lt_old_postinstall_cmds
19708 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19710 # Whether to use a lock for old archive extraction.
19711 lock_old_archive_extraction=$lock_old_archive_extraction
19716 # LTCC compiler flags.
19717 LTCFLAGS=$lt_CFLAGS
19719 # Take the output of nm and produce a listing of raw symbols and C names.
19720 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19722 # Transform the output of nm in a proper C declaration.
19723 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19725 # Transform the output of nm in a C name address pair.
19726 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19728 # Transform the output of nm in a C name address pair when lib prefix is needed.
19729 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19731 # Specify filename containing input files for \$NM.
19732 nm_file_list_spec=$lt_nm_file_list_spec
19734 # The root where to search for dependent libraries,and in which our libraries should be installed.
19735 lt_sysroot=$lt_sysroot
19737 # The name of the directory that contains temporary libtool files.
19740 # Used to examine libraries when file_magic_cmd begins with "file".
19741 MAGIC_CMD=$MAGIC_CMD
19743 # Must we lock files when doing compilation?
19744 need_locks=$lt_need_locks
19747 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19749 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19750 DSYMUTIL=$lt_DSYMUTIL
19752 # Tool to change global to local symbols on Mac OS X.
19755 # Tool to manipulate fat objects and archives on Mac OS X.
19758 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19761 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19762 OTOOL64=$lt_OTOOL64
19764 # Old archive suffix (normally "a").
19767 # Shared library suffix (normally ".so").
19768 shrext_cmds=$lt_shrext_cmds
19770 # The commands to extract the exported symbol list from a shared archive.
19771 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19773 # Variables whose values should be saved in libtool wrapper scripts and
19774 # restored at link time.
19775 variables_saved_for_relink=$lt_variables_saved_for_relink
19777 # Do we need the "lib" prefix for modules?
19778 need_lib_prefix=$need_lib_prefix
19780 # Do we need a version for libraries?
19781 need_version=$need_version
19783 # Library versioning type.
19784 version_type=$version_type
19786 # Shared library runtime path variable.
19787 runpath_var=$runpath_var
19789 # Shared library path variable.
19790 shlibpath_var=$shlibpath_var
19792 # Is shlibpath searched before the hard-coded library search path?
19793 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19795 # Format of library name prefix.
19796 libname_spec=$lt_libname_spec
19798 # List of archive names. First name is the real one, the rest are links.
19799 # The last name is the one that the linker finds with -lNAME
19800 library_names_spec=$lt_library_names_spec
19802 # The coded name of the library, if different from the real name.
19803 soname_spec=$lt_soname_spec
19805 # Permission mode override for installation of shared libraries.
19806 install_override_mode=$lt_install_override_mode
19808 # Command to use after installation of a shared archive.
19809 postinstall_cmds=$lt_postinstall_cmds
19811 # Command to use after uninstallation of a shared archive.
19812 postuninstall_cmds=$lt_postuninstall_cmds
19814 # Commands used to finish a libtool library installation in a directory.
19815 finish_cmds=$lt_finish_cmds
19817 # As "finish_cmds", except a single script fragment to be evaled but
19819 finish_eval=$lt_finish_eval
19821 # Whether we should hardcode library paths into libraries.
19822 hardcode_into_libs=$hardcode_into_libs
19824 # Compile-time system search path for libraries.
19825 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19827 # Run-time system search path for libraries.
19828 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19830 # Whether dlopen is supported.
19831 dlopen_support=$enable_dlopen
19833 # Whether dlopen of programs is supported.
19834 dlopen_self=$enable_dlopen_self
19836 # Whether dlopen of statically linked programs is supported.
19837 dlopen_self_static=$enable_dlopen_self_static
19839 # Commands to strip libraries.
19840 old_striplib=$lt_old_striplib
19841 striplib=$lt_striplib
19844 # The linker used to build libraries.
19847 # How to create reloadable object files.
19848 reload_flag=$lt_reload_flag
19849 reload_cmds=$lt_reload_cmds
19851 # Commands used to build an old-style archive.
19852 old_archive_cmds=$lt_old_archive_cmds
19854 # A language specific compiler.
19857 # Is the compiler the GNU compiler?
19860 # Compiler flag to turn off builtin functions.
19861 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19863 # Additional compiler flags for building library objects.
19864 pic_flag=$lt_lt_prog_compiler_pic
19866 # How to pass a linker flag through the compiler.
19867 wl=$lt_lt_prog_compiler_wl
19869 # Compiler flag to prevent dynamic linking.
19870 link_static_flag=$lt_lt_prog_compiler_static
19872 # Does compiler simultaneously support -c and -o options?
19873 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19875 # Whether or not to add -lc for building shared libraries.
19876 build_libtool_need_lc=$archive_cmds_need_lc
19878 # Whether or not to disallow shared libs when runtime libs are static.
19879 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19881 # Compiler flag to allow reflexive dlopens.
19882 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19884 # Compiler flag to generate shared objects directly from archives.
19885 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19887 # Whether the compiler copes with passing no objects directly.
19888 compiler_needs_object=$lt_compiler_needs_object
19890 # Create an old-style archive from a shared archive.
19891 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19893 # Create a temporary old-style archive to link instead of a shared archive.
19894 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19896 # Commands used to build a shared archive.
19897 archive_cmds=$lt_archive_cmds
19898 archive_expsym_cmds=$lt_archive_expsym_cmds
19900 # Commands used to build a loadable module if different from building
19901 # a shared archive.
19902 module_cmds=$lt_module_cmds
19903 module_expsym_cmds=$lt_module_expsym_cmds
19905 # Whether we are building with GNU ld or not.
19906 with_gnu_ld=$lt_with_gnu_ld
19908 # Flag that allows shared libraries with undefined symbols to be built.
19909 allow_undefined_flag=$lt_allow_undefined_flag
19911 # Flag that enforces no undefined symbols.
19912 no_undefined_flag=$lt_no_undefined_flag
19914 # Flag to hardcode \$libdir into a binary during linking.
19915 # This must work even if \$libdir does not exist
19916 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19918 # Whether we need a single "-rpath" flag with a separated argument.
19919 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19921 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19922 # DIR into the resulting binary.
19923 hardcode_direct=$hardcode_direct
19925 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19926 # DIR into the resulting binary and the resulting library dependency is
19927 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19928 # library is relocated.
19929 hardcode_direct_absolute=$hardcode_direct_absolute
19931 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19932 # into the resulting binary.
19933 hardcode_minus_L=$hardcode_minus_L
19935 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19936 # into the resulting binary.
19937 hardcode_shlibpath_var=$hardcode_shlibpath_var
19939 # Set to "yes" if building a shared library automatically hardcodes DIR
19940 # into the library and all subsequent libraries and executables linked
19942 hardcode_automatic=$hardcode_automatic
19944 # Set to yes if linker adds runtime paths of dependent libraries
19945 # to runtime path list.
19946 inherit_rpath=$inherit_rpath
19948 # Whether libtool must link a program against all its dependency libraries.
19949 link_all_deplibs=$link_all_deplibs
19951 # Set to "yes" if exported symbols are required.
19952 always_export_symbols=$always_export_symbols
19954 # The commands to list exported symbols.
19955 export_symbols_cmds=$lt_export_symbols_cmds
19957 # Symbols that should not be listed in the preloaded symbols.
19958 exclude_expsyms=$lt_exclude_expsyms
19960 # Symbols that must always be exported.
19961 include_expsyms=$lt_include_expsyms
19963 # Commands necessary for linking programs (against libraries) with templates.
19964 prelink_cmds=$lt_prelink_cmds
19966 # Commands necessary for finishing linking programs.
19967 postlink_cmds=$lt_postlink_cmds
19969 # Specify filename containing input files.
19970 file_list_spec=$lt_file_list_spec
19972 # How to hardcode a shared library path into an executable.
19973 hardcode_action=$hardcode_action
19975 # ### END LIBTOOL CONFIG
19981 cat <<\_LT_EOF >> "$cfgfile"
19982 # AIX sometimes has problems with the GCC collect2 program. For some
19983 # reason, if we set the COLLECT_NAMES environment variable, the problems
19984 # vanish in a puff of smoke.
19985 if test "X${COLLECT_NAMES+set}" != Xset; then
19987 export COLLECT_NAMES
19994 ltmain="$ac_aux_dir/ltmain.sh"
19997 # We use sed instead of cat because bash on DJGPP gets confused if
19998 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19999 # text mode, it properly converts lines to CR/LF. This bash problem
20000 # is reportedly fixed, but why not run on old versions too?
20001 sed '$q' "$ltmain" >> "$cfgfile" \
20002 || (rm -f "$cfgfile"; exit 1)
20004 if test x"$xsi_shell" = xyes; then
20005 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20009 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20010 \ * ) func_dirname_result="${3}" ;;\
20012 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20013 && mv -f "$cfgfile.tmp" "$cfgfile" \
20014 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20015 test 0 -eq $? || _lt_function_replace_fail=:
20018 sed -e '/^func_basename ()$/,/^} # func_basename /c\
20021 \ func_basename_result="${1##*/}"\
20022 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20023 && mv -f "$cfgfile.tmp" "$cfgfile" \
20024 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20025 test 0 -eq $? || _lt_function_replace_fail=:
20028 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20029 func_dirname_and_basename ()\
20032 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20033 \ * ) func_dirname_result="${3}" ;;\
20035 \ func_basename_result="${1##*/}"\
20036 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20037 && mv -f "$cfgfile.tmp" "$cfgfile" \
20038 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20039 test 0 -eq $? || _lt_function_replace_fail=:
20042 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20045 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20046 \ # positional parameters, so assign one to ordinary parameter first.\
20047 \ func_stripname_result=${3}\
20048 \ func_stripname_result=${func_stripname_result#"${1}"}\
20049 \ func_stripname_result=${func_stripname_result%"${2}"}\
20050 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20051 && mv -f "$cfgfile.tmp" "$cfgfile" \
20052 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20053 test 0 -eq $? || _lt_function_replace_fail=:
20056 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20057 func_split_long_opt ()\
20059 \ func_split_long_opt_name=${1%%=*}\
20060 \ func_split_long_opt_arg=${1#*=}\
20061 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20062 && mv -f "$cfgfile.tmp" "$cfgfile" \
20063 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20064 test 0 -eq $? || _lt_function_replace_fail=:
20067 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20068 func_split_short_opt ()\
20070 \ func_split_short_opt_arg=${1#??}\
20071 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20072 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20073 && mv -f "$cfgfile.tmp" "$cfgfile" \
20074 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20075 test 0 -eq $? || _lt_function_replace_fail=:
20078 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20082 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20083 \ *) func_lo2o_result=${1} ;;\
20085 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20086 && mv -f "$cfgfile.tmp" "$cfgfile" \
20087 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20088 test 0 -eq $? || _lt_function_replace_fail=:
20091 sed -e '/^func_xform ()$/,/^} # func_xform /c\
20094 func_xform_result=${1%.*}.lo\
20095 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20096 && mv -f "$cfgfile.tmp" "$cfgfile" \
20097 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20098 test 0 -eq $? || _lt_function_replace_fail=:
20101 sed -e '/^func_arith ()$/,/^} # func_arith /c\
20104 func_arith_result=$(( $* ))\
20105 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20106 && mv -f "$cfgfile.tmp" "$cfgfile" \
20107 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20108 test 0 -eq $? || _lt_function_replace_fail=:
20111 sed -e '/^func_len ()$/,/^} # func_len /c\
20114 func_len_result=${#1}\
20115 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20116 && mv -f "$cfgfile.tmp" "$cfgfile" \
20117 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20118 test 0 -eq $? || _lt_function_replace_fail=:
20122 if test x"$lt_shell_append" = xyes; then
20123 sed -e '/^func_append ()$/,/^} # func_append /c\
20126 eval "${1}+=\\${2}"\
20127 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20128 && mv -f "$cfgfile.tmp" "$cfgfile" \
20129 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20130 test 0 -eq $? || _lt_function_replace_fail=:
20133 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20134 func_append_quoted ()\
20136 \ func_quote_for_eval "${2}"\
20137 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20138 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20139 && mv -f "$cfgfile.tmp" "$cfgfile" \
20140 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20141 test 0 -eq $? || _lt_function_replace_fail=:
20144 # Save a `func_append' function call where possible by direct use of '+='
20145 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20146 && mv -f "$cfgfile.tmp" "$cfgfile" \
20147 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20148 test 0 -eq $? || _lt_function_replace_fail=:
20150 # Save a `func_append' function call even when '+=' is not available
20151 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20152 && mv -f "$cfgfile.tmp" "$cfgfile" \
20153 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20154 test 0 -eq $? || _lt_function_replace_fail=:
20157 if test x"$_lt_function_replace_fail" = x":"; then
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20159 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20163 mv -f "$cfgfile" "$ofile" ||
20164 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20168 "po-directories":C)
20169 for ac_file in $CONFIG_FILES; do
20170 # Support "outfile[:infile[:infile...]]"
20172 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20174 # PO directories have a Makefile.in generated from Makefile.in.in.
20175 case "$ac_file" in */Makefile.in)
20176 # Adjust a relative srcdir.
20177 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20178 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
20179 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20180 # In autoconf-2.13 it is called $ac_given_srcdir.
20181 # In autoconf-2.50 it is called $srcdir.
20182 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
20183 case "$ac_given_srcdir" in
20184 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
20185 /*) top_srcdir="$ac_given_srcdir" ;;
20186 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
20188 # Treat a directory as a PO directory if and only if it has a
20189 # POTFILES.in file. This allows packages to have multiple PO
20190 # directories under different names or in different locations.
20191 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20192 rm -f "$ac_dir/POTFILES"
20193 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
20194 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20195 POMAKEFILEDEPS="POTFILES.in"
20196 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
20197 # on $ac_dir but don't depend on user-specified configuration
20199 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20200 # The LINGUAS file contains the set of available languages.
20201 if test -n "$OBSOLETE_ALL_LINGUAS"; then
20202 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
20204 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20205 # Hide the ALL_LINGUAS assigment from automake < 1.5.
20206 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20207 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
20209 # The set of available languages was given in configure.in.
20210 # Hide the ALL_LINGUAS assigment from automake < 1.5.
20211 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20214 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
20215 # Compute UPDATEPOFILES
20216 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
20217 # Compute DUMMYPOFILES
20218 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
20220 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
20221 case "$ac_given_srcdir" in
20223 *) srcdirpre='$(srcdir)/' ;;
20229 for lang in $ALL_LINGUAS; do
20230 POFILES="$POFILES $srcdirpre$lang.po"
20231 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
20232 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
20233 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
20235 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20236 # environment variable.
20238 if test -n "$ALL_LINGUAS"; then
20239 for presentlang in $ALL_LINGUAS; do
20241 if test "%UNSET%" != "$LINGUAS"; then
20242 desiredlanguages="$LINGUAS"
20244 desiredlanguages="$ALL_LINGUAS"
20246 for desiredlang in $desiredlanguages; do
20247 # Use the presentlang catalog if desiredlang is
20248 # a. equal to presentlang, or
20249 # b. a variant of presentlang (because in this case,
20250 # presentlang can be used as a fallback for messages
20251 # which are not translated in the desiredlang catalog).
20252 case "$desiredlang" in
20253 "$presentlang"*) useit=yes;;
20256 if test $useit = yes; then
20257 INST_LINGUAS="$INST_LINGUAS $presentlang"
20262 if test -n "$INST_LINGUAS"; then
20263 for lang in $INST_LINGUAS; do
20264 CATALOGS="$CATALOGS $lang.gmo"
20267 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
20268 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
20269 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
20270 if test -f "$f"; then
20272 *.orig | *.bak | *~) ;;
20273 *) cat "$f" >> "$ac_dir/Makefile" ;;
20288 ac_clean_files=$ac_clean_files_save
20290 test $ac_write_fail = 0 ||
20291 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20294 # configure is writing to config.log, and then calls config.status.
20295 # config.status does its own redirection, appending to config.log.
20296 # Unfortunately, on DOS this fails, as config.log is still kept open
20297 # by configure, so config.status won't be able to write to it; its
20298 # output is simply discarded. So we exec the FD to /dev/null,
20299 # effectively closing config.log, so it can be properly (re)opened and
20300 # appended to by config.status. When coming back to configure, we
20301 # need to make the FD available again.
20302 if test "$no_create" != yes; then
20304 ac_config_status_args=
20305 test "$silent" = yes &&
20306 ac_config_status_args="$ac_config_status_args --quiet"
20308 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20310 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20311 # would make configure fail if this is the last instruction.
20312 $ac_cs_success || as_fn_exit 1
20314 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20316 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20322 echo "Clutter - $VERSION (${CLUTTER_RELEASE_STATUS})"
20327 echo " Prefix: ${prefix}"
20328 echo " Libdir: ${libdir}"
20329 echo " Sysconfdir: ${sysconfdir}"
20331 # Compiler/Debug related flags
20333 echo " • Compiler options:"
20334 echo " Clutter debug level: ${enable_debug}"
20335 echo " Compiler flags: ${CFLAGS} ${MAINTAINER_CFLAGS}"
20336 echo " Profiling enabled: ${enable_profile}"
20337 echo " Enable coverage tests: ${enable_gcov}"
20338 echo " Enable deprecated symbols: ${enable_deprecated}"
20342 echo " • Documentation:"
20343 echo " Build API Reference: ${enable_gtk_doc}"
20344 echo " Build Additional Documentation: ${enable_docs} (Generate PDF: ${enable_pdfs})"
20349 echo " Build introspection data: ${enable_introspection}"
20350 echo " Build conformance test suite: ${enable_conformance}"
20351 echo " Build X11-specific tests: ${x11_tests}"
20352 echo " Build tests using GDK-Pixbuf: ${pixbuf_tests}"
20354 # Clutter backend related flags
20356 echo " • Clutter Backends:"
20358 if test "x$experimental_backend" = "xno"; then
20359 echo " Windowing systems: ${CLUTTER_BACKENDS}"
20361 echo " Windowing systems: ${CLUTTER_BACKENDS} (WARNING: Experimental backends enabled)"
20364 if test "x$experimental_input_backend" = "xno"; then
20365 echo " Input backends: ${CLUTTER_INPUT_BACKENDS}"
20367 echo " Input backends: ${CLUTTER_INPUT_BACKENDS} (WARNING: Experimental backends enabled)"
20370 if test "x$SUPPORT_X11" = "x1"; then
20372 echo " - X11 backend options:"
20373 echo " Enabled extensions: ${X11_EXTS}"
20376 if test "x$SUPPORT_CEX100" = "x1"; then
20378 echo " - CEx100 backend options (WARNING: Experimental):"
20379 echo " libGDL include prefix: ${CLUTTER_CEX100_LIBGDL_PREFIX}"
20382 if test "x$SUPPORT_WAYLAND_COMPOSITOR" = "x1"; then
20384 echo " - Wayland compositor support enabled (WARNING: Experimental)"
20389 # General warning about experimental features
20390 if test "x$experimental_backend" = "xyes"; then
20392 echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"
20393 echo "*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*"
20395 echo " The stability of your build might be affected by one or more"
20396 echo " experimental backends or experimental and unsupported features"
20398 echo "*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*"
20399 echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"