2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for clutter 1.10.0.
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.0'
575 PACKAGE_STRING='clutter 1.10.0'
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
836 CLUTTER_RELEASE_STATUS
837 CLUTTER_API_VERSION_AM
840 CLUTTER_MICRO_VERSION
841 CLUTTER_MINOR_VERSION
842 CLUTTER_MAJOR_VERSION
853 INSTALL_STRIP_PROGRAM
895 program_transform_name
908 enable_option_checking
910 enable_dependency_tracking
922 enable_quartz_backend
924 enable_wayland_backend
926 enable_cex100_backend
927 enable_wayland_compositor
938 enable_maintainer_flags
950 ac_precious_vars='build_alias
973 CLUTTER_DEPS_PRIVATE_CFLAGS
974 CLUTTER_DEPS_PRIVATE_LIBS
979 # Initialize some variables set by options.
981 ac_init_version=false
982 ac_unrecognized_opts=
984 # The variables have the same names as the options, with
985 # dashes changed to underlines.
993 program_transform_name=s,x,x,
1001 # Installation directory options.
1002 # These are left unexpanded so users can "make install exec_prefix=/foo"
1003 # and all the variables that are supposed to be based on exec_prefix
1004 # by default will actually change.
1005 # Use braces instead of parens because sh, perl, etc. also accept them.
1006 # (The list follows the same order as the GNU Coding Standards.)
1007 bindir='${exec_prefix}/bin'
1008 sbindir='${exec_prefix}/sbin'
1009 libexecdir='${exec_prefix}/libexec'
1010 datarootdir='${prefix}/share'
1011 datadir='${datarootdir}'
1012 sysconfdir='${prefix}/etc'
1013 sharedstatedir='${prefix}/com'
1014 localstatedir='${prefix}/var'
1015 includedir='${prefix}/include'
1016 oldincludedir='/usr/include'
1017 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1018 infodir='${datarootdir}/info'
1023 libdir='${exec_prefix}/lib'
1024 localedir='${datarootdir}/locale'
1025 mandir='${datarootdir}/man'
1031 # If the previous option needs an argument, assign it.
1032 if test -n "$ac_prev"; then
1033 eval $ac_prev=\$ac_option
1039 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1044 # Accept the important Cygnus configure options, so we can diagnose typos.
1046 case $ac_dashdash$ac_option in
1050 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1052 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1053 bindir=$ac_optarg ;;
1055 -build | --build | --buil | --bui | --bu)
1056 ac_prev=build_alias ;;
1057 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1058 build_alias=$ac_optarg ;;
1060 -cache-file | --cache-file | --cache-fil | --cache-fi \
1061 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1062 ac_prev=cache_file ;;
1063 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1064 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1065 cache_file=$ac_optarg ;;
1067 --config-cache | -C)
1068 cache_file=config.cache ;;
1070 -datadir | --datadir | --datadi | --datad)
1072 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1073 datadir=$ac_optarg ;;
1075 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1076 | --dataroo | --dataro | --datar)
1077 ac_prev=datarootdir ;;
1078 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1079 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1080 datarootdir=$ac_optarg ;;
1082 -disable-* | --disable-*)
1083 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1086 as_fn_error $? "invalid feature name: $ac_useropt"
1087 ac_useropt_orig=$ac_useropt
1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1091 "enable_$ac_useropt"
1093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1094 ac_unrecognized_sep=', ';;
1096 eval enable_$ac_useropt=no ;;
1098 -docdir | --docdir | --docdi | --doc | --do)
1100 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1101 docdir=$ac_optarg ;;
1103 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1105 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1106 dvidir=$ac_optarg ;;
1108 -enable-* | --enable-*)
1109 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1112 as_fn_error $? "invalid feature name: $ac_useropt"
1113 ac_useropt_orig=$ac_useropt
1114 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 case $ac_user_opts in
1117 "enable_$ac_useropt"
1119 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1120 ac_unrecognized_sep=', ';;
1122 eval enable_$ac_useropt=\$ac_optarg ;;
1124 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1125 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1126 | --exec | --exe | --ex)
1127 ac_prev=exec_prefix ;;
1128 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1129 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1130 | --exec=* | --exe=* | --ex=*)
1131 exec_prefix=$ac_optarg ;;
1133 -gas | --gas | --ga | --g)
1134 # Obsolete; use --with-gas.
1137 -help | --help | --hel | --he | -h)
1138 ac_init_help=long ;;
1139 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1140 ac_init_help=recursive ;;
1141 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1142 ac_init_help=short ;;
1144 -host | --host | --hos | --ho)
1145 ac_prev=host_alias ;;
1146 -host=* | --host=* | --hos=* | --ho=*)
1147 host_alias=$ac_optarg ;;
1149 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1151 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1153 htmldir=$ac_optarg ;;
1155 -includedir | --includedir | --includedi | --included | --include \
1156 | --includ | --inclu | --incl | --inc)
1157 ac_prev=includedir ;;
1158 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1159 | --includ=* | --inclu=* | --incl=* | --inc=*)
1160 includedir=$ac_optarg ;;
1162 -infodir | --infodir | --infodi | --infod | --info | --inf)
1164 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1165 infodir=$ac_optarg ;;
1167 -libdir | --libdir | --libdi | --libd)
1169 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1170 libdir=$ac_optarg ;;
1172 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1173 | --libexe | --libex | --libe)
1174 ac_prev=libexecdir ;;
1175 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1176 | --libexe=* | --libex=* | --libe=*)
1177 libexecdir=$ac_optarg ;;
1179 -localedir | --localedir | --localedi | --localed | --locale)
1180 ac_prev=localedir ;;
1181 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1182 localedir=$ac_optarg ;;
1184 -localstatedir | --localstatedir | --localstatedi | --localstated \
1185 | --localstate | --localstat | --localsta | --localst | --locals)
1186 ac_prev=localstatedir ;;
1187 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1188 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1189 localstatedir=$ac_optarg ;;
1191 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1193 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1194 mandir=$ac_optarg ;;
1196 -nfp | --nfp | --nf)
1197 # Obsolete; use --without-fp.
1200 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1201 | --no-cr | --no-c | -n)
1204 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1205 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1208 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1209 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1210 | --oldin | --oldi | --old | --ol | --o)
1211 ac_prev=oldincludedir ;;
1212 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1213 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1214 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1215 oldincludedir=$ac_optarg ;;
1217 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1219 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1220 prefix=$ac_optarg ;;
1222 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1223 | --program-pre | --program-pr | --program-p)
1224 ac_prev=program_prefix ;;
1225 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1226 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1227 program_prefix=$ac_optarg ;;
1229 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1230 | --program-suf | --program-su | --program-s)
1231 ac_prev=program_suffix ;;
1232 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1233 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1234 program_suffix=$ac_optarg ;;
1236 -program-transform-name | --program-transform-name \
1237 | --program-transform-nam | --program-transform-na \
1238 | --program-transform-n | --program-transform- \
1239 | --program-transform | --program-transfor \
1240 | --program-transfo | --program-transf \
1241 | --program-trans | --program-tran \
1242 | --progr-tra | --program-tr | --program-t)
1243 ac_prev=program_transform_name ;;
1244 -program-transform-name=* | --program-transform-name=* \
1245 | --program-transform-nam=* | --program-transform-na=* \
1246 | --program-transform-n=* | --program-transform-=* \
1247 | --program-transform=* | --program-transfor=* \
1248 | --program-transfo=* | --program-transf=* \
1249 | --program-trans=* | --program-tran=* \
1250 | --progr-tra=* | --program-tr=* | --program-t=*)
1251 program_transform_name=$ac_optarg ;;
1253 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1255 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1256 pdfdir=$ac_optarg ;;
1258 -psdir | --psdir | --psdi | --psd | --ps)
1260 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1263 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1264 | -silent | --silent | --silen | --sile | --sil)
1267 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1269 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1271 sbindir=$ac_optarg ;;
1273 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1274 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1275 | --sharedst | --shareds | --shared | --share | --shar \
1277 ac_prev=sharedstatedir ;;
1278 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1279 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1280 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1282 sharedstatedir=$ac_optarg ;;
1284 -site | --site | --sit)
1286 -site=* | --site=* | --sit=*)
1289 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1291 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1292 srcdir=$ac_optarg ;;
1294 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1295 | --syscon | --sysco | --sysc | --sys | --sy)
1296 ac_prev=sysconfdir ;;
1297 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1298 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1299 sysconfdir=$ac_optarg ;;
1301 -target | --target | --targe | --targ | --tar | --ta | --t)
1302 ac_prev=target_alias ;;
1303 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1304 target_alias=$ac_optarg ;;
1306 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1309 -version | --version | --versio | --versi | --vers | -V)
1310 ac_init_version=: ;;
1313 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1314 # Reject names that are not valid shell variable names.
1315 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1316 as_fn_error $? "invalid package name: $ac_useropt"
1317 ac_useropt_orig=$ac_useropt
1318 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1319 case $ac_user_opts in
1323 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1324 ac_unrecognized_sep=', ';;
1326 eval with_$ac_useropt=\$ac_optarg ;;
1328 -without-* | --without-*)
1329 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1330 # Reject names that are not valid shell variable names.
1331 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1332 as_fn_error $? "invalid package name: $ac_useropt"
1333 ac_useropt_orig=$ac_useropt
1334 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1335 case $ac_user_opts in
1339 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1340 ac_unrecognized_sep=', ';;
1342 eval with_$ac_useropt=no ;;
1345 # Obsolete; use --with-x.
1348 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1349 | --x-incl | --x-inc | --x-in | --x-i)
1350 ac_prev=x_includes ;;
1351 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1352 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1353 x_includes=$ac_optarg ;;
1355 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1356 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1357 ac_prev=x_libraries ;;
1358 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1359 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1360 x_libraries=$ac_optarg ;;
1362 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1363 Try \`$0 --help' for more information"
1367 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1368 # Reject names that are not valid shell variable names.
1369 case $ac_envvar in #(
1370 '' | [0-9]* | *[!_$as_cr_alnum]* )
1371 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1373 eval $ac_envvar=\$ac_optarg
1374 export $ac_envvar ;;
1377 # FIXME: should be removed in autoconf 3.0.
1378 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1379 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1380 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1381 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1387 if test -n "$ac_prev"; then
1388 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1389 as_fn_error $? "missing argument to $ac_option"
1392 if test -n "$ac_unrecognized_opts"; then
1393 case $enable_option_checking in
1395 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1396 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1400 # Check all directory arguments for consistency.
1401 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1402 datadir sysconfdir sharedstatedir localstatedir includedir \
1403 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1404 libdir localedir mandir
1406 eval ac_val=\$$ac_var
1407 # Remove trailing slashes.
1410 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1411 eval $ac_var=\$ac_val;;
1413 # Be sure to have absolute directory names.
1415 [\\/$]* | ?:[\\/]* ) continue;;
1416 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1418 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1421 # There might be people who depend on the old broken behavior: `$host'
1422 # used to hold the argument of --host etc.
1423 # FIXME: To remove some day.
1426 target=$target_alias
1428 # FIXME: To remove some day.
1429 if test "x$host_alias" != x; then
1430 if test "x$build_alias" = x; then
1431 cross_compiling=maybe
1432 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1433 If a cross compiler is detected then cross compile mode will be used" >&2
1434 elif test "x$build_alias" != "x$host_alias"; then
1440 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1442 test "$silent" = yes && exec 6>/dev/null
1445 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1446 ac_ls_di=`ls -di .` &&
1447 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1448 as_fn_error $? "working directory cannot be determined"
1449 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1450 as_fn_error $? "pwd does not report name of working directory"
1453 # Find the source files, if location was not specified.
1454 if test -z "$srcdir"; then
1455 ac_srcdir_defaulted=yes
1456 # Try the directory containing this script, then the parent directory.
1457 ac_confdir=`$as_dirname -- "$as_myself" ||
1458 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1459 X"$as_myself" : 'X\(//\)[^/]' \| \
1460 X"$as_myself" : 'X\(//\)$' \| \
1461 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1462 $as_echo X"$as_myself" |
1463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1481 if test ! -r "$srcdir/$ac_unique_file"; then
1485 ac_srcdir_defaulted=no
1487 if test ! -r "$srcdir/$ac_unique_file"; then
1488 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1489 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1491 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1493 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1495 # When building in place, set srcdir=.
1496 if test "$ac_abs_confdir" = "$ac_pwd"; then
1499 # Remove unnecessary trailing slashes from srcdir.
1500 # Double slashes in file names in object file debugging info
1501 # mess up M-x gdb in Emacs.
1503 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1505 for ac_var in $ac_precious_vars; do
1506 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1507 eval ac_env_${ac_var}_value=\$${ac_var}
1508 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1509 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1513 # Report the --help message.
1515 if test "$ac_init_help" = "long"; then
1516 # Omit some internal or obsolete options to make the list less imposing.
1517 # This message is too long to be a string in the A/UX 3.1 sh.
1519 \`configure' configures clutter 1.10.0 to adapt to many kinds of systems.
1521 Usage: $0 [OPTION]... [VAR=VALUE]...
1523 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1524 VAR=VALUE. See below for descriptions of some of the useful variables.
1526 Defaults for the options are specified in brackets.
1529 -h, --help display this help and exit
1530 --help=short display options specific to this package
1531 --help=recursive display the short help of all the included packages
1532 -V, --version display version information and exit
1533 -q, --quiet, --silent do not print \`checking ...' messages
1534 --cache-file=FILE cache test results in FILE [disabled]
1535 -C, --config-cache alias for \`--cache-file=config.cache'
1536 -n, --no-create do not create output files
1537 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1539 Installation directories:
1540 --prefix=PREFIX install architecture-independent files in PREFIX
1541 [$ac_default_prefix]
1542 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1545 By default, \`make install' will install all the files in
1546 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1547 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1548 for instance \`--prefix=\$HOME'.
1550 For better control, use the options below.
1552 Fine tuning of the installation directories:
1553 --bindir=DIR user executables [EPREFIX/bin]
1554 --sbindir=DIR system admin executables [EPREFIX/sbin]
1555 --libexecdir=DIR program executables [EPREFIX/libexec]
1556 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1557 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1558 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1559 --libdir=DIR object code libraries [EPREFIX/lib]
1560 --includedir=DIR C header files [PREFIX/include]
1561 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1562 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1563 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1564 --infodir=DIR info documentation [DATAROOTDIR/info]
1565 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1566 --mandir=DIR man documentation [DATAROOTDIR/man]
1567 --docdir=DIR documentation root [DATAROOTDIR/doc/clutter]
1568 --htmldir=DIR html documentation [DOCDIR]
1569 --dvidir=DIR dvi documentation [DOCDIR]
1570 --pdfdir=DIR pdf documentation [DOCDIR]
1571 --psdir=DIR ps documentation [DOCDIR]
1577 --program-prefix=PREFIX prepend PREFIX to installed program names
1578 --program-suffix=SUFFIX append SUFFIX to installed program names
1579 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1582 --x-includes=DIR X include files are in DIR
1583 --x-libraries=DIR X library files are in DIR
1586 --build=BUILD configure for building on BUILD [guessed]
1587 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1591 if test -n "$ac_init_help"; then
1592 case $ac_init_help in
1593 short | recursive ) echo "Configuration of clutter 1.10.0:";;
1598 --disable-option-checking ignore unrecognized --enable/--with options
1599 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1600 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1601 --enable-silent-rules less verbose build output (undo: `make V=1')
1602 --disable-silent-rules verbose build output (undo: `make V=0')
1603 --disable-dependency-tracking speeds up one-time build
1604 --enable-dependency-tracking do not reject slow dependency extractors
1605 --enable-static[=PKGS] build static libraries [default=no]
1606 --enable-shared[=PKGS] build shared libraries [default=yes]
1607 --enable-fast-install[=PKGS]
1608 optimize for fast installation [default=yes]
1609 --disable-libtool-lock avoid locking (might break parallel builds)
1610 --disable-glibtest do not try to compile and run a test GLIB program
1611 --disable-Bsymbolic Avoid linking with -Bsymbolic
1612 --enable-x11-backend=[yes/no]
1613 Enable the X11 backend (default=check)
1614 --enable-win32-backend=[yes/no]
1615 Enable the Windows backend (default=check)
1616 --enable-quartz-backend=[yes/no]
1617 Enable the OS X backend (default=check)
1618 --enable-gdk-backend=[yes/no]
1619 Enable the GDK backend (default=check)
1620 --enable-wayland-backend=[yes/no]
1621 Enable the Wayland client backend (default=no)
1622 --enable-egl-backend=[yes/no]
1623 Enable the EGL framebuffer backend (default=no)
1624 --enable-cex100-backend=[yes/no]
1625 Enable the CEx100 backend (default=no)
1626 --enable-wayland-compositor=[yes/no]
1627 Enable Wayland compositor features (default=no)
1628 --enable-tslib-input=[yes/no]
1629 Enable TSLib for input events (default=no)
1630 --enable-evdev-input=[yes/no]
1631 Enable evdev for input events (default=no)
1632 --enable-xinput Use the XI X extension
1633 --enable-gdk-pixbuf=[no/yes]
1634 Enable tests using GDK-Pixbuf [default=yes]
1635 --enable-debug=[no/minimum/yes]
1636 Control Clutter debugging level [default=minimum]
1637 --enable-deprecated=[no/yes]
1638 Whether deprecated symbols should be disabled when
1639 compiling Clutter [default=yes]
1640 --enable-conformance=[no/yes]
1641 Build conformance test suite [default=yes]
1642 --enable-profile=[no/yes]
1643 Turn on profiling support. yes; All profiling probe
1644 points are compiled in and may be runtime enabled.
1645 no; No profiling support will built into clutter.
1647 --enable-gcov Whether to enable coverage testing (requires gcc and
1649 --enable-maintainer-flags=[no/yes/error]
1650 Use strict compiler flags [default=no]
1651 --enable-introspection=[no/auto/yes]
1652 Enable introspection for this build
1653 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1654 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1655 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1656 --enable-docs=[no/yes] Build optional documentation; requires xsltproc and
1658 --disable-nls do not use Native Language Support
1659 --disable-rpath do not hardcode runtime library paths
1662 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1663 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1664 --with-pic try to use only PIC/non-PIC objects [default=use
1666 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1667 --with-sysroot=DIR Search for dependent libraries within DIR
1668 (or the compiler's sysroot if not specified).
1669 --with-x use the X Window System
1670 --with-html-dir=PATH path to installed docs
1671 --with-gnu-ld assume the C compiler uses GNU ld default=no
1672 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1673 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1674 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1675 --without-libintl-prefix don't search for libintl in includedir and libdir
1677 Some influential environment variables:
1678 CC C compiler command
1679 CFLAGS C compiler flags
1680 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1681 nonstandard directory <lib dir>
1682 LIBS libraries to pass to the linker, e.g. -l<library>
1683 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1684 you have headers in a nonstandard directory <include dir>
1686 PKG_CONFIG path to pkg-config utility
1688 directories to add to pkg-config's search path
1690 path overriding pkg-config's built-in search path
1692 C compiler flags for TSLIB, overriding pkg-config
1693 TSLIB_LIBS linker flags for TSLIB, overriding pkg-config
1695 C compiler flags for EVDEV, overriding pkg-config
1696 EVDEV_LIBS linker flags for EVDEV, overriding pkg-config
1697 XMKMF Path to xmkmf, Makefile generator for X Window System
1699 C compiler flags for GDK_PIXBUF, overriding pkg-config
1701 linker flags for GDK_PIXBUF, overriding pkg-config
1703 C compiler flags for PROFILE_DEP, overriding pkg-config
1705 linker flags for PROFILE_DEP, overriding pkg-config
1707 C compiler flags for CLUTTER_DEPS, overriding pkg-config
1709 linker flags for CLUTTER_DEPS, overriding pkg-config
1710 CLUTTER_DEPS_PRIVATE_CFLAGS
1711 C compiler flags for CLUTTER_DEPS_PRIVATE, overriding pkg-config
1712 CLUTTER_DEPS_PRIVATE_LIBS
1713 linker flags for CLUTTER_DEPS_PRIVATE, overriding pkg-config
1715 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1717 linker flags for GTKDOC_DEPS, overriding pkg-config
1719 Use these variables to override the choices made by `configure' or to help
1720 it to find libraries and programs with nonstandard names/locations.
1722 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=clutter>.
1723 clutter home page: <http://www.clutter-project.org>.
1728 if test "$ac_init_help" = "recursive"; then
1729 # If there are subdirs, report their specific --help.
1730 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1731 test -d "$ac_dir" ||
1732 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1737 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1739 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1740 # A ".." for each directory in $ac_dir_suffix.
1741 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1742 case $ac_top_builddir_sub in
1743 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1744 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1747 ac_abs_top_builddir=$ac_pwd
1748 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1749 # for backward compatibility:
1750 ac_top_builddir=$ac_top_build_prefix
1753 .) # We are building in place.
1755 ac_top_srcdir=$ac_top_builddir_sub
1756 ac_abs_top_srcdir=$ac_pwd ;;
1757 [\\/]* | ?:[\\/]* ) # Absolute name.
1758 ac_srcdir=$srcdir$ac_dir_suffix;
1759 ac_top_srcdir=$srcdir
1760 ac_abs_top_srcdir=$srcdir ;;
1762 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1763 ac_top_srcdir=$ac_top_build_prefix$srcdir
1764 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1766 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1768 cd "$ac_dir" || { ac_status=$?; continue; }
1769 # Check for guested configure.
1770 if test -f "$ac_srcdir/configure.gnu"; then
1772 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1773 elif test -f "$ac_srcdir/configure"; then
1775 $SHELL "$ac_srcdir/configure" --help=recursive
1777 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1779 cd "$ac_pwd" || { ac_status=$?; break; }
1783 test -n "$ac_init_help" && exit $ac_status
1784 if $ac_init_version; then
1786 clutter configure 1.10.0
1787 generated by GNU Autoconf 2.68
1789 Copyright (C) 2010 Free Software Foundation, Inc.
1790 This configure script is free software; the Free Software Foundation
1791 gives unlimited permission to copy, distribute and modify it.
1796 ## ------------------------ ##
1797 ## Autoconf initialization. ##
1798 ## ------------------------ ##
1800 # ac_fn_c_try_compile LINENO
1801 # --------------------------
1802 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1803 ac_fn_c_try_compile ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 rm -f conftest.$ac_objext
1807 if { { ac_try="$ac_compile"
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_compile") 2>conftest.err
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest.$ac_objext; then :
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834 as_fn_set_status $ac_retval
1836 } # ac_fn_c_try_compile
1838 # ac_fn_c_try_cpp LINENO
1839 # ----------------------
1840 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 if { { ac_try="$ac_cpp conftest.$ac_ext"
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1855 cat conftest.er1 >&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } > conftest.i && {
1860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.$ac_ext >&5
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 as_fn_set_status $ac_retval
1875 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1876 # -------------------------------------------------------
1877 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1878 # the include files in INCLUDES and setting the cache variable VAR
1880 ac_fn_c_check_header_mongrel ()
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 if eval \${$3+:} false; then :
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if eval \${$3+:} false; then :
1887 $as_echo_n "(cached) " >&6
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1893 # Is the header compilable?
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1895 $as_echo_n "checking $2 usability... " >&6; }
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 ac_header_compiler=yes
1904 ac_header_compiler=no
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1908 $as_echo "$ac_header_compiler" >&6; }
1910 # Is the header present?
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1912 $as_echo_n "checking $2 presence... " >&6; }
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1917 if ac_fn_c_try_cpp "$LINENO"; then :
1918 ac_header_preproc=yes
1920 ac_header_preproc=no
1922 rm -f conftest.err conftest.i conftest.$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1924 $as_echo "$ac_header_preproc" >&6; }
1926 # So? What about this header?
1927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1930 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1932 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1936 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1938 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1940 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1942 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1944 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1945 ( $as_echo "## ---------------------------------------------------------------------- ##
1946 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=clutter ##
1947 ## ---------------------------------------------------------------------- ##"
1948 ) | sed "s/^/$as_me: WARNING: /" >&2
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1956 eval "$3=\$ac_header_compiler"
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964 } # ac_fn_c_check_header_mongrel
1966 # ac_fn_c_try_run LINENO
1967 # ----------------------
1968 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1969 # that executables *can* be run.
1972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973 if { { ac_try="$ac_link"
1975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976 *) ac_try_echo=$ac_try;;
1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980 (eval "$ac_link") 2>&5
1982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1984 { { case "(($ac_try" in
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_try") 2>&5
1992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1993 test $ac_status = 0; }; }; then :
1996 $as_echo "$as_me: program exited with status $ac_status" >&5
1997 $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
2000 ac_retval=$ac_status
2002 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 as_fn_set_status $ac_retval
2008 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2009 # -------------------------------------------------------
2010 # Tests whether HEADER exists and can be compiled using the include files in
2011 # INCLUDES, setting the cache variable VAR accordingly.
2012 ac_fn_c_check_header_compile ()
2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016 $as_echo_n "checking for $2... " >&6; }
2017 if eval \${$3+:} false; then :
2018 $as_echo_n "(cached) " >&6
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2025 if ac_fn_c_try_compile "$LINENO"; then :
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034 $as_echo "$ac_res" >&6; }
2035 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2037 } # ac_fn_c_check_header_compile
2039 # ac_fn_c_try_link LINENO
2040 # -----------------------
2041 # Try to link conftest.$ac_ext, and return whether this succeeded.
2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045 rm -f conftest.$ac_objext conftest$ac_exeext
2046 if { { ac_try="$ac_link"
2048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2049 *) ac_try_echo=$ac_try;;
2051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2052 $as_echo "$ac_try_echo"; } >&5
2053 (eval "$ac_link") 2>conftest.err
2055 if test -s conftest.err; then
2056 grep -v '^ *+' conftest.err >conftest.er1
2057 cat conftest.er1 >&5
2058 mv -f conftest.er1 conftest.err
2060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2061 test $ac_status = 0; } && {
2062 test -z "$ac_c_werror_flag" ||
2063 test ! -s conftest.err
2064 } && test -s conftest$ac_exeext && {
2065 test "$cross_compiling" = yes ||
2066 $as_test_x conftest$ac_exeext
2070 $as_echo "$as_me: failed program was:" >&5
2071 sed 's/^/| /' conftest.$ac_ext >&5
2075 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2076 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2077 # interfere with the next link command; also delete a directory that is
2078 # left behind by Apple's compiler. We do this before executing the actions.
2079 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081 as_fn_set_status $ac_retval
2083 } # ac_fn_c_try_link
2085 # ac_fn_c_check_func LINENO FUNC VAR
2086 # ----------------------------------
2087 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2088 ac_fn_c_check_func ()
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2092 $as_echo_n "checking for $2... " >&6; }
2093 if eval \${$3+:} false; then :
2094 $as_echo_n "(cached) " >&6
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2098 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2100 #define $2 innocuous_$2
2102 /* System header to define __stub macros and hopefully few prototypes,
2103 which can conflict with char $2 (); below.
2104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2105 <limits.h> exists even on freestanding compilers. */
2108 # include <limits.h>
2110 # include <assert.h>
2115 /* Override any GCC internal prototype to avoid an error.
2116 Use char because int might match the return type of a GCC
2117 builtin and then its argument prototype would still apply. */
2122 /* The GNU C library defines this for functions which it implements
2123 to always fail with ENOSYS. Some functions are actually named
2124 something starting with __ and the normal name is an alias. */
2125 #if defined __stub_$2 || defined __stub___$2
2137 if ac_fn_c_try_link "$LINENO"; then :
2142 rm -f core conftest.err conftest.$ac_objext \
2143 conftest$ac_exeext conftest.$ac_ext
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2147 $as_echo "$ac_res" >&6; }
2148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2150 } # ac_fn_c_check_func
2152 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2153 # ----------------------------------------------------
2154 # Tries to find if the field MEMBER exists in type AGGR, after including
2155 # INCLUDES, setting cache variable VAR accordingly.
2156 ac_fn_c_check_member ()
2158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2160 $as_echo_n "checking for $2.$3... " >&6; }
2161 if eval \${$4+:} false; then :
2162 $as_echo_n "(cached) " >&6
2164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2165 /* end confdefs.h. */
2177 if ac_fn_c_try_compile "$LINENO"; then :
2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h. */
2187 if (sizeof ac_aggr.$3)
2193 if ac_fn_c_try_compile "$LINENO"; then :
2198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2204 $as_echo "$ac_res" >&6; }
2205 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2207 } # ac_fn_c_check_member
2208 cat >config.log <<_ACEOF
2209 This file contains any messages produced by compilers while
2210 running configure, to aid debugging if configure makes a mistake.
2212 It was created by clutter $as_me 1.10.0, which was
2213 generated by GNU Autoconf 2.68. Invocation command line was
2225 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2226 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2227 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2228 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2229 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2231 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2232 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2234 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2235 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2236 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2237 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2238 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2239 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2240 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir=.
2249 $as_echo "PATH: $as_dir"
2265 # Keep a trace of the command line.
2266 # Strip out --no-create and --no-recursion so they do not pile up.
2267 # Strip out --silent because we don't want to record it for future runs.
2268 # Also quote any args containing shell meta-characters.
2269 # Make two passes to allow for proper duplicate-argument suppression.
2273 ac_must_keep_next=false
2279 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2280 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2281 | -silent | --silent | --silen | --sile | --sil)
2284 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2287 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2289 as_fn_append ac_configure_args1 " '$ac_arg'"
2290 if test $ac_must_keep_next = true; then
2291 ac_must_keep_next=false # Got value, back to normal.
2294 *=* | --config-cache | -C | -disable-* | --disable-* \
2295 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2296 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2297 | -with-* | --with-* | -without-* | --without-* | --x)
2298 case "$ac_configure_args0 " in
2299 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2302 -* ) ac_must_keep_next=true ;;
2305 as_fn_append ac_configure_args " '$ac_arg'"
2310 { ac_configure_args0=; unset ac_configure_args0;}
2311 { ac_configure_args1=; unset ac_configure_args1;}
2313 # When interrupted or exit'd, cleanup temporary files, and complete
2314 # config.log. We remove comments because anyway the quotes in there
2315 # would cause problems or look ugly.
2316 # WARNING: Use '\'' to represent an apostrophe within the trap.
2317 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2318 trap 'exit_status=$?
2319 # Save into config.log some information that might help in debugging.
2323 $as_echo "## ---------------- ##
2324 ## Cache variables. ##
2325 ## ---------------- ##"
2327 # The following way of writing the cache mishandles newlines in values,
2329 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2330 eval ac_val=\$$ac_var
2334 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2335 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2338 _ | IFS | as_nl) ;; #(
2339 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2340 *) { eval $ac_var=; unset $ac_var;} ;;
2345 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2346 *${as_nl}ac_space=\ *)
2348 "s/'\''/'\''\\\\'\'''\''/g;
2349 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2352 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2359 $as_echo "## ----------------- ##
2360 ## Output variables. ##
2361 ## ----------------- ##"
2363 for ac_var in $ac_subst_vars
2365 eval ac_val=\$$ac_var
2367 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2369 $as_echo "$ac_var='\''$ac_val'\''"
2373 if test -n "$ac_subst_files"; then
2374 $as_echo "## ------------------- ##
2375 ## File substitutions. ##
2376 ## ------------------- ##"
2378 for ac_var in $ac_subst_files
2380 eval ac_val=\$$ac_var
2382 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2384 $as_echo "$ac_var='\''$ac_val'\''"
2389 if test -s confdefs.h; then
2390 $as_echo "## ----------- ##
2397 test "$ac_signal" != 0 &&
2398 $as_echo "$as_me: caught signal $ac_signal"
2399 $as_echo "$as_me: exit $exit_status"
2401 rm -f core *.core core.conftest.* &&
2402 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2405 for ac_signal in 1 2 13 15; do
2406 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2410 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2411 rm -f -r conftest* confdefs.h
2413 $as_echo "/* confdefs.h */" > confdefs.h
2415 # Predefined preprocessor variables.
2417 cat >>confdefs.h <<_ACEOF
2418 #define PACKAGE_NAME "$PACKAGE_NAME"
2421 cat >>confdefs.h <<_ACEOF
2422 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2425 cat >>confdefs.h <<_ACEOF
2426 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2429 cat >>confdefs.h <<_ACEOF
2430 #define PACKAGE_STRING "$PACKAGE_STRING"
2433 cat >>confdefs.h <<_ACEOF
2434 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2437 cat >>confdefs.h <<_ACEOF
2438 #define PACKAGE_URL "$PACKAGE_URL"
2442 # Let the site file select an alternate cache file if it wants to.
2443 # Prefer an explicitly selected file to automatically selected ones.
2446 if test -n "$CONFIG_SITE"; then
2447 # We do not want a PATH search for config.site.
2448 case $CONFIG_SITE in #((
2449 -*) ac_site_file1=./$CONFIG_SITE;;
2450 */*) ac_site_file1=$CONFIG_SITE;;
2451 *) ac_site_file1=./$CONFIG_SITE;;
2453 elif test "x$prefix" != xNONE; then
2454 ac_site_file1=$prefix/share/config.site
2455 ac_site_file2=$prefix/etc/config.site
2457 ac_site_file1=$ac_default_prefix/share/config.site
2458 ac_site_file2=$ac_default_prefix/etc/config.site
2460 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2462 test "x$ac_site_file" = xNONE && continue
2463 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2465 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2466 sed 's/^/| /' "$ac_site_file" >&5
2468 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 as_fn_error $? "failed to load site script $ac_site_file
2471 See \`config.log' for more details" "$LINENO" 5; }
2475 if test -r "$cache_file"; then
2476 # Some versions of bash will fail to source /dev/null (special files
2477 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2478 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2480 $as_echo "$as_me: loading cache $cache_file" >&6;}
2482 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2483 *) . "./$cache_file";;
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2488 $as_echo "$as_me: creating cache $cache_file" >&6;}
2492 gt_needs="$gt_needs "
2493 # Check that the precious variables saved in the cache have kept the same
2495 ac_cache_corrupted=false
2496 for ac_var in $ac_precious_vars; do
2497 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2498 eval ac_new_set=\$ac_env_${ac_var}_set
2499 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2500 eval ac_new_val=\$ac_env_${ac_var}_value
2501 case $ac_old_set,$ac_new_set in
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2504 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2505 ac_cache_corrupted=: ;;
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2508 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2509 ac_cache_corrupted=: ;;
2512 if test "x$ac_old_val" != "x$ac_new_val"; then
2513 # differences in whitespace do not lead to failure.
2514 ac_old_val_w=`echo x $ac_old_val`
2515 ac_new_val_w=`echo x $ac_new_val`
2516 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2518 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2519 ac_cache_corrupted=:
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2522 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2523 eval $ac_var=\$ac_old_val
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2526 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2528 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2531 # Pass precious variables to config.status.
2532 if test "$ac_new_set" = set; then
2534 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2535 *) ac_arg=$ac_var=$ac_new_val ;;
2537 case " $ac_configure_args " in
2538 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2539 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2543 if $ac_cache_corrupted; then
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2547 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2548 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2550 ## -------------------- ##
2551 ## Main body of script. ##
2552 ## -------------------- ##
2555 ac_cpp='$CPP $CPPFLAGS'
2556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2563 ac_config_headers="$ac_config_headers config.h"
2566 for ac_dir in build "$srcdir"/build; do
2567 if test -f "$ac_dir/install-sh"; then
2569 ac_install_sh="$ac_aux_dir/install-sh -c"
2571 elif test -f "$ac_dir/install.sh"; then
2573 ac_install_sh="$ac_aux_dir/install.sh -c"
2575 elif test -f "$ac_dir/shtool"; then
2577 ac_install_sh="$ac_aux_dir/shtool install -c"
2581 if test -z "$ac_aux_dir"; then
2582 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2585 # These three variables are undocumented and unsupported,
2586 # and are intended to be withdrawn in a future Autoconf release.
2587 # They can cause serious problems if a builder's source tree is in a directory
2588 # whose full name contains unusual characters.
2589 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2590 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2591 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2596 am__api_version='1.11'
2598 # Find a good install program. We prefer a C program (faster),
2599 # so one script is as good as another. But avoid the broken or
2600 # incompatible versions:
2601 # SysV /etc/install, /usr/sbin/install
2602 # SunOS /usr/etc/install
2603 # IRIX /sbin/install
2605 # AmigaOS /C/install, which installs bootblocks on floppy discs
2606 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2607 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2608 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2609 # OS/2's system install, which has a completely different semantic
2610 # ./install, which can be erroneously created by make from ./install.sh.
2611 # Reject install programs that cannot install multiple files.
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2613 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2614 if test -z "$INSTALL"; then
2615 if ${ac_cv_path_install+:} false; then :
2616 $as_echo_n "(cached) " >&6
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir=.
2623 # Account for people who put trailing slashes in PATH elements.
2624 case $as_dir/ in #((
2625 ./ | .// | /[cC]/* | \
2626 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2627 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2630 # OSF1 and SCO ODT 3.0 have their own names for install.
2631 # Don't use installbsd from OSF since it installs stuff as root
2633 for ac_prog in ginstall scoinst install; do
2634 for ac_exec_ext in '' $ac_executable_extensions; do
2635 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2636 if test $ac_prog = install &&
2637 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2638 # AIX install. It has an incompatible calling convention.
2640 elif test $ac_prog = install &&
2641 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2642 # program-specific install script used by HP pwplus--don't use.
2645 rm -rf conftest.one conftest.two conftest.dir
2646 echo one > conftest.one
2647 echo two > conftest.two
2649 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2650 test -s conftest.one && test -s conftest.two &&
2651 test -s conftest.dir/conftest.one &&
2652 test -s conftest.dir/conftest.two
2654 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2667 rm -rf conftest.one conftest.two conftest.dir
2670 if test "${ac_cv_path_install+set}" = set; then
2671 INSTALL=$ac_cv_path_install
2673 # As a last resort, use the slow shell script. Don't cache a
2674 # value for INSTALL within a source directory, because that will
2675 # break other packages using the cache if that directory is
2676 # removed, or if the value is a relative name.
2677 INSTALL=$ac_install_sh
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2681 $as_echo "$INSTALL" >&6; }
2683 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2684 # It thinks the first close brace ends the variable substitution.
2685 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2687 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2689 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2692 $as_echo_n "checking whether build environment is sane... " >&6; }
2695 echo timestamp > conftest.file
2696 # Reject unsafe characters in $srcdir or the absolute working directory
2697 # name. Accept space and tab only in the latter.
2701 *[\\\"\#\$\&\'\`$am_lf]*)
2702 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2705 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2706 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2709 # Do `set' in a subshell so we don't clobber the current shell's
2710 # arguments. Must try -L first in case configure is actually a
2711 # symlink; some systems play weird games with the mod time of symlinks
2712 # (eg FreeBSD returns the mod time of the symlink's containing
2715 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2716 if test "$*" = "X"; then
2718 set X `ls -t "$srcdir/configure" conftest.file`
2721 if test "$*" != "X $srcdir/configure conftest.file" \
2722 && test "$*" != "X conftest.file $srcdir/configure"; then
2724 # If neither matched, then we have a broken ls. This can happen
2725 # if, for instance, CONFIG_SHELL is bash and it inherits a
2726 # broken ls alias from the environment. This has actually
2727 # happened. Such a system could not be considered "sane".
2728 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2729 alias in your environment" "$LINENO" 5
2732 test "$2" = conftest.file
2738 as_fn_error $? "newly created file is older than distributed files!
2739 Check your system clock" "$LINENO" 5
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2742 $as_echo "yes" >&6; }
2743 test "$program_prefix" != NONE &&
2744 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2745 # Use a double $ so make ignores it.
2746 test "$program_suffix" != NONE &&
2747 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2748 # Double any \ or $.
2749 # By default was `s,x,x', remove it if useless.
2750 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2751 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2753 # expand $ac_aux_dir to an absolute path
2754 am_aux_dir=`cd $ac_aux_dir && pwd`
2756 if test x"${MISSING+set}" != xset; then
2759 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2761 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2764 # Use eval to expand $SHELL
2765 if eval "$MISSING --run true"; then
2766 am_missing_run="$MISSING --run "
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2770 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2773 if test x"${install_sh}" != xset; then
2776 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2778 install_sh="\${SHELL} $am_aux_dir/install-sh"
2782 # Installed binaries are usually stripped using `strip' when the user
2783 # run `make install-strip'. However `strip' might not be the right
2784 # tool to use in cross-compilation environments, therefore Automake
2785 # will honor the `STRIP' environment variable to overrule this program.
2786 if test "$cross_compiling" != no; then
2787 if test -n "$ac_tool_prefix"; then
2788 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2789 set dummy ${ac_tool_prefix}strip; ac_word=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if ${ac_cv_prog_STRIP+:} false; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$STRIP"; then
2796 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir=.
2803 for ac_exec_ext in '' $ac_executable_extensions; do
2804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 STRIP=$ac_cv_prog_STRIP
2816 if test -n "$STRIP"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2818 $as_echo "$STRIP" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 $as_echo "no" >&6; }
2826 if test -z "$ac_cv_prog_STRIP"; then
2828 # Extract the first word of "strip", so it can be a program name with args.
2829 set dummy strip; ac_word=$2
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831 $as_echo_n "checking for $ac_word... " >&6; }
2832 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 if test -n "$ac_ct_STRIP"; then
2836 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842 test -z "$as_dir" && as_dir=.
2843 for ac_exec_ext in '' $ac_executable_extensions; do
2844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2845 ac_cv_prog_ac_ct_STRIP="strip"
2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2856 if test -n "$ac_ct_STRIP"; then
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2858 $as_echo "$ac_ct_STRIP" >&6; }
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861 $as_echo "no" >&6; }
2864 if test "x$ac_ct_STRIP" = x; then
2867 case $cross_compiling:$ac_tool_warned in
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2871 ac_tool_warned=yes ;;
2876 STRIP="$ac_cv_prog_STRIP"
2880 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2883 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2884 if test -z "$MKDIR_P"; then
2885 if ${ac_cv_path_mkdir+:} false; then :
2886 $as_echo_n "(cached) " >&6
2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2892 test -z "$as_dir" && as_dir=.
2893 for ac_prog in mkdir gmkdir; do
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2896 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2897 'mkdir (GNU coreutils) '* | \
2898 'mkdir (coreutils) '* | \
2899 'mkdir (fileutils) '4.1*)
2900 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2910 test -d ./--version && rmdir ./--version
2911 if test "${ac_cv_path_mkdir+set}" = set; then
2912 MKDIR_P="$ac_cv_path_mkdir -p"
2914 # As a last resort, use the slow shell script. Don't cache a
2915 # value for MKDIR_P within a source directory, because that will
2916 # break other packages using the cache if that directory is
2917 # removed, or if the value is a relative name.
2918 MKDIR_P="$ac_install_sh -d"
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2922 $as_echo "$MKDIR_P" >&6; }
2926 [\\/$]* | ?:[\\/]*) ;;
2927 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2930 for ac_prog in gawk mawk nawk awk
2932 # Extract the first word of "$ac_prog", so it can be a program name with args.
2933 set dummy $ac_prog; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_AWK+:} false; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$AWK"; then
2940 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir=.
2947 for ac_exec_ext in '' $ac_executable_extensions; do
2948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949 ac_cv_prog_AWK="$ac_prog"
2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 if test -n "$AWK"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2962 $as_echo "$AWK" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2969 test -n "$AWK" && break
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2973 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2975 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2976 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2977 $as_echo_n "(cached) " >&6
2979 cat >conftest.make <<\_ACEOF
2982 @echo '@@@%%%=$(MAKE)=@@@%%%'
2984 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2985 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2987 eval ac_cv_prog_make_${ac_make}_set=yes;;
2989 eval ac_cv_prog_make_${ac_make}_set=no;;
2993 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2995 $as_echo "yes" >&6; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3000 SET_MAKE="MAKE=${MAKE-make}"
3003 rm -rf .tst 2>/dev/null
3004 mkdir .tst 2>/dev/null
3005 if test -d .tst; then
3010 rmdir .tst 2>/dev/null
3012 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3013 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3014 # is not polluted with repeated "-I."
3015 am__isrc=' -I$(srcdir)'
3016 # test to see if srcdir already configured
3017 if test -f $srcdir/config.status; then
3018 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3022 # test whether we have cygpath
3023 if test -z "$CYGPATH_W"; then
3024 if (cygpath --version) >/dev/null 2>/dev/null; then
3025 CYGPATH_W='cygpath -w'
3032 # Define the identity of the package.
3037 # Some tools Automake needs.
3039 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3042 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3045 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3048 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3051 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3053 # We need awk for the "check" target. The system "awk" is bad on
3055 # Always define AMTAR for backward compatibility.
3057 AMTAR=${AMTAR-"${am_missing_run}tar"}
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3061 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3062 # Loop over all known methods to create a tar archive until one works.
3063 _am_tools='gnutar plaintar pax cpio none'
3064 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3065 # Do not fold the above two line into one, because Tru64 sh and
3066 # Solaris sh will not grok spaces in the rhs of `-'.
3067 for _am_tool in $_am_tools
3071 for _am_tar in tar gnutar gtar;
3073 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3074 ($_am_tar --version) >&5 2>&5
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); } && break
3079 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3080 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3081 am__untar="$_am_tar -xf -"
3084 # Must skip GNU tar: if it does not support --format= it doesn't create
3085 # ustar tarball either.
3086 (tar --version) >/dev/null 2>&1 && continue
3087 am__tar='tar chf - "$$tardir"'
3088 am__tar_='tar chf - "$tardir"'
3089 am__untar='tar xf -'
3092 am__tar='pax -L -x ustar -w "$$tardir"'
3093 am__tar_='pax -L -x ustar -w "$tardir"'
3097 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3098 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3099 am__untar='cpio -i -H ustar -d'
3108 # If the value was cached, stop now. We just wanted to have am__tar
3109 # and am__untar set.
3110 test -n "${am_cv_prog_tar_ustar}" && break
3112 # tar/untar a dummy directory, and stop if the command works
3115 echo GrepMe > conftest.dir/file
3116 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3117 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }
3122 if test -s conftest.tar; then
3123 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3124 ($am__untar <conftest.tar) >&5 2>&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }
3128 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3133 if ${am_cv_prog_tar_ustar+:} false; then :
3134 $as_echo_n "(cached) " >&6
3136 am_cv_prog_tar_ustar=$_am_tool
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3140 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3146 # Check whether --enable-silent-rules was given.
3147 if test "${enable_silent_rules+set}" = set; then :
3148 enableval=$enable_silent_rules;
3151 case $enable_silent_rules in
3152 yes) AM_DEFAULT_VERBOSITY=0;;
3153 no) AM_DEFAULT_VERBOSITY=1;;
3154 *) AM_DEFAULT_VERBOSITY=0;;
3159 CLUTTER_MAJOR_VERSION=1
3161 CLUTTER_MINOR_VERSION=10
3163 CLUTTER_MICRO_VERSION=0
3165 CLUTTER_VERSION=1.10.0
3167 CLUTTER_API_VERSION=1.0
3169 CLUTTER_API_VERSION_AM=$CLUTTER_MAJOR_VERSION\_0
3171 CLUTTER_RELEASE_STATUS=release
3177 CLUTTER_LT_CURRENT=1000
3180 CLUTTER_LT_VERSION="$CLUTTER_LT_CURRENT:$CLUTTER_LT_REV:$CLUTTER_LT_AGE"
3181 CLUTTER_LT_LDFLAGS="-version-info $CLUTTER_LT_VERSION"
3182 CLUTTER_LT_CURRENT=1000
3184 CLUTTER_LT_REVISION=0
3186 CLUTTER_LT_VERSION=$CLUTTER_LT_VERSION
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3190 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3191 if ${ac_cv_path_SED+:} false; then :
3192 $as_echo_n "(cached) " >&6
3194 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3195 for ac_i in 1 2 3 4 5 6 7; do
3196 ac_script="$ac_script$as_nl$ac_script"
3198 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3199 { ac_script=; unset ac_script;}
3200 if test -z "$SED"; then
3201 ac_path_SED_found=false
3202 # Loop through the user's path and test for each of PROGNAME-LIST
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 test -z "$as_dir" && as_dir=.
3208 for ac_prog in sed gsed; do
3209 for ac_exec_ext in '' $ac_executable_extensions; do
3210 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3211 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3212 # Check for GNU ac_path_SED and select it if it is found.
3213 # Check for GNU $ac_path_SED
3214 case `"$ac_path_SED" --version 2>&1` in
3216 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3219 $as_echo_n 0123456789 >"conftest.in"
3222 cat "conftest.in" "conftest.in" >"conftest.tmp"
3223 mv "conftest.tmp" "conftest.in"
3224 cp "conftest.in" "conftest.nl"
3225 $as_echo '' >> "conftest.nl"
3226 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3227 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3228 as_fn_arith $ac_count + 1 && ac_count=$as_val
3229 if test $ac_count -gt ${ac_path_SED_max-0}; then
3230 # Best one so far, save it but keep looking for a better one
3231 ac_cv_path_SED="$ac_path_SED"
3232 ac_path_SED_max=$ac_count
3234 # 10*(2^10) chars as input seems more than enough
3235 test $ac_count -gt 10 && break
3237 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3240 $ac_path_SED_found && break 3
3245 if test -z "$ac_cv_path_SED"; then
3246 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3254 $as_echo "$ac_cv_path_SED" >&6; }
3255 SED="$ac_cv_path_SED"
3260 # Make sure we can run config.sub.
3261 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3262 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3265 $as_echo_n "checking build system type... " >&6; }
3266 if ${ac_cv_build+:} false; then :
3267 $as_echo_n "(cached) " >&6
3269 ac_build_alias=$build_alias
3270 test "x$ac_build_alias" = x &&
3271 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3272 test "x$ac_build_alias" = x &&
3273 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3274 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3275 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3279 $as_echo "$ac_cv_build" >&6; }
3280 case $ac_cv_build in
3282 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3285 ac_save_IFS=$IFS; IFS='-'
3291 # Remember, the first character of IFS is used to create $*,
3292 # except with old shells:
3295 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3299 $as_echo_n "checking host system type... " >&6; }
3300 if ${ac_cv_host+:} false; then :
3301 $as_echo_n "(cached) " >&6
3303 if test "x$host_alias" = x; then
3304 ac_cv_host=$ac_cv_build
3306 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3307 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3312 $as_echo "$ac_cv_host" >&6; }
3315 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3318 ac_save_IFS=$IFS; IFS='-'
3324 # Remember, the first character of IFS is used to create $*,
3325 # except with old shells:
3328 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for some Win32 platform" >&5
3337 $as_echo_n "checking if building for some Win32 platform... " >&6; }
3339 *-*-mingw*|*-*-cygwin*) :
3341 CLUTTER_LT_LDFLAGS="$CLUTTER_LT_LDFLAGS -no-undefined"
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
3353 $as_echo "$platform_win32" >&6; }
3355 if test "$platform_win32" = "yes"; then
3364 DEPDIR="${am__leading_dot}deps"
3366 ac_config_commands="$ac_config_commands depfiles"
3369 am_make=${MAKE-make}
3370 cat > confinc << 'END'
3372 @echo this is the am__doit target
3375 # If we don't find an include directive, just comment out the code.
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3377 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3381 # First try GNU make style include.
3382 echo "include confinc" > confmf
3383 # Ignore all kinds of additional output from `make'.
3384 case `$am_make -s -f confmf 2> /dev/null` in #(
3385 *the\ am__doit\ target*)
3391 # Now try BSD make style include.
3392 if test "$am__include" = "#"; then
3393 echo '.include "confinc"' > confmf
3394 case `$am_make -s -f confmf 2> /dev/null` in #(
3395 *the\ am__doit\ target*)
3396 am__include=.include
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3405 $as_echo "$_am_result" >&6; }
3406 rm -f confinc confmf
3408 # Check whether --enable-dependency-tracking was given.
3409 if test "${enable_dependency_tracking+set}" = set; then :
3410 enableval=$enable_dependency_tracking;
3413 if test "x$enable_dependency_tracking" != xno; then
3414 am_depcomp="$ac_aux_dir/depcomp"
3417 if test "x$enable_dependency_tracking" != xno; then
3427 ac_cpp='$CPP $CPPFLAGS'
3428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3431 if test -n "$ac_tool_prefix"; then
3432 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3433 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3435 $as_echo_n "checking for $ac_word... " >&6; }
3436 if ${ac_cv_prog_CC+:} false; then :
3437 $as_echo_n "(cached) " >&6
3439 if test -n "$CC"; then
3440 ac_cv_prog_CC="$CC" # Let the user override the test.
3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3446 test -z "$as_dir" && as_dir=.
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3449 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3460 if test -n "$CC"; then
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3462 $as_echo "$CC" >&6; }
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 $as_echo "no" >&6; }
3470 if test -z "$ac_cv_prog_CC"; then
3472 # Extract the first word of "gcc", so it can be a program name with args.
3473 set dummy gcc; ac_word=$2
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3475 $as_echo_n "checking for $ac_word... " >&6; }
3476 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 if test -n "$ac_ct_CC"; then
3480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 test -z "$as_dir" && as_dir=.
3487 for ac_exec_ext in '' $ac_executable_extensions; do
3488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3489 ac_cv_prog_ac_ct_CC="gcc"
3490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3500 if test -n "$ac_ct_CC"; then
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3502 $as_echo "$ac_ct_CC" >&6; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3508 if test "x$ac_ct_CC" = x; then
3511 case $cross_compiling:$ac_tool_warned in
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3515 ac_tool_warned=yes ;;
3523 if test -z "$CC"; then
3524 if test -n "$ac_tool_prefix"; then
3525 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3526 set dummy ${ac_tool_prefix}cc; ac_word=$2
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3528 $as_echo_n "checking for $ac_word... " >&6; }
3529 if ${ac_cv_prog_CC+:} false; then :
3530 $as_echo_n "(cached) " >&6
3532 if test -n "$CC"; then
3533 ac_cv_prog_CC="$CC" # Let the user override the test.
3535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3539 test -z "$as_dir" && as_dir=.
3540 for ac_exec_ext in '' $ac_executable_extensions; do
3541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3542 ac_cv_prog_CC="${ac_tool_prefix}cc"
3543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 if test -n "$CC"; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3555 $as_echo "$CC" >&6; }
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3564 if test -z "$CC"; then
3565 # Extract the first word of "cc", so it can be a program name with args.
3566 set dummy cc; ac_word=$2
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568 $as_echo_n "checking for $ac_word... " >&6; }
3569 if ${ac_cv_prog_CC+:} false; then :
3570 $as_echo_n "(cached) " >&6
3572 if test -n "$CC"; then
3573 ac_cv_prog_CC="$CC" # Let the user override the test.
3576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 test -z "$as_dir" && as_dir=.
3581 for ac_exec_ext in '' $ac_executable_extensions; do
3582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3583 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3584 ac_prog_rejected=yes
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 if test $ac_prog_rejected = yes; then
3596 # We found a bogon in the path, so make sure we never use it.
3597 set dummy $ac_cv_prog_CC
3599 if test $# != 0; then
3600 # We chose a different compiler from the bogus one.
3601 # However, it has the same basename, so the bogon will be chosen
3602 # first if we set CC to just the basename; use the full file name.
3604 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3610 if test -n "$CC"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3612 $as_echo "$CC" >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3620 if test -z "$CC"; then
3621 if test -n "$ac_tool_prefix"; then
3622 for ac_prog in cl.exe
3624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; }
3628 if ${ac_cv_prog_CC+:} false; then :
3629 $as_echo_n "(cached) " >&6
3631 if test -n "$CC"; then
3632 ac_cv_prog_CC="$CC" # Let the user override the test.
3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3638 test -z "$as_dir" && as_dir=.
3639 for ac_exec_ext in '' $ac_executable_extensions; do
3640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3641 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 if test -n "$CC"; then
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3654 $as_echo "$CC" >&6; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3661 test -n "$CC" && break
3664 if test -z "$CC"; then
3666 for ac_prog in cl.exe
3668 # Extract the first word of "$ac_prog", so it can be a program name with args.
3669 set dummy $ac_prog; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3673 $as_echo_n "(cached) " >&6
3675 if test -n "$ac_ct_CC"; then
3676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685 ac_cv_prog_ac_ct_CC="$ac_prog"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3696 if test -n "$ac_ct_CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3698 $as_echo "$ac_ct_CC" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3705 test -n "$ac_ct_CC" && break
3708 if test "x$ac_ct_CC" = x; then
3711 case $cross_compiling:$ac_tool_warned in
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3724 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726 as_fn_error $? "no acceptable C compiler found in \$PATH
3727 See \`config.log' for more details" "$LINENO" 5; }
3729 # Provide some information about the compiler.
3730 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3733 for ac_option in --version -v -V -qversion; do
3734 { { ac_try="$ac_compiler $ac_option >&5"
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3740 $as_echo "$ac_try_echo"; } >&5
3741 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3743 if test -s conftest.err; then
3745 ... rest of stderr output deleted ...
3746 10q' conftest.err >conftest.er1
3747 cat conftest.er1 >&5
3749 rm -f conftest.er1 conftest.err
3750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3751 test $ac_status = 0; }
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3765 ac_clean_files_save=$ac_clean_files
3766 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3767 # Try to create an executable without -o first, disregard a.out.
3768 # It will help us diagnose broken compilers, and finding out an intuition
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3771 $as_echo_n "checking whether the C compiler works... " >&6; }
3772 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3774 # The possible output files:
3775 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3778 for ac_file in $ac_files
3781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3782 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3787 if { { ac_try="$ac_link_default"
3789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3790 *) ac_try_echo=$ac_try;;
3792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3793 $as_echo "$ac_try_echo"; } >&5
3794 (eval "$ac_link_default") 2>&5
3796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3797 test $ac_status = 0; }; then :
3798 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3799 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3800 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3801 # so that the user can short-circuit this test for compilers unknown to
3803 for ac_file in $ac_files ''
3805 test -f "$ac_file" || continue
3807 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3810 # We found the default executable, but exeext='' is most
3814 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3816 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3818 # We set ac_cv_exeext here because the later test for it is not
3819 # safe: cross compilers may not add the suffix if given an `-o'
3820 # argument, so we may need to know it at that point already.
3821 # Even if this section looks crufty: it has the advantage of
3828 test "$ac_cv_exeext" = no && ac_cv_exeext=
3833 if test -z "$ac_file"; then :
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3836 $as_echo "$as_me: failed program was:" >&5
3837 sed 's/^/| /' conftest.$ac_ext >&5
3839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3841 as_fn_error 77 "C compiler cannot create executables
3842 See \`config.log' for more details" "$LINENO" 5; }
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3845 $as_echo "yes" >&6; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3848 $as_echo_n "checking for C compiler default output file name... " >&6; }
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3850 $as_echo "$ac_file" >&6; }
3851 ac_exeext=$ac_cv_exeext
3853 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3854 ac_clean_files=$ac_clean_files_save
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3856 $as_echo_n "checking for suffix of executables... " >&6; }
3857 if { { ac_try="$ac_link"
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
3864 (eval "$ac_link") 2>&5
3866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867 test $ac_status = 0; }; then :
3868 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3869 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3870 # work properly (i.e., refer to `conftest.exe'), while it won't with
3872 for ac_file in conftest.exe conftest conftest.*; do
3873 test -f "$ac_file" || continue
3875 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3876 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3884 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3885 See \`config.log' for more details" "$LINENO" 5; }
3887 rm -f conftest conftest$ac_cv_exeext
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3889 $as_echo "$ac_cv_exeext" >&6; }
3891 rm -f conftest.$ac_ext
3892 EXEEXT=$ac_cv_exeext
3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3900 FILE *f = fopen ("conftest.out", "w");
3901 return ferror (f) || fclose (f) != 0;
3907 ac_clean_files="$ac_clean_files conftest.out"
3908 # Check that the compiler produces executables we can run. If not, either
3909 # the compiler is broken, or we cross compile.
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3911 $as_echo_n "checking whether we are cross compiling... " >&6; }
3912 if test "$cross_compiling" != yes; then
3913 { { ac_try="$ac_link"
3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920 (eval "$ac_link") 2>&5
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }
3924 if { ac_try='./conftest$ac_cv_exeext'
3925 { { case "(($ac_try" in
3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3930 $as_echo "$ac_try_echo"; } >&5
3931 (eval "$ac_try") 2>&5
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934 test $ac_status = 0; }; }; then
3937 if test "$cross_compiling" = maybe; then
3940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3942 as_fn_error $? "cannot run C compiled programs.
3943 If you meant to cross compile, use \`--host'.
3944 See \`config.log' for more details" "$LINENO" 5; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3949 $as_echo "$cross_compiling" >&6; }
3951 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3952 ac_clean_files=$ac_clean_files_save
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3954 $as_echo_n "checking for suffix of object files... " >&6; }
3955 if ${ac_cv_objext+:} false; then :
3956 $as_echo_n "(cached) " >&6
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3969 rm -f conftest.o conftest.obj
3970 if { { ac_try="$ac_compile"
3972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973 *) ac_try_echo=$ac_try;;
3975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3976 $as_echo "$ac_try_echo"; } >&5
3977 (eval "$ac_compile") 2>&5
3979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3980 test $ac_status = 0; }; then :
3981 for ac_file in conftest.o conftest.obj conftest.*; do
3982 test -f "$ac_file" || continue;
3984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3985 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3990 $as_echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995 as_fn_error $? "cannot compute suffix of object files: cannot compile
3996 See \`config.log' for more details" "$LINENO" 5; }
3998 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4001 $as_echo "$ac_cv_objext" >&6; }
4002 OBJEXT=$ac_cv_objext
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4005 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4006 if ${ac_cv_c_compiler_gnu+:} false; then :
4007 $as_echo_n "(cached) " >&6
4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4023 if ac_fn_c_try_compile "$LINENO"; then :
4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4033 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4034 if test $ac_compiler_gnu = yes; then
4039 ac_test_CFLAGS=${CFLAGS+set}
4040 ac_save_CFLAGS=$CFLAGS
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4042 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4043 if ${ac_cv_prog_cc_g+:} false; then :
4044 $as_echo_n "(cached) " >&6
4046 ac_save_c_werror_flag=$ac_c_werror_flag
4047 ac_c_werror_flag=yes
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4061 if ac_fn_c_try_compile "$LINENO"; then :
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4076 if ac_fn_c_try_compile "$LINENO"; then :
4079 ac_c_werror_flag=$ac_save_c_werror_flag
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4092 if ac_fn_c_try_compile "$LINENO"; then :
4095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4100 ac_c_werror_flag=$ac_save_c_werror_flag
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4103 $as_echo "$ac_cv_prog_cc_g" >&6; }
4104 if test "$ac_test_CFLAGS" = set; then
4105 CFLAGS=$ac_save_CFLAGS
4106 elif test $ac_cv_prog_cc_g = yes; then
4107 if test "$GCC" = yes; then
4113 if test "$GCC" = yes; then
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4120 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4121 if ${ac_cv_prog_cc_c89+:} false; then :
4122 $as_echo_n "(cached) " >&6
4124 ac_cv_prog_cc_c89=no
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4130 #include <sys/types.h>
4131 #include <sys/stat.h>
4132 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4133 struct buf { int x; };
4134 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4135 static char *e (p, i)
4141 static char *f (char * (*g) (char **, int), char **p, ...)
4146 s = g (p, va_arg (v,int));
4151 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4152 function prototypes and stuff, but not '\xHH' hex character constants.
4153 These don't provoke an error unfortunately, instead are silently treated
4154 as 'x'. The following induces an error, until -std is added to get
4155 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4156 array size at least. It's necessary to write '\x00'==0 to get something
4157 that's true only with -std. */
4158 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4160 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4161 inside strings and character constants. */
4163 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4165 int test (int i, double x);
4166 struct s1 {int (*f) (int a);};
4167 struct s2 {int (*f) (double a);};
4168 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4174 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4179 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4180 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4182 CC="$ac_save_CC $ac_arg"
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184 ac_cv_prog_cc_c89=$ac_arg
4186 rm -f core conftest.err conftest.$ac_objext
4187 test "x$ac_cv_prog_cc_c89" != "xno" && break
4189 rm -f conftest.$ac_ext
4194 case "x$ac_cv_prog_cc_c89" in
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4197 $as_echo "none needed" >&6; } ;;
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4200 $as_echo "unsupported" >&6; } ;;
4202 CC="$CC $ac_cv_prog_cc_c89"
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4204 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4206 if test "x$ac_cv_prog_cc_c89" != xno; then :
4211 ac_cpp='$CPP $CPPFLAGS'
4212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4216 depcc="$CC" am_compiler_list=
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4219 $as_echo_n "checking dependency style of $depcc... " >&6; }
4220 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4224 # We make a subdir and do the tests there. Otherwise we can end up
4225 # making bogus files that we don't know about and never remove. For
4226 # instance it was reported that on HP-UX the gcc test will end up
4227 # making a dummy file named `D' -- because `-MD' means `put the output
4230 # Copy depcomp to subdir because otherwise we won't find it if we're
4231 # using a relative directory.
4232 cp "$am_depcomp" conftest.dir
4234 # We will build objects and dependencies in a subdirectory because
4235 # it helps to detect inapplicable dependency modes. For instance
4236 # both Tru64's cc and ICC support -MD to output dependencies as a
4237 # side effect of compilation, but ICC will put the dependencies in
4238 # the current directory while Tru64 will put them in the object
4242 am_cv_CC_dependencies_compiler_type=none
4243 if test "$am_compiler_list" = ""; then
4244 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4247 case " $depcc " in #(
4248 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4251 for depmode in $am_compiler_list; do
4252 # Setup a source with many dependencies, because some compilers
4253 # like to wrap large dependency lists on column 80 (with \), and
4254 # we should not choose a depcomp mode which is confused by this.
4256 # We need to recreate these files for each test, as the compiler may
4257 # overwrite some of them when testing with obscure command lines.
4258 # This happens at least with the AIX C compiler.
4260 for i in 1 2 3 4 5 6; do
4261 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4262 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4263 # Solaris 8's {/usr,}/bin/sh.
4264 touch sub/conftst$i.h
4266 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4268 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4269 # mode. It turns out that the SunPro C++ compiler does not properly
4270 # handle `-M -o', and we need to detect this. Also, some Intel
4271 # versions had trouble with output in subdirs
4272 am__obj=sub/conftest.${OBJEXT-o}
4273 am__minus_obj="-o $am__obj"
4276 # This depmode causes a compiler race in universal mode.
4277 test "$am__universal" = false || continue
4280 # after this tag, mechanisms are not by side-effect, so they'll
4281 # only be used when explicitly requested
4282 if test "x$enable_dependency_tracking" = xyes; then
4288 msvisualcpp | msvcmsys)
4289 # This compiler won't grok `-c -o', but also, the minuso test has
4290 # not run yet. These depmodes are late enough in the game, and
4291 # so weak that their functioning should not be impacted.
4292 am__obj=conftest.${OBJEXT-o}
4297 if depmode=$depmode \
4298 source=sub/conftest.c object=$am__obj \
4299 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4300 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4301 >/dev/null 2>conftest.err &&
4302 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4303 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4304 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4305 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4306 # icc doesn't choke on unknown options, it will just issue warnings
4307 # or remarks (even with -Werror). So we grep stderr for any message
4308 # that says an option was ignored or not supported.
4309 # When given -MP, icc 7.0 and 7.1 complain thusly:
4310 # icc: Command line warning: ignoring option '-M'; no argument required
4311 # The diagnosis changed in icc 8.0:
4312 # icc: Command line remark: option '-MP' not supported
4313 if (grep 'ignoring option' conftest.err ||
4314 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4315 am_cv_CC_dependencies_compiler_type=$depmode
4324 am_cv_CC_dependencies_compiler_type=none
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4329 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4330 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4333 test "x$enable_dependency_tracking" != xno \
4334 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4336 am__fastdepCC_FALSE='#'
4338 am__fastdepCC_TRUE='#'
4339 am__fastdepCC_FALSE=
4345 ac_cpp='$CPP $CPPFLAGS'
4346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4350 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4351 # On Suns, sometimes $CPP names a directory.
4352 if test -n "$CPP" && test -d "$CPP"; then
4355 if test -z "$CPP"; then
4356 if ${ac_cv_prog_CPP+:} false; then :
4357 $as_echo_n "(cached) " >&6
4359 # Double quotes because CPP needs to be expanded
4360 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4363 for ac_c_preproc_warn_flag in '' yes
4365 # Use a header file that comes with gcc, so configuring glibc
4366 # with a fresh cross-compiler works.
4367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4368 # <limits.h> exists even on freestanding compilers.
4369 # On the NeXT, cc -E runs the code through the compiler's parser,
4370 # not just through cpp. "Syntax error" is here to catch this case.
4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h. */
4374 # include <limits.h>
4376 # include <assert.h>
4380 if ac_fn_c_try_cpp "$LINENO"; then :
4383 # Broken: fails on valid input.
4386 rm -f conftest.err conftest.i conftest.$ac_ext
4388 # OK, works on sane cases. Now check whether nonexistent headers
4389 # can be detected and how.
4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4392 #include <ac_nonexistent.h>
4394 if ac_fn_c_try_cpp "$LINENO"; then :
4395 # Broken: success on invalid input.
4398 # Passes both tests.
4402 rm -f conftest.err conftest.i conftest.$ac_ext
4405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4406 rm -f conftest.i conftest.err conftest.$ac_ext
4407 if $ac_preproc_ok; then :
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4420 $as_echo "$CPP" >&6; }
4422 for ac_c_preproc_warn_flag in '' yes
4424 # Use a header file that comes with gcc, so configuring glibc
4425 # with a fresh cross-compiler works.
4426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4427 # <limits.h> exists even on freestanding compilers.
4428 # On the NeXT, cc -E runs the code through the compiler's parser,
4429 # not just through cpp. "Syntax error" is here to catch this case.
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4433 # include <limits.h>
4435 # include <assert.h>
4439 if ac_fn_c_try_cpp "$LINENO"; then :
4442 # Broken: fails on valid input.
4445 rm -f conftest.err conftest.i conftest.$ac_ext
4447 # OK, works on sane cases. Now check whether nonexistent headers
4448 # can be detected and how.
4449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4451 #include <ac_nonexistent.h>
4453 if ac_fn_c_try_cpp "$LINENO"; then :
4454 # Broken: success on invalid input.
4457 # Passes both tests.
4461 rm -f conftest.err conftest.i conftest.$ac_ext
4464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4465 rm -f conftest.i conftest.err conftest.$ac_ext
4466 if $ac_preproc_ok; then :
4469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4471 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4472 See \`config.log' for more details" "$LINENO" 5; }
4476 ac_cpp='$CPP $CPPFLAGS'
4477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4483 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4484 if ${ac_cv_path_GREP+:} false; then :
4485 $as_echo_n "(cached) " >&6
4487 if test -z "$GREP"; then
4488 ac_path_GREP_found=false
4489 # Loop through the user's path and test for each of PROGNAME-LIST
4490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4494 test -z "$as_dir" && as_dir=.
4495 for ac_prog in grep ggrep; do
4496 for ac_exec_ext in '' $ac_executable_extensions; do
4497 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4498 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4499 # Check for GNU ac_path_GREP and select it if it is found.
4500 # Check for GNU $ac_path_GREP
4501 case `"$ac_path_GREP" --version 2>&1` in
4503 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4506 $as_echo_n 0123456789 >"conftest.in"
4509 cat "conftest.in" "conftest.in" >"conftest.tmp"
4510 mv "conftest.tmp" "conftest.in"
4511 cp "conftest.in" "conftest.nl"
4512 $as_echo 'GREP' >> "conftest.nl"
4513 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4514 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4515 as_fn_arith $ac_count + 1 && ac_count=$as_val
4516 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4517 # Best one so far, save it but keep looking for a better one
4518 ac_cv_path_GREP="$ac_path_GREP"
4519 ac_path_GREP_max=$ac_count
4521 # 10*(2^10) chars as input seems more than enough
4522 test $ac_count -gt 10 && break
4524 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4527 $ac_path_GREP_found && break 3
4532 if test -z "$ac_cv_path_GREP"; then
4533 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4536 ac_cv_path_GREP=$GREP
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4541 $as_echo "$ac_cv_path_GREP" >&6; }
4542 GREP="$ac_cv_path_GREP"
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4546 $as_echo_n "checking for egrep... " >&6; }
4547 if ${ac_cv_path_EGREP+:} false; then :
4548 $as_echo_n "(cached) " >&6
4550 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4551 then ac_cv_path_EGREP="$GREP -E"
4553 if test -z "$EGREP"; then
4554 ac_path_EGREP_found=false
4555 # Loop through the user's path and test for each of PROGNAME-LIST
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4560 test -z "$as_dir" && as_dir=.
4561 for ac_prog in egrep; do
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4564 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4565 # Check for GNU ac_path_EGREP and select it if it is found.
4566 # Check for GNU $ac_path_EGREP
4567 case `"$ac_path_EGREP" --version 2>&1` in
4569 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4572 $as_echo_n 0123456789 >"conftest.in"
4575 cat "conftest.in" "conftest.in" >"conftest.tmp"
4576 mv "conftest.tmp" "conftest.in"
4577 cp "conftest.in" "conftest.nl"
4578 $as_echo 'EGREP' >> "conftest.nl"
4579 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4580 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4581 as_fn_arith $ac_count + 1 && ac_count=$as_val
4582 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4583 # Best one so far, save it but keep looking for a better one
4584 ac_cv_path_EGREP="$ac_path_EGREP"
4585 ac_path_EGREP_max=$ac_count
4587 # 10*(2^10) chars as input seems more than enough
4588 test $ac_count -gt 10 && break
4590 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4593 $ac_path_EGREP_found && break 3
4598 if test -z "$ac_cv_path_EGREP"; then
4599 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4602 ac_cv_path_EGREP=$EGREP
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4608 $as_echo "$ac_cv_path_EGREP" >&6; }
4609 EGREP="$ac_cv_path_EGREP"
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4613 $as_echo_n "checking for ANSI C header files... " >&6; }
4614 if ${ac_cv_header_stdc+:} false; then :
4615 $as_echo_n "(cached) " >&6
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4632 if ac_fn_c_try_compile "$LINENO"; then :
4633 ac_cv_header_stdc=yes
4635 ac_cv_header_stdc=no
4637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4639 if test $ac_cv_header_stdc = yes; then
4640 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4647 $EGREP "memchr" >/dev/null 2>&1; then :
4650 ac_cv_header_stdc=no
4656 if test $ac_cv_header_stdc = yes; then
4657 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4664 $EGREP "free" >/dev/null 2>&1; then :
4667 ac_cv_header_stdc=no
4673 if test $ac_cv_header_stdc = yes; then
4674 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4675 if test "$cross_compiling" = yes; then :
4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4682 #if ((' ' & 0x0FF) == 0x020)
4683 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4684 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4686 # define ISLOWER(c) \
4687 (('a' <= (c) && (c) <= 'i') \
4688 || ('j' <= (c) && (c) <= 'r') \
4689 || ('s' <= (c) && (c) <= 'z'))
4690 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4693 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4698 for (i = 0; i < 256; i++)
4699 if (XOR (islower (i), ISLOWER (i))
4700 || toupper (i) != TOUPPER (i))
4705 if ac_fn_c_try_run "$LINENO"; then :
4708 ac_cv_header_stdc=no
4710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4711 conftest.$ac_objext conftest.beam conftest.$ac_ext
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4717 $as_echo "$ac_cv_header_stdc" >&6; }
4718 if test $ac_cv_header_stdc = yes; then
4720 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4724 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4725 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4726 inttypes.h stdint.h unistd.h
4728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4729 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4732 cat >>confdefs.h <<_ACEOF
4733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4741 ac_fn_c_check_header_mongrel "$LINENO" "OpenGL/gl.h" "ac_cv_header_OpenGL_gl_h" "$ac_includes_default"
4742 if test "x$ac_cv_header_OpenGL_gl_h" = xyes; then :
4749 if test "$platform_quartz" = "yes"; then
4758 ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
4759 if test "x$ac_cv_header_GL_glx_h" = xyes; then :
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
4767 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
4768 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
4769 $as_echo_n "(cached) " >&6
4771 ac_check_lib_save_LIBS=$LIBS
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4776 /* Override any GCC internal prototype to avoid an error.
4777 Use char because int might match the return type of a GCC
4778 builtin and then its argument prototype would still apply. */
4782 char glXCreateContext ();
4786 return glXCreateContext ();
4791 if ac_fn_c_try_link "$LINENO"; then :
4792 ac_cv_lib_GL_glXCreateContext=yes
4794 ac_cv_lib_GL_glXCreateContext=no
4796 rm -f core conftest.err conftest.$ac_objext \
4797 conftest$ac_exeext conftest.$ac_ext
4798 LIBS=$ac_check_lib_save_LIBS
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
4801 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
4802 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
4808 if test "$platform_glx" = "yes"; then
4816 if test "$platform_linux" = "yes"; then
4827 cat >confcache <<\_ACEOF
4828 # This file is a shell script that caches the results of configure
4829 # tests run on this system so they can be shared between configure
4830 # scripts and configure runs, see configure's option --config-cache.
4831 # It is not useful on other systems. If it contains results you don't
4832 # want to keep, you may remove or edit it.
4834 # config.status only pays attention to the cache file if you give it
4835 # the --recheck option to rerun configure.
4837 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4838 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4843 # The following way of writing the cache mishandles newlines in values,
4844 # but we know of no workaround that is simple, portable, and efficient.
4845 # So, we kill variables containing newlines.
4846 # Ultrix sh set writes to stderr and can't be redirected directly,
4847 # and sets the high bit in the cache file unless we assign to the vars.
4849 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4850 eval ac_val=\$$ac_var
4854 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4855 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4858 _ | IFS | as_nl) ;; #(
4859 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4860 *) { eval $ac_var=; unset $ac_var;} ;;
4866 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4867 *${as_nl}ac_space=\ *)
4868 # `set' does not quote correctly, so add quotes: double-quote
4869 # substitution turns \\\\ into \\, and sed turns \\ into \.
4872 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4875 # `set' quotes correctly as required by POSIX, so do not add quotes.
4876 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4885 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4887 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4889 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4890 if test -w "$cache_file"; then
4891 if test "x$cache_file" != "x/dev/null"; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4893 $as_echo "$as_me: updating cache $cache_file" >&6;}
4894 if test ! -f "$cache_file" || test -h "$cache_file"; then
4895 cat confcache >"$cache_file"
4897 case $cache_file in #(
4899 mv -f confcache "$cache_file"$$ &&
4900 mv -f "$cache_file"$$ "$cache_file" ;; #(
4902 mv -f confcache "$cache_file" ;;
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4908 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4914 # Checks for programs.
4915 if test "x$CC" != xcc; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4917 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4920 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4922 set dummy $CC; ac_cc=`$as_echo "$2" |
4923 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4924 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4925 $as_echo_n "(cached) " >&6
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4938 # Make sure it works both with $CC and with simple cc.
4939 # We do the test twice because some compilers refuse to overwrite an
4940 # existing .o file with -o, though they will create one.
4941 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4943 if { { case "(($ac_try" in
4944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4945 *) ac_try_echo=$ac_try;;
4947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4948 $as_echo "$ac_try_echo"; } >&5
4949 (eval "$ac_try") 2>&5
4951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4952 test $ac_status = 0; } &&
4953 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4955 *) ac_try_echo=$ac_try;;
4957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4958 $as_echo "$ac_try_echo"; } >&5
4959 (eval "$ac_try") 2>&5
4961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4962 test $ac_status = 0; };
4964 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4965 if test "x$CC" != xcc; then
4966 # Test first that cc exists at all.
4967 if { ac_try='cc -c conftest.$ac_ext >&5'
4968 { { case "(($ac_try" in
4969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4970 *) ac_try_echo=$ac_try;;
4972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4973 $as_echo "$ac_try_echo"; } >&5
4974 (eval "$ac_try") 2>&5
4976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4977 test $ac_status = 0; }; }; then
4978 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4980 if { { case "(($ac_try" in
4981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4982 *) ac_try_echo=$ac_try;;
4984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4985 $as_echo "$ac_try_echo"; } >&5
4986 (eval "$ac_try") 2>&5
4988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4989 test $ac_status = 0; } &&
4990 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4992 *) ac_try_echo=$ac_try;;
4994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4995 $as_echo "$ac_try_echo"; } >&5
4996 (eval "$ac_try") 2>&5
4998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4999 test $ac_status = 0; };
5004 # cc exists but doesn't like -o.
5005 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5010 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5012 rm -f core conftest*
5015 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5017 $as_echo "yes" >&6; }
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 $as_echo "no" >&6; }
5022 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5026 # FIXME: we rely on the cache variable name because
5027 # there is no other way.
5029 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5030 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5031 if test "$am_t" != yes; then
5032 # Losing compiler, so override with the script.
5033 # FIXME: It is wrong to rewrite CC.
5034 # But if we don't then we get into trouble of one sort or another.
5035 # A longer-term fix would be to have automake use am__CC in this case,
5036 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5037 CC="$am_aux_dir/compile $CC"
5042 # require libtool >= 2.2
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5047 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5053 macro_revision='1.3293'
5067 ltmain="$ac_aux_dir/ltmain.sh"
5069 # Backslashify metacharacters that are still active within
5070 # double-quoted strings.
5071 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5073 # Same as above, but do not quote variable references.
5074 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5076 # Sed substitution to delay expansion of an escaped shell variable in a
5077 # double_quote_subst'ed string.
5078 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5080 # Sed substitution to delay expansion of an escaped single quote.
5081 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5083 # Sed substitution to avoid accidental globbing in evaled expressions
5084 no_glob_subst='s/\*/\\\*/g'
5086 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5087 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5088 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5091 $as_echo_n "checking how to print strings... " >&6; }
5092 # Test print first, because it will be a builtin if present.
5093 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5094 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5096 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5099 # Use this function as a fallback that always works.
5100 func_fallback_echo ()
5102 eval 'cat <<_LTECHO_EOF
5106 ECHO='func_fallback_echo'
5109 # func_echo_all arg...
5110 # Invoke $ECHO with all args, space-separated.
5117 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5118 $as_echo "printf" >&6; } ;;
5119 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5120 $as_echo "print -r" >&6; } ;;
5121 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5122 $as_echo "cat" >&6; } ;;
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5139 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5140 if ${ac_cv_path_SED+:} false; then :
5141 $as_echo_n "(cached) " >&6
5143 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5144 for ac_i in 1 2 3 4 5 6 7; do
5145 ac_script="$ac_script$as_nl$ac_script"
5147 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5148 { ac_script=; unset ac_script;}
5149 if test -z "$SED"; then
5150 ac_path_SED_found=false
5151 # Loop through the user's path and test for each of PROGNAME-LIST
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir=.
5157 for ac_prog in sed gsed; do
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5160 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5161 # Check for GNU ac_path_SED and select it if it is found.
5162 # Check for GNU $ac_path_SED
5163 case `"$ac_path_SED" --version 2>&1` in
5165 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5168 $as_echo_n 0123456789 >"conftest.in"
5171 cat "conftest.in" "conftest.in" >"conftest.tmp"
5172 mv "conftest.tmp" "conftest.in"
5173 cp "conftest.in" "conftest.nl"
5174 $as_echo '' >> "conftest.nl"
5175 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5176 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5177 as_fn_arith $ac_count + 1 && ac_count=$as_val
5178 if test $ac_count -gt ${ac_path_SED_max-0}; then
5179 # Best one so far, save it but keep looking for a better one
5180 ac_cv_path_SED="$ac_path_SED"
5181 ac_path_SED_max=$ac_count
5183 # 10*(2^10) chars as input seems more than enough
5184 test $ac_count -gt 10 && break
5186 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5189 $ac_path_SED_found && break 3
5194 if test -z "$ac_cv_path_SED"; then
5195 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5203 $as_echo "$ac_cv_path_SED" >&6; }
5204 SED="$ac_cv_path_SED"
5207 test -z "$SED" && SED=sed
5208 Xsed="$SED -e 1s/^X//"
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5221 $as_echo_n "checking for fgrep... " >&6; }
5222 if ${ac_cv_path_FGREP+:} false; then :
5223 $as_echo_n "(cached) " >&6
5225 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5226 then ac_cv_path_FGREP="$GREP -F"
5228 if test -z "$FGREP"; then
5229 ac_path_FGREP_found=false
5230 # Loop through the user's path and test for each of PROGNAME-LIST
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5235 test -z "$as_dir" && as_dir=.
5236 for ac_prog in fgrep; do
5237 for ac_exec_ext in '' $ac_executable_extensions; do
5238 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5239 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5240 # Check for GNU ac_path_FGREP and select it if it is found.
5241 # Check for GNU $ac_path_FGREP
5242 case `"$ac_path_FGREP" --version 2>&1` in
5244 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5247 $as_echo_n 0123456789 >"conftest.in"
5250 cat "conftest.in" "conftest.in" >"conftest.tmp"
5251 mv "conftest.tmp" "conftest.in"
5252 cp "conftest.in" "conftest.nl"
5253 $as_echo 'FGREP' >> "conftest.nl"
5254 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5255 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5256 as_fn_arith $ac_count + 1 && ac_count=$as_val
5257 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5258 # Best one so far, save it but keep looking for a better one
5259 ac_cv_path_FGREP="$ac_path_FGREP"
5260 ac_path_FGREP_max=$ac_count
5262 # 10*(2^10) chars as input seems more than enough
5263 test $ac_count -gt 10 && break
5265 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5268 $ac_path_FGREP_found && break 3
5273 if test -z "$ac_cv_path_FGREP"; then
5274 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5277 ac_cv_path_FGREP=$FGREP
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5283 $as_echo "$ac_cv_path_FGREP" >&6; }
5284 FGREP="$ac_cv_path_FGREP"
5287 test -z "$GREP" && GREP=grep
5307 # Check whether --with-gnu-ld was given.
5308 if test "${with_gnu_ld+set}" = set; then :
5309 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5315 if test "$GCC" = yes; then
5316 # Check if gcc -print-prog-name=ld gives a path.
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5318 $as_echo_n "checking for ld used by $CC... " >&6; }
5321 # gcc leaves a trailing carriage return which upsets mingw
5322 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5324 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5327 # Accept absolute paths.
5329 re_direlt='/[^/][^/]*/\.\./'
5330 # Canonicalize the pathname of ld
5331 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5332 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5333 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5335 test -z "$LD" && LD="$ac_prog"
5338 # If it fails, then pretend we aren't using GCC.
5342 # If it is relative, then search for the first ld in PATH.
5346 elif test "$with_gnu_ld" = yes; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5348 $as_echo_n "checking for GNU ld... " >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5351 $as_echo_n "checking for non-GNU ld... " >&6; }
5353 if ${lt_cv_path_LD+:} false; then :
5354 $as_echo_n "(cached) " >&6
5356 if test -z "$LD"; then
5357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5358 for ac_dir in $PATH; do
5360 test -z "$ac_dir" && ac_dir=.
5361 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5362 lt_cv_path_LD="$ac_dir/$ac_prog"
5363 # Check to see if the program is GNU ld. I'd rather use --version,
5364 # but apparently some variants of GNU ld only accept -v.
5365 # Break only if it was the GNU/non-GNU ld that we prefer.
5366 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5367 *GNU* | *'with BFD'*)
5368 test "$with_gnu_ld" != no && break
5371 test "$with_gnu_ld" != yes && break
5378 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5383 if test -n "$LD"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5385 $as_echo "$LD" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5390 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5392 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5393 if ${lt_cv_prog_gnu_ld+:} false; then :
5394 $as_echo_n "(cached) " >&6
5396 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5397 case `$LD -v 2>&1 </dev/null` in
5398 *GNU* | *'with BFD'*)
5399 lt_cv_prog_gnu_ld=yes
5402 lt_cv_prog_gnu_ld=no
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5407 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5408 with_gnu_ld=$lt_cv_prog_gnu_ld
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5419 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5420 if ${lt_cv_path_NM+:} false; then :
5421 $as_echo_n "(cached) " >&6
5423 if test -n "$NM"; then
5424 # Let the user override the test.
5427 lt_nm_to_check="${ac_tool_prefix}nm"
5428 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5429 lt_nm_to_check="$lt_nm_to_check nm"
5431 for lt_tmp_nm in $lt_nm_to_check; do
5432 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5433 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5435 test -z "$ac_dir" && ac_dir=.
5436 tmp_nm="$ac_dir/$lt_tmp_nm"
5437 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5438 # Check to see if the nm accepts a BSD-compat flag.
5439 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5440 # nm: unknown option "B" ignored
5441 # Tru64's nm complains that /dev/null is an invalid object file
5442 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5443 */dev/null* | *'Invalid file or object type'*)
5444 lt_cv_path_NM="$tmp_nm -B"
5448 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5450 lt_cv_path_NM="$tmp_nm -p"
5454 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5455 continue # so that we can try to find one that supports BSD flags
5464 : ${lt_cv_path_NM=no}
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5468 $as_echo "$lt_cv_path_NM" >&6; }
5469 if test "$lt_cv_path_NM" != "no"; then
5472 # Didn't find any BSD compatible name lister, look for dumpbin.
5473 if test -n "$DUMPBIN"; then :
5474 # Let the user override the test.
5476 if test -n "$ac_tool_prefix"; then
5477 for ac_prog in dumpbin "link -dump"
5479 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482 $as_echo_n "checking for $ac_word... " >&6; }
5483 if ${ac_cv_prog_DUMPBIN+:} false; then :
5484 $as_echo_n "(cached) " >&6
5486 if test -n "$DUMPBIN"; then
5487 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 test -z "$as_dir" && as_dir=.
5494 for ac_exec_ext in '' $ac_executable_extensions; do
5495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5496 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 DUMPBIN=$ac_cv_prog_DUMPBIN
5507 if test -n "$DUMPBIN"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5509 $as_echo "$DUMPBIN" >&6; }
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5516 test -n "$DUMPBIN" && break
5519 if test -z "$DUMPBIN"; then
5520 ac_ct_DUMPBIN=$DUMPBIN
5521 for ac_prog in dumpbin "link -dump"
5523 # Extract the first word of "$ac_prog", so it can be a program name with args.
5524 set dummy $ac_prog; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5528 $as_echo_n "(cached) " >&6
5530 if test -n "$ac_ct_DUMPBIN"; then
5531 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5540 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5550 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5551 if test -n "$ac_ct_DUMPBIN"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5553 $as_echo "$ac_ct_DUMPBIN" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5560 test -n "$ac_ct_DUMPBIN" && break
5563 if test "x$ac_ct_DUMPBIN" = x; then
5566 case $cross_compiling:$ac_tool_warned in
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5570 ac_tool_warned=yes ;;
5572 DUMPBIN=$ac_ct_DUMPBIN
5576 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5578 DUMPBIN="$DUMPBIN -symbols"
5586 if test "$DUMPBIN" != ":"; then
5590 test -z "$NM" && NM=nm
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5598 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5599 if ${lt_cv_nm_interface+:} false; then :
5600 $as_echo_n "(cached) " >&6
5602 lt_cv_nm_interface="BSD nm"
5603 echo "int some_variable = 0;" > conftest.$ac_ext
5604 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5605 (eval "$ac_compile" 2>conftest.err)
5606 cat conftest.err >&5
5607 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5608 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5609 cat conftest.err >&5
5610 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5611 cat conftest.out >&5
5612 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5613 lt_cv_nm_interface="MS dumpbin"
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5618 $as_echo "$lt_cv_nm_interface" >&6; }
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5621 $as_echo_n "checking whether ln -s works... " >&6; }
5623 if test "$LN_S" = "ln -s"; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5625 $as_echo "yes" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5628 $as_echo "no, using $LN_S" >&6; }
5631 # find the maximum length of command line arguments
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5633 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5634 if ${lt_cv_sys_max_cmd_len+:} false; then :
5635 $as_echo_n "(cached) " >&6
5642 # On DJGPP, this test can blow up pretty badly due to problems in libc
5643 # (any single argument exceeding 2000 bytes causes a buffer overrun
5644 # during glob expansion). Even if it were fixed, the result of this
5645 # check would be larger than it should be.
5646 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5650 # Under GNU Hurd, this test is not required because there is
5651 # no limit to the length of command line arguments.
5652 # Libtool will interpret -1 as no limit whatsoever
5653 lt_cv_sys_max_cmd_len=-1;
5656 cygwin* | mingw* | cegcc*)
5657 # On Win9x/ME, this test blows up -- it succeeds, but takes
5658 # about 5 minutes as the teststring grows exponentially.
5659 # Worse, since 9x/ME are not pre-emptively multitasking,
5660 # you end up with a "frozen" computer, even though with patience
5661 # the test eventually succeeds (with a max line length of 256k).
5662 # Instead, let's just punt: use the minimum linelength reported by
5663 # all of the supported platforms: 8192 (on NT/2K/XP).
5664 lt_cv_sys_max_cmd_len=8192;
5668 # On MiNT this can take a long time and run out of memory.
5669 lt_cv_sys_max_cmd_len=8192;
5673 # On AmigaOS with pdksh, this test takes hours, literally.
5674 # So we just punt and use a minimum line length of 8192.
5675 lt_cv_sys_max_cmd_len=8192;
5678 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5679 # This has been around since 386BSD, at least. Likely further.
5680 if test -x /sbin/sysctl; then
5681 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5682 elif test -x /usr/sbin/sysctl; then
5683 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5685 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5687 # And add a safety zone
5688 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5689 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5693 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5694 lt_cv_sys_max_cmd_len=196608
5698 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5699 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5700 # nice to cause kernel panics so lets avoid the loop below.
5701 # First set a reasonable default.
5702 lt_cv_sys_max_cmd_len=16384
5704 if test -x /sbin/sysconfig; then
5705 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5706 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5711 lt_cv_sys_max_cmd_len=102400
5713 sysv5* | sco5v6* | sysv4.2uw2*)
5714 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5715 if test -n "$kargmax"; then
5716 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5718 lt_cv_sys_max_cmd_len=32768
5722 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5723 if test -n "$lt_cv_sys_max_cmd_len"; then
5724 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5725 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5727 # Make teststring a little bigger before we do anything with it.
5728 # a 1K string should be a reasonable start.
5729 for i in 1 2 3 4 5 6 7 8 ; do
5730 teststring=$teststring$teststring
5732 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5733 # If test is not a shell built-in, we'll probably end up computing a
5734 # maximum length that is only half of the actual maximum length, but
5736 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5737 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5738 test $i != 17 # 1/2 MB should be enough
5741 teststring=$teststring$teststring
5743 # Only check the string length outside the loop.
5744 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5746 # Add a significant safety factor because C++ compilers can tack on
5747 # massive amounts of additional arguments before passing them to the
5748 # linker. It appears as though 1/2 is a usable value.
5749 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5756 if test -n $lt_cv_sys_max_cmd_len ; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5758 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5761 $as_echo "none" >&6; }
5763 max_cmd_len=$lt_cv_sys_max_cmd_len
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5775 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5776 # Try some XSI features
5779 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5781 && eval 'test $(( 1 + 1 )) -eq 2 \
5782 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5785 $as_echo "$xsi_shell" >&6; }
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5789 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5791 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5793 && lt_shell_append=yes
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5795 $as_echo "$lt_shell_append" >&6; }
5798 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5808 # test EBCDIC or ASCII
5809 case `echo X|tr X '\101'` in
5810 A) # ASCII based system
5811 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5812 lt_SP2NL='tr \040 \012'
5813 lt_NL2SP='tr \015\012 \040\040'
5815 *) # EBCDIC based system
5816 lt_SP2NL='tr \100 \n'
5817 lt_NL2SP='tr \r\n \100\100'
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5830 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5831 if ${lt_cv_to_host_file_cmd+:} false; then :
5832 $as_echo_n "(cached) " >&6
5837 *-*-mingw* ) # actually msys
5838 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5841 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5843 * ) # otherwise, assume *nix
5844 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5850 *-*-mingw* ) # actually msys
5851 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5854 lt_cv_to_host_file_cmd=func_convert_file_noop
5856 * ) # otherwise, assume *nix
5857 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5861 * ) # unhandled hosts (and "normal" native builds)
5862 lt_cv_to_host_file_cmd=func_convert_file_noop
5868 to_host_file_cmd=$lt_cv_to_host_file_cmd
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5870 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5877 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5878 if ${lt_cv_to_tool_file_cmd+:} false; then :
5879 $as_echo_n "(cached) " >&6
5881 #assume ordinary cross tools, or native build.
5882 lt_cv_to_tool_file_cmd=func_convert_file_noop
5886 *-*-mingw* ) # actually msys
5887 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5895 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5897 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5904 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5905 if ${lt_cv_ld_reload_flag+:} false; then :
5906 $as_echo_n "(cached) " >&6
5908 lt_cv_ld_reload_flag='-r'
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5911 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5912 reload_flag=$lt_cv_ld_reload_flag
5913 case $reload_flag in
5915 *) reload_flag=" $reload_flag" ;;
5917 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5919 cygwin* | mingw* | pw32* | cegcc*)
5920 if test "$GCC" != yes; then
5925 if test "$GCC" = yes; then
5926 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5928 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5941 if test -n "$ac_tool_prefix"; then
5942 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5943 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_prog_OBJDUMP+:} false; then :
5947 $as_echo_n "(cached) " >&6
5949 if test -n "$OBJDUMP"; then
5950 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 test -z "$as_dir" && as_dir=.
5957 for ac_exec_ext in '' $ac_executable_extensions; do
5958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5959 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 OBJDUMP=$ac_cv_prog_OBJDUMP
5970 if test -n "$OBJDUMP"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5972 $as_echo "$OBJDUMP" >&6; }
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5980 if test -z "$ac_cv_prog_OBJDUMP"; then
5981 ac_ct_OBJDUMP=$OBJDUMP
5982 # Extract the first word of "objdump", so it can be a program name with args.
5983 set dummy objdump; ac_word=$2
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5985 $as_echo_n "checking for $ac_word... " >&6; }
5986 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5987 $as_echo_n "(cached) " >&6
5989 if test -n "$ac_ct_OBJDUMP"; then
5990 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5996 test -z "$as_dir" && as_dir=.
5997 for ac_exec_ext in '' $ac_executable_extensions; do
5998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5999 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6009 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6010 if test -n "$ac_ct_OBJDUMP"; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6012 $as_echo "$ac_ct_OBJDUMP" >&6; }
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6018 if test "x$ac_ct_OBJDUMP" = x; then
6021 case $cross_compiling:$ac_tool_warned in
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6025 ac_tool_warned=yes ;;
6027 OBJDUMP=$ac_ct_OBJDUMP
6030 OBJDUMP="$ac_cv_prog_OBJDUMP"
6033 test -z "$OBJDUMP" && OBJDUMP=objdump
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6044 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6045 if ${lt_cv_deplibs_check_method+:} false; then :
6046 $as_echo_n "(cached) " >&6
6048 lt_cv_file_magic_cmd='$MAGIC_CMD'
6049 lt_cv_file_magic_test_file=
6050 lt_cv_deplibs_check_method='unknown'
6051 # Need to set the preceding variable on all platforms that support
6052 # interlibrary dependencies.
6053 # 'none' -- dependencies not supported.
6054 # `unknown' -- same as none, but documents that we really don't know.
6055 # 'pass_all' -- all dependencies passed with no checks.
6056 # 'test_compile' -- check by making test program.
6057 # 'file_magic [[regex]]' -- check by looking for files in library path
6058 # which responds to the $file_magic_cmd with a given extended regex.
6059 # If you have `file' or equivalent on your system and you're not sure
6060 # whether `pass_all' will *always* work, you probably want this one.
6064 lt_cv_deplibs_check_method=pass_all
6068 lt_cv_deplibs_check_method=pass_all
6072 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6073 lt_cv_file_magic_cmd='/usr/bin/file -L'
6074 lt_cv_file_magic_test_file=/shlib/libc.so
6078 # func_win32_libid is a shell function defined in ltmain.sh
6079 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6080 lt_cv_file_magic_cmd='func_win32_libid'
6084 # Base MSYS/MinGW do not provide the 'file' command needed by
6085 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6086 # unless we find 'file', for example because we are cross-compiling.
6087 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6088 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6089 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6090 lt_cv_file_magic_cmd='func_win32_libid'
6092 # Keep this pattern in sync with the one in func_win32_libid.
6093 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6094 lt_cv_file_magic_cmd='$OBJDUMP -f'
6099 # use the weaker test based on 'objdump'. See mingw*.
6100 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6101 lt_cv_file_magic_cmd='$OBJDUMP -f'
6104 darwin* | rhapsody*)
6105 lt_cv_deplibs_check_method=pass_all
6108 freebsd* | dragonfly*)
6109 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6112 # Not sure whether the presence of OpenBSD here was a mistake.
6113 # Let's accept both of them until this is cleared up.
6114 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6115 lt_cv_file_magic_cmd=/usr/bin/file
6116 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6120 lt_cv_deplibs_check_method=pass_all
6125 lt_cv_deplibs_check_method=pass_all
6129 lt_cv_deplibs_check_method=pass_all
6132 hpux10.20* | hpux11*)
6133 lt_cv_file_magic_cmd=/usr/bin/file
6136 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6137 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6140 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]'
6141 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6144 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6145 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6151 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6152 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6155 irix5* | irix6* | nonstopux*)
6157 *-32|*"-32 ") libmagic=32-bit;;
6158 *-n32|*"-n32 ") libmagic=N32;;
6159 *-64|*"-64 ") libmagic=64-bit;;
6160 *) libmagic=never-match;;
6162 lt_cv_deplibs_check_method=pass_all
6165 # This must be Linux ELF.
6166 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6167 lt_cv_deplibs_check_method=pass_all
6171 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6172 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6174 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6179 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6180 lt_cv_file_magic_cmd=/usr/bin/file
6181 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6185 lt_cv_deplibs_check_method=pass_all
6189 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6190 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6192 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6196 osf3* | osf4* | osf5*)
6197 lt_cv_deplibs_check_method=pass_all
6201 lt_cv_deplibs_check_method=pass_all
6205 lt_cv_deplibs_check_method=pass_all
6208 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6209 lt_cv_deplibs_check_method=pass_all
6213 case $host_vendor in
6215 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]'
6216 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6219 lt_cv_deplibs_check_method=pass_all
6222 lt_cv_file_magic_cmd='/bin/file'
6223 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6226 lt_cv_file_magic_cmd='/bin/file'
6227 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6228 lt_cv_file_magic_test_file=/lib/libc.so
6231 lt_cv_deplibs_check_method=pass_all
6234 lt_cv_deplibs_check_method=pass_all
6240 lt_cv_deplibs_check_method=pass_all
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6246 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6250 if test "$build" = "$host"; then
6253 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6256 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6262 file_magic_cmd=$lt_cv_file_magic_cmd
6263 deplibs_check_method=$lt_cv_deplibs_check_method
6264 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6287 if test -n "$ac_tool_prefix"; then
6288 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6289 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6291 $as_echo_n "checking for $ac_word... " >&6; }
6292 if ${ac_cv_prog_DLLTOOL+:} false; then :
6293 $as_echo_n "(cached) " >&6
6295 if test -n "$DLLTOOL"; then
6296 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 test -z "$as_dir" && as_dir=.
6303 for ac_exec_ext in '' $ac_executable_extensions; do
6304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6305 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6315 DLLTOOL=$ac_cv_prog_DLLTOOL
6316 if test -n "$DLLTOOL"; then
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6318 $as_echo "$DLLTOOL" >&6; }
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6321 $as_echo "no" >&6; }
6326 if test -z "$ac_cv_prog_DLLTOOL"; then
6327 ac_ct_DLLTOOL=$DLLTOOL
6328 # Extract the first word of "dlltool", so it can be a program name with args.
6329 set dummy dlltool; ac_word=$2
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6331 $as_echo_n "checking for $ac_word... " >&6; }
6332 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6333 $as_echo_n "(cached) " >&6
6335 if test -n "$ac_ct_DLLTOOL"; then
6336 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 test -z "$as_dir" && as_dir=.
6343 for ac_exec_ext in '' $ac_executable_extensions; do
6344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6345 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6355 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6356 if test -n "$ac_ct_DLLTOOL"; then
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6358 $as_echo "$ac_ct_DLLTOOL" >&6; }
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6361 $as_echo "no" >&6; }
6364 if test "x$ac_ct_DLLTOOL" = x; then
6367 case $cross_compiling:$ac_tool_warned in
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6371 ac_tool_warned=yes ;;
6373 DLLTOOL=$ac_ct_DLLTOOL
6376 DLLTOOL="$ac_cv_prog_DLLTOOL"
6379 test -z "$DLLTOOL" && DLLTOOL=dlltool
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6391 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6392 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6393 $as_echo_n "(cached) " >&6
6395 lt_cv_sharedlib_from_linklib_cmd='unknown'
6398 cygwin* | mingw* | pw32* | cegcc*)
6399 # two different shell functions defined in ltmain.sh
6400 # decide which to use based on capabilities of $DLLTOOL
6401 case `$DLLTOOL --help 2>&1` in
6402 *--identify-strict*)
6403 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6406 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6411 # fallback: assume linklib IS sharedlib
6412 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6418 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6419 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6420 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6428 if test -n "$ac_tool_prefix"; then
6431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434 $as_echo_n "checking for $ac_word... " >&6; }
6435 if ${ac_cv_prog_AR+:} false; then :
6436 $as_echo_n "(cached) " >&6
6438 if test -n "$AR"; then
6439 ac_cv_prog_AR="$AR" # Let the user override the test.
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 test -z "$as_dir" && as_dir=.
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6448 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 if test -n "$AR"; then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6461 $as_echo "$AR" >&6; }
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6468 test -n "$AR" && break
6471 if test -z "$AR"; then
6475 # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy $ac_prog; ac_word=$2
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 $as_echo_n "checking for $ac_word... " >&6; }
6479 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6480 $as_echo_n "(cached) " >&6
6482 if test -n "$ac_ct_AR"; then
6483 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6489 test -z "$as_dir" && as_dir=.
6490 for ac_exec_ext in '' $ac_executable_extensions; do
6491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492 ac_cv_prog_ac_ct_AR="$ac_prog"
6493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6502 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6503 if test -n "$ac_ct_AR"; then
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6505 $as_echo "$ac_ct_AR" >&6; }
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6508 $as_echo "no" >&6; }
6512 test -n "$ac_ct_AR" && break
6515 if test "x$ac_ct_AR" = x; then
6518 case $cross_compiling:$ac_tool_warned in
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6522 ac_tool_warned=yes ;;
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6542 $as_echo_n "checking for archiver @FILE support... " >&6; }
6543 if ${lt_cv_ar_at_file+:} false; then :
6544 $as_echo_n "(cached) " >&6
6547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6558 if ac_fn_c_try_compile "$LINENO"; then :
6559 echo conftest.$ac_objext > conftest.lst
6560 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6561 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6562 (eval $lt_ar_try) 2>&5
6564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6565 test $ac_status = 0; }
6566 if test "$ac_status" -eq 0; then
6567 # Ensure the archiver fails upon bogus file names.
6568 rm -f conftest.$ac_objext libconftest.a
6569 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6570 (eval $lt_ar_try) 2>&5
6572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6573 test $ac_status = 0; }
6574 if test "$ac_status" -ne 0; then
6578 rm -f conftest.* libconftest.a
6581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6585 $as_echo "$lt_cv_ar_at_file" >&6; }
6587 if test "x$lt_cv_ar_at_file" = xno; then
6590 archiver_list_spec=$lt_cv_ar_at_file
6599 if test -n "$ac_tool_prefix"; then
6600 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6601 set dummy ${ac_tool_prefix}strip; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_STRIP+:} false; then :
6605 $as_echo_n "(cached) " >&6
6607 if test -n "$STRIP"; then
6608 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614 test -z "$as_dir" && as_dir=.
6615 for ac_exec_ext in '' $ac_executable_extensions; do
6616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6617 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6627 STRIP=$ac_cv_prog_STRIP
6628 if test -n "$STRIP"; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6630 $as_echo "$STRIP" >&6; }
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6638 if test -z "$ac_cv_prog_STRIP"; then
6640 # Extract the first word of "strip", so it can be a program name with args.
6641 set dummy strip; ac_word=$2
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643 $as_echo_n "checking for $ac_word... " >&6; }
6644 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6645 $as_echo_n "(cached) " >&6
6647 if test -n "$ac_ct_STRIP"; then
6648 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 test -z "$as_dir" && as_dir=.
6655 for ac_exec_ext in '' $ac_executable_extensions; do
6656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6657 ac_cv_prog_ac_ct_STRIP="strip"
6658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6668 if test -n "$ac_ct_STRIP"; then
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6670 $as_echo "$ac_ct_STRIP" >&6; }
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673 $as_echo "no" >&6; }
6676 if test "x$ac_ct_STRIP" = x; then
6679 case $cross_compiling:$ac_tool_warned in
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6683 ac_tool_warned=yes ;;
6688 STRIP="$ac_cv_prog_STRIP"
6691 test -z "$STRIP" && STRIP=:
6698 if test -n "$ac_tool_prefix"; then
6699 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6700 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702 $as_echo_n "checking for $ac_word... " >&6; }
6703 if ${ac_cv_prog_RANLIB+:} false; then :
6704 $as_echo_n "(cached) " >&6
6706 if test -n "$RANLIB"; then
6707 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 test -z "$as_dir" && as_dir=.
6714 for ac_exec_ext in '' $ac_executable_extensions; do
6715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6716 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6726 RANLIB=$ac_cv_prog_RANLIB
6727 if test -n "$RANLIB"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6729 $as_echo "$RANLIB" >&6; }
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6732 $as_echo "no" >&6; }
6737 if test -z "$ac_cv_prog_RANLIB"; then
6738 ac_ct_RANLIB=$RANLIB
6739 # Extract the first word of "ranlib", so it can be a program name with args.
6740 set dummy ranlib; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6744 $as_echo_n "(cached) " >&6
6746 if test -n "$ac_ct_RANLIB"; then
6747 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6756 ac_cv_prog_ac_ct_RANLIB="ranlib"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6767 if test -n "$ac_ct_RANLIB"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6769 $as_echo "$ac_ct_RANLIB" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6775 if test "x$ac_ct_RANLIB" = x; then
6778 case $cross_compiling:$ac_tool_warned in
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6782 ac_tool_warned=yes ;;
6784 RANLIB=$ac_ct_RANLIB
6787 RANLIB="$ac_cv_prog_RANLIB"
6790 test -z "$RANLIB" && RANLIB=:
6797 # Determine commands to create old-style static archives.
6798 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6799 old_postinstall_cmds='chmod 644 $oldlib'
6800 old_postuninstall_cmds=
6802 if test -n "$RANLIB"; then
6805 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6808 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6811 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6816 lock_old_archive_extraction=yes ;;
6818 lock_old_archive_extraction=no ;;
6859 # If no C compiler was specified, use CC.
6862 # If no C compiler flags were specified, use CFLAGS.
6863 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6865 # Allow CC to be a program name with arguments.
6869 # Check for command to grab the raw symbol name followed by C symbol from nm.
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6871 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6872 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6873 $as_echo_n "(cached) " >&6
6876 # These are sane defaults that work on at least a few old systems.
6877 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6879 # Character class describing NM global symbol codes.
6880 symcode='[BCDEGRST]'
6882 # Regexp to match symbols that can be accessed directly from C.
6883 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6885 # Define system-specific variables.
6890 cygwin* | mingw* | pw32* | cegcc*)
6891 symcode='[ABCDGISTW]'
6894 if test "$host_cpu" = ia64; then
6895 symcode='[ABCDEGRST]'
6899 symcode='[BCDEGRST]'
6902 symcode='[BCDEGQRST]'
6913 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6921 # If we're using GNU nm, then use its standard symbol codes.
6922 case `$NM -V 2>&1` in
6923 *GNU* | *'with BFD'*)
6924 symcode='[ABCDGIRSTW]' ;;
6927 # Transform an extracted symbol line into a proper C declaration.
6928 # Some systems (esp. on ia64) link data and code symbols differently,
6929 # so use this general approach.
6930 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6932 # Transform an extracted symbol line into symbol name and symbol address
6933 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6934 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'"
6936 # Handle CRLF in mingw tool chain
6940 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6944 # Try without a prefix underscore, then with it.
6945 for ac_symprfx in "" "_"; do
6947 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6948 symxfrm="\\1 $ac_symprfx\\2 \\2"
6950 # Write the raw and C identifiers.
6951 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6952 # Fake it for dumpbin and say T for any non-static function
6953 # and D for any global variable.
6954 # Also find C++ and __fastcall symbols from MSVC++,
6955 # which start with @ or ?.
6956 lt_cv_sys_global_symbol_pipe="$AWK '"\
6957 " {last_section=section; section=\$ 3};"\
6958 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6959 " \$ 0!~/External *\|/{next};"\
6960 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6961 " {if(hide[section]) next};"\
6962 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6963 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6964 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6965 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6966 " ' prfx=^$ac_symprfx"
6968 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6970 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6972 # Check to see that the pipe works correctly.
6976 cat > conftest.$ac_ext <<_LT_EOF
6981 void nm_test_func(void);
6982 void nm_test_func(void){}
6986 int main(){nm_test_var='a';nm_test_func();return(0);}
6989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6990 (eval $ac_compile) 2>&5
6992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993 test $ac_status = 0; }; then
6994 # Now try to grab the symbols.
6996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6997 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7000 test $ac_status = 0; } && test -s "$nlist"; then
7001 # Try sorting and uniquifying the output.
7002 if sort "$nlist" | uniq > "$nlist"T; then
7003 mv -f "$nlist"T "$nlist"
7008 # Make sure that we snagged all the symbols we need.
7009 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7010 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7011 cat <<_LT_EOF > conftest.$ac_ext
7012 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7013 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7014 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7015 relocations are performed -- see ld's documentation on pseudo-relocs. */
7016 # define LT_DLSYM_CONST
7017 #elif defined(__osf__)
7018 /* This system does not cope well with relocations in const data. */
7019 # define LT_DLSYM_CONST
7021 # define LT_DLSYM_CONST const
7029 # Now generate the symbol file.
7030 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7032 cat <<_LT_EOF >> conftest.$ac_ext
7034 /* The mapping between symbol names and symbols. */
7035 LT_DLSYM_CONST struct {
7039 lt__PROGRAM__LTX_preloaded_symbols[] =
7041 { "@PROGRAM@", (void *) 0 },
7043 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7044 cat <<\_LT_EOF >> conftest.$ac_ext
7048 /* This works around a problem in FreeBSD linker */
7049 #ifdef FREEBSD_WORKAROUND
7050 static const void *lt_preloaded_setup() {
7051 return lt__PROGRAM__LTX_preloaded_symbols;
7059 # Now try linking the two files.
7060 mv conftest.$ac_objext conftstm.$ac_objext
7061 lt_globsym_save_LIBS=$LIBS
7062 lt_globsym_save_CFLAGS=$CFLAGS
7063 LIBS="conftstm.$ac_objext"
7064 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7066 (eval $ac_link) 2>&5
7068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7069 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7072 LIBS=$lt_globsym_save_LIBS
7073 CFLAGS=$lt_globsym_save_CFLAGS
7075 echo "cannot find nm_test_func in $nlist" >&5
7078 echo "cannot find nm_test_var in $nlist" >&5
7081 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7084 echo "$progname: failed program was:" >&5
7085 cat conftest.$ac_ext >&5
7087 rm -rf conftest* conftst*
7089 # Do not use the global_symbol_pipe unless it works.
7090 if test "$pipe_works" = yes; then
7093 lt_cv_sys_global_symbol_pipe=
7099 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7100 lt_cv_sys_global_symbol_to_cdecl=
7102 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7104 $as_echo "failed" >&6; }
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7107 $as_echo "ok" >&6; }
7110 # Response file support.
7111 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7112 nm_file_list_spec='@'
7113 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7114 nm_file_list_spec='@'
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7144 $as_echo_n "checking for sysroot... " >&6; }
7146 # Check whether --with-sysroot was given.
7147 if test "${with_sysroot+set}" = set; then :
7148 withval=$with_sysroot;
7155 case ${with_sysroot} in #(
7157 if test "$GCC" = yes; then
7158 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7162 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7168 $as_echo "${with_sysroot}" >&6; }
7169 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7174 $as_echo "${lt_sysroot:-no}" >&6; }
7180 # Check whether --enable-libtool-lock was given.
7181 if test "${enable_libtool_lock+set}" = set; then :
7182 enableval=$enable_libtool_lock;
7185 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7187 # Some flags need to be propagated to the compiler or linker for good
7191 # Find out which ABI we are using.
7192 echo 'int i;' > conftest.$ac_ext
7193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7194 (eval $ac_compile) 2>&5
7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7197 test $ac_status = 0; }; then
7198 case `/usr/bin/file conftest.$ac_objext` in
7210 # Find out which ABI we are using.
7211 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7213 (eval $ac_compile) 2>&5
7215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7216 test $ac_status = 0; }; then
7217 if test "$lt_cv_prog_gnu_ld" = yes; then
7218 case `/usr/bin/file conftest.$ac_objext` in
7220 LD="${LD-ld} -melf32bsmip"
7223 LD="${LD-ld} -melf32bmipn32"
7226 LD="${LD-ld} -melf64bmip"
7230 case `/usr/bin/file conftest.$ac_objext` in
7246 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7247 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7248 # Find out which ABI we are using.
7249 echo 'int i;' > 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 case `/usr/bin/file conftest.o` in
7258 x86_64-*kfreebsd*-gnu)
7259 LD="${LD-ld} -m elf_i386_fbsd"
7262 LD="${LD-ld} -m elf_i386"
7264 ppc64-*linux*|powerpc64-*linux*)
7265 LD="${LD-ld} -m elf32ppclinux"
7268 LD="${LD-ld} -m elf_s390"
7271 LD="${LD-ld} -m elf32_sparc"
7277 x86_64-*kfreebsd*-gnu)
7278 LD="${LD-ld} -m elf_x86_64_fbsd"
7281 LD="${LD-ld} -m elf_x86_64"
7283 ppc*-*linux*|powerpc*-*linux*)
7284 LD="${LD-ld} -m elf64ppc"
7286 s390*-*linux*|s390*-*tpf*)
7287 LD="${LD-ld} -m elf64_s390"
7290 LD="${LD-ld} -m elf64_sparc"
7300 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7301 SAVE_CFLAGS="$CFLAGS"
7302 CFLAGS="$CFLAGS -belf"
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7304 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7305 if ${lt_cv_cc_needs_belf+:} false; then :
7306 $as_echo_n "(cached) " >&6
7309 ac_cpp='$CPP $CPPFLAGS'
7310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7315 /* end confdefs.h. */
7325 if ac_fn_c_try_link "$LINENO"; then :
7326 lt_cv_cc_needs_belf=yes
7328 lt_cv_cc_needs_belf=no
7330 rm -f core conftest.err conftest.$ac_objext \
7331 conftest$ac_exeext conftest.$ac_ext
7333 ac_cpp='$CPP $CPPFLAGS'
7334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7340 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7341 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7342 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7343 CFLAGS="$SAVE_CFLAGS"
7347 # Find out which ABI we are using.
7348 echo 'int i;' > conftest.$ac_ext
7349 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7350 (eval $ac_compile) 2>&5
7352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7353 test $ac_status = 0; }; then
7354 case `/usr/bin/file conftest.o` in
7356 case $lt_cv_prog_gnu_ld in
7357 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7359 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7371 need_locks="$enable_libtool_lock"
7373 if test -n "$ac_tool_prefix"; then
7374 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7375 set dummy ${ac_tool_prefix}mt; ac_word=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 $as_echo_n "checking for $ac_word... " >&6; }
7378 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7379 $as_echo_n "(cached) " >&6
7381 if test -n "$MANIFEST_TOOL"; then
7382 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7388 test -z "$as_dir" && as_dir=.
7389 for ac_exec_ext in '' $ac_executable_extensions; do
7390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7391 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7402 if test -n "$MANIFEST_TOOL"; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7404 $as_echo "$MANIFEST_TOOL" >&6; }
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 $as_echo "no" >&6; }
7412 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7413 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7414 # Extract the first word of "mt", so it can be a program name with args.
7415 set dummy mt; ac_word=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7419 $as_echo_n "(cached) " >&6
7421 if test -n "$ac_ct_MANIFEST_TOOL"; then
7422 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7428 test -z "$as_dir" && as_dir=.
7429 for ac_exec_ext in '' $ac_executable_extensions; do
7430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7431 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7442 if test -n "$ac_ct_MANIFEST_TOOL"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7444 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7450 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7453 case $cross_compiling:$ac_tool_warned in
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7457 ac_tool_warned=yes ;;
7459 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7462 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7465 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7467 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7468 if ${lt_cv_path_mainfest_tool+:} false; then :
7469 $as_echo_n "(cached) " >&6
7471 lt_cv_path_mainfest_tool=no
7472 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7473 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7474 cat conftest.err >&5
7475 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7476 lt_cv_path_mainfest_tool=yes
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7481 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7482 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7492 rhapsody* | darwin*)
7493 if test -n "$ac_tool_prefix"; then
7494 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7495 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7497 $as_echo_n "checking for $ac_word... " >&6; }
7498 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7499 $as_echo_n "(cached) " >&6
7501 if test -n "$DSYMUTIL"; then
7502 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508 test -z "$as_dir" && as_dir=.
7509 for ac_exec_ext in '' $ac_executable_extensions; do
7510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7511 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7521 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7522 if test -n "$DSYMUTIL"; then
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7524 $as_echo "$DSYMUTIL" >&6; }
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7527 $as_echo "no" >&6; }
7532 if test -z "$ac_cv_prog_DSYMUTIL"; then
7533 ac_ct_DSYMUTIL=$DSYMUTIL
7534 # Extract the first word of "dsymutil", so it can be a program name with args.
7535 set dummy dsymutil; ac_word=$2
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537 $as_echo_n "checking for $ac_word... " >&6; }
7538 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7539 $as_echo_n "(cached) " >&6
7541 if test -n "$ac_ct_DSYMUTIL"; then
7542 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7548 test -z "$as_dir" && as_dir=.
7549 for ac_exec_ext in '' $ac_executable_extensions; do
7550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7551 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7561 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7562 if test -n "$ac_ct_DSYMUTIL"; then
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7564 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567 $as_echo "no" >&6; }
7570 if test "x$ac_ct_DSYMUTIL" = x; then
7573 case $cross_compiling:$ac_tool_warned in
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7577 ac_tool_warned=yes ;;
7579 DSYMUTIL=$ac_ct_DSYMUTIL
7582 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7585 if test -n "$ac_tool_prefix"; then
7586 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7587 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7589 $as_echo_n "checking for $ac_word... " >&6; }
7590 if ${ac_cv_prog_NMEDIT+:} false; then :
7591 $as_echo_n "(cached) " >&6
7593 if test -n "$NMEDIT"; then
7594 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7603 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7613 NMEDIT=$ac_cv_prog_NMEDIT
7614 if test -n "$NMEDIT"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7616 $as_echo "$NMEDIT" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 $as_echo "no" >&6; }
7624 if test -z "$ac_cv_prog_NMEDIT"; then
7625 ac_ct_NMEDIT=$NMEDIT
7626 # Extract the first word of "nmedit", so it can be a program name with args.
7627 set dummy nmedit; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629 $as_echo_n "checking for $ac_word... " >&6; }
7630 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7631 $as_echo_n "(cached) " >&6
7633 if test -n "$ac_ct_NMEDIT"; then
7634 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7643 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7653 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7654 if test -n "$ac_ct_NMEDIT"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7656 $as_echo "$ac_ct_NMEDIT" >&6; }
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659 $as_echo "no" >&6; }
7662 if test "x$ac_ct_NMEDIT" = x; then
7665 case $cross_compiling:$ac_tool_warned in
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7669 ac_tool_warned=yes ;;
7671 NMEDIT=$ac_ct_NMEDIT
7674 NMEDIT="$ac_cv_prog_NMEDIT"
7677 if test -n "$ac_tool_prefix"; then
7678 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7679 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7681 $as_echo_n "checking for $ac_word... " >&6; }
7682 if ${ac_cv_prog_LIPO+:} false; then :
7683 $as_echo_n "(cached) " >&6
7685 if test -n "$LIPO"; then
7686 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692 test -z "$as_dir" && as_dir=.
7693 for ac_exec_ext in '' $ac_executable_extensions; do
7694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7695 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7705 LIPO=$ac_cv_prog_LIPO
7706 if test -n "$LIPO"; then
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7708 $as_echo "$LIPO" >&6; }
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7711 $as_echo "no" >&6; }
7716 if test -z "$ac_cv_prog_LIPO"; then
7718 # Extract the first word of "lipo", so it can be a program name with args.
7719 set dummy lipo; ac_word=$2
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7721 $as_echo_n "checking for $ac_word... " >&6; }
7722 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7723 $as_echo_n "(cached) " >&6
7725 if test -n "$ac_ct_LIPO"; then
7726 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 test -z "$as_dir" && as_dir=.
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7735 ac_cv_prog_ac_ct_LIPO="lipo"
7736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7745 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7746 if test -n "$ac_ct_LIPO"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7748 $as_echo "$ac_ct_LIPO" >&6; }
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 $as_echo "no" >&6; }
7754 if test "x$ac_ct_LIPO" = x; then
7757 case $cross_compiling:$ac_tool_warned in
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7761 ac_tool_warned=yes ;;
7766 LIPO="$ac_cv_prog_LIPO"
7769 if test -n "$ac_tool_prefix"; then
7770 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7771 set dummy ${ac_tool_prefix}otool; ac_word=$2
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7773 $as_echo_n "checking for $ac_word... " >&6; }
7774 if ${ac_cv_prog_OTOOL+:} false; then :
7775 $as_echo_n "(cached) " >&6
7777 if test -n "$OTOOL"; then
7778 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 test -z "$as_dir" && as_dir=.
7785 for ac_exec_ext in '' $ac_executable_extensions; do
7786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7787 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7797 OTOOL=$ac_cv_prog_OTOOL
7798 if test -n "$OTOOL"; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7800 $as_echo "$OTOOL" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803 $as_echo "no" >&6; }
7808 if test -z "$ac_cv_prog_OTOOL"; then
7810 # Extract the first word of "otool", so it can be a program name with args.
7811 set dummy otool; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7813 $as_echo_n "checking for $ac_word... " >&6; }
7814 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7815 $as_echo_n "(cached) " >&6
7817 if test -n "$ac_ct_OTOOL"; then
7818 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7827 ac_cv_prog_ac_ct_OTOOL="otool"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7837 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7838 if test -n "$ac_ct_OTOOL"; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7840 $as_echo "$ac_ct_OTOOL" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7843 $as_echo "no" >&6; }
7846 if test "x$ac_ct_OTOOL" = x; then
7849 case $cross_compiling:$ac_tool_warned in
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7853 ac_tool_warned=yes ;;
7858 OTOOL="$ac_cv_prog_OTOOL"
7861 if test -n "$ac_tool_prefix"; then
7862 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7863 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7865 $as_echo_n "checking for $ac_word... " >&6; }
7866 if ${ac_cv_prog_OTOOL64+:} false; then :
7867 $as_echo_n "(cached) " >&6
7869 if test -n "$OTOOL64"; then
7870 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7879 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7889 OTOOL64=$ac_cv_prog_OTOOL64
7890 if test -n "$OTOOL64"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7892 $as_echo "$OTOOL64" >&6; }
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7895 $as_echo "no" >&6; }
7900 if test -z "$ac_cv_prog_OTOOL64"; then
7901 ac_ct_OTOOL64=$OTOOL64
7902 # Extract the first word of "otool64", so it can be a program name with args.
7903 set dummy otool64; ac_word=$2
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7905 $as_echo_n "checking for $ac_word... " >&6; }
7906 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7907 $as_echo_n "(cached) " >&6
7909 if test -n "$ac_ct_OTOOL64"; then
7910 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7916 test -z "$as_dir" && as_dir=.
7917 for ac_exec_ext in '' $ac_executable_extensions; do
7918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7919 ac_cv_prog_ac_ct_OTOOL64="otool64"
7920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7929 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7930 if test -n "$ac_ct_OTOOL64"; then
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7932 $as_echo "$ac_ct_OTOOL64" >&6; }
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7935 $as_echo "no" >&6; }
7938 if test "x$ac_ct_OTOOL64" = x; then
7941 case $cross_compiling:$ac_tool_warned in
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7945 ac_tool_warned=yes ;;
7947 OTOOL64=$ac_ct_OTOOL64
7950 OTOOL64="$ac_cv_prog_OTOOL64"
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7980 $as_echo_n "checking for -single_module linker flag... " >&6; }
7981 if ${lt_cv_apple_cc_single_mod+:} false; then :
7982 $as_echo_n "(cached) " >&6
7984 lt_cv_apple_cc_single_mod=no
7985 if test -z "${LT_MULTI_MODULE}"; then
7986 # By default we will add the -single_module flag. You can override
7987 # by either setting the environment variable LT_MULTI_MODULE
7988 # non-empty at configure time, or by adding -multi_module to the
7990 rm -rf libconftest.dylib*
7991 echo "int foo(void){return 1;}" > conftest.c
7992 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7993 -dynamiclib -Wl,-single_module conftest.c" >&5
7994 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7995 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7997 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7998 lt_cv_apple_cc_single_mod=yes
8000 cat conftest.err >&5
8002 rm -rf libconftest.dylib*
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8007 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8009 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8010 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8011 $as_echo_n "(cached) " >&6
8013 lt_cv_ld_exported_symbols_list=no
8014 save_LDFLAGS=$LDFLAGS
8015 echo "_main" > conftest.sym
8016 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8018 /* end confdefs.h. */
8028 if ac_fn_c_try_link "$LINENO"; then :
8029 lt_cv_ld_exported_symbols_list=yes
8031 lt_cv_ld_exported_symbols_list=no
8033 rm -f core conftest.err conftest.$ac_objext \
8034 conftest$ac_exeext conftest.$ac_ext
8035 LDFLAGS="$save_LDFLAGS"
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8039 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8041 $as_echo_n "checking for -force_load linker flag... " >&6; }
8042 if ${lt_cv_ld_force_load+:} false; then :
8043 $as_echo_n "(cached) " >&6
8045 lt_cv_ld_force_load=no
8046 cat > conftest.c << _LT_EOF
8047 int forced_loaded() { return 2;}
8049 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8050 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8051 echo "$AR cru libconftest.a conftest.o" >&5
8052 $AR cru libconftest.a conftest.o 2>&5
8053 echo "$RANLIB libconftest.a" >&5
8054 $RANLIB libconftest.a 2>&5
8055 cat > conftest.c << _LT_EOF
8056 int main() { return 0;}
8058 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8059 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8061 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8062 lt_cv_ld_force_load=yes
8064 cat conftest.err >&5
8066 rm -f conftest.err libconftest.a conftest conftest.c
8067 rm -rf conftest.dSYM
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8071 $as_echo "$lt_cv_ld_force_load" >&6; }
8073 rhapsody* | darwin1.[012])
8074 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8076 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8077 darwin*) # darwin 5.x on
8078 # if running on 10.5 or later, the deployment target defaults
8079 # to the OS version, if on x86, and 10.4, the deployment
8080 # target defaults to 10.4. Don't you love it?
8081 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8082 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8083 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8085 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8087 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8091 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8092 _lt_dar_single_mod='$single_module'
8094 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8095 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8097 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8099 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8100 _lt_dsymutil='~$DSYMUTIL $lib || :'
8107 for ac_header in dlfcn.h
8109 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8111 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8112 cat >>confdefs.h <<_ACEOF
8113 #define HAVE_DLFCN_H 1
8125 # Check whether --enable-static was given.
8126 if test "${enable_static+set}" = set; then :
8127 enableval=$enable_static; p=${PACKAGE-default}
8129 yes) enable_static=yes ;;
8130 no) enable_static=no ;;
8133 # Look at the argument we got. We use all the common list separators.
8134 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8135 for pkg in $enableval; do
8137 if test "X$pkg" = "X$p"; then
8163 # Check whether --enable-shared was given.
8164 if test "${enable_shared+set}" = set; then :
8165 enableval=$enable_shared; p=${PACKAGE-default}
8167 yes) enable_shared=yes ;;
8168 no) enable_shared=no ;;
8171 # Look at the argument we got. We use all the common list separators.
8172 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8173 for pkg in $enableval; do
8175 if test "X$pkg" = "X$p"; then
8196 # Check whether --with-pic was given.
8197 if test "${with_pic+set}" = set; then :
8198 withval=$with_pic; pic_mode="$withval"
8204 test -z "$pic_mode" && pic_mode=default
8212 # Check whether --enable-fast-install was given.
8213 if test "${enable_fast_install+set}" = set; then :
8214 enableval=$enable_fast_install; p=${PACKAGE-default}
8216 yes) enable_fast_install=yes ;;
8217 no) enable_fast_install=no ;;
8219 enable_fast_install=no
8220 # Look at the argument we got. We use all the common list separators.
8221 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8222 for pkg in $enableval; do
8224 if test "X$pkg" = "X$p"; then
8225 enable_fast_install=yes
8232 enable_fast_install=yes
8245 # This can be used to rebuild libtool when needed
8246 LIBTOOL_DEPS="$ltmain"
8248 # Always use our own libtool.
8249 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8276 test -z "$LN_S" && LN_S="ln -s"
8291 if test -n "${ZSH_VERSION+set}" ; then
8292 setopt NO_GLOB_SUBST
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8296 $as_echo_n "checking for objdir... " >&6; }
8297 if ${lt_cv_objdir+:} false; then :
8298 $as_echo_n "(cached) " >&6
8300 rm -f .libs 2>/dev/null
8301 mkdir .libs 2>/dev/null
8302 if test -d .libs; then
8305 # MS-DOS does not allow filenames that begin with a dot.
8308 rmdir .libs 2>/dev/null
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8311 $as_echo "$lt_cv_objdir" >&6; }
8312 objdir=$lt_cv_objdir
8318 cat >>confdefs.h <<_ACEOF
8319 #define LT_OBJDIR "$lt_cv_objdir/"
8327 # AIX sometimes has problems with the GCC collect2 program. For some
8328 # reason, if we set the COLLECT_NAMES environment variable, the problems
8329 # vanish in a puff of smoke.
8330 if test "X${COLLECT_NAMES+set}" != Xset; then
8332 export COLLECT_NAMES
8339 can_build_shared=yes
8341 # All known linkers require a `.a' archive for static linking (except MSVC,
8342 # which needs '.lib').
8345 with_gnu_ld="$lt_cv_prog_gnu_ld"
8348 old_CFLAGS="$CFLAGS"
8350 # Set sane defaults for various variables
8351 test -z "$CC" && CC=cc
8352 test -z "$LTCC" && LTCC=$CC
8353 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8354 test -z "$LD" && LD=ld
8355 test -z "$ac_objext" && ac_objext=o
8357 for cc_temp in $compiler""; do
8359 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8360 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8365 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8368 # Only perform the check for file, if the check method requires it
8369 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8370 case $deplibs_check_method in
8372 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8374 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8375 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8376 $as_echo_n "(cached) " >&6
8380 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8383 lt_save_MAGIC_CMD="$MAGIC_CMD"
8384 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8385 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8386 for ac_dir in $ac_dummy; do
8388 test -z "$ac_dir" && ac_dir=.
8389 if test -f $ac_dir/${ac_tool_prefix}file; then
8390 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8391 if test -n "$file_magic_test_file"; then
8392 case $deplibs_check_method in
8394 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8397 $EGREP "$file_magic_regex" > /dev/null; then
8402 *** Warning: the command libtool uses to detect shared libraries,
8403 *** $file_magic_cmd, produces output that libtool cannot recognize.
8404 *** The result is that libtool may fail to recognize shared libraries
8405 *** as such. This will affect the creation of libtool libraries that
8406 *** depend on shared libraries, but programs linked with such libtool
8407 *** libraries will work regardless of this problem. Nevertheless, you
8408 *** may want to report the problem to your system manager and/or to
8409 *** bug-libtool@gnu.org
8419 MAGIC_CMD="$lt_save_MAGIC_CMD"
8424 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8425 if test -n "$MAGIC_CMD"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8427 $as_echo "$MAGIC_CMD" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8437 if test -z "$lt_cv_path_MAGIC_CMD"; then
8438 if test -n "$ac_tool_prefix"; then
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8440 $as_echo_n "checking for file... " >&6; }
8441 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8442 $as_echo_n "(cached) " >&6
8446 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8449 lt_save_MAGIC_CMD="$MAGIC_CMD"
8450 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8451 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8452 for ac_dir in $ac_dummy; do
8454 test -z "$ac_dir" && ac_dir=.
8455 if test -f $ac_dir/file; then
8456 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8457 if test -n "$file_magic_test_file"; then
8458 case $deplibs_check_method in
8460 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8461 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8462 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8463 $EGREP "$file_magic_regex" > /dev/null; then
8468 *** Warning: the command libtool uses to detect shared libraries,
8469 *** $file_magic_cmd, produces output that libtool cannot recognize.
8470 *** The result is that libtool may fail to recognize shared libraries
8471 *** as such. This will affect the creation of libtool libraries that
8472 *** depend on shared libraries, but programs linked with such libtool
8473 *** libraries will work regardless of this problem. Nevertheless, you
8474 *** may want to report the problem to your system manager and/or to
8475 *** bug-libtool@gnu.org
8485 MAGIC_CMD="$lt_save_MAGIC_CMD"
8490 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8491 if test -n "$MAGIC_CMD"; then
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8493 $as_echo "$MAGIC_CMD" >&6; }
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8496 $as_echo "no" >&6; }
8509 # Use C for the default configuration in the libtool script
8513 ac_cpp='$CPP $CPPFLAGS'
8514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8519 # Source file extension for C test sources.
8522 # Object file extension for compiled C test sources.
8526 # Code to be used in simple compile tests
8527 lt_simple_compile_test_code="int some_variable = 0;"
8529 # Code to be used in simple link tests
8530 lt_simple_link_test_code='int main(){return(0);}'
8538 # If no C compiler was specified, use CC.
8541 # If no C compiler flags were specified, use CFLAGS.
8542 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8544 # Allow CC to be a program name with arguments.
8547 # Save the default compiler, since it gets overwritten when the other
8548 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8549 compiler_DEFAULT=$CC
8551 # save warnings/boilerplate of simple test code
8552 ac_outfile=conftest.$ac_objext
8553 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8554 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8555 _lt_compiler_boilerplate=`cat conftest.err`
8558 ac_outfile=conftest.$ac_objext
8559 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8560 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8561 _lt_linker_boilerplate=`cat conftest.err`
8566 ## There is no encapsulation within the following macros, do not change
8567 ## the running order or otherwise move them around unless you know exactly
8568 ## what you are doing...
8569 if test -n "$compiler"; then
8571 lt_prog_compiler_no_builtin_flag=
8573 if test "$GCC" = yes; then
8574 case $cc_basename in
8576 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8578 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8582 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8583 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8584 $as_echo_n "(cached) " >&6
8586 lt_cv_prog_compiler_rtti_exceptions=no
8587 ac_outfile=conftest.$ac_objext
8588 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8589 lt_compiler_flag="-fno-rtti -fno-exceptions"
8590 # Insert the option either (1) after the last *FLAGS variable, or
8591 # (2) before a word containing "conftest.", or (3) at the end.
8592 # Note that $ac_compile itself does not contain backslashes and begins
8593 # with a dollar sign (not a hyphen), so the echo should work correctly.
8594 # The option is referenced via a variable to avoid confusing sed.
8595 lt_compile=`echo "$ac_compile" | $SED \
8596 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8597 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8598 -e 's:$: $lt_compiler_flag:'`
8599 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8600 (eval "$lt_compile" 2>conftest.err)
8602 cat conftest.err >&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 if (exit $ac_status) && test -s "$ac_outfile"; then
8605 # The compiler can only warn and ignore the option if not recognized
8606 # So say no if there are warnings other than the usual output.
8607 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8608 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8609 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8610 lt_cv_prog_compiler_rtti_exceptions=yes
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8617 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8619 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8620 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8632 lt_prog_compiler_wl=
8633 lt_prog_compiler_pic=
8634 lt_prog_compiler_static=
8637 if test "$GCC" = yes; then
8638 lt_prog_compiler_wl='-Wl,'
8639 lt_prog_compiler_static='-static'
8643 # All AIX code is PIC.
8644 if test "$host_cpu" = ia64; then
8645 # AIX 5 now supports IA64 processor
8646 lt_prog_compiler_static='-Bstatic'
8653 # see comment about AmigaOS4 .so support
8654 lt_prog_compiler_pic='-fPIC'
8657 # FIXME: we need at least 68020 code to build shared libraries, but
8658 # adding the `-m68020' flag to GCC prevents building anything better,
8660 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8665 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8666 # PIC is the default for these OSes.
8669 mingw* | cygwin* | pw32* | os2* | cegcc*)
8670 # This hack is so that the source file can tell whether it is being
8671 # built for inclusion in a dll (and should export symbols for example).
8672 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8673 # (--disable-auto-import) libraries
8674 lt_prog_compiler_pic='-DDLL_EXPORT'
8677 darwin* | rhapsody*)
8678 # PIC is the default on this platform
8679 # Common symbols not allowed in MH_DYLIB files
8680 lt_prog_compiler_pic='-fno-common'
8684 # PIC is the default for Haiku.
8685 # The "-static" flag exists, but is broken.
8686 lt_prog_compiler_static=
8690 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8691 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8692 # sets the default TLS model and affects inlining.
8698 lt_prog_compiler_pic='-fPIC'
8704 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8705 # Instead, we relocate shared libraries at runtime.
8709 # Just because we use GCC doesn't mean we suddenly get shared libraries
8710 # on systems that don't support them.
8711 lt_prog_compiler_can_build_shared=no
8716 # QNX uses GNU C++, but need to define -shared option too, otherwise
8718 lt_prog_compiler_pic='-fPIC -shared'
8722 if test -d /usr/nec; then
8723 lt_prog_compiler_pic=-Kconform_pic
8728 lt_prog_compiler_pic='-fPIC'
8732 case $cc_basename in
8733 nvcc*) # Cuda Compiler Driver 2.2
8734 lt_prog_compiler_wl='-Xlinker '
8735 lt_prog_compiler_pic='-Xcompiler -fPIC'
8739 # PORTME Check for flag to pass linker flags through the system compiler.
8742 lt_prog_compiler_wl='-Wl,'
8743 if test "$host_cpu" = ia64; then
8744 # AIX 5 now supports IA64 processor
8745 lt_prog_compiler_static='-Bstatic'
8747 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8751 mingw* | cygwin* | pw32* | os2* | cegcc*)
8752 # This hack is so that the source file can tell whether it is being
8753 # built for inclusion in a dll (and should export symbols for example).
8754 lt_prog_compiler_pic='-DDLL_EXPORT'
8757 hpux9* | hpux10* | hpux11*)
8758 lt_prog_compiler_wl='-Wl,'
8759 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8766 lt_prog_compiler_pic='+Z'
8769 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8770 lt_prog_compiler_static='${wl}-a ${wl}archive'
8773 irix5* | irix6* | nonstopux*)
8774 lt_prog_compiler_wl='-Wl,'
8775 # PIC (with -KPIC) is the default.
8776 lt_prog_compiler_static='-non_shared'
8779 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8780 case $cc_basename in
8781 # old Intel for x86_64 which still supported -KPIC.
8783 lt_prog_compiler_wl='-Wl,'
8784 lt_prog_compiler_pic='-KPIC'
8785 lt_prog_compiler_static='-static'
8787 # icc used to be incompatible with GCC.
8788 # ICC 10 doesn't accept -KPIC any more.
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_pic='-fPIC'
8792 lt_prog_compiler_static='-static'
8794 # Lahey Fortran 8.1.
8796 lt_prog_compiler_wl='-Wl,'
8797 lt_prog_compiler_pic='--shared'
8798 lt_prog_compiler_static='--static'
8801 # NAG Fortran compiler
8802 lt_prog_compiler_wl='-Wl,-Wl,,'
8803 lt_prog_compiler_pic='-PIC'
8804 lt_prog_compiler_static='-Bstatic'
8806 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8807 # Portland Group compilers (*not* the Pentium gcc compiler,
8808 # which looks to be a dead project)
8809 lt_prog_compiler_wl='-Wl,'
8810 lt_prog_compiler_pic='-fpic'
8811 lt_prog_compiler_static='-Bstatic'
8814 lt_prog_compiler_wl='-Wl,'
8815 # All Alpha code is PIC.
8816 lt_prog_compiler_static='-non_shared'
8818 xl* | bgxl* | bgf* | mpixl*)
8819 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8820 lt_prog_compiler_wl='-Wl,'
8821 lt_prog_compiler_pic='-qpic'
8822 lt_prog_compiler_static='-qstaticlink'
8825 case `$CC -V 2>&1 | sed 5q` in
8826 *Sun\ F* | *Sun*Fortran*)
8827 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8828 lt_prog_compiler_pic='-KPIC'
8829 lt_prog_compiler_static='-Bstatic'
8830 lt_prog_compiler_wl=''
8834 lt_prog_compiler_pic='-KPIC'
8835 lt_prog_compiler_static='-Bstatic'
8836 lt_prog_compiler_wl='-Wl,'
8844 lt_prog_compiler_pic='-KPIC'
8845 lt_prog_compiler_static='-Bstatic'
8849 # QNX uses GNU C++, but need to define -shared option too, otherwise
8851 lt_prog_compiler_pic='-fPIC -shared'
8854 osf3* | osf4* | osf5*)
8855 lt_prog_compiler_wl='-Wl,'
8856 # All OSF/1 code is PIC.
8857 lt_prog_compiler_static='-non_shared'
8861 lt_prog_compiler_static='-non_shared'
8865 lt_prog_compiler_pic='-KPIC'
8866 lt_prog_compiler_static='-Bstatic'
8867 case $cc_basename in
8868 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8869 lt_prog_compiler_wl='-Qoption ld ';;
8871 lt_prog_compiler_wl='-Wl,';;
8876 lt_prog_compiler_wl='-Qoption ld '
8877 lt_prog_compiler_pic='-PIC'
8878 lt_prog_compiler_static='-Bstatic'
8881 sysv4 | sysv4.2uw2* | sysv4.3*)
8882 lt_prog_compiler_wl='-Wl,'
8883 lt_prog_compiler_pic='-KPIC'
8884 lt_prog_compiler_static='-Bstatic'
8888 if test -d /usr/nec ;then
8889 lt_prog_compiler_pic='-Kconform_pic'
8890 lt_prog_compiler_static='-Bstatic'
8894 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8895 lt_prog_compiler_wl='-Wl,'
8896 lt_prog_compiler_pic='-KPIC'
8897 lt_prog_compiler_static='-Bstatic'
8901 lt_prog_compiler_wl='-Wl,'
8902 lt_prog_compiler_can_build_shared=no
8906 lt_prog_compiler_pic='-pic'
8907 lt_prog_compiler_static='-Bstatic'
8911 lt_prog_compiler_can_build_shared=no
8917 # For platforms which do not support PIC, -DPIC is meaningless:
8919 lt_prog_compiler_pic=
8922 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8927 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8928 if ${lt_cv_prog_compiler_pic+:} false; then :
8929 $as_echo_n "(cached) " >&6
8931 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8934 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8935 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8938 # Check to make sure the PIC flag actually works.
8940 if test -n "$lt_prog_compiler_pic"; then
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8942 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8943 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8944 $as_echo_n "(cached) " >&6
8946 lt_cv_prog_compiler_pic_works=no
8947 ac_outfile=conftest.$ac_objext
8948 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8949 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8950 # Insert the option either (1) after the last *FLAGS variable, or
8951 # (2) before a word containing "conftest.", or (3) at the end.
8952 # Note that $ac_compile itself does not contain backslashes and begins
8953 # with a dollar sign (not a hyphen), so the echo should work correctly.
8954 # The option is referenced via a variable to avoid confusing sed.
8955 lt_compile=`echo "$ac_compile" | $SED \
8956 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8957 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8958 -e 's:$: $lt_compiler_flag:'`
8959 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8960 (eval "$lt_compile" 2>conftest.err)
8962 cat conftest.err >&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 if (exit $ac_status) && test -s "$ac_outfile"; then
8965 # The compiler can only warn and ignore the option if not recognized
8966 # So say no if there are warnings other than the usual output.
8967 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8968 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8969 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8970 lt_cv_prog_compiler_pic_works=yes
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8977 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8979 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8980 case $lt_prog_compiler_pic in
8982 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8985 lt_prog_compiler_pic=
8986 lt_prog_compiler_can_build_shared=no
9002 # Check to make sure the static flag actually works.
9004 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9006 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9007 if ${lt_cv_prog_compiler_static_works+:} false; then :
9008 $as_echo_n "(cached) " >&6
9010 lt_cv_prog_compiler_static_works=no
9011 save_LDFLAGS="$LDFLAGS"
9012 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9013 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9014 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9015 # The linker can only warn and ignore the option if not recognized
9016 # So say no if there are warnings
9017 if test -s conftest.err; then
9018 # Append any errors to the config.log.
9019 cat conftest.err 1>&5
9020 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9021 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9022 if diff conftest.exp conftest.er2 >/dev/null; then
9023 lt_cv_prog_compiler_static_works=yes
9026 lt_cv_prog_compiler_static_works=yes
9030 LDFLAGS="$save_LDFLAGS"
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9034 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9036 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9039 lt_prog_compiler_static=
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9049 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9050 if ${lt_cv_prog_compiler_c_o+:} false; then :
9051 $as_echo_n "(cached) " >&6
9053 lt_cv_prog_compiler_c_o=no
9054 $RM -r conftest 2>/dev/null
9058 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9060 lt_compiler_flag="-o out/conftest2.$ac_objext"
9061 # Insert the option either (1) after the last *FLAGS variable, or
9062 # (2) before a word containing "conftest.", or (3) at the end.
9063 # Note that $ac_compile itself does not contain backslashes and begins
9064 # with a dollar sign (not a hyphen), so the echo should work correctly.
9065 lt_compile=`echo "$ac_compile" | $SED \
9066 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9067 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9068 -e 's:$: $lt_compiler_flag:'`
9069 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9070 (eval "$lt_compile" 2>out/conftest.err)
9072 cat out/conftest.err >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9076 # The compiler can only warn and ignore the option if not recognized
9077 # So say no if there are warnings
9078 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9079 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9080 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9081 lt_cv_prog_compiler_c_o=yes
9086 # SGI C++ compiler will create directory out/ii_files/ for
9087 # template instantiation
9088 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9089 $RM out/* && rmdir out
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9096 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9104 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9105 if ${lt_cv_prog_compiler_c_o+:} false; then :
9106 $as_echo_n "(cached) " >&6
9108 lt_cv_prog_compiler_c_o=no
9109 $RM -r conftest 2>/dev/null
9113 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9115 lt_compiler_flag="-o out/conftest2.$ac_objext"
9116 # Insert the option either (1) after the last *FLAGS variable, or
9117 # (2) before a word containing "conftest.", or (3) at the end.
9118 # Note that $ac_compile itself does not contain backslashes and begins
9119 # with a dollar sign (not a hyphen), so the echo should work correctly.
9120 lt_compile=`echo "$ac_compile" | $SED \
9121 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9122 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9123 -e 's:$: $lt_compiler_flag:'`
9124 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9125 (eval "$lt_compile" 2>out/conftest.err)
9127 cat out/conftest.err >&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9131 # The compiler can only warn and ignore the option if not recognized
9132 # So say no if there are warnings
9133 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9134 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9135 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9136 lt_cv_prog_compiler_c_o=yes
9141 # SGI C++ compiler will create directory out/ii_files/ for
9142 # template instantiation
9143 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9144 $RM out/* && rmdir out
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9151 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9156 hard_links="nottested"
9157 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9158 # do not overwrite the value of need_locks provided by the user
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9160 $as_echo_n "checking if we can lock with hard links... " >&6; }
9163 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9165 ln conftest.a conftest.b 2>&5 || hard_links=no
9166 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9168 $as_echo "$hard_links" >&6; }
9169 if test "$hard_links" = no; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9171 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9184 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9187 allow_undefined_flag=
9188 always_export_symbols=no
9190 archive_expsym_cmds=
9191 compiler_needs_object=no
9192 enable_shared_with_static_runtimes=no
9193 export_dynamic_flag_spec=
9194 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9195 hardcode_automatic=no
9197 hardcode_direct_absolute=no
9198 hardcode_libdir_flag_spec=
9199 hardcode_libdir_flag_spec_ld=
9200 hardcode_libdir_separator=
9202 hardcode_shlibpath_var=unsupported
9204 link_all_deplibs=unknown
9207 old_archive_from_new_cmds=
9208 old_archive_from_expsyms_cmds=
9209 thread_safe_flag_spec=
9210 whole_archive_flag_spec=
9211 # include_expsyms should be a list of space-separated symbols to be *always*
9212 # included in the symbol list
9214 # exclude_expsyms can be an extended regexp of symbols to exclude
9215 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9216 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9217 # as well as any symbol that contains `d'.
9218 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9219 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9220 # platforms (ab)use it in PIC code, but their linkers get confused if
9221 # the symbol is explicitly referenced. Since portable code cannot
9222 # rely on this symbol name, it's probably fine to never include it in
9223 # preloaded symbol tables.
9224 # Exclude shared library initialization/finalization symbols.
9225 extract_expsyms_cmds=
9228 cygwin* | mingw* | pw32* | cegcc*)
9229 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9230 # When not using gcc, we currently assume that we are using
9231 # Microsoft Visual C++.
9232 if test "$GCC" != yes; then
9237 # we just hope/assume this is gcc and not c89 (= MSVC++)
9247 # On some targets, GNU ld is compatible enough with the native linker
9248 # that we're better off using the native interface for both.
9249 lt_use_gnu_ld_interface=no
9250 if test "$with_gnu_ld" = yes; then
9253 # The AIX port of GNU ld has always aspired to compatibility
9254 # with the native linker. However, as the warning in the GNU ld
9255 # block says, versions before 2.19.5* couldn't really create working
9256 # shared libraries, regardless of the interface used.
9257 case `$LD -v 2>&1` in
9258 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9259 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9260 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9262 lt_use_gnu_ld_interface=yes
9267 lt_use_gnu_ld_interface=yes
9272 if test "$lt_use_gnu_ld_interface" = yes; then
9273 # If archive_cmds runs LD, not CC, wlarc should be empty
9276 # Set some defaults for GNU ld with shared library support. These
9277 # are reset later if shared libraries are not supported. Putting them
9278 # here allows them to be overridden if necessary.
9279 runpath_var=LD_RUN_PATH
9280 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9281 export_dynamic_flag_spec='${wl}--export-dynamic'
9282 # ancient GNU ld didn't support --whole-archive et. al.
9283 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9284 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9286 whole_archive_flag_spec=
9288 supports_anon_versioning=no
9289 case `$LD -v 2>&1` in
9290 *GNU\ gold*) supports_anon_versioning=yes ;;
9291 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9292 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9293 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9294 *\ 2.11.*) ;; # other 2.11 versions
9295 *) supports_anon_versioning=yes ;;
9298 # See if GNU ld supports shared libraries.
9301 # On AIX/PPC, the GNU linker is very broken
9302 if test "$host_cpu" != ia64; then
9306 *** Warning: the GNU linker, at least up to release 2.19, is reported
9307 *** to be unable to reliably create shared libraries on AIX.
9308 *** Therefore, libtool is disabling shared libraries support. If you
9309 *** really care for shared libraries, you may want to install binutils
9310 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9311 *** You will then need to restart the configuration process.
9320 # see comment about AmigaOS4 .so support
9321 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9322 archive_expsym_cmds=''
9325 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)'
9326 hardcode_libdir_flag_spec='-L$libdir'
9327 hardcode_minus_L=yes
9333 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9334 allow_undefined_flag=unsupported
9335 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9336 # support --undefined. This deserves some investigation. FIXME
9337 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343 cygwin* | mingw* | pw32* | cegcc*)
9344 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9345 # as there is no search path for DLLs.
9346 hardcode_libdir_flag_spec='-L$libdir'
9347 export_dynamic_flag_spec='${wl}--export-all-symbols'
9348 allow_undefined_flag=unsupported
9349 always_export_symbols=no
9350 enable_shared_with_static_runtimes=yes
9351 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'
9352 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9354 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9355 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9356 # If the export-symbols file already is a .def file (1st line
9357 # is EXPORTS), use it as is; otherwise, prepend...
9358 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9359 cp $export_symbols $output_objdir/$soname.def;
9361 echo EXPORTS > $output_objdir/$soname.def;
9362 cat $export_symbols >> $output_objdir/$soname.def;
9364 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9371 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9372 link_all_deplibs=yes
9377 hardcode_shlibpath_var=no
9378 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9379 export_dynamic_flag_spec='${wl}-E'
9380 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9381 # Instead, shared libraries are loaded at an image base (0x10000000 by
9382 # default) and relocated if they conflict, which is a slow very memory
9383 # consuming and fragmenting process. To avoid this, we pick a random,
9384 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9385 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9386 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9387 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'
9390 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9392 if test "$host_os" = linux-dietlibc; then
9393 case $cc_basename in
9394 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9397 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9398 && test "$tmp_diet" = no
9400 tmp_addflag=' $pic_flag'
9401 tmp_sharedflag='-shared'
9402 case $cc_basename,$host_cpu in
9403 pgcc*) # Portland Group C compiler
9404 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'
9405 tmp_addflag=' $pic_flag'
9407 pgf77* | pgf90* | pgf95* | pgfortran*)
9408 # Portland Group f77 and f90 compilers
9409 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'
9410 tmp_addflag=' $pic_flag -Mnomain' ;;
9411 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9412 tmp_addflag=' -i_dynamic' ;;
9413 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9414 tmp_addflag=' -i_dynamic -nofor_main' ;;
9415 ifc* | ifort*) # Intel Fortran compiler
9416 tmp_addflag=' -nofor_main' ;;
9417 lf95*) # Lahey Fortran 8.1
9418 whole_archive_flag_spec=
9419 tmp_sharedflag='--shared' ;;
9420 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9421 tmp_sharedflag='-qmkshrobj'
9423 nvcc*) # Cuda Compiler Driver 2.2
9424 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'
9425 compiler_needs_object=yes
9428 case `$CC -V 2>&1 | sed 5q` in
9429 *Sun\ C*) # Sun C 5.9
9430 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'
9431 compiler_needs_object=yes
9432 tmp_sharedflag='-G' ;;
9433 *Sun\ F*) # Sun Fortran 8.3
9434 tmp_sharedflag='-G' ;;
9436 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9438 if test "x$supports_anon_versioning" = xyes; then
9439 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9440 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9441 echo "local: *; };" >> $output_objdir/$libname.ver~
9442 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9445 case $cc_basename in
9446 xlf* | bgf* | bgxlf* | mpixlf*)
9447 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9448 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9449 hardcode_libdir_flag_spec=
9450 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9451 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9452 if test "x$supports_anon_versioning" = xyes; then
9453 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9454 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9455 echo "local: *; };" >> $output_objdir/$libname.ver~
9456 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9466 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9467 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9470 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9471 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9476 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9480 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9481 *** create shared libraries on Solaris systems. Therefore, libtool
9482 *** is disabling shared libraries support. We urge you to upgrade GNU
9483 *** binutils to release 2.9.1 or newer. Another option is to modify
9484 *** your PATH or compiler configuration so that the native linker is
9485 *** used, and then restart.
9488 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9489 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9490 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9496 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9497 case `$LD -v 2>&1` in
9498 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9502 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9503 *** reliably create shared libraries on SCO systems. Therefore, libtool
9504 *** is disabling shared libraries support. We urge you to upgrade GNU
9505 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9506 *** your PATH or compiler configuration so that the native linker is
9507 *** used, and then restart.
9512 # For security reasons, it is highly recommended that you always
9513 # use absolute paths for naming shared libraries, and exclude the
9514 # DT_RUNPATH tag from executables and libraries. But doing so
9515 # requires that you compile everything twice, which is a pain.
9516 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9517 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9518 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9519 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9528 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9531 hardcode_shlibpath_var=no
9535 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9536 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9537 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9544 if test "$ld_shlibs" = no; then
9546 hardcode_libdir_flag_spec=
9547 export_dynamic_flag_spec=
9548 whole_archive_flag_spec=
9551 # PORTME fill in a description of your system's linker (not GNU ld)
9554 allow_undefined_flag=unsupported
9555 always_export_symbols=yes
9556 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'
9557 # Note: this linker hardcodes the directories in LIBPATH if there
9558 # are no directories specified by -L.
9559 hardcode_minus_L=yes
9560 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9561 # Neither direct hardcoding nor static linking is supported with a
9563 hardcode_direct=unsupported
9568 if test "$host_cpu" = ia64; then
9569 # On IA64, the linker does run time linking by default, so we don't
9570 # have to do anything special.
9571 aix_use_runtimelinking=no
9572 exp_sym_flag='-Bexport'
9575 # If we're using GNU nm, then we don't want the "-C" option.
9576 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9577 # Also, AIX nm treats weak defined symbols like other global
9578 # defined symbols, whereas GNU nm marks them as "W".
9579 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9580 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'
9582 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'
9584 aix_use_runtimelinking=no
9586 # Test if we are trying to use run time linking or normal
9587 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9588 # need to do runtime linking.
9589 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9590 for ld_flag in $LDFLAGS; do
9591 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9592 aix_use_runtimelinking=yes
9599 exp_sym_flag='-bexport'
9600 no_entry_flag='-bnoentry'
9603 # When large executables or shared objects are built, AIX ld can
9604 # have problems creating the table of contents. If linking a library
9605 # or program results in "error TOC overflow" add -mminimal-toc to
9606 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9607 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9611 hardcode_direct_absolute=yes
9612 hardcode_libdir_separator=':'
9613 link_all_deplibs=yes
9614 file_list_spec='${wl}-f,'
9616 if test "$GCC" = yes; then
9617 case $host_os in aix4.[012]|aix4.[012].*)
9618 # We only want to do this on AIX 4.2 and lower, the check
9619 # below for broken collect2 doesn't work under 4.3+
9620 collect2name=`${CC} -print-prog-name=collect2`
9621 if test -f "$collect2name" &&
9622 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9624 # We have reworked collect2
9627 # We have old collect2
9628 hardcode_direct=unsupported
9629 # It fails to find uninstalled libraries when the uninstalled
9630 # path is not listed in the libpath. Setting hardcode_minus_L
9631 # to unsupported forces relinking
9632 hardcode_minus_L=yes
9633 hardcode_libdir_flag_spec='-L$libdir'
9634 hardcode_libdir_separator=
9638 shared_flag='-shared'
9639 if test "$aix_use_runtimelinking" = yes; then
9640 shared_flag="$shared_flag "'${wl}-G'
9644 if test "$host_cpu" = ia64; then
9645 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9646 # chokes on -Wl,-G. The following line is correct:
9649 if test "$aix_use_runtimelinking" = yes; then
9650 shared_flag='${wl}-G'
9652 shared_flag='${wl}-bM:SRE'
9657 export_dynamic_flag_spec='${wl}-bexpall'
9658 # It seems that -bexpall does not export symbols beginning with
9659 # underscore (_), so it is better to generate a list of symbols to export.
9660 always_export_symbols=yes
9661 if test "$aix_use_runtimelinking" = yes; then
9662 # Warning - without using the other runtime loading flags (-brtl),
9663 # -berok will link without error, but may produce a broken library.
9664 allow_undefined_flag='-berok'
9665 # Determine the default libpath from the value encoded in an
9667 if test "${lt_cv_aix_libpath+set}" = set; then
9668 aix_libpath=$lt_cv_aix_libpath
9670 if ${lt_cv_aix_libpath_+:} false; then :
9671 $as_echo_n "(cached) " >&6
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9684 if ac_fn_c_try_link "$LINENO"; then :
9686 lt_aix_libpath_sed='
9687 /Import File Strings/,/^$/ {
9689 s/^0 *\([^ ]*\) *$/\1/
9693 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694 # Check for a 64-bit object if we didn't find anything.
9695 if test -z "$lt_cv_aix_libpath_"; then
9696 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 if test -z "$lt_cv_aix_libpath_"; then
9702 lt_cv_aix_libpath_="/usr/lib:/lib"
9707 aix_libpath=$lt_cv_aix_libpath_
9710 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9711 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"
9713 if test "$host_cpu" = ia64; then
9714 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9715 allow_undefined_flag="-z nodefs"
9716 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"
9718 # Determine the default libpath from the value encoded in an
9720 if test "${lt_cv_aix_libpath+set}" = set; then
9721 aix_libpath=$lt_cv_aix_libpath
9723 if ${lt_cv_aix_libpath_+:} false; then :
9724 $as_echo_n "(cached) " >&6
9726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */
9737 if ac_fn_c_try_link "$LINENO"; then :
9739 lt_aix_libpath_sed='
9740 /Import File Strings/,/^$/ {
9742 s/^0 *\([^ ]*\) *$/\1/
9746 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9747 # Check for a 64-bit object if we didn't find anything.
9748 if test -z "$lt_cv_aix_libpath_"; then
9749 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9752 rm -f core conftest.err conftest.$ac_objext \
9753 conftest$ac_exeext conftest.$ac_ext
9754 if test -z "$lt_cv_aix_libpath_"; then
9755 lt_cv_aix_libpath_="/usr/lib:/lib"
9760 aix_libpath=$lt_cv_aix_libpath_
9763 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9764 # Warning - without using the other run time loading flags,
9765 # -berok will link without error, but may produce a broken library.
9766 no_undefined_flag=' ${wl}-bernotok'
9767 allow_undefined_flag=' ${wl}-berok'
9768 if test "$with_gnu_ld" = yes; then
9769 # We only use this code for GNU lds that support --whole-archive.
9770 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9772 # Exported symbols can be pulled into shared objects from archives
9773 whole_archive_flag_spec='$convenience'
9775 archive_cmds_need_lc=yes
9776 # This is similar to how AIX traditionally builds its shared libraries.
9777 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'
9785 # see comment about AmigaOS4 .so support
9786 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9787 archive_expsym_cmds=''
9790 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)'
9791 hardcode_libdir_flag_spec='-L$libdir'
9792 hardcode_minus_L=yes
9798 export_dynamic_flag_spec=-rdynamic
9801 cygwin* | mingw* | pw32* | cegcc*)
9802 # When not using gcc, we currently assume that we are using
9803 # Microsoft Visual C++.
9804 # hardcode_libdir_flag_spec is actually meaningless, as there is
9805 # no search path for DLLs.
9806 case $cc_basename in
9809 hardcode_libdir_flag_spec=' '
9810 allow_undefined_flag=unsupported
9811 always_export_symbols=yes
9813 # Tell ltmain to make .lib files, not .a files.
9815 # Tell ltmain to make .dll files, not .so files.
9817 # FIXME: Setting linknames here is a bad hack.
9818 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9819 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9820 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9822 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9824 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9826 # The linker will not automatically build a static lib if we build a DLL.
9827 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9828 enable_shared_with_static_runtimes=yes
9829 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9831 old_postinstall_cmds='chmod 644 $oldlib'
9832 postlink_cmds='lt_outputfile="@OUTPUT@"~
9833 lt_tool_outputfile="@TOOL_OUTPUT@"~
9834 case $lt_outputfile in
9837 lt_outputfile="$lt_outputfile.exe"
9838 lt_tool_outputfile="$lt_tool_outputfile.exe"
9841 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9842 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9843 $RM "$lt_outputfile.manifest";
9847 # Assume MSVC wrapper
9848 hardcode_libdir_flag_spec=' '
9849 allow_undefined_flag=unsupported
9850 # Tell ltmain to make .lib files, not .a files.
9852 # Tell ltmain to make .dll files, not .so files.
9854 # FIXME: Setting linknames here is a bad hack.
9855 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9856 # The linker will automatically build a .lib file if we build a DLL.
9857 old_archive_from_new_cmds='true'
9858 # FIXME: Should let the user specify the lib program.
9859 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9860 enable_shared_with_static_runtimes=yes
9865 darwin* | rhapsody*)
9868 archive_cmds_need_lc=no
9870 hardcode_automatic=yes
9871 hardcode_shlibpath_var=unsupported
9872 if test "$lt_cv_ld_force_load" = "yes"; then
9873 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\"`'
9875 whole_archive_flag_spec=''
9877 link_all_deplibs=yes
9878 allow_undefined_flag="$_lt_dar_allow_undefined"
9879 case $cc_basename in
9880 ifort*) _lt_dar_can_shared=yes ;;
9881 *) _lt_dar_can_shared=$GCC ;;
9883 if test "$_lt_dar_can_shared" = "yes"; then
9884 output_verbose_link_cmd=func_echo_all
9885 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9886 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9887 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}"
9888 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}"
9897 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9898 hardcode_libdir_flag_spec='-L$libdir'
9899 hardcode_shlibpath_var=no
9906 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9907 # support. Future versions do this automatically, but an explicit c++rt0.o
9908 # does not break anything, and helps significantly (at the cost of a little
9911 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9912 hardcode_libdir_flag_spec='-R$libdir'
9914 hardcode_shlibpath_var=no
9917 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9919 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9921 hardcode_minus_L=yes
9922 hardcode_shlibpath_var=no
9925 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9926 freebsd* | dragonfly*)
9927 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9928 hardcode_libdir_flag_spec='-R$libdir'
9930 hardcode_shlibpath_var=no
9934 if test "$GCC" = yes; then
9935 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'
9937 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'
9939 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9940 hardcode_libdir_separator=:
9943 # hardcode_minus_L: Not really in the search PATH,
9944 # but as the default location of the library.
9945 hardcode_minus_L=yes
9946 export_dynamic_flag_spec='${wl}-E'
9950 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9951 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9955 if test "$with_gnu_ld" = no; then
9956 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9957 hardcode_libdir_flag_spec_ld='+b $libdir'
9958 hardcode_libdir_separator=:
9960 hardcode_direct_absolute=yes
9961 export_dynamic_flag_spec='${wl}-E'
9962 # hardcode_minus_L: Not really in the search PATH,
9963 # but as the default location of the library.
9964 hardcode_minus_L=yes
9969 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9972 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9975 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9978 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9984 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9987 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9991 # Older versions of the 11.00 compiler do not understand -b yet
9992 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9994 $as_echo_n "checking if $CC understands -b... " >&6; }
9995 if ${lt_cv_prog_compiler__b+:} false; then :
9996 $as_echo_n "(cached) " >&6
9998 lt_cv_prog_compiler__b=no
9999 save_LDFLAGS="$LDFLAGS"
10000 LDFLAGS="$LDFLAGS -b"
10001 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10002 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10003 # The linker can only warn and ignore the option if not recognized
10004 # So say no if there are warnings
10005 if test -s conftest.err; then
10006 # Append any errors to the config.log.
10007 cat conftest.err 1>&5
10008 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10009 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10010 if diff conftest.exp conftest.er2 >/dev/null; then
10011 lt_cv_prog_compiler__b=yes
10014 lt_cv_prog_compiler__b=yes
10018 LDFLAGS="$save_LDFLAGS"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10022 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10024 if test x"$lt_cv_prog_compiler__b" = xyes; then
10025 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10033 if test "$with_gnu_ld" = no; then
10034 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10035 hardcode_libdir_separator=:
10040 hardcode_shlibpath_var=no
10043 hardcode_direct=yes
10044 hardcode_direct_absolute=yes
10045 export_dynamic_flag_spec='${wl}-E'
10047 # hardcode_minus_L: Not really in the search PATH,
10048 # but as the default location of the library.
10049 hardcode_minus_L=yes
10055 irix5* | irix6* | nonstopux*)
10056 if test "$GCC" = yes; then
10057 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'
10058 # Try to use the -exported_symbol ld option, if it does not
10059 # work, assume that -exports_file does not work either and
10060 # implicitly export all symbols.
10061 # This should be the same for all languages, so no per-tag cache variable.
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10063 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10064 if ${lt_cv_irix_exported_symbol+:} false; then :
10065 $as_echo_n "(cached) " >&6
10067 save_LDFLAGS="$LDFLAGS"
10068 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10071 int foo (void) { return 0; }
10073 if ac_fn_c_try_link "$LINENO"; then :
10074 lt_cv_irix_exported_symbol=yes
10076 lt_cv_irix_exported_symbol=no
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 LDFLAGS="$save_LDFLAGS"
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10083 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10084 if test "$lt_cv_irix_exported_symbol" = yes; then
10085 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'
10088 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'
10089 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'
10091 archive_cmds_need_lc='no'
10092 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10093 hardcode_libdir_separator=:
10095 link_all_deplibs=yes
10099 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10100 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10102 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10104 hardcode_libdir_flag_spec='-R$libdir'
10105 hardcode_direct=yes
10106 hardcode_shlibpath_var=no
10110 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10111 hardcode_direct=yes
10112 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10113 hardcode_libdir_separator=:
10114 hardcode_shlibpath_var=no
10121 if test -f /usr/libexec/ld.so; then
10122 hardcode_direct=yes
10123 hardcode_shlibpath_var=no
10124 hardcode_direct_absolute=yes
10125 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10126 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10127 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10128 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10129 export_dynamic_flag_spec='${wl}-E'
10132 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10133 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10134 hardcode_libdir_flag_spec='-R$libdir'
10137 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10138 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10148 hardcode_libdir_flag_spec='-L$libdir'
10149 hardcode_minus_L=yes
10150 allow_undefined_flag=unsupported
10151 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'
10152 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10156 if test "$GCC" = yes; then
10157 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10158 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'
10160 allow_undefined_flag=' -expect_unresolved \*'
10161 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'
10163 archive_cmds_need_lc='no'
10164 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10165 hardcode_libdir_separator=:
10168 osf4* | osf5*) # as osf3* with the addition of -msym flag
10169 if test "$GCC" = yes; then
10170 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10171 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'
10172 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10174 allow_undefined_flag=' -expect_unresolved \*'
10175 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'
10176 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~
10177 $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'
10179 # Both c and cxx compiler support -rpath directly
10180 hardcode_libdir_flag_spec='-rpath $libdir'
10182 archive_cmds_need_lc='no'
10183 hardcode_libdir_separator=:
10187 no_undefined_flag=' -z defs'
10188 if test "$GCC" = yes; then
10190 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10191 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10192 $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'
10194 case `$CC -V 2>&1` in
10197 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10198 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10199 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10203 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10204 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10205 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10209 hardcode_libdir_flag_spec='-R$libdir'
10210 hardcode_shlibpath_var=no
10212 solaris2.[0-5] | solaris2.[0-5].*) ;;
10214 # The compiler driver will combine and reorder linker options,
10215 # but understands `-z linker_flag'. GCC discards it without `$wl',
10216 # but is careful enough not to reorder.
10217 # Supported since Solaris 2.6 (maybe 2.5.1?)
10218 if test "$GCC" = yes; then
10219 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10221 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10225 link_all_deplibs=yes
10229 if test "x$host_vendor" = xsequent; then
10230 # Use $CC to link under sequent, because it throws in some extra .o
10231 # files that make .init and .fini sections work.
10232 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10234 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10236 hardcode_libdir_flag_spec='-L$libdir'
10237 hardcode_direct=yes
10238 hardcode_minus_L=yes
10239 hardcode_shlibpath_var=no
10243 case $host_vendor in
10245 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10246 hardcode_direct=yes # is this really true???
10249 ## LD is ld it makes a PLAMLIB
10250 ## CC just makes a GrossModule.
10251 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10252 reload_cmds='$CC -r -o $output$reload_objs'
10256 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10257 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10260 runpath_var='LD_RUN_PATH'
10261 hardcode_shlibpath_var=no
10265 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10266 hardcode_shlibpath_var=no
10267 export_dynamic_flag_spec='-Bexport'
10271 if test -d /usr/nec; then
10272 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10273 hardcode_shlibpath_var=no
10274 runpath_var=LD_RUN_PATH
10275 hardcode_runpath_var=yes
10280 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10281 no_undefined_flag='${wl}-z,text'
10282 archive_cmds_need_lc=no
10283 hardcode_shlibpath_var=no
10284 runpath_var='LD_RUN_PATH'
10286 if test "$GCC" = yes; then
10287 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10288 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10290 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10291 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10295 sysv5* | sco3.2v5* | sco5v6*)
10296 # Note: We can NOT use -z defs as we might desire, because we do not
10297 # link with -lc, and that would cause any symbols used from libc to
10298 # always be unresolved, which means just about no library would
10299 # ever link correctly. If we're not using GNU ld we use -z text
10300 # though, which does catch some bad symbols but isn't as heavy-handed
10302 no_undefined_flag='${wl}-z,text'
10303 allow_undefined_flag='${wl}-z,nodefs'
10304 archive_cmds_need_lc=no
10305 hardcode_shlibpath_var=no
10306 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10307 hardcode_libdir_separator=':'
10308 link_all_deplibs=yes
10309 export_dynamic_flag_spec='${wl}-Bexport'
10310 runpath_var='LD_RUN_PATH'
10312 if test "$GCC" = yes; then
10313 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10314 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10316 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10317 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10322 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10323 hardcode_libdir_flag_spec='-L$libdir'
10324 hardcode_shlibpath_var=no
10332 if test x$host_vendor = xsni; then
10334 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10335 export_dynamic_flag_spec='${wl}-Blargedynsym'
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10342 $as_echo "$ld_shlibs" >&6; }
10343 test "$ld_shlibs" = no && can_build_shared=no
10345 with_gnu_ld=$with_gnu_ld
10362 # Do we need to explicitly link libc?
10364 case "x$archive_cmds_need_lc" in
10366 # Assume -lc should be added
10367 archive_cmds_need_lc=yes
10369 if test "$enable_shared" = yes && test "$GCC" = yes; then
10370 case $archive_cmds in
10372 # FIXME: we may have to deal with multi-command sequences.
10375 # Test whether the compiler implicitly links with -lc since on some
10376 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10377 # to ld, don't add -lc before -lgcc.
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10379 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10380 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10381 $as_echo_n "(cached) " >&6
10384 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10386 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10387 (eval $ac_compile) 2>&5
10389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10390 test $ac_status = 0; } 2>conftest.err; then
10393 libobjs=conftest.$ac_objext
10395 wl=$lt_prog_compiler_wl
10396 pic_flag=$lt_prog_compiler_pic
10402 lt_save_allow_undefined_flag=$allow_undefined_flag
10403 allow_undefined_flag=
10404 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10405 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10408 test $ac_status = 0; }
10410 lt_cv_archive_cmds_need_lc=no
10412 lt_cv_archive_cmds_need_lc=yes
10414 allow_undefined_flag=$lt_save_allow_undefined_flag
10416 cat conftest.err 1>&5
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10422 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10423 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10587 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10589 if test "$GCC" = yes; then
10591 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10592 *) lt_awk_arg="/^libraries:/" ;;
10595 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10596 *) lt_sed_strip_eq="s,=/,/,g" ;;
10598 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10599 case $lt_search_path_spec in
10601 # if the path contains ";" then we assume it to be the separator
10602 # otherwise default to the standard path separator (i.e. ":") - it is
10603 # assumed that no part of a normal pathname contains ";" but that should
10604 # okay in the real world where ";" in dirpaths is itself problematic.
10605 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10608 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10611 # Ok, now we have the path, separated by spaces, we can step through it
10612 # and add multilib dir if necessary.
10613 lt_tmp_lt_search_path_spec=
10614 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10615 for lt_sys_path in $lt_search_path_spec; do
10616 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10617 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10619 test -d "$lt_sys_path" && \
10620 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10623 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10624 BEGIN {RS=" "; FS="/|\n";} {
10627 for (lt_i = NF; lt_i > 0; lt_i--) {
10628 if ($lt_i != "" && $lt_i != ".") {
10629 if ($lt_i == "..") {
10632 if (lt_count == 0) {
10633 lt_foo="/" $lt_i lt_foo;
10640 if (lt_foo != "") { lt_freq[lt_foo]++; }
10641 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10643 # AWK program above erroneously prepends '/' to C:/dos/paths
10646 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10647 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10649 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10651 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10653 library_names_spec=
10654 libname_spec='lib$name'
10658 postuninstall_cmds=
10662 shlibpath_overrides_runpath=unknown
10664 dynamic_linker="$host_os ld.so"
10665 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10666 need_lib_prefix=unknown
10667 hardcode_into_libs=no
10669 # when you set need_version to no, make sure it does not cause -set_version
10670 # flags to be left without arguments
10671 need_version=unknown
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10677 shlibpath_var=LIBPATH
10679 # AIX 3 has no versioning support, so we append a major version to the name.
10680 soname_spec='${libname}${release}${shared_ext}$major'
10687 hardcode_into_libs=yes
10688 if test "$host_cpu" = ia64; then
10689 # AIX 5 supports IA64
10690 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10691 shlibpath_var=LD_LIBRARY_PATH
10693 # With GCC up to 2.95.x, collect2 would create an import file
10694 # for dependence libraries. The import file would start with
10695 # the line `#! .'. This would cause the generated library to
10696 # depend on `.', always an invalid library. This was fixed in
10697 # development snapshots of GCC prior to 3.0.
10699 aix4 | aix4.[01] | aix4.[01].*)
10700 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10702 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10705 can_build_shared=no
10709 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10710 # soname into executable. Probably we can add versioning support to
10711 # collect2, so additional links can be useful in future.
10712 if test "$aix_use_runtimelinking" = yes; then
10713 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10714 # instead of lib<name>.a to let people know that these are not
10715 # typical AIX shared libraries.
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10718 # We preserve .a as extension for shared libraries through AIX4.2
10719 # and later when we are not doing run time linking.
10720 library_names_spec='${libname}${release}.a $libname.a'
10721 soname_spec='${libname}${release}${shared_ext}$major'
10723 shlibpath_var=LIBPATH
10730 # Since July 2007 AmigaOS4 officially supports .so libraries.
10731 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 library_names_spec='$libname.ixlibrary $libname.a'
10736 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10737 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'
10743 library_names_spec='${libname}${shared_ext}'
10744 dynamic_linker="$host_os ld.so"
10745 shlibpath_var=LIBRARY_PATH
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752 soname_spec='${libname}${release}${shared_ext}$major'
10753 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10754 shlibpath_var=LD_LIBRARY_PATH
10755 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10756 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10757 # the default ld.so.conf also contains /usr/contrib/lib and
10758 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10759 # libtool to hard-code these into programs
10762 cygwin* | mingw* | pw32* | cegcc*)
10763 version_type=windows
10768 case $GCC,$cc_basename in
10771 library_names_spec='$libname.dll.a'
10772 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10773 postinstall_cmds='base_file=`basename \${file}`~
10774 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10775 dldir=$destdir/`dirname \$dlpath`~
10776 test -d \$dldir || mkdir -p \$dldir~
10777 $install_prog $dir/$dlname \$dldir/$dlname~
10778 chmod a+x \$dldir/$dlname~
10779 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10780 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10782 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10783 dlpath=$dir/\$dldll~
10785 shlibpath_overrides_runpath=yes
10789 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10790 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10792 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10795 # MinGW DLLs use traditional 'lib' prefix
10796 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10799 # pw32 DLLs use 'pw' prefix rather than 'lib'
10800 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10803 dynamic_linker='Win32 ld.exe'
10808 libname_spec='$name'
10809 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10810 library_names_spec='${libname}.dll.lib'
10814 sys_lib_search_path_spec=
10817 for lt_path in $LIB
10820 # Let DOS variable expansion print the short 8.3 style file name.
10821 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10822 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10825 # Convert to MSYS style.
10826 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10829 # Convert to unix form, then to dos form, then back to unix form
10830 # but this time dos style (no spaces!) so that the unix form looks
10831 # like /cygdrive/c/PROGRA~1:/cygdr...
10832 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10833 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10834 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10837 sys_lib_search_path_spec="$LIB"
10838 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10839 # It is most probably a Windows format PATH.
10840 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10842 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10844 # FIXME: find the short name or the path components, as spaces are
10845 # common. (e.g. "Program Files" -> "PROGRA~1")
10849 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10850 postinstall_cmds='base_file=`basename \${file}`~
10851 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10852 dldir=$destdir/`dirname \$dlpath`~
10853 test -d \$dldir || mkdir -p \$dldir~
10854 $install_prog $dir/$dlname \$dldir/$dlname'
10855 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10856 dlpath=$dir/\$dldll~
10858 shlibpath_overrides_runpath=yes
10859 dynamic_linker='Win32 link.exe'
10863 # Assume MSVC wrapper
10864 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10865 dynamic_linker='Win32 ld.exe'
10868 # FIXME: first we should search . and the directory the executable is in
10872 darwin* | rhapsody*)
10873 dynamic_linker="$host_os dyld"
10874 version_type=darwin
10877 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10878 soname_spec='${libname}${release}${major}$shared_ext'
10879 shlibpath_overrides_runpath=yes
10880 shlibpath_var=DYLD_LIBRARY_PATH
10881 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10883 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10884 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10892 soname_spec='${libname}${release}${shared_ext}$major'
10893 shlibpath_var=LD_LIBRARY_PATH
10900 freebsd* | dragonfly*)
10901 # DragonFly does not have aout. When/if they implement a new
10902 # versioning mechanism, adjust this.
10903 if test -x /usr/bin/objformat; then
10904 objformat=`/usr/bin/objformat`
10907 freebsd[123]*) objformat=aout ;;
10908 *) objformat=elf ;;
10911 version_type=freebsd-$objformat
10912 case $version_type in
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10919 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10923 shlibpath_var=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath=yes
10928 freebsd3.[01]* | freebsdelf3.[01]*)
10929 shlibpath_overrides_runpath=yes
10930 hardcode_into_libs=yes
10932 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10933 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10934 shlibpath_overrides_runpath=no
10935 hardcode_into_libs=yes
10937 *) # from 4.6 on, and DragonFly
10938 shlibpath_overrides_runpath=yes
10939 hardcode_into_libs=yes
10948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10949 soname_spec='${libname}${release}${shared_ext}$major'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 hardcode_into_libs=yes
10958 dynamic_linker="$host_os runtime_loader"
10959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10960 soname_spec='${libname}${release}${shared_ext}$major'
10961 shlibpath_var=LIBRARY_PATH
10962 shlibpath_overrides_runpath=yes
10963 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10964 hardcode_into_libs=yes
10967 hpux9* | hpux10* | hpux11*)
10968 # Give a soname corresponding to the major version so that dld.sl refuses to
10969 # link against other versions.
10976 hardcode_into_libs=yes
10977 dynamic_linker="$host_os dld.so"
10978 shlibpath_var=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 if test "X$HPUX_IA64_MODE" = X32; then
10983 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10985 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10987 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10991 hardcode_into_libs=yes
10992 dynamic_linker="$host_os dld.sl"
10993 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10994 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10996 soname_spec='${libname}${release}${shared_ext}$major'
10997 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10998 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11002 dynamic_linker="$host_os dld.sl"
11003 shlibpath_var=SHLIB_PATH
11004 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11006 soname_spec='${libname}${release}${shared_ext}$major'
11009 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11010 postinstall_cmds='chmod 555 $lib'
11011 # or fails outright, so override atomically:
11012 install_override_mode=555
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11020 soname_spec='${libname}${release}${shared_ext}$major'
11021 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11022 shlibpath_var=LD_LIBRARY_PATH
11023 shlibpath_overrides_runpath=no
11024 hardcode_into_libs=yes
11027 irix5* | irix6* | nonstopux*)
11029 nonstopux*) version_type=nonstopux ;;
11031 if test "$lt_cv_prog_gnu_ld" = yes; then
11039 soname_spec='${libname}${release}${shared_ext}$major'
11040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11042 irix5* | nonstopux*)
11043 libsuff= shlibsuff=
11046 case $LD in # libtool.m4 will add one of these switches to LD
11047 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11048 libsuff= shlibsuff= libmagic=32-bit;;
11049 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11050 libsuff=32 shlibsuff=N32 libmagic=N32;;
11051 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11052 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11053 *) libsuff= shlibsuff= libmagic=never-match;;
11057 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11058 shlibpath_overrides_runpath=no
11059 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11060 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11061 hardcode_into_libs=yes
11064 # No shared lib support for Linux oldld, aout, or coff.
11065 linux*oldld* | linux*aout* | linux*coff*)
11069 # This must be Linux ELF.
11070 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075 soname_spec='${libname}${release}${shared_ext}$major'
11076 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11077 shlibpath_var=LD_LIBRARY_PATH
11078 shlibpath_overrides_runpath=no
11080 # Some binutils ld are patched to set DT_RUNPATH
11081 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11082 $as_echo_n "(cached) " >&6
11084 lt_cv_shlibpath_overrides_runpath=no
11085 save_LDFLAGS=$LDFLAGS
11086 save_libdir=$libdir
11087 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11088 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11102 lt_cv_shlibpath_overrides_runpath=yes
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11107 LDFLAGS=$save_LDFLAGS
11108 libdir=$save_libdir
11112 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11114 # This implies no fast_install, which is unacceptable.
11115 # Some rework will be needed to allow for fast_install
11116 # before this can be enabled.
11117 hardcode_into_libs=yes
11119 # Add ABI-specific directories to the system library path.
11120 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11122 # Append ld.so.conf contents to the search path
11123 if test -f /etc/ld.so.conf; then
11124 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' ' '`
11125 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11129 # We used to test for /lib/ld.so.1 and disable shared libraries on
11130 # powerpc, because MkLinux only supported shared libraries with the
11131 # GNU dynamic linker. Since this was broken with cross compilers,
11132 # most powerpc-linux boxes support dynamic linking these days and
11133 # people can always --disable-shared, the test was removed, and we
11134 # assume the GNU/Linux dynamic linker is in use.
11135 dynamic_linker='GNU/Linux ld.so'
11142 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11144 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11145 dynamic_linker='NetBSD (a.out) ld.so'
11147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11148 soname_spec='${libname}${release}${shared_ext}$major'
11149 dynamic_linker='NetBSD ld.elf_so'
11151 shlibpath_var=LD_LIBRARY_PATH
11152 shlibpath_overrides_runpath=yes
11153 hardcode_into_libs=yes
11158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159 shlibpath_var=LD_LIBRARY_PATH
11160 shlibpath_overrides_runpath=yes
11167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11168 soname_spec='${libname}${release}${shared_ext}$major'
11169 shlibpath_var=LD_LIBRARY_PATH
11170 shlibpath_overrides_runpath=no
11171 hardcode_into_libs=yes
11172 dynamic_linker='ldqnx.so'
11177 sys_lib_dlsearch_path_spec="/usr/lib"
11179 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11181 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11182 *) need_version=no ;;
11184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11185 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11186 shlibpath_var=LD_LIBRARY_PATH
11187 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11189 openbsd2.[89] | openbsd2.[89].*)
11190 shlibpath_overrides_runpath=no
11193 shlibpath_overrides_runpath=yes
11197 shlibpath_overrides_runpath=yes
11202 libname_spec='$name'
11205 library_names_spec='$libname${shared_ext} $libname.a'
11206 dynamic_linker='OS/2 ld.exe'
11207 shlibpath_var=LIBPATH
11210 osf3* | osf4* | osf5*)
11214 soname_spec='${libname}${release}${shared_ext}$major'
11215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11216 shlibpath_var=LD_LIBRARY_PATH
11217 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11218 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11230 soname_spec='${libname}${release}${shared_ext}$major'
11231 shlibpath_var=LD_LIBRARY_PATH
11232 shlibpath_overrides_runpath=yes
11233 hardcode_into_libs=yes
11234 # ldd complains unless libraries are executable
11235 postinstall_cmds='chmod +x $lib'
11240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11241 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11242 shlibpath_var=LD_LIBRARY_PATH
11243 shlibpath_overrides_runpath=yes
11244 if test "$with_gnu_ld" = yes; then
11252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11253 soname_spec='${libname}${release}${shared_ext}$major'
11254 shlibpath_var=LD_LIBRARY_PATH
11255 case $host_vendor in
11257 shlibpath_overrides_runpath=no
11259 runpath_var=LD_RUN_PATH
11267 shlibpath_overrides_runpath=no
11268 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11274 if test -d /usr/nec ;then
11276 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11277 soname_spec='$libname${shared_ext}.$major'
11278 shlibpath_var=LD_LIBRARY_PATH
11282 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11283 version_type=freebsd-elf
11286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11287 soname_spec='${libname}${release}${shared_ext}$major'
11288 shlibpath_var=LD_LIBRARY_PATH
11289 shlibpath_overrides_runpath=yes
11290 hardcode_into_libs=yes
11291 if test "$with_gnu_ld" = yes; then
11292 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11294 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11297 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11301 sys_lib_dlsearch_path_spec='/usr/lib'
11305 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11310 shlibpath_var=LD_LIBRARY_PATH
11311 shlibpath_overrides_runpath=no
11312 hardcode_into_libs=yes
11317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11318 soname_spec='${libname}${release}${shared_ext}$major'
11319 shlibpath_var=LD_LIBRARY_PATH
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11327 $as_echo "$dynamic_linker" >&6; }
11328 test "$dynamic_linker" = no && can_build_shared=no
11330 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11331 if test "$GCC" = yes; then
11332 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11335 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11336 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11338 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11339 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11434 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11436 if test -n "$hardcode_libdir_flag_spec" ||
11437 test -n "$runpath_var" ||
11438 test "X$hardcode_automatic" = "Xyes" ; then
11440 # We can hardcode non-existent directories.
11441 if test "$hardcode_direct" != no &&
11442 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11443 # have to relink, otherwise we might link with an installed library
11444 # when we should be linking with a yet-to-be-installed one
11445 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11446 test "$hardcode_minus_L" != no; then
11447 # Linking always hardcodes the temporary library directory.
11448 hardcode_action=relink
11450 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11451 hardcode_action=immediate
11454 # We cannot hardcode anything, or else we can only hardcode existing
11456 hardcode_action=unsupported
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11459 $as_echo "$hardcode_action" >&6; }
11461 if test "$hardcode_action" = relink ||
11462 test "$inherit_rpath" = yes; then
11463 # Fast installation is not supported
11464 enable_fast_install=no
11465 elif test "$shlibpath_overrides_runpath" = yes ||
11466 test "$enable_shared" = no; then
11467 # Fast installation is not necessary
11468 enable_fast_install=needless
11476 if test "x$enable_dlopen" != xyes; then
11477 enable_dlopen=unknown
11478 enable_dlopen_self=unknown
11479 enable_dlopen_self_static=unknown
11486 lt_cv_dlopen="load_add_on"
11488 lt_cv_dlopen_self=yes
11491 mingw* | pw32* | cegcc*)
11492 lt_cv_dlopen="LoadLibrary"
11497 lt_cv_dlopen="dlopen"
11502 # if libdl is installed we need to link against it
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11504 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11505 if ${ac_cv_lib_dl_dlopen+:} false; then :
11506 $as_echo_n "(cached) " >&6
11508 ac_check_lib_save_LIBS=$LIBS
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11528 if ac_fn_c_try_link "$LINENO"; then :
11529 ac_cv_lib_dl_dlopen=yes
11531 ac_cv_lib_dl_dlopen=no
11533 rm -f core conftest.err conftest.$ac_objext \
11534 conftest$ac_exeext conftest.$ac_ext
11535 LIBS=$ac_check_lib_save_LIBS
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11538 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11539 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11540 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11543 lt_cv_dlopen="dyld"
11545 lt_cv_dlopen_self=yes
11552 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11553 if test "x$ac_cv_func_shl_load" = xyes; then :
11554 lt_cv_dlopen="shl_load"
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11557 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11558 if ${ac_cv_lib_dld_shl_load+:} false; then :
11559 $as_echo_n "(cached) " >&6
11561 ac_check_lib_save_LIBS=$LIBS
11563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11566 /* Override any GCC internal prototype to avoid an error.
11567 Use char because int might match the return type of a GCC
11568 builtin and then its argument prototype would still apply. */
11576 return shl_load ();
11581 if ac_fn_c_try_link "$LINENO"; then :
11582 ac_cv_lib_dld_shl_load=yes
11584 ac_cv_lib_dld_shl_load=no
11586 rm -f core conftest.err conftest.$ac_objext \
11587 conftest$ac_exeext conftest.$ac_ext
11588 LIBS=$ac_check_lib_save_LIBS
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11591 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11592 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11593 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11595 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11596 if test "x$ac_cv_func_dlopen" = xyes; then :
11597 lt_cv_dlopen="dlopen"
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11600 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11601 if ${ac_cv_lib_dl_dlopen+:} false; then :
11602 $as_echo_n "(cached) " >&6
11604 ac_check_lib_save_LIBS=$LIBS
11606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11607 /* end confdefs.h. */
11609 /* Override any GCC internal prototype to avoid an error.
11610 Use char because int might match the return type of a GCC
11611 builtin and then its argument prototype would still apply. */
11624 if ac_fn_c_try_link "$LINENO"; then :
11625 ac_cv_lib_dl_dlopen=yes
11627 ac_cv_lib_dl_dlopen=no
11629 rm -f core conftest.err conftest.$ac_objext \
11630 conftest$ac_exeext conftest.$ac_ext
11631 LIBS=$ac_check_lib_save_LIBS
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11634 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11635 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11636 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11639 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11640 if ${ac_cv_lib_svld_dlopen+:} false; then :
11641 $as_echo_n "(cached) " >&6
11643 ac_check_lib_save_LIBS=$LIBS
11644 LIBS="-lsvld $LIBS"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11663 if ac_fn_c_try_link "$LINENO"; then :
11664 ac_cv_lib_svld_dlopen=yes
11666 ac_cv_lib_svld_dlopen=no
11668 rm -f core conftest.err conftest.$ac_objext \
11669 conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_lib_save_LIBS
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11673 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11674 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11675 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11678 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11679 if ${ac_cv_lib_dld_dld_link+:} false; then :
11680 $as_echo_n "(cached) " >&6
11682 ac_check_lib_save_LIBS=$LIBS
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11697 return dld_link ();
11702 if ac_fn_c_try_link "$LINENO"; then :
11703 ac_cv_lib_dld_dld_link=yes
11705 ac_cv_lib_dld_dld_link=no
11707 rm -f core conftest.err conftest.$ac_objext \
11708 conftest$ac_exeext conftest.$ac_ext
11709 LIBS=$ac_check_lib_save_LIBS
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11712 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11713 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11714 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11735 if test "x$lt_cv_dlopen" != xno; then
11741 case $lt_cv_dlopen in
11743 save_CPPFLAGS="$CPPFLAGS"
11744 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11746 save_LDFLAGS="$LDFLAGS"
11747 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11750 LIBS="$lt_cv_dlopen_libs $LIBS"
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11753 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11754 if ${lt_cv_dlopen_self+:} false; then :
11755 $as_echo_n "(cached) " >&6
11757 if test "$cross_compiling" = yes; then :
11758 lt_cv_dlopen_self=cross
11760 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11761 lt_status=$lt_dlunknown
11762 cat > conftest.$ac_ext <<_LT_EOF
11763 #line $LINENO "configure"
11764 #include "confdefs.h"
11773 # define LT_DLGLOBAL RTLD_GLOBAL
11776 # define LT_DLGLOBAL DL_GLOBAL
11778 # define LT_DLGLOBAL 0
11782 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11783 find out it does not work in some platform. */
11784 #ifndef LT_DLLAZY_OR_NOW
11786 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11789 # define LT_DLLAZY_OR_NOW DL_LAZY
11792 # define LT_DLLAZY_OR_NOW RTLD_NOW
11795 # define LT_DLLAZY_OR_NOW DL_NOW
11797 # define LT_DLLAZY_OR_NOW 0
11804 /* When -fvisbility=hidden is used, assume the code has been annotated
11805 correspondingly for the symbols needed. */
11806 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11807 int fnord () __attribute__((visibility("default")));
11810 int fnord () { return 42; }
11813 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11814 int status = $lt_dlunknown;
11818 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11821 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11822 else puts (dlerror ());
11824 /* dlclose (self); */
11832 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11833 (eval $ac_link) 2>&5
11835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11836 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11837 (./conftest; exit; ) >&5 2>/dev/null
11839 case x$lt_status in
11840 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11841 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11842 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11845 # compilation failed
11846 lt_cv_dlopen_self=no
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11854 $as_echo "$lt_cv_dlopen_self" >&6; }
11856 if test "x$lt_cv_dlopen_self" = xyes; then
11857 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11859 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11860 if ${lt_cv_dlopen_self_static+:} false; then :
11861 $as_echo_n "(cached) " >&6
11863 if test "$cross_compiling" = yes; then :
11864 lt_cv_dlopen_self_static=cross
11866 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11867 lt_status=$lt_dlunknown
11868 cat > conftest.$ac_ext <<_LT_EOF
11869 #line $LINENO "configure"
11870 #include "confdefs.h"
11879 # define LT_DLGLOBAL RTLD_GLOBAL
11882 # define LT_DLGLOBAL DL_GLOBAL
11884 # define LT_DLGLOBAL 0
11888 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11889 find out it does not work in some platform. */
11890 #ifndef LT_DLLAZY_OR_NOW
11892 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11895 # define LT_DLLAZY_OR_NOW DL_LAZY
11898 # define LT_DLLAZY_OR_NOW RTLD_NOW
11901 # define LT_DLLAZY_OR_NOW DL_NOW
11903 # define LT_DLLAZY_OR_NOW 0
11910 /* When -fvisbility=hidden is used, assume the code has been annotated
11911 correspondingly for the symbols needed. */
11912 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11913 int fnord () __attribute__((visibility("default")));
11916 int fnord () { return 42; }
11919 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11920 int status = $lt_dlunknown;
11924 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11927 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11928 else puts (dlerror ());
11930 /* dlclose (self); */
11938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11939 (eval $ac_link) 2>&5
11941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11942 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11943 (./conftest; exit; ) >&5 2>/dev/null
11945 case x$lt_status in
11946 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11947 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11948 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11951 # compilation failed
11952 lt_cv_dlopen_self_static=no
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11960 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11963 CPPFLAGS="$save_CPPFLAGS"
11964 LDFLAGS="$save_LDFLAGS"
11969 case $lt_cv_dlopen_self in
11970 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11971 *) enable_dlopen_self=unknown ;;
11974 case $lt_cv_dlopen_self_static in
11975 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11976 *) enable_dlopen_self_static=unknown ;;
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11999 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12000 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12001 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12002 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12004 $as_echo "yes" >&6; }
12006 # FIXME - insert some real tests, host_os isn't really good enough
12009 if test -n "$STRIP" ; then
12010 striplib="$STRIP -x"
12011 old_striplib="$STRIP -S"
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12013 $as_echo "yes" >&6; }
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12016 $as_echo "no" >&6; }
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12021 $as_echo "no" >&6; }
12037 # Report which library types will actually be built
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12039 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12041 $as_echo "$can_build_shared" >&6; }
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12044 $as_echo_n "checking whether to build shared libraries... " >&6; }
12045 test "$can_build_shared" = "no" && enable_shared=no
12047 # On AIX, shared libraries and static libraries use the same namespace, and
12048 # are all built from PIC.
12051 test "$enable_shared" = yes && enable_static=no
12052 if test -n "$RANLIB"; then
12053 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12054 postinstall_cmds='$RANLIB $lib'
12059 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12060 test "$enable_shared" = yes && enable_static=no
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12065 $as_echo "$enable_shared" >&6; }
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12068 $as_echo_n "checking whether to build static libraries... " >&6; }
12069 # Make sure either enable_shared or enable_static is yes.
12070 test "$enable_shared" = yes || enable_static=yes
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12072 $as_echo "$enable_static" >&6; }
12079 ac_cpp='$CPP $CPPFLAGS'
12080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12098 ac_config_commands="$ac_config_commands libtool"
12103 # Only expand once:
12107 # Checks for header files.
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12109 $as_echo_n "checking for ANSI C header files... " >&6; }
12110 if ${ac_cv_header_stdc+:} false; then :
12111 $as_echo_n "(cached) " >&6
12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12115 #include <stdlib.h>
12116 #include <stdarg.h>
12117 #include <string.h>
12128 if ac_fn_c_try_compile "$LINENO"; then :
12129 ac_cv_header_stdc=yes
12131 ac_cv_header_stdc=no
12133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12135 if test $ac_cv_header_stdc = yes; then
12136 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12138 /* end confdefs.h. */
12139 #include <string.h>
12142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12143 $EGREP "memchr" >/dev/null 2>&1; then :
12146 ac_cv_header_stdc=no
12152 if test $ac_cv_header_stdc = yes; then
12153 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12156 #include <stdlib.h>
12159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12160 $EGREP "free" >/dev/null 2>&1; then :
12163 ac_cv_header_stdc=no
12169 if test $ac_cv_header_stdc = yes; then
12170 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12171 if test "$cross_compiling" = yes; then :
12174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12177 #include <stdlib.h>
12178 #if ((' ' & 0x0FF) == 0x020)
12179 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12180 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12182 # define ISLOWER(c) \
12183 (('a' <= (c) && (c) <= 'i') \
12184 || ('j' <= (c) && (c) <= 'r') \
12185 || ('s' <= (c) && (c) <= 'z'))
12186 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12189 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12194 for (i = 0; i < 256; i++)
12195 if (XOR (islower (i), ISLOWER (i))
12196 || toupper (i) != TOUPPER (i))
12201 if ac_fn_c_try_run "$LINENO"; then :
12204 ac_cv_header_stdc=no
12206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12207 conftest.$ac_objext conftest.beam conftest.$ac_ext
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12213 $as_echo "$ac_cv_header_stdc" >&6; }
12214 if test $ac_cv_header_stdc = yes; then
12216 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12221 # required versions for dependencies
12235 GLIB_REQ_VERSION=2.31.19
12237 COGL_REQ_VERSION=1.9.6
12239 JSON_GLIB_REQ_VERSION=0.12.0
12241 ATK_REQ_VERSION=2.1.5
12243 CAIRO_REQ_VERSION=1.10
12245 PANGO_REQ_VERSION=1.20
12247 GI_REQ_VERSION=0.9.5
12249 UPROF_REQ_VERSION=0.3
12251 GTK_DOC_REQ_VERSION=1.15
12253 XFIXES_REQ_VERSION=3
12255 XCOMPOSITE_REQ_VERSION=0.4
12257 GDK_REQ_VERSION=3.3.18
12260 # Checks for typedefs, structures, and compiler characteristics.
12261 # Check whether --enable-glibtest was given.
12262 if test "${enable_glibtest+set}" = set; then :
12263 enableval=$enable_glibtest;
12265 enable_glibtest=yes
12269 pkg_config_args=glib-2.0
12270 for module in . gobject gthread gmodule-no-export
12274 pkg_config_args="$pkg_config_args gmodule-2.0"
12277 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
12280 pkg_config_args="$pkg_config_args gobject-2.0"
12283 pkg_config_args="$pkg_config_args gthread-2.0"
12286 pkg_config_args="$pkg_config_args $module-2.0"
12297 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12298 if test -n "$ac_tool_prefix"; then
12299 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12300 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12302 $as_echo_n "checking for $ac_word... " >&6; }
12303 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12304 $as_echo_n "(cached) " >&6
12306 case $PKG_CONFIG in
12308 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12312 for as_dir in $PATH
12315 test -z "$as_dir" && as_dir=.
12316 for ac_exec_ext in '' $ac_executable_extensions; do
12317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12318 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12329 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12330 if test -n "$PKG_CONFIG"; then
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12332 $as_echo "$PKG_CONFIG" >&6; }
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12335 $as_echo "no" >&6; }
12340 if test -z "$ac_cv_path_PKG_CONFIG"; then
12341 ac_pt_PKG_CONFIG=$PKG_CONFIG
12342 # Extract the first word of "pkg-config", so it can be a program name with args.
12343 set dummy pkg-config; ac_word=$2
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12345 $as_echo_n "checking for $ac_word... " >&6; }
12346 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12347 $as_echo_n "(cached) " >&6
12349 case $ac_pt_PKG_CONFIG in
12351 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12355 for as_dir in $PATH
12358 test -z "$as_dir" && as_dir=.
12359 for ac_exec_ext in '' $ac_executable_extensions; do
12360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12361 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12372 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12373 if test -n "$ac_pt_PKG_CONFIG"; then
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12375 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12378 $as_echo "no" >&6; }
12381 if test "x$ac_pt_PKG_CONFIG" = x; then
12384 case $cross_compiling:$ac_tool_warned in
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12388 ac_tool_warned=yes ;;
12390 PKG_CONFIG=$ac_pt_PKG_CONFIG
12393 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12397 if test -n "$PKG_CONFIG"; then
12398 _pkg_min_version=0.16
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12400 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12401 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12403 $as_echo "yes" >&6; }
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12406 $as_echo "no" >&6; }
12413 if test "x$PKG_CONFIG" = x ; then
12418 min_glib_version=2.31.19
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
12420 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
12422 if test x$PKG_CONFIG != xno ; then
12423 ## don't try to run the test against uninstalled libtool libs
12424 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12425 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
12429 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
12436 if test x"$no_glib" = x ; then
12437 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
12438 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
12439 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
12440 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
12442 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
12443 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
12444 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
12445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12446 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
12447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12448 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
12449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12450 if test "x$enable_glibtest" = "xyes" ; then
12451 ac_save_CFLAGS="$CFLAGS"
12452 ac_save_LIBS="$LIBS"
12453 CFLAGS="$CFLAGS $GLIB_CFLAGS"
12454 LIBS="$GLIB_LIBS $LIBS"
12455 rm -f conf.glibtest
12456 if test "$cross_compiling" = yes; then :
12457 echo $ac_n "cross compiling; assumed OK... $ac_c"
12459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12464 #include <stdlib.h>
12469 unsigned int major, minor, micro;
12472 fclose (fopen ("conf.glibtest", "w"));
12474 /* HP/UX 9 (%@#!) writes to sscanf strings */
12475 tmp_version = g_strdup("$min_glib_version");
12476 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
12477 printf("%s, bad version string\n", "$min_glib_version");
12481 if ((glib_major_version != $glib_config_major_version) ||
12482 (glib_minor_version != $glib_config_minor_version) ||
12483 (glib_micro_version != $glib_config_micro_version))
12485 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
12486 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
12487 glib_major_version, glib_minor_version, glib_micro_version);
12488 printf ("*** was found! If pkg-config was correct, then it is best\n");
12489 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
12490 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12491 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12492 printf("*** required on your system.\n");
12493 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12494 printf("*** to point to the correct configuration files\n");
12496 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
12497 (glib_minor_version != GLIB_MINOR_VERSION) ||
12498 (glib_micro_version != GLIB_MICRO_VERSION))
12500 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
12501 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
12502 printf("*** library (version %d.%d.%d)\n",
12503 glib_major_version, glib_minor_version, glib_micro_version);
12507 if ((glib_major_version > major) ||
12508 ((glib_major_version == major) && (glib_minor_version > minor)) ||
12509 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
12515 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
12516 glib_major_version, glib_minor_version, glib_micro_version);
12517 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
12518 major, minor, micro);
12519 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
12521 printf("*** If you have already installed a sufficiently new version, this error\n");
12522 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12523 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12524 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
12525 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12526 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12527 printf("*** so that the correct libraries are found at run-time))\n");
12534 if ac_fn_c_try_run "$LINENO"; then :
12539 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12540 conftest.$ac_objext conftest.beam conftest.$ac_ext
12543 CFLAGS="$ac_save_CFLAGS"
12544 LIBS="$ac_save_LIBS"
12547 if test "x$no_glib" = x ; then
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
12549 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 $as_echo "no" >&6; }
12554 if test "$PKG_CONFIG" = "no" ; then
12555 echo "*** A new enough version of pkg-config was not found."
12556 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
12558 if test -f conf.glibtest ; then
12561 echo "*** Could not run GLIB test program, checking why..."
12562 ac_save_CFLAGS="$CFLAGS"
12563 ac_save_LIBS="$LIBS"
12564 CFLAGS="$CFLAGS $GLIB_CFLAGS"
12565 LIBS="$LIBS $GLIB_LIBS"
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12575 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
12580 if ac_fn_c_try_link "$LINENO"; then :
12581 echo "*** The test program compiled, but did not run. This usually means"
12582 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
12583 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
12584 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12585 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12586 echo "*** is required on your system"
12588 echo "*** If you have an old version installed, it is best to remove it, although"
12589 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12591 echo "*** The test program failed to compile or link. See the file config.log for the"
12592 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
12594 rm -f core conftest.err conftest.$ac_objext \
12595 conftest$ac_exeext conftest.$ac_ext
12596 CFLAGS="$ac_save_CFLAGS"
12597 LIBS="$ac_save_LIBS"
12605 GLIB_COMPILE_RESOURCES=""
12606 as_fn_error $? "glib-2.0 is required" "$LINENO" 5
12614 rm -f conf.glibtest
12617 # Check for -Bsymbolic-functions to avoid intra-library PLT jumps
12618 # Check whether --enable-Bsymbolic was given.
12619 if test "${enable_Bsymbolic+set}" = set; then :
12620 enableval=$enable_Bsymbolic;
12623 saved_LDFLAGS="${LDFLAGS}"
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
12625 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
12626 LDFLAGS=-Wl,-Bsymbolic-functions
12627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12633 int main (void) { return 0; }
12638 if ac_fn_c_try_link "$LINENO"; then :
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12641 $as_echo "yes" >&6; }
12642 enable_Bsymbolic=yes
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12647 $as_echo "no" >&6; }
12648 enable_Bsymbolic=no
12651 rm -f core conftest.err conftest.$ac_objext \
12652 conftest$ac_exeext conftest.$ac_ext
12653 LDFLAGS="${saved_LDFLAGS}"
12658 if test "x$enable_Bsymbolic" = "xyes"; then :
12659 CLUTTER_LINK_FLAGS=-Wl,-Bsymbolic-functions
12663 cat >confcache <<\_ACEOF
12664 # This file is a shell script that caches the results of configure
12665 # tests run on this system so they can be shared between configure
12666 # scripts and configure runs, see configure's option --config-cache.
12667 # It is not useful on other systems. If it contains results you don't
12668 # want to keep, you may remove or edit it.
12670 # config.status only pays attention to the cache file if you give it
12671 # the --recheck option to rerun configure.
12673 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12675 # following values.
12679 # The following way of writing the cache mishandles newlines in values,
12680 # but we know of no workaround that is simple, portable, and efficient.
12681 # So, we kill variables containing newlines.
12682 # Ultrix sh set writes to stderr and can't be redirected directly,
12683 # and sets the high bit in the cache file unless we assign to the vars.
12685 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12686 eval ac_val=\$$ac_var
12690 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12691 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12694 _ | IFS | as_nl) ;; #(
12695 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12696 *) { eval $ac_var=; unset $ac_var;} ;;
12702 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12703 *${as_nl}ac_space=\ *)
12704 # `set' does not quote correctly, so add quotes: double-quote
12705 # substitution turns \\\\ into \\, and sed turns \\ into \.
12708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12711 # `set' quotes correctly as required by POSIX, so do not add quotes.
12712 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12721 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12723 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12725 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12726 if test -w "$cache_file"; then
12727 if test "x$cache_file" != "x/dev/null"; then
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12729 $as_echo "$as_me: updating cache $cache_file" >&6;}
12730 if test ! -f "$cache_file" || test -h "$cache_file"; then
12731 cat confcache >"$cache_file"
12733 case $cache_file in #(
12735 mv -f confcache "$cache_file"$$ &&
12736 mv -f "$cache_file"$$ "$cache_file" ;; #(
12738 mv -f confcache "$cache_file" ;;
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12744 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12752 CLUTTER_BACKENDS=""
12753 CLUTTER_INPUT_BACKENDS=""
12754 CLUTTER_CONFIG_DEFINES=
12756 experimental_backend=no
12757 experimental_input_backend=no
12759 # base dependencies for core
12760 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"
12762 # private base dependencies
12763 CLUTTER_BASE_PC_FILES_PRIVATE=""
12765 # backend specific pkg-config files
12766 BACKEND_PC_FILES=""
12768 # private backend specific dependencies
12769 BACKEND_PC_FILES_PRIVATE=""
12772 # Check whether --enable-x11-backend was given.
12773 if test "${enable_x11_backend+set}" = set; then :
12774 enableval=$enable_x11_backend; enable_x11=$enableval
12779 # Check whether --enable-win32-backend was given.
12780 if test "${enable_win32_backend+set}" = set; then :
12781 enableval=$enable_win32_backend; enable_win32=$enableval
12786 # Check whether --enable-quartz-backend was given.
12787 if test "${enable_quartz_backend+set}" = set; then :
12788 enableval=$enable_quartz_backend; enable_osx=$enableval
12793 # Check whether --enable-gdk-backend was given.
12794 if test "${enable_gdk_backend+set}" = set; then :
12795 enableval=$enable_gdk_backend; enable_gdk=$enableval
12800 # Check whether --enable-wayland-backend was given.
12801 if test "${enable_wayland_backend+set}" = set; then :
12802 enableval=$enable_wayland_backend; enable_wayland=$enableval
12807 # Check whether --enable-egl-backend was given.
12808 if test "${enable_egl_backend+set}" = set; then :
12809 enableval=$enable_egl_backend; enable_egl=$enableval
12814 # Check whether --enable-cex100-backend was given.
12815 if test "${enable_cex100_backend+set}" = set; then :
12816 enableval=$enable_cex100_backend; enable_cex100=$enableval
12822 if test "x$enable_x11" = "xcheck"; then :
12824 if test "x$platform_glx" = "xyes"; then :
12832 if test "x$enable_win32" = "xcheck"; then :
12834 if test "x$platform_win32" = "xyes"; then :
12842 if test "x$enable_osx" = "xcheck"; then :
12844 if test "x$platform_quartz" = "xyes"; then :
12852 if test "x$enable_gdk" = "xcheck"; then :
12854 if test -n "$PKG_CONFIG" && \
12855 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-3.0 >= 3.3.18\""; } >&5
12856 ($PKG_CONFIG --exists --print-errors "gdk-3.0 >= 3.3.18") 2>&5
12858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12859 test $ac_status = 0; }; then
12867 if test "x$enable_x11" = "xyes"; then :
12869 CLUTTER_BACKENDS="$CLUTTER_BACKENDS x11"
12870 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS x11"
12876 # we use fontconfig API and pango-ft2 when the fontconfig
12877 # configuration changes; we don't expose any API for this
12878 # so we add pango-ft2 to the private Requires.
12879 if test -n "$PKG_CONFIG" && \
12880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
12881 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
12883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12884 test $ac_status = 0; }; then
12887 $as_echo "#define HAVE_PANGO_FT2 1" >>confdefs.h
12889 BACKEND_PC_FILES_PRIVATE="$BACKEND_PC_FILES_PRIVATE pangoft2"
12894 $as_echo "#define HAVE_CLUTTER_GLX 1" >>confdefs.h
12899 if test "x$enable_gdk" = "xyes"; then :
12901 CLUTTER_BACKENDS="$CLUTTER_BACKENDS gdk"
12902 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS gdk"
12907 BACKEND_PC_FILES="$BACKEND_PC_FILES gdk-3.0"
12911 if test "x$enable_wayland" = "xyes"; then :
12913 CLUTTER_BACKENDS="$CLUTTER_BACKENDS wayland"
12914 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS wayland"
12916 experimental_backend="yes"
12920 if test -n "$PKG_CONFIG" && \
12921 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client xkbcommon gdk-pixbuf-2.0\""; } >&5
12922 ($PKG_CONFIG --exists --print-errors "wayland-client xkbcommon gdk-pixbuf-2.0") 2>&5
12924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12925 test $ac_status = 0; }; then
12927 BACKEND_PC_FILES="$BACKEND_PC_FILES wayland-client xkbcommon"
12928 BACKEND_PC_FILES_PRIVATE="$BACKEND_PC_FILES_PRIVATE gdk-pixbuf-2.0"
12933 $as_echo "#define HAVE_CLUTTER_WAYLAND 1" >>confdefs.h
12938 # Check whether --enable-wayland-compositor was given.
12939 if test "${enable_wayland_compositor+set}" = set; then :
12940 enableval=$enable_wayland_compositor;
12942 if test "x$SUPPORT_EGL" = "x1"; then :
12943 enable_wayland_compositor=yes
12945 enable_wayland_compositor=no
12951 if test "x$enable_wayland_compositor" = "xyes"; then :
12953 if test -n "$PKG_CONFIG" && \
12954 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-server\""; } >&5
12955 ($PKG_CONFIG --exists --print-errors "wayland-server") 2>&5
12957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12958 test $ac_status = 0; }; then
12959 BACKEND_PC_FILES="$BACKEND_PC_FILES wayland-server"
12961 SUPPORT_WAYLAND_COMPOSITOR=1
12962 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
12963 #define CLUTTER_HAS_WAYLAND_COMPOSITOR_SUPPORT 1"
12965 $as_echo "#define HAVE_CLUTTER_WAYLAND_COMPOSITOR 1" >>confdefs.h
12970 if test "x$SUPPORT_WAYLAND_COMPOSITOR" = "x1"; then
12971 SUPPORT_WAYLAND_COMPOSITOR_TRUE=
12972 SUPPORT_WAYLAND_COMPOSITOR_FALSE='#'
12974 SUPPORT_WAYLAND_COMPOSITOR_TRUE='#'
12975 SUPPORT_WAYLAND_COMPOSITOR_FALSE=
12979 if test "x$enable_wayland_compositor" != "xyes" -a "x$enable_wayland" != "xyes"; then :
12981 # The wayland headers introduce so much symbol shadowing that build
12982 # logs become incomprehensible with -Wshadow so we only use it for
12983 # non-wayland builds.
12984 MAINTAINER_COMPILER_FLAGS="-Wshadow"
12988 if test "x$enable_cex100" = "xyes"; then :
12990 CLUTTER_BACKENDS="$CLUTTER_BACKENDS cex100"
12992 experimental_backend="yes"
12998 for ac_header in libgdl.h
13000 ac_fn_c_check_header_mongrel "$LINENO" "libgdl.h" "ac_cv_header_libgdl_h" "$ac_includes_default"
13001 if test "x$ac_cv_header_libgdl_h" = xyes; then :
13002 cat >>confdefs.h <<_ACEOF
13003 #define HAVE_LIBGDL_H 1
13011 if test "x$have_gdl" = "xno"; then :
13013 for ac_header in CE4100/libgdl.h
13015 ac_fn_c_check_header_mongrel "$LINENO" "CE4100/libgdl.h" "ac_cv_header_CE4100_libgdl_h" "$ac_includes_default"
13016 if test "x$ac_cv_header_CE4100_libgdl_h" = xyes; then :
13017 cat >>confdefs.h <<_ACEOF
13018 #define HAVE_CE4100_LIBGDL_H 1
13021 FLAVOUR_CFLAGS="-I/usr/include/CE4100"
13023 CLUTTER_CEX100_LIBGDL_PREFIX=CE4100/
13032 if test "x$have_gdl" = "xno"; then :
13033 as_fn_error $? "libgdl.h not found but the CEx100 backend has been explicitly enabled" "$LINENO" 5
13038 FLAVOUR_LIBS="$FLAVOUR_LIBS -lgdl"
13041 $as_echo "#define CLUTTER_EGL_BACKEND_CEX100 1" >>confdefs.h
13044 $as_echo "#define CLUTTER_EGL_BACKEND_GENERIC 1" >>confdefs.h
13047 $as_echo "#define HAVE_CLUTTER_EGL 1" >>confdefs.h
13052 if test "x$enable_egl" = "xyes"; then :
13054 CLUTTER_BACKENDS="$CLUTTER_BACKENDS egl"
13056 experimental_backend="yes"
13061 FLAVOUR_LIBS="$FLAVOUR_LIBS $TSLIB_LIBS $EVDEV_LIBS"
13062 FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS $TSLIB_CFLAGS $EVDEV_CFLAGS"
13065 $as_echo "#define CLUTTER_EGL_BACKEND_GENERIC 1" >>confdefs.h
13069 $as_echo "#define HAVE_CLUTTER_EGL 1" >>confdefs.h
13074 if test "x$enable_osx" = "xyes"; then :
13076 CLUTTER_BACKENDS="$CLUTTER_BACKENDS osx"
13077 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS osx"
13080 $as_echo "#define HAVE_CLUTTER_OSX 1" >>confdefs.h
13083 FLAVOUR_LIBS="$FLAVOUR_LIBS -framework Cocoa -framework OpenGL"
13089 if test "x$enable_win32" = "xyes"; then :
13091 CLUTTER_BACKENDS="$CLUTTER_BACKENDS win32"
13092 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS win32"
13095 $as_echo "#define HAVE_CLUTTER_WIN32 1" >>confdefs.h
13098 FLAVOUR_LIBS="$FLAVOUR_LIBS -lopengl32 -lgdi32 -lwinmm"
13099 FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS -D_WIN32_WINNT=0x0500"
13101 if test -n "$ac_tool_prefix"; then
13102 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13103 set dummy ${ac_tool_prefix}windres; ac_word=$2
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13105 $as_echo_n "checking for $ac_word... " >&6; }
13106 if ${ac_cv_prog_WINDRES+:} false; then :
13107 $as_echo_n "(cached) " >&6
13109 if test -n "$WINDRES"; then
13110 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
13112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13113 for as_dir in $PATH
13116 test -z "$as_dir" && as_dir=.
13117 for ac_exec_ext in '' $ac_executable_extensions; do
13118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13119 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
13120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13129 WINDRES=$ac_cv_prog_WINDRES
13130 if test -n "$WINDRES"; then
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
13132 $as_echo "$WINDRES" >&6; }
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13135 $as_echo "no" >&6; }
13140 if test -z "$ac_cv_prog_WINDRES"; then
13141 ac_ct_WINDRES=$WINDRES
13142 # Extract the first word of "windres", so it can be a program name with args.
13143 set dummy windres; ac_word=$2
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13145 $as_echo_n "checking for $ac_word... " >&6; }
13146 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
13147 $as_echo_n "(cached) " >&6
13149 if test -n "$ac_ct_WINDRES"; then
13150 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
13152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13153 for as_dir in $PATH
13156 test -z "$as_dir" && as_dir=.
13157 for ac_exec_ext in '' $ac_executable_extensions; do
13158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13159 ac_cv_prog_ac_ct_WINDRES="windres"
13160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13169 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
13170 if test -n "$ac_ct_WINDRES"; then
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
13172 $as_echo "$ac_ct_WINDRES" >&6; }
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13175 $as_echo "no" >&6; }
13178 if test "x$ac_ct_WINDRES" = x; then
13179 WINDRES="as_fn_error $? "*** windres is required" "$LINENO" 5"
13181 case $cross_compiling:$ac_tool_warned in
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13185 ac_tool_warned=yes ;;
13187 WINDRES=$ac_ct_WINDRES
13190 WINDRES="$ac_cv_prog_WINDRES"
13198 if test "x$CLUTTER_BACKENDS" = "x"; then :
13200 as_fn_error $? "No backend enabled. You need to enable at least one backend." "$LINENO" 5
13204 # additional input backends
13206 # Check whether --enable-tslib-input was given.
13207 if test "${enable_tslib_input+set}" = set; then :
13208 enableval=$enable_tslib_input; enable_tslib=$enableval
13213 # Check whether --enable-evdev-input was given.
13214 if test "${enable_evdev_input+set}" = set; then :
13215 enableval=$enable_evdev_input; enable_evdev=$enableval
13221 if test "x$enable_tslib" = "xyes"; then :
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
13226 $as_echo_n "checking for TSLIB... " >&6; }
13228 if test -n "$TSLIB_CFLAGS"; then
13229 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
13230 elif test -n "$PKG_CONFIG"; then
13231 if test -n "$PKG_CONFIG" && \
13232 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
13233 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
13235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13236 test $ac_status = 0; }; then
13237 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-1.0" 2>/dev/null`
13244 if test -n "$TSLIB_LIBS"; then
13245 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
13246 elif test -n "$PKG_CONFIG"; then
13247 if test -n "$PKG_CONFIG" && \
13248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
13249 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
13251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13252 test $ac_status = 0; }; then
13253 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-1.0" 2>/dev/null`
13263 if test $pkg_failed = yes; then
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13265 $as_echo "no" >&6; }
13267 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13268 _pkg_short_errors_supported=yes
13270 _pkg_short_errors_supported=no
13272 if test $_pkg_short_errors_supported = yes; then
13273 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib-1.0" 2>&1`
13275 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib-1.0" 2>&1`
13277 # Put the nasty error message in config.log where it belongs
13278 echo "$TSLIB_PKG_ERRORS" >&5
13281 elif test $pkg_failed = untried; then
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13283 $as_echo "no" >&6; }
13286 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
13287 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13289 $as_echo "yes" >&6; }
13292 if test "x$have_tslib" = "xyes"; then :
13294 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS tslib"
13295 experimental_input_backend="yes"
13297 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
13305 if test "x$enable_evdev" = "xyes"; then :
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVDEV" >&5
13310 $as_echo_n "checking for EVDEV... " >&6; }
13312 if test -n "$EVDEV_CFLAGS"; then
13313 pkg_cv_EVDEV_CFLAGS="$EVDEV_CFLAGS"
13314 elif test -n "$PKG_CONFIG"; then
13315 if test -n "$PKG_CONFIG" && \
13316 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 xkbcommon\""; } >&5
13317 ($PKG_CONFIG --exists --print-errors "gudev-1.0 xkbcommon") 2>&5
13319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13320 test $ac_status = 0; }; then
13321 pkg_cv_EVDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0 xkbcommon" 2>/dev/null`
13328 if test -n "$EVDEV_LIBS"; then
13329 pkg_cv_EVDEV_LIBS="$EVDEV_LIBS"
13330 elif test -n "$PKG_CONFIG"; then
13331 if test -n "$PKG_CONFIG" && \
13332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 xkbcommon\""; } >&5
13333 ($PKG_CONFIG --exists --print-errors "gudev-1.0 xkbcommon") 2>&5
13335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13336 test $ac_status = 0; }; then
13337 pkg_cv_EVDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0 xkbcommon" 2>/dev/null`
13347 if test $pkg_failed = yes; then
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13349 $as_echo "no" >&6; }
13351 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13352 _pkg_short_errors_supported=yes
13354 _pkg_short_errors_supported=no
13356 if test $_pkg_short_errors_supported = yes; then
13357 EVDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0 xkbcommon" 2>&1`
13359 EVDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0 xkbcommon" 2>&1`
13361 # Put the nasty error message in config.log where it belongs
13362 echo "$EVDEV_PKG_ERRORS" >&5
13365 elif test $pkg_failed = untried; then
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367 $as_echo "no" >&6; }
13370 EVDEV_CFLAGS=$pkg_cv_EVDEV_CFLAGS
13371 EVDEV_LIBS=$pkg_cv_EVDEV_LIBS
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13373 $as_echo "yes" >&6; }
13376 if test "x$have_evdev" = "xyes"; then :
13378 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS evdev"
13379 BACKEND_PC_FILES="$BACKEND_PC_FILES gudev-1.0 xkbcommon"
13380 experimental_input_backend="yes"
13382 $as_echo "#define HAVE_EVDEV 1" >>confdefs.h
13390 # conditionals for use in automake files...
13391 if test "x$SUPPORT_GLX" = "x1"; then
13393 SUPPORT_GLX_FALSE='#'
13395 SUPPORT_GLX_TRUE='#'
13399 if test "x$SUPPORT_X11" = "x1"; then
13401 SUPPORT_X11_FALSE='#'
13403 SUPPORT_X11_TRUE='#'
13407 if test "x$SUPPORT_GDK" = "x1"; then
13409 SUPPORT_GDK_FALSE='#'
13411 SUPPORT_GDK_TRUE='#'
13415 if test "x$SUPPORT_EGL" = "x1"; then
13417 SUPPORT_EGL_FALSE='#'
13419 SUPPORT_EGL_TRUE='#'
13423 if test "x$SUPPORT_OSX" = "x1"; then
13425 SUPPORT_OSX_FALSE='#'
13427 SUPPORT_OSX_TRUE='#'
13431 if test "x$SUPPORT_WIN32" = "x1"; then
13432 SUPPORT_WIN32_TRUE=
13433 SUPPORT_WIN32_FALSE='#'
13435 SUPPORT_WIN32_TRUE='#'
13436 SUPPORT_WIN32_FALSE=
13439 if test "x$SUPPORT_CEX100" = "x1"; then
13440 SUPPORT_CEX100_TRUE=
13441 SUPPORT_CEX100_FALSE='#'
13443 SUPPORT_CEX100_TRUE='#'
13444 SUPPORT_CEX100_FALSE=
13447 if test "x$SUPPORT_WAYLAND" = "x1"; then
13448 SUPPORT_WAYLAND_TRUE=
13449 SUPPORT_WAYLAND_FALSE='#'
13451 SUPPORT_WAYLAND_TRUE='#'
13452 SUPPORT_WAYLAND_FALSE=
13456 if test "x$SUPPORT_COGL" = "x1"; then
13464 if test "x$have_tslib" = "xyes"; then
13466 USE_TSLIB_FALSE='#'
13472 if test "x$have_evdev" = "xyes"; then
13474 USE_EVDEV_FALSE='#'
13480 if test "x$have_gdl" = "xyes"; then
13489 if test "x$have_evdev" = "xyes" -O "x$SUPPORT_WAYLAND" = "x1"; then
13490 NEED_XKB_UTILS_TRUE=
13491 NEED_XKB_UTILS_FALSE='#'
13493 NEED_XKB_UTILS_TRUE='#'
13494 NEED_XKB_UTILS_FALSE=
13499 $as_echo "#define COGL_ENABLE_EXPERIMENTAL_2_0_API 1" >>confdefs.h
13502 CLUTTER_BACKENDS=${CLUTTER_BACKENDS#* }
13505 CLUTTER_INPUT_BACKENDS=${CLUTTER_INPUT_BACKENDS#* }
13508 cat >confcache <<\_ACEOF
13509 # This file is a shell script that caches the results of configure
13510 # tests run on this system so they can be shared between configure
13511 # scripts and configure runs, see configure's option --config-cache.
13512 # It is not useful on other systems. If it contains results you don't
13513 # want to keep, you may remove or edit it.
13515 # config.status only pays attention to the cache file if you give it
13516 # the --recheck option to rerun configure.
13518 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13519 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13520 # following values.
13524 # The following way of writing the cache mishandles newlines in values,
13525 # but we know of no workaround that is simple, portable, and efficient.
13526 # So, we kill variables containing newlines.
13527 # Ultrix sh set writes to stderr and can't be redirected directly,
13528 # and sets the high bit in the cache file unless we assign to the vars.
13530 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13531 eval ac_val=\$$ac_var
13535 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13536 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13539 _ | IFS | as_nl) ;; #(
13540 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13541 *) { eval $ac_var=; unset $ac_var;} ;;
13547 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13548 *${as_nl}ac_space=\ *)
13549 # `set' does not quote correctly, so add quotes: double-quote
13550 # substitution turns \\\\ into \\, and sed turns \\ into \.
13553 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13556 # `set' quotes correctly as required by POSIX, so do not add quotes.
13557 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13566 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13568 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13570 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13571 if test -w "$cache_file"; then
13572 if test "x$cache_file" != "x/dev/null"; then
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13574 $as_echo "$as_me: updating cache $cache_file" >&6;}
13575 if test ! -f "$cache_file" || test -h "$cache_file"; then
13576 cat confcache >"$cache_file"
13578 case $cache_file in #(
13580 mv -f confcache "$cache_file"$$ &&
13581 mv -f "$cache_file"$$ "$cache_file" ;; #(
13583 mv -f confcache "$cache_file" ;;
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13589 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13595 # windowing systems
13596 if test "x$SUPPORT_X11" = "x1"; then :
13597 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13598 #define CLUTTER_WINDOWING_X11 \"x11\"
13599 #define CLUTTER_INPUT_X11 \"x11\""
13601 if test "x$SUPPORT_GDK" = "x1"; then :
13602 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13603 #define CLUTTER_WINDOWING_GDK \"gdk\"
13604 #define CLUTTER_INPUT_GDK \"gdk\""
13606 if test "x$SUPPORT_GLX" = "x1"; then :
13607 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13608 #define CLUTTER_WINDOWING_GLX \"glx\""
13610 if test "x$SUPPORT_EGL" = "x1"; then :
13611 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13612 #define CLUTTER_WINDOWING_EGL \"eglnative\""
13614 if test "x$SUPPORT_WAYLAND" = "x1"; then :
13615 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13616 #define CLUTTER_WINDOWING_WAYLAND \"wayland\""
13618 if test "x$SUPPORT_OSX" = "x1"; then :
13619 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13620 #define CLUTTER_WINDOWING_OSX \"osx\"
13621 #define CLUTTER_INPUT_OSX \"osx\""
13623 if test "x$SUPPORT_WIN32" = "x1"; then :
13624 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13625 #define CLUTTER_WINDOWING_WIN32 \"win32\"
13626 #define CLUTTER_INPUT_WIN32 \"win32\""
13628 if test "x$SUPPORT_CEX100" = "x1"; then :
13629 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13630 #define CLUTTER_WINDOWING_CEX100 \"cex100\""
13632 if test "x$SUPPORT_EVDEV" = "x1"; then :
13633 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13634 #define CLUTTER_INPUT_EVDEV \"evdev\""
13636 if test "x$SUPPORT_TSLIB" = "x1"; then :
13637 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13638 #define CLUTTER_INPUT_TSLIB \"tslib\""
13640 if test "x$SUPPORT_WAYLAND" = "x1"; then :
13641 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13642 #define CLUTTER_INPUT_WAYLAND \"wayland\""
13645 # the 'null' input backend is special
13646 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13647 #define CLUTTER_INPUT_NULL \"null\""
13651 CLUTTER_WINSYS=deprecated
13653 CLUTTER_WINSYS_BASE=deprecated
13655 CLUTTER_STAGE_TYPE=deprecated
13657 CLUTTER_SONAME_INFIX=deprecated
13659 CLUTTER_FLAVOUR=deprecated
13661 CLUTTER_COGL=deprecated
13663 COGL_DRIVER=deprecated
13670 if test "x$SUPPORT_X11" = "x1"; then :
13672 # base X11 includes and libraries
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
13674 $as_echo_n "checking for X11... " >&6; }
13676 # start with pkg-config
13677 if test -n "$PKG_CONFIG" && \
13678 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
13679 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
13681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13682 test $ac_status = 0; }; then
13687 if test "x$have_x11" = "xyes"; then :
13691 # we actually need to ask for CFLAGS and LIBS
13692 X11_CFLAGS=`$PKG_CONFIG --cflags $X11_PC_FILES`
13693 X11_LIBS=`$PKG_CONFIG --libs $X11_PC_FILES`
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13696 $as_echo "found" >&6; }
13700 # no pkg-config, let's go old school
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13702 $as_echo_n "checking for X... " >&6; }
13705 # Check whether --with-x was given.
13706 if test "${with_x+set}" = set; then :
13710 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13711 if test "x$with_x" = xno; then
13712 # The user explicitly disabled X.
13715 case $x_includes,$x_libraries in #(
13716 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13717 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
13718 $as_echo_n "(cached) " >&6
13720 # One or both of the vars are not set, and there is no cached value.
13721 ac_x_includes=no ac_x_libraries=no
13722 rm -f -r conftest.dir
13723 if mkdir conftest.dir; then
13725 cat >Imakefile <<'_ACEOF'
13727 @echo incroot='${INCROOT}'
13729 @echo usrlibdir='${USRLIBDIR}'
13731 @echo libdir='${LIBDIR}'
13733 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13734 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13735 for ac_var in incroot usrlibdir libdir; do
13736 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13738 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13739 for ac_extension in a so sl dylib la dll; do
13740 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13741 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13742 ac_im_usrlibdir=$ac_im_libdir; break
13745 # Screen out bogus values from the imake configuration. They are
13746 # bogus both because they are the default anyway, and because
13747 # using them would break gcc on systems where it needs fixed includes.
13748 case $ac_im_incroot in
13749 /usr/include) ac_x_includes= ;;
13750 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13752 case $ac_im_usrlibdir in
13753 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13754 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13758 rm -f -r conftest.dir
13761 # Standard set of common directories for X headers.
13762 # Check X11 before X11Rn because it is often a symlink to the current release.
13776 /usr/local/X11/include
13777 /usr/local/X11R7/include
13778 /usr/local/X11R6/include
13779 /usr/local/X11R5/include
13780 /usr/local/X11R4/include
13782 /usr/local/include/X11
13783 /usr/local/include/X11R7
13784 /usr/local/include/X11R6
13785 /usr/local/include/X11R5
13786 /usr/local/include/X11R4
13790 /usr/XFree86/include/X11
13794 /usr/unsupported/include
13795 /usr/athena/include
13796 /usr/local/x11r5/include
13797 /usr/lpp/Xamples/include
13799 /usr/openwin/include
13800 /usr/openwin/share/include'
13802 if test "$ac_x_includes" = no; then
13803 # Guess where to find include files, by looking for Xlib.h.
13804 # First, try using that file with no special directory specified.
13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13807 #include <X11/Xlib.h>
13809 if ac_fn_c_try_cpp "$LINENO"; then :
13810 # We can compile using X headers with no special include directory.
13813 for ac_dir in $ac_x_header_dirs; do
13814 if test -r "$ac_dir/X11/Xlib.h"; then
13815 ac_x_includes=$ac_dir
13820 rm -f conftest.err conftest.i conftest.$ac_ext
13821 fi # $ac_x_includes = no
13823 if test "$ac_x_libraries" = no; then
13824 # Check for the libraries.
13825 # See if we find them without any special options.
13826 # Don't add to $LIBS permanently.
13829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13831 #include <X11/Xlib.h>
13840 if ac_fn_c_try_link "$LINENO"; then :
13842 # We can link X programs with no special library path.
13846 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13848 # Don't even attempt the hair of trying to link an X program!
13849 for ac_extension in a so sl dylib la dll; do
13850 if test -r "$ac_dir/libX11.$ac_extension"; then
13851 ac_x_libraries=$ac_dir
13857 rm -f core conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859 fi # $ac_x_libraries = no
13861 case $ac_x_includes,$ac_x_libraries in #(
13862 no,* | *,no | *\'*)
13863 # Didn't find X, or a directory has "'" in its name.
13864 ac_cv_have_x="have_x=no";; #(
13866 # Record where we found X for the cache.
13867 ac_cv_have_x="have_x=yes\
13868 ac_x_includes='$ac_x_includes'\
13869 ac_x_libraries='$ac_x_libraries'"
13875 eval "$ac_cv_have_x"
13878 if test "$have_x" != yes; then
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13880 $as_echo "$have_x" >&6; }
13883 # If each of the values was on the command line, it overrides each guess.
13884 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13885 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13886 # Update the cache value to reflect the command line values.
13887 ac_cv_have_x="have_x=yes\
13888 ac_x_includes='$x_includes'\
13889 ac_x_libraries='$x_libraries'"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13891 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13895 if test "x$no_x" = "xyes"; then :
13896 as_fn_error $? "No X11 Libraries found" "$LINENO" 5
13899 if test "x$x_includes" != "xNONE" && test -n "$x_includes"; then :
13900 X11_CFLAGS=-I`echo $x_includes | sed -e "s/:/ -I/g"`
13903 if test "x$x_libraries" != "xNONE" && test -n "$x_libraries"; then :
13904 X11_LIBS=-L`echo $x_libraries | sed -e "s/:/ -L/g"`
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13908 $as_echo "found" >&6; }
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT extension" >&5
13918 $as_echo_n "checking for XEXT extension... " >&6; }
13919 if test -n "$PKG_CONFIG" && \
13920 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
13921 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
13923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13924 test $ac_status = 0; }; then
13929 if test "x$have_xext" = "xyes"; then :
13932 $as_echo "#define HAVE_XEXT 1" >>confdefs.h
13935 X11_LIBS="$X11_LIBS -lXext"
13936 X11_PC_FILES="$X11_PC_FILES xext"
13937 X11_EXTS="$X11_EXTS xext"
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13940 $as_echo "found" >&6; }
13943 as_fn_error $? "Not found" "$LINENO" 5
13947 # XFIXES (required)
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFIXES extension >= $XFIXES_REQ_VERSION" >&5
13949 $as_echo_n "checking for XFIXES extension >= $XFIXES_REQ_VERSION... " >&6; }
13950 if test -n "$PKG_CONFIG" && \
13951 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes >= \$XFIXES_REQ_VERSION\""; } >&5
13952 ($PKG_CONFIG --exists --print-errors "xfixes >= $XFIXES_REQ_VERSION") 2>&5
13954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13955 test $ac_status = 0; }; then
13960 if test "x$have_xfixes" = "xyes"; then :
13963 $as_echo "#define HAVE_XFIXES 1" >>confdefs.h
13966 X11_LIBS="$X11_LIBS -lXfixes"
13967 X11_PC_FILES="$X11_PC_FILES xfixes >= $XFIXES_REQ_VERSION"
13968 X11_EXTS="$X11_EXTS xfixes"
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13971 $as_echo "found" >&6; }
13974 as_fn_error $? "Not found" "$LINENO" 5
13978 # XDAMAGE (required)
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDAMAGE extension" >&5
13980 $as_echo_n "checking for XDAMAGE extension... " >&6; }
13981 if test -n "$PKG_CONFIG" && \
13982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdamage\""; } >&5
13983 ($PKG_CONFIG --exists --print-errors "xdamage") 2>&5
13985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13986 test $ac_status = 0; }; then
13991 if test "x$have_xdamage" = "xyes"; then :
13994 $as_echo "#define HAVE_XDAMAGE 1" >>confdefs.h
13997 X11_LIBS="$X11_LIBS -lXdamage"
13998 X11_PC_FILES="$X11_PC_FILES xdamage"
13999 X11_EXTS="$X11_EXTS xdamage"
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14002 $as_echo "found" >&6; }
14005 as_fn_error $? "not found" "$LINENO" 5
14009 # XCOMPOSITE (optional)
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCOMPOSITE extension >= $XCOMPOSITE_REQ_VERSION" >&5
14011 $as_echo_n "checking for XCOMPOSITE extension >= $XCOMPOSITE_REQ_VERSION... " >&6; }
14012 if test -n "$PKG_CONFIG" && \
14013 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcomposite >= \$XCOMPOSITE_REQ_VERSION\""; } >&5
14014 ($PKG_CONFIG --exists --print-errors "xcomposite >= $XCOMPOSITE_REQ_VERSION") 2>&5
14016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14017 test $ac_status = 0; }; then
14018 have_xcomposite=yes
14022 if test "x$have_xcomposite" = "xyes"; then :
14025 $as_echo "#define HAVE_XCOMPOSITE 1" >>confdefs.h
14028 X11_LIBS="$X11_LIBS -lXcomposite"
14029 X11_PC_FILES="$X11_PC_FILES xcomposite >= $XCOMPOSITE_REQ_VERSION"
14030 X11_EXTS="$X11_EXTS xcomposite"
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14033 $as_echo "found" >&6; }
14036 as_fn_error $? "not found" "$LINENO" 5
14040 # X Generic Extensions (optional)
14041 clutter_save_CPPFLAGS="$CPPFLAGS"
14042 CPPFLAGS="$CPPFLAGS $X11_CFLAGS"
14044 clutter_save_LIBS="$LIBS"
14045 LIBS="$LIBS $X11_LIBS"
14048 ac_fn_c_check_func "$LINENO" "XGetEventData" "ac_cv_func_XGetEventData"
14049 if test "x$ac_cv_func_XGetEventData" = xyes; then :
14052 $as_echo "#define HAVE_XGE 1" >>confdefs.h
14055 X11_EXTS="$X11_EXTS xge"
14060 CPPFLAGS="$clutter_save_CPPFLAGS"
14061 LIBS="$clutter_save_LIBS"
14064 # Check whether --enable-xinput was given.
14065 if test "${enable_xinput+set}" = set; then :
14066 enableval=$enable_xinput;
14072 if test "x$enable_xinput" = "xyes"; then :
14074 if test -n "$PKG_CONFIG" && \
14075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi\""; } >&5
14076 ($PKG_CONFIG --exists --print-errors "xi") 2>&5
14078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14079 test $ac_status = 0; }; then
14091 case $have_xinput in #(
14094 for ac_header in X11/extensions/XInput2.h
14096 ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$ac_includes_default"
14097 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes; then :
14098 cat >>confdefs.h <<_ACEOF
14099 #define HAVE_X11_EXTENSIONS_XINPUT2_H 1
14104 $as_echo "#define HAVE_XINPUT_2 1" >>confdefs.h
14111 $as_echo "#define HAVE_XINPUT 1" >>confdefs.h
14119 clutter_save_LIBS="$LIBS"
14122 ac_fn_c_check_func "$LINENO" "XIAllowTouchEvents" "ac_cv_func_XIAllowTouchEvents"
14123 if test "x$ac_cv_func_XIAllowTouchEvents" = xyes; then :
14125 ac_fn_c_check_member "$LINENO" "XIScrollClassInfo" "number" "ac_cv_member_XIScrollClassInfo_number" "#include <X11/extensions/XInput2.h>
14127 if test "x$ac_cv_member_XIScrollClassInfo_number" = xyes; then :
14129 have_xinput_2_2=yes
14131 $as_echo "#define XINPUT_2_2 1" >>confdefs.h
14141 LIBS="$clutter_save_LIBS"
14143 X11_LIBS="$X11_LIBS $XINPUT_LIBS"
14144 X11_PC_FILES="$X11_PC_FILES xi"
14146 if test "x$have_xinput_2_2" = "xyes"; then :
14147 X11_EXTS="$X11_EXTS xi2.2"
14149 X11_EXTS="$X11_EXTS xi2.0"
14153 have_xinput2=no ;; #(
14155 as_fn_error $? "Invalid argument for --enable-xinput" "$LINENO" 5
14162 clutter_save_CPPFLAGS="$CPPFLAGS"
14163 CPPFLAGS="$CPPFLAGS $X11_CFLAGS"
14165 clutter_save_LIBS="$LIBS"
14166 LIBS="$LIBS $X11_LIBS"
14169 ac_fn_c_check_func "$LINENO" "XkbQueryExtension" "ac_cv_func_XkbQueryExtension"
14170 if test "x$ac_cv_func_XkbQueryExtension" = xyes; then :
14173 $as_echo "#define HAVE_XKB 1" >>confdefs.h
14177 X11_EXTS="$X11_EXTS xkb"
14182 CPPFLAGS="$clutter_save_CPPFLAGS"
14183 LIBS="$clutter_save_LIBS"
14186 BACKEND_PC_FILES="$BACKEND_PC_FILES $X11_PC_FILES"
14187 FLAVOUR_LIBS="$FLAVOUR_LIBS $X11_LIBS"
14188 FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS $X11_CFLAGS"
14193 if test "x$have_xinput2" = "xyes"; then
14195 BUILD_XI2_FALSE='#'
14201 if test "x$x11_tests" = "xyes"; then
14203 X11_TESTS_FALSE='#'
14210 X11_EXTS=${X11_EXTS#* }
14212 cat >confcache <<\_ACEOF
14213 # This file is a shell script that caches the results of configure
14214 # tests run on this system so they can be shared between configure
14215 # scripts and configure runs, see configure's option --config-cache.
14216 # It is not useful on other systems. If it contains results you don't
14217 # want to keep, you may remove or edit it.
14219 # config.status only pays attention to the cache file if you give it
14220 # the --recheck option to rerun configure.
14222 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14223 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14224 # following values.
14228 # The following way of writing the cache mishandles newlines in values,
14229 # but we know of no workaround that is simple, portable, and efficient.
14230 # So, we kill variables containing newlines.
14231 # Ultrix sh set writes to stderr and can't be redirected directly,
14232 # and sets the high bit in the cache file unless we assign to the vars.
14234 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14235 eval ac_val=\$$ac_var
14239 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14240 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14243 _ | IFS | as_nl) ;; #(
14244 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14245 *) { eval $ac_var=; unset $ac_var;} ;;
14251 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14252 *${as_nl}ac_space=\ *)
14253 # `set' does not quote correctly, so add quotes: double-quote
14254 # substitution turns \\\\ into \\, and sed turns \\ into \.
14257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14260 # `set' quotes correctly as required by POSIX, so do not add quotes.
14261 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14270 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14272 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14274 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14275 if test -w "$cache_file"; then
14276 if test "x$cache_file" != "x/dev/null"; then
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14278 $as_echo "$as_me: updating cache $cache_file" >&6;}
14279 if test ! -f "$cache_file" || test -h "$cache_file"; then
14280 cat confcache >"$cache_file"
14282 case $cache_file in #(
14284 mv -f confcache "$cache_file"$$ &&
14285 mv -f "$cache_file"$$ "$cache_file" ;; #(
14287 mv -f confcache "$cache_file" ;;
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14293 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14300 # Check whether --enable-gdk-pixbuf was given.
14301 if test "${enable_gdk_pixbuf+set}" = set; then :
14302 enableval=$enable_gdk_pixbuf; enable_pixbuf=$enable_val
14308 case $enable_pixbuf in #(
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
14314 $as_echo_n "checking for GDK_PIXBUF... " >&6; }
14316 if test -n "$GDK_PIXBUF_CFLAGS"; then
14317 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
14318 elif test -n "$PKG_CONFIG"; then
14319 if test -n "$PKG_CONFIG" && \
14320 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14321 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14324 test $ac_status = 0; }; then
14325 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
14332 if test -n "$GDK_PIXBUF_LIBS"; then
14333 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
14334 elif test -n "$PKG_CONFIG"; then
14335 if test -n "$PKG_CONFIG" && \
14336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14337 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14340 test $ac_status = 0; }; then
14341 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
14351 if test $pkg_failed = yes; then
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14353 $as_echo "no" >&6; }
14355 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14356 _pkg_short_errors_supported=yes
14358 _pkg_short_errors_supported=no
14360 if test $_pkg_short_errors_supported = yes; then
14361 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdk-pixbuf-2.0" 2>&1`
14363 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdk-pixbuf-2.0" 2>&1`
14365 # Put the nasty error message in config.log where it belongs
14366 echo "$GDK_PIXBUF_PKG_ERRORS" >&5
14368 as_fn_error $? "Package requirements (gdk-pixbuf-2.0) were not met:
14370 $GDK_PIXBUF_PKG_ERRORS
14372 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14373 installed software in a non-standard prefix.
14375 Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
14376 and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
14377 See the pkg-config man page for more details." "$LINENO" 5
14379 elif test $pkg_failed = untried; then
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14381 $as_echo "no" >&6; }
14382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14384 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14385 is in your PATH or set the PKG_CONFIG environment variable to the full
14386 path to pkg-config.
14388 Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
14389 and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
14390 See the pkg-config man page for more details.
14392 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14393 See \`config.log' for more details" "$LINENO" 5; }
14396 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
14397 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14399 $as_echo "yes" >&6; }
14415 if test "x$pixbuf_tests" = "xyes"; then
14417 PIXBUF_TESTS_FALSE='#'
14419 PIXBUF_TESTS_TRUE='#'
14420 PIXBUF_TESTS_FALSE=
14426 # Check whether --enable-debug was given.
14427 if test "${enable_debug+set}" = set; then :
14428 enableval=$enable_debug;
14430 enable_debug=minimum
14434 case $enable_debug in #(
14437 test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
14438 CLUTTER_DEBUG_CFLAGS="-DCLUTTER_ENABLE_DEBUG"
14441 CLUTTER_DEBUG_CFLAGS="-DCLUTTER_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS" ;; #(
14443 CLUTTER_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS" ;; #(
14445 as_fn_error $? "Unknown argument for --enable-debug" "$LINENO" 5
14454 # Check whether --enable-deprecated was given.
14455 if test "${enable_deprecated+set}" = set; then :
14456 enableval=$enable_deprecated;
14458 enable_deprecated=yes
14462 case $enable_deprecated in #(
14465 CLUTTER_DEPRECATED_CFLAGS="-DG_DISABLE_SINGLE_INCLUDES -DCOGL_DISABLE_DEPRECATED"
14469 CLUTTER_DEPRECATED_CFLAGS="-DGLIB_DISABLE_DEPRECATION_WARNINGS"
14472 as_fn_error $? "Unknown argument for --enable-deprecated" "$LINENO" 5
14480 # Check whether --enable-conformance was given.
14481 if test "${enable_conformance+set}" = set; then :
14482 enableval=$enable_conformance;
14484 enable_conformance=yes
14488 if test "x$enable_conformance" = "xyes"; then
14490 BUILD_TESTS_FALSE='#'
14492 BUILD_TESTS_TRUE='#'
14499 # Check whether --enable-profile was given.
14500 if test "${enable_profile+set}" = set; then :
14501 enableval=$enable_profile;
14507 case $enable_profile in #(
14510 if test "x$GCC" = "xyes"; then :
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PROFILE_DEP" >&5
14515 $as_echo_n "checking for PROFILE_DEP... " >&6; }
14517 if test -n "$PROFILE_DEP_CFLAGS"; then
14518 pkg_cv_PROFILE_DEP_CFLAGS="$PROFILE_DEP_CFLAGS"
14519 elif test -n "$PKG_CONFIG"; then
14520 if test -n "$PKG_CONFIG" && \
14521 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uprof-0.3\""; } >&5
14522 ($PKG_CONFIG --exists --print-errors "uprof-0.3") 2>&5
14524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14525 test $ac_status = 0; }; then
14526 pkg_cv_PROFILE_DEP_CFLAGS=`$PKG_CONFIG --cflags "uprof-0.3" 2>/dev/null`
14533 if test -n "$PROFILE_DEP_LIBS"; then
14534 pkg_cv_PROFILE_DEP_LIBS="$PROFILE_DEP_LIBS"
14535 elif test -n "$PKG_CONFIG"; then
14536 if test -n "$PKG_CONFIG" && \
14537 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uprof-0.3\""; } >&5
14538 ($PKG_CONFIG --exists --print-errors "uprof-0.3") 2>&5
14540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14541 test $ac_status = 0; }; then
14542 pkg_cv_PROFILE_DEP_LIBS=`$PKG_CONFIG --libs "uprof-0.3" 2>/dev/null`
14552 if test $pkg_failed = yes; then
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14554 $as_echo "no" >&6; }
14556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14557 _pkg_short_errors_supported=yes
14559 _pkg_short_errors_supported=no
14561 if test $_pkg_short_errors_supported = yes; then
14562 PROFILE_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "uprof-0.3" 2>&1`
14564 PROFILE_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors "uprof-0.3" 2>&1`
14566 # Put the nasty error message in config.log where it belongs
14567 echo "$PROFILE_DEP_PKG_ERRORS" >&5
14569 as_fn_error $? "Package requirements (uprof-0.3) were not met:
14571 $PROFILE_DEP_PKG_ERRORS
14573 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14574 installed software in a non-standard prefix.
14576 Alternatively, you may set the environment variables PROFILE_DEP_CFLAGS
14577 and PROFILE_DEP_LIBS to avoid the need to call pkg-config.
14578 See the pkg-config man page for more details." "$LINENO" 5
14580 elif test $pkg_failed = untried; then
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14582 $as_echo "no" >&6; }
14583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14585 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14586 is in your PATH or set the PKG_CONFIG environment variable to the full
14587 path to pkg-config.
14589 Alternatively, you may set the environment variables PROFILE_DEP_CFLAGS
14590 and PROFILE_DEP_LIBS to avoid the need to call pkg-config.
14591 See the pkg-config man page for more details.
14593 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14594 See \`config.log' for more details" "$LINENO" 5; }
14597 PROFILE_DEP_CFLAGS=$pkg_cv_PROFILE_DEP_CFLAGS
14598 PROFILE_DEP_LIBS=$pkg_cv_PROFILE_DEP_LIBS
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14600 $as_echo "yes" >&6; }
14603 CLUTTER_PROFILE_CFLAGS="-DCLUTTER_ENABLE_PROFILE $PROFILE_DEP_CFLAGS"
14604 CLUTTER_PROFILE_LDFLAGS="$PROFILE_DEP_LIBS"
14606 if test "x$enable_debug" = "xyes"; then :
14607 CLUTTER_PROFILE_CFLAGS+=" -DUPROF_DEBUG"
14612 as_fn_error $? "--enable-profile is currently only supported if using GCC" "$LINENO" 5
14618 CLUTTER_PROFILE_CFLAGS=""
14619 CLUTTER_PROFILE_LDFLAGS=""
14622 as_fn_error $? "Invalid value for --enable-profile" "$LINENO" 5
14627 if test "x$enable_profile" != "xno"; then
14639 # Extract the first word of "gcov", so it can be a program name with args.
14640 set dummy gcov; ac_word=$2
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14642 $as_echo_n "checking for $ac_word... " >&6; }
14643 if ${ac_cv_path_GCOV+:} false; then :
14644 $as_echo_n "(cached) " >&6
14648 ac_cv_path_GCOV="$GCOV" # Let the user override the test with a path.
14651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14652 for as_dir in $PATH
14655 test -z "$as_dir" && as_dir=.
14656 for ac_exec_ext in '' $ac_executable_extensions; do
14657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14658 ac_cv_path_GCOV="$as_dir/$ac_word$ac_exec_ext"
14659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14666 test -z "$ac_cv_path_GCOV" && ac_cv_path_GCOV="enable_gcov=no"
14670 GCOV=$ac_cv_path_GCOV
14671 if test -n "$GCOV"; then
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
14673 $as_echo "$GCOV" >&6; }
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14676 $as_echo "no" >&6; }
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with gcov testing" >&5
14682 $as_echo_n "checking whether to build with gcov testing... " >&6; }
14684 # Check whether --enable-gcov was given.
14685 if test "${enable_gcov+set}" = set; then :
14686 enableval=$enable_gcov;
14692 if test "x$enable_gcov" = "xyes" && test "x$GCC" = "xyes"; then :
14694 if test "x$enable_conformance" = "xno"; then :
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Conformance test suite is disabled, the coverage report will be incomplete" >&5
14696 $as_echo "$as_me: WARNING: Conformance test suite is disabled, the coverage report will be incomplete" >&2;}
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14699 $as_echo "yes" >&6; }
14703 GCOV_CFLAGS="-g -O0 -fprofile-arcs -ftest-coverage"
14704 GCOV_LDFLAGS="-lgcov"
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14708 $as_echo "no" >&6; }
14712 if test "x$enable_gcov" = "xyes"; then
14714 GCOV_ENABLED_FALSE='#'
14716 GCOV_ENABLED_TRUE='#'
14717 GCOV_ENABLED_FALSE=
14724 # use strict compiler flags only when building from git; the rules for
14725 # distcheck will take care of turning this on when making a release
14727 # Check whether --enable-maintainer-flags was given.
14728 if test "${enable_maintainer_flags+set}" = set; then :
14729 enableval=$enable_maintainer_flags;
14731 enable_maintainer_flags=no
14735 MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS
14736 -Wall -Wcast-align -Wuninitialized
14737 -Wno-strict-aliasing -Wempty-body -Wformat
14738 -Wformat-security -Wformat-nonliteral -Winit-self
14739 -Wdeclaration-after-statement -Wvla
14740 -Wpointer-arith -Wmissing-declarations
14741 -Waggregate-returns -Wcast-align
14744 case $enable_maintainer_flags in #(
14748 list=$MAINTAINER_COMPILER_FLAGS
14750 flags_unsupported=""
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
14752 $as_echo_n "checking for supported compiler flags... " >&6; }
14755 save_CFLAGS="$CFLAGS"
14756 CFLAGS="$CFLAGS $each"
14757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14768 if ac_fn_c_try_compile "$LINENO"; then :
14773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14774 CFLAGS="$save_CFLAGS"
14776 if test "X$flag_ok" = Xyes ; then
14777 flags_supported="$flags_supported $each"
14779 flags_unsupported="$flags_unsupported $each"
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
14783 $as_echo "$flags_supported" >&6; }
14784 if test "X$flags_unsupported" != X ; then
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
14786 $as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
14788 MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
14796 MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS -Werror"
14798 list=$MAINTAINER_COMPILER_FLAGS
14800 flags_unsupported=""
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
14802 $as_echo_n "checking for supported compiler flags... " >&6; }
14805 save_CFLAGS="$CFLAGS"
14806 CFLAGS="$CFLAGS $each"
14807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14818 if ac_fn_c_try_compile "$LINENO"; then :
14823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14824 CFLAGS="$save_CFLAGS"
14826 if test "X$flag_ok" = Xyes ; then
14827 flags_supported="$flags_supported $each"
14829 flags_unsupported="$flags_unsupported $each"
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
14833 $as_echo "$flags_supported" >&6; }
14834 if test "X$flags_unsupported" != X ; then
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
14836 $as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
14838 MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
14842 as_fn_error $? "Invalid option for --enable-maintainer-flags" "$LINENO" 5
14848 # strip leading spaces
14849 MAINTAINER_CFLAGS=${MAINTAINER_CFLAGS#* }
14852 # strip leading space
14853 BACKEND_PC_FILES=${BACKEND_PC_FILES#* }
14855 # public dependencies, will fill the Requires: field of clutter.pc
14856 CLUTTER_REQUIRES="$CLUTTER_BASE_PC_FILES $BACKEND_PC_FILES"
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_DEPS" >&5
14860 $as_echo_n "checking for CLUTTER_DEPS... " >&6; }
14862 if test -n "$CLUTTER_DEPS_CFLAGS"; then
14863 pkg_cv_CLUTTER_DEPS_CFLAGS="$CLUTTER_DEPS_CFLAGS"
14864 elif test -n "$PKG_CONFIG"; then
14865 if test -n "$PKG_CONFIG" && \
14866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES\""; } >&5
14867 ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES") 2>&5
14869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14870 test $ac_status = 0; }; then
14871 pkg_cv_CLUTTER_DEPS_CFLAGS=`$PKG_CONFIG --cflags "$CLUTTER_REQUIRES" 2>/dev/null`
14878 if test -n "$CLUTTER_DEPS_LIBS"; then
14879 pkg_cv_CLUTTER_DEPS_LIBS="$CLUTTER_DEPS_LIBS"
14880 elif test -n "$PKG_CONFIG"; then
14881 if test -n "$PKG_CONFIG" && \
14882 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES\""; } >&5
14883 ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES") 2>&5
14885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14886 test $ac_status = 0; }; then
14887 pkg_cv_CLUTTER_DEPS_LIBS=`$PKG_CONFIG --libs "$CLUTTER_REQUIRES" 2>/dev/null`
14897 if test $pkg_failed = yes; then
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14899 $as_echo "no" >&6; }
14901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14902 _pkg_short_errors_supported=yes
14904 _pkg_short_errors_supported=no
14906 if test $_pkg_short_errors_supported = yes; then
14907 CLUTTER_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$CLUTTER_REQUIRES" 2>&1`
14909 CLUTTER_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "$CLUTTER_REQUIRES" 2>&1`
14911 # Put the nasty error message in config.log where it belongs
14912 echo "$CLUTTER_DEPS_PKG_ERRORS" >&5
14914 as_fn_error $? "Package requirements ($CLUTTER_REQUIRES) were not met:
14916 $CLUTTER_DEPS_PKG_ERRORS
14918 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14919 installed software in a non-standard prefix.
14921 Alternatively, you may set the environment variables CLUTTER_DEPS_CFLAGS
14922 and CLUTTER_DEPS_LIBS to avoid the need to call pkg-config.
14923 See the pkg-config man page for more details." "$LINENO" 5
14925 elif test $pkg_failed = untried; then
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14927 $as_echo "no" >&6; }
14928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14930 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14931 is in your PATH or set the PKG_CONFIG environment variable to the full
14932 path to pkg-config.
14934 Alternatively, you may set the environment variables CLUTTER_DEPS_CFLAGS
14935 and CLUTTER_DEPS_LIBS to avoid the need to call pkg-config.
14936 See the pkg-config man page for more details.
14938 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14939 See \`config.log' for more details" "$LINENO" 5; }
14942 CLUTTER_DEPS_CFLAGS=$pkg_cv_CLUTTER_DEPS_CFLAGS
14943 CLUTTER_DEPS_LIBS=$pkg_cv_CLUTTER_DEPS_LIBS
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14945 $as_echo "yes" >&6; }
14949 # private dependencies, will fill the Requires.private: field of clutter.pc
14950 if test "x$CLUTTER_BASE_PC_FILES_PRIVATE" = "x" && test "x$BACKEND_PC_FILES_PRIVATE" = "x"; then :
14952 CLUTTER_REQUIRES_PRIVATE=""
14953 CLUTTER_DEPS_PRIVATE_CFLAGS=""
14954 CLUTTER_DEPS_PRIVATE_LIBS=""
14958 CLUTTER_REQUIRES_PRIVATE="$CLUTTER_BASE_PC_FILES_PRIVATE $BACKEND_PC_FILES_PRIVATE"
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_DEPS_PRIVATE" >&5
14962 $as_echo_n "checking for CLUTTER_DEPS_PRIVATE... " >&6; }
14964 if test -n "$CLUTTER_DEPS_PRIVATE_CFLAGS"; then
14965 pkg_cv_CLUTTER_DEPS_PRIVATE_CFLAGS="$CLUTTER_DEPS_PRIVATE_CFLAGS"
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_PRIVATE\""; } >&5
14969 ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES_PRIVATE") 2>&5
14971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14972 test $ac_status = 0; }; then
14973 pkg_cv_CLUTTER_DEPS_PRIVATE_CFLAGS=`$PKG_CONFIG --cflags "$CLUTTER_REQUIRES_PRIVATE" 2>/dev/null`
14980 if test -n "$CLUTTER_DEPS_PRIVATE_LIBS"; then
14981 pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS="$CLUTTER_DEPS_PRIVATE_LIBS"
14982 elif test -n "$PKG_CONFIG"; then
14983 if test -n "$PKG_CONFIG" && \
14984 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES_PRIVATE\""; } >&5
14985 ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES_PRIVATE") 2>&5
14987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14988 test $ac_status = 0; }; then
14989 pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS=`$PKG_CONFIG --libs "$CLUTTER_REQUIRES_PRIVATE" 2>/dev/null`
14999 if test $pkg_failed = yes; then
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15001 $as_echo "no" >&6; }
15003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15004 _pkg_short_errors_supported=yes
15006 _pkg_short_errors_supported=no
15008 if test $_pkg_short_errors_supported = yes; then
15009 CLUTTER_DEPS_PRIVATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$CLUTTER_REQUIRES_PRIVATE" 2>&1`
15011 CLUTTER_DEPS_PRIVATE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$CLUTTER_REQUIRES_PRIVATE" 2>&1`
15013 # Put the nasty error message in config.log where it belongs
15014 echo "$CLUTTER_DEPS_PRIVATE_PKG_ERRORS" >&5
15016 as_fn_error $? "Package requirements ($CLUTTER_REQUIRES_PRIVATE) were not met:
15018 $CLUTTER_DEPS_PRIVATE_PKG_ERRORS
15020 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15021 installed software in a non-standard prefix.
15023 Alternatively, you may set the environment variables CLUTTER_DEPS_PRIVATE_CFLAGS
15024 and CLUTTER_DEPS_PRIVATE_LIBS to avoid the need to call pkg-config.
15025 See the pkg-config man page for more details." "$LINENO" 5
15027 elif test $pkg_failed = untried; then
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15029 $as_echo "no" >&6; }
15030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15032 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15033 is in your PATH or set the PKG_CONFIG environment variable to the full
15034 path to pkg-config.
15036 Alternatively, you may set the environment variables CLUTTER_DEPS_PRIVATE_CFLAGS
15037 and CLUTTER_DEPS_PRIVATE_LIBS to avoid the need to call pkg-config.
15038 See the pkg-config man page for more details.
15040 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15041 See \`config.log' for more details" "$LINENO" 5; }
15044 CLUTTER_DEPS_PRIVATE_CFLAGS=$pkg_cv_CLUTTER_DEPS_PRIVATE_CFLAGS
15045 CLUTTER_DEPS_PRIVATE_LIBS=$pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15047 $as_echo "yes" >&6; }
15056 CLUTTER_CFLAGS="$FLAVOUR_CFLAGS $CLUTTER_DEPS_CFLAGS $CLUTTER_DEPS_PRIVATE_CFLAGS $CLUTTER_PROFILE_CFLAGS $GLIB_CFLAGS"
15057 CLUTTER_LIBS="$FLAVOUR_LIBS $CLUTTER_DEPS_LIBS $CLUTTER_DEPS_PRIVATE_LIBS $CLUTTER_PROFILE_LDFLAGS $GLIB_LIBS"
15066 # Check whether --enable-introspection was given.
15067 if test "${enable_introspection+set}" = set; then :
15068 enableval=$enable_introspection;
15070 enable_introspection=auto
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
15075 $as_echo_n "checking for gobject-introspection... " >&6; }
15077 case $enable_introspection in #(
15079 found_introspection="no (disabled, use --enable-introspection to enable)"
15082 if test -n "$PKG_CONFIG" && \
15083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
15084 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
15086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15087 test $ac_status = 0; }; then
15090 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
15092 if test -n "$PKG_CONFIG" && \
15093 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
15094 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15097 test $ac_status = 0; }; then
15098 found_introspection=yes
15100 as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build clutter" "$LINENO" 5
15104 if test -n "$PKG_CONFIG" && \
15105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
15106 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15109 test $ac_status = 0; }; then
15110 found_introspection=yes
15112 found_introspection=no
15116 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
15120 $as_echo "$found_introspection" >&6; }
15122 INTROSPECTION_SCANNER=
15123 INTROSPECTION_COMPILER=
15124 INTROSPECTION_GENERATE=
15125 INTROSPECTION_GIRDIR=
15126 INTROSPECTION_TYPELIBDIR=
15127 if test "x$found_introspection" = "xyes"; then
15128 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
15129 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
15130 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
15131 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
15132 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
15133 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
15134 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
15135 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
15146 if test "x$found_introspection" = "xyes"; then
15147 HAVE_INTROSPECTION_TRUE=
15148 HAVE_INTROSPECTION_FALSE='#'
15150 HAVE_INTROSPECTION_TRUE='#'
15151 HAVE_INTROSPECTION_FALSE=
15161 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
15162 set dummy gtkdoc-check; ac_word=$2
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15164 $as_echo_n "checking for $ac_word... " >&6; }
15165 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
15166 $as_echo_n "(cached) " >&6
15168 case $GTKDOC_CHECK in
15170 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
15173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15174 for as_dir in $PATH
15177 test -z "$as_dir" && as_dir=.
15178 for ac_exec_ext in '' $ac_executable_extensions; do
15179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15180 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
15181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15191 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
15192 if test -n "$GTKDOC_CHECK"; then
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
15194 $as_echo "$GTKDOC_CHECK" >&6; }
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15197 $as_echo "no" >&6; }
15201 for ac_prog in gtkdoc-rebase
15203 # Extract the first word of "$ac_prog", so it can be a program name with args.
15204 set dummy $ac_prog; ac_word=$2
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15206 $as_echo_n "checking for $ac_word... " >&6; }
15207 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
15208 $as_echo_n "(cached) " >&6
15210 case $GTKDOC_REBASE in
15212 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
15215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15216 for as_dir in $PATH
15219 test -z "$as_dir" && as_dir=.
15220 for ac_exec_ext in '' $ac_executable_extensions; do
15221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15222 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
15223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15233 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
15234 if test -n "$GTKDOC_REBASE"; then
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
15236 $as_echo "$GTKDOC_REBASE" >&6; }
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15239 $as_echo "no" >&6; }
15243 test -n "$GTKDOC_REBASE" && break
15245 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
15247 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
15248 set dummy gtkdoc-mkpdf; 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_MKPDF+:} false; then :
15252 $as_echo_n "(cached) " >&6
15254 case $GTKDOC_MKPDF in
15256 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # 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_MKPDF="$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_MKPDF=$ac_cv_path_GTKDOC_MKPDF
15278 if test -n "$GTKDOC_MKPDF"; then
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
15280 $as_echo "$GTKDOC_MKPDF" >&6; }
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15283 $as_echo "no" >&6; }
15289 # Check whether --with-html-dir was given.
15290 if test "${with_html_dir+set}" = set; then :
15291 withval=$with_html_dir;
15293 with_html_dir='${datadir}/gtk-doc/html'
15296 HTML_DIR="$with_html_dir"
15299 # Check whether --enable-gtk-doc was given.
15300 if test "${enable_gtk_doc+set}" = set; then :
15301 enableval=$enable_gtk_doc;
15307 if test x$enable_gtk_doc = xyes; then
15308 if test -n "$PKG_CONFIG" && \
15309 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
15310 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
15312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15313 test $ac_status = 0; }; then
15316 as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
15318 if test "x$PACKAGE_NAME" != "xglib"; then
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
15322 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
15324 if test -n "$GTKDOC_DEPS_CFLAGS"; then
15325 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
15326 elif test -n "$PKG_CONFIG"; then
15327 if test -n "$PKG_CONFIG" && \
15328 { { $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
15329 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
15331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15332 test $ac_status = 0; }; then
15333 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
15340 if test -n "$GTKDOC_DEPS_LIBS"; then
15341 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
15342 elif test -n "$PKG_CONFIG"; then
15343 if test -n "$PKG_CONFIG" && \
15344 { { $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
15345 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
15347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15348 test $ac_status = 0; }; then
15349 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
15359 if test $pkg_failed = yes; then
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15361 $as_echo "no" >&6; }
15363 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15364 _pkg_short_errors_supported=yes
15366 _pkg_short_errors_supported=no
15368 if test $_pkg_short_errors_supported = yes; then
15369 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
15371 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
15373 # Put the nasty error message in config.log where it belongs
15374 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
15376 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
15378 $GTKDOC_DEPS_PKG_ERRORS
15380 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15381 installed software in a non-standard prefix.
15383 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
15384 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
15385 See the pkg-config man page for more details." "$LINENO" 5
15387 elif test $pkg_failed = untried; then
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15389 $as_echo "no" >&6; }
15390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15392 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15393 is in your PATH or set the PKG_CONFIG environment variable to the full
15394 path to pkg-config.
15396 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
15397 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
15398 See the pkg-config man page for more details.
15400 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15401 See \`config.log' for more details" "$LINENO" 5; }
15404 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
15405 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15407 $as_echo "yes" >&6; }
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15414 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15416 $as_echo "$enable_gtk_doc" >&6; }
15418 # Check whether --enable-gtk-doc-html was given.
15419 if test "${enable_gtk_doc_html+set}" = set; then :
15420 enableval=$enable_gtk_doc_html;
15422 enable_gtk_doc_html=yes
15425 # Check whether --enable-gtk-doc-pdf was given.
15426 if test "${enable_gtk_doc_pdf+set}" = set; then :
15427 enableval=$enable_gtk_doc_pdf;
15429 enable_gtk_doc_pdf=no
15433 if test -z "$GTKDOC_MKPDF"; then
15434 enable_gtk_doc_pdf=no
15438 if test x$enable_gtk_doc = xyes; then
15439 ENABLE_GTK_DOC_TRUE=
15440 ENABLE_GTK_DOC_FALSE='#'
15442 ENABLE_GTK_DOC_TRUE='#'
15443 ENABLE_GTK_DOC_FALSE=
15446 if test x$enable_gtk_doc_html = xyes; then
15447 GTK_DOC_BUILD_HTML_TRUE=
15448 GTK_DOC_BUILD_HTML_FALSE='#'
15450 GTK_DOC_BUILD_HTML_TRUE='#'
15451 GTK_DOC_BUILD_HTML_FALSE=
15454 if test x$enable_gtk_doc_pdf = xyes; then
15455 GTK_DOC_BUILD_PDF_TRUE=
15456 GTK_DOC_BUILD_PDF_FALSE='#'
15458 GTK_DOC_BUILD_PDF_TRUE='#'
15459 GTK_DOC_BUILD_PDF_FALSE=
15462 if test -n "$LIBTOOL"; then
15463 GTK_DOC_USE_LIBTOOL_TRUE=
15464 GTK_DOC_USE_LIBTOOL_FALSE='#'
15466 GTK_DOC_USE_LIBTOOL_TRUE='#'
15467 GTK_DOC_USE_LIBTOOL_FALSE=
15470 if test -n "$GTKDOC_REBASE"; then
15471 GTK_DOC_USE_REBASE_TRUE=
15472 GTK_DOC_USE_REBASE_FALSE='#'
15474 GTK_DOC_USE_REBASE_TRUE='#'
15475 GTK_DOC_USE_REBASE_FALSE=
15480 # we don't want to build the documentation from a Git clone unless we
15481 # explicitly tell configure to do so; this allows avoiding to recurse into
15482 # the documentation directory when building Clutter inside Poky for a
15483 # target device that doesn't have gtk-doc installed. for reference
15484 # see: http://bugzilla.openedhand.com/show_bug.cgi?id=1047
15486 # we use autogen.sh as it exists only inside the Git clones, and it
15487 # is not packaged into tarballs.
15488 if test "x$enable_gtk_doc" = "xyes" || test ! -f "autogen.sh"; then
15489 BUILD_GTK_DOC_TRUE=
15490 BUILD_GTK_DOC_FALSE='#'
15492 BUILD_GTK_DOC_TRUE='#'
15493 BUILD_GTK_DOC_FALSE=
15497 # prefixes for fixing gtk-doc references
15498 CAIRO_PREFIX="`$PKG_CONFIG --variable=prefix cairo`"
15499 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
15500 PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
15501 COGL_PREFIX="`$PKG_CONFIG --variable=prefix cogl-1.0`"
15502 ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`"
15510 # Check whether --enable-docs was given.
15511 if test "${enable_docs+set}" = set; then :
15512 enableval=$enable_docs; enable_docs=$enableval
15519 if test "x$enable_docs" = "xyes"; then :
15521 # Extract the first word of "jw", so it can be a program name with args.
15522 set dummy jw; ac_word=$2
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15524 $as_echo_n "checking for $ac_word... " >&6; }
15525 if ${ac_cv_path_JW+:} false; then :
15526 $as_echo_n "(cached) " >&6
15530 ac_cv_path_JW="$JW" # Let the user override the test with a path.
15533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15534 for as_dir in $PATH
15537 test -z "$as_dir" && as_dir=.
15538 for ac_exec_ext in '' $ac_executable_extensions; do
15539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15540 ac_cv_path_JW="$as_dir/$ac_word$ac_exec_ext"
15541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15548 test -z "$ac_cv_path_JW" && ac_cv_path_JW="no"
15553 if test -n "$JW"; then
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JW" >&5
15555 $as_echo "$JW" >&6; }
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15558 $as_echo "no" >&6; }
15562 if test "x$JW" = "xno"; then :
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: jw not found; pdf generation has been disabled" >&5
15565 $as_echo "$as_me: WARNING: jw not found; pdf generation has been disabled" >&2;}
15571 # Extract the first word of "xsltproc", so it can be a program name with args.
15572 set dummy xsltproc; ac_word=$2
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15574 $as_echo_n "checking for $ac_word... " >&6; }
15575 if ${ac_cv_path_XSLTPROC+:} false; then :
15576 $as_echo_n "(cached) " >&6
15580 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15584 for as_dir in $PATH
15587 test -z "$as_dir" && as_dir=.
15588 for ac_exec_ext in '' $ac_executable_extensions; do
15589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15590 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15598 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
15602 XSLTPROC=$ac_cv_path_XSLTPROC
15603 if test -n "$XSLTPROC"; then
15604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15605 $as_echo "$XSLTPROC" >&6; }
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15608 $as_echo "no" >&6; }
15612 if test "x$XSLTPROC" = "xno"; then :
15614 as_fn_error $? "xsltproc not found" "$LINENO" 5
15621 if test "x$enable_docs" = "xyes"; then
15623 ENABLE_DOCS_FALSE='#'
15625 ENABLE_DOCS_TRUE='#'
15629 if test "x$enable_pdfs" = "xyes"; then
15631 ENABLE_PDFS_FALSE='#'
15633 ENABLE_PDFS_TRUE='#'
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15642 $as_echo_n "checking whether NLS is requested... " >&6; }
15643 # Check whether --enable-nls was given.
15644 if test "${enable_nls+set}" = set; then :
15645 enableval=$enable_nls; USE_NLS=$enableval
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15651 $as_echo "$USE_NLS" >&6; }
15656 GETTEXT_MACRO_VERSION=0.17
15661 # Prepare PATH_SEPARATOR.
15662 # The user is always right.
15663 if test "${PATH_SEPARATOR+set}" != set; then
15664 echo "#! /bin/sh" >conf$$.sh
15665 echo "exit 0" >>conf$$.sh
15667 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15675 # Find out how to test for executable files. Don't use a zero-byte file,
15676 # as systems may use methods other than mode bits to determine executability.
15677 cat >conf$$.file <<_ASEOF
15681 chmod +x conf$$.file
15682 if test -x conf$$.file >/dev/null 2>&1; then
15683 ac_executable_p="test -x"
15685 ac_executable_p="test -f"
15689 # Extract the first word of "msgfmt", so it can be a program name with args.
15690 set dummy msgfmt; ac_word=$2
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15692 $as_echo_n "checking for $ac_word... " >&6; }
15693 if ${ac_cv_path_MSGFMT+:} false; then :
15694 $as_echo_n "(cached) " >&6
15698 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15701 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15702 for ac_dir in $PATH; do
15704 test -z "$ac_dir" && ac_dir=.
15705 for ac_exec_ext in '' $ac_executable_extensions; do
15706 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15707 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15708 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
15709 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15710 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
15717 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
15721 MSGFMT="$ac_cv_path_MSGFMT"
15722 if test "$MSGFMT" != ":"; then
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15724 $as_echo "$MSGFMT" >&6; }
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15727 $as_echo "no" >&6; }
15730 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15731 set dummy gmsgfmt; ac_word=$2
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15733 $as_echo_n "checking for $ac_word... " >&6; }
15734 if ${ac_cv_path_GMSGFMT+:} false; then :
15735 $as_echo_n "(cached) " >&6
15739 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15743 for as_dir in $PATH
15746 test -z "$as_dir" && as_dir=.
15747 for ac_exec_ext in '' $ac_executable_extensions; do
15748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15749 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15757 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15761 GMSGFMT=$ac_cv_path_GMSGFMT
15762 if test -n "$GMSGFMT"; then
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15764 $as_echo "$GMSGFMT" >&6; }
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15767 $as_echo "no" >&6; }
15772 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15773 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
15774 *) MSGFMT_015=$MSGFMT ;;
15777 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15778 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
15779 *) GMSGFMT_015=$GMSGFMT ;;
15784 # Prepare PATH_SEPARATOR.
15785 # The user is always right.
15786 if test "${PATH_SEPARATOR+set}" != set; then
15787 echo "#! /bin/sh" >conf$$.sh
15788 echo "exit 0" >>conf$$.sh
15790 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15798 # Find out how to test for executable files. Don't use a zero-byte file,
15799 # as systems may use methods other than mode bits to determine executability.
15800 cat >conf$$.file <<_ASEOF
15804 chmod +x conf$$.file
15805 if test -x conf$$.file >/dev/null 2>&1; then
15806 ac_executable_p="test -x"
15808 ac_executable_p="test -f"
15812 # Extract the first word of "xgettext", so it can be a program name with args.
15813 set dummy xgettext; ac_word=$2
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15815 $as_echo_n "checking for $ac_word... " >&6; }
15816 if ${ac_cv_path_XGETTEXT+:} false; then :
15817 $as_echo_n "(cached) " >&6
15819 case "$XGETTEXT" in
15821 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15824 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15825 for ac_dir in $PATH; do
15827 test -z "$ac_dir" && ac_dir=.
15828 for ac_exec_ext in '' $ac_executable_extensions; do
15829 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15830 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15831 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
15832 (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
15833 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
15840 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15844 XGETTEXT="$ac_cv_path_XGETTEXT"
15845 if test "$XGETTEXT" != ":"; then
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15847 $as_echo "$XGETTEXT" >&6; }
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15850 $as_echo "no" >&6; }
15855 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15856 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
15857 *) XGETTEXT_015=$XGETTEXT ;;
15862 # Prepare PATH_SEPARATOR.
15863 # The user is always right.
15864 if test "${PATH_SEPARATOR+set}" != set; then
15865 echo "#! /bin/sh" >conf$$.sh
15866 echo "exit 0" >>conf$$.sh
15868 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15876 # Find out how to test for executable files. Don't use a zero-byte file,
15877 # as systems may use methods other than mode bits to determine executability.
15878 cat >conf$$.file <<_ASEOF
15882 chmod +x conf$$.file
15883 if test -x conf$$.file >/dev/null 2>&1; then
15884 ac_executable_p="test -x"
15886 ac_executable_p="test -f"
15890 # Extract the first word of "msgmerge", so it can be a program name with args.
15891 set dummy msgmerge; ac_word=$2
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15893 $as_echo_n "checking for $ac_word... " >&6; }
15894 if ${ac_cv_path_MSGMERGE+:} false; then :
15895 $as_echo_n "(cached) " >&6
15897 case "$MSGMERGE" in
15899 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
15902 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15903 for ac_dir in $PATH; do
15905 test -z "$ac_dir" && ac_dir=.
15906 for ac_exec_ext in '' $ac_executable_extensions; do
15907 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15908 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15909 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
15910 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
15917 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
15921 MSGMERGE="$ac_cv_path_MSGMERGE"
15922 if test "$MSGMERGE" != ":"; then
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15924 $as_echo "$MSGMERGE" >&6; }
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15927 $as_echo "no" >&6; }
15931 test -n "$localedir" || localedir='${datadir}/locale'
15934 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
15937 ac_config_commands="$ac_config_commands po-directories"
15941 if test "X$prefix" = "XNONE"; then
15942 acl_final_prefix="$ac_default_prefix"
15944 acl_final_prefix="$prefix"
15946 if test "X$exec_prefix" = "XNONE"; then
15947 acl_final_exec_prefix='${prefix}'
15949 acl_final_exec_prefix="$exec_prefix"
15951 acl_save_prefix="$prefix"
15952 prefix="$acl_final_prefix"
15953 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
15954 prefix="$acl_save_prefix"
15957 # Check whether --with-gnu-ld was given.
15958 if test "${with_gnu_ld+set}" = set; then :
15959 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15964 # Prepare PATH_SEPARATOR.
15965 # The user is always right.
15966 if test "${PATH_SEPARATOR+set}" != set; then
15967 echo "#! /bin/sh" >conf$$.sh
15968 echo "exit 0" >>conf$$.sh
15970 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15978 if test "$GCC" = yes; then
15979 # Check if gcc -print-prog-name=ld gives a path.
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
15981 $as_echo_n "checking for ld used by GCC... " >&6; }
15984 # gcc leaves a trailing carriage return which upsets mingw
15985 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15987 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15990 # Accept absolute paths.
15991 [\\/]* | [A-Za-z]:[\\/]*)
15992 re_direlt='/[^/][^/]*/\.\./'
15993 # Canonicalize the path of ld
15994 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
15995 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15996 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
15998 test -z "$LD" && LD="$ac_prog"
16001 # If it fails, then pretend we aren't using GCC.
16005 # If it is relative, then search for the first ld in PATH.
16006 with_gnu_ld=unknown
16009 elif test "$with_gnu_ld" = yes; then
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16011 $as_echo_n "checking for GNU ld... " >&6; }
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16014 $as_echo_n "checking for non-GNU ld... " >&6; }
16016 if ${acl_cv_path_LD+:} false; then :
16017 $as_echo_n "(cached) " >&6
16019 if test -z "$LD"; then
16020 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16021 for ac_dir in $PATH; do
16022 test -z "$ac_dir" && ac_dir=.
16023 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16024 acl_cv_path_LD="$ac_dir/$ac_prog"
16025 # Check to see if the program is GNU ld. I'd rather use --version,
16026 # but apparently some GNU ld's only accept -v.
16027 # Break only if it was the GNU/non-GNU ld that we prefer.
16028 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16029 *GNU* | *'with BFD'*)
16030 test "$with_gnu_ld" != no && break ;;
16032 test "$with_gnu_ld" != yes && break ;;
16038 acl_cv_path_LD="$LD" # Let the user override the test with a path.
16042 LD="$acl_cv_path_LD"
16043 if test -n "$LD"; then
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16045 $as_echo "$LD" >&6; }
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16048 $as_echo "no" >&6; }
16050 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16052 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16053 if ${acl_cv_prog_gnu_ld+:} false; then :
16054 $as_echo_n "(cached) " >&6
16056 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16057 case `$LD -v 2>&1 </dev/null` in
16058 *GNU* | *'with BFD'*)
16059 acl_cv_prog_gnu_ld=yes ;;
16061 acl_cv_prog_gnu_ld=no ;;
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16065 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16066 with_gnu_ld=$acl_cv_prog_gnu_ld
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16072 $as_echo_n "checking for shared library run path origin... " >&6; }
16073 if ${acl_cv_rpath+:} false; then :
16074 $as_echo_n "(cached) " >&6
16077 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16078 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16080 rm -f ./conftest.sh
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16085 $as_echo "$acl_cv_rpath" >&6; }
16087 acl_libext="$acl_cv_libext"
16088 acl_shlibext="$acl_cv_shlibext"
16089 acl_libname_spec="$acl_cv_libname_spec"
16090 acl_library_names_spec="$acl_cv_library_names_spec"
16091 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16092 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16093 acl_hardcode_direct="$acl_cv_hardcode_direct"
16094 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16095 # Check whether --enable-rpath was given.
16096 if test "${enable_rpath+set}" = set; then :
16097 enableval=$enable_rpath; :
16105 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16106 if test -n "$searchpath"; then
16107 acl_save_IFS="${IFS= }"; IFS=":"
16108 for searchdir in $searchpath; do
16109 if test -d "$searchdir"; then
16110 case "$searchdir" in
16111 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16112 *) searchdir=`cd "$searchdir" && pwd`
16113 case "$searchdir" in
16114 */lib64 ) acl_libdirstem=lib64 ;;
16119 IFS="$acl_save_IFS"
16132 acl_save_prefix="$prefix"
16133 prefix="$acl_final_prefix"
16134 acl_save_exec_prefix="$exec_prefix"
16135 exec_prefix="$acl_final_exec_prefix"
16137 eval additional_includedir=\"$includedir\"
16138 eval additional_libdir=\"$libdir\"
16140 exec_prefix="$acl_save_exec_prefix"
16141 prefix="$acl_save_prefix"
16144 # Check whether --with-libiconv-prefix was given.
16145 if test "${with_libiconv_prefix+set}" = set; then :
16146 withval=$with_libiconv_prefix;
16147 if test "X$withval" = "Xno"; then
16150 if test "X$withval" = "X"; then
16152 acl_save_prefix="$prefix"
16153 prefix="$acl_final_prefix"
16154 acl_save_exec_prefix="$exec_prefix"
16155 exec_prefix="$acl_final_exec_prefix"
16157 eval additional_includedir=\"$includedir\"
16158 eval additional_libdir=\"$libdir\"
16160 exec_prefix="$acl_save_exec_prefix"
16161 prefix="$acl_save_prefix"
16164 additional_includedir="$withval/include"
16165 additional_libdir="$withval/$acl_libdirstem"
16177 names_already_handled=
16178 names_next_round='iconv '
16179 while test -n "$names_next_round"; do
16180 names_this_round="$names_next_round"
16182 for name in $names_this_round; do
16184 for n in $names_already_handled; do
16185 if test "$n" = "$name"; then
16186 already_handled=yes
16190 if test -z "$already_handled"; then
16191 names_already_handled="$names_already_handled $name"
16192 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16193 eval value=\"\$HAVE_LIB$uppername\"
16194 if test -n "$value"; then
16195 if test "$value" = yes; then
16196 eval value=\"\$LIB$uppername\"
16197 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16198 eval value=\"\$LTLIB$uppername\"
16199 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16208 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16209 if test -n "$acl_shlibext"; then
16210 shrext=".$acl_shlibext" # typically: shrext=.so
16214 if test $use_additional = yes; then
16215 dir="$additional_libdir"
16216 if test -n "$acl_shlibext"; then
16217 if test -f "$dir/$libname$shrext"; then
16219 found_so="$dir/$libname$shrext"
16221 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16222 ver=`(cd "$dir" && \
16223 for f in "$libname$shrext".*; do echo "$f"; done \
16224 | sed -e "s,^$libname$shrext\\\\.,," \
16225 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16226 | sed 1q ) 2>/dev/null`
16227 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16229 found_so="$dir/$libname$shrext.$ver"
16232 eval library_names=\"$acl_library_names_spec\"
16233 for f in $library_names; do
16234 if test -f "$dir/$f"; then
16243 if test "X$found_dir" = "X"; then
16244 if test -f "$dir/$libname.$acl_libext"; then
16246 found_a="$dir/$libname.$acl_libext"
16249 if test "X$found_dir" != "X"; then
16250 if test -f "$dir/$libname.la"; then
16251 found_la="$dir/$libname.la"
16255 if test "X$found_dir" = "X"; then
16256 for x in $LDFLAGS $LTLIBICONV; do
16258 acl_save_prefix="$prefix"
16259 prefix="$acl_final_prefix"
16260 acl_save_exec_prefix="$exec_prefix"
16261 exec_prefix="$acl_final_exec_prefix"
16263 exec_prefix="$acl_save_exec_prefix"
16264 prefix="$acl_save_prefix"
16268 dir=`echo "X$x" | sed -e 's/^X-L//'`
16269 if test -n "$acl_shlibext"; then
16270 if test -f "$dir/$libname$shrext"; then
16272 found_so="$dir/$libname$shrext"
16274 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16275 ver=`(cd "$dir" && \
16276 for f in "$libname$shrext".*; do echo "$f"; done \
16277 | sed -e "s,^$libname$shrext\\\\.,," \
16278 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16279 | sed 1q ) 2>/dev/null`
16280 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16282 found_so="$dir/$libname$shrext.$ver"
16285 eval library_names=\"$acl_library_names_spec\"
16286 for f in $library_names; do
16287 if test -f "$dir/$f"; then
16296 if test "X$found_dir" = "X"; then
16297 if test -f "$dir/$libname.$acl_libext"; then
16299 found_a="$dir/$libname.$acl_libext"
16302 if test "X$found_dir" != "X"; then
16303 if test -f "$dir/$libname.la"; then
16304 found_la="$dir/$libname.la"
16309 if test "X$found_dir" != "X"; then
16314 if test "X$found_dir" != "X"; then
16315 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16316 if test "X$found_so" != "X"; then
16317 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
16318 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16321 for x in $ltrpathdirs; do
16322 if test "X$x" = "X$found_dir"; then
16327 if test -z "$haveit"; then
16328 ltrpathdirs="$ltrpathdirs $found_dir"
16330 if test "$acl_hardcode_direct" = yes; then
16331 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16333 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16334 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16336 for x in $rpathdirs; do
16337 if test "X$x" = "X$found_dir"; then
16342 if test -z "$haveit"; then
16343 rpathdirs="$rpathdirs $found_dir"
16347 for x in $LDFLAGS $LIBICONV; do
16349 acl_save_prefix="$prefix"
16350 prefix="$acl_final_prefix"
16351 acl_save_exec_prefix="$exec_prefix"
16352 exec_prefix="$acl_final_exec_prefix"
16354 exec_prefix="$acl_save_exec_prefix"
16355 prefix="$acl_save_prefix"
16357 if test "X$x" = "X-L$found_dir"; then
16362 if test -z "$haveit"; then
16363 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16365 if test "$acl_hardcode_minus_L" != no; then
16366 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16368 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16374 if test "X$found_a" != "X"; then
16375 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16377 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16380 additional_includedir=
16381 case "$found_dir" in
16382 */$acl_libdirstem | */$acl_libdirstem/)
16383 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16384 LIBICONV_PREFIX="$basedir"
16385 additional_includedir="$basedir/include"
16388 if test "X$additional_includedir" != "X"; then
16389 if test "X$additional_includedir" != "X/usr/include"; then
16391 if test "X$additional_includedir" = "X/usr/local/include"; then
16392 if test -n "$GCC"; then
16394 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16398 if test -z "$haveit"; then
16399 for x in $CPPFLAGS $INCICONV; do
16401 acl_save_prefix="$prefix"
16402 prefix="$acl_final_prefix"
16403 acl_save_exec_prefix="$exec_prefix"
16404 exec_prefix="$acl_final_exec_prefix"
16406 exec_prefix="$acl_save_exec_prefix"
16407 prefix="$acl_save_prefix"
16409 if test "X$x" = "X-I$additional_includedir"; then
16414 if test -z "$haveit"; then
16415 if test -d "$additional_includedir"; then
16416 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16422 if test -n "$found_la"; then
16423 save_libdir="$libdir"
16424 case "$found_la" in
16425 */* | *\\*) . "$found_la" ;;
16426 *) . "./$found_la" ;;
16428 libdir="$save_libdir"
16429 for dep in $dependency_libs; do
16432 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16433 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
16435 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
16436 if test -n "$GCC"; then
16438 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16442 if test -z "$haveit"; then
16444 for x in $LDFLAGS $LIBICONV; do
16446 acl_save_prefix="$prefix"
16447 prefix="$acl_final_prefix"
16448 acl_save_exec_prefix="$exec_prefix"
16449 exec_prefix="$acl_final_exec_prefix"
16451 exec_prefix="$acl_save_exec_prefix"
16452 prefix="$acl_save_prefix"
16454 if test "X$x" = "X-L$additional_libdir"; then
16459 if test -z "$haveit"; then
16460 if test -d "$additional_libdir"; then
16461 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16465 for x in $LDFLAGS $LTLIBICONV; do
16467 acl_save_prefix="$prefix"
16468 prefix="$acl_final_prefix"
16469 acl_save_exec_prefix="$exec_prefix"
16470 exec_prefix="$acl_final_exec_prefix"
16472 exec_prefix="$acl_save_exec_prefix"
16473 prefix="$acl_save_prefix"
16475 if test "X$x" = "X-L$additional_libdir"; then
16480 if test -z "$haveit"; then
16481 if test -d "$additional_libdir"; then
16482 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16489 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16490 if test "$enable_rpath" != no; then
16492 for x in $rpathdirs; do
16493 if test "X$x" = "X$dir"; then
16498 if test -z "$haveit"; then
16499 rpathdirs="$rpathdirs $dir"
16502 for x in $ltrpathdirs; do
16503 if test "X$x" = "X$dir"; then
16508 if test -z "$haveit"; then
16509 ltrpathdirs="$ltrpathdirs $dir"
16514 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16517 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16520 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16521 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16527 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16528 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16534 if test "X$rpathdirs" != "X"; then
16535 if test -n "$acl_hardcode_libdir_separator"; then
16537 for found_dir in $rpathdirs; do
16538 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16540 acl_save_libdir="$libdir"
16542 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16543 libdir="$acl_save_libdir"
16544 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16546 for found_dir in $rpathdirs; do
16547 acl_save_libdir="$libdir"
16548 libdir="$found_dir"
16549 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16550 libdir="$acl_save_libdir"
16551 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16555 if test "X$ltrpathdirs" != "X"; then
16556 for found_dir in $ltrpathdirs; do
16557 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
16586 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
16587 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
16588 $as_echo_n "(cached) " >&6
16590 gt_save_LIBS="$LIBS"
16591 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16594 #include <CoreFoundation/CFPreferences.h>
16598 CFPreferencesCopyAppValue(NULL, NULL)
16603 if ac_fn_c_try_link "$LINENO"; then :
16604 gt_cv_func_CFPreferencesCopyAppValue=yes
16606 gt_cv_func_CFPreferencesCopyAppValue=no
16608 rm -f core conftest.err conftest.$ac_objext \
16609 conftest$ac_exeext conftest.$ac_ext
16610 LIBS="$gt_save_LIBS"
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
16613 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
16614 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
16616 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
16620 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
16621 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
16622 $as_echo_n "(cached) " >&6
16624 gt_save_LIBS="$LIBS"
16625 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16628 #include <CoreFoundation/CFLocale.h>
16632 CFLocaleCopyCurrent();
16637 if ac_fn_c_try_link "$LINENO"; then :
16638 gt_cv_func_CFLocaleCopyCurrent=yes
16640 gt_cv_func_CFLocaleCopyCurrent=no
16642 rm -f core conftest.err conftest.$ac_objext \
16643 conftest$ac_exeext conftest.$ac_ext
16644 LIBS="$gt_save_LIBS"
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
16647 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
16648 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16650 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
16654 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16655 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
16667 case " $gt_needs " in
16668 *" need-formatstring-macros "*) gt_api_version=3 ;;
16669 *" need-ngettext "*) gt_api_version=2 ;;
16670 *) gt_api_version=1 ;;
16672 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
16673 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
16675 if test "$USE_NLS" = "yes"; then
16676 gt_use_preinstalled_gnugettext=no
16679 if test $gt_api_version -ge 3; then
16680 gt_revision_test_code='
16681 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
16682 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
16684 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
16687 gt_revision_test_code=
16689 if test $gt_api_version -ge 2; then
16690 gt_expression_test_code=' + * ngettext ("", "", 0)'
16692 gt_expression_test_code=
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
16696 $as_echo_n "checking for GNU gettext in libc... " >&6; }
16697 if eval \${$gt_func_gnugettext_libc+:} false; then :
16698 $as_echo_n "(cached) " >&6
16700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h. */
16702 #include <libintl.h>
16703 $gt_revision_test_code
16704 extern int _nl_msg_cat_cntr;
16705 extern int *_nl_domain_bindings;
16709 bindtextdomain ("", "");
16710 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
16715 if ac_fn_c_try_link "$LINENO"; then :
16716 eval "$gt_func_gnugettext_libc=yes"
16718 eval "$gt_func_gnugettext_libc=no"
16720 rm -f core conftest.err conftest.$ac_objext \
16721 conftest$ac_exeext conftest.$ac_ext
16723 eval ac_res=\$$gt_func_gnugettext_libc
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16725 $as_echo "$ac_res" >&6; }
16727 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
16733 am_save_CPPFLAGS="$CPPFLAGS"
16735 for element in $INCICONV; do
16737 for x in $CPPFLAGS; do
16739 acl_save_prefix="$prefix"
16740 prefix="$acl_final_prefix"
16741 acl_save_exec_prefix="$exec_prefix"
16742 exec_prefix="$acl_final_exec_prefix"
16744 exec_prefix="$acl_save_exec_prefix"
16745 prefix="$acl_save_prefix"
16747 if test "X$x" = "X$element"; then
16752 if test -z "$haveit"; then
16753 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16759 $as_echo_n "checking for iconv... " >&6; }
16760 if ${am_cv_func_iconv+:} false; then :
16761 $as_echo_n "(cached) " >&6
16764 am_cv_func_iconv="no, consider installing GNU libiconv"
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16768 #include <stdlib.h>
16773 iconv_t cd = iconv_open("","");
16774 iconv(cd,NULL,NULL,NULL,NULL);
16780 if ac_fn_c_try_link "$LINENO"; then :
16781 am_cv_func_iconv=yes
16783 rm -f core conftest.err conftest.$ac_objext \
16784 conftest$ac_exeext conftest.$ac_ext
16785 if test "$am_cv_func_iconv" != yes; then
16786 am_save_LIBS="$LIBS"
16787 LIBS="$LIBS $LIBICONV"
16788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16789 /* end confdefs.h. */
16790 #include <stdlib.h>
16795 iconv_t cd = iconv_open("","");
16796 iconv(cd,NULL,NULL,NULL,NULL);
16802 if ac_fn_c_try_link "$LINENO"; then :
16803 am_cv_lib_iconv=yes
16804 am_cv_func_iconv=yes
16806 rm -f core conftest.err conftest.$ac_objext \
16807 conftest$ac_exeext conftest.$ac_ext
16808 LIBS="$am_save_LIBS"
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
16813 $as_echo "$am_cv_func_iconv" >&6; }
16814 if test "$am_cv_func_iconv" = yes; then
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
16816 $as_echo_n "checking for working iconv... " >&6; }
16817 if ${am_cv_func_iconv_works+:} false; then :
16818 $as_echo_n "(cached) " >&6
16821 am_save_LIBS="$LIBS"
16822 if test $am_cv_lib_iconv = yes; then
16823 LIBS="$LIBS $LIBICONV"
16825 if test "$cross_compiling" = yes; then :
16827 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
16828 *) am_cv_func_iconv_works="guessing yes" ;;
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16835 #include <string.h>
16838 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
16841 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
16842 if (cd_utf8_to_88591 != (iconv_t)(-1))
16844 static const char input[] = "\342\202\254"; /* EURO SIGN */
16846 const char *inptr = input;
16847 size_t inbytesleft = strlen (input);
16848 char *outptr = buf;
16849 size_t outbytesleft = sizeof (buf);
16850 size_t res = iconv (cd_utf8_to_88591,
16851 (char **) &inptr, &inbytesleft,
16852 &outptr, &outbytesleft);
16857 #if 0 /* This bug could be worked around by the caller. */
16858 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
16860 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
16861 if (cd_88591_to_utf8 != (iconv_t)(-1))
16863 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
16865 const char *inptr = input;
16866 size_t inbytesleft = strlen (input);
16867 char *outptr = buf;
16868 size_t outbytesleft = sizeof (buf);
16869 size_t res = iconv (cd_88591_to_utf8,
16870 (char **) &inptr, &inbytesleft,
16871 &outptr, &outbytesleft);
16877 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
16879 if (/* Try standardized names. */
16880 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
16881 /* Try IRIX, OSF/1 names. */
16882 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
16883 /* Try AIX names. */
16884 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
16885 /* Try HP-UX names. */
16886 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
16891 if ac_fn_c_try_run "$LINENO"; then :
16892 am_cv_func_iconv_works=yes
16894 am_cv_func_iconv_works=no
16896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16897 conftest.$ac_objext conftest.beam conftest.$ac_ext
16900 LIBS="$am_save_LIBS"
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
16904 $as_echo "$am_cv_func_iconv_works" >&6; }
16905 case "$am_cv_func_iconv_works" in
16906 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
16907 *) am_func_iconv=yes ;;
16910 am_func_iconv=no am_cv_lib_iconv=no
16912 if test "$am_func_iconv" = yes; then
16914 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
16917 if test "$am_cv_lib_iconv" = yes; then
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
16919 $as_echo_n "checking how to link with libiconv... " >&6; }
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
16921 $as_echo "$LIBICONV" >&6; }
16923 CPPFLAGS="$am_save_CPPFLAGS"
16937 acl_save_prefix="$prefix"
16938 prefix="$acl_final_prefix"
16939 acl_save_exec_prefix="$exec_prefix"
16940 exec_prefix="$acl_final_exec_prefix"
16942 eval additional_includedir=\"$includedir\"
16943 eval additional_libdir=\"$libdir\"
16945 exec_prefix="$acl_save_exec_prefix"
16946 prefix="$acl_save_prefix"
16949 # Check whether --with-libintl-prefix was given.
16950 if test "${with_libintl_prefix+set}" = set; then :
16951 withval=$with_libintl_prefix;
16952 if test "X$withval" = "Xno"; then
16955 if test "X$withval" = "X"; then
16957 acl_save_prefix="$prefix"
16958 prefix="$acl_final_prefix"
16959 acl_save_exec_prefix="$exec_prefix"
16960 exec_prefix="$acl_final_exec_prefix"
16962 eval additional_includedir=\"$includedir\"
16963 eval additional_libdir=\"$libdir\"
16965 exec_prefix="$acl_save_exec_prefix"
16966 prefix="$acl_save_prefix"
16969 additional_includedir="$withval/include"
16970 additional_libdir="$withval/$acl_libdirstem"
16982 names_already_handled=
16983 names_next_round='intl '
16984 while test -n "$names_next_round"; do
16985 names_this_round="$names_next_round"
16987 for name in $names_this_round; do
16989 for n in $names_already_handled; do
16990 if test "$n" = "$name"; then
16991 already_handled=yes
16995 if test -z "$already_handled"; then
16996 names_already_handled="$names_already_handled $name"
16997 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16998 eval value=\"\$HAVE_LIB$uppername\"
16999 if test -n "$value"; then
17000 if test "$value" = yes; then
17001 eval value=\"\$LIB$uppername\"
17002 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
17003 eval value=\"\$LTLIB$uppername\"
17004 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
17013 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
17014 if test -n "$acl_shlibext"; then
17015 shrext=".$acl_shlibext" # typically: shrext=.so
17019 if test $use_additional = yes; then
17020 dir="$additional_libdir"
17021 if test -n "$acl_shlibext"; then
17022 if test -f "$dir/$libname$shrext"; then
17024 found_so="$dir/$libname$shrext"
17026 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17027 ver=`(cd "$dir" && \
17028 for f in "$libname$shrext".*; do echo "$f"; done \
17029 | sed -e "s,^$libname$shrext\\\\.,," \
17030 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17031 | sed 1q ) 2>/dev/null`
17032 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17034 found_so="$dir/$libname$shrext.$ver"
17037 eval library_names=\"$acl_library_names_spec\"
17038 for f in $library_names; do
17039 if test -f "$dir/$f"; then
17048 if test "X$found_dir" = "X"; then
17049 if test -f "$dir/$libname.$acl_libext"; then
17051 found_a="$dir/$libname.$acl_libext"
17054 if test "X$found_dir" != "X"; then
17055 if test -f "$dir/$libname.la"; then
17056 found_la="$dir/$libname.la"
17060 if test "X$found_dir" = "X"; then
17061 for x in $LDFLAGS $LTLIBINTL; do
17063 acl_save_prefix="$prefix"
17064 prefix="$acl_final_prefix"
17065 acl_save_exec_prefix="$exec_prefix"
17066 exec_prefix="$acl_final_exec_prefix"
17068 exec_prefix="$acl_save_exec_prefix"
17069 prefix="$acl_save_prefix"
17073 dir=`echo "X$x" | sed -e 's/^X-L//'`
17074 if test -n "$acl_shlibext"; then
17075 if test -f "$dir/$libname$shrext"; then
17077 found_so="$dir/$libname$shrext"
17079 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17080 ver=`(cd "$dir" && \
17081 for f in "$libname$shrext".*; do echo "$f"; done \
17082 | sed -e "s,^$libname$shrext\\\\.,," \
17083 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17084 | sed 1q ) 2>/dev/null`
17085 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17087 found_so="$dir/$libname$shrext.$ver"
17090 eval library_names=\"$acl_library_names_spec\"
17091 for f in $library_names; do
17092 if test -f "$dir/$f"; then
17101 if test "X$found_dir" = "X"; then
17102 if test -f "$dir/$libname.$acl_libext"; then
17104 found_a="$dir/$libname.$acl_libext"
17107 if test "X$found_dir" != "X"; then
17108 if test -f "$dir/$libname.la"; then
17109 found_la="$dir/$libname.la"
17114 if test "X$found_dir" != "X"; then
17119 if test "X$found_dir" != "X"; then
17120 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17121 if test "X$found_so" != "X"; then
17122 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
17123 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17126 for x in $ltrpathdirs; do
17127 if test "X$x" = "X$found_dir"; then
17132 if test -z "$haveit"; then
17133 ltrpathdirs="$ltrpathdirs $found_dir"
17135 if test "$acl_hardcode_direct" = yes; then
17136 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17138 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17139 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17141 for x in $rpathdirs; do
17142 if test "X$x" = "X$found_dir"; then
17147 if test -z "$haveit"; then
17148 rpathdirs="$rpathdirs $found_dir"
17152 for x in $LDFLAGS $LIBINTL; do
17154 acl_save_prefix="$prefix"
17155 prefix="$acl_final_prefix"
17156 acl_save_exec_prefix="$exec_prefix"
17157 exec_prefix="$acl_final_exec_prefix"
17159 exec_prefix="$acl_save_exec_prefix"
17160 prefix="$acl_save_prefix"
17162 if test "X$x" = "X-L$found_dir"; then
17167 if test -z "$haveit"; then
17168 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17170 if test "$acl_hardcode_minus_L" != no; then
17171 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17173 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17179 if test "X$found_a" != "X"; then
17180 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
17182 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17185 additional_includedir=
17186 case "$found_dir" in
17187 */$acl_libdirstem | */$acl_libdirstem/)
17188 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17189 LIBINTL_PREFIX="$basedir"
17190 additional_includedir="$basedir/include"
17193 if test "X$additional_includedir" != "X"; then
17194 if test "X$additional_includedir" != "X/usr/include"; then
17196 if test "X$additional_includedir" = "X/usr/local/include"; then
17197 if test -n "$GCC"; then
17199 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17203 if test -z "$haveit"; then
17204 for x in $CPPFLAGS $INCINTL; do
17206 acl_save_prefix="$prefix"
17207 prefix="$acl_final_prefix"
17208 acl_save_exec_prefix="$exec_prefix"
17209 exec_prefix="$acl_final_exec_prefix"
17211 exec_prefix="$acl_save_exec_prefix"
17212 prefix="$acl_save_prefix"
17214 if test "X$x" = "X-I$additional_includedir"; then
17219 if test -z "$haveit"; then
17220 if test -d "$additional_includedir"; then
17221 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17227 if test -n "$found_la"; then
17228 save_libdir="$libdir"
17229 case "$found_la" in
17230 */* | *\\*) . "$found_la" ;;
17231 *) . "./$found_la" ;;
17233 libdir="$save_libdir"
17234 for dep in $dependency_libs; do
17237 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17238 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
17240 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
17241 if test -n "$GCC"; then
17243 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17247 if test -z "$haveit"; then
17249 for x in $LDFLAGS $LIBINTL; do
17251 acl_save_prefix="$prefix"
17252 prefix="$acl_final_prefix"
17253 acl_save_exec_prefix="$exec_prefix"
17254 exec_prefix="$acl_final_exec_prefix"
17256 exec_prefix="$acl_save_exec_prefix"
17257 prefix="$acl_save_prefix"
17259 if test "X$x" = "X-L$additional_libdir"; then
17264 if test -z "$haveit"; then
17265 if test -d "$additional_libdir"; then
17266 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17270 for x in $LDFLAGS $LTLIBINTL; do
17272 acl_save_prefix="$prefix"
17273 prefix="$acl_final_prefix"
17274 acl_save_exec_prefix="$exec_prefix"
17275 exec_prefix="$acl_final_exec_prefix"
17277 exec_prefix="$acl_save_exec_prefix"
17278 prefix="$acl_save_prefix"
17280 if test "X$x" = "X-L$additional_libdir"; then
17285 if test -z "$haveit"; then
17286 if test -d "$additional_libdir"; then
17287 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17294 dir=`echo "X$dep" | sed -e 's/^X-R//'`
17295 if test "$enable_rpath" != no; then
17297 for x in $rpathdirs; do
17298 if test "X$x" = "X$dir"; then
17303 if test -z "$haveit"; then
17304 rpathdirs="$rpathdirs $dir"
17307 for x in $ltrpathdirs; do
17308 if test "X$x" = "X$dir"; then
17313 if test -z "$haveit"; then
17314 ltrpathdirs="$ltrpathdirs $dir"
17319 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17322 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17325 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
17326 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17332 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17333 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17339 if test "X$rpathdirs" != "X"; then
17340 if test -n "$acl_hardcode_libdir_separator"; then
17342 for found_dir in $rpathdirs; do
17343 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17345 acl_save_libdir="$libdir"
17347 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17348 libdir="$acl_save_libdir"
17349 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17351 for found_dir in $rpathdirs; do
17352 acl_save_libdir="$libdir"
17353 libdir="$found_dir"
17354 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17355 libdir="$acl_save_libdir"
17356 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17360 if test "X$ltrpathdirs" != "X"; then
17361 for found_dir in $ltrpathdirs; do
17362 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
17367 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
17368 if eval \${$gt_func_gnugettext_libintl+:} false; then :
17369 $as_echo_n "(cached) " >&6
17371 gt_save_CPPFLAGS="$CPPFLAGS"
17372 CPPFLAGS="$CPPFLAGS $INCINTL"
17373 gt_save_LIBS="$LIBS"
17374 LIBS="$LIBS $LIBINTL"
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h. */
17377 #include <libintl.h>
17378 $gt_revision_test_code
17379 extern int _nl_msg_cat_cntr;
17384 const char *_nl_expand_alias (const char *);
17388 bindtextdomain ("", "");
17389 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17394 if ac_fn_c_try_link "$LINENO"; then :
17395 eval "$gt_func_gnugettext_libintl=yes"
17397 eval "$gt_func_gnugettext_libintl=no"
17399 rm -f core conftest.err conftest.$ac_objext \
17400 conftest$ac_exeext conftest.$ac_ext
17401 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
17402 LIBS="$LIBS $LIBICONV"
17403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17404 /* end confdefs.h. */
17405 #include <libintl.h>
17406 $gt_revision_test_code
17407 extern int _nl_msg_cat_cntr;
17412 const char *_nl_expand_alias (const char *);
17416 bindtextdomain ("", "");
17417 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17422 if ac_fn_c_try_link "$LINENO"; then :
17423 LIBINTL="$LIBINTL $LIBICONV"
17424 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
17425 eval "$gt_func_gnugettext_libintl=yes"
17428 rm -f core conftest.err conftest.$ac_objext \
17429 conftest$ac_exeext conftest.$ac_ext
17431 CPPFLAGS="$gt_save_CPPFLAGS"
17432 LIBS="$gt_save_LIBS"
17434 eval ac_res=\$$gt_func_gnugettext_libintl
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17436 $as_echo "$ac_res" >&6; }
17439 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
17440 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
17441 && test "$PACKAGE" != gettext-runtime \
17442 && test "$PACKAGE" != gettext-tools; }; then
17443 gt_use_preinstalled_gnugettext=yes
17452 if test -n "$INTL_MACOSX_LIBS"; then
17453 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17454 || test "$nls_cv_use_gnu_gettext" = "yes"; then
17455 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
17456 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
17460 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17461 || test "$nls_cv_use_gnu_gettext" = "yes"; then
17463 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
17471 $as_echo_n "checking whether to use NLS... " >&6; }
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17473 $as_echo "$USE_NLS" >&6; }
17474 if test "$USE_NLS" = "yes"; then
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
17476 $as_echo_n "checking where the gettext function comes from... " >&6; }
17477 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17478 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17479 gt_source="external libintl"
17484 gt_source="included intl directory"
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
17487 $as_echo "$gt_source" >&6; }
17490 if test "$USE_NLS" = "yes"; then
17492 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17493 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
17495 $as_echo_n "checking how to link with libintl... " >&6; }
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
17497 $as_echo "$LIBINTL" >&6; }
17499 for element in $INCINTL; do
17501 for x in $CPPFLAGS; do
17503 acl_save_prefix="$prefix"
17504 prefix="$acl_final_prefix"
17505 acl_save_exec_prefix="$exec_prefix"
17506 exec_prefix="$acl_final_exec_prefix"
17508 exec_prefix="$acl_save_exec_prefix"
17509 prefix="$acl_save_prefix"
17511 if test "X$x" = "X$element"; then
17516 if test -z "$haveit"; then
17517 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17524 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17527 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
17536 INTLLIBS="$LIBINTL"
17544 GETTEXT_PACKAGE="clutter-1.0"
17547 cat >>confdefs.h <<_ACEOF
17548 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linguas" >&5
17553 $as_echo_n "checking for linguas... " >&6; }
17555 linguas=`cd $podir && ls *.po 2>/dev/null | awk 'BEGIN { FS="."; ORS=" " } { print $1 }'`
17556 if test -f "$podir/LINGUAS.ignore"; then
17558 ignore_linguas=`sed -n -e 's/^\s\+\|\s\+$//g' -e '/^#/b' -e '/\S/!b' \
17559 -e 's/\s\+/\n/g' -e p "$podir/LINGUAS.ignore"`;
17560 for lang in $linguas; do
17561 if ! echo "$ignore_linguas" | grep -q "^${lang}$"; then
17562 ALL_LINGUAS="$ALL_LINGUAS $lang";
17566 ALL_LINGUAS="$linguas";
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALL_LINGUAS" >&5
17570 $as_echo "$ALL_LINGUAS" >&6; }
17574 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"
17577 cat >confcache <<\_ACEOF
17578 # This file is a shell script that caches the results of configure
17579 # tests run on this system so they can be shared between configure
17580 # scripts and configure runs, see configure's option --config-cache.
17581 # It is not useful on other systems. If it contains results you don't
17582 # want to keep, you may remove or edit it.
17584 # config.status only pays attention to the cache file if you give it
17585 # the --recheck option to rerun configure.
17587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17589 # following values.
17593 # The following way of writing the cache mishandles newlines in values,
17594 # but we know of no workaround that is simple, portable, and efficient.
17595 # So, we kill variables containing newlines.
17596 # Ultrix sh set writes to stderr and can't be redirected directly,
17597 # and sets the high bit in the cache file unless we assign to the vars.
17599 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17600 eval ac_val=\$$ac_var
17604 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17608 _ | IFS | as_nl) ;; #(
17609 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17610 *) { eval $ac_var=; unset $ac_var;} ;;
17616 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17617 *${as_nl}ac_space=\ *)
17618 # `set' does not quote correctly, so add quotes: double-quote
17619 # substitution turns \\\\ into \\, and sed turns \\ into \.
17622 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17625 # `set' quotes correctly as required by POSIX, so do not add quotes.
17626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17637 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17639 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17640 if test -w "$cache_file"; then
17641 if test "x$cache_file" != "x/dev/null"; then
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17643 $as_echo "$as_me: updating cache $cache_file" >&6;}
17644 if test ! -f "$cache_file" || test -h "$cache_file"; then
17645 cat confcache >"$cache_file"
17647 case $cache_file in #(
17649 mv -f confcache "$cache_file"$$ &&
17650 mv -f "$cache_file"$$ "$cache_file" ;; #(
17652 mv -f confcache "$cache_file" ;;
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17658 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17663 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17664 # Let make expand exec_prefix.
17665 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17667 DEFS=-DHAVE_CONFIG_H
17672 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17673 # 1. Remove the extension, and $U if already installed.
17674 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17675 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17676 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17677 # will be set to the directory where LIBOBJS objects are built.
17678 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17679 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17681 LIBOBJS=$ac_libobjs
17683 LTLIBOBJS=$ac_ltlibobjs
17686 if test -n "$EXEEXT"; then
17688 am__EXEEXT_FALSE='#'
17690 am__EXEEXT_TRUE='#'
17694 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
17695 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
17696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17698 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17699 as_fn_error $? "conditional \"AMDEP\" was never defined.
17700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17702 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17703 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17706 if test -z "${OS_QUARTZ_TRUE}" && test -z "${OS_QUARTZ_FALSE}"; then
17707 as_fn_error $? "conditional \"OS_QUARTZ\" was never defined.
17708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17710 if test -z "${OS_GLX_TRUE}" && test -z "${OS_GLX_FALSE}"; then
17711 as_fn_error $? "conditional \"OS_GLX\" was never defined.
17712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17714 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
17715 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
17716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17718 if test -z "${SUPPORT_WAYLAND_COMPOSITOR_TRUE}" && test -z "${SUPPORT_WAYLAND_COMPOSITOR_FALSE}"; then
17719 as_fn_error $? "conditional \"SUPPORT_WAYLAND_COMPOSITOR\" was never defined.
17720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17722 if test -z "${SUPPORT_GLX_TRUE}" && test -z "${SUPPORT_GLX_FALSE}"; then
17723 as_fn_error $? "conditional \"SUPPORT_GLX\" was never defined.
17724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17726 if test -z "${SUPPORT_X11_TRUE}" && test -z "${SUPPORT_X11_FALSE}"; then
17727 as_fn_error $? "conditional \"SUPPORT_X11\" was never defined.
17728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17730 if test -z "${SUPPORT_GDK_TRUE}" && test -z "${SUPPORT_GDK_FALSE}"; then
17731 as_fn_error $? "conditional \"SUPPORT_GDK\" was never defined.
17732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17734 if test -z "${SUPPORT_EGL_TRUE}" && test -z "${SUPPORT_EGL_FALSE}"; then
17735 as_fn_error $? "conditional \"SUPPORT_EGL\" was never defined.
17736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17738 if test -z "${SUPPORT_OSX_TRUE}" && test -z "${SUPPORT_OSX_FALSE}"; then
17739 as_fn_error $? "conditional \"SUPPORT_OSX\" was never defined.
17740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17742 if test -z "${SUPPORT_WIN32_TRUE}" && test -z "${SUPPORT_WIN32_FALSE}"; then
17743 as_fn_error $? "conditional \"SUPPORT_WIN32\" was never defined.
17744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17746 if test -z "${SUPPORT_CEX100_TRUE}" && test -z "${SUPPORT_CEX100_FALSE}"; then
17747 as_fn_error $? "conditional \"SUPPORT_CEX100\" was never defined.
17748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17750 if test -z "${SUPPORT_WAYLAND_TRUE}" && test -z "${SUPPORT_WAYLAND_FALSE}"; then
17751 as_fn_error $? "conditional \"SUPPORT_WAYLAND\" was never defined.
17752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17754 if test -z "${USE_COGL_TRUE}" && test -z "${USE_COGL_FALSE}"; then
17755 as_fn_error $? "conditional \"USE_COGL\" was never defined.
17756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17758 if test -z "${USE_TSLIB_TRUE}" && test -z "${USE_TSLIB_FALSE}"; then
17759 as_fn_error $? "conditional \"USE_TSLIB\" was never defined.
17760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17762 if test -z "${USE_EVDEV_TRUE}" && test -z "${USE_EVDEV_FALSE}"; then
17763 as_fn_error $? "conditional \"USE_EVDEV\" was never defined.
17764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17766 if test -z "${USE_GLD_TRUE}" && test -z "${USE_GLD_FALSE}"; then
17767 as_fn_error $? "conditional \"USE_GLD\" was never defined.
17768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17770 if test -z "${NEED_XKB_UTILS_TRUE}" && test -z "${NEED_XKB_UTILS_FALSE}"; then
17771 as_fn_error $? "conditional \"NEED_XKB_UTILS\" was never defined.
17772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17774 if test -z "${BUILD_XI2_TRUE}" && test -z "${BUILD_XI2_FALSE}"; then
17775 as_fn_error $? "conditional \"BUILD_XI2\" was never defined.
17776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17778 if test -z "${X11_TESTS_TRUE}" && test -z "${X11_TESTS_FALSE}"; then
17779 as_fn_error $? "conditional \"X11_TESTS\" was never defined.
17780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17782 if test -z "${PIXBUF_TESTS_TRUE}" && test -z "${PIXBUF_TESTS_FALSE}"; then
17783 as_fn_error $? "conditional \"PIXBUF_TESTS\" was never defined.
17784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17786 if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
17787 as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
17788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17790 if test -z "${PROFILE_TRUE}" && test -z "${PROFILE_FALSE}"; then
17791 as_fn_error $? "conditional \"PROFILE\" was never defined.
17792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17794 if test -z "${GCOV_ENABLED_TRUE}" && test -z "${GCOV_ENABLED_FALSE}"; then
17795 as_fn_error $? "conditional \"GCOV_ENABLED\" was never defined.
17796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17798 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
17799 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
17800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17802 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
17803 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
17804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17806 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
17807 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
17808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17810 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
17811 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
17812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17814 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
17815 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17818 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
17819 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
17820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17822 if test -z "${BUILD_GTK_DOC_TRUE}" && test -z "${BUILD_GTK_DOC_FALSE}"; then
17823 as_fn_error $? "conditional \"BUILD_GTK_DOC\" was never defined.
17824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17826 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
17827 as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
17828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17830 if test -z "${ENABLE_PDFS_TRUE}" && test -z "${ENABLE_PDFS_FALSE}"; then
17831 as_fn_error $? "conditional \"ENABLE_PDFS\" was never defined.
17832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17835 : "${CONFIG_STATUS=./config.status}"
17837 ac_clean_files_save=$ac_clean_files
17838 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17840 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17842 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17844 # Generated by $as_me.
17845 # Run this file to recreate the current configuration.
17846 # Compiler output produced by configure, useful for debugging
17847 # configure, is in config.log if it exists.
17850 ac_cs_recheck=false
17853 SHELL=\${CONFIG_SHELL-$SHELL}
17856 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17857 ## -------------------- ##
17858 ## M4sh Initialization. ##
17859 ## -------------------- ##
17861 # Be more Bourne compatible
17862 DUALCASE=1; export DUALCASE # for MKS sh
17863 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17866 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17867 # is contrary to our usage. Disable this feature.
17868 alias -g '${1+"$@"}'='"$@"'
17869 setopt NO_GLOB_SUBST
17871 case `(set -o) 2>/dev/null` in #(
17883 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17884 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17885 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17886 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17887 # Prefer a ksh shell builtin over an external printf program on Solaris,
17888 # but without wasting forks for bash or zsh.
17889 if test -z "$BASH_VERSION$ZSH_VERSION" \
17890 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17891 as_echo='print -r --'
17892 as_echo_n='print -rn --'
17893 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17894 as_echo='printf %s\n'
17895 as_echo_n='printf %s'
17897 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17898 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17899 as_echo_n='/usr/ucb/echo -n'
17901 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17902 as_echo_n_body='eval
17906 expr "X$arg" : "X\\(.*\\)$as_nl";
17907 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17909 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17911 export as_echo_n_body
17912 as_echo_n='sh -c $as_echo_n_body as_echo'
17914 export as_echo_body
17915 as_echo='sh -c $as_echo_body as_echo'
17918 # The user is always right.
17919 if test "${PATH_SEPARATOR+set}" != set; then
17921 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17922 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17929 # We need space, tab and new line, in precisely that order. Quoting is
17930 # there to prevent editors from complaining about space-tab.
17931 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17932 # splitting by setting IFS to empty value.)
17935 # Find who we are. Look in the path if we contain no directory separator.
17938 *[\\/]* ) as_myself=$0 ;;
17939 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17940 for as_dir in $PATH
17943 test -z "$as_dir" && as_dir=.
17944 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17950 # We did not find ourselves, most probably we were run as `sh COMMAND'
17951 # in which case we are not to be found in the path.
17952 if test "x$as_myself" = x; then
17955 if test ! -f "$as_myself"; then
17956 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17960 # Unset variables that we do not need and which cause bugs (e.g. in
17961 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17962 # suppresses any "Segmentation fault" message there. '((' could
17963 # trigger a bug in pdksh 5.2.14.
17964 for as_var in BASH_ENV ENV MAIL MAILPATH
17965 do eval test x\${$as_var+set} = xset \
17966 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17979 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17982 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17983 # ----------------------------------------
17984 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17985 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17986 # script with STATUS, using 1 if that was 0.
17989 as_status=$1; test $as_status -eq 0 && as_status=1
17991 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17992 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17994 $as_echo "$as_me: error: $2" >&2
17995 as_fn_exit $as_status
17999 # as_fn_set_status STATUS
18000 # -----------------------
18001 # Set $? to STATUS, without forking.
18002 as_fn_set_status ()
18005 } # as_fn_set_status
18007 # as_fn_exit STATUS
18008 # -----------------
18009 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18013 as_fn_set_status $1
18019 # Portably unset VAR.
18022 { eval $1=; unset $1;}
18024 as_unset=as_fn_unset
18025 # as_fn_append VAR VALUE
18026 # ----------------------
18027 # Append the text in VALUE to the end of the definition contained in VAR. Take
18028 # advantage of any shell optimizations that allow amortized linear growth over
18029 # repeated appends, instead of the typical quadratic growth present in naive
18031 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18032 eval 'as_fn_append ()
18043 # as_fn_arith ARG...
18044 # ------------------
18045 # Perform arithmetic evaluation on the ARGs, and store the result in the
18046 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18047 # must be portable across $(()) and expr.
18048 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18049 eval 'as_fn_arith ()
18056 as_val=`expr "$@" || test $? -eq 1`
18061 if expr a : '\(a\)' >/dev/null 2>&1 &&
18062 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18068 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18069 as_basename=basename
18074 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18080 as_me=`$as_basename -- "$0" ||
18081 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18082 X"$0" : 'X\(//\)$' \| \
18083 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18085 sed '/^.*\/\([^/][^/]*\)\/*$/{
18099 # Avoid depending upon Character Ranges.
18100 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18101 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18102 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18103 as_cr_digits='0123456789'
18104 as_cr_alnum=$as_cr_Letters$as_cr_digits
18106 ECHO_C= ECHO_N= ECHO_T=
18107 case `echo -n x` in #(((((
18109 case `echo 'xy\c'` in
18110 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18112 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18119 rm -f conf$$ conf$$.exe conf$$.file
18120 if test -d conf$$.dir; then
18121 rm -f conf$$.dir/conf$$.file
18124 mkdir conf$$.dir 2>/dev/null
18126 if (echo >conf$$.file) 2>/dev/null; then
18127 if ln -s conf$$.file conf$$ 2>/dev/null; then
18129 # ... but there are two gotchas:
18130 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18131 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18132 # In both cases, we have to default to `cp -p'.
18133 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18135 elif ln conf$$.file conf$$ 2>/dev/null; then
18143 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18144 rmdir conf$$.dir 2>/dev/null
18149 # Create "$as_dir" as a directory, including parents if necessary.
18154 -*) as_dir=./$as_dir;;
18156 test -d "$as_dir" || eval $as_mkdir_p || {
18160 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18161 *) as_qdir=$as_dir;;
18163 as_dirs="'$as_qdir' $as_dirs"
18164 as_dir=`$as_dirname -- "$as_dir" ||
18165 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18166 X"$as_dir" : 'X\(//\)[^/]' \| \
18167 X"$as_dir" : 'X\(//\)$' \| \
18168 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18169 $as_echo X"$as_dir" |
18170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18174 /^X\(\/\/\)[^/].*/{
18187 test -d "$as_dir" && break
18189 test -z "$as_dirs" || eval "mkdir $as_dirs"
18190 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18194 if mkdir -p . 2>/dev/null; then
18195 as_mkdir_p='mkdir -p "$as_dir"'
18197 test -d ./-p && rmdir ./-p
18201 if test -x / >/dev/null 2>&1; then
18202 as_test_x='test -x'
18204 if ls -dL / >/dev/null 2>&1; then
18211 if test -d "$1"; then
18217 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18218 ???[sx]*):;;*)false;;esac;fi
18222 as_executable_p=$as_test_x
18224 # Sed expression to map a string onto a valid CPP name.
18225 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18227 # Sed expression to map a string onto a valid variable name.
18228 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18232 ## ----------------------------------- ##
18233 ## Main body of $CONFIG_STATUS script. ##
18234 ## ----------------------------------- ##
18236 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18239 # Save the log message, to keep $0 and so on meaningful, and to
18240 # report actual input values of CONFIG_FILES etc. instead of their
18241 # values after options handling.
18243 This file was extended by clutter $as_me 1.10.0, which was
18244 generated by GNU Autoconf 2.68. Invocation command line was
18246 CONFIG_FILES = $CONFIG_FILES
18247 CONFIG_HEADERS = $CONFIG_HEADERS
18248 CONFIG_LINKS = $CONFIG_LINKS
18249 CONFIG_COMMANDS = $CONFIG_COMMANDS
18252 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18257 case $ac_config_files in *"
18258 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18261 case $ac_config_headers in *"
18262 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18267 # Files that config.status was made for.
18268 config_files="$ac_config_files"
18269 config_headers="$ac_config_headers"
18270 config_commands="$ac_config_commands"
18274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18276 \`$as_me' instantiates files and other configuration actions
18277 from templates according to the current configuration. Unless the files
18278 and actions are specified as TAGs, all are instantiated by default.
18280 Usage: $0 [OPTION]... [TAG]...
18282 -h, --help print this help, then exit
18283 -V, --version print version number and configuration settings, then exit
18284 --config print configuration, then exit
18285 -q, --quiet, --silent
18286 do not print progress messages
18287 -d, --debug don't remove temporary files
18288 --recheck update $as_me by reconfiguring in the same conditions
18289 --file=FILE[:TEMPLATE]
18290 instantiate the configuration file FILE
18291 --header=FILE[:TEMPLATE]
18292 instantiate the configuration header FILE
18294 Configuration files:
18297 Configuration headers:
18300 Configuration commands:
18303 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=clutter>.
18304 clutter home page: <http://www.clutter-project.org>."
18307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18308 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18310 clutter config.status 1.10.0
18311 configured by $0, generated by GNU Autoconf 2.68,
18312 with options \\"\$ac_cs_config\\"
18314 Copyright (C) 2010 Free Software Foundation, Inc.
18315 This config.status script is free software; the Free Software Foundation
18316 gives unlimited permission to copy, distribute and modify it."
18323 test -n "\$AWK" || AWK=awk
18326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18327 # The default lists apply if the user does not specify any file.
18333 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18334 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18338 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18350 # Handling of the options.
18351 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18353 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18354 $as_echo "$ac_cs_version"; exit ;;
18355 --config | --confi | --conf | --con | --co | --c )
18356 $as_echo "$ac_cs_config"; exit ;;
18357 --debug | --debu | --deb | --de | --d | -d )
18359 --file | --fil | --fi | --f )
18362 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18363 '') as_fn_error $? "missing file argument" ;;
18365 as_fn_append CONFIG_FILES " '$ac_optarg'"
18366 ac_need_defaults=false;;
18367 --header | --heade | --head | --hea )
18370 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18372 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18373 ac_need_defaults=false;;
18375 # Conflict between --help and --header
18376 as_fn_error $? "ambiguous option: \`$1'
18377 Try \`$0 --help' for more information.";;
18378 --help | --hel | -h )
18379 $as_echo "$ac_cs_usage"; exit ;;
18380 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18381 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18384 # This is an error.
18385 -*) as_fn_error $? "unrecognized option: \`$1'
18386 Try \`$0 --help' for more information." ;;
18388 *) as_fn_append ac_config_targets " $1"
18389 ac_need_defaults=false ;;
18395 ac_configure_extra_args=
18397 if $ac_cs_silent; then
18399 ac_configure_extra_args="$ac_configure_extra_args --silent"
18403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18404 if \$ac_cs_recheck; then
18405 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18407 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18408 CONFIG_SHELL='$SHELL'
18409 export CONFIG_SHELL
18414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18418 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18419 ## Running $as_me. ##
18425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18429 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18432 # The HP-UX ksh and POSIX shell print the target directory to stdout
18433 # if CDPATH is set.
18434 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18436 sed_quote_subst='$sed_quote_subst'
18437 double_quote_subst='$double_quote_subst'
18438 delay_variable_subst='$delay_variable_subst'
18439 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18440 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18441 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18442 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18443 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18444 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18445 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18446 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18447 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18448 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18449 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18450 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18451 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18452 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18453 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18454 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18455 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18456 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18457 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18458 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18459 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18460 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18461 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18462 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18463 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18464 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18465 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18466 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18467 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18468 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18469 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18470 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18471 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18472 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18473 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18474 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18475 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18476 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18477 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18478 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18479 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18480 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18481 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18482 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18483 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18484 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18485 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18486 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18487 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18488 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18489 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18490 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18491 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18492 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18493 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18494 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"`'
18495 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18496 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18497 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18498 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18499 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18500 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18501 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18502 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18503 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18504 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18505 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18506 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18507 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18508 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18509 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18510 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18511 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18512 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18513 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18514 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18515 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18516 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18517 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18518 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18519 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18520 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18521 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18522 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18523 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18524 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18525 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18526 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18527 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18528 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18529 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18530 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18531 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18532 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18533 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18534 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18535 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18536 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18537 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18538 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18539 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18540 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18541 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18542 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18543 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18544 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18545 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18546 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18547 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18548 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18549 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18550 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18551 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18552 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18553 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18554 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18555 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18556 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18557 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18558 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18559 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18560 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18561 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18562 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18563 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18564 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18565 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18566 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18567 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18568 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18571 LTCFLAGS='$LTCFLAGS'
18572 compiler='$compiler_DEFAULT'
18574 # A function that is used when there is no print builtin or printf.
18575 func_fallback_echo ()
18577 eval 'cat <<_LTECHO_EOF
18582 # Quote evaled strings.
18596 deplibs_check_method \
18601 sharedlib_from_linklib_cmd \
18604 archiver_list_spec \
18610 lt_cv_sys_global_symbol_pipe \
18611 lt_cv_sys_global_symbol_to_cdecl \
18612 lt_cv_sys_global_symbol_to_c_name_address \
18613 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18614 nm_file_list_spec \
18615 lt_prog_compiler_no_builtin_flag \
18616 lt_prog_compiler_pic \
18617 lt_prog_compiler_wl \
18618 lt_prog_compiler_static \
18619 lt_cv_prog_compiler_c_o \
18628 export_dynamic_flag_spec \
18629 whole_archive_flag_spec \
18630 compiler_needs_object \
18632 allow_undefined_flag \
18633 no_undefined_flag \
18634 hardcode_libdir_flag_spec \
18635 hardcode_libdir_flag_spec_ld \
18636 hardcode_libdir_separator \
18640 variables_saved_for_relink \
18642 library_names_spec \
18644 install_override_mode \
18648 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18649 *[\\\\\\\`\\"\\\$]*)
18650 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18653 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18658 # Double-quote double-evaled strings.
18659 for var in reload_cmds \
18660 old_postinstall_cmds \
18661 old_postuninstall_cmds \
18663 extract_expsyms_cmds \
18664 old_archive_from_new_cmds \
18665 old_archive_from_expsyms_cmds \
18667 archive_expsym_cmds \
18669 module_expsym_cmds \
18670 export_symbols_cmds \
18674 postuninstall_cmds \
18676 sys_lib_search_path_spec \
18677 sys_lib_dlsearch_path_spec; do
18678 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18679 *[\\\\\\\`\\"\\\$]*)
18680 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18683 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18688 ac_aux_dir='$ac_aux_dir'
18689 xsi_shell='$xsi_shell'
18690 lt_shell_append='$lt_shell_append'
18692 # See if we are running on zsh, and set the options which allow our
18693 # commands through without removal of \ escapes INIT.
18694 if test -n "\${ZSH_VERSION+set}" ; then
18695 setopt NO_GLOB_SUBST
18701 TIMESTAMP='$TIMESTAMP'
18707 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18708 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
18709 # from automake < 1.5.
18710 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18711 # Capture the value of LINGUAS because we need it to compute CATALOGS.
18712 LINGUAS="${LINGUAS-%UNSET%}"
18717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18719 # Handling of arguments.
18720 for ac_config_target in $ac_config_targets
18722 case $ac_config_target in
18723 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18724 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18725 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18726 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
18727 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18728 "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
18729 "README") CONFIG_FILES="$CONFIG_FILES README" ;;
18730 "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
18731 "build/autotools/Makefile") CONFIG_FILES="$CONFIG_FILES build/autotools/Makefile" ;;
18732 "build/mingw/Makefile") CONFIG_FILES="$CONFIG_FILES build/mingw/Makefile" ;;
18733 "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
18734 "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
18735 "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
18736 "clutter/Makefile") CONFIG_FILES="$CONFIG_FILES clutter/Makefile" ;;
18737 "clutter/clutter-config.h") CONFIG_FILES="$CONFIG_FILES clutter/clutter-config.h" ;;
18738 "clutter/clutter-version.h") CONFIG_FILES="$CONFIG_FILES clutter/clutter-version.h" ;;
18739 "clutter/clutter-$CLUTTER_API_VERSION.pc") CONFIG_FILES="$CONFIG_FILES clutter/clutter-$CLUTTER_API_VERSION.pc:clutter/clutter.pc.in" ;;
18740 "clutter/cally/cally-$CLUTTER_API_VERSION.pc") CONFIG_FILES="$CONFIG_FILES clutter/cally/cally-$CLUTTER_API_VERSION.pc:clutter/cally/cally.pc.in" ;;
18741 "clutter/cex100/clutter-cex100.h") CONFIG_FILES="$CONFIG_FILES clutter/cex100/clutter-cex100.h" ;;
18742 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
18743 "tests/accessibility/Makefile") CONFIG_FILES="$CONFIG_FILES tests/accessibility/Makefile" ;;
18744 "tests/conform/Makefile") CONFIG_FILES="$CONFIG_FILES tests/conform/Makefile" ;;
18745 "tests/conform/test-launcher.sh") CONFIG_FILES="$CONFIG_FILES tests/conform/test-launcher.sh" ;;
18746 "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
18747 "tests/interactive/Makefile") CONFIG_FILES="$CONFIG_FILES tests/interactive/Makefile" ;;
18748 "tests/interactive/wrapper.sh") CONFIG_FILES="$CONFIG_FILES tests/interactive/wrapper.sh" ;;
18749 "tests/micro-bench/Makefile") CONFIG_FILES="$CONFIG_FILES tests/micro-bench/Makefile" ;;
18750 "tests/performance/Makefile") CONFIG_FILES="$CONFIG_FILES tests/performance/Makefile" ;;
18751 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18752 "doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;;
18753 "doc/reference/clutter/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/clutter/Makefile" ;;
18754 "doc/reference/clutter/clutter-docs.xml") CONFIG_FILES="$CONFIG_FILES doc/reference/clutter/clutter-docs.xml" ;;
18755 "doc/reference/cally/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/cally/Makefile" ;;
18756 "doc/reference/cally/cally-docs.xml") CONFIG_FILES="$CONFIG_FILES doc/reference/cally/cally-docs.xml" ;;
18757 "doc/common/Makefile") CONFIG_FILES="$CONFIG_FILES doc/common/Makefile" ;;
18758 "doc/cookbook/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cookbook/Makefile" ;;
18759 "doc/cookbook/clutter-cookbook.xml") CONFIG_FILES="$CONFIG_FILES doc/cookbook/clutter-cookbook.xml" ;;
18760 "doc/cookbook/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cookbook/examples/Makefile" ;;
18761 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18763 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18768 # If the user did not use the arguments to specify the items to instantiate,
18769 # then the envvar interface is used. Set only those that are not.
18770 # We use the long form for the default assignment because of an extremely
18771 # bizarre bug on SunOS 4.1.3.
18772 if $ac_need_defaults; then
18773 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18774 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18775 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18778 # Have a temporary directory for convenience. Make it in the build tree
18779 # simply because there is no reason against having it here, and in addition,
18780 # creating and moving files from /tmp can sometimes cause problems.
18781 # Hook for its removal unless debugging.
18782 # Note that there is a small window in which the directory will not be cleaned:
18783 # after its creation but before its name has been assigned to `$tmp'.
18787 trap 'exit_status=$?
18788 : "${ac_tmp:=$tmp}"
18789 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18791 trap 'as_fn_exit 1' 1 2 13 15
18793 # Create a (secure) tmp directory for tmp files.
18796 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18800 tmp=./conf$$-$RANDOM
18801 (umask 077 && mkdir "$tmp")
18802 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18805 # Set up the scripts for CONFIG_FILES section.
18806 # No need to generate them if there are no CONFIG_FILES.
18807 # This happens for instance with `./config.status config.h'.
18808 if test -n "$CONFIG_FILES"; then
18811 ac_cr=`echo X | tr X '\015'`
18812 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18813 # But we know of no other shell where ac_cr would be empty at this
18814 # point, so we can use a bashism as a fallback.
18815 if test "x$ac_cr" = x; then
18816 eval ac_cr=\$\'\\r\'
18818 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18819 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18822 ac_cs_awk_cr=$ac_cr
18825 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18830 echo "cat >conf$$subs.awk <<_ACEOF" &&
18831 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18833 } >conf$$subs.sh ||
18834 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18835 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18837 for ac_last_try in false false false false false :; do
18838 . ./conf$$subs.sh ||
18839 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18841 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18842 if test $ac_delim_n = $ac_delim_num; then
18844 elif $ac_last_try; then
18845 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18847 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18850 rm -f conf$$subs.sh
18852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18853 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18857 s/^/S["/; s/!.*/"]=/
18867 s/\(.\{148\}\)..*/\1/
18869 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18874 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18881 s/\(.\{148\}\)..*/\1/
18883 s/["\\]/\\&/g; s/^/"/; s/$/"/
18887 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18892 ' <conf$$subs.awk | sed '
18897 ' >>$CONFIG_STATUS || ac_write_fail=1
18898 rm -f conf$$subs.awk
18899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18901 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18902 for (key in S) S_is_set[key] = 1
18908 nfields = split(line, field, "@")
18910 len = length(field[1])
18911 for (i = 2; i < nfields; i++) {
18913 keylen = length(key)
18914 if (S_is_set[key]) {
18916 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18917 len += length(value) + length(field[++i])
18928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18929 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18930 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18933 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18934 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18937 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18938 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18939 # trailing colons and then remove the whole line if VPATH becomes empty
18940 # (actually we leave an empty line to preserve line numbers).
18941 if test "x$srcdir" = x.; then
18942 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18961 fi # test -n "$CONFIG_FILES"
18963 # Set up the scripts for CONFIG_HEADERS section.
18964 # No need to generate them if there are no CONFIG_HEADERS.
18965 # This happens for instance with `./config.status Makefile'.
18966 if test -n "$CONFIG_HEADERS"; then
18967 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18971 # Transform confdefs.h into an awk script `defines.awk', embedded as
18972 # here-document in config.status, that substitutes the proper values into
18973 # config.h.in to produce config.h.
18975 # Create a delimiter string that does not exist in confdefs.h, to ease
18976 # handling of long lines.
18978 for ac_last_try in false false :; do
18979 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18980 if test -z "$ac_tt"; then
18982 elif $ac_last_try; then
18983 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18985 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18989 # For the awk script, D is an array of macro values keyed by name,
18990 # likewise P contains macro parameters if any. Preserve backslash
18991 # newline sequences.
18993 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18995 s/.\{148\}/&'"$ac_delim"'/g
18998 s/^[ ]*#[ ]*define[ ][ ]*/ /
19005 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19007 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19011 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19012 D["\1"]=" \3\\\\\\n"\\/p
19014 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19019 s/.\{148\}/&'"$ac_delim"'/g
19024 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19027 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19029 ' <confdefs.h | sed '
19030 s/'"$ac_delim"'/"\\\
19031 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19034 for (key in D) D_is_set[key] = 1
19037 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19039 split(line, arg, " ")
19040 if (arg[1] == "#") {
19044 defundef = substr(arg[1], 2)
19047 split(mac1, mac2, "(") #)
19049 prefix = substr(line, 1, index(line, defundef) - 1)
19050 if (D_is_set[macro]) {
19051 # Preserve the white space surrounding the "#".
19052 print prefix "define", macro P[macro] D[macro]
19055 # Replace #undef with comments. This is necessary, for example,
19056 # in the case of _POSIX_SOURCE, which is predefined and required
19057 # on some systems where configure will not decide to define it.
19058 if (defundef == "undef") {
19059 print "/*", prefix defundef, macro, "*/"
19067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19068 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19069 fi # test -n "$CONFIG_HEADERS"
19072 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19077 :[FHLC]) ac_mode=$ac_tag; continue;;
19079 case $ac_mode$ac_tag in
19081 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19082 :[FH]-) ac_tag=-:-;;
19083 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19100 -) ac_f="$ac_tmp/stdin";;
19101 *) # Look for the file first in the build tree, then in the source tree
19102 # (if the path is not absolute). The absolute path cannot be DOS-style,
19103 # because $ac_f cannot contain `:'.
19107 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19109 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19111 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19112 as_fn_append ac_file_inputs " '$ac_f'"
19115 # Let's still pretend it is `configure' which instantiates (i.e., don't
19116 # use $as_me), people would be surprised to read:
19117 # /* config.h. Generated by config.status. */
19118 configure_input='Generated from '`
19119 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19121 if test x"$ac_file" != x-; then
19122 configure_input="$ac_file. $configure_input"
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19124 $as_echo "$as_me: creating $ac_file" >&6;}
19126 # Neutralize special characters interpreted by sed in replacement strings.
19127 case $configure_input in #(
19128 *\&* | *\|* | *\\* )
19129 ac_sed_conf_input=`$as_echo "$configure_input" |
19130 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19131 *) ac_sed_conf_input=$configure_input;;
19135 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19136 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19141 ac_dir=`$as_dirname -- "$ac_file" ||
19142 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19143 X"$ac_file" : 'X\(//\)[^/]' \| \
19144 X"$ac_file" : 'X\(//\)$' \| \
19145 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19146 $as_echo X"$ac_file" |
19147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19151 /^X\(\/\/\)[^/].*/{
19164 as_dir="$ac_dir"; as_fn_mkdir_p
19168 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19170 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19171 # A ".." for each directory in $ac_dir_suffix.
19172 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19173 case $ac_top_builddir_sub in
19174 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19175 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19178 ac_abs_top_builddir=$ac_pwd
19179 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19180 # for backward compatibility:
19181 ac_top_builddir=$ac_top_build_prefix
19184 .) # We are building in place.
19186 ac_top_srcdir=$ac_top_builddir_sub
19187 ac_abs_top_srcdir=$ac_pwd ;;
19188 [\\/]* | ?:[\\/]* ) # Absolute name.
19189 ac_srcdir=$srcdir$ac_dir_suffix;
19190 ac_top_srcdir=$srcdir
19191 ac_abs_top_srcdir=$srcdir ;;
19192 *) # Relative name.
19193 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19194 ac_top_srcdir=$ac_top_build_prefix$srcdir
19195 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19197 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19207 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19208 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19210 ac_MKDIR_P=$MKDIR_P
19212 [\\/$]* | ?:[\\/]* ) ;;
19213 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19218 # If the template does not know about datarootdir, expand it.
19219 # FIXME: This hack should be removed a few years after 2.60.
19220 ac_datarootdir_hack=; ac_datarootdir_seen=
19231 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19232 *datarootdir*) ac_datarootdir_seen=yes;;
19233 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19235 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19238 ac_datarootdir_hack='
19239 s&@datadir@&$datadir&g
19240 s&@docdir@&$docdir&g
19241 s&@infodir@&$infodir&g
19242 s&@localedir@&$localedir&g
19243 s&@mandir@&$mandir&g
19244 s&\\\${datarootdir}&$datarootdir&g' ;;
19248 # Neutralize VPATH when `$srcdir' = `.'.
19249 # Shell code in configure.ac might set extrasub.
19250 # FIXME: do we really want to maintain this feature?
19251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19252 ac_sed_extra="$ac_vpsub
19255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19257 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19258 s|@configure_input@|$ac_sed_conf_input|;t t
19259 s&@top_builddir@&$ac_top_builddir_sub&;t t
19260 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19261 s&@srcdir@&$ac_srcdir&;t t
19262 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19263 s&@top_srcdir@&$ac_top_srcdir&;t t
19264 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19265 s&@builddir@&$ac_builddir&;t t
19266 s&@abs_builddir@&$ac_abs_builddir&;t t
19267 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19268 s&@INSTALL@&$ac_INSTALL&;t t
19269 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19270 $ac_datarootdir_hack
19272 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19273 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19275 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19276 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19277 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19278 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19280 which seems to be undefined. Please make sure it is defined" >&5
19281 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19282 which seems to be undefined. Please make sure it is defined" >&2;}
19284 rm -f "$ac_tmp/stdin"
19286 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19287 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19289 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19295 if test x"$ac_file" != x-; then
19297 $as_echo "/* $configure_input */" \
19298 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19299 } >"$ac_tmp/config.h" \
19300 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19301 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19303 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19306 mv "$ac_tmp/config.h" "$ac_file" \
19307 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19310 $as_echo "/* $configure_input */" \
19311 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19312 || as_fn_error $? "could not create -" "$LINENO" 5
19314 # Compute "$ac_file"'s index in $config_headers.
19317 for _am_header in $config_headers :; do
19318 case $_am_header in
19319 $_am_arg | $_am_arg:* )
19322 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19325 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19326 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19327 X"$_am_arg" : 'X\(//\)[^/]' \| \
19328 X"$_am_arg" : 'X\(//\)$' \| \
19329 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19330 $as_echo X"$_am_arg" |
19331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19335 /^X\(\/\/\)[^/].*/{
19347 s/.*/./; q'`/stamp-h$_am_stamp_count
19350 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19351 $as_echo "$as_me: executing $ac_file commands" >&6;}
19356 case $ac_file$ac_mode in
19357 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19358 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19359 # are listed without --file. Let's play safe and only enable the eval
19360 # if we detect the quoting.
19361 case $CONFIG_FILES in
19362 *\'*) eval set x "$CONFIG_FILES" ;;
19363 *) set x $CONFIG_FILES ;;
19368 # Strip MF so we end up with the name of the file.
19369 mf=`echo "$mf" | sed -e 's/:.*$//'`
19370 # Check whether this is an Automake generated Makefile or not.
19371 # We used to match only the files named `Makefile.in', but
19372 # some people rename them; so instead we look at the file content.
19373 # Grep'ing the first line is not enough: some people post-process
19374 # each Makefile.in and add a new line on top of each file to say so.
19375 # Grep'ing the whole file is not good either: AIX grep has a line
19376 # limit of 2048, but all sed's we know have understand at least 4000.
19377 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19378 dirpart=`$as_dirname -- "$mf" ||
19379 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19380 X"$mf" : 'X\(//\)[^/]' \| \
19381 X"$mf" : 'X\(//\)$' \| \
19382 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19388 /^X\(\/\/\)[^/].*/{
19404 # Extract the definition of DEPDIR, am__include, and am__quote
19405 # from the Makefile without running `make'.
19406 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19407 test -z "$DEPDIR" && continue
19408 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19409 test -z "am__include" && continue
19410 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19411 # When using ansi2knr, U may be empty or an underscore; expand it
19412 U=`sed -n 's/^U = //p' < "$mf"`
19413 # Find all dependency output files, they are included files with
19414 # $(DEPDIR) in their names. We invoke sed twice because it is the
19415 # simplest approach to changing $(DEPDIR) to its actual value in the
19417 for file in `sed -n "
19418 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19419 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19420 # Make sure the directory exists.
19421 test -f "$dirpart/$file" && continue
19422 fdir=`$as_dirname -- "$file" ||
19423 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19424 X"$file" : 'X\(//\)[^/]' \| \
19425 X"$file" : 'X\(//\)$' \| \
19426 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19427 $as_echo X"$file" |
19428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19432 /^X\(\/\/\)[^/].*/{
19445 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19446 # echo "creating $dirpart/$file"
19447 echo '# dummy' > "$dirpart/$file"
19454 # See if we are running on zsh, and set the options which allow our
19455 # commands through without removal of \ escapes.
19456 if test -n "${ZSH_VERSION+set}" ; then
19457 setopt NO_GLOB_SUBST
19460 cfgfile="${ofile}T"
19461 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19464 cat <<_LT_EOF >> "$cfgfile"
19467 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19468 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19469 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19470 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19472 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19473 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
19475 # Written by Gordon Matzigkeit, 1996
19477 # This file is part of GNU Libtool.
19479 # GNU Libtool is free software; you can redistribute it and/or
19480 # modify it under the terms of the GNU General Public License as
19481 # published by the Free Software Foundation; either version 2 of
19482 # the License, or (at your option) any later version.
19484 # As a special exception to the GNU General Public License,
19485 # if you distribute this file as part of a program or library that
19486 # is built using GNU Libtool, you may include this file under the
19487 # same distribution terms that you use for the rest of that program.
19489 # GNU Libtool is distributed in the hope that it will be useful,
19490 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19491 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19492 # GNU General Public License for more details.
19494 # You should have received a copy of the GNU General Public License
19495 # along with GNU Libtool; see the file COPYING. If not, a copy
19496 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19497 # obtained by writing to the Free Software Foundation, Inc.,
19498 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19501 # The names of the tagged configurations supported by this script.
19504 # ### BEGIN LIBTOOL CONFIG
19506 # Which release of libtool.m4 was used?
19507 macro_version=$macro_version
19508 macro_revision=$macro_revision
19510 # Whether or not to build static libraries.
19511 build_old_libs=$enable_static
19513 # Whether or not to build shared libraries.
19514 build_libtool_libs=$enable_shared
19516 # What type of objects to build.
19519 # Whether or not to optimize for fast installation.
19520 fast_install=$enable_fast_install
19522 # Shell to use when invoking shell scripts.
19525 # An echo program that protects backslashes.
19529 host_alias=$host_alias
19533 # The build system.
19534 build_alias=$build_alias
19538 # A sed program that does not truncate output.
19541 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19542 Xsed="\$SED -e 1s/^X//"
19544 # A grep program that handles long lines.
19550 # A literal string matcher.
19553 # A BSD- or MS-compatible name lister.
19556 # Whether we need soft or hard links.
19559 # What is the maximum length of a command?
19560 max_cmd_len=$max_cmd_len
19562 # Object file suffix (normally "o").
19565 # Executable file suffix (normally "").
19568 # whether the shell understands "unset".
19571 # turn spaces into newlines.
19574 # turn newlines into spaces.
19577 # convert \$build file names to \$host format.
19578 to_host_file_cmd=$lt_cv_to_host_file_cmd
19580 # convert \$build files to toolchain format.
19581 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19583 # An object symbol dumper.
19584 OBJDUMP=$lt_OBJDUMP
19586 # Method to check whether dependent libraries are shared objects.
19587 deplibs_check_method=$lt_deplibs_check_method
19589 # Command to use when deplibs_check_method = "file_magic".
19590 file_magic_cmd=$lt_file_magic_cmd
19592 # How to find potential files when deplibs_check_method = "file_magic".
19593 file_magic_glob=$lt_file_magic_glob
19595 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19596 want_nocaseglob=$lt_want_nocaseglob
19598 # DLL creation program.
19599 DLLTOOL=$lt_DLLTOOL
19601 # Command to associate shared and link libraries.
19602 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19607 # Flags to create an archive.
19608 AR_FLAGS=$lt_AR_FLAGS
19610 # How to feed a file listing to the archiver.
19611 archiver_list_spec=$lt_archiver_list_spec
19613 # A symbol stripping program.
19616 # Commands used to install an old-style archive.
19618 old_postinstall_cmds=$lt_old_postinstall_cmds
19619 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19621 # Whether to use a lock for old archive extraction.
19622 lock_old_archive_extraction=$lock_old_archive_extraction
19627 # LTCC compiler flags.
19628 LTCFLAGS=$lt_CFLAGS
19630 # Take the output of nm and produce a listing of raw symbols and C names.
19631 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19633 # Transform the output of nm in a proper C declaration.
19634 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19636 # Transform the output of nm in a C name address pair.
19637 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19639 # Transform the output of nm in a C name address pair when lib prefix is needed.
19640 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19642 # Specify filename containing input files for \$NM.
19643 nm_file_list_spec=$lt_nm_file_list_spec
19645 # The root where to search for dependent libraries,and in which our libraries should be installed.
19646 lt_sysroot=$lt_sysroot
19648 # The name of the directory that contains temporary libtool files.
19651 # Used to examine libraries when file_magic_cmd begins with "file".
19652 MAGIC_CMD=$MAGIC_CMD
19654 # Must we lock files when doing compilation?
19655 need_locks=$lt_need_locks
19658 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19660 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19661 DSYMUTIL=$lt_DSYMUTIL
19663 # Tool to change global to local symbols on Mac OS X.
19666 # Tool to manipulate fat objects and archives on Mac OS X.
19669 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19672 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19673 OTOOL64=$lt_OTOOL64
19675 # Old archive suffix (normally "a").
19678 # Shared library suffix (normally ".so").
19679 shrext_cmds=$lt_shrext_cmds
19681 # The commands to extract the exported symbol list from a shared archive.
19682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19684 # Variables whose values should be saved in libtool wrapper scripts and
19685 # restored at link time.
19686 variables_saved_for_relink=$lt_variables_saved_for_relink
19688 # Do we need the "lib" prefix for modules?
19689 need_lib_prefix=$need_lib_prefix
19691 # Do we need a version for libraries?
19692 need_version=$need_version
19694 # Library versioning type.
19695 version_type=$version_type
19697 # Shared library runtime path variable.
19698 runpath_var=$runpath_var
19700 # Shared library path variable.
19701 shlibpath_var=$shlibpath_var
19703 # Is shlibpath searched before the hard-coded library search path?
19704 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19706 # Format of library name prefix.
19707 libname_spec=$lt_libname_spec
19709 # List of archive names. First name is the real one, the rest are links.
19710 # The last name is the one that the linker finds with -lNAME
19711 library_names_spec=$lt_library_names_spec
19713 # The coded name of the library, if different from the real name.
19714 soname_spec=$lt_soname_spec
19716 # Permission mode override for installation of shared libraries.
19717 install_override_mode=$lt_install_override_mode
19719 # Command to use after installation of a shared archive.
19720 postinstall_cmds=$lt_postinstall_cmds
19722 # Command to use after uninstallation of a shared archive.
19723 postuninstall_cmds=$lt_postuninstall_cmds
19725 # Commands used to finish a libtool library installation in a directory.
19726 finish_cmds=$lt_finish_cmds
19728 # As "finish_cmds", except a single script fragment to be evaled but
19730 finish_eval=$lt_finish_eval
19732 # Whether we should hardcode library paths into libraries.
19733 hardcode_into_libs=$hardcode_into_libs
19735 # Compile-time system search path for libraries.
19736 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19738 # Run-time system search path for libraries.
19739 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19741 # Whether dlopen is supported.
19742 dlopen_support=$enable_dlopen
19744 # Whether dlopen of programs is supported.
19745 dlopen_self=$enable_dlopen_self
19747 # Whether dlopen of statically linked programs is supported.
19748 dlopen_self_static=$enable_dlopen_self_static
19750 # Commands to strip libraries.
19751 old_striplib=$lt_old_striplib
19752 striplib=$lt_striplib
19755 # The linker used to build libraries.
19758 # How to create reloadable object files.
19759 reload_flag=$lt_reload_flag
19760 reload_cmds=$lt_reload_cmds
19762 # Commands used to build an old-style archive.
19763 old_archive_cmds=$lt_old_archive_cmds
19765 # A language specific compiler.
19768 # Is the compiler the GNU compiler?
19771 # Compiler flag to turn off builtin functions.
19772 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19774 # Additional compiler flags for building library objects.
19775 pic_flag=$lt_lt_prog_compiler_pic
19777 # How to pass a linker flag through the compiler.
19778 wl=$lt_lt_prog_compiler_wl
19780 # Compiler flag to prevent dynamic linking.
19781 link_static_flag=$lt_lt_prog_compiler_static
19783 # Does compiler simultaneously support -c and -o options?
19784 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19786 # Whether or not to add -lc for building shared libraries.
19787 build_libtool_need_lc=$archive_cmds_need_lc
19789 # Whether or not to disallow shared libs when runtime libs are static.
19790 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19792 # Compiler flag to allow reflexive dlopens.
19793 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19795 # Compiler flag to generate shared objects directly from archives.
19796 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19798 # Whether the compiler copes with passing no objects directly.
19799 compiler_needs_object=$lt_compiler_needs_object
19801 # Create an old-style archive from a shared archive.
19802 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19804 # Create a temporary old-style archive to link instead of a shared archive.
19805 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19807 # Commands used to build a shared archive.
19808 archive_cmds=$lt_archive_cmds
19809 archive_expsym_cmds=$lt_archive_expsym_cmds
19811 # Commands used to build a loadable module if different from building
19812 # a shared archive.
19813 module_cmds=$lt_module_cmds
19814 module_expsym_cmds=$lt_module_expsym_cmds
19816 # Whether we are building with GNU ld or not.
19817 with_gnu_ld=$lt_with_gnu_ld
19819 # Flag that allows shared libraries with undefined symbols to be built.
19820 allow_undefined_flag=$lt_allow_undefined_flag
19822 # Flag that enforces no undefined symbols.
19823 no_undefined_flag=$lt_no_undefined_flag
19825 # Flag to hardcode \$libdir into a binary during linking.
19826 # This must work even if \$libdir does not exist
19827 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19829 # If ld is used when linking, flag to hardcode \$libdir into a binary
19830 # during linking. This must work even if \$libdir does not exist.
19831 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19833 # Whether we need a single "-rpath" flag with a separated argument.
19834 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19836 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19837 # DIR into the resulting binary.
19838 hardcode_direct=$hardcode_direct
19840 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19841 # DIR into the resulting binary and the resulting library dependency is
19842 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19843 # library is relocated.
19844 hardcode_direct_absolute=$hardcode_direct_absolute
19846 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19847 # into the resulting binary.
19848 hardcode_minus_L=$hardcode_minus_L
19850 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19851 # into the resulting binary.
19852 hardcode_shlibpath_var=$hardcode_shlibpath_var
19854 # Set to "yes" if building a shared library automatically hardcodes DIR
19855 # into the library and all subsequent libraries and executables linked
19857 hardcode_automatic=$hardcode_automatic
19859 # Set to yes if linker adds runtime paths of dependent libraries
19860 # to runtime path list.
19861 inherit_rpath=$inherit_rpath
19863 # Whether libtool must link a program against all its dependency libraries.
19864 link_all_deplibs=$link_all_deplibs
19866 # Set to "yes" if exported symbols are required.
19867 always_export_symbols=$always_export_symbols
19869 # The commands to list exported symbols.
19870 export_symbols_cmds=$lt_export_symbols_cmds
19872 # Symbols that should not be listed in the preloaded symbols.
19873 exclude_expsyms=$lt_exclude_expsyms
19875 # Symbols that must always be exported.
19876 include_expsyms=$lt_include_expsyms
19878 # Commands necessary for linking programs (against libraries) with templates.
19879 prelink_cmds=$lt_prelink_cmds
19881 # Commands necessary for finishing linking programs.
19882 postlink_cmds=$lt_postlink_cmds
19884 # Specify filename containing input files.
19885 file_list_spec=$lt_file_list_spec
19887 # How to hardcode a shared library path into an executable.
19888 hardcode_action=$hardcode_action
19890 # ### END LIBTOOL CONFIG
19896 cat <<\_LT_EOF >> "$cfgfile"
19897 # AIX sometimes has problems with the GCC collect2 program. For some
19898 # reason, if we set the COLLECT_NAMES environment variable, the problems
19899 # vanish in a puff of smoke.
19900 if test "X${COLLECT_NAMES+set}" != Xset; then
19902 export COLLECT_NAMES
19909 ltmain="$ac_aux_dir/ltmain.sh"
19912 # We use sed instead of cat because bash on DJGPP gets confused if
19913 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19914 # text mode, it properly converts lines to CR/LF. This bash problem
19915 # is reportedly fixed, but why not run on old versions too?
19916 sed '$q' "$ltmain" >> "$cfgfile" \
19917 || (rm -f "$cfgfile"; exit 1)
19919 if test x"$xsi_shell" = xyes; then
19920 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19924 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19925 \ * ) func_dirname_result="${3}" ;;\
19927 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19928 && mv -f "$cfgfile.tmp" "$cfgfile" \
19929 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19930 test 0 -eq $? || _lt_function_replace_fail=:
19933 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19936 \ func_basename_result="${1##*/}"\
19937 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19938 && mv -f "$cfgfile.tmp" "$cfgfile" \
19939 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19940 test 0 -eq $? || _lt_function_replace_fail=:
19943 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19944 func_dirname_and_basename ()\
19947 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19948 \ * ) func_dirname_result="${3}" ;;\
19950 \ func_basename_result="${1##*/}"\
19951 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19952 && mv -f "$cfgfile.tmp" "$cfgfile" \
19953 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19954 test 0 -eq $? || _lt_function_replace_fail=:
19957 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19960 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19961 \ # positional parameters, so assign one to ordinary parameter first.\
19962 \ func_stripname_result=${3}\
19963 \ func_stripname_result=${func_stripname_result#"${1}"}\
19964 \ func_stripname_result=${func_stripname_result%"${2}"}\
19965 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19966 && mv -f "$cfgfile.tmp" "$cfgfile" \
19967 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19968 test 0 -eq $? || _lt_function_replace_fail=:
19971 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19972 func_split_long_opt ()\
19974 \ func_split_long_opt_name=${1%%=*}\
19975 \ func_split_long_opt_arg=${1#*=}\
19976 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19977 && mv -f "$cfgfile.tmp" "$cfgfile" \
19978 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19979 test 0 -eq $? || _lt_function_replace_fail=:
19982 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19983 func_split_short_opt ()\
19985 \ func_split_short_opt_arg=${1#??}\
19986 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19987 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19988 && mv -f "$cfgfile.tmp" "$cfgfile" \
19989 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19990 test 0 -eq $? || _lt_function_replace_fail=:
19993 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19997 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19998 \ *) func_lo2o_result=${1} ;;\
20000 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20001 && mv -f "$cfgfile.tmp" "$cfgfile" \
20002 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20003 test 0 -eq $? || _lt_function_replace_fail=:
20006 sed -e '/^func_xform ()$/,/^} # func_xform /c\
20009 func_xform_result=${1%.*}.lo\
20010 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20011 && mv -f "$cfgfile.tmp" "$cfgfile" \
20012 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20013 test 0 -eq $? || _lt_function_replace_fail=:
20016 sed -e '/^func_arith ()$/,/^} # func_arith /c\
20019 func_arith_result=$(( $* ))\
20020 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20021 && mv -f "$cfgfile.tmp" "$cfgfile" \
20022 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20023 test 0 -eq $? || _lt_function_replace_fail=:
20026 sed -e '/^func_len ()$/,/^} # func_len /c\
20029 func_len_result=${#1}\
20030 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20031 && mv -f "$cfgfile.tmp" "$cfgfile" \
20032 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20033 test 0 -eq $? || _lt_function_replace_fail=:
20037 if test x"$lt_shell_append" = xyes; then
20038 sed -e '/^func_append ()$/,/^} # func_append /c\
20041 eval "${1}+=\\${2}"\
20042 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20043 && mv -f "$cfgfile.tmp" "$cfgfile" \
20044 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20045 test 0 -eq $? || _lt_function_replace_fail=:
20048 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20049 func_append_quoted ()\
20051 \ func_quote_for_eval "${2}"\
20052 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20053 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20054 && mv -f "$cfgfile.tmp" "$cfgfile" \
20055 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20056 test 0 -eq $? || _lt_function_replace_fail=:
20059 # Save a `func_append' function call where possible by direct use of '+='
20060 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20061 && mv -f "$cfgfile.tmp" "$cfgfile" \
20062 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20063 test 0 -eq $? || _lt_function_replace_fail=:
20065 # Save a `func_append' function call even when '+=' is not available
20066 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20067 && mv -f "$cfgfile.tmp" "$cfgfile" \
20068 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20069 test 0 -eq $? || _lt_function_replace_fail=:
20072 if test x"$_lt_function_replace_fail" = x":"; then
20073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20074 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20078 mv -f "$cfgfile" "$ofile" ||
20079 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20083 "po-directories":C)
20084 for ac_file in $CONFIG_FILES; do
20085 # Support "outfile[:infile[:infile...]]"
20087 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20089 # PO directories have a Makefile.in generated from Makefile.in.in.
20090 case "$ac_file" in */Makefile.in)
20091 # Adjust a relative srcdir.
20092 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20093 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
20094 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20095 # In autoconf-2.13 it is called $ac_given_srcdir.
20096 # In autoconf-2.50 it is called $srcdir.
20097 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
20098 case "$ac_given_srcdir" in
20099 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
20100 /*) top_srcdir="$ac_given_srcdir" ;;
20101 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
20103 # Treat a directory as a PO directory if and only if it has a
20104 # POTFILES.in file. This allows packages to have multiple PO
20105 # directories under different names or in different locations.
20106 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20107 rm -f "$ac_dir/POTFILES"
20108 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
20109 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20110 POMAKEFILEDEPS="POTFILES.in"
20111 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
20112 # on $ac_dir but don't depend on user-specified configuration
20114 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20115 # The LINGUAS file contains the set of available languages.
20116 if test -n "$OBSOLETE_ALL_LINGUAS"; then
20117 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
20119 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20120 # Hide the ALL_LINGUAS assigment from automake < 1.5.
20121 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20122 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
20124 # The set of available languages was given in configure.in.
20125 # Hide the ALL_LINGUAS assigment from automake < 1.5.
20126 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20129 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
20130 # Compute UPDATEPOFILES
20131 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
20132 # Compute DUMMYPOFILES
20133 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
20135 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
20136 case "$ac_given_srcdir" in
20138 *) srcdirpre='$(srcdir)/' ;;
20144 for lang in $ALL_LINGUAS; do
20145 POFILES="$POFILES $srcdirpre$lang.po"
20146 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
20147 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
20148 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
20150 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20151 # environment variable.
20153 if test -n "$ALL_LINGUAS"; then
20154 for presentlang in $ALL_LINGUAS; do
20156 if test "%UNSET%" != "$LINGUAS"; then
20157 desiredlanguages="$LINGUAS"
20159 desiredlanguages="$ALL_LINGUAS"
20161 for desiredlang in $desiredlanguages; do
20162 # Use the presentlang catalog if desiredlang is
20163 # a. equal to presentlang, or
20164 # b. a variant of presentlang (because in this case,
20165 # presentlang can be used as a fallback for messages
20166 # which are not translated in the desiredlang catalog).
20167 case "$desiredlang" in
20168 "$presentlang"*) useit=yes;;
20171 if test $useit = yes; then
20172 INST_LINGUAS="$INST_LINGUAS $presentlang"
20177 if test -n "$INST_LINGUAS"; then
20178 for lang in $INST_LINGUAS; do
20179 CATALOGS="$CATALOGS $lang.gmo"
20182 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
20183 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"
20184 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
20185 if test -f "$f"; then
20187 *.orig | *.bak | *~) ;;
20188 *) cat "$f" >> "$ac_dir/Makefile" ;;
20203 ac_clean_files=$ac_clean_files_save
20205 test $ac_write_fail = 0 ||
20206 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20209 # configure is writing to config.log, and then calls config.status.
20210 # config.status does its own redirection, appending to config.log.
20211 # Unfortunately, on DOS this fails, as config.log is still kept open
20212 # by configure, so config.status won't be able to write to it; its
20213 # output is simply discarded. So we exec the FD to /dev/null,
20214 # effectively closing config.log, so it can be properly (re)opened and
20215 # appended to by config.status. When coming back to configure, we
20216 # need to make the FD available again.
20217 if test "$no_create" != yes; then
20219 ac_config_status_args=
20220 test "$silent" = yes &&
20221 ac_config_status_args="$ac_config_status_args --quiet"
20223 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20225 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20226 # would make configure fail if this is the last instruction.
20227 $ac_cs_success || as_fn_exit 1
20229 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20231 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20237 echo "Clutter - $VERSION (${CLUTTER_RELEASE_STATUS})"
20242 echo " Prefix: ${prefix}"
20243 echo " Libdir: ${libdir}"
20244 echo " Sysconfdir: ${sysconfdir}"
20246 # Compiler/Debug related flags
20248 echo " • Compiler options:"
20249 echo " Clutter debug level: ${enable_debug}"
20250 echo " Compiler flags: ${CFLAGS} ${MAINTAINER_CFLAGS}"
20251 echo " Profiling enabled: ${enable_profile}"
20252 echo " Enable coverage tests: ${enable_gcov}"
20253 echo " Enable deprecated symbols: ${enable_deprecated}"
20257 echo " • Documentation:"
20258 echo " Build API Reference: ${enable_gtk_doc}"
20259 echo " Build Additional Documentation: ${enable_docs} (Generate PDF: ${enable_pdfs})"
20264 echo " Build introspection data: ${enable_introspection}"
20265 echo " Build conformance test suite: ${enable_conformance}"
20266 echo " Build X11-specific tests: ${x11_tests}"
20267 echo " Build tests using GDK-Pixbuf: ${pixbuf_tests}"
20269 # Clutter backend related flags
20271 echo " • Clutter Backends:"
20273 if test "x$experimental_backend" = "xno"; then
20274 echo " Windowing systems: ${CLUTTER_BACKENDS}"
20276 echo " Windowing systems: ${CLUTTER_BACKENDS} (WARNING: Experimental backends enabled)"
20279 if test "x$experimental_input_backend" = "xno"; then
20280 echo " Input backends: ${CLUTTER_INPUT_BACKENDS}"
20282 echo " Input backends: ${CLUTTER_INPUT_BACKENDS} (WARNING: Experimental backends enabled)"
20285 if test "x$SUPPORT_X11" = "x1"; then
20287 echo " - X11 backend options:"
20288 echo " Enabled extensions: ${X11_EXTS}"
20291 if test "x$SUPPORT_CEX100" = "x1"; then
20293 echo " - CEx100 backend options (WARNING: Experimental):"
20294 echo " libGDL include prefix: ${CLUTTER_CEX100_LIBGDL_PREFIX}"
20297 if test "x$SUPPORT_WAYLAND_COMPOSITOR" = "x1"; then
20299 echo " - Wayland compositor support enabled (WARNING: Experimental)"
20304 # General warning about experimental features
20305 if test "x$experimental_backend" = "xyes"; then
20307 echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"
20308 echo "*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*"
20310 echo " The stability of your build might be affected by one or more"
20311 echo " experimental backends or experimental and unsupported features"
20313 echo "*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*"
20314 echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"