2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for cairo 1.12.16.
5 # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=cairo>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
593 PACKAGE_TARNAME='cairo'
594 PACKAGE_VERSION='1.12.16'
595 PACKAGE_STRING='cairo 1.12.16'
596 PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=cairo'
597 PACKAGE_URL='http://cairographics.org/'
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_unique_file="src/cairo.h"
636 ac_subst_vars='am__EXEEXT_FALSE
646 DISABLE_SOME_FLOATING_POINT_FALSE
647 DISABLE_SOME_FLOATING_POINT_TRUE
653 CAIRO_HAS_SYMBOL_LOOKUP_FALSE
654 CAIRO_HAS_SYMBOL_LOOKUP_TRUE
656 CAIRO_HAS_INTERPRETER_FALSE
657 CAIRO_HAS_INTERPRETER_TRUE
658 CAIRO_HAS_TRACE_FALSE
664 CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE
665 CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE
674 HAVE_REAL_PTHREAD_FALSE
675 HAVE_REAL_PTHREAD_TRUE
676 CAIRO_HAS_PTHREAD_FALSE
677 CAIRO_HAS_PTHREAD_TRUE
678 CAIRO_HAS_XML_SURFACE_FALSE
679 CAIRO_HAS_XML_SURFACE_TRUE
680 CAIRO_HAS_TEE_SURFACE_FALSE
681 CAIRO_HAS_TEE_SURFACE_TRUE
684 CAIRO_HAS_TEST_SURFACES_FALSE
685 CAIRO_HAS_TEST_SURFACES_TRUE
686 CAIRO_CAN_TEST_SVG_SURFACE_FALSE
687 CAIRO_CAN_TEST_SVG_SURFACE_TRUE
690 CAIRO_HAS_SVG_SURFACE_FALSE
691 CAIRO_HAS_SVG_SURFACE_TRUE
692 CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE
693 CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE
694 CAIRO_CAN_TEST_PDF_SURFACE_FALSE
695 CAIRO_CAN_TEST_PDF_SURFACE_TRUE
698 CAIRO_HAS_PDF_SURFACE_FALSE
699 CAIRO_HAS_PDF_SURFACE_TRUE
700 CAIRO_HAS_SPECTRE_FALSE
701 CAIRO_HAS_SPECTRE_TRUE
702 CAIRO_CAN_TEST_PS_SURFACE_FALSE
703 CAIRO_CAN_TEST_PS_SURFACE_TRUE
706 CAIRO_HAS_PS_SURFACE_FALSE
707 CAIRO_HAS_PS_SURFACE_TRUE
708 CAIRO_HAS_FC_FONT_FALSE
709 CAIRO_HAS_FC_FONT_TRUE
712 CAIRO_HAS_FT_FONT_FALSE
713 CAIRO_HAS_FT_FONT_TRUE
717 CAIRO_HAS_SCRIPT_SURFACE_FALSE
718 CAIRO_HAS_SCRIPT_SURFACE_TRUE
719 CAIRO_HAS_WGL_FUNCTIONS_FALSE
720 CAIRO_HAS_WGL_FUNCTIONS_TRUE
721 CAIRO_HAS_GLX_FUNCTIONS_FALSE
722 CAIRO_HAS_GLX_FUNCTIONS_TRUE
723 CAIRO_HAS_EGL_FUNCTIONS_FALSE
724 CAIRO_HAS_EGL_FUNCTIONS_TRUE
727 CAIRO_HAS_VG_SURFACE_FALSE
728 CAIRO_HAS_VG_SURFACE_TRUE
729 CAIRO_HAS_DIRECTFB_SURFACE_FALSE
730 CAIRO_HAS_DIRECTFB_SURFACE_TRUE
733 CAIRO_HAS_COGL_SURFACE_FALSE
734 CAIRO_HAS_COGL_SURFACE_TRUE
737 CAIRO_HAS_GLESV2_SURFACE_FALSE
738 CAIRO_HAS_GLESV2_SURFACE_TRUE
741 CAIRO_HAS_GL_SURFACE_FALSE
742 CAIRO_HAS_GL_SURFACE_TRUE
745 CAIRO_HAS_PNG_FUNCTIONS_FALSE
746 CAIRO_HAS_PNG_FUNCTIONS_TRUE
750 CAIRO_HAS_GALLIUM_SURFACE_FALSE
751 CAIRO_HAS_GALLIUM_SURFACE_TRUE
754 CAIRO_HAS_DRM_SURFACE_FALSE
755 CAIRO_HAS_DRM_SURFACE_TRUE
758 CAIRO_HAS_BEOS_SURFACE_FALSE
759 CAIRO_HAS_BEOS_SURFACE_TRUE
760 CAIRO_HAS_OS2_SURFACE_FALSE
761 CAIRO_HAS_OS2_SURFACE_TRUE
762 CAIRO_HAS_SKIA_SURFACE_FALSE
763 CAIRO_HAS_SKIA_SURFACE_TRUE
765 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE
766 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE
768 CAIRO_HAS_WIN32_FONT_FALSE
769 CAIRO_HAS_WIN32_FONT_TRUE
770 CAIRO_HAS_WIN32_SURFACE_FALSE
771 CAIRO_HAS_WIN32_SURFACE_TRUE
772 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE
773 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE
774 CAIRO_HAS_QUARTZ_FONT_FALSE
775 CAIRO_HAS_QUARTZ_FONT_TRUE
776 CAIRO_HAS_QUARTZ_SURFACE_FALSE
777 CAIRO_HAS_QUARTZ_SURFACE_TRUE
778 CAIRO_HAS_QT_SURFACE_FALSE
779 CAIRO_HAS_QT_SURFACE_TRUE
782 CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE
783 CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE
786 CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE
787 CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE
790 CAIRO_HAS_XCB_SURFACE_FALSE
791 CAIRO_HAS_XCB_SURFACE_TRUE
794 CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE
795 CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE
798 CAIRO_HAS_XLIB_SURFACE_FALSE
799 CAIRO_HAS_XLIB_SURFACE_TRUE
807 CAIRO_HAS_DLSYM_FALSE
819 CAIROBOILERPLATE_LIBS
826 CROSS_COMPILING_FALSE
828 CAIRO_TEST_UNDEFINED_LDFLAGS
829 CAIRO_NONPKGCONFIG_LIBS
831 CAIRO_NONPKGCONFIG_CFLAGS
845 CAIRO_LIBTOOL_VERSION_INFO
851 GTK_DOC_USE_REBASE_FALSE
852 GTK_DOC_USE_REBASE_TRUE
853 GTK_DOC_USE_LIBTOOL_FALSE
854 GTK_DOC_USE_LIBTOOL_TRUE
855 GTK_DOC_BUILD_PDF_FALSE
856 GTK_DOC_BUILD_PDF_TRUE
857 GTK_DOC_BUILD_HTML_FALSE
858 GTK_DOC_BUILD_HTML_TRUE
918 INSTALL_STRIP_PROGRAM
970 program_transform_name
983 enable_option_checking
984 enable_dependency_tracking
1036 enable_test_surfaces
1044 enable_symbol_lookup
1045 enable_some_floating_point
1047 ac_precious_vars='build_alias
1113 # Initialize some variables set by options.
1115 ac_init_version=false
1116 ac_unrecognized_opts=
1117 ac_unrecognized_sep=
1118 # The variables have the same names as the options, with
1119 # dashes changed to underlines.
1120 cache_file=/dev/null
1127 program_transform_name=s,x,x,
1135 # Installation directory options.
1136 # These are left unexpanded so users can "make install exec_prefix=/foo"
1137 # and all the variables that are supposed to be based on exec_prefix
1138 # by default will actually change.
1139 # Use braces instead of parens because sh, perl, etc. also accept them.
1140 # (The list follows the same order as the GNU Coding Standards.)
1141 bindir='${exec_prefix}/bin'
1142 sbindir='${exec_prefix}/sbin'
1143 libexecdir='${exec_prefix}/libexec'
1144 datarootdir='${prefix}/share'
1145 datadir='${datarootdir}'
1146 sysconfdir='${prefix}/etc'
1147 sharedstatedir='${prefix}/com'
1148 localstatedir='${prefix}/var'
1149 includedir='${prefix}/include'
1150 oldincludedir='/usr/include'
1151 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1152 infodir='${datarootdir}/info'
1157 libdir='${exec_prefix}/lib'
1158 localedir='${datarootdir}/locale'
1159 mandir='${datarootdir}/man'
1165 # If the previous option needs an argument, assign it.
1166 if test -n "$ac_prev"; then
1167 eval $ac_prev=\$ac_option
1173 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1178 # Accept the important Cygnus configure options, so we can diagnose typos.
1180 case $ac_dashdash$ac_option in
1184 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1186 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1187 bindir=$ac_optarg ;;
1189 -build | --build | --buil | --bui | --bu)
1190 ac_prev=build_alias ;;
1191 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1192 build_alias=$ac_optarg ;;
1194 -cache-file | --cache-file | --cache-fil | --cache-fi \
1195 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1196 ac_prev=cache_file ;;
1197 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1198 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1199 cache_file=$ac_optarg ;;
1201 --config-cache | -C)
1202 cache_file=config.cache ;;
1204 -datadir | --datadir | --datadi | --datad)
1206 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1207 datadir=$ac_optarg ;;
1209 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1210 | --dataroo | --dataro | --datar)
1211 ac_prev=datarootdir ;;
1212 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1213 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1214 datarootdir=$ac_optarg ;;
1216 -disable-* | --disable-*)
1217 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1220 as_fn_error $? "invalid feature name: $ac_useropt"
1221 ac_useropt_orig=$ac_useropt
1222 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1225 "enable_$ac_useropt"
1227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1228 ac_unrecognized_sep=', ';;
1230 eval enable_$ac_useropt=no ;;
1232 -docdir | --docdir | --docdi | --doc | --do)
1234 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1235 docdir=$ac_optarg ;;
1237 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1239 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1240 dvidir=$ac_optarg ;;
1242 -enable-* | --enable-*)
1243 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1246 as_fn_error $? "invalid feature name: $ac_useropt"
1247 ac_useropt_orig=$ac_useropt
1248 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1251 "enable_$ac_useropt"
1253 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1254 ac_unrecognized_sep=', ';;
1256 eval enable_$ac_useropt=\$ac_optarg ;;
1258 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1259 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1260 | --exec | --exe | --ex)
1261 ac_prev=exec_prefix ;;
1262 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1263 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1264 | --exec=* | --exe=* | --ex=*)
1265 exec_prefix=$ac_optarg ;;
1267 -gas | --gas | --ga | --g)
1268 # Obsolete; use --with-gas.
1271 -help | --help | --hel | --he | -h)
1272 ac_init_help=long ;;
1273 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1274 ac_init_help=recursive ;;
1275 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1276 ac_init_help=short ;;
1278 -host | --host | --hos | --ho)
1279 ac_prev=host_alias ;;
1280 -host=* | --host=* | --hos=* | --ho=*)
1281 host_alias=$ac_optarg ;;
1283 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1285 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1287 htmldir=$ac_optarg ;;
1289 -includedir | --includedir | --includedi | --included | --include \
1290 | --includ | --inclu | --incl | --inc)
1291 ac_prev=includedir ;;
1292 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1293 | --includ=* | --inclu=* | --incl=* | --inc=*)
1294 includedir=$ac_optarg ;;
1296 -infodir | --infodir | --infodi | --infod | --info | --inf)
1298 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1299 infodir=$ac_optarg ;;
1301 -libdir | --libdir | --libdi | --libd)
1303 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1304 libdir=$ac_optarg ;;
1306 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1307 | --libexe | --libex | --libe)
1308 ac_prev=libexecdir ;;
1309 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1310 | --libexe=* | --libex=* | --libe=*)
1311 libexecdir=$ac_optarg ;;
1313 -localedir | --localedir | --localedi | --localed | --locale)
1314 ac_prev=localedir ;;
1315 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1316 localedir=$ac_optarg ;;
1318 -localstatedir | --localstatedir | --localstatedi | --localstated \
1319 | --localstate | --localstat | --localsta | --localst | --locals)
1320 ac_prev=localstatedir ;;
1321 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1322 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1323 localstatedir=$ac_optarg ;;
1325 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1327 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1328 mandir=$ac_optarg ;;
1330 -nfp | --nfp | --nf)
1331 # Obsolete; use --without-fp.
1334 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1335 | --no-cr | --no-c | -n)
1338 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1339 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1342 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1343 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1344 | --oldin | --oldi | --old | --ol | --o)
1345 ac_prev=oldincludedir ;;
1346 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1347 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1348 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1349 oldincludedir=$ac_optarg ;;
1351 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1353 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1354 prefix=$ac_optarg ;;
1356 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1357 | --program-pre | --program-pr | --program-p)
1358 ac_prev=program_prefix ;;
1359 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1360 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1361 program_prefix=$ac_optarg ;;
1363 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1364 | --program-suf | --program-su | --program-s)
1365 ac_prev=program_suffix ;;
1366 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1367 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1368 program_suffix=$ac_optarg ;;
1370 -program-transform-name | --program-transform-name \
1371 | --program-transform-nam | --program-transform-na \
1372 | --program-transform-n | --program-transform- \
1373 | --program-transform | --program-transfor \
1374 | --program-transfo | --program-transf \
1375 | --program-trans | --program-tran \
1376 | --progr-tra | --program-tr | --program-t)
1377 ac_prev=program_transform_name ;;
1378 -program-transform-name=* | --program-transform-name=* \
1379 | --program-transform-nam=* | --program-transform-na=* \
1380 | --program-transform-n=* | --program-transform-=* \
1381 | --program-transform=* | --program-transfor=* \
1382 | --program-transfo=* | --program-transf=* \
1383 | --program-trans=* | --program-tran=* \
1384 | --progr-tra=* | --program-tr=* | --program-t=*)
1385 program_transform_name=$ac_optarg ;;
1387 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1389 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1390 pdfdir=$ac_optarg ;;
1392 -psdir | --psdir | --psdi | --psd | --ps)
1394 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1397 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1398 | -silent | --silent | --silen | --sile | --sil)
1401 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1403 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1405 sbindir=$ac_optarg ;;
1407 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1408 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1409 | --sharedst | --shareds | --shared | --share | --shar \
1411 ac_prev=sharedstatedir ;;
1412 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1413 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1414 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1416 sharedstatedir=$ac_optarg ;;
1418 -site | --site | --sit)
1420 -site=* | --site=* | --sit=*)
1423 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1425 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1426 srcdir=$ac_optarg ;;
1428 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1429 | --syscon | --sysco | --sysc | --sys | --sy)
1430 ac_prev=sysconfdir ;;
1431 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1432 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1433 sysconfdir=$ac_optarg ;;
1435 -target | --target | --targe | --targ | --tar | --ta | --t)
1436 ac_prev=target_alias ;;
1437 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1438 target_alias=$ac_optarg ;;
1440 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1443 -version | --version | --versio | --versi | --vers | -V)
1444 ac_init_version=: ;;
1447 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1448 # Reject names that are not valid shell variable names.
1449 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1450 as_fn_error $? "invalid package name: $ac_useropt"
1451 ac_useropt_orig=$ac_useropt
1452 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1453 case $ac_user_opts in
1457 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1458 ac_unrecognized_sep=', ';;
1460 eval with_$ac_useropt=\$ac_optarg ;;
1462 -without-* | --without-*)
1463 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1464 # Reject names that are not valid shell variable names.
1465 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1466 as_fn_error $? "invalid package name: $ac_useropt"
1467 ac_useropt_orig=$ac_useropt
1468 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1469 case $ac_user_opts in
1473 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1474 ac_unrecognized_sep=', ';;
1476 eval with_$ac_useropt=no ;;
1479 # Obsolete; use --with-x.
1482 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1483 | --x-incl | --x-inc | --x-in | --x-i)
1484 ac_prev=x_includes ;;
1485 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1486 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1487 x_includes=$ac_optarg ;;
1489 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1490 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1491 ac_prev=x_libraries ;;
1492 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1493 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1494 x_libraries=$ac_optarg ;;
1496 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1497 Try \`$0 --help' for more information"
1501 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1502 # Reject names that are not valid shell variable names.
1503 case $ac_envvar in #(
1504 '' | [0-9]* | *[!_$as_cr_alnum]* )
1505 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1507 eval $ac_envvar=\$ac_optarg
1508 export $ac_envvar ;;
1511 # FIXME: should be removed in autoconf 3.0.
1512 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1513 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1514 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1515 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1521 if test -n "$ac_prev"; then
1522 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1523 as_fn_error $? "missing argument to $ac_option"
1526 if test -n "$ac_unrecognized_opts"; then
1527 case $enable_option_checking in
1529 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1530 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1534 # Check all directory arguments for consistency.
1535 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1536 datadir sysconfdir sharedstatedir localstatedir includedir \
1537 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1538 libdir localedir mandir
1540 eval ac_val=\$$ac_var
1541 # Remove trailing slashes.
1544 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1545 eval $ac_var=\$ac_val;;
1547 # Be sure to have absolute directory names.
1549 [\\/$]* | ?:[\\/]* ) continue;;
1550 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1552 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1555 # There might be people who depend on the old broken behavior: `$host'
1556 # used to hold the argument of --host etc.
1557 # FIXME: To remove some day.
1560 target=$target_alias
1562 # FIXME: To remove some day.
1563 if test "x$host_alias" != x; then
1564 if test "x$build_alias" = x; then
1565 cross_compiling=maybe
1566 elif test "x$build_alias" != "x$host_alias"; then
1572 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1574 test "$silent" = yes && exec 6>/dev/null
1577 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1578 ac_ls_di=`ls -di .` &&
1579 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1580 as_fn_error $? "working directory cannot be determined"
1581 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1582 as_fn_error $? "pwd does not report name of working directory"
1585 # Find the source files, if location was not specified.
1586 if test -z "$srcdir"; then
1587 ac_srcdir_defaulted=yes
1588 # Try the directory containing this script, then the parent directory.
1589 ac_confdir=`$as_dirname -- "$as_myself" ||
1590 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1591 X"$as_myself" : 'X\(//\)[^/]' \| \
1592 X"$as_myself" : 'X\(//\)$' \| \
1593 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1594 $as_echo X"$as_myself" |
1595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1613 if test ! -r "$srcdir/$ac_unique_file"; then
1617 ac_srcdir_defaulted=no
1619 if test ! -r "$srcdir/$ac_unique_file"; then
1620 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1621 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1623 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1625 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1627 # When building in place, set srcdir=.
1628 if test "$ac_abs_confdir" = "$ac_pwd"; then
1631 # Remove unnecessary trailing slashes from srcdir.
1632 # Double slashes in file names in object file debugging info
1633 # mess up M-x gdb in Emacs.
1635 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1637 for ac_var in $ac_precious_vars; do
1638 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1639 eval ac_env_${ac_var}_value=\$${ac_var}
1640 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1641 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1645 # Report the --help message.
1647 if test "$ac_init_help" = "long"; then
1648 # Omit some internal or obsolete options to make the list less imposing.
1649 # This message is too long to be a string in the A/UX 3.1 sh.
1651 \`configure' configures cairo 1.12.16 to adapt to many kinds of systems.
1653 Usage: $0 [OPTION]... [VAR=VALUE]...
1655 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1656 VAR=VALUE. See below for descriptions of some of the useful variables.
1658 Defaults for the options are specified in brackets.
1661 -h, --help display this help and exit
1662 --help=short display options specific to this package
1663 --help=recursive display the short help of all the included packages
1664 -V, --version display version information and exit
1665 -q, --quiet, --silent do not print \`checking ...' messages
1666 --cache-file=FILE cache test results in FILE [disabled]
1667 -C, --config-cache alias for \`--cache-file=config.cache'
1668 -n, --no-create do not create output files
1669 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1671 Installation directories:
1672 --prefix=PREFIX install architecture-independent files in PREFIX
1673 [$ac_default_prefix]
1674 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1677 By default, \`make install' will install all the files in
1678 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1679 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1680 for instance \`--prefix=\$HOME'.
1682 For better control, use the options below.
1684 Fine tuning of the installation directories:
1685 --bindir=DIR user executables [EPREFIX/bin]
1686 --sbindir=DIR system admin executables [EPREFIX/sbin]
1687 --libexecdir=DIR program executables [EPREFIX/libexec]
1688 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1689 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1690 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1691 --libdir=DIR object code libraries [EPREFIX/lib]
1692 --includedir=DIR C header files [PREFIX/include]
1693 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1694 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1695 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1696 --infodir=DIR info documentation [DATAROOTDIR/info]
1697 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1698 --mandir=DIR man documentation [DATAROOTDIR/man]
1699 --docdir=DIR documentation root [DATAROOTDIR/doc/cairo]
1700 --htmldir=DIR html documentation [DOCDIR]
1701 --dvidir=DIR dvi documentation [DOCDIR]
1702 --pdfdir=DIR pdf documentation [DOCDIR]
1703 --psdir=DIR ps documentation [DOCDIR]
1709 --program-prefix=PREFIX prepend PREFIX to installed program names
1710 --program-suffix=SUFFIX append SUFFIX to installed program names
1711 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1714 --x-includes=DIR X include files are in DIR
1715 --x-libraries=DIR X library files are in DIR
1718 --build=BUILD configure for building on BUILD [guessed]
1719 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1723 if test -n "$ac_init_help"; then
1724 case $ac_init_help in
1725 short | recursive ) echo "Configuration of cairo 1.12.16:";;
1730 --disable-option-checking ignore unrecognized --enable/--with options
1731 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1732 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1733 --disable-dependency-tracking speeds up one-time build
1734 --enable-dependency-tracking do not reject slow dependency extractors
1735 --enable-silent-rules less verbose build output (undo: `make V=1')
1736 --disable-silent-rules verbose build output (undo: `make V=0')
1737 --enable-shared[=PKGS] build shared libraries [default=yes]
1738 --enable-static[=PKGS] build static libraries [default=yes]
1739 --enable-fast-install[=PKGS]
1740 optimize for fast installation [default=yes]
1741 --disable-libtool-lock avoid locking (might break parallel builds)
1742 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1743 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1744 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1745 --disable-largefile omit support for large files
1746 --disable-atomic disable use of native atomic operations
1747 --enable-gcov Enable gcov
1748 --disable-valgrind Disable valgrind support
1749 --enable-xlib=[no/auto/yes]
1750 Enable cairo's Xlib surface backend feature
1752 --enable-xlib-xrender=[no/auto/yes]
1753 Enable cairo's Xlib Xrender surface backend feature
1755 --enable-xcb=[no/auto/yes]
1756 Enable cairo's XCB surface backend feature
1758 --enable-xlib-xcb=[no/auto/yes]
1759 Enable cairo's Xlib/XCB functions feature
1761 --enable-xcb-shm=[no/auto/yes]
1762 Enable cairo's XCB/SHM functions feature
1764 --enable-qt=[no/auto/yes]
1765 Enable cairo's Qt surface backend feature
1767 --enable-quartz=[no/auto/yes]
1768 Enable cairo's Quartz surface backend feature
1770 --enable-quartz-font=[no/auto/yes]
1771 Enable cairo's Quartz font backend feature
1773 --enable-quartz-image=[no/auto/yes]
1774 Enable cairo's Quartz Image surface backend feature
1776 --enable-win32=[no/auto/yes]
1777 Enable cairo's Microsoft Windows surface backend
1778 feature [default=auto]
1779 --enable-win32-font=[no/auto/yes]
1780 Enable cairo's Microsoft Windows font backend
1781 feature [default=auto]
1782 --enable-skia=[no/auto/yes]
1783 Enable cairo's Skia surface backend feature
1785 --enable-os2=[no/auto/yes]
1786 Enable cairo's OS/2 surface backend feature
1788 --enable-beos=[no/auto/yes]
1789 Enable cairo's BeOS/Zeta surface backend feature
1791 --enable-drm=[no/auto/yes]
1792 Enable cairo's DRM surface backend feature
1794 --enable-gallium=[no/auto/yes]
1795 Enable cairo's Gallium3D surface backend feature
1797 --enable-png=[no/auto/yes]
1798 Enable cairo's PNG functions feature [default=yes]
1799 --enable-gl=[no/auto/yes]
1800 Enable cairo's OpenGL surface backend feature
1802 --enable-glesv2=[no/auto/yes]
1803 Enable cairo's OpenGLESv2 surface backend feature
1805 --enable-cogl=[no/auto/yes]
1806 Enable cairo's Cogl surface backend feature
1808 --enable-directfb=[no/auto/yes]
1809 Enable cairo's directfb surface backend feature
1811 --enable-vg=[no/auto/yes]
1812 Enable cairo's OpenVG surface backend feature
1814 --enable-egl=[no/auto/yes]
1815 Enable cairo's EGL functions feature [default=auto]
1816 --enable-glx=[no/auto/yes]
1817 Enable cairo's GLX functions feature [default=auto]
1818 --enable-wgl=[no/auto/yes]
1819 Enable cairo's WGL functions feature [default=auto]
1820 --enable-script=[no/auto/yes]
1821 Enable cairo's script surface backend feature
1823 --enable-ft=[no/auto/yes]
1824 Enable cairo's FreeType font backend feature
1826 --enable-fc=[no/auto/yes]
1827 Enable cairo's Fontconfig font backend feature
1829 --enable-ps=[no/auto/yes]
1830 Enable cairo's PostScript surface backend feature
1832 --enable-pdf=[no/auto/yes]
1833 Enable cairo's PDF surface backend feature
1835 --enable-svg=[no/auto/yes]
1836 Enable cairo's SVG surface backend feature
1838 --enable-test-surfaces=[no/auto/yes]
1839 Enable cairo's test surfaces feature [default=no]
1840 --enable-tee=[no/auto/yes]
1841 Enable cairo's tee surface backend feature
1843 --enable-xml=[no/auto/yes]
1844 Enable cairo's xml surface backend feature
1846 --enable-pthread=[no/auto/yes]
1847 Enable cairo's pthread feature [default=auto]
1848 --enable-gobject=[no/auto/yes]
1849 Enable cairo's gobject functions feature
1851 --enable-full-testing Sets the test suite to perform full testing by
1852 default, which will dramatically slow down make
1853 check, but is a *requirement* before release.
1854 --enable-trace=[no/auto/yes]
1855 Enable cairo's cairo-trace feature [default=auto]
1856 --enable-interpreter=[no/auto/yes]
1857 Enable cairo's cairo-script-interpreter feature
1859 --enable-symbol-lookup=[no/auto/yes]
1860 Enable cairo's symbol-lookup feature [default=auto]
1861 --disable-some-floating-point
1862 Disable certain code paths that rely heavily on
1863 double precision floating-point calculation. This
1864 option can improve performance on systems without a
1865 double precision floating-point unit, but might
1866 degrade performance on those that do.
1869 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1870 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1871 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1873 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1874 --with-sysroot=DIR Search for dependent libraries within DIR
1875 (or the compiler's sysroot if not specified).
1876 --with-html-dir=PATH path to installed docs
1877 --with-x use the X Window System
1878 --with-skia=/path/to/skia
1879 directory to find compiled skia sources
1880 --with-skia-build=(Release|Debug)
1881 build of skia to link with, default is Release
1883 --with-gallium=/path/to/mesa
1884 directory to find gallium enabled mesa
1886 Some influential environment variables:
1887 CC C compiler command
1888 CFLAGS C compiler flags
1889 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1890 nonstandard directory <lib dir>
1891 LIBS libraries to pass to the linker, e.g. -l<library>
1892 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1893 you have headers in a nonstandard directory <include dir>
1895 PKG_CONFIG path to pkg-config utility
1897 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1899 linker flags for GTKDOC_DEPS, overriding pkg-config
1900 CXX C++ compiler command
1901 CXXFLAGS C++ compiler flags
1902 CXXCPP C++ preprocessor
1904 C compiler flags for VALGRIND, overriding pkg-config
1906 linker flags for VALGRIND, overriding pkg-config
1907 xlib_CFLAGS C compiler flags for xlib, overriding pkg-config
1908 xlib_LIBS linker flags for xlib, overriding pkg-config
1909 XMKMF Path to xmkmf, Makefile generator for X Window System
1911 C compiler flags for xlib_xrender, overriding pkg-config
1913 linker flags for xlib_xrender, overriding pkg-config
1914 xcb_CFLAGS C compiler flags for xcb, overriding pkg-config
1915 xcb_LIBS linker flags for xcb, overriding pkg-config
1917 C compiler flags for xlib_xcb, overriding pkg-config
1919 linker flags for xlib_xcb, overriding pkg-config
1921 C compiler flags for xcb_shm, overriding pkg-config
1923 linker flags for xcb_shm, overriding pkg-config
1924 qt_CFLAGS C compiler flags for qt, overriding pkg-config
1925 qt_LIBS linker flags for qt, overriding pkg-config
1926 drm_CFLAGS C compiler flags for drm, overriding pkg-config
1927 drm_LIBS linker flags for drm, overriding pkg-config
1929 module name for libpng to search for using pkg-config
1930 png_CFLAGS C compiler flags for png, overriding pkg-config
1931 png_LIBS linker flags for png, overriding pkg-config
1932 gl_CFLAGS C compiler flags for gl, overriding pkg-config
1933 gl_LIBS linker flags for gl, overriding pkg-config
1935 C compiler flags for glesv2, overriding pkg-config
1936 glesv2_LIBS linker flags for glesv2, overriding pkg-config
1937 cogl_CFLAGS C compiler flags for cogl, overriding pkg-config
1938 cogl_LIBS linker flags for cogl, overriding pkg-config
1940 C compiler flags for directfb, overriding pkg-config
1942 linker flags for directfb, overriding pkg-config
1943 egl_CFLAGS C compiler flags for egl, overriding pkg-config
1944 egl_LIBS linker flags for egl, overriding pkg-config
1946 C compiler flags for FREETYPE, overriding pkg-config
1948 linker flags for FREETYPE, overriding pkg-config
1950 C compiler flags for FONTCONFIG, overriding pkg-config
1952 linker flags for FONTCONFIG, overriding pkg-config
1954 C compiler flags for LIBSPECTRE, overriding pkg-config
1956 linker flags for LIBSPECTRE, overriding pkg-config
1958 C compiler flags for POPPLER, overriding pkg-config
1960 linker flags for POPPLER, overriding pkg-config
1962 C compiler flags for LIBRSVG, overriding pkg-config
1964 linker flags for LIBRSVG, overriding pkg-config
1966 C compiler flags for pixman, overriding pkg-config
1967 pixman_LIBS linker flags for pixman, overriding pkg-config
1969 C compiler flags for GOBJECT, overriding pkg-config
1971 linker flags for GOBJECT, overriding pkg-config
1972 glib_CFLAGS C compiler flags for glib, overriding pkg-config
1973 glib_LIBS linker flags for glib, overriding pkg-config
1974 gtk_CFLAGS C compiler flags for gtk, overriding pkg-config
1975 gtk_LIBS linker flags for gtk, overriding pkg-config
1977 Use these variables to override the choices made by `configure' or to help
1978 it to find libraries and programs with nonstandard names/locations.
1980 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=cairo>.
1981 cairo home page: <http://cairographics.org/>.
1986 if test "$ac_init_help" = "recursive"; then
1987 # If there are subdirs, report their specific --help.
1988 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1989 test -d "$ac_dir" ||
1990 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1995 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1997 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1998 # A ".." for each directory in $ac_dir_suffix.
1999 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2000 case $ac_top_builddir_sub in
2001 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2002 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2005 ac_abs_top_builddir=$ac_pwd
2006 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2007 # for backward compatibility:
2008 ac_top_builddir=$ac_top_build_prefix
2011 .) # We are building in place.
2013 ac_top_srcdir=$ac_top_builddir_sub
2014 ac_abs_top_srcdir=$ac_pwd ;;
2015 [\\/]* | ?:[\\/]* ) # Absolute name.
2016 ac_srcdir=$srcdir$ac_dir_suffix;
2017 ac_top_srcdir=$srcdir
2018 ac_abs_top_srcdir=$srcdir ;;
2020 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2021 ac_top_srcdir=$ac_top_build_prefix$srcdir
2022 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2024 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2026 cd "$ac_dir" || { ac_status=$?; continue; }
2027 # Check for guested configure.
2028 if test -f "$ac_srcdir/configure.gnu"; then
2030 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2031 elif test -f "$ac_srcdir/configure"; then
2033 $SHELL "$ac_srcdir/configure" --help=recursive
2035 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2037 cd "$ac_pwd" || { ac_status=$?; break; }
2041 test -n "$ac_init_help" && exit $ac_status
2042 if $ac_init_version; then
2044 cairo configure 1.12.16
2045 generated by GNU Autoconf 2.69
2047 Copyright (C) 2012 Free Software Foundation, Inc.
2048 This configure script is free software; the Free Software Foundation
2049 gives unlimited permission to copy, distribute and modify it.
2054 ## ------------------------ ##
2055 ## Autoconf initialization. ##
2056 ## ------------------------ ##
2058 # ac_fn_c_try_compile LINENO
2059 # --------------------------
2060 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2061 ac_fn_c_try_compile ()
2063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064 rm -f conftest.$ac_objext
2065 if { { ac_try="$ac_compile"
2067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2068 *) ac_try_echo=$ac_try;;
2070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2071 $as_echo "$ac_try_echo"; } >&5
2072 (eval "$ac_compile") 2>conftest.err
2074 if test -s conftest.err; then
2075 grep -v '^ *+' conftest.err >conftest.er1
2076 cat conftest.er1 >&5
2077 mv -f conftest.er1 conftest.err
2079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2080 test $ac_status = 0; } && {
2081 test -z "$ac_c_werror_flag" ||
2082 test ! -s conftest.err
2083 } && test -s conftest.$ac_objext; then :
2086 $as_echo "$as_me: failed program was:" >&5
2087 sed 's/^/| /' conftest.$ac_ext >&5
2091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2092 as_fn_set_status $ac_retval
2094 } # ac_fn_c_try_compile
2096 # ac_fn_c_try_cpp LINENO
2097 # ----------------------
2098 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2102 if { { ac_try="$ac_cpp conftest.$ac_ext"
2104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2105 *) ac_try_echo=$ac_try;;
2107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2108 $as_echo "$ac_try_echo"; } >&5
2109 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2111 if test -s conftest.err; then
2112 grep -v '^ *+' conftest.err >conftest.er1
2113 cat conftest.er1 >&5
2114 mv -f conftest.er1 conftest.err
2116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2117 test $ac_status = 0; } > conftest.i && {
2118 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2119 test ! -s conftest.err
2123 $as_echo "$as_me: failed program was:" >&5
2124 sed 's/^/| /' conftest.$ac_ext >&5
2128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2129 as_fn_set_status $ac_retval
2133 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2134 # -------------------------------------------------------
2135 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2136 # the include files in INCLUDES and setting the cache variable VAR
2138 ac_fn_c_check_header_mongrel ()
2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141 if eval \${$3+:} false; then :
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2143 $as_echo_n "checking for $2... " >&6; }
2144 if eval \${$3+:} false; then :
2145 $as_echo_n "(cached) " >&6
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2149 $as_echo "$ac_res" >&6; }
2151 # Is the header compilable?
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2153 $as_echo_n "checking $2 usability... " >&6; }
2154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2155 /* end confdefs.h. */
2159 if ac_fn_c_try_compile "$LINENO"; then :
2160 ac_header_compiler=yes
2162 ac_header_compiler=no
2164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2166 $as_echo "$ac_header_compiler" >&6; }
2168 # Is the header present?
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2170 $as_echo_n "checking $2 presence... " >&6; }
2171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h. */
2175 if ac_fn_c_try_cpp "$LINENO"; then :
2176 ac_header_preproc=yes
2178 ac_header_preproc=no
2180 rm -f conftest.err conftest.i conftest.$ac_ext
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2182 $as_echo "$ac_header_preproc" >&6; }
2184 # So? What about this header?
2185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2188 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2190 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2194 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2196 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2198 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2200 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2203 ( $as_echo "## ---------------------------------------------------------------------- ##
2204 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo ##
2205 ## ---------------------------------------------------------------------- ##"
2206 ) | sed "s/^/$as_me: WARNING: /" >&2
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2210 $as_echo_n "checking for $2... " >&6; }
2211 if eval \${$3+:} false; then :
2212 $as_echo_n "(cached) " >&6
2214 eval "$3=\$ac_header_compiler"
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2218 $as_echo "$ac_res" >&6; }
2220 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2222 } # ac_fn_c_check_header_mongrel
2224 # ac_fn_c_try_run LINENO
2225 # ----------------------
2226 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2227 # that executables *can* be run.
2230 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2231 if { { ac_try="$ac_link"
2233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2234 *) ac_try_echo=$ac_try;;
2236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2237 $as_echo "$ac_try_echo"; } >&5
2238 (eval "$ac_link") 2>&5
2240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2241 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2242 { { case "(($ac_try" in
2243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2244 *) ac_try_echo=$ac_try;;
2246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2247 $as_echo "$ac_try_echo"; } >&5
2248 (eval "$ac_try") 2>&5
2250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2251 test $ac_status = 0; }; }; then :
2254 $as_echo "$as_me: program exited with status $ac_status" >&5
2255 $as_echo "$as_me: failed program was:" >&5
2256 sed 's/^/| /' conftest.$ac_ext >&5
2258 ac_retval=$ac_status
2260 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2261 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2262 as_fn_set_status $ac_retval
2266 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2267 # -------------------------------------------------------
2268 # Tests whether HEADER exists and can be compiled using the include files in
2269 # INCLUDES, setting the cache variable VAR accordingly.
2270 ac_fn_c_check_header_compile ()
2272 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2274 $as_echo_n "checking for $2... " >&6; }
2275 if eval \${$3+:} false; then :
2276 $as_echo_n "(cached) " >&6
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2283 if ac_fn_c_try_compile "$LINENO"; then :
2288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2292 $as_echo "$ac_res" >&6; }
2293 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2295 } # ac_fn_c_check_header_compile
2297 # ac_fn_c_try_link LINENO
2298 # -----------------------
2299 # Try to link conftest.$ac_ext, and return whether this succeeded.
2302 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2303 rm -f conftest.$ac_objext conftest$ac_exeext
2304 if { { ac_try="$ac_link"
2306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2307 *) ac_try_echo=$ac_try;;
2309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2310 $as_echo "$ac_try_echo"; } >&5
2311 (eval "$ac_link") 2>conftest.err
2313 if test -s conftest.err; then
2314 grep -v '^ *+' conftest.err >conftest.er1
2315 cat conftest.er1 >&5
2316 mv -f conftest.er1 conftest.err
2318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2319 test $ac_status = 0; } && {
2320 test -z "$ac_c_werror_flag" ||
2321 test ! -s conftest.err
2322 } && test -s conftest$ac_exeext && {
2323 test "$cross_compiling" = yes ||
2324 test -x conftest$ac_exeext
2328 $as_echo "$as_me: failed program was:" >&5
2329 sed 's/^/| /' conftest.$ac_ext >&5
2333 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2334 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2335 # interfere with the next link command; also delete a directory that is
2336 # left behind by Apple's compiler. We do this before executing the actions.
2337 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2338 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2339 as_fn_set_status $ac_retval
2341 } # ac_fn_c_try_link
2343 # ac_fn_c_check_func LINENO FUNC VAR
2344 # ----------------------------------
2345 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2346 ac_fn_c_check_func ()
2348 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2350 $as_echo_n "checking for $2... " >&6; }
2351 if eval \${$3+:} false; then :
2352 $as_echo_n "(cached) " >&6
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2356 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2358 #define $2 innocuous_$2
2360 /* System header to define __stub macros and hopefully few prototypes,
2361 which can conflict with char $2 (); below.
2362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2363 <limits.h> exists even on freestanding compilers. */
2366 # include <limits.h>
2368 # include <assert.h>
2373 /* Override any GCC internal prototype to avoid an error.
2374 Use char because int might match the return type of a GCC
2375 builtin and then its argument prototype would still apply. */
2380 /* The GNU C library defines this for functions which it implements
2381 to always fail with ENOSYS. Some functions are actually named
2382 something starting with __ and the normal name is an alias. */
2383 #if defined __stub_$2 || defined __stub___$2
2395 if ac_fn_c_try_link "$LINENO"; then :
2400 rm -f core conftest.err conftest.$ac_objext \
2401 conftest$ac_exeext conftest.$ac_ext
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2405 $as_echo "$ac_res" >&6; }
2406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2408 } # ac_fn_c_check_func
2410 # ac_fn_cxx_try_compile LINENO
2411 # ----------------------------
2412 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2413 ac_fn_cxx_try_compile ()
2415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2416 rm -f conftest.$ac_objext
2417 if { { ac_try="$ac_compile"
2419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2423 $as_echo "$ac_try_echo"; } >&5
2424 (eval "$ac_compile") 2>conftest.err
2426 if test -s conftest.err; then
2427 grep -v '^ *+' conftest.err >conftest.er1
2428 cat conftest.er1 >&5
2429 mv -f conftest.er1 conftest.err
2431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2432 test $ac_status = 0; } && {
2433 test -z "$ac_cxx_werror_flag" ||
2434 test ! -s conftest.err
2435 } && test -s conftest.$ac_objext; then :
2438 $as_echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2443 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2444 as_fn_set_status $ac_retval
2446 } # ac_fn_cxx_try_compile
2448 # ac_fn_cxx_try_cpp LINENO
2449 # ------------------------
2450 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2451 ac_fn_cxx_try_cpp ()
2453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2454 if { { ac_try="$ac_cpp conftest.$ac_ext"
2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457 *) ac_try_echo=$ac_try;;
2459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2460 $as_echo "$ac_try_echo"; } >&5
2461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2463 if test -s conftest.err; then
2464 grep -v '^ *+' conftest.err >conftest.er1
2465 cat conftest.er1 >&5
2466 mv -f conftest.er1 conftest.err
2468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2469 test $ac_status = 0; } > conftest.i && {
2470 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2471 test ! -s conftest.err
2475 $as_echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2480 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2481 as_fn_set_status $ac_retval
2483 } # ac_fn_cxx_try_cpp
2485 # ac_fn_cxx_try_link LINENO
2486 # -------------------------
2487 # Try to link conftest.$ac_ext, and return whether this succeeded.
2488 ac_fn_cxx_try_link ()
2490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2491 rm -f conftest.$ac_objext conftest$ac_exeext
2492 if { { ac_try="$ac_link"
2494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2495 *) ac_try_echo=$ac_try;;
2497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2498 $as_echo "$ac_try_echo"; } >&5
2499 (eval "$ac_link") 2>conftest.err
2501 if test -s conftest.err; then
2502 grep -v '^ *+' conftest.err >conftest.er1
2503 cat conftest.er1 >&5
2504 mv -f conftest.er1 conftest.err
2506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2507 test $ac_status = 0; } && {
2508 test -z "$ac_cxx_werror_flag" ||
2509 test ! -s conftest.err
2510 } && test -s conftest$ac_exeext && {
2511 test "$cross_compiling" = yes ||
2512 test -x conftest$ac_exeext
2516 $as_echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.$ac_ext >&5
2521 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2522 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2523 # interfere with the next link command; also delete a directory that is
2524 # left behind by Apple's compiler. We do this before executing the actions.
2525 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2526 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2527 as_fn_set_status $ac_retval
2529 } # ac_fn_cxx_try_link
2531 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2532 # --------------------------------------------
2533 # Tries to find the compile-time value of EXPR in a program that includes
2534 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2536 ac_fn_c_compute_int ()
2538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2539 if test "$cross_compiling" = yes; then
2540 # Depending upon the size, compute the lo and hi bounds.
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2547 static int test_array [1 - 2 * !(($2) >= 0)];
2549 return test_array [0];
2555 if ac_fn_c_try_compile "$LINENO"; then :
2558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2559 /* end confdefs.h. */
2564 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2566 return test_array [0];
2572 if ac_fn_c_try_compile "$LINENO"; then :
2573 ac_hi=$ac_mid; break
2575 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2576 if test $ac_lo -le $ac_mid; then
2580 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2586 /* end confdefs.h. */
2591 static int test_array [1 - 2 * !(($2) < 0)];
2593 return test_array [0];
2599 if ac_fn_c_try_compile "$LINENO"; then :
2602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2603 /* end confdefs.h. */
2608 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2610 return test_array [0];
2616 if ac_fn_c_try_compile "$LINENO"; then :
2617 ac_lo=$ac_mid; break
2619 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2620 if test $ac_mid -le $ac_hi; then
2624 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2634 # Binary search between lo and hi bounds.
2635 while test "x$ac_lo" != "x$ac_hi"; do
2636 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2638 /* end confdefs.h. */
2643 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2645 return test_array [0];
2651 if ac_fn_c_try_compile "$LINENO"; then :
2654 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2659 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2664 /* end confdefs.h. */
2666 static long int longval () { return $2; }
2667 static unsigned long int ulongval () { return $2; }
2674 FILE *f = fopen ("conftest.val", "w");
2679 long int i = longval ();
2682 fprintf (f, "%ld", i);
2686 unsigned long int i = ulongval ();
2689 fprintf (f, "%lu", i);
2691 /* Do not output a trailing newline, as this causes \r\n confusion
2692 on some platforms. */
2693 return ferror (f) || fclose (f) != 0;
2699 if ac_fn_c_try_run "$LINENO"; then :
2700 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2705 conftest.$ac_objext conftest.beam conftest.$ac_ext
2709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2710 as_fn_set_status $ac_retval
2712 } # ac_fn_c_compute_int
2714 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2715 # -------------------------------------------
2716 # Tests whether TYPE exists after having included INCLUDES, setting cache
2717 # variable VAR accordingly.
2718 ac_fn_c_check_type ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2722 $as_echo_n "checking for $2... " >&6; }
2723 if eval \${$3+:} false; then :
2724 $as_echo_n "(cached) " >&6
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2739 if ac_fn_c_try_compile "$LINENO"; then :
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741 /* end confdefs.h. */
2752 if ac_fn_c_try_compile "$LINENO"; then :
2757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2763 $as_echo "$ac_res" >&6; }
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 } # ac_fn_c_check_type
2767 cat >config.log <<_ACEOF
2768 This file contains any messages produced by compilers while
2769 running configure, to aid debugging if configure makes a mistake.
2771 It was created by cairo $as_me 1.12.16, which was
2772 generated by GNU Autoconf 2.69. Invocation command line was
2784 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2785 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2786 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2787 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2788 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2790 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2791 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2793 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2794 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2795 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2796 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2797 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2798 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2799 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir=.
2808 $as_echo "PATH: $as_dir"
2824 # Keep a trace of the command line.
2825 # Strip out --no-create and --no-recursion so they do not pile up.
2826 # Strip out --silent because we don't want to record it for future runs.
2827 # Also quote any args containing shell meta-characters.
2828 # Make two passes to allow for proper duplicate-argument suppression.
2832 ac_must_keep_next=false
2838 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2839 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2840 | -silent | --silent | --silen | --sile | --sil)
2843 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2846 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2848 as_fn_append ac_configure_args1 " '$ac_arg'"
2849 if test $ac_must_keep_next = true; then
2850 ac_must_keep_next=false # Got value, back to normal.
2853 *=* | --config-cache | -C | -disable-* | --disable-* \
2854 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2855 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2856 | -with-* | --with-* | -without-* | --without-* | --x)
2857 case "$ac_configure_args0 " in
2858 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2861 -* ) ac_must_keep_next=true ;;
2864 as_fn_append ac_configure_args " '$ac_arg'"
2869 { ac_configure_args0=; unset ac_configure_args0;}
2870 { ac_configure_args1=; unset ac_configure_args1;}
2872 # When interrupted or exit'd, cleanup temporary files, and complete
2873 # config.log. We remove comments because anyway the quotes in there
2874 # would cause problems or look ugly.
2875 # WARNING: Use '\'' to represent an apostrophe within the trap.
2876 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2877 trap 'exit_status=$?
2878 # Save into config.log some information that might help in debugging.
2882 $as_echo "## ---------------- ##
2883 ## Cache variables. ##
2884 ## ---------------- ##"
2886 # The following way of writing the cache mishandles newlines in values,
2888 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2889 eval ac_val=\$$ac_var
2893 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2894 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2897 _ | IFS | as_nl) ;; #(
2898 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2899 *) { eval $ac_var=; unset $ac_var;} ;;
2904 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2905 *${as_nl}ac_space=\ *)
2907 "s/'\''/'\''\\\\'\'''\''/g;
2908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2911 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2918 $as_echo "## ----------------- ##
2919 ## Output variables. ##
2920 ## ----------------- ##"
2922 for ac_var in $ac_subst_vars
2924 eval ac_val=\$$ac_var
2926 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2928 $as_echo "$ac_var='\''$ac_val'\''"
2932 if test -n "$ac_subst_files"; then
2933 $as_echo "## ------------------- ##
2934 ## File substitutions. ##
2935 ## ------------------- ##"
2937 for ac_var in $ac_subst_files
2939 eval ac_val=\$$ac_var
2941 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2943 $as_echo "$ac_var='\''$ac_val'\''"
2948 if test -s confdefs.h; then
2949 $as_echo "## ----------- ##
2956 test "$ac_signal" != 0 &&
2957 $as_echo "$as_me: caught signal $ac_signal"
2958 $as_echo "$as_me: exit $exit_status"
2960 rm -f core *.core core.conftest.* &&
2961 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2964 for ac_signal in 1 2 13 15; do
2965 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2969 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2970 rm -f -r conftest* confdefs.h
2972 $as_echo "/* confdefs.h */" > confdefs.h
2974 # Predefined preprocessor variables.
2976 cat >>confdefs.h <<_ACEOF
2977 #define PACKAGE_NAME "$PACKAGE_NAME"
2980 cat >>confdefs.h <<_ACEOF
2981 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2988 cat >>confdefs.h <<_ACEOF
2989 #define PACKAGE_STRING "$PACKAGE_STRING"
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2996 cat >>confdefs.h <<_ACEOF
2997 #define PACKAGE_URL "$PACKAGE_URL"
3001 # Let the site file select an alternate cache file if it wants to.
3002 # Prefer an explicitly selected file to automatically selected ones.
3005 if test -n "$CONFIG_SITE"; then
3006 # We do not want a PATH search for config.site.
3007 case $CONFIG_SITE in #((
3008 -*) ac_site_file1=./$CONFIG_SITE;;
3009 */*) ac_site_file1=$CONFIG_SITE;;
3010 *) ac_site_file1=./$CONFIG_SITE;;
3012 elif test "x$prefix" != xNONE; then
3013 ac_site_file1=$prefix/share/config.site
3014 ac_site_file2=$prefix/etc/config.site
3016 ac_site_file1=$ac_default_prefix/share/config.site
3017 ac_site_file2=$ac_default_prefix/etc/config.site
3019 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3021 test "x$ac_site_file" = xNONE && continue
3022 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3024 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3025 sed 's/^/| /' "$ac_site_file" >&5
3027 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3029 as_fn_error $? "failed to load site script $ac_site_file
3030 See \`config.log' for more details" "$LINENO" 5; }
3034 if test -r "$cache_file"; then
3035 # Some versions of bash will fail to source /dev/null (special files
3036 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3037 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3039 $as_echo "$as_me: loading cache $cache_file" >&6;}
3041 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3042 *) . "./$cache_file";;
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3047 $as_echo "$as_me: creating cache $cache_file" >&6;}
3051 # Check that the precious variables saved in the cache have kept the same
3053 ac_cache_corrupted=false
3054 for ac_var in $ac_precious_vars; do
3055 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3056 eval ac_new_set=\$ac_env_${ac_var}_set
3057 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3058 eval ac_new_val=\$ac_env_${ac_var}_value
3059 case $ac_old_set,$ac_new_set in
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3062 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3063 ac_cache_corrupted=: ;;
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3066 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3067 ac_cache_corrupted=: ;;
3070 if test "x$ac_old_val" != "x$ac_new_val"; then
3071 # differences in whitespace do not lead to failure.
3072 ac_old_val_w=`echo x $ac_old_val`
3073 ac_new_val_w=`echo x $ac_new_val`
3074 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3076 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3077 ac_cache_corrupted=:
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3080 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3081 eval $ac_var=\$ac_old_val
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3084 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3086 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3089 # Pass precious variables to config.status.
3090 if test "$ac_new_set" = set; then
3092 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3093 *) ac_arg=$ac_var=$ac_new_val ;;
3095 case " $ac_configure_args " in
3096 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3097 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3101 if $ac_cache_corrupted; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3105 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3106 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3108 ## -------------------- ##
3109 ## Main body of script. ##
3110 ## -------------------- ##
3113 ac_cpp='$CPP $CPPFLAGS'
3114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3120 for ac_dir in build "$srcdir"/build; do
3121 if test -f "$ac_dir/install-sh"; then
3123 ac_install_sh="$ac_aux_dir/install-sh -c"
3125 elif test -f "$ac_dir/install.sh"; then
3127 ac_install_sh="$ac_aux_dir/install.sh -c"
3129 elif test -f "$ac_dir/shtool"; then
3131 ac_install_sh="$ac_aux_dir/shtool install -c"
3135 if test -z "$ac_aux_dir"; then
3136 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
3139 # These three variables are undocumented and unsupported,
3140 # and are intended to be withdrawn in a future Autoconf release.
3141 # They can cause serious problems if a builder's source tree is in a directory
3142 # whose full name contains unusual characters.
3143 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3144 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3145 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3150 ac_cpp='$CPP $CPPFLAGS'
3151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3154 if test -n "$ac_tool_prefix"; then
3155 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3156 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if ${ac_cv_prog_CC+:} false; then :
3160 $as_echo_n "(cached) " >&6
3162 if test -n "$CC"; then
3163 ac_cv_prog_CC="$CC" # Let the user override the test.
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir=.
3170 for ac_exec_ext in '' $ac_executable_extensions; do
3171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 if test -n "$CC"; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3185 $as_echo "$CC" >&6; }
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3188 $as_echo "no" >&6; }
3193 if test -z "$ac_cv_prog_CC"; then
3195 # Extract the first word of "gcc", so it can be a program name with args.
3196 set dummy gcc; ac_word=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3200 $as_echo_n "(cached) " >&6
3202 if test -n "$ac_ct_CC"; then
3203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir=.
3210 for ac_exec_ext in '' $ac_executable_extensions; do
3211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3212 ac_cv_prog_ac_ct_CC="gcc"
3213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3223 if test -n "$ac_ct_CC"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3225 $as_echo "$ac_ct_CC" >&6; }
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3231 if test "x$ac_ct_CC" = x; then
3234 case $cross_compiling:$ac_tool_warned in
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3238 ac_tool_warned=yes ;;
3246 if test -z "$CC"; then
3247 if test -n "$ac_tool_prefix"; then
3248 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3249 set dummy ${ac_tool_prefix}cc; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if ${ac_cv_prog_CC+:} false; then :
3253 $as_echo_n "(cached) " >&6
3255 if test -n "$CC"; then
3256 ac_cv_prog_CC="$CC" # Let the user override the test.
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3265 ac_cv_prog_CC="${ac_tool_prefix}cc"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 if test -n "$CC"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3278 $as_echo "$CC" >&6; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3287 if test -z "$CC"; then
3288 # Extract the first word of "cc", so it can be a program name with args.
3289 set dummy cc; ac_word=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; }
3292 if ${ac_cv_prog_CC+:} false; then :
3293 $as_echo_n "(cached) " >&6
3295 if test -n "$CC"; then
3296 ac_cv_prog_CC="$CC" # Let the user override the test.
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303 test -z "$as_dir" && as_dir=.
3304 for ac_exec_ext in '' $ac_executable_extensions; do
3305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3307 ac_prog_rejected=yes
3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 if test $ac_prog_rejected = yes; then
3319 # We found a bogon in the path, so make sure we never use it.
3320 set dummy $ac_cv_prog_CC
3322 if test $# != 0; then
3323 # We chose a different compiler from the bogus one.
3324 # However, it has the same basename, so the bogon will be chosen
3325 # first if we set CC to just the basename; use the full file name.
3327 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3333 if test -n "$CC"; then
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3335 $as_echo "$CC" >&6; }
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 $as_echo "no" >&6; }
3343 if test -z "$CC"; then
3344 if test -n "$ac_tool_prefix"; then
3345 for ac_prog in cl.exe
3347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3350 $as_echo_n "checking for $ac_word... " >&6; }
3351 if ${ac_cv_prog_CC+:} false; then :
3352 $as_echo_n "(cached) " >&6
3354 if test -n "$CC"; then
3355 ac_cv_prog_CC="$CC" # Let the user override the test.
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3361 test -z "$as_dir" && as_dir=.
3362 for ac_exec_ext in '' $ac_executable_extensions; do
3363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3364 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3375 if test -n "$CC"; then
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3377 $as_echo "$CC" >&6; }
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380 $as_echo "no" >&6; }
3384 test -n "$CC" && break
3387 if test -z "$CC"; then
3389 for ac_prog in cl.exe
3391 # Extract the first word of "$ac_prog", so it can be a program name with args.
3392 set dummy $ac_prog; ac_word=$2
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 $as_echo_n "checking for $ac_word... " >&6; }
3395 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3396 $as_echo_n "(cached) " >&6
3398 if test -n "$ac_ct_CC"; then
3399 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir=.
3406 for ac_exec_ext in '' $ac_executable_extensions; do
3407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3408 ac_cv_prog_ac_ct_CC="$ac_prog"
3409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3418 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3419 if test -n "$ac_ct_CC"; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3421 $as_echo "$ac_ct_CC" >&6; }
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3424 $as_echo "no" >&6; }
3428 test -n "$ac_ct_CC" && break
3431 if test "x$ac_ct_CC" = x; then
3434 case $cross_compiling:$ac_tool_warned in
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3438 ac_tool_warned=yes ;;
3447 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 as_fn_error $? "no acceptable C compiler found in \$PATH
3450 See \`config.log' for more details" "$LINENO" 5; }
3452 # Provide some information about the compiler.
3453 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3456 for ac_option in --version -v -V -qversion; do
3457 { { ac_try="$ac_compiler $ac_option >&5"
3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3466 if test -s conftest.err; then
3468 ... rest of stderr output deleted ...
3469 10q' conftest.err >conftest.er1
3470 cat conftest.er1 >&5
3472 rm -f conftest.er1 conftest.err
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3488 ac_clean_files_save=$ac_clean_files
3489 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3490 # Try to create an executable without -o first, disregard a.out.
3491 # It will help us diagnose broken compilers, and finding out an intuition
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3494 $as_echo_n "checking whether the C compiler works... " >&6; }
3495 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3497 # The possible output files:
3498 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3501 for ac_file in $ac_files
3504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3505 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3510 if { { ac_try="$ac_link_default"
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 $as_echo "$ac_try_echo"; } >&5
3517 (eval "$ac_link_default") 2>&5
3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }; then :
3521 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3522 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3523 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3524 # so that the user can short-circuit this test for compilers unknown to
3526 for ac_file in $ac_files ''
3528 test -f "$ac_file" || continue
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3533 # We found the default executable, but exeext='' is most
3537 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3539 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3541 # We set ac_cv_exeext here because the later test for it is not
3542 # safe: cross compilers may not add the suffix if given an `-o'
3543 # argument, so we may need to know it at that point already.
3544 # Even if this section looks crufty: it has the advantage of
3551 test "$ac_cv_exeext" = no && ac_cv_exeext=
3556 if test -z "$ac_file"; then :
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3559 $as_echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 as_fn_error 77 "C compiler cannot create executables
3565 See \`config.log' for more details" "$LINENO" 5; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3568 $as_echo "yes" >&6; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3571 $as_echo_n "checking for C compiler default output file name... " >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3573 $as_echo "$ac_file" >&6; }
3574 ac_exeext=$ac_cv_exeext
3576 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3577 ac_clean_files=$ac_clean_files_save
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3579 $as_echo_n "checking for suffix of executables... " >&6; }
3580 if { { ac_try="$ac_link"
3582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586 $as_echo "$ac_try_echo"; } >&5
3587 (eval "$ac_link") 2>&5
3589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590 test $ac_status = 0; }; then :
3591 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3592 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3593 # work properly (i.e., refer to `conftest.exe'), while it won't with
3595 for ac_file in conftest.exe conftest conftest.*; do
3596 test -f "$ac_file" || continue
3598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3599 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3608 See \`config.log' for more details" "$LINENO" 5; }
3610 rm -f conftest conftest$ac_cv_exeext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3612 $as_echo "$ac_cv_exeext" >&6; }
3614 rm -f conftest.$ac_ext
3615 EXEEXT=$ac_cv_exeext
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3623 FILE *f = fopen ("conftest.out", "w");
3624 return ferror (f) || fclose (f) != 0;
3630 ac_clean_files="$ac_clean_files conftest.out"
3631 # Check that the compiler produces executables we can run. If not, either
3632 # the compiler is broken, or we cross compile.
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3634 $as_echo_n "checking whether we are cross compiling... " >&6; }
3635 if test "$cross_compiling" != yes; then
3636 { { ac_try="$ac_link"
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3642 $as_echo "$ac_try_echo"; } >&5
3643 (eval "$ac_link") 2>&5
3645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3646 test $ac_status = 0; }
3647 if { ac_try='./conftest$ac_cv_exeext'
3648 { { case "(($ac_try" in
3649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650 *) ac_try_echo=$ac_try;;
3652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3653 $as_echo "$ac_try_echo"; } >&5
3654 (eval "$ac_try") 2>&5
3656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3657 test $ac_status = 0; }; }; then
3660 if test "$cross_compiling" = maybe; then
3663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $? "cannot run C compiled programs.
3666 If you meant to cross compile, use \`--host'.
3667 See \`config.log' for more details" "$LINENO" 5; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3672 $as_echo "$cross_compiling" >&6; }
3674 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3675 ac_clean_files=$ac_clean_files_save
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3677 $as_echo_n "checking for suffix of object files... " >&6; }
3678 if ${ac_cv_objext+:} false; then :
3679 $as_echo_n "(cached) " >&6
3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3692 rm -f conftest.o conftest.obj
3693 if { { ac_try="$ac_compile"
3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696 *) ac_try_echo=$ac_try;;
3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3699 $as_echo "$ac_try_echo"; } >&5
3700 (eval "$ac_compile") 2>&5
3702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703 test $ac_status = 0; }; then :
3704 for ac_file in conftest.o conftest.obj conftest.*; do
3705 test -f "$ac_file" || continue;
3707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3708 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3713 $as_echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.$ac_ext >&5
3716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3718 as_fn_error $? "cannot compute suffix of object files: cannot compile
3719 See \`config.log' for more details" "$LINENO" 5; }
3721 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3724 $as_echo "$ac_cv_objext" >&6; }
3725 OBJEXT=$ac_cv_objext
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3728 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3729 if ${ac_cv_c_compiler_gnu+:} false; then :
3730 $as_echo_n "(cached) " >&6
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3746 if ac_fn_c_try_compile "$LINENO"; then :
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3756 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3757 if test $ac_compiler_gnu = yes; then
3762 ac_test_CFLAGS=${CFLAGS+set}
3763 ac_save_CFLAGS=$CFLAGS
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3765 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3766 if ${ac_cv_prog_cc_g+:} false; then :
3767 $as_echo_n "(cached) " >&6
3769 ac_save_c_werror_flag=$ac_c_werror_flag
3770 ac_c_werror_flag=yes
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3784 if ac_fn_c_try_compile "$LINENO"; then :
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3799 if ac_fn_c_try_compile "$LINENO"; then :
3802 ac_c_werror_flag=$ac_save_c_werror_flag
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3815 if ac_fn_c_try_compile "$LINENO"; then :
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 ac_c_werror_flag=$ac_save_c_werror_flag
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3826 $as_echo "$ac_cv_prog_cc_g" >&6; }
3827 if test "$ac_test_CFLAGS" = set; then
3828 CFLAGS=$ac_save_CFLAGS
3829 elif test $ac_cv_prog_cc_g = yes; then
3830 if test "$GCC" = yes; then
3836 if test "$GCC" = yes; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3843 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3844 if ${ac_cv_prog_cc_c89+:} false; then :
3845 $as_echo_n "(cached) " >&6
3847 ac_cv_prog_cc_c89=no
3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h. */
3854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3855 struct buf { int x; };
3856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3857 static char *e (p, i)
3863 static char *f (char * (*g) (char **, int), char **p, ...)
3868 s = g (p, va_arg (v,int));
3873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3874 function prototypes and stuff, but not '\xHH' hex character constants.
3875 These don't provoke an error unfortunately, instead are silently treated
3876 as 'x'. The following induces an error, until -std is added to get
3877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3878 array size at least. It's necessary to write '\x00'==0 to get something
3879 that's true only with -std. */
3880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3883 inside strings and character constants. */
3885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3887 int test (int i, double x);
3888 struct s1 {int (*f) (int a);};
3889 struct s2 {int (*f) (double a);};
3890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3904 CC="$ac_save_CC $ac_arg"
3905 if ac_fn_c_try_compile "$LINENO"; then :
3906 ac_cv_prog_cc_c89=$ac_arg
3908 rm -f core conftest.err conftest.$ac_objext
3909 test "x$ac_cv_prog_cc_c89" != "xno" && break
3911 rm -f conftest.$ac_ext
3916 case "x$ac_cv_prog_cc_c89" in
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3919 $as_echo "none needed" >&6; } ;;
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3922 $as_echo "unsupported" >&6; } ;;
3924 CC="$CC $ac_cv_prog_cc_c89"
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3926 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3928 if test "x$ac_cv_prog_cc_c89" != xno; then :
3933 ac_cpp='$CPP $CPPFLAGS'
3934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3940 ac_cpp='$CPP $CPPFLAGS'
3941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3945 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3946 # On Suns, sometimes $CPP names a directory.
3947 if test -n "$CPP" && test -d "$CPP"; then
3950 if test -z "$CPP"; then
3951 if ${ac_cv_prog_CPP+:} false; then :
3952 $as_echo_n "(cached) " >&6
3954 # Double quotes because CPP needs to be expanded
3955 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3958 for ac_c_preproc_warn_flag in '' yes
3960 # Use a header file that comes with gcc, so configuring glibc
3961 # with a fresh cross-compiler works.
3962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3963 # <limits.h> exists even on freestanding compilers.
3964 # On the NeXT, cc -E runs the code through the compiler's parser,
3965 # not just through cpp. "Syntax error" is here to catch this case.
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3969 # include <limits.h>
3971 # include <assert.h>
3975 if ac_fn_c_try_cpp "$LINENO"; then :
3978 # Broken: fails on valid input.
3981 rm -f conftest.err conftest.i conftest.$ac_ext
3983 # OK, works on sane cases. Now check whether nonexistent headers
3984 # can be detected and how.
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3987 #include <ac_nonexistent.h>
3989 if ac_fn_c_try_cpp "$LINENO"; then :
3990 # Broken: success on invalid input.
3993 # Passes both tests.
3997 rm -f conftest.err conftest.i conftest.$ac_ext
4000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4001 rm -f conftest.i conftest.err conftest.$ac_ext
4002 if $ac_preproc_ok; then :
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4015 $as_echo "$CPP" >&6; }
4017 for ac_c_preproc_warn_flag in '' yes
4019 # Use a header file that comes with gcc, so configuring glibc
4020 # with a fresh cross-compiler works.
4021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4022 # <limits.h> exists even on freestanding compilers.
4023 # On the NeXT, cc -E runs the code through the compiler's parser,
4024 # not just through cpp. "Syntax error" is here to catch this case.
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4028 # include <limits.h>
4030 # include <assert.h>
4034 if ac_fn_c_try_cpp "$LINENO"; then :
4037 # Broken: fails on valid input.
4040 rm -f conftest.err conftest.i conftest.$ac_ext
4042 # OK, works on sane cases. Now check whether nonexistent headers
4043 # can be detected and how.
4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4046 #include <ac_nonexistent.h>
4048 if ac_fn_c_try_cpp "$LINENO"; then :
4049 # Broken: success on invalid input.
4052 # Passes both tests.
4056 rm -f conftest.err conftest.i conftest.$ac_ext
4059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4060 rm -f conftest.i conftest.err conftest.$ac_ext
4061 if $ac_preproc_ok; then :
4064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4066 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4067 See \`config.log' for more details" "$LINENO" 5; }
4071 ac_cpp='$CPP $CPPFLAGS'
4072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4078 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4079 if ${ac_cv_path_GREP+:} false; then :
4080 $as_echo_n "(cached) " >&6
4082 if test -z "$GREP"; then
4083 ac_path_GREP_found=false
4084 # Loop through the user's path and test for each of PROGNAME-LIST
4085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4086 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4089 test -z "$as_dir" && as_dir=.
4090 for ac_prog in grep ggrep; do
4091 for ac_exec_ext in '' $ac_executable_extensions; do
4092 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4093 as_fn_executable_p "$ac_path_GREP" || continue
4094 # Check for GNU ac_path_GREP and select it if it is found.
4095 # Check for GNU $ac_path_GREP
4096 case `"$ac_path_GREP" --version 2>&1` in
4098 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4101 $as_echo_n 0123456789 >"conftest.in"
4104 cat "conftest.in" "conftest.in" >"conftest.tmp"
4105 mv "conftest.tmp" "conftest.in"
4106 cp "conftest.in" "conftest.nl"
4107 $as_echo 'GREP' >> "conftest.nl"
4108 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4109 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4110 as_fn_arith $ac_count + 1 && ac_count=$as_val
4111 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4112 # Best one so far, save it but keep looking for a better one
4113 ac_cv_path_GREP="$ac_path_GREP"
4114 ac_path_GREP_max=$ac_count
4116 # 10*(2^10) chars as input seems more than enough
4117 test $ac_count -gt 10 && break
4119 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4122 $ac_path_GREP_found && break 3
4127 if test -z "$ac_cv_path_GREP"; then
4128 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4131 ac_cv_path_GREP=$GREP
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4136 $as_echo "$ac_cv_path_GREP" >&6; }
4137 GREP="$ac_cv_path_GREP"
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4141 $as_echo_n "checking for egrep... " >&6; }
4142 if ${ac_cv_path_EGREP+:} false; then :
4143 $as_echo_n "(cached) " >&6
4145 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4146 then ac_cv_path_EGREP="$GREP -E"
4148 if test -z "$EGREP"; then
4149 ac_path_EGREP_found=false
4150 # Loop through the user's path and test for each of PROGNAME-LIST
4151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4152 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4155 test -z "$as_dir" && as_dir=.
4156 for ac_prog in egrep; do
4157 for ac_exec_ext in '' $ac_executable_extensions; do
4158 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4159 as_fn_executable_p "$ac_path_EGREP" || continue
4160 # Check for GNU ac_path_EGREP and select it if it is found.
4161 # Check for GNU $ac_path_EGREP
4162 case `"$ac_path_EGREP" --version 2>&1` in
4164 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4167 $as_echo_n 0123456789 >"conftest.in"
4170 cat "conftest.in" "conftest.in" >"conftest.tmp"
4171 mv "conftest.tmp" "conftest.in"
4172 cp "conftest.in" "conftest.nl"
4173 $as_echo 'EGREP' >> "conftest.nl"
4174 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4175 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4176 as_fn_arith $ac_count + 1 && ac_count=$as_val
4177 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4178 # Best one so far, save it but keep looking for a better one
4179 ac_cv_path_EGREP="$ac_path_EGREP"
4180 ac_path_EGREP_max=$ac_count
4182 # 10*(2^10) chars as input seems more than enough
4183 test $ac_count -gt 10 && break
4185 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4188 $ac_path_EGREP_found && break 3
4193 if test -z "$ac_cv_path_EGREP"; then
4194 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4197 ac_cv_path_EGREP=$EGREP
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4203 $as_echo "$ac_cv_path_EGREP" >&6; }
4204 EGREP="$ac_cv_path_EGREP"
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4208 $as_echo_n "checking for ANSI C header files... " >&6; }
4209 if ${ac_cv_header_stdc+:} false; then :
4210 $as_echo_n "(cached) " >&6
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_cv_header_stdc=yes
4230 ac_cv_header_stdc=no
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234 if test $ac_cv_header_stdc = yes; then
4235 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4242 $EGREP "memchr" >/dev/null 2>&1; then :
4245 ac_cv_header_stdc=no
4251 if test $ac_cv_header_stdc = yes; then
4252 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4259 $EGREP "free" >/dev/null 2>&1; then :
4262 ac_cv_header_stdc=no
4268 if test $ac_cv_header_stdc = yes; then
4269 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4270 if test "$cross_compiling" = yes; then :
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4277 #if ((' ' & 0x0FF) == 0x020)
4278 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4279 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4281 # define ISLOWER(c) \
4282 (('a' <= (c) && (c) <= 'i') \
4283 || ('j' <= (c) && (c) <= 'r') \
4284 || ('s' <= (c) && (c) <= 'z'))
4285 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4288 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4293 for (i = 0; i < 256; i++)
4294 if (XOR (islower (i), ISLOWER (i))
4295 || toupper (i) != TOUPPER (i))
4300 if ac_fn_c_try_run "$LINENO"; then :
4303 ac_cv_header_stdc=no
4305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4306 conftest.$ac_objext conftest.beam conftest.$ac_ext
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4312 $as_echo "$ac_cv_header_stdc" >&6; }
4313 if test $ac_cv_header_stdc = yes; then
4315 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4319 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4320 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4321 inttypes.h stdint.h unistd.h
4323 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4324 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4326 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4327 cat >>confdefs.h <<_ACEOF
4328 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4337 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4338 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4345 if test "$MINIX" = yes; then
4347 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4350 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4353 $as_echo "#define _MINIX 1" >>confdefs.h
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4359 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4360 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4361 $as_echo_n "(cached) " >&6
4363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h. */
4366 # define __EXTENSIONS__ 1
4367 $ac_includes_default
4376 if ac_fn_c_try_compile "$LINENO"; then :
4377 ac_cv_safe_to_define___extensions__=yes
4379 ac_cv_safe_to_define___extensions__=no
4381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4384 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4385 test $ac_cv_safe_to_define___extensions__ = yes &&
4386 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4388 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4390 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4392 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4394 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4398 ac_config_headers="$ac_config_headers config.h"
4401 for ac_header in unistd.h sys/ioctl.h
4403 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4404 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4405 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4406 cat >>confdefs.h <<_ACEOF
4407 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4415 am__api_version='1.11'
4417 # Find a good install program. We prefer a C program (faster),
4418 # so one script is as good as another. But avoid the broken or
4419 # incompatible versions:
4420 # SysV /etc/install, /usr/sbin/install
4421 # SunOS /usr/etc/install
4422 # IRIX /sbin/install
4424 # AmigaOS /C/install, which installs bootblocks on floppy discs
4425 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4426 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4427 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4428 # OS/2's system install, which has a completely different semantic
4429 # ./install, which can be erroneously created by make from ./install.sh.
4430 # Reject install programs that cannot install multiple files.
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4432 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4433 if test -z "$INSTALL"; then
4434 if ${ac_cv_path_install+:} false; then :
4435 $as_echo_n "(cached) " >&6
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 test -z "$as_dir" && as_dir=.
4442 # Account for people who put trailing slashes in PATH elements.
4443 case $as_dir/ in #((
4444 ./ | .// | /[cC]/* | \
4445 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4446 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4449 # OSF1 and SCO ODT 3.0 have their own names for install.
4450 # Don't use installbsd from OSF since it installs stuff as root
4452 for ac_prog in ginstall scoinst install; do
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4455 if test $ac_prog = install &&
4456 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4457 # AIX install. It has an incompatible calling convention.
4459 elif test $ac_prog = install &&
4460 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4461 # program-specific install script used by HP pwplus--don't use.
4464 rm -rf conftest.one conftest.two conftest.dir
4465 echo one > conftest.one
4466 echo two > conftest.two
4468 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4469 test -s conftest.one && test -s conftest.two &&
4470 test -s conftest.dir/conftest.one &&
4471 test -s conftest.dir/conftest.two
4473 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4486 rm -rf conftest.one conftest.two conftest.dir
4489 if test "${ac_cv_path_install+set}" = set; then
4490 INSTALL=$ac_cv_path_install
4492 # As a last resort, use the slow shell script. Don't cache a
4493 # value for INSTALL within a source directory, because that will
4494 # break other packages using the cache if that directory is
4495 # removed, or if the value is a relative name.
4496 INSTALL=$ac_install_sh
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4500 $as_echo "$INSTALL" >&6; }
4502 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4503 # It thinks the first close brace ends the variable substitution.
4504 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4506 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4508 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4511 $as_echo_n "checking whether build environment is sane... " >&6; }
4514 echo timestamp > conftest.file
4515 # Reject unsafe characters in $srcdir or the absolute working directory
4516 # name. Accept space and tab only in the latter.
4520 *[\\\"\#\$\&\'\`$am_lf]*)
4521 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4524 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4525 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4528 # Do `set' in a subshell so we don't clobber the current shell's
4529 # arguments. Must try -L first in case configure is actually a
4530 # symlink; some systems play weird games with the mod time of symlinks
4531 # (eg FreeBSD returns the mod time of the symlink's containing
4534 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4535 if test "$*" = "X"; then
4537 set X `ls -t "$srcdir/configure" conftest.file`
4540 if test "$*" != "X $srcdir/configure conftest.file" \
4541 && test "$*" != "X conftest.file $srcdir/configure"; then
4543 # If neither matched, then we have a broken ls. This can happen
4544 # if, for instance, CONFIG_SHELL is bash and it inherits a
4545 # broken ls alias from the environment. This has actually
4546 # happened. Such a system could not be considered "sane".
4547 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4548 alias in your environment" "$LINENO" 5
4551 test "$2" = conftest.file
4557 as_fn_error $? "newly created file is older than distributed files!
4558 Check your system clock" "$LINENO" 5
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4561 $as_echo "yes" >&6; }
4562 test "$program_prefix" != NONE &&
4563 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4564 # Use a double $ so make ignores it.
4565 test "$program_suffix" != NONE &&
4566 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4567 # Double any \ or $.
4568 # By default was `s,x,x', remove it if useless.
4569 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4570 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4572 # expand $ac_aux_dir to an absolute path
4573 am_aux_dir=`cd $ac_aux_dir && pwd`
4575 if test x"${MISSING+set}" != xset; then
4578 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4580 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4583 # Use eval to expand $SHELL
4584 if eval "$MISSING --run true"; then
4585 am_missing_run="$MISSING --run "
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4589 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4592 if test x"${install_sh}" != xset; then
4595 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4597 install_sh="\${SHELL} $am_aux_dir/install-sh"
4601 # Installed binaries are usually stripped using `strip' when the user
4602 # run `make install-strip'. However `strip' might not be the right
4603 # tool to use in cross-compilation environments, therefore Automake
4604 # will honor the `STRIP' environment variable to overrule this program.
4605 if test "$cross_compiling" != no; then
4606 if test -n "$ac_tool_prefix"; then
4607 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4608 set dummy ${ac_tool_prefix}strip; ac_word=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if ${ac_cv_prog_STRIP+:} false; then :
4612 $as_echo_n "(cached) " >&6
4614 if test -n "$STRIP"; then
4615 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir=.
4622 for ac_exec_ext in '' $ac_executable_extensions; do
4623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 STRIP=$ac_cv_prog_STRIP
4635 if test -n "$STRIP"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4637 $as_echo "$STRIP" >&6; }
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
4645 if test -z "$ac_cv_prog_STRIP"; then
4647 # Extract the first word of "strip", so it can be a program name with args.
4648 set dummy strip; ac_word=$2
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4650 $as_echo_n "checking for $ac_word... " >&6; }
4651 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4652 $as_echo_n "(cached) " >&6
4654 if test -n "$ac_ct_STRIP"; then
4655 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 test -z "$as_dir" && as_dir=.
4662 for ac_exec_ext in '' $ac_executable_extensions; do
4663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4664 ac_cv_prog_ac_ct_STRIP="strip"
4665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4675 if test -n "$ac_ct_STRIP"; then
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4677 $as_echo "$ac_ct_STRIP" >&6; }
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4680 $as_echo "no" >&6; }
4683 if test "x$ac_ct_STRIP" = x; then
4686 case $cross_compiling:$ac_tool_warned in
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4690 ac_tool_warned=yes ;;
4695 STRIP="$ac_cv_prog_STRIP"
4699 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4702 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4703 if test -z "$MKDIR_P"; then
4704 if ${ac_cv_path_mkdir+:} false; then :
4705 $as_echo_n "(cached) " >&6
4707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4708 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4711 test -z "$as_dir" && as_dir=.
4712 for ac_prog in mkdir gmkdir; do
4713 for ac_exec_ext in '' $ac_executable_extensions; do
4714 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4715 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4716 'mkdir (GNU coreutils) '* | \
4717 'mkdir (coreutils) '* | \
4718 'mkdir (fileutils) '4.1*)
4719 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4729 test -d ./--version && rmdir ./--version
4730 if test "${ac_cv_path_mkdir+set}" = set; then
4731 MKDIR_P="$ac_cv_path_mkdir -p"
4733 # As a last resort, use the slow shell script. Don't cache a
4734 # value for MKDIR_P within a source directory, because that will
4735 # break other packages using the cache if that directory is
4736 # removed, or if the value is a relative name.
4737 MKDIR_P="$ac_install_sh -d"
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4741 $as_echo "$MKDIR_P" >&6; }
4745 [\\/$]* | ?:[\\/]*) ;;
4746 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4749 for ac_prog in gawk mawk nawk awk
4751 # Extract the first word of "$ac_prog", so it can be a program name with args.
4752 set dummy $ac_prog; ac_word=$2
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 $as_echo_n "checking for $ac_word... " >&6; }
4755 if ${ac_cv_prog_AWK+:} false; then :
4756 $as_echo_n "(cached) " >&6
4758 if test -n "$AWK"; then
4759 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765 test -z "$as_dir" && as_dir=.
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4768 ac_cv_prog_AWK="$ac_prog"
4769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4779 if test -n "$AWK"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4781 $as_echo "$AWK" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4788 test -n "$AWK" && break
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4792 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4794 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4795 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4796 $as_echo_n "(cached) " >&6
4798 cat >conftest.make <<\_ACEOF
4801 @echo '@@@%%%=$(MAKE)=@@@%%%'
4803 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4804 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4806 eval ac_cv_prog_make_${ac_make}_set=yes;;
4808 eval ac_cv_prog_make_${ac_make}_set=no;;
4812 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4814 $as_echo "yes" >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4819 SET_MAKE="MAKE=${MAKE-make}"
4822 rm -rf .tst 2>/dev/null
4823 mkdir .tst 2>/dev/null
4824 if test -d .tst; then
4829 rmdir .tst 2>/dev/null
4831 DEPDIR="${am__leading_dot}deps"
4833 ac_config_commands="$ac_config_commands depfiles"
4836 am_make=${MAKE-make}
4837 cat > confinc << 'END'
4839 @echo this is the am__doit target
4842 # If we don't find an include directive, just comment out the code.
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4844 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4848 # First try GNU make style include.
4849 echo "include confinc" > confmf
4850 # Ignore all kinds of additional output from `make'.
4851 case `$am_make -s -f confmf 2> /dev/null` in #(
4852 *the\ am__doit\ target*)
4858 # Now try BSD make style include.
4859 if test "$am__include" = "#"; then
4860 echo '.include "confinc"' > confmf
4861 case `$am_make -s -f confmf 2> /dev/null` in #(
4862 *the\ am__doit\ target*)
4863 am__include=.include
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4872 $as_echo "$_am_result" >&6; }
4873 rm -f confinc confmf
4875 # Check whether --enable-dependency-tracking was given.
4876 if test "${enable_dependency_tracking+set}" = set; then :
4877 enableval=$enable_dependency_tracking;
4880 if test "x$enable_dependency_tracking" != xno; then
4881 am_depcomp="$ac_aux_dir/depcomp"
4885 if test "x$enable_dependency_tracking" != xno; then
4894 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4895 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4896 # is not polluted with repeated "-I."
4897 am__isrc=' -I$(srcdir)'
4898 # test to see if srcdir already configured
4899 if test -f $srcdir/config.status; then
4900 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4904 # test whether we have cygpath
4905 if test -z "$CYGPATH_W"; then
4906 if (cygpath --version) >/dev/null 2>/dev/null; then
4907 CYGPATH_W='cygpath -w'
4914 # Define the identity of the package.
4919 # Some tools Automake needs.
4921 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4924 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4927 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4930 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4933 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4935 # We need awk for the "check" target. The system "awk" is bad on
4937 # Always define AMTAR for backward compatibility. Yes, it's still used
4938 # in the wild :-( We should find a proper way to deprecate it ...
4941 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4946 depcc="$CC" am_compiler_list=
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4949 $as_echo_n "checking dependency style of $depcc... " >&6; }
4950 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4951 $as_echo_n "(cached) " >&6
4953 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4954 # We make a subdir and do the tests there. Otherwise we can end up
4955 # making bogus files that we don't know about and never remove. For
4956 # instance it was reported that on HP-UX the gcc test will end up
4957 # making a dummy file named `D' -- because `-MD' means `put the output
4961 # Copy depcomp to subdir because otherwise we won't find it if we're
4962 # using a relative directory.
4963 cp "$am_depcomp" conftest.dir
4965 # We will build objects and dependencies in a subdirectory because
4966 # it helps to detect inapplicable dependency modes. For instance
4967 # both Tru64's cc and ICC support -MD to output dependencies as a
4968 # side effect of compilation, but ICC will put the dependencies in
4969 # the current directory while Tru64 will put them in the object
4973 am_cv_CC_dependencies_compiler_type=none
4974 if test "$am_compiler_list" = ""; then
4975 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4978 case " $depcc " in #(
4979 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4982 for depmode in $am_compiler_list; do
4983 # Setup a source with many dependencies, because some compilers
4984 # like to wrap large dependency lists on column 80 (with \), and
4985 # we should not choose a depcomp mode which is confused by this.
4987 # We need to recreate these files for each test, as the compiler may
4988 # overwrite some of them when testing with obscure command lines.
4989 # This happens at least with the AIX C compiler.
4991 for i in 1 2 3 4 5 6; do
4992 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4993 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4994 # Solaris 8's {/usr,}/bin/sh.
4995 touch sub/conftst$i.h
4997 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4999 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5000 # mode. It turns out that the SunPro C++ compiler does not properly
5001 # handle `-M -o', and we need to detect this. Also, some Intel
5002 # versions had trouble with output in subdirs
5003 am__obj=sub/conftest.${OBJEXT-o}
5004 am__minus_obj="-o $am__obj"
5007 # This depmode causes a compiler race in universal mode.
5008 test "$am__universal" = false || continue
5011 # after this tag, mechanisms are not by side-effect, so they'll
5012 # only be used when explicitly requested
5013 if test "x$enable_dependency_tracking" = xyes; then
5019 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5020 # This compiler won't grok `-c -o', but also, the minuso test has
5021 # not run yet. These depmodes are late enough in the game, and
5022 # so weak that their functioning should not be impacted.
5023 am__obj=conftest.${OBJEXT-o}
5028 if depmode=$depmode \
5029 source=sub/conftest.c object=$am__obj \
5030 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5031 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5032 >/dev/null 2>conftest.err &&
5033 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5034 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5035 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5036 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5037 # icc doesn't choke on unknown options, it will just issue warnings
5038 # or remarks (even with -Werror). So we grep stderr for any message
5039 # that says an option was ignored or not supported.
5040 # When given -MP, icc 7.0 and 7.1 complain thusly:
5041 # icc: Command line warning: ignoring option '-M'; no argument required
5042 # The diagnosis changed in icc 8.0:
5043 # icc: Command line remark: option '-MP' not supported
5044 if (grep 'ignoring option' conftest.err ||
5045 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5046 am_cv_CC_dependencies_compiler_type=$depmode
5055 am_cv_CC_dependencies_compiler_type=none
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5060 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5061 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5064 test "x$enable_dependency_tracking" != xno \
5065 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5067 am__fastdepCC_FALSE='#'
5069 am__fastdepCC_TRUE='#'
5070 am__fastdepCC_FALSE=
5075 # Check whether --enable-silent-rules was given.
5076 if test "${enable_silent_rules+set}" = set; then :
5077 enableval=$enable_silent_rules;
5080 case $enable_silent_rules in
5081 yes) AM_DEFAULT_VERBOSITY=0;;
5082 no) AM_DEFAULT_VERBOSITY=1;;
5083 *) AM_DEFAULT_VERBOSITY=0;;
5085 am_make=${MAKE-make}
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5087 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5088 if ${am_cv_make_support_nested_variables+:} false; then :
5089 $as_echo_n "(cached) " >&6
5091 if $as_echo 'TRUE=$(BAR$(V))
5097 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
5098 am_cv_make_support_nested_variables=yes
5100 am_cv_make_support_nested_variables=no
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5104 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5105 if test $am_cv_make_support_nested_variables = yes; then
5107 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5109 AM_V=$AM_DEFAULT_VERBOSITY
5110 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
5115 # Initialize libtool
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5120 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5125 macro_version='2.4.2'
5126 macro_revision='1.3337'
5140 ltmain="$ac_aux_dir/ltmain.sh"
5142 # Make sure we can run config.sub.
5143 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5144 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5147 $as_echo_n "checking build system type... " >&6; }
5148 if ${ac_cv_build+:} false; then :
5149 $as_echo_n "(cached) " >&6
5151 ac_build_alias=$build_alias
5152 test "x$ac_build_alias" = x &&
5153 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5154 test "x$ac_build_alias" = x &&
5155 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5156 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5157 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5161 $as_echo "$ac_cv_build" >&6; }
5162 case $ac_cv_build in
5164 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5167 ac_save_IFS=$IFS; IFS='-'
5173 # Remember, the first character of IFS is used to create $*,
5174 # except with old shells:
5177 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5181 $as_echo_n "checking host system type... " >&6; }
5182 if ${ac_cv_host+:} false; then :
5183 $as_echo_n "(cached) " >&6
5185 if test "x$host_alias" = x; then
5186 ac_cv_host=$ac_cv_build
5188 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5189 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5194 $as_echo "$ac_cv_host" >&6; }
5197 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5200 ac_save_IFS=$IFS; IFS='-'
5206 # Remember, the first character of IFS is used to create $*,
5207 # except with old shells:
5210 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5213 # Backslashify metacharacters that are still active within
5214 # double-quoted strings.
5215 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5217 # Same as above, but do not quote variable references.
5218 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5220 # Sed substitution to delay expansion of an escaped shell variable in a
5221 # double_quote_subst'ed string.
5222 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5224 # Sed substitution to delay expansion of an escaped single quote.
5225 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5227 # Sed substitution to avoid accidental globbing in evaled expressions
5228 no_glob_subst='s/\*/\\\*/g'
5230 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5231 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5232 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5235 $as_echo_n "checking how to print strings... " >&6; }
5236 # Test print first, because it will be a builtin if present.
5237 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5238 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5240 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5243 # Use this function as a fallback that always works.
5244 func_fallback_echo ()
5246 eval 'cat <<_LTECHO_EOF
5250 ECHO='func_fallback_echo'
5253 # func_echo_all arg...
5254 # Invoke $ECHO with all args, space-separated.
5261 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5262 $as_echo "printf" >&6; } ;;
5263 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5264 $as_echo "print -r" >&6; } ;;
5265 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5266 $as_echo "cat" >&6; } ;;
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5283 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5284 if ${ac_cv_path_SED+:} false; then :
5285 $as_echo_n "(cached) " >&6
5287 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5288 for ac_i in 1 2 3 4 5 6 7; do
5289 ac_script="$ac_script$as_nl$ac_script"
5291 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5292 { ac_script=; unset ac_script;}
5293 if test -z "$SED"; then
5294 ac_path_SED_found=false
5295 # Loop through the user's path and test for each of PROGNAME-LIST
5296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir=.
5301 for ac_prog in sed gsed; do
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5304 as_fn_executable_p "$ac_path_SED" || continue
5305 # Check for GNU ac_path_SED and select it if it is found.
5306 # Check for GNU $ac_path_SED
5307 case `"$ac_path_SED" --version 2>&1` in
5309 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5312 $as_echo_n 0123456789 >"conftest.in"
5315 cat "conftest.in" "conftest.in" >"conftest.tmp"
5316 mv "conftest.tmp" "conftest.in"
5317 cp "conftest.in" "conftest.nl"
5318 $as_echo '' >> "conftest.nl"
5319 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5320 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5321 as_fn_arith $ac_count + 1 && ac_count=$as_val
5322 if test $ac_count -gt ${ac_path_SED_max-0}; then
5323 # Best one so far, save it but keep looking for a better one
5324 ac_cv_path_SED="$ac_path_SED"
5325 ac_path_SED_max=$ac_count
5327 # 10*(2^10) chars as input seems more than enough
5328 test $ac_count -gt 10 && break
5330 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5333 $ac_path_SED_found && break 3
5338 if test -z "$ac_cv_path_SED"; then
5339 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5347 $as_echo "$ac_cv_path_SED" >&6; }
5348 SED="$ac_cv_path_SED"
5351 test -z "$SED" && SED=sed
5352 Xsed="$SED -e 1s/^X//"
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5365 $as_echo_n "checking for fgrep... " >&6; }
5366 if ${ac_cv_path_FGREP+:} false; then :
5367 $as_echo_n "(cached) " >&6
5369 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5370 then ac_cv_path_FGREP="$GREP -F"
5372 if test -z "$FGREP"; then
5373 ac_path_FGREP_found=false
5374 # Loop through the user's path and test for each of PROGNAME-LIST
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5379 test -z "$as_dir" && as_dir=.
5380 for ac_prog in fgrep; do
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5383 as_fn_executable_p "$ac_path_FGREP" || continue
5384 # Check for GNU ac_path_FGREP and select it if it is found.
5385 # Check for GNU $ac_path_FGREP
5386 case `"$ac_path_FGREP" --version 2>&1` in
5388 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5391 $as_echo_n 0123456789 >"conftest.in"
5394 cat "conftest.in" "conftest.in" >"conftest.tmp"
5395 mv "conftest.tmp" "conftest.in"
5396 cp "conftest.in" "conftest.nl"
5397 $as_echo 'FGREP' >> "conftest.nl"
5398 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5399 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5400 as_fn_arith $ac_count + 1 && ac_count=$as_val
5401 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5402 # Best one so far, save it but keep looking for a better one
5403 ac_cv_path_FGREP="$ac_path_FGREP"
5404 ac_path_FGREP_max=$ac_count
5406 # 10*(2^10) chars as input seems more than enough
5407 test $ac_count -gt 10 && break
5409 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5412 $ac_path_FGREP_found && break 3
5417 if test -z "$ac_cv_path_FGREP"; then
5418 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5421 ac_cv_path_FGREP=$FGREP
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5427 $as_echo "$ac_cv_path_FGREP" >&6; }
5428 FGREP="$ac_cv_path_FGREP"
5431 test -z "$GREP" && GREP=grep
5451 # Check whether --with-gnu-ld was given.
5452 if test "${with_gnu_ld+set}" = set; then :
5453 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5459 if test "$GCC" = yes; then
5460 # Check if gcc -print-prog-name=ld gives a path.
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5462 $as_echo_n "checking for ld used by $CC... " >&6; }
5465 # gcc leaves a trailing carriage return which upsets mingw
5466 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5468 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5471 # Accept absolute paths.
5473 re_direlt='/[^/][^/]*/\.\./'
5474 # Canonicalize the pathname of ld
5475 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5476 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5477 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5479 test -z "$LD" && LD="$ac_prog"
5482 # If it fails, then pretend we aren't using GCC.
5486 # If it is relative, then search for the first ld in PATH.
5490 elif test "$with_gnu_ld" = yes; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5492 $as_echo_n "checking for GNU ld... " >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5495 $as_echo_n "checking for non-GNU ld... " >&6; }
5497 if ${lt_cv_path_LD+:} false; then :
5498 $as_echo_n "(cached) " >&6
5500 if test -z "$LD"; then
5501 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5502 for ac_dir in $PATH; do
5504 test -z "$ac_dir" && ac_dir=.
5505 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5506 lt_cv_path_LD="$ac_dir/$ac_prog"
5507 # Check to see if the program is GNU ld. I'd rather use --version,
5508 # but apparently some variants of GNU ld only accept -v.
5509 # Break only if it was the GNU/non-GNU ld that we prefer.
5510 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5511 *GNU* | *'with BFD'*)
5512 test "$with_gnu_ld" != no && break
5515 test "$with_gnu_ld" != yes && break
5522 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5527 if test -n "$LD"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5529 $as_echo "$LD" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5534 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5536 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5537 if ${lt_cv_prog_gnu_ld+:} false; then :
5538 $as_echo_n "(cached) " >&6
5540 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5541 case `$LD -v 2>&1 </dev/null` in
5542 *GNU* | *'with BFD'*)
5543 lt_cv_prog_gnu_ld=yes
5546 lt_cv_prog_gnu_ld=no
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5551 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5552 with_gnu_ld=$lt_cv_prog_gnu_ld
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5563 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5564 if ${lt_cv_path_NM+:} false; then :
5565 $as_echo_n "(cached) " >&6
5567 if test -n "$NM"; then
5568 # Let the user override the test.
5571 lt_nm_to_check="${ac_tool_prefix}nm"
5572 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5573 lt_nm_to_check="$lt_nm_to_check nm"
5575 for lt_tmp_nm in $lt_nm_to_check; do
5576 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5577 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5579 test -z "$ac_dir" && ac_dir=.
5580 tmp_nm="$ac_dir/$lt_tmp_nm"
5581 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5582 # Check to see if the nm accepts a BSD-compat flag.
5583 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5584 # nm: unknown option "B" ignored
5585 # Tru64's nm complains that /dev/null is an invalid object file
5586 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5587 */dev/null* | *'Invalid file or object type'*)
5588 lt_cv_path_NM="$tmp_nm -B"
5592 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5594 lt_cv_path_NM="$tmp_nm -p"
5598 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5599 continue # so that we can try to find one that supports BSD flags
5608 : ${lt_cv_path_NM=no}
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5612 $as_echo "$lt_cv_path_NM" >&6; }
5613 if test "$lt_cv_path_NM" != "no"; then
5616 # Didn't find any BSD compatible name lister, look for dumpbin.
5617 if test -n "$DUMPBIN"; then :
5618 # Let the user override the test.
5620 if test -n "$ac_tool_prefix"; then
5621 for ac_prog in dumpbin "link -dump"
5623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_DUMPBIN+:} false; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -n "$DUMPBIN"; then
5631 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 DUMPBIN=$ac_cv_prog_DUMPBIN
5651 if test -n "$DUMPBIN"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5653 $as_echo "$DUMPBIN" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5660 test -n "$DUMPBIN" && break
5663 if test -z "$DUMPBIN"; then
5664 ac_ct_DUMPBIN=$DUMPBIN
5665 for ac_prog in dumpbin "link -dump"
5667 # Extract the first word of "$ac_prog", so it can be a program name with args.
5668 set dummy $ac_prog; ac_word=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670 $as_echo_n "checking for $ac_word... " >&6; }
5671 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5672 $as_echo_n "(cached) " >&6
5674 if test -n "$ac_ct_DUMPBIN"; then
5675 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 test -z "$as_dir" && as_dir=.
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5684 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5695 if test -n "$ac_ct_DUMPBIN"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5697 $as_echo "$ac_ct_DUMPBIN" >&6; }
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700 $as_echo "no" >&6; }
5704 test -n "$ac_ct_DUMPBIN" && break
5707 if test "x$ac_ct_DUMPBIN" = x; then
5710 case $cross_compiling:$ac_tool_warned in
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5714 ac_tool_warned=yes ;;
5716 DUMPBIN=$ac_ct_DUMPBIN
5720 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5722 DUMPBIN="$DUMPBIN -symbols"
5730 if test "$DUMPBIN" != ":"; then
5734 test -z "$NM" && NM=nm
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5742 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5743 if ${lt_cv_nm_interface+:} false; then :
5744 $as_echo_n "(cached) " >&6
5746 lt_cv_nm_interface="BSD nm"
5747 echo "int some_variable = 0;" > conftest.$ac_ext
5748 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5749 (eval "$ac_compile" 2>conftest.err)
5750 cat conftest.err >&5
5751 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5752 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5753 cat conftest.err >&5
5754 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5755 cat conftest.out >&5
5756 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5757 lt_cv_nm_interface="MS dumpbin"
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5762 $as_echo "$lt_cv_nm_interface" >&6; }
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5765 $as_echo_n "checking whether ln -s works... " >&6; }
5767 if test "$LN_S" = "ln -s"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5769 $as_echo "yes" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5772 $as_echo "no, using $LN_S" >&6; }
5775 # find the maximum length of command line arguments
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5777 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5778 if ${lt_cv_sys_max_cmd_len+:} false; then :
5779 $as_echo_n "(cached) " >&6
5786 # On DJGPP, this test can blow up pretty badly due to problems in libc
5787 # (any single argument exceeding 2000 bytes causes a buffer overrun
5788 # during glob expansion). Even if it were fixed, the result of this
5789 # check would be larger than it should be.
5790 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5794 # Under GNU Hurd, this test is not required because there is
5795 # no limit to the length of command line arguments.
5796 # Libtool will interpret -1 as no limit whatsoever
5797 lt_cv_sys_max_cmd_len=-1;
5800 cygwin* | mingw* | cegcc*)
5801 # On Win9x/ME, this test blows up -- it succeeds, but takes
5802 # about 5 minutes as the teststring grows exponentially.
5803 # Worse, since 9x/ME are not pre-emptively multitasking,
5804 # you end up with a "frozen" computer, even though with patience
5805 # the test eventually succeeds (with a max line length of 256k).
5806 # Instead, let's just punt: use the minimum linelength reported by
5807 # all of the supported platforms: 8192 (on NT/2K/XP).
5808 lt_cv_sys_max_cmd_len=8192;
5812 # On MiNT this can take a long time and run out of memory.
5813 lt_cv_sys_max_cmd_len=8192;
5817 # On AmigaOS with pdksh, this test takes hours, literally.
5818 # So we just punt and use a minimum line length of 8192.
5819 lt_cv_sys_max_cmd_len=8192;
5822 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5823 # This has been around since 386BSD, at least. Likely further.
5824 if test -x /sbin/sysctl; then
5825 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5826 elif test -x /usr/sbin/sysctl; then
5827 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5829 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5831 # And add a safety zone
5832 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5833 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5837 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5838 lt_cv_sys_max_cmd_len=196608
5842 # The test takes a long time on OS/2.
5843 lt_cv_sys_max_cmd_len=8192
5847 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5848 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5849 # nice to cause kernel panics so lets avoid the loop below.
5850 # First set a reasonable default.
5851 lt_cv_sys_max_cmd_len=16384
5853 if test -x /sbin/sysconfig; then
5854 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5855 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5860 lt_cv_sys_max_cmd_len=102400
5862 sysv5* | sco5v6* | sysv4.2uw2*)
5863 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5864 if test -n "$kargmax"; then
5865 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5867 lt_cv_sys_max_cmd_len=32768
5871 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5872 if test -n "$lt_cv_sys_max_cmd_len"; then
5873 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5874 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5876 # Make teststring a little bigger before we do anything with it.
5877 # a 1K string should be a reasonable start.
5878 for i in 1 2 3 4 5 6 7 8 ; do
5879 teststring=$teststring$teststring
5881 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5882 # If test is not a shell built-in, we'll probably end up computing a
5883 # maximum length that is only half of the actual maximum length, but
5885 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5886 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5887 test $i != 17 # 1/2 MB should be enough
5890 teststring=$teststring$teststring
5892 # Only check the string length outside the loop.
5893 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5895 # Add a significant safety factor because C++ compilers can tack on
5896 # massive amounts of additional arguments before passing them to the
5897 # linker. It appears as though 1/2 is a usable value.
5898 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5905 if test -n $lt_cv_sys_max_cmd_len ; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5907 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5910 $as_echo "none" >&6; }
5912 max_cmd_len=$lt_cv_sys_max_cmd_len
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5924 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5925 # Try some XSI features
5928 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5930 && eval 'test $(( 1 + 1 )) -eq 2 \
5931 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5934 $as_echo "$xsi_shell" >&6; }
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5938 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5940 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5942 && lt_shell_append=yes
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5944 $as_echo "$lt_shell_append" >&6; }
5947 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5957 # test EBCDIC or ASCII
5958 case `echo X|tr X '\101'` in
5959 A) # ASCII based system
5960 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5961 lt_SP2NL='tr \040 \012'
5962 lt_NL2SP='tr \015\012 \040\040'
5964 *) # EBCDIC based system
5965 lt_SP2NL='tr \100 \n'
5966 lt_NL2SP='tr \r\n \100\100'
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5979 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5980 if ${lt_cv_to_host_file_cmd+:} false; then :
5981 $as_echo_n "(cached) " >&6
5986 *-*-mingw* ) # actually msys
5987 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5990 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5992 * ) # otherwise, assume *nix
5993 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5999 *-*-mingw* ) # actually msys
6000 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6003 lt_cv_to_host_file_cmd=func_convert_file_noop
6005 * ) # otherwise, assume *nix
6006 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6010 * ) # unhandled hosts (and "normal" native builds)
6011 lt_cv_to_host_file_cmd=func_convert_file_noop
6017 to_host_file_cmd=$lt_cv_to_host_file_cmd
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6019 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6026 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6027 if ${lt_cv_to_tool_file_cmd+:} false; then :
6028 $as_echo_n "(cached) " >&6
6030 #assume ordinary cross tools, or native build.
6031 lt_cv_to_tool_file_cmd=func_convert_file_noop
6035 *-*-mingw* ) # actually msys
6036 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6044 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6046 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6053 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6054 if ${lt_cv_ld_reload_flag+:} false; then :
6055 $as_echo_n "(cached) " >&6
6057 lt_cv_ld_reload_flag='-r'
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6060 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6061 reload_flag=$lt_cv_ld_reload_flag
6062 case $reload_flag in
6064 *) reload_flag=" $reload_flag" ;;
6066 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6068 cygwin* | mingw* | pw32* | cegcc*)
6069 if test "$GCC" != yes; then
6074 if test "$GCC" = yes; then
6075 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6077 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6090 if test -n "$ac_tool_prefix"; then
6091 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6092 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_OBJDUMP+:} false; then :
6096 $as_echo_n "(cached) " >&6
6098 if test -n "$OBJDUMP"; then
6099 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 OBJDUMP=$ac_cv_prog_OBJDUMP
6119 if test -n "$OBJDUMP"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6121 $as_echo "$OBJDUMP" >&6; }
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6129 if test -z "$ac_cv_prog_OBJDUMP"; then
6130 ac_ct_OBJDUMP=$OBJDUMP
6131 # Extract the first word of "objdump", so it can be a program name with args.
6132 set dummy objdump; ac_word=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6136 $as_echo_n "(cached) " >&6
6138 if test -n "$ac_ct_OBJDUMP"; then
6139 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6159 if test -n "$ac_ct_OBJDUMP"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6161 $as_echo "$ac_ct_OBJDUMP" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6167 if test "x$ac_ct_OBJDUMP" = x; then
6170 case $cross_compiling:$ac_tool_warned in
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6174 ac_tool_warned=yes ;;
6176 OBJDUMP=$ac_ct_OBJDUMP
6179 OBJDUMP="$ac_cv_prog_OBJDUMP"
6182 test -z "$OBJDUMP" && OBJDUMP=objdump
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6190 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6191 if ${lt_cv_deplibs_check_method+:} false; then :
6192 $as_echo_n "(cached) " >&6
6194 lt_cv_file_magic_cmd='$MAGIC_CMD'
6195 lt_cv_file_magic_test_file=
6196 lt_cv_deplibs_check_method='unknown'
6197 # Need to set the preceding variable on all platforms that support
6198 # interlibrary dependencies.
6199 # 'none' -- dependencies not supported.
6200 # `unknown' -- same as none, but documents that we really don't know.
6201 # 'pass_all' -- all dependencies passed with no checks.
6202 # 'test_compile' -- check by making test program.
6203 # 'file_magic [[regex]]' -- check by looking for files in library path
6204 # which responds to the $file_magic_cmd with a given extended regex.
6205 # If you have `file' or equivalent on your system and you're not sure
6206 # whether `pass_all' will *always* work, you probably want this one.
6210 lt_cv_deplibs_check_method=pass_all
6214 lt_cv_deplibs_check_method=pass_all
6218 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6219 lt_cv_file_magic_cmd='/usr/bin/file -L'
6220 lt_cv_file_magic_test_file=/shlib/libc.so
6224 # func_win32_libid is a shell function defined in ltmain.sh
6225 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6226 lt_cv_file_magic_cmd='func_win32_libid'
6230 # Base MSYS/MinGW do not provide the 'file' command needed by
6231 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6232 # unless we find 'file', for example because we are cross-compiling.
6233 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6234 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6236 lt_cv_file_magic_cmd='func_win32_libid'
6238 # Keep this pattern in sync with the one in func_win32_libid.
6239 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6240 lt_cv_file_magic_cmd='$OBJDUMP -f'
6245 # use the weaker test based on 'objdump'. See mingw*.
6246 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6247 lt_cv_file_magic_cmd='$OBJDUMP -f'
6250 darwin* | rhapsody*)
6251 lt_cv_deplibs_check_method=pass_all
6254 freebsd* | dragonfly*)
6255 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6258 # Not sure whether the presence of OpenBSD here was a mistake.
6259 # Let's accept both of them until this is cleared up.
6260 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6261 lt_cv_file_magic_cmd=/usr/bin/file
6262 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6266 lt_cv_deplibs_check_method=pass_all
6271 lt_cv_deplibs_check_method=pass_all
6274 hpux10.20* | hpux11*)
6275 lt_cv_file_magic_cmd=/usr/bin/file
6278 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6279 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6282 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]'
6283 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6286 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6287 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6293 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6294 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6297 irix5* | irix6* | nonstopux*)
6299 *-32|*"-32 ") libmagic=32-bit;;
6300 *-n32|*"-n32 ") libmagic=N32;;
6301 *-64|*"-64 ") libmagic=64-bit;;
6302 *) libmagic=never-match;;
6304 lt_cv_deplibs_check_method=pass_all
6307 # This must be glibc/ELF.
6308 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6309 lt_cv_deplibs_check_method=pass_all
6312 netbsd* | netbsdelf*-gnu)
6313 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6316 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6321 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6322 lt_cv_file_magic_cmd=/usr/bin/file
6323 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6327 lt_cv_deplibs_check_method=pass_all
6331 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6338 osf3* | osf4* | osf5*)
6339 lt_cv_deplibs_check_method=pass_all
6343 lt_cv_deplibs_check_method=pass_all
6347 lt_cv_deplibs_check_method=pass_all
6350 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6351 lt_cv_deplibs_check_method=pass_all
6355 case $host_vendor in
6357 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]'
6358 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6361 lt_cv_deplibs_check_method=pass_all
6364 lt_cv_file_magic_cmd='/bin/file'
6365 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6368 lt_cv_file_magic_cmd='/bin/file'
6369 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6370 lt_cv_file_magic_test_file=/lib/libc.so
6373 lt_cv_deplibs_check_method=pass_all
6376 lt_cv_deplibs_check_method=pass_all
6382 lt_cv_deplibs_check_method=pass_all
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6388 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6392 if test "$build" = "$host"; then
6395 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6398 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6404 file_magic_cmd=$lt_cv_file_magic_cmd
6405 deplibs_check_method=$lt_cv_deplibs_check_method
6406 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6429 if test -n "$ac_tool_prefix"; then
6430 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6431 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6433 $as_echo_n "checking for $ac_word... " >&6; }
6434 if ${ac_cv_prog_DLLTOOL+:} false; then :
6435 $as_echo_n "(cached) " >&6
6437 if test -n "$DLLTOOL"; then
6438 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444 test -z "$as_dir" && as_dir=.
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6447 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457 DLLTOOL=$ac_cv_prog_DLLTOOL
6458 if test -n "$DLLTOOL"; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6460 $as_echo "$DLLTOOL" >&6; }
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 $as_echo "no" >&6; }
6468 if test -z "$ac_cv_prog_DLLTOOL"; then
6469 ac_ct_DLLTOOL=$DLLTOOL
6470 # Extract the first word of "dlltool", so it can be a program name with args.
6471 set dummy dlltool; ac_word=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6475 $as_echo_n "(cached) " >&6
6477 if test -n "$ac_ct_DLLTOOL"; then
6478 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6484 test -z "$as_dir" && as_dir=.
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6487 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6497 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6498 if test -n "$ac_ct_DLLTOOL"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6500 $as_echo "$ac_ct_DLLTOOL" >&6; }
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6506 if test "x$ac_ct_DLLTOOL" = x; then
6509 case $cross_compiling:$ac_tool_warned in
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6513 ac_tool_warned=yes ;;
6515 DLLTOOL=$ac_ct_DLLTOOL
6518 DLLTOOL="$ac_cv_prog_DLLTOOL"
6521 test -z "$DLLTOOL" && DLLTOOL=dlltool
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6530 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6531 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6532 $as_echo_n "(cached) " >&6
6534 lt_cv_sharedlib_from_linklib_cmd='unknown'
6537 cygwin* | mingw* | pw32* | cegcc*)
6538 # two different shell functions defined in ltmain.sh
6539 # decide which to use based on capabilities of $DLLTOOL
6540 case `$DLLTOOL --help 2>&1` in
6541 *--identify-strict*)
6542 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6545 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6550 # fallback: assume linklib IS sharedlib
6551 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6557 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6558 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6559 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6567 if test -n "$ac_tool_prefix"; then
6570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if ${ac_cv_prog_AR+:} false; then :
6575 $as_echo_n "(cached) " >&6
6577 if test -n "$AR"; then
6578 ac_cv_prog_AR="$AR" # Let the user override the test.
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598 if test -n "$AR"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6600 $as_echo "$AR" >&6; }
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6607 test -n "$AR" && break
6610 if test -z "$AR"; then
6614 # Extract the first word of "$ac_prog", so it can be a program name with args.
6615 set dummy $ac_prog; ac_word=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6619 $as_echo_n "(cached) " >&6
6621 if test -n "$ac_ct_AR"; then
6622 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 test -z "$as_dir" && as_dir=.
6629 for ac_exec_ext in '' $ac_executable_extensions; do
6630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6631 ac_cv_prog_ac_ct_AR="$ac_prog"
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6642 if test -n "$ac_ct_AR"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6644 $as_echo "$ac_ct_AR" >&6; }
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6651 test -n "$ac_ct_AR" && break
6654 if test "x$ac_ct_AR" = x; then
6657 case $cross_compiling:$ac_tool_warned in
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6661 ac_tool_warned=yes ;;
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6681 $as_echo_n "checking for archiver @FILE support... " >&6; }
6682 if ${lt_cv_ar_at_file+:} false; then :
6683 $as_echo_n "(cached) " >&6
6686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6687 /* end confdefs.h. */
6697 if ac_fn_c_try_compile "$LINENO"; then :
6698 echo conftest.$ac_objext > conftest.lst
6699 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6700 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6701 (eval $lt_ar_try) 2>&5
6703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6704 test $ac_status = 0; }
6705 if test "$ac_status" -eq 0; then
6706 # Ensure the archiver fails upon bogus file names.
6707 rm -f conftest.$ac_objext libconftest.a
6708 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6709 (eval $lt_ar_try) 2>&5
6711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6712 test $ac_status = 0; }
6713 if test "$ac_status" -ne 0; then
6717 rm -f conftest.* libconftest.a
6720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6724 $as_echo "$lt_cv_ar_at_file" >&6; }
6726 if test "x$lt_cv_ar_at_file" = xno; then
6729 archiver_list_spec=$lt_cv_ar_at_file
6738 if test -n "$ac_tool_prefix"; then
6739 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6740 set dummy ${ac_tool_prefix}strip; 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_STRIP+:} false; then :
6744 $as_echo_n "(cached) " >&6
6746 if test -n "$STRIP"; then
6747 ac_cv_prog_STRIP="$STRIP" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6756 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 STRIP=$ac_cv_prog_STRIP
6767 if test -n "$STRIP"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6769 $as_echo "$STRIP" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6777 if test -z "$ac_cv_prog_STRIP"; then
6779 # Extract the first word of "strip", so it can be a program name with args.
6780 set dummy strip; ac_word=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 $as_echo_n "checking for $ac_word... " >&6; }
6783 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6784 $as_echo_n "(cached) " >&6
6786 if test -n "$ac_ct_STRIP"; then
6787 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir=.
6794 for ac_exec_ext in '' $ac_executable_extensions; do
6795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6796 ac_cv_prog_ac_ct_STRIP="strip"
6797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6807 if test -n "$ac_ct_STRIP"; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6809 $as_echo "$ac_ct_STRIP" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6815 if test "x$ac_ct_STRIP" = x; then
6818 case $cross_compiling:$ac_tool_warned in
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822 ac_tool_warned=yes ;;
6827 STRIP="$ac_cv_prog_STRIP"
6830 test -z "$STRIP" && STRIP=:
6837 if test -n "$ac_tool_prefix"; then
6838 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6839 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 $as_echo_n "checking for $ac_word... " >&6; }
6842 if ${ac_cv_prog_RANLIB+:} false; then :
6843 $as_echo_n "(cached) " >&6
6845 if test -n "$RANLIB"; then
6846 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir=.
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6855 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 RANLIB=$ac_cv_prog_RANLIB
6866 if test -n "$RANLIB"; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6868 $as_echo "$RANLIB" >&6; }
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 $as_echo "no" >&6; }
6876 if test -z "$ac_cv_prog_RANLIB"; then
6877 ac_ct_RANLIB=$RANLIB
6878 # Extract the first word of "ranlib", so it can be a program name with args.
6879 set dummy ranlib; ac_word=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6883 $as_echo_n "(cached) " >&6
6885 if test -n "$ac_ct_RANLIB"; then
6886 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6895 ac_cv_prog_ac_ct_RANLIB="ranlib"
6896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6906 if test -n "$ac_ct_RANLIB"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6908 $as_echo "$ac_ct_RANLIB" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6914 if test "x$ac_ct_RANLIB" = x; then
6917 case $cross_compiling:$ac_tool_warned in
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6921 ac_tool_warned=yes ;;
6923 RANLIB=$ac_ct_RANLIB
6926 RANLIB="$ac_cv_prog_RANLIB"
6929 test -z "$RANLIB" && RANLIB=:
6936 # Determine commands to create old-style static archives.
6937 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6938 old_postinstall_cmds='chmod 644 $oldlib'
6939 old_postuninstall_cmds=
6941 if test -n "$RANLIB"; then
6944 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6947 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6950 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6955 lock_old_archive_extraction=yes ;;
6957 lock_old_archive_extraction=no ;;
6998 # If no C compiler was specified, use CC.
7001 # If no C compiler flags were specified, use CFLAGS.
7002 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7004 # Allow CC to be a program name with arguments.
7008 # Check for command to grab the raw symbol name followed by C symbol from nm.
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7010 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7011 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7012 $as_echo_n "(cached) " >&6
7015 # These are sane defaults that work on at least a few old systems.
7016 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7018 # Character class describing NM global symbol codes.
7019 symcode='[BCDEGRST]'
7021 # Regexp to match symbols that can be accessed directly from C.
7022 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7024 # Define system-specific variables.
7029 cygwin* | mingw* | pw32* | cegcc*)
7030 symcode='[ABCDGISTW]'
7033 if test "$host_cpu" = ia64; then
7034 symcode='[ABCDEGRST]'
7038 symcode='[BCDEGRST]'
7041 symcode='[BCDEGQRST]'
7052 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7060 # If we're using GNU nm, then use its standard symbol codes.
7061 case `$NM -V 2>&1` in
7062 *GNU* | *'with BFD'*)
7063 symcode='[ABCDGIRSTW]' ;;
7066 # Transform an extracted symbol line into a proper C declaration.
7067 # Some systems (esp. on ia64) link data and code symbols differently,
7068 # so use this general approach.
7069 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7071 # Transform an extracted symbol line into symbol name and symbol address
7072 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7073 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'"
7075 # Handle CRLF in mingw tool chain
7079 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7083 # Try without a prefix underscore, then with it.
7084 for ac_symprfx in "" "_"; do
7086 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7087 symxfrm="\\1 $ac_symprfx\\2 \\2"
7089 # Write the raw and C identifiers.
7090 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7091 # Fake it for dumpbin and say T for any non-static function
7092 # and D for any global variable.
7093 # Also find C++ and __fastcall symbols from MSVC++,
7094 # which start with @ or ?.
7095 lt_cv_sys_global_symbol_pipe="$AWK '"\
7096 " {last_section=section; section=\$ 3};"\
7097 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7098 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7099 " \$ 0!~/External *\|/{next};"\
7100 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7101 " {if(hide[section]) next};"\
7102 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7103 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7104 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7105 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7106 " ' prfx=^$ac_symprfx"
7108 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7110 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7112 # Check to see that the pipe works correctly.
7116 cat > conftest.$ac_ext <<_LT_EOF
7121 void nm_test_func(void);
7122 void nm_test_func(void){}
7126 int main(){nm_test_var='a';nm_test_func();return(0);}
7129 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7130 (eval $ac_compile) 2>&5
7132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7133 test $ac_status = 0; }; then
7134 # Now try to grab the symbols.
7136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7137 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7140 test $ac_status = 0; } && test -s "$nlist"; then
7141 # Try sorting and uniquifying the output.
7142 if sort "$nlist" | uniq > "$nlist"T; then
7143 mv -f "$nlist"T "$nlist"
7148 # Make sure that we snagged all the symbols we need.
7149 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7150 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7151 cat <<_LT_EOF > conftest.$ac_ext
7152 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7153 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7154 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7155 relocations are performed -- see ld's documentation on pseudo-relocs. */
7156 # define LT_DLSYM_CONST
7157 #elif defined(__osf__)
7158 /* This system does not cope well with relocations in const data. */
7159 # define LT_DLSYM_CONST
7161 # define LT_DLSYM_CONST const
7169 # Now generate the symbol file.
7170 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7172 cat <<_LT_EOF >> conftest.$ac_ext
7174 /* The mapping between symbol names and symbols. */
7175 LT_DLSYM_CONST struct {
7179 lt__PROGRAM__LTX_preloaded_symbols[] =
7181 { "@PROGRAM@", (void *) 0 },
7183 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7184 cat <<\_LT_EOF >> conftest.$ac_ext
7188 /* This works around a problem in FreeBSD linker */
7189 #ifdef FREEBSD_WORKAROUND
7190 static const void *lt_preloaded_setup() {
7191 return lt__PROGRAM__LTX_preloaded_symbols;
7199 # Now try linking the two files.
7200 mv conftest.$ac_objext conftstm.$ac_objext
7201 lt_globsym_save_LIBS=$LIBS
7202 lt_globsym_save_CFLAGS=$CFLAGS
7203 LIBS="conftstm.$ac_objext"
7204 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7206 (eval $ac_link) 2>&5
7208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7209 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7212 LIBS=$lt_globsym_save_LIBS
7213 CFLAGS=$lt_globsym_save_CFLAGS
7215 echo "cannot find nm_test_func in $nlist" >&5
7218 echo "cannot find nm_test_var in $nlist" >&5
7221 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7224 echo "$progname: failed program was:" >&5
7225 cat conftest.$ac_ext >&5
7227 rm -rf conftest* conftst*
7229 # Do not use the global_symbol_pipe unless it works.
7230 if test "$pipe_works" = yes; then
7233 lt_cv_sys_global_symbol_pipe=
7239 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7240 lt_cv_sys_global_symbol_to_cdecl=
7242 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7244 $as_echo "failed" >&6; }
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7247 $as_echo "ok" >&6; }
7250 # Response file support.
7251 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7252 nm_file_list_spec='@'
7253 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7254 nm_file_list_spec='@'
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7284 $as_echo_n "checking for sysroot... " >&6; }
7286 # Check whether --with-sysroot was given.
7287 if test "${with_sysroot+set}" = set; then :
7288 withval=$with_sysroot;
7295 case ${with_sysroot} in #(
7297 if test "$GCC" = yes; then
7298 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7302 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7308 $as_echo "${with_sysroot}" >&6; }
7309 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7314 $as_echo "${lt_sysroot:-no}" >&6; }
7320 # Check whether --enable-libtool-lock was given.
7321 if test "${enable_libtool_lock+set}" = set; then :
7322 enableval=$enable_libtool_lock;
7325 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7327 # Some flags need to be propagated to the compiler or linker for good
7331 # Find out which ABI we are using.
7332 echo 'int i;' > conftest.$ac_ext
7333 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7334 (eval $ac_compile) 2>&5
7336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7337 test $ac_status = 0; }; then
7338 case `/usr/bin/file conftest.$ac_objext` in
7350 # Find out which ABI we are using.
7351 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7353 (eval $ac_compile) 2>&5
7355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7356 test $ac_status = 0; }; then
7357 if test "$lt_cv_prog_gnu_ld" = yes; then
7358 case `/usr/bin/file conftest.$ac_objext` in
7360 LD="${LD-ld} -melf32bsmip"
7363 LD="${LD-ld} -melf32bmipn32"
7366 LD="${LD-ld} -melf64bmip"
7370 case `/usr/bin/file conftest.$ac_objext` in
7386 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7387 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7388 # Find out which ABI we are using.
7389 echo 'int i;' > conftest.$ac_ext
7390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7391 (eval $ac_compile) 2>&5
7393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7394 test $ac_status = 0; }; then
7395 case `/usr/bin/file conftest.o` in
7398 x86_64-*kfreebsd*-gnu)
7399 LD="${LD-ld} -m elf_i386_fbsd"
7402 LD="${LD-ld} -m elf_i386"
7404 ppc64-*linux*|powerpc64-*linux*)
7405 LD="${LD-ld} -m elf32ppclinux"
7408 LD="${LD-ld} -m elf_s390"
7411 LD="${LD-ld} -m elf32_sparc"
7417 x86_64-*kfreebsd*-gnu)
7418 LD="${LD-ld} -m elf_x86_64_fbsd"
7421 LD="${LD-ld} -m elf_x86_64"
7423 ppc*-*linux*|powerpc*-*linux*)
7424 LD="${LD-ld} -m elf64ppc"
7426 s390*-*linux*|s390*-*tpf*)
7427 LD="${LD-ld} -m elf64_s390"
7430 LD="${LD-ld} -m elf64_sparc"
7440 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7441 SAVE_CFLAGS="$CFLAGS"
7442 CFLAGS="$CFLAGS -belf"
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7444 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7445 if ${lt_cv_cc_needs_belf+:} false; then :
7446 $as_echo_n "(cached) " >&6
7449 ac_cpp='$CPP $CPPFLAGS'
7450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7455 /* end confdefs.h. */
7465 if ac_fn_c_try_link "$LINENO"; then :
7466 lt_cv_cc_needs_belf=yes
7468 lt_cv_cc_needs_belf=no
7470 rm -f core conftest.err conftest.$ac_objext \
7471 conftest$ac_exeext conftest.$ac_ext
7473 ac_cpp='$CPP $CPPFLAGS'
7474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7480 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7481 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7482 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7483 CFLAGS="$SAVE_CFLAGS"
7487 # Find out which ABI we are using.
7488 echo 'int i;' > conftest.$ac_ext
7489 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7490 (eval $ac_compile) 2>&5
7492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7493 test $ac_status = 0; }; then
7494 case `/usr/bin/file conftest.o` in
7496 case $lt_cv_prog_gnu_ld in
7500 LD="${LD-ld} -m elf_x86_64"
7503 LD="${LD-ld} -m elf64_sparc"
7506 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7507 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7512 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7524 need_locks="$enable_libtool_lock"
7526 if test -n "$ac_tool_prefix"; then
7527 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7528 set dummy ${ac_tool_prefix}mt; ac_word=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 $as_echo_n "checking for $ac_word... " >&6; }
7531 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7532 $as_echo_n "(cached) " >&6
7534 if test -n "$MANIFEST_TOOL"; then
7535 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7541 test -z "$as_dir" && as_dir=.
7542 for ac_exec_ext in '' $ac_executable_extensions; do
7543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7544 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7554 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7555 if test -n "$MANIFEST_TOOL"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7557 $as_echo "$MANIFEST_TOOL" >&6; }
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7565 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7566 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7567 # Extract the first word of "mt", so it can be a program name with args.
7568 set dummy mt; ac_word=$2
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7570 $as_echo_n "checking for $ac_word... " >&6; }
7571 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7572 $as_echo_n "(cached) " >&6
7574 if test -n "$ac_ct_MANIFEST_TOOL"; then
7575 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 test -z "$as_dir" && as_dir=.
7582 for ac_exec_ext in '' $ac_executable_extensions; do
7583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7584 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7594 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7595 if test -n "$ac_ct_MANIFEST_TOOL"; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7597 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600 $as_echo "no" >&6; }
7603 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7606 case $cross_compiling:$ac_tool_warned in
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7610 ac_tool_warned=yes ;;
7612 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7615 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7618 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7620 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7621 if ${lt_cv_path_mainfest_tool+:} false; then :
7622 $as_echo_n "(cached) " >&6
7624 lt_cv_path_mainfest_tool=no
7625 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7626 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7627 cat conftest.err >&5
7628 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7629 lt_cv_path_mainfest_tool=yes
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7634 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7635 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7645 rhapsody* | darwin*)
7646 if test -n "$ac_tool_prefix"; then
7647 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7648 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7650 $as_echo_n "checking for $ac_word... " >&6; }
7651 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7652 $as_echo_n "(cached) " >&6
7654 if test -n "$DSYMUTIL"; then
7655 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7661 test -z "$as_dir" && as_dir=.
7662 for ac_exec_ext in '' $ac_executable_extensions; do
7663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7664 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7674 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7675 if test -n "$DSYMUTIL"; then
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7677 $as_echo "$DSYMUTIL" >&6; }
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7680 $as_echo "no" >&6; }
7685 if test -z "$ac_cv_prog_DSYMUTIL"; then
7686 ac_ct_DSYMUTIL=$DSYMUTIL
7687 # Extract the first word of "dsymutil", so it can be a program name with args.
7688 set dummy dsymutil; ac_word=$2
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7690 $as_echo_n "checking for $ac_word... " >&6; }
7691 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7692 $as_echo_n "(cached) " >&6
7694 if test -n "$ac_ct_DSYMUTIL"; then
7695 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7701 test -z "$as_dir" && as_dir=.
7702 for ac_exec_ext in '' $ac_executable_extensions; do
7703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7704 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7714 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7715 if test -n "$ac_ct_DSYMUTIL"; then
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7717 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7720 $as_echo "no" >&6; }
7723 if test "x$ac_ct_DSYMUTIL" = x; then
7726 case $cross_compiling:$ac_tool_warned in
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7730 ac_tool_warned=yes ;;
7732 DSYMUTIL=$ac_ct_DSYMUTIL
7735 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7738 if test -n "$ac_tool_prefix"; then
7739 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7740 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7742 $as_echo_n "checking for $ac_word... " >&6; }
7743 if ${ac_cv_prog_NMEDIT+:} false; then :
7744 $as_echo_n "(cached) " >&6
7746 if test -n "$NMEDIT"; then
7747 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7753 test -z "$as_dir" && as_dir=.
7754 for ac_exec_ext in '' $ac_executable_extensions; do
7755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7756 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 NMEDIT=$ac_cv_prog_NMEDIT
7767 if test -n "$NMEDIT"; then
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7769 $as_echo "$NMEDIT" >&6; }
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7772 $as_echo "no" >&6; }
7777 if test -z "$ac_cv_prog_NMEDIT"; then
7778 ac_ct_NMEDIT=$NMEDIT
7779 # Extract the first word of "nmedit", so it can be a program name with args.
7780 set dummy nmedit; ac_word=$2
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7782 $as_echo_n "checking for $ac_word... " >&6; }
7783 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7784 $as_echo_n "(cached) " >&6
7786 if test -n "$ac_ct_NMEDIT"; then
7787 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7793 test -z "$as_dir" && as_dir=.
7794 for ac_exec_ext in '' $ac_executable_extensions; do
7795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7796 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7806 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7807 if test -n "$ac_ct_NMEDIT"; then
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7809 $as_echo "$ac_ct_NMEDIT" >&6; }
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7812 $as_echo "no" >&6; }
7815 if test "x$ac_ct_NMEDIT" = x; then
7818 case $cross_compiling:$ac_tool_warned in
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7822 ac_tool_warned=yes ;;
7824 NMEDIT=$ac_ct_NMEDIT
7827 NMEDIT="$ac_cv_prog_NMEDIT"
7830 if test -n "$ac_tool_prefix"; then
7831 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7832 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7834 $as_echo_n "checking for $ac_word... " >&6; }
7835 if ${ac_cv_prog_LIPO+:} false; then :
7836 $as_echo_n "(cached) " >&6
7838 if test -n "$LIPO"; then
7839 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7845 test -z "$as_dir" && as_dir=.
7846 for ac_exec_ext in '' $ac_executable_extensions; do
7847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7848 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7858 LIPO=$ac_cv_prog_LIPO
7859 if test -n "$LIPO"; then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7861 $as_echo "$LIPO" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7864 $as_echo "no" >&6; }
7869 if test -z "$ac_cv_prog_LIPO"; then
7871 # Extract the first word of "lipo", so it can be a program name with args.
7872 set dummy lipo; ac_word=$2
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7874 $as_echo_n "checking for $ac_word... " >&6; }
7875 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7876 $as_echo_n "(cached) " >&6
7878 if test -n "$ac_ct_LIPO"; then
7879 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7885 test -z "$as_dir" && as_dir=.
7886 for ac_exec_ext in '' $ac_executable_extensions; do
7887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7888 ac_cv_prog_ac_ct_LIPO="lipo"
7889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7898 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7899 if test -n "$ac_ct_LIPO"; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7901 $as_echo "$ac_ct_LIPO" >&6; }
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7904 $as_echo "no" >&6; }
7907 if test "x$ac_ct_LIPO" = x; then
7910 case $cross_compiling:$ac_tool_warned in
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7914 ac_tool_warned=yes ;;
7919 LIPO="$ac_cv_prog_LIPO"
7922 if test -n "$ac_tool_prefix"; then
7923 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7924 set dummy ${ac_tool_prefix}otool; ac_word=$2
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7926 $as_echo_n "checking for $ac_word... " >&6; }
7927 if ${ac_cv_prog_OTOOL+:} false; then :
7928 $as_echo_n "(cached) " >&6
7930 if test -n "$OTOOL"; then
7931 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 test -z "$as_dir" && as_dir=.
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7940 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7950 OTOOL=$ac_cv_prog_OTOOL
7951 if test -n "$OTOOL"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7953 $as_echo "$OTOOL" >&6; }
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7956 $as_echo "no" >&6; }
7961 if test -z "$ac_cv_prog_OTOOL"; then
7963 # Extract the first word of "otool", so it can be a program name with args.
7964 set dummy otool; ac_word=$2
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7966 $as_echo_n "checking for $ac_word... " >&6; }
7967 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7968 $as_echo_n "(cached) " >&6
7970 if test -n "$ac_ct_OTOOL"; then
7971 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7977 test -z "$as_dir" && as_dir=.
7978 for ac_exec_ext in '' $ac_executable_extensions; do
7979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7980 ac_cv_prog_ac_ct_OTOOL="otool"
7981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7991 if test -n "$ac_ct_OTOOL"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7993 $as_echo "$ac_ct_OTOOL" >&6; }
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996 $as_echo "no" >&6; }
7999 if test "x$ac_ct_OTOOL" = x; then
8002 case $cross_compiling:$ac_tool_warned in
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8006 ac_tool_warned=yes ;;
8011 OTOOL="$ac_cv_prog_OTOOL"
8014 if test -n "$ac_tool_prefix"; then
8015 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8016 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_OTOOL64+:} false; then :
8020 $as_echo_n "(cached) " >&6
8022 if test -n "$OTOOL64"; then
8023 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 OTOOL64=$ac_cv_prog_OTOOL64
8043 if test -n "$OTOOL64"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8045 $as_echo "$OTOOL64" >&6; }
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8053 if test -z "$ac_cv_prog_OTOOL64"; then
8054 ac_ct_OTOOL64=$OTOOL64
8055 # Extract the first word of "otool64", so it can be a program name with args.
8056 set dummy otool64; ac_word=$2
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058 $as_echo_n "checking for $ac_word... " >&6; }
8059 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8060 $as_echo_n "(cached) " >&6
8062 if test -n "$ac_ct_OTOOL64"; then
8063 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8069 test -z "$as_dir" && as_dir=.
8070 for ac_exec_ext in '' $ac_executable_extensions; do
8071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8072 ac_cv_prog_ac_ct_OTOOL64="otool64"
8073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8082 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8083 if test -n "$ac_ct_OTOOL64"; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8085 $as_echo "$ac_ct_OTOOL64" >&6; }
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8091 if test "x$ac_ct_OTOOL64" = x; then
8094 case $cross_compiling:$ac_tool_warned in
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8098 ac_tool_warned=yes ;;
8100 OTOOL64=$ac_ct_OTOOL64
8103 OTOOL64="$ac_cv_prog_OTOOL64"
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8133 $as_echo_n "checking for -single_module linker flag... " >&6; }
8134 if ${lt_cv_apple_cc_single_mod+:} false; then :
8135 $as_echo_n "(cached) " >&6
8137 lt_cv_apple_cc_single_mod=no
8138 if test -z "${LT_MULTI_MODULE}"; then
8139 # By default we will add the -single_module flag. You can override
8140 # by either setting the environment variable LT_MULTI_MODULE
8141 # non-empty at configure time, or by adding -multi_module to the
8143 rm -rf libconftest.dylib*
8144 echo "int foo(void){return 1;}" > conftest.c
8145 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8146 -dynamiclib -Wl,-single_module conftest.c" >&5
8147 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8148 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8150 # If there is a non-empty error log, and "single_module"
8151 # appears in it, assume the flag caused a linker warning
8152 if test -s conftest.err && $GREP single_module conftest.err; then
8153 cat conftest.err >&5
8154 # Otherwise, if the output was created with a 0 exit code from
8155 # the compiler, it worked.
8156 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8157 lt_cv_apple_cc_single_mod=yes
8159 cat conftest.err >&5
8161 rm -rf libconftest.dylib*
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8166 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8169 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8170 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8171 $as_echo_n "(cached) " >&6
8173 lt_cv_ld_exported_symbols_list=no
8174 save_LDFLAGS=$LDFLAGS
8175 echo "_main" > conftest.sym
8176 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8178 /* end confdefs.h. */
8188 if ac_fn_c_try_link "$LINENO"; then :
8189 lt_cv_ld_exported_symbols_list=yes
8191 lt_cv_ld_exported_symbols_list=no
8193 rm -f core conftest.err conftest.$ac_objext \
8194 conftest$ac_exeext conftest.$ac_ext
8195 LDFLAGS="$save_LDFLAGS"
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8199 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8202 $as_echo_n "checking for -force_load linker flag... " >&6; }
8203 if ${lt_cv_ld_force_load+:} false; then :
8204 $as_echo_n "(cached) " >&6
8206 lt_cv_ld_force_load=no
8207 cat > conftest.c << _LT_EOF
8208 int forced_loaded() { return 2;}
8210 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8211 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8212 echo "$AR cru libconftest.a conftest.o" >&5
8213 $AR cru libconftest.a conftest.o 2>&5
8214 echo "$RANLIB libconftest.a" >&5
8215 $RANLIB libconftest.a 2>&5
8216 cat > conftest.c << _LT_EOF
8217 int main() { return 0;}
8219 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8220 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8222 if test -s conftest.err && $GREP force_load conftest.err; then
8223 cat conftest.err >&5
8224 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8225 lt_cv_ld_force_load=yes
8227 cat conftest.err >&5
8229 rm -f conftest.err libconftest.a conftest conftest.c
8230 rm -rf conftest.dSYM
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8234 $as_echo "$lt_cv_ld_force_load" >&6; }
8236 rhapsody* | darwin1.[012])
8237 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8239 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8240 darwin*) # darwin 5.x on
8241 # if running on 10.5 or later, the deployment target defaults
8242 # to the OS version, if on x86, and 10.4, the deployment
8243 # target defaults to 10.4. Don't you love it?
8244 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8245 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8246 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8248 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8250 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8254 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8255 _lt_dar_single_mod='$single_module'
8257 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8258 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8260 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8262 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8263 _lt_dsymutil='~$DSYMUTIL $lib || :'
8270 for ac_header in dlfcn.h
8272 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8274 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8275 cat >>confdefs.h <<_ACEOF
8276 #define HAVE_DLFCN_H 1
8288 enable_win32_dll=yes
8291 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8292 if test -n "$ac_tool_prefix"; then
8293 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8294 set dummy ${ac_tool_prefix}as; ac_word=$2
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8296 $as_echo_n "checking for $ac_word... " >&6; }
8297 if ${ac_cv_prog_AS+:} false; then :
8298 $as_echo_n "(cached) " >&6
8300 if test -n "$AS"; then
8301 ac_cv_prog_AS="$AS" # Let the user override the test.
8303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8307 test -z "$as_dir" && as_dir=.
8308 for ac_exec_ext in '' $ac_executable_extensions; do
8309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8310 ac_cv_prog_AS="${ac_tool_prefix}as"
8311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8321 if test -n "$AS"; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8323 $as_echo "$AS" >&6; }
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8326 $as_echo "no" >&6; }
8331 if test -z "$ac_cv_prog_AS"; then
8333 # Extract the first word of "as", so it can be a program name with args.
8334 set dummy as; ac_word=$2
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8336 $as_echo_n "checking for $ac_word... " >&6; }
8337 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8338 $as_echo_n "(cached) " >&6
8340 if test -n "$ac_ct_AS"; then
8341 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8347 test -z "$as_dir" && as_dir=.
8348 for ac_exec_ext in '' $ac_executable_extensions; do
8349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8350 ac_cv_prog_ac_ct_AS="as"
8351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8360 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8361 if test -n "$ac_ct_AS"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8363 $as_echo "$ac_ct_AS" >&6; }
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 $as_echo "no" >&6; }
8369 if test "x$ac_ct_AS" = x; then
8372 case $cross_compiling:$ac_tool_warned in
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8376 ac_tool_warned=yes ;;
8384 if test -n "$ac_tool_prefix"; then
8385 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8386 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8388 $as_echo_n "checking for $ac_word... " >&6; }
8389 if ${ac_cv_prog_DLLTOOL+:} false; then :
8390 $as_echo_n "(cached) " >&6
8392 if test -n "$DLLTOOL"; then
8393 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8399 test -z "$as_dir" && as_dir=.
8400 for ac_exec_ext in '' $ac_executable_extensions; do
8401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8402 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8412 DLLTOOL=$ac_cv_prog_DLLTOOL
8413 if test -n "$DLLTOOL"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8415 $as_echo "$DLLTOOL" >&6; }
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8418 $as_echo "no" >&6; }
8423 if test -z "$ac_cv_prog_DLLTOOL"; then
8424 ac_ct_DLLTOOL=$DLLTOOL
8425 # Extract the first word of "dlltool", so it can be a program name with args.
8426 set dummy dlltool; ac_word=$2
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8428 $as_echo_n "checking for $ac_word... " >&6; }
8429 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8430 $as_echo_n "(cached) " >&6
8432 if test -n "$ac_ct_DLLTOOL"; then
8433 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8439 test -z "$as_dir" && as_dir=.
8440 for ac_exec_ext in '' $ac_executable_extensions; do
8441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8442 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8452 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8453 if test -n "$ac_ct_DLLTOOL"; then
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8455 $as_echo "$ac_ct_DLLTOOL" >&6; }
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8458 $as_echo "no" >&6; }
8461 if test "x$ac_ct_DLLTOOL" = x; then
8464 case $cross_compiling:$ac_tool_warned in
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8468 ac_tool_warned=yes ;;
8470 DLLTOOL=$ac_ct_DLLTOOL
8473 DLLTOOL="$ac_cv_prog_DLLTOOL"
8476 if test -n "$ac_tool_prefix"; then
8477 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8478 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8480 $as_echo_n "checking for $ac_word... " >&6; }
8481 if ${ac_cv_prog_OBJDUMP+:} false; then :
8482 $as_echo_n "(cached) " >&6
8484 if test -n "$OBJDUMP"; then
8485 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8491 test -z "$as_dir" && as_dir=.
8492 for ac_exec_ext in '' $ac_executable_extensions; do
8493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8494 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8504 OBJDUMP=$ac_cv_prog_OBJDUMP
8505 if test -n "$OBJDUMP"; then
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8507 $as_echo "$OBJDUMP" >&6; }
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510 $as_echo "no" >&6; }
8515 if test -z "$ac_cv_prog_OBJDUMP"; then
8516 ac_ct_OBJDUMP=$OBJDUMP
8517 # Extract the first word of "objdump", so it can be a program name with args.
8518 set dummy objdump; ac_word=$2
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8520 $as_echo_n "checking for $ac_word... " >&6; }
8521 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8522 $as_echo_n "(cached) " >&6
8524 if test -n "$ac_ct_OBJDUMP"; then
8525 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8531 test -z "$as_dir" && as_dir=.
8532 for ac_exec_ext in '' $ac_executable_extensions; do
8533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8534 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8544 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8545 if test -n "$ac_ct_OBJDUMP"; then
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8547 $as_echo "$ac_ct_OBJDUMP" >&6; }
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8550 $as_echo "no" >&6; }
8553 if test "x$ac_ct_OBJDUMP" = x; then
8556 case $cross_compiling:$ac_tool_warned in
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8560 ac_tool_warned=yes ;;
8562 OBJDUMP=$ac_ct_OBJDUMP
8565 OBJDUMP="$ac_cv_prog_OBJDUMP"
8571 test -z "$AS" && AS=as
8577 test -z "$DLLTOOL" && DLLTOOL=dlltool
8583 test -z "$OBJDUMP" && OBJDUMP=objdump
8595 # Check whether --enable-shared was given.
8596 if test "${enable_shared+set}" = set; then :
8597 enableval=$enable_shared; p=${PACKAGE-default}
8599 yes) enable_shared=yes ;;
8600 no) enable_shared=no ;;
8603 # Look at the argument we got. We use all the common list separators.
8604 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8605 for pkg in $enableval; do
8607 if test "X$pkg" = "X$p"; then
8626 # Check whether --enable-static was given.
8627 if test "${enable_static+set}" = set; then :
8628 enableval=$enable_static; p=${PACKAGE-default}
8630 yes) enable_static=yes ;;
8631 no) enable_static=no ;;
8634 # Look at the argument we got. We use all the common list separators.
8635 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8636 for pkg in $enableval; do
8638 if test "X$pkg" = "X$p"; then
8658 # Check whether --with-pic was given.
8659 if test "${with_pic+set}" = set; then :
8660 withval=$with_pic; lt_p=${PACKAGE-default}
8662 yes|no) pic_mode=$withval ;;
8665 # Look at the argument we got. We use all the common list separators.
8666 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8667 for lt_pkg in $withval; do
8669 if test "X$lt_pkg" = "X$lt_p"; then
8681 test -z "$pic_mode" && pic_mode=default
8689 # Check whether --enable-fast-install was given.
8690 if test "${enable_fast_install+set}" = set; then :
8691 enableval=$enable_fast_install; p=${PACKAGE-default}
8693 yes) enable_fast_install=yes ;;
8694 no) enable_fast_install=no ;;
8696 enable_fast_install=no
8697 # Look at the argument we got. We use all the common list separators.
8698 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8699 for pkg in $enableval; do
8701 if test "X$pkg" = "X$p"; then
8702 enable_fast_install=yes
8709 enable_fast_install=yes
8722 # This can be used to rebuild libtool when needed
8723 LIBTOOL_DEPS="$ltmain"
8725 # Always use our own libtool.
8726 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8757 test -z "$LN_S" && LN_S="ln -s"
8772 if test -n "${ZSH_VERSION+set}" ; then
8773 setopt NO_GLOB_SUBST
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8777 $as_echo_n "checking for objdir... " >&6; }
8778 if ${lt_cv_objdir+:} false; then :
8779 $as_echo_n "(cached) " >&6
8781 rm -f .libs 2>/dev/null
8782 mkdir .libs 2>/dev/null
8783 if test -d .libs; then
8786 # MS-DOS does not allow filenames that begin with a dot.
8789 rmdir .libs 2>/dev/null
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8792 $as_echo "$lt_cv_objdir" >&6; }
8793 objdir=$lt_cv_objdir
8799 cat >>confdefs.h <<_ACEOF
8800 #define LT_OBJDIR "$lt_cv_objdir/"
8808 # AIX sometimes has problems with the GCC collect2 program. For some
8809 # reason, if we set the COLLECT_NAMES environment variable, the problems
8810 # vanish in a puff of smoke.
8811 if test "X${COLLECT_NAMES+set}" != Xset; then
8813 export COLLECT_NAMES
8820 can_build_shared=yes
8822 # All known linkers require a `.a' archive for static linking (except MSVC,
8823 # which needs '.lib').
8826 with_gnu_ld="$lt_cv_prog_gnu_ld"
8829 old_CFLAGS="$CFLAGS"
8831 # Set sane defaults for various variables
8832 test -z "$CC" && CC=cc
8833 test -z "$LTCC" && LTCC=$CC
8834 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8835 test -z "$LD" && LD=ld
8836 test -z "$ac_objext" && ac_objext=o
8838 for cc_temp in $compiler""; do
8840 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8841 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8846 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8849 # Only perform the check for file, if the check method requires it
8850 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8851 case $deplibs_check_method in
8853 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8855 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8856 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8857 $as_echo_n "(cached) " >&6
8861 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8864 lt_save_MAGIC_CMD="$MAGIC_CMD"
8865 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8866 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8867 for ac_dir in $ac_dummy; do
8869 test -z "$ac_dir" && ac_dir=.
8870 if test -f $ac_dir/${ac_tool_prefix}file; then
8871 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8872 if test -n "$file_magic_test_file"; then
8873 case $deplibs_check_method in
8875 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8876 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8877 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8878 $EGREP "$file_magic_regex" > /dev/null; then
8883 *** Warning: the command libtool uses to detect shared libraries,
8884 *** $file_magic_cmd, produces output that libtool cannot recognize.
8885 *** The result is that libtool may fail to recognize shared libraries
8886 *** as such. This will affect the creation of libtool libraries that
8887 *** depend on shared libraries, but programs linked with such libtool
8888 *** libraries will work regardless of this problem. Nevertheless, you
8889 *** may want to report the problem to your system manager and/or to
8890 *** bug-libtool@gnu.org
8900 MAGIC_CMD="$lt_save_MAGIC_CMD"
8905 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8906 if test -n "$MAGIC_CMD"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8908 $as_echo "$MAGIC_CMD" >&6; }
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8911 $as_echo "no" >&6; }
8918 if test -z "$lt_cv_path_MAGIC_CMD"; then
8919 if test -n "$ac_tool_prefix"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8921 $as_echo_n "checking for file... " >&6; }
8922 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8923 $as_echo_n "(cached) " >&6
8927 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8930 lt_save_MAGIC_CMD="$MAGIC_CMD"
8931 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8932 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8933 for ac_dir in $ac_dummy; do
8935 test -z "$ac_dir" && ac_dir=.
8936 if test -f $ac_dir/file; then
8937 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8938 if test -n "$file_magic_test_file"; then
8939 case $deplibs_check_method in
8941 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8942 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8943 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8944 $EGREP "$file_magic_regex" > /dev/null; then
8949 *** Warning: the command libtool uses to detect shared libraries,
8950 *** $file_magic_cmd, produces output that libtool cannot recognize.
8951 *** The result is that libtool may fail to recognize shared libraries
8952 *** as such. This will affect the creation of libtool libraries that
8953 *** depend on shared libraries, but programs linked with such libtool
8954 *** libraries will work regardless of this problem. Nevertheless, you
8955 *** may want to report the problem to your system manager and/or to
8956 *** bug-libtool@gnu.org
8966 MAGIC_CMD="$lt_save_MAGIC_CMD"
8971 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8972 if test -n "$MAGIC_CMD"; then
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8974 $as_echo "$MAGIC_CMD" >&6; }
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8977 $as_echo "no" >&6; }
8990 # Use C for the default configuration in the libtool script
8994 ac_cpp='$CPP $CPPFLAGS'
8995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9000 # Source file extension for C test sources.
9003 # Object file extension for compiled C test sources.
9007 # Code to be used in simple compile tests
9008 lt_simple_compile_test_code="int some_variable = 0;"
9010 # Code to be used in simple link tests
9011 lt_simple_link_test_code='int main(){return(0);}'
9019 # If no C compiler was specified, use CC.
9022 # If no C compiler flags were specified, use CFLAGS.
9023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9025 # Allow CC to be a program name with arguments.
9028 # Save the default compiler, since it gets overwritten when the other
9029 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9030 compiler_DEFAULT=$CC
9032 # save warnings/boilerplate of simple test code
9033 ac_outfile=conftest.$ac_objext
9034 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9035 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9036 _lt_compiler_boilerplate=`cat conftest.err`
9039 ac_outfile=conftest.$ac_objext
9040 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9041 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9042 _lt_linker_boilerplate=`cat conftest.err`
9047 ## There is no encapsulation within the following macros, do not change
9048 ## the running order or otherwise move them around unless you know exactly
9049 ## what you are doing...
9050 if test -n "$compiler"; then
9052 lt_prog_compiler_no_builtin_flag=
9054 if test "$GCC" = yes; then
9055 case $cc_basename in
9057 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9059 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9063 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9064 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9065 $as_echo_n "(cached) " >&6
9067 lt_cv_prog_compiler_rtti_exceptions=no
9068 ac_outfile=conftest.$ac_objext
9069 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9070 lt_compiler_flag="-fno-rtti -fno-exceptions"
9071 # Insert the option either (1) after the last *FLAGS variable, or
9072 # (2) before a word containing "conftest.", or (3) at the end.
9073 # Note that $ac_compile itself does not contain backslashes and begins
9074 # with a dollar sign (not a hyphen), so the echo should work correctly.
9075 # The option is referenced via a variable to avoid confusing sed.
9076 lt_compile=`echo "$ac_compile" | $SED \
9077 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9079 -e 's:$: $lt_compiler_flag:'`
9080 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9081 (eval "$lt_compile" 2>conftest.err)
9083 cat conftest.err >&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 if (exit $ac_status) && test -s "$ac_outfile"; then
9086 # The compiler can only warn and ignore the option if not recognized
9087 # So say no if there are warnings other than the usual output.
9088 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9089 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9090 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9091 lt_cv_prog_compiler_rtti_exceptions=yes
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9098 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9100 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9101 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9113 lt_prog_compiler_wl=
9114 lt_prog_compiler_pic=
9115 lt_prog_compiler_static=
9118 if test "$GCC" = yes; then
9119 lt_prog_compiler_wl='-Wl,'
9120 lt_prog_compiler_static='-static'
9124 # All AIX code is PIC.
9125 if test "$host_cpu" = ia64; then
9126 # AIX 5 now supports IA64 processor
9127 lt_prog_compiler_static='-Bstatic'
9134 # see comment about AmigaOS4 .so support
9135 lt_prog_compiler_pic='-fPIC'
9138 # FIXME: we need at least 68020 code to build shared libraries, but
9139 # adding the `-m68020' flag to GCC prevents building anything better,
9141 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9146 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9147 # PIC is the default for these OSes.
9150 mingw* | cygwin* | pw32* | os2* | cegcc*)
9151 # This hack is so that the source file can tell whether it is being
9152 # built for inclusion in a dll (and should export symbols for example).
9153 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9154 # (--disable-auto-import) libraries
9155 lt_prog_compiler_pic='-DDLL_EXPORT'
9158 darwin* | rhapsody*)
9159 # PIC is the default on this platform
9160 # Common symbols not allowed in MH_DYLIB files
9161 lt_prog_compiler_pic='-fno-common'
9165 # PIC is the default for Haiku.
9166 # The "-static" flag exists, but is broken.
9167 lt_prog_compiler_static=
9171 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9172 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9173 # sets the default TLS model and affects inlining.
9179 lt_prog_compiler_pic='-fPIC'
9185 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9186 # Instead, we relocate shared libraries at runtime.
9190 # Just because we use GCC doesn't mean we suddenly get shared libraries
9191 # on systems that don't support them.
9192 lt_prog_compiler_can_build_shared=no
9197 # QNX uses GNU C++, but need to define -shared option too, otherwise
9199 lt_prog_compiler_pic='-fPIC -shared'
9203 if test -d /usr/nec; then
9204 lt_prog_compiler_pic=-Kconform_pic
9209 lt_prog_compiler_pic='-fPIC'
9213 case $cc_basename in
9214 nvcc*) # Cuda Compiler Driver 2.2
9215 lt_prog_compiler_wl='-Xlinker '
9216 if test -n "$lt_prog_compiler_pic"; then
9217 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9222 # PORTME Check for flag to pass linker flags through the system compiler.
9225 lt_prog_compiler_wl='-Wl,'
9226 if test "$host_cpu" = ia64; then
9227 # AIX 5 now supports IA64 processor
9228 lt_prog_compiler_static='-Bstatic'
9230 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9234 mingw* | cygwin* | pw32* | os2* | cegcc*)
9235 # This hack is so that the source file can tell whether it is being
9236 # built for inclusion in a dll (and should export symbols for example).
9237 lt_prog_compiler_pic='-DDLL_EXPORT'
9240 hpux9* | hpux10* | hpux11*)
9241 lt_prog_compiler_wl='-Wl,'
9242 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9249 lt_prog_compiler_pic='+Z'
9252 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9253 lt_prog_compiler_static='${wl}-a ${wl}archive'
9256 irix5* | irix6* | nonstopux*)
9257 lt_prog_compiler_wl='-Wl,'
9258 # PIC (with -KPIC) is the default.
9259 lt_prog_compiler_static='-non_shared'
9262 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9263 case $cc_basename in
9264 # old Intel for x86_64 which still supported -KPIC.
9266 lt_prog_compiler_wl='-Wl,'
9267 lt_prog_compiler_pic='-KPIC'
9268 lt_prog_compiler_static='-static'
9270 # icc used to be incompatible with GCC.
9271 # ICC 10 doesn't accept -KPIC any more.
9273 lt_prog_compiler_wl='-Wl,'
9274 lt_prog_compiler_pic='-fPIC'
9275 lt_prog_compiler_static='-static'
9277 # Lahey Fortran 8.1.
9279 lt_prog_compiler_wl='-Wl,'
9280 lt_prog_compiler_pic='--shared'
9281 lt_prog_compiler_static='--static'
9284 # NAG Fortran compiler
9285 lt_prog_compiler_wl='-Wl,-Wl,,'
9286 lt_prog_compiler_pic='-PIC'
9287 lt_prog_compiler_static='-Bstatic'
9289 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9290 # Portland Group compilers (*not* the Pentium gcc compiler,
9291 # which looks to be a dead project)
9292 lt_prog_compiler_wl='-Wl,'
9293 lt_prog_compiler_pic='-fpic'
9294 lt_prog_compiler_static='-Bstatic'
9297 lt_prog_compiler_wl='-Wl,'
9298 # All Alpha code is PIC.
9299 lt_prog_compiler_static='-non_shared'
9301 xl* | bgxl* | bgf* | mpixl*)
9302 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9303 lt_prog_compiler_wl='-Wl,'
9304 lt_prog_compiler_pic='-qpic'
9305 lt_prog_compiler_static='-qstaticlink'
9308 case `$CC -V 2>&1 | sed 5q` in
9309 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9310 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9311 lt_prog_compiler_pic='-KPIC'
9312 lt_prog_compiler_static='-Bstatic'
9313 lt_prog_compiler_wl=''
9315 *Sun\ F* | *Sun*Fortran*)
9316 lt_prog_compiler_pic='-KPIC'
9317 lt_prog_compiler_static='-Bstatic'
9318 lt_prog_compiler_wl='-Qoption ld '
9322 lt_prog_compiler_pic='-KPIC'
9323 lt_prog_compiler_static='-Bstatic'
9324 lt_prog_compiler_wl='-Wl,'
9326 *Intel*\ [CF]*Compiler*)
9327 lt_prog_compiler_wl='-Wl,'
9328 lt_prog_compiler_pic='-fPIC'
9329 lt_prog_compiler_static='-static'
9332 lt_prog_compiler_wl='-Wl,'
9333 lt_prog_compiler_pic='-fpic'
9334 lt_prog_compiler_static='-Bstatic'
9342 lt_prog_compiler_pic='-KPIC'
9343 lt_prog_compiler_static='-Bstatic'
9347 # QNX uses GNU C++, but need to define -shared option too, otherwise
9349 lt_prog_compiler_pic='-fPIC -shared'
9352 osf3* | osf4* | osf5*)
9353 lt_prog_compiler_wl='-Wl,'
9354 # All OSF/1 code is PIC.
9355 lt_prog_compiler_static='-non_shared'
9359 lt_prog_compiler_static='-non_shared'
9363 lt_prog_compiler_pic='-KPIC'
9364 lt_prog_compiler_static='-Bstatic'
9365 case $cc_basename in
9366 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9367 lt_prog_compiler_wl='-Qoption ld ';;
9369 lt_prog_compiler_wl='-Wl,';;
9374 lt_prog_compiler_wl='-Qoption ld '
9375 lt_prog_compiler_pic='-PIC'
9376 lt_prog_compiler_static='-Bstatic'
9379 sysv4 | sysv4.2uw2* | sysv4.3*)
9380 lt_prog_compiler_wl='-Wl,'
9381 lt_prog_compiler_pic='-KPIC'
9382 lt_prog_compiler_static='-Bstatic'
9386 if test -d /usr/nec ;then
9387 lt_prog_compiler_pic='-Kconform_pic'
9388 lt_prog_compiler_static='-Bstatic'
9392 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9393 lt_prog_compiler_wl='-Wl,'
9394 lt_prog_compiler_pic='-KPIC'
9395 lt_prog_compiler_static='-Bstatic'
9399 lt_prog_compiler_wl='-Wl,'
9400 lt_prog_compiler_can_build_shared=no
9404 lt_prog_compiler_pic='-pic'
9405 lt_prog_compiler_static='-Bstatic'
9409 lt_prog_compiler_can_build_shared=no
9415 # For platforms which do not support PIC, -DPIC is meaningless:
9417 lt_prog_compiler_pic=
9420 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9425 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9426 if ${lt_cv_prog_compiler_pic+:} false; then :
9427 $as_echo_n "(cached) " >&6
9429 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9432 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9433 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9436 # Check to make sure the PIC flag actually works.
9438 if test -n "$lt_prog_compiler_pic"; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9440 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9441 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9442 $as_echo_n "(cached) " >&6
9444 lt_cv_prog_compiler_pic_works=no
9445 ac_outfile=conftest.$ac_objext
9446 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9447 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9448 # Insert the option either (1) after the last *FLAGS variable, or
9449 # (2) before a word containing "conftest.", or (3) at the end.
9450 # Note that $ac_compile itself does not contain backslashes and begins
9451 # with a dollar sign (not a hyphen), so the echo should work correctly.
9452 # The option is referenced via a variable to avoid confusing sed.
9453 lt_compile=`echo "$ac_compile" | $SED \
9454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9456 -e 's:$: $lt_compiler_flag:'`
9457 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9458 (eval "$lt_compile" 2>conftest.err)
9460 cat conftest.err >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 if (exit $ac_status) && test -s "$ac_outfile"; then
9463 # The compiler can only warn and ignore the option if not recognized
9464 # So say no if there are warnings other than the usual output.
9465 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9466 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9467 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9468 lt_cv_prog_compiler_pic_works=yes
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9475 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9477 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9478 case $lt_prog_compiler_pic in
9480 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9483 lt_prog_compiler_pic=
9484 lt_prog_compiler_can_build_shared=no
9500 # Check to make sure the static flag actually works.
9502 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9504 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9505 if ${lt_cv_prog_compiler_static_works+:} false; then :
9506 $as_echo_n "(cached) " >&6
9508 lt_cv_prog_compiler_static_works=no
9509 save_LDFLAGS="$LDFLAGS"
9510 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9511 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9512 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9513 # The linker can only warn and ignore the option if not recognized
9514 # So say no if there are warnings
9515 if test -s conftest.err; then
9516 # Append any errors to the config.log.
9517 cat conftest.err 1>&5
9518 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9519 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9520 if diff conftest.exp conftest.er2 >/dev/null; then
9521 lt_cv_prog_compiler_static_works=yes
9524 lt_cv_prog_compiler_static_works=yes
9528 LDFLAGS="$save_LDFLAGS"
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9532 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9534 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9537 lt_prog_compiler_static=
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9547 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9548 if ${lt_cv_prog_compiler_c_o+:} false; then :
9549 $as_echo_n "(cached) " >&6
9551 lt_cv_prog_compiler_c_o=no
9552 $RM -r conftest 2>/dev/null
9556 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9558 lt_compiler_flag="-o out/conftest2.$ac_objext"
9559 # Insert the option either (1) after the last *FLAGS variable, or
9560 # (2) before a word containing "conftest.", or (3) at the end.
9561 # Note that $ac_compile itself does not contain backslashes and begins
9562 # with a dollar sign (not a hyphen), so the echo should work correctly.
9563 lt_compile=`echo "$ac_compile" | $SED \
9564 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9565 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9566 -e 's:$: $lt_compiler_flag:'`
9567 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9568 (eval "$lt_compile" 2>out/conftest.err)
9570 cat out/conftest.err >&5
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9574 # The compiler can only warn and ignore the option if not recognized
9575 # So say no if there are warnings
9576 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9577 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9578 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9579 lt_cv_prog_compiler_c_o=yes
9584 # SGI C++ compiler will create directory out/ii_files/ for
9585 # template instantiation
9586 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9587 $RM out/* && rmdir out
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9594 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9602 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9603 if ${lt_cv_prog_compiler_c_o+:} false; then :
9604 $as_echo_n "(cached) " >&6
9606 lt_cv_prog_compiler_c_o=no
9607 $RM -r conftest 2>/dev/null
9611 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9613 lt_compiler_flag="-o out/conftest2.$ac_objext"
9614 # Insert the option either (1) after the last *FLAGS variable, or
9615 # (2) before a word containing "conftest.", or (3) at the end.
9616 # Note that $ac_compile itself does not contain backslashes and begins
9617 # with a dollar sign (not a hyphen), so the echo should work correctly.
9618 lt_compile=`echo "$ac_compile" | $SED \
9619 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9621 -e 's:$: $lt_compiler_flag:'`
9622 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9623 (eval "$lt_compile" 2>out/conftest.err)
9625 cat out/conftest.err >&5
9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9629 # The compiler can only warn and ignore the option if not recognized
9630 # So say no if there are warnings
9631 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9632 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9633 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9634 lt_cv_prog_compiler_c_o=yes
9639 # SGI C++ compiler will create directory out/ii_files/ for
9640 # template instantiation
9641 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9642 $RM out/* && rmdir out
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9649 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9654 hard_links="nottested"
9655 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9656 # do not overwrite the value of need_locks provided by the user
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9658 $as_echo_n "checking if we can lock with hard links... " >&6; }
9661 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9663 ln conftest.a conftest.b 2>&5 || hard_links=no
9664 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9666 $as_echo "$hard_links" >&6; }
9667 if test "$hard_links" = no; then
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9669 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9682 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9685 allow_undefined_flag=
9686 always_export_symbols=no
9688 archive_expsym_cmds=
9689 compiler_needs_object=no
9690 enable_shared_with_static_runtimes=no
9691 export_dynamic_flag_spec=
9692 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9693 hardcode_automatic=no
9695 hardcode_direct_absolute=no
9696 hardcode_libdir_flag_spec=
9697 hardcode_libdir_separator=
9699 hardcode_shlibpath_var=unsupported
9701 link_all_deplibs=unknown
9704 old_archive_from_new_cmds=
9705 old_archive_from_expsyms_cmds=
9706 thread_safe_flag_spec=
9707 whole_archive_flag_spec=
9708 # include_expsyms should be a list of space-separated symbols to be *always*
9709 # included in the symbol list
9711 # exclude_expsyms can be an extended regexp of symbols to exclude
9712 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9713 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9714 # as well as any symbol that contains `d'.
9715 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9716 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9717 # platforms (ab)use it in PIC code, but their linkers get confused if
9718 # the symbol is explicitly referenced. Since portable code cannot
9719 # rely on this symbol name, it's probably fine to never include it in
9720 # preloaded symbol tables.
9721 # Exclude shared library initialization/finalization symbols.
9722 extract_expsyms_cmds=
9725 cygwin* | mingw* | pw32* | cegcc*)
9726 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9727 # When not using gcc, we currently assume that we are using
9728 # Microsoft Visual C++.
9729 if test "$GCC" != yes; then
9734 # we just hope/assume this is gcc and not c89 (= MSVC++)
9740 linux* | k*bsd*-gnu | gnu*)
9747 # On some targets, GNU ld is compatible enough with the native linker
9748 # that we're better off using the native interface for both.
9749 lt_use_gnu_ld_interface=no
9750 if test "$with_gnu_ld" = yes; then
9753 # The AIX port of GNU ld has always aspired to compatibility
9754 # with the native linker. However, as the warning in the GNU ld
9755 # block says, versions before 2.19.5* couldn't really create working
9756 # shared libraries, regardless of the interface used.
9757 case `$LD -v 2>&1` in
9758 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9759 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9760 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9762 lt_use_gnu_ld_interface=yes
9767 lt_use_gnu_ld_interface=yes
9772 if test "$lt_use_gnu_ld_interface" = yes; then
9773 # If archive_cmds runs LD, not CC, wlarc should be empty
9776 # Set some defaults for GNU ld with shared library support. These
9777 # are reset later if shared libraries are not supported. Putting them
9778 # here allows them to be overridden if necessary.
9779 runpath_var=LD_RUN_PATH
9780 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9781 export_dynamic_flag_spec='${wl}--export-dynamic'
9782 # ancient GNU ld didn't support --whole-archive et. al.
9783 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9784 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9786 whole_archive_flag_spec=
9788 supports_anon_versioning=no
9789 case `$LD -v 2>&1` in
9790 *GNU\ gold*) supports_anon_versioning=yes ;;
9791 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9792 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9793 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9794 *\ 2.11.*) ;; # other 2.11 versions
9795 *) supports_anon_versioning=yes ;;
9798 # See if GNU ld supports shared libraries.
9801 # On AIX/PPC, the GNU linker is very broken
9802 if test "$host_cpu" != ia64; then
9806 *** Warning: the GNU linker, at least up to release 2.19, is reported
9807 *** to be unable to reliably create shared libraries on AIX.
9808 *** Therefore, libtool is disabling shared libraries support. If you
9809 *** really care for shared libraries, you may want to install binutils
9810 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9811 *** You will then need to restart the configuration process.
9820 # see comment about AmigaOS4 .so support
9821 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9822 archive_expsym_cmds=''
9825 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)'
9826 hardcode_libdir_flag_spec='-L$libdir'
9827 hardcode_minus_L=yes
9833 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9834 allow_undefined_flag=unsupported
9835 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9836 # support --undefined. This deserves some investigation. FIXME
9837 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9843 cygwin* | mingw* | pw32* | cegcc*)
9844 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9845 # as there is no search path for DLLs.
9846 hardcode_libdir_flag_spec='-L$libdir'
9847 export_dynamic_flag_spec='${wl}--export-all-symbols'
9848 allow_undefined_flag=unsupported
9849 always_export_symbols=no
9850 enable_shared_with_static_runtimes=yes
9851 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'
9852 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9854 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9855 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9856 # If the export-symbols file already is a .def file (1st line
9857 # is EXPORTS), use it as is; otherwise, prepend...
9858 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9859 cp $export_symbols $output_objdir/$soname.def;
9861 echo EXPORTS > $output_objdir/$soname.def;
9862 cat $export_symbols >> $output_objdir/$soname.def;
9864 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9871 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9872 link_all_deplibs=yes
9877 hardcode_shlibpath_var=no
9878 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9879 export_dynamic_flag_spec='${wl}-E'
9880 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9881 # Instead, shared libraries are loaded at an image base (0x10000000 by
9882 # default) and relocated if they conflict, which is a slow very memory
9883 # consuming and fragmenting process. To avoid this, we pick a random,
9884 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9885 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9886 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9887 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'
9890 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9892 if test "$host_os" = linux-dietlibc; then
9893 case $cc_basename in
9894 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9897 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9898 && test "$tmp_diet" = no
9900 tmp_addflag=' $pic_flag'
9901 tmp_sharedflag='-shared'
9902 case $cc_basename,$host_cpu in
9903 pgcc*) # Portland Group C compiler
9904 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'
9905 tmp_addflag=' $pic_flag'
9907 pgf77* | pgf90* | pgf95* | pgfortran*)
9908 # Portland Group f77 and f90 compilers
9909 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'
9910 tmp_addflag=' $pic_flag -Mnomain' ;;
9911 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9912 tmp_addflag=' -i_dynamic' ;;
9913 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9914 tmp_addflag=' -i_dynamic -nofor_main' ;;
9915 ifc* | ifort*) # Intel Fortran compiler
9916 tmp_addflag=' -nofor_main' ;;
9917 lf95*) # Lahey Fortran 8.1
9918 whole_archive_flag_spec=
9919 tmp_sharedflag='--shared' ;;
9920 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9921 tmp_sharedflag='-qmkshrobj'
9923 nvcc*) # Cuda Compiler Driver 2.2
9924 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'
9925 compiler_needs_object=yes
9928 case `$CC -V 2>&1 | sed 5q` in
9929 *Sun\ C*) # Sun C 5.9
9930 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'
9931 compiler_needs_object=yes
9932 tmp_sharedflag='-G' ;;
9933 *Sun\ F*) # Sun Fortran 8.3
9934 tmp_sharedflag='-G' ;;
9936 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9938 if test "x$supports_anon_versioning" = xyes; then
9939 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9940 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9941 echo "local: *; };" >> $output_objdir/$libname.ver~
9942 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9945 case $cc_basename in
9946 xlf* | bgf* | bgxlf* | mpixlf*)
9947 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9948 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9949 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9950 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9951 if test "x$supports_anon_versioning" = xyes; then
9952 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9953 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9954 echo "local: *; };" >> $output_objdir/$libname.ver~
9955 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9964 netbsd* | netbsdelf*-gnu)
9965 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9966 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9969 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9970 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9975 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9979 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9980 *** create shared libraries on Solaris systems. Therefore, libtool
9981 *** is disabling shared libraries support. We urge you to upgrade GNU
9982 *** binutils to release 2.9.1 or newer. Another option is to modify
9983 *** your PATH or compiler configuration so that the native linker is
9984 *** used, and then restart.
9987 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9988 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9989 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9996 case `$LD -v 2>&1` in
9997 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10001 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10002 *** reliably create shared libraries on SCO systems. Therefore, libtool
10003 *** is disabling shared libraries support. We urge you to upgrade GNU
10004 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10005 *** your PATH or compiler configuration so that the native linker is
10006 *** used, and then restart.
10011 # For security reasons, it is highly recommended that you always
10012 # use absolute paths for naming shared libraries, and exclude the
10013 # DT_RUNPATH tag from executables and libraries. But doing so
10014 # requires that you compile everything twice, which is a pain.
10015 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10016 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10017 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10018 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10027 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10029 hardcode_direct=yes
10030 hardcode_shlibpath_var=no
10034 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10035 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10036 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10043 if test "$ld_shlibs" = no; then
10045 hardcode_libdir_flag_spec=
10046 export_dynamic_flag_spec=
10047 whole_archive_flag_spec=
10050 # PORTME fill in a description of your system's linker (not GNU ld)
10053 allow_undefined_flag=unsupported
10054 always_export_symbols=yes
10055 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'
10056 # Note: this linker hardcodes the directories in LIBPATH if there
10057 # are no directories specified by -L.
10058 hardcode_minus_L=yes
10059 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10060 # Neither direct hardcoding nor static linking is supported with a
10062 hardcode_direct=unsupported
10067 if test "$host_cpu" = ia64; then
10068 # On IA64, the linker does run time linking by default, so we don't
10069 # have to do anything special.
10070 aix_use_runtimelinking=no
10071 exp_sym_flag='-Bexport'
10074 # If we're using GNU nm, then we don't want the "-C" option.
10075 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10076 # Also, AIX nm treats weak defined symbols like other global
10077 # defined symbols, whereas GNU nm marks them as "W".
10078 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10079 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'
10081 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'
10083 aix_use_runtimelinking=no
10085 # Test if we are trying to use run time linking or normal
10086 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10087 # need to do runtime linking.
10088 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10089 for ld_flag in $LDFLAGS; do
10090 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10091 aix_use_runtimelinking=yes
10098 exp_sym_flag='-bexport'
10099 no_entry_flag='-bnoentry'
10102 # When large executables or shared objects are built, AIX ld can
10103 # have problems creating the table of contents. If linking a library
10104 # or program results in "error TOC overflow" add -mminimal-toc to
10105 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10106 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10109 hardcode_direct=yes
10110 hardcode_direct_absolute=yes
10111 hardcode_libdir_separator=':'
10112 link_all_deplibs=yes
10113 file_list_spec='${wl}-f,'
10115 if test "$GCC" = yes; then
10116 case $host_os in aix4.[012]|aix4.[012].*)
10117 # We only want to do this on AIX 4.2 and lower, the check
10118 # below for broken collect2 doesn't work under 4.3+
10119 collect2name=`${CC} -print-prog-name=collect2`
10120 if test -f "$collect2name" &&
10121 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10123 # We have reworked collect2
10126 # We have old collect2
10127 hardcode_direct=unsupported
10128 # It fails to find uninstalled libraries when the uninstalled
10129 # path is not listed in the libpath. Setting hardcode_minus_L
10130 # to unsupported forces relinking
10131 hardcode_minus_L=yes
10132 hardcode_libdir_flag_spec='-L$libdir'
10133 hardcode_libdir_separator=
10137 shared_flag='-shared'
10138 if test "$aix_use_runtimelinking" = yes; then
10139 shared_flag="$shared_flag "'${wl}-G'
10141 link_all_deplibs=no
10144 if test "$host_cpu" = ia64; then
10145 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10146 # chokes on -Wl,-G. The following line is correct:
10149 if test "$aix_use_runtimelinking" = yes; then
10150 shared_flag='${wl}-G'
10152 shared_flag='${wl}-bM:SRE'
10157 export_dynamic_flag_spec='${wl}-bexpall'
10158 # It seems that -bexpall does not export symbols beginning with
10159 # underscore (_), so it is better to generate a list of symbols to export.
10160 always_export_symbols=yes
10161 if test "$aix_use_runtimelinking" = yes; then
10162 # Warning - without using the other runtime loading flags (-brtl),
10163 # -berok will link without error, but may produce a broken library.
10164 allow_undefined_flag='-berok'
10165 # Determine the default libpath from the value encoded in an
10166 # empty executable.
10167 if test "${lt_cv_aix_libpath+set}" = set; then
10168 aix_libpath=$lt_cv_aix_libpath
10170 if ${lt_cv_aix_libpath_+:} false; then :
10171 $as_echo_n "(cached) " >&6
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10184 if ac_fn_c_try_link "$LINENO"; then :
10186 lt_aix_libpath_sed='
10187 /Import File Strings/,/^$/ {
10189 s/^0 *\([^ ]*\) *$/\1/
10193 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10194 # Check for a 64-bit object if we didn't find anything.
10195 if test -z "$lt_cv_aix_libpath_"; then
10196 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 if test -z "$lt_cv_aix_libpath_"; then
10202 lt_cv_aix_libpath_="/usr/lib:/lib"
10207 aix_libpath=$lt_cv_aix_libpath_
10210 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10211 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"
10213 if test "$host_cpu" = ia64; then
10214 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10215 allow_undefined_flag="-z nodefs"
10216 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"
10218 # Determine the default libpath from the value encoded in an
10219 # empty executable.
10220 if test "${lt_cv_aix_libpath+set}" = set; then
10221 aix_libpath=$lt_cv_aix_libpath
10223 if ${lt_cv_aix_libpath_+:} false; then :
10224 $as_echo_n "(cached) " >&6
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10237 if ac_fn_c_try_link "$LINENO"; then :
10239 lt_aix_libpath_sed='
10240 /Import File Strings/,/^$/ {
10242 s/^0 *\([^ ]*\) *$/\1/
10246 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10247 # Check for a 64-bit object if we didn't find anything.
10248 if test -z "$lt_cv_aix_libpath_"; then
10249 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10252 rm -f core conftest.err conftest.$ac_objext \
10253 conftest$ac_exeext conftest.$ac_ext
10254 if test -z "$lt_cv_aix_libpath_"; then
10255 lt_cv_aix_libpath_="/usr/lib:/lib"
10260 aix_libpath=$lt_cv_aix_libpath_
10263 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10264 # Warning - without using the other run time loading flags,
10265 # -berok will link without error, but may produce a broken library.
10266 no_undefined_flag=' ${wl}-bernotok'
10267 allow_undefined_flag=' ${wl}-berok'
10268 if test "$with_gnu_ld" = yes; then
10269 # We only use this code for GNU lds that support --whole-archive.
10270 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10272 # Exported symbols can be pulled into shared objects from archives
10273 whole_archive_flag_spec='$convenience'
10275 archive_cmds_need_lc=yes
10276 # This is similar to how AIX traditionally builds its shared libraries.
10277 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'
10285 # see comment about AmigaOS4 .so support
10286 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10287 archive_expsym_cmds=''
10290 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)'
10291 hardcode_libdir_flag_spec='-L$libdir'
10292 hardcode_minus_L=yes
10298 export_dynamic_flag_spec=-rdynamic
10301 cygwin* | mingw* | pw32* | cegcc*)
10302 # When not using gcc, we currently assume that we are using
10303 # Microsoft Visual C++.
10304 # hardcode_libdir_flag_spec is actually meaningless, as there is
10305 # no search path for DLLs.
10306 case $cc_basename in
10309 hardcode_libdir_flag_spec=' '
10310 allow_undefined_flag=unsupported
10311 always_export_symbols=yes
10313 # Tell ltmain to make .lib files, not .a files.
10315 # Tell ltmain to make .dll files, not .so files.
10317 # FIXME: Setting linknames here is a bad hack.
10318 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10319 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10320 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10322 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10324 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10326 # The linker will not automatically build a static lib if we build a DLL.
10327 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10328 enable_shared_with_static_runtimes=yes
10329 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10330 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10332 old_postinstall_cmds='chmod 644 $oldlib'
10333 postlink_cmds='lt_outputfile="@OUTPUT@"~
10334 lt_tool_outputfile="@TOOL_OUTPUT@"~
10335 case $lt_outputfile in
10338 lt_outputfile="$lt_outputfile.exe"
10339 lt_tool_outputfile="$lt_tool_outputfile.exe"
10342 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10343 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10344 $RM "$lt_outputfile.manifest";
10348 # Assume MSVC wrapper
10349 hardcode_libdir_flag_spec=' '
10350 allow_undefined_flag=unsupported
10351 # Tell ltmain to make .lib files, not .a files.
10353 # Tell ltmain to make .dll files, not .so files.
10355 # FIXME: Setting linknames here is a bad hack.
10356 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10357 # The linker will automatically build a .lib file if we build a DLL.
10358 old_archive_from_new_cmds='true'
10359 # FIXME: Should let the user specify the lib program.
10360 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10361 enable_shared_with_static_runtimes=yes
10366 darwin* | rhapsody*)
10369 archive_cmds_need_lc=no
10371 hardcode_automatic=yes
10372 hardcode_shlibpath_var=unsupported
10373 if test "$lt_cv_ld_force_load" = "yes"; then
10374 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\"`'
10377 whole_archive_flag_spec=''
10379 link_all_deplibs=yes
10380 allow_undefined_flag="$_lt_dar_allow_undefined"
10381 case $cc_basename in
10382 ifort*) _lt_dar_can_shared=yes ;;
10383 *) _lt_dar_can_shared=$GCC ;;
10385 if test "$_lt_dar_can_shared" = "yes"; then
10386 output_verbose_link_cmd=func_echo_all
10387 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10388 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10389 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}"
10390 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}"
10399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10400 hardcode_libdir_flag_spec='-L$libdir'
10401 hardcode_shlibpath_var=no
10404 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10405 # support. Future versions do this automatically, but an explicit c++rt0.o
10406 # does not break anything, and helps significantly (at the cost of a little
10409 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10410 hardcode_libdir_flag_spec='-R$libdir'
10411 hardcode_direct=yes
10412 hardcode_shlibpath_var=no
10415 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10417 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10418 hardcode_direct=yes
10419 hardcode_minus_L=yes
10420 hardcode_shlibpath_var=no
10423 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10424 freebsd* | dragonfly*)
10425 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10426 hardcode_libdir_flag_spec='-R$libdir'
10427 hardcode_direct=yes
10428 hardcode_shlibpath_var=no
10432 if test "$GCC" = yes; then
10433 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'
10435 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'
10437 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10438 hardcode_libdir_separator=:
10439 hardcode_direct=yes
10441 # hardcode_minus_L: Not really in the search PATH,
10442 # but as the default location of the library.
10443 hardcode_minus_L=yes
10444 export_dynamic_flag_spec='${wl}-E'
10448 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10449 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10451 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10453 if test "$with_gnu_ld" = no; then
10454 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10455 hardcode_libdir_separator=:
10456 hardcode_direct=yes
10457 hardcode_direct_absolute=yes
10458 export_dynamic_flag_spec='${wl}-E'
10459 # hardcode_minus_L: Not really in the search PATH,
10460 # but as the default location of the library.
10461 hardcode_minus_L=yes
10466 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10469 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10472 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10475 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10481 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10484 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10488 # Older versions of the 11.00 compiler do not understand -b yet
10489 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10491 $as_echo_n "checking if $CC understands -b... " >&6; }
10492 if ${lt_cv_prog_compiler__b+:} false; then :
10493 $as_echo_n "(cached) " >&6
10495 lt_cv_prog_compiler__b=no
10496 save_LDFLAGS="$LDFLAGS"
10497 LDFLAGS="$LDFLAGS -b"
10498 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10499 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10500 # The linker can only warn and ignore the option if not recognized
10501 # So say no if there are warnings
10502 if test -s conftest.err; then
10503 # Append any errors to the config.log.
10504 cat conftest.err 1>&5
10505 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10506 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10507 if diff conftest.exp conftest.er2 >/dev/null; then
10508 lt_cv_prog_compiler__b=yes
10511 lt_cv_prog_compiler__b=yes
10515 LDFLAGS="$save_LDFLAGS"
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10519 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10521 if test x"$lt_cv_prog_compiler__b" = xyes; then
10522 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10524 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10530 if test "$with_gnu_ld" = no; then
10531 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10532 hardcode_libdir_separator=:
10537 hardcode_shlibpath_var=no
10540 hardcode_direct=yes
10541 hardcode_direct_absolute=yes
10542 export_dynamic_flag_spec='${wl}-E'
10544 # hardcode_minus_L: Not really in the search PATH,
10545 # but as the default location of the library.
10546 hardcode_minus_L=yes
10552 irix5* | irix6* | nonstopux*)
10553 if test "$GCC" = yes; then
10554 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'
10555 # Try to use the -exported_symbol ld option, if it does not
10556 # work, assume that -exports_file does not work either and
10557 # implicitly export all symbols.
10558 # This should be the same for all languages, so no per-tag cache variable.
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10560 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10561 if ${lt_cv_irix_exported_symbol+:} false; then :
10562 $as_echo_n "(cached) " >&6
10564 save_LDFLAGS="$LDFLAGS"
10565 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10567 /* end confdefs.h. */
10568 int foo (void) { return 0; }
10570 if ac_fn_c_try_link "$LINENO"; then :
10571 lt_cv_irix_exported_symbol=yes
10573 lt_cv_irix_exported_symbol=no
10575 rm -f core conftest.err conftest.$ac_objext \
10576 conftest$ac_exeext conftest.$ac_ext
10577 LDFLAGS="$save_LDFLAGS"
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10580 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10581 if test "$lt_cv_irix_exported_symbol" = yes; then
10582 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'
10585 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'
10586 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'
10588 archive_cmds_need_lc='no'
10589 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10590 hardcode_libdir_separator=:
10592 link_all_deplibs=yes
10595 netbsd* | netbsdelf*-gnu)
10596 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10597 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10599 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10601 hardcode_libdir_flag_spec='-R$libdir'
10602 hardcode_direct=yes
10603 hardcode_shlibpath_var=no
10607 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10608 hardcode_direct=yes
10609 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10610 hardcode_libdir_separator=:
10611 hardcode_shlibpath_var=no
10618 if test -f /usr/libexec/ld.so; then
10619 hardcode_direct=yes
10620 hardcode_shlibpath_var=no
10621 hardcode_direct_absolute=yes
10622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10623 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10624 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10625 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10626 export_dynamic_flag_spec='${wl}-E'
10629 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10630 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10631 hardcode_libdir_flag_spec='-R$libdir'
10634 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10635 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10645 hardcode_libdir_flag_spec='-L$libdir'
10646 hardcode_minus_L=yes
10647 allow_undefined_flag=unsupported
10648 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'
10649 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10653 if test "$GCC" = yes; then
10654 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10655 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'
10657 allow_undefined_flag=' -expect_unresolved \*'
10658 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'
10660 archive_cmds_need_lc='no'
10661 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10662 hardcode_libdir_separator=:
10665 osf4* | osf5*) # as osf3* with the addition of -msym flag
10666 if test "$GCC" = yes; then
10667 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10668 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'
10669 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10671 allow_undefined_flag=' -expect_unresolved \*'
10672 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'
10673 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~
10674 $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'
10676 # Both c and cxx compiler support -rpath directly
10677 hardcode_libdir_flag_spec='-rpath $libdir'
10679 archive_cmds_need_lc='no'
10680 hardcode_libdir_separator=:
10684 no_undefined_flag=' -z defs'
10685 if test "$GCC" = yes; then
10687 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10688 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10689 $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'
10691 case `$CC -V 2>&1` in
10694 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10695 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10696 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10700 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10701 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10702 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10706 hardcode_libdir_flag_spec='-R$libdir'
10707 hardcode_shlibpath_var=no
10709 solaris2.[0-5] | solaris2.[0-5].*) ;;
10711 # The compiler driver will combine and reorder linker options,
10712 # but understands `-z linker_flag'. GCC discards it without `$wl',
10713 # but is careful enough not to reorder.
10714 # Supported since Solaris 2.6 (maybe 2.5.1?)
10715 if test "$GCC" = yes; then
10716 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10718 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10722 link_all_deplibs=yes
10726 if test "x$host_vendor" = xsequent; then
10727 # Use $CC to link under sequent, because it throws in some extra .o
10728 # files that make .init and .fini sections work.
10729 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10731 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10733 hardcode_libdir_flag_spec='-L$libdir'
10734 hardcode_direct=yes
10735 hardcode_minus_L=yes
10736 hardcode_shlibpath_var=no
10740 case $host_vendor in
10742 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10743 hardcode_direct=yes # is this really true???
10746 ## LD is ld it makes a PLAMLIB
10747 ## CC just makes a GrossModule.
10748 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10749 reload_cmds='$CC -r -o $output$reload_objs'
10753 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10754 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10757 runpath_var='LD_RUN_PATH'
10758 hardcode_shlibpath_var=no
10762 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10763 hardcode_shlibpath_var=no
10764 export_dynamic_flag_spec='-Bexport'
10768 if test -d /usr/nec; then
10769 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10770 hardcode_shlibpath_var=no
10771 runpath_var=LD_RUN_PATH
10772 hardcode_runpath_var=yes
10777 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10778 no_undefined_flag='${wl}-z,text'
10779 archive_cmds_need_lc=no
10780 hardcode_shlibpath_var=no
10781 runpath_var='LD_RUN_PATH'
10783 if test "$GCC" = yes; then
10784 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10787 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10788 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10792 sysv5* | sco3.2v5* | sco5v6*)
10793 # Note: We can NOT use -z defs as we might desire, because we do not
10794 # link with -lc, and that would cause any symbols used from libc to
10795 # always be unresolved, which means just about no library would
10796 # ever link correctly. If we're not using GNU ld we use -z text
10797 # though, which does catch some bad symbols but isn't as heavy-handed
10799 no_undefined_flag='${wl}-z,text'
10800 allow_undefined_flag='${wl}-z,nodefs'
10801 archive_cmds_need_lc=no
10802 hardcode_shlibpath_var=no
10803 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10804 hardcode_libdir_separator=':'
10805 link_all_deplibs=yes
10806 export_dynamic_flag_spec='${wl}-Bexport'
10807 runpath_var='LD_RUN_PATH'
10809 if test "$GCC" = yes; then
10810 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10811 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10813 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10814 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10819 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10820 hardcode_libdir_flag_spec='-L$libdir'
10821 hardcode_shlibpath_var=no
10829 if test x$host_vendor = xsni; then
10831 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10832 export_dynamic_flag_spec='${wl}-Blargedynsym'
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10839 $as_echo "$ld_shlibs" >&6; }
10840 test "$ld_shlibs" = no && can_build_shared=no
10842 with_gnu_ld=$with_gnu_ld
10859 # Do we need to explicitly link libc?
10861 case "x$archive_cmds_need_lc" in
10863 # Assume -lc should be added
10864 archive_cmds_need_lc=yes
10866 if test "$enable_shared" = yes && test "$GCC" = yes; then
10867 case $archive_cmds in
10869 # FIXME: we may have to deal with multi-command sequences.
10872 # Test whether the compiler implicitly links with -lc since on some
10873 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10874 # to ld, don't add -lc before -lgcc.
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10876 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10877 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10878 $as_echo_n "(cached) " >&6
10881 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10884 (eval $ac_compile) 2>&5
10886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10887 test $ac_status = 0; } 2>conftest.err; then
10890 libobjs=conftest.$ac_objext
10892 wl=$lt_prog_compiler_wl
10893 pic_flag=$lt_prog_compiler_pic
10899 lt_save_allow_undefined_flag=$allow_undefined_flag
10900 allow_undefined_flag=
10901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10902 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10905 test $ac_status = 0; }
10907 lt_cv_archive_cmds_need_lc=no
10909 lt_cv_archive_cmds_need_lc=yes
10911 allow_undefined_flag=$lt_save_allow_undefined_flag
10913 cat conftest.err 1>&5
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10919 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10920 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11079 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11081 if test "$GCC" = yes; then
11083 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11084 *) lt_awk_arg="/^libraries:/" ;;
11087 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11088 *) lt_sed_strip_eq="s,=/,/,g" ;;
11090 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11091 case $lt_search_path_spec in
11093 # if the path contains ";" then we assume it to be the separator
11094 # otherwise default to the standard path separator (i.e. ":") - it is
11095 # assumed that no part of a normal pathname contains ";" but that should
11096 # okay in the real world where ";" in dirpaths is itself problematic.
11097 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11100 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11103 # Ok, now we have the path, separated by spaces, we can step through it
11104 # and add multilib dir if necessary.
11105 lt_tmp_lt_search_path_spec=
11106 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11107 for lt_sys_path in $lt_search_path_spec; do
11108 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11109 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11111 test -d "$lt_sys_path" && \
11112 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11115 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11116 BEGIN {RS=" "; FS="/|\n";} {
11119 for (lt_i = NF; lt_i > 0; lt_i--) {
11120 if ($lt_i != "" && $lt_i != ".") {
11121 if ($lt_i == "..") {
11124 if (lt_count == 0) {
11125 lt_foo="/" $lt_i lt_foo;
11132 if (lt_foo != "") { lt_freq[lt_foo]++; }
11133 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11135 # AWK program above erroneously prepends '/' to C:/dos/paths
11138 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11139 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11141 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11143 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11145 library_names_spec=
11146 libname_spec='lib$name'
11150 postuninstall_cmds=
11154 shlibpath_overrides_runpath=unknown
11156 dynamic_linker="$host_os ld.so"
11157 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11158 need_lib_prefix=unknown
11159 hardcode_into_libs=no
11161 # when you set need_version to no, make sure it does not cause -set_version
11162 # flags to be left without arguments
11163 need_version=unknown
11167 version_type=linux # correct to gnu/linux during the next big refactor
11168 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11169 shlibpath_var=LIBPATH
11171 # AIX 3 has no versioning support, so we append a major version to the name.
11172 soname_spec='${libname}${release}${shared_ext}$major'
11176 version_type=linux # correct to gnu/linux during the next big refactor
11179 hardcode_into_libs=yes
11180 if test "$host_cpu" = ia64; then
11181 # AIX 5 supports IA64
11182 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11183 shlibpath_var=LD_LIBRARY_PATH
11185 # With GCC up to 2.95.x, collect2 would create an import file
11186 # for dependence libraries. The import file would start with
11187 # the line `#! .'. This would cause the generated library to
11188 # depend on `.', always an invalid library. This was fixed in
11189 # development snapshots of GCC prior to 3.0.
11191 aix4 | aix4.[01] | aix4.[01].*)
11192 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11194 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11197 can_build_shared=no
11201 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11202 # soname into executable. Probably we can add versioning support to
11203 # collect2, so additional links can be useful in future.
11204 if test "$aix_use_runtimelinking" = yes; then
11205 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11206 # instead of lib<name>.a to let people know that these are not
11207 # typical AIX shared libraries.
11208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11210 # We preserve .a as extension for shared libraries through AIX4.2
11211 # and later when we are not doing run time linking.
11212 library_names_spec='${libname}${release}.a $libname.a'
11213 soname_spec='${libname}${release}${shared_ext}$major'
11215 shlibpath_var=LIBPATH
11222 # Since July 2007 AmigaOS4 officially supports .so libraries.
11223 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11227 library_names_spec='$libname.ixlibrary $libname.a'
11228 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11229 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'
11235 library_names_spec='${libname}${shared_ext}'
11236 dynamic_linker="$host_os ld.so"
11237 shlibpath_var=LIBRARY_PATH
11241 version_type=linux # correct to gnu/linux during the next big refactor
11243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11244 soname_spec='${libname}${release}${shared_ext}$major'
11245 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11246 shlibpath_var=LD_LIBRARY_PATH
11247 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11248 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11249 # the default ld.so.conf also contains /usr/contrib/lib and
11250 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11251 # libtool to hard-code these into programs
11254 cygwin* | mingw* | pw32* | cegcc*)
11255 version_type=windows
11260 case $GCC,$cc_basename in
11263 library_names_spec='$libname.dll.a'
11264 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11265 postinstall_cmds='base_file=`basename \${file}`~
11266 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11267 dldir=$destdir/`dirname \$dlpath`~
11268 test -d \$dldir || mkdir -p \$dldir~
11269 $install_prog $dir/$dlname \$dldir/$dlname~
11270 chmod a+x \$dldir/$dlname~
11271 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11272 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11274 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11275 dlpath=$dir/\$dldll~
11277 shlibpath_overrides_runpath=yes
11281 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11282 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11284 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11287 # MinGW DLLs use traditional 'lib' prefix
11288 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11291 # pw32 DLLs use 'pw' prefix rather than 'lib'
11292 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11295 dynamic_linker='Win32 ld.exe'
11300 libname_spec='$name'
11301 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11302 library_names_spec='${libname}.dll.lib'
11306 sys_lib_search_path_spec=
11309 for lt_path in $LIB
11312 # Let DOS variable expansion print the short 8.3 style file name.
11313 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11314 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11317 # Convert to MSYS style.
11318 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11321 # Convert to unix form, then to dos form, then back to unix form
11322 # but this time dos style (no spaces!) so that the unix form looks
11323 # like /cygdrive/c/PROGRA~1:/cygdr...
11324 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11325 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11326 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11329 sys_lib_search_path_spec="$LIB"
11330 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11331 # It is most probably a Windows format PATH.
11332 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11334 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11336 # FIXME: find the short name or the path components, as spaces are
11337 # common. (e.g. "Program Files" -> "PROGRA~1")
11341 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11342 postinstall_cmds='base_file=`basename \${file}`~
11343 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11344 dldir=$destdir/`dirname \$dlpath`~
11345 test -d \$dldir || mkdir -p \$dldir~
11346 $install_prog $dir/$dlname \$dldir/$dlname'
11347 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11348 dlpath=$dir/\$dldll~
11350 shlibpath_overrides_runpath=yes
11351 dynamic_linker='Win32 link.exe'
11355 # Assume MSVC wrapper
11356 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11357 dynamic_linker='Win32 ld.exe'
11360 # FIXME: first we should search . and the directory the executable is in
11364 darwin* | rhapsody*)
11365 dynamic_linker="$host_os dyld"
11366 version_type=darwin
11369 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11370 soname_spec='${libname}${release}${major}$shared_ext'
11371 shlibpath_overrides_runpath=yes
11372 shlibpath_var=DYLD_LIBRARY_PATH
11373 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11375 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11376 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11380 version_type=linux # correct to gnu/linux during the next big refactor
11383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11384 soname_spec='${libname}${release}${shared_ext}$major'
11385 shlibpath_var=LD_LIBRARY_PATH
11388 freebsd* | dragonfly*)
11389 # DragonFly does not have aout. When/if they implement a new
11390 # versioning mechanism, adjust this.
11391 if test -x /usr/bin/objformat; then
11392 objformat=`/usr/bin/objformat`
11395 freebsd[23].*) objformat=aout ;;
11396 *) objformat=elf ;;
11399 version_type=freebsd-$objformat
11400 case $version_type in
11402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11407 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11411 shlibpath_var=LD_LIBRARY_PATH
11414 shlibpath_overrides_runpath=yes
11416 freebsd3.[01]* | freebsdelf3.[01]*)
11417 shlibpath_overrides_runpath=yes
11418 hardcode_into_libs=yes
11420 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11421 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11422 shlibpath_overrides_runpath=no
11423 hardcode_into_libs=yes
11425 *) # from 4.6 on, and DragonFly
11426 shlibpath_overrides_runpath=yes
11427 hardcode_into_libs=yes
11433 version_type=linux # correct to gnu/linux during the next big refactor
11436 dynamic_linker="$host_os runtime_loader"
11437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11438 soname_spec='${libname}${release}${shared_ext}$major'
11439 shlibpath_var=LIBRARY_PATH
11440 shlibpath_overrides_runpath=yes
11441 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11442 hardcode_into_libs=yes
11445 hpux9* | hpux10* | hpux11*)
11446 # Give a soname corresponding to the major version so that dld.sl refuses to
11447 # link against other versions.
11454 hardcode_into_libs=yes
11455 dynamic_linker="$host_os dld.so"
11456 shlibpath_var=LD_LIBRARY_PATH
11457 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11459 soname_spec='${libname}${release}${shared_ext}$major'
11460 if test "X$HPUX_IA64_MODE" = X32; then
11461 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11463 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11465 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11469 hardcode_into_libs=yes
11470 dynamic_linker="$host_os dld.sl"
11471 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11472 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11474 soname_spec='${libname}${release}${shared_ext}$major'
11475 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11476 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11480 dynamic_linker="$host_os dld.sl"
11481 shlibpath_var=SHLIB_PATH
11482 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11484 soname_spec='${libname}${release}${shared_ext}$major'
11487 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11488 postinstall_cmds='chmod 555 $lib'
11489 # or fails outright, so override atomically:
11490 install_override_mode=555
11494 version_type=linux # correct to gnu/linux during the next big refactor
11497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11498 soname_spec='${libname}${release}${shared_ext}$major'
11499 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11500 shlibpath_var=LD_LIBRARY_PATH
11501 shlibpath_overrides_runpath=no
11502 hardcode_into_libs=yes
11505 irix5* | irix6* | nonstopux*)
11507 nonstopux*) version_type=nonstopux ;;
11509 if test "$lt_cv_prog_gnu_ld" = yes; then
11510 version_type=linux # correct to gnu/linux during the next big refactor
11517 soname_spec='${libname}${release}${shared_ext}$major'
11518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11520 irix5* | nonstopux*)
11521 libsuff= shlibsuff=
11524 case $LD in # libtool.m4 will add one of these switches to LD
11525 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11526 libsuff= shlibsuff= libmagic=32-bit;;
11527 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11528 libsuff=32 shlibsuff=N32 libmagic=N32;;
11529 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11530 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11531 *) libsuff= shlibsuff= libmagic=never-match;;
11535 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11536 shlibpath_overrides_runpath=no
11537 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11538 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11539 hardcode_into_libs=yes
11542 # No shared lib support for Linux oldld, aout, or coff.
11543 linux*oldld* | linux*aout* | linux*coff*)
11547 # This must be glibc/ELF.
11548 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11549 version_type=linux # correct to gnu/linux during the next big refactor
11552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11553 soname_spec='${libname}${release}${shared_ext}$major'
11554 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11555 shlibpath_var=LD_LIBRARY_PATH
11556 shlibpath_overrides_runpath=no
11558 # Some binutils ld are patched to set DT_RUNPATH
11559 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11560 $as_echo_n "(cached) " >&6
11562 lt_cv_shlibpath_overrides_runpath=no
11563 save_LDFLAGS=$LDFLAGS
11564 save_libdir=$libdir
11565 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11566 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11568 /* end confdefs.h. */
11578 if ac_fn_c_try_link "$LINENO"; then :
11579 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11580 lt_cv_shlibpath_overrides_runpath=yes
11583 rm -f core conftest.err conftest.$ac_objext \
11584 conftest$ac_exeext conftest.$ac_ext
11585 LDFLAGS=$save_LDFLAGS
11586 libdir=$save_libdir
11590 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11592 # This implies no fast_install, which is unacceptable.
11593 # Some rework will be needed to allow for fast_install
11594 # before this can be enabled.
11595 hardcode_into_libs=yes
11597 # Append ld.so.conf contents to the search path
11598 if test -f /etc/ld.so.conf; then
11599 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' ' '`
11600 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11603 # We used to test for /lib/ld.so.1 and disable shared libraries on
11604 # powerpc, because MkLinux only supported shared libraries with the
11605 # GNU dynamic linker. Since this was broken with cross compilers,
11606 # most powerpc-linux boxes support dynamic linking these days and
11607 # people can always --disable-shared, the test was removed, and we
11608 # assume the GNU/Linux dynamic linker is in use.
11609 dynamic_linker='GNU/Linux ld.so'
11616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11617 soname_spec='${libname}${release}${shared_ext}$major'
11618 shlibpath_var=LD_LIBRARY_PATH
11619 shlibpath_overrides_runpath=no
11620 hardcode_into_libs=yes
11621 dynamic_linker='NetBSD ld.elf_so'
11628 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11630 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11631 dynamic_linker='NetBSD (a.out) ld.so'
11633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11634 soname_spec='${libname}${release}${shared_ext}$major'
11635 dynamic_linker='NetBSD ld.elf_so'
11637 shlibpath_var=LD_LIBRARY_PATH
11638 shlibpath_overrides_runpath=yes
11639 hardcode_into_libs=yes
11643 version_type=linux # correct to gnu/linux during the next big refactor
11644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11645 shlibpath_var=LD_LIBRARY_PATH
11646 shlibpath_overrides_runpath=yes
11653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11654 soname_spec='${libname}${release}${shared_ext}$major'
11655 shlibpath_var=LD_LIBRARY_PATH
11656 shlibpath_overrides_runpath=no
11657 hardcode_into_libs=yes
11658 dynamic_linker='ldqnx.so'
11663 sys_lib_dlsearch_path_spec="/usr/lib"
11665 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11667 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11668 *) need_version=no ;;
11670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11671 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11672 shlibpath_var=LD_LIBRARY_PATH
11673 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11675 openbsd2.[89] | openbsd2.[89].*)
11676 shlibpath_overrides_runpath=no
11679 shlibpath_overrides_runpath=yes
11683 shlibpath_overrides_runpath=yes
11688 libname_spec='$name'
11691 library_names_spec='$libname${shared_ext} $libname.a'
11692 dynamic_linker='OS/2 ld.exe'
11693 shlibpath_var=LIBPATH
11696 osf3* | osf4* | osf5*)
11700 soname_spec='${libname}${release}${shared_ext}$major'
11701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11702 shlibpath_var=LD_LIBRARY_PATH
11703 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11704 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11712 version_type=linux # correct to gnu/linux during the next big refactor
11715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11716 soname_spec='${libname}${release}${shared_ext}$major'
11717 shlibpath_var=LD_LIBRARY_PATH
11718 shlibpath_overrides_runpath=yes
11719 hardcode_into_libs=yes
11720 # ldd complains unless libraries are executable
11721 postinstall_cmds='chmod +x $lib'
11726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11727 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11728 shlibpath_var=LD_LIBRARY_PATH
11729 shlibpath_overrides_runpath=yes
11730 if test "$with_gnu_ld" = yes; then
11737 version_type=linux # correct to gnu/linux during the next big refactor
11738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11739 soname_spec='${libname}${release}${shared_ext}$major'
11740 shlibpath_var=LD_LIBRARY_PATH
11741 case $host_vendor in
11743 shlibpath_overrides_runpath=no
11745 runpath_var=LD_RUN_PATH
11753 shlibpath_overrides_runpath=no
11754 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11760 if test -d /usr/nec ;then
11761 version_type=linux # correct to gnu/linux during the next big refactor
11762 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11763 soname_spec='$libname${shared_ext}.$major'
11764 shlibpath_var=LD_LIBRARY_PATH
11768 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11769 version_type=freebsd-elf
11772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11773 soname_spec='${libname}${release}${shared_ext}$major'
11774 shlibpath_var=LD_LIBRARY_PATH
11775 shlibpath_overrides_runpath=yes
11776 hardcode_into_libs=yes
11777 if test "$with_gnu_ld" = yes; then
11778 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11780 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11783 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11787 sys_lib_dlsearch_path_spec='/usr/lib'
11791 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11792 version_type=linux # correct to gnu/linux during the next big refactor
11795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11796 shlibpath_var=LD_LIBRARY_PATH
11797 shlibpath_overrides_runpath=no
11798 hardcode_into_libs=yes
11802 version_type=linux # correct to gnu/linux during the next big refactor
11803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11804 soname_spec='${libname}${release}${shared_ext}$major'
11805 shlibpath_var=LD_LIBRARY_PATH
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11813 $as_echo "$dynamic_linker" >&6; }
11814 test "$dynamic_linker" = no && can_build_shared=no
11816 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11817 if test "$GCC" = yes; then
11818 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11821 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11822 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11824 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11825 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11920 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11922 if test -n "$hardcode_libdir_flag_spec" ||
11923 test -n "$runpath_var" ||
11924 test "X$hardcode_automatic" = "Xyes" ; then
11926 # We can hardcode non-existent directories.
11927 if test "$hardcode_direct" != no &&
11928 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11929 # have to relink, otherwise we might link with an installed library
11930 # when we should be linking with a yet-to-be-installed one
11931 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11932 test "$hardcode_minus_L" != no; then
11933 # Linking always hardcodes the temporary library directory.
11934 hardcode_action=relink
11936 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11937 hardcode_action=immediate
11940 # We cannot hardcode anything, or else we can only hardcode existing
11942 hardcode_action=unsupported
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11945 $as_echo "$hardcode_action" >&6; }
11947 if test "$hardcode_action" = relink ||
11948 test "$inherit_rpath" = yes; then
11949 # Fast installation is not supported
11950 enable_fast_install=no
11951 elif test "$shlibpath_overrides_runpath" = yes ||
11952 test "$enable_shared" = no; then
11953 # Fast installation is not necessary
11954 enable_fast_install=needless
11962 if test "x$enable_dlopen" != xyes; then
11963 enable_dlopen=unknown
11964 enable_dlopen_self=unknown
11965 enable_dlopen_self_static=unknown
11972 lt_cv_dlopen="load_add_on"
11974 lt_cv_dlopen_self=yes
11977 mingw* | pw32* | cegcc*)
11978 lt_cv_dlopen="LoadLibrary"
11983 lt_cv_dlopen="dlopen"
11988 # if libdl is installed we need to link against it
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11990 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11991 if ${ac_cv_lib_dl_dlopen+:} false; then :
11992 $as_echo_n "(cached) " >&6
11994 ac_check_lib_save_LIBS=$LIBS
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11999 /* Override any GCC internal prototype to avoid an error.
12000 Use char because int might match the return type of a GCC
12001 builtin and then its argument prototype would still apply. */
12014 if ac_fn_c_try_link "$LINENO"; then :
12015 ac_cv_lib_dl_dlopen=yes
12017 ac_cv_lib_dl_dlopen=no
12019 rm -f core conftest.err conftest.$ac_objext \
12020 conftest$ac_exeext conftest.$ac_ext
12021 LIBS=$ac_check_lib_save_LIBS
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12024 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12025 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12026 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12029 lt_cv_dlopen="dyld"
12031 lt_cv_dlopen_self=yes
12038 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12039 if test "x$ac_cv_func_shl_load" = xyes; then :
12040 lt_cv_dlopen="shl_load"
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12043 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12044 if ${ac_cv_lib_dld_shl_load+:} false; then :
12045 $as_echo_n "(cached) " >&6
12047 ac_check_lib_save_LIBS=$LIBS
12049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12050 /* end confdefs.h. */
12052 /* Override any GCC internal prototype to avoid an error.
12053 Use char because int might match the return type of a GCC
12054 builtin and then its argument prototype would still apply. */
12062 return shl_load ();
12067 if ac_fn_c_try_link "$LINENO"; then :
12068 ac_cv_lib_dld_shl_load=yes
12070 ac_cv_lib_dld_shl_load=no
12072 rm -f core conftest.err conftest.$ac_objext \
12073 conftest$ac_exeext conftest.$ac_ext
12074 LIBS=$ac_check_lib_save_LIBS
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12077 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12078 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12079 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12081 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12082 if test "x$ac_cv_func_dlopen" = xyes; then :
12083 lt_cv_dlopen="dlopen"
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12086 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12087 if ${ac_cv_lib_dl_dlopen+:} false; then :
12088 $as_echo_n "(cached) " >&6
12090 ac_check_lib_save_LIBS=$LIBS
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12110 if ac_fn_c_try_link "$LINENO"; then :
12111 ac_cv_lib_dl_dlopen=yes
12113 ac_cv_lib_dl_dlopen=no
12115 rm -f core conftest.err conftest.$ac_objext \
12116 conftest$ac_exeext conftest.$ac_ext
12117 LIBS=$ac_check_lib_save_LIBS
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12120 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12121 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12122 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12125 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12126 if ${ac_cv_lib_svld_dlopen+:} false; then :
12127 $as_echo_n "(cached) " >&6
12129 ac_check_lib_save_LIBS=$LIBS
12130 LIBS="-lsvld $LIBS"
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12149 if ac_fn_c_try_link "$LINENO"; then :
12150 ac_cv_lib_svld_dlopen=yes
12152 ac_cv_lib_svld_dlopen=no
12154 rm -f core conftest.err conftest.$ac_objext \
12155 conftest$ac_exeext conftest.$ac_ext
12156 LIBS=$ac_check_lib_save_LIBS
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12159 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12160 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12161 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12164 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12165 if ${ac_cv_lib_dld_dld_link+:} false; then :
12166 $as_echo_n "(cached) " >&6
12168 ac_check_lib_save_LIBS=$LIBS
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12173 /* Override any GCC internal prototype to avoid an error.
12174 Use char because int might match the return type of a GCC
12175 builtin and then its argument prototype would still apply. */
12183 return dld_link ();
12188 if ac_fn_c_try_link "$LINENO"; then :
12189 ac_cv_lib_dld_dld_link=yes
12191 ac_cv_lib_dld_dld_link=no
12193 rm -f core conftest.err conftest.$ac_objext \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_lib_save_LIBS
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12198 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12199 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12200 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12221 if test "x$lt_cv_dlopen" != xno; then
12227 case $lt_cv_dlopen in
12229 save_CPPFLAGS="$CPPFLAGS"
12230 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12232 save_LDFLAGS="$LDFLAGS"
12233 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12236 LIBS="$lt_cv_dlopen_libs $LIBS"
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12239 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12240 if ${lt_cv_dlopen_self+:} false; then :
12241 $as_echo_n "(cached) " >&6
12243 if test "$cross_compiling" = yes; then :
12244 lt_cv_dlopen_self=cross
12246 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12247 lt_status=$lt_dlunknown
12248 cat > conftest.$ac_ext <<_LT_EOF
12249 #line $LINENO "configure"
12250 #include "confdefs.h"
12259 # define LT_DLGLOBAL RTLD_GLOBAL
12262 # define LT_DLGLOBAL DL_GLOBAL
12264 # define LT_DLGLOBAL 0
12268 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12269 find out it does not work in some platform. */
12270 #ifndef LT_DLLAZY_OR_NOW
12272 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12275 # define LT_DLLAZY_OR_NOW DL_LAZY
12278 # define LT_DLLAZY_OR_NOW RTLD_NOW
12281 # define LT_DLLAZY_OR_NOW DL_NOW
12283 # define LT_DLLAZY_OR_NOW 0
12290 /* When -fvisbility=hidden is used, assume the code has been annotated
12291 correspondingly for the symbols needed. */
12292 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12293 int fnord () __attribute__((visibility("default")));
12296 int fnord () { return 42; }
12299 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12300 int status = $lt_dlunknown;
12304 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12307 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12308 else puts (dlerror ());
12310 /* dlclose (self); */
12318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12319 (eval $ac_link) 2>&5
12321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12322 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12323 (./conftest; exit; ) >&5 2>/dev/null
12325 case x$lt_status in
12326 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12327 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12328 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12331 # compilation failed
12332 lt_cv_dlopen_self=no
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12340 $as_echo "$lt_cv_dlopen_self" >&6; }
12342 if test "x$lt_cv_dlopen_self" = xyes; then
12343 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12345 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12346 if ${lt_cv_dlopen_self_static+:} false; then :
12347 $as_echo_n "(cached) " >&6
12349 if test "$cross_compiling" = yes; then :
12350 lt_cv_dlopen_self_static=cross
12352 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12353 lt_status=$lt_dlunknown
12354 cat > conftest.$ac_ext <<_LT_EOF
12355 #line $LINENO "configure"
12356 #include "confdefs.h"
12365 # define LT_DLGLOBAL RTLD_GLOBAL
12368 # define LT_DLGLOBAL DL_GLOBAL
12370 # define LT_DLGLOBAL 0
12374 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12375 find out it does not work in some platform. */
12376 #ifndef LT_DLLAZY_OR_NOW
12378 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12381 # define LT_DLLAZY_OR_NOW DL_LAZY
12384 # define LT_DLLAZY_OR_NOW RTLD_NOW
12387 # define LT_DLLAZY_OR_NOW DL_NOW
12389 # define LT_DLLAZY_OR_NOW 0
12396 /* When -fvisbility=hidden is used, assume the code has been annotated
12397 correspondingly for the symbols needed. */
12398 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12399 int fnord () __attribute__((visibility("default")));
12402 int fnord () { return 42; }
12405 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12406 int status = $lt_dlunknown;
12410 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12413 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12414 else puts (dlerror ());
12416 /* dlclose (self); */
12424 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12425 (eval $ac_link) 2>&5
12427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12428 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12429 (./conftest; exit; ) >&5 2>/dev/null
12431 case x$lt_status in
12432 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12433 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12434 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12437 # compilation failed
12438 lt_cv_dlopen_self_static=no
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12446 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12449 CPPFLAGS="$save_CPPFLAGS"
12450 LDFLAGS="$save_LDFLAGS"
12455 case $lt_cv_dlopen_self in
12456 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12457 *) enable_dlopen_self=unknown ;;
12460 case $lt_cv_dlopen_self_static in
12461 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12462 *) enable_dlopen_self_static=unknown ;;
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12485 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12486 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12487 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12488 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12490 $as_echo "yes" >&6; }
12492 # FIXME - insert some real tests, host_os isn't really good enough
12495 if test -n "$STRIP" ; then
12496 striplib="$STRIP -x"
12497 old_striplib="$STRIP -S"
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12499 $as_echo "yes" >&6; }
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12502 $as_echo "no" >&6; }
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12507 $as_echo "no" >&6; }
12523 # Report which library types will actually be built
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12525 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12527 $as_echo "$can_build_shared" >&6; }
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12530 $as_echo_n "checking whether to build shared libraries... " >&6; }
12531 test "$can_build_shared" = "no" && enable_shared=no
12533 # On AIX, shared libraries and static libraries use the same namespace, and
12534 # are all built from PIC.
12537 test "$enable_shared" = yes && enable_static=no
12538 if test -n "$RANLIB"; then
12539 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12540 postinstall_cmds='$RANLIB $lib'
12545 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12546 test "$enable_shared" = yes && enable_static=no
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12551 $as_echo "$enable_shared" >&6; }
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12554 $as_echo_n "checking whether to build static libraries... " >&6; }
12555 # Make sure either enable_shared or enable_static is yes.
12556 test "$enable_shared" = yes || enable_static=yes
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12558 $as_echo "$enable_static" >&6; }
12565 ac_cpp='$CPP $CPPFLAGS'
12566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12586 ac_config_commands="$ac_config_commands libtool"
12591 # Only expand once:
12595 # Api documentation
12598 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12599 if test -n "$ac_tool_prefix"; then
12600 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12601 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12603 $as_echo_n "checking for $ac_word... " >&6; }
12604 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12605 $as_echo_n "(cached) " >&6
12607 case $PKG_CONFIG in
12609 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12613 for as_dir in $PATH
12616 test -z "$as_dir" && as_dir=.
12617 for ac_exec_ext in '' $ac_executable_extensions; do
12618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12619 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12630 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12631 if test -n "$PKG_CONFIG"; then
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12633 $as_echo "$PKG_CONFIG" >&6; }
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12636 $as_echo "no" >&6; }
12641 if test -z "$ac_cv_path_PKG_CONFIG"; then
12642 ac_pt_PKG_CONFIG=$PKG_CONFIG
12643 # Extract the first word of "pkg-config", so it can be a program name with args.
12644 set dummy pkg-config; ac_word=$2
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12646 $as_echo_n "checking for $ac_word... " >&6; }
12647 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12648 $as_echo_n "(cached) " >&6
12650 case $ac_pt_PKG_CONFIG in
12652 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12656 for as_dir in $PATH
12659 test -z "$as_dir" && as_dir=.
12660 for ac_exec_ext in '' $ac_executable_extensions; do
12661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12662 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12673 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12674 if test -n "$ac_pt_PKG_CONFIG"; then
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12676 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12679 $as_echo "no" >&6; }
12682 if test "x$ac_pt_PKG_CONFIG" = x; then
12685 case $cross_compiling:$ac_tool_warned in
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12689 ac_tool_warned=yes ;;
12691 PKG_CONFIG=$ac_pt_PKG_CONFIG
12694 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12698 if test -n "$PKG_CONFIG"; then
12699 _pkg_min_version=0.9.0
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12701 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12702 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12704 $as_echo "yes" >&6; }
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12707 $as_echo "no" >&6; }
12715 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12716 set dummy gtkdoc-check; ac_word=$2
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12718 $as_echo_n "checking for $ac_word... " >&6; }
12719 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12720 $as_echo_n "(cached) " >&6
12722 case $GTKDOC_CHECK in
12724 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12728 for as_dir in $PATH
12731 test -z "$as_dir" && as_dir=.
12732 for ac_exec_ext in '' $ac_executable_extensions; do
12733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12734 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12745 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12746 if test -n "$GTKDOC_CHECK"; then
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12748 $as_echo "$GTKDOC_CHECK" >&6; }
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12751 $as_echo "no" >&6; }
12755 for ac_prog in gtkdoc-rebase
12757 # Extract the first word of "$ac_prog", so it can be a program name with args.
12758 set dummy $ac_prog; ac_word=$2
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12760 $as_echo_n "checking for $ac_word... " >&6; }
12761 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12762 $as_echo_n "(cached) " >&6
12764 case $GTKDOC_REBASE in
12766 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12770 for as_dir in $PATH
12773 test -z "$as_dir" && as_dir=.
12774 for ac_exec_ext in '' $ac_executable_extensions; do
12775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12776 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12787 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12788 if test -n "$GTKDOC_REBASE"; then
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12790 $as_echo "$GTKDOC_REBASE" >&6; }
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12793 $as_echo "no" >&6; }
12797 test -n "$GTKDOC_REBASE" && break
12799 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12801 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12802 set dummy gtkdoc-mkpdf; ac_word=$2
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12804 $as_echo_n "checking for $ac_word... " >&6; }
12805 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12806 $as_echo_n "(cached) " >&6
12808 case $GTKDOC_MKPDF in
12810 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12814 for as_dir in $PATH
12817 test -z "$as_dir" && as_dir=.
12818 for ac_exec_ext in '' $ac_executable_extensions; do
12819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12820 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12831 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12832 if test -n "$GTKDOC_MKPDF"; then
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12834 $as_echo "$GTKDOC_MKPDF" >&6; }
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12837 $as_echo "no" >&6; }
12843 # Check whether --with-html-dir was given.
12844 if test "${with_html_dir+set}" = set; then :
12845 withval=$with_html_dir;
12847 with_html_dir='${datadir}/gtk-doc/html'
12850 HTML_DIR="$with_html_dir"
12853 # Check whether --enable-gtk-doc was given.
12854 if test "${enable_gtk_doc+set}" = set; then :
12855 enableval=$enable_gtk_doc;
12861 if test x$enable_gtk_doc = xyes; then
12862 if test -n "$PKG_CONFIG" && \
12863 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
12864 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
12866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12867 test $ac_status = 0; }; then
12870 as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
12872 if test "x$PACKAGE_NAME" != "xglib"; then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12876 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12878 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12879 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12880 elif test -n "$PKG_CONFIG"; then
12881 if test -n "$PKG_CONFIG" && \
12882 { { $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
12883 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12886 test $ac_status = 0; }; then
12887 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12894 if test -n "$GTKDOC_DEPS_LIBS"; then
12895 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12896 elif test -n "$PKG_CONFIG"; then
12897 if test -n "$PKG_CONFIG" && \
12898 { { $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
12899 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12902 test $ac_status = 0; }; then
12903 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12913 if test $pkg_failed = yes; then
12915 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12916 _pkg_short_errors_supported=yes
12918 _pkg_short_errors_supported=no
12920 if test $_pkg_short_errors_supported = yes; then
12921 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12923 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12925 # Put the nasty error message in config.log where it belongs
12926 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12928 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
12930 $GTKDOC_DEPS_PKG_ERRORS
12932 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12933 installed software in a non-standard prefix.
12935 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12936 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12937 See the pkg-config man page for more details.
12939 elif test $pkg_failed = untried; then
12940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12942 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12943 is in your PATH or set the PKG_CONFIG environment variable to the full
12944 path to pkg-config.
12946 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12947 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12948 See the pkg-config man page for more details.
12950 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12951 See \`config.log' for more details" "$LINENO" 5; }
12953 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12954 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12956 $as_echo "yes" >&6; }
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12963 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12965 $as_echo "$enable_gtk_doc" >&6; }
12967 # Check whether --enable-gtk-doc-html was given.
12968 if test "${enable_gtk_doc_html+set}" = set; then :
12969 enableval=$enable_gtk_doc_html;
12971 enable_gtk_doc_html=yes
12974 # Check whether --enable-gtk-doc-pdf was given.
12975 if test "${enable_gtk_doc_pdf+set}" = set; then :
12976 enableval=$enable_gtk_doc_pdf;
12978 enable_gtk_doc_pdf=no
12982 if test -z "$GTKDOC_MKPDF"; then
12983 enable_gtk_doc_pdf=no
12987 if test x$enable_gtk_doc = xyes; then
12988 ENABLE_GTK_DOC_TRUE=
12989 ENABLE_GTK_DOC_FALSE='#'
12991 ENABLE_GTK_DOC_TRUE='#'
12992 ENABLE_GTK_DOC_FALSE=
12995 if test x$enable_gtk_doc_html = xyes; then
12996 GTK_DOC_BUILD_HTML_TRUE=
12997 GTK_DOC_BUILD_HTML_FALSE='#'
12999 GTK_DOC_BUILD_HTML_TRUE='#'
13000 GTK_DOC_BUILD_HTML_FALSE=
13003 if test x$enable_gtk_doc_pdf = xyes; then
13004 GTK_DOC_BUILD_PDF_TRUE=
13005 GTK_DOC_BUILD_PDF_FALSE='#'
13007 GTK_DOC_BUILD_PDF_TRUE='#'
13008 GTK_DOC_BUILD_PDF_FALSE=
13011 if test -n "$LIBTOOL"; then
13012 GTK_DOC_USE_LIBTOOL_TRUE=
13013 GTK_DOC_USE_LIBTOOL_FALSE='#'
13015 GTK_DOC_USE_LIBTOOL_TRUE='#'
13016 GTK_DOC_USE_LIBTOOL_FALSE=
13019 if test -n "$GTKDOC_REBASE"; then
13020 GTK_DOC_USE_REBASE_TRUE=
13021 GTK_DOC_USE_REBASE_FALSE='#'
13023 GTK_DOC_USE_REBASE_TRUE='#'
13024 GTK_DOC_USE_REBASE_FALSE=
13029 # Check whether --enable-largefile was given.
13030 if test "${enable_largefile+set}" = set; then :
13031 enableval=$enable_largefile;
13034 if test "$enable_largefile" != no; then
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13037 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13038 if ${ac_cv_sys_largefile_CC+:} false; then :
13039 $as_echo_n "(cached) " >&6
13041 ac_cv_sys_largefile_CC=no
13042 if test "$GCC" != yes; then
13045 # IRIX 6.2 and later do not support large files by default,
13046 # so use the C compiler's -n32 option if that helps.
13047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13048 /* end confdefs.h. */
13049 #include <sys/types.h>
13050 /* Check that off_t can represent 2**63 - 1 correctly.
13051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13052 since some C++ compilers masquerading as C compilers
13053 incorrectly reject 9223372036854775807. */
13054 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13056 && LARGE_OFF_T % 2147483647 == 1)
13066 if ac_fn_c_try_compile "$LINENO"; then :
13069 rm -f core conftest.err conftest.$ac_objext
13071 if ac_fn_c_try_compile "$LINENO"; then :
13072 ac_cv_sys_largefile_CC=' -n32'; break
13074 rm -f core conftest.err conftest.$ac_objext
13078 rm -f conftest.$ac_ext
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13082 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13083 if test "$ac_cv_sys_largefile_CC" != no; then
13084 CC=$CC$ac_cv_sys_largefile_CC
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13088 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13089 if ${ac_cv_sys_file_offset_bits+:} false; then :
13090 $as_echo_n "(cached) " >&6
13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13095 #include <sys/types.h>
13096 /* Check that off_t can represent 2**63 - 1 correctly.
13097 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13098 since some C++ compilers masquerading as C compilers
13099 incorrectly reject 9223372036854775807. */
13100 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13101 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13102 && LARGE_OFF_T % 2147483647 == 1)
13112 if ac_fn_c_try_compile "$LINENO"; then :
13113 ac_cv_sys_file_offset_bits=no; break
13115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13118 #define _FILE_OFFSET_BITS 64
13119 #include <sys/types.h>
13120 /* Check that off_t can represent 2**63 - 1 correctly.
13121 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13122 since some C++ compilers masquerading as C compilers
13123 incorrectly reject 9223372036854775807. */
13124 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13125 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13126 && LARGE_OFF_T % 2147483647 == 1)
13136 if ac_fn_c_try_compile "$LINENO"; then :
13137 ac_cv_sys_file_offset_bits=64; break
13139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13140 ac_cv_sys_file_offset_bits=unknown
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13145 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13146 case $ac_cv_sys_file_offset_bits in #(
13149 cat >>confdefs.h <<_ACEOF
13150 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13155 if test $ac_cv_sys_file_offset_bits = unknown; then
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13157 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13158 if ${ac_cv_sys_large_files+:} false; then :
13159 $as_echo_n "(cached) " >&6
13162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13163 /* end confdefs.h. */
13164 #include <sys/types.h>
13165 /* Check that off_t can represent 2**63 - 1 correctly.
13166 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13167 since some C++ compilers masquerading as C compilers
13168 incorrectly reject 9223372036854775807. */
13169 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13170 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13171 && LARGE_OFF_T % 2147483647 == 1)
13181 if ac_fn_c_try_compile "$LINENO"; then :
13182 ac_cv_sys_large_files=no; break
13184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13187 #define _LARGE_FILES 1
13188 #include <sys/types.h>
13189 /* Check that off_t can represent 2**63 - 1 correctly.
13190 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13191 since some C++ compilers masquerading as C compilers
13192 incorrectly reject 9223372036854775807. */
13193 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13194 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13195 && LARGE_OFF_T % 2147483647 == 1)
13205 if ac_fn_c_try_compile "$LINENO"; then :
13206 ac_cv_sys_large_files=1; break
13208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13209 ac_cv_sys_large_files=unknown
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13214 $as_echo "$ac_cv_sys_large_files" >&6; }
13215 case $ac_cv_sys_large_files in #(
13218 cat >>confdefs.h <<_ACEOF
13219 #define _LARGE_FILES $ac_cv_sys_large_files
13242 CAIRO_VERSION_MAJOR=1
13243 CAIRO_VERSION_MINOR=12
13244 CAIRO_VERSION_MICRO=16
13245 CAIRO_VERSION_SONUM=2
13246 CAIRO_RELEASE_STATUS=release
13247 CAIRO_LIBTOOL_VERSION_INFO=11202:16:11200
13255 # Extract the first word of "find", so it can be a program name with args.
13256 set dummy find; ac_word=$2
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13258 $as_echo_n "checking for $ac_word... " >&6; }
13259 if ${ac_cv_path_FIND+:} false; then :
13260 $as_echo_n "(cached) " >&6
13264 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
13267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13268 for as_dir in $PATH
13271 test -z "$as_dir" && as_dir=.
13272 for ac_exec_ext in '' $ac_executable_extensions; do
13273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13274 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
13275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13285 FIND=$ac_cv_path_FIND
13286 if test -n "$FIND"; then
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
13288 $as_echo "$FIND" >&6; }
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13291 $as_echo "no" >&6; }
13295 # Extract the first word of "xargs", so it can be a program name with args.
13296 set dummy xargs; ac_word=$2
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13298 $as_echo_n "checking for $ac_word... " >&6; }
13299 if ${ac_cv_path_XARGS+:} false; then :
13300 $as_echo_n "(cached) " >&6
13304 ac_cv_path_XARGS="$XARGS" # Let the user override the test with a path.
13307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13308 for as_dir in $PATH
13311 test -z "$as_dir" && as_dir=.
13312 for ac_exec_ext in '' $ac_executable_extensions; do
13313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13314 ac_cv_path_XARGS="$as_dir/$ac_word$ac_exec_ext"
13315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13325 XARGS=$ac_cv_path_XARGS
13326 if test -n "$XARGS"; then
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XARGS" >&5
13328 $as_echo "$XARGS" >&6; }
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13331 $as_echo "no" >&6; }
13337 ac_cpp='$CPP $CPPFLAGS'
13338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13341 if test -n "$ac_tool_prefix"; then
13342 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13343 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13345 $as_echo_n "checking for $ac_word... " >&6; }
13346 if ${ac_cv_prog_CC+:} false; then :
13347 $as_echo_n "(cached) " >&6
13349 if test -n "$CC"; then
13350 ac_cv_prog_CC="$CC" # Let the user override the test.
13352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13353 for as_dir in $PATH
13356 test -z "$as_dir" && as_dir=.
13357 for ac_exec_ext in '' $ac_executable_extensions; do
13358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13359 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13370 if test -n "$CC"; then
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13372 $as_echo "$CC" >&6; }
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13375 $as_echo "no" >&6; }
13380 if test -z "$ac_cv_prog_CC"; then
13382 # Extract the first word of "gcc", so it can be a program name with args.
13383 set dummy gcc; ac_word=$2
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13385 $as_echo_n "checking for $ac_word... " >&6; }
13386 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13387 $as_echo_n "(cached) " >&6
13389 if test -n "$ac_ct_CC"; then
13390 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13393 for as_dir in $PATH
13396 test -z "$as_dir" && as_dir=.
13397 for ac_exec_ext in '' $ac_executable_extensions; do
13398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13399 ac_cv_prog_ac_ct_CC="gcc"
13400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13409 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13410 if test -n "$ac_ct_CC"; then
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13412 $as_echo "$ac_ct_CC" >&6; }
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13415 $as_echo "no" >&6; }
13418 if test "x$ac_ct_CC" = x; then
13421 case $cross_compiling:$ac_tool_warned in
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13425 ac_tool_warned=yes ;;
13430 CC="$ac_cv_prog_CC"
13433 if test -z "$CC"; then
13434 if test -n "$ac_tool_prefix"; then
13435 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13436 set dummy ${ac_tool_prefix}cc; ac_word=$2
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13438 $as_echo_n "checking for $ac_word... " >&6; }
13439 if ${ac_cv_prog_CC+:} false; then :
13440 $as_echo_n "(cached) " >&6
13442 if test -n "$CC"; then
13443 ac_cv_prog_CC="$CC" # Let the user override the test.
13445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13446 for as_dir in $PATH
13449 test -z "$as_dir" && as_dir=.
13450 for ac_exec_ext in '' $ac_executable_extensions; do
13451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13452 ac_cv_prog_CC="${ac_tool_prefix}cc"
13453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13463 if test -n "$CC"; then
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13465 $as_echo "$CC" >&6; }
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13468 $as_echo "no" >&6; }
13474 if test -z "$CC"; then
13475 # Extract the first word of "cc", so it can be a program name with args.
13476 set dummy cc; ac_word=$2
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13478 $as_echo_n "checking for $ac_word... " >&6; }
13479 if ${ac_cv_prog_CC+:} false; then :
13480 $as_echo_n "(cached) " >&6
13482 if test -n "$CC"; then
13483 ac_cv_prog_CC="$CC" # Let the user override the test.
13485 ac_prog_rejected=no
13486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13487 for as_dir in $PATH
13490 test -z "$as_dir" && as_dir=.
13491 for ac_exec_ext in '' $ac_executable_extensions; do
13492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13493 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13494 ac_prog_rejected=yes
13498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13505 if test $ac_prog_rejected = yes; then
13506 # We found a bogon in the path, so make sure we never use it.
13507 set dummy $ac_cv_prog_CC
13509 if test $# != 0; then
13510 # We chose a different compiler from the bogus one.
13511 # However, it has the same basename, so the bogon will be chosen
13512 # first if we set CC to just the basename; use the full file name.
13514 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13520 if test -n "$CC"; then
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13522 $as_echo "$CC" >&6; }
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13525 $as_echo "no" >&6; }
13530 if test -z "$CC"; then
13531 if test -n "$ac_tool_prefix"; then
13532 for ac_prog in cl.exe
13534 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13535 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13537 $as_echo_n "checking for $ac_word... " >&6; }
13538 if ${ac_cv_prog_CC+:} false; then :
13539 $as_echo_n "(cached) " >&6
13541 if test -n "$CC"; then
13542 ac_cv_prog_CC="$CC" # Let the user override the test.
13544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13545 for as_dir in $PATH
13548 test -z "$as_dir" && as_dir=.
13549 for ac_exec_ext in '' $ac_executable_extensions; do
13550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13551 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13562 if test -n "$CC"; then
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13564 $as_echo "$CC" >&6; }
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13567 $as_echo "no" >&6; }
13571 test -n "$CC" && break
13574 if test -z "$CC"; then
13576 for ac_prog in cl.exe
13578 # Extract the first word of "$ac_prog", so it can be a program name with args.
13579 set dummy $ac_prog; ac_word=$2
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13581 $as_echo_n "checking for $ac_word... " >&6; }
13582 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13583 $as_echo_n "(cached) " >&6
13585 if test -n "$ac_ct_CC"; then
13586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13589 for as_dir in $PATH
13592 test -z "$as_dir" && as_dir=.
13593 for ac_exec_ext in '' $ac_executable_extensions; do
13594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13595 ac_cv_prog_ac_ct_CC="$ac_prog"
13596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13605 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13606 if test -n "$ac_ct_CC"; then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13608 $as_echo "$ac_ct_CC" >&6; }
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13611 $as_echo "no" >&6; }
13615 test -n "$ac_ct_CC" && break
13618 if test "x$ac_ct_CC" = x; then
13621 case $cross_compiling:$ac_tool_warned in
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13625 ac_tool_warned=yes ;;
13634 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13636 as_fn_error $? "no acceptable C compiler found in \$PATH
13637 See \`config.log' for more details" "$LINENO" 5; }
13639 # Provide some information about the compiler.
13640 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13643 for ac_option in --version -v -V -qversion; do
13644 { { ac_try="$ac_compiler $ac_option >&5"
13645 case "(($ac_try" in
13646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13647 *) ac_try_echo=$ac_try;;
13649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13650 $as_echo "$ac_try_echo"; } >&5
13651 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13653 if test -s conftest.err; then
13655 ... rest of stderr output deleted ...
13656 10q' conftest.err >conftest.er1
13657 cat conftest.er1 >&5
13659 rm -f conftest.er1 conftest.err
13660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13661 test $ac_status = 0; }
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13665 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13666 if ${ac_cv_c_compiler_gnu+:} false; then :
13667 $as_echo_n "(cached) " >&6
13669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13670 /* end confdefs.h. */
13683 if ac_fn_c_try_compile "$LINENO"; then :
13684 ac_compiler_gnu=yes
13688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13689 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13693 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13694 if test $ac_compiler_gnu = yes; then
13699 ac_test_CFLAGS=${CFLAGS+set}
13700 ac_save_CFLAGS=$CFLAGS
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13702 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13703 if ${ac_cv_prog_cc_g+:} false; then :
13704 $as_echo_n "(cached) " >&6
13706 ac_save_c_werror_flag=$ac_c_werror_flag
13707 ac_c_werror_flag=yes
13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13721 if ac_fn_c_try_compile "$LINENO"; then :
13722 ac_cv_prog_cc_g=yes
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13736 if ac_fn_c_try_compile "$LINENO"; then :
13739 ac_c_werror_flag=$ac_save_c_werror_flag
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13752 if ac_fn_c_try_compile "$LINENO"; then :
13753 ac_cv_prog_cc_g=yes
13755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13760 ac_c_werror_flag=$ac_save_c_werror_flag
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13763 $as_echo "$ac_cv_prog_cc_g" >&6; }
13764 if test "$ac_test_CFLAGS" = set; then
13765 CFLAGS=$ac_save_CFLAGS
13766 elif test $ac_cv_prog_cc_g = yes; then
13767 if test "$GCC" = yes; then
13773 if test "$GCC" = yes; then
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13780 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13781 if ${ac_cv_prog_cc_c89+:} false; then :
13782 $as_echo_n "(cached) " >&6
13784 ac_cv_prog_cc_c89=no
13786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13788 #include <stdarg.h>
13791 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13792 struct buf { int x; };
13793 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13794 static char *e (p, i)
13800 static char *f (char * (*g) (char **, int), char **p, ...)
13805 s = g (p, va_arg (v,int));
13810 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13811 function prototypes and stuff, but not '\xHH' hex character constants.
13812 These don't provoke an error unfortunately, instead are silently treated
13813 as 'x'. The following induces an error, until -std is added to get
13814 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13815 array size at least. It's necessary to write '\x00'==0 to get something
13816 that's true only with -std. */
13817 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13819 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13820 inside strings and character constants. */
13822 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13824 int test (int i, double x);
13825 struct s1 {int (*f) (int a);};
13826 struct s2 {int (*f) (double a);};
13827 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13833 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13838 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13839 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13841 CC="$ac_save_CC $ac_arg"
13842 if ac_fn_c_try_compile "$LINENO"; then :
13843 ac_cv_prog_cc_c89=$ac_arg
13845 rm -f core conftest.err conftest.$ac_objext
13846 test "x$ac_cv_prog_cc_c89" != "xno" && break
13848 rm -f conftest.$ac_ext
13853 case "x$ac_cv_prog_cc_c89" in
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13856 $as_echo "none needed" >&6; } ;;
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13859 $as_echo "unsupported" >&6; } ;;
13861 CC="$CC $ac_cv_prog_cc_c89"
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13863 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13865 if test "x$ac_cv_prog_cc_c89" != xno; then :
13870 ac_cpp='$CPP $CPPFLAGS'
13871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13876 ac_cpp='$CPP $CPPFLAGS'
13877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13881 $as_echo_n "checking how to run the C preprocessor... " >&6; }
13882 # On Suns, sometimes $CPP names a directory.
13883 if test -n "$CPP" && test -d "$CPP"; then
13886 if test -z "$CPP"; then
13887 if ${ac_cv_prog_CPP+:} false; then :
13888 $as_echo_n "(cached) " >&6
13890 # Double quotes because CPP needs to be expanded
13891 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13893 ac_preproc_ok=false
13894 for ac_c_preproc_warn_flag in '' yes
13896 # Use a header file that comes with gcc, so configuring glibc
13897 # with a fresh cross-compiler works.
13898 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13899 # <limits.h> exists even on freestanding compilers.
13900 # On the NeXT, cc -E runs the code through the compiler's parser,
13901 # not just through cpp. "Syntax error" is here to catch this case.
13902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13903 /* end confdefs.h. */
13905 # include <limits.h>
13907 # include <assert.h>
13911 if ac_fn_c_try_cpp "$LINENO"; then :
13914 # Broken: fails on valid input.
13917 rm -f conftest.err conftest.i conftest.$ac_ext
13919 # OK, works on sane cases. Now check whether nonexistent headers
13920 # can be detected and how.
13921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13923 #include <ac_nonexistent.h>
13925 if ac_fn_c_try_cpp "$LINENO"; then :
13926 # Broken: success on invalid input.
13929 # Passes both tests.
13933 rm -f conftest.err conftest.i conftest.$ac_ext
13936 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13937 rm -f conftest.i conftest.err conftest.$ac_ext
13938 if $ac_preproc_ok; then :
13943 ac_cv_prog_CPP=$CPP
13946 CPP=$ac_cv_prog_CPP
13948 ac_cv_prog_CPP=$CPP
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13951 $as_echo "$CPP" >&6; }
13952 ac_preproc_ok=false
13953 for ac_c_preproc_warn_flag in '' yes
13955 # Use a header file that comes with gcc, so configuring glibc
13956 # with a fresh cross-compiler works.
13957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13958 # <limits.h> exists even on freestanding compilers.
13959 # On the NeXT, cc -E runs the code through the compiler's parser,
13960 # not just through cpp. "Syntax error" is here to catch this case.
13961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13962 /* end confdefs.h. */
13964 # include <limits.h>
13966 # include <assert.h>
13970 if ac_fn_c_try_cpp "$LINENO"; then :
13973 # Broken: fails on valid input.
13976 rm -f conftest.err conftest.i conftest.$ac_ext
13978 # OK, works on sane cases. Now check whether nonexistent headers
13979 # can be detected and how.
13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h. */
13982 #include <ac_nonexistent.h>
13984 if ac_fn_c_try_cpp "$LINENO"; then :
13985 # Broken: success on invalid input.
13988 # Passes both tests.
13992 rm -f conftest.err conftest.i conftest.$ac_ext
13995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13996 rm -f conftest.i conftest.err conftest.$ac_ext
13997 if $ac_preproc_ok; then :
14000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14002 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
14003 See \`config.log' for more details" "$LINENO" 5; }
14007 ac_cpp='$CPP $CPPFLAGS'
14008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14013 ac_cpp='$CXXCPP $CPPFLAGS'
14014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14017 if test -z "$CXX"; then
14018 if test -n "$CCC"; then
14021 if test -n "$ac_tool_prefix"; then
14022 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14025 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14027 $as_echo_n "checking for $ac_word... " >&6; }
14028 if ${ac_cv_prog_CXX+:} false; then :
14029 $as_echo_n "(cached) " >&6
14031 if test -n "$CXX"; then
14032 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14035 for as_dir in $PATH
14038 test -z "$as_dir" && as_dir=.
14039 for ac_exec_ext in '' $ac_executable_extensions; do
14040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14041 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14051 CXX=$ac_cv_prog_CXX
14052 if test -n "$CXX"; then
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14054 $as_echo "$CXX" >&6; }
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14057 $as_echo "no" >&6; }
14061 test -n "$CXX" && break
14064 if test -z "$CXX"; then
14066 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14068 # Extract the first word of "$ac_prog", so it can be a program name with args.
14069 set dummy $ac_prog; ac_word=$2
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14071 $as_echo_n "checking for $ac_word... " >&6; }
14072 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
14073 $as_echo_n "(cached) " >&6
14075 if test -n "$ac_ct_CXX"; then
14076 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14079 for as_dir in $PATH
14082 test -z "$as_dir" && as_dir=.
14083 for ac_exec_ext in '' $ac_executable_extensions; do
14084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14085 ac_cv_prog_ac_ct_CXX="$ac_prog"
14086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14095 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14096 if test -n "$ac_ct_CXX"; then
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14098 $as_echo "$ac_ct_CXX" >&6; }
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14101 $as_echo "no" >&6; }
14105 test -n "$ac_ct_CXX" && break
14108 if test "x$ac_ct_CXX" = x; then
14111 case $cross_compiling:$ac_tool_warned in
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14115 ac_tool_warned=yes ;;
14123 # Provide some information about the compiler.
14124 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14127 for ac_option in --version -v -V -qversion; do
14128 { { ac_try="$ac_compiler $ac_option >&5"
14129 case "(($ac_try" in
14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14131 *) ac_try_echo=$ac_try;;
14133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14134 $as_echo "$ac_try_echo"; } >&5
14135 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14137 if test -s conftest.err; then
14139 ... rest of stderr output deleted ...
14140 10q' conftest.err >conftest.er1
14141 cat conftest.er1 >&5
14143 rm -f conftest.er1 conftest.err
14144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14145 test $ac_status = 0; }
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14149 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14150 if ${ac_cv_cxx_compiler_gnu+:} false; then :
14151 $as_echo_n "(cached) " >&6
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14167 if ac_fn_cxx_try_compile "$LINENO"; then :
14168 ac_compiler_gnu=yes
14172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14173 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14177 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14178 if test $ac_compiler_gnu = yes; then
14183 ac_test_CXXFLAGS=${CXXFLAGS+set}
14184 ac_save_CXXFLAGS=$CXXFLAGS
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14186 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14187 if ${ac_cv_prog_cxx_g+:} false; then :
14188 $as_echo_n "(cached) " >&6
14190 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14191 ac_cxx_werror_flag=yes
14192 ac_cv_prog_cxx_g=no
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14205 if ac_fn_cxx_try_compile "$LINENO"; then :
14206 ac_cv_prog_cxx_g=yes
14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14220 if ac_fn_cxx_try_compile "$LINENO"; then :
14223 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14236 if ac_fn_cxx_try_compile "$LINENO"; then :
14237 ac_cv_prog_cxx_g=yes
14239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14244 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14247 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14248 if test "$ac_test_CXXFLAGS" = set; then
14249 CXXFLAGS=$ac_save_CXXFLAGS
14250 elif test $ac_cv_prog_cxx_g = yes; then
14251 if test "$GXX" = yes; then
14257 if test "$GXX" = yes; then
14264 ac_cpp='$CPP $CPPFLAGS'
14265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14269 depcc="$CXX" am_compiler_list=
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14272 $as_echo_n "checking dependency style of $depcc... " >&6; }
14273 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
14274 $as_echo_n "(cached) " >&6
14276 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14277 # We make a subdir and do the tests there. Otherwise we can end up
14278 # making bogus files that we don't know about and never remove. For
14279 # instance it was reported that on HP-UX the gcc test will end up
14280 # making a dummy file named `D' -- because `-MD' means `put the output
14282 rm -rf conftest.dir
14284 # Copy depcomp to subdir because otherwise we won't find it if we're
14285 # using a relative directory.
14286 cp "$am_depcomp" conftest.dir
14288 # We will build objects and dependencies in a subdirectory because
14289 # it helps to detect inapplicable dependency modes. For instance
14290 # both Tru64's cc and ICC support -MD to output dependencies as a
14291 # side effect of compilation, but ICC will put the dependencies in
14292 # the current directory while Tru64 will put them in the object
14296 am_cv_CXX_dependencies_compiler_type=none
14297 if test "$am_compiler_list" = ""; then
14298 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14300 am__universal=false
14301 case " $depcc " in #(
14302 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14305 for depmode in $am_compiler_list; do
14306 # Setup a source with many dependencies, because some compilers
14307 # like to wrap large dependency lists on column 80 (with \), and
14308 # we should not choose a depcomp mode which is confused by this.
14310 # We need to recreate these files for each test, as the compiler may
14311 # overwrite some of them when testing with obscure command lines.
14312 # This happens at least with the AIX C compiler.
14314 for i in 1 2 3 4 5 6; do
14315 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14316 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14317 # Solaris 8's {/usr,}/bin/sh.
14318 touch sub/conftst$i.h
14320 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14322 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14323 # mode. It turns out that the SunPro C++ compiler does not properly
14324 # handle `-M -o', and we need to detect this. Also, some Intel
14325 # versions had trouble with output in subdirs
14326 am__obj=sub/conftest.${OBJEXT-o}
14327 am__minus_obj="-o $am__obj"
14330 # This depmode causes a compiler race in universal mode.
14331 test "$am__universal" = false || continue
14334 # after this tag, mechanisms are not by side-effect, so they'll
14335 # only be used when explicitly requested
14336 if test "x$enable_dependency_tracking" = xyes; then
14342 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14343 # This compiler won't grok `-c -o', but also, the minuso test has
14344 # not run yet. These depmodes are late enough in the game, and
14345 # so weak that their functioning should not be impacted.
14346 am__obj=conftest.${OBJEXT-o}
14351 if depmode=$depmode \
14352 source=sub/conftest.c object=$am__obj \
14353 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14354 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14355 >/dev/null 2>conftest.err &&
14356 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14357 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14358 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14359 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14360 # icc doesn't choke on unknown options, it will just issue warnings
14361 # or remarks (even with -Werror). So we grep stderr for any message
14362 # that says an option was ignored or not supported.
14363 # When given -MP, icc 7.0 and 7.1 complain thusly:
14364 # icc: Command line warning: ignoring option '-M'; no argument required
14365 # The diagnosis changed in icc 8.0:
14366 # icc: Command line remark: option '-MP' not supported
14367 if (grep 'ignoring option' conftest.err ||
14368 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14369 am_cv_CXX_dependencies_compiler_type=$depmode
14376 rm -rf conftest.dir
14378 am_cv_CXX_dependencies_compiler_type=none
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14383 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14384 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14387 test "x$enable_dependency_tracking" != xno \
14388 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14389 am__fastdepCXX_TRUE=
14390 am__fastdepCXX_FALSE='#'
14392 am__fastdepCXX_TRUE='#'
14393 am__fastdepCXX_FALSE=
14399 func_stripname_cnf ()
14402 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14403 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14405 } # func_stripname_cnf
14407 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14408 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14409 (test "X$CXX" != "Xg++"))) ; then
14411 ac_cpp='$CXXCPP $CPPFLAGS'
14412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14416 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14417 if test -z "$CXXCPP"; then
14418 if ${ac_cv_prog_CXXCPP+:} false; then :
14419 $as_echo_n "(cached) " >&6
14421 # Double quotes because CXXCPP needs to be expanded
14422 for CXXCPP in "$CXX -E" "/lib/cpp"
14424 ac_preproc_ok=false
14425 for ac_cxx_preproc_warn_flag in '' yes
14427 # Use a header file that comes with gcc, so configuring glibc
14428 # with a fresh cross-compiler works.
14429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14430 # <limits.h> exists even on freestanding compilers.
14431 # On the NeXT, cc -E runs the code through the compiler's parser,
14432 # not just through cpp. "Syntax error" is here to catch this case.
14433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14436 # include <limits.h>
14438 # include <assert.h>
14442 if ac_fn_cxx_try_cpp "$LINENO"; then :
14445 # Broken: fails on valid input.
14448 rm -f conftest.err conftest.i conftest.$ac_ext
14450 # OK, works on sane cases. Now check whether nonexistent headers
14451 # can be detected and how.
14452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14453 /* end confdefs.h. */
14454 #include <ac_nonexistent.h>
14456 if ac_fn_cxx_try_cpp "$LINENO"; then :
14457 # Broken: success on invalid input.
14460 # Passes both tests.
14464 rm -f conftest.err conftest.i conftest.$ac_ext
14467 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14468 rm -f conftest.i conftest.err conftest.$ac_ext
14469 if $ac_preproc_ok; then :
14474 ac_cv_prog_CXXCPP=$CXXCPP
14477 CXXCPP=$ac_cv_prog_CXXCPP
14479 ac_cv_prog_CXXCPP=$CXXCPP
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14482 $as_echo "$CXXCPP" >&6; }
14483 ac_preproc_ok=false
14484 for ac_cxx_preproc_warn_flag in '' yes
14486 # Use a header file that comes with gcc, so configuring glibc
14487 # with a fresh cross-compiler works.
14488 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14489 # <limits.h> exists even on freestanding compilers.
14490 # On the NeXT, cc -E runs the code through the compiler's parser,
14491 # not just through cpp. "Syntax error" is here to catch this case.
14492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14495 # include <limits.h>
14497 # include <assert.h>
14501 if ac_fn_cxx_try_cpp "$LINENO"; then :
14504 # Broken: fails on valid input.
14507 rm -f conftest.err conftest.i conftest.$ac_ext
14509 # OK, works on sane cases. Now check whether nonexistent headers
14510 # can be detected and how.
14511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h. */
14513 #include <ac_nonexistent.h>
14515 if ac_fn_cxx_try_cpp "$LINENO"; then :
14516 # Broken: success on invalid input.
14519 # Passes both tests.
14523 rm -f conftest.err conftest.i conftest.$ac_ext
14526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14527 rm -f conftest.i conftest.err conftest.$ac_ext
14528 if $ac_preproc_ok; then :
14531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14533 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14534 See \`config.log' for more details" "$LINENO" 5; }
14538 ac_cpp='$CPP $CPPFLAGS'
14539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14544 _lt_caught_CXX_error=yes
14548 ac_cpp='$CXXCPP $CPPFLAGS'
14549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14553 archive_cmds_need_lc_CXX=no
14554 allow_undefined_flag_CXX=
14555 always_export_symbols_CXX=no
14556 archive_expsym_cmds_CXX=
14557 compiler_needs_object_CXX=no
14558 export_dynamic_flag_spec_CXX=
14559 hardcode_direct_CXX=no
14560 hardcode_direct_absolute_CXX=no
14561 hardcode_libdir_flag_spec_CXX=
14562 hardcode_libdir_separator_CXX=
14563 hardcode_minus_L_CXX=no
14564 hardcode_shlibpath_var_CXX=unsupported
14565 hardcode_automatic_CXX=no
14566 inherit_rpath_CXX=no
14568 module_expsym_cmds_CXX=
14569 link_all_deplibs_CXX=unknown
14570 old_archive_cmds_CXX=$old_archive_cmds
14571 reload_flag_CXX=$reload_flag
14572 reload_cmds_CXX=$reload_cmds
14573 no_undefined_flag_CXX=
14574 whole_archive_flag_spec_CXX=
14575 enable_shared_with_static_runtimes_CXX=no
14577 # Source file extension for C++ test sources.
14580 # Object file extension for compiled C++ test sources.
14584 # No sense in running all these tests if we already determined that
14585 # the CXX compiler isn't working. Some variables (like enable_shared)
14586 # are currently assumed to apply to all compilers on this platform,
14587 # and will be corrupted by setting them based on a non-working compiler.
14588 if test "$_lt_caught_CXX_error" != yes; then
14589 # Code to be used in simple compile tests
14590 lt_simple_compile_test_code="int some_variable = 0;"
14592 # Code to be used in simple link tests
14593 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14595 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14602 # If no C compiler was specified, use CC.
14605 # If no C compiler flags were specified, use CFLAGS.
14606 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14608 # Allow CC to be a program name with arguments.
14612 # save warnings/boilerplate of simple test code
14613 ac_outfile=conftest.$ac_objext
14614 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14615 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14616 _lt_compiler_boilerplate=`cat conftest.err`
14619 ac_outfile=conftest.$ac_objext
14620 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14621 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14622 _lt_linker_boilerplate=`cat conftest.err`
14626 # Allow CC to be a program name with arguments.
14628 lt_save_CFLAGS=$CFLAGS
14632 lt_save_with_gnu_ld=$with_gnu_ld
14633 lt_save_path_LD=$lt_cv_path_LD
14634 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14635 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14637 $as_unset lt_cv_prog_gnu_ld
14639 if test -n "${lt_cv_path_LDCXX+set}"; then
14640 lt_cv_path_LD=$lt_cv_path_LDCXX
14642 $as_unset lt_cv_path_LD
14644 test -z "${LDCXX+set}" || LD=$LDCXX
14649 for cc_temp in $compiler""; do
14651 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14652 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14657 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14660 if test -n "$compiler"; then
14661 # We don't want -fno-exception when compiling C++ code, so set the
14662 # no_builtin_flag separately
14663 if test "$GXX" = yes; then
14664 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14666 lt_prog_compiler_no_builtin_flag_CXX=
14669 if test "$GXX" = yes; then
14670 # Set up default GNU C++ configuration
14674 # Check whether --with-gnu-ld was given.
14675 if test "${with_gnu_ld+set}" = set; then :
14676 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14682 if test "$GCC" = yes; then
14683 # Check if gcc -print-prog-name=ld gives a path.
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14685 $as_echo_n "checking for ld used by $CC... " >&6; }
14688 # gcc leaves a trailing carriage return which upsets mingw
14689 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14691 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14694 # Accept absolute paths.
14696 re_direlt='/[^/][^/]*/\.\./'
14697 # Canonicalize the pathname of ld
14698 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14699 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14700 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14702 test -z "$LD" && LD="$ac_prog"
14705 # If it fails, then pretend we aren't using GCC.
14709 # If it is relative, then search for the first ld in PATH.
14710 with_gnu_ld=unknown
14713 elif test "$with_gnu_ld" = yes; then
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14715 $as_echo_n "checking for GNU ld... " >&6; }
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14718 $as_echo_n "checking for non-GNU ld... " >&6; }
14720 if ${lt_cv_path_LD+:} false; then :
14721 $as_echo_n "(cached) " >&6
14723 if test -z "$LD"; then
14724 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14725 for ac_dir in $PATH; do
14727 test -z "$ac_dir" && ac_dir=.
14728 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14729 lt_cv_path_LD="$ac_dir/$ac_prog"
14730 # Check to see if the program is GNU ld. I'd rather use --version,
14731 # but apparently some variants of GNU ld only accept -v.
14732 # Break only if it was the GNU/non-GNU ld that we prefer.
14733 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14734 *GNU* | *'with BFD'*)
14735 test "$with_gnu_ld" != no && break
14738 test "$with_gnu_ld" != yes && break
14745 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14749 LD="$lt_cv_path_LD"
14750 if test -n "$LD"; then
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14752 $as_echo "$LD" >&6; }
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14755 $as_echo "no" >&6; }
14757 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14759 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14760 if ${lt_cv_prog_gnu_ld+:} false; then :
14761 $as_echo_n "(cached) " >&6
14763 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14764 case `$LD -v 2>&1 </dev/null` in
14765 *GNU* | *'with BFD'*)
14766 lt_cv_prog_gnu_ld=yes
14769 lt_cv_prog_gnu_ld=no
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14774 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14775 with_gnu_ld=$lt_cv_prog_gnu_ld
14783 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14784 # archiving commands below assume that GNU ld is being used.
14785 if test "$with_gnu_ld" = yes; then
14786 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14787 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14789 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14790 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14792 # If archive_cmds runs LD, not CC, wlarc should be empty
14793 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14794 # investigate it a little bit more. (MM)
14797 # ancient GNU ld didn't support --whole-archive et. al.
14798 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14799 $GREP 'no-whole-archive' > /dev/null; then
14800 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14802 whole_archive_flag_spec_CXX=
14808 # A generic and very simple default shared library creation
14809 # command for GNU C++ for the case where it uses the native
14810 # linker, instead of GNU ld. If possible, this setting should
14811 # overridden to take advantage of the native linker features on
14812 # the platform it is being used on.
14813 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14816 # Commands to make compiler produce verbose output that lists
14817 # what "hidden" libraries, object files and flags are used when
14818 # linking a shared library.
14819 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14827 # PORTME: fill in a description of your system's C++ link characteristics
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14829 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14833 # FIXME: insert proper C++ library support
14837 if test "$host_cpu" = ia64; then
14838 # On IA64, the linker does run time linking by default, so we don't
14839 # have to do anything special.
14840 aix_use_runtimelinking=no
14841 exp_sym_flag='-Bexport'
14844 aix_use_runtimelinking=no
14846 # Test if we are trying to use run time linking or normal
14847 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14848 # need to do runtime linking.
14849 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14850 for ld_flag in $LDFLAGS; do
14853 aix_use_runtimelinking=yes
14861 exp_sym_flag='-bexport'
14862 no_entry_flag='-bnoentry'
14865 # When large executables or shared objects are built, AIX ld can
14866 # have problems creating the table of contents. If linking a library
14867 # or program results in "error TOC overflow" add -mminimal-toc to
14868 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14869 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14871 archive_cmds_CXX=''
14872 hardcode_direct_CXX=yes
14873 hardcode_direct_absolute_CXX=yes
14874 hardcode_libdir_separator_CXX=':'
14875 link_all_deplibs_CXX=yes
14876 file_list_spec_CXX='${wl}-f,'
14878 if test "$GXX" = yes; then
14879 case $host_os in aix4.[012]|aix4.[012].*)
14880 # We only want to do this on AIX 4.2 and lower, the check
14881 # below for broken collect2 doesn't work under 4.3+
14882 collect2name=`${CC} -print-prog-name=collect2`
14883 if test -f "$collect2name" &&
14884 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14886 # We have reworked collect2
14889 # We have old collect2
14890 hardcode_direct_CXX=unsupported
14891 # It fails to find uninstalled libraries when the uninstalled
14892 # path is not listed in the libpath. Setting hardcode_minus_L
14893 # to unsupported forces relinking
14894 hardcode_minus_L_CXX=yes
14895 hardcode_libdir_flag_spec_CXX='-L$libdir'
14896 hardcode_libdir_separator_CXX=
14899 shared_flag='-shared'
14900 if test "$aix_use_runtimelinking" = yes; then
14901 shared_flag="$shared_flag "'${wl}-G'
14905 if test "$host_cpu" = ia64; then
14906 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14907 # chokes on -Wl,-G. The following line is correct:
14910 if test "$aix_use_runtimelinking" = yes; then
14911 shared_flag='${wl}-G'
14913 shared_flag='${wl}-bM:SRE'
14918 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14919 # It seems that -bexpall does not export symbols beginning with
14920 # underscore (_), so it is better to generate a list of symbols to
14922 always_export_symbols_CXX=yes
14923 if test "$aix_use_runtimelinking" = yes; then
14924 # Warning - without using the other runtime loading flags (-brtl),
14925 # -berok will link without error, but may produce a broken library.
14926 allow_undefined_flag_CXX='-berok'
14927 # Determine the default libpath from the value encoded in an empty
14929 if test "${lt_cv_aix_libpath+set}" = set; then
14930 aix_libpath=$lt_cv_aix_libpath
14932 if ${lt_cv_aix_libpath__CXX+:} false; then :
14933 $as_echo_n "(cached) " >&6
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14946 if ac_fn_cxx_try_link "$LINENO"; then :
14948 lt_aix_libpath_sed='
14949 /Import File Strings/,/^$/ {
14951 s/^0 *\([^ ]*\) *$/\1/
14955 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14956 # Check for a 64-bit object if we didn't find anything.
14957 if test -z "$lt_cv_aix_libpath__CXX"; then
14958 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext conftest.$ac_ext
14963 if test -z "$lt_cv_aix_libpath__CXX"; then
14964 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14969 aix_libpath=$lt_cv_aix_libpath__CXX
14972 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14974 archive_expsym_cmds_CXX='$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"
14976 if test "$host_cpu" = ia64; then
14977 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14978 allow_undefined_flag_CXX="-z nodefs"
14979 archive_expsym_cmds_CXX="\$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"
14981 # Determine the default libpath from the value encoded in an
14982 # empty executable.
14983 if test "${lt_cv_aix_libpath+set}" = set; then
14984 aix_libpath=$lt_cv_aix_libpath
14986 if ${lt_cv_aix_libpath__CXX+:} false; then :
14987 $as_echo_n "(cached) " >&6
14989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
15000 if ac_fn_cxx_try_link "$LINENO"; then :
15002 lt_aix_libpath_sed='
15003 /Import File Strings/,/^$/ {
15005 s/^0 *\([^ ]*\) *$/\1/
15009 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15010 # Check for a 64-bit object if we didn't find anything.
15011 if test -z "$lt_cv_aix_libpath__CXX"; then
15012 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15015 rm -f core conftest.err conftest.$ac_objext \
15016 conftest$ac_exeext conftest.$ac_ext
15017 if test -z "$lt_cv_aix_libpath__CXX"; then
15018 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15023 aix_libpath=$lt_cv_aix_libpath__CXX
15026 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15027 # Warning - without using the other run time loading flags,
15028 # -berok will link without error, but may produce a broken library.
15029 no_undefined_flag_CXX=' ${wl}-bernotok'
15030 allow_undefined_flag_CXX=' ${wl}-berok'
15031 if test "$with_gnu_ld" = yes; then
15032 # We only use this code for GNU lds that support --whole-archive.
15033 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15035 # Exported symbols can be pulled into shared objects from archives
15036 whole_archive_flag_spec_CXX='$convenience'
15038 archive_cmds_need_lc_CXX=yes
15039 # This is similar to how AIX traditionally builds its shared
15041 archive_expsym_cmds_CXX="\$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'
15047 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15048 allow_undefined_flag_CXX=unsupported
15049 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15050 # support --undefined. This deserves some investigation. FIXME
15051 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15058 case $cc_basename in
15060 # FIXME: insert proper C++ library support
15066 cygwin* | mingw* | pw32* | cegcc*)
15067 case $GXX,$cc_basename in
15070 # hardcode_libdir_flag_spec is actually meaningless, as there is
15071 # no search path for DLLs.
15072 hardcode_libdir_flag_spec_CXX=' '
15073 allow_undefined_flag_CXX=unsupported
15074 always_export_symbols_CXX=yes
15075 file_list_spec_CXX='@'
15076 # Tell ltmain to make .lib files, not .a files.
15078 # Tell ltmain to make .dll files, not .so files.
15080 # FIXME: Setting linknames here is a bad hack.
15081 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15082 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15083 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15085 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15087 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15089 # The linker will not automatically build a static lib if we build a DLL.
15090 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15091 enable_shared_with_static_runtimes_CXX=yes
15093 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15094 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15095 lt_tool_outputfile="@TOOL_OUTPUT@"~
15096 case $lt_outputfile in
15099 lt_outputfile="$lt_outputfile.exe"
15100 lt_tool_outputfile="$lt_tool_outputfile.exe"
15103 func_to_tool_file "$lt_outputfile"~
15104 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15105 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15106 $RM "$lt_outputfile.manifest";
15111 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15112 # as there is no search path for DLLs.
15113 hardcode_libdir_flag_spec_CXX='-L$libdir'
15114 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15115 allow_undefined_flag_CXX=unsupported
15116 always_export_symbols_CXX=no
15117 enable_shared_with_static_runtimes_CXX=yes
15119 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15120 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15121 # If the export-symbols file already is a .def file (1st line
15122 # is EXPORTS), use it as is; otherwise, prepend...
15123 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15124 cp $export_symbols $output_objdir/$soname.def;
15126 echo EXPORTS > $output_objdir/$soname.def;
15127 cat $export_symbols >> $output_objdir/$soname.def;
15129 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15136 darwin* | rhapsody*)
15139 archive_cmds_need_lc_CXX=no
15140 hardcode_direct_CXX=no
15141 hardcode_automatic_CXX=yes
15142 hardcode_shlibpath_var_CXX=unsupported
15143 if test "$lt_cv_ld_force_load" = "yes"; then
15144 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15147 whole_archive_flag_spec_CXX=''
15149 link_all_deplibs_CXX=yes
15150 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15151 case $cc_basename in
15152 ifort*) _lt_dar_can_shared=yes ;;
15153 *) _lt_dar_can_shared=$GCC ;;
15155 if test "$_lt_dar_can_shared" = "yes"; then
15156 output_verbose_link_cmd=func_echo_all
15157 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15158 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15159 archive_expsym_cmds_CXX="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}"
15160 module_expsym_cmds_CXX="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}"
15161 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15162 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
15163 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
15173 case $cc_basename in
15175 # FIXME: insert proper C++ library support
15179 # Green Hills C++ Compiler
15180 # FIXME: insert proper C++ library support
15184 # FIXME: insert proper C++ library support
15191 # C++ shared libraries reported to be fairly broken before
15197 archive_cmds_need_lc_CXX=no
15200 freebsd* | dragonfly*)
15201 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15207 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15208 link_all_deplibs_CXX=yes
15212 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15213 hardcode_libdir_separator_CXX=:
15214 export_dynamic_flag_spec_CXX='${wl}-E'
15215 hardcode_direct_CXX=yes
15216 hardcode_minus_L_CXX=yes # Not in the search PATH,
15217 # but as the default
15218 # location of the library.
15220 case $cc_basename in
15222 # FIXME: insert proper C++ library support
15226 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15227 # Commands to make compiler produce verbose output that lists
15228 # what "hidden" libraries, object files and flags are used when
15229 # linking a shared library.
15231 # There doesn't appear to be a way to prevent this compiler from
15232 # explicitly linking system object files so we need to strip them
15233 # from the output so that they don't get included in the library
15235 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15238 if test "$GXX" = yes; then
15239 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15241 # FIXME: insert proper C++ library support
15249 if test $with_gnu_ld = no; then
15250 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15251 hardcode_libdir_separator_CXX=:
15257 export_dynamic_flag_spec_CXX='${wl}-E'
15263 hardcode_direct_CXX=no
15264 hardcode_shlibpath_var_CXX=no
15267 hardcode_direct_CXX=yes
15268 hardcode_direct_absolute_CXX=yes
15269 hardcode_minus_L_CXX=yes # Not in the search PATH,
15270 # but as the default
15271 # location of the library.
15275 case $cc_basename in
15277 # FIXME: insert proper C++ library support
15283 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15286 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15289 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15292 # Commands to make compiler produce verbose output that lists
15293 # what "hidden" libraries, object files and flags are used when
15294 # linking a shared library.
15296 # There doesn't appear to be a way to prevent this compiler from
15297 # explicitly linking system object files so we need to strip them
15298 # from the output so that they don't get included in the library
15300 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15303 if test "$GXX" = yes; then
15304 if test $with_gnu_ld = no; then
15307 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15310 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15313 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15318 # FIXME: insert proper C++ library support
15326 hardcode_direct_CXX=no
15327 hardcode_shlibpath_var_CXX=no
15328 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15329 export_dynamic_flag_spec_CXX='${wl}-E'
15330 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15331 # Instead, shared libraries are loaded at an image base (0x10000000 by
15332 # default) and relocated if they conflict, which is a slow very memory
15333 # consuming and fragmenting process. To avoid this, we pick a random,
15334 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15335 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15336 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15337 archive_expsym_cmds_CXX='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'
15340 case $cc_basename in
15343 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15345 # Archives containing C++ object files must be created using
15346 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15347 # necessary to make sure instantiated templates are included
15349 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15352 if test "$GXX" = yes; then
15353 if test "$with_gnu_ld" = no; then
15354 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
15356 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15359 link_all_deplibs_CXX=yes
15362 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15363 hardcode_libdir_separator_CXX=:
15364 inherit_rpath_CXX=yes
15367 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15368 case $cc_basename in
15370 # Kuck and Associates, Inc. (KAI) C++ Compiler
15372 # KCC will only create a shared library if the output file
15373 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15374 # to its proper name (with version) after linking.
15375 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15376 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15377 # Commands to make compiler produce verbose output that lists
15378 # what "hidden" libraries, object files and flags are used when
15379 # linking a shared library.
15381 # There doesn't appear to be a way to prevent this compiler from
15382 # explicitly linking system object files so we need to strip them
15383 # from the output so that they don't get included in the library
15385 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15387 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15388 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15390 # Archives containing C++ object files must be created using
15391 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15392 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15397 # version 8.0 and above of icpc choke on multiply defined symbols
15398 # if we add $predep_objects and $postdep_objects, however 7.1 and
15399 # earlier do not add the objects themselves.
15400 case `$CC -V 2>&1` in
15402 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15403 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15405 *) # Version 8.0 or newer
15408 ia64*) tmp_idyn=' -i_dynamic';;
15410 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15411 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15414 archive_cmds_need_lc_CXX=no
15415 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15416 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15417 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15420 # Portland Group C++ compiler
15422 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15423 prelink_cmds_CXX='tpldir=Template.dir~
15425 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15426 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15427 old_archive_cmds_CXX='tpldir=Template.dir~
15429 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15430 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15432 archive_cmds_CXX='tpldir=Template.dir~
15434 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15435 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15436 archive_expsym_cmds_CXX='tpldir=Template.dir~
15438 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15439 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15441 *) # Version 6 and above use weak symbols
15442 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15443 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15447 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15448 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15449 whole_archive_flag_spec_CXX='${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'
15453 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15454 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15456 runpath_var=LD_RUN_PATH
15457 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15458 hardcode_libdir_separator_CXX=:
15460 # Commands to make compiler produce verbose output that lists
15461 # what "hidden" libraries, object files and flags are used when
15462 # linking a shared library.
15464 # There doesn't appear to be a way to prevent this compiler from
15465 # explicitly linking system object files so we need to strip them
15466 # from the output so that they don't get included in the library
15468 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15470 xl* | mpixl* | bgxl*)
15471 # IBM XL 8.0 on PPC, with GNU ld
15472 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15473 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15474 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15475 if test "x$supports_anon_versioning" = xyes; then
15476 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15477 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15478 echo "local: *; };" >> $output_objdir/$libname.ver~
15479 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15483 case `$CC -V 2>&1 | sed 5q` in
15486 no_undefined_flag_CXX=' -zdefs'
15487 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15488 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15489 hardcode_libdir_flag_spec_CXX='-R$libdir'
15490 whole_archive_flag_spec_CXX='${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'
15491 compiler_needs_object_CXX=yes
15493 # Not sure whether something based on
15494 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15496 output_verbose_link_cmd='func_echo_all'
15498 # Archives containing C++ object files must be created using
15499 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15500 # necessary to make sure instantiated templates are included
15502 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15510 # FIXME: insert proper C++ library support
15515 # FIXME: insert proper C++ library support
15520 case $cc_basename in
15522 # FIXME: insert proper C++ library support
15526 # FIXME: insert proper C++ library support
15533 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15534 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15536 hardcode_libdir_flag_spec_CXX='-R$libdir'
15537 hardcode_direct_CXX=yes
15538 hardcode_shlibpath_var_CXX=no
15540 # Workaround some broken pre-1.5 toolchains
15541 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15549 # C++ shared libraries are fairly broken
15554 if test -f /usr/libexec/ld.so; then
15555 hardcode_direct_CXX=yes
15556 hardcode_shlibpath_var_CXX=no
15557 hardcode_direct_absolute_CXX=yes
15558 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15559 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15560 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15561 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15562 export_dynamic_flag_spec_CXX='${wl}-E'
15563 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15565 output_verbose_link_cmd=func_echo_all
15571 osf3* | osf4* | osf5*)
15572 case $cc_basename in
15574 # Kuck and Associates, Inc. (KAI) C++ Compiler
15576 # KCC will only create a shared library if the output file
15577 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15578 # to its proper name (with version) after linking.
15579 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15581 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15582 hardcode_libdir_separator_CXX=:
15584 # Archives containing C++ object files must be created using
15585 # the KAI C++ compiler.
15587 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15588 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15592 # Rational C++ 2.4.1
15593 # FIXME: insert proper C++ library support
15599 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15600 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15601 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15604 allow_undefined_flag_CXX=' -expect_unresolved \*'
15605 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15606 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15607 echo "-hidden">> $lib.exp~
15608 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
15610 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15614 hardcode_libdir_separator_CXX=:
15616 # Commands to make compiler produce verbose output that lists
15617 # what "hidden" libraries, object files and flags are used when
15618 # linking a shared library.
15620 # There doesn't appear to be a way to prevent this compiler from
15621 # explicitly linking system object files so we need to strip them
15622 # from the output so that they don't get included in the library
15624 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15627 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15628 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15631 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
15634 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
15638 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15639 hardcode_libdir_separator_CXX=:
15641 # Commands to make compiler produce verbose output that lists
15642 # what "hidden" libraries, object files and flags are used when
15643 # linking a shared library.
15644 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15647 # FIXME: insert proper C++ library support
15655 # FIXME: insert proper C++ library support
15660 case $cc_basename in
15663 # FIXME: insert proper C++ library support
15668 # FIXME: insert proper C++ library support
15672 # FIXME: insert proper C++ library support
15679 case $cc_basename in
15681 # Sun C++ 4.2, 5.x and Centerline C++
15682 archive_cmds_need_lc_CXX=yes
15683 no_undefined_flag_CXX=' -zdefs'
15684 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15685 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15686 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15688 hardcode_libdir_flag_spec_CXX='-R$libdir'
15689 hardcode_shlibpath_var_CXX=no
15691 solaris2.[0-5] | solaris2.[0-5].*) ;;
15693 # The compiler driver will combine and reorder linker options,
15694 # but understands `-z linker_flag'.
15695 # Supported since Solaris 2.6 (maybe 2.5.1?)
15696 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15699 link_all_deplibs_CXX=yes
15701 output_verbose_link_cmd='func_echo_all'
15703 # Archives containing C++ object files must be created using
15704 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15705 # necessary to make sure instantiated templates are included
15707 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15710 # Green Hills C++ Compiler
15711 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15713 # The C++ compiler must be used to create the archive.
15714 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15717 # GNU C++ compiler with Solaris linker
15718 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15719 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15720 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15721 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15722 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15723 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15725 # Commands to make compiler produce verbose output that lists
15726 # what "hidden" libraries, object files and flags are used when
15727 # linking a shared library.
15728 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15730 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15732 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15733 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15734 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15736 # Commands to make compiler produce verbose output that lists
15737 # what "hidden" libraries, object files and flags are used when
15738 # linking a shared library.
15739 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15742 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15744 solaris2.[0-5] | solaris2.[0-5].*) ;;
15746 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15754 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15755 no_undefined_flag_CXX='${wl}-z,text'
15756 archive_cmds_need_lc_CXX=no
15757 hardcode_shlibpath_var_CXX=no
15758 runpath_var='LD_RUN_PATH'
15760 case $cc_basename in
15762 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15763 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15766 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15767 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15772 sysv5* | sco3.2v5* | sco5v6*)
15773 # Note: We can NOT use -z defs as we might desire, because we do not
15774 # link with -lc, and that would cause any symbols used from libc to
15775 # always be unresolved, which means just about no library would
15776 # ever link correctly. If we're not using GNU ld we use -z text
15777 # though, which does catch some bad symbols but isn't as heavy-handed
15779 no_undefined_flag_CXX='${wl}-z,text'
15780 allow_undefined_flag_CXX='${wl}-z,nodefs'
15781 archive_cmds_need_lc_CXX=no
15782 hardcode_shlibpath_var_CXX=no
15783 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15784 hardcode_libdir_separator_CXX=':'
15785 link_all_deplibs_CXX=yes
15786 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15787 runpath_var='LD_RUN_PATH'
15789 case $cc_basename in
15791 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15792 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15793 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15794 '"$old_archive_cmds_CXX"
15795 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15796 '"$reload_cmds_CXX"
15799 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15800 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15806 case $cc_basename in
15808 # NonStop-UX NCC 3.20
15809 # FIXME: insert proper C++ library support
15813 # FIXME: insert proper C++ library support
15820 # FIXME: insert proper C++ library support
15825 # FIXME: insert proper C++ library support
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15831 $as_echo "$ld_shlibs_CXX" >&6; }
15832 test "$ld_shlibs_CXX" = no && can_build_shared=no
15838 ## There is no encapsulation within the following macros, do not change
15839 ## the running order or otherwise move them around unless you know exactly
15840 ## what you are doing...
15841 # Dependencies to place before and after the object being linked:
15842 predep_objects_CXX=
15843 postdep_objects_CXX=
15846 compiler_lib_search_path_CXX=
15848 cat > conftest.$ac_ext <<_LT_EOF
15852 Foo (void) { a = 0; }
15859 _lt_libdeps_save_CFLAGS=$CFLAGS
15860 case "$CC $CFLAGS " in #(
15861 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15862 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15863 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15867 (eval $ac_compile) 2>&5
15869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15870 test $ac_status = 0; }; then
15871 # Parse the compiler output and extract the necessary
15872 # objects, libraries and library flags.
15874 # Sentinel used to keep track of whether or not we are before
15875 # the conftest object file.
15876 pre_test_object_deps_done=no
15878 for p in `eval "$output_verbose_link_cmd"`; do
15879 case ${prev}${p} in
15882 # Some compilers place space between "-{L,R}" and the path.
15883 # Remove the space.
15884 if test $p = "-L" ||
15885 test $p = "-R"; then
15890 # Expand the sysroot to ease extracting the directories later.
15891 if test -z "$prev"; then
15893 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15894 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15895 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15899 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15901 if test "$pre_test_object_deps_done" = no; then
15904 # Internal compiler library paths should come after those
15905 # provided the user. The postdeps already come after the
15906 # user supplied libs so there is no need to process them.
15907 if test -z "$compiler_lib_search_path_CXX"; then
15908 compiler_lib_search_path_CXX="${prev}${p}"
15910 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15913 # The "-l" case would never come before the object being
15914 # linked, so don't bother handling this case.
15917 if test -z "$postdeps_CXX"; then
15918 postdeps_CXX="${prev}${p}"
15920 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15926 *.lto.$objext) ;; # Ignore GCC LTO objects
15928 # This assumes that the test object file only shows up
15929 # once in the compiler output.
15930 if test "$p" = "conftest.$objext"; then
15931 pre_test_object_deps_done=yes
15935 if test "$pre_test_object_deps_done" = no; then
15936 if test -z "$predep_objects_CXX"; then
15937 predep_objects_CXX="$p"
15939 predep_objects_CXX="$predep_objects_CXX $p"
15942 if test -z "$postdep_objects_CXX"; then
15943 postdep_objects_CXX="$p"
15945 postdep_objects_CXX="$postdep_objects_CXX $p"
15950 *) ;; # Ignore the rest.
15958 echo "libtool.m4: error: problem compiling CXX test program"
15961 $RM -f confest.$objext
15962 CFLAGS=$_lt_libdeps_save_CFLAGS
15964 # PORTME: override above test on systems where it is broken
15967 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15968 # hack all around it, let's just trust "g++" to DTRT.
15969 predep_objects_CXX=
15970 postdep_objects_CXX=
15975 case `$CC -V 2>&1 | sed 5q` in
15979 # The more standards-conforming stlport4 library is
15980 # incompatible with the Cstd library. Avoid specifying
15981 # it if it's in CXXFLAGS. Ignore libCrun as
15982 # -library=stlport4 depends on it.
15983 case " $CXX $CXXFLAGS " in
15984 *" -library=stlport4 "*)
15985 solaris_use_stlport4=yes
15989 if test "$solaris_use_stlport4" != yes; then
15990 postdeps_CXX='-library=Cstd -library=Crun'
15997 case $cc_basename in
15999 # The more standards-conforming stlport4 library is
16000 # incompatible with the Cstd library. Avoid specifying
16001 # it if it's in CXXFLAGS. Ignore libCrun as
16002 # -library=stlport4 depends on it.
16003 case " $CXX $CXXFLAGS " in
16004 *" -library=stlport4 "*)
16005 solaris_use_stlport4=yes
16009 # Adding this requires a known-good setup of shared libraries for
16010 # Sun compiler versions before 5.6, else PIC objects from an old
16011 # archive will be linked into the output, leading to subtle bugs.
16012 if test "$solaris_use_stlport4" != yes; then
16013 postdeps_CXX='-library=Cstd -library=Crun'
16021 case " $postdeps_CXX " in
16022 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16024 compiler_lib_search_dirs_CXX=
16025 if test -n "${compiler_lib_search_path_CXX}"; then
16026 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16059 lt_prog_compiler_wl_CXX=
16060 lt_prog_compiler_pic_CXX=
16061 lt_prog_compiler_static_CXX=
16064 # C++ specific cases for pic, static, wl, etc.
16065 if test "$GXX" = yes; then
16066 lt_prog_compiler_wl_CXX='-Wl,'
16067 lt_prog_compiler_static_CXX='-static'
16071 # All AIX code is PIC.
16072 if test "$host_cpu" = ia64; then
16073 # AIX 5 now supports IA64 processor
16074 lt_prog_compiler_static_CXX='-Bstatic'
16081 # see comment about AmigaOS4 .so support
16082 lt_prog_compiler_pic_CXX='-fPIC'
16085 # FIXME: we need at least 68020 code to build shared libraries, but
16086 # adding the `-m68020' flag to GCC prevents building anything better,
16088 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16093 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16094 # PIC is the default for these OSes.
16096 mingw* | cygwin* | os2* | pw32* | cegcc*)
16097 # This hack is so that the source file can tell whether it is being
16098 # built for inclusion in a dll (and should export symbols for example).
16099 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16100 # (--disable-auto-import) libraries
16101 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16103 darwin* | rhapsody*)
16104 # PIC is the default on this platform
16105 # Common symbols not allowed in MH_DYLIB files
16106 lt_prog_compiler_pic_CXX='-fno-common'
16109 # DJGPP does not support shared libraries at all
16110 lt_prog_compiler_pic_CXX=
16113 # PIC is the default for Haiku.
16114 # The "-static" flag exists, but is broken.
16115 lt_prog_compiler_static_CXX=
16118 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16119 # Instead, we relocate shared libraries at runtime.
16122 if test -d /usr/nec; then
16123 lt_prog_compiler_pic_CXX=-Kconform_pic
16127 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16128 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16129 # sets the default TLS model and affects inlining.
16134 lt_prog_compiler_pic_CXX='-fPIC'
16139 # QNX uses GNU C++, but need to define -shared option too, otherwise
16140 # it will coredump.
16141 lt_prog_compiler_pic_CXX='-fPIC -shared'
16144 lt_prog_compiler_pic_CXX='-fPIC'
16150 # All AIX code is PIC.
16151 if test "$host_cpu" = ia64; then
16152 # AIX 5 now supports IA64 processor
16153 lt_prog_compiler_static_CXX='-Bstatic'
16155 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16159 case $cc_basename in
16161 # Green Hills C++ Compiler
16162 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16166 mingw* | cygwin* | os2* | pw32* | cegcc*)
16167 # This hack is so that the source file can tell whether it is being
16168 # built for inclusion in a dll (and should export symbols for example).
16169 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16172 case $cc_basename in
16174 lt_prog_compiler_pic_CXX='-KPIC'
16177 # Green Hills C++ Compiler
16178 lt_prog_compiler_pic_CXX='-pic'
16184 freebsd* | dragonfly*)
16185 # FreeBSD uses GNU C++
16187 hpux9* | hpux10* | hpux11*)
16188 case $cc_basename in
16190 lt_prog_compiler_wl_CXX='-Wl,'
16191 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16192 if test "$host_cpu" != ia64; then
16193 lt_prog_compiler_pic_CXX='+Z'
16197 lt_prog_compiler_wl_CXX='-Wl,'
16198 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16204 lt_prog_compiler_pic_CXX='+Z'
16213 # This is c89, which is MS Visual C++ (no shared libs)
16214 # Anyone wants to do a port?
16216 irix5* | irix6* | nonstopux*)
16217 case $cc_basename in
16219 lt_prog_compiler_wl_CXX='-Wl,'
16220 lt_prog_compiler_static_CXX='-non_shared'
16221 # CC pic flag -KPIC is the default.
16227 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16228 case $cc_basename in
16231 lt_prog_compiler_wl_CXX='--backend -Wl,'
16232 lt_prog_compiler_pic_CXX='-fPIC'
16235 # old Intel C++ for x86_64 which still supported -KPIC.
16236 lt_prog_compiler_wl_CXX='-Wl,'
16237 lt_prog_compiler_pic_CXX='-KPIC'
16238 lt_prog_compiler_static_CXX='-static'
16241 # Intel C++, used to be incompatible with GCC.
16242 # ICC 10 doesn't accept -KPIC any more.
16243 lt_prog_compiler_wl_CXX='-Wl,'
16244 lt_prog_compiler_pic_CXX='-fPIC'
16245 lt_prog_compiler_static_CXX='-static'
16248 # Portland Group C++ compiler
16249 lt_prog_compiler_wl_CXX='-Wl,'
16250 lt_prog_compiler_pic_CXX='-fpic'
16251 lt_prog_compiler_static_CXX='-Bstatic'
16255 # Make sure the PIC flag is empty. It appears that all Alpha
16256 # Linux and Compaq Tru64 Unix objects are PIC.
16257 lt_prog_compiler_pic_CXX=
16258 lt_prog_compiler_static_CXX='-non_shared'
16260 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16261 # IBM XL 8.0, 9.0 on PPC and BlueGene
16262 lt_prog_compiler_wl_CXX='-Wl,'
16263 lt_prog_compiler_pic_CXX='-qpic'
16264 lt_prog_compiler_static_CXX='-qstaticlink'
16267 case `$CC -V 2>&1 | sed 5q` in
16270 lt_prog_compiler_pic_CXX='-KPIC'
16271 lt_prog_compiler_static_CXX='-Bstatic'
16272 lt_prog_compiler_wl_CXX='-Qoption ld '
16283 case $cc_basename in
16285 lt_prog_compiler_pic_CXX='-W c,exportall'
16291 netbsd* | netbsdelf*-gnu)
16294 # QNX uses GNU C++, but need to define -shared option too, otherwise
16295 # it will coredump.
16296 lt_prog_compiler_pic_CXX='-fPIC -shared'
16298 osf3* | osf4* | osf5*)
16299 case $cc_basename in
16301 lt_prog_compiler_wl_CXX='--backend -Wl,'
16304 # Rational C++ 2.4.1
16305 lt_prog_compiler_pic_CXX='-pic'
16308 # Digital/Compaq C++
16309 lt_prog_compiler_wl_CXX='-Wl,'
16310 # Make sure the PIC flag is empty. It appears that all Alpha
16311 # Linux and Compaq Tru64 Unix objects are PIC.
16312 lt_prog_compiler_pic_CXX=
16313 lt_prog_compiler_static_CXX='-non_shared'
16322 case $cc_basename in
16324 # Sun C++ 4.2, 5.x and Centerline C++
16325 lt_prog_compiler_pic_CXX='-KPIC'
16326 lt_prog_compiler_static_CXX='-Bstatic'
16327 lt_prog_compiler_wl_CXX='-Qoption ld '
16330 # Green Hills C++ Compiler
16331 lt_prog_compiler_pic_CXX='-PIC'
16338 case $cc_basename in
16341 lt_prog_compiler_pic_CXX='-pic'
16342 lt_prog_compiler_static_CXX='-Bstatic'
16346 lt_prog_compiler_pic_CXX='-pic'
16352 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16353 case $cc_basename in
16355 lt_prog_compiler_wl_CXX='-Wl,'
16356 lt_prog_compiler_pic_CXX='-KPIC'
16357 lt_prog_compiler_static_CXX='-Bstatic'
16362 case $cc_basename in
16364 # NonStop-UX NCC 3.20
16365 lt_prog_compiler_pic_CXX='-KPIC'
16374 lt_prog_compiler_can_build_shared_CXX=no
16380 # For platforms which do not support PIC, -DPIC is meaningless:
16382 lt_prog_compiler_pic_CXX=
16385 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16390 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16391 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16392 $as_echo_n "(cached) " >&6
16394 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16397 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16398 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16401 # Check to make sure the PIC flag actually works.
16403 if test -n "$lt_prog_compiler_pic_CXX"; then
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16405 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16406 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16407 $as_echo_n "(cached) " >&6
16409 lt_cv_prog_compiler_pic_works_CXX=no
16410 ac_outfile=conftest.$ac_objext
16411 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16412 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16413 # Insert the option either (1) after the last *FLAGS variable, or
16414 # (2) before a word containing "conftest.", or (3) at the end.
16415 # Note that $ac_compile itself does not contain backslashes and begins
16416 # with a dollar sign (not a hyphen), so the echo should work correctly.
16417 # The option is referenced via a variable to avoid confusing sed.
16418 lt_compile=`echo "$ac_compile" | $SED \
16419 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16420 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16421 -e 's:$: $lt_compiler_flag:'`
16422 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16423 (eval "$lt_compile" 2>conftest.err)
16425 cat conftest.err >&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 if (exit $ac_status) && test -s "$ac_outfile"; then
16428 # The compiler can only warn and ignore the option if not recognized
16429 # So say no if there are warnings other than the usual output.
16430 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16431 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16432 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16433 lt_cv_prog_compiler_pic_works_CXX=yes
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16440 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16442 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16443 case $lt_prog_compiler_pic_CXX in
16445 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16448 lt_prog_compiler_pic_CXX=
16449 lt_prog_compiler_can_build_shared_CXX=no
16459 # Check to make sure the static flag actually works.
16461 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16463 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16464 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16465 $as_echo_n "(cached) " >&6
16467 lt_cv_prog_compiler_static_works_CXX=no
16468 save_LDFLAGS="$LDFLAGS"
16469 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16470 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16471 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16472 # The linker can only warn and ignore the option if not recognized
16473 # So say no if there are warnings
16474 if test -s conftest.err; then
16475 # Append any errors to the config.log.
16476 cat conftest.err 1>&5
16477 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16478 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16479 if diff conftest.exp conftest.er2 >/dev/null; then
16480 lt_cv_prog_compiler_static_works_CXX=yes
16483 lt_cv_prog_compiler_static_works_CXX=yes
16487 LDFLAGS="$save_LDFLAGS"
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16491 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16493 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16496 lt_prog_compiler_static_CXX=
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16503 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16504 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16505 $as_echo_n "(cached) " >&6
16507 lt_cv_prog_compiler_c_o_CXX=no
16508 $RM -r conftest 2>/dev/null
16512 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16514 lt_compiler_flag="-o out/conftest2.$ac_objext"
16515 # Insert the option either (1) after the last *FLAGS variable, or
16516 # (2) before a word containing "conftest.", or (3) at the end.
16517 # Note that $ac_compile itself does not contain backslashes and begins
16518 # with a dollar sign (not a hyphen), so the echo should work correctly.
16519 lt_compile=`echo "$ac_compile" | $SED \
16520 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16521 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16522 -e 's:$: $lt_compiler_flag:'`
16523 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16524 (eval "$lt_compile" 2>out/conftest.err)
16526 cat out/conftest.err >&5
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16530 # The compiler can only warn and ignore the option if not recognized
16531 # So say no if there are warnings
16532 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16533 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16534 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16535 lt_cv_prog_compiler_c_o_CXX=yes
16540 # SGI C++ compiler will create directory out/ii_files/ for
16541 # template instantiation
16542 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16543 $RM out/* && rmdir out
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16550 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16555 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16556 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16557 $as_echo_n "(cached) " >&6
16559 lt_cv_prog_compiler_c_o_CXX=no
16560 $RM -r conftest 2>/dev/null
16564 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16566 lt_compiler_flag="-o out/conftest2.$ac_objext"
16567 # Insert the option either (1) after the last *FLAGS variable, or
16568 # (2) before a word containing "conftest.", or (3) at the end.
16569 # Note that $ac_compile itself does not contain backslashes and begins
16570 # with a dollar sign (not a hyphen), so the echo should work correctly.
16571 lt_compile=`echo "$ac_compile" | $SED \
16572 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16574 -e 's:$: $lt_compiler_flag:'`
16575 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16576 (eval "$lt_compile" 2>out/conftest.err)
16578 cat out/conftest.err >&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16582 # The compiler can only warn and ignore the option if not recognized
16583 # So say no if there are warnings
16584 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16585 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16586 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16587 lt_cv_prog_compiler_c_o_CXX=yes
16592 # SGI C++ compiler will create directory out/ii_files/ for
16593 # template instantiation
16594 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16595 $RM out/* && rmdir out
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16602 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16607 hard_links="nottested"
16608 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16609 # do not overwrite the value of need_locks provided by the user
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16611 $as_echo_n "checking if we can lock with hard links... " >&6; }
16614 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16616 ln conftest.a conftest.b 2>&5 || hard_links=no
16617 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16619 $as_echo "$hard_links" >&6; }
16620 if test "$hard_links" = no; then
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16622 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16632 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16634 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16635 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16638 # If we're using GNU nm, then we don't want the "-C" option.
16639 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16640 # Also, AIX nm treats weak defined symbols like other global defined
16641 # symbols, whereas GNU nm marks them as "W".
16642 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16643 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16645 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16649 export_symbols_cmds_CXX="$ltdll_cmds"
16651 cygwin* | mingw* | cegcc*)
16652 case $cc_basename in
16654 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16657 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16658 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16662 linux* | k*bsd*-gnu | gnu*)
16663 link_all_deplibs_CXX=no
16666 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16671 $as_echo "$ld_shlibs_CXX" >&6; }
16672 test "$ld_shlibs_CXX" = no && can_build_shared=no
16674 with_gnu_ld_CXX=$with_gnu_ld
16682 # Do we need to explicitly link libc?
16684 case "x$archive_cmds_need_lc_CXX" in
16686 # Assume -lc should be added
16687 archive_cmds_need_lc_CXX=yes
16689 if test "$enable_shared" = yes && test "$GCC" = yes; then
16690 case $archive_cmds_CXX in
16692 # FIXME: we may have to deal with multi-command sequences.
16695 # Test whether the compiler implicitly links with -lc since on some
16696 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16697 # to ld, don't add -lc before -lgcc.
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16699 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16700 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16701 $as_echo_n "(cached) " >&6
16704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16707 (eval $ac_compile) 2>&5
16709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16710 test $ac_status = 0; } 2>conftest.err; then
16713 libobjs=conftest.$ac_objext
16715 wl=$lt_prog_compiler_wl_CXX
16716 pic_flag=$lt_prog_compiler_pic_CXX
16722 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16723 allow_undefined_flag_CXX=
16724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16725 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16728 test $ac_status = 0; }
16730 lt_cv_archive_cmds_need_lc_CXX=no
16732 lt_cv_archive_cmds_need_lc_CXX=yes
16734 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16736 cat conftest.err 1>&5
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16742 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16743 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16812 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16814 library_names_spec=
16815 libname_spec='lib$name'
16819 postuninstall_cmds=
16823 shlibpath_overrides_runpath=unknown
16825 dynamic_linker="$host_os ld.so"
16826 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16827 need_lib_prefix=unknown
16828 hardcode_into_libs=no
16830 # when you set need_version to no, make sure it does not cause -set_version
16831 # flags to be left without arguments
16832 need_version=unknown
16836 version_type=linux # correct to gnu/linux during the next big refactor
16837 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16838 shlibpath_var=LIBPATH
16840 # AIX 3 has no versioning support, so we append a major version to the name.
16841 soname_spec='${libname}${release}${shared_ext}$major'
16845 version_type=linux # correct to gnu/linux during the next big refactor
16848 hardcode_into_libs=yes
16849 if test "$host_cpu" = ia64; then
16850 # AIX 5 supports IA64
16851 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16852 shlibpath_var=LD_LIBRARY_PATH
16854 # With GCC up to 2.95.x, collect2 would create an import file
16855 # for dependence libraries. The import file would start with
16856 # the line `#! .'. This would cause the generated library to
16857 # depend on `.', always an invalid library. This was fixed in
16858 # development snapshots of GCC prior to 3.0.
16860 aix4 | aix4.[01] | aix4.[01].*)
16861 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16863 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16866 can_build_shared=no
16870 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16871 # soname into executable. Probably we can add versioning support to
16872 # collect2, so additional links can be useful in future.
16873 if test "$aix_use_runtimelinking" = yes; then
16874 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16875 # instead of lib<name>.a to let people know that these are not
16876 # typical AIX shared libraries.
16877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16879 # We preserve .a as extension for shared libraries through AIX4.2
16880 # and later when we are not doing run time linking.
16881 library_names_spec='${libname}${release}.a $libname.a'
16882 soname_spec='${libname}${release}${shared_ext}$major'
16884 shlibpath_var=LIBPATH
16891 # Since July 2007 AmigaOS4 officially supports .so libraries.
16892 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16896 library_names_spec='$libname.ixlibrary $libname.a'
16897 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16898 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'
16904 library_names_spec='${libname}${shared_ext}'
16905 dynamic_linker="$host_os ld.so"
16906 shlibpath_var=LIBRARY_PATH
16910 version_type=linux # correct to gnu/linux during the next big refactor
16912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16913 soname_spec='${libname}${release}${shared_ext}$major'
16914 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16915 shlibpath_var=LD_LIBRARY_PATH
16916 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16917 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16918 # the default ld.so.conf also contains /usr/contrib/lib and
16919 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16920 # libtool to hard-code these into programs
16923 cygwin* | mingw* | pw32* | cegcc*)
16924 version_type=windows
16929 case $GCC,$cc_basename in
16932 library_names_spec='$libname.dll.a'
16933 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16934 postinstall_cmds='base_file=`basename \${file}`~
16935 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16936 dldir=$destdir/`dirname \$dlpath`~
16937 test -d \$dldir || mkdir -p \$dldir~
16938 $install_prog $dir/$dlname \$dldir/$dlname~
16939 chmod a+x \$dldir/$dlname~
16940 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16941 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16943 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16944 dlpath=$dir/\$dldll~
16946 shlibpath_overrides_runpath=yes
16950 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16951 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16955 # MinGW DLLs use traditional 'lib' prefix
16956 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16959 # pw32 DLLs use 'pw' prefix rather than 'lib'
16960 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16963 dynamic_linker='Win32 ld.exe'
16968 libname_spec='$name'
16969 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16970 library_names_spec='${libname}.dll.lib'
16974 sys_lib_search_path_spec=
16977 for lt_path in $LIB
16980 # Let DOS variable expansion print the short 8.3 style file name.
16981 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16982 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16985 # Convert to MSYS style.
16986 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16989 # Convert to unix form, then to dos form, then back to unix form
16990 # but this time dos style (no spaces!) so that the unix form looks
16991 # like /cygdrive/c/PROGRA~1:/cygdr...
16992 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16993 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16994 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16997 sys_lib_search_path_spec="$LIB"
16998 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16999 # It is most probably a Windows format PATH.
17000 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17002 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17004 # FIXME: find the short name or the path components, as spaces are
17005 # common. (e.g. "Program Files" -> "PROGRA~1")
17009 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17010 postinstall_cmds='base_file=`basename \${file}`~
17011 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17012 dldir=$destdir/`dirname \$dlpath`~
17013 test -d \$dldir || mkdir -p \$dldir~
17014 $install_prog $dir/$dlname \$dldir/$dlname'
17015 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17016 dlpath=$dir/\$dldll~
17018 shlibpath_overrides_runpath=yes
17019 dynamic_linker='Win32 link.exe'
17023 # Assume MSVC wrapper
17024 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17025 dynamic_linker='Win32 ld.exe'
17028 # FIXME: first we should search . and the directory the executable is in
17032 darwin* | rhapsody*)
17033 dynamic_linker="$host_os dyld"
17034 version_type=darwin
17037 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17038 soname_spec='${libname}${release}${major}$shared_ext'
17039 shlibpath_overrides_runpath=yes
17040 shlibpath_var=DYLD_LIBRARY_PATH
17041 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17043 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17047 version_type=linux # correct to gnu/linux during the next big refactor
17050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17051 soname_spec='${libname}${release}${shared_ext}$major'
17052 shlibpath_var=LD_LIBRARY_PATH
17055 freebsd* | dragonfly*)
17056 # DragonFly does not have aout. When/if they implement a new
17057 # versioning mechanism, adjust this.
17058 if test -x /usr/bin/objformat; then
17059 objformat=`/usr/bin/objformat`
17062 freebsd[23].*) objformat=aout ;;
17063 *) objformat=elf ;;
17066 version_type=freebsd-$objformat
17067 case $version_type in
17069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17074 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17078 shlibpath_var=LD_LIBRARY_PATH
17081 shlibpath_overrides_runpath=yes
17083 freebsd3.[01]* | freebsdelf3.[01]*)
17084 shlibpath_overrides_runpath=yes
17085 hardcode_into_libs=yes
17087 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17088 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17089 shlibpath_overrides_runpath=no
17090 hardcode_into_libs=yes
17092 *) # from 4.6 on, and DragonFly
17093 shlibpath_overrides_runpath=yes
17094 hardcode_into_libs=yes
17100 version_type=linux # correct to gnu/linux during the next big refactor
17103 dynamic_linker="$host_os runtime_loader"
17104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17105 soname_spec='${libname}${release}${shared_ext}$major'
17106 shlibpath_var=LIBRARY_PATH
17107 shlibpath_overrides_runpath=yes
17108 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17109 hardcode_into_libs=yes
17112 hpux9* | hpux10* | hpux11*)
17113 # Give a soname corresponding to the major version so that dld.sl refuses to
17114 # link against other versions.
17121 hardcode_into_libs=yes
17122 dynamic_linker="$host_os dld.so"
17123 shlibpath_var=LD_LIBRARY_PATH
17124 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17126 soname_spec='${libname}${release}${shared_ext}$major'
17127 if test "X$HPUX_IA64_MODE" = X32; then
17128 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17130 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17132 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17136 hardcode_into_libs=yes
17137 dynamic_linker="$host_os dld.sl"
17138 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17139 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17141 soname_spec='${libname}${release}${shared_ext}$major'
17142 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17143 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17147 dynamic_linker="$host_os dld.sl"
17148 shlibpath_var=SHLIB_PATH
17149 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17151 soname_spec='${libname}${release}${shared_ext}$major'
17154 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17155 postinstall_cmds='chmod 555 $lib'
17156 # or fails outright, so override atomically:
17157 install_override_mode=555
17161 version_type=linux # correct to gnu/linux during the next big refactor
17164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17165 soname_spec='${libname}${release}${shared_ext}$major'
17166 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17167 shlibpath_var=LD_LIBRARY_PATH
17168 shlibpath_overrides_runpath=no
17169 hardcode_into_libs=yes
17172 irix5* | irix6* | nonstopux*)
17174 nonstopux*) version_type=nonstopux ;;
17176 if test "$lt_cv_prog_gnu_ld" = yes; then
17177 version_type=linux # correct to gnu/linux during the next big refactor
17184 soname_spec='${libname}${release}${shared_ext}$major'
17185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17187 irix5* | nonstopux*)
17188 libsuff= shlibsuff=
17191 case $LD in # libtool.m4 will add one of these switches to LD
17192 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17193 libsuff= shlibsuff= libmagic=32-bit;;
17194 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17195 libsuff=32 shlibsuff=N32 libmagic=N32;;
17196 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17197 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17198 *) libsuff= shlibsuff= libmagic=never-match;;
17202 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17203 shlibpath_overrides_runpath=no
17204 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17205 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17206 hardcode_into_libs=yes
17209 # No shared lib support for Linux oldld, aout, or coff.
17210 linux*oldld* | linux*aout* | linux*coff*)
17214 # This must be glibc/ELF.
17215 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17216 version_type=linux # correct to gnu/linux during the next big refactor
17219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17220 soname_spec='${libname}${release}${shared_ext}$major'
17221 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17222 shlibpath_var=LD_LIBRARY_PATH
17223 shlibpath_overrides_runpath=no
17225 # Some binutils ld are patched to set DT_RUNPATH
17226 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17227 $as_echo_n "(cached) " >&6
17229 lt_cv_shlibpath_overrides_runpath=no
17230 save_LDFLAGS=$LDFLAGS
17231 save_libdir=$libdir
17232 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17233 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17245 if ac_fn_cxx_try_link "$LINENO"; then :
17246 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17247 lt_cv_shlibpath_overrides_runpath=yes
17250 rm -f core conftest.err conftest.$ac_objext \
17251 conftest$ac_exeext conftest.$ac_ext
17252 LDFLAGS=$save_LDFLAGS
17253 libdir=$save_libdir
17257 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17259 # This implies no fast_install, which is unacceptable.
17260 # Some rework will be needed to allow for fast_install
17261 # before this can be enabled.
17262 hardcode_into_libs=yes
17264 # Append ld.so.conf contents to the search path
17265 if test -f /etc/ld.so.conf; then
17266 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' ' '`
17267 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17270 # We used to test for /lib/ld.so.1 and disable shared libraries on
17271 # powerpc, because MkLinux only supported shared libraries with the
17272 # GNU dynamic linker. Since this was broken with cross compilers,
17273 # most powerpc-linux boxes support dynamic linking these days and
17274 # people can always --disable-shared, the test was removed, and we
17275 # assume the GNU/Linux dynamic linker is in use.
17276 dynamic_linker='GNU/Linux ld.so'
17283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17284 soname_spec='${libname}${release}${shared_ext}$major'
17285 shlibpath_var=LD_LIBRARY_PATH
17286 shlibpath_overrides_runpath=no
17287 hardcode_into_libs=yes
17288 dynamic_linker='NetBSD ld.elf_so'
17295 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17297 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17298 dynamic_linker='NetBSD (a.out) ld.so'
17300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17301 soname_spec='${libname}${release}${shared_ext}$major'
17302 dynamic_linker='NetBSD ld.elf_so'
17304 shlibpath_var=LD_LIBRARY_PATH
17305 shlibpath_overrides_runpath=yes
17306 hardcode_into_libs=yes
17310 version_type=linux # correct to gnu/linux during the next big refactor
17311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17312 shlibpath_var=LD_LIBRARY_PATH
17313 shlibpath_overrides_runpath=yes
17320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17321 soname_spec='${libname}${release}${shared_ext}$major'
17322 shlibpath_var=LD_LIBRARY_PATH
17323 shlibpath_overrides_runpath=no
17324 hardcode_into_libs=yes
17325 dynamic_linker='ldqnx.so'
17330 sys_lib_dlsearch_path_spec="/usr/lib"
17332 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17334 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17335 *) need_version=no ;;
17337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17338 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17339 shlibpath_var=LD_LIBRARY_PATH
17340 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17342 openbsd2.[89] | openbsd2.[89].*)
17343 shlibpath_overrides_runpath=no
17346 shlibpath_overrides_runpath=yes
17350 shlibpath_overrides_runpath=yes
17355 libname_spec='$name'
17358 library_names_spec='$libname${shared_ext} $libname.a'
17359 dynamic_linker='OS/2 ld.exe'
17360 shlibpath_var=LIBPATH
17363 osf3* | osf4* | osf5*)
17367 soname_spec='${libname}${release}${shared_ext}$major'
17368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17369 shlibpath_var=LD_LIBRARY_PATH
17370 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17371 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17379 version_type=linux # correct to gnu/linux during the next big refactor
17382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17383 soname_spec='${libname}${release}${shared_ext}$major'
17384 shlibpath_var=LD_LIBRARY_PATH
17385 shlibpath_overrides_runpath=yes
17386 hardcode_into_libs=yes
17387 # ldd complains unless libraries are executable
17388 postinstall_cmds='chmod +x $lib'
17393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17394 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17395 shlibpath_var=LD_LIBRARY_PATH
17396 shlibpath_overrides_runpath=yes
17397 if test "$with_gnu_ld" = yes; then
17404 version_type=linux # correct to gnu/linux during the next big refactor
17405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17406 soname_spec='${libname}${release}${shared_ext}$major'
17407 shlibpath_var=LD_LIBRARY_PATH
17408 case $host_vendor in
17410 shlibpath_overrides_runpath=no
17412 runpath_var=LD_RUN_PATH
17420 shlibpath_overrides_runpath=no
17421 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17427 if test -d /usr/nec ;then
17428 version_type=linux # correct to gnu/linux during the next big refactor
17429 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17430 soname_spec='$libname${shared_ext}.$major'
17431 shlibpath_var=LD_LIBRARY_PATH
17435 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17436 version_type=freebsd-elf
17439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17440 soname_spec='${libname}${release}${shared_ext}$major'
17441 shlibpath_var=LD_LIBRARY_PATH
17442 shlibpath_overrides_runpath=yes
17443 hardcode_into_libs=yes
17444 if test "$with_gnu_ld" = yes; then
17445 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17447 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17450 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17454 sys_lib_dlsearch_path_spec='/usr/lib'
17458 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17459 version_type=linux # correct to gnu/linux during the next big refactor
17462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17463 shlibpath_var=LD_LIBRARY_PATH
17464 shlibpath_overrides_runpath=no
17465 hardcode_into_libs=yes
17469 version_type=linux # correct to gnu/linux during the next big refactor
17470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17471 soname_spec='${libname}${release}${shared_ext}$major'
17472 shlibpath_var=LD_LIBRARY_PATH
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17480 $as_echo "$dynamic_linker" >&6; }
17481 test "$dynamic_linker" = no && can_build_shared=no
17483 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17484 if test "$GCC" = yes; then
17485 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17488 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17489 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17491 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17492 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17533 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17534 hardcode_action_CXX=
17535 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17536 test -n "$runpath_var_CXX" ||
17537 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17539 # We can hardcode non-existent directories.
17540 if test "$hardcode_direct_CXX" != no &&
17541 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17542 # have to relink, otherwise we might link with an installed library
17543 # when we should be linking with a yet-to-be-installed one
17544 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17545 test "$hardcode_minus_L_CXX" != no; then
17546 # Linking always hardcodes the temporary library directory.
17547 hardcode_action_CXX=relink
17549 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17550 hardcode_action_CXX=immediate
17553 # We cannot hardcode anything, or else we can only hardcode existing
17555 hardcode_action_CXX=unsupported
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17558 $as_echo "$hardcode_action_CXX" >&6; }
17560 if test "$hardcode_action_CXX" = relink ||
17561 test "$inherit_rpath_CXX" = yes; then
17562 # Fast installation is not supported
17563 enable_fast_install=no
17564 elif test "$shlibpath_overrides_runpath" = yes ||
17565 test "$enable_shared" = no; then
17566 # Fast installation is not necessary
17567 enable_fast_install=needless
17576 fi # test -n "$compiler"
17579 CFLAGS=$lt_save_CFLAGS
17583 with_gnu_ld=$lt_save_with_gnu_ld
17584 lt_cv_path_LDCXX=$lt_cv_path_LD
17585 lt_cv_path_LD=$lt_save_path_LD
17586 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17587 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17588 fi # test "$_lt_caught_CXX_error" != yes
17591 ac_cpp='$CPP $CPPFLAGS'
17592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17596 if test "x$CC" != xcc; then
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
17598 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
17601 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
17603 set dummy $CC; ac_cc=`$as_echo "$2" |
17604 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
17605 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
17606 $as_echo_n "(cached) " >&6
17608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17609 /* end confdefs.h. */
17619 # Make sure it works both with $CC and with simple cc.
17620 # We do the test twice because some compilers refuse to overwrite an
17621 # existing .o file with -o, though they will create one.
17622 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
17624 if { { case "(($ac_try" in
17625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17626 *) ac_try_echo=$ac_try;;
17628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17629 $as_echo "$ac_try_echo"; } >&5
17630 (eval "$ac_try") 2>&5
17632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17633 test $ac_status = 0; } &&
17634 test -f conftest2.$ac_objext && { { case "(($ac_try" in
17635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17636 *) ac_try_echo=$ac_try;;
17638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17639 $as_echo "$ac_try_echo"; } >&5
17640 (eval "$ac_try") 2>&5
17642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17643 test $ac_status = 0; };
17645 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
17646 if test "x$CC" != xcc; then
17647 # Test first that cc exists at all.
17648 if { ac_try='cc -c conftest.$ac_ext >&5'
17649 { { case "(($ac_try" in
17650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17651 *) ac_try_echo=$ac_try;;
17653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17654 $as_echo "$ac_try_echo"; } >&5
17655 (eval "$ac_try") 2>&5
17657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17658 test $ac_status = 0; }; }; then
17659 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
17661 if { { case "(($ac_try" in
17662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17663 *) ac_try_echo=$ac_try;;
17665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17666 $as_echo "$ac_try_echo"; } >&5
17667 (eval "$ac_try") 2>&5
17669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17670 test $ac_status = 0; } &&
17671 test -f conftest2.$ac_objext && { { case "(($ac_try" in
17672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17673 *) ac_try_echo=$ac_try;;
17675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17676 $as_echo "$ac_try_echo"; } >&5
17677 (eval "$ac_try") 2>&5
17679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17680 test $ac_status = 0; };
17685 # cc exists but doesn't like -o.
17686 eval ac_cv_prog_cc_${ac_cc}_c_o=no
17691 eval ac_cv_prog_cc_${ac_cc}_c_o=no
17693 rm -f core conftest*
17696 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17698 $as_echo "yes" >&6; }
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17701 $as_echo "no" >&6; }
17703 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
17707 # FIXME: we rely on the cache variable name because
17708 # there is no other way.
17710 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
17711 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
17712 if test "$am_t" != yes; then
17713 # Losing compiler, so override with the script.
17714 # FIXME: It is wrong to rewrite CC.
17715 # But if we don't then we get into trouble of one sort or another.
17716 # A longer-term fix would be to have automake use am__CC in this case,
17717 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
17718 CC="$am_aux_dir/compile $CC"
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17723 $as_echo_n "checking for inline... " >&6; }
17724 if ${ac_cv_c_inline+:} false; then :
17725 $as_echo_n "(cached) " >&6
17728 for ac_kw in inline __inline__ __inline; do
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 #ifndef __cplusplus
17733 static $ac_kw foo_t static_foo () {return 0; }
17734 $ac_kw foo_t foo () {return 0; }
17738 if ac_fn_c_try_compile "$LINENO"; then :
17739 ac_cv_c_inline=$ac_kw
17741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17742 test "$ac_cv_c_inline" != no && break
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17747 $as_echo "$ac_cv_c_inline" >&6; }
17749 case $ac_cv_c_inline in
17752 case $ac_cv_c_inline in
17754 *) ac_val=$ac_cv_c_inline;;
17756 cat >>confdefs.h <<_ACEOF
17757 #ifndef __cplusplus
17758 #define inline $ac_val
17768 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17769 if test -n "$ac_tool_prefix"; then
17770 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17771 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17773 $as_echo_n "checking for $ac_word... " >&6; }
17774 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17775 $as_echo_n "(cached) " >&6
17777 case $PKG_CONFIG in
17779 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17783 for as_dir in $PATH
17786 test -z "$as_dir" && as_dir=.
17787 for ac_exec_ext in '' $ac_executable_extensions; do
17788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17789 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17800 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17801 if test -n "$PKG_CONFIG"; then
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17803 $as_echo "$PKG_CONFIG" >&6; }
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17806 $as_echo "no" >&6; }
17811 if test -z "$ac_cv_path_PKG_CONFIG"; then
17812 ac_pt_PKG_CONFIG=$PKG_CONFIG
17813 # Extract the first word of "pkg-config", so it can be a program name with args.
17814 set dummy pkg-config; ac_word=$2
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17816 $as_echo_n "checking for $ac_word... " >&6; }
17817 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17818 $as_echo_n "(cached) " >&6
17820 case $ac_pt_PKG_CONFIG in
17822 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17826 for as_dir in $PATH
17829 test -z "$as_dir" && as_dir=.
17830 for ac_exec_ext in '' $ac_executable_extensions; do
17831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17832 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17843 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17844 if test -n "$ac_pt_PKG_CONFIG"; then
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17846 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17849 $as_echo "no" >&6; }
17852 if test "x$ac_pt_PKG_CONFIG" = x; then
17855 case $cross_compiling:$ac_tool_warned in
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17859 ac_tool_warned=yes ;;
17861 PKG_CONFIG=$ac_pt_PKG_CONFIG
17864 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17868 if test -n "$PKG_CONFIG"; then
17869 _pkg_min_version=0.9.0
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17871 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17872 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17874 $as_echo "yes" >&6; }
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17877 $as_echo "no" >&6; }
17882 if test "x$PKG_CONFIG" = x; then
17883 as_fn_error $? "pkg-config >= $PKGCONFIG_REQUIRED required but not found (http://pkgconfig.freedesktop.org/)" "$LINENO" 5
17886 case `$PKG_CONFIG --version` in
17887 0.?|0.?.?|0.1[0-7]|0.1[0-7].?) PKGCONFIG_REQUIRES="Requires"; ;;
17888 *) PKGCONFIG_REQUIRES="Requires.private"; ;;
17908 CAIRO_MAKEFILE___WIN32='# Generated by configure. Modify to customize.
17911 ac_config_commands="$ac_config_commands $srcdir/build/Makefile.win32.features"
17916 CAIRO_MAKEFILE_cairo_AMAKE='# Generated by configure. Do not edit.
17919 ac_config_commands="$ac_config_commands $srcdir/src/Makefile.am.features"
17922 CAIRO_MAKEFILE_cairo_WIN32='# Generated by configure. Do not edit.
17925 ac_config_commands="$ac_config_commands $srcdir/src/Makefile.win32.features"
17929 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE='# Generated by configure. Do not edit.
17932 ac_config_commands="$ac_config_commands $srcdir/boilerplate/Makefile.am.features"
17935 CAIRO_MAKEFILE_cairo_boilerplate_WIN32='# Generated by configure. Do not edit.
17938 ac_config_commands="$ac_config_commands $srcdir/boilerplate/Makefile.win32.features"
17940 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17941 "'include $(top_srcdir)/src/Makefile.sources
17944 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17945 "'ifeq ($(top_srcdir),)
17946 include Makefile.sources
17948 include $(top_srcdir)/src/Makefile.sources
17952 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17953 "'include $(top_srcdir)/boilerplate/Makefile.sources
17956 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17957 "'ifeq ($(top_srcdir),)
17958 include Makefile.sources
17960 include $(top_srcdir)/boilerplate/Makefile.sources
17966 cr_make_tmp='supported_cairo_headers = $(cairo_headers)'
17967 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17970 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17973 cr_make_tmp='supported_cairo_boilerplate_headers = $(cairo_boilerplate_headers)'
17974 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17977 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17981 cr_make_tmp='unsupported_cairo_headers ='
17982 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17985 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17988 cr_make_tmp='unsupported_cairo_boilerplate_headers ='
17989 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17992 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17996 cr_make_tmp='all_cairo_headers = $(cairo_headers)
17997 all_cairo_private = $(cairo_private)
17998 all_cairo_cxx_sources = $(cairo_cxx_sources)
17999 all_cairo_sources = $(cairo_sources)
18001 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
18004 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
18007 cr_make_tmp='all_cairo_boilerplate_headers = $(cairo_boilerplate_headers)
18008 all_cairo_boilerplate_private = $(cairo_boilerplate_private)
18009 all_cairo_boilerplate_cxx_sources = $(cairo_boilerplate_cxx_sources)
18010 all_cairo_boilerplate_sources = $(cairo_boilerplate_sources)
18012 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
18015 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
18019 cr_make_tmp='enabled_cairo_headers = $(cairo_headers)
18020 enabled_cairo_private = $(cairo_private)
18021 enabled_cairo_cxx_sources = $(cairo_cxx_sources)
18022 enabled_cairo_sources = $(cairo_sources)
18024 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
18027 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
18030 cr_make_tmp='enabled_cairo_boilerplate_headers = $(cairo_boilerplate_headers)
18031 enabled_cairo_boilerplate_private = $(cairo_boilerplate_private)
18032 enabled_cairo_boilerplate_cxx_sources = $(cairo_boilerplate_cxx_sources)
18033 enabled_cairo_boilerplate_sources = $(cairo_boilerplate_sources)
18035 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
18038 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
18047 ac_config_files="$ac_config_files src/cairo.pc"
18048 ac_config_files="$ac_config_files cairo-uninstalled.pc:src/cairo-uninstalled.pc.in"
18052 CAIRO_NONPKGCONFIG_CFLAGS=""
18054 CAIRO_NONPKGCONFIG_LIBS="$LIBS"
18061 cr_make_tmp='all_cairo_pkgconf = cairo.pc'
18062 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
18065 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
18069 cr_make_tmp='enabled_cairo_pkgconf = cairo.pc'
18070 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
18073 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
18080 CAIRO_SUPPORTED_FEATURES=''
18081 CAIRO_NO_FEATURES=''
18083 ac_config_commands="$ac_config_commands src/cairo-features.h"
18085 ac_config_commands="$ac_config_commands src/cairo-supported-features.h"
18091 CAIRO_MAKEFILE_win32_features_h_WIN32='# Generated by configure. Do not edit.
18094 ac_config_commands="$ac_config_commands $srcdir/build/Makefile.win32.features-h"
18097 cr_make_tmp='$(top_srcdir)/src/cairo-features.h: $(top_srcdir)/build/Makefile.win32.features
18098 @echo "Generating src/cairo-features.h"
18099 @echo "/* Generated by Makefile.win32.features-h. Do not edit. */" > $(top_srcdir)/src/cairo-features.h
18100 @echo "#ifndef CAIRO_FEATURES_H" >> $(top_srcdir)/src/cairo-features.h
18101 @echo "#define CAIRO_FEATURES_H 1" >> $(top_srcdir)/src/cairo-features.h'
18102 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
18109 CAIRO_WARNING_MESSAGE=''
18114 CAIRO_NATIVE_SURFACE_BACKENDS=''
18115 CAIRO_NATIVE_FONT_BACKENDS=''
18122 # -Wcast-align generates lots of false positive reports we need to
18123 # cast image data from uint8_t to uin32_t.
18125 # -Wlogical-op causes too much noise from strcmp("literal", str)
18127 MAYBE_WARN="-Wall -Wextra \
18128 -Wold-style-definition -Wdeclaration-after-statement \
18129 -Wmissing-declarations -Werror-implicit-function-declaration \
18130 -Wnested-externs -Wpointer-arith -Wwrite-strings \
18131 -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes \
18132 -Wpacked -Wswitch-enum -Wmissing-format-attribute \
18133 -Wbad-function-cast -Wvolatile-register-var \
18134 -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations \
18135 -Wno-missing-field-initializers -Wno-unused-parameter \
18136 -Wno-attributes -Wno-long-long -Winline"
18138 # New -Wno options should be added here
18139 # gcc-4.4 and later accept every -Wno- option but may complain later that this
18140 # option is unknow each time another warning happen.
18141 # -Wunused-but-set-variable is too noisy at present
18142 NO_WARN="unused-but-set-variable"
18144 MAYBE_WARN="$MAYBE_WARN -erroff=E_ENUM_TYPE_MISMATCH_ARG \
18145 -erroff=E_ENUM_TYPE_MISMATCH_OP"
18149 safe_MAYBE_WARN="$MAYBE_WARN"
18150 MAYBE_WARN="$MAYBE_WARN -flto"
18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h. */
18158 int main(int argc, char **argv) { return 0; }
18164 if ac_fn_c_try_link "$LINENO"; then :
18168 MAYBE_WARN="$safe_MAYBE_WARN"
18171 rm -f core conftest.err conftest.$ac_objext \
18172 conftest$ac_exeext conftest.$ac_ext
18174 MAYBE_WARN="$MAYBE_WARN -fno-strict-aliasing -fno-common"
18176 MAYBE_WARN="$MAYBE_WARN -Wp,-D_FORTIFY_SOURCE=2"
18178 # invalidate cached value if MAYBE_WARN has changed
18179 if test "x$cairo_cv_warn_maybe" != "x$MAYBE_WARN"; then
18180 unset cairo_cv_warn_cflags
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported warning flags" >&5
18183 $as_echo_n "checking for supported warning flags... " >&6; }
18184 if ${cairo_cv_warn_cflags+:} false; then :
18185 $as_echo_n "(cached) " >&6
18191 # Some warning options are not supported by all versions of
18192 # gcc, so test all desired options against the current
18195 # Note that there are some order dependencies
18196 # here. Specifically, an option that disables a warning will
18197 # have no net effect if a later option then enables that
18198 # warnings, (perhaps implicitly). So we put some grouped
18199 # options (-Wall and -Wextra) up front and the -Wno options
18202 for W in $MAYBE_WARN; do
18203 _test_WERROR=${WERROR+set}
18204 if test "z$_test_WERROR" != zset; then
18206 for _werror in -Werror -errwarn; do
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $_werror" >&5
18208 $as_echo_n "checking whether $CC supports $_werror... " >&6; }
18209 # AC_LANG_PROGRAM() produces a main() w/o args,
18210 # but -Wold-style-definition doesn't like that.
18211 # We need _some_ program so that we don't get
18212 # warnings about empty compilation units, so always
18213 # append a reasonable main().
18214 _compile_program=""'
18215 int main(int c, char **v) { (void)c; (void)v; return 0; }'
18217 _save_cflags="$CFLAGS"
18218 _save_ldflags="$LDFLAGS"
18220 CFLAGS="$CFLAGS $_werror"
18221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18222 /* end confdefs.h. */
18225 if ac_fn_c_try_link "$LINENO"; then :
18226 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18229 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18232 rm -f core conftest.err conftest.$ac_objext \
18233 conftest$ac_exeext conftest.$ac_ext
18235 if test "x$cairo_cc_stderr" != "x"; then
18239 if test "x$cairo_cc_flag" = "xyes"; then
18240 WERROR="$WERROR $_werror"
18244 CFLAGS="$_save_cflags"
18245 LDFLAGS="$_save_ldflags"
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
18250 $as_echo "$cairo_cc_flag" >&6; }
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $W" >&5
18255 $as_echo_n "checking whether $CC supports $W... " >&6; }
18256 # AC_LANG_PROGRAM() produces a main() w/o args,
18257 # but -Wold-style-definition doesn't like that.
18258 # We need _some_ program so that we don't get
18259 # warnings about empty compilation units, so always
18260 # append a reasonable main().
18261 _compile_program=""'
18262 int main(int c, char **v) { (void)c; (void)v; return 0; }'
18264 _save_cflags="$CFLAGS"
18265 _save_ldflags="$LDFLAGS"
18267 CFLAGS="$CFLAGS $WERROR $W"
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18272 if ac_fn_c_try_link "$LINENO"; then :
18273 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18276 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18279 rm -f core conftest.err conftest.$ac_objext \
18280 conftest$ac_exeext conftest.$ac_ext
18282 if test "x$cairo_cc_stderr" != "x"; then
18286 if test "x$cairo_cc_flag" = "xyes"; then
18287 WARN_CFLAGS="$WARN_CFLAGS $W"
18291 CFLAGS="$_save_cflags"
18292 LDFLAGS="$_save_ldflags"
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
18297 $as_echo "$cairo_cc_flag" >&6; }
18300 for W in $NO_WARN; do
18301 _test_WERROR=${WERROR+set}
18302 if test "z$_test_WERROR" != zset; then
18304 for _werror in -Werror -errwarn; do
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $_werror" >&5
18306 $as_echo_n "checking whether $CC supports $_werror... " >&6; }
18307 # AC_LANG_PROGRAM() produces a main() w/o args,
18308 # but -Wold-style-definition doesn't like that.
18309 # We need _some_ program so that we don't get
18310 # warnings about empty compilation units, so always
18311 # append a reasonable main().
18312 _compile_program=""'
18313 int main(int c, char **v) { (void)c; (void)v; return 0; }'
18315 _save_cflags="$CFLAGS"
18316 _save_ldflags="$LDFLAGS"
18318 CFLAGS="$CFLAGS $_werror"
18319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18320 /* end confdefs.h. */
18323 if ac_fn_c_try_link "$LINENO"; then :
18324 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18327 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18330 rm -f core conftest.err conftest.$ac_objext \
18331 conftest$ac_exeext conftest.$ac_ext
18333 if test "x$cairo_cc_stderr" != "x"; then
18337 if test "x$cairo_cc_flag" = "xyes"; then
18338 WERROR="$WERROR $_werror"
18342 CFLAGS="$_save_cflags"
18343 LDFLAGS="$_save_ldflags"
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
18348 $as_echo "$cairo_cc_flag" >&6; }
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -W$W -Wno-$W" >&5
18353 $as_echo_n "checking whether $CC supports -W$W -Wno-$W... " >&6; }
18354 # AC_LANG_PROGRAM() produces a main() w/o args,
18355 # but -Wold-style-definition doesn't like that.
18356 # We need _some_ program so that we don't get
18357 # warnings about empty compilation units, so always
18358 # append a reasonable main().
18359 _compile_program=""'
18360 int main(int c, char **v) { (void)c; (void)v; return 0; }'
18362 _save_cflags="$CFLAGS"
18363 _save_ldflags="$LDFLAGS"
18365 CFLAGS="$CFLAGS $WERROR -W$W -Wno-$W"
18366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18367 /* end confdefs.h. */
18370 if ac_fn_c_try_link "$LINENO"; then :
18371 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18374 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18377 rm -f core conftest.err conftest.$ac_objext \
18378 conftest$ac_exeext conftest.$ac_ext
18380 if test "x$cairo_cc_stderr" != "x"; then
18384 if test "x$cairo_cc_flag" = "xyes"; then
18385 WARN_CFLAGS="$WARN_CFLAGS -Wno-$W"
18389 CFLAGS="$_save_cflags"
18390 LDFLAGS="$_save_ldflags"
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
18395 $as_echo "$cairo_cc_flag" >&6; }
18398 cairo_cv_warn_cflags=$WARN_CFLAGS
18399 cairo_cv_warn_maybe=$MAYBE_WARN
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which warning flags were supported" >&5
18402 $as_echo_n "checking which warning flags were supported... " >&6; }
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_warn_cflags" >&5
18406 $as_echo "$cairo_cv_warn_cflags" >&6; }
18407 WARN_CFLAGS="$cairo_cv_warn_cflags"
18408 CAIRO_CFLAGS="$CAIRO_CFLAGS $WARN_CFLAGS"
18410 # We only wish to enable attribute(warn_unused_result) if we can prevent
18411 # gcc from generating thousands of warnings about the misapplication of the
18412 # attribute to void functions and variables.
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to enable unused result warnings" >&5
18414 $as_echo_n "checking how to enable unused result warnings... " >&6; }
18415 if ${cairo_cv_warn_unused_result+:} false; then :
18416 $as_echo_n "(cached) " >&6
18420 cairo_cv_warn_unused_result=""
18421 if echo $WARN_CFLAGS | $GREP -e '-Wno-attributes' >/dev/null; then
18422 # AC_LANG_PROGRAM() produces a main() w/o args,
18423 # but -Wold-style-definition doesn't like that.
18424 # We need _some_ program so that we don't get
18425 # warnings about empty compilation units, so always
18426 # append a reasonable main().
18427 _compile_program="__attribute__((__warn_unused_result__)) void f (void) {}
18428 __attribute__((__warn_unused_result__)) int g;"'
18429 int main(int c, char **v) { (void)c; (void)v; return 0; }'
18431 _save_cflags="$CFLAGS"
18432 _save_ldflags="$LDFLAGS"
18434 CFLAGS="$CFLAGS -Wno-attributes"
18435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18439 if ac_fn_c_try_link "$LINENO"; then :
18440 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18443 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18446 rm -f core conftest.err conftest.$ac_objext \
18447 conftest$ac_exeext conftest.$ac_ext
18449 if test "x$cairo_cc_stderr" != "x"; then
18453 if test "x$cairo_cc_flag" = "xyes"; then
18454 cairo_cv_warn_unused_result="__attribute__((__warn_unused_result__))"
18458 CFLAGS="$_save_cflags"
18459 LDFLAGS="$_save_ldflags"
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_warn_unused_result" >&5
18467 $as_echo "$cairo_cv_warn_unused_result" >&6; }
18469 cat >>confdefs.h <<_ACEOF
18470 #define WARN_UNUSED_RESULT $cairo_cv_warn_unused_result
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to allow undefined symbols in shared libraries used by test suite" >&5
18475 $as_echo_n "checking how to allow undefined symbols in shared libraries used by test suite... " >&6; }
18476 if ${cairo_cv_test_undefined_ldflags+:} false; then :
18477 $as_echo_n "(cached) " >&6
18479 # AC_LANG_PROGRAM() produces a main() w/o args,
18480 # but -Wold-style-definition doesn't like that.
18481 # We need _some_ program so that we don't get
18482 # warnings about empty compilation units, so always
18483 # append a reasonable main().
18484 _compile_program=""'
18485 int main(int c, char **v) { (void)c; (void)v; return 0; }'
18487 _save_cflags="$CFLAGS"
18488 _save_ldflags="$LDFLAGS"
18490 CFLAGS="$CFLAGS -Wl,--allow-shlib-undefined"
18491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18495 if ac_fn_c_try_link "$LINENO"; then :
18496 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18499 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18502 rm -f core conftest.err conftest.$ac_objext \
18503 conftest$ac_exeext conftest.$ac_ext
18505 if test "x$cairo_cc_stderr" != "x"; then
18509 if test "x$cairo_cc_flag" = "xyes"; then
18510 cairo_cv_test_undefined_ldflags="-Wl,--allow-shlib-undefined"
18514 CFLAGS="$_save_cflags"
18515 LDFLAGS="$_save_ldflags"
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_test_undefined_ldflags" >&5
18521 $as_echo "$cairo_cv_test_undefined_ldflags" >&6; }
18522 CAIRO_TEST_UNDEFINED_LDFLAGS="$cairo_cv_test_undefined_ldflags"
18526 if test "x$cross_compiling" = "xyes"; then
18527 CROSS_COMPILING_TRUE=
18528 CROSS_COMPILING_FALSE='#'
18530 CROSS_COMPILING_TRUE='#'
18531 CROSS_COMPILING_FALSE=
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
18540 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
18541 if ${ac_cv_c_bigendian+:} false; then :
18542 $as_echo_n "(cached) " >&6
18544 ac_cv_c_bigendian=unknown
18545 # See if we're dealing with a universal compiler.
18546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18547 /* end confdefs.h. */
18548 #ifndef __APPLE_CC__
18549 not a universal capable compiler
18554 if ac_fn_c_try_compile "$LINENO"; then :
18556 # Check for potential -arch flags. It is not universal unless
18557 # there are at least two -arch flags with different values.
18560 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
18561 if test -n "$ac_prev"; then
18563 i?86 | x86_64 | ppc | ppc64)
18564 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
18567 ac_cv_c_bigendian=universal
18573 elif test "x$ac_word" = "x-arch"; then
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 if test $ac_cv_c_bigendian = unknown; then
18580 # See if sys/param.h defines the BYTE_ORDER macro.
18581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18582 /* end confdefs.h. */
18583 #include <sys/types.h>
18584 #include <sys/param.h>
18589 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
18590 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
18592 bogus endian macros
18599 if ac_fn_c_try_compile "$LINENO"; then :
18600 # It does; now see whether it defined to BIG_ENDIAN or not.
18601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18602 /* end confdefs.h. */
18603 #include <sys/types.h>
18604 #include <sys/param.h>
18609 #if BYTE_ORDER != BIG_ENDIAN
18617 if ac_fn_c_try_compile "$LINENO"; then :
18618 ac_cv_c_bigendian=yes
18620 ac_cv_c_bigendian=no
18622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18626 if test $ac_cv_c_bigendian = unknown; then
18627 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
18628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18629 /* end confdefs.h. */
18630 #include <limits.h>
18635 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
18636 bogus endian macros
18643 if ac_fn_c_try_compile "$LINENO"; then :
18644 # It does; now see whether it defined to _BIG_ENDIAN or not.
18645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18647 #include <limits.h>
18652 #ifndef _BIG_ENDIAN
18660 if ac_fn_c_try_compile "$LINENO"; then :
18661 ac_cv_c_bigendian=yes
18663 ac_cv_c_bigendian=no
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18669 if test $ac_cv_c_bigendian = unknown; then
18670 # Compile a test program.
18671 if test "$cross_compiling" = yes; then :
18672 # Try to guess by grepping values from an object file.
18673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18675 short int ascii_mm[] =
18676 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18677 short int ascii_ii[] =
18678 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18679 int use_ascii (int i) {
18680 return ascii_mm[i] + ascii_ii[i];
18682 short int ebcdic_ii[] =
18683 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18684 short int ebcdic_mm[] =
18685 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18686 int use_ebcdic (int i) {
18687 return ebcdic_mm[i] + ebcdic_ii[i];
18694 return use_ascii (foo) == use_ebcdic (foo);
18699 if ac_fn_c_try_compile "$LINENO"; then :
18700 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
18701 ac_cv_c_bigendian=yes
18703 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
18704 if test "$ac_cv_c_bigendian" = unknown; then
18705 ac_cv_c_bigendian=no
18707 # finding both strings is unlikely to happen, but who knows?
18708 ac_cv_c_bigendian=unknown
18712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18715 /* end confdefs.h. */
18716 $ac_includes_default
18721 /* Are we little or big endian? From Harbison&Steele. */
18725 char c[sizeof (long int)];
18728 return u.c[sizeof (long int) - 1] == 1;
18734 if ac_fn_c_try_run "$LINENO"; then :
18735 ac_cv_c_bigendian=no
18737 ac_cv_c_bigendian=yes
18739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18740 conftest.$ac_objext conftest.beam conftest.$ac_ext
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
18746 $as_echo "$ac_cv_c_bigendian" >&6; }
18747 case $ac_cv_c_bigendian in #(
18749 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
18755 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
18759 as_fn_error $? "unknown endianness
18760 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether float word ordering is bigendian" >&5
18764 $as_echo_n "checking whether float word ordering is bigendian... " >&6; }
18765 if ${ax_cv_c_float_words_bigendian+:} false; then :
18766 $as_echo_n "(cached) " >&6
18770 # The endianess is detected by first compiling C code that contains a special
18771 # double float value, then grepping the resulting object file for certain
18772 # strings of ascii values. The double is specially crafted to have a
18773 # binary representation that corresponds with a simple string. In this
18774 # implementation, the string "noonsees" was selected because the individual
18775 # word values ("noon" and "sees") are palindromes, thus making this test
18776 # byte-order agnostic. If grep finds the string "noonsees" in the object
18777 # file, the target platform stores float words in big-endian order. If grep
18778 # finds "seesnoon", float words are in little-endian order. If neither value
18779 # is found, the user is instructed to specify the ordering.
18781 ax_cv_c_float_words_bigendian=unknown
18782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h. */
18786 double d = 90904234967036810337470478905505011476211692735615632014797120844053488865816695273723469097858056257517020191247487429516932130503560650002327564517570778480236724525140520121371739201496540132640109977779420565776568942592.0;
18790 if ac_fn_c_try_compile "$LINENO"; then :
18793 if strings - conftest.$ac_objext | grep noonsees >/dev/null ; then
18794 ax_cv_c_float_words_bigendian=yes
18796 if strings - conftest.$ac_objext | grep seesnoon >/dev/null ; then
18797 if test "$ax_cv_c_float_words_bigendian" = unknown; then
18798 ax_cv_c_float_words_bigendian=no
18800 ax_cv_c_float_words_bigendian=unknown
18806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_float_words_bigendian" >&5
18809 $as_echo "$ax_cv_c_float_words_bigendian" >&6; }
18811 case $ax_cv_c_float_words_bigendian in
18814 $as_echo "#define FLOAT_WORDS_BIGENDIAN 1" >>confdefs.h
18821 Unknown float word ordering. You need to manually preset
18822 ax_cv_c_float_words_bigendian=no (or yes) according to your system.
18831 # Check whether --enable-atomic was given.
18832 if test "${enable_atomic+set}" = set; then :
18833 enableval=$enable_atomic; use_atomic=$enableval
18838 if test "x$use_atomic" = "xyes"; then :
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native atomic primitives" >&5
18841 $as_echo_n "checking for native atomic primitives... " >&6; }
18842 if ${cairo_cv_atomic_primitives+:} false; then :
18843 $as_echo_n "(cached) " >&6
18846 cairo_cv_atomic_primitives="none"
18848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18849 /* end confdefs.h. */
18851 int atomic_add(int i) { return __sync_fetch_and_add (&i, 1); }
18852 int atomic_cmpxchg(int i, int j, int k) { return __sync_val_compare_and_swap (&i, j, k); }
18862 if ac_fn_c_try_link "$LINENO"; then :
18863 cairo_cv_atomic_primitives="Intel"
18866 rm -f core conftest.err conftest.$ac_objext \
18867 conftest$ac_exeext conftest.$ac_ext
18869 if test "x$cairo_cv_atomic_primitives" = "xnone"; then
18870 ac_fn_c_check_header_mongrel "$LINENO" "atomic_ops.h" "ac_cv_header_atomic_ops_h" "$ac_includes_default"
18871 if test "x$ac_cv_header_atomic_ops_h" = xyes; then :
18872 cairo_cv_atomic_primitives="libatomic-ops"
18878 if test "x$cairo_cv_atomic_primitives" = "xnone"; then
18879 ac_fn_c_check_header_mongrel "$LINENO" "libkern/OSAtomic.h" "ac_cv_header_libkern_OSAtomic_h" "$ac_includes_default"
18880 if test "x$ac_cv_header_libkern_OSAtomic_h" = xyes; then :
18881 cairo_cv_atomic_primitives="OSAtomic"
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_atomic_primitives" >&5
18889 $as_echo "$cairo_cv_atomic_primitives" >&6; }
18890 if test "x$cairo_cv_atomic_primitives" = xIntel; then
18892 $as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
18896 if test "x$cairo_cv_atomic_primitives" = "xlibatomic-ops"; then
18898 $as_echo "#define HAVE_LIB_ATOMIC_OPS 1" >>confdefs.h
18902 if test "x$cairo_cv_atomic_primitives" = xOSAtomic; then
18904 $as_echo "#define HAVE_OS_ATOMIC_OPS 1" >>confdefs.h
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic ops require a memory barrier" >&5
18909 $as_echo_n "checking whether atomic ops require a memory barrier... " >&6; }
18910 if ${cairo_cv_atomic_op_needs_memory_barrier+:} false; then :
18911 $as_echo_n "(cached) " >&6
18915 i?86) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
18916 x86_64) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
18917 arm*) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
18918 *) cairo_cv_atomic_op_needs_memory_barrier="yes" ;;
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_atomic_op_needs_memory_barrier" >&5
18923 $as_echo "$cairo_cv_atomic_op_needs_memory_barrier" >&6; }
18924 if test "x$cairo_cv_atomic_op_needs_memory_barrier" = "xyes"; then
18926 cat >>confdefs.h <<_ACEOF
18927 #define ATOMIC_OP_NEEDS_MEMORY_BARRIER 1
18934 # The cast to long int works around a bug in the HP C Compiler
18935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18936 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18937 # This bug is HP SR number 8606223364.
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
18939 $as_echo_n "checking size of void *... " >&6; }
18940 if ${ac_cv_sizeof_void_p+:} false; then :
18941 $as_echo_n "(cached) " >&6
18943 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
18946 if test "$ac_cv_type_void_p" = yes; then
18947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18949 as_fn_error 77 "cannot compute sizeof (void *)
18950 See \`config.log' for more details" "$LINENO" 5; }
18952 ac_cv_sizeof_void_p=0
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
18958 $as_echo "$ac_cv_sizeof_void_p" >&6; }
18962 cat >>confdefs.h <<_ACEOF
18963 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18967 # The cast to long int works around a bug in the HP C Compiler
18968 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18969 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18970 # This bug is HP SR number 8606223364.
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
18972 $as_echo_n "checking size of int... " >&6; }
18973 if ${ac_cv_sizeof_int+:} false; then :
18974 $as_echo_n "(cached) " >&6
18976 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
18979 if test "$ac_cv_type_int" = yes; then
18980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18982 as_fn_error 77 "cannot compute sizeof (int)
18983 See \`config.log' for more details" "$LINENO" 5; }
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
18991 $as_echo "$ac_cv_sizeof_int" >&6; }
18995 cat >>confdefs.h <<_ACEOF
18996 #define SIZEOF_INT $ac_cv_sizeof_int
19000 # The cast to long int works around a bug in the HP C Compiler
19001 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19002 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19003 # This bug is HP SR number 8606223364.
19004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
19005 $as_echo_n "checking size of long... " >&6; }
19006 if ${ac_cv_sizeof_long+:} false; then :
19007 $as_echo_n "(cached) " >&6
19009 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
19012 if test "$ac_cv_type_long" = yes; then
19013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19015 as_fn_error 77 "cannot compute sizeof (long)
19016 See \`config.log' for more details" "$LINENO" 5; }
19018 ac_cv_sizeof_long=0
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
19024 $as_echo "$ac_cv_sizeof_long" >&6; }
19028 cat >>confdefs.h <<_ACEOF
19029 #define SIZEOF_LONG $ac_cv_sizeof_long
19033 # The cast to long int works around a bug in the HP C Compiler
19034 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19035 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19036 # This bug is HP SR number 8606223364.
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
19038 $as_echo_n "checking size of long long... " >&6; }
19039 if ${ac_cv_sizeof_long_long+:} false; then :
19040 $as_echo_n "(cached) " >&6
19042 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
19045 if test "$ac_cv_type_long_long" = yes; then
19046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19048 as_fn_error 77 "cannot compute sizeof (long long)
19049 See \`config.log' for more details" "$LINENO" 5; }
19051 ac_cv_sizeof_long_long=0
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
19057 $as_echo "$ac_cv_sizeof_long_long" >&6; }
19061 cat >>confdefs.h <<_ACEOF
19062 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19066 # The cast to long int works around a bug in the HP C Compiler
19067 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19068 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19069 # This bug is HP SR number 8606223364.
19070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
19071 $as_echo_n "checking size of size_t... " >&6; }
19072 if ${ac_cv_sizeof_size_t+:} false; then :
19073 $as_echo_n "(cached) " >&6
19075 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
19078 if test "$ac_cv_type_size_t" = yes; then
19079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19081 as_fn_error 77 "cannot compute sizeof (size_t)
19082 See \`config.log' for more details" "$LINENO" 5; }
19084 ac_cv_sizeof_size_t=0
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
19090 $as_echo "$ac_cv_sizeof_size_t" >&6; }
19094 cat >>confdefs.h <<_ACEOF
19095 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
19101 $as_echo_n "checking for native Win32... " >&6; }
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_os_win32" >&5
19111 $as_echo "$cairo_os_win32" >&6; }
19112 if test "$cairo_os_win32" = "yes"; then
19121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sun Solaris (non-POSIX ctime_r)" >&5
19122 $as_echo_n "checking for Sun Solaris (non-POSIX ctime_r)... " >&6; }
19125 CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS"
19126 solaris_posix_pthread=yes
19129 solaris_posix_pthread=no
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $solaris_posix_pthread" >&5
19133 $as_echo "$solaris_posix_pthread" >&6; }
19138 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
19139 # These system don't have libm, or don't need it
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
19143 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
19144 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
19145 $as_echo_n "(cached) " >&6
19147 ac_check_lib_save_LIBS=$LIBS
19149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19150 /* end confdefs.h. */
19152 /* Override any GCC internal prototype to avoid an error.
19153 Use char because int might match the return type of a GCC
19154 builtin and then its argument prototype would still apply. */
19158 char _mwvalidcheckl ();
19162 return _mwvalidcheckl ();
19167 if ac_fn_c_try_link "$LINENO"; then :
19168 ac_cv_lib_mw__mwvalidcheckl=yes
19170 ac_cv_lib_mw__mwvalidcheckl=no
19172 rm -f core conftest.err conftest.$ac_objext \
19173 conftest$ac_exeext conftest.$ac_ext
19174 LIBS=$ac_check_lib_save_LIBS
19176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
19177 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
19178 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
19183 $as_echo_n "checking for cos in -lm... " >&6; }
19184 if ${ac_cv_lib_m_cos+:} false; then :
19185 $as_echo_n "(cached) " >&6
19187 ac_check_lib_save_LIBS=$LIBS
19189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19190 /* end confdefs.h. */
19192 /* Override any GCC internal prototype to avoid an error.
19193 Use char because int might match the return type of a GCC
19194 builtin and then its argument prototype would still apply. */
19207 if ac_fn_c_try_link "$LINENO"; then :
19208 ac_cv_lib_m_cos=yes
19212 rm -f core conftest.err conftest.$ac_objext \
19213 conftest$ac_exeext conftest.$ac_ext
19214 LIBS=$ac_check_lib_save_LIBS
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
19217 $as_echo "$ac_cv_lib_m_cos" >&6; }
19218 if test "x$ac_cv_lib_m_cos" = xyes; then :
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
19225 $as_echo_n "checking for cos in -lm... " >&6; }
19226 if ${ac_cv_lib_m_cos+:} false; then :
19227 $as_echo_n "(cached) " >&6
19229 ac_check_lib_save_LIBS=$LIBS
19231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19234 /* Override any GCC internal prototype to avoid an error.
19235 Use char because int might match the return type of a GCC
19236 builtin and then its argument prototype would still apply. */
19249 if ac_fn_c_try_link "$LINENO"; then :
19250 ac_cv_lib_m_cos=yes
19254 rm -f core conftest.err conftest.$ac_objext \
19255 conftest$ac_exeext conftest.$ac_ext
19256 LIBS=$ac_check_lib_save_LIBS
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
19259 $as_echo "$ac_cv_lib_m_cos" >&6; }
19260 if test "x$ac_cv_lib_m_cos" = xyes; then :
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
19271 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
19272 if ${ac_cv_lib_rt_sched_yield+:} false; then :
19273 $as_echo_n "(cached) " >&6
19275 ac_check_lib_save_LIBS=$LIBS
19277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19280 /* Override any GCC internal prototype to avoid an error.
19281 Use char because int might match the return type of a GCC
19282 builtin and then its argument prototype would still apply. */
19286 char sched_yield ();
19290 return sched_yield ();
19295 if ac_fn_c_try_link "$LINENO"; then :
19296 ac_cv_lib_rt_sched_yield=yes
19298 ac_cv_lib_rt_sched_yield=no
19300 rm -f core conftest.err conftest.$ac_objext \
19301 conftest$ac_exeext conftest.$ac_ext
19302 LIBS=$ac_check_lib_save_LIBS
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
19305 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
19306 if test "x$ac_cv_lib_rt_sched_yield" = xyes; then :
19307 cat >>confdefs.h <<_ACEOF
19308 #define HAVE_LIBRT 1
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
19318 $as_echo_n "checking for shm_open in -lrt... " >&6; }
19319 if ${ac_cv_lib_rt_shm_open+:} false; then :
19320 $as_echo_n "(cached) " >&6
19322 ac_check_lib_save_LIBS=$LIBS
19324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19325 /* end confdefs.h. */
19327 /* Override any GCC internal prototype to avoid an error.
19328 Use char because int might match the return type of a GCC
19329 builtin and then its argument prototype would still apply. */
19337 return shm_open ();
19342 if ac_fn_c_try_link "$LINENO"; then :
19343 ac_cv_lib_rt_shm_open=yes
19345 ac_cv_lib_rt_shm_open=no
19347 rm -f core conftest.err conftest.$ac_objext \
19348 conftest$ac_exeext conftest.$ac_ext
19349 LIBS=$ac_check_lib_save_LIBS
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
19352 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
19353 if test "x$ac_cv_lib_rt_shm_open" = xyes; then :
19362 if test "x$has_shm_open" = "xyes"; then
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
19373 $as_echo_n "checking for connect in -lsocket... " >&6; }
19374 if ${ac_cv_lib_socket_connect+:} false; then :
19375 $as_echo_n "(cached) " >&6
19377 ac_check_lib_save_LIBS=$LIBS
19378 LIBS="-lsocket $LIBS"
19379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19380 /* end confdefs.h. */
19382 /* Override any GCC internal prototype to avoid an error.
19383 Use char because int might match the return type of a GCC
19384 builtin and then its argument prototype would still apply. */
19397 if ac_fn_c_try_link "$LINENO"; then :
19398 ac_cv_lib_socket_connect=yes
19400 ac_cv_lib_socket_connect=no
19402 rm -f core conftest.err conftest.$ac_objext \
19403 conftest$ac_exeext conftest.$ac_ext
19404 LIBS=$ac_check_lib_save_LIBS
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
19407 $as_echo "$ac_cv_lib_socket_connect" >&6; }
19408 if test "x$ac_cv_lib_socket_connect" = xyes; then :
19409 SOCKET_LIBS=-lsocket
19414 CAIROBOILERPLATE_LIBS=$SOCKET_LIBS
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_return_address(0)" >&5
19419 $as_echo_n "checking for __builtin_return_address(0)... " >&6; }
19420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19421 /* end confdefs.h. */
19426 __builtin_return_address(0);
19431 if ac_fn_c_try_compile "$LINENO"; then :
19432 have_builtin_return_address=yes
19434 have_builtin_return_address=no
19436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_builtin_return_address" >&5
19438 $as_echo "$have_builtin_return_address" >&6; }
19439 if test "x$have_builtin_return_address" = "xyes"; then
19441 $as_echo "#define HAVE_BUILTIN_RETURN_ADDRESS 1" >>confdefs.h
19445 for ac_header in stdint.h inttypes.h sys/int_types.h
19447 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19448 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19449 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19450 cat >>confdefs.h <<_ACEOF
19451 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19458 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
19459 if test "x$ac_cv_type_uint64_t" = xyes; then :
19461 cat >>confdefs.h <<_ACEOF
19462 #define HAVE_UINT64_T 1
19467 ac_fn_c_check_type "$LINENO" "uint128_t" "ac_cv_type_uint128_t" "$ac_includes_default"
19468 if test "x$ac_cv_type_uint128_t" = xyes; then :
19470 cat >>confdefs.h <<_ACEOF
19471 #define HAVE_UINT128_T 1
19476 ac_fn_c_check_type "$LINENO" "__uint128_t" "ac_cv_type___uint128_t" "$ac_includes_default"
19477 if test "x$ac_cv_type___uint128_t" = xyes; then :
19479 cat >>confdefs.h <<_ACEOF
19480 #define HAVE___UINT128_T 1
19487 for ac_header in fcntl.h unistd.h signal.h sys/stat.h sys/socket.h sys/poll.h sys/un.h
19489 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19490 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19491 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19492 cat >>confdefs.h <<_ACEOF
19493 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19501 for ac_func in alarm
19503 ac_fn_c_check_func "$LINENO" "alarm" "ac_cv_func_alarm"
19504 if test "x$ac_cv_func_alarm" = xyes; then :
19505 cat >>confdefs.h <<_ACEOF
19506 #define HAVE_ALARM 1
19513 for ac_header in sched.h
19515 ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
19516 if test "x$ac_cv_header_sched_h" = xyes; then :
19517 cat >>confdefs.h <<_ACEOF
19518 #define HAVE_SCHED_H 1
19520 for ac_func in sched_getaffinity
19522 ac_fn_c_check_func "$LINENO" "sched_getaffinity" "ac_cv_func_sched_getaffinity"
19523 if test "x$ac_cv_func_sched_getaffinity" = xyes; then :
19524 cat >>confdefs.h <<_ACEOF
19525 #define HAVE_SCHED_GETAFFINITY 1
19536 for ac_header in sys/mman.h
19538 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
19539 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
19540 cat >>confdefs.h <<_ACEOF
19541 #define HAVE_SYS_MMAN_H 1
19543 for ac_func in mmap
19545 ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
19546 if test "x$ac_cv_func_mmap" = xyes; then :
19547 cat >>confdefs.h <<_ACEOF
19548 #define HAVE_MMAP 1
19559 for ac_header in time.h
19561 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
19562 if test "x$ac_cv_header_time_h" = xyes; then :
19563 cat >>confdefs.h <<_ACEOF
19564 #define HAVE_TIME_H 1
19566 for ac_func in clock_gettime
19568 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
19569 if test "x$ac_cv_func_clock_gettime" = xyes; then :
19570 cat >>confdefs.h <<_ACEOF
19571 #define HAVE_CLOCK_GETTIME 1
19582 ac_fn_c_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19583 if test "x$ac_cv_header_fenv_h" = xyes; then :
19584 for ac_func in feenableexcept fedisableexcept feclearexcept
19586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19588 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19589 cat >>confdefs.h <<_ACEOF
19590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19600 for ac_header in libgen.h byteswap.h signal.h setjmp.h fenv.h sys/wait.h
19602 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19603 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19604 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19605 cat >>confdefs.h <<_ACEOF
19606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19613 for ac_func in ctime_r drand48 flockfile funlockfile getline link strndup
19615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19617 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19618 cat >>confdefs.h <<_ACEOF
19619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19626 for ac_header in windows.h
19628 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
19629 if test "x$ac_cv_header_windows_h" = xyes; then :
19630 cat >>confdefs.h <<_ACEOF
19631 #define HAVE_WINDOWS_H 1
19642 for ac_header in sys/stat.h io.h
19644 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19645 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19646 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19647 cat >>confdefs.h <<_ACEOF
19648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19655 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir"
19656 if test "x$ac_cv_func_mkdir" = xyes; then :
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mkdir variant" >&5
19658 $as_echo_n "checking mkdir variant... " >&6; }
19659 mkdir_variant="unknown"
19660 save_CFLAGS="$CFLAGS"
19661 CFLAGS=$WARN_CFLAGS
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19665 #ifdef HAVE_SYS_STAT_H
19666 #include <sys/stat.h>
19675 mkdir ("hello.world", 0777)
19680 if ac_fn_c_try_compile "$LINENO"; then :
19681 mkdir_variant="mkdir(path, mode)"
19683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19684 /* end confdefs.h. */
19686 #ifdef HAVE_SYS_STAT_H
19687 #include <sys/stat.h>
19696 mkdir ("hello.world")
19701 if ac_fn_c_try_compile "$LINENO"; then :
19702 mkdir_variant="mkdir(path)"
19704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkdir_variant" >&5
19708 $as_echo "$mkdir_variant" >&6; }
19709 CFLAGS="$save_CFLAGS"
19710 if test "x$mkdir_variant" = "xmkdir(path, mode)"; then
19712 $as_echo "#define HAVE_MKDIR 2" >>confdefs.h
19716 $as_echo "#define HAVE_MKDIR 1" >>confdefs.h
19723 for ac_func in fork waitpid raise
19725 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19727 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19728 cat >>confdefs.h <<_ACEOF
19729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19737 # Check whether --enable-gcov was given.
19738 if test "${enable_gcov+set}" = set; then :
19739 enableval=$enable_gcov; use_gcov=$enableval
19745 if test "x$use_gcov" = "xyes"; then
19746 if test "$GCC" != "yes"; then
19747 as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
19750 # Extract the first word of "shtool", so it can be a program name with args.
19751 set dummy shtool; ac_word=$2
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19753 $as_echo_n "checking for $ac_word... " >&6; }
19754 if ${ac_cv_prog_SHTOOL+:} false; then :
19755 $as_echo_n "(cached) " >&6
19757 if test -n "$SHTOOL"; then
19758 ac_cv_prog_SHTOOL="$SHTOOL" # Let the user override the test.
19760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19761 for as_dir in $PATH
19764 test -z "$as_dir" && as_dir=.
19765 for ac_exec_ext in '' $ac_executable_extensions; do
19766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19767 ac_cv_prog_SHTOOL="shtool"
19768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19777 SHTOOL=$ac_cv_prog_SHTOOL
19778 if test -n "$SHTOOL"; then
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
19780 $as_echo "$SHTOOL" >&6; }
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19783 $as_echo "no" >&6; }
19787 case `$SHTOOL path $CC` in
19788 *ccache*) gcc_ccache=yes;;
19792 if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
19793 as_fn_error $? "ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1." "$LINENO" 5
19796 ltp_version_list="1.7 1.6 1.5 1.4"
19797 # Extract the first word of "lcov", so it can be a program name with args.
19798 set dummy lcov; ac_word=$2
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19800 $as_echo_n "checking for $ac_word... " >&6; }
19801 if ${ac_cv_prog_LTP+:} false; then :
19802 $as_echo_n "(cached) " >&6
19804 if test -n "$LTP"; then
19805 ac_cv_prog_LTP="$LTP" # Let the user override the test.
19807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19808 for as_dir in $PATH
19811 test -z "$as_dir" && as_dir=.
19812 for ac_exec_ext in '' $ac_executable_extensions; do
19813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19814 ac_cv_prog_LTP="lcov"
19815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19824 LTP=$ac_cv_prog_LTP
19825 if test -n "$LTP"; then
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTP" >&5
19827 $as_echo "$LTP" >&6; }
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19830 $as_echo "no" >&6; }
19834 # Extract the first word of "genhtml", so it can be a program name with args.
19835 set dummy genhtml; ac_word=$2
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19837 $as_echo_n "checking for $ac_word... " >&6; }
19838 if ${ac_cv_prog_LTP_GENHTML+:} false; then :
19839 $as_echo_n "(cached) " >&6
19841 if test -n "$LTP_GENHTML"; then
19842 ac_cv_prog_LTP_GENHTML="$LTP_GENHTML" # Let the user override the test.
19844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19845 for as_dir in $PATH
19848 test -z "$as_dir" && as_dir=.
19849 for ac_exec_ext in '' $ac_executable_extensions; do
19850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19851 ac_cv_prog_LTP_GENHTML="genhtml"
19852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19861 LTP_GENHTML=$ac_cv_prog_LTP_GENHTML
19862 if test -n "$LTP_GENHTML"; then
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTP_GENHTML" >&5
19864 $as_echo "$LTP_GENHTML" >&6; }
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19867 $as_echo "no" >&6; }
19872 if test "$LTP"; then
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ltp version" >&5
19874 $as_echo_n "checking for ltp version... " >&6; }
19875 if ${cairo_cv_ltp_version+:} false; then :
19876 $as_echo_n "(cached) " >&6
19879 cairo_cv_ltp_version=invalid
19880 ltp_version=`$LTP -v 2>/dev/null | $SED -e 's/^.* //'`
19881 for ltp_check_version in $ltp_version_list; do
19882 if test "$ltp_version" = "$ltp_check_version"; then
19883 cairo_cv_ltp_version="$ltp_check_version (ok)"
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_ltp_version" >&5
19889 $as_echo "$cairo_cv_ltp_version" >&6; }
19892 case $cairo_cv_ltp_version in
19900 if test "x$cairo_has_lcov" != "xyes"; then
19901 as_fn_error $? "To enable code coverage reporting you must have one of the following LTP versions installed: $ltp_version_list.
19902 Please install the Linux Test Project [http://ltp.sourceforge.net/], and try again." "$LINENO" 5
19905 if test -z "$LTP_GENHTML"; then
19906 as_fn_error $? "Could not find genhtml from the LTP package.
19907 Please install the Linux Test Project [http://ltp.sourceforge.net/], and try again." "$LINENO" 5
19911 $as_echo "#define HAVE_GCOV 1" >>confdefs.h
19915 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
19916 CAIRO_CFLAGS=`echo "$CAIRO_CFLAGS" | $SED -e 's/-O[0-9]*//g'`
19919 _test_WERROR=${WERROR+set}
19920 if test "z$_test_WERROR" != zset; then
19922 for _werror in -Werror -errwarn; do
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $_werror" >&5
19924 $as_echo_n "checking whether $CC supports $_werror... " >&6; }
19925 # AC_LANG_PROGRAM() produces a main() w/o args,
19926 # but -Wold-style-definition doesn't like that.
19927 # We need _some_ program so that we don't get
19928 # warnings about empty compilation units, so always
19929 # append a reasonable main().
19930 _compile_program=""'
19931 int main(int c, char **v) { (void)c; (void)v; return 0; }'
19933 _save_cflags="$CFLAGS"
19934 _save_ldflags="$LDFLAGS"
19936 CFLAGS="$CFLAGS $_werror"
19937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19938 /* end confdefs.h. */
19941 if ac_fn_c_try_link "$LINENO"; then :
19942 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
19945 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
19948 rm -f core conftest.err conftest.$ac_objext \
19949 conftest$ac_exeext conftest.$ac_ext
19951 if test "x$cairo_cc_stderr" != "x"; then
19955 if test "x$cairo_cc_flag" = "xyes"; then
19956 WERROR="$WERROR $_werror"
19960 CFLAGS="$_save_cflags"
19961 LDFLAGS="$_save_ldflags"
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
19966 $as_echo "$cairo_cc_flag" >&6; }
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports --coverage" >&5
19971 $as_echo_n "checking whether $CC supports --coverage... " >&6; }
19972 # AC_LANG_PROGRAM() produces a main() w/o args,
19973 # but -Wold-style-definition doesn't like that.
19974 # We need _some_ program so that we don't get
19975 # warnings about empty compilation units, so always
19976 # append a reasonable main().
19977 _compile_program=""'
19978 int main(int c, char **v) { (void)c; (void)v; return 0; }'
19980 _save_cflags="$CFLAGS"
19981 _save_ldflags="$LDFLAGS"
19983 CFLAGS="$CFLAGS $WERROR --coverage"
19984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19985 /* end confdefs.h. */
19988 if ac_fn_c_try_link "$LINENO"; then :
19989 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
19992 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
19995 rm -f core conftest.err conftest.$ac_objext \
19996 conftest$ac_exeext conftest.$ac_ext
19998 if test "x$cairo_cc_stderr" != "x"; then
20002 if test "x$cairo_cc_flag" = "xyes"; then
20004 CAIRO_CFLAGS="$CAIRO_CFLAGS -O0 --coverage"
20005 CAIRO_LDFLAGS="$CAIRO_LDFLAGS -O0 --coverage"
20010 CFLAGS="$_save_cflags"
20011 LDFLAGS="$_save_ldflags"
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
20016 $as_echo "$cairo_cc_flag" >&6; }
20019 if test "x$cairo_has_lcov" = "xyes"; then
20020 CAIRO_HAS_LCOV_TRUE=
20021 CAIRO_HAS_LCOV_FALSE='#'
20023 CAIRO_HAS_LCOV_TRUE='#'
20024 CAIRO_HAS_LCOV_FALSE=
20028 # Check whether --enable-valgrind was given.
20029 if test "${enable_valgrind+set}" = set; then :
20030 enableval=$enable_valgrind; use_valgrind=$enableval
20036 if test "x$use_valgrind" = "xyes"; then
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
20040 $as_echo_n "checking for VALGRIND... " >&6; }
20042 if test -n "$VALGRIND_CFLAGS"; then
20043 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
20044 elif test -n "$PKG_CONFIG"; then
20045 if test -n "$PKG_CONFIG" && \
20046 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
20047 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
20049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20050 test $ac_status = 0; }; then
20051 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null`
20058 if test -n "$VALGRIND_LIBS"; then
20059 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
20060 elif test -n "$PKG_CONFIG"; then
20061 if test -n "$PKG_CONFIG" && \
20062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
20063 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
20065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20066 test $ac_status = 0; }; then
20067 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind" 2>/dev/null`
20077 if test $pkg_failed = yes; then
20079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20080 _pkg_short_errors_supported=yes
20082 _pkg_short_errors_supported=no
20084 if test $_pkg_short_errors_supported = yes; then
20085 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "valgrind" 2>&1`
20087 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors "valgrind" 2>&1`
20089 # Put the nasty error message in config.log where it belongs
20090 echo "$VALGRIND_PKG_ERRORS" >&5
20092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20093 $as_echo "no" >&6; }
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20095 $as_echo "no" >&6; }
20096 elif test $pkg_failed = untried; then
20097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20098 $as_echo "no" >&6; }
20100 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
20101 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20103 $as_echo "yes" >&6; }
20105 _save_CFLAGS="$CFLAGS"
20106 _save_CPPFLAGS="$CPPFLAGS"
20107 CFLAGS="$CFLAGS $VALGRIND_CFLAGS"
20108 CPPFLAGS="$CPPFLAGS $VALGRIND_CFLAGS"
20109 ac_fn_c_check_header_mongrel "$LINENO" "valgrind.h" "ac_cv_header_valgrind_h" "$ac_includes_default"
20110 if test "x$ac_cv_header_valgrind_h" = xyes; then :
20112 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
20117 ac_fn_c_check_header_mongrel "$LINENO" "lockdep.h" "ac_cv_header_lockdep_h" "$ac_includes_default"
20118 if test "x$ac_cv_header_lockdep_h" = xyes; then :
20120 $as_echo "#define HAVE_LOCKDEP 1" >>confdefs.h
20125 ac_fn_c_check_header_mongrel "$LINENO" "memfault.h" "ac_cv_header_memfault_h" "$ac_includes_default"
20126 if test "x$ac_cv_header_memfault_h" = xyes; then :
20128 $as_echo "#define HAVE_MEMFAULT 1" >>confdefs.h
20133 CAIRO_CFLAGS="$VALGRIND_CFLAGS $CAIRO_CFLAGS"
20134 CFLAGS="$_save_CFLAGS"
20135 CPPFLAGS="$_save_CPPFLAGS"
20140 echo '#undef PACKAGE_VERSION' >>confdefs.h
20141 echo '#undef PACKAGE_STRING' >>confdefs.h
20142 echo '#undef PACKAGE_NAME' >>confdefs.h
20143 echo '#undef PACKAGE_TARNAME' >>confdefs.h
20144 $as_echo "#define PACKAGE_VERSION USE_cairo_version_OR_cairo_version_string_INSTEAD" >>confdefs.h
20146 $as_echo "#define PACKAGE_STRING USE_cairo_version_OR_cairo_version_string_INSTEAD" >>confdefs.h
20148 $as_echo "#define PACKAGE_NAME USE_cairo_INSTEAD" >>confdefs.h
20150 $as_echo "#define PACKAGE_TARNAME USE_cairo_INSTEAD" >>confdefs.h
20161 cat >confcache <<\_ACEOF
20162 # This file is a shell script that caches the results of configure
20163 # tests run on this system so they can be shared between configure
20164 # scripts and configure runs, see configure's option --config-cache.
20165 # It is not useful on other systems. If it contains results you don't
20166 # want to keep, you may remove or edit it.
20168 # config.status only pays attention to the cache file if you give it
20169 # the --recheck option to rerun configure.
20171 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20172 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20173 # following values.
20177 # The following way of writing the cache mishandles newlines in values,
20178 # but we know of no workaround that is simple, portable, and efficient.
20179 # So, we kill variables containing newlines.
20180 # Ultrix sh set writes to stderr and can't be redirected directly,
20181 # and sets the high bit in the cache file unless we assign to the vars.
20183 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20184 eval ac_val=\$$ac_var
20188 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20189 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20192 _ | IFS | as_nl) ;; #(
20193 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20194 *) { eval $ac_var=; unset $ac_var;} ;;
20200 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20201 *${as_nl}ac_space=\ *)
20202 # `set' does not quote correctly, so add quotes: double-quote
20203 # substitution turns \\\\ into \\, and sed turns \\ into \.
20206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20209 # `set' quotes correctly as required by POSIX, so do not add quotes.
20210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20219 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20221 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20223 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20224 if test -w "$cache_file"; then
20225 if test "x$cache_file" != "x/dev/null"; then
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20227 $as_echo "$as_me: updating cache $cache_file" >&6;}
20228 if test ! -f "$cache_file" || test -h "$cache_file"; then
20229 cat confcache >"$cache_file"
20231 case $cache_file in #(
20233 mv -f confcache "$cache_file"$$ &&
20234 mv -f "$cache_file"$$ "$cache_file" ;; #(
20236 mv -f confcache "$cache_file" ;;
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20242 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
20249 $as_echo_n "checking for compress in -lz... " >&6; }
20250 if ${ac_cv_lib_z_compress+:} false; then :
20251 $as_echo_n "(cached) " >&6
20253 ac_check_lib_save_LIBS=$LIBS
20255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20256 /* end confdefs.h. */
20258 /* Override any GCC internal prototype to avoid an error.
20259 Use char because int might match the return type of a GCC
20260 builtin and then its argument prototype would still apply. */
20268 return compress ();
20273 if ac_fn_c_try_link "$LINENO"; then :
20274 ac_cv_lib_z_compress=yes
20276 ac_cv_lib_z_compress=no
20278 rm -f core conftest.err conftest.$ac_objext \
20279 conftest$ac_exeext conftest.$ac_ext
20280 LIBS=$ac_check_lib_save_LIBS
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
20283 $as_echo "$ac_cv_lib_z_compress" >&6; }
20284 if test "x$ac_cv_lib_z_compress" = xyes; then :
20285 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
20286 if test "x$ac_cv_header_zlib_h" = xyes; then :
20290 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
20294 have_libz="no (requires zlib http://www.gzip.org/zlib/)"
20299 have_libz="no (requires zlib http://www.gzip.org/zlib/)"
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzo2a_decompress in -llzo2" >&5
20305 $as_echo_n "checking for lzo2a_decompress in -llzo2... " >&6; }
20306 if ${ac_cv_lib_lzo2_lzo2a_decompress+:} false; then :
20307 $as_echo_n "(cached) " >&6
20309 ac_check_lib_save_LIBS=$LIBS
20310 LIBS="-llzo2 $LIBS"
20311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h. */
20314 /* Override any GCC internal prototype to avoid an error.
20315 Use char because int might match the return type of a GCC
20316 builtin and then its argument prototype would still apply. */
20320 char lzo2a_decompress ();
20324 return lzo2a_decompress ();
20329 if ac_fn_c_try_link "$LINENO"; then :
20330 ac_cv_lib_lzo2_lzo2a_decompress=yes
20332 ac_cv_lib_lzo2_lzo2a_decompress=no
20334 rm -f core conftest.err conftest.$ac_objext \
20335 conftest$ac_exeext conftest.$ac_ext
20336 LIBS=$ac_check_lib_save_LIBS
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzo2_lzo2a_decompress" >&5
20339 $as_echo "$ac_cv_lib_lzo2_lzo2a_decompress" >&6; }
20340 if test "x$ac_cv_lib_lzo2_lzo2a_decompress" = xyes; then :
20341 ac_fn_c_check_header_mongrel "$LINENO" "lzo/lzo2a.h" "ac_cv_header_lzo_lzo2a_h" "$ac_includes_default"
20342 if test "x$ac_cv_header_lzo_lzo2a_h" = xyes; then :
20346 $as_echo "#define HAVE_LZO 1" >>confdefs.h
20351 have_lzo="no (requires lzpo http://www.oberhumer.com/opensource/lzo/)"
20356 have_lzo="no (requires lzpo http://www.oberhumer.com/opensource/lzo/)"
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
20363 $as_echo_n "checking for dlsym in -ldl... " >&6; }
20364 if ${ac_cv_lib_dl_dlsym+:} false; then :
20365 $as_echo_n "(cached) " >&6
20367 ac_check_lib_save_LIBS=$LIBS
20369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20370 /* end confdefs.h. */
20372 /* Override any GCC internal prototype to avoid an error.
20373 Use char because int might match the return type of a GCC
20374 builtin and then its argument prototype would still apply. */
20387 if ac_fn_c_try_link "$LINENO"; then :
20388 ac_cv_lib_dl_dlsym=yes
20390 ac_cv_lib_dl_dlsym=no
20392 rm -f core conftest.err conftest.$ac_objext \
20393 conftest$ac_exeext conftest.$ac_ext
20394 LIBS=$ac_check_lib_save_LIBS
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
20397 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
20398 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
20399 have_dlsym=yes; have_dl=yes
20401 have_dlsym=no; have_dl=no
20404 if test "x$have_dlsym" = "xno"; then
20405 ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
20406 if test "x$ac_cv_func_dlsym" = xyes; then :
20413 for ac_header in dlfcn.h
20415 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
20416 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
20417 cat >>confdefs.h <<_ACEOF
20418 #define HAVE_DLFCN_H 1
20427 if test "x$have_dl" = "xyes"; then
20429 CAIRO_HAS_DL_FALSE='#'
20431 CAIRO_HAS_DL_TRUE='#'
20432 CAIRO_HAS_DL_FALSE=
20435 if test "x$have_dlsym" = "xyes"; then
20437 $as_echo "#define CAIRO_HAS_DLSYM 1" >>confdefs.h
20440 if test "x$have_dlsym" = "xyes"; then
20441 CAIRO_HAS_DLSYM_TRUE=
20442 CAIRO_HAS_DLSYM_FALSE='#'
20444 CAIRO_HAS_DLSYM_TRUE='#'
20445 CAIRO_HAS_DLSYM_FALSE=
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
20451 $as_echo_n "checking for X... " >&6; }
20454 # Check whether --with-x was given.
20455 if test "${with_x+set}" = set; then :
20459 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20460 if test "x$with_x" = xno; then
20461 # The user explicitly disabled X.
20464 case $x_includes,$x_libraries in #(
20465 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
20466 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
20467 $as_echo_n "(cached) " >&6
20469 # One or both of the vars are not set, and there is no cached value.
20470 ac_x_includes=no ac_x_libraries=no
20471 rm -f -r conftest.dir
20472 if mkdir conftest.dir; then
20474 cat >Imakefile <<'_ACEOF'
20476 @echo incroot='${INCROOT}'
20478 @echo usrlibdir='${USRLIBDIR}'
20480 @echo libdir='${LIBDIR}'
20482 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
20483 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
20484 for ac_var in incroot usrlibdir libdir; do
20485 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
20487 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20488 for ac_extension in a so sl dylib la dll; do
20489 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
20490 test -f "$ac_im_libdir/libX11.$ac_extension"; then
20491 ac_im_usrlibdir=$ac_im_libdir; break
20494 # Screen out bogus values from the imake configuration. They are
20495 # bogus both because they are the default anyway, and because
20496 # using them would break gcc on systems where it needs fixed includes.
20497 case $ac_im_incroot in
20498 /usr/include) ac_x_includes= ;;
20499 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20501 case $ac_im_usrlibdir in
20502 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
20503 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20507 rm -f -r conftest.dir
20510 # Standard set of common directories for X headers.
20511 # Check X11 before X11Rn because it is often a symlink to the current release.
20525 /usr/local/X11/include
20526 /usr/local/X11R7/include
20527 /usr/local/X11R6/include
20528 /usr/local/X11R5/include
20529 /usr/local/X11R4/include
20531 /usr/local/include/X11
20532 /usr/local/include/X11R7
20533 /usr/local/include/X11R6
20534 /usr/local/include/X11R5
20535 /usr/local/include/X11R4
20539 /usr/XFree86/include/X11
20543 /usr/unsupported/include
20544 /usr/athena/include
20545 /usr/local/x11r5/include
20546 /usr/lpp/Xamples/include
20548 /usr/openwin/include
20549 /usr/openwin/share/include'
20551 if test "$ac_x_includes" = no; then
20552 # Guess where to find include files, by looking for Xlib.h.
20553 # First, try using that file with no special directory specified.
20554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20555 /* end confdefs.h. */
20556 #include <X11/Xlib.h>
20558 if ac_fn_c_try_cpp "$LINENO"; then :
20559 # We can compile using X headers with no special include directory.
20562 for ac_dir in $ac_x_header_dirs; do
20563 if test -r "$ac_dir/X11/Xlib.h"; then
20564 ac_x_includes=$ac_dir
20569 rm -f conftest.err conftest.i conftest.$ac_ext
20570 fi # $ac_x_includes = no
20572 if test "$ac_x_libraries" = no; then
20573 # Check for the libraries.
20574 # See if we find them without any special options.
20575 # Don't add to $LIBS permanently.
20578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20579 /* end confdefs.h. */
20580 #include <X11/Xlib.h>
20589 if ac_fn_c_try_link "$LINENO"; then :
20591 # We can link X programs with no special library path.
20595 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20597 # Don't even attempt the hair of trying to link an X program!
20598 for ac_extension in a so sl dylib la dll; do
20599 if test -r "$ac_dir/libX11.$ac_extension"; then
20600 ac_x_libraries=$ac_dir
20606 rm -f core conftest.err conftest.$ac_objext \
20607 conftest$ac_exeext conftest.$ac_ext
20608 fi # $ac_x_libraries = no
20610 case $ac_x_includes,$ac_x_libraries in #(
20611 no,* | *,no | *\'*)
20612 # Didn't find X, or a directory has "'" in its name.
20613 ac_cv_have_x="have_x=no";; #(
20615 # Record where we found X for the cache.
20616 ac_cv_have_x="have_x=yes\
20617 ac_x_includes='$ac_x_includes'\
20618 ac_x_libraries='$ac_x_libraries'"
20624 eval "$ac_cv_have_x"
20627 if test "$have_x" != yes; then
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
20629 $as_echo "$have_x" >&6; }
20632 # If each of the values was on the command line, it overrides each guess.
20633 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20634 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20635 # Update the cache value to reflect the command line values.
20636 ac_cv_have_x="have_x=yes\
20637 ac_x_includes='$x_includes'\
20638 ac_x_libraries='$x_libraries'"
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
20640 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
20643 # Check whether --enable-xlib was given.
20644 if test "${enable_xlib+set}" = set; then :
20645 enableval=$enable_xlib; enable_xlib=$enableval
20650 case $enable_xlib in #(
20652 use_xlib="no (disabled, use --enable-xlib to enable)"
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Xlib surface backend feature" >&5
20656 $as_echo_n "checking for cairo's Xlib surface backend feature... " >&6; }
20661 xlib_REQUIRES="$ac_env_xlib_REQUIRES_value"
20662 xlib_CFLAGS="$ac_env_xlib_CFLAGS_value"
20663 xlib_NONPKGCONFIG_CFLAGS="$ac_env_xlib_NONPKGCONFIG_CFLAGS_value"
20664 xlib_LIBS="$ac_env_xlib_LIBS_value"
20665 xlib_NONPKGCONFIG_LIBS="$ac_env_xlib_NONPKGCONFIG_LIBS_value"
20666 xlib_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xlib_NONPKGCONFIG_EXTRA_LIBS_value"
20670 xlib_REQUIRES="x11 xext"
20673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xlib" >&5
20674 $as_echo_n "checking for xlib... " >&6; }
20676 if test -n "$xlib_CFLAGS"; then
20677 pkg_cv_xlib_CFLAGS="$xlib_CFLAGS"
20678 elif test -n "$PKG_CONFIG"; then
20679 if test -n "$PKG_CONFIG" && \
20680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_REQUIRES\""; } >&5
20681 ($PKG_CONFIG --exists --print-errors "$xlib_REQUIRES") 2>&5
20683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20684 test $ac_status = 0; }; then
20685 pkg_cv_xlib_CFLAGS=`$PKG_CONFIG --cflags "$xlib_REQUIRES" 2>/dev/null`
20692 if test -n "$xlib_LIBS"; then
20693 pkg_cv_xlib_LIBS="$xlib_LIBS"
20694 elif test -n "$PKG_CONFIG"; then
20695 if test -n "$PKG_CONFIG" && \
20696 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_REQUIRES\""; } >&5
20697 ($PKG_CONFIG --exists --print-errors "$xlib_REQUIRES") 2>&5
20699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20700 test $ac_status = 0; }; then
20701 pkg_cv_xlib_LIBS=`$PKG_CONFIG --libs "$xlib_REQUIRES" 2>/dev/null`
20711 if test $pkg_failed = yes; then
20713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20714 _pkg_short_errors_supported=yes
20716 _pkg_short_errors_supported=no
20718 if test $_pkg_short_errors_supported = yes; then
20719 xlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xlib_REQUIRES" 2>&1`
20721 xlib_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xlib_REQUIRES" 2>&1`
20723 # Put the nasty error message in config.log where it belongs
20724 echo "$xlib_PKG_ERRORS" >&5
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20727 $as_echo "no" >&6; }
20729 if test "$no_x" = yes; then
20730 # Not all programs may use this symbol, but it does not hurt to define it.
20732 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
20734 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20736 if test -n "$x_includes"; then
20737 X_CFLAGS="$X_CFLAGS -I$x_includes"
20740 # It would also be nice to do this for all -L options, not just this one.
20741 if test -n "$x_libraries"; then
20742 X_LIBS="$X_LIBS -L$x_libraries"
20743 # For Solaris; some versions of Sun CC require a space after -R and
20744 # others require no space. Words are not sufficient . . . .
20745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
20746 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
20747 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20748 ac_xsave_c_werror_flag=$ac_c_werror_flag
20749 ac_c_werror_flag=yes
20750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20751 /* end confdefs.h. */
20761 if ac_fn_c_try_link "$LINENO"; then :
20762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20763 $as_echo "no" >&6; }
20764 X_LIBS="$X_LIBS -R$x_libraries"
20766 LIBS="$ac_xsave_LIBS -R $x_libraries"
20767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20778 if ac_fn_c_try_link "$LINENO"; then :
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20780 $as_echo "yes" >&6; }
20781 X_LIBS="$X_LIBS -R $x_libraries"
20783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
20784 $as_echo "neither works" >&6; }
20786 rm -f core conftest.err conftest.$ac_objext \
20787 conftest$ac_exeext conftest.$ac_ext
20789 rm -f core conftest.err conftest.$ac_objext \
20790 conftest$ac_exeext conftest.$ac_ext
20791 ac_c_werror_flag=$ac_xsave_c_werror_flag
20792 LIBS=$ac_xsave_LIBS
20795 # Check for system-dependent libraries X programs must link with.
20796 # Do this before checking for the system-independent R6 libraries
20797 # (-lICE), since we may need -lsocket or whatever for X linking.
20799 if test "$ISC" = yes; then
20800 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20802 # Martyn Johnson says this is needed for Ultrix, if the X
20803 # libraries were built with DECnet support. And Karl Berry says
20804 # the Alpha needs dnet_stub (dnet does not exist).
20805 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20807 /* end confdefs.h. */
20809 /* Override any GCC internal prototype to avoid an error.
20810 Use char because int might match the return type of a GCC
20811 builtin and then its argument prototype would still apply. */
20815 char XOpenDisplay ();
20819 return XOpenDisplay ();
20824 if ac_fn_c_try_link "$LINENO"; then :
20827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
20828 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20829 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
20830 $as_echo_n "(cached) " >&6
20832 ac_check_lib_save_LIBS=$LIBS
20833 LIBS="-ldnet $LIBS"
20834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20835 /* end confdefs.h. */
20837 /* Override any GCC internal prototype to avoid an error.
20838 Use char because int might match the return type of a GCC
20839 builtin and then its argument prototype would still apply. */
20847 return dnet_ntoa ();
20852 if ac_fn_c_try_link "$LINENO"; then :
20853 ac_cv_lib_dnet_dnet_ntoa=yes
20855 ac_cv_lib_dnet_dnet_ntoa=no
20857 rm -f core conftest.err conftest.$ac_objext \
20858 conftest$ac_exeext conftest.$ac_ext
20859 LIBS=$ac_check_lib_save_LIBS
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20862 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20863 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
20864 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20867 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
20869 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20870 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
20871 $as_echo_n "(cached) " >&6
20873 ac_check_lib_save_LIBS=$LIBS
20874 LIBS="-ldnet_stub $LIBS"
20875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20876 /* end confdefs.h. */
20878 /* Override any GCC internal prototype to avoid an error.
20879 Use char because int might match the return type of a GCC
20880 builtin and then its argument prototype would still apply. */
20888 return dnet_ntoa ();
20893 if ac_fn_c_try_link "$LINENO"; then :
20894 ac_cv_lib_dnet_stub_dnet_ntoa=yes
20896 ac_cv_lib_dnet_stub_dnet_ntoa=no
20898 rm -f core conftest.err conftest.$ac_objext \
20899 conftest$ac_exeext conftest.$ac_ext
20900 LIBS=$ac_check_lib_save_LIBS
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20903 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20904 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
20905 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20910 rm -f core conftest.err conftest.$ac_objext \
20911 conftest$ac_exeext conftest.$ac_ext
20912 LIBS="$ac_xsave_LIBS"
20914 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20915 # to get the SysV transport functions.
20916 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20918 # The nsl library prevents programs from opening the X display
20919 # on Irix 5.2, according to T.E. Dickey.
20920 # The functions gethostbyname, getservbyname, and inet_addr are
20921 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20922 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20923 if test "x$ac_cv_func_gethostbyname" = xyes; then :
20927 if test $ac_cv_func_gethostbyname = no; then
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20929 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20930 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
20931 $as_echo_n "(cached) " >&6
20933 ac_check_lib_save_LIBS=$LIBS
20935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20936 /* end confdefs.h. */
20938 /* Override any GCC internal prototype to avoid an error.
20939 Use char because int might match the return type of a GCC
20940 builtin and then its argument prototype would still apply. */
20944 char gethostbyname ();
20948 return gethostbyname ();
20953 if ac_fn_c_try_link "$LINENO"; then :
20954 ac_cv_lib_nsl_gethostbyname=yes
20956 ac_cv_lib_nsl_gethostbyname=no
20958 rm -f core conftest.err conftest.$ac_objext \
20959 conftest$ac_exeext conftest.$ac_ext
20960 LIBS=$ac_check_lib_save_LIBS
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20963 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20964 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
20965 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20968 if test $ac_cv_lib_nsl_gethostbyname = no; then
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20970 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20971 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
20972 $as_echo_n "(cached) " >&6
20974 ac_check_lib_save_LIBS=$LIBS
20976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20977 /* end confdefs.h. */
20979 /* Override any GCC internal prototype to avoid an error.
20980 Use char because int might match the return type of a GCC
20981 builtin and then its argument prototype would still apply. */
20985 char gethostbyname ();
20989 return gethostbyname ();
20994 if ac_fn_c_try_link "$LINENO"; then :
20995 ac_cv_lib_bsd_gethostbyname=yes
20997 ac_cv_lib_bsd_gethostbyname=no
20999 rm -f core conftest.err conftest.$ac_objext \
21000 conftest$ac_exeext conftest.$ac_ext
21001 LIBS=$ac_check_lib_save_LIBS
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
21004 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
21005 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
21006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21012 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21013 # socket/setsockopt and other routines are undefined under SCO ODT
21014 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21015 # on later versions), says Simon Leinen: it contains gethostby*
21016 # variants that don't use the name server (or something). -lsocket
21017 # must be given before -lnsl if both are needed. We assume that
21018 # if connect needs -lnsl, so does gethostbyname.
21019 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
21020 if test "x$ac_cv_func_connect" = xyes; then :
21024 if test $ac_cv_func_connect = no; then
21025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
21026 $as_echo_n "checking for connect in -lsocket... " >&6; }
21027 if ${ac_cv_lib_socket_connect+:} false; then :
21028 $as_echo_n "(cached) " >&6
21030 ac_check_lib_save_LIBS=$LIBS
21031 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21035 /* Override any GCC internal prototype to avoid an error.
21036 Use char because int might match the return type of a GCC
21037 builtin and then its argument prototype would still apply. */
21050 if ac_fn_c_try_link "$LINENO"; then :
21051 ac_cv_lib_socket_connect=yes
21053 ac_cv_lib_socket_connect=no
21055 rm -f core conftest.err conftest.$ac_objext \
21056 conftest$ac_exeext conftest.$ac_ext
21057 LIBS=$ac_check_lib_save_LIBS
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
21060 $as_echo "$ac_cv_lib_socket_connect" >&6; }
21061 if test "x$ac_cv_lib_socket_connect" = xyes; then :
21062 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21067 # Guillermo Gomez says -lposix is necessary on A/UX.
21068 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
21069 if test "x$ac_cv_func_remove" = xyes; then :
21073 if test $ac_cv_func_remove = no; then
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
21075 $as_echo_n "checking for remove in -lposix... " >&6; }
21076 if ${ac_cv_lib_posix_remove+:} false; then :
21077 $as_echo_n "(cached) " >&6
21079 ac_check_lib_save_LIBS=$LIBS
21080 LIBS="-lposix $LIBS"
21081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21082 /* end confdefs.h. */
21084 /* Override any GCC internal prototype to avoid an error.
21085 Use char because int might match the return type of a GCC
21086 builtin and then its argument prototype would still apply. */
21099 if ac_fn_c_try_link "$LINENO"; then :
21100 ac_cv_lib_posix_remove=yes
21102 ac_cv_lib_posix_remove=no
21104 rm -f core conftest.err conftest.$ac_objext \
21105 conftest$ac_exeext conftest.$ac_ext
21106 LIBS=$ac_check_lib_save_LIBS
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
21109 $as_echo "$ac_cv_lib_posix_remove" >&6; }
21110 if test "x$ac_cv_lib_posix_remove" = xyes; then :
21111 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21116 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21117 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
21118 if test "x$ac_cv_func_shmat" = xyes; then :
21122 if test $ac_cv_func_shmat = no; then
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
21124 $as_echo_n "checking for shmat in -lipc... " >&6; }
21125 if ${ac_cv_lib_ipc_shmat+:} false; then :
21126 $as_echo_n "(cached) " >&6
21128 ac_check_lib_save_LIBS=$LIBS
21130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21131 /* end confdefs.h. */
21133 /* Override any GCC internal prototype to avoid an error.
21134 Use char because int might match the return type of a GCC
21135 builtin and then its argument prototype would still apply. */
21148 if ac_fn_c_try_link "$LINENO"; then :
21149 ac_cv_lib_ipc_shmat=yes
21151 ac_cv_lib_ipc_shmat=no
21153 rm -f core conftest.err conftest.$ac_objext \
21154 conftest$ac_exeext conftest.$ac_ext
21155 LIBS=$ac_check_lib_save_LIBS
21157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
21158 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
21159 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
21160 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21166 # Check for libraries that X11R6 Xt/Xaw programs need.
21167 ac_save_LDFLAGS=$LDFLAGS
21168 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21169 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21170 # check for ICE first), but we must link in the order -lSM -lICE or
21171 # we get undefined symbols. So assume we have SM if we have ICE.
21172 # These have to be linked with before -lX11, unlike the other
21173 # libraries we check for below, so use a different variable.
21174 # John Interrante, Karl Berry
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
21176 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
21177 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
21178 $as_echo_n "(cached) " >&6
21180 ac_check_lib_save_LIBS=$LIBS
21181 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21183 /* end confdefs.h. */
21185 /* Override any GCC internal prototype to avoid an error.
21186 Use char because int might match the return type of a GCC
21187 builtin and then its argument prototype would still apply. */
21191 char IceConnectionNumber ();
21195 return IceConnectionNumber ();
21200 if ac_fn_c_try_link "$LINENO"; then :
21201 ac_cv_lib_ICE_IceConnectionNumber=yes
21203 ac_cv_lib_ICE_IceConnectionNumber=no
21205 rm -f core conftest.err conftest.$ac_objext \
21206 conftest$ac_exeext conftest.$ac_ext
21207 LIBS=$ac_check_lib_save_LIBS
21209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21210 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
21211 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
21212 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21215 LDFLAGS=$ac_save_LDFLAGS
21219 if test "x$no_x" = xyes; then
21220 use_xlib="no (requires X development libraries)"
21222 xlib_NONPKGCONFIG_LIBS="$X_PRE_LIBS $X_LIBS -lX11 -lXext $X_EXTRA_LIBS"
21223 xlib_NONPKGCONFIG_CFLAGS=$X_CFLAGS
21225 elif test $pkg_failed = untried; then
21227 if test "$no_x" = yes; then
21228 # Not all programs may use this symbol, but it does not hurt to define it.
21230 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
21232 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21234 if test -n "$x_includes"; then
21235 X_CFLAGS="$X_CFLAGS -I$x_includes"
21238 # It would also be nice to do this for all -L options, not just this one.
21239 if test -n "$x_libraries"; then
21240 X_LIBS="$X_LIBS -L$x_libraries"
21241 # For Solaris; some versions of Sun CC require a space after -R and
21242 # others require no space. Words are not sufficient . . . .
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
21244 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
21245 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21246 ac_xsave_c_werror_flag=$ac_c_werror_flag
21247 ac_c_werror_flag=yes
21248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21249 /* end confdefs.h. */
21259 if ac_fn_c_try_link "$LINENO"; then :
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21261 $as_echo "no" >&6; }
21262 X_LIBS="$X_LIBS -R$x_libraries"
21264 LIBS="$ac_xsave_LIBS -R $x_libraries"
21265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21266 /* end confdefs.h. */
21276 if ac_fn_c_try_link "$LINENO"; then :
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21278 $as_echo "yes" >&6; }
21279 X_LIBS="$X_LIBS -R $x_libraries"
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
21282 $as_echo "neither works" >&6; }
21284 rm -f core conftest.err conftest.$ac_objext \
21285 conftest$ac_exeext conftest.$ac_ext
21287 rm -f core conftest.err conftest.$ac_objext \
21288 conftest$ac_exeext conftest.$ac_ext
21289 ac_c_werror_flag=$ac_xsave_c_werror_flag
21290 LIBS=$ac_xsave_LIBS
21293 # Check for system-dependent libraries X programs must link with.
21294 # Do this before checking for the system-independent R6 libraries
21295 # (-lICE), since we may need -lsocket or whatever for X linking.
21297 if test "$ISC" = yes; then
21298 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21300 # Martyn Johnson says this is needed for Ultrix, if the X
21301 # libraries were built with DECnet support. And Karl Berry says
21302 # the Alpha needs dnet_stub (dnet does not exist).
21303 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21305 /* end confdefs.h. */
21307 /* Override any GCC internal prototype to avoid an error.
21308 Use char because int might match the return type of a GCC
21309 builtin and then its argument prototype would still apply. */
21313 char XOpenDisplay ();
21317 return XOpenDisplay ();
21322 if ac_fn_c_try_link "$LINENO"; then :
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
21326 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
21327 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
21328 $as_echo_n "(cached) " >&6
21330 ac_check_lib_save_LIBS=$LIBS
21331 LIBS="-ldnet $LIBS"
21332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21333 /* end confdefs.h. */
21335 /* Override any GCC internal prototype to avoid an error.
21336 Use char because int might match the return type of a GCC
21337 builtin and then its argument prototype would still apply. */
21345 return dnet_ntoa ();
21350 if ac_fn_c_try_link "$LINENO"; then :
21351 ac_cv_lib_dnet_dnet_ntoa=yes
21353 ac_cv_lib_dnet_dnet_ntoa=no
21355 rm -f core conftest.err conftest.$ac_objext \
21356 conftest$ac_exeext conftest.$ac_ext
21357 LIBS=$ac_check_lib_save_LIBS
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21360 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
21361 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
21362 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21365 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
21367 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
21368 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
21369 $as_echo_n "(cached) " >&6
21371 ac_check_lib_save_LIBS=$LIBS
21372 LIBS="-ldnet_stub $LIBS"
21373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h. */
21376 /* Override any GCC internal prototype to avoid an error.
21377 Use char because int might match the return type of a GCC
21378 builtin and then its argument prototype would still apply. */
21386 return dnet_ntoa ();
21391 if ac_fn_c_try_link "$LINENO"; then :
21392 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21394 ac_cv_lib_dnet_stub_dnet_ntoa=no
21396 rm -f core conftest.err conftest.$ac_objext \
21397 conftest$ac_exeext conftest.$ac_ext
21398 LIBS=$ac_check_lib_save_LIBS
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21401 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
21402 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
21403 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21408 rm -f core conftest.err conftest.$ac_objext \
21409 conftest$ac_exeext conftest.$ac_ext
21410 LIBS="$ac_xsave_LIBS"
21412 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21413 # to get the SysV transport functions.
21414 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21416 # The nsl library prevents programs from opening the X display
21417 # on Irix 5.2, according to T.E. Dickey.
21418 # The functions gethostbyname, getservbyname, and inet_addr are
21419 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21420 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
21421 if test "x$ac_cv_func_gethostbyname" = xyes; then :
21425 if test $ac_cv_func_gethostbyname = no; then
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
21427 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
21428 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
21429 $as_echo_n "(cached) " >&6
21431 ac_check_lib_save_LIBS=$LIBS
21433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21434 /* end confdefs.h. */
21436 /* Override any GCC internal prototype to avoid an error.
21437 Use char because int might match the return type of a GCC
21438 builtin and then its argument prototype would still apply. */
21442 char gethostbyname ();
21446 return gethostbyname ();
21451 if ac_fn_c_try_link "$LINENO"; then :
21452 ac_cv_lib_nsl_gethostbyname=yes
21454 ac_cv_lib_nsl_gethostbyname=no
21456 rm -f core conftest.err conftest.$ac_objext \
21457 conftest$ac_exeext conftest.$ac_ext
21458 LIBS=$ac_check_lib_save_LIBS
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
21461 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
21462 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
21463 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21466 if test $ac_cv_lib_nsl_gethostbyname = no; then
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
21468 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
21469 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
21470 $as_echo_n "(cached) " >&6
21472 ac_check_lib_save_LIBS=$LIBS
21474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21475 /* end confdefs.h. */
21477 /* Override any GCC internal prototype to avoid an error.
21478 Use char because int might match the return type of a GCC
21479 builtin and then its argument prototype would still apply. */
21483 char gethostbyname ();
21487 return gethostbyname ();
21492 if ac_fn_c_try_link "$LINENO"; then :
21493 ac_cv_lib_bsd_gethostbyname=yes
21495 ac_cv_lib_bsd_gethostbyname=no
21497 rm -f core conftest.err conftest.$ac_objext \
21498 conftest$ac_exeext conftest.$ac_ext
21499 LIBS=$ac_check_lib_save_LIBS
21501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
21502 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
21503 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
21504 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21510 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21511 # socket/setsockopt and other routines are undefined under SCO ODT
21512 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21513 # on later versions), says Simon Leinen: it contains gethostby*
21514 # variants that don't use the name server (or something). -lsocket
21515 # must be given before -lnsl if both are needed. We assume that
21516 # if connect needs -lnsl, so does gethostbyname.
21517 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
21518 if test "x$ac_cv_func_connect" = xyes; then :
21522 if test $ac_cv_func_connect = no; then
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
21524 $as_echo_n "checking for connect in -lsocket... " >&6; }
21525 if ${ac_cv_lib_socket_connect+:} false; then :
21526 $as_echo_n "(cached) " >&6
21528 ac_check_lib_save_LIBS=$LIBS
21529 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21531 /* end confdefs.h. */
21533 /* Override any GCC internal prototype to avoid an error.
21534 Use char because int might match the return type of a GCC
21535 builtin and then its argument prototype would still apply. */
21548 if ac_fn_c_try_link "$LINENO"; then :
21549 ac_cv_lib_socket_connect=yes
21551 ac_cv_lib_socket_connect=no
21553 rm -f core conftest.err conftest.$ac_objext \
21554 conftest$ac_exeext conftest.$ac_ext
21555 LIBS=$ac_check_lib_save_LIBS
21557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
21558 $as_echo "$ac_cv_lib_socket_connect" >&6; }
21559 if test "x$ac_cv_lib_socket_connect" = xyes; then :
21560 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21565 # Guillermo Gomez says -lposix is necessary on A/UX.
21566 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
21567 if test "x$ac_cv_func_remove" = xyes; then :
21571 if test $ac_cv_func_remove = no; then
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
21573 $as_echo_n "checking for remove in -lposix... " >&6; }
21574 if ${ac_cv_lib_posix_remove+:} false; then :
21575 $as_echo_n "(cached) " >&6
21577 ac_check_lib_save_LIBS=$LIBS
21578 LIBS="-lposix $LIBS"
21579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21580 /* end confdefs.h. */
21582 /* Override any GCC internal prototype to avoid an error.
21583 Use char because int might match the return type of a GCC
21584 builtin and then its argument prototype would still apply. */
21597 if ac_fn_c_try_link "$LINENO"; then :
21598 ac_cv_lib_posix_remove=yes
21600 ac_cv_lib_posix_remove=no
21602 rm -f core conftest.err conftest.$ac_objext \
21603 conftest$ac_exeext conftest.$ac_ext
21604 LIBS=$ac_check_lib_save_LIBS
21606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
21607 $as_echo "$ac_cv_lib_posix_remove" >&6; }
21608 if test "x$ac_cv_lib_posix_remove" = xyes; then :
21609 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21614 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21615 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
21616 if test "x$ac_cv_func_shmat" = xyes; then :
21620 if test $ac_cv_func_shmat = no; then
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
21622 $as_echo_n "checking for shmat in -lipc... " >&6; }
21623 if ${ac_cv_lib_ipc_shmat+:} false; then :
21624 $as_echo_n "(cached) " >&6
21626 ac_check_lib_save_LIBS=$LIBS
21628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21629 /* end confdefs.h. */
21631 /* Override any GCC internal prototype to avoid an error.
21632 Use char because int might match the return type of a GCC
21633 builtin and then its argument prototype would still apply. */
21646 if ac_fn_c_try_link "$LINENO"; then :
21647 ac_cv_lib_ipc_shmat=yes
21649 ac_cv_lib_ipc_shmat=no
21651 rm -f core conftest.err conftest.$ac_objext \
21652 conftest$ac_exeext conftest.$ac_ext
21653 LIBS=$ac_check_lib_save_LIBS
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
21656 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
21657 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
21658 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21664 # Check for libraries that X11R6 Xt/Xaw programs need.
21665 ac_save_LDFLAGS=$LDFLAGS
21666 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21667 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21668 # check for ICE first), but we must link in the order -lSM -lICE or
21669 # we get undefined symbols. So assume we have SM if we have ICE.
21670 # These have to be linked with before -lX11, unlike the other
21671 # libraries we check for below, so use a different variable.
21672 # John Interrante, Karl Berry
21673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
21674 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
21675 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
21676 $as_echo_n "(cached) " >&6
21678 ac_check_lib_save_LIBS=$LIBS
21679 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21681 /* end confdefs.h. */
21683 /* Override any GCC internal prototype to avoid an error.
21684 Use char because int might match the return type of a GCC
21685 builtin and then its argument prototype would still apply. */
21689 char IceConnectionNumber ();
21693 return IceConnectionNumber ();
21698 if ac_fn_c_try_link "$LINENO"; then :
21699 ac_cv_lib_ICE_IceConnectionNumber=yes
21701 ac_cv_lib_ICE_IceConnectionNumber=no
21703 rm -f core conftest.err conftest.$ac_objext \
21704 conftest$ac_exeext conftest.$ac_ext
21705 LIBS=$ac_check_lib_save_LIBS
21707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21708 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
21709 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
21710 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21713 LDFLAGS=$ac_save_LDFLAGS
21717 if test "x$no_x" = xyes; then
21718 use_xlib="no (requires X development libraries)"
21720 xlib_NONPKGCONFIG_LIBS="$X_PRE_LIBS $X_LIBS -lX11 -lXext $X_EXTRA_LIBS"
21721 xlib_NONPKGCONFIG_CFLAGS=$X_CFLAGS
21724 xlib_CFLAGS=$pkg_cv_xlib_CFLAGS
21725 xlib_LIBS=$pkg_cv_xlib_LIBS
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21727 $as_echo "yes" >&6; }
21731 ac_fn_c_check_header_mongrel "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
21732 if test "x$ac_cv_header_sys_ipc_h" = xyes; then :
21737 ac_fn_c_check_header_mongrel "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
21738 if test "x$ac_cv_header_sys_shm_h" = xyes; then :
21744 if test "$ac_cv_header_sys_ipc_h" = "yes" -a "$ac_cv_header_sys_shm_h" = "yes"; then
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shmctl IPC_RMID allowes subsequent attaches" >&5
21746 $as_echo_n "checking whether shmctl IPC_RMID allowes subsequent attaches... " >&6; }
21747 if test "$cross_compiling" = yes; then :
21748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming no" >&5
21749 $as_echo "assuming no" >&6; }
21751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h. */
21754 #include <sys/types.h>
21755 #include <sys/ipc.h>
21756 #include <sys/shm.h>
21760 int id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0600);
21761 if (id == -1) return 2;
21762 shmaddr = shmat (id, 0, 0);
21763 shmctl (id, IPC_RMID, 0);
21764 if ((char*) shmat (id, 0, 0) == (char*) -1) {
21774 if ac_fn_c_try_run "$LINENO"; then :
21776 $as_echo "#define IPC_RMID_DEFERRED_RELEASE 1" >>confdefs.h
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21779 $as_echo "yes" >&6; }
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21782 $as_echo "no" >&6; }
21784 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21785 conftest.$ac_objext conftest.beam conftest.$ac_ext
21790 for ac_header in X11/extensions/XShm.h X11/extensions/shmproto.h X11/extensions/shmstr.h
21792 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21793 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <X11/Xlibint.h>
21794 #include <X11/Xproto.h>
21796 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21797 cat >>confdefs.h <<_ACEOF
21798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Xlib surface backend feature could be enabled" >&5
21808 $as_echo_n "checking whether cairo's Xlib surface backend feature could be enabled... " >&6; }
21809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xlib" >&5
21810 $as_echo "$use_xlib" >&6; }
21812 if test "x$enable_xlib" = "xyes" -a "x$use_xlib" != xyes; then :
21813 as_fn_error $? " Xlib surface backend feature could not be enabled" "$LINENO" 5
21817 as_fn_error $? "invalid argument passed to --enable-xlib: \`$use_xlib', should be one of [no/auto/yes]" "$LINENO" 5
21820 if test "x$use_xlib" = "xyes"; then :
21821 CAIRO_REQUIRES="$xlib_REQUIRES"" ${CAIRO_REQUIRES}"
21823 CAIRO_CFLAGS="$xlib_CFLAGS"" ${CAIRO_CFLAGS}"
21825 CAIRO_NONPKGCONFIG_CFLAGS="$xlib_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
21827 CAIRO_LIBS="$xlib_LIBS"" ${CAIRO_LIBS}"
21829 CAIRO_NONPKGCONFIG_LIBS="$xlib_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
21834 unset xlib_REQUIRES
21836 unset xlib_NONPKGCONFIG_CFLAGS
21838 unset xlib_NONPKGCONFIG_LIBS
21839 unset xlib_NONPKGCONFIG_EXTRA_LIBS
21844 if test "x$use_xlib" = xyes; then
21845 CAIRO_HAS_XLIB_SURFACE_TRUE=
21846 CAIRO_HAS_XLIB_SURFACE_FALSE='#'
21848 CAIRO_HAS_XLIB_SURFACE_TRUE='#'
21849 CAIRO_HAS_XLIB_SURFACE_FALSE=
21853 cr_make_tmp='CAIRO_HAS_XLIB_SURFACE=0'
21854 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
21859 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21862 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21865 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21868 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21872 cr_make_tmp='supported_cairo_headers += $(cairo_xlib_headers)'
21873 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21876 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21878 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_headers)'
21879 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21882 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21887 cr_make_tmp='all_cairo_headers += $(cairo_xlib_headers)
21888 all_cairo_private += $(cairo_xlib_private)
21889 all_cairo_cxx_sources += $(cairo_xlib_cxx_sources)
21890 all_cairo_sources += $(cairo_xlib_sources)'
21891 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21894 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21896 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_headers)
21897 all_cairo_boilerplate_private += $(cairo_boilerplate_xlib_private)
21898 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_cxx_sources)
21899 all_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_sources)'
21900 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21903 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21907 cr_make_tmp='enabled_cairo_headers += $(cairo_xlib_headers)
21908 enabled_cairo_private += $(cairo_xlib_private)
21909 enabled_cairo_cxx_sources += $(cairo_xlib_cxx_sources)
21910 enabled_cairo_sources += $(cairo_xlib_sources)'
21911 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21912 "'if CAIRO_HAS_XLIB_SURFACE'
21913 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21915 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21918 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21919 "'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
21920 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21922 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21924 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_headers)
21925 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xlib_private)
21926 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_cxx_sources)
21927 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_sources)'
21928 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21929 "'if CAIRO_HAS_XLIB_SURFACE'
21930 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21932 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21935 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21936 "'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
21937 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21939 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21945 if test "x$use_xlib" = xyes; then :
21947 ac_config_files="$ac_config_files src/cairo-xlib.pc:src/cairo-features.pc.in"
21951 if test "x$use_xlib" = xyes; then :
21953 ac_config_files="$ac_config_files cairo-xlib-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
21957 cr_make_tmp='all_cairo_pkgconf += cairo-xlib.pc'
21958 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21961 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21965 cr_make_tmp='enabled_cairo_pkgconf += cairo-xlib.pc'
21966 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21967 "'if CAIRO_HAS_XLIB_SURFACE'
21968 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21970 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21973 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21974 "'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
21975 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21977 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21981 if test "x$use_xlib" = xyes; then :
21983 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XLIB_SURFACE'
21987 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_XLIB_SURFACE'
21991 if test "x$use_xlib" != xyes; then :
21993 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_XLIB_SURFACE'
21999 cr_make_tmp=' @echo "#define CAIRO_HAS_XLIB_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
22000 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22001 "'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
22002 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22004 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22010 if test "x$use_xlib" = xyes; then :
22012 CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'xlib'
22020 # Check whether --enable-xlib-xrender was given.
22021 if test "${enable_xlib_xrender+set}" = set; then :
22022 enableval=$enable_xlib_xrender; enable_xlib_xrender=$enableval
22024 enable_xlib_xrender=auto
22027 case $enable_xlib_xrender in #(
22029 use_xlib_xrender="no (disabled, use --enable-xlib-xrender to enable)"
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Xlib Xrender surface backend feature" >&5
22033 $as_echo_n "checking for cairo's Xlib Xrender surface backend feature... " >&6; }
22036 use_xlib_xrender=yes
22037 xlib_xrender_BASE="cairo"
22038 xlib_xrender_REQUIRES="$ac_env_xlib_xrender_REQUIRES_value"
22039 xlib_xrender_CFLAGS="$ac_env_xlib_xrender_CFLAGS_value"
22040 xlib_xrender_NONPKGCONFIG_CFLAGS="$ac_env_xlib_xrender_NONPKGCONFIG_CFLAGS_value"
22041 xlib_xrender_LIBS="$ac_env_xlib_xrender_LIBS_value"
22042 xlib_xrender_NONPKGCONFIG_LIBS="$ac_env_xlib_xrender_NONPKGCONFIG_LIBS_value"
22043 xlib_xrender_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xlib_xrender_NONPKGCONFIG_EXTRA_LIBS_value"
22047 if test "x$use_xlib" != "xyes"; then
22048 use_xlib_xrender="no (requires --enable-xlib)"
22050 xlib_xrender_BASE=cairo-xlib
22051 xlib_xrender_REQUIRES="xrender >= 0.6"
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xlib_xrender" >&5
22055 $as_echo_n "checking for xlib_xrender... " >&6; }
22057 if test -n "$xlib_xrender_CFLAGS"; then
22058 pkg_cv_xlib_xrender_CFLAGS="$xlib_xrender_CFLAGS"
22059 elif test -n "$PKG_CONFIG"; then
22060 if test -n "$PKG_CONFIG" && \
22061 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xrender_REQUIRES\""; } >&5
22062 ($PKG_CONFIG --exists --print-errors "$xlib_xrender_REQUIRES") 2>&5
22064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22065 test $ac_status = 0; }; then
22066 pkg_cv_xlib_xrender_CFLAGS=`$PKG_CONFIG --cflags "$xlib_xrender_REQUIRES" 2>/dev/null`
22073 if test -n "$xlib_xrender_LIBS"; then
22074 pkg_cv_xlib_xrender_LIBS="$xlib_xrender_LIBS"
22075 elif test -n "$PKG_CONFIG"; then
22076 if test -n "$PKG_CONFIG" && \
22077 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xrender_REQUIRES\""; } >&5
22078 ($PKG_CONFIG --exists --print-errors "$xlib_xrender_REQUIRES") 2>&5
22080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22081 test $ac_status = 0; }; then
22082 pkg_cv_xlib_xrender_LIBS=`$PKG_CONFIG --libs "$xlib_xrender_REQUIRES" 2>/dev/null`
22092 if test $pkg_failed = yes; then
22094 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22095 _pkg_short_errors_supported=yes
22097 _pkg_short_errors_supported=no
22099 if test $_pkg_short_errors_supported = yes; then
22100 xlib_xrender_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xlib_xrender_REQUIRES" 2>&1`
22102 xlib_xrender_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xlib_xrender_REQUIRES" 2>&1`
22104 # Put the nasty error message in config.log where it belongs
22105 echo "$xlib_xrender_PKG_ERRORS" >&5
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22108 $as_echo "no" >&6; }
22109 xlib_xrender_REQUIRES=""
22110 old_CPPFLAGS=$CPPFLAGS
22111 CPPFLAGS="$CPPFLAGS $xlib_CFLAGS $xlib_NONPKGCONFIG_CFLAGS"
22112 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#include <X11/X.h>
22114 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then :
22115 xlib_xrender_NONPKGCONFIG_LIBS="-lXrender"
22117 use_xlib_xrender="no (requires $xlib_xrender_REQUIRES http://freedesktop.org/Software/xlibs)"
22121 CPPFLAGS=$old_CPPFLAGS
22123 elif test $pkg_failed = untried; then
22124 xlib_xrender_REQUIRES=""
22125 old_CPPFLAGS=$CPPFLAGS
22126 CPPFLAGS="$CPPFLAGS $xlib_CFLAGS $xlib_NONPKGCONFIG_CFLAGS"
22127 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#include <X11/X.h>
22129 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then :
22130 xlib_xrender_NONPKGCONFIG_LIBS="-lXrender"
22132 use_xlib_xrender="no (requires $xlib_xrender_REQUIRES http://freedesktop.org/Software/xlibs)"
22136 CPPFLAGS=$old_CPPFLAGS
22139 xlib_xrender_CFLAGS=$pkg_cv_xlib_xrender_CFLAGS
22140 xlib_xrender_LIBS=$pkg_cv_xlib_xrender_LIBS
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22142 $as_echo "yes" >&6; }
22148 CFLAGS="$CFLAGS $xlib_CFLAGS $xlib_NONPKGCONFIG_CFLAGS $xlib_xrender_CFLAGS $xlib_xrender_NONPKGCONFIG_CFLAGS"
22149 LIBS="$LIBS $xlib_LIBS $xlib_NONPKGCONFIG_LIBS $xlib_xrender_LIBS $xlib_xrender_NONPKGCONFIG_LIBS"
22150 for ac_func in XRenderCreateLinearGradient XRenderCreateRadialGradient XRenderCreateConicalGradient
22152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22154 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22155 cat >>confdefs.h <<_ACEOF
22156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Xlib Xrender surface backend feature could be enabled" >&5
22169 $as_echo_n "checking whether cairo's Xlib Xrender surface backend feature could be enabled... " >&6; }
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xlib_xrender" >&5
22171 $as_echo "$use_xlib_xrender" >&6; }
22173 if test "x$enable_xlib_xrender" = "xyes" -a "x$use_xlib_xrender" != xyes; then :
22174 as_fn_error $? " Xlib Xrender surface backend feature could not be enabled" "$LINENO" 5
22178 as_fn_error $? "invalid argument passed to --enable-xlib-xrender: \`$use_xlib_xrender', should be one of [no/auto/yes]" "$LINENO" 5
22181 if test "x$use_xlib_xrender" = "xyes"; then :
22182 CAIRO_REQUIRES="$xlib_xrender_REQUIRES"" ${CAIRO_REQUIRES}"
22184 CAIRO_CFLAGS="$xlib_xrender_CFLAGS"" ${CAIRO_CFLAGS}"
22186 CAIRO_NONPKGCONFIG_CFLAGS="$xlib_xrender_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
22188 CAIRO_LIBS="$xlib_xrender_LIBS"" ${CAIRO_LIBS}"
22190 CAIRO_NONPKGCONFIG_LIBS="$xlib_xrender_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
22194 unset xlib_xrender_BASE
22195 unset xlib_xrender_REQUIRES
22196 unset xlib_xrender_CFLAGS
22197 unset xlib_xrender_NONPKGCONFIG_CFLAGS
22198 unset xlib_xrender_LIBS
22199 unset xlib_xrender_NONPKGCONFIG_LIBS
22200 unset xlib_xrender_NONPKGCONFIG_EXTRA_LIBS
22205 if test "x$use_xlib_xrender" = xyes; then
22206 CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE=
22207 CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE='#'
22209 CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE='#'
22210 CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE=
22214 cr_make_tmp='CAIRO_HAS_XLIB_XRENDER_SURFACE=0'
22215 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
22220 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22223 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22226 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22229 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22233 cr_make_tmp='supported_cairo_headers += $(cairo_xlib_xrender_headers)'
22234 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22237 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22239 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xrender_headers)'
22240 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22243 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22248 cr_make_tmp='all_cairo_headers += $(cairo_xlib_xrender_headers)
22249 all_cairo_private += $(cairo_xlib_xrender_private)
22250 all_cairo_cxx_sources += $(cairo_xlib_xrender_cxx_sources)
22251 all_cairo_sources += $(cairo_xlib_xrender_sources)'
22252 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22255 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22257 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xrender_headers)
22258 all_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xrender_private)
22259 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xrender_cxx_sources)
22260 all_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xrender_sources)'
22261 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22264 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22268 cr_make_tmp='enabled_cairo_headers += $(cairo_xlib_xrender_headers)
22269 enabled_cairo_private += $(cairo_xlib_xrender_private)
22270 enabled_cairo_cxx_sources += $(cairo_xlib_xrender_cxx_sources)
22271 enabled_cairo_sources += $(cairo_xlib_xrender_sources)'
22272 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22273 "'if CAIRO_HAS_XLIB_XRENDER_SURFACE'
22274 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22276 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22279 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22280 "'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
22281 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22283 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22285 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xrender_headers)
22286 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xrender_private)
22287 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xrender_cxx_sources)
22288 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xrender_sources)'
22289 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22290 "'if CAIRO_HAS_XLIB_XRENDER_SURFACE'
22291 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22293 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22296 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22297 "'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
22298 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22300 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22306 if test "x$use_xlib_xrender" = xyes; then :
22308 ac_config_files="$ac_config_files src/cairo-xlib-xrender.pc:src/cairo-features.pc.in"
22312 if test "x$use_xlib_xrender" = xyes; then :
22314 ac_config_files="$ac_config_files cairo-xlib-xrender-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
22318 cr_make_tmp='all_cairo_pkgconf += cairo-xlib-xrender.pc'
22319 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22322 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22326 cr_make_tmp='enabled_cairo_pkgconf += cairo-xlib-xrender.pc'
22327 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22328 "'if CAIRO_HAS_XLIB_XRENDER_SURFACE'
22329 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22331 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22334 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22335 "'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
22336 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22338 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22342 if test "x$use_xlib_xrender" = xyes; then :
22344 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XLIB_XRENDER_SURFACE'
22348 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_XLIB_XRENDER_SURFACE'
22352 if test "x$use_xlib_xrender" != xyes; then :
22354 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_XLIB_XRENDER_SURFACE'
22360 cr_make_tmp=' @echo "#define CAIRO_HAS_XLIB_XRENDER_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
22361 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22362 "'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
22363 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22365 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22371 if test "x$use_xlib_xrender" = xyes; then :
22373 CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'xlib_xrender'
22382 # Check whether --enable-xcb was given.
22383 if test "${enable_xcb+set}" = set; then :
22384 enableval=$enable_xcb; enable_xcb=$enableval
22389 case $enable_xcb in #(
22391 use_xcb="no (disabled, use --enable-xcb to enable)"
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's XCB surface backend feature" >&5
22395 $as_echo_n "checking for cairo's XCB surface backend feature... " >&6; }
22400 xcb_REQUIRES="$ac_env_xcb_REQUIRES_value"
22401 xcb_CFLAGS="$ac_env_xcb_CFLAGS_value"
22402 xcb_NONPKGCONFIG_CFLAGS="$ac_env_xcb_NONPKGCONFIG_CFLAGS_value"
22403 xcb_LIBS="$ac_env_xcb_LIBS_value"
22404 xcb_NONPKGCONFIG_LIBS="$ac_env_xcb_NONPKGCONFIG_LIBS_value"
22405 xcb_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xcb_NONPKGCONFIG_EXTRA_LIBS_value"
22409 xcb_REQUIRES="xcb >= 1.6 xcb-render >= 1.6"
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xcb" >&5
22413 $as_echo_n "checking for xcb... " >&6; }
22415 if test -n "$xcb_CFLAGS"; then
22416 pkg_cv_xcb_CFLAGS="$xcb_CFLAGS"
22417 elif test -n "$PKG_CONFIG"; then
22418 if test -n "$PKG_CONFIG" && \
22419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_REQUIRES\""; } >&5
22420 ($PKG_CONFIG --exists --print-errors "$xcb_REQUIRES") 2>&5
22422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22423 test $ac_status = 0; }; then
22424 pkg_cv_xcb_CFLAGS=`$PKG_CONFIG --cflags "$xcb_REQUIRES" 2>/dev/null`
22431 if test -n "$xcb_LIBS"; then
22432 pkg_cv_xcb_LIBS="$xcb_LIBS"
22433 elif test -n "$PKG_CONFIG"; then
22434 if test -n "$PKG_CONFIG" && \
22435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_REQUIRES\""; } >&5
22436 ($PKG_CONFIG --exists --print-errors "$xcb_REQUIRES") 2>&5
22438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22439 test $ac_status = 0; }; then
22440 pkg_cv_xcb_LIBS=`$PKG_CONFIG --libs "$xcb_REQUIRES" 2>/dev/null`
22450 if test $pkg_failed = yes; then
22452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22453 _pkg_short_errors_supported=yes
22455 _pkg_short_errors_supported=no
22457 if test $_pkg_short_errors_supported = yes; then
22458 xcb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xcb_REQUIRES" 2>&1`
22460 xcb_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xcb_REQUIRES" 2>&1`
22462 # Put the nasty error message in config.log where it belongs
22463 echo "$xcb_PKG_ERRORS" >&5
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22466 $as_echo "no" >&6; }
22467 use_xcb="no (requires $xcb_REQUIRES http://xcb.freedesktop.org)"
22468 elif test $pkg_failed = untried; then
22469 use_xcb="no (requires $xcb_REQUIRES http://xcb.freedesktop.org)"
22471 xcb_CFLAGS=$pkg_cv_xcb_CFLAGS
22472 xcb_LIBS=$pkg_cv_xcb_LIBS
22473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22474 $as_echo "yes" >&6; }
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's XCB surface backend feature could be enabled" >&5
22480 $as_echo_n "checking whether cairo's XCB surface backend feature could be enabled... " >&6; }
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xcb" >&5
22482 $as_echo "$use_xcb" >&6; }
22484 if test "x$enable_xcb" = "xyes" -a "x$use_xcb" != xyes; then :
22485 as_fn_error $? " XCB surface backend feature could not be enabled" "$LINENO" 5
22489 as_fn_error $? "invalid argument passed to --enable-xcb: \`$use_xcb', should be one of [no/auto/yes]" "$LINENO" 5
22492 if test "x$use_xcb" = "xyes"; then :
22493 CAIRO_REQUIRES="$xcb_REQUIRES"" ${CAIRO_REQUIRES}"
22495 CAIRO_CFLAGS="$xcb_CFLAGS"" ${CAIRO_CFLAGS}"
22497 CAIRO_NONPKGCONFIG_CFLAGS="$xcb_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
22499 CAIRO_LIBS="$xcb_LIBS"" ${CAIRO_LIBS}"
22501 CAIRO_NONPKGCONFIG_LIBS="$xcb_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
22508 unset xcb_NONPKGCONFIG_CFLAGS
22510 unset xcb_NONPKGCONFIG_LIBS
22511 unset xcb_NONPKGCONFIG_EXTRA_LIBS
22516 if test "x$use_xcb" = xyes; then
22517 CAIRO_HAS_XCB_SURFACE_TRUE=
22518 CAIRO_HAS_XCB_SURFACE_FALSE='#'
22520 CAIRO_HAS_XCB_SURFACE_TRUE='#'
22521 CAIRO_HAS_XCB_SURFACE_FALSE=
22525 cr_make_tmp='CAIRO_HAS_XCB_SURFACE=0'
22526 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
22531 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22534 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22537 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22540 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22544 cr_make_tmp='supported_cairo_headers += $(cairo_xcb_headers)'
22545 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22548 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22550 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_headers)'
22551 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22554 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22559 cr_make_tmp='all_cairo_headers += $(cairo_xcb_headers)
22560 all_cairo_private += $(cairo_xcb_private)
22561 all_cairo_cxx_sources += $(cairo_xcb_cxx_sources)
22562 all_cairo_sources += $(cairo_xcb_sources)'
22563 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22566 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22568 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_headers)
22569 all_cairo_boilerplate_private += $(cairo_boilerplate_xcb_private)
22570 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_cxx_sources)
22571 all_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_sources)'
22572 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22575 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22579 cr_make_tmp='enabled_cairo_headers += $(cairo_xcb_headers)
22580 enabled_cairo_private += $(cairo_xcb_private)
22581 enabled_cairo_cxx_sources += $(cairo_xcb_cxx_sources)
22582 enabled_cairo_sources += $(cairo_xcb_sources)'
22583 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22584 "'if CAIRO_HAS_XCB_SURFACE'
22585 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22587 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22590 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22591 "'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
22592 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22594 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22596 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_headers)
22597 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xcb_private)
22598 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_cxx_sources)
22599 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_sources)'
22600 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22601 "'if CAIRO_HAS_XCB_SURFACE'
22602 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22604 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22607 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22608 "'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
22609 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22611 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22617 if test "x$use_xcb" = xyes; then :
22619 ac_config_files="$ac_config_files src/cairo-xcb.pc:src/cairo-features.pc.in"
22623 if test "x$use_xcb" = xyes; then :
22625 ac_config_files="$ac_config_files cairo-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
22629 cr_make_tmp='all_cairo_pkgconf += cairo-xcb.pc'
22630 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22633 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22637 cr_make_tmp='enabled_cairo_pkgconf += cairo-xcb.pc'
22638 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22639 "'if CAIRO_HAS_XCB_SURFACE'
22640 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22642 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22645 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22646 "'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
22647 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22649 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22653 if test "x$use_xcb" = xyes; then :
22655 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XCB_SURFACE'
22659 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_XCB_SURFACE'
22663 if test "x$use_xcb" != xyes; then :
22665 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_XCB_SURFACE'
22671 cr_make_tmp=' @echo "#define CAIRO_HAS_XCB_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
22672 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22673 "'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
22674 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22676 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22682 if test "x$use_xcb" = xyes; then :
22684 CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'xcb'
22692 # Check whether --enable-xlib-xcb was given.
22693 if test "${enable_xlib_xcb+set}" = set; then :
22694 enableval=$enable_xlib_xcb; enable_xlib_xcb=$enableval
22699 case $enable_xlib_xcb in #(
22701 use_xlib_xcb="no (disabled, use --enable-xlib-xcb to enable)"
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Xlib/XCB functions feature" >&5
22705 $as_echo_n "checking for cairo's Xlib/XCB functions feature... " >&6; }
22709 xlib_xcb_BASE="cairo"
22710 xlib_xcb_REQUIRES="$ac_env_xlib_xcb_REQUIRES_value"
22711 xlib_xcb_CFLAGS="$ac_env_xlib_xcb_CFLAGS_value"
22712 xlib_xcb_NONPKGCONFIG_CFLAGS="$ac_env_xlib_xcb_NONPKGCONFIG_CFLAGS_value"
22713 xlib_xcb_LIBS="$ac_env_xlib_xcb_LIBS_value"
22714 xlib_xcb_NONPKGCONFIG_LIBS="$ac_env_xlib_xcb_NONPKGCONFIG_LIBS_value"
22715 xlib_xcb_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xlib_xcb_NONPKGCONFIG_EXTRA_LIBS_value"
22719 if test "x$use_xcb" = "xyes" -a "x$use_xlib" = "xyes"; then
22720 xlib_xcb_REQUIRES="x11-xcb"
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xlib_xcb" >&5
22724 $as_echo_n "checking for xlib_xcb... " >&6; }
22726 if test -n "$xlib_xcb_CFLAGS"; then
22727 pkg_cv_xlib_xcb_CFLAGS="$xlib_xcb_CFLAGS"
22728 elif test -n "$PKG_CONFIG"; then
22729 if test -n "$PKG_CONFIG" && \
22730 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xcb_REQUIRES\""; } >&5
22731 ($PKG_CONFIG --exists --print-errors "$xlib_xcb_REQUIRES") 2>&5
22733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22734 test $ac_status = 0; }; then
22735 pkg_cv_xlib_xcb_CFLAGS=`$PKG_CONFIG --cflags "$xlib_xcb_REQUIRES" 2>/dev/null`
22742 if test -n "$xlib_xcb_LIBS"; then
22743 pkg_cv_xlib_xcb_LIBS="$xlib_xcb_LIBS"
22744 elif test -n "$PKG_CONFIG"; then
22745 if test -n "$PKG_CONFIG" && \
22746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xcb_REQUIRES\""; } >&5
22747 ($PKG_CONFIG --exists --print-errors "$xlib_xcb_REQUIRES") 2>&5
22749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22750 test $ac_status = 0; }; then
22751 pkg_cv_xlib_xcb_LIBS=`$PKG_CONFIG --libs "$xlib_xcb_REQUIRES" 2>/dev/null`
22761 if test $pkg_failed = yes; then
22763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22764 _pkg_short_errors_supported=yes
22766 _pkg_short_errors_supported=no
22768 if test $_pkg_short_errors_supported = yes; then
22769 xlib_xcb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xlib_xcb_REQUIRES" 2>&1`
22771 xlib_xcb_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xlib_xcb_REQUIRES" 2>&1`
22773 # Put the nasty error message in config.log where it belongs
22774 echo "$xlib_xcb_PKG_ERRORS" >&5
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22777 $as_echo "no" >&6; }
22778 use_xlib_xcb="no (requires $xlib_xcb_REQUIRES http://xcb.freedesktop.org)"
22779 elif test $pkg_failed = untried; then
22780 use_xlib_xcb="no (requires $xlib_xcb_REQUIRES http://xcb.freedesktop.org)"
22782 xlib_xcb_CFLAGS=$pkg_cv_xlib_xcb_CFLAGS
22783 xlib_xcb_LIBS=$pkg_cv_xlib_xcb_LIBS
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22785 $as_echo "yes" >&6; }
22789 use_xlib_xcb="no (requires both --enable-xlib and --enable-xcb)"
22793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Xlib/XCB functions feature could be enabled" >&5
22794 $as_echo_n "checking whether cairo's Xlib/XCB functions feature could be enabled... " >&6; }
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xlib_xcb" >&5
22796 $as_echo "$use_xlib_xcb" >&6; }
22798 if test "x$enable_xlib_xcb" = "xyes" -a "x$use_xlib_xcb" != xyes; then :
22799 as_fn_error $? " Xlib/XCB functions feature could not be enabled" "$LINENO" 5
22803 as_fn_error $? "invalid argument passed to --enable-xlib-xcb: \`$use_xlib_xcb', should be one of [no/auto/yes]" "$LINENO" 5
22806 if test "x$use_xlib_xcb" = "xyes"; then :
22807 CAIRO_REQUIRES="$xlib_xcb_REQUIRES"" ${CAIRO_REQUIRES}"
22809 CAIRO_CFLAGS="$xlib_xcb_CFLAGS"" ${CAIRO_CFLAGS}"
22811 CAIRO_NONPKGCONFIG_CFLAGS="$xlib_xcb_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
22813 CAIRO_LIBS="$xlib_xcb_LIBS"" ${CAIRO_LIBS}"
22815 CAIRO_NONPKGCONFIG_LIBS="$xlib_xcb_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
22819 unset xlib_xcb_BASE
22820 unset xlib_xcb_REQUIRES
22821 unset xlib_xcb_CFLAGS
22822 unset xlib_xcb_NONPKGCONFIG_CFLAGS
22823 unset xlib_xcb_LIBS
22824 unset xlib_xcb_NONPKGCONFIG_LIBS
22825 unset xlib_xcb_NONPKGCONFIG_EXTRA_LIBS
22830 if test "x$use_xlib_xcb" = xyes; then
22831 CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE=
22832 CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE='#'
22834 CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE='#'
22835 CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE=
22839 cr_make_tmp='CAIRO_HAS_XLIB_XCB_FUNCTIONS=0'
22840 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
22845 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22848 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22851 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22854 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22859 cr_make_tmp='unsupported_cairo_headers += $(cairo_xlib_xcb_headers)'
22860 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22863 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22865 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)'
22866 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22869 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22873 cr_make_tmp='all_cairo_headers += $(cairo_xlib_xcb_headers)
22874 all_cairo_private += $(cairo_xlib_xcb_private)
22875 all_cairo_cxx_sources += $(cairo_xlib_xcb_cxx_sources)
22876 all_cairo_sources += $(cairo_xlib_xcb_sources)'
22877 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22880 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22882 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)
22883 all_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xcb_private)
22884 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xcb_cxx_sources)
22885 all_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xcb_sources)'
22886 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22889 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22893 cr_make_tmp='enabled_cairo_headers += $(cairo_xlib_xcb_headers)
22894 enabled_cairo_private += $(cairo_xlib_xcb_private)
22895 enabled_cairo_cxx_sources += $(cairo_xlib_xcb_cxx_sources)
22896 enabled_cairo_sources += $(cairo_xlib_xcb_sources)'
22897 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22898 "'if CAIRO_HAS_XLIB_XCB_FUNCTIONS'
22899 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22901 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22904 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22905 "'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
22906 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22908 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22910 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)
22911 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xcb_private)
22912 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xcb_cxx_sources)
22913 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xcb_sources)'
22914 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22915 "'if CAIRO_HAS_XLIB_XCB_FUNCTIONS'
22916 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22918 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22921 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22922 "'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
22923 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22925 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22931 if test "x$use_xlib_xcb" = xyes; then :
22933 ac_config_files="$ac_config_files src/cairo-xlib-xcb.pc:src/cairo-features.pc.in"
22937 if test "x$use_xlib_xcb" = xyes; then :
22939 ac_config_files="$ac_config_files cairo-xlib-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
22943 cr_make_tmp='all_cairo_pkgconf += cairo-xlib-xcb.pc'
22944 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22947 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22951 cr_make_tmp='enabled_cairo_pkgconf += cairo-xlib-xcb.pc'
22952 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22953 "'if CAIRO_HAS_XLIB_XCB_FUNCTIONS'
22954 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22956 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22959 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22960 "'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
22961 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22963 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22967 if test "x$use_xlib_xcb" = xyes; then :
22969 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XLIB_XCB_FUNCTIONS'
22976 cr_make_tmp=' @echo "#define CAIRO_HAS_XLIB_XCB_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
22977 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22978 "'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
22979 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22981 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22985 if test "x$use_xlib_xcb" = xyes; then :
22987 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
22989 "'--- The Xlib/XCB functions feature is still under active development and is
22990 --- included in this release only as a preview. It does NOT fully work yet
22991 --- and incompatible changes may yet be made to Xlib/XCB functions specific
23002 # Check whether --enable-xcb-shm was given.
23003 if test "${enable_xcb_shm+set}" = set; then :
23004 enableval=$enable_xcb_shm; enable_xcb_shm=$enableval
23006 enable_xcb_shm=auto
23009 case $enable_xcb_shm in #(
23011 use_xcb_shm="no (disabled, use --enable-xcb-shm to enable)"
23014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's XCB/SHM functions feature" >&5
23015 $as_echo_n "checking for cairo's XCB/SHM functions feature... " >&6; }
23019 xcb_shm_BASE="cairo"
23020 xcb_shm_REQUIRES="$ac_env_xcb_shm_REQUIRES_value"
23021 xcb_shm_CFLAGS="$ac_env_xcb_shm_CFLAGS_value"
23022 xcb_shm_NONPKGCONFIG_CFLAGS="$ac_env_xcb_shm_NONPKGCONFIG_CFLAGS_value"
23023 xcb_shm_LIBS="$ac_env_xcb_shm_LIBS_value"
23024 xcb_shm_NONPKGCONFIG_LIBS="$ac_env_xcb_shm_NONPKGCONFIG_LIBS_value"
23025 xcb_shm_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xcb_shm_NONPKGCONFIG_EXTRA_LIBS_value"
23029 if test "x$use_xcb" = "xyes"; then
23030 xcb_shm_REQUIRES="xcb-shm"
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xcb_shm" >&5
23034 $as_echo_n "checking for xcb_shm... " >&6; }
23036 if test -n "$xcb_shm_CFLAGS"; then
23037 pkg_cv_xcb_shm_CFLAGS="$xcb_shm_CFLAGS"
23038 elif test -n "$PKG_CONFIG"; then
23039 if test -n "$PKG_CONFIG" && \
23040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_shm_REQUIRES\""; } >&5
23041 ($PKG_CONFIG --exists --print-errors "$xcb_shm_REQUIRES") 2>&5
23043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23044 test $ac_status = 0; }; then
23045 pkg_cv_xcb_shm_CFLAGS=`$PKG_CONFIG --cflags "$xcb_shm_REQUIRES" 2>/dev/null`
23052 if test -n "$xcb_shm_LIBS"; then
23053 pkg_cv_xcb_shm_LIBS="$xcb_shm_LIBS"
23054 elif test -n "$PKG_CONFIG"; then
23055 if test -n "$PKG_CONFIG" && \
23056 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_shm_REQUIRES\""; } >&5
23057 ($PKG_CONFIG --exists --print-errors "$xcb_shm_REQUIRES") 2>&5
23059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23060 test $ac_status = 0; }; then
23061 pkg_cv_xcb_shm_LIBS=`$PKG_CONFIG --libs "$xcb_shm_REQUIRES" 2>/dev/null`
23071 if test $pkg_failed = yes; then
23073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23074 _pkg_short_errors_supported=yes
23076 _pkg_short_errors_supported=no
23078 if test $_pkg_short_errors_supported = yes; then
23079 xcb_shm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xcb_shm_REQUIRES" 2>&1`
23081 xcb_shm_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xcb_shm_REQUIRES" 2>&1`
23083 # Put the nasty error message in config.log where it belongs
23084 echo "$xcb_shm_PKG_ERRORS" >&5
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23087 $as_echo "no" >&6; }
23088 use_xcb_shm="no (requires $xcb_shm http://xcb.freedesktop.org)"
23089 elif test $pkg_failed = untried; then
23090 use_xcb_shm="no (requires $xcb_shm http://xcb.freedesktop.org)"
23092 xcb_shm_CFLAGS=$pkg_cv_xcb_shm_CFLAGS
23093 xcb_shm_LIBS=$pkg_cv_xcb_shm_LIBS
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23095 $as_echo "yes" >&6; }
23099 use_xcb_shm="no (requires --enable-xcb)"
23103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's XCB/SHM functions feature could be enabled" >&5
23104 $as_echo_n "checking whether cairo's XCB/SHM functions feature could be enabled... " >&6; }
23105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xcb_shm" >&5
23106 $as_echo "$use_xcb_shm" >&6; }
23108 if test "x$enable_xcb_shm" = "xyes" -a "x$use_xcb_shm" != xyes; then :
23109 as_fn_error $? " XCB/SHM functions feature could not be enabled" "$LINENO" 5
23113 as_fn_error $? "invalid argument passed to --enable-xcb-shm: \`$use_xcb_shm', should be one of [no/auto/yes]" "$LINENO" 5
23116 if test "x$use_xcb_shm" = "xyes"; then :
23117 CAIRO_REQUIRES="$xcb_shm_REQUIRES"" ${CAIRO_REQUIRES}"
23119 CAIRO_CFLAGS="$xcb_shm_CFLAGS"" ${CAIRO_CFLAGS}"
23121 CAIRO_NONPKGCONFIG_CFLAGS="$xcb_shm_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
23123 CAIRO_LIBS="$xcb_shm_LIBS"" ${CAIRO_LIBS}"
23125 CAIRO_NONPKGCONFIG_LIBS="$xcb_shm_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
23130 unset xcb_shm_REQUIRES
23131 unset xcb_shm_CFLAGS
23132 unset xcb_shm_NONPKGCONFIG_CFLAGS
23134 unset xcb_shm_NONPKGCONFIG_LIBS
23135 unset xcb_shm_NONPKGCONFIG_EXTRA_LIBS
23140 if test "x$use_xcb_shm" = xyes; then
23141 CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE=
23142 CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE='#'
23144 CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE='#'
23145 CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE=
23149 cr_make_tmp='CAIRO_HAS_XCB_SHM_FUNCTIONS=0'
23150 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
23155 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23158 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23161 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23164 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23168 cr_make_tmp='supported_cairo_headers += $(cairo_xcb_shm_headers)'
23169 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23172 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23174 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_shm_headers)'
23175 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23178 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23183 cr_make_tmp='all_cairo_headers += $(cairo_xcb_shm_headers)
23184 all_cairo_private += $(cairo_xcb_shm_private)
23185 all_cairo_cxx_sources += $(cairo_xcb_shm_cxx_sources)
23186 all_cairo_sources += $(cairo_xcb_shm_sources)'
23187 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23190 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23192 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_shm_headers)
23193 all_cairo_boilerplate_private += $(cairo_boilerplate_xcb_shm_private)
23194 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_shm_cxx_sources)
23195 all_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_shm_sources)'
23196 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23199 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23203 cr_make_tmp='enabled_cairo_headers += $(cairo_xcb_shm_headers)
23204 enabled_cairo_private += $(cairo_xcb_shm_private)
23205 enabled_cairo_cxx_sources += $(cairo_xcb_shm_cxx_sources)
23206 enabled_cairo_sources += $(cairo_xcb_shm_sources)'
23207 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23208 "'if CAIRO_HAS_XCB_SHM_FUNCTIONS'
23209 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23211 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23214 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23215 "'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
23216 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23218 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23220 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_shm_headers)
23221 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xcb_shm_private)
23222 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_shm_cxx_sources)
23223 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_shm_sources)'
23224 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23225 "'if CAIRO_HAS_XCB_SHM_FUNCTIONS'
23226 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23228 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23231 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23232 "'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
23233 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23235 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23241 if test "x$use_xcb_shm" = xyes; then :
23243 ac_config_files="$ac_config_files src/cairo-xcb-shm.pc:src/cairo-features.pc.in"
23247 if test "x$use_xcb_shm" = xyes; then :
23249 ac_config_files="$ac_config_files cairo-xcb-shm-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
23253 cr_make_tmp='all_cairo_pkgconf += cairo-xcb-shm.pc'
23254 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23257 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23261 cr_make_tmp='enabled_cairo_pkgconf += cairo-xcb-shm.pc'
23262 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23263 "'if CAIRO_HAS_XCB_SHM_FUNCTIONS'
23264 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23266 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23269 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23270 "'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
23271 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23273 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23277 if test "x$use_xcb_shm" = xyes; then :
23279 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XCB_SHM_FUNCTIONS'
23283 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_XCB_SHM_FUNCTIONS'
23287 if test "x$use_xcb_shm" != xyes; then :
23289 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_XCB_SHM_FUNCTIONS'
23295 cr_make_tmp=' @echo "#define CAIRO_HAS_XCB_SHM_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
23296 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23297 "'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
23298 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23300 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23311 # Check whether --enable-qt was given.
23312 if test "${enable_qt+set}" = set; then :
23313 enableval=$enable_qt; enable_qt=$enableval
23318 case $enable_qt in #(
23320 use_qt="no (disabled, use --enable-qt to enable)"
23323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Qt surface backend feature" >&5
23324 $as_echo_n "checking for cairo's Qt surface backend feature... " >&6; }
23329 qt_REQUIRES="$ac_env_qt_REQUIRES_value"
23330 qt_CFLAGS="$ac_env_qt_CFLAGS_value"
23331 qt_NONPKGCONFIG_CFLAGS="$ac_env_qt_NONPKGCONFIG_CFLAGS_value"
23332 qt_LIBS="$ac_env_qt_LIBS_value"
23333 qt_NONPKGCONFIG_LIBS="$ac_env_qt_NONPKGCONFIG_LIBS_value"
23334 qt_NONPKGCONFIG_EXTRA_LIBS="$ac_env_qt_NONPKGCONFIG_EXTRA_LIBS_value"
23338 qt_REQUIRES="QtGui >= 4.4.0"
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
23342 $as_echo_n "checking for qt... " >&6; }
23344 if test -n "$qt_CFLAGS"; then
23345 pkg_cv_qt_CFLAGS="$qt_CFLAGS"
23346 elif test -n "$PKG_CONFIG"; then
23347 if test -n "$PKG_CONFIG" && \
23348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$qt_REQUIRES\""; } >&5
23349 ($PKG_CONFIG --exists --print-errors "$qt_REQUIRES") 2>&5
23351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23352 test $ac_status = 0; }; then
23353 pkg_cv_qt_CFLAGS=`$PKG_CONFIG --cflags "$qt_REQUIRES" 2>/dev/null`
23360 if test -n "$qt_LIBS"; then
23361 pkg_cv_qt_LIBS="$qt_LIBS"
23362 elif test -n "$PKG_CONFIG"; then
23363 if test -n "$PKG_CONFIG" && \
23364 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$qt_REQUIRES\""; } >&5
23365 ($PKG_CONFIG --exists --print-errors "$qt_REQUIRES") 2>&5
23367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23368 test $ac_status = 0; }; then
23369 pkg_cv_qt_LIBS=`$PKG_CONFIG --libs "$qt_REQUIRES" 2>/dev/null`
23379 if test $pkg_failed = yes; then
23381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23382 _pkg_short_errors_supported=yes
23384 _pkg_short_errors_supported=no
23386 if test $_pkg_short_errors_supported = yes; then
23387 qt_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$qt_REQUIRES" 2>&1`
23389 qt_PKG_ERRORS=`$PKG_CONFIG --print-errors "$qt_REQUIRES" 2>&1`
23391 # Put the nasty error message in config.log where it belongs
23392 echo "$qt_PKG_ERRORS" >&5
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23395 $as_echo "no" >&6; }
23397 use_qt="no (requires Qt4 development libraries)"
23399 elif test $pkg_failed = untried; then
23401 use_qt="no (requires Qt4 development libraries)"
23404 qt_CFLAGS=$pkg_cv_qt_CFLAGS
23405 qt_LIBS=$pkg_cv_qt_LIBS
23406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23407 $as_echo "yes" >&6; }
23412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Qt surface backend feature could be enabled" >&5
23413 $as_echo_n "checking whether cairo's Qt surface backend feature could be enabled... " >&6; }
23414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_qt" >&5
23415 $as_echo "$use_qt" >&6; }
23417 if test "x$enable_qt" = "xyes" -a "x$use_qt" != xyes; then :
23418 as_fn_error $? " Qt surface backend feature could not be enabled" "$LINENO" 5
23422 as_fn_error $? "invalid argument passed to --enable-qt: \`$use_qt', should be one of [no/auto/yes]" "$LINENO" 5
23425 if test "x$use_qt" = "xyes"; then :
23426 CAIRO_REQUIRES="$qt_REQUIRES"" ${CAIRO_REQUIRES}"
23428 CAIRO_CFLAGS="$qt_CFLAGS"" ${CAIRO_CFLAGS}"
23430 CAIRO_NONPKGCONFIG_CFLAGS="$qt_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
23432 CAIRO_LIBS="$qt_LIBS"" ${CAIRO_LIBS}"
23434 CAIRO_NONPKGCONFIG_LIBS="$qt_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
23441 unset qt_NONPKGCONFIG_CFLAGS
23443 unset qt_NONPKGCONFIG_LIBS
23444 unset qt_NONPKGCONFIG_EXTRA_LIBS
23449 if test "x$use_qt" = xyes; then
23450 CAIRO_HAS_QT_SURFACE_TRUE=
23451 CAIRO_HAS_QT_SURFACE_FALSE='#'
23453 CAIRO_HAS_QT_SURFACE_TRUE='#'
23454 CAIRO_HAS_QT_SURFACE_FALSE=
23458 cr_make_tmp='CAIRO_HAS_QT_SURFACE=0'
23459 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
23464 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23467 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23470 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23473 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23478 cr_make_tmp='unsupported_cairo_headers += $(cairo_qt_headers)'
23479 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23482 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23484 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_qt_headers)'
23485 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23488 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23492 cr_make_tmp='all_cairo_headers += $(cairo_qt_headers)
23493 all_cairo_private += $(cairo_qt_private)
23494 all_cairo_cxx_sources += $(cairo_qt_cxx_sources)
23495 all_cairo_sources += $(cairo_qt_sources)'
23496 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23499 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23501 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_qt_headers)
23502 all_cairo_boilerplate_private += $(cairo_boilerplate_qt_private)
23503 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_qt_cxx_sources)
23504 all_cairo_boilerplate_sources += $(cairo_boilerplate_qt_sources)'
23505 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23508 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23512 cr_make_tmp='enabled_cairo_headers += $(cairo_qt_headers)
23513 enabled_cairo_private += $(cairo_qt_private)
23514 enabled_cairo_cxx_sources += $(cairo_qt_cxx_sources)
23515 enabled_cairo_sources += $(cairo_qt_sources)'
23516 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23517 "'if CAIRO_HAS_QT_SURFACE'
23518 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23520 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23523 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23524 "'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
23525 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23527 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23529 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_qt_headers)
23530 enabled_cairo_boilerplate_private += $(cairo_boilerplate_qt_private)
23531 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_qt_cxx_sources)
23532 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_qt_sources)'
23533 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23534 "'if CAIRO_HAS_QT_SURFACE'
23535 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23537 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23540 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23541 "'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
23542 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23544 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23550 if test "x$use_qt" = xyes; then :
23552 ac_config_files="$ac_config_files src/cairo-qt.pc:src/cairo-features.pc.in"
23556 if test "x$use_qt" = xyes; then :
23558 ac_config_files="$ac_config_files cairo-qt-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
23562 cr_make_tmp='all_cairo_pkgconf += cairo-qt.pc'
23563 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23566 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23570 cr_make_tmp='enabled_cairo_pkgconf += cairo-qt.pc'
23571 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23572 "'if CAIRO_HAS_QT_SURFACE'
23573 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23575 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23578 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23579 "'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
23580 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23582 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23586 if test "x$use_qt" = xyes; then :
23588 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QT_SURFACE'
23595 cr_make_tmp=' @echo "#define CAIRO_HAS_QT_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
23596 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23597 "'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
23598 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23600 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23604 if test "x$use_qt" = xyes; then :
23606 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
23608 "'--- The Qt surface backend feature is still under active development and is
23609 --- included in this release only as a preview. It does NOT fully work yet
23610 --- and incompatible changes may yet be made to Qt surface backend specific
23622 # Check whether --enable-quartz was given.
23623 if test "${enable_quartz+set}" = set; then :
23624 enableval=$enable_quartz; enable_quartz=$enableval
23629 case $enable_quartz in #(
23631 use_quartz="no (disabled, use --enable-quartz to enable)"
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Quartz surface backend feature" >&5
23635 $as_echo_n "checking for cairo's Quartz surface backend feature... " >&6; }
23639 quartz_BASE="cairo"
23640 quartz_REQUIRES="$ac_env_quartz_REQUIRES_value"
23641 quartz_CFLAGS="$ac_env_quartz_CFLAGS_value"
23642 quartz_NONPKGCONFIG_CFLAGS="$ac_env_quartz_NONPKGCONFIG_CFLAGS_value"
23643 quartz_LIBS="$ac_env_quartz_LIBS_value"
23644 quartz_NONPKGCONFIG_LIBS="$ac_env_quartz_NONPKGCONFIG_LIBS_value"
23645 quartz_NONPKGCONFIG_EXTRA_LIBS="$ac_env_quartz_NONPKGCONFIG_EXTRA_LIBS_value"
23649 ac_fn_c_check_header_mongrel "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
23650 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes; then :
23653 use_quartz="no (requires ApplicationServices framework)"
23657 if test "x$use_quartz" != "xyes" ; then
23658 ac_fn_c_check_header_mongrel "$LINENO" "CoreGraphics/CoreGraphics.h" "ac_cv_header_CoreGraphics_CoreGraphics_h" "$ac_includes_default"
23659 if test "x$ac_cv_header_CoreGraphics_CoreGraphics_h" = xyes; then :
23662 use_quartz="no (requires CoreGraphics framework)"
23666 quartz_LIBS="-Xlinker -framework -Xlinker CoreGraphics"
23668 quartz_LIBS="-Xlinker -framework -Xlinker ApplicationServices"
23672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Quartz surface backend feature could be enabled" >&5
23673 $as_echo_n "checking whether cairo's Quartz surface backend feature could be enabled... " >&6; }
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_quartz" >&5
23675 $as_echo "$use_quartz" >&6; }
23677 if test "x$enable_quartz" = "xyes" -a "x$use_quartz" != xyes; then :
23678 as_fn_error $? " Quartz surface backend feature could not be enabled" "$LINENO" 5
23682 as_fn_error $? "invalid argument passed to --enable-quartz: \`$use_quartz', should be one of [no/auto/yes]" "$LINENO" 5
23685 if test "x$use_quartz" = "xyes"; then :
23686 CAIRO_REQUIRES="$quartz_REQUIRES"" ${CAIRO_REQUIRES}"
23688 CAIRO_CFLAGS="$quartz_CFLAGS"" ${CAIRO_CFLAGS}"
23690 CAIRO_NONPKGCONFIG_CFLAGS="$quartz_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
23692 CAIRO_LIBS="$quartz_LIBS"" ${CAIRO_LIBS}"
23694 CAIRO_NONPKGCONFIG_LIBS="$quartz_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
23699 unset quartz_REQUIRES
23700 unset quartz_CFLAGS
23701 unset quartz_NONPKGCONFIG_CFLAGS
23703 unset quartz_NONPKGCONFIG_LIBS
23704 unset quartz_NONPKGCONFIG_EXTRA_LIBS
23709 if test "x$use_quartz" = xyes; then
23710 CAIRO_HAS_QUARTZ_SURFACE_TRUE=
23711 CAIRO_HAS_QUARTZ_SURFACE_FALSE='#'
23713 CAIRO_HAS_QUARTZ_SURFACE_TRUE='#'
23714 CAIRO_HAS_QUARTZ_SURFACE_FALSE=
23718 cr_make_tmp='CAIRO_HAS_QUARTZ_SURFACE=0'
23719 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
23724 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23727 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23730 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23733 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23737 cr_make_tmp='supported_cairo_headers += $(cairo_quartz_headers)'
23738 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23741 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23743 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_headers)'
23744 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23747 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23752 cr_make_tmp='all_cairo_headers += $(cairo_quartz_headers)
23753 all_cairo_private += $(cairo_quartz_private)
23754 all_cairo_cxx_sources += $(cairo_quartz_cxx_sources)
23755 all_cairo_sources += $(cairo_quartz_sources)'
23756 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23759 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23761 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_headers)
23762 all_cairo_boilerplate_private += $(cairo_boilerplate_quartz_private)
23763 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_cxx_sources)
23764 all_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_sources)'
23765 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23768 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23772 cr_make_tmp='enabled_cairo_headers += $(cairo_quartz_headers)
23773 enabled_cairo_private += $(cairo_quartz_private)
23774 enabled_cairo_cxx_sources += $(cairo_quartz_cxx_sources)
23775 enabled_cairo_sources += $(cairo_quartz_sources)'
23776 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23777 "'if CAIRO_HAS_QUARTZ_SURFACE'
23778 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23780 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23783 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23784 "'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
23785 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23787 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23789 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_headers)
23790 enabled_cairo_boilerplate_private += $(cairo_boilerplate_quartz_private)
23791 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_cxx_sources)
23792 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_sources)'
23793 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23794 "'if CAIRO_HAS_QUARTZ_SURFACE'
23795 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23797 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23800 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23801 "'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
23802 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23804 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23810 if test "x$use_quartz" = xyes; then :
23812 ac_config_files="$ac_config_files src/cairo-quartz.pc:src/cairo-features.pc.in"
23816 if test "x$use_quartz" = xyes; then :
23818 ac_config_files="$ac_config_files cairo-quartz-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
23822 cr_make_tmp='all_cairo_pkgconf += cairo-quartz.pc'
23823 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23826 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23830 cr_make_tmp='enabled_cairo_pkgconf += cairo-quartz.pc'
23831 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23832 "'if CAIRO_HAS_QUARTZ_SURFACE'
23833 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23835 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23838 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23839 "'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
23840 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23842 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23846 if test "x$use_quartz" = xyes; then :
23848 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QUARTZ_SURFACE'
23852 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_QUARTZ_SURFACE'
23856 if test "x$use_quartz" != xyes; then :
23858 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_QUARTZ_SURFACE'
23864 cr_make_tmp=' @echo "#define CAIRO_HAS_QUARTZ_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
23865 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23866 "'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
23867 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23869 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23875 if test "x$use_quartz" = xyes; then :
23877 CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'quartz'
23885 # Check whether --enable-quartz-font was given.
23886 if test "${enable_quartz_font+set}" = set; then :
23887 enableval=$enable_quartz_font; enable_quartz_font=$enableval
23889 enable_quartz_font=auto
23892 case $enable_quartz_font in #(
23894 use_quartz_font="no (disabled, use --enable-quartz-font to enable)"
23897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Quartz font backend feature" >&5
23898 $as_echo_n "checking for cairo's Quartz font backend feature... " >&6; }
23901 use_quartz_font=yes
23902 quartz_font_BASE="cairo"
23903 quartz_font_REQUIRES="$ac_env_quartz_font_REQUIRES_value"
23904 quartz_font_CFLAGS="$ac_env_quartz_font_CFLAGS_value"
23905 quartz_font_NONPKGCONFIG_CFLAGS="$ac_env_quartz_font_NONPKGCONFIG_CFLAGS_value"
23906 quartz_font_LIBS="$ac_env_quartz_font_LIBS_value"
23907 quartz_font_NONPKGCONFIG_LIBS="$ac_env_quartz_font_NONPKGCONFIG_LIBS_value"
23908 quartz_font_NONPKGCONFIG_EXTRA_LIBS="$ac_env_quartz_font_NONPKGCONFIG_EXTRA_LIBS_value"
23912 use_quartz_font=$use_quartz
23915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Quartz font backend feature could be enabled" >&5
23916 $as_echo_n "checking whether cairo's Quartz font backend feature could be enabled... " >&6; }
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_quartz_font" >&5
23918 $as_echo "$use_quartz_font" >&6; }
23920 if test "x$enable_quartz_font" = "xyes" -a "x$use_quartz_font" != xyes; then :
23921 as_fn_error $? " Quartz font backend feature could not be enabled" "$LINENO" 5
23925 as_fn_error $? "invalid argument passed to --enable-quartz-font: \`$use_quartz_font', should be one of [no/auto/yes]" "$LINENO" 5
23928 if test "x$use_quartz_font" = "xyes"; then :
23929 CAIRO_REQUIRES="$quartz_font_REQUIRES"" ${CAIRO_REQUIRES}"
23931 CAIRO_CFLAGS="$quartz_font_CFLAGS"" ${CAIRO_CFLAGS}"
23933 CAIRO_NONPKGCONFIG_CFLAGS="$quartz_font_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
23935 CAIRO_LIBS="$quartz_font_LIBS"" ${CAIRO_LIBS}"
23937 CAIRO_NONPKGCONFIG_LIBS="$quartz_font_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
23941 unset quartz_font_BASE
23942 unset quartz_font_REQUIRES
23943 unset quartz_font_CFLAGS
23944 unset quartz_font_NONPKGCONFIG_CFLAGS
23945 unset quartz_font_LIBS
23946 unset quartz_font_NONPKGCONFIG_LIBS
23947 unset quartz_font_NONPKGCONFIG_EXTRA_LIBS
23952 if test "x$use_quartz_font" = xyes; then
23953 CAIRO_HAS_QUARTZ_FONT_TRUE=
23954 CAIRO_HAS_QUARTZ_FONT_FALSE='#'
23956 CAIRO_HAS_QUARTZ_FONT_TRUE='#'
23957 CAIRO_HAS_QUARTZ_FONT_FALSE=
23961 cr_make_tmp='CAIRO_HAS_QUARTZ_FONT=0'
23962 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
23967 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23970 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23973 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23976 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23980 cr_make_tmp='supported_cairo_headers += $(cairo_quartz_font_headers)'
23981 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23984 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23986 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_font_headers)'
23987 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23990 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23995 cr_make_tmp='all_cairo_headers += $(cairo_quartz_font_headers)
23996 all_cairo_private += $(cairo_quartz_font_private)
23997 all_cairo_cxx_sources += $(cairo_quartz_font_cxx_sources)
23998 all_cairo_sources += $(cairo_quartz_font_sources)'
23999 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24002 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24004 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_font_headers)
24005 all_cairo_boilerplate_private += $(cairo_boilerplate_quartz_font_private)
24006 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_font_cxx_sources)
24007 all_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_font_sources)'
24008 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24011 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24015 cr_make_tmp='enabled_cairo_headers += $(cairo_quartz_font_headers)
24016 enabled_cairo_private += $(cairo_quartz_font_private)
24017 enabled_cairo_cxx_sources += $(cairo_quartz_font_cxx_sources)
24018 enabled_cairo_sources += $(cairo_quartz_font_sources)'
24019 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24020 "'if CAIRO_HAS_QUARTZ_FONT'
24021 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24023 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24026 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24027 "'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
24028 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24030 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24032 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_font_headers)
24033 enabled_cairo_boilerplate_private += $(cairo_boilerplate_quartz_font_private)
24034 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_font_cxx_sources)
24035 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_font_sources)'
24036 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24037 "'if CAIRO_HAS_QUARTZ_FONT'
24038 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24040 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24043 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24044 "'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
24045 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24047 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24053 if test "x$use_quartz_font" = xyes; then :
24055 ac_config_files="$ac_config_files src/cairo-quartz-font.pc:src/cairo-features.pc.in"
24059 if test "x$use_quartz_font" = xyes; then :
24061 ac_config_files="$ac_config_files cairo-quartz-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
24065 cr_make_tmp='all_cairo_pkgconf += cairo-quartz-font.pc'
24066 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24069 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24073 cr_make_tmp='enabled_cairo_pkgconf += cairo-quartz-font.pc'
24074 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24075 "'if CAIRO_HAS_QUARTZ_FONT'
24076 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24078 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24081 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24082 "'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
24083 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24085 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24089 if test "x$use_quartz_font" = xyes; then :
24091 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QUARTZ_FONT'
24095 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_QUARTZ_FONT'
24099 if test "x$use_quartz_font" != xyes; then :
24101 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_QUARTZ_FONT'
24107 cr_make_tmp=' @echo "#define CAIRO_HAS_QUARTZ_FONT 1" >> $(top_srcdir)/src/cairo-features.h'
24108 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24109 "'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
24110 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24112 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24119 if test "x$use_quartz_font" = xyes; then :
24121 CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'quartz_font'
24128 # Check whether --enable-quartz-image was given.
24129 if test "${enable_quartz_image+set}" = set; then :
24130 enableval=$enable_quartz_image; enable_quartz_image=$enableval
24132 enable_quartz_image=no
24135 case $enable_quartz_image in #(
24137 use_quartz_image="no (disabled, use --enable-quartz-image to enable)"
24140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Quartz Image surface backend feature" >&5
24141 $as_echo_n "checking for cairo's Quartz Image surface backend feature... " >&6; }
24144 use_quartz_image=yes
24145 quartz_image_BASE="cairo"
24146 quartz_image_REQUIRES="$ac_env_quartz_image_REQUIRES_value"
24147 quartz_image_CFLAGS="$ac_env_quartz_image_CFLAGS_value"
24148 quartz_image_NONPKGCONFIG_CFLAGS="$ac_env_quartz_image_NONPKGCONFIG_CFLAGS_value"
24149 quartz_image_LIBS="$ac_env_quartz_image_LIBS_value"
24150 quartz_image_NONPKGCONFIG_LIBS="$ac_env_quartz_image_NONPKGCONFIG_LIBS_value"
24151 quartz_image_NONPKGCONFIG_EXTRA_LIBS="$ac_env_quartz_image_NONPKGCONFIG_EXTRA_LIBS_value"
24155 use_quartz_image=$use_quartz
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Quartz Image surface backend feature could be enabled" >&5
24159 $as_echo_n "checking whether cairo's Quartz Image surface backend feature could be enabled... " >&6; }
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_quartz_image" >&5
24161 $as_echo "$use_quartz_image" >&6; }
24163 if test "x$enable_quartz_image" = "xyes" -a "x$use_quartz_image" != xyes; then :
24164 as_fn_error $? " Quartz Image surface backend feature could not be enabled" "$LINENO" 5
24168 as_fn_error $? "invalid argument passed to --enable-quartz-image: \`$use_quartz_image', should be one of [no/auto/yes]" "$LINENO" 5
24171 if test "x$use_quartz_image" = "xyes"; then :
24172 CAIRO_REQUIRES="$quartz_image_REQUIRES"" ${CAIRO_REQUIRES}"
24174 CAIRO_CFLAGS="$quartz_image_CFLAGS"" ${CAIRO_CFLAGS}"
24176 CAIRO_NONPKGCONFIG_CFLAGS="$quartz_image_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
24178 CAIRO_LIBS="$quartz_image_LIBS"" ${CAIRO_LIBS}"
24180 CAIRO_NONPKGCONFIG_LIBS="$quartz_image_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
24184 unset quartz_image_BASE
24185 unset quartz_image_REQUIRES
24186 unset quartz_image_CFLAGS
24187 unset quartz_image_NONPKGCONFIG_CFLAGS
24188 unset quartz_image_LIBS
24189 unset quartz_image_NONPKGCONFIG_LIBS
24190 unset quartz_image_NONPKGCONFIG_EXTRA_LIBS
24195 if test "x$use_quartz_image" = xyes; then
24196 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE=
24197 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE='#'
24199 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE='#'
24200 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE=
24204 cr_make_tmp='CAIRO_HAS_QUARTZ_IMAGE_SURFACE=0'
24205 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
24210 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24213 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24216 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24219 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24224 cr_make_tmp='unsupported_cairo_headers += $(cairo_quartz_image_headers)'
24225 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24228 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24230 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_image_headers)'
24231 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24234 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24238 cr_make_tmp='all_cairo_headers += $(cairo_quartz_image_headers)
24239 all_cairo_private += $(cairo_quartz_image_private)
24240 all_cairo_cxx_sources += $(cairo_quartz_image_cxx_sources)
24241 all_cairo_sources += $(cairo_quartz_image_sources)'
24242 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24245 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24247 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_image_headers)
24248 all_cairo_boilerplate_private += $(cairo_boilerplate_quartz_image_private)
24249 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_image_cxx_sources)
24250 all_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_image_sources)'
24251 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24254 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24258 cr_make_tmp='enabled_cairo_headers += $(cairo_quartz_image_headers)
24259 enabled_cairo_private += $(cairo_quartz_image_private)
24260 enabled_cairo_cxx_sources += $(cairo_quartz_image_cxx_sources)
24261 enabled_cairo_sources += $(cairo_quartz_image_sources)'
24262 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24263 "'if CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
24264 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24266 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24269 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24270 "'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
24271 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24273 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24275 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_image_headers)
24276 enabled_cairo_boilerplate_private += $(cairo_boilerplate_quartz_image_private)
24277 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_image_cxx_sources)
24278 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_image_sources)'
24279 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24280 "'if CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
24281 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24283 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24286 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24287 "'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
24288 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24290 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24296 if test "x$use_quartz_image" = xyes; then :
24298 ac_config_files="$ac_config_files src/cairo-quartz-image.pc:src/cairo-features.pc.in"
24302 if test "x$use_quartz_image" = xyes; then :
24304 ac_config_files="$ac_config_files cairo-quartz-image-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
24308 cr_make_tmp='all_cairo_pkgconf += cairo-quartz-image.pc'
24309 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24312 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24316 cr_make_tmp='enabled_cairo_pkgconf += cairo-quartz-image.pc'
24317 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24318 "'if CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
24319 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24321 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24324 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24325 "'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
24326 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24328 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24332 if test "x$use_quartz_image" = xyes; then :
24334 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
24341 cr_make_tmp=' @echo "#define CAIRO_HAS_QUARTZ_IMAGE_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
24342 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24343 "'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
24344 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24346 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24350 if test "x$use_quartz_image" = xyes; then :
24352 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
24354 "'--- The Quartz Image surface backend feature is still under active
24355 --- development and is included in this release only as a preview. It does
24356 --- NOT fully work yet and incompatible changes may yet be made to Quartz
24357 --- Image surface backend specific API.'
24368 # Check whether --enable-win32 was given.
24369 if test "${enable_win32+set}" = set; then :
24370 enableval=$enable_win32; enable_win32=$enableval
24375 case $enable_win32 in #(
24377 use_win32="no (disabled, use --enable-win32 to enable)"
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Microsoft Windows surface backend feature" >&5
24381 $as_echo_n "checking for cairo's Microsoft Windows surface backend feature... " >&6; }
24386 win32_REQUIRES="$ac_env_win32_REQUIRES_value"
24387 win32_CFLAGS="$ac_env_win32_CFLAGS_value"
24388 win32_NONPKGCONFIG_CFLAGS="$ac_env_win32_NONPKGCONFIG_CFLAGS_value"
24389 win32_LIBS="$ac_env_win32_LIBS_value"
24390 win32_NONPKGCONFIG_LIBS="$ac_env_win32_NONPKGCONFIG_LIBS_value"
24391 win32_NONPKGCONFIG_EXTRA_LIBS="$ac_env_win32_NONPKGCONFIG_EXTRA_LIBS_value"
24395 if test "x$have_windows" != xyes; then
24396 use_win32="no (requires a Win32 platform)"
24398 win32_LIBS="-lgdi32 -lmsimg32"
24401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Microsoft Windows surface backend feature could be enabled" >&5
24402 $as_echo_n "checking whether cairo's Microsoft Windows surface backend feature could be enabled... " >&6; }
24403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_win32" >&5
24404 $as_echo "$use_win32" >&6; }
24406 if test "x$enable_win32" = "xyes" -a "x$use_win32" != xyes; then :
24407 as_fn_error $? " Microsoft Windows surface backend feature could not be enabled" "$LINENO" 5
24411 as_fn_error $? "invalid argument passed to --enable-win32: \`$use_win32', should be one of [no/auto/yes]" "$LINENO" 5
24414 if test "x$use_win32" = "xyes"; then :
24415 CAIRO_REQUIRES="$win32_REQUIRES"" ${CAIRO_REQUIRES}"
24417 CAIRO_CFLAGS="$win32_CFLAGS"" ${CAIRO_CFLAGS}"
24419 CAIRO_NONPKGCONFIG_CFLAGS="$win32_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
24421 CAIRO_LIBS="$win32_LIBS"" ${CAIRO_LIBS}"
24423 CAIRO_NONPKGCONFIG_LIBS="$win32_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
24428 unset win32_REQUIRES
24430 unset win32_NONPKGCONFIG_CFLAGS
24432 unset win32_NONPKGCONFIG_LIBS
24433 unset win32_NONPKGCONFIG_EXTRA_LIBS
24438 if test "x$use_win32" = xyes; then
24439 CAIRO_HAS_WIN32_SURFACE_TRUE=
24440 CAIRO_HAS_WIN32_SURFACE_FALSE='#'
24442 CAIRO_HAS_WIN32_SURFACE_TRUE='#'
24443 CAIRO_HAS_WIN32_SURFACE_FALSE=
24447 cr_make_tmp='CAIRO_HAS_WIN32_SURFACE=1'
24448 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
24453 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24456 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24459 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24462 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24466 cr_make_tmp='supported_cairo_headers += $(cairo_win32_headers)'
24467 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24470 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24472 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_win32_headers)'
24473 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24476 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24481 cr_make_tmp='all_cairo_headers += $(cairo_win32_headers)
24482 all_cairo_private += $(cairo_win32_private)
24483 all_cairo_cxx_sources += $(cairo_win32_cxx_sources)
24484 all_cairo_sources += $(cairo_win32_sources)'
24485 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24488 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24490 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_win32_headers)
24491 all_cairo_boilerplate_private += $(cairo_boilerplate_win32_private)
24492 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_cxx_sources)
24493 all_cairo_boilerplate_sources += $(cairo_boilerplate_win32_sources)'
24494 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24497 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24501 cr_make_tmp='enabled_cairo_headers += $(cairo_win32_headers)
24502 enabled_cairo_private += $(cairo_win32_private)
24503 enabled_cairo_cxx_sources += $(cairo_win32_cxx_sources)
24504 enabled_cairo_sources += $(cairo_win32_sources)'
24505 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24506 "'if CAIRO_HAS_WIN32_SURFACE'
24507 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24509 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24512 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24513 "'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
24514 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24516 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24518 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_win32_headers)
24519 enabled_cairo_boilerplate_private += $(cairo_boilerplate_win32_private)
24520 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_cxx_sources)
24521 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_win32_sources)'
24522 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24523 "'if CAIRO_HAS_WIN32_SURFACE'
24524 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24526 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24529 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24530 "'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
24531 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24533 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24539 if test "x$use_win32" = xyes; then :
24541 ac_config_files="$ac_config_files src/cairo-win32.pc:src/cairo-features.pc.in"
24545 if test "x$use_win32" = xyes; then :
24547 ac_config_files="$ac_config_files cairo-win32-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
24551 cr_make_tmp='all_cairo_pkgconf += cairo-win32.pc'
24552 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24555 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24559 cr_make_tmp='enabled_cairo_pkgconf += cairo-win32.pc'
24560 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24561 "'if CAIRO_HAS_WIN32_SURFACE'
24562 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24564 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24567 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24568 "'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
24569 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24571 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24575 if test "x$use_win32" = xyes; then :
24577 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_WIN32_SURFACE'
24581 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_WIN32_SURFACE'
24585 if test "x$use_win32" != xyes; then :
24587 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_WIN32_SURFACE'
24593 cr_make_tmp=' @echo "#define CAIRO_HAS_WIN32_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
24594 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24595 "'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
24596 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24598 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24604 if test "x$use_win32" = xyes; then :
24606 CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'win32'
24614 # Check whether --enable-win32-font was given.
24615 if test "${enable_win32_font+set}" = set; then :
24616 enableval=$enable_win32_font; enable_win32_font=$enableval
24618 enable_win32_font=auto
24621 case $enable_win32_font in #(
24623 use_win32_font="no (disabled, use --enable-win32-font to enable)"
24626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Microsoft Windows font backend feature" >&5
24627 $as_echo_n "checking for cairo's Microsoft Windows font backend feature... " >&6; }
24631 win32_font_BASE="cairo"
24632 win32_font_REQUIRES="$ac_env_win32_font_REQUIRES_value"
24633 win32_font_CFLAGS="$ac_env_win32_font_CFLAGS_value"
24634 win32_font_NONPKGCONFIG_CFLAGS="$ac_env_win32_font_NONPKGCONFIG_CFLAGS_value"
24635 win32_font_LIBS="$ac_env_win32_font_LIBS_value"
24636 win32_font_NONPKGCONFIG_LIBS="$ac_env_win32_font_NONPKGCONFIG_LIBS_value"
24637 win32_font_NONPKGCONFIG_EXTRA_LIBS="$ac_env_win32_font_NONPKGCONFIG_EXTRA_LIBS_value"
24641 use_win32_font=$use_win32
24644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Microsoft Windows font backend feature could be enabled" >&5
24645 $as_echo_n "checking whether cairo's Microsoft Windows font backend feature could be enabled... " >&6; }
24646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_win32_font" >&5
24647 $as_echo "$use_win32_font" >&6; }
24649 if test "x$enable_win32_font" = "xyes" -a "x$use_win32_font" != xyes; then :
24650 as_fn_error $? " Microsoft Windows font backend feature could not be enabled" "$LINENO" 5
24654 as_fn_error $? "invalid argument passed to --enable-win32-font: \`$use_win32_font', should be one of [no/auto/yes]" "$LINENO" 5
24657 if test "x$use_win32_font" = "xyes"; then :
24658 CAIRO_REQUIRES="$win32_font_REQUIRES"" ${CAIRO_REQUIRES}"
24660 CAIRO_CFLAGS="$win32_font_CFLAGS"" ${CAIRO_CFLAGS}"
24662 CAIRO_NONPKGCONFIG_CFLAGS="$win32_font_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
24664 CAIRO_LIBS="$win32_font_LIBS"" ${CAIRO_LIBS}"
24666 CAIRO_NONPKGCONFIG_LIBS="$win32_font_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
24670 unset win32_font_BASE
24671 unset win32_font_REQUIRES
24672 unset win32_font_CFLAGS
24673 unset win32_font_NONPKGCONFIG_CFLAGS
24674 unset win32_font_LIBS
24675 unset win32_font_NONPKGCONFIG_LIBS
24676 unset win32_font_NONPKGCONFIG_EXTRA_LIBS
24681 if test "x$use_win32_font" = xyes; then
24682 CAIRO_HAS_WIN32_FONT_TRUE=
24683 CAIRO_HAS_WIN32_FONT_FALSE='#'
24685 CAIRO_HAS_WIN32_FONT_TRUE='#'
24686 CAIRO_HAS_WIN32_FONT_FALSE=
24690 cr_make_tmp='CAIRO_HAS_WIN32_FONT=1'
24691 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
24696 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24699 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24702 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24705 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24709 cr_make_tmp='supported_cairo_headers += $(cairo_win32_font_headers)'
24710 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24713 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24715 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_win32_font_headers)'
24716 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24719 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24724 cr_make_tmp='all_cairo_headers += $(cairo_win32_font_headers)
24725 all_cairo_private += $(cairo_win32_font_private)
24726 all_cairo_cxx_sources += $(cairo_win32_font_cxx_sources)
24727 all_cairo_sources += $(cairo_win32_font_sources)'
24728 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24731 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24733 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_win32_font_headers)
24734 all_cairo_boilerplate_private += $(cairo_boilerplate_win32_font_private)
24735 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_font_cxx_sources)
24736 all_cairo_boilerplate_sources += $(cairo_boilerplate_win32_font_sources)'
24737 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24740 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24744 cr_make_tmp='enabled_cairo_headers += $(cairo_win32_font_headers)
24745 enabled_cairo_private += $(cairo_win32_font_private)
24746 enabled_cairo_cxx_sources += $(cairo_win32_font_cxx_sources)
24747 enabled_cairo_sources += $(cairo_win32_font_sources)'
24748 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24749 "'if CAIRO_HAS_WIN32_FONT'
24750 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24752 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24755 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24756 "'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
24757 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24759 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24761 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_win32_font_headers)
24762 enabled_cairo_boilerplate_private += $(cairo_boilerplate_win32_font_private)
24763 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_font_cxx_sources)
24764 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_win32_font_sources)'
24765 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24766 "'if CAIRO_HAS_WIN32_FONT'
24767 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24769 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24772 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24773 "'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
24774 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24776 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24782 if test "x$use_win32_font" = xyes; then :
24784 ac_config_files="$ac_config_files src/cairo-win32-font.pc:src/cairo-features.pc.in"
24788 if test "x$use_win32_font" = xyes; then :
24790 ac_config_files="$ac_config_files cairo-win32-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
24794 cr_make_tmp='all_cairo_pkgconf += cairo-win32-font.pc'
24795 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24798 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24802 cr_make_tmp='enabled_cairo_pkgconf += cairo-win32-font.pc'
24803 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24804 "'if CAIRO_HAS_WIN32_FONT'
24805 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24807 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24810 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24811 "'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
24812 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24814 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24818 if test "x$use_win32_font" = xyes; then :
24820 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_WIN32_FONT'
24824 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_WIN32_FONT'
24828 if test "x$use_win32_font" != xyes; then :
24830 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_WIN32_FONT'
24836 cr_make_tmp=' @echo "#define CAIRO_HAS_WIN32_FONT 1" >> $(top_srcdir)/src/cairo-features.h'
24837 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24838 "'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
24839 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24841 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24848 if test "x$use_win32_font" = xyes; then :
24850 CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'win32_font'
24857 test_win32_printing=no
24858 if test "x$use_win32" = "xyes"; then
24859 # Extract the first word of "gs", so it can be a program name with args.
24860 set dummy gs; ac_word=$2
24861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24862 $as_echo_n "checking for $ac_word... " >&6; }
24863 if ${ac_cv_prog_GS+:} false; then :
24864 $as_echo_n "(cached) " >&6
24866 if test -n "$GS"; then
24867 ac_cv_prog_GS="$GS" # Let the user override the test.
24869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24870 for as_dir in $PATH
24873 test -z "$as_dir" && as_dir=.
24874 for ac_exec_ext in '' $ac_executable_extensions; do
24875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24887 if test -n "$GS"; then
24888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
24889 $as_echo "$GS" >&6; }
24891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24892 $as_echo "no" >&6; }
24896 if test "$GS"; then
24898 $as_echo "#define CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE 1" >>confdefs.h
24900 test_win32_printing="yes"
24902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Win32 Printing backend will not be tested since ghostscript is not available" >&5
24903 $as_echo "$as_me: WARNING: Win32 Printing backend will not be tested since ghostscript is not available" >&2;}
24904 test_win32_printing="no (requires ghostscript)"
24908 if test "x$test_win32_printing" = "xyes"; then
24909 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE=
24910 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE='#'
24912 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE='#'
24913 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE=
24918 # Check whether --enable-skia was given.
24919 if test "${enable_skia+set}" = set; then :
24920 enableval=$enable_skia; enable_skia=$enableval
24925 case $enable_skia in #(
24927 use_skia="no (disabled, use --enable-skia to enable)"
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Skia surface backend feature" >&5
24931 $as_echo_n "checking for cairo's Skia surface backend feature... " >&6; }
24936 skia_REQUIRES="$ac_env_skia_REQUIRES_value"
24937 skia_CFLAGS="$ac_env_skia_CFLAGS_value"
24938 skia_NONPKGCONFIG_CFLAGS="$ac_env_skia_NONPKGCONFIG_CFLAGS_value"
24939 skia_LIBS="$ac_env_skia_LIBS_value"
24940 skia_NONPKGCONFIG_LIBS="$ac_env_skia_NONPKGCONFIG_LIBS_value"
24941 skia_NONPKGCONFIG_EXTRA_LIBS="$ac_env_skia_NONPKGCONFIG_EXTRA_LIBS_value"
24946 # Check whether --with-skia was given.
24947 if test "${with_skia+set}" = set; then :
24948 withval=$with_skia; skia_DIR="$withval"
24950 skia_DIR="`pwd`/../skia"
24954 # Check whether --with-skia-bulid was given.
24955 if test "${with_skia_bulid+set}" = set; then :
24956 withval=$with_skia_bulid; skia_BUILD="$withval"
24958 skia_BUILD="Release"
24961 skia_NONPKGCONFIG_CFLAGS="-I$skia_DIR/include/config -I$skia_DIR/include/core -I$skia_DIR/include/effects"
24962 if test "x$skia_BUILD" = x"Release"; then
24963 skia_NONPKGCONFIG_CFLAGS="-DSK_RELEASE -DSK_CAN_USE_FLOAT $skia_NONPKGCONFIG_CFLAGS"
24965 skia_NONPKGCONFIG_LIBS="--start-group $skia_DIR/out/$skia_BUILD/obj.target/gyp/libeffects.a $skia_DIR/out/$skia_BUILD/obj.target/gyp/libimages.a $skia_DIR/out/$skia_BUILD/obj.target/gyp/libutils.a $skia_DIR/out/$skia_BUILD/obj.target/gyp/libopts.a $skia_DIR/out/$skia_BUILD/obj.target/gyp/libcore.a -end-group"
24969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Skia surface backend feature could be enabled" >&5
24970 $as_echo_n "checking whether cairo's Skia surface backend feature could be enabled... " >&6; }
24971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_skia" >&5
24972 $as_echo "$use_skia" >&6; }
24974 if test "x$enable_skia" = "xyes" -a "x$use_skia" != xyes; then :
24975 as_fn_error $? " Skia surface backend feature could not be enabled" "$LINENO" 5
24979 as_fn_error $? "invalid argument passed to --enable-skia: \`$use_skia', should be one of [no/auto/yes]" "$LINENO" 5
24982 if test "x$use_skia" = "xyes"; then :
24983 CAIRO_REQUIRES="$skia_REQUIRES"" ${CAIRO_REQUIRES}"
24985 CAIRO_CFLAGS="$skia_CFLAGS"" ${CAIRO_CFLAGS}"
24987 CAIRO_NONPKGCONFIG_CFLAGS="$skia_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
24989 CAIRO_LIBS="$skia_LIBS"" ${CAIRO_LIBS}"
24991 CAIRO_NONPKGCONFIG_LIBS="$skia_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
24996 unset skia_REQUIRES
24998 unset skia_NONPKGCONFIG_CFLAGS
25000 unset skia_NONPKGCONFIG_LIBS
25001 unset skia_NONPKGCONFIG_EXTRA_LIBS
25006 if test "x$use_skia" = xyes; then
25007 CAIRO_HAS_SKIA_SURFACE_TRUE=
25008 CAIRO_HAS_SKIA_SURFACE_FALSE='#'
25010 CAIRO_HAS_SKIA_SURFACE_TRUE='#'
25011 CAIRO_HAS_SKIA_SURFACE_FALSE=
25015 cr_make_tmp='CAIRO_HAS_SKIA_SURFACE=0'
25016 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
25021 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25024 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25027 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25030 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25035 cr_make_tmp='unsupported_cairo_headers += $(cairo_skia_headers)'
25036 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25039 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25041 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_skia_headers)'
25042 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25045 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25049 cr_make_tmp='all_cairo_headers += $(cairo_skia_headers)
25050 all_cairo_private += $(cairo_skia_private)
25051 all_cairo_cxx_sources += $(cairo_skia_cxx_sources)
25052 all_cairo_sources += $(cairo_skia_sources)'
25053 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25056 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25058 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_skia_headers)
25059 all_cairo_boilerplate_private += $(cairo_boilerplate_skia_private)
25060 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_skia_cxx_sources)
25061 all_cairo_boilerplate_sources += $(cairo_boilerplate_skia_sources)'
25062 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25065 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25069 cr_make_tmp='enabled_cairo_headers += $(cairo_skia_headers)
25070 enabled_cairo_private += $(cairo_skia_private)
25071 enabled_cairo_cxx_sources += $(cairo_skia_cxx_sources)
25072 enabled_cairo_sources += $(cairo_skia_sources)'
25073 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25074 "'if CAIRO_HAS_SKIA_SURFACE'
25075 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25077 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25080 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25081 "'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
25082 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25084 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25086 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_skia_headers)
25087 enabled_cairo_boilerplate_private += $(cairo_boilerplate_skia_private)
25088 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_skia_cxx_sources)
25089 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_skia_sources)'
25090 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25091 "'if CAIRO_HAS_SKIA_SURFACE'
25092 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25094 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25097 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25098 "'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
25099 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25101 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25107 if test "x$use_skia" = xyes; then :
25109 ac_config_files="$ac_config_files src/cairo-skia.pc:src/cairo-features.pc.in"
25113 if test "x$use_skia" = xyes; then :
25115 ac_config_files="$ac_config_files cairo-skia-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
25119 cr_make_tmp='all_cairo_pkgconf += cairo-skia.pc'
25120 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25123 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25127 cr_make_tmp='enabled_cairo_pkgconf += cairo-skia.pc'
25128 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25129 "'if CAIRO_HAS_SKIA_SURFACE'
25130 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25132 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25135 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25136 "'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
25137 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25139 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25143 if test "x$use_skia" = xyes; then :
25145 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_SKIA_SURFACE'
25152 cr_make_tmp=' @echo "#define CAIRO_HAS_SKIA_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
25153 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25154 "'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
25155 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25157 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25161 if test "x$use_skia" = xyes; then :
25163 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
25165 "'--- The Skia surface backend feature is still under active development and is
25166 --- included in this release only as a preview. It does NOT fully work yet
25167 --- and incompatible changes may yet be made to Skia surface backend specific
25179 # Check whether --enable-os2 was given.
25180 if test "${enable_os2+set}" = set; then :
25181 enableval=$enable_os2; enable_os2=$enableval
25186 case $enable_os2 in #(
25188 use_os2="no (disabled, use --enable-os2 to enable)"
25191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's OS/2 surface backend feature" >&5
25192 $as_echo_n "checking for cairo's OS/2 surface backend feature... " >&6; }
25197 os2_REQUIRES="$ac_env_os2_REQUIRES_value"
25198 os2_CFLAGS="$ac_env_os2_CFLAGS_value"
25199 os2_NONPKGCONFIG_CFLAGS="$ac_env_os2_NONPKGCONFIG_CFLAGS_value"
25200 os2_LIBS="$ac_env_os2_LIBS_value"
25201 os2_NONPKGCONFIG_LIBS="$ac_env_os2_NONPKGCONFIG_LIBS_value"
25202 os2_NONPKGCONFIG_EXTRA_LIBS="$ac_env_os2_NONPKGCONFIG_EXTRA_LIBS_value"
25211 use_os2="no (requires an OS/2 platform)"
25216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's OS/2 surface backend feature could be enabled" >&5
25217 $as_echo_n "checking whether cairo's OS/2 surface backend feature could be enabled... " >&6; }
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_os2" >&5
25219 $as_echo "$use_os2" >&6; }
25221 if test "x$enable_os2" = "xyes" -a "x$use_os2" != xyes; then :
25222 as_fn_error $? " OS/2 surface backend feature could not be enabled" "$LINENO" 5
25226 as_fn_error $? "invalid argument passed to --enable-os2: \`$use_os2', should be one of [no/auto/yes]" "$LINENO" 5
25229 if test "x$use_os2" = "xyes"; then :
25230 CAIRO_REQUIRES="$os2_REQUIRES"" ${CAIRO_REQUIRES}"
25232 CAIRO_CFLAGS="$os2_CFLAGS"" ${CAIRO_CFLAGS}"
25234 CAIRO_NONPKGCONFIG_CFLAGS="$os2_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
25236 CAIRO_LIBS="$os2_LIBS"" ${CAIRO_LIBS}"
25238 CAIRO_NONPKGCONFIG_LIBS="$os2_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
25245 unset os2_NONPKGCONFIG_CFLAGS
25247 unset os2_NONPKGCONFIG_LIBS
25248 unset os2_NONPKGCONFIG_EXTRA_LIBS
25253 if test "x$use_os2" = xyes; then
25254 CAIRO_HAS_OS2_SURFACE_TRUE=
25255 CAIRO_HAS_OS2_SURFACE_FALSE='#'
25257 CAIRO_HAS_OS2_SURFACE_TRUE='#'
25258 CAIRO_HAS_OS2_SURFACE_FALSE=
25262 cr_make_tmp='CAIRO_HAS_OS2_SURFACE=0'
25263 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
25268 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25271 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25274 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25277 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25282 cr_make_tmp='unsupported_cairo_headers += $(cairo_os2_headers)'
25283 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25286 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25288 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_os2_headers)'
25289 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25292 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25296 cr_make_tmp='all_cairo_headers += $(cairo_os2_headers)
25297 all_cairo_private += $(cairo_os2_private)
25298 all_cairo_cxx_sources += $(cairo_os2_cxx_sources)
25299 all_cairo_sources += $(cairo_os2_sources)'
25300 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25303 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25305 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_os2_headers)
25306 all_cairo_boilerplate_private += $(cairo_boilerplate_os2_private)
25307 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_os2_cxx_sources)
25308 all_cairo_boilerplate_sources += $(cairo_boilerplate_os2_sources)'
25309 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25312 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25316 cr_make_tmp='enabled_cairo_headers += $(cairo_os2_headers)
25317 enabled_cairo_private += $(cairo_os2_private)
25318 enabled_cairo_cxx_sources += $(cairo_os2_cxx_sources)
25319 enabled_cairo_sources += $(cairo_os2_sources)'
25320 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25321 "'if CAIRO_HAS_OS2_SURFACE'
25322 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25324 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25327 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25328 "'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
25329 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25331 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25333 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_os2_headers)
25334 enabled_cairo_boilerplate_private += $(cairo_boilerplate_os2_private)
25335 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_os2_cxx_sources)
25336 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_os2_sources)'
25337 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25338 "'if CAIRO_HAS_OS2_SURFACE'
25339 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25341 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25344 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25345 "'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
25346 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25348 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25354 if test "x$use_os2" = xyes; then :
25356 ac_config_files="$ac_config_files src/cairo-os2.pc:src/cairo-features.pc.in"
25360 if test "x$use_os2" = xyes; then :
25362 ac_config_files="$ac_config_files cairo-os2-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
25366 cr_make_tmp='all_cairo_pkgconf += cairo-os2.pc'
25367 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25370 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25374 cr_make_tmp='enabled_cairo_pkgconf += cairo-os2.pc'
25375 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25376 "'if CAIRO_HAS_OS2_SURFACE'
25377 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25379 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25382 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25383 "'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
25384 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25386 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25390 if test "x$use_os2" = xyes; then :
25392 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_OS2_SURFACE'
25399 cr_make_tmp=' @echo "#define CAIRO_HAS_OS2_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
25400 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25401 "'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
25402 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25404 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25408 if test "x$use_os2" = xyes; then :
25410 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
25412 "'--- The OS/2 surface backend feature is still under active development and is
25413 --- included in this release only as a preview. It does NOT fully work yet
25414 --- and incompatible changes may yet be made to OS/2 surface backend specific
25426 # Check whether --enable-beos was given.
25427 if test "${enable_beos+set}" = set; then :
25428 enableval=$enable_beos; enable_beos=$enableval
25433 case $enable_beos in #(
25435 use_beos="no (disabled, use --enable-beos to enable)"
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's BeOS/Zeta surface backend feature" >&5
25439 $as_echo_n "checking for cairo's BeOS/Zeta surface backend feature... " >&6; }
25444 beos_REQUIRES="$ac_env_beos_REQUIRES_value"
25445 beos_CFLAGS="$ac_env_beos_CFLAGS_value"
25446 beos_NONPKGCONFIG_CFLAGS="$ac_env_beos_NONPKGCONFIG_CFLAGS_value"
25447 beos_LIBS="$ac_env_beos_LIBS_value"
25448 beos_NONPKGCONFIG_LIBS="$ac_env_beos_NONPKGCONFIG_LIBS_value"
25449 beos_NONPKGCONFIG_EXTRA_LIBS="$ac_env_beos_NONPKGCONFIG_EXTRA_LIBS_value"
25456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lbe" >&5
25457 $as_echo_n "checking for main in -lbe... " >&6; }
25458 if ${ac_cv_lib_be_main+:} false; then :
25459 $as_echo_n "(cached) " >&6
25461 ac_check_lib_save_LIBS=$LIBS
25463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25464 /* end confdefs.h. */
25475 if ac_fn_c_try_link "$LINENO"; then :
25476 ac_cv_lib_be_main=yes
25478 ac_cv_lib_be_main=no
25480 rm -f core conftest.err conftest.$ac_objext \
25481 conftest$ac_exeext conftest.$ac_ext
25482 LIBS=$ac_check_lib_save_LIBS
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_be_main" >&5
25485 $as_echo "$ac_cv_lib_be_main" >&6; }
25486 if test "x$ac_cv_lib_be_main" = xyes; then :
25487 beos_LIBS="$beos_LIBS -lbe"
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lzeta" >&5
25491 $as_echo_n "checking for main in -lzeta... " >&6; }
25492 if ${ac_cv_lib_zeta_main+:} false; then :
25493 $as_echo_n "(cached) " >&6
25495 ac_check_lib_save_LIBS=$LIBS
25496 LIBS="-lzeta $LIBS"
25497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25498 /* end confdefs.h. */
25509 if ac_fn_c_try_link "$LINENO"; then :
25510 ac_cv_lib_zeta_main=yes
25512 ac_cv_lib_zeta_main=no
25514 rm -f core conftest.err conftest.$ac_objext \
25515 conftest$ac_exeext conftest.$ac_ext
25516 LIBS=$ac_check_lib_save_LIBS
25518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zeta_main" >&5
25519 $as_echo "$ac_cv_lib_zeta_main" >&6; }
25520 if test "x$ac_cv_lib_zeta_main" = xyes; then :
25521 beos_LIBS="$beos_LIBS -lzeta"
25526 use_beos="no (requires a BeOS platform)"
25531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's BeOS/Zeta surface backend feature could be enabled" >&5
25532 $as_echo_n "checking whether cairo's BeOS/Zeta surface backend feature could be enabled... " >&6; }
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_beos" >&5
25534 $as_echo "$use_beos" >&6; }
25536 if test "x$enable_beos" = "xyes" -a "x$use_beos" != xyes; then :
25537 as_fn_error $? " BeOS/Zeta surface backend feature could not be enabled" "$LINENO" 5
25541 as_fn_error $? "invalid argument passed to --enable-beos: \`$use_beos', should be one of [no/auto/yes]" "$LINENO" 5
25544 if test "x$use_beos" = "xyes"; then :
25545 CAIRO_REQUIRES="$beos_REQUIRES"" ${CAIRO_REQUIRES}"
25547 CAIRO_CFLAGS="$beos_CFLAGS"" ${CAIRO_CFLAGS}"
25549 CAIRO_NONPKGCONFIG_CFLAGS="$beos_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
25551 CAIRO_LIBS="$beos_LIBS"" ${CAIRO_LIBS}"
25553 CAIRO_NONPKGCONFIG_LIBS="$beos_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
25558 unset beos_REQUIRES
25560 unset beos_NONPKGCONFIG_CFLAGS
25562 unset beos_NONPKGCONFIG_LIBS
25563 unset beos_NONPKGCONFIG_EXTRA_LIBS
25568 if test "x$use_beos" = xyes; then
25569 CAIRO_HAS_BEOS_SURFACE_TRUE=
25570 CAIRO_HAS_BEOS_SURFACE_FALSE='#'
25572 CAIRO_HAS_BEOS_SURFACE_TRUE='#'
25573 CAIRO_HAS_BEOS_SURFACE_FALSE=
25577 cr_make_tmp='CAIRO_HAS_BEOS_SURFACE=0'
25578 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
25583 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25586 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25589 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25592 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25597 cr_make_tmp='unsupported_cairo_headers += $(cairo_beos_headers)'
25598 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25601 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25603 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_beos_headers)'
25604 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25607 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25611 cr_make_tmp='all_cairo_headers += $(cairo_beos_headers)
25612 all_cairo_private += $(cairo_beos_private)
25613 all_cairo_cxx_sources += $(cairo_beos_cxx_sources)
25614 all_cairo_sources += $(cairo_beos_sources)'
25615 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25618 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25620 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_beos_headers)
25621 all_cairo_boilerplate_private += $(cairo_boilerplate_beos_private)
25622 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_beos_cxx_sources)
25623 all_cairo_boilerplate_sources += $(cairo_boilerplate_beos_sources)'
25624 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25627 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25631 cr_make_tmp='enabled_cairo_headers += $(cairo_beos_headers)
25632 enabled_cairo_private += $(cairo_beos_private)
25633 enabled_cairo_cxx_sources += $(cairo_beos_cxx_sources)
25634 enabled_cairo_sources += $(cairo_beos_sources)'
25635 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25636 "'if CAIRO_HAS_BEOS_SURFACE'
25637 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25639 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25642 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25643 "'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
25644 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25646 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25648 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_beos_headers)
25649 enabled_cairo_boilerplate_private += $(cairo_boilerplate_beos_private)
25650 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_beos_cxx_sources)
25651 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_beos_sources)'
25652 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25653 "'if CAIRO_HAS_BEOS_SURFACE'
25654 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25656 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25659 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25660 "'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
25661 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25663 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25669 if test "x$use_beos" = xyes; then :
25671 ac_config_files="$ac_config_files src/cairo-beos.pc:src/cairo-features.pc.in"
25675 if test "x$use_beos" = xyes; then :
25677 ac_config_files="$ac_config_files cairo-beos-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
25681 cr_make_tmp='all_cairo_pkgconf += cairo-beos.pc'
25682 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25685 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25689 cr_make_tmp='enabled_cairo_pkgconf += cairo-beos.pc'
25690 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25691 "'if CAIRO_HAS_BEOS_SURFACE'
25692 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25694 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25697 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25698 "'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
25699 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25701 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25705 if test "x$use_beos" = xyes; then :
25707 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_BEOS_SURFACE'
25714 cr_make_tmp=' @echo "#define CAIRO_HAS_BEOS_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
25715 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25716 "'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
25717 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25719 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25723 if test "x$use_beos" = xyes; then :
25725 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
25727 "'--- The BeOS/Zeta surface backend feature is still under active development
25728 --- and is included in this release only as a preview. It does NOT fully work
25729 --- yet and incompatible changes may yet be made to BeOS/Zeta surface backend
25741 # Check whether --enable-drm was given.
25742 if test "${enable_drm+set}" = set; then :
25743 enableval=$enable_drm; enable_drm=$enableval
25748 case $enable_drm in #(
25750 use_drm="no (disabled, use --enable-drm to enable)"
25753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's DRM surface backend feature" >&5
25754 $as_echo_n "checking for cairo's DRM surface backend feature... " >&6; }
25759 drm_REQUIRES="$ac_env_drm_REQUIRES_value"
25760 drm_CFLAGS="$ac_env_drm_CFLAGS_value"
25761 drm_NONPKGCONFIG_CFLAGS="$ac_env_drm_NONPKGCONFIG_CFLAGS_value"
25762 drm_LIBS="$ac_env_drm_LIBS_value"
25763 drm_NONPKGCONFIG_LIBS="$ac_env_drm_NONPKGCONFIG_LIBS_value"
25764 drm_NONPKGCONFIG_EXTRA_LIBS="$ac_env_drm_NONPKGCONFIG_EXTRA_LIBS_value"
25768 drm_REQUIRES="libudev >= 136"
25771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drm" >&5
25772 $as_echo_n "checking for drm... " >&6; }
25774 if test -n "$drm_CFLAGS"; then
25775 pkg_cv_drm_CFLAGS="$drm_CFLAGS"
25776 elif test -n "$PKG_CONFIG"; then
25777 if test -n "$PKG_CONFIG" && \
25778 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$drm_REQUIRES\""; } >&5
25779 ($PKG_CONFIG --exists --print-errors "$drm_REQUIRES") 2>&5
25781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25782 test $ac_status = 0; }; then
25783 pkg_cv_drm_CFLAGS=`$PKG_CONFIG --cflags "$drm_REQUIRES" 2>/dev/null`
25790 if test -n "$drm_LIBS"; then
25791 pkg_cv_drm_LIBS="$drm_LIBS"
25792 elif test -n "$PKG_CONFIG"; then
25793 if test -n "$PKG_CONFIG" && \
25794 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$drm_REQUIRES\""; } >&5
25795 ($PKG_CONFIG --exists --print-errors "$drm_REQUIRES") 2>&5
25797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25798 test $ac_status = 0; }; then
25799 pkg_cv_drm_LIBS=`$PKG_CONFIG --libs "$drm_REQUIRES" 2>/dev/null`
25809 if test $pkg_failed = yes; then
25811 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25812 _pkg_short_errors_supported=yes
25814 _pkg_short_errors_supported=no
25816 if test $_pkg_short_errors_supported = yes; then
25817 drm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$drm_REQUIRES" 2>&1`
25819 drm_PKG_ERRORS=`$PKG_CONFIG --print-errors "$drm_REQUIRES" 2>&1`
25821 # Put the nasty error message in config.log where it belongs
25822 echo "$drm_PKG_ERRORS" >&5
25824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25825 $as_echo "no" >&6; }
25826 use_drm="no (requires $drm_REQUIRES, udev is available from git://git.kernel.org/pub/scm/linux/hotplug/udev.git)"
25827 elif test $pkg_failed = untried; then
25828 use_drm="no (requires $drm_REQUIRES, udev is available from git://git.kernel.org/pub/scm/linux/hotplug/udev.git)"
25830 drm_CFLAGS=$pkg_cv_drm_CFLAGS
25831 drm_LIBS=$pkg_cv_drm_LIBS
25832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25833 $as_echo "yes" >&6; }
25838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's DRM surface backend feature could be enabled" >&5
25839 $as_echo_n "checking whether cairo's DRM surface backend feature could be enabled... " >&6; }
25840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_drm" >&5
25841 $as_echo "$use_drm" >&6; }
25843 if test "x$enable_drm" = "xyes" -a "x$use_drm" != xyes; then :
25844 as_fn_error $? " DRM surface backend feature could not be enabled" "$LINENO" 5
25848 as_fn_error $? "invalid argument passed to --enable-drm: \`$use_drm', should be one of [no/auto/yes]" "$LINENO" 5
25851 if test "x$use_drm" = "xyes"; then :
25852 CAIRO_REQUIRES="$drm_REQUIRES"" ${CAIRO_REQUIRES}"
25854 CAIRO_CFLAGS="$drm_CFLAGS"" ${CAIRO_CFLAGS}"
25856 CAIRO_NONPKGCONFIG_CFLAGS="$drm_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
25858 CAIRO_LIBS="$drm_LIBS"" ${CAIRO_LIBS}"
25860 CAIRO_NONPKGCONFIG_LIBS="$drm_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
25867 unset drm_NONPKGCONFIG_CFLAGS
25869 unset drm_NONPKGCONFIG_LIBS
25870 unset drm_NONPKGCONFIG_EXTRA_LIBS
25875 if test "x$use_drm" = xyes; then
25876 CAIRO_HAS_DRM_SURFACE_TRUE=
25877 CAIRO_HAS_DRM_SURFACE_FALSE='#'
25879 CAIRO_HAS_DRM_SURFACE_TRUE='#'
25880 CAIRO_HAS_DRM_SURFACE_FALSE=
25884 cr_make_tmp='CAIRO_HAS_DRM_SURFACE=0'
25885 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
25890 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25893 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25896 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25899 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25904 cr_make_tmp='unsupported_cairo_headers += $(cairo_drm_headers)'
25905 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25908 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25910 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_drm_headers)'
25911 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25914 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25918 cr_make_tmp='all_cairo_headers += $(cairo_drm_headers)
25919 all_cairo_private += $(cairo_drm_private)
25920 all_cairo_cxx_sources += $(cairo_drm_cxx_sources)
25921 all_cairo_sources += $(cairo_drm_sources)'
25922 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25925 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25927 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_drm_headers)
25928 all_cairo_boilerplate_private += $(cairo_boilerplate_drm_private)
25929 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_drm_cxx_sources)
25930 all_cairo_boilerplate_sources += $(cairo_boilerplate_drm_sources)'
25931 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25934 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25938 cr_make_tmp='enabled_cairo_headers += $(cairo_drm_headers)
25939 enabled_cairo_private += $(cairo_drm_private)
25940 enabled_cairo_cxx_sources += $(cairo_drm_cxx_sources)
25941 enabled_cairo_sources += $(cairo_drm_sources)'
25942 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25943 "'if CAIRO_HAS_DRM_SURFACE'
25944 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25946 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25949 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25950 "'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
25951 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25953 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25955 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_drm_headers)
25956 enabled_cairo_boilerplate_private += $(cairo_boilerplate_drm_private)
25957 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_drm_cxx_sources)
25958 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_drm_sources)'
25959 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25960 "'if CAIRO_HAS_DRM_SURFACE'
25961 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25963 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25966 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25967 "'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
25968 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25970 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25976 if test "x$use_drm" = xyes; then :
25978 ac_config_files="$ac_config_files src/cairo-drm.pc:src/cairo-features.pc.in"
25982 if test "x$use_drm" = xyes; then :
25984 ac_config_files="$ac_config_files cairo-drm-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
25988 cr_make_tmp='all_cairo_pkgconf += cairo-drm.pc'
25989 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25992 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25996 cr_make_tmp='enabled_cairo_pkgconf += cairo-drm.pc'
25997 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25998 "'if CAIRO_HAS_DRM_SURFACE'
25999 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26001 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26004 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26005 "'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
26006 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26008 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26012 if test "x$use_drm" = xyes; then :
26014 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_DRM_SURFACE'
26021 cr_make_tmp=' @echo "#define CAIRO_HAS_DRM_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
26022 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26023 "'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
26024 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26026 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26030 if test "x$use_drm" = xyes; then :
26032 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
26034 "'--- The DRM surface backend feature is still under active development and is
26035 --- included in this release only as a preview. It does NOT fully work yet
26036 --- and incompatible changes may yet be made to DRM surface backend specific
26047 # Check whether --enable-gallium was given.
26048 if test "${enable_gallium+set}" = set; then :
26049 enableval=$enable_gallium; enable_gallium=$enableval
26054 case $enable_gallium in #(
26056 use_gallium="no (disabled, use --enable-gallium to enable)"
26059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Gallium3D surface backend feature" >&5
26060 $as_echo_n "checking for cairo's Gallium3D surface backend feature... " >&6; }
26064 gallium_BASE="cairo"
26065 gallium_REQUIRES="$ac_env_gallium_REQUIRES_value"
26066 gallium_CFLAGS="$ac_env_gallium_CFLAGS_value"
26067 gallium_NONPKGCONFIG_CFLAGS="$ac_env_gallium_NONPKGCONFIG_CFLAGS_value"
26068 gallium_LIBS="$ac_env_gallium_LIBS_value"
26069 gallium_NONPKGCONFIG_LIBS="$ac_env_gallium_NONPKGCONFIG_LIBS_value"
26070 gallium_NONPKGCONFIG_EXTRA_LIBS="$ac_env_gallium_NONPKGCONFIG_EXTRA_LIBS_value"
26074 if test "x$use_drm" = "xyes"; then
26076 # Check whether --with-gallium was given.
26077 if test "${with_gallium+set}" = set; then :
26078 withval=$with_gallium; mesa_DIR="$withval"
26080 mesa_DIR="`pwd`/../mesa"
26083 gallium_DIR="$mesa_DIR/src/gallium"
26084 gallium_NONPKGCONFIG_CFLAGS="-I$mesa_DIR/include -I$mesa_DIR/src/mesa -I$gallium_DIR/include -I$gallium_DIR/auxiliary"
26085 gallium_NONPKGCONFIG_LIBS="-lGL"
26089 use_gallium="no (requires --enable-drm)"
26093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Gallium3D surface backend feature could be enabled" >&5
26094 $as_echo_n "checking whether cairo's Gallium3D surface backend feature could be enabled... " >&6; }
26095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gallium" >&5
26096 $as_echo "$use_gallium" >&6; }
26098 if test "x$enable_gallium" = "xyes" -a "x$use_gallium" != xyes; then :
26099 as_fn_error $? " Gallium3D surface backend feature could not be enabled" "$LINENO" 5
26103 as_fn_error $? "invalid argument passed to --enable-gallium: \`$use_gallium', should be one of [no/auto/yes]" "$LINENO" 5
26106 if test "x$use_gallium" = "xyes"; then :
26107 CAIRO_REQUIRES="$gallium_REQUIRES"" ${CAIRO_REQUIRES}"
26109 CAIRO_CFLAGS="$gallium_CFLAGS"" ${CAIRO_CFLAGS}"
26111 CAIRO_NONPKGCONFIG_CFLAGS="$gallium_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
26113 CAIRO_LIBS="$gallium_LIBS"" ${CAIRO_LIBS}"
26115 CAIRO_NONPKGCONFIG_LIBS="$gallium_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
26120 unset gallium_REQUIRES
26121 unset gallium_CFLAGS
26122 unset gallium_NONPKGCONFIG_CFLAGS
26124 unset gallium_NONPKGCONFIG_LIBS
26125 unset gallium_NONPKGCONFIG_EXTRA_LIBS
26130 if test "x$use_gallium" = xyes; then
26131 CAIRO_HAS_GALLIUM_SURFACE_TRUE=
26132 CAIRO_HAS_GALLIUM_SURFACE_FALSE='#'
26134 CAIRO_HAS_GALLIUM_SURFACE_TRUE='#'
26135 CAIRO_HAS_GALLIUM_SURFACE_FALSE=
26139 cr_make_tmp='CAIRO_HAS_GALLIUM_SURFACE=0'
26140 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
26145 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26148 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26151 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26154 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26159 cr_make_tmp='unsupported_cairo_headers += $(cairo_gallium_headers)'
26160 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26163 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26165 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_gallium_headers)'
26166 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26169 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26173 cr_make_tmp='all_cairo_headers += $(cairo_gallium_headers)
26174 all_cairo_private += $(cairo_gallium_private)
26175 all_cairo_cxx_sources += $(cairo_gallium_cxx_sources)
26176 all_cairo_sources += $(cairo_gallium_sources)'
26177 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26180 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26182 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_gallium_headers)
26183 all_cairo_boilerplate_private += $(cairo_boilerplate_gallium_private)
26184 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gallium_cxx_sources)
26185 all_cairo_boilerplate_sources += $(cairo_boilerplate_gallium_sources)'
26186 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26189 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26193 cr_make_tmp='enabled_cairo_headers += $(cairo_gallium_headers)
26194 enabled_cairo_private += $(cairo_gallium_private)
26195 enabled_cairo_cxx_sources += $(cairo_gallium_cxx_sources)
26196 enabled_cairo_sources += $(cairo_gallium_sources)'
26197 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26198 "'if CAIRO_HAS_GALLIUM_SURFACE'
26199 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26201 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26204 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26205 "'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
26206 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26208 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26210 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_gallium_headers)
26211 enabled_cairo_boilerplate_private += $(cairo_boilerplate_gallium_private)
26212 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gallium_cxx_sources)
26213 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_gallium_sources)'
26214 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26215 "'if CAIRO_HAS_GALLIUM_SURFACE'
26216 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26218 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26221 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26222 "'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
26223 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26225 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26231 if test "x$use_gallium" = xyes; then :
26233 ac_config_files="$ac_config_files src/cairo-gallium.pc:src/cairo-features.pc.in"
26237 if test "x$use_gallium" = xyes; then :
26239 ac_config_files="$ac_config_files cairo-gallium-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
26243 cr_make_tmp='all_cairo_pkgconf += cairo-gallium.pc'
26244 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26247 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26251 cr_make_tmp='enabled_cairo_pkgconf += cairo-gallium.pc'
26252 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26253 "'if CAIRO_HAS_GALLIUM_SURFACE'
26254 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26256 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26259 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26260 "'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
26261 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26263 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26267 if test "x$use_gallium" = xyes; then :
26269 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GALLIUM_SURFACE'
26276 cr_make_tmp=' @echo "#define CAIRO_HAS_GALLIUM_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
26277 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26278 "'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
26279 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26281 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26285 if test "x$use_gallium" = xyes; then :
26287 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
26289 "'--- The Gallium3D surface backend feature is still under active development
26290 --- and is included in this release only as a preview. It does NOT fully work
26291 --- yet and incompatible changes may yet be made to Gallium3D surface backend
26303 # Check whether --enable-png was given.
26304 if test "${enable_png+set}" = set; then :
26305 enableval=$enable_png; enable_png=$enableval
26310 case $enable_png in #(
26312 use_png="no (disabled, use --enable-png to enable)"
26315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's PNG functions feature" >&5
26316 $as_echo_n "checking for cairo's PNG functions feature... " >&6; }
26321 png_REQUIRES="$ac_env_png_REQUIRES_value"
26322 png_CFLAGS="$ac_env_png_CFLAGS_value"
26323 png_NONPKGCONFIG_CFLAGS="$ac_env_png_NONPKGCONFIG_CFLAGS_value"
26324 png_LIBS="$ac_env_png_LIBS_value"
26325 png_NONPKGCONFIG_LIBS="$ac_env_png_NONPKGCONFIG_LIBS_value"
26326 png_NONPKGCONFIG_EXTRA_LIBS="$ac_env_png_NONPKGCONFIG_EXTRA_LIBS_value"
26332 if test "x$png_REQUIRES" = x; then
26333 # libpng13 is GnuWin32's libpng-1.2.8 :-(
26334 for l in libpng libpng14 libpng12 libpng13 libpng10; do
26335 if $PKG_CONFIG --exists $l ; then
26345 if test "x$use_png" = "xyes" ; then
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png" >&5
26349 $as_echo_n "checking for png... " >&6; }
26351 if test -n "$png_CFLAGS"; then
26352 pkg_cv_png_CFLAGS="$png_CFLAGS"
26353 elif test -n "$PKG_CONFIG"; then
26354 if test -n "$PKG_CONFIG" && \
26355 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$png_REQUIRES\""; } >&5
26356 ($PKG_CONFIG --exists --print-errors "$png_REQUIRES") 2>&5
26358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26359 test $ac_status = 0; }; then
26360 pkg_cv_png_CFLAGS=`$PKG_CONFIG --cflags "$png_REQUIRES" 2>/dev/null`
26367 if test -n "$png_LIBS"; then
26368 pkg_cv_png_LIBS="$png_LIBS"
26369 elif test -n "$PKG_CONFIG"; then
26370 if test -n "$PKG_CONFIG" && \
26371 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$png_REQUIRES\""; } >&5
26372 ($PKG_CONFIG --exists --print-errors "$png_REQUIRES") 2>&5
26374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26375 test $ac_status = 0; }; then
26376 pkg_cv_png_LIBS=`$PKG_CONFIG --libs "$png_REQUIRES" 2>/dev/null`
26386 if test $pkg_failed = yes; then
26388 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26389 _pkg_short_errors_supported=yes
26391 _pkg_short_errors_supported=no
26393 if test $_pkg_short_errors_supported = yes; then
26394 png_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$png_REQUIRES" 2>&1`
26396 png_PKG_ERRORS=`$PKG_CONFIG --print-errors "$png_REQUIRES" 2>&1`
26398 # Put the nasty error message in config.log where it belongs
26399 echo "$png_PKG_ERRORS" >&5
26401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26402 $as_echo "no" >&6; }
26404 elif test $pkg_failed = untried; then
26407 png_CFLAGS=$pkg_cv_png_CFLAGS
26408 png_LIBS=$pkg_cv_png_LIBS
26409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26410 $as_echo "yes" >&6; }
26414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find libpng in the pkg-config search path" >&5
26415 $as_echo "$as_me: WARNING: Could not find libpng in the pkg-config search path" >&2;}
26419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's PNG functions feature could be enabled" >&5
26420 $as_echo_n "checking whether cairo's PNG functions feature could be enabled... " >&6; }
26421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_png" >&5
26422 $as_echo "$use_png" >&6; }
26424 if test "x$enable_png" = "xyes" -a "x$use_png" != xyes; then :
26425 as_fn_error $? "recommended PNG functions feature could not be enabled" "$LINENO" 5
26429 as_fn_error $? "invalid argument passed to --enable-png: \`$use_png', should be one of [no/auto/yes]" "$LINENO" 5
26432 if test "x$use_png" = "xyes"; then :
26433 CAIRO_REQUIRES="$png_REQUIRES"" ${CAIRO_REQUIRES}"
26435 CAIRO_CFLAGS="$png_CFLAGS"" ${CAIRO_CFLAGS}"
26437 CAIRO_NONPKGCONFIG_CFLAGS="$png_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
26439 CAIRO_LIBS="$png_LIBS"" ${CAIRO_LIBS}"
26441 CAIRO_NONPKGCONFIG_LIBS="$png_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
26448 unset png_NONPKGCONFIG_CFLAGS
26450 unset png_NONPKGCONFIG_LIBS
26451 unset png_NONPKGCONFIG_EXTRA_LIBS
26456 if test "x$use_png" = xyes; then
26457 CAIRO_HAS_PNG_FUNCTIONS_TRUE=
26458 CAIRO_HAS_PNG_FUNCTIONS_FALSE='#'
26460 CAIRO_HAS_PNG_FUNCTIONS_TRUE='#'
26461 CAIRO_HAS_PNG_FUNCTIONS_FALSE=
26465 cr_make_tmp='CAIRO_HAS_PNG_FUNCTIONS=1'
26466 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
26471 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26474 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26477 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26480 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26484 cr_make_tmp='supported_cairo_headers += $(cairo_png_headers)'
26485 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26488 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26490 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_png_headers)'
26491 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26494 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26499 cr_make_tmp='all_cairo_headers += $(cairo_png_headers)
26500 all_cairo_private += $(cairo_png_private)
26501 all_cairo_cxx_sources += $(cairo_png_cxx_sources)
26502 all_cairo_sources += $(cairo_png_sources)'
26503 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26506 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26508 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_png_headers)
26509 all_cairo_boilerplate_private += $(cairo_boilerplate_png_private)
26510 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_png_cxx_sources)
26511 all_cairo_boilerplate_sources += $(cairo_boilerplate_png_sources)'
26512 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26515 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26519 cr_make_tmp='enabled_cairo_headers += $(cairo_png_headers)
26520 enabled_cairo_private += $(cairo_png_private)
26521 enabled_cairo_cxx_sources += $(cairo_png_cxx_sources)
26522 enabled_cairo_sources += $(cairo_png_sources)'
26523 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26524 "'if CAIRO_HAS_PNG_FUNCTIONS'
26525 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26527 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26530 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26531 "'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
26532 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26534 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26536 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_png_headers)
26537 enabled_cairo_boilerplate_private += $(cairo_boilerplate_png_private)
26538 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_png_cxx_sources)
26539 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_png_sources)'
26540 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26541 "'if CAIRO_HAS_PNG_FUNCTIONS'
26542 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26544 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26547 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26548 "'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
26549 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26551 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26557 if test "x$use_png" = xyes; then :
26559 ac_config_files="$ac_config_files src/cairo-png.pc:src/cairo-features.pc.in"
26563 if test "x$use_png" = xyes; then :
26565 ac_config_files="$ac_config_files cairo-png-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
26569 cr_make_tmp='all_cairo_pkgconf += cairo-png.pc'
26570 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26573 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26577 cr_make_tmp='enabled_cairo_pkgconf += cairo-png.pc'
26578 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26579 "'if CAIRO_HAS_PNG_FUNCTIONS'
26580 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26582 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26585 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26586 "'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
26587 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26589 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26593 if test "x$use_png" = xyes; then :
26595 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_PNG_FUNCTIONS'
26599 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_PNG_FUNCTIONS'
26603 if test "x$use_png" != xyes; then :
26605 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_PNG_FUNCTIONS'
26611 cr_make_tmp=' @echo "#define CAIRO_HAS_PNG_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
26612 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26613 "'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
26614 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26616 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26621 if test "x$use_png" != xyes; then :
26623 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
26625 "'+++ It is strongly recommended that you do NOT disable the PNG functions
26635 # Check whether --enable-gl was given.
26636 if test "${enable_gl+set}" = set; then :
26637 enableval=$enable_gl; enable_gl=$enableval
26642 case $enable_gl in #(
26644 use_gl="no (disabled, use --enable-gl to enable)"
26647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's OpenGL surface backend feature" >&5
26648 $as_echo_n "checking for cairo's OpenGL surface backend feature... " >&6; }
26653 gl_REQUIRES="$ac_env_gl_REQUIRES_value"
26654 gl_CFLAGS="$ac_env_gl_CFLAGS_value"
26655 gl_NONPKGCONFIG_CFLAGS="$ac_env_gl_NONPKGCONFIG_CFLAGS_value"
26656 gl_LIBS="$ac_env_gl_LIBS_value"
26657 gl_NONPKGCONFIG_LIBS="$ac_env_gl_NONPKGCONFIG_LIBS_value"
26658 gl_NONPKGCONFIG_EXTRA_LIBS="$ac_env_gl_NONPKGCONFIG_EXTRA_LIBS_value"
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gl" >&5
26666 $as_echo_n "checking for gl... " >&6; }
26668 if test -n "$gl_CFLAGS"; then
26669 pkg_cv_gl_CFLAGS="$gl_CFLAGS"
26670 elif test -n "$PKG_CONFIG"; then
26671 if test -n "$PKG_CONFIG" && \
26672 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gl_REQUIRES\""; } >&5
26673 ($PKG_CONFIG --exists --print-errors "$gl_REQUIRES") 2>&5
26675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26676 test $ac_status = 0; }; then
26677 pkg_cv_gl_CFLAGS=`$PKG_CONFIG --cflags "$gl_REQUIRES" 2>/dev/null`
26684 if test -n "$gl_LIBS"; then
26685 pkg_cv_gl_LIBS="$gl_LIBS"
26686 elif test -n "$PKG_CONFIG"; then
26687 if test -n "$PKG_CONFIG" && \
26688 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gl_REQUIRES\""; } >&5
26689 ($PKG_CONFIG --exists --print-errors "$gl_REQUIRES") 2>&5
26691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26692 test $ac_status = 0; }; then
26693 pkg_cv_gl_LIBS=`$PKG_CONFIG --libs "$gl_REQUIRES" 2>/dev/null`
26703 if test $pkg_failed = yes; then
26705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26706 _pkg_short_errors_supported=yes
26708 _pkg_short_errors_supported=no
26710 if test $_pkg_short_errors_supported = yes; then
26711 gl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gl_REQUIRES" 2>&1`
26713 gl_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gl_REQUIRES" 2>&1`
26715 # Put the nasty error message in config.log where it belongs
26716 echo "$gl_PKG_ERRORS" >&5
26718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26719 $as_echo "no" >&6; }
26721 ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
26722 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
26725 use_gl="no (gl.pc nor OpenGL headers not found)"
26729 if test "x$use_gl" = "xyes"; then
26730 gl_NONPKGCONFIG_CFLAGS=
26731 gl_NONPKGCONFIG_LIBS="-lGL"
26733 elif test $pkg_failed = untried; then
26735 ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
26736 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
26739 use_gl="no (gl.pc nor OpenGL headers not found)"
26743 if test "x$use_gl" = "xyes"; then
26744 gl_NONPKGCONFIG_CFLAGS=
26745 gl_NONPKGCONFIG_LIBS="-lGL"
26748 gl_CFLAGS=$pkg_cv_gl_CFLAGS
26749 gl_LIBS=$pkg_cv_gl_LIBS
26750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26751 $as_echo "yes" >&6; }
26755 if test "x$have_dl" = "xyes" -a "x$have_dlsym" = "xyes"; then
26756 gl_LIBS="$gl_LIBS -ldl"
26759 need_glx_functions=yes
26760 need_wgl_functions=yes
26761 need_egl_functions=yes
26764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's OpenGL surface backend feature could be enabled" >&5
26765 $as_echo_n "checking whether cairo's OpenGL surface backend feature could be enabled... " >&6; }
26766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gl" >&5
26767 $as_echo "$use_gl" >&6; }
26769 if test "x$enable_gl" = "xyes" -a "x$use_gl" != xyes; then :
26770 as_fn_error $? " OpenGL surface backend feature could not be enabled" "$LINENO" 5
26774 as_fn_error $? "invalid argument passed to --enable-gl: \`$use_gl', should be one of [no/auto/yes]" "$LINENO" 5
26777 if test "x$use_gl" = "xyes"; then :
26778 CAIRO_REQUIRES="$gl_REQUIRES"" ${CAIRO_REQUIRES}"
26780 CAIRO_CFLAGS="$gl_CFLAGS"" ${CAIRO_CFLAGS}"
26782 CAIRO_NONPKGCONFIG_CFLAGS="$gl_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
26784 CAIRO_LIBS="$gl_LIBS"" ${CAIRO_LIBS}"
26786 CAIRO_NONPKGCONFIG_LIBS="$gl_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
26793 unset gl_NONPKGCONFIG_CFLAGS
26795 unset gl_NONPKGCONFIG_LIBS
26796 unset gl_NONPKGCONFIG_EXTRA_LIBS
26801 if test "x$use_gl" = xyes; then
26802 CAIRO_HAS_GL_SURFACE_TRUE=
26803 CAIRO_HAS_GL_SURFACE_FALSE='#'
26805 CAIRO_HAS_GL_SURFACE_TRUE='#'
26806 CAIRO_HAS_GL_SURFACE_FALSE=
26810 cr_make_tmp='CAIRO_HAS_GL_SURFACE=0'
26811 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
26816 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26819 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26822 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26825 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26830 cr_make_tmp='unsupported_cairo_headers += $(cairo_gl_headers)'
26831 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26834 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26836 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_gl_headers)'
26837 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26840 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26844 cr_make_tmp='all_cairo_headers += $(cairo_gl_headers)
26845 all_cairo_private += $(cairo_gl_private)
26846 all_cairo_cxx_sources += $(cairo_gl_cxx_sources)
26847 all_cairo_sources += $(cairo_gl_sources)'
26848 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26851 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26853 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_gl_headers)
26854 all_cairo_boilerplate_private += $(cairo_boilerplate_gl_private)
26855 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gl_cxx_sources)
26856 all_cairo_boilerplate_sources += $(cairo_boilerplate_gl_sources)'
26857 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26860 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26864 cr_make_tmp='enabled_cairo_headers += $(cairo_gl_headers)
26865 enabled_cairo_private += $(cairo_gl_private)
26866 enabled_cairo_cxx_sources += $(cairo_gl_cxx_sources)
26867 enabled_cairo_sources += $(cairo_gl_sources)'
26868 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26869 "'if CAIRO_HAS_GL_SURFACE'
26870 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26872 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26875 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26876 "'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
26877 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26879 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26881 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_gl_headers)
26882 enabled_cairo_boilerplate_private += $(cairo_boilerplate_gl_private)
26883 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gl_cxx_sources)
26884 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_gl_sources)'
26885 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26886 "'if CAIRO_HAS_GL_SURFACE'
26887 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26889 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26892 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26893 "'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
26894 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26896 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26902 if test "x$use_gl" = xyes; then :
26904 ac_config_files="$ac_config_files src/cairo-gl.pc:src/cairo-features.pc.in"
26908 if test "x$use_gl" = xyes; then :
26910 ac_config_files="$ac_config_files cairo-gl-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
26914 cr_make_tmp='all_cairo_pkgconf += cairo-gl.pc'
26915 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26918 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26922 cr_make_tmp='enabled_cairo_pkgconf += cairo-gl.pc'
26923 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26924 "'if CAIRO_HAS_GL_SURFACE'
26925 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26927 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26930 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26931 "'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
26932 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26934 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26938 if test "x$use_gl" = xyes; then :
26940 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GL_SURFACE'
26947 cr_make_tmp=' @echo "#define CAIRO_HAS_GL_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
26948 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26949 "'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
26950 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26952 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26956 if test "x$use_gl" = xyes; then :
26958 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
26960 "'--- The OpenGL surface backend feature is still under active development and
26961 --- is included in this release only as a preview. It does NOT fully work yet
26962 --- and incompatible changes may yet be made to OpenGL surface backend
26973 # Check whether --enable-glesv2 was given.
26974 if test "${enable_glesv2+set}" = set; then :
26975 enableval=$enable_glesv2; enable_glesv2=$enableval
26980 case $enable_glesv2 in #(
26982 use_glesv2="no (disabled, use --enable-glesv2 to enable)"
26985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's OpenGLESv2 surface backend feature" >&5
26986 $as_echo_n "checking for cairo's OpenGLESv2 surface backend feature... " >&6; }
26990 glesv2_BASE="cairo"
26991 glesv2_REQUIRES="$ac_env_glesv2_REQUIRES_value"
26992 glesv2_CFLAGS="$ac_env_glesv2_CFLAGS_value"
26993 glesv2_NONPKGCONFIG_CFLAGS="$ac_env_glesv2_NONPKGCONFIG_CFLAGS_value"
26994 glesv2_LIBS="$ac_env_glesv2_LIBS_value"
26995 glesv2_NONPKGCONFIG_LIBS="$ac_env_glesv2_NONPKGCONFIG_LIBS_value"
26996 glesv2_NONPKGCONFIG_EXTRA_LIBS="$ac_env_glesv2_NONPKGCONFIG_EXTRA_LIBS_value"
27000 glesv2_REQUIRES="glesv2"
27003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glesv2" >&5
27004 $as_echo_n "checking for glesv2... " >&6; }
27006 if test -n "$glesv2_CFLAGS"; then
27007 pkg_cv_glesv2_CFLAGS="$glesv2_CFLAGS"
27008 elif test -n "$PKG_CONFIG"; then
27009 if test -n "$PKG_CONFIG" && \
27010 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$glesv2_REQUIRES\""; } >&5
27011 ($PKG_CONFIG --exists --print-errors "$glesv2_REQUIRES") 2>&5
27013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27014 test $ac_status = 0; }; then
27015 pkg_cv_glesv2_CFLAGS=`$PKG_CONFIG --cflags "$glesv2_REQUIRES" 2>/dev/null`
27022 if test -n "$glesv2_LIBS"; then
27023 pkg_cv_glesv2_LIBS="$glesv2_LIBS"
27024 elif test -n "$PKG_CONFIG"; then
27025 if test -n "$PKG_CONFIG" && \
27026 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$glesv2_REQUIRES\""; } >&5
27027 ($PKG_CONFIG --exists --print-errors "$glesv2_REQUIRES") 2>&5
27029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27030 test $ac_status = 0; }; then
27031 pkg_cv_glesv2_LIBS=`$PKG_CONFIG --libs "$glesv2_REQUIRES" 2>/dev/null`
27041 if test $pkg_failed = yes; then
27043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27044 _pkg_short_errors_supported=yes
27046 _pkg_short_errors_supported=no
27048 if test $_pkg_short_errors_supported = yes; then
27049 glesv2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$glesv2_REQUIRES" 2>&1`
27051 glesv2_PKG_ERRORS=`$PKG_CONFIG --print-errors "$glesv2_REQUIRES" 2>&1`
27053 # Put the nasty error message in config.log where it belongs
27054 echo "$glesv2_PKG_ERRORS" >&5
27056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27057 $as_echo "no" >&6; }
27059 ac_fn_c_check_header_mongrel "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "$ac_includes_default"
27060 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
27063 use_glesv2="no (glesv2.pc nor OpenGL ES 2.0 headers not found)"
27067 if test "x$use_glesv2" = "xyes"; then
27068 glesv2_NONPKGCONFIG_CFLAGS=
27069 glesv2_NONPKGCONFIG_LIBS="-lGLESv2"
27071 elif test $pkg_failed = untried; then
27073 ac_fn_c_check_header_mongrel "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "$ac_includes_default"
27074 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
27077 use_glesv2="no (glesv2.pc nor OpenGL ES 2.0 headers not found)"
27081 if test "x$use_glesv2" = "xyes"; then
27082 glesv2_NONPKGCONFIG_CFLAGS=
27083 glesv2_NONPKGCONFIG_LIBS="-lGLESv2"
27086 glesv2_CFLAGS=$pkg_cv_glesv2_CFLAGS
27087 glesv2_LIBS=$pkg_cv_glesv2_LIBS
27088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27089 $as_echo "yes" >&6; }
27093 if test "x$have_dl" = "xyes" -a "x$have_dlsym" = "xyes"; then
27094 glesv2_LIBS="$glesv2_LIBS -ldl"
27097 need_egl_functions=yes
27100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's OpenGLESv2 surface backend feature could be enabled" >&5
27101 $as_echo_n "checking whether cairo's OpenGLESv2 surface backend feature could be enabled... " >&6; }
27102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_glesv2" >&5
27103 $as_echo "$use_glesv2" >&6; }
27105 if test "x$enable_glesv2" = "xyes" -a "x$use_glesv2" != xyes; then :
27106 as_fn_error $? " OpenGLESv2 surface backend feature could not be enabled" "$LINENO" 5
27110 as_fn_error $? "invalid argument passed to --enable-glesv2: \`$use_glesv2', should be one of [no/auto/yes]" "$LINENO" 5
27113 if test "x$use_glesv2" = "xyes"; then :
27114 CAIRO_REQUIRES="$glesv2_REQUIRES"" ${CAIRO_REQUIRES}"
27116 CAIRO_CFLAGS="$glesv2_CFLAGS"" ${CAIRO_CFLAGS}"
27118 CAIRO_NONPKGCONFIG_CFLAGS="$glesv2_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
27120 CAIRO_LIBS="$glesv2_LIBS"" ${CAIRO_LIBS}"
27122 CAIRO_NONPKGCONFIG_LIBS="$glesv2_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
27127 unset glesv2_REQUIRES
27128 unset glesv2_CFLAGS
27129 unset glesv2_NONPKGCONFIG_CFLAGS
27131 unset glesv2_NONPKGCONFIG_LIBS
27132 unset glesv2_NONPKGCONFIG_EXTRA_LIBS
27137 if test "x$use_glesv2" = xyes; then
27138 CAIRO_HAS_GLESV2_SURFACE_TRUE=
27139 CAIRO_HAS_GLESV2_SURFACE_FALSE='#'
27141 CAIRO_HAS_GLESV2_SURFACE_TRUE='#'
27142 CAIRO_HAS_GLESV2_SURFACE_FALSE=
27146 cr_make_tmp='CAIRO_HAS_GLESV2_SURFACE=0'
27147 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
27152 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27155 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27158 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27161 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27166 cr_make_tmp='unsupported_cairo_headers += $(cairo_glesv2_headers)'
27167 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27170 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27172 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_glesv2_headers)'
27173 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27176 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27180 cr_make_tmp='all_cairo_headers += $(cairo_glesv2_headers)
27181 all_cairo_private += $(cairo_glesv2_private)
27182 all_cairo_cxx_sources += $(cairo_glesv2_cxx_sources)
27183 all_cairo_sources += $(cairo_glesv2_sources)'
27184 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27187 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27189 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_glesv2_headers)
27190 all_cairo_boilerplate_private += $(cairo_boilerplate_glesv2_private)
27191 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_glesv2_cxx_sources)
27192 all_cairo_boilerplate_sources += $(cairo_boilerplate_glesv2_sources)'
27193 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27196 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27200 cr_make_tmp='enabled_cairo_headers += $(cairo_glesv2_headers)
27201 enabled_cairo_private += $(cairo_glesv2_private)
27202 enabled_cairo_cxx_sources += $(cairo_glesv2_cxx_sources)
27203 enabled_cairo_sources += $(cairo_glesv2_sources)'
27204 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27205 "'if CAIRO_HAS_GLESV2_SURFACE'
27206 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27208 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27211 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27212 "'ifeq ($(CAIRO_HAS_GLESV2_SURFACE),1)'
27213 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27215 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27217 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_glesv2_headers)
27218 enabled_cairo_boilerplate_private += $(cairo_boilerplate_glesv2_private)
27219 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_glesv2_cxx_sources)
27220 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_glesv2_sources)'
27221 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27222 "'if CAIRO_HAS_GLESV2_SURFACE'
27223 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27225 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27228 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27229 "'ifeq ($(CAIRO_HAS_GLESV2_SURFACE),1)'
27230 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27232 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27238 if test "x$use_glesv2" = xyes; then :
27240 ac_config_files="$ac_config_files src/cairo-glesv2.pc:src/cairo-features.pc.in"
27244 if test "x$use_glesv2" = xyes; then :
27246 ac_config_files="$ac_config_files cairo-glesv2-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
27250 cr_make_tmp='all_cairo_pkgconf += cairo-glesv2.pc'
27251 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27254 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27258 cr_make_tmp='enabled_cairo_pkgconf += cairo-glesv2.pc'
27259 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27260 "'if CAIRO_HAS_GLESV2_SURFACE'
27261 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27263 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27266 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27267 "'ifeq ($(CAIRO_HAS_GLESV2_SURFACE),1)'
27268 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27270 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27274 if test "x$use_glesv2" = xyes; then :
27276 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GLESV2_SURFACE'
27283 cr_make_tmp=' @echo "#define CAIRO_HAS_GLESV2_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
27284 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27285 "'ifeq ($(CAIRO_HAS_GLESV2_SURFACE),1)'
27286 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27288 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27292 if test "x$use_glesv2" = xyes; then :
27294 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
27296 "'--- The OpenGLESv2 surface backend feature is still under active development
27297 --- and is included in this release only as a preview. It does NOT fully work
27298 --- yet and incompatible changes may yet be made to OpenGLESv2 surface
27299 --- backend specific API.'
27309 # Check whether --enable-cogl was given.
27310 if test "${enable_cogl+set}" = set; then :
27311 enableval=$enable_cogl; enable_cogl=$enableval
27316 case $enable_cogl in #(
27318 use_cogl="no (disabled, use --enable-cogl to enable)"
27321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Cogl surface backend feature" >&5
27322 $as_echo_n "checking for cairo's Cogl surface backend feature... " >&6; }
27327 cogl_REQUIRES="$ac_env_cogl_REQUIRES_value"
27328 cogl_CFLAGS="$ac_env_cogl_CFLAGS_value"
27329 cogl_NONPKGCONFIG_CFLAGS="$ac_env_cogl_NONPKGCONFIG_CFLAGS_value"
27330 cogl_LIBS="$ac_env_cogl_LIBS_value"
27331 cogl_NONPKGCONFIG_LIBS="$ac_env_cogl_NONPKGCONFIG_LIBS_value"
27332 cogl_NONPKGCONFIG_EXTRA_LIBS="$ac_env_cogl_NONPKGCONFIG_EXTRA_LIBS_value"
27336 cogl_REQUIRES="cogl-2.0-experimental"
27339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cogl" >&5
27340 $as_echo_n "checking for cogl... " >&6; }
27342 if test -n "$cogl_CFLAGS"; then
27343 pkg_cv_cogl_CFLAGS="$cogl_CFLAGS"
27344 elif test -n "$PKG_CONFIG"; then
27345 if test -n "$PKG_CONFIG" && \
27346 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cogl_REQUIRES\""; } >&5
27347 ($PKG_CONFIG --exists --print-errors "$cogl_REQUIRES") 2>&5
27349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27350 test $ac_status = 0; }; then
27351 pkg_cv_cogl_CFLAGS=`$PKG_CONFIG --cflags "$cogl_REQUIRES" 2>/dev/null`
27358 if test -n "$cogl_LIBS"; then
27359 pkg_cv_cogl_LIBS="$cogl_LIBS"
27360 elif test -n "$PKG_CONFIG"; then
27361 if test -n "$PKG_CONFIG" && \
27362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cogl_REQUIRES\""; } >&5
27363 ($PKG_CONFIG --exists --print-errors "$cogl_REQUIRES") 2>&5
27365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27366 test $ac_status = 0; }; then
27367 pkg_cv_cogl_LIBS=`$PKG_CONFIG --libs "$cogl_REQUIRES" 2>/dev/null`
27377 if test $pkg_failed = yes; then
27379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27380 _pkg_short_errors_supported=yes
27382 _pkg_short_errors_supported=no
27384 if test $_pkg_short_errors_supported = yes; then
27385 cogl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$cogl_REQUIRES" 2>&1`
27387 cogl_PKG_ERRORS=`$PKG_CONFIG --print-errors "$cogl_REQUIRES" 2>&1`
27389 # Put the nasty error message in config.log where it belongs
27390 echo "$cogl_PKG_ERRORS" >&5
27392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27393 $as_echo "no" >&6; }
27395 elif test $pkg_failed = untried; then
27398 cogl_CFLAGS=$pkg_cv_cogl_CFLAGS
27399 cogl_LIBS=$pkg_cv_cogl_LIBS
27400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27401 $as_echo "yes" >&6; }
27406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Cogl surface backend feature could be enabled" >&5
27407 $as_echo_n "checking whether cairo's Cogl surface backend feature could be enabled... " >&6; }
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_cogl" >&5
27409 $as_echo "$use_cogl" >&6; }
27411 if test "x$enable_cogl" = "xyes" -a "x$use_cogl" != xyes; then :
27412 as_fn_error $? " Cogl surface backend feature could not be enabled" "$LINENO" 5
27416 as_fn_error $? "invalid argument passed to --enable-cogl: \`$use_cogl', should be one of [no/auto/yes]" "$LINENO" 5
27419 if test "x$use_cogl" = "xyes"; then :
27420 CAIRO_REQUIRES="$cogl_REQUIRES"" ${CAIRO_REQUIRES}"
27422 CAIRO_CFLAGS="$cogl_CFLAGS"" ${CAIRO_CFLAGS}"
27424 CAIRO_NONPKGCONFIG_CFLAGS="$cogl_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
27426 CAIRO_LIBS="$cogl_LIBS"" ${CAIRO_LIBS}"
27428 CAIRO_NONPKGCONFIG_LIBS="$cogl_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
27433 unset cogl_REQUIRES
27435 unset cogl_NONPKGCONFIG_CFLAGS
27437 unset cogl_NONPKGCONFIG_LIBS
27438 unset cogl_NONPKGCONFIG_EXTRA_LIBS
27443 if test "x$use_cogl" = xyes; then
27444 CAIRO_HAS_COGL_SURFACE_TRUE=
27445 CAIRO_HAS_COGL_SURFACE_FALSE='#'
27447 CAIRO_HAS_COGL_SURFACE_TRUE='#'
27448 CAIRO_HAS_COGL_SURFACE_FALSE=
27452 cr_make_tmp='CAIRO_HAS_COGL_SURFACE=0'
27453 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
27458 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27461 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27464 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27467 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27472 cr_make_tmp='unsupported_cairo_headers += $(cairo_cogl_headers)'
27473 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27476 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27478 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_cogl_headers)'
27479 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27482 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27486 cr_make_tmp='all_cairo_headers += $(cairo_cogl_headers)
27487 all_cairo_private += $(cairo_cogl_private)
27488 all_cairo_cxx_sources += $(cairo_cogl_cxx_sources)
27489 all_cairo_sources += $(cairo_cogl_sources)'
27490 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27493 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27495 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_cogl_headers)
27496 all_cairo_boilerplate_private += $(cairo_boilerplate_cogl_private)
27497 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_cogl_cxx_sources)
27498 all_cairo_boilerplate_sources += $(cairo_boilerplate_cogl_sources)'
27499 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27502 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27506 cr_make_tmp='enabled_cairo_headers += $(cairo_cogl_headers)
27507 enabled_cairo_private += $(cairo_cogl_private)
27508 enabled_cairo_cxx_sources += $(cairo_cogl_cxx_sources)
27509 enabled_cairo_sources += $(cairo_cogl_sources)'
27510 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27511 "'if CAIRO_HAS_COGL_SURFACE'
27512 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27514 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27517 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27518 "'ifeq ($(CAIRO_HAS_COGL_SURFACE),1)'
27519 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27521 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27523 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_cogl_headers)
27524 enabled_cairo_boilerplate_private += $(cairo_boilerplate_cogl_private)
27525 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_cogl_cxx_sources)
27526 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_cogl_sources)'
27527 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27528 "'if CAIRO_HAS_COGL_SURFACE'
27529 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27531 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27534 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27535 "'ifeq ($(CAIRO_HAS_COGL_SURFACE),1)'
27536 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27538 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27544 if test "x$use_cogl" = xyes; then :
27546 ac_config_files="$ac_config_files src/cairo-cogl.pc:src/cairo-features.pc.in"
27550 if test "x$use_cogl" = xyes; then :
27552 ac_config_files="$ac_config_files cairo-cogl-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
27556 cr_make_tmp='all_cairo_pkgconf += cairo-cogl.pc'
27557 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27560 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27564 cr_make_tmp='enabled_cairo_pkgconf += cairo-cogl.pc'
27565 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27566 "'if CAIRO_HAS_COGL_SURFACE'
27567 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27569 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27572 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27573 "'ifeq ($(CAIRO_HAS_COGL_SURFACE),1)'
27574 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27576 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27580 if test "x$use_cogl" = xyes; then :
27582 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_COGL_SURFACE'
27589 cr_make_tmp=' @echo "#define CAIRO_HAS_COGL_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
27590 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27591 "'ifeq ($(CAIRO_HAS_COGL_SURFACE),1)'
27592 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27594 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27598 if test "x$use_cogl" = xyes; then :
27600 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
27602 "'--- The Cogl surface backend feature is still under active development and is
27603 --- included in this release only as a preview. It does NOT fully work yet
27604 --- and incompatible changes may yet be made to Cogl surface backend specific
27616 # Check whether --enable-directfb was given.
27617 if test "${enable_directfb+set}" = set; then :
27618 enableval=$enable_directfb; enable_directfb=$enableval
27623 case $enable_directfb in #(
27625 use_directfb="no (disabled, use --enable-directfb to enable)"
27628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's directfb surface backend feature" >&5
27629 $as_echo_n "checking for cairo's directfb surface backend feature... " >&6; }
27633 directfb_BASE="cairo"
27634 directfb_REQUIRES="$ac_env_directfb_REQUIRES_value"
27635 directfb_CFLAGS="$ac_env_directfb_CFLAGS_value"
27636 directfb_NONPKGCONFIG_CFLAGS="$ac_env_directfb_NONPKGCONFIG_CFLAGS_value"
27637 directfb_LIBS="$ac_env_directfb_LIBS_value"
27638 directfb_NONPKGCONFIG_LIBS="$ac_env_directfb_NONPKGCONFIG_LIBS_value"
27639 directfb_NONPKGCONFIG_EXTRA_LIBS="$ac_env_directfb_NONPKGCONFIG_EXTRA_LIBS_value"
27643 directfb_REQUIRES=directfb
27646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directfb" >&5
27647 $as_echo_n "checking for directfb... " >&6; }
27649 if test -n "$directfb_CFLAGS"; then
27650 pkg_cv_directfb_CFLAGS="$directfb_CFLAGS"
27651 elif test -n "$PKG_CONFIG"; then
27652 if test -n "$PKG_CONFIG" && \
27653 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$directfb_REQUIRES\""; } >&5
27654 ($PKG_CONFIG --exists --print-errors "$directfb_REQUIRES") 2>&5
27656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27657 test $ac_status = 0; }; then
27658 pkg_cv_directfb_CFLAGS=`$PKG_CONFIG --cflags "$directfb_REQUIRES" 2>/dev/null`
27665 if test -n "$directfb_LIBS"; then
27666 pkg_cv_directfb_LIBS="$directfb_LIBS"
27667 elif test -n "$PKG_CONFIG"; then
27668 if test -n "$PKG_CONFIG" && \
27669 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$directfb_REQUIRES\""; } >&5
27670 ($PKG_CONFIG --exists --print-errors "$directfb_REQUIRES") 2>&5
27672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27673 test $ac_status = 0; }; then
27674 pkg_cv_directfb_LIBS=`$PKG_CONFIG --libs "$directfb_REQUIRES" 2>/dev/null`
27684 if test $pkg_failed = yes; then
27686 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27687 _pkg_short_errors_supported=yes
27689 _pkg_short_errors_supported=no
27691 if test $_pkg_short_errors_supported = yes; then
27692 directfb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$directfb_REQUIRES" 2>&1`
27694 directfb_PKG_ERRORS=`$PKG_CONFIG --print-errors "$directfb_REQUIRES" 2>&1`
27696 # Put the nasty error message in config.log where it belongs
27697 echo "$directfb_PKG_ERRORS" >&5
27699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27700 $as_echo "no" >&6; }
27701 use_directfb="no (requires $directfb_REQUIRES http://www.directfb.org)"
27702 elif test $pkg_failed = untried; then
27703 use_directfb="no (requires $directfb_REQUIRES http://www.directfb.org)"
27705 directfb_CFLAGS=$pkg_cv_directfb_CFLAGS
27706 directfb_LIBS=$pkg_cv_directfb_LIBS
27707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27708 $as_echo "yes" >&6; }
27713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's directfb surface backend feature could be enabled" >&5
27714 $as_echo_n "checking whether cairo's directfb surface backend feature could be enabled... " >&6; }
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_directfb" >&5
27716 $as_echo "$use_directfb" >&6; }
27718 if test "x$enable_directfb" = "xyes" -a "x$use_directfb" != xyes; then :
27719 as_fn_error $? " directfb surface backend feature could not be enabled" "$LINENO" 5
27723 as_fn_error $? "invalid argument passed to --enable-directfb: \`$use_directfb', should be one of [no/auto/yes]" "$LINENO" 5
27726 if test "x$use_directfb" = "xyes"; then :
27727 CAIRO_REQUIRES="$directfb_REQUIRES"" ${CAIRO_REQUIRES}"
27729 CAIRO_CFLAGS="$directfb_CFLAGS"" ${CAIRO_CFLAGS}"
27731 CAIRO_NONPKGCONFIG_CFLAGS="$directfb_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
27733 CAIRO_LIBS="$directfb_LIBS"" ${CAIRO_LIBS}"
27735 CAIRO_NONPKGCONFIG_LIBS="$directfb_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
27739 unset directfb_BASE
27740 unset directfb_REQUIRES
27741 unset directfb_CFLAGS
27742 unset directfb_NONPKGCONFIG_CFLAGS
27743 unset directfb_LIBS
27744 unset directfb_NONPKGCONFIG_LIBS
27745 unset directfb_NONPKGCONFIG_EXTRA_LIBS
27750 if test "x$use_directfb" = xyes; then
27751 CAIRO_HAS_DIRECTFB_SURFACE_TRUE=
27752 CAIRO_HAS_DIRECTFB_SURFACE_FALSE='#'
27754 CAIRO_HAS_DIRECTFB_SURFACE_TRUE='#'
27755 CAIRO_HAS_DIRECTFB_SURFACE_FALSE=
27759 cr_make_tmp='CAIRO_HAS_DIRECTFB_SURFACE=0'
27760 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
27765 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27768 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27771 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27774 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27779 cr_make_tmp='unsupported_cairo_headers += $(cairo_directfb_headers)'
27780 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27783 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27785 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_directfb_headers)'
27786 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27789 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27793 cr_make_tmp='all_cairo_headers += $(cairo_directfb_headers)
27794 all_cairo_private += $(cairo_directfb_private)
27795 all_cairo_cxx_sources += $(cairo_directfb_cxx_sources)
27796 all_cairo_sources += $(cairo_directfb_sources)'
27797 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27800 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27802 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_directfb_headers)
27803 all_cairo_boilerplate_private += $(cairo_boilerplate_directfb_private)
27804 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_directfb_cxx_sources)
27805 all_cairo_boilerplate_sources += $(cairo_boilerplate_directfb_sources)'
27806 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27809 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27813 cr_make_tmp='enabled_cairo_headers += $(cairo_directfb_headers)
27814 enabled_cairo_private += $(cairo_directfb_private)
27815 enabled_cairo_cxx_sources += $(cairo_directfb_cxx_sources)
27816 enabled_cairo_sources += $(cairo_directfb_sources)'
27817 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27818 "'if CAIRO_HAS_DIRECTFB_SURFACE'
27819 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27821 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27824 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27825 "'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
27826 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27828 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27830 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_directfb_headers)
27831 enabled_cairo_boilerplate_private += $(cairo_boilerplate_directfb_private)
27832 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_directfb_cxx_sources)
27833 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_directfb_sources)'
27834 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27835 "'if CAIRO_HAS_DIRECTFB_SURFACE'
27836 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27838 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27841 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27842 "'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
27843 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27845 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27851 if test "x$use_directfb" = xyes; then :
27853 ac_config_files="$ac_config_files src/cairo-directfb.pc:src/cairo-features.pc.in"
27857 if test "x$use_directfb" = xyes; then :
27859 ac_config_files="$ac_config_files cairo-directfb-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
27863 cr_make_tmp='all_cairo_pkgconf += cairo-directfb.pc'
27864 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27867 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27871 cr_make_tmp='enabled_cairo_pkgconf += cairo-directfb.pc'
27872 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27873 "'if CAIRO_HAS_DIRECTFB_SURFACE'
27874 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27876 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27879 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27880 "'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
27881 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27883 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27887 if test "x$use_directfb" = xyes; then :
27889 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_DIRECTFB_SURFACE'
27896 cr_make_tmp=' @echo "#define CAIRO_HAS_DIRECTFB_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
27897 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27898 "'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
27899 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27901 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27905 if test "x$use_directfb" = xyes; then :
27907 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
27909 "'--- The directfb surface backend feature is still under active development
27910 --- and is included in this release only as a preview. It does NOT fully work
27911 --- yet and incompatible changes may yet be made to directfb surface backend
27923 # Check whether --enable-vg was given.
27924 if test "${enable_vg+set}" = set; then :
27925 enableval=$enable_vg; enable_vg=$enableval
27930 case $enable_vg in #(
27932 use_vg="no (disabled, use --enable-vg to enable)"
27935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's OpenVG surface backend feature" >&5
27936 $as_echo_n "checking for cairo's OpenVG surface backend feature... " >&6; }
27941 vg_REQUIRES="$ac_env_vg_REQUIRES_value"
27942 vg_CFLAGS="$ac_env_vg_CFLAGS_value"
27943 vg_NONPKGCONFIG_CFLAGS="$ac_env_vg_NONPKGCONFIG_CFLAGS_value"
27944 vg_LIBS="$ac_env_vg_LIBS_value"
27945 vg_NONPKGCONFIG_LIBS="$ac_env_vg_NONPKGCONFIG_LIBS_value"
27946 vg_NONPKGCONFIG_EXTRA_LIBS="$ac_env_vg_NONPKGCONFIG_EXTRA_LIBS_value"
27950 ac_fn_c_check_header_mongrel "$LINENO" "VG/openvg.h" "ac_cv_header_VG_openvg_h" "$ac_includes_default"
27951 if test "x$ac_cv_header_VG_openvg_h" = xyes; then :
27954 use_vg="no (OpenVG headers not found)"
27958 if test "x$use_vg" = "xyes"; then
27959 vg_NONPKGCONFIG_CFLAGS=
27960 vg_NONPKGCONFIG_LIBS="-lOpenVG"
27961 need_egl_functions=yes
27962 need_glx_functions=yes
27966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's OpenVG surface backend feature could be enabled" >&5
27967 $as_echo_n "checking whether cairo's OpenVG surface backend feature could be enabled... " >&6; }
27968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_vg" >&5
27969 $as_echo "$use_vg" >&6; }
27971 if test "x$enable_vg" = "xyes" -a "x$use_vg" != xyes; then :
27972 as_fn_error $? " OpenVG surface backend feature could not be enabled" "$LINENO" 5
27976 as_fn_error $? "invalid argument passed to --enable-vg: \`$use_vg', should be one of [no/auto/yes]" "$LINENO" 5
27979 if test "x$use_vg" = "xyes"; then :
27980 CAIRO_REQUIRES="$vg_REQUIRES"" ${CAIRO_REQUIRES}"
27982 CAIRO_CFLAGS="$vg_CFLAGS"" ${CAIRO_CFLAGS}"
27984 CAIRO_NONPKGCONFIG_CFLAGS="$vg_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
27986 CAIRO_LIBS="$vg_LIBS"" ${CAIRO_LIBS}"
27988 CAIRO_NONPKGCONFIG_LIBS="$vg_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
27995 unset vg_NONPKGCONFIG_CFLAGS
27997 unset vg_NONPKGCONFIG_LIBS
27998 unset vg_NONPKGCONFIG_EXTRA_LIBS
28003 if test "x$use_vg" = xyes; then
28004 CAIRO_HAS_VG_SURFACE_TRUE=
28005 CAIRO_HAS_VG_SURFACE_FALSE='#'
28007 CAIRO_HAS_VG_SURFACE_TRUE='#'
28008 CAIRO_HAS_VG_SURFACE_FALSE=
28012 cr_make_tmp='CAIRO_HAS_VG_SURFACE=0'
28013 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
28018 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28021 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28024 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28027 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28032 cr_make_tmp='unsupported_cairo_headers += $(cairo_vg_headers)'
28033 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28036 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28038 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_vg_headers)'
28039 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28042 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28046 cr_make_tmp='all_cairo_headers += $(cairo_vg_headers)
28047 all_cairo_private += $(cairo_vg_private)
28048 all_cairo_cxx_sources += $(cairo_vg_cxx_sources)
28049 all_cairo_sources += $(cairo_vg_sources)'
28050 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28053 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28055 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_vg_headers)
28056 all_cairo_boilerplate_private += $(cairo_boilerplate_vg_private)
28057 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_vg_cxx_sources)
28058 all_cairo_boilerplate_sources += $(cairo_boilerplate_vg_sources)'
28059 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28062 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28066 cr_make_tmp='enabled_cairo_headers += $(cairo_vg_headers)
28067 enabled_cairo_private += $(cairo_vg_private)
28068 enabled_cairo_cxx_sources += $(cairo_vg_cxx_sources)
28069 enabled_cairo_sources += $(cairo_vg_sources)'
28070 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28071 "'if CAIRO_HAS_VG_SURFACE'
28072 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28074 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28077 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28078 "'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
28079 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28081 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28083 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_vg_headers)
28084 enabled_cairo_boilerplate_private += $(cairo_boilerplate_vg_private)
28085 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_vg_cxx_sources)
28086 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_vg_sources)'
28087 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28088 "'if CAIRO_HAS_VG_SURFACE'
28089 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28091 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28094 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28095 "'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
28096 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28098 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28104 if test "x$use_vg" = xyes; then :
28106 ac_config_files="$ac_config_files src/cairo-vg.pc:src/cairo-features.pc.in"
28110 if test "x$use_vg" = xyes; then :
28112 ac_config_files="$ac_config_files cairo-vg-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
28116 cr_make_tmp='all_cairo_pkgconf += cairo-vg.pc'
28117 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28120 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28124 cr_make_tmp='enabled_cairo_pkgconf += cairo-vg.pc'
28125 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28126 "'if CAIRO_HAS_VG_SURFACE'
28127 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28129 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28132 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28133 "'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
28134 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28136 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28140 if test "x$use_vg" = xyes; then :
28142 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_VG_SURFACE'
28149 cr_make_tmp=' @echo "#define CAIRO_HAS_VG_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
28150 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28151 "'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
28152 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28154 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28158 if test "x$use_vg" = xyes; then :
28160 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
28162 "'--- The OpenVG surface backend feature is still under active development and
28163 --- is included in this release only as a preview. It does NOT fully work yet
28164 --- and incompatible changes may yet be made to OpenVG surface backend
28175 # Check whether --enable-egl was given.
28176 if test "${enable_egl+set}" = set; then :
28177 enableval=$enable_egl; enable_egl=$enableval
28182 case $enable_egl in #(
28184 use_egl="no (disabled, use --enable-egl to enable)"
28187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's EGL functions feature" >&5
28188 $as_echo_n "checking for cairo's EGL functions feature... " >&6; }
28193 egl_REQUIRES="$ac_env_egl_REQUIRES_value"
28194 egl_CFLAGS="$ac_env_egl_CFLAGS_value"
28195 egl_NONPKGCONFIG_CFLAGS="$ac_env_egl_NONPKGCONFIG_CFLAGS_value"
28196 egl_LIBS="$ac_env_egl_LIBS_value"
28197 egl_NONPKGCONFIG_LIBS="$ac_env_egl_NONPKGCONFIG_LIBS_value"
28198 egl_NONPKGCONFIG_EXTRA_LIBS="$ac_env_egl_NONPKGCONFIG_EXTRA_LIBS_value"
28202 if test "x$need_egl_functions" = "xyes"; then
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egl" >&5
28207 $as_echo_n "checking for egl... " >&6; }
28209 if test -n "$egl_CFLAGS"; then
28210 pkg_cv_egl_CFLAGS="$egl_CFLAGS"
28211 elif test -n "$PKG_CONFIG"; then
28212 if test -n "$PKG_CONFIG" && \
28213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$egl_REQUIRES\""; } >&5
28214 ($PKG_CONFIG --exists --print-errors "$egl_REQUIRES") 2>&5
28216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28217 test $ac_status = 0; }; then
28218 pkg_cv_egl_CFLAGS=`$PKG_CONFIG --cflags "$egl_REQUIRES" 2>/dev/null`
28225 if test -n "$egl_LIBS"; then
28226 pkg_cv_egl_LIBS="$egl_LIBS"
28227 elif test -n "$PKG_CONFIG"; then
28228 if test -n "$PKG_CONFIG" && \
28229 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$egl_REQUIRES\""; } >&5
28230 ($PKG_CONFIG --exists --print-errors "$egl_REQUIRES") 2>&5
28232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28233 test $ac_status = 0; }; then
28234 pkg_cv_egl_LIBS=`$PKG_CONFIG --libs "$egl_REQUIRES" 2>/dev/null`
28244 if test $pkg_failed = yes; then
28246 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28247 _pkg_short_errors_supported=yes
28249 _pkg_short_errors_supported=no
28251 if test $_pkg_short_errors_supported = yes; then
28252 egl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$egl_REQUIRES" 2>&1`
28254 egl_PKG_ERRORS=`$PKG_CONFIG --print-errors "$egl_REQUIRES" 2>&1`
28256 # Put the nasty error message in config.log where it belongs
28257 echo "$egl_PKG_ERRORS" >&5
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28260 $as_echo "no" >&6; }
28262 ac_fn_c_check_header_mongrel "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
28263 if test "x$ac_cv_header_EGL_egl_h" = xyes; then :
28266 use_egl="no (EGL headers not found)"
28270 if test "x$use_egl" = "xyes"; then
28271 egl_NONPKGCONFIG_CFLAGS=
28272 egl_NONPKGCONFIG_LIBS=
28275 # Temporary workaround for missing link from egl13
28276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csi_stream_attachresource in -lcsi" >&5
28277 $as_echo_n "checking for csi_stream_attachresource in -lcsi... " >&6; }
28278 if ${ac_cv_lib_csi_csi_stream_attachresource+:} false; then :
28279 $as_echo_n "(cached) " >&6
28281 ac_check_lib_save_LIBS=$LIBS
28283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28284 /* end confdefs.h. */
28286 /* Override any GCC internal prototype to avoid an error.
28287 Use char because int might match the return type of a GCC
28288 builtin and then its argument prototype would still apply. */
28292 char csi_stream_attachresource ();
28296 return csi_stream_attachresource ();
28301 if ac_fn_c_try_link "$LINENO"; then :
28302 ac_cv_lib_csi_csi_stream_attachresource=yes
28304 ac_cv_lib_csi_csi_stream_attachresource=no
28306 rm -f core conftest.err conftest.$ac_objext \
28307 conftest$ac_exeext conftest.$ac_ext
28308 LIBS=$ac_check_lib_save_LIBS
28310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csi_csi_stream_attachresource" >&5
28311 $as_echo "$ac_cv_lib_csi_csi_stream_attachresource" >&6; }
28312 if test "x$ac_cv_lib_csi_csi_stream_attachresource" = xyes; then :
28313 other_egl_LIBS="-lcsi"
28316 LIBS="$other_egl_LIBS $LIBS"
28317 for egl_lib in EGL egl13 egl12 egl11; do
28318 if test -z "$egl_NONPKGCONFIG_LIBS"; then
28319 as_ac_Lib=`$as_echo "ac_cv_lib_$egl_lib''_eglGetError" | $as_tr_sh`
28320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for eglGetError in -l$egl_lib" >&5
28321 $as_echo_n "checking for eglGetError in -l$egl_lib... " >&6; }
28322 if eval \${$as_ac_Lib+:} false; then :
28323 $as_echo_n "(cached) " >&6
28325 ac_check_lib_save_LIBS=$LIBS
28326 LIBS="-l$egl_lib $LIBS"
28327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28328 /* end confdefs.h. */
28330 /* Override any GCC internal prototype to avoid an error.
28331 Use char because int might match the return type of a GCC
28332 builtin and then its argument prototype would still apply. */
28336 char eglGetError ();
28340 return eglGetError ();
28345 if ac_fn_c_try_link "$LINENO"; then :
28346 eval "$as_ac_Lib=yes"
28348 eval "$as_ac_Lib=no"
28350 rm -f core conftest.err conftest.$ac_objext \
28351 conftest$ac_exeext conftest.$ac_ext
28352 LIBS=$ac_check_lib_save_LIBS
28354 eval ac_res=\$$as_ac_Lib
28355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
28356 $as_echo "$ac_res" >&6; }
28357 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
28358 egl_NONPKGCONFIG_LIBS="-l$egl_lib"
28363 if test -z "$egl_NONPKGCONFIG_LIBS"; then
28364 use_egl="no (EGL library not found)"
28366 egl_NONPKGCONFIG_LIBS="$egl_NONPKGCONFIG_LIBS $other_egl_LIBS"
28371 elif test $pkg_failed = untried; then
28373 ac_fn_c_check_header_mongrel "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
28374 if test "x$ac_cv_header_EGL_egl_h" = xyes; then :
28377 use_egl="no (EGL headers not found)"
28381 if test "x$use_egl" = "xyes"; then
28382 egl_NONPKGCONFIG_CFLAGS=
28383 egl_NONPKGCONFIG_LIBS=
28386 # Temporary workaround for missing link from egl13
28387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csi_stream_attachresource in -lcsi" >&5
28388 $as_echo_n "checking for csi_stream_attachresource in -lcsi... " >&6; }
28389 if ${ac_cv_lib_csi_csi_stream_attachresource+:} false; then :
28390 $as_echo_n "(cached) " >&6
28392 ac_check_lib_save_LIBS=$LIBS
28394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28395 /* end confdefs.h. */
28397 /* Override any GCC internal prototype to avoid an error.
28398 Use char because int might match the return type of a GCC
28399 builtin and then its argument prototype would still apply. */
28403 char csi_stream_attachresource ();
28407 return csi_stream_attachresource ();
28412 if ac_fn_c_try_link "$LINENO"; then :
28413 ac_cv_lib_csi_csi_stream_attachresource=yes
28415 ac_cv_lib_csi_csi_stream_attachresource=no
28417 rm -f core conftest.err conftest.$ac_objext \
28418 conftest$ac_exeext conftest.$ac_ext
28419 LIBS=$ac_check_lib_save_LIBS
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csi_csi_stream_attachresource" >&5
28422 $as_echo "$ac_cv_lib_csi_csi_stream_attachresource" >&6; }
28423 if test "x$ac_cv_lib_csi_csi_stream_attachresource" = xyes; then :
28424 other_egl_LIBS="-lcsi"
28427 LIBS="$other_egl_LIBS $LIBS"
28428 for egl_lib in EGL egl13 egl12 egl11; do
28429 if test -z "$egl_NONPKGCONFIG_LIBS"; then
28430 as_ac_Lib=`$as_echo "ac_cv_lib_$egl_lib''_eglGetError" | $as_tr_sh`
28431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for eglGetError in -l$egl_lib" >&5
28432 $as_echo_n "checking for eglGetError in -l$egl_lib... " >&6; }
28433 if eval \${$as_ac_Lib+:} false; then :
28434 $as_echo_n "(cached) " >&6
28436 ac_check_lib_save_LIBS=$LIBS
28437 LIBS="-l$egl_lib $LIBS"
28438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28439 /* end confdefs.h. */
28441 /* Override any GCC internal prototype to avoid an error.
28442 Use char because int might match the return type of a GCC
28443 builtin and then its argument prototype would still apply. */
28447 char eglGetError ();
28451 return eglGetError ();
28456 if ac_fn_c_try_link "$LINENO"; then :
28457 eval "$as_ac_Lib=yes"
28459 eval "$as_ac_Lib=no"
28461 rm -f core conftest.err conftest.$ac_objext \
28462 conftest$ac_exeext conftest.$ac_ext
28463 LIBS=$ac_check_lib_save_LIBS
28465 eval ac_res=\$$as_ac_Lib
28466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
28467 $as_echo "$ac_res" >&6; }
28468 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
28469 egl_NONPKGCONFIG_LIBS="-l$egl_lib"
28474 if test -z "$egl_NONPKGCONFIG_LIBS"; then
28475 use_egl="no (EGL library not found)"
28477 egl_NONPKGCONFIG_LIBS="$egl_NONPKGCONFIG_LIBS $other_egl_LIBS"
28483 egl_CFLAGS=$pkg_cv_egl_CFLAGS
28484 egl_LIBS=$pkg_cv_egl_LIBS
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28486 $as_echo "yes" >&6; }
28490 use_egl="no (not required by any backend)"
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's EGL functions feature could be enabled" >&5
28495 $as_echo_n "checking whether cairo's EGL functions feature could be enabled... " >&6; }
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_egl" >&5
28497 $as_echo "$use_egl" >&6; }
28499 if test "x$enable_egl" = "xyes" -a "x$use_egl" != xyes; then :
28500 as_fn_error $? " EGL functions feature could not be enabled" "$LINENO" 5
28504 as_fn_error $? "invalid argument passed to --enable-egl: \`$use_egl', should be one of [no/auto/yes]" "$LINENO" 5
28507 if test "x$use_egl" = "xyes"; then :
28508 CAIRO_REQUIRES="$egl_REQUIRES"" ${CAIRO_REQUIRES}"
28510 CAIRO_CFLAGS="$egl_CFLAGS"" ${CAIRO_CFLAGS}"
28512 CAIRO_NONPKGCONFIG_CFLAGS="$egl_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
28514 CAIRO_LIBS="$egl_LIBS"" ${CAIRO_LIBS}"
28516 CAIRO_NONPKGCONFIG_LIBS="$egl_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
28523 unset egl_NONPKGCONFIG_CFLAGS
28525 unset egl_NONPKGCONFIG_LIBS
28526 unset egl_NONPKGCONFIG_EXTRA_LIBS
28531 if test "x$use_egl" = xyes; then
28532 CAIRO_HAS_EGL_FUNCTIONS_TRUE=
28533 CAIRO_HAS_EGL_FUNCTIONS_FALSE='#'
28535 CAIRO_HAS_EGL_FUNCTIONS_TRUE='#'
28536 CAIRO_HAS_EGL_FUNCTIONS_FALSE=
28540 cr_make_tmp='CAIRO_HAS_EGL_FUNCTIONS=0'
28541 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
28546 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28549 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28552 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28555 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28559 cr_make_tmp='supported_cairo_headers += $(cairo_egl_headers)'
28560 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28563 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28565 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_egl_headers)'
28566 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28569 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28574 cr_make_tmp='all_cairo_headers += $(cairo_egl_headers)
28575 all_cairo_private += $(cairo_egl_private)
28576 all_cairo_cxx_sources += $(cairo_egl_cxx_sources)
28577 all_cairo_sources += $(cairo_egl_sources)'
28578 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28581 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28583 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_egl_headers)
28584 all_cairo_boilerplate_private += $(cairo_boilerplate_egl_private)
28585 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_egl_cxx_sources)
28586 all_cairo_boilerplate_sources += $(cairo_boilerplate_egl_sources)'
28587 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28590 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28594 cr_make_tmp='enabled_cairo_headers += $(cairo_egl_headers)
28595 enabled_cairo_private += $(cairo_egl_private)
28596 enabled_cairo_cxx_sources += $(cairo_egl_cxx_sources)
28597 enabled_cairo_sources += $(cairo_egl_sources)'
28598 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28599 "'if CAIRO_HAS_EGL_FUNCTIONS'
28600 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28602 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28605 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28606 "'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
28607 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28609 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28611 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_egl_headers)
28612 enabled_cairo_boilerplate_private += $(cairo_boilerplate_egl_private)
28613 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_egl_cxx_sources)
28614 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_egl_sources)'
28615 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28616 "'if CAIRO_HAS_EGL_FUNCTIONS'
28617 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28619 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28622 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28623 "'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
28624 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28626 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28632 if test "x$use_egl" = xyes; then :
28634 ac_config_files="$ac_config_files src/cairo-egl.pc:src/cairo-features.pc.in"
28638 if test "x$use_egl" = xyes; then :
28640 ac_config_files="$ac_config_files cairo-egl-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
28644 cr_make_tmp='all_cairo_pkgconf += cairo-egl.pc'
28645 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28648 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28652 cr_make_tmp='enabled_cairo_pkgconf += cairo-egl.pc'
28653 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28654 "'if CAIRO_HAS_EGL_FUNCTIONS'
28655 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28657 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28660 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28661 "'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
28662 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28664 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28668 if test "x$use_egl" = xyes; then :
28670 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_EGL_FUNCTIONS'
28674 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_EGL_FUNCTIONS'
28678 if test "x$use_egl" != xyes; then :
28680 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_EGL_FUNCTIONS'
28686 cr_make_tmp=' @echo "#define CAIRO_HAS_EGL_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
28687 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28688 "'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
28689 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28691 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28701 # Check whether --enable-glx was given.
28702 if test "${enable_glx+set}" = set; then :
28703 enableval=$enable_glx; enable_glx=$enableval
28708 case $enable_glx in #(
28710 use_glx="no (disabled, use --enable-glx to enable)"
28713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's GLX functions feature" >&5
28714 $as_echo_n "checking for cairo's GLX functions feature... " >&6; }
28719 glx_REQUIRES="$ac_env_glx_REQUIRES_value"
28720 glx_CFLAGS="$ac_env_glx_CFLAGS_value"
28721 glx_NONPKGCONFIG_CFLAGS="$ac_env_glx_NONPKGCONFIG_CFLAGS_value"
28722 glx_LIBS="$ac_env_glx_LIBS_value"
28723 glx_NONPKGCONFIG_LIBS="$ac_env_glx_NONPKGCONFIG_LIBS_value"
28724 glx_NONPKGCONFIG_EXTRA_LIBS="$ac_env_glx_NONPKGCONFIG_EXTRA_LIBS_value"
28728 if test "x$need_glx_functions" = "xyes"; then
28729 save_CFLAGS="$CFLAGS"
28730 CFLAGS="$CFLAGS $gl_CFLAGS $gl_NONPKGCONFIG_CFLAGS"
28731 ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
28732 if test "x$ac_cv_header_GL_glx_h" = xyes; then :
28735 use_glx="no (GLX headers not found)"
28739 glx_NONPKGCONFIG_CFLAGS=
28740 glx_NONPKGCONFIG_LIBS="-lGL"
28741 CFLAGS="$save_CFLAGS"
28743 use_glx="no (not required by any backend)"
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's GLX functions feature could be enabled" >&5
28748 $as_echo_n "checking whether cairo's GLX functions feature could be enabled... " >&6; }
28749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_glx" >&5
28750 $as_echo "$use_glx" >&6; }
28752 if test "x$enable_glx" = "xyes" -a "x$use_glx" != xyes; then :
28753 as_fn_error $? " GLX functions feature could not be enabled" "$LINENO" 5
28757 as_fn_error $? "invalid argument passed to --enable-glx: \`$use_glx', should be one of [no/auto/yes]" "$LINENO" 5
28760 if test "x$use_glx" = "xyes"; then :
28761 CAIRO_REQUIRES="$glx_REQUIRES"" ${CAIRO_REQUIRES}"
28763 CAIRO_CFLAGS="$glx_CFLAGS"" ${CAIRO_CFLAGS}"
28765 CAIRO_NONPKGCONFIG_CFLAGS="$glx_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
28767 CAIRO_LIBS="$glx_LIBS"" ${CAIRO_LIBS}"
28769 CAIRO_NONPKGCONFIG_LIBS="$glx_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
28776 unset glx_NONPKGCONFIG_CFLAGS
28778 unset glx_NONPKGCONFIG_LIBS
28779 unset glx_NONPKGCONFIG_EXTRA_LIBS
28784 if test "x$use_glx" = xyes; then
28785 CAIRO_HAS_GLX_FUNCTIONS_TRUE=
28786 CAIRO_HAS_GLX_FUNCTIONS_FALSE='#'
28788 CAIRO_HAS_GLX_FUNCTIONS_TRUE='#'
28789 CAIRO_HAS_GLX_FUNCTIONS_FALSE=
28793 cr_make_tmp='CAIRO_HAS_GLX_FUNCTIONS=0'
28794 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
28799 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28802 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28805 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28808 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28812 cr_make_tmp='supported_cairo_headers += $(cairo_glx_headers)'
28813 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28816 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28818 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_glx_headers)'
28819 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28822 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28827 cr_make_tmp='all_cairo_headers += $(cairo_glx_headers)
28828 all_cairo_private += $(cairo_glx_private)
28829 all_cairo_cxx_sources += $(cairo_glx_cxx_sources)
28830 all_cairo_sources += $(cairo_glx_sources)'
28831 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28834 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28836 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_glx_headers)
28837 all_cairo_boilerplate_private += $(cairo_boilerplate_glx_private)
28838 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_glx_cxx_sources)
28839 all_cairo_boilerplate_sources += $(cairo_boilerplate_glx_sources)'
28840 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28843 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28847 cr_make_tmp='enabled_cairo_headers += $(cairo_glx_headers)
28848 enabled_cairo_private += $(cairo_glx_private)
28849 enabled_cairo_cxx_sources += $(cairo_glx_cxx_sources)
28850 enabled_cairo_sources += $(cairo_glx_sources)'
28851 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28852 "'if CAIRO_HAS_GLX_FUNCTIONS'
28853 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28855 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28858 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28859 "'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
28860 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28862 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28864 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_glx_headers)
28865 enabled_cairo_boilerplate_private += $(cairo_boilerplate_glx_private)
28866 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_glx_cxx_sources)
28867 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_glx_sources)'
28868 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28869 "'if CAIRO_HAS_GLX_FUNCTIONS'
28870 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28872 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28875 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28876 "'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
28877 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28879 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28885 if test "x$use_glx" = xyes; then :
28887 ac_config_files="$ac_config_files src/cairo-glx.pc:src/cairo-features.pc.in"
28891 if test "x$use_glx" = xyes; then :
28893 ac_config_files="$ac_config_files cairo-glx-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
28897 cr_make_tmp='all_cairo_pkgconf += cairo-glx.pc'
28898 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28901 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28905 cr_make_tmp='enabled_cairo_pkgconf += cairo-glx.pc'
28906 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28907 "'if CAIRO_HAS_GLX_FUNCTIONS'
28908 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28910 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28913 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28914 "'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
28915 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28917 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28921 if test "x$use_glx" = xyes; then :
28923 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GLX_FUNCTIONS'
28927 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_GLX_FUNCTIONS'
28931 if test "x$use_glx" != xyes; then :
28933 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_GLX_FUNCTIONS'
28939 cr_make_tmp=' @echo "#define CAIRO_HAS_GLX_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
28940 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28941 "'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
28942 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28944 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28954 # Check whether --enable-wgl was given.
28955 if test "${enable_wgl+set}" = set; then :
28956 enableval=$enable_wgl; enable_wgl=$enableval
28961 case $enable_wgl in #(
28963 use_wgl="no (disabled, use --enable-wgl to enable)"
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's WGL functions feature" >&5
28967 $as_echo_n "checking for cairo's WGL functions feature... " >&6; }
28972 wgl_REQUIRES="$ac_env_wgl_REQUIRES_value"
28973 wgl_CFLAGS="$ac_env_wgl_CFLAGS_value"
28974 wgl_NONPKGCONFIG_CFLAGS="$ac_env_wgl_NONPKGCONFIG_CFLAGS_value"
28975 wgl_LIBS="$ac_env_wgl_LIBS_value"
28976 wgl_NONPKGCONFIG_LIBS="$ac_env_wgl_NONPKGCONFIG_LIBS_value"
28977 wgl_NONPKGCONFIG_EXTRA_LIBS="$ac_env_wgl_NONPKGCONFIG_EXTRA_LIBS_value"
28981 if test "x$need_wgl_functions" = "xyes"; then
28982 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
28983 if test "x$ac_cv_header_windows_h" = xyes; then :
28986 use_wgl="no (WGL headers not found)"
28991 use_wgl="no (not required by any backend)"
28995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's WGL functions feature could be enabled" >&5
28996 $as_echo_n "checking whether cairo's WGL functions feature could be enabled... " >&6; }
28997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_wgl" >&5
28998 $as_echo "$use_wgl" >&6; }
29000 if test "x$enable_wgl" = "xyes" -a "x$use_wgl" != xyes; then :
29001 as_fn_error $? " WGL functions feature could not be enabled" "$LINENO" 5
29005 as_fn_error $? "invalid argument passed to --enable-wgl: \`$use_wgl', should be one of [no/auto/yes]" "$LINENO" 5
29008 if test "x$use_wgl" = "xyes"; then :
29009 CAIRO_REQUIRES="$wgl_REQUIRES"" ${CAIRO_REQUIRES}"
29011 CAIRO_CFLAGS="$wgl_CFLAGS"" ${CAIRO_CFLAGS}"
29013 CAIRO_NONPKGCONFIG_CFLAGS="$wgl_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
29015 CAIRO_LIBS="$wgl_LIBS"" ${CAIRO_LIBS}"
29017 CAIRO_NONPKGCONFIG_LIBS="$wgl_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
29024 unset wgl_NONPKGCONFIG_CFLAGS
29026 unset wgl_NONPKGCONFIG_LIBS
29027 unset wgl_NONPKGCONFIG_EXTRA_LIBS
29032 if test "x$use_wgl" = xyes; then
29033 CAIRO_HAS_WGL_FUNCTIONS_TRUE=
29034 CAIRO_HAS_WGL_FUNCTIONS_FALSE='#'
29036 CAIRO_HAS_WGL_FUNCTIONS_TRUE='#'
29037 CAIRO_HAS_WGL_FUNCTIONS_FALSE=
29041 cr_make_tmp='CAIRO_HAS_WGL_FUNCTIONS=0'
29042 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
29047 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29050 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29053 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29056 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29060 cr_make_tmp='supported_cairo_headers += $(cairo_wgl_headers)'
29061 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29064 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29066 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_wgl_headers)'
29067 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29070 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29075 cr_make_tmp='all_cairo_headers += $(cairo_wgl_headers)
29076 all_cairo_private += $(cairo_wgl_private)
29077 all_cairo_cxx_sources += $(cairo_wgl_cxx_sources)
29078 all_cairo_sources += $(cairo_wgl_sources)'
29079 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29082 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29084 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_wgl_headers)
29085 all_cairo_boilerplate_private += $(cairo_boilerplate_wgl_private)
29086 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_wgl_cxx_sources)
29087 all_cairo_boilerplate_sources += $(cairo_boilerplate_wgl_sources)'
29088 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29091 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29095 cr_make_tmp='enabled_cairo_headers += $(cairo_wgl_headers)
29096 enabled_cairo_private += $(cairo_wgl_private)
29097 enabled_cairo_cxx_sources += $(cairo_wgl_cxx_sources)
29098 enabled_cairo_sources += $(cairo_wgl_sources)'
29099 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29100 "'if CAIRO_HAS_WGL_FUNCTIONS'
29101 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29103 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29106 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29107 "'ifeq ($(CAIRO_HAS_WGL_FUNCTIONS),1)'
29108 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29110 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29112 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_wgl_headers)
29113 enabled_cairo_boilerplate_private += $(cairo_boilerplate_wgl_private)
29114 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_wgl_cxx_sources)
29115 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_wgl_sources)'
29116 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29117 "'if CAIRO_HAS_WGL_FUNCTIONS'
29118 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29120 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29123 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29124 "'ifeq ($(CAIRO_HAS_WGL_FUNCTIONS),1)'
29125 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29127 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29133 if test "x$use_wgl" = xyes; then :
29135 ac_config_files="$ac_config_files src/cairo-wgl.pc:src/cairo-features.pc.in"
29139 if test "x$use_wgl" = xyes; then :
29141 ac_config_files="$ac_config_files cairo-wgl-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
29145 cr_make_tmp='all_cairo_pkgconf += cairo-wgl.pc'
29146 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29149 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29153 cr_make_tmp='enabled_cairo_pkgconf += cairo-wgl.pc'
29154 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29155 "'if CAIRO_HAS_WGL_FUNCTIONS'
29156 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29158 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29161 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29162 "'ifeq ($(CAIRO_HAS_WGL_FUNCTIONS),1)'
29163 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29165 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29169 if test "x$use_wgl" = xyes; then :
29171 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_WGL_FUNCTIONS'
29175 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_WGL_FUNCTIONS'
29179 if test "x$use_wgl" != xyes; then :
29181 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_WGL_FUNCTIONS'
29187 cr_make_tmp=' @echo "#define CAIRO_HAS_WGL_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
29188 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29189 "'ifeq ($(CAIRO_HAS_WGL_FUNCTIONS),1)'
29190 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29192 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29204 # Check whether --enable-script was given.
29205 if test "${enable_script+set}" = set; then :
29206 enableval=$enable_script; enable_script=$enableval
29211 case $enable_script in #(
29213 use_script="no (disabled, use --enable-script to enable)"
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's script surface backend feature" >&5
29217 $as_echo_n "checking for cairo's script surface backend feature... " >&6; }
29221 script_BASE="cairo"
29222 script_REQUIRES="$ac_env_script_REQUIRES_value"
29223 script_CFLAGS="$ac_env_script_CFLAGS_value"
29224 script_NONPKGCONFIG_CFLAGS="$ac_env_script_NONPKGCONFIG_CFLAGS_value"
29225 script_LIBS="$ac_env_script_LIBS_value"
29226 script_NONPKGCONFIG_LIBS="$ac_env_script_NONPKGCONFIG_LIBS_value"
29227 script_NONPKGCONFIG_EXTRA_LIBS="$ac_env_script_NONPKGCONFIG_EXTRA_LIBS_value"
29234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's script surface backend feature could be enabled" >&5
29235 $as_echo_n "checking whether cairo's script surface backend feature could be enabled... " >&6; }
29236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_script" >&5
29237 $as_echo "$use_script" >&6; }
29239 if test "x$enable_script" = "xyes" -a "x$use_script" != xyes; then :
29240 as_fn_error $? "recommended script surface backend feature could not be enabled" "$LINENO" 5
29244 as_fn_error $? "invalid argument passed to --enable-script: \`$use_script', should be one of [no/auto/yes]" "$LINENO" 5
29247 if test "x$use_script" = "xyes"; then :
29248 CAIRO_REQUIRES="$script_REQUIRES"" ${CAIRO_REQUIRES}"
29250 CAIRO_CFLAGS="$script_CFLAGS"" ${CAIRO_CFLAGS}"
29252 CAIRO_NONPKGCONFIG_CFLAGS="$script_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
29254 CAIRO_LIBS="$script_LIBS"" ${CAIRO_LIBS}"
29256 CAIRO_NONPKGCONFIG_LIBS="$script_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
29261 unset script_REQUIRES
29262 unset script_CFLAGS
29263 unset script_NONPKGCONFIG_CFLAGS
29265 unset script_NONPKGCONFIG_LIBS
29266 unset script_NONPKGCONFIG_EXTRA_LIBS
29271 if test "x$use_script" = xyes; then
29272 CAIRO_HAS_SCRIPT_SURFACE_TRUE=
29273 CAIRO_HAS_SCRIPT_SURFACE_FALSE='#'
29275 CAIRO_HAS_SCRIPT_SURFACE_TRUE='#'
29276 CAIRO_HAS_SCRIPT_SURFACE_FALSE=
29280 cr_make_tmp='CAIRO_HAS_SCRIPT_SURFACE=1'
29281 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
29286 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29289 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29292 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29295 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29299 cr_make_tmp='supported_cairo_headers += $(cairo_script_headers)'
29300 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29303 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29305 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_script_headers)'
29306 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29309 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29314 cr_make_tmp='all_cairo_headers += $(cairo_script_headers)
29315 all_cairo_private += $(cairo_script_private)
29316 all_cairo_cxx_sources += $(cairo_script_cxx_sources)
29317 all_cairo_sources += $(cairo_script_sources)'
29318 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29321 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29323 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_script_headers)
29324 all_cairo_boilerplate_private += $(cairo_boilerplate_script_private)
29325 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_script_cxx_sources)
29326 all_cairo_boilerplate_sources += $(cairo_boilerplate_script_sources)'
29327 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29330 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29334 cr_make_tmp='enabled_cairo_headers += $(cairo_script_headers)
29335 enabled_cairo_private += $(cairo_script_private)
29336 enabled_cairo_cxx_sources += $(cairo_script_cxx_sources)
29337 enabled_cairo_sources += $(cairo_script_sources)'
29338 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29339 "'if CAIRO_HAS_SCRIPT_SURFACE'
29340 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29342 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29345 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29346 "'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
29347 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29349 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29351 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_script_headers)
29352 enabled_cairo_boilerplate_private += $(cairo_boilerplate_script_private)
29353 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_script_cxx_sources)
29354 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_script_sources)'
29355 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29356 "'if CAIRO_HAS_SCRIPT_SURFACE'
29357 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29359 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29362 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29363 "'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
29364 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29366 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29372 if test "x$use_script" = xyes; then :
29374 ac_config_files="$ac_config_files src/cairo-script.pc:src/cairo-features.pc.in"
29378 if test "x$use_script" = xyes; then :
29380 ac_config_files="$ac_config_files cairo-script-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
29384 cr_make_tmp='all_cairo_pkgconf += cairo-script.pc'
29385 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29388 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29392 cr_make_tmp='enabled_cairo_pkgconf += cairo-script.pc'
29393 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29394 "'if CAIRO_HAS_SCRIPT_SURFACE'
29395 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29397 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29400 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29401 "'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
29402 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29404 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29408 if test "x$use_script" = xyes; then :
29410 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_SCRIPT_SURFACE'
29414 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_SCRIPT_SURFACE'
29418 if test "x$use_script" != xyes; then :
29420 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_SCRIPT_SURFACE'
29426 cr_make_tmp=' @echo "#define CAIRO_HAS_SCRIPT_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
29427 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29428 "'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
29429 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29431 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29436 if test "x$use_script" != xyes; then :
29438 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
29440 "'+++ It is strongly recommended that you do NOT disable the script surface
29441 +++ backend feature.'
29451 # We use pkg-config to look for freetype2, but fall back to
29452 # freetype-config if it fails. We prefer pkg-config, since we can
29453 # then just put freetype2 >= $FREETYPE_MIN_VERSION in
29454 # Requires.private, but at least up to 2003-06-07, there was no
29455 # freetype2.pc in the release.
29457 # FreeType versions come in three forms:
29458 # release (such as 2.1.9)
29459 # libtool (such as 9.7.3) (returned by freetype-config and pkg-config)
29460 # platform-specific/soname (such as 6.3.4)
29461 # and they recommend you never use the platform-specific version
29462 # (see docs/VERSION.DLL in freetype2 sources)
29464 # Set these as appropriate:
29466 # release number - for information only
29467 FREETYPE_MIN_RELEASE=2.1.9
29468 # libtool-specific version - this is what is checked
29469 FREETYPE_MIN_VERSION=9.7.3
29471 # Check whether --enable-ft was given.
29472 if test "${enable_ft+set}" = set; then :
29473 enableval=$enable_ft; enable_ft=$enableval
29478 case $enable_ft in #(
29480 use_ft="no (disabled, use --enable-ft to enable)"
29483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's FreeType font backend feature" >&5
29484 $as_echo_n "checking for cairo's FreeType font backend feature... " >&6; }
29489 ft_REQUIRES="$ac_env_ft_REQUIRES_value"
29490 ft_CFLAGS="$ac_env_ft_CFLAGS_value"
29491 ft_NONPKGCONFIG_CFLAGS="$ac_env_ft_NONPKGCONFIG_CFLAGS_value"
29492 ft_LIBS="$ac_env_ft_LIBS_value"
29493 ft_NONPKGCONFIG_LIBS="$ac_env_ft_NONPKGCONFIG_LIBS_value"
29494 ft_NONPKGCONFIG_EXTRA_LIBS="$ac_env_ft_NONPKGCONFIG_EXTRA_LIBS_value"
29501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
29502 $as_echo_n "checking for FREETYPE... " >&6; }
29504 if test -n "$FREETYPE_CFLAGS"; then
29505 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
29506 elif test -n "$PKG_CONFIG"; then
29507 if test -n "$PKG_CONFIG" && \
29508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= \$FREETYPE_MIN_VERSION\""; } >&5
29509 ($PKG_CONFIG --exists --print-errors "freetype2 >= $FREETYPE_MIN_VERSION") 2>&5
29511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29512 test $ac_status = 0; }; then
29513 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= $FREETYPE_MIN_VERSION" 2>/dev/null`
29520 if test -n "$FREETYPE_LIBS"; then
29521 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
29522 elif test -n "$PKG_CONFIG"; then
29523 if test -n "$PKG_CONFIG" && \
29524 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= \$FREETYPE_MIN_VERSION\""; } >&5
29525 ($PKG_CONFIG --exists --print-errors "freetype2 >= $FREETYPE_MIN_VERSION") 2>&5
29527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29528 test $ac_status = 0; }; then
29529 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= $FREETYPE_MIN_VERSION" 2>/dev/null`
29539 if test $pkg_failed = yes; then
29541 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29542 _pkg_short_errors_supported=yes
29544 _pkg_short_errors_supported=no
29546 if test $_pkg_short_errors_supported = yes; then
29547 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2 >= $FREETYPE_MIN_VERSION" 2>&1`
29549 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2 >= $FREETYPE_MIN_VERSION" 2>&1`
29551 # Put the nasty error message in config.log where it belongs
29552 echo "$FREETYPE_PKG_ERRORS" >&5
29554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29555 $as_echo "no" >&6; }
29556 freetype_pkgconfig=no
29557 elif test $pkg_failed = untried; then
29558 freetype_pkgconfig=no
29560 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
29561 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
29562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29563 $as_echo "yes" >&6; }
29564 freetype_pkgconfig=yes
29567 if test "x$freetype_pkgconfig" = "xyes"; then
29568 ft_REQUIRES="freetype2 >= $FREETYPE_MIN_VERSION $ft_REQUIRES"
29571 if test -z "$FREETYPE_CONFIG"; then
29572 # Extract the first word of "freetype-config", so it can be a program name with args.
29573 set dummy freetype-config; ac_word=$2
29574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29575 $as_echo_n "checking for $ac_word... " >&6; }
29576 if ${ac_cv_path_FREETYPE_CONFIG+:} false; then :
29577 $as_echo_n "(cached) " >&6
29579 case $FREETYPE_CONFIG in
29581 ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path.
29584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29585 for as_dir in $PATH
29588 test -z "$as_dir" && as_dir=.
29589 for ac_exec_ext in '' $ac_executable_extensions; do
29590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29591 ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29599 test -z "$ac_cv_path_FREETYPE_CONFIG" && ac_cv_path_FREETYPE_CONFIG="no"
29603 FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG
29604 if test -n "$FREETYPE_CONFIG"; then
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_CONFIG" >&5
29606 $as_echo "$FREETYPE_CONFIG" >&6; }
29608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29609 $as_echo "no" >&6; }
29614 if test "x$FREETYPE_CONFIG" = "xno" ; then
29615 use_ft='no (freetype-config not found in path or $FREETYPE_CONFIG)'
29617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking freetype2 libtool version" >&5
29618 $as_echo_n "checking freetype2 libtool version... " >&6; }
29620 FREETYPE_VERSION=`$FREETYPE_CONFIG --version`
29622 # Used to indicate true or false condition
29623 ax_compare_version=false
29625 # Convert the two version strings to be compared into a format that
29626 # allows a simple string comparison. The end result is that a version
29627 # string of the form 1.12.5-r617 will be converted to the form
29628 # 0001001200050617. In other words, each number is zero padded to four
29629 # digits, and non digits are removed.
29631 ax_compare_version_A=`echo "$FREETYPE_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
29632 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
29633 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
29634 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
29638 ax_compare_version_B=`echo "$FREETYPE_MIN_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
29639 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
29640 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
29641 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
29645 ax_compare_version=`echo "x$ax_compare_version_A
29646 x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/false/;s/x${ax_compare_version_B}/true/;1q"`
29650 if test "$ax_compare_version" = "true" ; then
29651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_VERSION - OK" >&5
29652 $as_echo "$FREETYPE_VERSION - OK" >&6; }
29653 ft_NONPKGCONFIG_CFLAGS=`$FREETYPE_CONFIG --cflags`
29654 ft_NONPKGCONFIG_LIBS=`$FREETYPE_CONFIG --libs`
29655 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_VERSION - Too old" >&5
29656 $as_echo "$FREETYPE_VERSION - Too old" >&6; }
29657 use_ft="no ($FREETYPE_VERSION found; version $FREETYPE_MIN_VERSION from release $FREETYPE_MIN_RELEASE required)"
29663 ft_CFLAGS="$FREETYPE_CFLAGS"
29664 ft_LIBS="$FREETYPE_LIBS"
29667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's FreeType font backend feature could be enabled" >&5
29668 $as_echo_n "checking whether cairo's FreeType font backend feature could be enabled... " >&6; }
29669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_ft" >&5
29670 $as_echo "$use_ft" >&6; }
29672 if test "x$enable_ft" = "xyes" -a "x$use_ft" != xyes; then :
29673 as_fn_error $? " FreeType font backend feature could not be enabled" "$LINENO" 5
29677 as_fn_error $? "invalid argument passed to --enable-ft: \`$use_ft', should be one of [no/auto/yes]" "$LINENO" 5
29680 if test "x$use_ft" = "xyes"; then :
29681 CAIRO_REQUIRES="$ft_REQUIRES"" ${CAIRO_REQUIRES}"
29683 CAIRO_CFLAGS="$ft_CFLAGS"" ${CAIRO_CFLAGS}"
29685 CAIRO_NONPKGCONFIG_CFLAGS="$ft_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
29687 CAIRO_LIBS="$ft_LIBS"" ${CAIRO_LIBS}"
29689 CAIRO_NONPKGCONFIG_LIBS="$ft_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
29696 unset ft_NONPKGCONFIG_CFLAGS
29698 unset ft_NONPKGCONFIG_LIBS
29699 unset ft_NONPKGCONFIG_EXTRA_LIBS
29704 if test "x$use_ft" = xyes; then
29705 CAIRO_HAS_FT_FONT_TRUE=
29706 CAIRO_HAS_FT_FONT_FALSE='#'
29708 CAIRO_HAS_FT_FONT_TRUE='#'
29709 CAIRO_HAS_FT_FONT_FALSE=
29713 cr_make_tmp='CAIRO_HAS_FT_FONT=0'
29714 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
29719 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29722 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29725 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29728 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29732 cr_make_tmp='supported_cairo_headers += $(cairo_ft_headers)'
29733 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29736 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29738 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_ft_headers)'
29739 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29742 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29747 cr_make_tmp='all_cairo_headers += $(cairo_ft_headers)
29748 all_cairo_private += $(cairo_ft_private)
29749 all_cairo_cxx_sources += $(cairo_ft_cxx_sources)
29750 all_cairo_sources += $(cairo_ft_sources)'
29751 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29754 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29756 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_ft_headers)
29757 all_cairo_boilerplate_private += $(cairo_boilerplate_ft_private)
29758 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ft_cxx_sources)
29759 all_cairo_boilerplate_sources += $(cairo_boilerplate_ft_sources)'
29760 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29763 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29767 cr_make_tmp='enabled_cairo_headers += $(cairo_ft_headers)
29768 enabled_cairo_private += $(cairo_ft_private)
29769 enabled_cairo_cxx_sources += $(cairo_ft_cxx_sources)
29770 enabled_cairo_sources += $(cairo_ft_sources)'
29771 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29772 "'if CAIRO_HAS_FT_FONT'
29773 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29775 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29778 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29779 "'ifeq ($(CAIRO_HAS_FT_FONT),1)'
29780 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29782 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29784 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_ft_headers)
29785 enabled_cairo_boilerplate_private += $(cairo_boilerplate_ft_private)
29786 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ft_cxx_sources)
29787 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_ft_sources)'
29788 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29789 "'if CAIRO_HAS_FT_FONT'
29790 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29792 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29795 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29796 "'ifeq ($(CAIRO_HAS_FT_FONT),1)'
29797 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29799 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29805 if test "x$use_ft" = xyes; then :
29807 ac_config_files="$ac_config_files src/cairo-ft.pc:src/cairo-features.pc.in"
29811 if test "x$use_ft" = xyes; then :
29813 ac_config_files="$ac_config_files cairo-ft-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
29817 cr_make_tmp='all_cairo_pkgconf += cairo-ft.pc'
29818 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29821 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29825 cr_make_tmp='enabled_cairo_pkgconf += cairo-ft.pc'
29826 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29827 "'if CAIRO_HAS_FT_FONT'
29828 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29830 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29833 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29834 "'ifeq ($(CAIRO_HAS_FT_FONT),1)'
29835 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29837 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29841 if test "x$use_ft" = xyes; then :
29843 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_FT_FONT'
29847 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_FT_FONT'
29851 if test "x$use_ft" != xyes; then :
29853 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_FT_FONT'
29859 cr_make_tmp=' @echo "#define CAIRO_HAS_FT_FONT 1" >> $(top_srcdir)/src/cairo-features.h'
29860 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29861 "'ifeq ($(CAIRO_HAS_FT_FONT),1)'
29862 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29864 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29871 if test "x$use_ft" = xyes; then :
29873 CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'ft'
29880 FONTCONFIG_MIN_VERSION=2.2.95
29881 # Check whether --enable-fc was given.
29882 if test "${enable_fc+set}" = set; then :
29883 enableval=$enable_fc; enable_fc=$enableval
29888 case $enable_fc in #(
29890 use_fc="no (disabled, use --enable-fc to enable)"
29893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Fontconfig font backend feature" >&5
29894 $as_echo_n "checking for cairo's Fontconfig font backend feature... " >&6; }
29899 fc_REQUIRES="$ac_env_fc_REQUIRES_value"
29900 fc_CFLAGS="$ac_env_fc_CFLAGS_value"
29901 fc_NONPKGCONFIG_CFLAGS="$ac_env_fc_NONPKGCONFIG_CFLAGS_value"
29902 fc_LIBS="$ac_env_fc_LIBS_value"
29903 fc_NONPKGCONFIG_LIBS="$ac_env_fc_NONPKGCONFIG_LIBS_value"
29904 fc_NONPKGCONFIG_EXTRA_LIBS="$ac_env_fc_NONPKGCONFIG_EXTRA_LIBS_value"
29909 if test "x$use_fc" = "xyes"; then
29910 fc_REQUIRES="fontconfig >= $FONTCONFIG_MIN_VERSION"
29913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
29914 $as_echo_n "checking for FONTCONFIG... " >&6; }
29916 if test -n "$FONTCONFIG_CFLAGS"; then
29917 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
29918 elif test -n "$PKG_CONFIG"; then
29919 if test -n "$PKG_CONFIG" && \
29920 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fc_REQUIRES\""; } >&5
29921 ($PKG_CONFIG --exists --print-errors "$fc_REQUIRES") 2>&5
29923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29924 test $ac_status = 0; }; then
29925 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "$fc_REQUIRES" 2>/dev/null`
29932 if test -n "$FONTCONFIG_LIBS"; then
29933 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
29934 elif test -n "$PKG_CONFIG"; then
29935 if test -n "$PKG_CONFIG" && \
29936 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fc_REQUIRES\""; } >&5
29937 ($PKG_CONFIG --exists --print-errors "$fc_REQUIRES") 2>&5
29939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29940 test $ac_status = 0; }; then
29941 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "$fc_REQUIRES" 2>/dev/null`
29951 if test $pkg_failed = yes; then
29953 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29954 _pkg_short_errors_supported=yes
29956 _pkg_short_errors_supported=no
29958 if test $_pkg_short_errors_supported = yes; then
29959 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$fc_REQUIRES" 2>&1`
29961 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "$fc_REQUIRES" 2>&1`
29963 # Put the nasty error message in config.log where it belongs
29964 echo "$FONTCONFIG_PKG_ERRORS" >&5
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29967 $as_echo "no" >&6; }
29968 use_fc="no (requires $fc_REQUIRES)"
29969 elif test $pkg_failed = untried; then
29970 use_fc="no (requires $fc_REQUIRES)"
29972 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
29973 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
29974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29975 $as_echo "yes" >&6; }
29979 fc_CFLAGS="$FONTCONFIG_CFLAGS"
29980 fc_LIBS="$FONTCONFIG_LIBS"
29983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Fontconfig font backend feature could be enabled" >&5
29984 $as_echo_n "checking whether cairo's Fontconfig font backend feature could be enabled... " >&6; }
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_fc" >&5
29986 $as_echo "$use_fc" >&6; }
29988 if test "x$enable_fc" = "xyes" -a "x$use_fc" != xyes; then :
29989 as_fn_error $? " Fontconfig font backend feature could not be enabled" "$LINENO" 5
29993 as_fn_error $? "invalid argument passed to --enable-fc: \`$use_fc', should be one of [no/auto/yes]" "$LINENO" 5
29996 if test "x$use_fc" = "xyes"; then :
29997 CAIRO_REQUIRES="$fc_REQUIRES"" ${CAIRO_REQUIRES}"
29999 CAIRO_CFLAGS="$fc_CFLAGS"" ${CAIRO_CFLAGS}"
30001 CAIRO_NONPKGCONFIG_CFLAGS="$fc_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
30003 CAIRO_LIBS="$fc_LIBS"" ${CAIRO_LIBS}"
30005 CAIRO_NONPKGCONFIG_LIBS="$fc_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
30012 unset fc_NONPKGCONFIG_CFLAGS
30014 unset fc_NONPKGCONFIG_LIBS
30015 unset fc_NONPKGCONFIG_EXTRA_LIBS
30020 if test "x$use_fc" = xyes; then
30021 CAIRO_HAS_FC_FONT_TRUE=
30022 CAIRO_HAS_FC_FONT_FALSE='#'
30024 CAIRO_HAS_FC_FONT_TRUE='#'
30025 CAIRO_HAS_FC_FONT_FALSE=
30029 cr_make_tmp='CAIRO_HAS_FC_FONT=0'
30030 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
30035 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30038 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30041 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30044 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30048 cr_make_tmp='supported_cairo_headers += $(cairo_fc_headers)'
30049 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30052 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30054 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)'
30055 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30058 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30063 cr_make_tmp='all_cairo_headers += $(cairo_fc_headers)
30064 all_cairo_private += $(cairo_fc_private)
30065 all_cairo_cxx_sources += $(cairo_fc_cxx_sources)
30066 all_cairo_sources += $(cairo_fc_sources)'
30067 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30070 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30072 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)
30073 all_cairo_boilerplate_private += $(cairo_boilerplate_fc_private)
30074 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_fc_cxx_sources)
30075 all_cairo_boilerplate_sources += $(cairo_boilerplate_fc_sources)'
30076 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30079 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30083 cr_make_tmp='enabled_cairo_headers += $(cairo_fc_headers)
30084 enabled_cairo_private += $(cairo_fc_private)
30085 enabled_cairo_cxx_sources += $(cairo_fc_cxx_sources)
30086 enabled_cairo_sources += $(cairo_fc_sources)'
30087 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30088 "'if CAIRO_HAS_FC_FONT'
30089 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30091 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30094 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30095 "'ifeq ($(CAIRO_HAS_FC_FONT),1)'
30096 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30098 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30100 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)
30101 enabled_cairo_boilerplate_private += $(cairo_boilerplate_fc_private)
30102 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_fc_cxx_sources)
30103 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_fc_sources)'
30104 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30105 "'if CAIRO_HAS_FC_FONT'
30106 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30108 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30111 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30112 "'ifeq ($(CAIRO_HAS_FC_FONT),1)'
30113 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30115 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30121 if test "x$use_fc" = xyes; then :
30123 ac_config_files="$ac_config_files src/cairo-fc.pc:src/cairo-features.pc.in"
30127 if test "x$use_fc" = xyes; then :
30129 ac_config_files="$ac_config_files cairo-fc-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
30133 cr_make_tmp='all_cairo_pkgconf += cairo-fc.pc'
30134 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30137 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30141 cr_make_tmp='enabled_cairo_pkgconf += cairo-fc.pc'
30142 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30143 "'if CAIRO_HAS_FC_FONT'
30144 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30146 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30149 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30150 "'ifeq ($(CAIRO_HAS_FC_FONT),1)'
30151 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30153 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30157 if test "x$use_fc" = xyes; then :
30159 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_FC_FONT'
30163 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_FC_FONT'
30167 if test "x$use_fc" != xyes; then :
30169 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_FC_FONT'
30175 cr_make_tmp=' @echo "#define CAIRO_HAS_FC_FONT 1" >> $(top_srcdir)/src/cairo-features.h'
30176 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30177 "'ifeq ($(CAIRO_HAS_FC_FONT),1)'
30178 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30180 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30187 if test "x$use_fc" = xyes; then :
30189 CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'fc'
30196 if test "x$use_ft" = "xyes"; then
30198 _save_cflags="$CFLAGS"
30199 LIBS="$LIBS $ft_LIBS"
30200 CFLAGS="$CFLAGS $ft_CFLAGS"
30202 for ac_func in FT_Get_X11_Font_Format FT_GlyphSlot_Embolden FT_GlyphSlot_Oblique FT_Load_Sfnt_Table FT_Library_SetLcdFilter
30204 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30205 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30206 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30207 cat >>confdefs.h <<_ACEOF
30208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30216 CFLAGS="$_save_cflags"
30219 if test "x$use_fc" = "xyes"; then
30220 _save_cflags="$CFLAGS"
30222 CFLAGS="$CFLAGS $FONTCONFIG_CFLAGS"
30223 LIBS="$LIBS $FONTCONFIG_LIBS"
30224 for ac_func in FcInit FcFini
30226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30228 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30229 cat >>confdefs.h <<_ACEOF
30230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30236 CFLAGS="$_save_cflags"
30242 # Check whether --enable-ps was given.
30243 if test "${enable_ps+set}" = set; then :
30244 enableval=$enable_ps; enable_ps=$enableval
30249 case $enable_ps in #(
30251 use_ps="no (disabled, use --enable-ps to enable)"
30254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's PostScript surface backend feature" >&5
30255 $as_echo_n "checking for cairo's PostScript surface backend feature... " >&6; }
30260 ps_REQUIRES="$ac_env_ps_REQUIRES_value"
30261 ps_CFLAGS="$ac_env_ps_CFLAGS_value"
30262 ps_NONPKGCONFIG_CFLAGS="$ac_env_ps_NONPKGCONFIG_CFLAGS_value"
30263 ps_LIBS="$ac_env_ps_LIBS_value"
30264 ps_NONPKGCONFIG_LIBS="$ac_env_ps_NONPKGCONFIG_LIBS_value"
30265 ps_NONPKGCONFIG_EXTRA_LIBS="$ac_env_ps_NONPKGCONFIG_EXTRA_LIBS_value"
30269 # The ps backend requires zlib.
30271 ps_NONPKGCONFIG_LIBS=-lz
30274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's PostScript surface backend feature could be enabled" >&5
30275 $as_echo_n "checking whether cairo's PostScript surface backend feature could be enabled... " >&6; }
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_ps" >&5
30277 $as_echo "$use_ps" >&6; }
30279 if test "x$enable_ps" = "xyes" -a "x$use_ps" != xyes; then :
30280 as_fn_error $? "recommended PostScript surface backend feature could not be enabled" "$LINENO" 5
30284 as_fn_error $? "invalid argument passed to --enable-ps: \`$use_ps', should be one of [no/auto/yes]" "$LINENO" 5
30287 if test "x$use_ps" = "xyes"; then :
30288 CAIRO_REQUIRES="$ps_REQUIRES"" ${CAIRO_REQUIRES}"
30290 CAIRO_CFLAGS="$ps_CFLAGS"" ${CAIRO_CFLAGS}"
30292 CAIRO_NONPKGCONFIG_CFLAGS="$ps_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
30294 CAIRO_LIBS="$ps_LIBS"" ${CAIRO_LIBS}"
30296 CAIRO_NONPKGCONFIG_LIBS="$ps_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
30303 unset ps_NONPKGCONFIG_CFLAGS
30305 unset ps_NONPKGCONFIG_LIBS
30306 unset ps_NONPKGCONFIG_EXTRA_LIBS
30311 if test "x$use_ps" = xyes; then
30312 CAIRO_HAS_PS_SURFACE_TRUE=
30313 CAIRO_HAS_PS_SURFACE_FALSE='#'
30315 CAIRO_HAS_PS_SURFACE_TRUE='#'
30316 CAIRO_HAS_PS_SURFACE_FALSE=
30320 cr_make_tmp='CAIRO_HAS_PS_SURFACE=1'
30321 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
30326 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30329 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30332 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30335 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30339 cr_make_tmp='supported_cairo_headers += $(cairo_ps_headers)'
30340 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30343 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30345 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_ps_headers)'
30346 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30349 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30354 cr_make_tmp='all_cairo_headers += $(cairo_ps_headers)
30355 all_cairo_private += $(cairo_ps_private)
30356 all_cairo_cxx_sources += $(cairo_ps_cxx_sources)
30357 all_cairo_sources += $(cairo_ps_sources)'
30358 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30361 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30363 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_ps_headers)
30364 all_cairo_boilerplate_private += $(cairo_boilerplate_ps_private)
30365 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ps_cxx_sources)
30366 all_cairo_boilerplate_sources += $(cairo_boilerplate_ps_sources)'
30367 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30370 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30374 cr_make_tmp='enabled_cairo_headers += $(cairo_ps_headers)
30375 enabled_cairo_private += $(cairo_ps_private)
30376 enabled_cairo_cxx_sources += $(cairo_ps_cxx_sources)
30377 enabled_cairo_sources += $(cairo_ps_sources)'
30378 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30379 "'if CAIRO_HAS_PS_SURFACE'
30380 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30382 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30385 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30386 "'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
30387 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30389 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30391 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_ps_headers)
30392 enabled_cairo_boilerplate_private += $(cairo_boilerplate_ps_private)
30393 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ps_cxx_sources)
30394 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_ps_sources)'
30395 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30396 "'if CAIRO_HAS_PS_SURFACE'
30397 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30399 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30402 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30403 "'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
30404 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30406 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30412 if test "x$use_ps" = xyes; then :
30414 ac_config_files="$ac_config_files src/cairo-ps.pc:src/cairo-features.pc.in"
30418 if test "x$use_ps" = xyes; then :
30420 ac_config_files="$ac_config_files cairo-ps-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
30424 cr_make_tmp='all_cairo_pkgconf += cairo-ps.pc'
30425 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30428 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30432 cr_make_tmp='enabled_cairo_pkgconf += cairo-ps.pc'
30433 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30434 "'if CAIRO_HAS_PS_SURFACE'
30435 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30437 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30440 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30441 "'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
30442 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30444 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30448 if test "x$use_ps" = xyes; then :
30450 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_PS_SURFACE'
30454 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_PS_SURFACE'
30458 if test "x$use_ps" != xyes; then :
30460 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_PS_SURFACE'
30466 cr_make_tmp=' @echo "#define CAIRO_HAS_PS_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
30467 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30468 "'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
30469 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30471 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30476 if test "x$use_ps" != xyes; then :
30478 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
30480 "'+++ It is strongly recommended that you do NOT disable the PostScript surface
30481 +++ backend feature.'
30491 SPECTRE_VERSION_REQUIRED=0.2.0
30494 if test "x$use_ps" = "xyes"; then
30495 # Extract the first word of "gs", so it can be a program name with args.
30496 set dummy gs; ac_word=$2
30497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30498 $as_echo_n "checking for $ac_word... " >&6; }
30499 if ${ac_cv_prog_GS+:} false; then :
30500 $as_echo_n "(cached) " >&6
30502 if test -n "$GS"; then
30503 ac_cv_prog_GS="$GS" # Let the user override the test.
30505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30506 for as_dir in $PATH
30509 test -z "$as_dir" && as_dir=.
30510 for ac_exec_ext in '' $ac_executable_extensions; do
30511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30523 if test -n "$GS"; then
30524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
30525 $as_echo "$GS" >&6; }
30527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30528 $as_echo "no" >&6; }
30532 if test "$GS"; then
30534 $as_echo "#define CAIRO_CAN_TEST_PS_SURFACE 1" >>confdefs.h
30538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PS backend will not be tested since ghostscript is not available" >&5
30539 $as_echo "$as_me: WARNING: PS backend will not be tested since ghostscript is not available" >&2;}
30540 test_ps="no (requires ghostscript)"
30543 libspectre_DEPENDENCY="libspectre >= $SPECTRE_VERSION_REQUIRED"
30546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSPECTRE" >&5
30547 $as_echo_n "checking for LIBSPECTRE... " >&6; }
30549 if test -n "$LIBSPECTRE_CFLAGS"; then
30550 pkg_cv_LIBSPECTRE_CFLAGS="$LIBSPECTRE_CFLAGS"
30551 elif test -n "$PKG_CONFIG"; then
30552 if test -n "$PKG_CONFIG" && \
30553 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libspectre_DEPENDENCY\""; } >&5
30554 ($PKG_CONFIG --exists --print-errors "$libspectre_DEPENDENCY") 2>&5
30556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30557 test $ac_status = 0; }; then
30558 pkg_cv_LIBSPECTRE_CFLAGS=`$PKG_CONFIG --cflags "$libspectre_DEPENDENCY" 2>/dev/null`
30565 if test -n "$LIBSPECTRE_LIBS"; then
30566 pkg_cv_LIBSPECTRE_LIBS="$LIBSPECTRE_LIBS"
30567 elif test -n "$PKG_CONFIG"; then
30568 if test -n "$PKG_CONFIG" && \
30569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libspectre_DEPENDENCY\""; } >&5
30570 ($PKG_CONFIG --exists --print-errors "$libspectre_DEPENDENCY") 2>&5
30572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30573 test $ac_status = 0; }; then
30574 pkg_cv_LIBSPECTRE_LIBS=`$PKG_CONFIG --libs "$libspectre_DEPENDENCY" 2>/dev/null`
30584 if test $pkg_failed = yes; then
30586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30587 _pkg_short_errors_supported=yes
30589 _pkg_short_errors_supported=no
30591 if test $_pkg_short_errors_supported = yes; then
30592 LIBSPECTRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$libspectre_DEPENDENCY" 2>&1`
30594 LIBSPECTRE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$libspectre_DEPENDENCY" 2>&1`
30596 # Put the nasty error message in config.log where it belongs
30597 echo "$LIBSPECTRE_PKG_ERRORS" >&5
30599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30600 $as_echo "no" >&6; }
30601 test_ps="no (requires libspectre)"
30602 elif test $pkg_failed = untried; then
30603 test_ps="no (requires libspectre)"
30605 LIBSPECTRE_CFLAGS=$pkg_cv_LIBSPECTRE_CFLAGS
30606 LIBSPECTRE_LIBS=$pkg_cv_LIBSPECTRE_LIBS
30607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30608 $as_echo "yes" >&6; }
30613 if test "x$test_ps" = "xyes"; then
30614 CAIRO_CAN_TEST_PS_SURFACE_TRUE=
30615 CAIRO_CAN_TEST_PS_SURFACE_FALSE='#'
30617 CAIRO_CAN_TEST_PS_SURFACE_TRUE='#'
30618 CAIRO_CAN_TEST_PS_SURFACE_FALSE=
30621 if test "x$any2ppm_ps" = "xyes"; then
30622 CAIRO_HAS_SPECTRE_TRUE=
30623 CAIRO_HAS_SPECTRE_FALSE='#'
30625 CAIRO_HAS_SPECTRE_TRUE='#'
30626 CAIRO_HAS_SPECTRE_FALSE=
30629 if test "x$any2ppm_ps" = "xyes"; then
30631 $as_echo "#define CAIRO_HAS_SPECTRE 1" >>confdefs.h
30638 # Check whether --enable-pdf was given.
30639 if test "${enable_pdf+set}" = set; then :
30640 enableval=$enable_pdf; enable_pdf=$enableval
30645 case $enable_pdf in #(
30647 use_pdf="no (disabled, use --enable-pdf to enable)"
30650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's PDF surface backend feature" >&5
30651 $as_echo_n "checking for cairo's PDF surface backend feature... " >&6; }
30656 pdf_REQUIRES="$ac_env_pdf_REQUIRES_value"
30657 pdf_CFLAGS="$ac_env_pdf_CFLAGS_value"
30658 pdf_NONPKGCONFIG_CFLAGS="$ac_env_pdf_NONPKGCONFIG_CFLAGS_value"
30659 pdf_LIBS="$ac_env_pdf_LIBS_value"
30660 pdf_NONPKGCONFIG_LIBS="$ac_env_pdf_NONPKGCONFIG_LIBS_value"
30661 pdf_NONPKGCONFIG_EXTRA_LIBS="$ac_env_pdf_NONPKGCONFIG_EXTRA_LIBS_value"
30665 # The pdf backend requires zlib.
30667 pdf_NONPKGCONFIG_LIBS=-lz
30670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's PDF surface backend feature could be enabled" >&5
30671 $as_echo_n "checking whether cairo's PDF surface backend feature could be enabled... " >&6; }
30672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_pdf" >&5
30673 $as_echo "$use_pdf" >&6; }
30675 if test "x$enable_pdf" = "xyes" -a "x$use_pdf" != xyes; then :
30676 as_fn_error $? "recommended PDF surface backend feature could not be enabled" "$LINENO" 5
30680 as_fn_error $? "invalid argument passed to --enable-pdf: \`$use_pdf', should be one of [no/auto/yes]" "$LINENO" 5
30683 if test "x$use_pdf" = "xyes"; then :
30684 CAIRO_REQUIRES="$pdf_REQUIRES"" ${CAIRO_REQUIRES}"
30686 CAIRO_CFLAGS="$pdf_CFLAGS"" ${CAIRO_CFLAGS}"
30688 CAIRO_NONPKGCONFIG_CFLAGS="$pdf_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
30690 CAIRO_LIBS="$pdf_LIBS"" ${CAIRO_LIBS}"
30692 CAIRO_NONPKGCONFIG_LIBS="$pdf_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
30699 unset pdf_NONPKGCONFIG_CFLAGS
30701 unset pdf_NONPKGCONFIG_LIBS
30702 unset pdf_NONPKGCONFIG_EXTRA_LIBS
30707 if test "x$use_pdf" = xyes; then
30708 CAIRO_HAS_PDF_SURFACE_TRUE=
30709 CAIRO_HAS_PDF_SURFACE_FALSE='#'
30711 CAIRO_HAS_PDF_SURFACE_TRUE='#'
30712 CAIRO_HAS_PDF_SURFACE_FALSE=
30716 cr_make_tmp='CAIRO_HAS_PDF_SURFACE=1'
30717 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
30722 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30725 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30728 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30731 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30735 cr_make_tmp='supported_cairo_headers += $(cairo_pdf_headers)'
30736 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30739 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30741 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_pdf_headers)'
30742 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30745 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30750 cr_make_tmp='all_cairo_headers += $(cairo_pdf_headers)
30751 all_cairo_private += $(cairo_pdf_private)
30752 all_cairo_cxx_sources += $(cairo_pdf_cxx_sources)
30753 all_cairo_sources += $(cairo_pdf_sources)'
30754 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30757 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30759 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_pdf_headers)
30760 all_cairo_boilerplate_private += $(cairo_boilerplate_pdf_private)
30761 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pdf_cxx_sources)
30762 all_cairo_boilerplate_sources += $(cairo_boilerplate_pdf_sources)'
30763 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30766 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30770 cr_make_tmp='enabled_cairo_headers += $(cairo_pdf_headers)
30771 enabled_cairo_private += $(cairo_pdf_private)
30772 enabled_cairo_cxx_sources += $(cairo_pdf_cxx_sources)
30773 enabled_cairo_sources += $(cairo_pdf_sources)'
30774 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30775 "'if CAIRO_HAS_PDF_SURFACE'
30776 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30778 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30781 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30782 "'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
30783 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30785 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30787 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_pdf_headers)
30788 enabled_cairo_boilerplate_private += $(cairo_boilerplate_pdf_private)
30789 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pdf_cxx_sources)
30790 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_pdf_sources)'
30791 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30792 "'if CAIRO_HAS_PDF_SURFACE'
30793 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30795 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30798 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30799 "'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
30800 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30802 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30808 if test "x$use_pdf" = xyes; then :
30810 ac_config_files="$ac_config_files src/cairo-pdf.pc:src/cairo-features.pc.in"
30814 if test "x$use_pdf" = xyes; then :
30816 ac_config_files="$ac_config_files cairo-pdf-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
30820 cr_make_tmp='all_cairo_pkgconf += cairo-pdf.pc'
30821 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30824 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30828 cr_make_tmp='enabled_cairo_pkgconf += cairo-pdf.pc'
30829 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30830 "'if CAIRO_HAS_PDF_SURFACE'
30831 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30833 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30836 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30837 "'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
30838 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30840 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30844 if test "x$use_pdf" = xyes; then :
30846 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_PDF_SURFACE'
30850 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_PDF_SURFACE'
30854 if test "x$use_pdf" != xyes; then :
30856 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_PDF_SURFACE'
30862 cr_make_tmp=' @echo "#define CAIRO_HAS_PDF_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
30863 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30864 "'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
30865 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30867 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30872 if test "x$use_pdf" != xyes; then :
30874 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
30876 "'+++ It is strongly recommended that you do NOT disable the PDF surface
30877 +++ backend feature.'
30887 # poppler-0.17.4 fixes text-pattern and text-transform
30888 POPPLER_VERSION_REQUIRED=0.17.4
30891 if test "x$use_pdf" = "xyes"; then
30892 poppler_DEPENDENCY="poppler-glib >= $POPPLER_VERSION_REQUIRED"
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER" >&5
30896 $as_echo_n "checking for POPPLER... " >&6; }
30898 if test -n "$POPPLER_CFLAGS"; then
30899 pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
30900 elif test -n "$PKG_CONFIG"; then
30901 if test -n "$PKG_CONFIG" && \
30902 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$poppler_DEPENDENCY\""; } >&5
30903 ($PKG_CONFIG --exists --print-errors "$poppler_DEPENDENCY") 2>&5
30905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30906 test $ac_status = 0; }; then
30907 pkg_cv_POPPLER_CFLAGS=`$PKG_CONFIG --cflags "$poppler_DEPENDENCY" 2>/dev/null`
30914 if test -n "$POPPLER_LIBS"; then
30915 pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
30916 elif test -n "$PKG_CONFIG"; then
30917 if test -n "$PKG_CONFIG" && \
30918 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$poppler_DEPENDENCY\""; } >&5
30919 ($PKG_CONFIG --exists --print-errors "$poppler_DEPENDENCY") 2>&5
30921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30922 test $ac_status = 0; }; then
30923 pkg_cv_POPPLER_LIBS=`$PKG_CONFIG --libs "$poppler_DEPENDENCY" 2>/dev/null`
30933 if test $pkg_failed = yes; then
30935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30936 _pkg_short_errors_supported=yes
30938 _pkg_short_errors_supported=no
30940 if test $_pkg_short_errors_supported = yes; then
30941 POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$poppler_DEPENDENCY" 2>&1`
30943 POPPLER_PKG_ERRORS=`$PKG_CONFIG --print-errors "$poppler_DEPENDENCY" 2>&1`
30945 # Put the nasty error message in config.log where it belongs
30946 echo "$POPPLER_PKG_ERRORS" >&5
30948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30949 $as_echo "no" >&6; }
30950 test_pdf="no (requires $poppler_DEPENDENCY)"
30951 elif test $pkg_failed = untried; then
30952 test_pdf="no (requires $poppler_DEPENDENCY)"
30954 POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
30955 POPPLER_LIBS=$pkg_cv_POPPLER_LIBS
30956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30957 $as_echo "yes" >&6; }
30958 _save_cflags="$CFLAGS"
30960 CFLAGS="$CFLAGS $POPPLER_CFLAGS"
30961 LIBS="$LIBS $POPPLER_LIBS"
30962 for ac_func in poppler_page_render
30964 ac_fn_c_check_func "$LINENO" "poppler_page_render" "ac_cv_func_poppler_page_render"
30965 if test "x$ac_cv_func_poppler_page_render" = xyes; then :
30966 cat >>confdefs.h <<_ACEOF
30967 #define HAVE_POPPLER_PAGE_RENDER 1
30969 test_pdf=yes; any2ppm_pdf=yes
30971 test_pdf="no (requires $poppler_DEPENDENCY)"
30975 CFLAGS="$_save_cflags"
30979 if test "x$test_pdf" = "xyes"; then
30981 $as_echo "#define CAIRO_CAN_TEST_PDF_SURFACE 1" >>confdefs.h
30984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PDF backend will not be tested since poppler >= $POPPLER_VERSION_REQUIRED is not available" >&5
30985 $as_echo "$as_me: WARNING: PDF backend will not be tested since poppler >= $POPPLER_VERSION_REQUIRED is not available" >&2;}
30989 if test "x$test_pdf" = "xyes"; then
30990 CAIRO_CAN_TEST_PDF_SURFACE_TRUE=
30991 CAIRO_CAN_TEST_PDF_SURFACE_FALSE='#'
30993 CAIRO_CAN_TEST_PDF_SURFACE_TRUE='#'
30994 CAIRO_CAN_TEST_PDF_SURFACE_FALSE=
31000 if test "x$use_ps" = "xyes" -o "x$use_pdf" = "xyes"; then
31001 CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE=
31002 CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE='#'
31004 CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE='#'
31005 CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE=
31010 # Check whether --enable-svg was given.
31011 if test "${enable_svg+set}" = set; then :
31012 enableval=$enable_svg; enable_svg=$enableval
31017 case $enable_svg in #(
31019 use_svg="no (disabled, use --enable-svg to enable)"
31022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's SVG surface backend feature" >&5
31023 $as_echo_n "checking for cairo's SVG surface backend feature... " >&6; }
31028 svg_REQUIRES="$ac_env_svg_REQUIRES_value"
31029 svg_CFLAGS="$ac_env_svg_CFLAGS_value"
31030 svg_NONPKGCONFIG_CFLAGS="$ac_env_svg_NONPKGCONFIG_CFLAGS_value"
31031 svg_LIBS="$ac_env_svg_LIBS_value"
31032 svg_NONPKGCONFIG_LIBS="$ac_env_svg_NONPKGCONFIG_LIBS_value"
31033 svg_NONPKGCONFIG_EXTRA_LIBS="$ac_env_svg_NONPKGCONFIG_EXTRA_LIBS_value"
31037 if test "x$use_png" != "xyes"; then
31038 use_svg="no (requires --enable-png)"
31042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's SVG surface backend feature could be enabled" >&5
31043 $as_echo_n "checking whether cairo's SVG surface backend feature could be enabled... " >&6; }
31044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_svg" >&5
31045 $as_echo "$use_svg" >&6; }
31047 if test "x$enable_svg" = "xyes" -a "x$use_svg" != xyes; then :
31048 as_fn_error $? "recommended SVG surface backend feature could not be enabled" "$LINENO" 5
31052 as_fn_error $? "invalid argument passed to --enable-svg: \`$use_svg', should be one of [no/auto/yes]" "$LINENO" 5
31055 if test "x$use_svg" = "xyes"; then :
31056 CAIRO_REQUIRES="$svg_REQUIRES"" ${CAIRO_REQUIRES}"
31058 CAIRO_CFLAGS="$svg_CFLAGS"" ${CAIRO_CFLAGS}"
31060 CAIRO_NONPKGCONFIG_CFLAGS="$svg_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31062 CAIRO_LIBS="$svg_LIBS"" ${CAIRO_LIBS}"
31064 CAIRO_NONPKGCONFIG_LIBS="$svg_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31071 unset svg_NONPKGCONFIG_CFLAGS
31073 unset svg_NONPKGCONFIG_LIBS
31074 unset svg_NONPKGCONFIG_EXTRA_LIBS
31079 if test "x$use_svg" = xyes; then
31080 CAIRO_HAS_SVG_SURFACE_TRUE=
31081 CAIRO_HAS_SVG_SURFACE_FALSE='#'
31083 CAIRO_HAS_SVG_SURFACE_TRUE='#'
31084 CAIRO_HAS_SVG_SURFACE_FALSE=
31088 cr_make_tmp='CAIRO_HAS_SVG_SURFACE=1'
31089 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
31094 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31097 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31100 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31103 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31107 cr_make_tmp='supported_cairo_headers += $(cairo_svg_headers)'
31108 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31111 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31113 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_svg_headers)'
31114 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31117 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31122 cr_make_tmp='all_cairo_headers += $(cairo_svg_headers)
31123 all_cairo_private += $(cairo_svg_private)
31124 all_cairo_cxx_sources += $(cairo_svg_cxx_sources)
31125 all_cairo_sources += $(cairo_svg_sources)'
31126 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31129 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31131 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_svg_headers)
31132 all_cairo_boilerplate_private += $(cairo_boilerplate_svg_private)
31133 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_svg_cxx_sources)
31134 all_cairo_boilerplate_sources += $(cairo_boilerplate_svg_sources)'
31135 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31138 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31142 cr_make_tmp='enabled_cairo_headers += $(cairo_svg_headers)
31143 enabled_cairo_private += $(cairo_svg_private)
31144 enabled_cairo_cxx_sources += $(cairo_svg_cxx_sources)
31145 enabled_cairo_sources += $(cairo_svg_sources)'
31146 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31147 "'if CAIRO_HAS_SVG_SURFACE'
31148 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31150 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31153 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31154 "'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
31155 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31157 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31159 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_svg_headers)
31160 enabled_cairo_boilerplate_private += $(cairo_boilerplate_svg_private)
31161 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_svg_cxx_sources)
31162 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_svg_sources)'
31163 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31164 "'if CAIRO_HAS_SVG_SURFACE'
31165 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31167 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31170 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31171 "'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
31172 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31174 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31180 if test "x$use_svg" = xyes; then :
31182 ac_config_files="$ac_config_files src/cairo-svg.pc:src/cairo-features.pc.in"
31186 if test "x$use_svg" = xyes; then :
31188 ac_config_files="$ac_config_files cairo-svg-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
31192 cr_make_tmp='all_cairo_pkgconf += cairo-svg.pc'
31193 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31196 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31200 cr_make_tmp='enabled_cairo_pkgconf += cairo-svg.pc'
31201 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31202 "'if CAIRO_HAS_SVG_SURFACE'
31203 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31205 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31208 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31209 "'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
31210 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31212 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31216 if test "x$use_svg" = xyes; then :
31218 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_SVG_SURFACE'
31222 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_SVG_SURFACE'
31226 if test "x$use_svg" != xyes; then :
31228 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_SVG_SURFACE'
31234 cr_make_tmp=' @echo "#define CAIRO_HAS_SVG_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
31235 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31236 "'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
31237 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31239 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31244 if test "x$use_svg" != xyes; then :
31246 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
31248 "'+++ It is strongly recommended that you do NOT disable the SVG surface
31249 +++ backend feature.'
31258 LIBRSVG_VERSION_REQUIRED=2.15.0
31261 if test "x$use_svg" = "xyes"; then
31262 librsvg_DEPENDENCY="librsvg-2.0 >= $LIBRSVG_VERSION_REQUIRED"
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRSVG" >&5
31266 $as_echo_n "checking for LIBRSVG... " >&6; }
31268 if test -n "$LIBRSVG_CFLAGS"; then
31269 pkg_cv_LIBRSVG_CFLAGS="$LIBRSVG_CFLAGS"
31270 elif test -n "$PKG_CONFIG"; then
31271 if test -n "$PKG_CONFIG" && \
31272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$librsvg_DEPENDENCY gdk-2.0\""; } >&5
31273 ($PKG_CONFIG --exists --print-errors "$librsvg_DEPENDENCY gdk-2.0") 2>&5
31275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31276 test $ac_status = 0; }; then
31277 pkg_cv_LIBRSVG_CFLAGS=`$PKG_CONFIG --cflags "$librsvg_DEPENDENCY gdk-2.0" 2>/dev/null`
31284 if test -n "$LIBRSVG_LIBS"; then
31285 pkg_cv_LIBRSVG_LIBS="$LIBRSVG_LIBS"
31286 elif test -n "$PKG_CONFIG"; then
31287 if test -n "$PKG_CONFIG" && \
31288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$librsvg_DEPENDENCY gdk-2.0\""; } >&5
31289 ($PKG_CONFIG --exists --print-errors "$librsvg_DEPENDENCY gdk-2.0") 2>&5
31291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31292 test $ac_status = 0; }; then
31293 pkg_cv_LIBRSVG_LIBS=`$PKG_CONFIG --libs "$librsvg_DEPENDENCY gdk-2.0" 2>/dev/null`
31303 if test $pkg_failed = yes; then
31305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31306 _pkg_short_errors_supported=yes
31308 _pkg_short_errors_supported=no
31310 if test $_pkg_short_errors_supported = yes; then
31311 LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$librsvg_DEPENDENCY gdk-2.0" 2>&1`
31313 LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "$librsvg_DEPENDENCY gdk-2.0" 2>&1`
31315 # Put the nasty error message in config.log where it belongs
31316 echo "$LIBRSVG_PKG_ERRORS" >&5
31318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31319 $as_echo "no" >&6; }
31320 test_svg="no (requires $librsvg_DEPENDENCY)"
31321 elif test $pkg_failed = untried; then
31322 test_svg="no (requires $librsvg_DEPENDENCY)"
31324 LIBRSVG_CFLAGS=$pkg_cv_LIBRSVG_CFLAGS
31325 LIBRSVG_LIBS=$pkg_cv_LIBRSVG_LIBS
31326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31327 $as_echo "yes" >&6; }
31328 _save_cflags="$CFLAGS"
31330 CFLAGS="$CFLAGS $LIBRSVG_CFLAGS"
31331 LIBS="$LIBS $LIBRSVG_LIBS"
31332 for ac_func in rsvg_pixbuf_from_file
31334 ac_fn_c_check_func "$LINENO" "rsvg_pixbuf_from_file" "ac_cv_func_rsvg_pixbuf_from_file"
31335 if test "x$ac_cv_func_rsvg_pixbuf_from_file" = xyes; then :
31336 cat >>confdefs.h <<_ACEOF
31337 #define HAVE_RSVG_PIXBUF_FROM_FILE 1
31339 test_svg=yes; any2ppm_svg=yes
31341 test_svg="no (requires $librsvg_DEPENDENCY)"
31345 CFLAGS="$_save_cflags"
31349 if test "x$test_svg" = "xyes"; then
31351 $as_echo "#define CAIRO_CAN_TEST_SVG_SURFACE 1" >>confdefs.h
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SVG backend will not be tested since librsvg >= $LIBRSVG_VERSION_REQUIRED is not available" >&5
31355 $as_echo "$as_me: WARNING: SVG backend will not be tested since librsvg >= $LIBRSVG_VERSION_REQUIRED is not available" >&2;}
31359 if test "x$test_svg" = "xyes"; then
31360 CAIRO_CAN_TEST_SVG_SURFACE_TRUE=
31361 CAIRO_CAN_TEST_SVG_SURFACE_FALSE='#'
31363 CAIRO_CAN_TEST_SVG_SURFACE_TRUE='#'
31364 CAIRO_CAN_TEST_SVG_SURFACE_FALSE=
31371 # Check whether --enable-test-surfaces was given.
31372 if test "${enable_test_surfaces+set}" = set; then :
31373 enableval=$enable_test_surfaces; enable_test_surfaces=$enableval
31375 enable_test_surfaces=no
31378 case $enable_test_surfaces in #(
31380 use_test_surfaces="no (disabled, use --enable-test-surfaces to enable)"
31383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's test surfaces feature" >&5
31384 $as_echo_n "checking for cairo's test surfaces feature... " >&6; }
31387 use_test_surfaces=yes
31388 test_surfaces_BASE="cairo"
31389 test_surfaces_REQUIRES="$ac_env_test_surfaces_REQUIRES_value"
31390 test_surfaces_CFLAGS="$ac_env_test_surfaces_CFLAGS_value"
31391 test_surfaces_NONPKGCONFIG_CFLAGS="$ac_env_test_surfaces_NONPKGCONFIG_CFLAGS_value"
31392 test_surfaces_LIBS="$ac_env_test_surfaces_LIBS_value"
31393 test_surfaces_NONPKGCONFIG_LIBS="$ac_env_test_surfaces_NONPKGCONFIG_LIBS_value"
31394 test_surfaces_NONPKGCONFIG_EXTRA_LIBS="$ac_env_test_surfaces_NONPKGCONFIG_EXTRA_LIBS_value"
31399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's test surfaces feature could be enabled" >&5
31400 $as_echo_n "checking whether cairo's test surfaces feature could be enabled... " >&6; }
31401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_test_surfaces" >&5
31402 $as_echo "$use_test_surfaces" >&6; }
31404 if test "x$enable_test_surfaces" = "xyes" -a "x$use_test_surfaces" != xyes; then :
31405 as_fn_error $? " test surfaces feature could not be enabled" "$LINENO" 5
31409 as_fn_error $? "invalid argument passed to --enable-test-surfaces: \`$use_test_surfaces', should be one of [no/auto/yes]" "$LINENO" 5
31412 if test "x$use_test_surfaces" = "xyes"; then :
31413 CAIRO_REQUIRES="$test_surfaces_REQUIRES"" ${CAIRO_REQUIRES}"
31415 CAIRO_CFLAGS="$test_surfaces_CFLAGS"" ${CAIRO_CFLAGS}"
31417 CAIRO_NONPKGCONFIG_CFLAGS="$test_surfaces_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31419 CAIRO_LIBS="$test_surfaces_LIBS"" ${CAIRO_LIBS}"
31421 CAIRO_NONPKGCONFIG_LIBS="$test_surfaces_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31425 unset test_surfaces_BASE
31426 unset test_surfaces_REQUIRES
31427 unset test_surfaces_CFLAGS
31428 unset test_surfaces_NONPKGCONFIG_CFLAGS
31429 unset test_surfaces_LIBS
31430 unset test_surfaces_NONPKGCONFIG_LIBS
31431 unset test_surfaces_NONPKGCONFIG_EXTRA_LIBS
31436 if test "x$use_test_surfaces" = xyes; then
31437 CAIRO_HAS_TEST_SURFACES_TRUE=
31438 CAIRO_HAS_TEST_SURFACES_FALSE='#'
31440 CAIRO_HAS_TEST_SURFACES_TRUE='#'
31441 CAIRO_HAS_TEST_SURFACES_FALSE=
31445 cr_make_tmp='CAIRO_HAS_TEST_SURFACES=0'
31446 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
31451 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31454 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31457 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31460 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31468 cr_make_tmp='all_cairo_private += $(cairo_test_surfaces_private) $(cairo_test_surfaces_headers)
31469 all_cairo_cxx_sources += $(cairo_test_surfaces_cxx_sources)
31470 all_cairo_sources += $(cairo_test_surfaces_sources)'
31471 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31474 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31476 cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_test_surfaces_private) $(cairo_boilerplate_test_surfaces_headers)
31477 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_test_surfaces_cxx_sources)
31478 all_cairo_boilerplate_sources += $(cairo_boilerplate_test_surfaces_sources)'
31479 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31482 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31486 cr_make_tmp='enabled_cairo_private += $(cairo_test_surfaces_private) $(cairo_test_surfaces_headers)
31487 enabled_cairo_cxx_sources += $(cairo_test_surfaces_cxx_sources)
31488 enabled_cairo_sources += $(cairo_test_surfaces_sources)'
31489 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31490 "'if CAIRO_HAS_TEST_SURFACES'
31491 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31493 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31496 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31497 "'ifeq ($(CAIRO_HAS_TEST_SURFACES),1)'
31498 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31500 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31502 cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_test_surfaces_private) $(cairo_boilerplate_test_surfaces_headers)
31503 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_test_surfaces_cxx_sources)
31504 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_test_surfaces_sources)'
31505 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31506 "'if CAIRO_HAS_TEST_SURFACES'
31507 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31509 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31512 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31513 "'ifeq ($(CAIRO_HAS_TEST_SURFACES),1)'
31514 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31516 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31527 if test "x$use_test_surfaces" = xyes; then :
31530 $as_echo "#define CAIRO_HAS_TEST_SURFACES 1" >>confdefs.h
31535 cr_make_tmp=' @echo "#define CAIRO_HAS_TEST_SURFACES 1" >> $(top_srcdir)/src/cairo-features.h'
31536 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31537 "'ifeq ($(CAIRO_HAS_TEST_SURFACES),1)'
31538 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31540 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31552 case $enable_image in #(
31554 use_image="no (disabled, use --enable-image to enable)"
31557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's image surface backend feature" >&5
31558 $as_echo_n "checking for cairo's image surface backend feature... " >&6; }
31563 image_REQUIRES="$ac_env_image_REQUIRES_value"
31564 image_CFLAGS="$ac_env_image_CFLAGS_value"
31565 image_NONPKGCONFIG_CFLAGS="$ac_env_image_NONPKGCONFIG_CFLAGS_value"
31566 image_LIBS="$ac_env_image_LIBS_value"
31567 image_NONPKGCONFIG_LIBS="$ac_env_image_NONPKGCONFIG_LIBS_value"
31568 image_NONPKGCONFIG_EXTRA_LIBS="$ac_env_image_NONPKGCONFIG_EXTRA_LIBS_value"
31572 pixman_REQUIRES="pixman-1 >= 0.16.0"
31575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pixman" >&5
31576 $as_echo_n "checking for pixman... " >&6; }
31578 if test -n "$pixman_CFLAGS"; then
31579 pkg_cv_pixman_CFLAGS="$pixman_CFLAGS"
31580 elif test -n "$PKG_CONFIG"; then
31581 if test -n "$PKG_CONFIG" && \
31582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pixman_REQUIRES\""; } >&5
31583 ($PKG_CONFIG --exists --print-errors "$pixman_REQUIRES") 2>&5
31585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31586 test $ac_status = 0; }; then
31587 pkg_cv_pixman_CFLAGS=`$PKG_CONFIG --cflags "$pixman_REQUIRES" 2>/dev/null`
31594 if test -n "$pixman_LIBS"; then
31595 pkg_cv_pixman_LIBS="$pixman_LIBS"
31596 elif test -n "$PKG_CONFIG"; then
31597 if test -n "$PKG_CONFIG" && \
31598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pixman_REQUIRES\""; } >&5
31599 ($PKG_CONFIG --exists --print-errors "$pixman_REQUIRES") 2>&5
31601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31602 test $ac_status = 0; }; then
31603 pkg_cv_pixman_LIBS=`$PKG_CONFIG --libs "$pixman_REQUIRES" 2>/dev/null`
31613 if test $pkg_failed = yes; then
31615 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31616 _pkg_short_errors_supported=yes
31618 _pkg_short_errors_supported=no
31620 if test $_pkg_short_errors_supported = yes; then
31621 pixman_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pixman_REQUIRES" 2>&1`
31623 pixman_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pixman_REQUIRES" 2>&1`
31625 # Put the nasty error message in config.log where it belongs
31626 echo "$pixman_PKG_ERRORS" >&5
31628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31629 $as_echo "no" >&6; }
31630 use_image="no (requires $pixman_REQUIRES http://cairographics.org/releases/)"
31631 elif test $pkg_failed = untried; then
31632 use_image="no (requires $pixman_REQUIRES http://cairographics.org/releases/)"
31634 pixman_CFLAGS=$pkg_cv_pixman_CFLAGS
31635 pixman_LIBS=$pkg_cv_pixman_LIBS
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31637 $as_echo "yes" >&6; }
31640 image_REQUIRES=$pixman_REQUIRES
31641 image_CFLAGS=$pixman_CFLAGS
31642 image_LIBS=$pixman_LIBS
31645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's image surface backend feature could be enabled" >&5
31646 $as_echo_n "checking whether cairo's image surface backend feature could be enabled... " >&6; }
31647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_image" >&5
31648 $as_echo "$use_image" >&6; }
31650 if test "x$enable_image" = "xyes" -a "x$use_image" != xyes; then :
31651 as_fn_error $? "mandatory image surface backend feature could not be enabled" "$LINENO" 5
31655 as_fn_error $? "invalid argument passed to --enable-image: \`$use_image', should be one of [no/auto/yes]" "$LINENO" 5
31658 if test "x$use_image" = "xyes"; then :
31659 CAIRO_REQUIRES="$image_REQUIRES"" ${CAIRO_REQUIRES}"
31661 CAIRO_CFLAGS="$image_CFLAGS"" ${CAIRO_CFLAGS}"
31663 CAIRO_NONPKGCONFIG_CFLAGS="$image_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31665 CAIRO_LIBS="$image_LIBS"" ${CAIRO_LIBS}"
31667 CAIRO_NONPKGCONFIG_LIBS="$image_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31672 unset image_REQUIRES
31674 unset image_NONPKGCONFIG_CFLAGS
31676 unset image_NONPKGCONFIG_LIBS
31677 unset image_NONPKGCONFIG_EXTRA_LIBS
31685 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31688 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31691 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31694 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31698 cr_make_tmp='supported_cairo_headers += $(cairo_image_headers)'
31699 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31702 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31704 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_image_headers)'
31705 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31708 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31713 cr_make_tmp='all_cairo_headers += $(cairo_image_headers)
31714 all_cairo_private += $(cairo_image_private)
31715 all_cairo_cxx_sources += $(cairo_image_cxx_sources)
31716 all_cairo_sources += $(cairo_image_sources)'
31717 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31720 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31722 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_image_headers)
31723 all_cairo_boilerplate_private += $(cairo_boilerplate_image_private)
31724 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_image_cxx_sources)
31725 all_cairo_boilerplate_sources += $(cairo_boilerplate_image_sources)'
31726 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31729 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31733 cr_make_tmp='enabled_cairo_headers += $(cairo_image_headers)
31734 enabled_cairo_private += $(cairo_image_private)
31735 enabled_cairo_cxx_sources += $(cairo_image_cxx_sources)
31736 enabled_cairo_sources += $(cairo_image_sources)'
31737 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31740 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31742 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_image_headers)
31743 enabled_cairo_boilerplate_private += $(cairo_boilerplate_image_private)
31744 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_image_cxx_sources)
31745 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_image_sources)'
31746 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31749 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31759 if test "x$use_image" = xyes; then :
31761 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_IMAGE_SURFACE'
31765 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_IMAGE_SURFACE'
31769 if test "x$use_image" != xyes; then :
31771 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_IMAGE_SURFACE'
31777 cr_make_tmp=' @echo "#define CAIRO_HAS_IMAGE_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
31778 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31788 if pkg-config --exists 'pixman-1 >= 0.27.1'; then
31790 $as_echo "#define HAS_PIXMAN_GLYPHS 1" >>confdefs.h
31797 case $enable_mime in #(
31799 use_mime="no (disabled, use --enable-mime to enable)"
31802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's mime surface backend feature" >&5
31803 $as_echo_n "checking for cairo's mime surface backend feature... " >&6; }
31808 mime_REQUIRES="$ac_env_mime_REQUIRES_value"
31809 mime_CFLAGS="$ac_env_mime_CFLAGS_value"
31810 mime_NONPKGCONFIG_CFLAGS="$ac_env_mime_NONPKGCONFIG_CFLAGS_value"
31811 mime_LIBS="$ac_env_mime_LIBS_value"
31812 mime_NONPKGCONFIG_LIBS="$ac_env_mime_NONPKGCONFIG_LIBS_value"
31813 mime_NONPKGCONFIG_EXTRA_LIBS="$ac_env_mime_NONPKGCONFIG_EXTRA_LIBS_value"
31818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's mime surface backend feature could be enabled" >&5
31819 $as_echo_n "checking whether cairo's mime surface backend feature could be enabled... " >&6; }
31820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_mime" >&5
31821 $as_echo "$use_mime" >&6; }
31823 if test "x$enable_mime" = "xyes" -a "x$use_mime" != xyes; then :
31824 as_fn_error $? "mandatory mime surface backend feature could not be enabled" "$LINENO" 5
31828 as_fn_error $? "invalid argument passed to --enable-mime: \`$use_mime', should be one of [no/auto/yes]" "$LINENO" 5
31831 if test "x$use_mime" = "xyes"; then :
31832 CAIRO_REQUIRES="$mime_REQUIRES"" ${CAIRO_REQUIRES}"
31834 CAIRO_CFLAGS="$mime_CFLAGS"" ${CAIRO_CFLAGS}"
31836 CAIRO_NONPKGCONFIG_CFLAGS="$mime_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31838 CAIRO_LIBS="$mime_LIBS"" ${CAIRO_LIBS}"
31840 CAIRO_NONPKGCONFIG_LIBS="$mime_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31845 unset mime_REQUIRES
31847 unset mime_NONPKGCONFIG_CFLAGS
31849 unset mime_NONPKGCONFIG_LIBS
31850 unset mime_NONPKGCONFIG_EXTRA_LIBS
31858 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31861 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31864 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31867 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31871 cr_make_tmp='supported_cairo_headers += $(cairo_mime_headers)'
31872 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31875 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31877 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_mime_headers)'
31878 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31881 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31886 cr_make_tmp='all_cairo_headers += $(cairo_mime_headers)
31887 all_cairo_private += $(cairo_mime_private)
31888 all_cairo_cxx_sources += $(cairo_mime_cxx_sources)
31889 all_cairo_sources += $(cairo_mime_sources)'
31890 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31893 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31895 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_mime_headers)
31896 all_cairo_boilerplate_private += $(cairo_boilerplate_mime_private)
31897 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_mime_cxx_sources)
31898 all_cairo_boilerplate_sources += $(cairo_boilerplate_mime_sources)'
31899 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31902 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31906 cr_make_tmp='enabled_cairo_headers += $(cairo_mime_headers)
31907 enabled_cairo_private += $(cairo_mime_private)
31908 enabled_cairo_cxx_sources += $(cairo_mime_cxx_sources)
31909 enabled_cairo_sources += $(cairo_mime_sources)'
31910 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31913 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31915 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_mime_headers)
31916 enabled_cairo_boilerplate_private += $(cairo_boilerplate_mime_private)
31917 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_mime_cxx_sources)
31918 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_mime_sources)'
31919 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31922 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31932 if test "x$use_mime" = xyes; then :
31934 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_MIME_SURFACE'
31938 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_MIME_SURFACE'
31942 if test "x$use_mime" != xyes; then :
31944 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_MIME_SURFACE'
31950 cr_make_tmp=' @echo "#define CAIRO_HAS_MIME_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
31951 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31960 enable_recording=yes
31961 case $enable_recording in #(
31963 use_recording="no (disabled, use --enable-recording to enable)"
31966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's recording surface backend feature" >&5
31967 $as_echo_n "checking for cairo's recording surface backend feature... " >&6; }
31971 recording_BASE="cairo"
31972 recording_REQUIRES="$ac_env_recording_REQUIRES_value"
31973 recording_CFLAGS="$ac_env_recording_CFLAGS_value"
31974 recording_NONPKGCONFIG_CFLAGS="$ac_env_recording_NONPKGCONFIG_CFLAGS_value"
31975 recording_LIBS="$ac_env_recording_LIBS_value"
31976 recording_NONPKGCONFIG_LIBS="$ac_env_recording_NONPKGCONFIG_LIBS_value"
31977 recording_NONPKGCONFIG_EXTRA_LIBS="$ac_env_recording_NONPKGCONFIG_EXTRA_LIBS_value"
31982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's recording surface backend feature could be enabled" >&5
31983 $as_echo_n "checking whether cairo's recording surface backend feature could be enabled... " >&6; }
31984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_recording" >&5
31985 $as_echo "$use_recording" >&6; }
31987 if test "x$enable_recording" = "xyes" -a "x$use_recording" != xyes; then :
31988 as_fn_error $? "mandatory recording surface backend feature could not be enabled" "$LINENO" 5
31992 as_fn_error $? "invalid argument passed to --enable-recording: \`$use_recording', should be one of [no/auto/yes]" "$LINENO" 5
31995 if test "x$use_recording" = "xyes"; then :
31996 CAIRO_REQUIRES="$recording_REQUIRES"" ${CAIRO_REQUIRES}"
31998 CAIRO_CFLAGS="$recording_CFLAGS"" ${CAIRO_CFLAGS}"
32000 CAIRO_NONPKGCONFIG_CFLAGS="$recording_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
32002 CAIRO_LIBS="$recording_LIBS"" ${CAIRO_LIBS}"
32004 CAIRO_NONPKGCONFIG_LIBS="$recording_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
32008 unset recording_BASE
32009 unset recording_REQUIRES
32010 unset recording_CFLAGS
32011 unset recording_NONPKGCONFIG_CFLAGS
32012 unset recording_LIBS
32013 unset recording_NONPKGCONFIG_LIBS
32014 unset recording_NONPKGCONFIG_EXTRA_LIBS
32022 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32025 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32028 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32031 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32035 cr_make_tmp='supported_cairo_headers += $(cairo_recording_headers)'
32036 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32039 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32041 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_recording_headers)'
32042 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32045 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32050 cr_make_tmp='all_cairo_headers += $(cairo_recording_headers)
32051 all_cairo_private += $(cairo_recording_private)
32052 all_cairo_cxx_sources += $(cairo_recording_cxx_sources)
32053 all_cairo_sources += $(cairo_recording_sources)'
32054 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32057 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32059 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_recording_headers)
32060 all_cairo_boilerplate_private += $(cairo_boilerplate_recording_private)
32061 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_recording_cxx_sources)
32062 all_cairo_boilerplate_sources += $(cairo_boilerplate_recording_sources)'
32063 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32066 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32070 cr_make_tmp='enabled_cairo_headers += $(cairo_recording_headers)
32071 enabled_cairo_private += $(cairo_recording_private)
32072 enabled_cairo_cxx_sources += $(cairo_recording_cxx_sources)
32073 enabled_cairo_sources += $(cairo_recording_sources)'
32074 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32077 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32079 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_recording_headers)
32080 enabled_cairo_boilerplate_private += $(cairo_boilerplate_recording_private)
32081 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_recording_cxx_sources)
32082 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_recording_sources)'
32083 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32086 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32096 if test "x$use_recording" = xyes; then :
32098 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_RECORDING_SURFACE'
32102 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_RECORDING_SURFACE'
32106 if test "x$use_recording" != xyes; then :
32108 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_RECORDING_SURFACE'
32114 cr_make_tmp=' @echo "#define CAIRO_HAS_RECORDING_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
32115 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32124 enable_observer=yes
32125 case $enable_observer in #(
32127 use_observer="no (disabled, use --enable-observer to enable)"
32130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's observer surface backend feature" >&5
32131 $as_echo_n "checking for cairo's observer surface backend feature... " >&6; }
32135 observer_BASE="cairo"
32136 observer_REQUIRES="$ac_env_observer_REQUIRES_value"
32137 observer_CFLAGS="$ac_env_observer_CFLAGS_value"
32138 observer_NONPKGCONFIG_CFLAGS="$ac_env_observer_NONPKGCONFIG_CFLAGS_value"
32139 observer_LIBS="$ac_env_observer_LIBS_value"
32140 observer_NONPKGCONFIG_LIBS="$ac_env_observer_NONPKGCONFIG_LIBS_value"
32141 observer_NONPKGCONFIG_EXTRA_LIBS="$ac_env_observer_NONPKGCONFIG_EXTRA_LIBS_value"
32146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's observer surface backend feature could be enabled" >&5
32147 $as_echo_n "checking whether cairo's observer surface backend feature could be enabled... " >&6; }
32148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_observer" >&5
32149 $as_echo "$use_observer" >&6; }
32151 if test "x$enable_observer" = "xyes" -a "x$use_observer" != xyes; then :
32152 as_fn_error $? "mandatory observer surface backend feature could not be enabled" "$LINENO" 5
32156 as_fn_error $? "invalid argument passed to --enable-observer: \`$use_observer', should be one of [no/auto/yes]" "$LINENO" 5
32159 if test "x$use_observer" = "xyes"; then :
32160 CAIRO_REQUIRES="$observer_REQUIRES"" ${CAIRO_REQUIRES}"
32162 CAIRO_CFLAGS="$observer_CFLAGS"" ${CAIRO_CFLAGS}"
32164 CAIRO_NONPKGCONFIG_CFLAGS="$observer_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
32166 CAIRO_LIBS="$observer_LIBS"" ${CAIRO_LIBS}"
32168 CAIRO_NONPKGCONFIG_LIBS="$observer_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
32172 unset observer_BASE
32173 unset observer_REQUIRES
32174 unset observer_CFLAGS
32175 unset observer_NONPKGCONFIG_CFLAGS
32176 unset observer_LIBS
32177 unset observer_NONPKGCONFIG_LIBS
32178 unset observer_NONPKGCONFIG_EXTRA_LIBS
32186 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32189 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32192 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32195 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32199 cr_make_tmp='supported_cairo_headers += $(cairo_observer_headers)'
32200 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32203 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32205 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_observer_headers)'
32206 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32209 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32214 cr_make_tmp='all_cairo_headers += $(cairo_observer_headers)
32215 all_cairo_private += $(cairo_observer_private)
32216 all_cairo_cxx_sources += $(cairo_observer_cxx_sources)
32217 all_cairo_sources += $(cairo_observer_sources)'
32218 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32221 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32223 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_observer_headers)
32224 all_cairo_boilerplate_private += $(cairo_boilerplate_observer_private)
32225 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_observer_cxx_sources)
32226 all_cairo_boilerplate_sources += $(cairo_boilerplate_observer_sources)'
32227 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32230 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32234 cr_make_tmp='enabled_cairo_headers += $(cairo_observer_headers)
32235 enabled_cairo_private += $(cairo_observer_private)
32236 enabled_cairo_cxx_sources += $(cairo_observer_cxx_sources)
32237 enabled_cairo_sources += $(cairo_observer_sources)'
32238 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32241 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32243 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_observer_headers)
32244 enabled_cairo_boilerplate_private += $(cairo_boilerplate_observer_private)
32245 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_observer_cxx_sources)
32246 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_observer_sources)'
32247 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32250 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32260 if test "x$use_observer" = xyes; then :
32262 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_OBSERVER_SURFACE'
32266 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_OBSERVER_SURFACE'
32270 if test "x$use_observer" != xyes; then :
32272 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_OBSERVER_SURFACE'
32278 cr_make_tmp=' @echo "#define CAIRO_HAS_OBSERVER_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
32279 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32288 # Check whether --enable-tee was given.
32289 if test "${enable_tee+set}" = set; then :
32290 enableval=$enable_tee; enable_tee=$enableval
32295 case $enable_tee in #(
32297 use_tee="no (disabled, use --enable-tee to enable)"
32300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's tee surface backend feature" >&5
32301 $as_echo_n "checking for cairo's tee surface backend feature... " >&6; }
32306 tee_REQUIRES="$ac_env_tee_REQUIRES_value"
32307 tee_CFLAGS="$ac_env_tee_CFLAGS_value"
32308 tee_NONPKGCONFIG_CFLAGS="$ac_env_tee_NONPKGCONFIG_CFLAGS_value"
32309 tee_LIBS="$ac_env_tee_LIBS_value"
32310 tee_NONPKGCONFIG_LIBS="$ac_env_tee_NONPKGCONFIG_LIBS_value"
32311 tee_NONPKGCONFIG_EXTRA_LIBS="$ac_env_tee_NONPKGCONFIG_EXTRA_LIBS_value"
32316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's tee surface backend feature could be enabled" >&5
32317 $as_echo_n "checking whether cairo's tee surface backend feature could be enabled... " >&6; }
32318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_tee" >&5
32319 $as_echo "$use_tee" >&6; }
32321 if test "x$enable_tee" = "xyes" -a "x$use_tee" != xyes; then :
32322 as_fn_error $? " tee surface backend feature could not be enabled" "$LINENO" 5
32326 as_fn_error $? "invalid argument passed to --enable-tee: \`$use_tee', should be one of [no/auto/yes]" "$LINENO" 5
32329 if test "x$use_tee" = "xyes"; then :
32330 CAIRO_REQUIRES="$tee_REQUIRES"" ${CAIRO_REQUIRES}"
32332 CAIRO_CFLAGS="$tee_CFLAGS"" ${CAIRO_CFLAGS}"
32334 CAIRO_NONPKGCONFIG_CFLAGS="$tee_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
32336 CAIRO_LIBS="$tee_LIBS"" ${CAIRO_LIBS}"
32338 CAIRO_NONPKGCONFIG_LIBS="$tee_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
32345 unset tee_NONPKGCONFIG_CFLAGS
32347 unset tee_NONPKGCONFIG_LIBS
32348 unset tee_NONPKGCONFIG_EXTRA_LIBS
32353 if test "x$use_tee" = xyes; then
32354 CAIRO_HAS_TEE_SURFACE_TRUE=
32355 CAIRO_HAS_TEE_SURFACE_FALSE='#'
32357 CAIRO_HAS_TEE_SURFACE_TRUE='#'
32358 CAIRO_HAS_TEE_SURFACE_FALSE=
32362 cr_make_tmp='CAIRO_HAS_TEE_SURFACE=0'
32363 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
32368 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32371 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32374 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32377 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32382 cr_make_tmp='unsupported_cairo_headers += $(cairo_tee_headers)'
32383 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32386 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32388 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_tee_headers)'
32389 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32392 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32396 cr_make_tmp='all_cairo_headers += $(cairo_tee_headers)
32397 all_cairo_private += $(cairo_tee_private)
32398 all_cairo_cxx_sources += $(cairo_tee_cxx_sources)
32399 all_cairo_sources += $(cairo_tee_sources)'
32400 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32403 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32405 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_tee_headers)
32406 all_cairo_boilerplate_private += $(cairo_boilerplate_tee_private)
32407 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_tee_cxx_sources)
32408 all_cairo_boilerplate_sources += $(cairo_boilerplate_tee_sources)'
32409 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32412 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32416 cr_make_tmp='enabled_cairo_headers += $(cairo_tee_headers)
32417 enabled_cairo_private += $(cairo_tee_private)
32418 enabled_cairo_cxx_sources += $(cairo_tee_cxx_sources)
32419 enabled_cairo_sources += $(cairo_tee_sources)'
32420 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32421 "'if CAIRO_HAS_TEE_SURFACE'
32422 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32424 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32427 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32428 "'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
32429 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32431 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32433 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_tee_headers)
32434 enabled_cairo_boilerplate_private += $(cairo_boilerplate_tee_private)
32435 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_tee_cxx_sources)
32436 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_tee_sources)'
32437 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32438 "'if CAIRO_HAS_TEE_SURFACE'
32439 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32441 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32444 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32445 "'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
32446 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32448 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32454 if test "x$use_tee" = xyes; then :
32456 ac_config_files="$ac_config_files src/cairo-tee.pc:src/cairo-features.pc.in"
32460 if test "x$use_tee" = xyes; then :
32462 ac_config_files="$ac_config_files cairo-tee-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
32466 cr_make_tmp='all_cairo_pkgconf += cairo-tee.pc'
32467 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32470 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32474 cr_make_tmp='enabled_cairo_pkgconf += cairo-tee.pc'
32475 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32476 "'if CAIRO_HAS_TEE_SURFACE'
32477 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32479 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32482 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32483 "'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
32484 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32486 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32490 if test "x$use_tee" = xyes; then :
32492 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_TEE_SURFACE'
32499 cr_make_tmp=' @echo "#define CAIRO_HAS_TEE_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
32500 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32501 "'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
32502 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32504 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32508 if test "x$use_tee" = xyes; then :
32510 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
32512 "'--- The tee surface backend feature is still under active development and is
32513 --- included in this release only as a preview. It does NOT fully work yet
32514 --- and incompatible changes may yet be made to tee surface backend specific
32524 # Check whether --enable-xml was given.
32525 if test "${enable_xml+set}" = set; then :
32526 enableval=$enable_xml; enable_xml=$enableval
32531 case $enable_xml in #(
32533 use_xml="no (disabled, use --enable-xml to enable)"
32536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's xml surface backend feature" >&5
32537 $as_echo_n "checking for cairo's xml surface backend feature... " >&6; }
32542 xml_REQUIRES="$ac_env_xml_REQUIRES_value"
32543 xml_CFLAGS="$ac_env_xml_CFLAGS_value"
32544 xml_NONPKGCONFIG_CFLAGS="$ac_env_xml_NONPKGCONFIG_CFLAGS_value"
32545 xml_LIBS="$ac_env_xml_LIBS_value"
32546 xml_NONPKGCONFIG_LIBS="$ac_env_xml_NONPKGCONFIG_LIBS_value"
32547 xml_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xml_NONPKGCONFIG_EXTRA_LIBS_value"
32552 xml_NONPKGCONFIG_LIBS=-lz
32555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's xml surface backend feature could be enabled" >&5
32556 $as_echo_n "checking whether cairo's xml surface backend feature could be enabled... " >&6; }
32557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xml" >&5
32558 $as_echo "$use_xml" >&6; }
32560 if test "x$enable_xml" = "xyes" -a "x$use_xml" != xyes; then :
32561 as_fn_error $? " xml surface backend feature could not be enabled" "$LINENO" 5
32565 as_fn_error $? "invalid argument passed to --enable-xml: \`$use_xml', should be one of [no/auto/yes]" "$LINENO" 5
32568 if test "x$use_xml" = "xyes"; then :
32569 CAIRO_REQUIRES="$xml_REQUIRES"" ${CAIRO_REQUIRES}"
32571 CAIRO_CFLAGS="$xml_CFLAGS"" ${CAIRO_CFLAGS}"
32573 CAIRO_NONPKGCONFIG_CFLAGS="$xml_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
32575 CAIRO_LIBS="$xml_LIBS"" ${CAIRO_LIBS}"
32577 CAIRO_NONPKGCONFIG_LIBS="$xml_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
32584 unset xml_NONPKGCONFIG_CFLAGS
32586 unset xml_NONPKGCONFIG_LIBS
32587 unset xml_NONPKGCONFIG_EXTRA_LIBS
32592 if test "x$use_xml" = xyes; then
32593 CAIRO_HAS_XML_SURFACE_TRUE=
32594 CAIRO_HAS_XML_SURFACE_FALSE='#'
32596 CAIRO_HAS_XML_SURFACE_TRUE='#'
32597 CAIRO_HAS_XML_SURFACE_FALSE=
32601 cr_make_tmp='CAIRO_HAS_XML_SURFACE=0'
32602 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
32607 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32610 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32613 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32616 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32621 cr_make_tmp='unsupported_cairo_headers += $(cairo_xml_headers)'
32622 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32625 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32627 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_xml_headers)'
32628 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32631 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32635 cr_make_tmp='all_cairo_headers += $(cairo_xml_headers)
32636 all_cairo_private += $(cairo_xml_private)
32637 all_cairo_cxx_sources += $(cairo_xml_cxx_sources)
32638 all_cairo_sources += $(cairo_xml_sources)'
32639 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32642 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32644 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xml_headers)
32645 all_cairo_boilerplate_private += $(cairo_boilerplate_xml_private)
32646 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xml_cxx_sources)
32647 all_cairo_boilerplate_sources += $(cairo_boilerplate_xml_sources)'
32648 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32651 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32655 cr_make_tmp='enabled_cairo_headers += $(cairo_xml_headers)
32656 enabled_cairo_private += $(cairo_xml_private)
32657 enabled_cairo_cxx_sources += $(cairo_xml_cxx_sources)
32658 enabled_cairo_sources += $(cairo_xml_sources)'
32659 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32660 "'if CAIRO_HAS_XML_SURFACE'
32661 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32663 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32666 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32667 "'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
32668 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32670 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32672 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xml_headers)
32673 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xml_private)
32674 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xml_cxx_sources)
32675 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xml_sources)'
32676 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32677 "'if CAIRO_HAS_XML_SURFACE'
32678 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32680 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32683 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32684 "'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
32685 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32687 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32693 if test "x$use_xml" = xyes; then :
32695 ac_config_files="$ac_config_files src/cairo-xml.pc:src/cairo-features.pc.in"
32699 if test "x$use_xml" = xyes; then :
32701 ac_config_files="$ac_config_files cairo-xml-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
32705 cr_make_tmp='all_cairo_pkgconf += cairo-xml.pc'
32706 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32709 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32713 cr_make_tmp='enabled_cairo_pkgconf += cairo-xml.pc'
32714 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32715 "'if CAIRO_HAS_XML_SURFACE'
32716 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32718 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32721 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32722 "'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
32723 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32725 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32729 if test "x$use_xml" = xyes; then :
32731 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XML_SURFACE'
32738 cr_make_tmp=' @echo "#define CAIRO_HAS_XML_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
32739 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32740 "'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
32741 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32743 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32747 if test "x$use_xml" = xyes; then :
32749 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
32751 "'--- The xml surface backend feature is still under active development and is
32752 --- included in this release only as a preview. It does NOT fully work yet
32753 --- and incompatible changes may yet be made to xml surface backend specific
32766 case $enable_user in #(
32768 use_user="no (disabled, use --enable-user to enable)"
32771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's user font backend feature" >&5
32772 $as_echo_n "checking for cairo's user font backend feature... " >&6; }
32777 user_REQUIRES="$ac_env_user_REQUIRES_value"
32778 user_CFLAGS="$ac_env_user_CFLAGS_value"
32779 user_NONPKGCONFIG_CFLAGS="$ac_env_user_NONPKGCONFIG_CFLAGS_value"
32780 user_LIBS="$ac_env_user_LIBS_value"
32781 user_NONPKGCONFIG_LIBS="$ac_env_user_NONPKGCONFIG_LIBS_value"
32782 user_NONPKGCONFIG_EXTRA_LIBS="$ac_env_user_NONPKGCONFIG_EXTRA_LIBS_value"
32787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's user font backend feature could be enabled" >&5
32788 $as_echo_n "checking whether cairo's user font backend feature could be enabled... " >&6; }
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_user" >&5
32790 $as_echo "$use_user" >&6; }
32792 if test "x$enable_user" = "xyes" -a "x$use_user" != xyes; then :
32793 as_fn_error $? "mandatory user font backend feature could not be enabled" "$LINENO" 5
32797 as_fn_error $? "invalid argument passed to --enable-user: \`$use_user', should be one of [no/auto/yes]" "$LINENO" 5
32800 if test "x$use_user" = "xyes"; then :
32801 CAIRO_REQUIRES="$user_REQUIRES"" ${CAIRO_REQUIRES}"
32803 CAIRO_CFLAGS="$user_CFLAGS"" ${CAIRO_CFLAGS}"
32805 CAIRO_NONPKGCONFIG_CFLAGS="$user_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
32807 CAIRO_LIBS="$user_LIBS"" ${CAIRO_LIBS}"
32809 CAIRO_NONPKGCONFIG_LIBS="$user_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
32814 unset user_REQUIRES
32816 unset user_NONPKGCONFIG_CFLAGS
32818 unset user_NONPKGCONFIG_LIBS
32819 unset user_NONPKGCONFIG_EXTRA_LIBS
32827 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32830 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32833 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32836 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32840 cr_make_tmp='supported_cairo_headers += $(cairo_user_headers)'
32841 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32844 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32846 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_user_headers)'
32847 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32850 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32855 cr_make_tmp='all_cairo_headers += $(cairo_user_headers)
32856 all_cairo_private += $(cairo_user_private)
32857 all_cairo_cxx_sources += $(cairo_user_cxx_sources)
32858 all_cairo_sources += $(cairo_user_sources)'
32859 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32862 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32864 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_user_headers)
32865 all_cairo_boilerplate_private += $(cairo_boilerplate_user_private)
32866 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_user_cxx_sources)
32867 all_cairo_boilerplate_sources += $(cairo_boilerplate_user_sources)'
32868 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32871 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32875 cr_make_tmp='enabled_cairo_headers += $(cairo_user_headers)
32876 enabled_cairo_private += $(cairo_user_private)
32877 enabled_cairo_cxx_sources += $(cairo_user_cxx_sources)
32878 enabled_cairo_sources += $(cairo_user_sources)'
32879 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32882 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32884 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_user_headers)
32885 enabled_cairo_boilerplate_private += $(cairo_boilerplate_user_private)
32886 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_user_cxx_sources)
32887 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_user_sources)'
32888 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32891 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32901 if test "x$use_user" = xyes; then :
32903 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_USER_FONT'
32907 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_USER_FONT'
32911 if test "x$use_user" != xyes; then :
32913 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_USER_FONT'
32919 cr_make_tmp=' @echo "#define CAIRO_HAS_USER_FONT 1" >> $(top_srcdir)/src/cairo-features.h'
32920 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32930 have_real_pthread=no
32932 # Check whether --enable-pthread was given.
32933 if test "${enable_pthread+set}" = set; then :
32934 enableval=$enable_pthread; enable_pthread=$enableval
32936 enable_pthread=auto
32939 case $enable_pthread in #(
32941 use_pthread="no (disabled, use --enable-pthread to enable)"
32944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's pthread feature" >&5
32945 $as_echo_n "checking for cairo's pthread feature... " >&6; }
32949 pthread_BASE="cairo"
32950 pthread_REQUIRES="$ac_env_pthread_REQUIRES_value"
32951 pthread_CFLAGS="$ac_env_pthread_CFLAGS_value"
32952 pthread_NONPKGCONFIG_CFLAGS="$ac_env_pthread_NONPKGCONFIG_CFLAGS_value"
32953 pthread_LIBS="$ac_env_pthread_LIBS_value"
32954 pthread_NONPKGCONFIG_LIBS="$ac_env_pthread_NONPKGCONFIG_LIBS_value"
32955 pthread_NONPKGCONFIG_EXTRA_LIBS="$ac_env_pthread_NONPKGCONFIG_EXTRA_LIBS_value"
32958 if test "x$PTHREAD_CFLAGS" = "x"; then
32959 PTHREAD_CFLAGS="-D_REENTRANT"
32961 if test "x$PTHREAD_LIBS" = "x"; then
32962 PTHREAD_LIBS="-lpthread"
32965 # AC_LANG_PROGRAM() produces a main() w/o args,
32966 # but -Wold-style-definition doesn't like that.
32967 # We need _some_ program so that we don't get
32968 # warnings about empty compilation units, so always
32969 # append a reasonable main().
32970 _compile_program="#ifndef _GNU_SOURCE
32971 #define _GNU_SOURCE /* for PTHREAD_MUTEX_INITIALIZER under linux */
32973 #include <pthread.h>
32975 pthread_mutex_t test_mutex_initializer = PTHREAD_MUTEX_INITIALIZER;
32976 int test_mutex (void)
32979 pthread_mutex_t mutex;
32980 x |= pthread_mutex_init (&mutex, NULL);
32981 x |= pthread_mutex_lock (&mutex);
32982 x |= pthread_mutex_unlock (&mutex);
32983 x |= pthread_mutex_destroy (&mutex);
32987 int test_mutex_attr (void)
32990 pthread_mutexattr_t attr;
32991 pthread_mutex_t mutex;
32992 x |= pthread_mutexattr_init (&attr);
32993 x |= pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE);
32994 x |= pthread_mutex_init (&mutex, &attr);
32995 x |= pthread_mutex_lock (&mutex);
32996 x |= pthread_mutex_unlock (&mutex);
32997 x |= pthread_mutex_destroy (&mutex);
32998 x |= pthread_mutexattr_destroy (&attr);
33002 pthread_once_t once_control = PTHREAD_ONCE_INIT;
33003 void test_once_init (void) {}
33004 int test_once (void)
33006 return pthread_once (&once_control, test_once_init);
33009 pthread_key_t test_specific_key;
33010 int test_specific (void)
33013 x |= pthread_key_create (&test_specific_key, NULL);
33014 x |= pthread_setspecific (test_specific_key, NULL);
33015 x |= pthread_getspecific (test_specific_key) != NULL;
33019 void cleaner (void *arg) { (void)arg; }
33022 test_thread_main (void *arg)
33024 pthread_cleanup_push (cleaner, arg);
33025 pthread_exit (arg);
33026 pthread_cleanup_pop (1);
33031 test_threads (void)
33035 pthread_attr_t attr;
33037 x |= pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
33038 x |= pthread_create (&thread, &attr, test_thread_main, arg);
33039 x |= pthread_equal (pthread_self(), thread);
33040 x |= pthread_join (thread, &arg);
33041 x |= pthread_attr_destroy (&attr);
33044 int main(int c, char **v) { (void)c; (void)v; return 0; }'
33046 _save_cflags="$CFLAGS"
33047 _save_ldflags="$LDFLAGS"
33049 CFLAGS="$CFLAGS $PTHREAD_CFLAGS";
33050 LIBS="$LIBS $PTHREAD_LIBS"
33051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33052 /* end confdefs.h. */
33055 if ac_fn_c_try_link "$LINENO"; then :
33056 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
33059 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
33062 rm -f core conftest.err conftest.$ac_objext \
33063 conftest$ac_exeext conftest.$ac_ext
33065 if test "x$cairo_cc_stderr" != "x"; then
33069 if test "x$cairo_cc_flag" = "xyes"; then
33070 real_pthread_CFLAGS="$PTHREAD_CFLAGS";
33071 real_pthread_LIBS="$PTHREAD_LIBS";
33072 have_real_pthread=yes
33074 real_pthread_CFLAGS="";
33075 real_pthread_LIBS="";
33076 have_real_pthread=no
33078 CFLAGS="$_save_cflags"
33079 LDFLAGS="$_save_ldflags"
33083 if test "x$have_real_pthread" != "xyes"; then
33084 # AC_LANG_PROGRAM() produces a main() w/o args,
33085 # but -Wold-style-definition doesn't like that.
33086 # We need _some_ program so that we don't get
33087 # warnings about empty compilation units, so always
33088 # append a reasonable main().
33089 _compile_program="#ifndef _GNU_SOURCE
33090 #define _GNU_SOURCE /* for PTHREAD_MUTEX_INITIALIZER under linux */
33092 #include <pthread.h>
33094 pthread_mutex_t test_mutex_initializer = PTHREAD_MUTEX_INITIALIZER;
33095 int test_mutex (void)
33098 pthread_mutex_t mutex;
33099 x |= pthread_mutex_init (&mutex, NULL);
33100 x |= pthread_mutex_lock (&mutex);
33101 x |= pthread_mutex_unlock (&mutex);
33102 x |= pthread_mutex_destroy (&mutex);
33106 int test_mutex_attr (void)
33109 pthread_mutexattr_t attr;
33110 pthread_mutex_t mutex;
33111 x |= pthread_mutexattr_init (&attr);
33112 x |= pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE);
33113 x |= pthread_mutex_init (&mutex, &attr);
33114 x |= pthread_mutex_lock (&mutex);
33115 x |= pthread_mutex_unlock (&mutex);
33116 x |= pthread_mutex_destroy (&mutex);
33117 x |= pthread_mutexattr_destroy (&attr);
33121 pthread_once_t once_control = PTHREAD_ONCE_INIT;
33122 void test_once_init (void) {}
33123 int test_once (void)
33125 return pthread_once (&once_control, test_once_init);
33128 pthread_key_t test_specific_key;
33129 int test_specific (void)
33132 x |= pthread_key_create (&test_specific_key, NULL);
33133 x |= pthread_setspecific (test_specific_key, NULL);
33134 x |= pthread_getspecific (test_specific_key) != NULL;
33138 void cleaner (void *arg) { (void)arg; }
33141 test_thread_main (void *arg)
33143 pthread_cleanup_push (cleaner, arg);
33144 pthread_exit (arg);
33145 pthread_cleanup_pop (1);
33150 test_threads (void)
33154 pthread_attr_t attr;
33156 x |= pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
33157 x |= pthread_create (&thread, &attr, test_thread_main, arg);
33158 x |= pthread_equal (pthread_self(), thread);
33159 x |= pthread_join (thread, &arg);
33160 x |= pthread_attr_destroy (&attr);
33163 int main(int c, char **v) { (void)c; (void)v; return 0; }'
33165 _save_cflags="$CFLAGS"
33166 _save_ldflags="$LDFLAGS"
33168 CFLAGS="$CFLAGS -pthread";
33170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33171 /* end confdefs.h. */
33174 if ac_fn_c_try_link "$LINENO"; then :
33175 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
33178 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
33181 rm -f core conftest.err conftest.$ac_objext \
33182 conftest$ac_exeext conftest.$ac_ext
33184 if test "x$cairo_cc_stderr" != "x"; then
33188 if test "x$cairo_cc_flag" = "xyes"; then
33189 real_pthread_CFLAGS="-pthread";
33190 real_pthread_LIBS="";
33191 have_real_pthread=yes
33193 real_pthread_CFLAGS="";
33194 real_pthread_LIBS="";
33195 have_real_pthread="no (can't link with -lpthread or -pthread)"
33197 CFLAGS="$_save_cflags"
33198 LDFLAGS="$_save_ldflags"
33207 if test "x$enable_pthread" != "xyes"; then
33208 # AC_LANG_PROGRAM() produces a main() w/o args,
33209 # but -Wold-style-definition doesn't like that.
33210 # We need _some_ program so that we don't get
33211 # warnings about empty compilation units, so always
33212 # append a reasonable main().
33213 _compile_program="#ifndef _GNU_SOURCE
33214 #define _GNU_SOURCE /* for PTHREAD_MUTEX_INITIALIZER under linux */
33216 #include <pthread.h>
33218 pthread_mutex_t test_mutex_initializer = PTHREAD_MUTEX_INITIALIZER;
33219 int test_mutex (void)
33222 pthread_mutex_t mutex;
33223 x |= pthread_mutex_init (&mutex, NULL);
33224 x |= pthread_mutex_lock (&mutex);
33225 x |= pthread_mutex_unlock (&mutex);
33226 x |= pthread_mutex_destroy (&mutex);
33230 int test_mutex_attr (void)
33233 pthread_mutexattr_t attr;
33234 pthread_mutex_t mutex;
33235 x |= pthread_mutexattr_init (&attr);
33236 x |= pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE);
33237 x |= pthread_mutex_init (&mutex, &attr);
33238 x |= pthread_mutex_lock (&mutex);
33239 x |= pthread_mutex_unlock (&mutex);
33240 x |= pthread_mutex_destroy (&mutex);
33241 x |= pthread_mutexattr_destroy (&attr);
33244 int main(int c, char **v) { (void)c; (void)v; return 0; }'
33246 _save_cflags="$CFLAGS"
33247 _save_ldflags="$LDFLAGS"
33249 CFLAGS="$CFLAGS -D_REENTRANT";
33251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33252 /* end confdefs.h. */
33255 if ac_fn_c_try_link "$LINENO"; then :
33256 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
33259 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
33262 rm -f core conftest.err conftest.$ac_objext \
33263 conftest$ac_exeext conftest.$ac_ext
33265 if test "x$cairo_cc_stderr" != "x"; then
33269 if test "x$cairo_cc_flag" = "xyes"; then
33270 pthread_CFLAGS="-D_REENTRANT";
33278 CFLAGS="$_save_cflags"
33279 LDFLAGS="$_save_ldflags"
33285 if test "x$have_pthread" != "xyes"; then
33286 have_pthread="$have_real_pthread";
33287 pthread_CFLAGS="$real_pthread_CFLAGS";
33288 pthread_LIBS="$real_pthread_LIBS";
33291 if test "x$have_real_pthread" = "xyes"; then
33293 $as_echo "#define CAIRO_HAS_REAL_PTHREAD 1" >>confdefs.h
33296 if test "x$have_pthread" = "xyes"; then
33298 $as_echo "#define CAIRO_HAS_PTHREAD 1" >>confdefs.h
33302 if test "x$enable_pthread" = "xyes" -a "x$have_pthread" != "xyes"; then
33303 as_fn_error $? "pthread requested but not found" "$LINENO" 5
33306 use_pthread="$have_pthread"
33307 pthread_REQUIRES=""
33310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's pthread feature could be enabled" >&5
33311 $as_echo_n "checking whether cairo's pthread feature could be enabled... " >&6; }
33312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_pthread" >&5
33313 $as_echo "$use_pthread" >&6; }
33315 if test "x$enable_pthread" = "xyes" -a "x$use_pthread" != xyes; then :
33316 as_fn_error $? " pthread feature could not be enabled" "$LINENO" 5
33320 as_fn_error $? "invalid argument passed to --enable-pthread: \`$use_pthread', should be one of [no/auto/yes]" "$LINENO" 5
33323 if test "x$use_pthread" = "xyes"; then :
33324 CAIRO_REQUIRES="$pthread_REQUIRES"" ${CAIRO_REQUIRES}"
33326 CAIRO_CFLAGS="$pthread_CFLAGS"" ${CAIRO_CFLAGS}"
33328 CAIRO_NONPKGCONFIG_CFLAGS="$pthread_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
33330 CAIRO_LIBS="$pthread_LIBS"" ${CAIRO_LIBS}"
33332 CAIRO_NONPKGCONFIG_LIBS="$pthread_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
33337 unset pthread_REQUIRES
33338 unset pthread_CFLAGS
33339 unset pthread_NONPKGCONFIG_CFLAGS
33341 unset pthread_NONPKGCONFIG_LIBS
33342 unset pthread_NONPKGCONFIG_EXTRA_LIBS
33347 if test "x$use_pthread" = xyes; then
33348 CAIRO_HAS_PTHREAD_TRUE=
33349 CAIRO_HAS_PTHREAD_FALSE='#'
33351 CAIRO_HAS_PTHREAD_TRUE='#'
33352 CAIRO_HAS_PTHREAD_FALSE=
33356 cr_make_tmp='CAIRO_HAS_PTHREAD=0'
33357 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
33362 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33365 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33368 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33371 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33379 cr_make_tmp='all_cairo_private += $(cairo_pthread_private) $(cairo_pthread_headers)
33380 all_cairo_cxx_sources += $(cairo_pthread_cxx_sources)
33381 all_cairo_sources += $(cairo_pthread_sources)'
33382 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33385 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33387 cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_pthread_private) $(cairo_boilerplate_pthread_headers)
33388 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pthread_cxx_sources)
33389 all_cairo_boilerplate_sources += $(cairo_boilerplate_pthread_sources)'
33390 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33393 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33397 cr_make_tmp='enabled_cairo_private += $(cairo_pthread_private) $(cairo_pthread_headers)
33398 enabled_cairo_cxx_sources += $(cairo_pthread_cxx_sources)
33399 enabled_cairo_sources += $(cairo_pthread_sources)'
33400 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33401 "'if CAIRO_HAS_PTHREAD'
33402 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33404 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33407 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33408 "'ifeq ($(CAIRO_HAS_PTHREAD),1)'
33409 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33411 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33413 cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_pthread_private) $(cairo_boilerplate_pthread_headers)
33414 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pthread_cxx_sources)
33415 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_pthread_sources)'
33416 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33417 "'if CAIRO_HAS_PTHREAD'
33418 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33420 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33423 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33424 "'ifeq ($(CAIRO_HAS_PTHREAD),1)'
33425 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33427 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33438 if test "x$use_pthread" = xyes; then :
33441 $as_echo "#define CAIRO_HAS_PTHREAD 1" >>confdefs.h
33446 cr_make_tmp=' @echo "#define CAIRO_HAS_PTHREAD 1" >> $(top_srcdir)/src/cairo-features.h'
33447 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33448 "'ifeq ($(CAIRO_HAS_PTHREAD),1)'
33449 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33451 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33460 if test "x$use_pthread" = "xyes" -a "x$have_real_pthread" = "xyes"; then
33461 HAVE_REAL_PTHREAD_TRUE=
33462 HAVE_REAL_PTHREAD_FALSE='#'
33464 HAVE_REAL_PTHREAD_TRUE='#'
33465 HAVE_REAL_PTHREAD_FALSE=
33468 if test "x$use_pthread" = "xyes"; then
33470 HAVE_PTHREAD_FALSE='#'
33472 HAVE_PTHREAD_TRUE='#'
33473 HAVE_PTHREAD_FALSE=
33483 # Check whether --enable-gobject was given.
33484 if test "${enable_gobject+set}" = set; then :
33485 enableval=$enable_gobject; enable_gobject=$enableval
33487 enable_gobject=auto
33490 case $enable_gobject in #(
33492 use_gobject="no (disabled, use --enable-gobject to enable)"
33495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's gobject functions feature" >&5
33496 $as_echo_n "checking for cairo's gobject functions feature... " >&6; }
33500 gobject_BASE="cairo"
33501 gobject_REQUIRES="$ac_env_gobject_REQUIRES_value"
33502 gobject_CFLAGS="$ac_env_gobject_CFLAGS_value"
33503 gobject_NONPKGCONFIG_CFLAGS="$ac_env_gobject_NONPKGCONFIG_CFLAGS_value"
33504 gobject_LIBS="$ac_env_gobject_LIBS_value"
33505 gobject_NONPKGCONFIG_LIBS="$ac_env_gobject_NONPKGCONFIG_LIBS_value"
33506 gobject_NONPKGCONFIG_EXTRA_LIBS="$ac_env_gobject_NONPKGCONFIG_EXTRA_LIBS_value"
33510 gobject_REQUIRES="gobject-2.0 glib-2.0"
33513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
33514 $as_echo_n "checking for GOBJECT... " >&6; }
33516 if test -n "$GOBJECT_CFLAGS"; then
33517 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
33518 elif test -n "$PKG_CONFIG"; then
33519 if test -n "$PKG_CONFIG" && \
33520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
33521 ($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
33523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33524 test $ac_status = 0; }; then
33525 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "$gobject_REQUIRES" 2>/dev/null`
33532 if test -n "$GOBJECT_LIBS"; then
33533 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
33534 elif test -n "$PKG_CONFIG"; then
33535 if test -n "$PKG_CONFIG" && \
33536 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
33537 ($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
33539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33540 test $ac_status = 0; }; then
33541 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "$gobject_REQUIRES" 2>/dev/null`
33551 if test $pkg_failed = yes; then
33553 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33554 _pkg_short_errors_supported=yes
33556 _pkg_short_errors_supported=no
33558 if test $_pkg_short_errors_supported = yes; then
33559 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gobject_REQUIRES" 2>&1`
33561 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gobject_REQUIRES" 2>&1`
33563 # Put the nasty error message in config.log where it belongs
33564 echo "$GOBJECT_PKG_ERRORS" >&5
33566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33567 $as_echo "no" >&6; }
33568 use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"
33569 elif test $pkg_failed = untried; then
33570 use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"
33572 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
33573 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
33574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33575 $as_echo "yes" >&6; }
33578 gobject_NONPKGCONFIG_EXTRA_LIBS="-L\${libdir} -lcairo-gobject"
33581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's gobject functions feature could be enabled" >&5
33582 $as_echo_n "checking whether cairo's gobject functions feature could be enabled... " >&6; }
33583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gobject" >&5
33584 $as_echo "$use_gobject" >&6; }
33586 if test "x$enable_gobject" = "xyes" -a "x$use_gobject" != xyes; then :
33587 as_fn_error $? " gobject functions feature could not be enabled" "$LINENO" 5
33591 as_fn_error $? "invalid argument passed to --enable-gobject: \`$use_gobject', should be one of [no/auto/yes]" "$LINENO" 5
33594 if test "x$use_gobject" = "xyes"; then :
33595 CAIRO_REQUIRES="$gobject_REQUIRES"" ${CAIRO_REQUIRES}"
33597 CAIRO_CFLAGS="$gobject_CFLAGS"" ${CAIRO_CFLAGS}"
33599 CAIRO_NONPKGCONFIG_CFLAGS="$gobject_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
33601 CAIRO_LIBS="$gobject_LIBS"" ${CAIRO_LIBS}"
33603 CAIRO_NONPKGCONFIG_LIBS="$gobject_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
33608 unset gobject_REQUIRES
33609 unset gobject_CFLAGS
33610 unset gobject_NONPKGCONFIG_CFLAGS
33612 unset gobject_NONPKGCONFIG_LIBS
33613 unset gobject_NONPKGCONFIG_EXTRA_LIBS
33618 if test "x$use_gobject" = xyes; then
33619 CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE=
33620 CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE='#'
33622 CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE='#'
33623 CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE=
33627 cr_make_tmp='CAIRO_HAS_GOBJECT_FUNCTIONS=0'
33628 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
33633 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33636 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33639 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33642 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33646 cr_make_tmp='supported_cairo_headers += $(cairo_gobject_headers)'
33647 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33650 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33652 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_gobject_headers)'
33653 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33656 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33661 cr_make_tmp='all_cairo_headers += $(cairo_gobject_headers)
33662 all_cairo_private += $(cairo_gobject_private)
33663 all_cairo_cxx_sources += $(cairo_gobject_cxx_sources)
33664 all_cairo_sources += $(cairo_gobject_sources)'
33665 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33668 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33670 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_gobject_headers)
33671 all_cairo_boilerplate_private += $(cairo_boilerplate_gobject_private)
33672 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gobject_cxx_sources)
33673 all_cairo_boilerplate_sources += $(cairo_boilerplate_gobject_sources)'
33674 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33677 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33681 cr_make_tmp='enabled_cairo_headers += $(cairo_gobject_headers)
33682 enabled_cairo_private += $(cairo_gobject_private)
33683 enabled_cairo_cxx_sources += $(cairo_gobject_cxx_sources)
33684 enabled_cairo_sources += $(cairo_gobject_sources)'
33685 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33686 "'if CAIRO_HAS_GOBJECT_FUNCTIONS'
33687 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33689 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33692 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33693 "'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
33694 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33696 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33698 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_gobject_headers)
33699 enabled_cairo_boilerplate_private += $(cairo_boilerplate_gobject_private)
33700 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gobject_cxx_sources)
33701 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_gobject_sources)'
33702 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33703 "'if CAIRO_HAS_GOBJECT_FUNCTIONS'
33704 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33706 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33709 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33710 "'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
33711 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33713 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33719 if test "x$use_gobject" = xyes; then :
33721 ac_config_files="$ac_config_files src/cairo-gobject.pc:src/cairo-features.pc.in"
33725 if test "x$use_gobject" = xyes; then :
33727 ac_config_files="$ac_config_files cairo-gobject-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
33731 cr_make_tmp='all_cairo_pkgconf += cairo-gobject.pc'
33732 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33735 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33739 cr_make_tmp='enabled_cairo_pkgconf += cairo-gobject.pc'
33740 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33741 "'if CAIRO_HAS_GOBJECT_FUNCTIONS'
33742 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33744 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33747 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33748 "'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
33749 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33751 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33755 if test "x$use_gobject" = xyes; then :
33757 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GOBJECT_FUNCTIONS'
33761 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_GOBJECT_FUNCTIONS'
33765 if test "x$use_gobject" != xyes; then :
33767 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_GOBJECT_FUNCTIONS'
33773 cr_make_tmp=' @echo "#define CAIRO_HAS_GOBJECT_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
33774 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33775 "'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
33776 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33778 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33787 if test "x$use_gobject" = "xyes"; then
33790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
33791 $as_echo_n "checking for GOBJECT... " >&6; }
33793 if test -n "$GOBJECT_CFLAGS"; then
33794 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
33795 elif test -n "$PKG_CONFIG"; then
33796 if test -n "$PKG_CONFIG" && \
33797 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
33798 ($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
33800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33801 test $ac_status = 0; }; then
33802 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "$gobject_REQUIRES" 2>/dev/null`
33809 if test -n "$GOBJECT_LIBS"; then
33810 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
33811 elif test -n "$PKG_CONFIG"; then
33812 if test -n "$PKG_CONFIG" && \
33813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
33814 ($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
33816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33817 test $ac_status = 0; }; then
33818 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "$gobject_REQUIRES" 2>/dev/null`
33828 if test $pkg_failed = yes; then
33830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33831 _pkg_short_errors_supported=yes
33833 _pkg_short_errors_supported=no
33835 if test $_pkg_short_errors_supported = yes; then
33836 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gobject_REQUIRES" 2>&1`
33838 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gobject_REQUIRES" 2>&1`
33840 # Put the nasty error message in config.log where it belongs
33841 echo "$GOBJECT_PKG_ERRORS" >&5
33843 as_fn_error $? "Package requirements ($gobject_REQUIRES) were not met:
33845 $GOBJECT_PKG_ERRORS
33847 Consider adjusting the PKG_CONFIG_PATH environment variable if you
33848 installed software in a non-standard prefix.
33850 Alternatively, you may set the environment variables GOBJECT_CFLAGS
33851 and GOBJECT_LIBS to avoid the need to call pkg-config.
33852 See the pkg-config man page for more details.
33854 elif test $pkg_failed = untried; then
33855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33857 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
33858 is in your PATH or set the PKG_CONFIG environment variable to the full
33859 path to pkg-config.
33861 Alternatively, you may set the environment variables GOBJECT_CFLAGS
33862 and GOBJECT_LIBS to avoid the need to call pkg-config.
33863 See the pkg-config man page for more details.
33865 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
33866 See \`config.log' for more details" "$LINENO" 5; }
33868 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
33869 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
33870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33871 $as_echo "yes" >&6; }
33877 # Check whether --enable-full-testing was given.
33878 if test "${enable_full_testing+set}" = set; then :
33879 enableval=$enable_full_testing;
33880 if test "x$enableval" = "xyes"; then
33881 CAIRO_TEST_MODE=full
33888 if test "x$any2ppm_svg" = "xyes" \
33889 -o "x$any2ppm_pdf" = "xyes" \
33890 -o "x$any2ppm_ps" = "xyes" \
33891 -o "x$any2ppm_cs" = "xyes"; then
33892 BUILD_ANY2PPM_TRUE=
33893 BUILD_ANY2PPM_FALSE='#'
33895 BUILD_ANY2PPM_TRUE='#'
33896 BUILD_ANY2PPM_FALSE=
33910 cat >>confdefs.h <<_ACEOF
33911 #define SHARED_LIB_EXT "${SHLIB_EXT}"
33918 *-linux*|*-*bsd*|*-solaris*|*-*-darwin*|*-dragonfly*|*-*-gnu*)
33919 have_ld_preload="yes"
33922 have_ld_preload="no"
33926 # Check whether --enable-trace was given.
33927 if test "${enable_trace+set}" = set; then :
33928 enableval=$enable_trace; enable_trace=$enableval
33933 case $enable_trace in #(
33935 use_trace="no (disabled, use --enable-trace to enable)"
33938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's cairo-trace feature" >&5
33939 $as_echo_n "checking for cairo's cairo-trace feature... " >&6; }
33944 trace_REQUIRES="$ac_env_trace_REQUIRES_value"
33945 trace_CFLAGS="$ac_env_trace_CFLAGS_value"
33946 trace_NONPKGCONFIG_CFLAGS="$ac_env_trace_NONPKGCONFIG_CFLAGS_value"
33947 trace_LIBS="$ac_env_trace_LIBS_value"
33948 trace_NONPKGCONFIG_LIBS="$ac_env_trace_NONPKGCONFIG_LIBS_value"
33949 trace_NONPKGCONFIG_EXTRA_LIBS="$ac_env_trace_NONPKGCONFIG_EXTRA_LIBS_value"
33953 if test "x$have_ld_preload" != "xyes" -o \
33954 "x$have_libz" != "xyes" -o \
33955 "x$have_real_pthread" != "xyes" -o \
33956 "x$have_dlsym" != "xyes"; then
33957 use_trace="no (requires dynamic linker and zlib and real pthreads)"
33961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's cairo-trace feature could be enabled" >&5
33962 $as_echo_n "checking whether cairo's cairo-trace feature could be enabled... " >&6; }
33963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_trace" >&5
33964 $as_echo "$use_trace" >&6; }
33966 if test "x$enable_trace" = "xyes" -a "x$use_trace" != xyes; then :
33967 as_fn_error $? " cairo-trace feature could not be enabled" "$LINENO" 5
33971 as_fn_error $? "invalid argument passed to --enable-trace: \`$use_trace', should be one of [no/auto/yes]" "$LINENO" 5
33974 if test "x$use_trace" = "xyes"; then :
33975 CAIRO_REQUIRES="$trace_REQUIRES"" ${CAIRO_REQUIRES}"
33977 CAIRO_CFLAGS="$trace_CFLAGS"" ${CAIRO_CFLAGS}"
33979 CAIRO_NONPKGCONFIG_CFLAGS="$trace_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
33981 CAIRO_LIBS="$trace_LIBS"" ${CAIRO_LIBS}"
33983 CAIRO_NONPKGCONFIG_LIBS="$trace_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
33988 unset trace_REQUIRES
33990 unset trace_NONPKGCONFIG_CFLAGS
33992 unset trace_NONPKGCONFIG_LIBS
33993 unset trace_NONPKGCONFIG_EXTRA_LIBS
33998 if test "x$use_trace" = xyes; then
33999 CAIRO_HAS_TRACE_TRUE=
34000 CAIRO_HAS_TRACE_FALSE='#'
34002 CAIRO_HAS_TRACE_TRUE='#'
34003 CAIRO_HAS_TRACE_FALSE=
34007 cr_make_tmp='CAIRO_HAS_TRACE=0'
34008 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
34013 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34016 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34019 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34022 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34030 cr_make_tmp='all_cairo_private += $(cairo_trace_private) $(cairo_trace_headers)
34031 all_cairo_cxx_sources += $(cairo_trace_cxx_sources)
34032 all_cairo_sources += $(cairo_trace_sources)'
34033 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34036 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34038 cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_trace_private) $(cairo_boilerplate_trace_headers)
34039 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_trace_cxx_sources)
34040 all_cairo_boilerplate_sources += $(cairo_boilerplate_trace_sources)'
34041 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34044 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34048 cr_make_tmp='enabled_cairo_private += $(cairo_trace_private) $(cairo_trace_headers)
34049 enabled_cairo_cxx_sources += $(cairo_trace_cxx_sources)
34050 enabled_cairo_sources += $(cairo_trace_sources)'
34051 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34052 "'if CAIRO_HAS_TRACE'
34053 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34055 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34058 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34059 "'ifeq ($(CAIRO_HAS_TRACE),1)'
34060 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34062 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34064 cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_trace_private) $(cairo_boilerplate_trace_headers)
34065 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_trace_cxx_sources)
34066 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_trace_sources)'
34067 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34068 "'if CAIRO_HAS_TRACE'
34069 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34071 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34074 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34075 "'ifeq ($(CAIRO_HAS_TRACE),1)'
34076 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34078 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34089 if test "x$use_trace" = xyes; then :
34092 $as_echo "#define CAIRO_HAS_TRACE 1" >>confdefs.h
34097 cr_make_tmp=' @echo "#define CAIRO_HAS_TRACE 1" >> $(top_srcdir)/src/cairo-features.h'
34098 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34099 "'ifeq ($(CAIRO_HAS_TRACE),1)'
34100 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34102 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34112 # Check whether --enable-interpreter was given.
34113 if test "${enable_interpreter+set}" = set; then :
34114 enableval=$enable_interpreter; enable_interpreter=$enableval
34116 enable_interpreter=yes
34119 case $enable_interpreter in #(
34121 use_interpreter="no (disabled, use --enable-interpreter to enable)"
34124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's cairo-script-interpreter feature" >&5
34125 $as_echo_n "checking for cairo's cairo-script-interpreter feature... " >&6; }
34128 use_interpreter=yes
34129 interpreter_BASE="cairo"
34130 interpreter_REQUIRES="$ac_env_interpreter_REQUIRES_value"
34131 interpreter_CFLAGS="$ac_env_interpreter_CFLAGS_value"
34132 interpreter_NONPKGCONFIG_CFLAGS="$ac_env_interpreter_NONPKGCONFIG_CFLAGS_value"
34133 interpreter_LIBS="$ac_env_interpreter_LIBS_value"
34134 interpreter_NONPKGCONFIG_LIBS="$ac_env_interpreter_NONPKGCONFIG_LIBS_value"
34135 interpreter_NONPKGCONFIG_EXTRA_LIBS="$ac_env_interpreter_NONPKGCONFIG_EXTRA_LIBS_value"
34139 if test "x$have_libz" != "xyes"; then
34140 use_interpreter="no (requires zlib)"
34144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's cairo-script-interpreter feature could be enabled" >&5
34145 $as_echo_n "checking whether cairo's cairo-script-interpreter feature could be enabled... " >&6; }
34146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_interpreter" >&5
34147 $as_echo "$use_interpreter" >&6; }
34149 if test "x$enable_interpreter" = "xyes" -a "x$use_interpreter" != xyes; then :
34150 as_fn_error $? "recommended cairo-script-interpreter feature could not be enabled" "$LINENO" 5
34154 as_fn_error $? "invalid argument passed to --enable-interpreter: \`$use_interpreter', should be one of [no/auto/yes]" "$LINENO" 5
34157 if test "x$use_interpreter" = "xyes"; then :
34158 CAIRO_REQUIRES="$interpreter_REQUIRES"" ${CAIRO_REQUIRES}"
34160 CAIRO_CFLAGS="$interpreter_CFLAGS"" ${CAIRO_CFLAGS}"
34162 CAIRO_NONPKGCONFIG_CFLAGS="$interpreter_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
34164 CAIRO_LIBS="$interpreter_LIBS"" ${CAIRO_LIBS}"
34166 CAIRO_NONPKGCONFIG_LIBS="$interpreter_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
34170 unset interpreter_BASE
34171 unset interpreter_REQUIRES
34172 unset interpreter_CFLAGS
34173 unset interpreter_NONPKGCONFIG_CFLAGS
34174 unset interpreter_LIBS
34175 unset interpreter_NONPKGCONFIG_LIBS
34176 unset interpreter_NONPKGCONFIG_EXTRA_LIBS
34181 if test "x$use_interpreter" = xyes; then
34182 CAIRO_HAS_INTERPRETER_TRUE=
34183 CAIRO_HAS_INTERPRETER_FALSE='#'
34185 CAIRO_HAS_INTERPRETER_TRUE='#'
34186 CAIRO_HAS_INTERPRETER_FALSE=
34190 cr_make_tmp='CAIRO_HAS_INTERPRETER=1'
34191 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
34196 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34199 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34202 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34205 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34213 cr_make_tmp='all_cairo_private += $(cairo_interpreter_private) $(cairo_interpreter_headers)
34214 all_cairo_cxx_sources += $(cairo_interpreter_cxx_sources)
34215 all_cairo_sources += $(cairo_interpreter_sources)'
34216 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34219 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34221 cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_interpreter_private) $(cairo_boilerplate_interpreter_headers)
34222 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_interpreter_cxx_sources)
34223 all_cairo_boilerplate_sources += $(cairo_boilerplate_interpreter_sources)'
34224 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34227 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34231 cr_make_tmp='enabled_cairo_private += $(cairo_interpreter_private) $(cairo_interpreter_headers)
34232 enabled_cairo_cxx_sources += $(cairo_interpreter_cxx_sources)
34233 enabled_cairo_sources += $(cairo_interpreter_sources)'
34234 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34235 "'if CAIRO_HAS_INTERPRETER'
34236 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34238 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34241 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34242 "'ifeq ($(CAIRO_HAS_INTERPRETER),1)'
34243 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34245 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34247 cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_interpreter_private) $(cairo_boilerplate_interpreter_headers)
34248 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_interpreter_cxx_sources)
34249 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_interpreter_sources)'
34250 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34251 "'if CAIRO_HAS_INTERPRETER'
34252 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34254 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34257 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34258 "'ifeq ($(CAIRO_HAS_INTERPRETER),1)'
34259 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34261 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34272 if test "x$use_interpreter" = xyes; then :
34275 $as_echo "#define CAIRO_HAS_INTERPRETER 1" >>confdefs.h
34280 cr_make_tmp=' @echo "#define CAIRO_HAS_INTERPRETER 1" >> $(top_srcdir)/src/cairo-features.h'
34281 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34282 "'ifeq ($(CAIRO_HAS_INTERPRETER),1)'
34283 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34285 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34290 if test "x$use_interpreter" != xyes; then :
34292 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
34294 "'+++ It is strongly recommended that you do NOT disable the
34295 +++ cairo-script-interpreter feature.'
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd_openr in -lbfd" >&5
34305 $as_echo_n "checking for bfd_openr in -lbfd... " >&6; }
34306 if ${ac_cv_lib_bfd_bfd_openr+:} false; then :
34307 $as_echo_n "(cached) " >&6
34309 ac_check_lib_save_LIBS=$LIBS
34311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34312 /* end confdefs.h. */
34314 /* Override any GCC internal prototype to avoid an error.
34315 Use char because int might match the return type of a GCC
34316 builtin and then its argument prototype would still apply. */
34324 return bfd_openr ();
34329 if ac_fn_c_try_link "$LINENO"; then :
34330 ac_cv_lib_bfd_bfd_openr=yes
34332 ac_cv_lib_bfd_bfd_openr=no
34334 rm -f core conftest.err conftest.$ac_objext \
34335 conftest$ac_exeext conftest.$ac_ext
34336 LIBS=$ac_check_lib_save_LIBS
34338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfd_bfd_openr" >&5
34339 $as_echo "$ac_cv_lib_bfd_bfd_openr" >&6; }
34340 if test "x$ac_cv_lib_bfd_bfd_openr" = xyes; then :
34341 ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
34342 if test "x$ac_cv_header_bfd_h" = xyes; then :
34353 ac_fn_c_check_header_mongrel "$LINENO" "libiberty.h" "ac_cv_header_libiberty_h" "$ac_includes_default"
34354 if test "x$ac_cv_header_libiberty_h" = xyes; then :
34361 if test "x$have_bfd" = "xyes"; then
34363 $as_echo "#define HAVE_BFD 1" >>confdefs.h
34369 # Check whether --enable-symbol-lookup was given.
34370 if test "${enable_symbol_lookup+set}" = set; then :
34371 enableval=$enable_symbol_lookup; enable_symbol_lookup=$enableval
34373 enable_symbol_lookup=auto
34376 case $enable_symbol_lookup in #(
34378 use_symbol_lookup="no (disabled, use --enable-symbol-lookup to enable)"
34381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's symbol-lookup feature" >&5
34382 $as_echo_n "checking for cairo's symbol-lookup feature... " >&6; }
34385 use_symbol_lookup=yes
34386 symbol_lookup_BASE="cairo"
34387 symbol_lookup_REQUIRES="$ac_env_symbol_lookup_REQUIRES_value"
34388 symbol_lookup_CFLAGS="$ac_env_symbol_lookup_CFLAGS_value"
34389 symbol_lookup_NONPKGCONFIG_CFLAGS="$ac_env_symbol_lookup_NONPKGCONFIG_CFLAGS_value"
34390 symbol_lookup_LIBS="$ac_env_symbol_lookup_LIBS_value"
34391 symbol_lookup_NONPKGCONFIG_LIBS="$ac_env_symbol_lookup_NONPKGCONFIG_LIBS_value"
34392 symbol_lookup_NONPKGCONFIG_EXTRA_LIBS="$ac_env_symbol_lookup_NONPKGCONFIG_EXTRA_LIBS_value"
34396 if test "x$have_bfd" != "xyes"; then
34397 use_symbol_lookup="no (requires bfd)"
34401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's symbol-lookup feature could be enabled" >&5
34402 $as_echo_n "checking whether cairo's symbol-lookup feature could be enabled... " >&6; }
34403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_symbol_lookup" >&5
34404 $as_echo "$use_symbol_lookup" >&6; }
34406 if test "x$enable_symbol_lookup" = "xyes" -a "x$use_symbol_lookup" != xyes; then :
34407 as_fn_error $? " symbol-lookup feature could not be enabled" "$LINENO" 5
34411 as_fn_error $? "invalid argument passed to --enable-symbol-lookup: \`$use_symbol_lookup', should be one of [no/auto/yes]" "$LINENO" 5
34414 if test "x$use_symbol_lookup" = "xyes"; then :
34415 CAIRO_REQUIRES="$symbol_lookup_REQUIRES"" ${CAIRO_REQUIRES}"
34417 CAIRO_CFLAGS="$symbol_lookup_CFLAGS"" ${CAIRO_CFLAGS}"
34419 CAIRO_NONPKGCONFIG_CFLAGS="$symbol_lookup_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
34421 CAIRO_LIBS="$symbol_lookup_LIBS"" ${CAIRO_LIBS}"
34423 CAIRO_NONPKGCONFIG_LIBS="$symbol_lookup_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
34427 unset symbol_lookup_BASE
34428 unset symbol_lookup_REQUIRES
34429 unset symbol_lookup_CFLAGS
34430 unset symbol_lookup_NONPKGCONFIG_CFLAGS
34431 unset symbol_lookup_LIBS
34432 unset symbol_lookup_NONPKGCONFIG_LIBS
34433 unset symbol_lookup_NONPKGCONFIG_EXTRA_LIBS
34438 if test "x$use_symbol_lookup" = xyes; then
34439 CAIRO_HAS_SYMBOL_LOOKUP_TRUE=
34440 CAIRO_HAS_SYMBOL_LOOKUP_FALSE='#'
34442 CAIRO_HAS_SYMBOL_LOOKUP_TRUE='#'
34443 CAIRO_HAS_SYMBOL_LOOKUP_FALSE=
34447 cr_make_tmp='CAIRO_HAS_SYMBOL_LOOKUP=0'
34448 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
34453 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34456 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34459 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34462 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34470 cr_make_tmp='all_cairo_private += $(cairo_symbol_lookup_private) $(cairo_symbol_lookup_headers)
34471 all_cairo_cxx_sources += $(cairo_symbol_lookup_cxx_sources)
34472 all_cairo_sources += $(cairo_symbol_lookup_sources)'
34473 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34476 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34478 cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_symbol_lookup_private) $(cairo_boilerplate_symbol_lookup_headers)
34479 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_symbol_lookup_cxx_sources)
34480 all_cairo_boilerplate_sources += $(cairo_boilerplate_symbol_lookup_sources)'
34481 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34484 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34488 cr_make_tmp='enabled_cairo_private += $(cairo_symbol_lookup_private) $(cairo_symbol_lookup_headers)
34489 enabled_cairo_cxx_sources += $(cairo_symbol_lookup_cxx_sources)
34490 enabled_cairo_sources += $(cairo_symbol_lookup_sources)'
34491 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34492 "'if CAIRO_HAS_SYMBOL_LOOKUP'
34493 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34495 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34498 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34499 "'ifeq ($(CAIRO_HAS_SYMBOL_LOOKUP),1)'
34500 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34502 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34504 cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_symbol_lookup_private) $(cairo_boilerplate_symbol_lookup_headers)
34505 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_symbol_lookup_cxx_sources)
34506 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_symbol_lookup_sources)'
34507 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34508 "'if CAIRO_HAS_SYMBOL_LOOKUP'
34509 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34511 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34514 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34515 "'ifeq ($(CAIRO_HAS_SYMBOL_LOOKUP),1)'
34516 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34518 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34529 if test "x$use_symbol_lookup" = xyes; then :
34532 $as_echo "#define CAIRO_HAS_SYMBOL_LOOKUP 1" >>confdefs.h
34537 cr_make_tmp=' @echo "#define CAIRO_HAS_SYMBOL_LOOKUP 1" >> $(top_srcdir)/src/cairo-features.h'
34538 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34539 "'ifeq ($(CAIRO_HAS_SYMBOL_LOOKUP),1)'
34540 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34542 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib" >&5
34555 $as_echo_n "checking for glib... " >&6; }
34557 if test -n "$glib_CFLAGS"; then
34558 pkg_cv_glib_CFLAGS="$glib_CFLAGS"
34559 elif test -n "$PKG_CONFIG"; then
34560 if test -n "$PKG_CONFIG" && \
34561 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
34562 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
34564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34565 test $ac_status = 0; }; then
34566 pkg_cv_glib_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
34573 if test -n "$glib_LIBS"; then
34574 pkg_cv_glib_LIBS="$glib_LIBS"
34575 elif test -n "$PKG_CONFIG"; then
34576 if test -n "$PKG_CONFIG" && \
34577 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
34578 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
34580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34581 test $ac_status = 0; }; then
34582 pkg_cv_glib_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
34592 if test $pkg_failed = yes; then
34594 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34595 _pkg_short_errors_supported=yes
34597 _pkg_short_errors_supported=no
34599 if test $_pkg_short_errors_supported = yes; then
34600 glib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
34602 glib_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
34604 # Put the nasty error message in config.log where it belongs
34605 echo "$glib_PKG_ERRORS" >&5
34607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34608 $as_echo "no" >&6; }
34610 elif test $pkg_failed = untried; then
34613 glib_CFLAGS=$pkg_cv_glib_CFLAGS
34614 glib_LIBS=$pkg_cv_glib_LIBS
34615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34616 $as_echo "yes" >&6; }
34621 if test "x$have_glib" = "xyes"; then
34623 BUILD_SPHINX_FALSE='#'
34625 BUILD_SPHINX_TRUE='#'
34626 BUILD_SPHINX_FALSE=
34631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
34632 $as_echo_n "checking for shm_open in -lrt... " >&6; }
34633 if ${ac_cv_lib_rt_shm_open+:} false; then :
34634 $as_echo_n "(cached) " >&6
34636 ac_check_lib_save_LIBS=$LIBS
34638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34639 /* end confdefs.h. */
34641 /* Override any GCC internal prototype to avoid an error.
34642 Use char because int might match the return type of a GCC
34643 builtin and then its argument prototype would still apply. */
34651 return shm_open ();
34656 if ac_fn_c_try_link "$LINENO"; then :
34657 ac_cv_lib_rt_shm_open=yes
34659 ac_cv_lib_rt_shm_open=no
34661 rm -f core conftest.err conftest.$ac_objext \
34662 conftest$ac_exeext conftest.$ac_ext
34663 LIBS=$ac_check_lib_save_LIBS
34665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
34666 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
34667 if test "x$ac_cv_lib_rt_shm_open" = xyes; then :
34675 # Check whether --enable-some-floating-point was given.
34676 if test "${enable_some_floating_point+set}" = set; then :
34677 enableval=$enable_some_floating_point;
34678 if test "x$enableval" = "xno"; then
34679 # A value of 'no' for $enableval means that they want to disable, which
34680 # means 'yes' for $disable_some_floating_point.
34681 disable_some_floating_point=yes
34685 disable_some_floating_point=no
34689 if test "x$disable_some_floating_point" = "xyes"; then
34690 DISABLE_SOME_FLOATING_POINT_TRUE=
34691 DISABLE_SOME_FLOATING_POINT_FALSE='#'
34693 DISABLE_SOME_FLOATING_POINT_TRUE='#'
34694 DISABLE_SOME_FLOATING_POINT_FALSE=
34697 if test "x$disable_some_floating_point" = "xyes"; then
34699 $as_echo "#define DISABLE_SOME_FLOATING_POINT 1" >>confdefs.h
34705 if test "x$use_skia" = "xyes"; then :
34708 if test "x$use_qt" = "xyes"; then :
34711 if test "x$use_beos" = "xyes"; then :
34715 if test "x$need_cxx" = "xyes"; then
34717 BUILD_CXX_FALSE='#'
34725 # We use GTK+ for some utility/debugging tools
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
34729 $as_echo_n "checking for gtk... " >&6; }
34731 if test -n "$gtk_CFLAGS"; then
34732 pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
34733 elif test -n "$PKG_CONFIG"; then
34734 if test -n "$PKG_CONFIG" && \
34735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0\"\""; } >&5
34736 ($PKG_CONFIG --exists --print-errors ""gtk+-2.0"") 2>&5
34738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34739 test $ac_status = 0; }; then
34740 pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags ""gtk+-2.0"" 2>/dev/null`
34747 if test -n "$gtk_LIBS"; then
34748 pkg_cv_gtk_LIBS="$gtk_LIBS"
34749 elif test -n "$PKG_CONFIG"; then
34750 if test -n "$PKG_CONFIG" && \
34751 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0\"\""; } >&5
34752 ($PKG_CONFIG --exists --print-errors ""gtk+-2.0"") 2>&5
34754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34755 test $ac_status = 0; }; then
34756 pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs ""gtk+-2.0"" 2>/dev/null`
34766 if test $pkg_failed = yes; then
34768 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34769 _pkg_short_errors_supported=yes
34771 _pkg_short_errors_supported=no
34773 if test $_pkg_short_errors_supported = yes; then
34774 gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors ""gtk+-2.0"" 2>&1`
34776 gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors ""gtk+-2.0"" 2>&1`
34778 # Put the nasty error message in config.log where it belongs
34779 echo "$gtk_PKG_ERRORS" >&5
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34782 $as_echo "no" >&6; }
34784 elif test $pkg_failed = untried; then
34787 gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
34788 gtk_LIBS=$pkg_cv_gtk_LIBS
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34790 $as_echo "yes" >&6; }
34793 if test "x$have_gtk" = "xyes"; then
34802 ac_config_files="$ac_config_files Makefile boilerplate/Makefile src/Makefile test/Makefile test/pdiff/Makefile perf/Makefile perf/micro/Makefile util/Makefile util/cairo-fdr/Makefile util/cairo-gobject/Makefile util/cairo-missing/Makefile util/cairo-script/Makefile util/cairo-script/examples/Makefile util/cairo-sphinx/Makefile util/cairo-trace/Makefile util/cairo-trace/cairo-trace doc/Makefile doc/public/Makefile"
34805 cat >confcache <<\_ACEOF
34806 # This file is a shell script that caches the results of configure
34807 # tests run on this system so they can be shared between configure
34808 # scripts and configure runs, see configure's option --config-cache.
34809 # It is not useful on other systems. If it contains results you don't
34810 # want to keep, you may remove or edit it.
34812 # config.status only pays attention to the cache file if you give it
34813 # the --recheck option to rerun configure.
34815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34817 # following values.
34821 # The following way of writing the cache mishandles newlines in values,
34822 # but we know of no workaround that is simple, portable, and efficient.
34823 # So, we kill variables containing newlines.
34824 # Ultrix sh set writes to stderr and can't be redirected directly,
34825 # and sets the high bit in the cache file unless we assign to the vars.
34827 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34828 eval ac_val=\$$ac_var
34832 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
34833 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
34836 _ | IFS | as_nl) ;; #(
34837 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
34838 *) { eval $ac_var=; unset $ac_var;} ;;
34844 case $as_nl`(ac_space=' '; set) 2>&1` in #(
34845 *${as_nl}ac_space=\ *)
34846 # `set' does not quote correctly, so add quotes: double-quote
34847 # substitution turns \\\\ into \\, and sed turns \\ into \.
34850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34853 # `set' quotes correctly as required by POSIX, so do not add quotes.
34854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
34863 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34865 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34867 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
34868 if test -w "$cache_file"; then
34869 if test "x$cache_file" != "x/dev/null"; then
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
34871 $as_echo "$as_me: updating cache $cache_file" >&6;}
34872 if test ! -f "$cache_file" || test -h "$cache_file"; then
34873 cat confcache >"$cache_file"
34875 case $cache_file in #(
34877 mv -f confcache "$cache_file"$$ &&
34878 mv -f "$cache_file"$$ "$cache_file" ;; #(
34880 mv -f confcache "$cache_file" ;;
34885 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
34886 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
34891 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34892 # Let make expand exec_prefix.
34893 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34895 DEFS=-DHAVE_CONFIG_H
34900 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34901 # 1. Remove the extension, and $U if already installed.
34902 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
34903 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
34904 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
34905 # will be set to the directory where LIBOBJS objects are built.
34906 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
34907 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
34909 LIBOBJS=$ac_libobjs
34911 LTLIBOBJS=$ac_ltlibobjs
34914 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34915 as_fn_error $? "conditional \"AMDEP\" was never defined.
34916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34918 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34919 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
34920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34922 if test -n "$EXEEXT"; then
34924 am__EXEEXT_FALSE='#'
34926 am__EXEEXT_TRUE='#'
34930 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
34931 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
34932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34934 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
34935 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
34936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34938 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
34939 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
34940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34942 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
34943 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
34944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34946 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
34947 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
34948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34950 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
34951 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
34952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34954 CAIRO_CFLAGS="$CAIRO_CFLAGS $CAIRO_NONPKGCONFIG_CFLAGS"
34955 CAIRO_LIBS="$CAIRO_LIBS $CAIRO_NONPKGCONFIG_LIBS"
34957 cr_make_tmp=' @echo "#endif" >> $(top_srcdir)/src/cairo-features.h'
34958 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34963 if test -z "$CAIRO_NATIVE_SURFACE_BACKENDS"; then :
34964 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
34966 "'*** No native surface backends enabled for your platform. It is strongly
34967 *** recommended that you enable the native surface backend feature for your
34972 if test -z "$CAIRO_NATIVE_FONT_BACKENDS"; then :
34973 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
34975 "'*** No native font backends enabled for your platform. It is strongly
34976 *** recommended that you enable the native font backend feature for your
34982 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
34983 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
34984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34987 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
34988 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
34989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34991 if test -z "${HAVE_SHM_TRUE}" && test -z "${HAVE_SHM_FALSE}"; then
34992 as_fn_error $? "conditional \"HAVE_SHM\" was never defined.
34993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34995 if test -z "${CAIRO_HAS_LCOV_TRUE}" && test -z "${CAIRO_HAS_LCOV_FALSE}"; then
34996 as_fn_error $? "conditional \"CAIRO_HAS_LCOV\" was never defined.
34997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34999 if test -z "${CAIRO_HAS_DL_TRUE}" && test -z "${CAIRO_HAS_DL_FALSE}"; then
35000 as_fn_error $? "conditional \"CAIRO_HAS_DL\" was never defined.
35001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35003 if test -z "${CAIRO_HAS_DLSYM_TRUE}" && test -z "${CAIRO_HAS_DLSYM_FALSE}"; then
35004 as_fn_error $? "conditional \"CAIRO_HAS_DLSYM\" was never defined.
35005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35007 if test -z "${CAIRO_HAS_XLIB_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XLIB_SURFACE_FALSE}"; then
35008 as_fn_error $? "conditional \"CAIRO_HAS_XLIB_SURFACE\" was never defined.
35009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35011 if test -z "${CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE}"; then
35012 as_fn_error $? "conditional \"CAIRO_HAS_XLIB_XRENDER_SURFACE\" was never defined.
35013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35015 if test -z "${CAIRO_HAS_XCB_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XCB_SURFACE_FALSE}"; then
35016 as_fn_error $? "conditional \"CAIRO_HAS_XCB_SURFACE\" was never defined.
35017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35019 if test -z "${CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE}"; then
35020 as_fn_error $? "conditional \"CAIRO_HAS_XLIB_XCB_FUNCTIONS\" was never defined.
35021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35023 if test -z "${CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE}"; then
35024 as_fn_error $? "conditional \"CAIRO_HAS_XCB_SHM_FUNCTIONS\" was never defined.
35025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35027 if test -z "${CAIRO_HAS_QT_SURFACE_TRUE}" && test -z "${CAIRO_HAS_QT_SURFACE_FALSE}"; then
35028 as_fn_error $? "conditional \"CAIRO_HAS_QT_SURFACE\" was never defined.
35029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35031 if test -z "${CAIRO_HAS_QUARTZ_SURFACE_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_SURFACE_FALSE}"; then
35032 as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_SURFACE\" was never defined.
35033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35035 if test -z "${CAIRO_HAS_QUARTZ_FONT_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_FONT_FALSE}"; then
35036 as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_FONT\" was never defined.
35037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35039 if test -z "${CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE}"; then
35040 as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_IMAGE_SURFACE\" was never defined.
35041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35043 if test -z "${CAIRO_HAS_WIN32_SURFACE_TRUE}" && test -z "${CAIRO_HAS_WIN32_SURFACE_FALSE}"; then
35044 as_fn_error $? "conditional \"CAIRO_HAS_WIN32_SURFACE\" was never defined.
35045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35047 if test -z "${CAIRO_HAS_WIN32_FONT_TRUE}" && test -z "${CAIRO_HAS_WIN32_FONT_FALSE}"; then
35048 as_fn_error $? "conditional \"CAIRO_HAS_WIN32_FONT\" was never defined.
35049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35051 if test -z "${CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE}"; then
35052 as_fn_error $? "conditional \"CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE\" was never defined.
35053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35055 if test -z "${CAIRO_HAS_SKIA_SURFACE_TRUE}" && test -z "${CAIRO_HAS_SKIA_SURFACE_FALSE}"; then
35056 as_fn_error $? "conditional \"CAIRO_HAS_SKIA_SURFACE\" was never defined.
35057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35059 if test -z "${CAIRO_HAS_OS2_SURFACE_TRUE}" && test -z "${CAIRO_HAS_OS2_SURFACE_FALSE}"; then
35060 as_fn_error $? "conditional \"CAIRO_HAS_OS2_SURFACE\" was never defined.
35061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35063 if test -z "${CAIRO_HAS_BEOS_SURFACE_TRUE}" && test -z "${CAIRO_HAS_BEOS_SURFACE_FALSE}"; then
35064 as_fn_error $? "conditional \"CAIRO_HAS_BEOS_SURFACE\" was never defined.
35065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35067 if test -z "${CAIRO_HAS_DRM_SURFACE_TRUE}" && test -z "${CAIRO_HAS_DRM_SURFACE_FALSE}"; then
35068 as_fn_error $? "conditional \"CAIRO_HAS_DRM_SURFACE\" was never defined.
35069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35071 if test -z "${CAIRO_HAS_GALLIUM_SURFACE_TRUE}" && test -z "${CAIRO_HAS_GALLIUM_SURFACE_FALSE}"; then
35072 as_fn_error $? "conditional \"CAIRO_HAS_GALLIUM_SURFACE\" was never defined.
35073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35075 if test -z "${CAIRO_HAS_PNG_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_PNG_FUNCTIONS_FALSE}"; then
35076 as_fn_error $? "conditional \"CAIRO_HAS_PNG_FUNCTIONS\" was never defined.
35077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35079 if test -z "${CAIRO_HAS_GL_SURFACE_TRUE}" && test -z "${CAIRO_HAS_GL_SURFACE_FALSE}"; then
35080 as_fn_error $? "conditional \"CAIRO_HAS_GL_SURFACE\" was never defined.
35081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35083 if test -z "${CAIRO_HAS_GLESV2_SURFACE_TRUE}" && test -z "${CAIRO_HAS_GLESV2_SURFACE_FALSE}"; then
35084 as_fn_error $? "conditional \"CAIRO_HAS_GLESV2_SURFACE\" was never defined.
35085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35087 if test -z "${CAIRO_HAS_COGL_SURFACE_TRUE}" && test -z "${CAIRO_HAS_COGL_SURFACE_FALSE}"; then
35088 as_fn_error $? "conditional \"CAIRO_HAS_COGL_SURFACE\" was never defined.
35089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35091 if test -z "${CAIRO_HAS_DIRECTFB_SURFACE_TRUE}" && test -z "${CAIRO_HAS_DIRECTFB_SURFACE_FALSE}"; then
35092 as_fn_error $? "conditional \"CAIRO_HAS_DIRECTFB_SURFACE\" was never defined.
35093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35095 if test -z "${CAIRO_HAS_VG_SURFACE_TRUE}" && test -z "${CAIRO_HAS_VG_SURFACE_FALSE}"; then
35096 as_fn_error $? "conditional \"CAIRO_HAS_VG_SURFACE\" was never defined.
35097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35099 if test -z "${CAIRO_HAS_EGL_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_EGL_FUNCTIONS_FALSE}"; then
35100 as_fn_error $? "conditional \"CAIRO_HAS_EGL_FUNCTIONS\" was never defined.
35101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35103 if test -z "${CAIRO_HAS_GLX_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_GLX_FUNCTIONS_FALSE}"; then
35104 as_fn_error $? "conditional \"CAIRO_HAS_GLX_FUNCTIONS\" was never defined.
35105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35107 if test -z "${CAIRO_HAS_WGL_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_WGL_FUNCTIONS_FALSE}"; then
35108 as_fn_error $? "conditional \"CAIRO_HAS_WGL_FUNCTIONS\" was never defined.
35109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35111 if test -z "${CAIRO_HAS_SCRIPT_SURFACE_TRUE}" && test -z "${CAIRO_HAS_SCRIPT_SURFACE_FALSE}"; then
35112 as_fn_error $? "conditional \"CAIRO_HAS_SCRIPT_SURFACE\" was never defined.
35113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35115 if test -z "${CAIRO_HAS_FT_FONT_TRUE}" && test -z "${CAIRO_HAS_FT_FONT_FALSE}"; then
35116 as_fn_error $? "conditional \"CAIRO_HAS_FT_FONT\" was never defined.
35117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35119 if test -z "${CAIRO_HAS_FC_FONT_TRUE}" && test -z "${CAIRO_HAS_FC_FONT_FALSE}"; then
35120 as_fn_error $? "conditional \"CAIRO_HAS_FC_FONT\" was never defined.
35121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35123 if test -z "${CAIRO_HAS_PS_SURFACE_TRUE}" && test -z "${CAIRO_HAS_PS_SURFACE_FALSE}"; then
35124 as_fn_error $? "conditional \"CAIRO_HAS_PS_SURFACE\" was never defined.
35125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35127 if test -z "${CAIRO_CAN_TEST_PS_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_PS_SURFACE_FALSE}"; then
35128 as_fn_error $? "conditional \"CAIRO_CAN_TEST_PS_SURFACE\" was never defined.
35129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35131 if test -z "${CAIRO_HAS_SPECTRE_TRUE}" && test -z "${CAIRO_HAS_SPECTRE_FALSE}"; then
35132 as_fn_error $? "conditional \"CAIRO_HAS_SPECTRE\" was never defined.
35133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35135 if test -z "${CAIRO_HAS_PDF_SURFACE_TRUE}" && test -z "${CAIRO_HAS_PDF_SURFACE_FALSE}"; then
35136 as_fn_error $? "conditional \"CAIRO_HAS_PDF_SURFACE\" was never defined.
35137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35139 if test -z "${CAIRO_CAN_TEST_PDF_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_PDF_SURFACE_FALSE}"; then
35140 as_fn_error $? "conditional \"CAIRO_CAN_TEST_PDF_SURFACE\" was never defined.
35141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35143 if test -z "${CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE}" && test -z "${CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE}"; then
35144 as_fn_error $? "conditional \"CAIRO_HAS_MULTI_PAGE_SURFACES\" was never defined.
35145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35147 if test -z "${CAIRO_HAS_SVG_SURFACE_TRUE}" && test -z "${CAIRO_HAS_SVG_SURFACE_FALSE}"; then
35148 as_fn_error $? "conditional \"CAIRO_HAS_SVG_SURFACE\" was never defined.
35149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35151 if test -z "${CAIRO_CAN_TEST_SVG_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_SVG_SURFACE_FALSE}"; then
35152 as_fn_error $? "conditional \"CAIRO_CAN_TEST_SVG_SURFACE\" was never defined.
35153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35155 if test -z "${CAIRO_HAS_TEST_SURFACES_TRUE}" && test -z "${CAIRO_HAS_TEST_SURFACES_FALSE}"; then
35156 as_fn_error $? "conditional \"CAIRO_HAS_TEST_SURFACES\" was never defined.
35157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35159 if test -z "${CAIRO_HAS_TEE_SURFACE_TRUE}" && test -z "${CAIRO_HAS_TEE_SURFACE_FALSE}"; then
35160 as_fn_error $? "conditional \"CAIRO_HAS_TEE_SURFACE\" was never defined.
35161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35163 if test -z "${CAIRO_HAS_XML_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XML_SURFACE_FALSE}"; then
35164 as_fn_error $? "conditional \"CAIRO_HAS_XML_SURFACE\" was never defined.
35165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35167 if test -z "${CAIRO_HAS_PTHREAD_TRUE}" && test -z "${CAIRO_HAS_PTHREAD_FALSE}"; then
35168 as_fn_error $? "conditional \"CAIRO_HAS_PTHREAD\" was never defined.
35169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35171 if test -z "${HAVE_REAL_PTHREAD_TRUE}" && test -z "${HAVE_REAL_PTHREAD_FALSE}"; then
35172 as_fn_error $? "conditional \"HAVE_REAL_PTHREAD\" was never defined.
35173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35175 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
35176 as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
35177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35179 if test -z "${CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE}"; then
35180 as_fn_error $? "conditional \"CAIRO_HAS_GOBJECT_FUNCTIONS\" was never defined.
35181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35183 if test -z "${BUILD_ANY2PPM_TRUE}" && test -z "${BUILD_ANY2PPM_FALSE}"; then
35184 as_fn_error $? "conditional \"BUILD_ANY2PPM\" was never defined.
35185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35187 if test -z "${CAIRO_HAS_TRACE_TRUE}" && test -z "${CAIRO_HAS_TRACE_FALSE}"; then
35188 as_fn_error $? "conditional \"CAIRO_HAS_TRACE\" was never defined.
35189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35191 if test -z "${CAIRO_HAS_INTERPRETER_TRUE}" && test -z "${CAIRO_HAS_INTERPRETER_FALSE}"; then
35192 as_fn_error $? "conditional \"CAIRO_HAS_INTERPRETER\" was never defined.
35193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35195 if test -z "${CAIRO_HAS_SYMBOL_LOOKUP_TRUE}" && test -z "${CAIRO_HAS_SYMBOL_LOOKUP_FALSE}"; then
35196 as_fn_error $? "conditional \"CAIRO_HAS_SYMBOL_LOOKUP\" was never defined.
35197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35199 if test -z "${BUILD_SPHINX_TRUE}" && test -z "${BUILD_SPHINX_FALSE}"; then
35200 as_fn_error $? "conditional \"BUILD_SPHINX\" was never defined.
35201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35203 if test -z "${DISABLE_SOME_FLOATING_POINT_TRUE}" && test -z "${DISABLE_SOME_FLOATING_POINT_FALSE}"; then
35204 as_fn_error $? "conditional \"DISABLE_SOME_FLOATING_POINT\" was never defined.
35205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35207 if test -z "${BUILD_CXX_TRUE}" && test -z "${BUILD_CXX_FALSE}"; then
35208 as_fn_error $? "conditional \"BUILD_CXX\" was never defined.
35209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35211 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
35212 as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
35213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
35216 : "${CONFIG_STATUS=./config.status}"
35218 ac_clean_files_save=$ac_clean_files
35219 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
35221 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
35223 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
35225 # Generated by $as_me.
35226 # Run this file to recreate the current configuration.
35227 # Compiler output produced by configure, useful for debugging
35228 # configure, is in config.log if it exists.
35231 ac_cs_recheck=false
35234 SHELL=\${CONFIG_SHELL-$SHELL}
35237 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
35238 ## -------------------- ##
35239 ## M4sh Initialization. ##
35240 ## -------------------- ##
35242 # Be more Bourne compatible
35243 DUALCASE=1; export DUALCASE # for MKS sh
35244 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
35247 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
35248 # is contrary to our usage. Disable this feature.
35249 alias -g '${1+"$@"}'='"$@"'
35250 setopt NO_GLOB_SUBST
35252 case `(set -o) 2>/dev/null` in #(
35264 # Printing a long string crashes Solaris 7 /usr/bin/printf.
35265 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
35266 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
35267 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
35268 # Prefer a ksh shell builtin over an external printf program on Solaris,
35269 # but without wasting forks for bash or zsh.
35270 if test -z "$BASH_VERSION$ZSH_VERSION" \
35271 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
35272 as_echo='print -r --'
35273 as_echo_n='print -rn --'
35274 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
35275 as_echo='printf %s\n'
35276 as_echo_n='printf %s'
35278 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
35279 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
35280 as_echo_n='/usr/ucb/echo -n'
35282 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
35283 as_echo_n_body='eval
35287 expr "X$arg" : "X\\(.*\\)$as_nl";
35288 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
35290 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
35292 export as_echo_n_body
35293 as_echo_n='sh -c $as_echo_n_body as_echo'
35295 export as_echo_body
35296 as_echo='sh -c $as_echo_body as_echo'
35299 # The user is always right.
35300 if test "${PATH_SEPARATOR+set}" != set; then
35302 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
35303 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
35310 # We need space, tab and new line, in precisely that order. Quoting is
35311 # there to prevent editors from complaining about space-tab.
35312 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
35313 # splitting by setting IFS to empty value.)
35316 # Find who we are. Look in the path if we contain no directory separator.
35319 *[\\/]* ) as_myself=$0 ;;
35320 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35321 for as_dir in $PATH
35324 test -z "$as_dir" && as_dir=.
35325 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35331 # We did not find ourselves, most probably we were run as `sh COMMAND'
35332 # in which case we are not to be found in the path.
35333 if test "x$as_myself" = x; then
35336 if test ! -f "$as_myself"; then
35337 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
35341 # Unset variables that we do not need and which cause bugs (e.g. in
35342 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
35343 # suppresses any "Segmentation fault" message there. '((' could
35344 # trigger a bug in pdksh 5.2.14.
35345 for as_var in BASH_ENV ENV MAIL MAILPATH
35346 do eval test x\${$as_var+set} = xset \
35347 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
35360 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
35363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
35364 # ----------------------------------------
35365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
35366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
35367 # script with STATUS, using 1 if that was 0.
35370 as_status=$1; test $as_status -eq 0 && as_status=1
35372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
35373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
35375 $as_echo "$as_me: error: $2" >&2
35376 as_fn_exit $as_status
35380 # as_fn_set_status STATUS
35381 # -----------------------
35382 # Set $? to STATUS, without forking.
35383 as_fn_set_status ()
35386 } # as_fn_set_status
35388 # as_fn_exit STATUS
35389 # -----------------
35390 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
35394 as_fn_set_status $1
35400 # Portably unset VAR.
35403 { eval $1=; unset $1;}
35405 as_unset=as_fn_unset
35406 # as_fn_append VAR VALUE
35407 # ----------------------
35408 # Append the text in VALUE to the end of the definition contained in VAR. Take
35409 # advantage of any shell optimizations that allow amortized linear growth over
35410 # repeated appends, instead of the typical quadratic growth present in naive
35412 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
35413 eval 'as_fn_append ()
35424 # as_fn_arith ARG...
35425 # ------------------
35426 # Perform arithmetic evaluation on the ARGs, and store the result in the
35427 # global $as_val. Take advantage of shells that can avoid forks. The arguments
35428 # must be portable across $(()) and expr.
35429 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
35430 eval 'as_fn_arith ()
35437 as_val=`expr "$@" || test $? -eq 1`
35442 if expr a : '\(a\)' >/dev/null 2>&1 &&
35443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
35449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
35450 as_basename=basename
35455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
35461 as_me=`$as_basename -- "$0" ||
35462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35463 X"$0" : 'X\(//\)$' \| \
35464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
35466 sed '/^.*\/\([^/][^/]*\)\/*$/{
35480 # Avoid depending upon Character Ranges.
35481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35484 as_cr_digits='0123456789'
35485 as_cr_alnum=$as_cr_Letters$as_cr_digits
35487 ECHO_C= ECHO_N= ECHO_T=
35488 case `echo -n x` in #(((((
35490 case `echo 'xy\c'` in
35491 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
35493 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
35500 rm -f conf$$ conf$$.exe conf$$.file
35501 if test -d conf$$.dir; then
35502 rm -f conf$$.dir/conf$$.file
35505 mkdir conf$$.dir 2>/dev/null
35507 if (echo >conf$$.file) 2>/dev/null; then
35508 if ln -s conf$$.file conf$$ 2>/dev/null; then
35510 # ... but there are two gotchas:
35511 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
35512 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
35513 # In both cases, we have to default to `cp -pR'.
35514 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
35516 elif ln conf$$.file conf$$ 2>/dev/null; then
35524 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
35525 rmdir conf$$.dir 2>/dev/null
35530 # Create "$as_dir" as a directory, including parents if necessary.
35535 -*) as_dir=./$as_dir;;
35537 test -d "$as_dir" || eval $as_mkdir_p || {
35541 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
35542 *) as_qdir=$as_dir;;
35544 as_dirs="'$as_qdir' $as_dirs"
35545 as_dir=`$as_dirname -- "$as_dir" ||
35546 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35547 X"$as_dir" : 'X\(//\)[^/]' \| \
35548 X"$as_dir" : 'X\(//\)$' \| \
35549 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35550 $as_echo X"$as_dir" |
35551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35555 /^X\(\/\/\)[^/].*/{
35568 test -d "$as_dir" && break
35570 test -z "$as_dirs" || eval "mkdir $as_dirs"
35571 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
35575 if mkdir -p . 2>/dev/null; then
35576 as_mkdir_p='mkdir -p "$as_dir"'
35578 test -d ./-p && rmdir ./-p
35583 # as_fn_executable_p FILE
35584 # -----------------------
35585 # Test if FILE is an executable regular file.
35586 as_fn_executable_p ()
35588 test -f "$1" && test -x "$1"
35589 } # as_fn_executable_p
35590 as_test_x='test -x'
35591 as_executable_p=as_fn_executable_p
35593 # Sed expression to map a string onto a valid CPP name.
35594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
35596 # Sed expression to map a string onto a valid variable name.
35597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
35601 ## ----------------------------------- ##
35602 ## Main body of $CONFIG_STATUS script. ##
35603 ## ----------------------------------- ##
35605 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
35607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35608 # Save the log message, to keep $0 and so on meaningful, and to
35609 # report actual input values of CONFIG_FILES etc. instead of their
35610 # values after options handling.
35612 This file was extended by cairo $as_me 1.12.16, which was
35613 generated by GNU Autoconf 2.69. Invocation command line was
35615 CONFIG_FILES = $CONFIG_FILES
35616 CONFIG_HEADERS = $CONFIG_HEADERS
35617 CONFIG_LINKS = $CONFIG_LINKS
35618 CONFIG_COMMANDS = $CONFIG_COMMANDS
35621 on `(hostname || uname -n) 2>/dev/null | sed 1q`
35626 case $ac_config_files in *"
35627 "*) set x $ac_config_files; shift; ac_config_files=$*;;
35630 case $ac_config_headers in *"
35631 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
35635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35636 # Files that config.status was made for.
35637 config_files="$ac_config_files"
35638 config_headers="$ac_config_headers"
35639 config_commands="$ac_config_commands"
35643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35645 \`$as_me' instantiates files and other configuration actions
35646 from templates according to the current configuration. Unless the files
35647 and actions are specified as TAGs, all are instantiated by default.
35649 Usage: $0 [OPTION]... [TAG]...
35651 -h, --help print this help, then exit
35652 -V, --version print version number and configuration settings, then exit
35653 --config print configuration, then exit
35654 -q, --quiet, --silent
35655 do not print progress messages
35656 -d, --debug don't remove temporary files
35657 --recheck update $as_me by reconfiguring in the same conditions
35658 --file=FILE[:TEMPLATE]
35659 instantiate the configuration file FILE
35660 --header=FILE[:TEMPLATE]
35661 instantiate the configuration header FILE
35663 Configuration files:
35666 Configuration headers:
35669 Configuration commands:
35672 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=cairo>.
35673 cairo home page: <http://cairographics.org/>."
35676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35677 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
35679 cairo config.status 1.12.16
35680 configured by $0, generated by GNU Autoconf 2.69,
35681 with options \\"\$ac_cs_config\\"
35683 Copyright (C) 2012 Free Software Foundation, Inc.
35684 This config.status script is free software; the Free Software Foundation
35685 gives unlimited permission to copy, distribute and modify it."
35692 test -n "\$AWK" || AWK=awk
35695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35696 # The default lists apply if the user does not specify any file.
35702 ac_option=`expr "X$1" : 'X\([^=]*\)='`
35703 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
35707 ac_option=`expr "X$1" : 'X\([^=]*\)='`
35719 # Handling of the options.
35720 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35722 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
35723 $as_echo "$ac_cs_version"; exit ;;
35724 --config | --confi | --conf | --con | --co | --c )
35725 $as_echo "$ac_cs_config"; exit ;;
35726 --debug | --debu | --deb | --de | --d | -d )
35728 --file | --fil | --fi | --f )
35731 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
35732 '') as_fn_error $? "missing file argument" ;;
35734 as_fn_append CONFIG_FILES " '$ac_optarg'"
35735 ac_need_defaults=false;;
35736 --header | --heade | --head | --hea )
35739 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
35741 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
35742 ac_need_defaults=false;;
35744 # Conflict between --help and --header
35745 as_fn_error $? "ambiguous option: \`$1'
35746 Try \`$0 --help' for more information.";;
35747 --help | --hel | -h )
35748 $as_echo "$ac_cs_usage"; exit ;;
35749 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35750 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35753 # This is an error.
35754 -*) as_fn_error $? "unrecognized option: \`$1'
35755 Try \`$0 --help' for more information." ;;
35757 *) as_fn_append ac_config_targets " $1"
35758 ac_need_defaults=false ;;
35764 ac_configure_extra_args=
35766 if $ac_cs_silent; then
35768 ac_configure_extra_args="$ac_configure_extra_args --silent"
35772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35773 if \$ac_cs_recheck; then
35774 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35776 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
35777 CONFIG_SHELL='$SHELL'
35778 export CONFIG_SHELL
35783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35787 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35788 ## Running $as_me. ##
35794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35798 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
35801 # The HP-UX ksh and POSIX shell print the target directory to stdout
35802 # if CDPATH is set.
35803 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
35805 sed_quote_subst='$sed_quote_subst'
35806 double_quote_subst='$double_quote_subst'
35807 delay_variable_subst='$delay_variable_subst'
35808 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
35809 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
35810 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
35811 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
35812 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
35813 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
35814 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
35815 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
35816 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
35817 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
35818 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
35819 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
35820 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
35821 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
35822 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
35823 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
35824 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
35825 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
35826 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
35827 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
35828 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
35829 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
35830 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
35831 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
35832 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
35833 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
35834 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
35835 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
35836 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
35837 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
35838 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
35839 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
35840 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
35841 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
35842 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
35843 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
35844 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
35845 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
35846 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
35847 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
35848 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
35849 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
35850 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
35851 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
35852 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
35853 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
35854 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
35855 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
35856 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
35857 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
35858 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
35859 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
35860 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
35861 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
35862 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
35863 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
35864 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
35865 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"`'
35866 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
35867 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
35868 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
35869 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
35870 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
35871 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
35872 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
35873 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
35874 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
35875 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
35876 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
35877 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
35878 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
35879 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
35880 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
35881 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
35882 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
35883 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
35884 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
35885 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
35886 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
35887 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
35888 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
35889 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
35890 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
35891 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
35892 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
35893 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
35894 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
35895 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
35896 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
35897 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
35898 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
35899 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
35900 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
35901 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
35902 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
35903 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
35904 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
35905 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
35906 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
35907 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
35908 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
35909 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
35910 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
35911 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
35912 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
35913 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
35914 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
35915 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
35916 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
35917 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
35918 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
35919 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
35920 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
35921 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
35922 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
35923 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
35924 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
35925 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
35926 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
35927 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
35928 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
35929 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
35930 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
35931 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
35932 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
35933 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
35934 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
35935 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
35936 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
35937 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
35938 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
35939 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
35940 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
35941 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
35942 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
35943 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
35944 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
35945 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
35946 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
35947 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
35948 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
35949 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
35950 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
35951 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
35952 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
35953 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
35954 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
35955 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
35956 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
35957 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
35958 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
35959 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
35960 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
35961 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
35962 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
35963 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
35964 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
35965 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
35966 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
35967 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
35968 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
35969 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
35970 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
35971 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
35972 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
35973 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
35974 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
35975 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
35976 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
35977 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
35978 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
35979 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
35980 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
35981 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
35982 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
35983 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
35984 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
35985 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
35986 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
35987 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
35988 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
35989 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
35990 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
35991 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
35992 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
35995 LTCFLAGS='$LTCFLAGS'
35996 compiler='$compiler_DEFAULT'
35998 # A function that is used when there is no print builtin or printf.
35999 func_fallback_echo ()
36001 eval 'cat <<_LTECHO_EOF
36006 # Quote evaled strings.
36023 deplibs_check_method \
36027 sharedlib_from_linklib_cmd \
36030 archiver_list_spec \
36036 lt_cv_sys_global_symbol_pipe \
36037 lt_cv_sys_global_symbol_to_cdecl \
36038 lt_cv_sys_global_symbol_to_c_name_address \
36039 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
36040 nm_file_list_spec \
36041 lt_prog_compiler_no_builtin_flag \
36042 lt_prog_compiler_pic \
36043 lt_prog_compiler_wl \
36044 lt_prog_compiler_static \
36045 lt_cv_prog_compiler_c_o \
36054 export_dynamic_flag_spec \
36055 whole_archive_flag_spec \
36056 compiler_needs_object \
36058 allow_undefined_flag \
36059 no_undefined_flag \
36060 hardcode_libdir_flag_spec \
36061 hardcode_libdir_separator \
36065 variables_saved_for_relink \
36067 library_names_spec \
36069 install_override_mode \
36073 compiler_lib_search_dirs \
36078 compiler_lib_search_path \
36082 lt_prog_compiler_no_builtin_flag_CXX \
36083 lt_prog_compiler_pic_CXX \
36084 lt_prog_compiler_wl_CXX \
36085 lt_prog_compiler_static_CXX \
36086 lt_cv_prog_compiler_c_o_CXX \
36087 export_dynamic_flag_spec_CXX \
36088 whole_archive_flag_spec_CXX \
36089 compiler_needs_object_CXX \
36091 allow_undefined_flag_CXX \
36092 no_undefined_flag_CXX \
36093 hardcode_libdir_flag_spec_CXX \
36094 hardcode_libdir_separator_CXX \
36095 exclude_expsyms_CXX \
36096 include_expsyms_CXX \
36097 file_list_spec_CXX \
36098 compiler_lib_search_dirs_CXX \
36099 predep_objects_CXX \
36100 postdep_objects_CXX \
36103 compiler_lib_search_path_CXX; do
36104 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
36105 *[\\\\\\\`\\"\\\$]*)
36106 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
36109 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
36114 # Double-quote double-evaled strings.
36115 for var in reload_cmds \
36116 old_postinstall_cmds \
36117 old_postuninstall_cmds \
36119 extract_expsyms_cmds \
36120 old_archive_from_new_cmds \
36121 old_archive_from_expsyms_cmds \
36123 archive_expsym_cmds \
36125 module_expsym_cmds \
36126 export_symbols_cmds \
36130 postuninstall_cmds \
36132 sys_lib_search_path_spec \
36133 sys_lib_dlsearch_path_spec \
36135 old_archive_cmds_CXX \
36136 old_archive_from_new_cmds_CXX \
36137 old_archive_from_expsyms_cmds_CXX \
36139 archive_expsym_cmds_CXX \
36141 module_expsym_cmds_CXX \
36142 export_symbols_cmds_CXX \
36144 postlink_cmds_CXX; do
36145 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
36146 *[\\\\\\\`\\"\\\$]*)
36147 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
36150 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
36155 ac_aux_dir='$ac_aux_dir'
36156 xsi_shell='$xsi_shell'
36157 lt_shell_append='$lt_shell_append'
36159 # See if we are running on zsh, and set the options which allow our
36160 # commands through without removal of \ escapes INIT.
36161 if test -n "\${ZSH_VERSION+set}" ; then
36162 setopt NO_GLOB_SUBST
36168 TIMESTAMP='$TIMESTAMP'
36176 CAIRO_MAKEFILE___WIN32='$CAIRO_MAKEFILE___WIN32'
36177 CAIRO_MAKEFILE_cairo_AMAKE='$CAIRO_MAKEFILE_cairo_AMAKE'
36178 CAIRO_MAKEFILE_cairo_WIN32='$CAIRO_MAKEFILE_cairo_WIN32'
36179 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE='$CAIRO_MAKEFILE_cairo_boilerplate_AMAKE'
36180 CAIRO_MAKEFILE_cairo_boilerplate_WIN32='$CAIRO_MAKEFILE_cairo_boilerplate_WIN32'
36181 CAIRO_FEATURES='$CAIRO_FEATURES'
36182 CAIRO_NO_FEATURES='$CAIRO_NO_FEATURES'
36184 CAIRO_SUPPORTED_FEATURES='$CAIRO_SUPPORTED_FEATURES'
36186 CAIRO_MAKEFILE_win32_features_h_WIN32='$CAIRO_MAKEFILE_win32_features_h_WIN32'
36188 xlib_BASE='$xlib_BASE'
36189 xlib_REQUIRES='$xlib_REQUIRES'
36190 xlib_NONPKGCONFIG_LIBS='$xlib_NONPKGCONFIG_LIBS'
36191 xlib_NONPKGCONFIG_EXTRA_LIBS='$xlib_NONPKGCONFIG_EXTRA_LIBS'
36192 xlib_NONPKGCONFIG_CFLAGS='$xlib_NONPKGCONFIG_CFLAGS'
36195 xlib_BASE='$xlib_BASE'
36196 xlib_REQUIRES='$xlib_REQUIRES'
36197 xlib_NONPKGCONFIG_LIBS='$xlib_NONPKGCONFIG_LIBS'
36198 xlib_NONPKGCONFIG_EXTRA_LIBS='$xlib_NONPKGCONFIG_EXTRA_LIBS'
36199 xlib_NONPKGCONFIG_CFLAGS='$xlib_NONPKGCONFIG_CFLAGS'
36202 xlib_xrender_BASE='$xlib_xrender_BASE'
36203 xlib_xrender_REQUIRES='$xlib_xrender_REQUIRES'
36204 xlib_xrender_NONPKGCONFIG_LIBS='$xlib_xrender_NONPKGCONFIG_LIBS'
36205 xlib_xrender_NONPKGCONFIG_EXTRA_LIBS='$xlib_xrender_NONPKGCONFIG_EXTRA_LIBS'
36206 xlib_xrender_NONPKGCONFIG_CFLAGS='$xlib_xrender_NONPKGCONFIG_CFLAGS'
36209 xlib_xrender_BASE='$xlib_xrender_BASE'
36210 xlib_xrender_REQUIRES='$xlib_xrender_REQUIRES'
36211 xlib_xrender_NONPKGCONFIG_LIBS='$xlib_xrender_NONPKGCONFIG_LIBS'
36212 xlib_xrender_NONPKGCONFIG_EXTRA_LIBS='$xlib_xrender_NONPKGCONFIG_EXTRA_LIBS'
36213 xlib_xrender_NONPKGCONFIG_CFLAGS='$xlib_xrender_NONPKGCONFIG_CFLAGS'
36216 xcb_BASE='$xcb_BASE'
36217 xcb_REQUIRES='$xcb_REQUIRES'
36218 xcb_NONPKGCONFIG_LIBS='$xcb_NONPKGCONFIG_LIBS'
36219 xcb_NONPKGCONFIG_EXTRA_LIBS='$xcb_NONPKGCONFIG_EXTRA_LIBS'
36220 xcb_NONPKGCONFIG_CFLAGS='$xcb_NONPKGCONFIG_CFLAGS'
36223 xcb_BASE='$xcb_BASE'
36224 xcb_REQUIRES='$xcb_REQUIRES'
36225 xcb_NONPKGCONFIG_LIBS='$xcb_NONPKGCONFIG_LIBS'
36226 xcb_NONPKGCONFIG_EXTRA_LIBS='$xcb_NONPKGCONFIG_EXTRA_LIBS'
36227 xcb_NONPKGCONFIG_CFLAGS='$xcb_NONPKGCONFIG_CFLAGS'
36230 xlib_xcb_BASE='$xlib_xcb_BASE'
36231 xlib_xcb_REQUIRES='$xlib_xcb_REQUIRES'
36232 xlib_xcb_NONPKGCONFIG_LIBS='$xlib_xcb_NONPKGCONFIG_LIBS'
36233 xlib_xcb_NONPKGCONFIG_EXTRA_LIBS='$xlib_xcb_NONPKGCONFIG_EXTRA_LIBS'
36234 xlib_xcb_NONPKGCONFIG_CFLAGS='$xlib_xcb_NONPKGCONFIG_CFLAGS'
36237 xlib_xcb_BASE='$xlib_xcb_BASE'
36238 xlib_xcb_REQUIRES='$xlib_xcb_REQUIRES'
36239 xlib_xcb_NONPKGCONFIG_LIBS='$xlib_xcb_NONPKGCONFIG_LIBS'
36240 xlib_xcb_NONPKGCONFIG_EXTRA_LIBS='$xlib_xcb_NONPKGCONFIG_EXTRA_LIBS'
36241 xlib_xcb_NONPKGCONFIG_CFLAGS='$xlib_xcb_NONPKGCONFIG_CFLAGS'
36244 xcb_shm_BASE='$xcb_shm_BASE'
36245 xcb_shm_REQUIRES='$xcb_shm_REQUIRES'
36246 xcb_shm_NONPKGCONFIG_LIBS='$xcb_shm_NONPKGCONFIG_LIBS'
36247 xcb_shm_NONPKGCONFIG_EXTRA_LIBS='$xcb_shm_NONPKGCONFIG_EXTRA_LIBS'
36248 xcb_shm_NONPKGCONFIG_CFLAGS='$xcb_shm_NONPKGCONFIG_CFLAGS'
36251 xcb_shm_BASE='$xcb_shm_BASE'
36252 xcb_shm_REQUIRES='$xcb_shm_REQUIRES'
36253 xcb_shm_NONPKGCONFIG_LIBS='$xcb_shm_NONPKGCONFIG_LIBS'
36254 xcb_shm_NONPKGCONFIG_EXTRA_LIBS='$xcb_shm_NONPKGCONFIG_EXTRA_LIBS'
36255 xcb_shm_NONPKGCONFIG_CFLAGS='$xcb_shm_NONPKGCONFIG_CFLAGS'
36259 qt_REQUIRES='$qt_REQUIRES'
36260 qt_NONPKGCONFIG_LIBS='$qt_NONPKGCONFIG_LIBS'
36261 qt_NONPKGCONFIG_EXTRA_LIBS='$qt_NONPKGCONFIG_EXTRA_LIBS'
36262 qt_NONPKGCONFIG_CFLAGS='$qt_NONPKGCONFIG_CFLAGS'
36266 qt_REQUIRES='$qt_REQUIRES'
36267 qt_NONPKGCONFIG_LIBS='$qt_NONPKGCONFIG_LIBS'
36268 qt_NONPKGCONFIG_EXTRA_LIBS='$qt_NONPKGCONFIG_EXTRA_LIBS'
36269 qt_NONPKGCONFIG_CFLAGS='$qt_NONPKGCONFIG_CFLAGS'
36272 quartz_BASE='$quartz_BASE'
36273 quartz_REQUIRES='$quartz_REQUIRES'
36274 quartz_NONPKGCONFIG_LIBS='$quartz_NONPKGCONFIG_LIBS'
36275 quartz_NONPKGCONFIG_EXTRA_LIBS='$quartz_NONPKGCONFIG_EXTRA_LIBS'
36276 quartz_NONPKGCONFIG_CFLAGS='$quartz_NONPKGCONFIG_CFLAGS'
36279 quartz_BASE='$quartz_BASE'
36280 quartz_REQUIRES='$quartz_REQUIRES'
36281 quartz_NONPKGCONFIG_LIBS='$quartz_NONPKGCONFIG_LIBS'
36282 quartz_NONPKGCONFIG_EXTRA_LIBS='$quartz_NONPKGCONFIG_EXTRA_LIBS'
36283 quartz_NONPKGCONFIG_CFLAGS='$quartz_NONPKGCONFIG_CFLAGS'
36286 quartz_font_BASE='$quartz_font_BASE'
36287 quartz_font_REQUIRES='$quartz_font_REQUIRES'
36288 quartz_font_NONPKGCONFIG_LIBS='$quartz_font_NONPKGCONFIG_LIBS'
36289 quartz_font_NONPKGCONFIG_EXTRA_LIBS='$quartz_font_NONPKGCONFIG_EXTRA_LIBS'
36290 quartz_font_NONPKGCONFIG_CFLAGS='$quartz_font_NONPKGCONFIG_CFLAGS'
36293 quartz_font_BASE='$quartz_font_BASE'
36294 quartz_font_REQUIRES='$quartz_font_REQUIRES'
36295 quartz_font_NONPKGCONFIG_LIBS='$quartz_font_NONPKGCONFIG_LIBS'
36296 quartz_font_NONPKGCONFIG_EXTRA_LIBS='$quartz_font_NONPKGCONFIG_EXTRA_LIBS'
36297 quartz_font_NONPKGCONFIG_CFLAGS='$quartz_font_NONPKGCONFIG_CFLAGS'
36300 quartz_image_BASE='$quartz_image_BASE'
36301 quartz_image_REQUIRES='$quartz_image_REQUIRES'
36302 quartz_image_NONPKGCONFIG_LIBS='$quartz_image_NONPKGCONFIG_LIBS'
36303 quartz_image_NONPKGCONFIG_EXTRA_LIBS='$quartz_image_NONPKGCONFIG_EXTRA_LIBS'
36304 quartz_image_NONPKGCONFIG_CFLAGS='$quartz_image_NONPKGCONFIG_CFLAGS'
36307 quartz_image_BASE='$quartz_image_BASE'
36308 quartz_image_REQUIRES='$quartz_image_REQUIRES'
36309 quartz_image_NONPKGCONFIG_LIBS='$quartz_image_NONPKGCONFIG_LIBS'
36310 quartz_image_NONPKGCONFIG_EXTRA_LIBS='$quartz_image_NONPKGCONFIG_EXTRA_LIBS'
36311 quartz_image_NONPKGCONFIG_CFLAGS='$quartz_image_NONPKGCONFIG_CFLAGS'
36314 win32_BASE='$win32_BASE'
36315 win32_REQUIRES='$win32_REQUIRES'
36316 win32_NONPKGCONFIG_LIBS='$win32_NONPKGCONFIG_LIBS'
36317 win32_NONPKGCONFIG_EXTRA_LIBS='$win32_NONPKGCONFIG_EXTRA_LIBS'
36318 win32_NONPKGCONFIG_CFLAGS='$win32_NONPKGCONFIG_CFLAGS'
36321 win32_BASE='$win32_BASE'
36322 win32_REQUIRES='$win32_REQUIRES'
36323 win32_NONPKGCONFIG_LIBS='$win32_NONPKGCONFIG_LIBS'
36324 win32_NONPKGCONFIG_EXTRA_LIBS='$win32_NONPKGCONFIG_EXTRA_LIBS'
36325 win32_NONPKGCONFIG_CFLAGS='$win32_NONPKGCONFIG_CFLAGS'
36328 win32_font_BASE='$win32_font_BASE'
36329 win32_font_REQUIRES='$win32_font_REQUIRES'
36330 win32_font_NONPKGCONFIG_LIBS='$win32_font_NONPKGCONFIG_LIBS'
36331 win32_font_NONPKGCONFIG_EXTRA_LIBS='$win32_font_NONPKGCONFIG_EXTRA_LIBS'
36332 win32_font_NONPKGCONFIG_CFLAGS='$win32_font_NONPKGCONFIG_CFLAGS'
36335 win32_font_BASE='$win32_font_BASE'
36336 win32_font_REQUIRES='$win32_font_REQUIRES'
36337 win32_font_NONPKGCONFIG_LIBS='$win32_font_NONPKGCONFIG_LIBS'
36338 win32_font_NONPKGCONFIG_EXTRA_LIBS='$win32_font_NONPKGCONFIG_EXTRA_LIBS'
36339 win32_font_NONPKGCONFIG_CFLAGS='$win32_font_NONPKGCONFIG_CFLAGS'
36342 skia_BASE='$skia_BASE'
36343 skia_REQUIRES='$skia_REQUIRES'
36344 skia_NONPKGCONFIG_LIBS='$skia_NONPKGCONFIG_LIBS'
36345 skia_NONPKGCONFIG_EXTRA_LIBS='$skia_NONPKGCONFIG_EXTRA_LIBS'
36346 skia_NONPKGCONFIG_CFLAGS='$skia_NONPKGCONFIG_CFLAGS'
36349 skia_BASE='$skia_BASE'
36350 skia_REQUIRES='$skia_REQUIRES'
36351 skia_NONPKGCONFIG_LIBS='$skia_NONPKGCONFIG_LIBS'
36352 skia_NONPKGCONFIG_EXTRA_LIBS='$skia_NONPKGCONFIG_EXTRA_LIBS'
36353 skia_NONPKGCONFIG_CFLAGS='$skia_NONPKGCONFIG_CFLAGS'
36356 os2_BASE='$os2_BASE'
36357 os2_REQUIRES='$os2_REQUIRES'
36358 os2_NONPKGCONFIG_LIBS='$os2_NONPKGCONFIG_LIBS'
36359 os2_NONPKGCONFIG_EXTRA_LIBS='$os2_NONPKGCONFIG_EXTRA_LIBS'
36360 os2_NONPKGCONFIG_CFLAGS='$os2_NONPKGCONFIG_CFLAGS'
36363 os2_BASE='$os2_BASE'
36364 os2_REQUIRES='$os2_REQUIRES'
36365 os2_NONPKGCONFIG_LIBS='$os2_NONPKGCONFIG_LIBS'
36366 os2_NONPKGCONFIG_EXTRA_LIBS='$os2_NONPKGCONFIG_EXTRA_LIBS'
36367 os2_NONPKGCONFIG_CFLAGS='$os2_NONPKGCONFIG_CFLAGS'
36370 beos_BASE='$beos_BASE'
36371 beos_REQUIRES='$beos_REQUIRES'
36372 beos_NONPKGCONFIG_LIBS='$beos_NONPKGCONFIG_LIBS'
36373 beos_NONPKGCONFIG_EXTRA_LIBS='$beos_NONPKGCONFIG_EXTRA_LIBS'
36374 beos_NONPKGCONFIG_CFLAGS='$beos_NONPKGCONFIG_CFLAGS'
36377 beos_BASE='$beos_BASE'
36378 beos_REQUIRES='$beos_REQUIRES'
36379 beos_NONPKGCONFIG_LIBS='$beos_NONPKGCONFIG_LIBS'
36380 beos_NONPKGCONFIG_EXTRA_LIBS='$beos_NONPKGCONFIG_EXTRA_LIBS'
36381 beos_NONPKGCONFIG_CFLAGS='$beos_NONPKGCONFIG_CFLAGS'
36384 drm_BASE='$drm_BASE'
36385 drm_REQUIRES='$drm_REQUIRES'
36386 drm_NONPKGCONFIG_LIBS='$drm_NONPKGCONFIG_LIBS'
36387 drm_NONPKGCONFIG_EXTRA_LIBS='$drm_NONPKGCONFIG_EXTRA_LIBS'
36388 drm_NONPKGCONFIG_CFLAGS='$drm_NONPKGCONFIG_CFLAGS'
36391 drm_BASE='$drm_BASE'
36392 drm_REQUIRES='$drm_REQUIRES'
36393 drm_NONPKGCONFIG_LIBS='$drm_NONPKGCONFIG_LIBS'
36394 drm_NONPKGCONFIG_EXTRA_LIBS='$drm_NONPKGCONFIG_EXTRA_LIBS'
36395 drm_NONPKGCONFIG_CFLAGS='$drm_NONPKGCONFIG_CFLAGS'
36398 gallium_BASE='$gallium_BASE'
36399 gallium_REQUIRES='$gallium_REQUIRES'
36400 gallium_NONPKGCONFIG_LIBS='$gallium_NONPKGCONFIG_LIBS'
36401 gallium_NONPKGCONFIG_EXTRA_LIBS='$gallium_NONPKGCONFIG_EXTRA_LIBS'
36402 gallium_NONPKGCONFIG_CFLAGS='$gallium_NONPKGCONFIG_CFLAGS'
36405 gallium_BASE='$gallium_BASE'
36406 gallium_REQUIRES='$gallium_REQUIRES'
36407 gallium_NONPKGCONFIG_LIBS='$gallium_NONPKGCONFIG_LIBS'
36408 gallium_NONPKGCONFIG_EXTRA_LIBS='$gallium_NONPKGCONFIG_EXTRA_LIBS'
36409 gallium_NONPKGCONFIG_CFLAGS='$gallium_NONPKGCONFIG_CFLAGS'
36412 png_BASE='$png_BASE'
36413 png_REQUIRES='$png_REQUIRES'
36414 png_NONPKGCONFIG_LIBS='$png_NONPKGCONFIG_LIBS'
36415 png_NONPKGCONFIG_EXTRA_LIBS='$png_NONPKGCONFIG_EXTRA_LIBS'
36416 png_NONPKGCONFIG_CFLAGS='$png_NONPKGCONFIG_CFLAGS'
36419 png_BASE='$png_BASE'
36420 png_REQUIRES='$png_REQUIRES'
36421 png_NONPKGCONFIG_LIBS='$png_NONPKGCONFIG_LIBS'
36422 png_NONPKGCONFIG_EXTRA_LIBS='$png_NONPKGCONFIG_EXTRA_LIBS'
36423 png_NONPKGCONFIG_CFLAGS='$png_NONPKGCONFIG_CFLAGS'
36427 gl_REQUIRES='$gl_REQUIRES'
36428 gl_NONPKGCONFIG_LIBS='$gl_NONPKGCONFIG_LIBS'
36429 gl_NONPKGCONFIG_EXTRA_LIBS='$gl_NONPKGCONFIG_EXTRA_LIBS'
36430 gl_NONPKGCONFIG_CFLAGS='$gl_NONPKGCONFIG_CFLAGS'
36434 gl_REQUIRES='$gl_REQUIRES'
36435 gl_NONPKGCONFIG_LIBS='$gl_NONPKGCONFIG_LIBS'
36436 gl_NONPKGCONFIG_EXTRA_LIBS='$gl_NONPKGCONFIG_EXTRA_LIBS'
36437 gl_NONPKGCONFIG_CFLAGS='$gl_NONPKGCONFIG_CFLAGS'
36440 glesv2_BASE='$glesv2_BASE'
36441 glesv2_REQUIRES='$glesv2_REQUIRES'
36442 glesv2_NONPKGCONFIG_LIBS='$glesv2_NONPKGCONFIG_LIBS'
36443 glesv2_NONPKGCONFIG_EXTRA_LIBS='$glesv2_NONPKGCONFIG_EXTRA_LIBS'
36444 glesv2_NONPKGCONFIG_CFLAGS='$glesv2_NONPKGCONFIG_CFLAGS'
36447 glesv2_BASE='$glesv2_BASE'
36448 glesv2_REQUIRES='$glesv2_REQUIRES'
36449 glesv2_NONPKGCONFIG_LIBS='$glesv2_NONPKGCONFIG_LIBS'
36450 glesv2_NONPKGCONFIG_EXTRA_LIBS='$glesv2_NONPKGCONFIG_EXTRA_LIBS'
36451 glesv2_NONPKGCONFIG_CFLAGS='$glesv2_NONPKGCONFIG_CFLAGS'
36454 cogl_BASE='$cogl_BASE'
36455 cogl_REQUIRES='$cogl_REQUIRES'
36456 cogl_NONPKGCONFIG_LIBS='$cogl_NONPKGCONFIG_LIBS'
36457 cogl_NONPKGCONFIG_EXTRA_LIBS='$cogl_NONPKGCONFIG_EXTRA_LIBS'
36458 cogl_NONPKGCONFIG_CFLAGS='$cogl_NONPKGCONFIG_CFLAGS'
36461 cogl_BASE='$cogl_BASE'
36462 cogl_REQUIRES='$cogl_REQUIRES'
36463 cogl_NONPKGCONFIG_LIBS='$cogl_NONPKGCONFIG_LIBS'
36464 cogl_NONPKGCONFIG_EXTRA_LIBS='$cogl_NONPKGCONFIG_EXTRA_LIBS'
36465 cogl_NONPKGCONFIG_CFLAGS='$cogl_NONPKGCONFIG_CFLAGS'
36468 directfb_BASE='$directfb_BASE'
36469 directfb_REQUIRES='$directfb_REQUIRES'
36470 directfb_NONPKGCONFIG_LIBS='$directfb_NONPKGCONFIG_LIBS'
36471 directfb_NONPKGCONFIG_EXTRA_LIBS='$directfb_NONPKGCONFIG_EXTRA_LIBS'
36472 directfb_NONPKGCONFIG_CFLAGS='$directfb_NONPKGCONFIG_CFLAGS'
36475 directfb_BASE='$directfb_BASE'
36476 directfb_REQUIRES='$directfb_REQUIRES'
36477 directfb_NONPKGCONFIG_LIBS='$directfb_NONPKGCONFIG_LIBS'
36478 directfb_NONPKGCONFIG_EXTRA_LIBS='$directfb_NONPKGCONFIG_EXTRA_LIBS'
36479 directfb_NONPKGCONFIG_CFLAGS='$directfb_NONPKGCONFIG_CFLAGS'
36483 vg_REQUIRES='$vg_REQUIRES'
36484 vg_NONPKGCONFIG_LIBS='$vg_NONPKGCONFIG_LIBS'
36485 vg_NONPKGCONFIG_EXTRA_LIBS='$vg_NONPKGCONFIG_EXTRA_LIBS'
36486 vg_NONPKGCONFIG_CFLAGS='$vg_NONPKGCONFIG_CFLAGS'
36490 vg_REQUIRES='$vg_REQUIRES'
36491 vg_NONPKGCONFIG_LIBS='$vg_NONPKGCONFIG_LIBS'
36492 vg_NONPKGCONFIG_EXTRA_LIBS='$vg_NONPKGCONFIG_EXTRA_LIBS'
36493 vg_NONPKGCONFIG_CFLAGS='$vg_NONPKGCONFIG_CFLAGS'
36496 egl_BASE='$egl_BASE'
36497 egl_REQUIRES='$egl_REQUIRES'
36498 egl_NONPKGCONFIG_LIBS='$egl_NONPKGCONFIG_LIBS'
36499 egl_NONPKGCONFIG_EXTRA_LIBS='$egl_NONPKGCONFIG_EXTRA_LIBS'
36500 egl_NONPKGCONFIG_CFLAGS='$egl_NONPKGCONFIG_CFLAGS'
36503 egl_BASE='$egl_BASE'
36504 egl_REQUIRES='$egl_REQUIRES'
36505 egl_NONPKGCONFIG_LIBS='$egl_NONPKGCONFIG_LIBS'
36506 egl_NONPKGCONFIG_EXTRA_LIBS='$egl_NONPKGCONFIG_EXTRA_LIBS'
36507 egl_NONPKGCONFIG_CFLAGS='$egl_NONPKGCONFIG_CFLAGS'
36510 glx_BASE='$glx_BASE'
36511 glx_REQUIRES='$glx_REQUIRES'
36512 glx_NONPKGCONFIG_LIBS='$glx_NONPKGCONFIG_LIBS'
36513 glx_NONPKGCONFIG_EXTRA_LIBS='$glx_NONPKGCONFIG_EXTRA_LIBS'
36514 glx_NONPKGCONFIG_CFLAGS='$glx_NONPKGCONFIG_CFLAGS'
36517 glx_BASE='$glx_BASE'
36518 glx_REQUIRES='$glx_REQUIRES'
36519 glx_NONPKGCONFIG_LIBS='$glx_NONPKGCONFIG_LIBS'
36520 glx_NONPKGCONFIG_EXTRA_LIBS='$glx_NONPKGCONFIG_EXTRA_LIBS'
36521 glx_NONPKGCONFIG_CFLAGS='$glx_NONPKGCONFIG_CFLAGS'
36524 wgl_BASE='$wgl_BASE'
36525 wgl_REQUIRES='$wgl_REQUIRES'
36526 wgl_NONPKGCONFIG_LIBS='$wgl_NONPKGCONFIG_LIBS'
36527 wgl_NONPKGCONFIG_EXTRA_LIBS='$wgl_NONPKGCONFIG_EXTRA_LIBS'
36528 wgl_NONPKGCONFIG_CFLAGS='$wgl_NONPKGCONFIG_CFLAGS'
36531 wgl_BASE='$wgl_BASE'
36532 wgl_REQUIRES='$wgl_REQUIRES'
36533 wgl_NONPKGCONFIG_LIBS='$wgl_NONPKGCONFIG_LIBS'
36534 wgl_NONPKGCONFIG_EXTRA_LIBS='$wgl_NONPKGCONFIG_EXTRA_LIBS'
36535 wgl_NONPKGCONFIG_CFLAGS='$wgl_NONPKGCONFIG_CFLAGS'
36538 script_BASE='$script_BASE'
36539 script_REQUIRES='$script_REQUIRES'
36540 script_NONPKGCONFIG_LIBS='$script_NONPKGCONFIG_LIBS'
36541 script_NONPKGCONFIG_EXTRA_LIBS='$script_NONPKGCONFIG_EXTRA_LIBS'
36542 script_NONPKGCONFIG_CFLAGS='$script_NONPKGCONFIG_CFLAGS'
36545 script_BASE='$script_BASE'
36546 script_REQUIRES='$script_REQUIRES'
36547 script_NONPKGCONFIG_LIBS='$script_NONPKGCONFIG_LIBS'
36548 script_NONPKGCONFIG_EXTRA_LIBS='$script_NONPKGCONFIG_EXTRA_LIBS'
36549 script_NONPKGCONFIG_CFLAGS='$script_NONPKGCONFIG_CFLAGS'
36553 ft_REQUIRES='$ft_REQUIRES'
36554 ft_NONPKGCONFIG_LIBS='$ft_NONPKGCONFIG_LIBS'
36555 ft_NONPKGCONFIG_EXTRA_LIBS='$ft_NONPKGCONFIG_EXTRA_LIBS'
36556 ft_NONPKGCONFIG_CFLAGS='$ft_NONPKGCONFIG_CFLAGS'
36560 ft_REQUIRES='$ft_REQUIRES'
36561 ft_NONPKGCONFIG_LIBS='$ft_NONPKGCONFIG_LIBS'
36562 ft_NONPKGCONFIG_EXTRA_LIBS='$ft_NONPKGCONFIG_EXTRA_LIBS'
36563 ft_NONPKGCONFIG_CFLAGS='$ft_NONPKGCONFIG_CFLAGS'
36567 fc_REQUIRES='$fc_REQUIRES'
36568 fc_NONPKGCONFIG_LIBS='$fc_NONPKGCONFIG_LIBS'
36569 fc_NONPKGCONFIG_EXTRA_LIBS='$fc_NONPKGCONFIG_EXTRA_LIBS'
36570 fc_NONPKGCONFIG_CFLAGS='$fc_NONPKGCONFIG_CFLAGS'
36574 fc_REQUIRES='$fc_REQUIRES'
36575 fc_NONPKGCONFIG_LIBS='$fc_NONPKGCONFIG_LIBS'
36576 fc_NONPKGCONFIG_EXTRA_LIBS='$fc_NONPKGCONFIG_EXTRA_LIBS'
36577 fc_NONPKGCONFIG_CFLAGS='$fc_NONPKGCONFIG_CFLAGS'
36581 ps_REQUIRES='$ps_REQUIRES'
36582 ps_NONPKGCONFIG_LIBS='$ps_NONPKGCONFIG_LIBS'
36583 ps_NONPKGCONFIG_EXTRA_LIBS='$ps_NONPKGCONFIG_EXTRA_LIBS'
36584 ps_NONPKGCONFIG_CFLAGS='$ps_NONPKGCONFIG_CFLAGS'
36588 ps_REQUIRES='$ps_REQUIRES'
36589 ps_NONPKGCONFIG_LIBS='$ps_NONPKGCONFIG_LIBS'
36590 ps_NONPKGCONFIG_EXTRA_LIBS='$ps_NONPKGCONFIG_EXTRA_LIBS'
36591 ps_NONPKGCONFIG_CFLAGS='$ps_NONPKGCONFIG_CFLAGS'
36594 pdf_BASE='$pdf_BASE'
36595 pdf_REQUIRES='$pdf_REQUIRES'
36596 pdf_NONPKGCONFIG_LIBS='$pdf_NONPKGCONFIG_LIBS'
36597 pdf_NONPKGCONFIG_EXTRA_LIBS='$pdf_NONPKGCONFIG_EXTRA_LIBS'
36598 pdf_NONPKGCONFIG_CFLAGS='$pdf_NONPKGCONFIG_CFLAGS'
36601 pdf_BASE='$pdf_BASE'
36602 pdf_REQUIRES='$pdf_REQUIRES'
36603 pdf_NONPKGCONFIG_LIBS='$pdf_NONPKGCONFIG_LIBS'
36604 pdf_NONPKGCONFIG_EXTRA_LIBS='$pdf_NONPKGCONFIG_EXTRA_LIBS'
36605 pdf_NONPKGCONFIG_CFLAGS='$pdf_NONPKGCONFIG_CFLAGS'
36608 svg_BASE='$svg_BASE'
36609 svg_REQUIRES='$svg_REQUIRES'
36610 svg_NONPKGCONFIG_LIBS='$svg_NONPKGCONFIG_LIBS'
36611 svg_NONPKGCONFIG_EXTRA_LIBS='$svg_NONPKGCONFIG_EXTRA_LIBS'
36612 svg_NONPKGCONFIG_CFLAGS='$svg_NONPKGCONFIG_CFLAGS'
36615 svg_BASE='$svg_BASE'
36616 svg_REQUIRES='$svg_REQUIRES'
36617 svg_NONPKGCONFIG_LIBS='$svg_NONPKGCONFIG_LIBS'
36618 svg_NONPKGCONFIG_EXTRA_LIBS='$svg_NONPKGCONFIG_EXTRA_LIBS'
36619 svg_NONPKGCONFIG_CFLAGS='$svg_NONPKGCONFIG_CFLAGS'
36622 tee_BASE='$tee_BASE'
36623 tee_REQUIRES='$tee_REQUIRES'
36624 tee_NONPKGCONFIG_LIBS='$tee_NONPKGCONFIG_LIBS'
36625 tee_NONPKGCONFIG_EXTRA_LIBS='$tee_NONPKGCONFIG_EXTRA_LIBS'
36626 tee_NONPKGCONFIG_CFLAGS='$tee_NONPKGCONFIG_CFLAGS'
36629 tee_BASE='$tee_BASE'
36630 tee_REQUIRES='$tee_REQUIRES'
36631 tee_NONPKGCONFIG_LIBS='$tee_NONPKGCONFIG_LIBS'
36632 tee_NONPKGCONFIG_EXTRA_LIBS='$tee_NONPKGCONFIG_EXTRA_LIBS'
36633 tee_NONPKGCONFIG_CFLAGS='$tee_NONPKGCONFIG_CFLAGS'
36636 xml_BASE='$xml_BASE'
36637 xml_REQUIRES='$xml_REQUIRES'
36638 xml_NONPKGCONFIG_LIBS='$xml_NONPKGCONFIG_LIBS'
36639 xml_NONPKGCONFIG_EXTRA_LIBS='$xml_NONPKGCONFIG_EXTRA_LIBS'
36640 xml_NONPKGCONFIG_CFLAGS='$xml_NONPKGCONFIG_CFLAGS'
36643 xml_BASE='$xml_BASE'
36644 xml_REQUIRES='$xml_REQUIRES'
36645 xml_NONPKGCONFIG_LIBS='$xml_NONPKGCONFIG_LIBS'
36646 xml_NONPKGCONFIG_EXTRA_LIBS='$xml_NONPKGCONFIG_EXTRA_LIBS'
36647 xml_NONPKGCONFIG_CFLAGS='$xml_NONPKGCONFIG_CFLAGS'
36650 gobject_BASE='$gobject_BASE'
36651 gobject_REQUIRES='$gobject_REQUIRES'
36652 gobject_NONPKGCONFIG_LIBS='$gobject_NONPKGCONFIG_LIBS'
36653 gobject_NONPKGCONFIG_EXTRA_LIBS='$gobject_NONPKGCONFIG_EXTRA_LIBS'
36654 gobject_NONPKGCONFIG_CFLAGS='$gobject_NONPKGCONFIG_CFLAGS'
36657 gobject_BASE='$gobject_BASE'
36658 gobject_REQUIRES='$gobject_REQUIRES'
36659 gobject_NONPKGCONFIG_LIBS='$gobject_NONPKGCONFIG_LIBS'
36660 gobject_NONPKGCONFIG_EXTRA_LIBS='$gobject_NONPKGCONFIG_EXTRA_LIBS'
36661 gobject_NONPKGCONFIG_CFLAGS='$gobject_NONPKGCONFIG_CFLAGS'
36666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36668 # Handling of arguments.
36669 for ac_config_target in $ac_config_targets
36671 case $ac_config_target in
36672 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
36673 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
36674 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
36675 "$srcdir/build/Makefile.win32.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/build/Makefile.win32.features" ;;
36676 "$srcdir/src/Makefile.am.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/src/Makefile.am.features" ;;
36677 "$srcdir/src/Makefile.win32.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/src/Makefile.win32.features" ;;
36678 "$srcdir/boilerplate/Makefile.am.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/boilerplate/Makefile.am.features" ;;
36679 "$srcdir/boilerplate/Makefile.win32.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/boilerplate/Makefile.win32.features" ;;
36680 "src/cairo.pc") CONFIG_FILES="$CONFIG_FILES src/cairo.pc" ;;
36681 "cairo-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-uninstalled.pc:src/cairo-uninstalled.pc.in" ;;
36682 "src/cairo-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS src/cairo-features.h" ;;
36683 "src/cairo-supported-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS src/cairo-supported-features.h" ;;
36684 "$srcdir/build/Makefile.win32.features-h") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/build/Makefile.win32.features-h" ;;
36685 "src/cairo-xlib.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xlib.pc:src/cairo-features.pc.in" ;;
36686 "cairo-xlib-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xlib-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36687 "src/cairo-xlib-xrender.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xlib-xrender.pc:src/cairo-features.pc.in" ;;
36688 "cairo-xlib-xrender-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xlib-xrender-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36689 "src/cairo-xcb.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xcb.pc:src/cairo-features.pc.in" ;;
36690 "cairo-xcb-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36691 "src/cairo-xlib-xcb.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xlib-xcb.pc:src/cairo-features.pc.in" ;;
36692 "cairo-xlib-xcb-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xlib-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36693 "src/cairo-xcb-shm.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xcb-shm.pc:src/cairo-features.pc.in" ;;
36694 "cairo-xcb-shm-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xcb-shm-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36695 "src/cairo-qt.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-qt.pc:src/cairo-features.pc.in" ;;
36696 "cairo-qt-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-qt-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36697 "src/cairo-quartz.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-quartz.pc:src/cairo-features.pc.in" ;;
36698 "cairo-quartz-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-quartz-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36699 "src/cairo-quartz-font.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-quartz-font.pc:src/cairo-features.pc.in" ;;
36700 "cairo-quartz-font-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-quartz-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36701 "src/cairo-quartz-image.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-quartz-image.pc:src/cairo-features.pc.in" ;;
36702 "cairo-quartz-image-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-quartz-image-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36703 "src/cairo-win32.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-win32.pc:src/cairo-features.pc.in" ;;
36704 "cairo-win32-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-win32-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36705 "src/cairo-win32-font.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-win32-font.pc:src/cairo-features.pc.in" ;;
36706 "cairo-win32-font-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-win32-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36707 "src/cairo-skia.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-skia.pc:src/cairo-features.pc.in" ;;
36708 "cairo-skia-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-skia-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36709 "src/cairo-os2.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-os2.pc:src/cairo-features.pc.in" ;;
36710 "cairo-os2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-os2-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36711 "src/cairo-beos.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-beos.pc:src/cairo-features.pc.in" ;;
36712 "cairo-beos-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-beos-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36713 "src/cairo-drm.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-drm.pc:src/cairo-features.pc.in" ;;
36714 "cairo-drm-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-drm-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36715 "src/cairo-gallium.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-gallium.pc:src/cairo-features.pc.in" ;;
36716 "cairo-gallium-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-gallium-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36717 "src/cairo-png.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-png.pc:src/cairo-features.pc.in" ;;
36718 "cairo-png-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-png-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36719 "src/cairo-gl.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-gl.pc:src/cairo-features.pc.in" ;;
36720 "cairo-gl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-gl-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36721 "src/cairo-glesv2.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-glesv2.pc:src/cairo-features.pc.in" ;;
36722 "cairo-glesv2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-glesv2-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36723 "src/cairo-cogl.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-cogl.pc:src/cairo-features.pc.in" ;;
36724 "cairo-cogl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-cogl-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36725 "src/cairo-directfb.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-directfb.pc:src/cairo-features.pc.in" ;;
36726 "cairo-directfb-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-directfb-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36727 "src/cairo-vg.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-vg.pc:src/cairo-features.pc.in" ;;
36728 "cairo-vg-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-vg-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36729 "src/cairo-egl.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-egl.pc:src/cairo-features.pc.in" ;;
36730 "cairo-egl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-egl-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36731 "src/cairo-glx.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-glx.pc:src/cairo-features.pc.in" ;;
36732 "cairo-glx-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-glx-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36733 "src/cairo-wgl.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-wgl.pc:src/cairo-features.pc.in" ;;
36734 "cairo-wgl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-wgl-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36735 "src/cairo-script.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-script.pc:src/cairo-features.pc.in" ;;
36736 "cairo-script-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-script-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36737 "src/cairo-ft.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-ft.pc:src/cairo-features.pc.in" ;;
36738 "cairo-ft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-ft-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36739 "src/cairo-fc.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-fc.pc:src/cairo-features.pc.in" ;;
36740 "cairo-fc-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-fc-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36741 "src/cairo-ps.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-ps.pc:src/cairo-features.pc.in" ;;
36742 "cairo-ps-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-ps-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36743 "src/cairo-pdf.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-pdf.pc:src/cairo-features.pc.in" ;;
36744 "cairo-pdf-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-pdf-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36745 "src/cairo-svg.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-svg.pc:src/cairo-features.pc.in" ;;
36746 "cairo-svg-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-svg-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36747 "src/cairo-tee.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-tee.pc:src/cairo-features.pc.in" ;;
36748 "cairo-tee-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-tee-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36749 "src/cairo-xml.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xml.pc:src/cairo-features.pc.in" ;;
36750 "cairo-xml-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xml-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36751 "src/cairo-gobject.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-gobject.pc:src/cairo-features.pc.in" ;;
36752 "cairo-gobject-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-gobject-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36753 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36754 "boilerplate/Makefile") CONFIG_FILES="$CONFIG_FILES boilerplate/Makefile" ;;
36755 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
36756 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
36757 "test/pdiff/Makefile") CONFIG_FILES="$CONFIG_FILES test/pdiff/Makefile" ;;
36758 "perf/Makefile") CONFIG_FILES="$CONFIG_FILES perf/Makefile" ;;
36759 "perf/micro/Makefile") CONFIG_FILES="$CONFIG_FILES perf/micro/Makefile" ;;
36760 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
36761 "util/cairo-fdr/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-fdr/Makefile" ;;
36762 "util/cairo-gobject/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-gobject/Makefile" ;;
36763 "util/cairo-missing/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-missing/Makefile" ;;
36764 "util/cairo-script/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-script/Makefile" ;;
36765 "util/cairo-script/examples/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-script/examples/Makefile" ;;
36766 "util/cairo-sphinx/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-sphinx/Makefile" ;;
36767 "util/cairo-trace/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-trace/Makefile" ;;
36768 "util/cairo-trace/cairo-trace") CONFIG_FILES="$CONFIG_FILES util/cairo-trace/cairo-trace" ;;
36769 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
36770 "doc/public/Makefile") CONFIG_FILES="$CONFIG_FILES doc/public/Makefile" ;;
36772 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
36777 # If the user did not use the arguments to specify the items to instantiate,
36778 # then the envvar interface is used. Set only those that are not.
36779 # We use the long form for the default assignment because of an extremely
36780 # bizarre bug on SunOS 4.1.3.
36781 if $ac_need_defaults; then
36782 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36783 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36784 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36787 # Have a temporary directory for convenience. Make it in the build tree
36788 # simply because there is no reason against having it here, and in addition,
36789 # creating and moving files from /tmp can sometimes cause problems.
36790 # Hook for its removal unless debugging.
36791 # Note that there is a small window in which the directory will not be cleaned:
36792 # after its creation but before its name has been assigned to `$tmp'.
36796 trap 'exit_status=$?
36797 : "${ac_tmp:=$tmp}"
36798 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
36800 trap 'as_fn_exit 1' 1 2 13 15
36802 # Create a (secure) tmp directory for tmp files.
36805 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
36809 tmp=./conf$$-$RANDOM
36810 (umask 077 && mkdir "$tmp")
36811 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
36814 # Set up the scripts for CONFIG_FILES section.
36815 # No need to generate them if there are no CONFIG_FILES.
36816 # This happens for instance with `./config.status config.h'.
36817 if test -n "$CONFIG_FILES"; then
36820 ac_cr=`echo X | tr X '\015'`
36821 # On cygwin, bash can eat \r inside `` if the user requested igncr.
36822 # But we know of no other shell where ac_cr would be empty at this
36823 # point, so we can use a bashism as a fallback.
36824 if test "x$ac_cr" = x; then
36825 eval ac_cr=\$\'\\r\'
36827 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
36828 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
36831 ac_cs_awk_cr=$ac_cr
36834 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
36839 echo "cat >conf$$subs.awk <<_ACEOF" &&
36840 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
36842 } >conf$$subs.sh ||
36843 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
36844 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
36846 for ac_last_try in false false false false false :; do
36847 . ./conf$$subs.sh ||
36848 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
36850 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
36851 if test $ac_delim_n = $ac_delim_num; then
36853 elif $ac_last_try; then
36854 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
36856 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
36859 rm -f conf$$subs.sh
36861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36862 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
36866 s/^/S["/; s/!.*/"]=/
36876 s/\(.\{148\}\)..*/\1/
36878 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
36883 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
36890 s/\(.\{148\}\)..*/\1/
36892 s/["\\]/\\&/g; s/^/"/; s/$/"/
36896 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
36901 ' <conf$$subs.awk | sed '
36906 ' >>$CONFIG_STATUS || ac_write_fail=1
36907 rm -f conf$$subs.awk
36908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36910 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
36911 for (key in S) S_is_set[key] = 1
36917 nfields = split(line, field, "@")
36919 len = length(field[1])
36920 for (i = 2; i < nfields; i++) {
36922 keylen = length(key)
36923 if (S_is_set[key]) {
36925 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
36926 len += length(value) + length(field[++i])
36937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36938 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
36939 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
36942 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
36943 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
36946 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
36947 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
36948 # trailing colons and then remove the whole line if VPATH becomes empty
36949 # (actually we leave an empty line to preserve line numbers).
36950 if test "x$srcdir" = x.; then
36951 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
36969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36970 fi # test -n "$CONFIG_FILES"
36972 # Set up the scripts for CONFIG_HEADERS section.
36973 # No need to generate them if there are no CONFIG_HEADERS.
36974 # This happens for instance with `./config.status Makefile'.
36975 if test -n "$CONFIG_HEADERS"; then
36976 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
36980 # Transform confdefs.h into an awk script `defines.awk', embedded as
36981 # here-document in config.status, that substitutes the proper values into
36982 # config.h.in to produce config.h.
36984 # Create a delimiter string that does not exist in confdefs.h, to ease
36985 # handling of long lines.
36987 for ac_last_try in false false :; do
36988 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
36989 if test -z "$ac_tt"; then
36991 elif $ac_last_try; then
36992 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
36994 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
36998 # For the awk script, D is an array of macro values keyed by name,
36999 # likewise P contains macro parameters if any. Preserve backslash
37000 # newline sequences.
37002 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
37004 s/.\{148\}/&'"$ac_delim"'/g
37007 s/^[ ]*#[ ]*define[ ][ ]*/ /
37014 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
37016 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
37020 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
37021 D["\1"]=" \3\\\\\\n"\\/p
37023 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
37028 s/.\{148\}/&'"$ac_delim"'/g
37033 s/["\\]/\\&/g; s/^/"/; s/$/"/p
37036 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
37038 ' <confdefs.h | sed '
37039 s/'"$ac_delim"'/"\\\
37040 "/g' >>$CONFIG_STATUS || ac_write_fail=1
37042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37043 for (key in D) D_is_set[key] = 1
37046 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
37048 split(line, arg, " ")
37049 if (arg[1] == "#") {
37053 defundef = substr(arg[1], 2)
37056 split(mac1, mac2, "(") #)
37058 prefix = substr(line, 1, index(line, defundef) - 1)
37059 if (D_is_set[macro]) {
37060 # Preserve the white space surrounding the "#".
37061 print prefix "define", macro P[macro] D[macro]
37064 # Replace #undef with comments. This is necessary, for example,
37065 # in the case of _POSIX_SOURCE, which is predefined and required
37066 # on some systems where configure will not decide to define it.
37067 if (defundef == "undef") {
37068 print "/*", prefix defundef, macro, "*/"
37076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37077 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
37078 fi # test -n "$CONFIG_HEADERS"
37081 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
37086 :[FHLC]) ac_mode=$ac_tag; continue;;
37088 case $ac_mode$ac_tag in
37090 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
37091 :[FH]-) ac_tag=-:-;;
37092 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
37109 -) ac_f="$ac_tmp/stdin";;
37110 *) # Look for the file first in the build tree, then in the source tree
37111 # (if the path is not absolute). The absolute path cannot be DOS-style,
37112 # because $ac_f cannot contain `:'.
37116 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
37118 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
37120 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
37121 as_fn_append ac_file_inputs " '$ac_f'"
37124 # Let's still pretend it is `configure' which instantiates (i.e., don't
37125 # use $as_me), people would be surprised to read:
37126 # /* config.h. Generated by config.status. */
37127 configure_input='Generated from '`
37128 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
37130 if test x"$ac_file" != x-; then
37131 configure_input="$ac_file. $configure_input"
37132 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
37133 $as_echo "$as_me: creating $ac_file" >&6;}
37135 # Neutralize special characters interpreted by sed in replacement strings.
37136 case $configure_input in #(
37137 *\&* | *\|* | *\\* )
37138 ac_sed_conf_input=`$as_echo "$configure_input" |
37139 sed 's/[\\\\&|]/\\\\&/g'`;; #(
37140 *) ac_sed_conf_input=$configure_input;;
37144 *:-:* | *:-) cat >"$ac_tmp/stdin" \
37145 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
37150 ac_dir=`$as_dirname -- "$ac_file" ||
37151 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37152 X"$ac_file" : 'X\(//\)[^/]' \| \
37153 X"$ac_file" : 'X\(//\)$' \| \
37154 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
37155 $as_echo X"$ac_file" |
37156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37160 /^X\(\/\/\)[^/].*/{
37173 as_dir="$ac_dir"; as_fn_mkdir_p
37177 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
37179 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
37180 # A ".." for each directory in $ac_dir_suffix.
37181 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
37182 case $ac_top_builddir_sub in
37183 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
37184 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
37187 ac_abs_top_builddir=$ac_pwd
37188 ac_abs_builddir=$ac_pwd$ac_dir_suffix
37189 # for backward compatibility:
37190 ac_top_builddir=$ac_top_build_prefix
37193 .) # We are building in place.
37195 ac_top_srcdir=$ac_top_builddir_sub
37196 ac_abs_top_srcdir=$ac_pwd ;;
37197 [\\/]* | ?:[\\/]* ) # Absolute name.
37198 ac_srcdir=$srcdir$ac_dir_suffix;
37199 ac_top_srcdir=$srcdir
37200 ac_abs_top_srcdir=$srcdir ;;
37201 *) # Relative name.
37202 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
37203 ac_top_srcdir=$ac_top_build_prefix$srcdir
37204 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
37206 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
37216 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
37217 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
37219 ac_MKDIR_P=$MKDIR_P
37221 [\\/$]* | ?:[\\/]* ) ;;
37222 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
37226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37227 # If the template does not know about datarootdir, expand it.
37228 # FIXME: This hack should be removed a few years after 2.60.
37229 ac_datarootdir_hack=; ac_datarootdir_seen=
37240 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
37241 *datarootdir*) ac_datarootdir_seen=yes;;
37242 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
37243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
37244 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
37246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37247 ac_datarootdir_hack='
37248 s&@datadir@&$datadir&g
37249 s&@docdir@&$docdir&g
37250 s&@infodir@&$infodir&g
37251 s&@localedir@&$localedir&g
37252 s&@mandir@&$mandir&g
37253 s&\\\${datarootdir}&$datarootdir&g' ;;
37257 # Neutralize VPATH when `$srcdir' = `.'.
37258 # Shell code in configure.ac might set extrasub.
37259 # FIXME: do we really want to maintain this feature?
37260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37261 ac_sed_extra="$ac_vpsub
37264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37266 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37267 s|@configure_input@|$ac_sed_conf_input|;t t
37268 s&@top_builddir@&$ac_top_builddir_sub&;t t
37269 s&@top_build_prefix@&$ac_top_build_prefix&;t t
37270 s&@srcdir@&$ac_srcdir&;t t
37271 s&@abs_srcdir@&$ac_abs_srcdir&;t t
37272 s&@top_srcdir@&$ac_top_srcdir&;t t
37273 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
37274 s&@builddir@&$ac_builddir&;t t
37275 s&@abs_builddir@&$ac_abs_builddir&;t t
37276 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
37277 s&@INSTALL@&$ac_INSTALL&;t t
37278 s&@MKDIR_P@&$ac_MKDIR_P&;t t
37279 $ac_datarootdir_hack
37281 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
37282 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
37284 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
37285 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
37286 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
37287 "$ac_tmp/out"`; test -z "$ac_out"; } &&
37288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
37289 which seems to be undefined. Please make sure it is defined" >&5
37290 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
37291 which seems to be undefined. Please make sure it is defined" >&2;}
37293 rm -f "$ac_tmp/stdin"
37295 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
37296 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
37298 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
37304 if test x"$ac_file" != x-; then
37306 $as_echo "/* $configure_input */" \
37307 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
37308 } >"$ac_tmp/config.h" \
37309 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
37310 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
37311 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
37312 $as_echo "$as_me: $ac_file is unchanged" >&6;}
37315 mv "$ac_tmp/config.h" "$ac_file" \
37316 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
37319 $as_echo "/* $configure_input */" \
37320 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
37321 || as_fn_error $? "could not create -" "$LINENO" 5
37323 # Compute "$ac_file"'s index in $config_headers.
37326 for _am_header in $config_headers :; do
37327 case $_am_header in
37328 $_am_arg | $_am_arg:* )
37331 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
37334 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
37335 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37336 X"$_am_arg" : 'X\(//\)[^/]' \| \
37337 X"$_am_arg" : 'X\(//\)$' \| \
37338 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
37339 $as_echo X"$_am_arg" |
37340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37344 /^X\(\/\/\)[^/].*/{
37356 s/.*/./; q'`/stamp-h$_am_stamp_count
37359 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
37360 $as_echo "$as_me: executing $ac_file commands" >&6;}
37365 case $ac_file$ac_mode in
37366 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
37367 # Autoconf 2.62 quotes --file arguments for eval, but not when files
37368 # are listed without --file. Let's play safe and only enable the eval
37369 # if we detect the quoting.
37370 case $CONFIG_FILES in
37371 *\'*) eval set x "$CONFIG_FILES" ;;
37372 *) set x $CONFIG_FILES ;;
37377 # Strip MF so we end up with the name of the file.
37378 mf=`echo "$mf" | sed -e 's/:.*$//'`
37379 # Check whether this is an Automake generated Makefile or not.
37380 # We used to match only the files named `Makefile.in', but
37381 # some people rename them; so instead we look at the file content.
37382 # Grep'ing the first line is not enough: some people post-process
37383 # each Makefile.in and add a new line on top of each file to say so.
37384 # Grep'ing the whole file is not good either: AIX grep has a line
37385 # limit of 2048, but all sed's we know have understand at least 4000.
37386 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
37387 dirpart=`$as_dirname -- "$mf" ||
37388 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37389 X"$mf" : 'X\(//\)[^/]' \| \
37390 X"$mf" : 'X\(//\)$' \| \
37391 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
37393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37397 /^X\(\/\/\)[^/].*/{
37413 # Extract the definition of DEPDIR, am__include, and am__quote
37414 # from the Makefile without running `make'.
37415 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
37416 test -z "$DEPDIR" && continue
37417 am__include=`sed -n 's/^am__include = //p' < "$mf"`
37418 test -z "am__include" && continue
37419 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
37420 # When using ansi2knr, U may be empty or an underscore; expand it
37421 U=`sed -n 's/^U = //p' < "$mf"`
37422 # Find all dependency output files, they are included files with
37423 # $(DEPDIR) in their names. We invoke sed twice because it is the
37424 # simplest approach to changing $(DEPDIR) to its actual value in the
37426 for file in `sed -n "
37427 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
37428 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
37429 # Make sure the directory exists.
37430 test -f "$dirpart/$file" && continue
37431 fdir=`$as_dirname -- "$file" ||
37432 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37433 X"$file" : 'X\(//\)[^/]' \| \
37434 X"$file" : 'X\(//\)$' \| \
37435 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
37436 $as_echo X"$file" |
37437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37441 /^X\(\/\/\)[^/].*/{
37454 as_dir=$dirpart/$fdir; as_fn_mkdir_p
37455 # echo "creating $dirpart/$file"
37456 echo '# dummy' > "$dirpart/$file"
37463 # See if we are running on zsh, and set the options which allow our
37464 # commands through without removal of \ escapes.
37465 if test -n "${ZSH_VERSION+set}" ; then
37466 setopt NO_GLOB_SUBST
37469 cfgfile="${ofile}T"
37470 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
37473 cat <<_LT_EOF >> "$cfgfile"
37476 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
37477 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
37478 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
37479 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
37481 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
37482 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
37484 # Written by Gordon Matzigkeit, 1996
37486 # This file is part of GNU Libtool.
37488 # GNU Libtool is free software; you can redistribute it and/or
37489 # modify it under the terms of the GNU General Public License as
37490 # published by the Free Software Foundation; either version 2 of
37491 # the License, or (at your option) any later version.
37493 # As a special exception to the GNU General Public License,
37494 # if you distribute this file as part of a program or library that
37495 # is built using GNU Libtool, you may include this file under the
37496 # same distribution terms that you use for the rest of that program.
37498 # GNU Libtool is distributed in the hope that it will be useful,
37499 # but WITHOUT ANY WARRANTY; without even the implied warranty of
37500 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
37501 # GNU General Public License for more details.
37503 # You should have received a copy of the GNU General Public License
37504 # along with GNU Libtool; see the file COPYING. If not, a copy
37505 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
37506 # obtained by writing to the Free Software Foundation, Inc.,
37507 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
37510 # The names of the tagged configurations supported by this script.
37511 available_tags="CXX "
37513 # ### BEGIN LIBTOOL CONFIG
37515 # Which release of libtool.m4 was used?
37516 macro_version=$macro_version
37517 macro_revision=$macro_revision
37519 # Assembler program.
37522 # DLL creation program.
37523 DLLTOOL=$lt_DLLTOOL
37525 # Object dumper program.
37526 OBJDUMP=$lt_OBJDUMP
37528 # Whether or not to build shared libraries.
37529 build_libtool_libs=$enable_shared
37531 # Whether or not to build static libraries.
37532 build_old_libs=$enable_static
37534 # What type of objects to build.
37537 # Whether or not to optimize for fast installation.
37538 fast_install=$enable_fast_install
37540 # Shell to use when invoking shell scripts.
37543 # An echo program that protects backslashes.
37546 # The PATH separator for the build system.
37547 PATH_SEPARATOR=$lt_PATH_SEPARATOR
37550 host_alias=$host_alias
37554 # The build system.
37555 build_alias=$build_alias
37559 # A sed program that does not truncate output.
37562 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
37563 Xsed="\$SED -e 1s/^X//"
37565 # A grep program that handles long lines.
37571 # A literal string matcher.
37574 # A BSD- or MS-compatible name lister.
37577 # Whether we need soft or hard links.
37580 # What is the maximum length of a command?
37581 max_cmd_len=$max_cmd_len
37583 # Object file suffix (normally "o").
37586 # Executable file suffix (normally "").
37589 # whether the shell understands "unset".
37592 # turn spaces into newlines.
37595 # turn newlines into spaces.
37598 # convert \$build file names to \$host format.
37599 to_host_file_cmd=$lt_cv_to_host_file_cmd
37601 # convert \$build files to toolchain format.
37602 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
37604 # Method to check whether dependent libraries are shared objects.
37605 deplibs_check_method=$lt_deplibs_check_method
37607 # Command to use when deplibs_check_method = "file_magic".
37608 file_magic_cmd=$lt_file_magic_cmd
37610 # How to find potential files when deplibs_check_method = "file_magic".
37611 file_magic_glob=$lt_file_magic_glob
37613 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
37614 want_nocaseglob=$lt_want_nocaseglob
37616 # Command to associate shared and link libraries.
37617 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
37622 # Flags to create an archive.
37623 AR_FLAGS=$lt_AR_FLAGS
37625 # How to feed a file listing to the archiver.
37626 archiver_list_spec=$lt_archiver_list_spec
37628 # A symbol stripping program.
37631 # Commands used to install an old-style archive.
37633 old_postinstall_cmds=$lt_old_postinstall_cmds
37634 old_postuninstall_cmds=$lt_old_postuninstall_cmds
37636 # Whether to use a lock for old archive extraction.
37637 lock_old_archive_extraction=$lock_old_archive_extraction
37642 # LTCC compiler flags.
37643 LTCFLAGS=$lt_CFLAGS
37645 # Take the output of nm and produce a listing of raw symbols and C names.
37646 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
37648 # Transform the output of nm in a proper C declaration.
37649 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
37651 # Transform the output of nm in a C name address pair.
37652 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
37654 # Transform the output of nm in a C name address pair when lib prefix is needed.
37655 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
37657 # Specify filename containing input files for \$NM.
37658 nm_file_list_spec=$lt_nm_file_list_spec
37660 # The root where to search for dependent libraries,and in which our libraries should be installed.
37661 lt_sysroot=$lt_sysroot
37663 # The name of the directory that contains temporary libtool files.
37666 # Used to examine libraries when file_magic_cmd begins with "file".
37667 MAGIC_CMD=$MAGIC_CMD
37669 # Must we lock files when doing compilation?
37670 need_locks=$lt_need_locks
37673 MANIFEST_TOOL=$lt_MANIFEST_TOOL
37675 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
37676 DSYMUTIL=$lt_DSYMUTIL
37678 # Tool to change global to local symbols on Mac OS X.
37681 # Tool to manipulate fat objects and archives on Mac OS X.
37684 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
37687 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
37688 OTOOL64=$lt_OTOOL64
37690 # Old archive suffix (normally "a").
37693 # Shared library suffix (normally ".so").
37694 shrext_cmds=$lt_shrext_cmds
37696 # The commands to extract the exported symbol list from a shared archive.
37697 extract_expsyms_cmds=$lt_extract_expsyms_cmds
37699 # Variables whose values should be saved in libtool wrapper scripts and
37700 # restored at link time.
37701 variables_saved_for_relink=$lt_variables_saved_for_relink
37703 # Do we need the "lib" prefix for modules?
37704 need_lib_prefix=$need_lib_prefix
37706 # Do we need a version for libraries?
37707 need_version=$need_version
37709 # Library versioning type.
37710 version_type=$version_type
37712 # Shared library runtime path variable.
37713 runpath_var=$runpath_var
37715 # Shared library path variable.
37716 shlibpath_var=$shlibpath_var
37718 # Is shlibpath searched before the hard-coded library search path?
37719 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
37721 # Format of library name prefix.
37722 libname_spec=$lt_libname_spec
37724 # List of archive names. First name is the real one, the rest are links.
37725 # The last name is the one that the linker finds with -lNAME
37726 library_names_spec=$lt_library_names_spec
37728 # The coded name of the library, if different from the real name.
37729 soname_spec=$lt_soname_spec
37731 # Permission mode override for installation of shared libraries.
37732 install_override_mode=$lt_install_override_mode
37734 # Command to use after installation of a shared archive.
37735 postinstall_cmds=$lt_postinstall_cmds
37737 # Command to use after uninstallation of a shared archive.
37738 postuninstall_cmds=$lt_postuninstall_cmds
37740 # Commands used to finish a libtool library installation in a directory.
37741 finish_cmds=$lt_finish_cmds
37743 # As "finish_cmds", except a single script fragment to be evaled but
37745 finish_eval=$lt_finish_eval
37747 # Whether we should hardcode library paths into libraries.
37748 hardcode_into_libs=$hardcode_into_libs
37750 # Compile-time system search path for libraries.
37751 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
37753 # Run-time system search path for libraries.
37754 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
37756 # Whether dlopen is supported.
37757 dlopen_support=$enable_dlopen
37759 # Whether dlopen of programs is supported.
37760 dlopen_self=$enable_dlopen_self
37762 # Whether dlopen of statically linked programs is supported.
37763 dlopen_self_static=$enable_dlopen_self_static
37765 # Commands to strip libraries.
37766 old_striplib=$lt_old_striplib
37767 striplib=$lt_striplib
37770 # The linker used to build libraries.
37773 # How to create reloadable object files.
37774 reload_flag=$lt_reload_flag
37775 reload_cmds=$lt_reload_cmds
37777 # Commands used to build an old-style archive.
37778 old_archive_cmds=$lt_old_archive_cmds
37780 # A language specific compiler.
37783 # Is the compiler the GNU compiler?
37786 # Compiler flag to turn off builtin functions.
37787 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
37789 # Additional compiler flags for building library objects.
37790 pic_flag=$lt_lt_prog_compiler_pic
37792 # How to pass a linker flag through the compiler.
37793 wl=$lt_lt_prog_compiler_wl
37795 # Compiler flag to prevent dynamic linking.
37796 link_static_flag=$lt_lt_prog_compiler_static
37798 # Does compiler simultaneously support -c and -o options?
37799 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
37801 # Whether or not to add -lc for building shared libraries.
37802 build_libtool_need_lc=$archive_cmds_need_lc
37804 # Whether or not to disallow shared libs when runtime libs are static.
37805 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
37807 # Compiler flag to allow reflexive dlopens.
37808 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
37810 # Compiler flag to generate shared objects directly from archives.
37811 whole_archive_flag_spec=$lt_whole_archive_flag_spec
37813 # Whether the compiler copes with passing no objects directly.
37814 compiler_needs_object=$lt_compiler_needs_object
37816 # Create an old-style archive from a shared archive.
37817 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
37819 # Create a temporary old-style archive to link instead of a shared archive.
37820 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
37822 # Commands used to build a shared archive.
37823 archive_cmds=$lt_archive_cmds
37824 archive_expsym_cmds=$lt_archive_expsym_cmds
37826 # Commands used to build a loadable module if different from building
37827 # a shared archive.
37828 module_cmds=$lt_module_cmds
37829 module_expsym_cmds=$lt_module_expsym_cmds
37831 # Whether we are building with GNU ld or not.
37832 with_gnu_ld=$lt_with_gnu_ld
37834 # Flag that allows shared libraries with undefined symbols to be built.
37835 allow_undefined_flag=$lt_allow_undefined_flag
37837 # Flag that enforces no undefined symbols.
37838 no_undefined_flag=$lt_no_undefined_flag
37840 # Flag to hardcode \$libdir into a binary during linking.
37841 # This must work even if \$libdir does not exist
37842 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
37844 # Whether we need a single "-rpath" flag with a separated argument.
37845 hardcode_libdir_separator=$lt_hardcode_libdir_separator
37847 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
37848 # DIR into the resulting binary.
37849 hardcode_direct=$hardcode_direct
37851 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
37852 # DIR into the resulting binary and the resulting library dependency is
37853 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
37854 # library is relocated.
37855 hardcode_direct_absolute=$hardcode_direct_absolute
37857 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
37858 # into the resulting binary.
37859 hardcode_minus_L=$hardcode_minus_L
37861 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
37862 # into the resulting binary.
37863 hardcode_shlibpath_var=$hardcode_shlibpath_var
37865 # Set to "yes" if building a shared library automatically hardcodes DIR
37866 # into the library and all subsequent libraries and executables linked
37868 hardcode_automatic=$hardcode_automatic
37870 # Set to yes if linker adds runtime paths of dependent libraries
37871 # to runtime path list.
37872 inherit_rpath=$inherit_rpath
37874 # Whether libtool must link a program against all its dependency libraries.
37875 link_all_deplibs=$link_all_deplibs
37877 # Set to "yes" if exported symbols are required.
37878 always_export_symbols=$always_export_symbols
37880 # The commands to list exported symbols.
37881 export_symbols_cmds=$lt_export_symbols_cmds
37883 # Symbols that should not be listed in the preloaded symbols.
37884 exclude_expsyms=$lt_exclude_expsyms
37886 # Symbols that must always be exported.
37887 include_expsyms=$lt_include_expsyms
37889 # Commands necessary for linking programs (against libraries) with templates.
37890 prelink_cmds=$lt_prelink_cmds
37892 # Commands necessary for finishing linking programs.
37893 postlink_cmds=$lt_postlink_cmds
37895 # Specify filename containing input files.
37896 file_list_spec=$lt_file_list_spec
37898 # How to hardcode a shared library path into an executable.
37899 hardcode_action=$hardcode_action
37901 # The directories searched by this compiler when creating a shared library.
37902 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
37904 # Dependencies to place before and after the objects being linked to
37905 # create a shared library.
37906 predep_objects=$lt_predep_objects
37907 postdep_objects=$lt_postdep_objects
37908 predeps=$lt_predeps
37909 postdeps=$lt_postdeps
37911 # The library search path used internally by the compiler when linking
37912 # a shared library.
37913 compiler_lib_search_path=$lt_compiler_lib_search_path
37915 # ### END LIBTOOL CONFIG
37921 cat <<\_LT_EOF >> "$cfgfile"
37922 # AIX sometimes has problems with the GCC collect2 program. For some
37923 # reason, if we set the COLLECT_NAMES environment variable, the problems
37924 # vanish in a puff of smoke.
37925 if test "X${COLLECT_NAMES+set}" != Xset; then
37927 export COLLECT_NAMES
37934 ltmain="$ac_aux_dir/ltmain.sh"
37937 # We use sed instead of cat because bash on DJGPP gets confused if
37938 # if finds mixed CR/LF and LF-only lines. Since sed operates in
37939 # text mode, it properly converts lines to CR/LF. This bash problem
37940 # is reportedly fixed, but why not run on old versions too?
37941 sed '$q' "$ltmain" >> "$cfgfile" \
37942 || (rm -f "$cfgfile"; exit 1)
37944 if test x"$xsi_shell" = xyes; then
37945 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
37949 \ */*) func_dirname_result="${1%/*}${2}" ;;\
37950 \ * ) func_dirname_result="${3}" ;;\
37952 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
37953 && mv -f "$cfgfile.tmp" "$cfgfile" \
37954 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
37955 test 0 -eq $? || _lt_function_replace_fail=:
37958 sed -e '/^func_basename ()$/,/^} # func_basename /c\
37961 \ func_basename_result="${1##*/}"\
37962 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
37963 && mv -f "$cfgfile.tmp" "$cfgfile" \
37964 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
37965 test 0 -eq $? || _lt_function_replace_fail=:
37968 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
37969 func_dirname_and_basename ()\
37972 \ */*) func_dirname_result="${1%/*}${2}" ;;\
37973 \ * ) func_dirname_result="${3}" ;;\
37975 \ func_basename_result="${1##*/}"\
37976 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
37977 && mv -f "$cfgfile.tmp" "$cfgfile" \
37978 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
37979 test 0 -eq $? || _lt_function_replace_fail=:
37982 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
37985 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
37986 \ # positional parameters, so assign one to ordinary parameter first.\
37987 \ func_stripname_result=${3}\
37988 \ func_stripname_result=${func_stripname_result#"${1}"}\
37989 \ func_stripname_result=${func_stripname_result%"${2}"}\
37990 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
37991 && mv -f "$cfgfile.tmp" "$cfgfile" \
37992 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
37993 test 0 -eq $? || _lt_function_replace_fail=:
37996 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
37997 func_split_long_opt ()\
37999 \ func_split_long_opt_name=${1%%=*}\
38000 \ func_split_long_opt_arg=${1#*=}\
38001 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
38002 && mv -f "$cfgfile.tmp" "$cfgfile" \
38003 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
38004 test 0 -eq $? || _lt_function_replace_fail=:
38007 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
38008 func_split_short_opt ()\
38010 \ func_split_short_opt_arg=${1#??}\
38011 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
38012 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
38013 && mv -f "$cfgfile.tmp" "$cfgfile" \
38014 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
38015 test 0 -eq $? || _lt_function_replace_fail=:
38018 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
38022 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
38023 \ *) func_lo2o_result=${1} ;;\
38025 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
38026 && mv -f "$cfgfile.tmp" "$cfgfile" \
38027 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
38028 test 0 -eq $? || _lt_function_replace_fail=:
38031 sed -e '/^func_xform ()$/,/^} # func_xform /c\
38034 func_xform_result=${1%.*}.lo\
38035 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
38036 && mv -f "$cfgfile.tmp" "$cfgfile" \
38037 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
38038 test 0 -eq $? || _lt_function_replace_fail=:
38041 sed -e '/^func_arith ()$/,/^} # func_arith /c\
38044 func_arith_result=$(( $* ))\
38045 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
38046 && mv -f "$cfgfile.tmp" "$cfgfile" \
38047 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
38048 test 0 -eq $? || _lt_function_replace_fail=:
38051 sed -e '/^func_len ()$/,/^} # func_len /c\
38054 func_len_result=${#1}\
38055 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
38056 && mv -f "$cfgfile.tmp" "$cfgfile" \
38057 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
38058 test 0 -eq $? || _lt_function_replace_fail=:
38062 if test x"$lt_shell_append" = xyes; then
38063 sed -e '/^func_append ()$/,/^} # func_append /c\
38066 eval "${1}+=\\${2}"\
38067 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
38068 && mv -f "$cfgfile.tmp" "$cfgfile" \
38069 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
38070 test 0 -eq $? || _lt_function_replace_fail=:
38073 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
38074 func_append_quoted ()\
38076 \ func_quote_for_eval "${2}"\
38077 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
38078 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
38079 && mv -f "$cfgfile.tmp" "$cfgfile" \
38080 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
38081 test 0 -eq $? || _lt_function_replace_fail=:
38084 # Save a `func_append' function call where possible by direct use of '+='
38085 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
38086 && mv -f "$cfgfile.tmp" "$cfgfile" \
38087 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
38088 test 0 -eq $? || _lt_function_replace_fail=:
38090 # Save a `func_append' function call even when '+=' is not available
38091 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
38092 && mv -f "$cfgfile.tmp" "$cfgfile" \
38093 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
38094 test 0 -eq $? || _lt_function_replace_fail=:
38097 if test x"$_lt_function_replace_fail" = x":"; then
38098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
38099 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
38103 mv -f "$cfgfile" "$ofile" ||
38104 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
38108 cat <<_LT_EOF >> "$ofile"
38110 # ### BEGIN LIBTOOL TAG CONFIG: CXX
38112 # The linker used to build libraries.
38115 # How to create reloadable object files.
38116 reload_flag=$lt_reload_flag_CXX
38117 reload_cmds=$lt_reload_cmds_CXX
38119 # Commands used to build an old-style archive.
38120 old_archive_cmds=$lt_old_archive_cmds_CXX
38122 # A language specific compiler.
38123 CC=$lt_compiler_CXX
38125 # Is the compiler the GNU compiler?
38128 # Compiler flag to turn off builtin functions.
38129 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
38131 # Additional compiler flags for building library objects.
38132 pic_flag=$lt_lt_prog_compiler_pic_CXX
38134 # How to pass a linker flag through the compiler.
38135 wl=$lt_lt_prog_compiler_wl_CXX
38137 # Compiler flag to prevent dynamic linking.
38138 link_static_flag=$lt_lt_prog_compiler_static_CXX
38140 # Does compiler simultaneously support -c and -o options?
38141 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
38143 # Whether or not to add -lc for building shared libraries.
38144 build_libtool_need_lc=$archive_cmds_need_lc_CXX
38146 # Whether or not to disallow shared libs when runtime libs are static.
38147 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
38149 # Compiler flag to allow reflexive dlopens.
38150 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
38152 # Compiler flag to generate shared objects directly from archives.
38153 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
38155 # Whether the compiler copes with passing no objects directly.
38156 compiler_needs_object=$lt_compiler_needs_object_CXX
38158 # Create an old-style archive from a shared archive.
38159 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
38161 # Create a temporary old-style archive to link instead of a shared archive.
38162 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
38164 # Commands used to build a shared archive.
38165 archive_cmds=$lt_archive_cmds_CXX
38166 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
38168 # Commands used to build a loadable module if different from building
38169 # a shared archive.
38170 module_cmds=$lt_module_cmds_CXX
38171 module_expsym_cmds=$lt_module_expsym_cmds_CXX
38173 # Whether we are building with GNU ld or not.
38174 with_gnu_ld=$lt_with_gnu_ld_CXX
38176 # Flag that allows shared libraries with undefined symbols to be built.
38177 allow_undefined_flag=$lt_allow_undefined_flag_CXX
38179 # Flag that enforces no undefined symbols.
38180 no_undefined_flag=$lt_no_undefined_flag_CXX
38182 # Flag to hardcode \$libdir into a binary during linking.
38183 # This must work even if \$libdir does not exist
38184 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
38186 # Whether we need a single "-rpath" flag with a separated argument.
38187 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
38189 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
38190 # DIR into the resulting binary.
38191 hardcode_direct=$hardcode_direct_CXX
38193 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
38194 # DIR into the resulting binary and the resulting library dependency is
38195 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
38196 # library is relocated.
38197 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
38199 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
38200 # into the resulting binary.
38201 hardcode_minus_L=$hardcode_minus_L_CXX
38203 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
38204 # into the resulting binary.
38205 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
38207 # Set to "yes" if building a shared library automatically hardcodes DIR
38208 # into the library and all subsequent libraries and executables linked
38210 hardcode_automatic=$hardcode_automatic_CXX
38212 # Set to yes if linker adds runtime paths of dependent libraries
38213 # to runtime path list.
38214 inherit_rpath=$inherit_rpath_CXX
38216 # Whether libtool must link a program against all its dependency libraries.
38217 link_all_deplibs=$link_all_deplibs_CXX
38219 # Set to "yes" if exported symbols are required.
38220 always_export_symbols=$always_export_symbols_CXX
38222 # The commands to list exported symbols.
38223 export_symbols_cmds=$lt_export_symbols_cmds_CXX
38225 # Symbols that should not be listed in the preloaded symbols.
38226 exclude_expsyms=$lt_exclude_expsyms_CXX
38228 # Symbols that must always be exported.
38229 include_expsyms=$lt_include_expsyms_CXX
38231 # Commands necessary for linking programs (against libraries) with templates.
38232 prelink_cmds=$lt_prelink_cmds_CXX
38234 # Commands necessary for finishing linking programs.
38235 postlink_cmds=$lt_postlink_cmds_CXX
38237 # Specify filename containing input files.
38238 file_list_spec=$lt_file_list_spec_CXX
38240 # How to hardcode a shared library path into an executable.
38241 hardcode_action=$hardcode_action_CXX
38243 # The directories searched by this compiler when creating a shared library.
38244 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
38246 # Dependencies to place before and after the objects being linked to
38247 # create a shared library.
38248 predep_objects=$lt_predep_objects_CXX
38249 postdep_objects=$lt_postdep_objects_CXX
38250 predeps=$lt_predeps_CXX
38251 postdeps=$lt_postdeps_CXX
38253 # The library search path used internally by the compiler when linking
38254 # a shared library.
38255 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
38257 # ### END LIBTOOL TAG CONFIG: CXX
38261 "$srcdir/build/Makefile.win32.features":C)
38262 _config_file=$srcdir/build/Makefile.win32.features
38263 _tmp_file=cairoconf.tmp
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38265 $as_echo "$as_me: creating $_config_file" >&6;}
38267 echo "$CAIRO_MAKEFILE___WIN32"
38268 } >> "$_tmp_file" ||
38269 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38271 if cmp -s "$_tmp_file" "$_config_file"; then
38272 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38273 $as_echo "$as_me: $_config_file is unchanged" >&6;}
38276 mv "$_tmp_file" "$_config_file" ||
38277 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38280 "$srcdir/src/Makefile.am.features":C)
38281 _config_file=$srcdir/src/Makefile.am.features
38282 _tmp_file=cairoconf.tmp
38283 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38284 $as_echo "$as_me: creating $_config_file" >&6;}
38286 echo "$CAIRO_MAKEFILE_cairo_AMAKE"
38287 } >> "$_tmp_file" ||
38288 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38290 if cmp -s "$_tmp_file" "$_config_file"; then
38291 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38292 $as_echo "$as_me: $_config_file is unchanged" >&6;}
38295 mv "$_tmp_file" "$_config_file" ||
38296 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38299 "$srcdir/src/Makefile.win32.features":C)
38300 _config_file=$srcdir/src/Makefile.win32.features
38301 _tmp_file=cairoconf.tmp
38302 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38303 $as_echo "$as_me: creating $_config_file" >&6;}
38305 echo "$CAIRO_MAKEFILE_cairo_WIN32"
38306 } >> "$_tmp_file" ||
38307 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38309 if cmp -s "$_tmp_file" "$_config_file"; then
38310 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38311 $as_echo "$as_me: $_config_file is unchanged" >&6;}
38314 mv "$_tmp_file" "$_config_file" ||
38315 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38318 "$srcdir/boilerplate/Makefile.am.features":C)
38319 _config_file=$srcdir/boilerplate/Makefile.am.features
38320 _tmp_file=cairoconf.tmp
38321 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38322 $as_echo "$as_me: creating $_config_file" >&6;}
38324 echo "$CAIRO_MAKEFILE_cairo_boilerplate_AMAKE"
38325 } >> "$_tmp_file" ||
38326 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38328 if cmp -s "$_tmp_file" "$_config_file"; then
38329 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38330 $as_echo "$as_me: $_config_file is unchanged" >&6;}
38333 mv "$_tmp_file" "$_config_file" ||
38334 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38337 "$srcdir/boilerplate/Makefile.win32.features":C)
38338 _config_file=$srcdir/boilerplate/Makefile.win32.features
38339 _tmp_file=cairoconf.tmp
38340 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38341 $as_echo "$as_me: creating $_config_file" >&6;}
38343 echo "$CAIRO_MAKEFILE_cairo_boilerplate_WIN32"
38344 } >> "$_tmp_file" ||
38345 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38347 if cmp -s "$_tmp_file" "$_config_file"; then
38348 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38349 $as_echo "$as_me: $_config_file is unchanged" >&6;}
38352 mv "$_tmp_file" "$_config_file" ||
38353 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38356 "src/cairo-features.h":C)
38357 _config_file=src/cairo-features.h
38358 _tmp_file=cairoconf.tmp
38359 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38360 $as_echo "$as_me: creating $_config_file" >&6;}
38362 echo '/* Generated by configure. Do not edit. */'
38363 echo '#ifndef CAIRO_FEATURES_H'
38364 echo '#define CAIRO_FEATURES_H'
38366 for FEATURE in $CAIRO_FEATURES; do
38367 echo "#define $FEATURE 1"
38370 for FEATURE in $CAIRO_NO_FEATURES; do
38371 echo "/*#undef $FEATURE */"
38376 } >> "$_tmp_file" ||
38377 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38379 if cmp -s "$_tmp_file" "$_config_file"; then
38380 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38381 $as_echo "$as_me: $_config_file is unchanged" >&6;}
38384 mv "$_tmp_file" "$_config_file" ||
38385 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38388 "src/cairo-supported-features.h":C)
38389 _config_file=src/cairo-supported-features.h
38390 _tmp_file=cairoconf.tmp
38391 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38392 $as_echo "$as_me: creating $_config_file" >&6;}
38394 echo '/* Generated by configure. Do not edit. */'
38395 echo '#ifndef CAIRO_SUPPORTED_FEATURES_H'
38396 echo '#define CAIRO_SUPPORTED_FEATURES_H'
38398 echo '/* This is a dummy header, to trick gtk-doc only */'
38400 for FEATURE in $CAIRO_SUPPORTED_FEATURES; do
38401 echo "#define $FEATURE 1"
38406 } >> "$_tmp_file" ||
38407 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38409 if cmp -s "$_tmp_file" "$_config_file"; then
38410 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38411 $as_echo "$as_me: $_config_file is unchanged" >&6;}
38414 mv "$_tmp_file" "$_config_file" ||
38415 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38418 "$srcdir/build/Makefile.win32.features-h":C)
38419 _config_file=$srcdir/build/Makefile.win32.features-h
38420 _tmp_file=cairoconf.tmp
38421 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38422 $as_echo "$as_me: creating $_config_file" >&6;}
38424 echo "$CAIRO_MAKEFILE_win32_features_h_WIN32"
38425 } >> "$_tmp_file" ||
38426 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38428 if cmp -s "$_tmp_file" "$_config_file"; then
38429 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38430 $as_echo "$as_me: $_config_file is unchanged" >&6;}
38433 mv "$_tmp_file" "$_config_file" ||
38434 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38437 "src/cairo-xlib.pc":F) mv "src/cairo-xlib.pc" "src/cairo-xlib.pc.tmp" &&
38438 $SED " s%@FEATURE_PC@%cairo-xlib%g; s%@FEATURE_NAME@%Xlib surface backend%g; s%@FEATURE_BASE@%$xlib_BASE%g; s%@FEATURE_REQUIRES@%$xlib_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xlib_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xlib_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xlib_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-xlib.pc.tmp" > "src/cairo-xlib.pc" && rm -f "src/cairo-xlib.pc.tmp" ||
38439 as_fn_error $? "failed to update src/cairo-xlib.pc" "$LINENO" 5
38441 "cairo-xlib-uninstalled.pc":F) mv "cairo-xlib-uninstalled.pc" "cairo-xlib-uninstalled.pc.tmp" &&
38442 $SED " s%@FEATURE_PC@%cairo-xlib%g; s%@FEATURE_NAME@%Xlib surface backend%g; s%@FEATURE_BASE@%$xlib_BASE%g; s%@FEATURE_REQUIRES@%$xlib_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xlib_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xlib_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xlib_NONPKGCONFIG_CFLAGS%g; " < "cairo-xlib-uninstalled.pc.tmp" > "cairo-xlib-uninstalled.pc" && rm -f "cairo-xlib-uninstalled.pc.tmp" ||
38443 as_fn_error $? "failed to update cairo-xlib-uninstalled.pc" "$LINENO" 5
38445 "src/cairo-xlib-xrender.pc":F) mv "src/cairo-xlib-xrender.pc" "src/cairo-xlib-xrender.pc.tmp" &&
38446 $SED " s%@FEATURE_PC@%cairo-xlib-xrender%g; s%@FEATURE_NAME@%Xlib Xrender surface backend%g; s%@FEATURE_BASE@%$xlib_xrender_BASE%g; s%@FEATURE_REQUIRES@%$xlib_xrender_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xlib_xrender_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xlib_xrender_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xlib_xrender_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-xlib-xrender.pc.tmp" > "src/cairo-xlib-xrender.pc" && rm -f "src/cairo-xlib-xrender.pc.tmp" ||
38447 as_fn_error $? "failed to update src/cairo-xlib-xrender.pc" "$LINENO" 5
38449 "cairo-xlib-xrender-uninstalled.pc":F) mv "cairo-xlib-xrender-uninstalled.pc" "cairo-xlib-xrender-uninstalled.pc.tmp" &&
38450 $SED " s%@FEATURE_PC@%cairo-xlib-xrender%g; s%@FEATURE_NAME@%Xlib Xrender surface backend%g; s%@FEATURE_BASE@%$xlib_xrender_BASE%g; s%@FEATURE_REQUIRES@%$xlib_xrender_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xlib_xrender_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xlib_xrender_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xlib_xrender_NONPKGCONFIG_CFLAGS%g; " < "cairo-xlib-xrender-uninstalled.pc.tmp" > "cairo-xlib-xrender-uninstalled.pc" && rm -f "cairo-xlib-xrender-uninstalled.pc.tmp" ||
38451 as_fn_error $? "failed to update cairo-xlib-xrender-uninstalled.pc" "$LINENO" 5
38453 "src/cairo-xcb.pc":F) mv "src/cairo-xcb.pc" "src/cairo-xcb.pc.tmp" &&
38454 $SED " s%@FEATURE_PC@%cairo-xcb%g; s%@FEATURE_NAME@%XCB surface backend%g; s%@FEATURE_BASE@%$xcb_BASE%g; s%@FEATURE_REQUIRES@%$xcb_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xcb_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xcb_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xcb_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-xcb.pc.tmp" > "src/cairo-xcb.pc" && rm -f "src/cairo-xcb.pc.tmp" ||
38455 as_fn_error $? "failed to update src/cairo-xcb.pc" "$LINENO" 5
38457 "cairo-xcb-uninstalled.pc":F) mv "cairo-xcb-uninstalled.pc" "cairo-xcb-uninstalled.pc.tmp" &&
38458 $SED " s%@FEATURE_PC@%cairo-xcb%g; s%@FEATURE_NAME@%XCB surface backend%g; s%@FEATURE_BASE@%$xcb_BASE%g; s%@FEATURE_REQUIRES@%$xcb_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xcb_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xcb_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xcb_NONPKGCONFIG_CFLAGS%g; " < "cairo-xcb-uninstalled.pc.tmp" > "cairo-xcb-uninstalled.pc" && rm -f "cairo-xcb-uninstalled.pc.tmp" ||
38459 as_fn_error $? "failed to update cairo-xcb-uninstalled.pc" "$LINENO" 5
38461 "src/cairo-xlib-xcb.pc":F) mv "src/cairo-xlib-xcb.pc" "src/cairo-xlib-xcb.pc.tmp" &&
38462 $SED " s%@FEATURE_PC@%cairo-xlib-xcb%g; s%@FEATURE_NAME@%Xlib/XCB functions%g; s%@FEATURE_BASE@%$xlib_xcb_BASE%g; s%@FEATURE_REQUIRES@%$xlib_xcb_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xlib_xcb_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xlib_xcb_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xlib_xcb_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-xlib-xcb.pc.tmp" > "src/cairo-xlib-xcb.pc" && rm -f "src/cairo-xlib-xcb.pc.tmp" ||
38463 as_fn_error $? "failed to update src/cairo-xlib-xcb.pc" "$LINENO" 5
38465 "cairo-xlib-xcb-uninstalled.pc":F) mv "cairo-xlib-xcb-uninstalled.pc" "cairo-xlib-xcb-uninstalled.pc.tmp" &&
38466 $SED " s%@FEATURE_PC@%cairo-xlib-xcb%g; s%@FEATURE_NAME@%Xlib/XCB functions%g; s%@FEATURE_BASE@%$xlib_xcb_BASE%g; s%@FEATURE_REQUIRES@%$xlib_xcb_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xlib_xcb_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xlib_xcb_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xlib_xcb_NONPKGCONFIG_CFLAGS%g; " < "cairo-xlib-xcb-uninstalled.pc.tmp" > "cairo-xlib-xcb-uninstalled.pc" && rm -f "cairo-xlib-xcb-uninstalled.pc.tmp" ||
38467 as_fn_error $? "failed to update cairo-xlib-xcb-uninstalled.pc" "$LINENO" 5
38469 "src/cairo-xcb-shm.pc":F) mv "src/cairo-xcb-shm.pc" "src/cairo-xcb-shm.pc.tmp" &&
38470 $SED " s%@FEATURE_PC@%cairo-xcb-shm%g; s%@FEATURE_NAME@%XCB/SHM functions%g; s%@FEATURE_BASE@%$xcb_shm_BASE%g; s%@FEATURE_REQUIRES@%$xcb_shm_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xcb_shm_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xcb_shm_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xcb_shm_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-xcb-shm.pc.tmp" > "src/cairo-xcb-shm.pc" && rm -f "src/cairo-xcb-shm.pc.tmp" ||
38471 as_fn_error $? "failed to update src/cairo-xcb-shm.pc" "$LINENO" 5
38473 "cairo-xcb-shm-uninstalled.pc":F) mv "cairo-xcb-shm-uninstalled.pc" "cairo-xcb-shm-uninstalled.pc.tmp" &&
38474 $SED " s%@FEATURE_PC@%cairo-xcb-shm%g; s%@FEATURE_NAME@%XCB/SHM functions%g; s%@FEATURE_BASE@%$xcb_shm_BASE%g; s%@FEATURE_REQUIRES@%$xcb_shm_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xcb_shm_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xcb_shm_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xcb_shm_NONPKGCONFIG_CFLAGS%g; " < "cairo-xcb-shm-uninstalled.pc.tmp" > "cairo-xcb-shm-uninstalled.pc" && rm -f "cairo-xcb-shm-uninstalled.pc.tmp" ||
38475 as_fn_error $? "failed to update cairo-xcb-shm-uninstalled.pc" "$LINENO" 5
38477 "src/cairo-qt.pc":F) mv "src/cairo-qt.pc" "src/cairo-qt.pc.tmp" &&
38478 $SED " s%@FEATURE_PC@%cairo-qt%g; s%@FEATURE_NAME@%Qt surface backend%g; s%@FEATURE_BASE@%$qt_BASE%g; s%@FEATURE_REQUIRES@%$qt_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$qt_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$qt_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$qt_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-qt.pc.tmp" > "src/cairo-qt.pc" && rm -f "src/cairo-qt.pc.tmp" ||
38479 as_fn_error $? "failed to update src/cairo-qt.pc" "$LINENO" 5
38481 "cairo-qt-uninstalled.pc":F) mv "cairo-qt-uninstalled.pc" "cairo-qt-uninstalled.pc.tmp" &&
38482 $SED " s%@FEATURE_PC@%cairo-qt%g; s%@FEATURE_NAME@%Qt surface backend%g; s%@FEATURE_BASE@%$qt_BASE%g; s%@FEATURE_REQUIRES@%$qt_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$qt_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$qt_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$qt_NONPKGCONFIG_CFLAGS%g; " < "cairo-qt-uninstalled.pc.tmp" > "cairo-qt-uninstalled.pc" && rm -f "cairo-qt-uninstalled.pc.tmp" ||
38483 as_fn_error $? "failed to update cairo-qt-uninstalled.pc" "$LINENO" 5
38485 "src/cairo-quartz.pc":F) mv "src/cairo-quartz.pc" "src/cairo-quartz.pc.tmp" &&
38486 $SED " s%@FEATURE_PC@%cairo-quartz%g; s%@FEATURE_NAME@%Quartz surface backend%g; s%@FEATURE_BASE@%$quartz_BASE%g; s%@FEATURE_REQUIRES@%$quartz_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$quartz_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$quartz_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$quartz_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-quartz.pc.tmp" > "src/cairo-quartz.pc" && rm -f "src/cairo-quartz.pc.tmp" ||
38487 as_fn_error $? "failed to update src/cairo-quartz.pc" "$LINENO" 5
38489 "cairo-quartz-uninstalled.pc":F) mv "cairo-quartz-uninstalled.pc" "cairo-quartz-uninstalled.pc.tmp" &&
38490 $SED " s%@FEATURE_PC@%cairo-quartz%g; s%@FEATURE_NAME@%Quartz surface backend%g; s%@FEATURE_BASE@%$quartz_BASE%g; s%@FEATURE_REQUIRES@%$quartz_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$quartz_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$quartz_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$quartz_NONPKGCONFIG_CFLAGS%g; " < "cairo-quartz-uninstalled.pc.tmp" > "cairo-quartz-uninstalled.pc" && rm -f "cairo-quartz-uninstalled.pc.tmp" ||
38491 as_fn_error $? "failed to update cairo-quartz-uninstalled.pc" "$LINENO" 5
38493 "src/cairo-quartz-font.pc":F) mv "src/cairo-quartz-font.pc" "src/cairo-quartz-font.pc.tmp" &&
38494 $SED " s%@FEATURE_PC@%cairo-quartz-font%g; s%@FEATURE_NAME@%Quartz font backend%g; s%@FEATURE_BASE@%$quartz_font_BASE%g; s%@FEATURE_REQUIRES@%$quartz_font_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$quartz_font_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$quartz_font_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$quartz_font_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-quartz-font.pc.tmp" > "src/cairo-quartz-font.pc" && rm -f "src/cairo-quartz-font.pc.tmp" ||
38495 as_fn_error $? "failed to update src/cairo-quartz-font.pc" "$LINENO" 5
38497 "cairo-quartz-font-uninstalled.pc":F) mv "cairo-quartz-font-uninstalled.pc" "cairo-quartz-font-uninstalled.pc.tmp" &&
38498 $SED " s%@FEATURE_PC@%cairo-quartz-font%g; s%@FEATURE_NAME@%Quartz font backend%g; s%@FEATURE_BASE@%$quartz_font_BASE%g; s%@FEATURE_REQUIRES@%$quartz_font_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$quartz_font_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$quartz_font_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$quartz_font_NONPKGCONFIG_CFLAGS%g; " < "cairo-quartz-font-uninstalled.pc.tmp" > "cairo-quartz-font-uninstalled.pc" && rm -f "cairo-quartz-font-uninstalled.pc.tmp" ||
38499 as_fn_error $? "failed to update cairo-quartz-font-uninstalled.pc" "$LINENO" 5
38501 "src/cairo-quartz-image.pc":F) mv "src/cairo-quartz-image.pc" "src/cairo-quartz-image.pc.tmp" &&
38502 $SED " s%@FEATURE_PC@%cairo-quartz-image%g; s%@FEATURE_NAME@%Quartz Image surface backend%g; s%@FEATURE_BASE@%$quartz_image_BASE%g; s%@FEATURE_REQUIRES@%$quartz_image_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$quartz_image_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$quartz_image_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$quartz_image_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-quartz-image.pc.tmp" > "src/cairo-quartz-image.pc" && rm -f "src/cairo-quartz-image.pc.tmp" ||
38503 as_fn_error $? "failed to update src/cairo-quartz-image.pc" "$LINENO" 5
38505 "cairo-quartz-image-uninstalled.pc":F) mv "cairo-quartz-image-uninstalled.pc" "cairo-quartz-image-uninstalled.pc.tmp" &&
38506 $SED " s%@FEATURE_PC@%cairo-quartz-image%g; s%@FEATURE_NAME@%Quartz Image surface backend%g; s%@FEATURE_BASE@%$quartz_image_BASE%g; s%@FEATURE_REQUIRES@%$quartz_image_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$quartz_image_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$quartz_image_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$quartz_image_NONPKGCONFIG_CFLAGS%g; " < "cairo-quartz-image-uninstalled.pc.tmp" > "cairo-quartz-image-uninstalled.pc" && rm -f "cairo-quartz-image-uninstalled.pc.tmp" ||
38507 as_fn_error $? "failed to update cairo-quartz-image-uninstalled.pc" "$LINENO" 5
38509 "src/cairo-win32.pc":F) mv "src/cairo-win32.pc" "src/cairo-win32.pc.tmp" &&
38510 $SED " s%@FEATURE_PC@%cairo-win32%g; s%@FEATURE_NAME@%Microsoft Windows surface backend%g; s%@FEATURE_BASE@%$win32_BASE%g; s%@FEATURE_REQUIRES@%$win32_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$win32_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$win32_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$win32_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-win32.pc.tmp" > "src/cairo-win32.pc" && rm -f "src/cairo-win32.pc.tmp" ||
38511 as_fn_error $? "failed to update src/cairo-win32.pc" "$LINENO" 5
38513 "cairo-win32-uninstalled.pc":F) mv "cairo-win32-uninstalled.pc" "cairo-win32-uninstalled.pc.tmp" &&
38514 $SED " s%@FEATURE_PC@%cairo-win32%g; s%@FEATURE_NAME@%Microsoft Windows surface backend%g; s%@FEATURE_BASE@%$win32_BASE%g; s%@FEATURE_REQUIRES@%$win32_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$win32_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$win32_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$win32_NONPKGCONFIG_CFLAGS%g; " < "cairo-win32-uninstalled.pc.tmp" > "cairo-win32-uninstalled.pc" && rm -f "cairo-win32-uninstalled.pc.tmp" ||
38515 as_fn_error $? "failed to update cairo-win32-uninstalled.pc" "$LINENO" 5
38517 "src/cairo-win32-font.pc":F) mv "src/cairo-win32-font.pc" "src/cairo-win32-font.pc.tmp" &&
38518 $SED " s%@FEATURE_PC@%cairo-win32-font%g; s%@FEATURE_NAME@%Microsoft Windows font backend%g; s%@FEATURE_BASE@%$win32_font_BASE%g; s%@FEATURE_REQUIRES@%$win32_font_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$win32_font_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$win32_font_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$win32_font_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-win32-font.pc.tmp" > "src/cairo-win32-font.pc" && rm -f "src/cairo-win32-font.pc.tmp" ||
38519 as_fn_error $? "failed to update src/cairo-win32-font.pc" "$LINENO" 5
38521 "cairo-win32-font-uninstalled.pc":F) mv "cairo-win32-font-uninstalled.pc" "cairo-win32-font-uninstalled.pc.tmp" &&
38522 $SED " s%@FEATURE_PC@%cairo-win32-font%g; s%@FEATURE_NAME@%Microsoft Windows font backend%g; s%@FEATURE_BASE@%$win32_font_BASE%g; s%@FEATURE_REQUIRES@%$win32_font_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$win32_font_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$win32_font_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$win32_font_NONPKGCONFIG_CFLAGS%g; " < "cairo-win32-font-uninstalled.pc.tmp" > "cairo-win32-font-uninstalled.pc" && rm -f "cairo-win32-font-uninstalled.pc.tmp" ||
38523 as_fn_error $? "failed to update cairo-win32-font-uninstalled.pc" "$LINENO" 5
38525 "src/cairo-skia.pc":F) mv "src/cairo-skia.pc" "src/cairo-skia.pc.tmp" &&
38526 $SED " s%@FEATURE_PC@%cairo-skia%g; s%@FEATURE_NAME@%Skia surface backend%g; s%@FEATURE_BASE@%$skia_BASE%g; s%@FEATURE_REQUIRES@%$skia_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$skia_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$skia_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$skia_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-skia.pc.tmp" > "src/cairo-skia.pc" && rm -f "src/cairo-skia.pc.tmp" ||
38527 as_fn_error $? "failed to update src/cairo-skia.pc" "$LINENO" 5
38529 "cairo-skia-uninstalled.pc":F) mv "cairo-skia-uninstalled.pc" "cairo-skia-uninstalled.pc.tmp" &&
38530 $SED " s%@FEATURE_PC@%cairo-skia%g; s%@FEATURE_NAME@%Skia surface backend%g; s%@FEATURE_BASE@%$skia_BASE%g; s%@FEATURE_REQUIRES@%$skia_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$skia_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$skia_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$skia_NONPKGCONFIG_CFLAGS%g; " < "cairo-skia-uninstalled.pc.tmp" > "cairo-skia-uninstalled.pc" && rm -f "cairo-skia-uninstalled.pc.tmp" ||
38531 as_fn_error $? "failed to update cairo-skia-uninstalled.pc" "$LINENO" 5
38533 "src/cairo-os2.pc":F) mv "src/cairo-os2.pc" "src/cairo-os2.pc.tmp" &&
38534 $SED " s%@FEATURE_PC@%cairo-os2%g; s%@FEATURE_NAME@%OS/2 surface backend%g; s%@FEATURE_BASE@%$os2_BASE%g; s%@FEATURE_REQUIRES@%$os2_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$os2_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$os2_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$os2_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-os2.pc.tmp" > "src/cairo-os2.pc" && rm -f "src/cairo-os2.pc.tmp" ||
38535 as_fn_error $? "failed to update src/cairo-os2.pc" "$LINENO" 5
38537 "cairo-os2-uninstalled.pc":F) mv "cairo-os2-uninstalled.pc" "cairo-os2-uninstalled.pc.tmp" &&
38538 $SED " s%@FEATURE_PC@%cairo-os2%g; s%@FEATURE_NAME@%OS/2 surface backend%g; s%@FEATURE_BASE@%$os2_BASE%g; s%@FEATURE_REQUIRES@%$os2_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$os2_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$os2_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$os2_NONPKGCONFIG_CFLAGS%g; " < "cairo-os2-uninstalled.pc.tmp" > "cairo-os2-uninstalled.pc" && rm -f "cairo-os2-uninstalled.pc.tmp" ||
38539 as_fn_error $? "failed to update cairo-os2-uninstalled.pc" "$LINENO" 5
38541 "src/cairo-beos.pc":F) mv "src/cairo-beos.pc" "src/cairo-beos.pc.tmp" &&
38542 $SED " s%@FEATURE_PC@%cairo-beos%g; s%@FEATURE_NAME@%BeOS/Zeta surface backend%g; s%@FEATURE_BASE@%$beos_BASE%g; s%@FEATURE_REQUIRES@%$beos_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$beos_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$beos_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$beos_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-beos.pc.tmp" > "src/cairo-beos.pc" && rm -f "src/cairo-beos.pc.tmp" ||
38543 as_fn_error $? "failed to update src/cairo-beos.pc" "$LINENO" 5
38545 "cairo-beos-uninstalled.pc":F) mv "cairo-beos-uninstalled.pc" "cairo-beos-uninstalled.pc.tmp" &&
38546 $SED " s%@FEATURE_PC@%cairo-beos%g; s%@FEATURE_NAME@%BeOS/Zeta surface backend%g; s%@FEATURE_BASE@%$beos_BASE%g; s%@FEATURE_REQUIRES@%$beos_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$beos_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$beos_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$beos_NONPKGCONFIG_CFLAGS%g; " < "cairo-beos-uninstalled.pc.tmp" > "cairo-beos-uninstalled.pc" && rm -f "cairo-beos-uninstalled.pc.tmp" ||
38547 as_fn_error $? "failed to update cairo-beos-uninstalled.pc" "$LINENO" 5
38549 "src/cairo-drm.pc":F) mv "src/cairo-drm.pc" "src/cairo-drm.pc.tmp" &&
38550 $SED " s%@FEATURE_PC@%cairo-drm%g; s%@FEATURE_NAME@%DRM surface backend%g; s%@FEATURE_BASE@%$drm_BASE%g; s%@FEATURE_REQUIRES@%$drm_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$drm_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$drm_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$drm_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-drm.pc.tmp" > "src/cairo-drm.pc" && rm -f "src/cairo-drm.pc.tmp" ||
38551 as_fn_error $? "failed to update src/cairo-drm.pc" "$LINENO" 5
38553 "cairo-drm-uninstalled.pc":F) mv "cairo-drm-uninstalled.pc" "cairo-drm-uninstalled.pc.tmp" &&
38554 $SED " s%@FEATURE_PC@%cairo-drm%g; s%@FEATURE_NAME@%DRM surface backend%g; s%@FEATURE_BASE@%$drm_BASE%g; s%@FEATURE_REQUIRES@%$drm_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$drm_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$drm_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$drm_NONPKGCONFIG_CFLAGS%g; " < "cairo-drm-uninstalled.pc.tmp" > "cairo-drm-uninstalled.pc" && rm -f "cairo-drm-uninstalled.pc.tmp" ||
38555 as_fn_error $? "failed to update cairo-drm-uninstalled.pc" "$LINENO" 5
38557 "src/cairo-gallium.pc":F) mv "src/cairo-gallium.pc" "src/cairo-gallium.pc.tmp" &&
38558 $SED " s%@FEATURE_PC@%cairo-gallium%g; s%@FEATURE_NAME@%Gallium3D surface backend%g; s%@FEATURE_BASE@%$gallium_BASE%g; s%@FEATURE_REQUIRES@%$gallium_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$gallium_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$gallium_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$gallium_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-gallium.pc.tmp" > "src/cairo-gallium.pc" && rm -f "src/cairo-gallium.pc.tmp" ||
38559 as_fn_error $? "failed to update src/cairo-gallium.pc" "$LINENO" 5
38561 "cairo-gallium-uninstalled.pc":F) mv "cairo-gallium-uninstalled.pc" "cairo-gallium-uninstalled.pc.tmp" &&
38562 $SED " s%@FEATURE_PC@%cairo-gallium%g; s%@FEATURE_NAME@%Gallium3D surface backend%g; s%@FEATURE_BASE@%$gallium_BASE%g; s%@FEATURE_REQUIRES@%$gallium_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$gallium_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$gallium_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$gallium_NONPKGCONFIG_CFLAGS%g; " < "cairo-gallium-uninstalled.pc.tmp" > "cairo-gallium-uninstalled.pc" && rm -f "cairo-gallium-uninstalled.pc.tmp" ||
38563 as_fn_error $? "failed to update cairo-gallium-uninstalled.pc" "$LINENO" 5
38565 "src/cairo-png.pc":F) mv "src/cairo-png.pc" "src/cairo-png.pc.tmp" &&
38566 $SED " s%@FEATURE_PC@%cairo-png%g; s%@FEATURE_NAME@%PNG functions%g; s%@FEATURE_BASE@%$png_BASE%g; s%@FEATURE_REQUIRES@%$png_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$png_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$png_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$png_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-png.pc.tmp" > "src/cairo-png.pc" && rm -f "src/cairo-png.pc.tmp" ||
38567 as_fn_error $? "failed to update src/cairo-png.pc" "$LINENO" 5
38569 "cairo-png-uninstalled.pc":F) mv "cairo-png-uninstalled.pc" "cairo-png-uninstalled.pc.tmp" &&
38570 $SED " s%@FEATURE_PC@%cairo-png%g; s%@FEATURE_NAME@%PNG functions%g; s%@FEATURE_BASE@%$png_BASE%g; s%@FEATURE_REQUIRES@%$png_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$png_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$png_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$png_NONPKGCONFIG_CFLAGS%g; " < "cairo-png-uninstalled.pc.tmp" > "cairo-png-uninstalled.pc" && rm -f "cairo-png-uninstalled.pc.tmp" ||
38571 as_fn_error $? "failed to update cairo-png-uninstalled.pc" "$LINENO" 5
38573 "src/cairo-gl.pc":F) mv "src/cairo-gl.pc" "src/cairo-gl.pc.tmp" &&
38574 $SED " s%@FEATURE_PC@%cairo-gl%g; s%@FEATURE_NAME@%OpenGL surface backend%g; s%@FEATURE_BASE@%$gl_BASE%g; s%@FEATURE_REQUIRES@%$gl_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$gl_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$gl_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$gl_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-gl.pc.tmp" > "src/cairo-gl.pc" && rm -f "src/cairo-gl.pc.tmp" ||
38575 as_fn_error $? "failed to update src/cairo-gl.pc" "$LINENO" 5
38577 "cairo-gl-uninstalled.pc":F) mv "cairo-gl-uninstalled.pc" "cairo-gl-uninstalled.pc.tmp" &&
38578 $SED " s%@FEATURE_PC@%cairo-gl%g; s%@FEATURE_NAME@%OpenGL surface backend%g; s%@FEATURE_BASE@%$gl_BASE%g; s%@FEATURE_REQUIRES@%$gl_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$gl_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$gl_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$gl_NONPKGCONFIG_CFLAGS%g; " < "cairo-gl-uninstalled.pc.tmp" > "cairo-gl-uninstalled.pc" && rm -f "cairo-gl-uninstalled.pc.tmp" ||
38579 as_fn_error $? "failed to update cairo-gl-uninstalled.pc" "$LINENO" 5
38581 "src/cairo-glesv2.pc":F) mv "src/cairo-glesv2.pc" "src/cairo-glesv2.pc.tmp" &&
38582 $SED " s%@FEATURE_PC@%cairo-glesv2%g; s%@FEATURE_NAME@%OpenGLESv2 surface backend%g; s%@FEATURE_BASE@%$glesv2_BASE%g; s%@FEATURE_REQUIRES@%$glesv2_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$glesv2_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$glesv2_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$glesv2_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-glesv2.pc.tmp" > "src/cairo-glesv2.pc" && rm -f "src/cairo-glesv2.pc.tmp" ||
38583 as_fn_error $? "failed to update src/cairo-glesv2.pc" "$LINENO" 5
38585 "cairo-glesv2-uninstalled.pc":F) mv "cairo-glesv2-uninstalled.pc" "cairo-glesv2-uninstalled.pc.tmp" &&
38586 $SED " s%@FEATURE_PC@%cairo-glesv2%g; s%@FEATURE_NAME@%OpenGLESv2 surface backend%g; s%@FEATURE_BASE@%$glesv2_BASE%g; s%@FEATURE_REQUIRES@%$glesv2_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$glesv2_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$glesv2_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$glesv2_NONPKGCONFIG_CFLAGS%g; " < "cairo-glesv2-uninstalled.pc.tmp" > "cairo-glesv2-uninstalled.pc" && rm -f "cairo-glesv2-uninstalled.pc.tmp" ||
38587 as_fn_error $? "failed to update cairo-glesv2-uninstalled.pc" "$LINENO" 5
38589 "src/cairo-cogl.pc":F) mv "src/cairo-cogl.pc" "src/cairo-cogl.pc.tmp" &&
38590 $SED " s%@FEATURE_PC@%cairo-cogl%g; s%@FEATURE_NAME@%Cogl surface backend%g; s%@FEATURE_BASE@%$cogl_BASE%g; s%@FEATURE_REQUIRES@%$cogl_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$cogl_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$cogl_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$cogl_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-cogl.pc.tmp" > "src/cairo-cogl.pc" && rm -f "src/cairo-cogl.pc.tmp" ||
38591 as_fn_error $? "failed to update src/cairo-cogl.pc" "$LINENO" 5
38593 "cairo-cogl-uninstalled.pc":F) mv "cairo-cogl-uninstalled.pc" "cairo-cogl-uninstalled.pc.tmp" &&
38594 $SED " s%@FEATURE_PC@%cairo-cogl%g; s%@FEATURE_NAME@%Cogl surface backend%g; s%@FEATURE_BASE@%$cogl_BASE%g; s%@FEATURE_REQUIRES@%$cogl_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$cogl_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$cogl_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$cogl_NONPKGCONFIG_CFLAGS%g; " < "cairo-cogl-uninstalled.pc.tmp" > "cairo-cogl-uninstalled.pc" && rm -f "cairo-cogl-uninstalled.pc.tmp" ||
38595 as_fn_error $? "failed to update cairo-cogl-uninstalled.pc" "$LINENO" 5
38597 "src/cairo-directfb.pc":F) mv "src/cairo-directfb.pc" "src/cairo-directfb.pc.tmp" &&
38598 $SED " s%@FEATURE_PC@%cairo-directfb%g; s%@FEATURE_NAME@%directfb surface backend%g; s%@FEATURE_BASE@%$directfb_BASE%g; s%@FEATURE_REQUIRES@%$directfb_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$directfb_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$directfb_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$directfb_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-directfb.pc.tmp" > "src/cairo-directfb.pc" && rm -f "src/cairo-directfb.pc.tmp" ||
38599 as_fn_error $? "failed to update src/cairo-directfb.pc" "$LINENO" 5
38601 "cairo-directfb-uninstalled.pc":F) mv "cairo-directfb-uninstalled.pc" "cairo-directfb-uninstalled.pc.tmp" &&
38602 $SED " s%@FEATURE_PC@%cairo-directfb%g; s%@FEATURE_NAME@%directfb surface backend%g; s%@FEATURE_BASE@%$directfb_BASE%g; s%@FEATURE_REQUIRES@%$directfb_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$directfb_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$directfb_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$directfb_NONPKGCONFIG_CFLAGS%g; " < "cairo-directfb-uninstalled.pc.tmp" > "cairo-directfb-uninstalled.pc" && rm -f "cairo-directfb-uninstalled.pc.tmp" ||
38603 as_fn_error $? "failed to update cairo-directfb-uninstalled.pc" "$LINENO" 5
38605 "src/cairo-vg.pc":F) mv "src/cairo-vg.pc" "src/cairo-vg.pc.tmp" &&
38606 $SED " s%@FEATURE_PC@%cairo-vg%g; s%@FEATURE_NAME@%OpenVG surface backend%g; s%@FEATURE_BASE@%$vg_BASE%g; s%@FEATURE_REQUIRES@%$vg_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$vg_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$vg_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$vg_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-vg.pc.tmp" > "src/cairo-vg.pc" && rm -f "src/cairo-vg.pc.tmp" ||
38607 as_fn_error $? "failed to update src/cairo-vg.pc" "$LINENO" 5
38609 "cairo-vg-uninstalled.pc":F) mv "cairo-vg-uninstalled.pc" "cairo-vg-uninstalled.pc.tmp" &&
38610 $SED " s%@FEATURE_PC@%cairo-vg%g; s%@FEATURE_NAME@%OpenVG surface backend%g; s%@FEATURE_BASE@%$vg_BASE%g; s%@FEATURE_REQUIRES@%$vg_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$vg_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$vg_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$vg_NONPKGCONFIG_CFLAGS%g; " < "cairo-vg-uninstalled.pc.tmp" > "cairo-vg-uninstalled.pc" && rm -f "cairo-vg-uninstalled.pc.tmp" ||
38611 as_fn_error $? "failed to update cairo-vg-uninstalled.pc" "$LINENO" 5
38613 "src/cairo-egl.pc":F) mv "src/cairo-egl.pc" "src/cairo-egl.pc.tmp" &&
38614 $SED " s%@FEATURE_PC@%cairo-egl%g; s%@FEATURE_NAME@%EGL functions%g; s%@FEATURE_BASE@%$egl_BASE%g; s%@FEATURE_REQUIRES@%$egl_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$egl_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$egl_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$egl_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-egl.pc.tmp" > "src/cairo-egl.pc" && rm -f "src/cairo-egl.pc.tmp" ||
38615 as_fn_error $? "failed to update src/cairo-egl.pc" "$LINENO" 5
38617 "cairo-egl-uninstalled.pc":F) mv "cairo-egl-uninstalled.pc" "cairo-egl-uninstalled.pc.tmp" &&
38618 $SED " s%@FEATURE_PC@%cairo-egl%g; s%@FEATURE_NAME@%EGL functions%g; s%@FEATURE_BASE@%$egl_BASE%g; s%@FEATURE_REQUIRES@%$egl_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$egl_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$egl_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$egl_NONPKGCONFIG_CFLAGS%g; " < "cairo-egl-uninstalled.pc.tmp" > "cairo-egl-uninstalled.pc" && rm -f "cairo-egl-uninstalled.pc.tmp" ||
38619 as_fn_error $? "failed to update cairo-egl-uninstalled.pc" "$LINENO" 5
38621 "src/cairo-glx.pc":F) mv "src/cairo-glx.pc" "src/cairo-glx.pc.tmp" &&
38622 $SED " s%@FEATURE_PC@%cairo-glx%g; s%@FEATURE_NAME@%GLX functions%g; s%@FEATURE_BASE@%$glx_BASE%g; s%@FEATURE_REQUIRES@%$glx_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$glx_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$glx_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$glx_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-glx.pc.tmp" > "src/cairo-glx.pc" && rm -f "src/cairo-glx.pc.tmp" ||
38623 as_fn_error $? "failed to update src/cairo-glx.pc" "$LINENO" 5
38625 "cairo-glx-uninstalled.pc":F) mv "cairo-glx-uninstalled.pc" "cairo-glx-uninstalled.pc.tmp" &&
38626 $SED " s%@FEATURE_PC@%cairo-glx%g; s%@FEATURE_NAME@%GLX functions%g; s%@FEATURE_BASE@%$glx_BASE%g; s%@FEATURE_REQUIRES@%$glx_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$glx_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$glx_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$glx_NONPKGCONFIG_CFLAGS%g; " < "cairo-glx-uninstalled.pc.tmp" > "cairo-glx-uninstalled.pc" && rm -f "cairo-glx-uninstalled.pc.tmp" ||
38627 as_fn_error $? "failed to update cairo-glx-uninstalled.pc" "$LINENO" 5
38629 "src/cairo-wgl.pc":F) mv "src/cairo-wgl.pc" "src/cairo-wgl.pc.tmp" &&
38630 $SED " s%@FEATURE_PC@%cairo-wgl%g; s%@FEATURE_NAME@%WGL functions%g; s%@FEATURE_BASE@%$wgl_BASE%g; s%@FEATURE_REQUIRES@%$wgl_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$wgl_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$wgl_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$wgl_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-wgl.pc.tmp" > "src/cairo-wgl.pc" && rm -f "src/cairo-wgl.pc.tmp" ||
38631 as_fn_error $? "failed to update src/cairo-wgl.pc" "$LINENO" 5
38633 "cairo-wgl-uninstalled.pc":F) mv "cairo-wgl-uninstalled.pc" "cairo-wgl-uninstalled.pc.tmp" &&
38634 $SED " s%@FEATURE_PC@%cairo-wgl%g; s%@FEATURE_NAME@%WGL functions%g; s%@FEATURE_BASE@%$wgl_BASE%g; s%@FEATURE_REQUIRES@%$wgl_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$wgl_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$wgl_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$wgl_NONPKGCONFIG_CFLAGS%g; " < "cairo-wgl-uninstalled.pc.tmp" > "cairo-wgl-uninstalled.pc" && rm -f "cairo-wgl-uninstalled.pc.tmp" ||
38635 as_fn_error $? "failed to update cairo-wgl-uninstalled.pc" "$LINENO" 5
38637 "src/cairo-script.pc":F) mv "src/cairo-script.pc" "src/cairo-script.pc.tmp" &&
38638 $SED " s%@FEATURE_PC@%cairo-script%g; s%@FEATURE_NAME@%script surface backend%g; s%@FEATURE_BASE@%$script_BASE%g; s%@FEATURE_REQUIRES@%$script_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$script_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$script_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$script_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-script.pc.tmp" > "src/cairo-script.pc" && rm -f "src/cairo-script.pc.tmp" ||
38639 as_fn_error $? "failed to update src/cairo-script.pc" "$LINENO" 5
38641 "cairo-script-uninstalled.pc":F) mv "cairo-script-uninstalled.pc" "cairo-script-uninstalled.pc.tmp" &&
38642 $SED " s%@FEATURE_PC@%cairo-script%g; s%@FEATURE_NAME@%script surface backend%g; s%@FEATURE_BASE@%$script_BASE%g; s%@FEATURE_REQUIRES@%$script_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$script_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$script_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$script_NONPKGCONFIG_CFLAGS%g; " < "cairo-script-uninstalled.pc.tmp" > "cairo-script-uninstalled.pc" && rm -f "cairo-script-uninstalled.pc.tmp" ||
38643 as_fn_error $? "failed to update cairo-script-uninstalled.pc" "$LINENO" 5
38645 "src/cairo-ft.pc":F) mv "src/cairo-ft.pc" "src/cairo-ft.pc.tmp" &&
38646 $SED " s%@FEATURE_PC@%cairo-ft%g; s%@FEATURE_NAME@%FreeType font backend%g; s%@FEATURE_BASE@%$ft_BASE%g; s%@FEATURE_REQUIRES@%$ft_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$ft_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$ft_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$ft_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-ft.pc.tmp" > "src/cairo-ft.pc" && rm -f "src/cairo-ft.pc.tmp" ||
38647 as_fn_error $? "failed to update src/cairo-ft.pc" "$LINENO" 5
38649 "cairo-ft-uninstalled.pc":F) mv "cairo-ft-uninstalled.pc" "cairo-ft-uninstalled.pc.tmp" &&
38650 $SED " s%@FEATURE_PC@%cairo-ft%g; s%@FEATURE_NAME@%FreeType font backend%g; s%@FEATURE_BASE@%$ft_BASE%g; s%@FEATURE_REQUIRES@%$ft_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$ft_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$ft_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$ft_NONPKGCONFIG_CFLAGS%g; " < "cairo-ft-uninstalled.pc.tmp" > "cairo-ft-uninstalled.pc" && rm -f "cairo-ft-uninstalled.pc.tmp" ||
38651 as_fn_error $? "failed to update cairo-ft-uninstalled.pc" "$LINENO" 5
38653 "src/cairo-fc.pc":F) mv "src/cairo-fc.pc" "src/cairo-fc.pc.tmp" &&
38654 $SED " s%@FEATURE_PC@%cairo-fc%g; s%@FEATURE_NAME@%Fontconfig font backend%g; s%@FEATURE_BASE@%$fc_BASE%g; s%@FEATURE_REQUIRES@%$fc_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$fc_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$fc_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$fc_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-fc.pc.tmp" > "src/cairo-fc.pc" && rm -f "src/cairo-fc.pc.tmp" ||
38655 as_fn_error $? "failed to update src/cairo-fc.pc" "$LINENO" 5
38657 "cairo-fc-uninstalled.pc":F) mv "cairo-fc-uninstalled.pc" "cairo-fc-uninstalled.pc.tmp" &&
38658 $SED " s%@FEATURE_PC@%cairo-fc%g; s%@FEATURE_NAME@%Fontconfig font backend%g; s%@FEATURE_BASE@%$fc_BASE%g; s%@FEATURE_REQUIRES@%$fc_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$fc_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$fc_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$fc_NONPKGCONFIG_CFLAGS%g; " < "cairo-fc-uninstalled.pc.tmp" > "cairo-fc-uninstalled.pc" && rm -f "cairo-fc-uninstalled.pc.tmp" ||
38659 as_fn_error $? "failed to update cairo-fc-uninstalled.pc" "$LINENO" 5
38661 "src/cairo-ps.pc":F) mv "src/cairo-ps.pc" "src/cairo-ps.pc.tmp" &&
38662 $SED " s%@FEATURE_PC@%cairo-ps%g; s%@FEATURE_NAME@%PostScript surface backend%g; s%@FEATURE_BASE@%$ps_BASE%g; s%@FEATURE_REQUIRES@%$ps_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$ps_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$ps_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$ps_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-ps.pc.tmp" > "src/cairo-ps.pc" && rm -f "src/cairo-ps.pc.tmp" ||
38663 as_fn_error $? "failed to update src/cairo-ps.pc" "$LINENO" 5
38665 "cairo-ps-uninstalled.pc":F) mv "cairo-ps-uninstalled.pc" "cairo-ps-uninstalled.pc.tmp" &&
38666 $SED " s%@FEATURE_PC@%cairo-ps%g; s%@FEATURE_NAME@%PostScript surface backend%g; s%@FEATURE_BASE@%$ps_BASE%g; s%@FEATURE_REQUIRES@%$ps_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$ps_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$ps_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$ps_NONPKGCONFIG_CFLAGS%g; " < "cairo-ps-uninstalled.pc.tmp" > "cairo-ps-uninstalled.pc" && rm -f "cairo-ps-uninstalled.pc.tmp" ||
38667 as_fn_error $? "failed to update cairo-ps-uninstalled.pc" "$LINENO" 5
38669 "src/cairo-pdf.pc":F) mv "src/cairo-pdf.pc" "src/cairo-pdf.pc.tmp" &&
38670 $SED " s%@FEATURE_PC@%cairo-pdf%g; s%@FEATURE_NAME@%PDF surface backend%g; s%@FEATURE_BASE@%$pdf_BASE%g; s%@FEATURE_REQUIRES@%$pdf_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$pdf_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$pdf_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$pdf_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-pdf.pc.tmp" > "src/cairo-pdf.pc" && rm -f "src/cairo-pdf.pc.tmp" ||
38671 as_fn_error $? "failed to update src/cairo-pdf.pc" "$LINENO" 5
38673 "cairo-pdf-uninstalled.pc":F) mv "cairo-pdf-uninstalled.pc" "cairo-pdf-uninstalled.pc.tmp" &&
38674 $SED " s%@FEATURE_PC@%cairo-pdf%g; s%@FEATURE_NAME@%PDF surface backend%g; s%@FEATURE_BASE@%$pdf_BASE%g; s%@FEATURE_REQUIRES@%$pdf_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$pdf_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$pdf_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$pdf_NONPKGCONFIG_CFLAGS%g; " < "cairo-pdf-uninstalled.pc.tmp" > "cairo-pdf-uninstalled.pc" && rm -f "cairo-pdf-uninstalled.pc.tmp" ||
38675 as_fn_error $? "failed to update cairo-pdf-uninstalled.pc" "$LINENO" 5
38677 "src/cairo-svg.pc":F) mv "src/cairo-svg.pc" "src/cairo-svg.pc.tmp" &&
38678 $SED " s%@FEATURE_PC@%cairo-svg%g; s%@FEATURE_NAME@%SVG surface backend%g; s%@FEATURE_BASE@%$svg_BASE%g; s%@FEATURE_REQUIRES@%$svg_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$svg_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$svg_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$svg_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-svg.pc.tmp" > "src/cairo-svg.pc" && rm -f "src/cairo-svg.pc.tmp" ||
38679 as_fn_error $? "failed to update src/cairo-svg.pc" "$LINENO" 5
38681 "cairo-svg-uninstalled.pc":F) mv "cairo-svg-uninstalled.pc" "cairo-svg-uninstalled.pc.tmp" &&
38682 $SED " s%@FEATURE_PC@%cairo-svg%g; s%@FEATURE_NAME@%SVG surface backend%g; s%@FEATURE_BASE@%$svg_BASE%g; s%@FEATURE_REQUIRES@%$svg_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$svg_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$svg_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$svg_NONPKGCONFIG_CFLAGS%g; " < "cairo-svg-uninstalled.pc.tmp" > "cairo-svg-uninstalled.pc" && rm -f "cairo-svg-uninstalled.pc.tmp" ||
38683 as_fn_error $? "failed to update cairo-svg-uninstalled.pc" "$LINENO" 5
38685 "src/cairo-tee.pc":F) mv "src/cairo-tee.pc" "src/cairo-tee.pc.tmp" &&
38686 $SED " s%@FEATURE_PC@%cairo-tee%g; s%@FEATURE_NAME@%tee surface backend%g; s%@FEATURE_BASE@%$tee_BASE%g; s%@FEATURE_REQUIRES@%$tee_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$tee_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$tee_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$tee_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-tee.pc.tmp" > "src/cairo-tee.pc" && rm -f "src/cairo-tee.pc.tmp" ||
38687 as_fn_error $? "failed to update src/cairo-tee.pc" "$LINENO" 5
38689 "cairo-tee-uninstalled.pc":F) mv "cairo-tee-uninstalled.pc" "cairo-tee-uninstalled.pc.tmp" &&
38690 $SED " s%@FEATURE_PC@%cairo-tee%g; s%@FEATURE_NAME@%tee surface backend%g; s%@FEATURE_BASE@%$tee_BASE%g; s%@FEATURE_REQUIRES@%$tee_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$tee_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$tee_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$tee_NONPKGCONFIG_CFLAGS%g; " < "cairo-tee-uninstalled.pc.tmp" > "cairo-tee-uninstalled.pc" && rm -f "cairo-tee-uninstalled.pc.tmp" ||
38691 as_fn_error $? "failed to update cairo-tee-uninstalled.pc" "$LINENO" 5
38693 "src/cairo-xml.pc":F) mv "src/cairo-xml.pc" "src/cairo-xml.pc.tmp" &&
38694 $SED " s%@FEATURE_PC@%cairo-xml%g; s%@FEATURE_NAME@%xml surface backend%g; s%@FEATURE_BASE@%$xml_BASE%g; s%@FEATURE_REQUIRES@%$xml_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xml_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xml_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xml_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-xml.pc.tmp" > "src/cairo-xml.pc" && rm -f "src/cairo-xml.pc.tmp" ||
38695 as_fn_error $? "failed to update src/cairo-xml.pc" "$LINENO" 5
38697 "cairo-xml-uninstalled.pc":F) mv "cairo-xml-uninstalled.pc" "cairo-xml-uninstalled.pc.tmp" &&
38698 $SED " s%@FEATURE_PC@%cairo-xml%g; s%@FEATURE_NAME@%xml surface backend%g; s%@FEATURE_BASE@%$xml_BASE%g; s%@FEATURE_REQUIRES@%$xml_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xml_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xml_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xml_NONPKGCONFIG_CFLAGS%g; " < "cairo-xml-uninstalled.pc.tmp" > "cairo-xml-uninstalled.pc" && rm -f "cairo-xml-uninstalled.pc.tmp" ||
38699 as_fn_error $? "failed to update cairo-xml-uninstalled.pc" "$LINENO" 5
38701 "src/cairo-gobject.pc":F) mv "src/cairo-gobject.pc" "src/cairo-gobject.pc.tmp" &&
38702 $SED " s%@FEATURE_PC@%cairo-gobject%g; s%@FEATURE_NAME@%gobject functions%g; s%@FEATURE_BASE@%$gobject_BASE%g; s%@FEATURE_REQUIRES@%$gobject_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$gobject_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$gobject_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$gobject_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-gobject.pc.tmp" > "src/cairo-gobject.pc" && rm -f "src/cairo-gobject.pc.tmp" ||
38703 as_fn_error $? "failed to update src/cairo-gobject.pc" "$LINENO" 5
38705 "cairo-gobject-uninstalled.pc":F) mv "cairo-gobject-uninstalled.pc" "cairo-gobject-uninstalled.pc.tmp" &&
38706 $SED " s%@FEATURE_PC@%cairo-gobject%g; s%@FEATURE_NAME@%gobject functions%g; s%@FEATURE_BASE@%$gobject_BASE%g; s%@FEATURE_REQUIRES@%$gobject_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$gobject_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$gobject_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$gobject_NONPKGCONFIG_CFLAGS%g; " < "cairo-gobject-uninstalled.pc.tmp" > "cairo-gobject-uninstalled.pc" && rm -f "cairo-gobject-uninstalled.pc.tmp" ||
38707 as_fn_error $? "failed to update cairo-gobject-uninstalled.pc" "$LINENO" 5
38716 ac_clean_files=$ac_clean_files_save
38718 test $ac_write_fail = 0 ||
38719 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
38722 # configure is writing to config.log, and then calls config.status.
38723 # config.status does its own redirection, appending to config.log.
38724 # Unfortunately, on DOS this fails, as config.log is still kept open
38725 # by configure, so config.status won't be able to write to it; its
38726 # output is simply discarded. So we exec the FD to /dev/null,
38727 # effectively closing config.log, so it can be properly (re)opened and
38728 # appended to by config.status. When coming back to configure, we
38729 # need to make the FD available again.
38730 if test "$no_create" != yes; then
38732 ac_config_status_args=
38733 test "$silent" = yes &&
38734 ac_config_status_args="$ac_config_status_args --quiet"
38736 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
38738 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
38739 # would make configure fail if this is the last instruction.
38740 $ac_cs_success || as_fn_exit 1
38742 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
38743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
38744 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
38747 V="$CAIRO_VERSION_MAJOR.$CAIRO_VERSION_MINOR.$CAIRO_VERSION_MICRO"
38749 echo "cairo (version $V [$CAIRO_RELEASE_STATUS]) will be compiled with:"
38751 echo "The following surface backends:"
38752 echo " Image: yes (always builtin)"
38753 echo " Recording: yes (always builtin)"
38754 echo " Observer: yes (always builtin)"
38755 echo " Mime: yes (always builtin)"
38756 echo " Tee: $use_tee"
38757 echo " XML: $use_xml"
38758 echo " Skia: $use_skia"
38759 echo " Xlib: $use_xlib"
38760 echo " Xlib Xrender: $use_xlib_xrender"
38761 echo " Qt: $use_qt"
38762 echo " Quartz: $use_quartz"
38763 echo " Quartz-image: $use_quartz_image"
38764 echo " XCB: $use_xcb"
38765 echo " Win32: $use_win32"
38766 echo " OS2: $use_os2"
38767 echo " CairoScript: $use_script"
38768 echo " PostScript: $use_ps"
38769 echo " PDF: $use_pdf"
38770 echo " SVG: $use_svg"
38771 echo " OpenGL: $use_gl"
38772 echo " OpenGL ES 2.0: $use_glesv2"
38773 echo " BeOS: $use_beos"
38774 echo " DirectFB: $use_directfb"
38775 echo " OpenVG: $use_vg"
38776 echo " DRM: $use_drm"
38777 echo " Cogl: $use_cogl"
38779 echo "The following font backends:"
38780 echo " User: yes (always builtin)"
38781 echo " FreeType: $use_ft"
38782 echo " Fontconfig: $use_fc"
38783 echo " Win32: $use_win32_font"
38784 echo " Quartz: $use_quartz_font"
38786 echo "The following functions:"
38787 echo " PNG functions: $use_png"
38788 echo " GLX functions: $use_glx"
38789 echo " WGL functions: $use_wgl"
38790 echo " EGL functions: $use_egl"
38791 echo " X11-xcb functions: $use_xlib_xcb"
38792 echo " XCB-shm functions: $use_xcb_shm"
38794 echo "The following features and utilities:"
38795 echo " cairo-trace: $use_trace"
38796 echo " cairo-script-interpreter: $use_interpreter"
38798 echo "And the following internal features:"
38799 echo " pthread: $use_pthread"
38800 echo " gtk-doc: $enable_gtk_doc"
38801 echo " gcov support: $use_gcov"
38802 echo " symbol-lookup: $use_symbol_lookup"
38803 echo " test surfaces: $use_test_surfaces"
38804 echo " ps testing: $test_ps"
38805 echo " pdf testing: $test_pdf"
38806 echo " svg testing: $test_svg"
38807 if test x"$use_win32" = "xyes"; then
38808 echo " win32 printing testing: $test_win32_printing"
38810 echo "$CAIRO_WARNING_MESSAGE"