2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for cairo 1.12.3.
5 # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=cairo>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
370 as_status=$1; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 # Check that we are running under the correct shell.
535 SHELL=${CONFIG_SHELL-/bin/sh}
539 # Remove one level of quotation (which was required for Make).
540 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545 if test "X$1" = X--no-reexec; then
546 # Discard the --no-reexec flag, and continue.
548 elif test "X$1" = X--fallback-echo; then
549 # Avoid inline document here, it may be left over
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552 # Yippee, $ECHO works!
555 # Restart under the correct shell.
556 exec $SHELL "$0" --no-reexec ${1+"$@"}
559 if test "X$1" = X--fallback-echo; then
560 # used as fallback echo
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572 if test -z "$lt_ECHO"; then
573 if test "X${echo_test_string+set}" != Xset; then
574 # find a string as large as possible, as long as the shell can cope with it
575 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587 test "X$echo_testing_string" = "X$echo_test_string"; then
590 # The Solaris, AIX, and Digital Unix default echo programs unquote
591 # backslashes. This makes it impossible to quote backslashes using
592 # echo "$something" | sed 's/\\/\\\\/g'
594 # So, first we look for a working echo in the user's PATH.
596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597 for dir in $PATH /usr/ucb; do
599 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602 test "X$echo_testing_string" = "X$echo_test_string"; then
609 if test "X$ECHO" = Xecho; then
610 # We didn't find a better echo, so look for alternatives.
611 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613 test "X$echo_testing_string" = "X$echo_test_string"; then
614 # This shell has a builtin print -r that does the trick.
616 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617 test "X$CONFIG_SHELL" != X/bin/ksh; then
618 # If we have ksh, try running configure again with it.
619 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620 export ORIGINAL_CONFIG_SHELL
621 CONFIG_SHELL=/bin/ksh
623 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
632 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633 test "X$echo_testing_string" = 'X\t' &&
634 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638 SHELL="$CONFIG_SHELL"
640 ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 test "X$echo_testing_string" = 'X\t' &&
643 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
645 ECHO="$CONFIG_SHELL $0 --fallback-echo"
647 # maybe with a smaller string...
650 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658 if test "$prev" != 'sed 50q "$0"'; then
659 echo_test_string=`eval $prev`
660 export echo_test_string
661 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663 # Oops. We lost completely, so just stick with echo.
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682 test -n "$DJDIR" || exec 7<&0 </dev/null
686 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
693 ac_default_prefix=/usr/local
695 ac_config_libobj_dir=.
702 # Identity of this package.
704 PACKAGE_TARNAME='cairo'
705 PACKAGE_VERSION='1.12.3'
706 PACKAGE_STRING='cairo 1.12.3'
707 PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=cairo'
708 PACKAGE_URL='http://cairographics.org/'
710 # Factoring default headers for most tests.
711 ac_includes_default="\
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
723 # ifdef HAVE_STDLIB_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
746 ac_unique_file="src/cairo.h"
747 ac_subst_vars='am__EXEEXT_FALSE
757 DISABLE_SOME_FLOATING_POINT_FALSE
758 DISABLE_SOME_FLOATING_POINT_TRUE
764 CAIRO_HAS_SYMBOL_LOOKUP_FALSE
765 CAIRO_HAS_SYMBOL_LOOKUP_TRUE
767 CAIRO_HAS_INTERPRETER_FALSE
768 CAIRO_HAS_INTERPRETER_TRUE
769 CAIRO_HAS_TRACE_FALSE
775 CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE
776 CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE
785 HAVE_REAL_PTHREAD_FALSE
786 HAVE_REAL_PTHREAD_TRUE
787 CAIRO_HAS_PTHREAD_FALSE
788 CAIRO_HAS_PTHREAD_TRUE
789 CAIRO_HAS_XML_SURFACE_FALSE
790 CAIRO_HAS_XML_SURFACE_TRUE
791 CAIRO_HAS_TEE_SURFACE_FALSE
792 CAIRO_HAS_TEE_SURFACE_TRUE
795 CAIRO_HAS_TEST_SURFACES_FALSE
796 CAIRO_HAS_TEST_SURFACES_TRUE
797 CAIRO_CAN_TEST_SVG_SURFACE_FALSE
798 CAIRO_CAN_TEST_SVG_SURFACE_TRUE
801 CAIRO_HAS_SVG_SURFACE_FALSE
802 CAIRO_HAS_SVG_SURFACE_TRUE
803 CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE
804 CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE
805 CAIRO_CAN_TEST_PDF_SURFACE_FALSE
806 CAIRO_CAN_TEST_PDF_SURFACE_TRUE
809 CAIRO_HAS_PDF_SURFACE_FALSE
810 CAIRO_HAS_PDF_SURFACE_TRUE
811 CAIRO_HAS_SPECTRE_FALSE
812 CAIRO_HAS_SPECTRE_TRUE
813 CAIRO_CAN_TEST_PS_SURFACE_FALSE
814 CAIRO_CAN_TEST_PS_SURFACE_TRUE
817 CAIRO_HAS_PS_SURFACE_FALSE
818 CAIRO_HAS_PS_SURFACE_TRUE
819 CAIRO_HAS_FC_FONT_FALSE
820 CAIRO_HAS_FC_FONT_TRUE
823 CAIRO_HAS_FT_FONT_FALSE
824 CAIRO_HAS_FT_FONT_TRUE
828 CAIRO_HAS_SCRIPT_SURFACE_FALSE
829 CAIRO_HAS_SCRIPT_SURFACE_TRUE
830 CAIRO_HAS_WGL_FUNCTIONS_FALSE
831 CAIRO_HAS_WGL_FUNCTIONS_TRUE
832 CAIRO_HAS_GLX_FUNCTIONS_FALSE
833 CAIRO_HAS_GLX_FUNCTIONS_TRUE
834 CAIRO_HAS_EGL_FUNCTIONS_FALSE
835 CAIRO_HAS_EGL_FUNCTIONS_TRUE
838 CAIRO_HAS_VG_SURFACE_FALSE
839 CAIRO_HAS_VG_SURFACE_TRUE
840 CAIRO_HAS_DIRECTFB_SURFACE_FALSE
841 CAIRO_HAS_DIRECTFB_SURFACE_TRUE
844 CAIRO_HAS_COGL_SURFACE_FALSE
845 CAIRO_HAS_COGL_SURFACE_TRUE
848 CAIRO_HAS_GLESV2_SURFACE_FALSE
849 CAIRO_HAS_GLESV2_SURFACE_TRUE
852 CAIRO_HAS_GL_SURFACE_FALSE
853 CAIRO_HAS_GL_SURFACE_TRUE
856 CAIRO_HAS_PNG_FUNCTIONS_FALSE
857 CAIRO_HAS_PNG_FUNCTIONS_TRUE
861 CAIRO_HAS_GALLIUM_SURFACE_FALSE
862 CAIRO_HAS_GALLIUM_SURFACE_TRUE
865 CAIRO_HAS_DRM_SURFACE_FALSE
866 CAIRO_HAS_DRM_SURFACE_TRUE
869 CAIRO_HAS_BEOS_SURFACE_FALSE
870 CAIRO_HAS_BEOS_SURFACE_TRUE
871 CAIRO_HAS_OS2_SURFACE_FALSE
872 CAIRO_HAS_OS2_SURFACE_TRUE
873 CAIRO_HAS_SKIA_SURFACE_FALSE
874 CAIRO_HAS_SKIA_SURFACE_TRUE
876 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE
877 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE
879 CAIRO_HAS_WIN32_FONT_FALSE
880 CAIRO_HAS_WIN32_FONT_TRUE
881 CAIRO_HAS_WIN32_SURFACE_FALSE
882 CAIRO_HAS_WIN32_SURFACE_TRUE
883 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE
884 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE
885 CAIRO_HAS_QUARTZ_FONT_FALSE
886 CAIRO_HAS_QUARTZ_FONT_TRUE
887 CAIRO_HAS_QUARTZ_SURFACE_FALSE
888 CAIRO_HAS_QUARTZ_SURFACE_TRUE
889 CAIRO_HAS_QT_SURFACE_FALSE
890 CAIRO_HAS_QT_SURFACE_TRUE
893 CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE
894 CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE
897 CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE
898 CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE
901 CAIRO_HAS_XCB_SURFACE_FALSE
902 CAIRO_HAS_XCB_SURFACE_TRUE
905 CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE
906 CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE
909 CAIRO_HAS_XLIB_SURFACE_FALSE
910 CAIRO_HAS_XLIB_SURFACE_TRUE
918 CAIRO_HAS_DLSYM_FALSE
929 CAIROBOILERPLATE_LIBS
936 CROSS_COMPILING_FALSE
938 CAIRO_TEST_UNDEFINED_LDFLAGS
939 CAIRO_NONPKGCONFIG_LIBS
941 CAIRO_NONPKGCONFIG_CFLAGS
955 CAIRO_LIBTOOL_VERSION_INFO
961 GTK_DOC_USE_REBASE_FALSE
962 GTK_DOC_USE_REBASE_TRUE
963 GTK_DOC_USE_LIBTOOL_FALSE
964 GTK_DOC_USE_LIBTOOL_TRUE
965 GTK_DOC_BUILD_PDF_FALSE
966 GTK_DOC_BUILD_PDF_TRUE
967 GTK_DOC_BUILD_HTML_FALSE
968 GTK_DOC_BUILD_HTML_TRUE
1004 AM_DEFAULT_VERBOSITY
1022 INSTALL_STRIP_PROGRAM
1074 program_transform_name
1087 enable_option_checking
1088 enable_dependency_tracking
1139 enable_test_surfaces
1147 enable_symbol_lookup
1148 enable_some_floating_point
1150 ac_precious_vars='build_alias
1214 # Initialize some variables set by options.
1216 ac_init_version=false
1217 ac_unrecognized_opts=
1218 ac_unrecognized_sep=
1219 # The variables have the same names as the options, with
1220 # dashes changed to underlines.
1221 cache_file=/dev/null
1228 program_transform_name=s,x,x,
1236 # Installation directory options.
1237 # These are left unexpanded so users can "make install exec_prefix=/foo"
1238 # and all the variables that are supposed to be based on exec_prefix
1239 # by default will actually change.
1240 # Use braces instead of parens because sh, perl, etc. also accept them.
1241 # (The list follows the same order as the GNU Coding Standards.)
1242 bindir='${exec_prefix}/bin'
1243 sbindir='${exec_prefix}/sbin'
1244 libexecdir='${exec_prefix}/libexec'
1245 datarootdir='${prefix}/share'
1246 datadir='${datarootdir}'
1247 sysconfdir='${prefix}/etc'
1248 sharedstatedir='${prefix}/com'
1249 localstatedir='${prefix}/var'
1250 includedir='${prefix}/include'
1251 oldincludedir='/usr/include'
1252 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1253 infodir='${datarootdir}/info'
1258 libdir='${exec_prefix}/lib'
1259 localedir='${datarootdir}/locale'
1260 mandir='${datarootdir}/man'
1266 # If the previous option needs an argument, assign it.
1267 if test -n "$ac_prev"; then
1268 eval $ac_prev=\$ac_option
1274 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1279 # Accept the important Cygnus configure options, so we can diagnose typos.
1281 case $ac_dashdash$ac_option in
1285 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1287 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1288 bindir=$ac_optarg ;;
1290 -build | --build | --buil | --bui | --bu)
1291 ac_prev=build_alias ;;
1292 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1293 build_alias=$ac_optarg ;;
1295 -cache-file | --cache-file | --cache-fil | --cache-fi \
1296 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1297 ac_prev=cache_file ;;
1298 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1299 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1300 cache_file=$ac_optarg ;;
1302 --config-cache | -C)
1303 cache_file=config.cache ;;
1305 -datadir | --datadir | --datadi | --datad)
1307 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1308 datadir=$ac_optarg ;;
1310 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1311 | --dataroo | --dataro | --datar)
1312 ac_prev=datarootdir ;;
1313 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1314 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1315 datarootdir=$ac_optarg ;;
1317 -disable-* | --disable-*)
1318 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1319 # Reject names that are not valid shell variable names.
1320 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1321 as_fn_error $? "invalid feature name: $ac_useropt"
1322 ac_useropt_orig=$ac_useropt
1323 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1324 case $ac_user_opts in
1326 "enable_$ac_useropt"
1328 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1329 ac_unrecognized_sep=', ';;
1331 eval enable_$ac_useropt=no ;;
1333 -docdir | --docdir | --docdi | --doc | --do)
1335 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1336 docdir=$ac_optarg ;;
1338 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1340 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1341 dvidir=$ac_optarg ;;
1343 -enable-* | --enable-*)
1344 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1345 # Reject names that are not valid shell variable names.
1346 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1347 as_fn_error $? "invalid feature name: $ac_useropt"
1348 ac_useropt_orig=$ac_useropt
1349 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1350 case $ac_user_opts in
1352 "enable_$ac_useropt"
1354 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1355 ac_unrecognized_sep=', ';;
1357 eval enable_$ac_useropt=\$ac_optarg ;;
1359 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1360 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1361 | --exec | --exe | --ex)
1362 ac_prev=exec_prefix ;;
1363 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1364 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1365 | --exec=* | --exe=* | --ex=*)
1366 exec_prefix=$ac_optarg ;;
1368 -gas | --gas | --ga | --g)
1369 # Obsolete; use --with-gas.
1372 -help | --help | --hel | --he | -h)
1373 ac_init_help=long ;;
1374 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1375 ac_init_help=recursive ;;
1376 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1377 ac_init_help=short ;;
1379 -host | --host | --hos | --ho)
1380 ac_prev=host_alias ;;
1381 -host=* | --host=* | --hos=* | --ho=*)
1382 host_alias=$ac_optarg ;;
1384 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1386 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1388 htmldir=$ac_optarg ;;
1390 -includedir | --includedir | --includedi | --included | --include \
1391 | --includ | --inclu | --incl | --inc)
1392 ac_prev=includedir ;;
1393 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1394 | --includ=* | --inclu=* | --incl=* | --inc=*)
1395 includedir=$ac_optarg ;;
1397 -infodir | --infodir | --infodi | --infod | --info | --inf)
1399 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1400 infodir=$ac_optarg ;;
1402 -libdir | --libdir | --libdi | --libd)
1404 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1405 libdir=$ac_optarg ;;
1407 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1408 | --libexe | --libex | --libe)
1409 ac_prev=libexecdir ;;
1410 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1411 | --libexe=* | --libex=* | --libe=*)
1412 libexecdir=$ac_optarg ;;
1414 -localedir | --localedir | --localedi | --localed | --locale)
1415 ac_prev=localedir ;;
1416 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1417 localedir=$ac_optarg ;;
1419 -localstatedir | --localstatedir | --localstatedi | --localstated \
1420 | --localstate | --localstat | --localsta | --localst | --locals)
1421 ac_prev=localstatedir ;;
1422 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1423 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1424 localstatedir=$ac_optarg ;;
1426 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1428 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1429 mandir=$ac_optarg ;;
1431 -nfp | --nfp | --nf)
1432 # Obsolete; use --without-fp.
1435 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1436 | --no-cr | --no-c | -n)
1439 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1440 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1443 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1444 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1445 | --oldin | --oldi | --old | --ol | --o)
1446 ac_prev=oldincludedir ;;
1447 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1448 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1449 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1450 oldincludedir=$ac_optarg ;;
1452 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1454 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1455 prefix=$ac_optarg ;;
1457 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1458 | --program-pre | --program-pr | --program-p)
1459 ac_prev=program_prefix ;;
1460 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1461 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1462 program_prefix=$ac_optarg ;;
1464 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1465 | --program-suf | --program-su | --program-s)
1466 ac_prev=program_suffix ;;
1467 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1468 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1469 program_suffix=$ac_optarg ;;
1471 -program-transform-name | --program-transform-name \
1472 | --program-transform-nam | --program-transform-na \
1473 | --program-transform-n | --program-transform- \
1474 | --program-transform | --program-transfor \
1475 | --program-transfo | --program-transf \
1476 | --program-trans | --program-tran \
1477 | --progr-tra | --program-tr | --program-t)
1478 ac_prev=program_transform_name ;;
1479 -program-transform-name=* | --program-transform-name=* \
1480 | --program-transform-nam=* | --program-transform-na=* \
1481 | --program-transform-n=* | --program-transform-=* \
1482 | --program-transform=* | --program-transfor=* \
1483 | --program-transfo=* | --program-transf=* \
1484 | --program-trans=* | --program-tran=* \
1485 | --progr-tra=* | --program-tr=* | --program-t=*)
1486 program_transform_name=$ac_optarg ;;
1488 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1490 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1491 pdfdir=$ac_optarg ;;
1493 -psdir | --psdir | --psdi | --psd | --ps)
1495 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1499 | -silent | --silent | --silen | --sile | --sil)
1502 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1504 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1506 sbindir=$ac_optarg ;;
1508 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1509 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1510 | --sharedst | --shareds | --shared | --share | --shar \
1512 ac_prev=sharedstatedir ;;
1513 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1514 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1515 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1517 sharedstatedir=$ac_optarg ;;
1519 -site | --site | --sit)
1521 -site=* | --site=* | --sit=*)
1524 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1526 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1527 srcdir=$ac_optarg ;;
1529 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1530 | --syscon | --sysco | --sysc | --sys | --sy)
1531 ac_prev=sysconfdir ;;
1532 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1533 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1534 sysconfdir=$ac_optarg ;;
1536 -target | --target | --targe | --targ | --tar | --ta | --t)
1537 ac_prev=target_alias ;;
1538 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1539 target_alias=$ac_optarg ;;
1541 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1544 -version | --version | --versio | --versi | --vers | -V)
1545 ac_init_version=: ;;
1548 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1549 # Reject names that are not valid shell variable names.
1550 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1551 as_fn_error $? "invalid package name: $ac_useropt"
1552 ac_useropt_orig=$ac_useropt
1553 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1554 case $ac_user_opts in
1558 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1559 ac_unrecognized_sep=', ';;
1561 eval with_$ac_useropt=\$ac_optarg ;;
1563 -without-* | --without-*)
1564 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1565 # Reject names that are not valid shell variable names.
1566 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1567 as_fn_error $? "invalid package name: $ac_useropt"
1568 ac_useropt_orig=$ac_useropt
1569 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1570 case $ac_user_opts in
1574 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1575 ac_unrecognized_sep=', ';;
1577 eval with_$ac_useropt=no ;;
1580 # Obsolete; use --with-x.
1583 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1584 | --x-incl | --x-inc | --x-in | --x-i)
1585 ac_prev=x_includes ;;
1586 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1587 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1588 x_includes=$ac_optarg ;;
1590 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1591 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1592 ac_prev=x_libraries ;;
1593 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1594 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1595 x_libraries=$ac_optarg ;;
1597 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1598 Try \`$0 --help' for more information"
1602 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1603 # Reject names that are not valid shell variable names.
1604 case $ac_envvar in #(
1605 '' | [0-9]* | *[!_$as_cr_alnum]* )
1606 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1608 eval $ac_envvar=\$ac_optarg
1609 export $ac_envvar ;;
1612 # FIXME: should be removed in autoconf 3.0.
1613 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1614 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1615 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1616 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1622 if test -n "$ac_prev"; then
1623 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1624 as_fn_error $? "missing argument to $ac_option"
1627 if test -n "$ac_unrecognized_opts"; then
1628 case $enable_option_checking in
1630 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1631 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1635 # Check all directory arguments for consistency.
1636 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1637 datadir sysconfdir sharedstatedir localstatedir includedir \
1638 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1639 libdir localedir mandir
1641 eval ac_val=\$$ac_var
1642 # Remove trailing slashes.
1645 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1646 eval $ac_var=\$ac_val;;
1648 # Be sure to have absolute directory names.
1650 [\\/$]* | ?:[\\/]* ) continue;;
1651 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1653 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1656 # There might be people who depend on the old broken behavior: `$host'
1657 # used to hold the argument of --host etc.
1658 # FIXME: To remove some day.
1661 target=$target_alias
1663 # FIXME: To remove some day.
1664 if test "x$host_alias" != x; then
1665 if test "x$build_alias" = x; then
1666 cross_compiling=maybe
1667 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1668 If a cross compiler is detected then cross compile mode will be used" >&2
1669 elif test "x$build_alias" != "x$host_alias"; then
1675 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1677 test "$silent" = yes && exec 6>/dev/null
1680 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1681 ac_ls_di=`ls -di .` &&
1682 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1683 as_fn_error $? "working directory cannot be determined"
1684 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1685 as_fn_error $? "pwd does not report name of working directory"
1688 # Find the source files, if location was not specified.
1689 if test -z "$srcdir"; then
1690 ac_srcdir_defaulted=yes
1691 # Try the directory containing this script, then the parent directory.
1692 ac_confdir=`$as_dirname -- "$as_myself" ||
1693 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1694 X"$as_myself" : 'X\(//\)[^/]' \| \
1695 X"$as_myself" : 'X\(//\)$' \| \
1696 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1697 $as_echo X"$as_myself" |
1698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1716 if test ! -r "$srcdir/$ac_unique_file"; then
1720 ac_srcdir_defaulted=no
1722 if test ! -r "$srcdir/$ac_unique_file"; then
1723 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1724 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1726 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1728 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1730 # When building in place, set srcdir=.
1731 if test "$ac_abs_confdir" = "$ac_pwd"; then
1734 # Remove unnecessary trailing slashes from srcdir.
1735 # Double slashes in file names in object file debugging info
1736 # mess up M-x gdb in Emacs.
1738 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1740 for ac_var in $ac_precious_vars; do
1741 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1742 eval ac_env_${ac_var}_value=\$${ac_var}
1743 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1744 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1748 # Report the --help message.
1750 if test "$ac_init_help" = "long"; then
1751 # Omit some internal or obsolete options to make the list less imposing.
1752 # This message is too long to be a string in the A/UX 3.1 sh.
1754 \`configure' configures cairo 1.12.3 to adapt to many kinds of systems.
1756 Usage: $0 [OPTION]... [VAR=VALUE]...
1758 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1759 VAR=VALUE. See below for descriptions of some of the useful variables.
1761 Defaults for the options are specified in brackets.
1764 -h, --help display this help and exit
1765 --help=short display options specific to this package
1766 --help=recursive display the short help of all the included packages
1767 -V, --version display version information and exit
1768 -q, --quiet, --silent do not print \`checking ...' messages
1769 --cache-file=FILE cache test results in FILE [disabled]
1770 -C, --config-cache alias for \`--cache-file=config.cache'
1771 -n, --no-create do not create output files
1772 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1774 Installation directories:
1775 --prefix=PREFIX install architecture-independent files in PREFIX
1776 [$ac_default_prefix]
1777 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1780 By default, \`make install' will install all the files in
1781 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1782 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1783 for instance \`--prefix=\$HOME'.
1785 For better control, use the options below.
1787 Fine tuning of the installation directories:
1788 --bindir=DIR user executables [EPREFIX/bin]
1789 --sbindir=DIR system admin executables [EPREFIX/sbin]
1790 --libexecdir=DIR program executables [EPREFIX/libexec]
1791 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1792 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1793 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1794 --libdir=DIR object code libraries [EPREFIX/lib]
1795 --includedir=DIR C header files [PREFIX/include]
1796 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1797 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1798 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1799 --infodir=DIR info documentation [DATAROOTDIR/info]
1800 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1801 --mandir=DIR man documentation [DATAROOTDIR/man]
1802 --docdir=DIR documentation root [DATAROOTDIR/doc/cairo]
1803 --htmldir=DIR html documentation [DOCDIR]
1804 --dvidir=DIR dvi documentation [DOCDIR]
1805 --pdfdir=DIR pdf documentation [DOCDIR]
1806 --psdir=DIR ps documentation [DOCDIR]
1812 --program-prefix=PREFIX prepend PREFIX to installed program names
1813 --program-suffix=SUFFIX append SUFFIX to installed program names
1814 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1817 --x-includes=DIR X include files are in DIR
1818 --x-libraries=DIR X library files are in DIR
1821 --build=BUILD configure for building on BUILD [guessed]
1822 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1826 if test -n "$ac_init_help"; then
1827 case $ac_init_help in
1828 short | recursive ) echo "Configuration of cairo 1.12.3:";;
1833 --disable-option-checking ignore unrecognized --enable/--with options
1834 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1835 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1836 --disable-dependency-tracking speeds up one-time build
1837 --enable-dependency-tracking do not reject slow dependency extractors
1838 --enable-silent-rules less verbose build output (undo: `make V=1')
1839 --disable-silent-rules verbose build output (undo: `make V=0')
1840 --enable-shared[=PKGS] build shared libraries [default=yes]
1841 --enable-static[=PKGS] build static libraries [default=yes]
1842 --enable-fast-install[=PKGS]
1843 optimize for fast installation [default=yes]
1844 --disable-libtool-lock avoid locking (might break parallel builds)
1845 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1846 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1847 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1848 --disable-largefile omit support for large files
1849 --disable-atomic disable use of native atomic operations
1850 --enable-gcov Enable gcov
1851 --disable-valgrind Disable valgrind support
1852 --enable-xlib=[no/auto/yes]
1853 Enable cairo's Xlib surface backend feature
1855 --enable-xlib-xrender=[no/auto/yes]
1856 Enable cairo's Xlib Xrender surface backend feature
1858 --enable-xcb=[no/auto/yes]
1859 Enable cairo's XCB surface backend feature
1861 --enable-xlib-xcb=[no/auto/yes]
1862 Enable cairo's Xlib/XCB functions feature
1864 --enable-xcb-shm=[no/auto/yes]
1865 Enable cairo's XCB/SHM functions feature
1867 --enable-qt=[no/auto/yes]
1868 Enable cairo's Qt surface backend feature
1870 --enable-quartz=[no/auto/yes]
1871 Enable cairo's Quartz surface backend feature
1873 --enable-quartz-font=[no/auto/yes]
1874 Enable cairo's Quartz font backend feature
1876 --enable-quartz-image=[no/auto/yes]
1877 Enable cairo's Quartz Image surface backend feature
1879 --enable-win32=[no/auto/yes]
1880 Enable cairo's Microsoft Windows surface backend
1881 feature [default=auto]
1882 --enable-win32-font=[no/auto/yes]
1883 Enable cairo's Microsoft Windows font backend
1884 feature [default=auto]
1885 --enable-skia=[no/auto/yes]
1886 Enable cairo's Skia surface backend feature
1888 --enable-os2=[no/auto/yes]
1889 Enable cairo's OS/2 surface backend feature
1891 --enable-beos=[no/auto/yes]
1892 Enable cairo's BeOS/Zeta surface backend feature
1894 --enable-drm=[no/auto/yes]
1895 Enable cairo's DRM surface backend feature
1897 --enable-gallium=[no/auto/yes]
1898 Enable cairo's Gallium3D surface backend feature
1900 --enable-png=[no/auto/yes]
1901 Enable cairo's PNG functions feature [default=yes]
1902 --enable-gl=[no/auto/yes]
1903 Enable cairo's OpenGL surface backend feature
1905 --enable-glesv2=[no/auto/yes]
1906 Enable cairo's OpenGLESv2 surface backend feature
1908 --enable-cogl=[no/auto/yes]
1909 Enable cairo's Cogl surface backend feature
1911 --enable-directfb=[no/auto/yes]
1912 Enable cairo's directfb surface backend feature
1914 --enable-vg=[no/auto/yes]
1915 Enable cairo's OpenVG surface backend feature
1917 --enable-egl=[no/auto/yes]
1918 Enable cairo's EGL functions feature [default=auto]
1919 --enable-glx=[no/auto/yes]
1920 Enable cairo's GLX functions feature [default=auto]
1921 --enable-wgl=[no/auto/yes]
1922 Enable cairo's WGL functions feature [default=auto]
1923 --enable-script=[no/auto/yes]
1924 Enable cairo's script surface backend feature
1926 --enable-ft=[no/auto/yes]
1927 Enable cairo's FreeType font backend feature
1929 --enable-fc=[no/auto/yes]
1930 Enable cairo's Fontconfig font backend feature
1932 --enable-ps=[no/auto/yes]
1933 Enable cairo's PostScript surface backend feature
1935 --enable-pdf=[no/auto/yes]
1936 Enable cairo's PDF surface backend feature
1938 --enable-svg=[no/auto/yes]
1939 Enable cairo's SVG surface backend feature
1941 --enable-test-surfaces=[no/auto/yes]
1942 Enable cairo's test surfaces feature [default=no]
1943 --enable-tee=[no/auto/yes]
1944 Enable cairo's tee surface backend feature
1946 --enable-xml=[no/auto/yes]
1947 Enable cairo's xml surface backend feature
1949 --enable-pthread=[no/auto/yes]
1950 Enable cairo's pthread feature [default=auto]
1951 --enable-gobject=[no/auto/yes]
1952 Enable cairo's gobject functions feature
1954 --enable-full-testing Sets the test suite to perform full testing by
1955 default, which will dramatically slow down make
1956 check, but is a *requirement* before release.
1957 --enable-trace=[no/auto/yes]
1958 Enable cairo's cairo-trace feature [default=auto]
1959 --enable-interpreter=[no/auto/yes]
1960 Enable cairo's cairo-script-interpreter feature
1962 --enable-symbol-lookup=[no/auto/yes]
1963 Enable cairo's symbol-lookup feature [default=auto]
1964 --disable-some-floating-point
1965 Disable certain code paths that rely heavily on
1966 double precision floating-point calculation. This
1967 option can improve performance on systems without a
1968 double precision floating-point unit, but might
1969 degrade performance on those that do.
1972 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1973 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1974 --with-pic try to use only PIC/non-PIC objects [default=use
1976 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1977 --with-html-dir=PATH path to installed docs
1978 --with-x use the X Window System
1979 --with-skia=/path/to/skia
1980 directory to find compiled skia sources
1981 --with-skia-build=(Release|Debug)
1982 build of skia to link with, default is Release
1984 --with-gallium=/path/to/mesa
1985 directory to find gallium enabled mesa
1987 Some influential environment variables:
1988 CC C compiler command
1989 CFLAGS C compiler flags
1990 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1991 nonstandard directory <lib dir>
1992 LIBS libraries to pass to the linker, e.g. -l<library>
1993 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1994 you have headers in a nonstandard directory <include dir>
1996 PKG_CONFIG path to pkg-config utility
1997 CXX C++ compiler command
1998 CXXFLAGS C++ compiler flags
1999 CXXCPP C++ preprocessor
2001 C compiler flags for VALGRIND, overriding pkg-config
2003 linker flags for VALGRIND, overriding pkg-config
2004 xlib_CFLAGS C compiler flags for xlib, overriding pkg-config
2005 xlib_LIBS linker flags for xlib, overriding pkg-config
2006 XMKMF Path to xmkmf, Makefile generator for X Window System
2008 C compiler flags for xlib_xrender, overriding pkg-config
2010 linker flags for xlib_xrender, overriding pkg-config
2011 xcb_CFLAGS C compiler flags for xcb, overriding pkg-config
2012 xcb_LIBS linker flags for xcb, overriding pkg-config
2014 C compiler flags for xlib_xcb, overriding pkg-config
2016 linker flags for xlib_xcb, overriding pkg-config
2018 C compiler flags for xcb_shm, overriding pkg-config
2020 linker flags for xcb_shm, overriding pkg-config
2021 qt_CFLAGS C compiler flags for qt, overriding pkg-config
2022 qt_LIBS linker flags for qt, overriding pkg-config
2023 drm_CFLAGS C compiler flags for drm, overriding pkg-config
2024 drm_LIBS linker flags for drm, overriding pkg-config
2026 module name for libpng to search for using pkg-config
2027 png_CFLAGS C compiler flags for png, overriding pkg-config
2028 png_LIBS linker flags for png, overriding pkg-config
2029 gl_CFLAGS C compiler flags for gl, overriding pkg-config
2030 gl_LIBS linker flags for gl, overriding pkg-config
2032 C compiler flags for glesv2, overriding pkg-config
2033 glesv2_LIBS linker flags for glesv2, overriding pkg-config
2034 cogl_CFLAGS C compiler flags for cogl, overriding pkg-config
2035 cogl_LIBS linker flags for cogl, overriding pkg-config
2037 C compiler flags for directfb, overriding pkg-config
2039 linker flags for directfb, overriding pkg-config
2040 egl_CFLAGS C compiler flags for egl, overriding pkg-config
2041 egl_LIBS linker flags for egl, overriding pkg-config
2043 C compiler flags for FREETYPE, overriding pkg-config
2045 linker flags for FREETYPE, overriding pkg-config
2047 C compiler flags for FONTCONFIG, overriding pkg-config
2049 linker flags for FONTCONFIG, overriding pkg-config
2051 C compiler flags for LIBSPECTRE, overriding pkg-config
2053 linker flags for LIBSPECTRE, overriding pkg-config
2055 C compiler flags for POPPLER, overriding pkg-config
2057 linker flags for POPPLER, overriding pkg-config
2059 C compiler flags for LIBRSVG, overriding pkg-config
2061 linker flags for LIBRSVG, overriding pkg-config
2063 C compiler flags for pixman, overriding pkg-config
2064 pixman_LIBS linker flags for pixman, overriding pkg-config
2066 C compiler flags for GOBJECT, overriding pkg-config
2068 linker flags for GOBJECT, overriding pkg-config
2069 glib_CFLAGS C compiler flags for glib, overriding pkg-config
2070 glib_LIBS linker flags for glib, overriding pkg-config
2071 gtk_CFLAGS C compiler flags for gtk, overriding pkg-config
2072 gtk_LIBS linker flags for gtk, overriding pkg-config
2074 Use these variables to override the choices made by `configure' or to help
2075 it to find libraries and programs with nonstandard names/locations.
2077 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=cairo>.
2078 cairo home page: <http://cairographics.org/>.
2083 if test "$ac_init_help" = "recursive"; then
2084 # If there are subdirs, report their specific --help.
2085 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2086 test -d "$ac_dir" ||
2087 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2092 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2094 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2095 # A ".." for each directory in $ac_dir_suffix.
2096 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2097 case $ac_top_builddir_sub in
2098 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2099 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2102 ac_abs_top_builddir=$ac_pwd
2103 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2104 # for backward compatibility:
2105 ac_top_builddir=$ac_top_build_prefix
2108 .) # We are building in place.
2110 ac_top_srcdir=$ac_top_builddir_sub
2111 ac_abs_top_srcdir=$ac_pwd ;;
2112 [\\/]* | ?:[\\/]* ) # Absolute name.
2113 ac_srcdir=$srcdir$ac_dir_suffix;
2114 ac_top_srcdir=$srcdir
2115 ac_abs_top_srcdir=$srcdir ;;
2117 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2118 ac_top_srcdir=$ac_top_build_prefix$srcdir
2119 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2121 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2123 cd "$ac_dir" || { ac_status=$?; continue; }
2124 # Check for guested configure.
2125 if test -f "$ac_srcdir/configure.gnu"; then
2127 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2128 elif test -f "$ac_srcdir/configure"; then
2130 $SHELL "$ac_srcdir/configure" --help=recursive
2132 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2134 cd "$ac_pwd" || { ac_status=$?; break; }
2138 test -n "$ac_init_help" && exit $ac_status
2139 if $ac_init_version; then
2141 cairo configure 1.12.3
2142 generated by GNU Autoconf 2.67
2144 Copyright (C) 2010 Free Software Foundation, Inc.
2145 This configure script is free software; the Free Software Foundation
2146 gives unlimited permission to copy, distribute and modify it.
2151 ## ------------------------ ##
2152 ## Autoconf initialization. ##
2153 ## ------------------------ ##
2155 # ac_fn_c_try_compile LINENO
2156 # --------------------------
2157 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2158 ac_fn_c_try_compile ()
2160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2161 rm -f conftest.$ac_objext
2162 if { { ac_try="$ac_compile"
2164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2165 *) ac_try_echo=$ac_try;;
2167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2168 $as_echo "$ac_try_echo"; } >&5
2169 (eval "$ac_compile") 2>conftest.err
2171 if test -s conftest.err; then
2172 grep -v '^ *+' conftest.err >conftest.er1
2173 cat conftest.er1 >&5
2174 mv -f conftest.er1 conftest.err
2176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2177 test $ac_status = 0; } && {
2178 test -z "$ac_c_werror_flag" ||
2179 test ! -s conftest.err
2180 } && test -s conftest.$ac_objext; then :
2183 $as_echo "$as_me: failed program was:" >&5
2184 sed 's/^/| /' conftest.$ac_ext >&5
2188 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2189 as_fn_set_status $ac_retval
2191 } # ac_fn_c_try_compile
2193 # ac_fn_c_try_cpp LINENO
2194 # ----------------------
2195 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2198 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2199 if { { ac_try="$ac_cpp conftest.$ac_ext"
2201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2202 *) ac_try_echo=$ac_try;;
2204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2205 $as_echo "$ac_try_echo"; } >&5
2206 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2208 if test -s conftest.err; then
2209 grep -v '^ *+' conftest.err >conftest.er1
2210 cat conftest.er1 >&5
2211 mv -f conftest.er1 conftest.err
2213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2214 test $ac_status = 0; } > conftest.i && {
2215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2216 test ! -s conftest.err
2220 $as_echo "$as_me: failed program was:" >&5
2221 sed 's/^/| /' conftest.$ac_ext >&5
2225 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2226 as_fn_set_status $ac_retval
2230 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2231 # -------------------------------------------------------
2232 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2233 # the include files in INCLUDES and setting the cache variable VAR
2235 ac_fn_c_check_header_mongrel ()
2237 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2238 if eval "test \"\${$3+set}\"" = set; then :
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2240 $as_echo_n "checking for $2... " >&6; }
2241 if eval "test \"\${$3+set}\"" = set; then :
2242 $as_echo_n "(cached) " >&6
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2246 $as_echo "$ac_res" >&6; }
2248 # Is the header compilable?
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2250 $as_echo_n "checking $2 usability... " >&6; }
2251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2252 /* end confdefs.h. */
2256 if ac_fn_c_try_compile "$LINENO"; then :
2257 ac_header_compiler=yes
2259 ac_header_compiler=no
2261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2263 $as_echo "$ac_header_compiler" >&6; }
2265 # Is the header present?
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2267 $as_echo_n "checking $2 presence... " >&6; }
2268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2269 /* end confdefs.h. */
2272 if ac_fn_c_try_cpp "$LINENO"; then :
2273 ac_header_preproc=yes
2275 ac_header_preproc=no
2277 rm -f conftest.err conftest.i conftest.$ac_ext
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2279 $as_echo "$ac_header_preproc" >&6; }
2281 # So? What about this header?
2282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2285 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2287 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2291 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2293 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2295 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2297 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2299 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2300 ( $as_echo "## ---------------------------------------------------------------------- ##
2301 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo ##
2302 ## ---------------------------------------------------------------------- ##"
2303 ) | sed "s/^/$as_me: WARNING: /" >&2
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2307 $as_echo_n "checking for $2... " >&6; }
2308 if eval "test \"\${$3+set}\"" = set; then :
2309 $as_echo_n "(cached) " >&6
2311 eval "$3=\$ac_header_compiler"
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2315 $as_echo "$ac_res" >&6; }
2317 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2319 } # ac_fn_c_check_header_mongrel
2321 # ac_fn_c_try_run LINENO
2322 # ----------------------
2323 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2324 # that executables *can* be run.
2327 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2328 if { { ac_try="$ac_link"
2330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2331 *) ac_try_echo=$ac_try;;
2333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2334 $as_echo "$ac_try_echo"; } >&5
2335 (eval "$ac_link") 2>&5
2337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2338 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2339 { { case "(($ac_try" in
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2344 $as_echo "$ac_try_echo"; } >&5
2345 (eval "$ac_try") 2>&5
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; }; }; then :
2351 $as_echo "$as_me: program exited with status $ac_status" >&5
2352 $as_echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.$ac_ext >&5
2355 ac_retval=$ac_status
2357 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2358 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2359 as_fn_set_status $ac_retval
2363 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2364 # -------------------------------------------------------
2365 # Tests whether HEADER exists and can be compiled using the include files in
2366 # INCLUDES, setting the cache variable VAR accordingly.
2367 ac_fn_c_check_header_compile ()
2369 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2371 $as_echo_n "checking for $2... " >&6; }
2372 if eval "test \"\${$3+set}\"" = set; then :
2373 $as_echo_n "(cached) " >&6
2375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2380 if ac_fn_c_try_compile "$LINENO"; then :
2385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2389 $as_echo "$ac_res" >&6; }
2390 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2392 } # ac_fn_c_check_header_compile
2394 # ac_fn_c_try_link LINENO
2395 # -----------------------
2396 # Try to link conftest.$ac_ext, and return whether this succeeded.
2399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2400 rm -f conftest.$ac_objext conftest$ac_exeext
2401 if { { ac_try="$ac_link"
2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_link") 2>conftest.err
2410 if test -s conftest.err; then
2411 grep -v '^ *+' conftest.err >conftest.er1
2412 cat conftest.er1 >&5
2413 mv -f conftest.er1 conftest.err
2415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2416 test $ac_status = 0; } && {
2417 test -z "$ac_c_werror_flag" ||
2418 test ! -s conftest.err
2419 } && test -s conftest$ac_exeext && {
2420 test "$cross_compiling" = yes ||
2421 $as_test_x conftest$ac_exeext
2425 $as_echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2430 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2431 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2432 # interfere with the next link command; also delete a directory that is
2433 # left behind by Apple's compiler. We do this before executing the actions.
2434 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2435 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2436 as_fn_set_status $ac_retval
2438 } # ac_fn_c_try_link
2440 # ac_fn_c_check_func LINENO FUNC VAR
2441 # ----------------------------------
2442 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2443 ac_fn_c_check_func ()
2445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2447 $as_echo_n "checking for $2... " >&6; }
2448 if eval "test \"\${$3+set}\"" = set; then :
2449 $as_echo_n "(cached) " >&6
2451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2453 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2455 #define $2 innocuous_$2
2457 /* System header to define __stub macros and hopefully few prototypes,
2458 which can conflict with char $2 (); below.
2459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2460 <limits.h> exists even on freestanding compilers. */
2463 # include <limits.h>
2465 # include <assert.h>
2470 /* Override any GCC internal prototype to avoid an error.
2471 Use char because int might match the return type of a GCC
2472 builtin and then its argument prototype would still apply. */
2477 /* The GNU C library defines this for functions which it implements
2478 to always fail with ENOSYS. Some functions are actually named
2479 something starting with __ and the normal name is an alias. */
2480 #if defined __stub_$2 || defined __stub___$2
2492 if ac_fn_c_try_link "$LINENO"; then :
2497 rm -f core conftest.err conftest.$ac_objext \
2498 conftest$ac_exeext conftest.$ac_ext
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2502 $as_echo "$ac_res" >&6; }
2503 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2505 } # ac_fn_c_check_func
2507 # ac_fn_cxx_try_compile LINENO
2508 # ----------------------------
2509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2510 ac_fn_cxx_try_compile ()
2512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513 rm -f conftest.$ac_objext
2514 if { { ac_try="$ac_compile"
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_compile") 2>conftest.err
2523 if test -s conftest.err; then
2524 grep -v '^ *+' conftest.err >conftest.er1
2525 cat conftest.er1 >&5
2526 mv -f conftest.er1 conftest.err
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; } && {
2530 test -z "$ac_cxx_werror_flag" ||
2531 test ! -s conftest.err
2532 } && test -s conftest.$ac_objext; then :
2535 $as_echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2540 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2541 as_fn_set_status $ac_retval
2543 } # ac_fn_cxx_try_compile
2545 # ac_fn_cxx_try_cpp LINENO
2546 # ------------------------
2547 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2548 ac_fn_cxx_try_cpp ()
2550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2551 if { { ac_try="$ac_cpp conftest.$ac_ext"
2553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2554 *) ac_try_echo=$ac_try;;
2556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2557 $as_echo "$ac_try_echo"; } >&5
2558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2560 if test -s conftest.err; then
2561 grep -v '^ *+' conftest.err >conftest.er1
2562 cat conftest.er1 >&5
2563 mv -f conftest.er1 conftest.err
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; } > conftest.i && {
2567 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2568 test ! -s conftest.err
2572 $as_echo "$as_me: failed program was:" >&5
2573 sed 's/^/| /' conftest.$ac_ext >&5
2577 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2578 as_fn_set_status $ac_retval
2580 } # ac_fn_cxx_try_cpp
2582 # ac_fn_cxx_try_link LINENO
2583 # -------------------------
2584 # Try to link conftest.$ac_ext, and return whether this succeeded.
2585 ac_fn_cxx_try_link ()
2587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2588 rm -f conftest.$ac_objext conftest$ac_exeext
2589 if { { ac_try="$ac_link"
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2595 $as_echo "$ac_try_echo"; } >&5
2596 (eval "$ac_link") 2>conftest.err
2598 if test -s conftest.err; then
2599 grep -v '^ *+' conftest.err >conftest.er1
2600 cat conftest.er1 >&5
2601 mv -f conftest.er1 conftest.err
2603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2604 test $ac_status = 0; } && {
2605 test -z "$ac_cxx_werror_flag" ||
2606 test ! -s conftest.err
2607 } && test -s conftest$ac_exeext && {
2608 test "$cross_compiling" = yes ||
2609 $as_test_x conftest$ac_exeext
2613 $as_echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2618 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2619 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2620 # interfere with the next link command; also delete a directory that is
2621 # left behind by Apple's compiler. We do this before executing the actions.
2622 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2623 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2624 as_fn_set_status $ac_retval
2626 } # ac_fn_cxx_try_link
2628 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2629 # --------------------------------------------
2630 # Tries to find the compile-time value of EXPR in a program that includes
2631 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2633 ac_fn_c_compute_int ()
2635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2636 if test "$cross_compiling" = yes; then
2637 # Depending upon the size, compute the lo and hi bounds.
2638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2639 /* end confdefs.h. */
2644 static int test_array [1 - 2 * !(($2) >= 0)];
2651 if ac_fn_c_try_compile "$LINENO"; then :
2654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2655 /* end confdefs.h. */
2660 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2667 if ac_fn_c_try_compile "$LINENO"; then :
2668 ac_hi=$ac_mid; break
2670 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2671 if test $ac_lo -le $ac_mid; then
2675 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2686 static int test_array [1 - 2 * !(($2) < 0)];
2693 if ac_fn_c_try_compile "$LINENO"; then :
2696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2697 /* end confdefs.h. */
2702 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2709 if ac_fn_c_try_compile "$LINENO"; then :
2710 ac_lo=$ac_mid; break
2712 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2713 if test $ac_mid -le $ac_hi; then
2717 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2727 # Binary search between lo and hi bounds.
2728 while test "x$ac_lo" != "x$ac_hi"; do
2729 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2736 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2743 if ac_fn_c_try_compile "$LINENO"; then :
2746 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2751 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2756 /* end confdefs.h. */
2758 static long int longval () { return $2; }
2759 static unsigned long int ulongval () { return $2; }
2766 FILE *f = fopen ("conftest.val", "w");
2771 long int i = longval ();
2774 fprintf (f, "%ld", i);
2778 unsigned long int i = ulongval ();
2781 fprintf (f, "%lu", i);
2783 /* Do not output a trailing newline, as this causes \r\n confusion
2784 on some platforms. */
2785 return ferror (f) || fclose (f) != 0;
2791 if ac_fn_c_try_run "$LINENO"; then :
2792 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2797 conftest.$ac_objext conftest.beam conftest.$ac_ext
2801 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2802 as_fn_set_status $ac_retval
2804 } # ac_fn_c_compute_int
2806 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2807 # -------------------------------------------
2808 # Tests whether TYPE exists after having included INCLUDES, setting cache
2809 # variable VAR accordingly.
2810 ac_fn_c_check_type ()
2812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2814 $as_echo_n "checking for $2... " >&6; }
2815 if eval "test \"\${$3+set}\"" = set; then :
2816 $as_echo_n "(cached) " >&6
2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2831 if ac_fn_c_try_compile "$LINENO"; then :
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2844 if ac_fn_c_try_compile "$LINENO"; then :
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2855 $as_echo "$ac_res" >&6; }
2856 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2858 } # ac_fn_c_check_type
2860 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2861 # ----------------------------------------------------
2862 # Tries to find if the field MEMBER exists in type AGGR, after including
2863 # INCLUDES, setting cache variable VAR accordingly.
2864 ac_fn_c_check_member ()
2866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2868 $as_echo_n "checking for $2.$3... " >&6; }
2869 if eval "test \"\${$4+set}\"" = set; then :
2870 $as_echo_n "(cached) " >&6
2872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873 /* end confdefs.h. */
2885 if ac_fn_c_try_compile "$LINENO"; then :
2888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2889 /* end confdefs.h. */
2895 if (sizeof ac_aggr.$3)
2901 if ac_fn_c_try_compile "$LINENO"; then :
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2915 } # ac_fn_c_check_member
2916 cat >config.log <<_ACEOF
2917 This file contains any messages produced by compilers while
2918 running configure, to aid debugging if configure makes a mistake.
2920 It was created by cairo $as_me 1.12.3, which was
2921 generated by GNU Autoconf 2.67. Invocation command line was
2933 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2934 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2935 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2936 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2937 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2939 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2940 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2942 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2943 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2944 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2945 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2946 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2947 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2948 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir=.
2957 $as_echo "PATH: $as_dir"
2973 # Keep a trace of the command line.
2974 # Strip out --no-create and --no-recursion so they do not pile up.
2975 # Strip out --silent because we don't want to record it for future runs.
2976 # Also quote any args containing shell meta-characters.
2977 # Make two passes to allow for proper duplicate-argument suppression.
2981 ac_must_keep_next=false
2987 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2988 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2989 | -silent | --silent | --silen | --sile | --sil)
2992 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2995 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2997 as_fn_append ac_configure_args1 " '$ac_arg'"
2998 if test $ac_must_keep_next = true; then
2999 ac_must_keep_next=false # Got value, back to normal.
3002 *=* | --config-cache | -C | -disable-* | --disable-* \
3003 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3004 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3005 | -with-* | --with-* | -without-* | --without-* | --x)
3006 case "$ac_configure_args0 " in
3007 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3010 -* ) ac_must_keep_next=true ;;
3013 as_fn_append ac_configure_args " '$ac_arg'"
3018 { ac_configure_args0=; unset ac_configure_args0;}
3019 { ac_configure_args1=; unset ac_configure_args1;}
3021 # When interrupted or exit'd, cleanup temporary files, and complete
3022 # config.log. We remove comments because anyway the quotes in there
3023 # would cause problems or look ugly.
3024 # WARNING: Use '\'' to represent an apostrophe within the trap.
3025 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3026 trap 'exit_status=$?
3027 # Save into config.log some information that might help in debugging.
3031 $as_echo "## ---------------- ##
3032 ## Cache variables. ##
3033 ## ---------------- ##"
3035 # The following way of writing the cache mishandles newlines in values,
3037 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3038 eval ac_val=\$$ac_var
3042 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3043 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3046 _ | IFS | as_nl) ;; #(
3047 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3048 *) { eval $ac_var=; unset $ac_var;} ;;
3053 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3054 *${as_nl}ac_space=\ *)
3056 "s/'\''/'\''\\\\'\'''\''/g;
3057 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3060 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3067 $as_echo "## ----------------- ##
3068 ## Output variables. ##
3069 ## ----------------- ##"
3071 for ac_var in $ac_subst_vars
3073 eval ac_val=\$$ac_var
3075 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3077 $as_echo "$ac_var='\''$ac_val'\''"
3081 if test -n "$ac_subst_files"; then
3082 $as_echo "## ------------------- ##
3083 ## File substitutions. ##
3084 ## ------------------- ##"
3086 for ac_var in $ac_subst_files
3088 eval ac_val=\$$ac_var
3090 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3092 $as_echo "$ac_var='\''$ac_val'\''"
3097 if test -s confdefs.h; then
3098 $as_echo "## ----------- ##
3105 test "$ac_signal" != 0 &&
3106 $as_echo "$as_me: caught signal $ac_signal"
3107 $as_echo "$as_me: exit $exit_status"
3109 rm -f core *.core core.conftest.* &&
3110 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3113 for ac_signal in 1 2 13 15; do
3114 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3118 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3119 rm -f -r conftest* confdefs.h
3121 $as_echo "/* confdefs.h */" > confdefs.h
3123 # Predefined preprocessor variables.
3125 cat >>confdefs.h <<_ACEOF
3126 #define PACKAGE_NAME "$PACKAGE_NAME"
3129 cat >>confdefs.h <<_ACEOF
3130 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3133 cat >>confdefs.h <<_ACEOF
3134 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3137 cat >>confdefs.h <<_ACEOF
3138 #define PACKAGE_STRING "$PACKAGE_STRING"
3141 cat >>confdefs.h <<_ACEOF
3142 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3145 cat >>confdefs.h <<_ACEOF
3146 #define PACKAGE_URL "$PACKAGE_URL"
3150 # Let the site file select an alternate cache file if it wants to.
3151 # Prefer an explicitly selected file to automatically selected ones.
3154 if test -n "$CONFIG_SITE"; then
3155 # We do not want a PATH search for config.site.
3156 case $CONFIG_SITE in #((
3157 -*) ac_site_file1=./$CONFIG_SITE;;
3158 */*) ac_site_file1=$CONFIG_SITE;;
3159 *) ac_site_file1=./$CONFIG_SITE;;
3161 elif test "x$prefix" != xNONE; then
3162 ac_site_file1=$prefix/share/config.site
3163 ac_site_file2=$prefix/etc/config.site
3165 ac_site_file1=$ac_default_prefix/share/config.site
3166 ac_site_file2=$ac_default_prefix/etc/config.site
3168 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3170 test "x$ac_site_file" = xNONE && continue
3171 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3173 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3174 sed 's/^/| /' "$ac_site_file" >&5
3176 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error $? "failed to load site script $ac_site_file
3179 See \`config.log' for more details" "$LINENO" 5 ; }
3183 if test -r "$cache_file"; then
3184 # Some versions of bash will fail to source /dev/null (special files
3185 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3186 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3188 $as_echo "$as_me: loading cache $cache_file" >&6;}
3190 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3191 *) . "./$cache_file";;
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3196 $as_echo "$as_me: creating cache $cache_file" >&6;}
3200 # Check that the precious variables saved in the cache have kept the same
3202 ac_cache_corrupted=false
3203 for ac_var in $ac_precious_vars; do
3204 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3205 eval ac_new_set=\$ac_env_${ac_var}_set
3206 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3207 eval ac_new_val=\$ac_env_${ac_var}_value
3208 case $ac_old_set,$ac_new_set in
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3211 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3212 ac_cache_corrupted=: ;;
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3215 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3216 ac_cache_corrupted=: ;;
3219 if test "x$ac_old_val" != "x$ac_new_val"; then
3220 # differences in whitespace do not lead to failure.
3221 ac_old_val_w=`echo x $ac_old_val`
3222 ac_new_val_w=`echo x $ac_new_val`
3223 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3225 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3226 ac_cache_corrupted=:
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3229 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3230 eval $ac_var=\$ac_old_val
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3233 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3235 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3238 # Pass precious variables to config.status.
3239 if test "$ac_new_set" = set; then
3241 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3242 *) ac_arg=$ac_var=$ac_new_val ;;
3244 case " $ac_configure_args " in
3245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3246 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3250 if $ac_cache_corrupted; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3254 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3255 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3257 ## -------------------- ##
3258 ## Main body of script. ##
3259 ## -------------------- ##
3262 ac_cpp='$CPP $CPPFLAGS'
3263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 for ac_dir in build "$srcdir"/build; do
3270 if test -f "$ac_dir/install-sh"; then
3272 ac_install_sh="$ac_aux_dir/install-sh -c"
3274 elif test -f "$ac_dir/install.sh"; then
3276 ac_install_sh="$ac_aux_dir/install.sh -c"
3278 elif test -f "$ac_dir/shtool"; then
3280 ac_install_sh="$ac_aux_dir/shtool install -c"
3284 if test -z "$ac_aux_dir"; then
3285 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
3288 # These three variables are undocumented and unsupported,
3289 # and are intended to be withdrawn in a future Autoconf release.
3290 # They can cause serious problems if a builder's source tree is in a directory
3291 # whose full name contains unusual characters.
3292 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3293 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3294 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3299 ac_cpp='$CPP $CPPFLAGS'
3300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3303 if test -n "$ac_tool_prefix"; then
3304 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3305 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if test "${ac_cv_prog_CC+set}" = set; then :
3309 $as_echo_n "(cached) " >&6
3311 if test -n "$CC"; then
3312 ac_cv_prog_CC="$CC" # Let the user override the test.
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir=.
3319 for ac_exec_ext in '' $ac_executable_extensions; do
3320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3321 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 if test -n "$CC"; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3334 $as_echo "$CC" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3342 if test -z "$ac_cv_prog_CC"; then
3344 # Extract the first word of "gcc", so it can be a program name with args.
3345 set dummy gcc; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3349 $as_echo_n "(cached) " >&6
3351 if test -n "$ac_ct_CC"; then
3352 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_ac_ct_CC="gcc"
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3372 if test -n "$ac_ct_CC"; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3374 $as_echo "$ac_ct_CC" >&6; }
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3380 if test "x$ac_ct_CC" = x; then
3383 case $cross_compiling:$ac_tool_warned in
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3387 ac_tool_warned=yes ;;
3395 if test -z "$CC"; then
3396 if test -n "$ac_tool_prefix"; then
3397 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3398 set dummy ${ac_tool_prefix}cc; ac_word=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if test "${ac_cv_prog_CC+set}" = set; then :
3402 $as_echo_n "(cached) " >&6
3404 if test -n "$CC"; then
3405 ac_cv_prog_CC="$CC" # Let the user override the test.
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 test -z "$as_dir" && as_dir=.
3412 for ac_exec_ext in '' $ac_executable_extensions; do
3413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3414 ac_cv_prog_CC="${ac_tool_prefix}cc"
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3425 if test -n "$CC"; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3427 $as_echo "$CC" >&6; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3436 if test -z "$CC"; then
3437 # Extract the first word of "cc", so it can be a program name with args.
3438 set dummy cc; ac_word=$2
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3440 $as_echo_n "checking for $ac_word... " >&6; }
3441 if test "${ac_cv_prog_CC+set}" = set; then :
3442 $as_echo_n "(cached) " >&6
3444 if test -n "$CC"; then
3445 ac_cv_prog_CC="$CC" # Let the user override the test.
3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452 test -z "$as_dir" && as_dir=.
3453 for ac_exec_ext in '' $ac_executable_extensions; do
3454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3455 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3456 ac_prog_rejected=yes
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3467 if test $ac_prog_rejected = yes; then
3468 # We found a bogon in the path, so make sure we never use it.
3469 set dummy $ac_cv_prog_CC
3471 if test $# != 0; then
3472 # We chose a different compiler from the bogus one.
3473 # However, it has the same basename, so the bogon will be chosen
3474 # first if we set CC to just the basename; use the full file name.
3476 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3482 if test -n "$CC"; then
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3484 $as_echo "$CC" >&6; }
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487 $as_echo "no" >&6; }
3492 if test -z "$CC"; then
3493 if test -n "$ac_tool_prefix"; then
3494 for ac_prog in cl.exe
3496 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3499 $as_echo_n "checking for $ac_word... " >&6; }
3500 if test "${ac_cv_prog_CC+set}" = set; then :
3501 $as_echo_n "(cached) " >&6
3503 if test -n "$CC"; then
3504 ac_cv_prog_CC="$CC" # Let the user override the test.
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3513 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3524 if test -n "$CC"; then
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3526 $as_echo "$CC" >&6; }
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529 $as_echo "no" >&6; }
3533 test -n "$CC" && break
3536 if test -z "$CC"; then
3538 for ac_prog in cl.exe
3540 # Extract the first word of "$ac_prog", so it can be a program name with args.
3541 set dummy $ac_prog; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3547 if test -n "$ac_ct_CC"; then
3548 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3557 ac_cv_prog_ac_ct_CC="$ac_prog"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3568 if test -n "$ac_ct_CC"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3570 $as_echo "$ac_ct_CC" >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3577 test -n "$ac_ct_CC" && break
3580 if test "x$ac_ct_CC" = x; then
3583 case $cross_compiling:$ac_tool_warned in
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3587 ac_tool_warned=yes ;;
3596 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3598 as_fn_error $? "no acceptable C compiler found in \$PATH
3599 See \`config.log' for more details" "$LINENO" 5 ; }
3601 # Provide some information about the compiler.
3602 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3605 for ac_option in --version -v -V -qversion; do
3606 { { ac_try="$ac_compiler $ac_option >&5"
3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3615 if test -s conftest.err; then
3617 ... rest of stderr output deleted ...
3618 10q' conftest.err >conftest.er1
3619 cat conftest.er1 >&5
3621 rm -f conftest.er1 conftest.err
3622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3623 test $ac_status = 0; }
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3637 ac_clean_files_save=$ac_clean_files
3638 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3639 # Try to create an executable without -o first, disregard a.out.
3640 # It will help us diagnose broken compilers, and finding out an intuition
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3643 $as_echo_n "checking whether the C compiler works... " >&6; }
3644 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3646 # The possible output files:
3647 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3650 for ac_file in $ac_files
3653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3654 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3659 if { { ac_try="$ac_link_default"
3661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3662 *) ac_try_echo=$ac_try;;
3664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3665 $as_echo "$ac_try_echo"; } >&5
3666 (eval "$ac_link_default") 2>&5
3668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3669 test $ac_status = 0; }; then :
3670 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3671 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3672 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3673 # so that the user can short-circuit this test for compilers unknown to
3675 for ac_file in $ac_files ''
3677 test -f "$ac_file" || continue
3679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3682 # We found the default executable, but exeext='' is most
3686 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3688 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3690 # We set ac_cv_exeext here because the later test for it is not
3691 # safe: cross compilers may not add the suffix if given an `-o'
3692 # argument, so we may need to know it at that point already.
3693 # Even if this section looks crufty: it has the advantage of
3700 test "$ac_cv_exeext" = no && ac_cv_exeext=
3705 if test -z "$ac_file"; then :
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3708 $as_echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3713 as_fn_error 77 "C compiler cannot create executables
3714 See \`config.log' for more details" "$LINENO" 5 ; }
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3717 $as_echo "yes" >&6; }
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3720 $as_echo_n "checking for C compiler default output file name... " >&6; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3722 $as_echo "$ac_file" >&6; }
3723 ac_exeext=$ac_cv_exeext
3725 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3726 ac_clean_files=$ac_clean_files_save
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3728 $as_echo_n "checking for suffix of executables... " >&6; }
3729 if { { ac_try="$ac_link"
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3735 $as_echo "$ac_try_echo"; } >&5
3736 (eval "$ac_link") 2>&5
3738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3739 test $ac_status = 0; }; then :
3740 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3741 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3742 # work properly (i.e., refer to `conftest.exe'), while it won't with
3744 for ac_file in conftest.exe conftest conftest.*; do
3745 test -f "$ac_file" || continue
3747 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3748 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3754 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3756 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3757 See \`config.log' for more details" "$LINENO" 5 ; }
3759 rm -f conftest conftest$ac_cv_exeext
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3761 $as_echo "$ac_cv_exeext" >&6; }
3763 rm -f conftest.$ac_ext
3764 EXEEXT=$ac_cv_exeext
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3772 FILE *f = fopen ("conftest.out", "w");
3773 return ferror (f) || fclose (f) != 0;
3779 ac_clean_files="$ac_clean_files conftest.out"
3780 # Check that the compiler produces executables we can run. If not, either
3781 # the compiler is broken, or we cross compile.
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3783 $as_echo_n "checking whether we are cross compiling... " >&6; }
3784 if test "$cross_compiling" != yes; then
3785 { { ac_try="$ac_link"
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3791 $as_echo "$ac_try_echo"; } >&5
3792 (eval "$ac_link") 2>&5
3794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795 test $ac_status = 0; }
3796 if { ac_try='./conftest$ac_cv_exeext'
3797 { { case "(($ac_try" in
3798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799 *) ac_try_echo=$ac_try;;
3801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3802 $as_echo "$ac_try_echo"; } >&5
3803 (eval "$ac_try") 2>&5
3805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3806 test $ac_status = 0; }; }; then
3809 if test "$cross_compiling" = maybe; then
3812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3814 as_fn_error $? "cannot run C compiled programs.
3815 If you meant to cross compile, use \`--host'.
3816 See \`config.log' for more details" "$LINENO" 5 ; }
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3821 $as_echo "$cross_compiling" >&6; }
3823 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3824 ac_clean_files=$ac_clean_files_save
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3826 $as_echo_n "checking for suffix of object files... " >&6; }
3827 if test "${ac_cv_objext+set}" = set; then :
3828 $as_echo_n "(cached) " >&6
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3841 rm -f conftest.o conftest.obj
3842 if { { ac_try="$ac_compile"
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_compile") 2>&5
3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852 test $ac_status = 0; }; then :
3853 for ac_file in conftest.o conftest.obj conftest.*; do
3854 test -f "$ac_file" || continue;
3856 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3857 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3862 $as_echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.$ac_ext >&5
3865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3867 as_fn_error $? "cannot compute suffix of object files: cannot compile
3868 See \`config.log' for more details" "$LINENO" 5 ; }
3870 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3873 $as_echo "$ac_cv_objext" >&6; }
3874 OBJEXT=$ac_cv_objext
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3877 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3878 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3879 $as_echo_n "(cached) " >&6
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3895 if ac_fn_c_try_compile "$LINENO"; then :
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3905 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3906 if test $ac_compiler_gnu = yes; then
3911 ac_test_CFLAGS=${CFLAGS+set}
3912 ac_save_CFLAGS=$CFLAGS
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3914 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3915 if test "${ac_cv_prog_cc_g+set}" = set; then :
3916 $as_echo_n "(cached) " >&6
3918 ac_save_c_werror_flag=$ac_c_werror_flag
3919 ac_c_werror_flag=yes
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3933 if ac_fn_c_try_compile "$LINENO"; then :
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3948 if ac_fn_c_try_compile "$LINENO"; then :
3951 ac_c_werror_flag=$ac_save_c_werror_flag
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3964 if ac_fn_c_try_compile "$LINENO"; then :
3967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972 ac_c_werror_flag=$ac_save_c_werror_flag
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3975 $as_echo "$ac_cv_prog_cc_g" >&6; }
3976 if test "$ac_test_CFLAGS" = set; then
3977 CFLAGS=$ac_save_CFLAGS
3978 elif test $ac_cv_prog_cc_g = yes; then
3979 if test "$GCC" = yes; then
3985 if test "$GCC" = yes; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3992 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3993 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3996 ac_cv_prog_cc_c89=no
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4002 #include <sys/types.h>
4003 #include <sys/stat.h>
4004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4005 struct buf { int x; };
4006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4007 static char *e (p, i)
4013 static char *f (char * (*g) (char **, int), char **p, ...)
4018 s = g (p, va_arg (v,int));
4023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4024 function prototypes and stuff, but not '\xHH' hex character constants.
4025 These don't provoke an error unfortunately, instead are silently treated
4026 as 'x'. The following induces an error, until -std is added to get
4027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4028 array size at least. It's necessary to write '\x00'==0 to get something
4029 that's true only with -std. */
4030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4032 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4033 inside strings and character constants. */
4035 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4037 int test (int i, double x);
4038 struct s1 {int (*f) (int a);};
4039 struct s2 {int (*f) (double a);};
4040 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4046 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4051 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4052 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4054 CC="$ac_save_CC $ac_arg"
4055 if ac_fn_c_try_compile "$LINENO"; then :
4056 ac_cv_prog_cc_c89=$ac_arg
4058 rm -f core conftest.err conftest.$ac_objext
4059 test "x$ac_cv_prog_cc_c89" != "xno" && break
4061 rm -f conftest.$ac_ext
4066 case "x$ac_cv_prog_cc_c89" in
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4069 $as_echo "none needed" >&6; } ;;
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4072 $as_echo "unsupported" >&6; } ;;
4074 CC="$CC $ac_cv_prog_cc_c89"
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4076 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4078 if test "x$ac_cv_prog_cc_c89" != xno; then :
4083 ac_cpp='$CPP $CPPFLAGS'
4084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4090 ac_cpp='$CPP $CPPFLAGS'
4091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4095 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4096 # On Suns, sometimes $CPP names a directory.
4097 if test -n "$CPP" && test -d "$CPP"; then
4100 if test -z "$CPP"; then
4101 if test "${ac_cv_prog_CPP+set}" = set; then :
4102 $as_echo_n "(cached) " >&6
4104 # Double quotes because CPP needs to be expanded
4105 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4108 for ac_c_preproc_warn_flag in '' yes
4110 # Use a header file that comes with gcc, so configuring glibc
4111 # with a fresh cross-compiler works.
4112 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4113 # <limits.h> exists even on freestanding compilers.
4114 # On the NeXT, cc -E runs the code through the compiler's parser,
4115 # not just through cpp. "Syntax error" is here to catch this case.
4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h. */
4119 # include <limits.h>
4121 # include <assert.h>
4125 if ac_fn_c_try_cpp "$LINENO"; then :
4128 # Broken: fails on valid input.
4131 rm -f conftest.err conftest.i conftest.$ac_ext
4133 # OK, works on sane cases. Now check whether nonexistent headers
4134 # can be detected and how.
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4137 #include <ac_nonexistent.h>
4139 if ac_fn_c_try_cpp "$LINENO"; then :
4140 # Broken: success on invalid input.
4143 # Passes both tests.
4147 rm -f conftest.err conftest.i conftest.$ac_ext
4150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4151 rm -f conftest.i conftest.err conftest.$ac_ext
4152 if $ac_preproc_ok; then :
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4165 $as_echo "$CPP" >&6; }
4167 for ac_c_preproc_warn_flag in '' yes
4169 # Use a header file that comes with gcc, so configuring glibc
4170 # with a fresh cross-compiler works.
4171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4172 # <limits.h> exists even on freestanding compilers.
4173 # On the NeXT, cc -E runs the code through the compiler's parser,
4174 # not just through cpp. "Syntax error" is here to catch this case.
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4178 # include <limits.h>
4180 # include <assert.h>
4184 if ac_fn_c_try_cpp "$LINENO"; then :
4187 # Broken: fails on valid input.
4190 rm -f conftest.err conftest.i conftest.$ac_ext
4192 # OK, works on sane cases. Now check whether nonexistent headers
4193 # can be detected and how.
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196 #include <ac_nonexistent.h>
4198 if ac_fn_c_try_cpp "$LINENO"; then :
4199 # Broken: success on invalid input.
4202 # Passes both tests.
4206 rm -f conftest.err conftest.i conftest.$ac_ext
4209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4210 rm -f conftest.i conftest.err conftest.$ac_ext
4211 if $ac_preproc_ok; then :
4214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4216 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4217 See \`config.log' for more details" "$LINENO" 5 ; }
4221 ac_cpp='$CPP $CPPFLAGS'
4222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4228 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4229 if test "${ac_cv_path_GREP+set}" = set; then :
4230 $as_echo_n "(cached) " >&6
4232 if test -z "$GREP"; then
4233 ac_path_GREP_found=false
4234 # Loop through the user's path and test for each of PROGNAME-LIST
4235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4239 test -z "$as_dir" && as_dir=.
4240 for ac_prog in grep ggrep; do
4241 for ac_exec_ext in '' $ac_executable_extensions; do
4242 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4243 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4244 # Check for GNU ac_path_GREP and select it if it is found.
4245 # Check for GNU $ac_path_GREP
4246 case `"$ac_path_GREP" --version 2>&1` in
4248 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4251 $as_echo_n 0123456789 >"conftest.in"
4254 cat "conftest.in" "conftest.in" >"conftest.tmp"
4255 mv "conftest.tmp" "conftest.in"
4256 cp "conftest.in" "conftest.nl"
4257 $as_echo 'GREP' >> "conftest.nl"
4258 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4259 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4260 as_fn_arith $ac_count + 1 && ac_count=$as_val
4261 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4262 # Best one so far, save it but keep looking for a better one
4263 ac_cv_path_GREP="$ac_path_GREP"
4264 ac_path_GREP_max=$ac_count
4266 # 10*(2^10) chars as input seems more than enough
4267 test $ac_count -gt 10 && break
4269 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4272 $ac_path_GREP_found && break 3
4277 if test -z "$ac_cv_path_GREP"; then
4278 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4281 ac_cv_path_GREP=$GREP
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4286 $as_echo "$ac_cv_path_GREP" >&6; }
4287 GREP="$ac_cv_path_GREP"
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4291 $as_echo_n "checking for egrep... " >&6; }
4292 if test "${ac_cv_path_EGREP+set}" = set; then :
4293 $as_echo_n "(cached) " >&6
4295 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4296 then ac_cv_path_EGREP="$GREP -E"
4298 if test -z "$EGREP"; then
4299 ac_path_EGREP_found=false
4300 # Loop through the user's path and test for each of PROGNAME-LIST
4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4305 test -z "$as_dir" && as_dir=.
4306 for ac_prog in egrep; do
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4309 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4310 # Check for GNU ac_path_EGREP and select it if it is found.
4311 # Check for GNU $ac_path_EGREP
4312 case `"$ac_path_EGREP" --version 2>&1` in
4314 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4317 $as_echo_n 0123456789 >"conftest.in"
4320 cat "conftest.in" "conftest.in" >"conftest.tmp"
4321 mv "conftest.tmp" "conftest.in"
4322 cp "conftest.in" "conftest.nl"
4323 $as_echo 'EGREP' >> "conftest.nl"
4324 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4325 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4326 as_fn_arith $ac_count + 1 && ac_count=$as_val
4327 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4328 # Best one so far, save it but keep looking for a better one
4329 ac_cv_path_EGREP="$ac_path_EGREP"
4330 ac_path_EGREP_max=$ac_count
4332 # 10*(2^10) chars as input seems more than enough
4333 test $ac_count -gt 10 && break
4335 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4338 $ac_path_EGREP_found && break 3
4343 if test -z "$ac_cv_path_EGREP"; then
4344 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4347 ac_cv_path_EGREP=$EGREP
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4353 $as_echo "$ac_cv_path_EGREP" >&6; }
4354 EGREP="$ac_cv_path_EGREP"
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4358 $as_echo_n "checking for ANSI C header files... " >&6; }
4359 if test "${ac_cv_header_stdc+set}" = set; then :
4360 $as_echo_n "(cached) " >&6
4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4363 /* end confdefs.h. */
4377 if ac_fn_c_try_compile "$LINENO"; then :
4378 ac_cv_header_stdc=yes
4380 ac_cv_header_stdc=no
4382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4384 if test $ac_cv_header_stdc = yes; then
4385 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4392 $EGREP "memchr" >/dev/null 2>&1; then :
4395 ac_cv_header_stdc=no
4401 if test $ac_cv_header_stdc = yes; then
4402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4409 $EGREP "free" >/dev/null 2>&1; then :
4412 ac_cv_header_stdc=no
4418 if test $ac_cv_header_stdc = yes; then
4419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4420 if test "$cross_compiling" = yes; then :
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4427 #if ((' ' & 0x0FF) == 0x020)
4428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4431 # define ISLOWER(c) \
4432 (('a' <= (c) && (c) <= 'i') \
4433 || ('j' <= (c) && (c) <= 'r') \
4434 || ('s' <= (c) && (c) <= 'z'))
4435 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4438 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4443 for (i = 0; i < 256; i++)
4444 if (XOR (islower (i), ISLOWER (i))
4445 || toupper (i) != TOUPPER (i))
4450 if ac_fn_c_try_run "$LINENO"; then :
4453 ac_cv_header_stdc=no
4455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4456 conftest.$ac_objext conftest.beam conftest.$ac_ext
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4462 $as_echo "$ac_cv_header_stdc" >&6; }
4463 if test $ac_cv_header_stdc = yes; then
4465 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4469 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4470 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4471 inttypes.h stdint.h unistd.h
4473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4474 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4476 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4477 cat >>confdefs.h <<_ACEOF
4478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4487 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4488 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4495 if test "$MINIX" = yes; then
4497 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4500 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4503 $as_echo "#define _MINIX 1" >>confdefs.h
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4509 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4510 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4511 $as_echo_n "(cached) " >&6
4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4516 # define __EXTENSIONS__ 1
4517 $ac_includes_default
4526 if ac_fn_c_try_compile "$LINENO"; then :
4527 ac_cv_safe_to_define___extensions__=yes
4529 ac_cv_safe_to_define___extensions__=no
4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4534 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4535 test $ac_cv_safe_to_define___extensions__ = yes &&
4536 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4538 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4540 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4542 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4544 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4548 ac_config_headers="$ac_config_headers config.h"
4551 am__api_version='1.11'
4553 # Find a good install program. We prefer a C program (faster),
4554 # so one script is as good as another. But avoid the broken or
4555 # incompatible versions:
4556 # SysV /etc/install, /usr/sbin/install
4557 # SunOS /usr/etc/install
4558 # IRIX /sbin/install
4560 # AmigaOS /C/install, which installs bootblocks on floppy discs
4561 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4562 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4563 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4564 # OS/2's system install, which has a completely different semantic
4565 # ./install, which can be erroneously created by make from ./install.sh.
4566 # Reject install programs that cannot install multiple files.
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4568 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4569 if test -z "$INSTALL"; then
4570 if test "${ac_cv_path_install+set}" = set; then :
4571 $as_echo_n "(cached) " >&6
4573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4577 test -z "$as_dir" && as_dir=.
4578 # Account for people who put trailing slashes in PATH elements.
4579 case $as_dir/ in #((
4580 ./ | .// | /[cC]/* | \
4581 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4582 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4585 # OSF1 and SCO ODT 3.0 have their own names for install.
4586 # Don't use installbsd from OSF since it installs stuff as root
4588 for ac_prog in ginstall scoinst install; do
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4591 if test $ac_prog = install &&
4592 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4593 # AIX install. It has an incompatible calling convention.
4595 elif test $ac_prog = install &&
4596 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4597 # program-specific install script used by HP pwplus--don't use.
4600 rm -rf conftest.one conftest.two conftest.dir
4601 echo one > conftest.one
4602 echo two > conftest.two
4604 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4605 test -s conftest.one && test -s conftest.two &&
4606 test -s conftest.dir/conftest.one &&
4607 test -s conftest.dir/conftest.two
4609 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4622 rm -rf conftest.one conftest.two conftest.dir
4625 if test "${ac_cv_path_install+set}" = set; then
4626 INSTALL=$ac_cv_path_install
4628 # As a last resort, use the slow shell script. Don't cache a
4629 # value for INSTALL within a source directory, because that will
4630 # break other packages using the cache if that directory is
4631 # removed, or if the value is a relative name.
4632 INSTALL=$ac_install_sh
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4636 $as_echo "$INSTALL" >&6; }
4638 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4639 # It thinks the first close brace ends the variable substitution.
4640 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4642 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4644 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4647 $as_echo_n "checking whether build environment is sane... " >&6; }
4650 echo timestamp > conftest.file
4651 # Reject unsafe characters in $srcdir or the absolute working directory
4652 # name. Accept space and tab only in the latter.
4656 *[\\\"\#\$\&\'\`$am_lf]*)
4657 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
4660 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4661 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
4664 # Do `set' in a subshell so we don't clobber the current shell's
4665 # arguments. Must try -L first in case configure is actually a
4666 # symlink; some systems play weird games with the mod time of symlinks
4667 # (eg FreeBSD returns the mod time of the symlink's containing
4670 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4671 if test "$*" = "X"; then
4673 set X `ls -t "$srcdir/configure" conftest.file`
4676 if test "$*" != "X $srcdir/configure conftest.file" \
4677 && test "$*" != "X conftest.file $srcdir/configure"; then
4679 # If neither matched, then we have a broken ls. This can happen
4680 # if, for instance, CONFIG_SHELL is bash and it inherits a
4681 # broken ls alias from the environment. This has actually
4682 # happened. Such a system could not be considered "sane".
4683 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4684 alias in your environment" "$LINENO" 5
4687 test "$2" = conftest.file
4693 as_fn_error $? "newly created file is older than distributed files!
4694 Check your system clock" "$LINENO" 5
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4697 $as_echo "yes" >&6; }
4698 test "$program_prefix" != NONE &&
4699 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4700 # Use a double $ so make ignores it.
4701 test "$program_suffix" != NONE &&
4702 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4703 # Double any \ or $.
4704 # By default was `s,x,x', remove it if useless.
4705 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4706 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4708 # expand $ac_aux_dir to an absolute path
4709 am_aux_dir=`cd $ac_aux_dir && pwd`
4711 if test x"${MISSING+set}" != xset; then
4714 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4716 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4719 # Use eval to expand $SHELL
4720 if eval "$MISSING --run true"; then
4721 am_missing_run="$MISSING --run "
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4725 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4728 if test x"${install_sh}" != xset; then
4731 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4733 install_sh="\${SHELL} $am_aux_dir/install-sh"
4737 # Installed binaries are usually stripped using `strip' when the user
4738 # run `make install-strip'. However `strip' might not be the right
4739 # tool to use in cross-compilation environments, therefore Automake
4740 # will honor the `STRIP' environment variable to overrule this program.
4741 if test "$cross_compiling" != no; then
4742 if test -n "$ac_tool_prefix"; then
4743 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4744 set dummy ${ac_tool_prefix}strip; ac_word=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if test "${ac_cv_prog_STRIP+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4750 if test -n "$STRIP"; then
4751 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir=.
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4760 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 STRIP=$ac_cv_prog_STRIP
4771 if test -n "$STRIP"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4773 $as_echo "$STRIP" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4781 if test -z "$ac_cv_prog_STRIP"; then
4783 # Extract the first word of "strip", so it can be a program name with args.
4784 set dummy strip; ac_word=$2
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4786 $as_echo_n "checking for $ac_word... " >&6; }
4787 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4788 $as_echo_n "(cached) " >&6
4790 if test -n "$ac_ct_STRIP"; then
4791 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4797 test -z "$as_dir" && as_dir=.
4798 for ac_exec_ext in '' $ac_executable_extensions; do
4799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4800 ac_cv_prog_ac_ct_STRIP="strip"
4801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4810 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4811 if test -n "$ac_ct_STRIP"; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4813 $as_echo "$ac_ct_STRIP" >&6; }
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4819 if test "x$ac_ct_STRIP" = x; then
4822 case $cross_compiling:$ac_tool_warned in
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4826 ac_tool_warned=yes ;;
4831 STRIP="$ac_cv_prog_STRIP"
4835 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4838 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4839 if test -z "$MKDIR_P"; then
4840 if test "${ac_cv_path_mkdir+set}" = set; then :
4841 $as_echo_n "(cached) " >&6
4843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4844 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4847 test -z "$as_dir" && as_dir=.
4848 for ac_prog in mkdir gmkdir; do
4849 for ac_exec_ext in '' $ac_executable_extensions; do
4850 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4851 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4852 'mkdir (GNU coreutils) '* | \
4853 'mkdir (coreutils) '* | \
4854 'mkdir (fileutils) '4.1*)
4855 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4865 test -d ./--version && rmdir ./--version
4866 if test "${ac_cv_path_mkdir+set}" = set; then
4867 MKDIR_P="$ac_cv_path_mkdir -p"
4869 # As a last resort, use the slow shell script. Don't cache a
4870 # value for MKDIR_P within a source directory, because that will
4871 # break other packages using the cache if that directory is
4872 # removed, or if the value is a relative name.
4873 MKDIR_P="$ac_install_sh -d"
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4877 $as_echo "$MKDIR_P" >&6; }
4881 [\\/$]* | ?:[\\/]*) ;;
4882 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4885 for ac_prog in gawk mawk nawk awk
4887 # Extract the first word of "$ac_prog", so it can be a program name with args.
4888 set dummy $ac_prog; ac_word=$2
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4890 $as_echo_n "checking for $ac_word... " >&6; }
4891 if test "${ac_cv_prog_AWK+set}" = set; then :
4892 $as_echo_n "(cached) " >&6
4894 if test -n "$AWK"; then
4895 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4901 test -z "$as_dir" && as_dir=.
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4904 ac_cv_prog_AWK="$ac_prog"
4905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 if test -n "$AWK"; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4917 $as_echo "$AWK" >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920 $as_echo "no" >&6; }
4924 test -n "$AWK" && break
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4928 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4930 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4931 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
4932 $as_echo_n "(cached) " >&6
4934 cat >conftest.make <<\_ACEOF
4937 @echo '@@@%%%=$(MAKE)=@@@%%%'
4939 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4940 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4942 eval ac_cv_prog_make_${ac_make}_set=yes;;
4944 eval ac_cv_prog_make_${ac_make}_set=no;;
4948 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4950 $as_echo "yes" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4955 SET_MAKE="MAKE=${MAKE-make}"
4958 rm -rf .tst 2>/dev/null
4959 mkdir .tst 2>/dev/null
4960 if test -d .tst; then
4965 rmdir .tst 2>/dev/null
4967 DEPDIR="${am__leading_dot}deps"
4969 ac_config_commands="$ac_config_commands depfiles"
4972 am_make=${MAKE-make}
4973 cat > confinc << 'END'
4975 @echo this is the am__doit target
4978 # If we don't find an include directive, just comment out the code.
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4980 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4984 # First try GNU make style include.
4985 echo "include confinc" > confmf
4986 # Ignore all kinds of additional output from `make'.
4987 case `$am_make -s -f confmf 2> /dev/null` in #(
4988 *the\ am__doit\ target*)
4994 # Now try BSD make style include.
4995 if test "$am__include" = "#"; then
4996 echo '.include "confinc"' > confmf
4997 case `$am_make -s -f confmf 2> /dev/null` in #(
4998 *the\ am__doit\ target*)
4999 am__include=.include
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5008 $as_echo "$_am_result" >&6; }
5009 rm -f confinc confmf
5011 # Check whether --enable-dependency-tracking was given.
5012 if test "${enable_dependency_tracking+set}" = set; then :
5013 enableval=$enable_dependency_tracking;
5016 if test "x$enable_dependency_tracking" != xno; then
5017 am_depcomp="$ac_aux_dir/depcomp"
5020 if test "x$enable_dependency_tracking" != xno; then
5029 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5030 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5031 # is not polluted with repeated "-I."
5032 am__isrc=' -I$(srcdir)'
5033 # test to see if srcdir already configured
5034 if test -f $srcdir/config.status; then
5035 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5039 # test whether we have cygpath
5040 if test -z "$CYGPATH_W"; then
5041 if (cygpath --version) >/dev/null 2>/dev/null; then
5042 CYGPATH_W='cygpath -w'
5049 # Define the identity of the package.
5054 # Some tools Automake needs.
5056 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5059 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5062 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5065 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5068 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5070 # We need awk for the "check" target. The system "awk" is bad on
5072 # Always define AMTAR for backward compatibility.
5074 AMTAR=${AMTAR-"${am_missing_run}tar"}
5076 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
5081 depcc="$CC" am_compiler_list=
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5084 $as_echo_n "checking dependency style of $depcc... " >&6; }
5085 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5089 # We make a subdir and do the tests there. Otherwise we can end up
5090 # making bogus files that we don't know about and never remove. For
5091 # instance it was reported that on HP-UX the gcc test will end up
5092 # making a dummy file named `D' -- because `-MD' means `put the output
5095 # Copy depcomp to subdir because otherwise we won't find it if we're
5096 # using a relative directory.
5097 cp "$am_depcomp" conftest.dir
5099 # We will build objects and dependencies in a subdirectory because
5100 # it helps to detect inapplicable dependency modes. For instance
5101 # both Tru64's cc and ICC support -MD to output dependencies as a
5102 # side effect of compilation, but ICC will put the dependencies in
5103 # the current directory while Tru64 will put them in the object
5107 am_cv_CC_dependencies_compiler_type=none
5108 if test "$am_compiler_list" = ""; then
5109 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5112 case " $depcc " in #(
5113 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5116 for depmode in $am_compiler_list; do
5117 # Setup a source with many dependencies, because some compilers
5118 # like to wrap large dependency lists on column 80 (with \), and
5119 # we should not choose a depcomp mode which is confused by this.
5121 # We need to recreate these files for each test, as the compiler may
5122 # overwrite some of them when testing with obscure command lines.
5123 # This happens at least with the AIX C compiler.
5125 for i in 1 2 3 4 5 6; do
5126 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5127 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5128 # Solaris 8's {/usr,}/bin/sh.
5129 touch sub/conftst$i.h
5131 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5133 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5134 # mode. It turns out that the SunPro C++ compiler does not properly
5135 # handle `-M -o', and we need to detect this. Also, some Intel
5136 # versions had trouble with output in subdirs
5137 am__obj=sub/conftest.${OBJEXT-o}
5138 am__minus_obj="-o $am__obj"
5141 # This depmode causes a compiler race in universal mode.
5142 test "$am__universal" = false || continue
5145 # after this tag, mechanisms are not by side-effect, so they'll
5146 # only be used when explicitly requested
5147 if test "x$enable_dependency_tracking" = xyes; then
5153 msvisualcpp | msvcmsys)
5154 # This compiler won't grok `-c -o', but also, the minuso test has
5155 # not run yet. These depmodes are late enough in the game, and
5156 # so weak that their functioning should not be impacted.
5157 am__obj=conftest.${OBJEXT-o}
5162 if depmode=$depmode \
5163 source=sub/conftest.c object=$am__obj \
5164 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5165 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5166 >/dev/null 2>conftest.err &&
5167 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5168 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5169 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5170 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5171 # icc doesn't choke on unknown options, it will just issue warnings
5172 # or remarks (even with -Werror). So we grep stderr for any message
5173 # that says an option was ignored or not supported.
5174 # When given -MP, icc 7.0 and 7.1 complain thusly:
5175 # icc: Command line warning: ignoring option '-M'; no argument required
5176 # The diagnosis changed in icc 8.0:
5177 # icc: Command line remark: option '-MP' not supported
5178 if (grep 'ignoring option' conftest.err ||
5179 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5180 am_cv_CC_dependencies_compiler_type=$depmode
5189 am_cv_CC_dependencies_compiler_type=none
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5194 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5195 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5198 test "x$enable_dependency_tracking" != xno \
5199 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5201 am__fastdepCC_FALSE='#'
5203 am__fastdepCC_TRUE='#'
5204 am__fastdepCC_FALSE=
5209 # Check whether --enable-silent-rules was given.
5210 if test "${enable_silent_rules+set}" = set; then :
5211 enableval=$enable_silent_rules;
5214 case $enable_silent_rules in
5215 yes) AM_DEFAULT_VERBOSITY=0;;
5216 no) AM_DEFAULT_VERBOSITY=1;;
5217 *) AM_DEFAULT_VERBOSITY=0;;
5222 # Initialize libtool
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5227 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5232 macro_version='2.2.6b'
5233 macro_revision='1.3017'
5247 ltmain="$ac_aux_dir/ltmain.sh"
5249 # Make sure we can run config.sub.
5250 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5251 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5254 $as_echo_n "checking build system type... " >&6; }
5255 if test "${ac_cv_build+set}" = set; then :
5256 $as_echo_n "(cached) " >&6
5258 ac_build_alias=$build_alias
5259 test "x$ac_build_alias" = x &&
5260 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5261 test "x$ac_build_alias" = x &&
5262 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5263 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5264 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5268 $as_echo "$ac_cv_build" >&6; }
5269 case $ac_cv_build in
5271 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5274 ac_save_IFS=$IFS; IFS='-'
5280 # Remember, the first character of IFS is used to create $*,
5281 # except with old shells:
5284 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5288 $as_echo_n "checking host system type... " >&6; }
5289 if test "${ac_cv_host+set}" = set; then :
5290 $as_echo_n "(cached) " >&6
5292 if test "x$host_alias" = x; then
5293 ac_cv_host=$ac_cv_build
5295 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5296 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5301 $as_echo "$ac_cv_host" >&6; }
5304 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5307 ac_save_IFS=$IFS; IFS='-'
5313 # Remember, the first character of IFS is used to create $*,
5314 # except with old shells:
5317 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5321 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5322 if test "${ac_cv_path_SED+set}" = set; then :
5323 $as_echo_n "(cached) " >&6
5325 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5326 for ac_i in 1 2 3 4 5 6 7; do
5327 ac_script="$ac_script$as_nl$ac_script"
5329 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5330 { ac_script=; unset ac_script;}
5331 if test -z "$SED"; then
5332 ac_path_SED_found=false
5333 # Loop through the user's path and test for each of PROGNAME-LIST
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir=.
5339 for ac_prog in sed gsed; do
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5342 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5343 # Check for GNU ac_path_SED and select it if it is found.
5344 # Check for GNU $ac_path_SED
5345 case `"$ac_path_SED" --version 2>&1` in
5347 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5350 $as_echo_n 0123456789 >"conftest.in"
5353 cat "conftest.in" "conftest.in" >"conftest.tmp"
5354 mv "conftest.tmp" "conftest.in"
5355 cp "conftest.in" "conftest.nl"
5356 $as_echo '' >> "conftest.nl"
5357 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5358 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5359 as_fn_arith $ac_count + 1 && ac_count=$as_val
5360 if test $ac_count -gt ${ac_path_SED_max-0}; then
5361 # Best one so far, save it but keep looking for a better one
5362 ac_cv_path_SED="$ac_path_SED"
5363 ac_path_SED_max=$ac_count
5365 # 10*(2^10) chars as input seems more than enough
5366 test $ac_count -gt 10 && break
5368 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5371 $ac_path_SED_found && break 3
5376 if test -z "$ac_cv_path_SED"; then
5377 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5385 $as_echo "$ac_cv_path_SED" >&6; }
5386 SED="$ac_cv_path_SED"
5389 test -z "$SED" && SED=sed
5390 Xsed="$SED -e 1s/^X//"
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5403 $as_echo_n "checking for fgrep... " >&6; }
5404 if test "${ac_cv_path_FGREP+set}" = set; then :
5405 $as_echo_n "(cached) " >&6
5407 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5408 then ac_cv_path_FGREP="$GREP -F"
5410 if test -z "$FGREP"; then
5411 ac_path_FGREP_found=false
5412 # Loop through the user's path and test for each of PROGNAME-LIST
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5417 test -z "$as_dir" && as_dir=.
5418 for ac_prog in fgrep; do
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5421 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5422 # Check for GNU ac_path_FGREP and select it if it is found.
5423 # Check for GNU $ac_path_FGREP
5424 case `"$ac_path_FGREP" --version 2>&1` in
5426 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5429 $as_echo_n 0123456789 >"conftest.in"
5432 cat "conftest.in" "conftest.in" >"conftest.tmp"
5433 mv "conftest.tmp" "conftest.in"
5434 cp "conftest.in" "conftest.nl"
5435 $as_echo 'FGREP' >> "conftest.nl"
5436 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5438 as_fn_arith $ac_count + 1 && ac_count=$as_val
5439 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5440 # Best one so far, save it but keep looking for a better one
5441 ac_cv_path_FGREP="$ac_path_FGREP"
5442 ac_path_FGREP_max=$ac_count
5444 # 10*(2^10) chars as input seems more than enough
5445 test $ac_count -gt 10 && break
5447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5450 $ac_path_FGREP_found && break 3
5455 if test -z "$ac_cv_path_FGREP"; then
5456 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5459 ac_cv_path_FGREP=$FGREP
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5465 $as_echo "$ac_cv_path_FGREP" >&6; }
5466 FGREP="$ac_cv_path_FGREP"
5469 test -z "$GREP" && GREP=grep
5489 # Check whether --with-gnu-ld was given.
5490 if test "${with_gnu_ld+set}" = set; then :
5491 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5497 if test "$GCC" = yes; then
5498 # Check if gcc -print-prog-name=ld gives a path.
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5500 $as_echo_n "checking for ld used by $CC... " >&6; }
5503 # gcc leaves a trailing carriage return which upsets mingw
5504 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5506 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5509 # Accept absolute paths.
5511 re_direlt='/[^/][^/]*/\.\./'
5512 # Canonicalize the pathname of ld
5513 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5514 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5515 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5517 test -z "$LD" && LD="$ac_prog"
5520 # If it fails, then pretend we aren't using GCC.
5524 # If it is relative, then search for the first ld in PATH.
5528 elif test "$with_gnu_ld" = yes; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5530 $as_echo_n "checking for GNU ld... " >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5533 $as_echo_n "checking for non-GNU ld... " >&6; }
5535 if test "${lt_cv_path_LD+set}" = set; then :
5536 $as_echo_n "(cached) " >&6
5538 if test -z "$LD"; then
5539 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5540 for ac_dir in $PATH; do
5542 test -z "$ac_dir" && ac_dir=.
5543 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5544 lt_cv_path_LD="$ac_dir/$ac_prog"
5545 # Check to see if the program is GNU ld. I'd rather use --version,
5546 # but apparently some variants of GNU ld only accept -v.
5547 # Break only if it was the GNU/non-GNU ld that we prefer.
5548 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5549 *GNU* | *'with BFD'*)
5550 test "$with_gnu_ld" != no && break
5553 test "$with_gnu_ld" != yes && break
5560 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5565 if test -n "$LD"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5567 $as_echo "$LD" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5572 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5574 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5575 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5576 $as_echo_n "(cached) " >&6
5578 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5579 case `$LD -v 2>&1 </dev/null` in
5580 *GNU* | *'with BFD'*)
5581 lt_cv_prog_gnu_ld=yes
5584 lt_cv_prog_gnu_ld=no
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5589 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5590 with_gnu_ld=$lt_cv_prog_gnu_ld
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5601 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5602 if test "${lt_cv_path_NM+set}" = set; then :
5603 $as_echo_n "(cached) " >&6
5605 if test -n "$NM"; then
5606 # Let the user override the test.
5609 lt_nm_to_check="${ac_tool_prefix}nm"
5610 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5611 lt_nm_to_check="$lt_nm_to_check nm"
5613 for lt_tmp_nm in $lt_nm_to_check; do
5614 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5615 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5617 test -z "$ac_dir" && ac_dir=.
5618 tmp_nm="$ac_dir/$lt_tmp_nm"
5619 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5620 # Check to see if the nm accepts a BSD-compat flag.
5621 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5622 # nm: unknown option "B" ignored
5623 # Tru64's nm complains that /dev/null is an invalid object file
5624 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5625 */dev/null* | *'Invalid file or object type'*)
5626 lt_cv_path_NM="$tmp_nm -B"
5630 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5632 lt_cv_path_NM="$tmp_nm -p"
5636 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5637 continue # so that we can try to find one that supports BSD flags
5646 : ${lt_cv_path_NM=no}
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5650 $as_echo "$lt_cv_path_NM" >&6; }
5651 if test "$lt_cv_path_NM" != "no"; then
5654 # Didn't find any BSD compatible name lister, look for dumpbin.
5655 if test -n "$ac_tool_prefix"; then
5656 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5663 $as_echo_n "(cached) " >&6
5665 if test -n "$DUMPBIN"; then
5666 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5675 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 DUMPBIN=$ac_cv_prog_DUMPBIN
5686 if test -n "$DUMPBIN"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5688 $as_echo "$DUMPBIN" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5695 test -n "$DUMPBIN" && break
5698 if test -z "$DUMPBIN"; then
5699 ac_ct_DUMPBIN=$DUMPBIN
5700 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5702 # Extract the first word of "$ac_prog", so it can be a program name with args.
5703 set dummy $ac_prog; ac_word=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5707 $as_echo_n "(cached) " >&6
5709 if test -n "$ac_ct_DUMPBIN"; then
5710 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 test -z "$as_dir" && as_dir=.
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5719 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5730 if test -n "$ac_ct_DUMPBIN"; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5732 $as_echo "$ac_ct_DUMPBIN" >&6; }
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5739 test -n "$ac_ct_DUMPBIN" && break
5742 if test "x$ac_ct_DUMPBIN" = x; then
5745 case $cross_compiling:$ac_tool_warned in
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5749 ac_tool_warned=yes ;;
5751 DUMPBIN=$ac_ct_DUMPBIN
5756 if test "$DUMPBIN" != ":"; then
5760 test -z "$NM" && NM=nm
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5768 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5769 if test "${lt_cv_nm_interface+set}" = set; then :
5770 $as_echo_n "(cached) " >&6
5772 lt_cv_nm_interface="BSD nm"
5773 echo "int some_variable = 0;" > conftest.$ac_ext
5774 (eval echo "\"\$as_me:5774: $ac_compile\"" >&5)
5775 (eval "$ac_compile" 2>conftest.err)
5776 cat conftest.err >&5
5777 (eval echo "\"\$as_me:5777: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5778 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5779 cat conftest.err >&5
5780 (eval echo "\"\$as_me:5780: output\"" >&5)
5781 cat conftest.out >&5
5782 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5783 lt_cv_nm_interface="MS dumpbin"
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5788 $as_echo "$lt_cv_nm_interface" >&6; }
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5791 $as_echo_n "checking whether ln -s works... " >&6; }
5793 if test "$LN_S" = "ln -s"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5795 $as_echo "yes" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5798 $as_echo "no, using $LN_S" >&6; }
5801 # find the maximum length of command line arguments
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5803 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5804 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5805 $as_echo_n "(cached) " >&6
5812 # On DJGPP, this test can blow up pretty badly due to problems in libc
5813 # (any single argument exceeding 2000 bytes causes a buffer overrun
5814 # during glob expansion). Even if it were fixed, the result of this
5815 # check would be larger than it should be.
5816 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5820 # Under GNU Hurd, this test is not required because there is
5821 # no limit to the length of command line arguments.
5822 # Libtool will interpret -1 as no limit whatsoever
5823 lt_cv_sys_max_cmd_len=-1;
5826 cygwin* | mingw* | cegcc*)
5827 # On Win9x/ME, this test blows up -- it succeeds, but takes
5828 # about 5 minutes as the teststring grows exponentially.
5829 # Worse, since 9x/ME are not pre-emptively multitasking,
5830 # you end up with a "frozen" computer, even though with patience
5831 # the test eventually succeeds (with a max line length of 256k).
5832 # Instead, let's just punt: use the minimum linelength reported by
5833 # all of the supported platforms: 8192 (on NT/2K/XP).
5834 lt_cv_sys_max_cmd_len=8192;
5838 # On AmigaOS with pdksh, this test takes hours, literally.
5839 # So we just punt and use a minimum line length of 8192.
5840 lt_cv_sys_max_cmd_len=8192;
5843 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5844 # This has been around since 386BSD, at least. Likely further.
5845 if test -x /sbin/sysctl; then
5846 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5847 elif test -x /usr/sbin/sysctl; then
5848 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5850 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5852 # And add a safety zone
5853 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5854 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5858 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5859 lt_cv_sys_max_cmd_len=196608
5863 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5864 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5865 # nice to cause kernel panics so lets avoid the loop below.
5866 # First set a reasonable default.
5867 lt_cv_sys_max_cmd_len=16384
5869 if test -x /sbin/sysconfig; then
5870 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5871 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5876 lt_cv_sys_max_cmd_len=102400
5878 sysv5* | sco5v6* | sysv4.2uw2*)
5879 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5880 if test -n "$kargmax"; then
5881 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5883 lt_cv_sys_max_cmd_len=32768
5887 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5888 if test -n "$lt_cv_sys_max_cmd_len"; then
5889 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5890 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5892 # Make teststring a little bigger before we do anything with it.
5893 # a 1K string should be a reasonable start.
5894 for i in 1 2 3 4 5 6 7 8 ; do
5895 teststring=$teststring$teststring
5897 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5898 # If test is not a shell built-in, we'll probably end up computing a
5899 # maximum length that is only half of the actual maximum length, but
5901 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5902 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5903 test $i != 17 # 1/2 MB should be enough
5906 teststring=$teststring$teststring
5908 # Only check the string length outside the loop.
5909 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5911 # Add a significant safety factor because C++ compilers can tack on
5912 # massive amounts of additional arguments before passing them to the
5913 # linker. It appears as though 1/2 is a usable value.
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5921 if test -n $lt_cv_sys_max_cmd_len ; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5923 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5926 $as_echo "none" >&6; }
5928 max_cmd_len=$lt_cv_sys_max_cmd_len
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5940 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5941 # Try some XSI features
5944 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5946 && eval 'test $(( 1 + 1 )) -eq 2 \
5947 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5950 $as_echo "$xsi_shell" >&6; }
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5954 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5956 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5958 && lt_shell_append=yes
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5960 $as_echo "$lt_shell_append" >&6; }
5963 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5973 # test EBCDIC or ASCII
5974 case `echo X|tr X '\101'` in
5975 A) # ASCII based system
5976 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5977 lt_SP2NL='tr \040 \012'
5978 lt_NL2SP='tr \015\012 \040\040'
5980 *) # EBCDIC based system
5981 lt_SP2NL='tr \100 \n'
5982 lt_NL2SP='tr \r\n \100\100'
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5995 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5996 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5997 $as_echo_n "(cached) " >&6
5999 lt_cv_ld_reload_flag='-r'
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6002 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6003 reload_flag=$lt_cv_ld_reload_flag
6004 case $reload_flag in
6006 *) reload_flag=" $reload_flag" ;;
6008 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6011 if test "$GCC" = yes; then
6012 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6014 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6027 if test -n "$ac_tool_prefix"; then
6028 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6029 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6033 $as_echo_n "(cached) " >&6
6035 if test -n "$OBJDUMP"; then
6036 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6045 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 OBJDUMP=$ac_cv_prog_OBJDUMP
6056 if test -n "$OBJDUMP"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6058 $as_echo "$OBJDUMP" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6066 if test -z "$ac_cv_prog_OBJDUMP"; then
6067 ac_ct_OBJDUMP=$OBJDUMP
6068 # Extract the first word of "objdump", so it can be a program name with args.
6069 set dummy objdump; ac_word=$2
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071 $as_echo_n "checking for $ac_word... " >&6; }
6072 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6073 $as_echo_n "(cached) " >&6
6075 if test -n "$ac_ct_OBJDUMP"; then
6076 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 test -z "$as_dir" && as_dir=.
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6085 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6095 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6096 if test -n "$ac_ct_OBJDUMP"; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6098 $as_echo "$ac_ct_OBJDUMP" >&6; }
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 $as_echo "no" >&6; }
6104 if test "x$ac_ct_OBJDUMP" = x; then
6107 case $cross_compiling:$ac_tool_warned in
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6111 ac_tool_warned=yes ;;
6113 OBJDUMP=$ac_ct_OBJDUMP
6116 OBJDUMP="$ac_cv_prog_OBJDUMP"
6119 test -z "$OBJDUMP" && OBJDUMP=objdump
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6127 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6128 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6129 $as_echo_n "(cached) " >&6
6131 lt_cv_file_magic_cmd='$MAGIC_CMD'
6132 lt_cv_file_magic_test_file=
6133 lt_cv_deplibs_check_method='unknown'
6134 # Need to set the preceding variable on all platforms that support
6135 # interlibrary dependencies.
6136 # 'none' -- dependencies not supported.
6137 # `unknown' -- same as none, but documents that we really don't know.
6138 # 'pass_all' -- all dependencies passed with no checks.
6139 # 'test_compile' -- check by making test program.
6140 # 'file_magic [[regex]]' -- check by looking for files in library path
6141 # which responds to the $file_magic_cmd with a given extended regex.
6142 # If you have `file' or equivalent on your system and you're not sure
6143 # whether `pass_all' will *always* work, you probably want this one.
6147 lt_cv_deplibs_check_method=pass_all
6151 lt_cv_deplibs_check_method=pass_all
6155 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6156 lt_cv_file_magic_cmd='/usr/bin/file -L'
6157 lt_cv_file_magic_test_file=/shlib/libc.so
6161 # func_win32_libid is a shell function defined in ltmain.sh
6162 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6163 lt_cv_file_magic_cmd='func_win32_libid'
6167 # Base MSYS/MinGW do not provide the 'file' command needed by
6168 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6169 # unless we find 'file', for example because we are cross-compiling.
6170 if ( file / ) >/dev/null 2>&1; then
6171 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6172 lt_cv_file_magic_cmd='func_win32_libid'
6174 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6175 lt_cv_file_magic_cmd='$OBJDUMP -f'
6180 # use the weaker test based on 'objdump'. See mingw*.
6181 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6182 lt_cv_file_magic_cmd='$OBJDUMP -f'
6185 darwin* | rhapsody*)
6186 lt_cv_deplibs_check_method=pass_all
6189 freebsd* | dragonfly*)
6190 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6193 # Not sure whether the presence of OpenBSD here was a mistake.
6194 # Let's accept both of them until this is cleared up.
6195 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6196 lt_cv_file_magic_cmd=/usr/bin/file
6197 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6201 lt_cv_deplibs_check_method=pass_all
6206 lt_cv_deplibs_check_method=pass_all
6209 hpux10.20* | hpux11*)
6210 lt_cv_file_magic_cmd=/usr/bin/file
6213 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6214 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6217 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6218 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6221 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6222 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6228 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6229 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6232 irix5* | irix6* | nonstopux*)
6234 *-32|*"-32 ") libmagic=32-bit;;
6235 *-n32|*"-n32 ") libmagic=N32;;
6236 *-64|*"-64 ") libmagic=64-bit;;
6237 *) libmagic=never-match;;
6239 lt_cv_deplibs_check_method=pass_all
6242 # This must be Linux ELF.
6243 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6244 lt_cv_deplibs_check_method=pass_all
6247 netbsd* | netbsdelf*-gnu)
6248 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6249 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6251 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6256 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6257 lt_cv_file_magic_cmd=/usr/bin/file
6258 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6262 lt_cv_deplibs_check_method=pass_all
6266 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6267 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6269 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6273 osf3* | osf4* | osf5*)
6274 lt_cv_deplibs_check_method=pass_all
6278 lt_cv_deplibs_check_method=pass_all
6282 lt_cv_deplibs_check_method=pass_all
6285 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6286 lt_cv_deplibs_check_method=pass_all
6290 case $host_vendor in
6292 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]'
6293 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6296 lt_cv_deplibs_check_method=pass_all
6299 lt_cv_file_magic_cmd='/bin/file'
6300 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6303 lt_cv_file_magic_cmd='/bin/file'
6304 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6305 lt_cv_file_magic_test_file=/lib/libc.so
6308 lt_cv_deplibs_check_method=pass_all
6311 lt_cv_deplibs_check_method=pass_all
6317 lt_cv_deplibs_check_method=pass_all
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6323 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6324 file_magic_cmd=$lt_cv_file_magic_cmd
6325 deplibs_check_method=$lt_cv_deplibs_check_method
6326 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6339 if test -n "$ac_tool_prefix"; then
6340 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6341 set dummy ${ac_tool_prefix}ar; ac_word=$2
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6343 $as_echo_n "checking for $ac_word... " >&6; }
6344 if test "${ac_cv_prog_AR+set}" = set; then :
6345 $as_echo_n "(cached) " >&6
6347 if test -n "$AR"; then
6348 ac_cv_prog_AR="$AR" # Let the user override the test.
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6357 ac_cv_prog_AR="${ac_tool_prefix}ar"
6358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6368 if test -n "$AR"; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6370 $as_echo "$AR" >&6; }
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6373 $as_echo "no" >&6; }
6378 if test -z "$ac_cv_prog_AR"; then
6380 # Extract the first word of "ar", so it can be a program name with args.
6381 set dummy ar; ac_word=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383 $as_echo_n "checking for $ac_word... " >&6; }
6384 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6385 $as_echo_n "(cached) " >&6
6387 if test -n "$ac_ct_AR"; then
6388 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6397 ac_cv_prog_ac_ct_AR="ar"
6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6408 if test -n "$ac_ct_AR"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6410 $as_echo "$ac_ct_AR" >&6; }
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6416 if test "x$ac_ct_AR" = x; then
6419 case $cross_compiling:$ac_tool_warned in
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6423 ac_tool_warned=yes ;;
6431 test -z "$AR" && AR=ar
6432 test -z "$AR_FLAGS" && AR_FLAGS=cru
6444 if test -n "$ac_tool_prefix"; then
6445 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6446 set dummy ${ac_tool_prefix}strip; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if test "${ac_cv_prog_STRIP+set}" = set; then :
6450 $as_echo_n "(cached) " >&6
6452 if test -n "$STRIP"; then
6453 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6472 STRIP=$ac_cv_prog_STRIP
6473 if test -n "$STRIP"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6475 $as_echo "$STRIP" >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6483 if test -z "$ac_cv_prog_STRIP"; then
6485 # Extract the first word of "strip", so it can be a program name with args.
6486 set dummy strip; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6490 $as_echo_n "(cached) " >&6
6492 if test -n "$ac_ct_STRIP"; then
6493 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502 ac_cv_prog_ac_ct_STRIP="strip"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6513 if test -n "$ac_ct_STRIP"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6515 $as_echo "$ac_ct_STRIP" >&6; }
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6521 if test "x$ac_ct_STRIP" = x; then
6524 case $cross_compiling:$ac_tool_warned in
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6528 ac_tool_warned=yes ;;
6533 STRIP="$ac_cv_prog_STRIP"
6536 test -z "$STRIP" && STRIP=:
6543 if test -n "$ac_tool_prefix"; then
6544 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6545 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6547 $as_echo_n "checking for $ac_word... " >&6; }
6548 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6549 $as_echo_n "(cached) " >&6
6551 if test -n "$RANLIB"; then
6552 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 test -z "$as_dir" && as_dir=.
6559 for ac_exec_ext in '' $ac_executable_extensions; do
6560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6561 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571 RANLIB=$ac_cv_prog_RANLIB
6572 if test -n "$RANLIB"; then
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6574 $as_echo "$RANLIB" >&6; }
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577 $as_echo "no" >&6; }
6582 if test -z "$ac_cv_prog_RANLIB"; then
6583 ac_ct_RANLIB=$RANLIB
6584 # Extract the first word of "ranlib", so it can be a program name with args.
6585 set dummy ranlib; ac_word=$2
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6587 $as_echo_n "checking for $ac_word... " >&6; }
6588 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6589 $as_echo_n "(cached) " >&6
6591 if test -n "$ac_ct_RANLIB"; then
6592 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598 test -z "$as_dir" && as_dir=.
6599 for ac_exec_ext in '' $ac_executable_extensions; do
6600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6601 ac_cv_prog_ac_ct_RANLIB="ranlib"
6602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6611 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6612 if test -n "$ac_ct_RANLIB"; then
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6614 $as_echo "$ac_ct_RANLIB" >&6; }
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617 $as_echo "no" >&6; }
6620 if test "x$ac_ct_RANLIB" = x; then
6623 case $cross_compiling:$ac_tool_warned in
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6627 ac_tool_warned=yes ;;
6629 RANLIB=$ac_ct_RANLIB
6632 RANLIB="$ac_cv_prog_RANLIB"
6635 test -z "$RANLIB" && RANLIB=:
6642 # Determine commands to create old-style static archives.
6643 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6644 old_postinstall_cmds='chmod 644 $oldlib'
6645 old_postuninstall_cmds=
6647 if test -n "$RANLIB"; then
6650 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6653 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6656 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6692 # If no C compiler was specified, use CC.
6695 # If no C compiler flags were specified, use CFLAGS.
6696 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6698 # Allow CC to be a program name with arguments.
6702 # Check for command to grab the raw symbol name followed by C symbol from nm.
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6704 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6705 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6706 $as_echo_n "(cached) " >&6
6709 # These are sane defaults that work on at least a few old systems.
6710 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6712 # Character class describing NM global symbol codes.
6713 symcode='[BCDEGRST]'
6715 # Regexp to match symbols that can be accessed directly from C.
6716 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6718 # Define system-specific variables.
6723 cygwin* | mingw* | pw32* | cegcc*)
6724 symcode='[ABCDGISTW]'
6727 if test "$host_cpu" = ia64; then
6728 symcode='[ABCDEGRST]'
6732 symcode='[BCDEGRST]'
6735 symcode='[BCDEGQRST]'
6746 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6754 # If we're using GNU nm, then use its standard symbol codes.
6755 case `$NM -V 2>&1` in
6756 *GNU* | *'with BFD'*)
6757 symcode='[ABCDGIRSTW]' ;;
6760 # Transform an extracted symbol line into a proper C declaration.
6761 # Some systems (esp. on ia64) link data and code symbols differently,
6762 # so use this general approach.
6763 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6765 # Transform an extracted symbol line into symbol name and symbol address
6766 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6767 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'"
6769 # Handle CRLF in mingw tool chain
6773 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6777 # Try without a prefix underscore, then with it.
6778 for ac_symprfx in "" "_"; do
6780 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6781 symxfrm="\\1 $ac_symprfx\\2 \\2"
6783 # Write the raw and C identifiers.
6784 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6785 # Fake it for dumpbin and say T for any non-static function
6786 # and D for any global variable.
6787 # Also find C++ and __fastcall symbols from MSVC++,
6788 # which start with @ or ?.
6789 lt_cv_sys_global_symbol_pipe="$AWK '"\
6790 " {last_section=section; section=\$ 3};"\
6791 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6792 " \$ 0!~/External *\|/{next};"\
6793 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6794 " {if(hide[section]) next};"\
6795 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6796 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6797 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6798 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6799 " ' prfx=^$ac_symprfx"
6801 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6804 # Check to see that the pipe works correctly.
6808 cat > conftest.$ac_ext <<_LT_EOF
6813 void nm_test_func(void);
6814 void nm_test_func(void){}
6818 int main(){nm_test_var='a';nm_test_func();return(0);}
6821 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6822 (eval $ac_compile) 2>&5
6824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6825 test $ac_status = 0; }; then
6826 # Now try to grab the symbols.
6828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6829 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6832 test $ac_status = 0; } && test -s "$nlist"; then
6833 # Try sorting and uniquifying the output.
6834 if sort "$nlist" | uniq > "$nlist"T; then
6835 mv -f "$nlist"T "$nlist"
6840 # Make sure that we snagged all the symbols we need.
6841 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6842 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6843 cat <<_LT_EOF > conftest.$ac_ext
6849 # Now generate the symbol file.
6850 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6852 cat <<_LT_EOF >> conftest.$ac_ext
6854 /* The mapping between symbol names and symbols. */
6859 lt__PROGRAM__LTX_preloaded_symbols[] =
6861 { "@PROGRAM@", (void *) 0 },
6863 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6864 cat <<\_LT_EOF >> conftest.$ac_ext
6868 /* This works around a problem in FreeBSD linker */
6869 #ifdef FREEBSD_WORKAROUND
6870 static const void *lt_preloaded_setup() {
6871 return lt__PROGRAM__LTX_preloaded_symbols;
6879 # Now try linking the two files.
6880 mv conftest.$ac_objext conftstm.$ac_objext
6881 lt_save_LIBS="$LIBS"
6882 lt_save_CFLAGS="$CFLAGS"
6883 LIBS="conftstm.$ac_objext"
6884 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6886 (eval $ac_link) 2>&5
6888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6889 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6892 LIBS="$lt_save_LIBS"
6893 CFLAGS="$lt_save_CFLAGS"
6895 echo "cannot find nm_test_func in $nlist" >&5
6898 echo "cannot find nm_test_var in $nlist" >&5
6901 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6904 echo "$progname: failed program was:" >&5
6905 cat conftest.$ac_ext >&5
6907 rm -rf conftest* conftst*
6909 # Do not use the global_symbol_pipe unless it works.
6910 if test "$pipe_works" = yes; then
6913 lt_cv_sys_global_symbol_pipe=
6919 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6920 lt_cv_sys_global_symbol_to_cdecl=
6922 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6924 $as_echo "failed" >&6; }
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6927 $as_echo "ok" >&6; }
6951 # Check whether --enable-libtool-lock was given.
6952 if test "${enable_libtool_lock+set}" = set; then :
6953 enableval=$enable_libtool_lock;
6956 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6958 # Some flags need to be propagated to the compiler or linker for good
6962 # Find out which ABI we are using.
6963 echo 'int i;' > conftest.$ac_ext
6964 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6965 (eval $ac_compile) 2>&5
6967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6968 test $ac_status = 0; }; then
6969 case `/usr/bin/file conftest.$ac_objext` in
6981 # Find out which ABI we are using.
6982 echo '#line 6982 "configure"' > conftest.$ac_ext
6983 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6984 (eval $ac_compile) 2>&5
6986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6987 test $ac_status = 0; }; then
6988 if test "$lt_cv_prog_gnu_ld" = yes; then
6989 case `/usr/bin/file conftest.$ac_objext` in
6991 LD="${LD-ld} -melf32bsmip"
6994 LD="${LD-ld} -melf32bmipn32"
6997 LD="${LD-ld} -melf64bmip"
7001 case `/usr/bin/file conftest.$ac_objext` in
7017 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7018 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7019 # Find out which ABI we are using.
7020 echo 'int i;' > conftest.$ac_ext
7021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7022 (eval $ac_compile) 2>&5
7024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7025 test $ac_status = 0; }; then
7026 case `/usr/bin/file conftest.o` in
7029 x86_64-*kfreebsd*-gnu)
7030 LD="${LD-ld} -m elf_i386_fbsd"
7033 LD="${LD-ld} -m elf_i386"
7035 ppc64-*linux*|powerpc64-*linux*)
7036 LD="${LD-ld} -m elf32ppclinux"
7039 LD="${LD-ld} -m elf_s390"
7042 LD="${LD-ld} -m elf32_sparc"
7048 x86_64-*kfreebsd*-gnu)
7049 LD="${LD-ld} -m elf_x86_64_fbsd"
7052 LD="${LD-ld} -m elf_x86_64"
7054 ppc*-*linux*|powerpc*-*linux*)
7055 LD="${LD-ld} -m elf64ppc"
7057 s390*-*linux*|s390*-*tpf*)
7058 LD="${LD-ld} -m elf64_s390"
7061 LD="${LD-ld} -m elf64_sparc"
7071 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7072 SAVE_CFLAGS="$CFLAGS"
7073 CFLAGS="$CFLAGS -belf"
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7075 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7076 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7077 $as_echo_n "(cached) " >&6
7080 ac_cpp='$CPP $CPPFLAGS'
7081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7086 /* end confdefs.h. */
7096 if ac_fn_c_try_link "$LINENO"; then :
7097 lt_cv_cc_needs_belf=yes
7099 lt_cv_cc_needs_belf=no
7101 rm -f core conftest.err conftest.$ac_objext \
7102 conftest$ac_exeext conftest.$ac_ext
7104 ac_cpp='$CPP $CPPFLAGS'
7105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7111 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7112 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7113 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7114 CFLAGS="$SAVE_CFLAGS"
7118 # Find out which ABI we are using.
7119 echo 'int i;' > conftest.$ac_ext
7120 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7121 (eval $ac_compile) 2>&5
7123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7124 test $ac_status = 0; }; then
7125 case `/usr/bin/file conftest.o` in
7127 case $lt_cv_prog_gnu_ld in
7128 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7130 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7142 need_locks="$enable_libtool_lock"
7146 rhapsody* | darwin*)
7147 if test -n "$ac_tool_prefix"; then
7148 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7149 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151 $as_echo_n "checking for $ac_word... " >&6; }
7152 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7153 $as_echo_n "(cached) " >&6
7155 if test -n "$DSYMUTIL"; then
7156 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir=.
7163 for ac_exec_ext in '' $ac_executable_extensions; do
7164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7175 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7176 if test -n "$DSYMUTIL"; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7178 $as_echo "$DSYMUTIL" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 $as_echo "no" >&6; }
7186 if test -z "$ac_cv_prog_DSYMUTIL"; then
7187 ac_ct_DSYMUTIL=$DSYMUTIL
7188 # Extract the first word of "dsymutil", so it can be a program name with args.
7189 set dummy dsymutil; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7193 $as_echo_n "(cached) " >&6
7195 if test -n "$ac_ct_DSYMUTIL"; then
7196 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7216 if test -n "$ac_ct_DSYMUTIL"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7218 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7224 if test "x$ac_ct_DSYMUTIL" = x; then
7227 case $cross_compiling:$ac_tool_warned in
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7231 ac_tool_warned=yes ;;
7233 DSYMUTIL=$ac_ct_DSYMUTIL
7236 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7245 $as_echo_n "(cached) " >&6
7247 if test -n "$NMEDIT"; then
7248 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7267 NMEDIT=$ac_cv_prog_NMEDIT
7268 if test -n "$NMEDIT"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7270 $as_echo "$NMEDIT" >&6; }
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7278 if test -z "$ac_cv_prog_NMEDIT"; then
7279 ac_ct_NMEDIT=$NMEDIT
7280 # Extract the first word of "nmedit", so it can be a program name with args.
7281 set dummy nmedit; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7285 $as_echo_n "(cached) " >&6
7287 if test -n "$ac_ct_NMEDIT"; then
7288 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7307 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7308 if test -n "$ac_ct_NMEDIT"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7310 $as_echo "$ac_ct_NMEDIT" >&6; }
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7316 if test "x$ac_ct_NMEDIT" = x; then
7319 case $cross_compiling:$ac_tool_warned in
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7323 ac_tool_warned=yes ;;
7325 NMEDIT=$ac_ct_NMEDIT
7328 NMEDIT="$ac_cv_prog_NMEDIT"
7331 if test -n "$ac_tool_prefix"; then
7332 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if test "${ac_cv_prog_LIPO+set}" = set; then :
7337 $as_echo_n "(cached) " >&6
7339 if test -n "$LIPO"; then
7340 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359 LIPO=$ac_cv_prog_LIPO
7360 if test -n "$LIPO"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7362 $as_echo "$LIPO" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7370 if test -z "$ac_cv_prog_LIPO"; then
7372 # Extract the first word of "lipo", so it can be a program name with args.
7373 set dummy lipo; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7377 $as_echo_n "(cached) " >&6
7379 if test -n "$ac_ct_LIPO"; then
7380 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_ac_ct_LIPO="lipo"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7400 if test -n "$ac_ct_LIPO"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7402 $as_echo "$ac_ct_LIPO" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7408 if test "x$ac_ct_LIPO" = x; then
7411 case $cross_compiling:$ac_tool_warned in
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned=yes ;;
7420 LIPO="$ac_cv_prog_LIPO"
7423 if test -n "$ac_tool_prefix"; then
7424 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7425 set dummy ${ac_tool_prefix}otool; ac_word=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 $as_echo_n "checking for $ac_word... " >&6; }
7428 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7429 $as_echo_n "(cached) " >&6
7431 if test -n "$OTOOL"; then
7432 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 test -z "$as_dir" && as_dir=.
7439 for ac_exec_ext in '' $ac_executable_extensions; do
7440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7441 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7451 OTOOL=$ac_cv_prog_OTOOL
7452 if test -n "$OTOOL"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7454 $as_echo "$OTOOL" >&6; }
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457 $as_echo "no" >&6; }
7462 if test -z "$ac_cv_prog_OTOOL"; then
7464 # Extract the first word of "otool", so it can be a program name with args.
7465 set dummy otool; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7469 $as_echo_n "(cached) " >&6
7471 if test -n "$ac_ct_OTOOL"; then
7472 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_prog_ac_ct_OTOOL="otool"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7492 if test -n "$ac_ct_OTOOL"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7494 $as_echo "$ac_ct_OTOOL" >&6; }
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7500 if test "x$ac_ct_OTOOL" = x; then
7503 case $cross_compiling:$ac_tool_warned in
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7507 ac_tool_warned=yes ;;
7512 OTOOL="$ac_cv_prog_OTOOL"
7515 if test -n "$ac_tool_prefix"; then
7516 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7517 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7521 $as_echo_n "(cached) " >&6
7523 if test -n "$OTOOL64"; then
7524 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 test -z "$as_dir" && as_dir=.
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7533 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7543 OTOOL64=$ac_cv_prog_OTOOL64
7544 if test -n "$OTOOL64"; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7546 $as_echo "$OTOOL64" >&6; }
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7554 if test -z "$ac_cv_prog_OTOOL64"; then
7555 ac_ct_OTOOL64=$OTOOL64
7556 # Extract the first word of "otool64", so it can be a program name with args.
7557 set dummy otool64; ac_word=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7561 $as_echo_n "(cached) " >&6
7563 if test -n "$ac_ct_OTOOL64"; then
7564 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7570 test -z "$as_dir" && as_dir=.
7571 for ac_exec_ext in '' $ac_executable_extensions; do
7572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7573 ac_cv_prog_ac_ct_OTOOL64="otool64"
7574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7583 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7584 if test -n "$ac_ct_OTOOL64"; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7586 $as_echo "$ac_ct_OTOOL64" >&6; }
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7592 if test "x$ac_ct_OTOOL64" = x; then
7595 case $cross_compiling:$ac_tool_warned in
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7599 ac_tool_warned=yes ;;
7601 OTOOL64=$ac_ct_OTOOL64
7604 OTOOL64="$ac_cv_prog_OTOOL64"
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7634 $as_echo_n "checking for -single_module linker flag... " >&6; }
7635 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7636 $as_echo_n "(cached) " >&6
7638 lt_cv_apple_cc_single_mod=no
7639 if test -z "${LT_MULTI_MODULE}"; then
7640 # By default we will add the -single_module flag. You can override
7641 # by either setting the environment variable LT_MULTI_MODULE
7642 # non-empty at configure time, or by adding -multi_module to the
7644 rm -rf libconftest.dylib*
7645 echo "int foo(void){return 1;}" > conftest.c
7646 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7647 -dynamiclib -Wl,-single_module conftest.c" >&5
7648 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7649 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7651 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7652 lt_cv_apple_cc_single_mod=yes
7654 cat conftest.err >&5
7656 rm -rf libconftest.dylib*
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7661 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7663 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7664 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7665 $as_echo_n "(cached) " >&6
7667 lt_cv_ld_exported_symbols_list=no
7668 save_LDFLAGS=$LDFLAGS
7669 echo "_main" > conftest.sym
7670 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7682 if ac_fn_c_try_link "$LINENO"; then :
7683 lt_cv_ld_exported_symbols_list=yes
7685 lt_cv_ld_exported_symbols_list=no
7687 rm -f core conftest.err conftest.$ac_objext \
7688 conftest$ac_exeext conftest.$ac_ext
7689 LDFLAGS="$save_LDFLAGS"
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7693 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7695 rhapsody* | darwin1.[012])
7696 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7698 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7699 darwin*) # darwin 5.x on
7700 # if running on 10.5 or later, the deployment target defaults
7701 # to the OS version, if on x86, and 10.4, the deployment
7702 # target defaults to 10.4. Don't you love it?
7703 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7704 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7705 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7707 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7709 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7713 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7714 _lt_dar_single_mod='$single_module'
7716 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7717 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7719 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7721 if test "$DSYMUTIL" != ":"; then
7722 _lt_dsymutil='~$DSYMUTIL $lib || :'
7729 for ac_header in dlfcn.h
7731 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7733 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7734 cat >>confdefs.h <<_ACEOF
7735 #define HAVE_DLFCN_H 1
7745 enable_win32_dll=yes
7748 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
7749 if test -n "$ac_tool_prefix"; then
7750 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7751 set dummy ${ac_tool_prefix}as; ac_word=$2
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7753 $as_echo_n "checking for $ac_word... " >&6; }
7754 if test "${ac_cv_prog_AS+set}" = set; then :
7755 $as_echo_n "(cached) " >&6
7757 if test -n "$AS"; then
7758 ac_cv_prog_AS="$AS" # Let the user override the test.
7760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7764 test -z "$as_dir" && as_dir=.
7765 for ac_exec_ext in '' $ac_executable_extensions; do
7766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7767 ac_cv_prog_AS="${ac_tool_prefix}as"
7768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7778 if test -n "$AS"; then
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7780 $as_echo "$AS" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7783 $as_echo "no" >&6; }
7788 if test -z "$ac_cv_prog_AS"; then
7790 # Extract the first word of "as", so it can be a program name with args.
7791 set dummy as; ac_word=$2
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7793 $as_echo_n "checking for $ac_word... " >&6; }
7794 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
7795 $as_echo_n "(cached) " >&6
7797 if test -n "$ac_ct_AS"; then
7798 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7804 test -z "$as_dir" && as_dir=.
7805 for ac_exec_ext in '' $ac_executable_extensions; do
7806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7807 ac_cv_prog_ac_ct_AS="as"
7808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7817 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7818 if test -n "$ac_ct_AS"; then
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7820 $as_echo "$ac_ct_AS" >&6; }
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7823 $as_echo "no" >&6; }
7826 if test "x$ac_ct_AS" = x; then
7829 case $cross_compiling:$ac_tool_warned in
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7833 ac_tool_warned=yes ;;
7841 if test -n "$ac_tool_prefix"; then
7842 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7843 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 $as_echo_n "checking for $ac_word... " >&6; }
7846 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7847 $as_echo_n "(cached) " >&6
7849 if test -n "$DLLTOOL"; then
7850 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856 test -z "$as_dir" && as_dir=.
7857 for ac_exec_ext in '' $ac_executable_extensions; do
7858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7859 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7869 DLLTOOL=$ac_cv_prog_DLLTOOL
7870 if test -n "$DLLTOOL"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7872 $as_echo "$DLLTOOL" >&6; }
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7880 if test -z "$ac_cv_prog_DLLTOOL"; then
7881 ac_ct_DLLTOOL=$DLLTOOL
7882 # Extract the first word of "dlltool", so it can be a program name with args.
7883 set dummy dlltool; ac_word=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7885 $as_echo_n "checking for $ac_word... " >&6; }
7886 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
7887 $as_echo_n "(cached) " >&6
7889 if test -n "$ac_ct_DLLTOOL"; then
7890 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7899 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7910 if test -n "$ac_ct_DLLTOOL"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7912 $as_echo "$ac_ct_DLLTOOL" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7915 $as_echo "no" >&6; }
7918 if test "x$ac_ct_DLLTOOL" = x; then
7921 case $cross_compiling:$ac_tool_warned in
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7925 ac_tool_warned=yes ;;
7927 DLLTOOL=$ac_ct_DLLTOOL
7930 DLLTOOL="$ac_cv_prog_DLLTOOL"
7933 if test -n "$ac_tool_prefix"; then
7934 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7935 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7937 $as_echo_n "checking for $ac_word... " >&6; }
7938 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7939 $as_echo_n "(cached) " >&6
7941 if test -n "$OBJDUMP"; then
7942 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7951 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7961 OBJDUMP=$ac_cv_prog_OBJDUMP
7962 if test -n "$OBJDUMP"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7964 $as_echo "$OBJDUMP" >&6; }
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7972 if test -z "$ac_cv_prog_OBJDUMP"; then
7973 ac_ct_OBJDUMP=$OBJDUMP
7974 # Extract the first word of "objdump", so it can be a program name with args.
7975 set dummy objdump; ac_word=$2
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7977 $as_echo_n "checking for $ac_word... " >&6; }
7978 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7979 $as_echo_n "(cached) " >&6
7981 if test -n "$ac_ct_OBJDUMP"; then
7982 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 test -z "$as_dir" && as_dir=.
7989 for ac_exec_ext in '' $ac_executable_extensions; do
7990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7991 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8001 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8002 if test -n "$ac_ct_OBJDUMP"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8004 $as_echo "$ac_ct_OBJDUMP" >&6; }
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8010 if test "x$ac_ct_OBJDUMP" = x; then
8013 case $cross_compiling:$ac_tool_warned in
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8017 ac_tool_warned=yes ;;
8019 OBJDUMP=$ac_ct_OBJDUMP
8022 OBJDUMP="$ac_cv_prog_OBJDUMP"
8028 test -z "$AS" && AS=as
8034 test -z "$DLLTOOL" && DLLTOOL=dlltool
8040 test -z "$OBJDUMP" && OBJDUMP=objdump
8052 # Check whether --enable-shared was given.
8053 if test "${enable_shared+set}" = set; then :
8054 enableval=$enable_shared; p=${PACKAGE-default}
8056 yes) enable_shared=yes ;;
8057 no) enable_shared=no ;;
8060 # Look at the argument we got. We use all the common list separators.
8061 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8062 for pkg in $enableval; do
8064 if test "X$pkg" = "X$p"; then
8083 # Check whether --enable-static was given.
8084 if test "${enable_static+set}" = set; then :
8085 enableval=$enable_static; p=${PACKAGE-default}
8087 yes) enable_static=yes ;;
8088 no) enable_static=no ;;
8091 # Look at the argument we got. We use all the common list separators.
8092 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8093 for pkg in $enableval; do
8095 if test "X$pkg" = "X$p"; then
8115 # Check whether --with-pic was given.
8116 if test "${with_pic+set}" = set; then :
8117 withval=$with_pic; pic_mode="$withval"
8123 test -z "$pic_mode" && pic_mode=default
8131 # Check whether --enable-fast-install was given.
8132 if test "${enable_fast_install+set}" = set; then :
8133 enableval=$enable_fast_install; p=${PACKAGE-default}
8135 yes) enable_fast_install=yes ;;
8136 no) enable_fast_install=no ;;
8138 enable_fast_install=no
8139 # Look at the argument we got. We use all the common list separators.
8140 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8141 for pkg in $enableval; do
8143 if test "X$pkg" = "X$p"; then
8144 enable_fast_install=yes
8151 enable_fast_install=yes
8164 # This can be used to rebuild libtool when needed
8165 LIBTOOL_DEPS="$ltmain"
8167 # Always use our own libtool.
8168 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8194 test -z "$LN_S" && LN_S="ln -s"
8209 if test -n "${ZSH_VERSION+set}" ; then
8210 setopt NO_GLOB_SUBST
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8214 $as_echo_n "checking for objdir... " >&6; }
8215 if test "${lt_cv_objdir+set}" = set; then :
8216 $as_echo_n "(cached) " >&6
8218 rm -f .libs 2>/dev/null
8219 mkdir .libs 2>/dev/null
8220 if test -d .libs; then
8223 # MS-DOS does not allow filenames that begin with a dot.
8226 rmdir .libs 2>/dev/null
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8229 $as_echo "$lt_cv_objdir" >&6; }
8230 objdir=$lt_cv_objdir
8236 cat >>confdefs.h <<_ACEOF
8237 #define LT_OBJDIR "$lt_cv_objdir/"
8258 # AIX sometimes has problems with the GCC collect2 program. For some
8259 # reason, if we set the COLLECT_NAMES environment variable, the problems
8260 # vanish in a puff of smoke.
8261 if test "X${COLLECT_NAMES+set}" != Xset; then
8263 export COLLECT_NAMES
8268 # Sed substitution that helps us do robust quoting. It backslashifies
8269 # metacharacters that are still active within double-quoted strings.
8270 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8272 # Same as above, but do not quote variable references.
8273 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8275 # Sed substitution to delay expansion of an escaped shell variable in a
8276 # double_quote_subst'ed string.
8277 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8279 # Sed substitution to delay expansion of an escaped single quote.
8280 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8282 # Sed substitution to avoid accidental globbing in evaled expressions
8283 no_glob_subst='s/\*/\\\*/g'
8287 can_build_shared=yes
8289 # All known linkers require a `.a' archive for static linking (except MSVC,
8290 # which needs '.lib').
8293 with_gnu_ld="$lt_cv_prog_gnu_ld"
8296 old_CFLAGS="$CFLAGS"
8298 # Set sane defaults for various variables
8299 test -z "$CC" && CC=cc
8300 test -z "$LTCC" && LTCC=$CC
8301 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8302 test -z "$LD" && LD=ld
8303 test -z "$ac_objext" && ac_objext=o
8305 for cc_temp in $compiler""; do
8307 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8308 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8313 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8316 # Only perform the check for file, if the check method requires it
8317 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8318 case $deplibs_check_method in
8320 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8322 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8323 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8324 $as_echo_n "(cached) " >&6
8328 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8331 lt_save_MAGIC_CMD="$MAGIC_CMD"
8332 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8333 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8334 for ac_dir in $ac_dummy; do
8336 test -z "$ac_dir" && ac_dir=.
8337 if test -f $ac_dir/${ac_tool_prefix}file; then
8338 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8339 if test -n "$file_magic_test_file"; then
8340 case $deplibs_check_method in
8342 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8343 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8344 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8345 $EGREP "$file_magic_regex" > /dev/null; then
8350 *** Warning: the command libtool uses to detect shared libraries,
8351 *** $file_magic_cmd, produces output that libtool cannot recognize.
8352 *** The result is that libtool may fail to recognize shared libraries
8353 *** as such. This will affect the creation of libtool libraries that
8354 *** depend on shared libraries, but programs linked with such libtool
8355 *** libraries will work regardless of this problem. Nevertheless, you
8356 *** may want to report the problem to your system manager and/or to
8357 *** bug-libtool@gnu.org
8367 MAGIC_CMD="$lt_save_MAGIC_CMD"
8372 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8373 if test -n "$MAGIC_CMD"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8375 $as_echo "$MAGIC_CMD" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8385 if test -z "$lt_cv_path_MAGIC_CMD"; then
8386 if test -n "$ac_tool_prefix"; then
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8388 $as_echo_n "checking for file... " >&6; }
8389 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8390 $as_echo_n "(cached) " >&6
8394 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8397 lt_save_MAGIC_CMD="$MAGIC_CMD"
8398 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8399 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8400 for ac_dir in $ac_dummy; do
8402 test -z "$ac_dir" && ac_dir=.
8403 if test -f $ac_dir/file; then
8404 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8405 if test -n "$file_magic_test_file"; then
8406 case $deplibs_check_method in
8408 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8409 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8410 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8411 $EGREP "$file_magic_regex" > /dev/null; then
8416 *** Warning: the command libtool uses to detect shared libraries,
8417 *** $file_magic_cmd, produces output that libtool cannot recognize.
8418 *** The result is that libtool may fail to recognize shared libraries
8419 *** as such. This will affect the creation of libtool libraries that
8420 *** depend on shared libraries, but programs linked with such libtool
8421 *** libraries will work regardless of this problem. Nevertheless, you
8422 *** may want to report the problem to your system manager and/or to
8423 *** bug-libtool@gnu.org
8433 MAGIC_CMD="$lt_save_MAGIC_CMD"
8438 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8439 if test -n "$MAGIC_CMD"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8441 $as_echo "$MAGIC_CMD" >&6; }
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8444 $as_echo "no" >&6; }
8457 # Use C for the default configuration in the libtool script
8461 ac_cpp='$CPP $CPPFLAGS'
8462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8467 # Source file extension for C test sources.
8470 # Object file extension for compiled C test sources.
8474 # Code to be used in simple compile tests
8475 lt_simple_compile_test_code="int some_variable = 0;"
8477 # Code to be used in simple link tests
8478 lt_simple_link_test_code='int main(){return(0);}'
8486 # If no C compiler was specified, use CC.
8489 # If no C compiler flags were specified, use CFLAGS.
8490 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8492 # Allow CC to be a program name with arguments.
8495 # Save the default compiler, since it gets overwritten when the other
8496 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8497 compiler_DEFAULT=$CC
8499 # save warnings/boilerplate of simple test code
8500 ac_outfile=conftest.$ac_objext
8501 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8502 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8503 _lt_compiler_boilerplate=`cat conftest.err`
8506 ac_outfile=conftest.$ac_objext
8507 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8508 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8509 _lt_linker_boilerplate=`cat conftest.err`
8514 ## There is no encapsulation within the following macros, do not change
8515 ## the running order or otherwise move them around unless you know exactly
8516 ## what you are doing...
8517 if test -n "$compiler"; then
8519 lt_prog_compiler_no_builtin_flag=
8521 if test "$GCC" = yes; then
8522 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8525 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8526 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8527 $as_echo_n "(cached) " >&6
8529 lt_cv_prog_compiler_rtti_exceptions=no
8530 ac_outfile=conftest.$ac_objext
8531 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8532 lt_compiler_flag="-fno-rtti -fno-exceptions"
8533 # Insert the option either (1) after the last *FLAGS variable, or
8534 # (2) before a word containing "conftest.", or (3) at the end.
8535 # Note that $ac_compile itself does not contain backslashes and begins
8536 # with a dollar sign (not a hyphen), so the echo should work correctly.
8537 # The option is referenced via a variable to avoid confusing sed.
8538 lt_compile=`echo "$ac_compile" | $SED \
8539 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8540 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8541 -e 's:$: $lt_compiler_flag:'`
8542 (eval echo "\"\$as_me:8542: $lt_compile\"" >&5)
8543 (eval "$lt_compile" 2>conftest.err)
8545 cat conftest.err >&5
8546 echo "$as_me:8546: \$? = $ac_status" >&5
8547 if (exit $ac_status) && test -s "$ac_outfile"; then
8548 # The compiler can only warn and ignore the option if not recognized
8549 # So say no if there are warnings other than the usual output.
8550 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8551 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8552 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8553 lt_cv_prog_compiler_rtti_exceptions=yes
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8560 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8562 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8563 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8575 lt_prog_compiler_wl=
8576 lt_prog_compiler_pic=
8577 lt_prog_compiler_static=
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8580 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8582 if test "$GCC" = yes; then
8583 lt_prog_compiler_wl='-Wl,'
8584 lt_prog_compiler_static='-static'
8588 # All AIX code is PIC.
8589 if test "$host_cpu" = ia64; then
8590 # AIX 5 now supports IA64 processor
8591 lt_prog_compiler_static='-Bstatic'
8598 # see comment about AmigaOS4 .so support
8599 lt_prog_compiler_pic='-fPIC'
8602 # FIXME: we need at least 68020 code to build shared libraries, but
8603 # adding the `-m68020' flag to GCC prevents building anything better,
8605 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8610 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8611 # PIC is the default for these OSes.
8614 mingw* | cygwin* | pw32* | os2* | cegcc*)
8615 # This hack is so that the source file can tell whether it is being
8616 # built for inclusion in a dll (and should export symbols for example).
8617 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8618 # (--disable-auto-import) libraries
8619 lt_prog_compiler_pic='-DDLL_EXPORT'
8622 darwin* | rhapsody*)
8623 # PIC is the default on this platform
8624 # Common symbols not allowed in MH_DYLIB files
8625 lt_prog_compiler_pic='-fno-common'
8629 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8630 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8631 # sets the default TLS model and affects inlining.
8637 lt_prog_compiler_pic='-fPIC'
8643 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8644 # Instead, we relocate shared libraries at runtime.
8648 # Just because we use GCC doesn't mean we suddenly get shared libraries
8649 # on systems that don't support them.
8650 lt_prog_compiler_can_build_shared=no
8655 # QNX uses GNU C++, but need to define -shared option too, otherwise
8657 lt_prog_compiler_pic='-fPIC -shared'
8661 if test -d /usr/nec; then
8662 lt_prog_compiler_pic=-Kconform_pic
8667 lt_prog_compiler_pic='-fPIC'
8671 # PORTME Check for flag to pass linker flags through the system compiler.
8674 lt_prog_compiler_wl='-Wl,'
8675 if test "$host_cpu" = ia64; then
8676 # AIX 5 now supports IA64 processor
8677 lt_prog_compiler_static='-Bstatic'
8679 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8683 mingw* | cygwin* | pw32* | os2* | cegcc*)
8684 # This hack is so that the source file can tell whether it is being
8685 # built for inclusion in a dll (and should export symbols for example).
8686 lt_prog_compiler_pic='-DDLL_EXPORT'
8689 hpux9* | hpux10* | hpux11*)
8690 lt_prog_compiler_wl='-Wl,'
8691 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8698 lt_prog_compiler_pic='+Z'
8701 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8702 lt_prog_compiler_static='${wl}-a ${wl}archive'
8705 irix5* | irix6* | nonstopux*)
8706 lt_prog_compiler_wl='-Wl,'
8707 # PIC (with -KPIC) is the default.
8708 lt_prog_compiler_static='-non_shared'
8711 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8712 case $cc_basename in
8713 # old Intel for x86_64 which still supported -KPIC.
8715 lt_prog_compiler_wl='-Wl,'
8716 lt_prog_compiler_pic='-KPIC'
8717 lt_prog_compiler_static='-static'
8719 # icc used to be incompatible with GCC.
8720 # ICC 10 doesn't accept -KPIC any more.
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-fPIC'
8724 lt_prog_compiler_static='-static'
8726 # Lahey Fortran 8.1.
8728 lt_prog_compiler_wl='-Wl,'
8729 lt_prog_compiler_pic='--shared'
8730 lt_prog_compiler_static='--static'
8732 pgcc* | pgf77* | pgf90* | pgf95*)
8733 # Portland Group compilers (*not* the Pentium gcc compiler,
8734 # which looks to be a dead project)
8735 lt_prog_compiler_wl='-Wl,'
8736 lt_prog_compiler_pic='-fpic'
8737 lt_prog_compiler_static='-Bstatic'
8740 lt_prog_compiler_wl='-Wl,'
8741 # All Alpha code is PIC.
8742 lt_prog_compiler_static='-non_shared'
8745 # IBM XL C 8.0/Fortran 10.1 on PPC
8746 lt_prog_compiler_wl='-Wl,'
8747 lt_prog_compiler_pic='-qpic'
8748 lt_prog_compiler_static='-qstaticlink'
8751 case `$CC -V 2>&1 | sed 5q` in
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8756 lt_prog_compiler_wl='-Wl,'
8759 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-Bstatic'
8762 lt_prog_compiler_wl=''
8770 lt_prog_compiler_pic='-KPIC'
8771 lt_prog_compiler_static='-Bstatic'
8775 # QNX uses GNU C++, but need to define -shared option too, otherwise
8777 lt_prog_compiler_pic='-fPIC -shared'
8780 osf3* | osf4* | osf5*)
8781 lt_prog_compiler_wl='-Wl,'
8782 # All OSF/1 code is PIC.
8783 lt_prog_compiler_static='-non_shared'
8787 lt_prog_compiler_static='-non_shared'
8791 lt_prog_compiler_pic='-KPIC'
8792 lt_prog_compiler_static='-Bstatic'
8793 case $cc_basename in
8795 lt_prog_compiler_wl='-Qoption ld ';;
8797 lt_prog_compiler_wl='-Wl,';;
8802 lt_prog_compiler_wl='-Qoption ld '
8803 lt_prog_compiler_pic='-PIC'
8804 lt_prog_compiler_static='-Bstatic'
8807 sysv4 | sysv4.2uw2* | sysv4.3*)
8808 lt_prog_compiler_wl='-Wl,'
8809 lt_prog_compiler_pic='-KPIC'
8810 lt_prog_compiler_static='-Bstatic'
8814 if test -d /usr/nec ;then
8815 lt_prog_compiler_pic='-Kconform_pic'
8816 lt_prog_compiler_static='-Bstatic'
8820 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8821 lt_prog_compiler_wl='-Wl,'
8822 lt_prog_compiler_pic='-KPIC'
8823 lt_prog_compiler_static='-Bstatic'
8827 lt_prog_compiler_wl='-Wl,'
8828 lt_prog_compiler_can_build_shared=no
8832 lt_prog_compiler_pic='-pic'
8833 lt_prog_compiler_static='-Bstatic'
8837 lt_prog_compiler_can_build_shared=no
8843 # For platforms which do not support PIC, -DPIC is meaningless:
8845 lt_prog_compiler_pic=
8848 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8852 $as_echo "$lt_prog_compiler_pic" >&6; }
8860 # Check to make sure the PIC flag actually works.
8862 if test -n "$lt_prog_compiler_pic"; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8864 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8865 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8866 $as_echo_n "(cached) " >&6
8868 lt_cv_prog_compiler_pic_works=no
8869 ac_outfile=conftest.$ac_objext
8870 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8871 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8872 # Insert the option either (1) after the last *FLAGS variable, or
8873 # (2) before a word containing "conftest.", or (3) at the end.
8874 # Note that $ac_compile itself does not contain backslashes and begins
8875 # with a dollar sign (not a hyphen), so the echo should work correctly.
8876 # The option is referenced via a variable to avoid confusing sed.
8877 lt_compile=`echo "$ac_compile" | $SED \
8878 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8879 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8880 -e 's:$: $lt_compiler_flag:'`
8881 (eval echo "\"\$as_me:8881: $lt_compile\"" >&5)
8882 (eval "$lt_compile" 2>conftest.err)
8884 cat conftest.err >&5
8885 echo "$as_me:8885: \$? = $ac_status" >&5
8886 if (exit $ac_status) && test -s "$ac_outfile"; then
8887 # The compiler can only warn and ignore the option if not recognized
8888 # So say no if there are warnings other than the usual output.
8889 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8890 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8891 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8892 lt_cv_prog_compiler_pic_works=yes
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8899 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8901 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8902 case $lt_prog_compiler_pic in
8904 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8907 lt_prog_compiler_pic=
8908 lt_prog_compiler_can_build_shared=no
8919 # Check to make sure the static flag actually works.
8921 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8923 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8924 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8925 $as_echo_n "(cached) " >&6
8927 lt_cv_prog_compiler_static_works=no
8928 save_LDFLAGS="$LDFLAGS"
8929 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8930 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8931 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8932 # The linker can only warn and ignore the option if not recognized
8933 # So say no if there are warnings
8934 if test -s conftest.err; then
8935 # Append any errors to the config.log.
8936 cat conftest.err 1>&5
8937 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8938 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8939 if diff conftest.exp conftest.er2 >/dev/null; then
8940 lt_cv_prog_compiler_static_works=yes
8943 lt_cv_prog_compiler_static_works=yes
8947 LDFLAGS="$save_LDFLAGS"
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8951 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8953 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8956 lt_prog_compiler_static=
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8966 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8967 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8968 $as_echo_n "(cached) " >&6
8970 lt_cv_prog_compiler_c_o=no
8971 $RM -r conftest 2>/dev/null
8975 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8977 lt_compiler_flag="-o out/conftest2.$ac_objext"
8978 # Insert the option either (1) after the last *FLAGS variable, or
8979 # (2) before a word containing "conftest.", or (3) at the end.
8980 # Note that $ac_compile itself does not contain backslashes and begins
8981 # with a dollar sign (not a hyphen), so the echo should work correctly.
8982 lt_compile=`echo "$ac_compile" | $SED \
8983 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8984 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8985 -e 's:$: $lt_compiler_flag:'`
8986 (eval echo "\"\$as_me:8986: $lt_compile\"" >&5)
8987 (eval "$lt_compile" 2>out/conftest.err)
8989 cat out/conftest.err >&5
8990 echo "$as_me:8990: \$? = $ac_status" >&5
8991 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8993 # The compiler can only warn and ignore the option if not recognized
8994 # So say no if there are warnings
8995 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8996 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8997 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8998 lt_cv_prog_compiler_c_o=yes
9003 # SGI C++ compiler will create directory out/ii_files/ for
9004 # template instantiation
9005 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9006 $RM out/* && rmdir out
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9013 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9022 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9023 $as_echo_n "(cached) " >&6
9025 lt_cv_prog_compiler_c_o=no
9026 $RM -r conftest 2>/dev/null
9030 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9032 lt_compiler_flag="-o out/conftest2.$ac_objext"
9033 # Insert the option either (1) after the last *FLAGS variable, or
9034 # (2) before a word containing "conftest.", or (3) at the end.
9035 # Note that $ac_compile itself does not contain backslashes and begins
9036 # with a dollar sign (not a hyphen), so the echo should work correctly.
9037 lt_compile=`echo "$ac_compile" | $SED \
9038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9040 -e 's:$: $lt_compiler_flag:'`
9041 (eval echo "\"\$as_me:9041: $lt_compile\"" >&5)
9042 (eval "$lt_compile" 2>out/conftest.err)
9044 cat out/conftest.err >&5
9045 echo "$as_me:9045: \$? = $ac_status" >&5
9046 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9048 # The compiler can only warn and ignore the option if not recognized
9049 # So say no if there are warnings
9050 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9051 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9052 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9053 lt_cv_prog_compiler_c_o=yes
9058 # SGI C++ compiler will create directory out/ii_files/ for
9059 # template instantiation
9060 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9061 $RM out/* && rmdir out
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9068 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9073 hard_links="nottested"
9074 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9075 # do not overwrite the value of need_locks provided by the user
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9077 $as_echo_n "checking if we can lock with hard links... " >&6; }
9080 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9082 ln conftest.a conftest.b 2>&5 || hard_links=no
9083 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9085 $as_echo "$hard_links" >&6; }
9086 if test "$hard_links" = no; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9088 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9101 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9104 allow_undefined_flag=
9105 always_export_symbols=no
9107 archive_expsym_cmds=
9108 compiler_needs_object=no
9109 enable_shared_with_static_runtimes=no
9110 export_dynamic_flag_spec=
9111 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9112 hardcode_automatic=no
9114 hardcode_direct_absolute=no
9115 hardcode_libdir_flag_spec=
9116 hardcode_libdir_flag_spec_ld=
9117 hardcode_libdir_separator=
9119 hardcode_shlibpath_var=unsupported
9121 link_all_deplibs=unknown
9124 old_archive_from_new_cmds=
9125 old_archive_from_expsyms_cmds=
9126 thread_safe_flag_spec=
9127 whole_archive_flag_spec=
9128 # include_expsyms should be a list of space-separated symbols to be *always*
9129 # included in the symbol list
9131 # exclude_expsyms can be an extended regexp of symbols to exclude
9132 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9133 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9134 # as well as any symbol that contains `d'.
9135 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9136 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9137 # platforms (ab)use it in PIC code, but their linkers get confused if
9138 # the symbol is explicitly referenced. Since portable code cannot
9139 # rely on this symbol name, it's probably fine to never include it in
9140 # preloaded symbol tables.
9141 # Exclude shared library initialization/finalization symbols.
9142 extract_expsyms_cmds=
9145 cygwin* | mingw* | pw32* | cegcc*)
9146 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9147 # When not using gcc, we currently assume that we are using
9148 # Microsoft Visual C++.
9149 if test "$GCC" != yes; then
9154 # we just hope/assume this is gcc and not c89 (= MSVC++)
9160 linux* | k*bsd*-gnu)
9166 if test "$with_gnu_ld" = yes; then
9167 # If archive_cmds runs LD, not CC, wlarc should be empty
9170 # Set some defaults for GNU ld with shared library support. These
9171 # are reset later if shared libraries are not supported. Putting them
9172 # here allows them to be overridden if necessary.
9173 runpath_var=LD_RUN_PATH
9174 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9175 export_dynamic_flag_spec='${wl}--export-dynamic'
9176 # ancient GNU ld didn't support --whole-archive et. al.
9177 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9178 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9180 whole_archive_flag_spec=
9182 supports_anon_versioning=no
9183 case `$LD -v 2>&1` in
9184 *GNU\ gold*) supports_anon_versioning=yes ;;
9185 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9186 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9187 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9188 *\ 2.11.*) ;; # other 2.11 versions
9189 *) supports_anon_versioning=yes ;;
9192 # See if GNU ld supports shared libraries.
9195 # On AIX/PPC, the GNU linker is very broken
9196 if test "$host_cpu" != ia64; then
9200 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9201 *** to be unable to reliably create shared libraries on AIX.
9202 *** Therefore, libtool is disabling shared libraries support. If you
9203 *** really care for shared libraries, you may want to modify your PATH
9204 *** so that a non-GNU linker is found, and then restart.
9213 # see comment about AmigaOS4 .so support
9214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215 archive_expsym_cmds=''
9218 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)'
9219 hardcode_libdir_flag_spec='-L$libdir'
9220 hardcode_minus_L=yes
9226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227 allow_undefined_flag=unsupported
9228 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9229 # support --undefined. This deserves some investigation. FIXME
9230 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236 cygwin* | mingw* | pw32* | cegcc*)
9237 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9238 # as there is no search path for DLLs.
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 allow_undefined_flag=unsupported
9241 always_export_symbols=no
9242 enable_shared_with_static_runtimes=yes
9243 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9245 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9246 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9247 # If the export-symbols file already is a .def file (1st line
9248 # is EXPORTS), use it as is; otherwise, prepend...
9249 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9250 cp $export_symbols $output_objdir/$soname.def;
9252 echo EXPORTS > $output_objdir/$soname.def;
9253 cat $export_symbols >> $output_objdir/$soname.def;
9255 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9263 hardcode_shlibpath_var=no
9264 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9265 export_dynamic_flag_spec='${wl}-E'
9266 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9267 # Instead, shared libraries are loaded at an image base (0x10000000 by
9268 # default) and relocated if they conflict, which is a slow very memory
9269 # consuming and fragmenting process. To avoid this, we pick a random,
9270 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9271 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9272 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9273 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'
9276 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9278 if test "$host_os" = linux-dietlibc; then
9279 case $cc_basename in
9280 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9283 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9284 && test "$tmp_diet" = no
9287 tmp_sharedflag='-shared'
9288 case $cc_basename,$host_cpu in
9289 pgcc*) # Portland Group C compiler
9290 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9291 tmp_addflag=' $pic_flag'
9293 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9294 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9295 tmp_addflag=' $pic_flag -Mnomain' ;;
9296 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9297 tmp_addflag=' -i_dynamic' ;;
9298 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9299 tmp_addflag=' -i_dynamic -nofor_main' ;;
9300 ifc* | ifort*) # Intel Fortran compiler
9301 tmp_addflag=' -nofor_main' ;;
9302 lf95*) # Lahey Fortran 8.1
9303 whole_archive_flag_spec=
9304 tmp_sharedflag='--shared' ;;
9305 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9306 tmp_sharedflag='-qmkshrobj'
9309 case `$CC -V 2>&1 | sed 5q` in
9310 *Sun\ C*) # Sun C 5.9
9311 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9312 compiler_needs_object=yes
9313 tmp_sharedflag='-G' ;;
9314 *Sun\ F*) # Sun Fortran 8.3
9315 tmp_sharedflag='-G' ;;
9317 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 if test "x$supports_anon_versioning" = xyes; then
9320 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9321 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9322 echo "local: *; };" >> $output_objdir/$libname.ver~
9323 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9326 case $cc_basename in
9328 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9329 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9330 hardcode_libdir_flag_spec=
9331 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9332 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9333 if test "x$supports_anon_versioning" = xyes; then
9334 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9335 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9336 echo "local: *; };" >> $output_objdir/$libname.ver~
9337 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9346 netbsd* | netbsdelf*-gnu)
9347 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9348 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9351 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9352 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9357 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9361 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9362 *** create shared libraries on Solaris systems. Therefore, libtool
9363 *** is disabling shared libraries support. We urge you to upgrade GNU
9364 *** binutils to release 2.9.1 or newer. Another option is to modify
9365 *** your PATH or compiler configuration so that the native linker is
9366 *** used, and then restart.
9369 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9370 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9371 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9378 case `$LD -v 2>&1` in
9379 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9383 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9384 *** reliably create shared libraries on SCO systems. Therefore, libtool
9385 *** is disabling shared libraries support. We urge you to upgrade GNU
9386 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9387 *** your PATH or compiler configuration so that the native linker is
9388 *** used, and then restart.
9393 # For security reasons, it is highly recommended that you always
9394 # use absolute paths for naming shared libraries, and exclude the
9395 # DT_RUNPATH tag from executables and libraries. But doing so
9396 # requires that you compile everything twice, which is a pain.
9397 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9398 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9399 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9409 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9412 hardcode_shlibpath_var=no
9416 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9417 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9418 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9425 if test "$ld_shlibs" = no; then
9427 hardcode_libdir_flag_spec=
9428 export_dynamic_flag_spec=
9429 whole_archive_flag_spec=
9432 # PORTME fill in a description of your system's linker (not GNU ld)
9435 allow_undefined_flag=unsupported
9436 always_export_symbols=yes
9437 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'
9438 # Note: this linker hardcodes the directories in LIBPATH if there
9439 # are no directories specified by -L.
9440 hardcode_minus_L=yes
9441 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9442 # Neither direct hardcoding nor static linking is supported with a
9444 hardcode_direct=unsupported
9449 if test "$host_cpu" = ia64; then
9450 # On IA64, the linker does run time linking by default, so we don't
9451 # have to do anything special.
9452 aix_use_runtimelinking=no
9453 exp_sym_flag='-Bexport'
9456 # If we're using GNU nm, then we don't want the "-C" option.
9457 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9458 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9461 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'
9463 aix_use_runtimelinking=no
9465 # Test if we are trying to use run time linking or normal
9466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467 # need to do runtime linking.
9468 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469 for ld_flag in $LDFLAGS; do
9470 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471 aix_use_runtimelinking=yes
9478 exp_sym_flag='-bexport'
9479 no_entry_flag='-bnoentry'
9482 # When large executables or shared objects are built, AIX ld can
9483 # have problems creating the table of contents. If linking a library
9484 # or program results in "error TOC overflow" add -mminimal-toc to
9485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9490 hardcode_direct_absolute=yes
9491 hardcode_libdir_separator=':'
9492 link_all_deplibs=yes
9493 file_list_spec='${wl}-f,'
9495 if test "$GCC" = yes; then
9496 case $host_os in aix4.[012]|aix4.[012].*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name=`${CC} -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9503 # We have reworked collect2
9506 # We have old collect2
9507 hardcode_direct=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L=yes
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_libdir_separator=
9517 shared_flag='-shared'
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag="$shared_flag "'${wl}-G'
9524 if test "$host_cpu" = ia64; then
9525 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9526 # chokes on -Wl,-G. The following line is correct:
9529 if test "$aix_use_runtimelinking" = yes; then
9530 shared_flag='${wl}-G'
9532 shared_flag='${wl}-bM:SRE'
9537 export_dynamic_flag_spec='${wl}-bexpall'
9538 # It seems that -bexpall does not export symbols beginning with
9539 # underscore (_), so it is better to generate a list of symbols to export.
9540 always_export_symbols=yes
9541 if test "$aix_use_runtimelinking" = yes; then
9542 # Warning - without using the other runtime loading flags (-brtl),
9543 # -berok will link without error, but may produce a broken library.
9544 allow_undefined_flag='-berok'
9545 # Determine the default libpath from the value encoded in an
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9558 if ac_fn_c_try_link "$LINENO"; then :
9560 lt_aix_libpath_sed='
9561 /Import File Strings/,/^$/ {
9567 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9568 # Check for a 64-bit object if we didn't find anything.
9569 if test -z "$aix_libpath"; then
9570 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573 rm -f core conftest.err conftest.$ac_objext \
9574 conftest$ac_exeext conftest.$ac_ext
9575 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9577 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9578 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9580 if test "$host_cpu" = ia64; then
9581 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9582 allow_undefined_flag="-z nodefs"
9583 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"
9585 # Determine the default libpath from the value encoded in an
9587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9598 if ac_fn_c_try_link "$LINENO"; then :
9600 lt_aix_libpath_sed='
9601 /Import File Strings/,/^$/ {
9607 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9608 # Check for a 64-bit object if we didn't find anything.
9609 if test -z "$aix_libpath"; then
9610 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 rm -f core conftest.err conftest.$ac_objext \
9614 conftest$ac_exeext conftest.$ac_ext
9615 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9617 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9618 # Warning - without using the other run time loading flags,
9619 # -berok will link without error, but may produce a broken library.
9620 no_undefined_flag=' ${wl}-bernotok'
9621 allow_undefined_flag=' ${wl}-berok'
9622 # Exported symbols can be pulled into shared objects from archives
9623 whole_archive_flag_spec='$convenience'
9624 archive_cmds_need_lc=yes
9625 # This is similar to how AIX traditionally builds its shared libraries.
9626 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'
9634 # see comment about AmigaOS4 .so support
9635 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9636 archive_expsym_cmds=''
9639 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)'
9640 hardcode_libdir_flag_spec='-L$libdir'
9641 hardcode_minus_L=yes
9647 export_dynamic_flag_spec=-rdynamic
9650 cygwin* | mingw* | pw32* | cegcc*)
9651 # When not using gcc, we currently assume that we are using
9652 # Microsoft Visual C++.
9653 # hardcode_libdir_flag_spec is actually meaningless, as there is
9654 # no search path for DLLs.
9655 hardcode_libdir_flag_spec=' '
9656 allow_undefined_flag=unsupported
9657 # Tell ltmain to make .lib files, not .a files.
9659 # Tell ltmain to make .dll files, not .so files.
9661 # FIXME: Setting linknames here is a bad hack.
9662 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9663 # The linker will automatically build a .lib file if we build a DLL.
9664 old_archive_from_new_cmds='true'
9665 # FIXME: Should let the user specify the lib program.
9666 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9667 fix_srcfile_path='`cygpath -w "$srcfile"`'
9668 enable_shared_with_static_runtimes=yes
9671 darwin* | rhapsody*)
9674 archive_cmds_need_lc=no
9676 hardcode_automatic=yes
9677 hardcode_shlibpath_var=unsupported
9678 whole_archive_flag_spec=''
9679 link_all_deplibs=yes
9680 allow_undefined_flag="$_lt_dar_allow_undefined"
9681 case $cc_basename in
9682 ifort*) _lt_dar_can_shared=yes ;;
9683 *) _lt_dar_can_shared=$GCC ;;
9685 if test "$_lt_dar_can_shared" = "yes"; then
9686 output_verbose_link_cmd=echo
9687 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9688 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9689 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}"
9690 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}"
9699 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9700 hardcode_libdir_flag_spec='-L$libdir'
9701 hardcode_shlibpath_var=no
9708 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9709 # support. Future versions do this automatically, but an explicit c++rt0.o
9710 # does not break anything, and helps significantly (at the cost of a little
9713 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9714 hardcode_libdir_flag_spec='-R$libdir'
9716 hardcode_shlibpath_var=no
9719 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9721 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9723 hardcode_minus_L=yes
9724 hardcode_shlibpath_var=no
9727 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9728 freebsd* | dragonfly*)
9729 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9730 hardcode_libdir_flag_spec='-R$libdir'
9732 hardcode_shlibpath_var=no
9736 if test "$GCC" = yes; then
9737 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9739 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'
9741 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9742 hardcode_libdir_separator=:
9745 # hardcode_minus_L: Not really in the search PATH,
9746 # but as the default location of the library.
9747 hardcode_minus_L=yes
9748 export_dynamic_flag_spec='${wl}-E'
9752 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9753 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9755 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9757 if test "$with_gnu_ld" = no; then
9758 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9759 hardcode_libdir_flag_spec_ld='+b $libdir'
9760 hardcode_libdir_separator=:
9762 hardcode_direct_absolute=yes
9763 export_dynamic_flag_spec='${wl}-E'
9764 # hardcode_minus_L: Not really in the search PATH,
9765 # but as the default location of the library.
9766 hardcode_minus_L=yes
9771 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9774 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9777 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9780 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9786 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9789 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9792 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9796 if test "$with_gnu_ld" = no; then
9797 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9798 hardcode_libdir_separator=:
9803 hardcode_shlibpath_var=no
9807 hardcode_direct_absolute=yes
9808 export_dynamic_flag_spec='${wl}-E'
9810 # hardcode_minus_L: Not really in the search PATH,
9811 # but as the default location of the library.
9812 hardcode_minus_L=yes
9818 irix5* | irix6* | nonstopux*)
9819 if test "$GCC" = yes; then
9820 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9821 # Try to use the -exported_symbol ld option, if it does not
9822 # work, assume that -exports_file does not work either and
9823 # implicitly export all symbols.
9824 save_LDFLAGS="$LDFLAGS"
9825 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9830 if ac_fn_c_try_link "$LINENO"; then :
9831 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9834 rm -f core conftest.err conftest.$ac_objext \
9835 conftest$ac_exeext conftest.$ac_ext
9836 LDFLAGS="$save_LDFLAGS"
9838 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9839 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9841 archive_cmds_need_lc='no'
9842 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9843 hardcode_libdir_separator=:
9845 link_all_deplibs=yes
9848 netbsd* | netbsdelf*-gnu)
9849 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9850 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9852 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9854 hardcode_libdir_flag_spec='-R$libdir'
9856 hardcode_shlibpath_var=no
9860 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9862 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9863 hardcode_libdir_separator=:
9864 hardcode_shlibpath_var=no
9871 if test -f /usr/libexec/ld.so; then
9873 hardcode_shlibpath_var=no
9874 hardcode_direct_absolute=yes
9875 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9876 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9877 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9878 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9879 export_dynamic_flag_spec='${wl}-E'
9882 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9883 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9884 hardcode_libdir_flag_spec='-R$libdir'
9887 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9888 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9898 hardcode_libdir_flag_spec='-L$libdir'
9899 hardcode_minus_L=yes
9900 allow_undefined_flag=unsupported
9901 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'
9902 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9906 if test "$GCC" = yes; then
9907 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9908 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9910 allow_undefined_flag=' -expect_unresolved \*'
9911 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9913 archive_cmds_need_lc='no'
9914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator=:
9918 osf4* | osf5*) # as osf3* with the addition of -msym flag
9919 if test "$GCC" = yes; then
9920 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9921 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9922 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9924 allow_undefined_flag=' -expect_unresolved \*'
9925 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9926 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~
9927 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9929 # Both c and cxx compiler support -rpath directly
9930 hardcode_libdir_flag_spec='-rpath $libdir'
9932 archive_cmds_need_lc='no'
9933 hardcode_libdir_separator=:
9937 no_undefined_flag=' -z defs'
9938 if test "$GCC" = yes; then
9940 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9941 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9942 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9944 case `$CC -V 2>&1` in
9947 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9948 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9949 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9953 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9954 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9955 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9959 hardcode_libdir_flag_spec='-R$libdir'
9960 hardcode_shlibpath_var=no
9962 solaris2.[0-5] | solaris2.[0-5].*) ;;
9964 # The compiler driver will combine and reorder linker options,
9965 # but understands `-z linker_flag'. GCC discards it without `$wl',
9966 # but is careful enough not to reorder.
9967 # Supported since Solaris 2.6 (maybe 2.5.1?)
9968 if test "$GCC" = yes; then
9969 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9971 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9975 link_all_deplibs=yes
9979 if test "x$host_vendor" = xsequent; then
9980 # Use $CC to link under sequent, because it throws in some extra .o
9981 # files that make .init and .fini sections work.
9982 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9984 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9986 hardcode_libdir_flag_spec='-L$libdir'
9988 hardcode_minus_L=yes
9989 hardcode_shlibpath_var=no
9993 case $host_vendor in
9995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 hardcode_direct=yes # is this really true???
9999 ## LD is ld it makes a PLAMLIB
10000 ## CC just makes a GrossModule.
10001 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10002 reload_cmds='$CC -r -o $output$reload_objs'
10006 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10010 runpath_var='LD_RUN_PATH'
10011 hardcode_shlibpath_var=no
10015 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10016 hardcode_shlibpath_var=no
10017 export_dynamic_flag_spec='-Bexport'
10021 if test -d /usr/nec; then
10022 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_shlibpath_var=no
10024 runpath_var=LD_RUN_PATH
10025 hardcode_runpath_var=yes
10030 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10031 no_undefined_flag='${wl}-z,text'
10032 archive_cmds_need_lc=no
10033 hardcode_shlibpath_var=no
10034 runpath_var='LD_RUN_PATH'
10036 if test "$GCC" = yes; then
10037 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10038 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10040 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10045 sysv5* | sco3.2v5* | sco5v6*)
10046 # Note: We can NOT use -z defs as we might desire, because we do not
10047 # link with -lc, and that would cause any symbols used from libc to
10048 # always be unresolved, which means just about no library would
10049 # ever link correctly. If we're not using GNU ld we use -z text
10050 # though, which does catch some bad symbols but isn't as heavy-handed
10052 no_undefined_flag='${wl}-z,text'
10053 allow_undefined_flag='${wl}-z,nodefs'
10054 archive_cmds_need_lc=no
10055 hardcode_shlibpath_var=no
10056 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10057 hardcode_libdir_separator=':'
10058 link_all_deplibs=yes
10059 export_dynamic_flag_spec='${wl}-Bexport'
10060 runpath_var='LD_RUN_PATH'
10062 if test "$GCC" = yes; then
10063 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10064 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10073 hardcode_libdir_flag_spec='-L$libdir'
10074 hardcode_shlibpath_var=no
10082 if test x$host_vendor = xsni; then
10084 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10085 export_dynamic_flag_spec='${wl}-Blargedynsym'
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10092 $as_echo "$ld_shlibs" >&6; }
10093 test "$ld_shlibs" = no && can_build_shared=no
10095 with_gnu_ld=$with_gnu_ld
10112 # Do we need to explicitly link libc?
10114 case "x$archive_cmds_need_lc" in
10116 # Assume -lc should be added
10117 archive_cmds_need_lc=yes
10119 if test "$enable_shared" = yes && test "$GCC" = yes; then
10120 case $archive_cmds in
10122 # FIXME: we may have to deal with multi-command sequences.
10125 # Test whether the compiler implicitly links with -lc since on some
10126 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10127 # to ld, don't add -lc before -lgcc.
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10129 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10131 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10133 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10134 (eval $ac_compile) 2>&5
10136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10137 test $ac_status = 0; } 2>conftest.err; then
10140 libobjs=conftest.$ac_objext
10142 wl=$lt_prog_compiler_wl
10143 pic_flag=$lt_prog_compiler_pic
10149 lt_save_allow_undefined_flag=$allow_undefined_flag
10150 allow_undefined_flag=
10151 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10152 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10155 test $ac_status = 0; }
10157 archive_cmds_need_lc=no
10159 archive_cmds_need_lc=yes
10161 allow_undefined_flag=$lt_save_allow_undefined_flag
10163 cat conftest.err 1>&5
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10167 $as_echo "$archive_cmds_need_lc" >&6; }
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10331 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10333 if test "$GCC" = yes; then
10335 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10336 *) lt_awk_arg="/^libraries:/" ;;
10338 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10339 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10340 # if the path contains ";" then we assume it to be the separator
10341 # otherwise default to the standard path separator (i.e. ":") - it is
10342 # assumed that no part of a normal pathname contains ";" but that should
10343 # okay in the real world where ";" in dirpaths is itself problematic.
10344 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10346 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10348 # Ok, now we have the path, separated by spaces, we can step through it
10349 # and add multilib dir if necessary.
10350 lt_tmp_lt_search_path_spec=
10351 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10352 for lt_sys_path in $lt_search_path_spec; do
10353 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10354 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10356 test -d "$lt_sys_path" && \
10357 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10360 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10361 BEGIN {RS=" "; FS="/|\n";} {
10364 for (lt_i = NF; lt_i > 0; lt_i--) {
10365 if ($lt_i != "" && $lt_i != ".") {
10366 if ($lt_i == "..") {
10369 if (lt_count == 0) {
10370 lt_foo="/" $lt_i lt_foo;
10377 if (lt_foo != "") { lt_freq[lt_foo]++; }
10378 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10380 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10382 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10384 library_names_spec=
10385 libname_spec='lib$name'
10389 postuninstall_cmds=
10393 shlibpath_overrides_runpath=unknown
10395 dynamic_linker="$host_os ld.so"
10396 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10397 need_lib_prefix=unknown
10398 hardcode_into_libs=no
10400 # when you set need_version to no, make sure it does not cause -set_version
10401 # flags to be left without arguments
10402 need_version=unknown
10407 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10408 shlibpath_var=LIBPATH
10410 # AIX 3 has no versioning support, so we append a major version to the name.
10411 soname_spec='${libname}${release}${shared_ext}$major'
10418 hardcode_into_libs=yes
10419 if test "$host_cpu" = ia64; then
10420 # AIX 5 supports IA64
10421 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10422 shlibpath_var=LD_LIBRARY_PATH
10424 # With GCC up to 2.95.x, collect2 would create an import file
10425 # for dependence libraries. The import file would start with
10426 # the line `#! .'. This would cause the generated library to
10427 # depend on `.', always an invalid library. This was fixed in
10428 # development snapshots of GCC prior to 3.0.
10430 aix4 | aix4.[01] | aix4.[01].*)
10431 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10433 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10436 can_build_shared=no
10440 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10441 # soname into executable. Probably we can add versioning support to
10442 # collect2, so additional links can be useful in future.
10443 if test "$aix_use_runtimelinking" = yes; then
10444 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10445 # instead of lib<name>.a to let people know that these are not
10446 # typical AIX shared libraries.
10447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10449 # We preserve .a as extension for shared libraries through AIX4.2
10450 # and later when we are not doing run time linking.
10451 library_names_spec='${libname}${release}.a $libname.a'
10452 soname_spec='${libname}${release}${shared_ext}$major'
10454 shlibpath_var=LIBPATH
10461 # Since July 2007 AmigaOS4 officially supports .so libraries.
10462 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10466 library_names_spec='$libname.ixlibrary $libname.a'
10467 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10468 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10474 library_names_spec='${libname}${shared_ext}'
10475 dynamic_linker="$host_os ld.so"
10476 shlibpath_var=LIBRARY_PATH
10482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10483 soname_spec='${libname}${release}${shared_ext}$major'
10484 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10485 shlibpath_var=LD_LIBRARY_PATH
10486 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10487 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10488 # the default ld.so.conf also contains /usr/contrib/lib and
10489 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10490 # libtool to hard-code these into programs
10493 cygwin* | mingw* | pw32* | cegcc*)
10494 version_type=windows
10499 case $GCC,$host_os in
10500 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10501 library_names_spec='$libname.dll.a'
10502 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10503 postinstall_cmds='base_file=`basename \${file}`~
10504 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10505 dldir=$destdir/`dirname \$dlpath`~
10506 test -d \$dldir || mkdir -p \$dldir~
10507 $install_prog $dir/$dlname \$dldir/$dlname~
10508 chmod a+x \$dldir/$dlname~
10509 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10510 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10512 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10513 dlpath=$dir/\$dldll~
10515 shlibpath_overrides_runpath=yes
10519 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10520 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10521 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10524 # MinGW DLLs use traditional 'lib' prefix
10525 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10526 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10527 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10528 # It is most probably a Windows format PATH printed by
10529 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10530 # path with ; separators, and with drive letters. We can handle the
10531 # drive letters (cygwin fileutils understands them), so leave them,
10532 # especially as we might pass files found there to a mingw objdump,
10533 # which wouldn't understand a cygwinified path. Ahh.
10534 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10536 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10540 # pw32 DLLs use 'pw' prefix rather than 'lib'
10541 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10547 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10550 dynamic_linker='Win32 ld.exe'
10551 # FIXME: first we should search . and the directory the executable is in
10555 darwin* | rhapsody*)
10556 dynamic_linker="$host_os dyld"
10557 version_type=darwin
10560 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10561 soname_spec='${libname}${release}${major}$shared_ext'
10562 shlibpath_overrides_runpath=yes
10563 shlibpath_var=DYLD_LIBRARY_PATH
10564 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10566 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10567 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10575 soname_spec='${libname}${release}${shared_ext}$major'
10576 shlibpath_var=LD_LIBRARY_PATH
10583 freebsd* | dragonfly*)
10584 # DragonFly does not have aout. When/if they implement a new
10585 # versioning mechanism, adjust this.
10586 if test -x /usr/bin/objformat; then
10587 objformat=`/usr/bin/objformat`
10590 freebsd[123]*) objformat=aout ;;
10591 *) objformat=elf ;;
10594 version_type=freebsd-$objformat
10595 case $version_type in
10597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10602 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10606 shlibpath_var=LD_LIBRARY_PATH
10609 shlibpath_overrides_runpath=yes
10611 freebsd3.[01]* | freebsdelf3.[01]*)
10612 shlibpath_overrides_runpath=yes
10613 hardcode_into_libs=yes
10615 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10616 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10617 shlibpath_overrides_runpath=no
10618 hardcode_into_libs=yes
10620 *) # from 4.6 on, and DragonFly
10621 shlibpath_overrides_runpath=yes
10622 hardcode_into_libs=yes
10631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10632 soname_spec='${libname}${release}${shared_ext}$major'
10633 shlibpath_var=LD_LIBRARY_PATH
10634 hardcode_into_libs=yes
10637 hpux9* | hpux10* | hpux11*)
10638 # Give a soname corresponding to the major version so that dld.sl refuses to
10639 # link against other versions.
10646 hardcode_into_libs=yes
10647 dynamic_linker="$host_os dld.so"
10648 shlibpath_var=LD_LIBRARY_PATH
10649 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10651 soname_spec='${libname}${release}${shared_ext}$major'
10652 if test "X$HPUX_IA64_MODE" = X32; then
10653 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10655 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10657 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10661 hardcode_into_libs=yes
10662 dynamic_linker="$host_os dld.sl"
10663 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10664 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10666 soname_spec='${libname}${release}${shared_ext}$major'
10667 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10668 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10672 dynamic_linker="$host_os dld.sl"
10673 shlibpath_var=SHLIB_PATH
10674 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 soname_spec='${libname}${release}${shared_ext}$major'
10679 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10680 postinstall_cmds='chmod 555 $lib'
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10690 shlibpath_var=LD_LIBRARY_PATH
10691 shlibpath_overrides_runpath=no
10692 hardcode_into_libs=yes
10695 irix5* | irix6* | nonstopux*)
10697 nonstopux*) version_type=nonstopux ;;
10699 if test "$lt_cv_prog_gnu_ld" = yes; then
10707 soname_spec='${libname}${release}${shared_ext}$major'
10708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10710 irix5* | nonstopux*)
10711 libsuff= shlibsuff=
10714 case $LD in # libtool.m4 will add one of these switches to LD
10715 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10716 libsuff= shlibsuff= libmagic=32-bit;;
10717 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10718 libsuff=32 shlibsuff=N32 libmagic=N32;;
10719 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10720 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10721 *) libsuff= shlibsuff= libmagic=never-match;;
10725 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10726 shlibpath_overrides_runpath=no
10727 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10728 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10729 hardcode_into_libs=yes
10732 # No shared lib support for Linux oldld, aout, or coff.
10733 linux*oldld* | linux*aout* | linux*coff*)
10737 # This must be Linux ELF.
10738 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743 soname_spec='${libname}${release}${shared_ext}$major'
10744 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10745 shlibpath_var=LD_LIBRARY_PATH
10746 shlibpath_overrides_runpath=no
10747 # Some binutils ld are patched to set DT_RUNPATH
10748 save_LDFLAGS=$LDFLAGS
10749 save_libdir=$libdir
10750 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10751 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10763 if ac_fn_c_try_link "$LINENO"; then :
10764 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10765 shlibpath_overrides_runpath=yes
10768 rm -f core conftest.err conftest.$ac_objext \
10769 conftest$ac_exeext conftest.$ac_ext
10770 LDFLAGS=$save_LDFLAGS
10771 libdir=$save_libdir
10773 # This implies no fast_install, which is unacceptable.
10774 # Some rework will be needed to allow for fast_install
10775 # before this can be enabled.
10776 hardcode_into_libs=yes
10778 # Append ld.so.conf contents to the search path
10779 if test -f /etc/ld.so.conf; then
10780 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;/^$/d' | tr '\n' ' '`
10781 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10784 # We used to test for /lib/ld.so.1 and disable shared libraries on
10785 # powerpc, because MkLinux only supported shared libraries with the
10786 # GNU dynamic linker. Since this was broken with cross compilers,
10787 # most powerpc-linux boxes support dynamic linking these days and
10788 # people can always --disable-shared, the test was removed, and we
10789 # assume the GNU/Linux dynamic linker is in use.
10790 dynamic_linker='GNU/Linux ld.so'
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10798 soname_spec='${libname}${release}${shared_ext}$major'
10799 shlibpath_var=LD_LIBRARY_PATH
10800 shlibpath_overrides_runpath=no
10801 hardcode_into_libs=yes
10802 dynamic_linker='NetBSD ld.elf_so'
10809 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10811 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10812 dynamic_linker='NetBSD (a.out) ld.so'
10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10815 soname_spec='${libname}${release}${shared_ext}$major'
10816 dynamic_linker='NetBSD ld.elf_so'
10818 shlibpath_var=LD_LIBRARY_PATH
10819 shlibpath_overrides_runpath=yes
10820 hardcode_into_libs=yes
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 shlibpath_var=LD_LIBRARY_PATH
10827 shlibpath_overrides_runpath=yes
10834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 soname_spec='${libname}${release}${shared_ext}$major'
10836 shlibpath_var=LD_LIBRARY_PATH
10837 shlibpath_overrides_runpath=no
10838 hardcode_into_libs=yes
10839 dynamic_linker='ldqnx.so'
10844 sys_lib_dlsearch_path_spec="/usr/lib"
10846 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10848 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10849 *) need_version=no ;;
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10852 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10853 shlibpath_var=LD_LIBRARY_PATH
10854 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10856 openbsd2.[89] | openbsd2.[89].*)
10857 shlibpath_overrides_runpath=no
10860 shlibpath_overrides_runpath=yes
10864 shlibpath_overrides_runpath=yes
10869 libname_spec='$name'
10872 library_names_spec='$libname${shared_ext} $libname.a'
10873 dynamic_linker='OS/2 ld.exe'
10874 shlibpath_var=LIBPATH
10877 osf3* | osf4* | osf5*)
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10883 shlibpath_var=LD_LIBRARY_PATH
10884 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10885 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 shlibpath_var=LD_LIBRARY_PATH
10899 shlibpath_overrides_runpath=yes
10900 hardcode_into_libs=yes
10901 # ldd complains unless libraries are executable
10902 postinstall_cmds='chmod +x $lib'
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10908 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10909 shlibpath_var=LD_LIBRARY_PATH
10910 shlibpath_overrides_runpath=yes
10911 if test "$with_gnu_ld" = yes; then
10919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10920 soname_spec='${libname}${release}${shared_ext}$major'
10921 shlibpath_var=LD_LIBRARY_PATH
10922 case $host_vendor in
10924 shlibpath_overrides_runpath=no
10926 runpath_var=LD_RUN_PATH
10934 shlibpath_overrides_runpath=no
10935 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10941 if test -d /usr/nec ;then
10943 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10944 soname_spec='$libname${shared_ext}.$major'
10945 shlibpath_var=LD_LIBRARY_PATH
10949 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10950 version_type=freebsd-elf
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10954 soname_spec='${libname}${release}${shared_ext}$major'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath=yes
10957 hardcode_into_libs=yes
10958 if test "$with_gnu_ld" = yes; then
10959 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10961 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10964 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10968 sys_lib_dlsearch_path_spec='/usr/lib'
10972 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977 shlibpath_var=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath=no
10979 hardcode_into_libs=yes
10984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10985 soname_spec='${libname}${release}${shared_ext}$major'
10986 shlibpath_var=LD_LIBRARY_PATH
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10994 $as_echo "$dynamic_linker" >&6; }
10995 test "$dynamic_linker" = no && can_build_shared=no
10997 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10998 if test "$GCC" = yes; then
10999 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11002 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11003 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11005 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11006 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11096 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11098 if test -n "$hardcode_libdir_flag_spec" ||
11099 test -n "$runpath_var" ||
11100 test "X$hardcode_automatic" = "Xyes" ; then
11102 # We can hardcode non-existent directories.
11103 if test "$hardcode_direct" != no &&
11104 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11105 # have to relink, otherwise we might link with an installed library
11106 # when we should be linking with a yet-to-be-installed one
11107 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11108 test "$hardcode_minus_L" != no; then
11109 # Linking always hardcodes the temporary library directory.
11110 hardcode_action=relink
11112 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11113 hardcode_action=immediate
11116 # We cannot hardcode anything, or else we can only hardcode existing
11118 hardcode_action=unsupported
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11121 $as_echo "$hardcode_action" >&6; }
11123 if test "$hardcode_action" = relink ||
11124 test "$inherit_rpath" = yes; then
11125 # Fast installation is not supported
11126 enable_fast_install=no
11127 elif test "$shlibpath_overrides_runpath" = yes ||
11128 test "$enable_shared" = no; then
11129 # Fast installation is not necessary
11130 enable_fast_install=needless
11138 if test "x$enable_dlopen" != xyes; then
11139 enable_dlopen=unknown
11140 enable_dlopen_self=unknown
11141 enable_dlopen_self_static=unknown
11148 lt_cv_dlopen="load_add_on"
11150 lt_cv_dlopen_self=yes
11153 mingw* | pw32* | cegcc*)
11154 lt_cv_dlopen="LoadLibrary"
11159 lt_cv_dlopen="dlopen"
11164 # if libdl is installed we need to link against it
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11166 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11167 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11168 $as_echo_n "(cached) " >&6
11170 ac_check_lib_save_LIBS=$LIBS
11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11190 if ac_fn_c_try_link "$LINENO"; then :
11191 ac_cv_lib_dl_dlopen=yes
11193 ac_cv_lib_dl_dlopen=no
11195 rm -f core conftest.err conftest.$ac_objext \
11196 conftest$ac_exeext conftest.$ac_ext
11197 LIBS=$ac_check_lib_save_LIBS
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11200 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11201 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11202 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11205 lt_cv_dlopen="dyld"
11207 lt_cv_dlopen_self=yes
11214 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11215 if test "x$ac_cv_func_shl_load" = x""yes; then :
11216 lt_cv_dlopen="shl_load"
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11219 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11220 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11221 $as_echo_n "(cached) " >&6
11223 ac_check_lib_save_LIBS=$LIBS
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11238 return shl_load ();
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 ac_cv_lib_dld_shl_load=yes
11246 ac_cv_lib_dld_shl_load=no
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11253 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11254 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11255 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11257 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11258 if test "x$ac_cv_func_dlopen" = x""yes; then :
11259 lt_cv_dlopen="dlopen"
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11262 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11263 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11264 $as_echo_n "(cached) " >&6
11266 ac_check_lib_save_LIBS=$LIBS
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11271 /* Override any GCC internal prototype to avoid an error.
11272 Use char because int might match the return type of a GCC
11273 builtin and then its argument prototype would still apply. */
11286 if ac_fn_c_try_link "$LINENO"; then :
11287 ac_cv_lib_dl_dlopen=yes
11289 ac_cv_lib_dl_dlopen=no
11291 rm -f core conftest.err conftest.$ac_objext \
11292 conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_lib_save_LIBS
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11296 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11297 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11298 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11301 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11302 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11303 $as_echo_n "(cached) " >&6
11305 ac_check_lib_save_LIBS=$LIBS
11306 LIBS="-lsvld $LIBS"
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_svld_dlopen=yes
11328 ac_cv_lib_svld_dlopen=no
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11335 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11336 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11337 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11340 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11341 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11342 $as_echo_n "(cached) " >&6
11344 ac_check_lib_save_LIBS=$LIBS
11346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11349 /* Override any GCC internal prototype to avoid an error.
11350 Use char because int might match the return type of a GCC
11351 builtin and then its argument prototype would still apply. */
11359 return dld_link ();
11364 if ac_fn_c_try_link "$LINENO"; then :
11365 ac_cv_lib_dld_dld_link=yes
11367 ac_cv_lib_dld_dld_link=no
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_lib_save_LIBS
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11374 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11375 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11376 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11397 if test "x$lt_cv_dlopen" != xno; then
11403 case $lt_cv_dlopen in
11405 save_CPPFLAGS="$CPPFLAGS"
11406 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11408 save_LDFLAGS="$LDFLAGS"
11409 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11412 LIBS="$lt_cv_dlopen_libs $LIBS"
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11415 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11416 if test "${lt_cv_dlopen_self+set}" = set; then :
11417 $as_echo_n "(cached) " >&6
11419 if test "$cross_compiling" = yes; then :
11420 lt_cv_dlopen_self=cross
11422 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11423 lt_status=$lt_dlunknown
11424 cat > conftest.$ac_ext <<_LT_EOF
11425 #line 11425 "configure"
11426 #include "confdefs.h"
11435 # define LT_DLGLOBAL RTLD_GLOBAL
11438 # define LT_DLGLOBAL DL_GLOBAL
11440 # define LT_DLGLOBAL 0
11444 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11445 find out it does not work in some platform. */
11446 #ifndef LT_DLLAZY_OR_NOW
11448 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11451 # define LT_DLLAZY_OR_NOW DL_LAZY
11454 # define LT_DLLAZY_OR_NOW RTLD_NOW
11457 # define LT_DLLAZY_OR_NOW DL_NOW
11459 # define LT_DLLAZY_OR_NOW 0
11466 void fnord() { int i=42;}
11469 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11470 int status = $lt_dlunknown;
11474 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11475 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11476 /* dlclose (self); */
11484 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11485 (eval $ac_link) 2>&5
11487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11488 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11489 (./conftest; exit; ) >&5 2>/dev/null
11491 case x$lt_status in
11492 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11493 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11494 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11497 # compilation failed
11498 lt_cv_dlopen_self=no
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11506 $as_echo "$lt_cv_dlopen_self" >&6; }
11508 if test "x$lt_cv_dlopen_self" = xyes; then
11509 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11511 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11512 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11513 $as_echo_n "(cached) " >&6
11515 if test "$cross_compiling" = yes; then :
11516 lt_cv_dlopen_self_static=cross
11518 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11519 lt_status=$lt_dlunknown
11520 cat > conftest.$ac_ext <<_LT_EOF
11521 #line 11521 "configure"
11522 #include "confdefs.h"
11531 # define LT_DLGLOBAL RTLD_GLOBAL
11534 # define LT_DLGLOBAL DL_GLOBAL
11536 # define LT_DLGLOBAL 0
11540 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11541 find out it does not work in some platform. */
11542 #ifndef LT_DLLAZY_OR_NOW
11544 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11547 # define LT_DLLAZY_OR_NOW DL_LAZY
11550 # define LT_DLLAZY_OR_NOW RTLD_NOW
11553 # define LT_DLLAZY_OR_NOW DL_NOW
11555 # define LT_DLLAZY_OR_NOW 0
11562 void fnord() { int i=42;}
11565 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11566 int status = $lt_dlunknown;
11570 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11571 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11572 /* dlclose (self); */
11580 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11581 (eval $ac_link) 2>&5
11583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11584 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11585 (./conftest; exit; ) >&5 2>/dev/null
11587 case x$lt_status in
11588 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11589 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11590 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11593 # compilation failed
11594 lt_cv_dlopen_self_static=no
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11602 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11605 CPPFLAGS="$save_CPPFLAGS"
11606 LDFLAGS="$save_LDFLAGS"
11611 case $lt_cv_dlopen_self in
11612 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11613 *) enable_dlopen_self=unknown ;;
11616 case $lt_cv_dlopen_self_static in
11617 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11618 *) enable_dlopen_self_static=unknown ;;
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11641 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11642 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11643 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11644 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11646 $as_echo "yes" >&6; }
11648 # FIXME - insert some real tests, host_os isn't really good enough
11651 if test -n "$STRIP" ; then
11652 striplib="$STRIP -x"
11653 old_striplib="$STRIP -S"
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11655 $as_echo "yes" >&6; }
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11658 $as_echo "no" >&6; }
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11663 $as_echo "no" >&6; }
11679 # Report which library types will actually be built
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11681 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11683 $as_echo "$can_build_shared" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11686 $as_echo_n "checking whether to build shared libraries... " >&6; }
11687 test "$can_build_shared" = "no" && enable_shared=no
11689 # On AIX, shared libraries and static libraries use the same namespace, and
11690 # are all built from PIC.
11693 test "$enable_shared" = yes && enable_static=no
11694 if test -n "$RANLIB"; then
11695 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11696 postinstall_cmds='$RANLIB $lib'
11701 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11702 test "$enable_shared" = yes && enable_static=no
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11707 $as_echo "$enable_shared" >&6; }
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11710 $as_echo_n "checking whether to build static libraries... " >&6; }
11711 # Make sure either enable_shared or enable_static is yes.
11712 test "$enable_shared" = yes || enable_static=yes
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11714 $as_echo "$enable_static" >&6; }
11721 ac_cpp='$CPP $CPPFLAGS'
11722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11740 ac_config_commands="$ac_config_commands libtool"
11745 # Only expand once:
11749 # Api documentation
11752 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11753 if test -n "$ac_tool_prefix"; then
11754 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11755 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11757 $as_echo_n "checking for $ac_word... " >&6; }
11758 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11759 $as_echo_n "(cached) " >&6
11761 case $PKG_CONFIG in
11763 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11767 for as_dir in $PATH
11770 test -z "$as_dir" && as_dir=.
11771 for ac_exec_ext in '' $ac_executable_extensions; do
11772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11773 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11784 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11785 if test -n "$PKG_CONFIG"; then
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11787 $as_echo "$PKG_CONFIG" >&6; }
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11790 $as_echo "no" >&6; }
11795 if test -z "$ac_cv_path_PKG_CONFIG"; then
11796 ac_pt_PKG_CONFIG=$PKG_CONFIG
11797 # Extract the first word of "pkg-config", so it can be a program name with args.
11798 set dummy pkg-config; ac_word=$2
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11800 $as_echo_n "checking for $ac_word... " >&6; }
11801 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11802 $as_echo_n "(cached) " >&6
11804 case $ac_pt_PKG_CONFIG in
11806 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11810 for as_dir in $PATH
11813 test -z "$as_dir" && as_dir=.
11814 for ac_exec_ext in '' $ac_executable_extensions; do
11815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11816 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11827 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11828 if test -n "$ac_pt_PKG_CONFIG"; then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11830 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11833 $as_echo "no" >&6; }
11836 if test "x$ac_pt_PKG_CONFIG" = x; then
11839 case $cross_compiling:$ac_tool_warned in
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11843 ac_tool_warned=yes ;;
11845 PKG_CONFIG=$ac_pt_PKG_CONFIG
11848 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11852 if test -n "$PKG_CONFIG"; then
11853 _pkg_min_version=0.9.0
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11855 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11856 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11858 $as_echo "yes" >&6; }
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11861 $as_echo "no" >&6; }
11868 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11869 set dummy gtkdoc-check; ac_word=$2
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11871 $as_echo_n "checking for $ac_word... " >&6; }
11872 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
11873 $as_echo_n "(cached) " >&6
11875 case $GTKDOC_CHECK in
11877 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
11880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11881 for as_dir in $PATH
11884 test -z "$as_dir" && as_dir=.
11885 for ac_exec_ext in '' $ac_executable_extensions; do
11886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11887 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
11888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11898 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
11899 if test -n "$GTKDOC_CHECK"; then
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11901 $as_echo "$GTKDOC_CHECK" >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11904 $as_echo "no" >&6; }
11908 for ac_prog in gtkdoc-rebase
11910 # Extract the first word of "$ac_prog", so it can be a program name with args.
11911 set dummy $ac_prog; ac_word=$2
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11913 $as_echo_n "checking for $ac_word... " >&6; }
11914 if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
11915 $as_echo_n "(cached) " >&6
11917 case $GTKDOC_REBASE in
11919 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
11922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11923 for as_dir in $PATH
11926 test -z "$as_dir" && as_dir=.
11927 for ac_exec_ext in '' $ac_executable_extensions; do
11928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11929 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
11930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11940 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
11941 if test -n "$GTKDOC_REBASE"; then
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
11943 $as_echo "$GTKDOC_REBASE" >&6; }
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11946 $as_echo "no" >&6; }
11950 test -n "$GTKDOC_REBASE" && break
11952 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
11954 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
11955 set dummy gtkdoc-mkpdf; ac_word=$2
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11957 $as_echo_n "checking for $ac_word... " >&6; }
11958 if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
11959 $as_echo_n "(cached) " >&6
11961 case $GTKDOC_MKPDF in
11963 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
11966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11967 for as_dir in $PATH
11970 test -z "$as_dir" && as_dir=.
11971 for ac_exec_ext in '' $ac_executable_extensions; do
11972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11973 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
11974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11984 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
11985 if test -n "$GTKDOC_MKPDF"; then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
11987 $as_echo "$GTKDOC_MKPDF" >&6; }
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11990 $as_echo "no" >&6; }
11996 # Check whether --with-html-dir was given.
11997 if test "${with_html_dir+set}" = set; then :
11998 withval=$with_html_dir;
12000 with_html_dir='${datadir}/gtk-doc/html'
12003 HTML_DIR="$with_html_dir"
12006 # Check whether --enable-gtk-doc was given.
12007 if test "${enable_gtk_doc+set}" = set; then :
12008 enableval=$enable_gtk_doc;
12014 if test x$enable_gtk_doc = xyes; then
12015 if test -n "$PKG_CONFIG" && \
12016 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
12017 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
12019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12020 test $ac_status = 0; }; then
12023 as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12028 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12030 $as_echo "$enable_gtk_doc" >&6; }
12032 # Check whether --enable-gtk-doc-html was given.
12033 if test "${enable_gtk_doc_html+set}" = set; then :
12034 enableval=$enable_gtk_doc_html;
12036 enable_gtk_doc_html=yes
12039 # Check whether --enable-gtk-doc-pdf was given.
12040 if test "${enable_gtk_doc_pdf+set}" = set; then :
12041 enableval=$enable_gtk_doc_pdf;
12043 enable_gtk_doc_pdf=no
12047 if test -z "$GTKDOC_MKPDF"; then
12048 enable_gtk_doc_pdf=no
12052 if test x$enable_gtk_doc = xyes; then
12053 ENABLE_GTK_DOC_TRUE=
12054 ENABLE_GTK_DOC_FALSE='#'
12056 ENABLE_GTK_DOC_TRUE='#'
12057 ENABLE_GTK_DOC_FALSE=
12060 if test x$enable_gtk_doc_html = xyes; then
12061 GTK_DOC_BUILD_HTML_TRUE=
12062 GTK_DOC_BUILD_HTML_FALSE='#'
12064 GTK_DOC_BUILD_HTML_TRUE='#'
12065 GTK_DOC_BUILD_HTML_FALSE=
12068 if test x$enable_gtk_doc_pdf = xyes; then
12069 GTK_DOC_BUILD_PDF_TRUE=
12070 GTK_DOC_BUILD_PDF_FALSE='#'
12072 GTK_DOC_BUILD_PDF_TRUE='#'
12073 GTK_DOC_BUILD_PDF_FALSE=
12076 if test -n "$LIBTOOL"; then
12077 GTK_DOC_USE_LIBTOOL_TRUE=
12078 GTK_DOC_USE_LIBTOOL_FALSE='#'
12080 GTK_DOC_USE_LIBTOOL_TRUE='#'
12081 GTK_DOC_USE_LIBTOOL_FALSE=
12084 if test -n "$GTKDOC_REBASE"; then
12085 GTK_DOC_USE_REBASE_TRUE=
12086 GTK_DOC_USE_REBASE_FALSE='#'
12088 GTK_DOC_USE_REBASE_TRUE='#'
12089 GTK_DOC_USE_REBASE_FALSE=
12094 # Check whether --enable-largefile was given.
12095 if test "${enable_largefile+set}" = set; then :
12096 enableval=$enable_largefile;
12099 if test "$enable_largefile" != no; then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12102 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12103 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
12104 $as_echo_n "(cached) " >&6
12106 ac_cv_sys_largefile_CC=no
12107 if test "$GCC" != yes; then
12110 # IRIX 6.2 and later do not support large files by default,
12111 # so use the C compiler's -n32 option if that helps.
12112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12113 /* end confdefs.h. */
12114 #include <sys/types.h>
12115 /* Check that off_t can represent 2**63 - 1 correctly.
12116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12117 since some C++ compilers masquerading as C compilers
12118 incorrectly reject 9223372036854775807. */
12119 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12121 && LARGE_OFF_T % 2147483647 == 1)
12131 if ac_fn_c_try_compile "$LINENO"; then :
12134 rm -f core conftest.err conftest.$ac_objext
12136 if ac_fn_c_try_compile "$LINENO"; then :
12137 ac_cv_sys_largefile_CC=' -n32'; break
12139 rm -f core conftest.err conftest.$ac_objext
12143 rm -f conftest.$ac_ext
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12147 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12148 if test "$ac_cv_sys_largefile_CC" != no; then
12149 CC=$CC$ac_cv_sys_largefile_CC
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12153 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12154 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
12155 $as_echo_n "(cached) " >&6
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12160 #include <sys/types.h>
12161 /* Check that off_t can represent 2**63 - 1 correctly.
12162 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12163 since some C++ compilers masquerading as C compilers
12164 incorrectly reject 9223372036854775807. */
12165 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12166 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12167 && LARGE_OFF_T % 2147483647 == 1)
12177 if ac_fn_c_try_compile "$LINENO"; then :
12178 ac_cv_sys_file_offset_bits=no; break
12180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12183 #define _FILE_OFFSET_BITS 64
12184 #include <sys/types.h>
12185 /* Check that off_t can represent 2**63 - 1 correctly.
12186 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12187 since some C++ compilers masquerading as C compilers
12188 incorrectly reject 9223372036854775807. */
12189 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12190 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12191 && LARGE_OFF_T % 2147483647 == 1)
12201 if ac_fn_c_try_compile "$LINENO"; then :
12202 ac_cv_sys_file_offset_bits=64; break
12204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12205 ac_cv_sys_file_offset_bits=unknown
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12210 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12211 case $ac_cv_sys_file_offset_bits in #(
12214 cat >>confdefs.h <<_ACEOF
12215 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12220 if test $ac_cv_sys_file_offset_bits = unknown; then
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12222 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12223 if test "${ac_cv_sys_large_files+set}" = set; then :
12224 $as_echo_n "(cached) " >&6
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12229 #include <sys/types.h>
12230 /* Check that off_t can represent 2**63 - 1 correctly.
12231 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12232 since some C++ compilers masquerading as C compilers
12233 incorrectly reject 9223372036854775807. */
12234 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12235 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12236 && LARGE_OFF_T % 2147483647 == 1)
12246 if ac_fn_c_try_compile "$LINENO"; then :
12247 ac_cv_sys_large_files=no; break
12249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12251 /* end confdefs.h. */
12252 #define _LARGE_FILES 1
12253 #include <sys/types.h>
12254 /* Check that off_t can represent 2**63 - 1 correctly.
12255 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12256 since some C++ compilers masquerading as C compilers
12257 incorrectly reject 9223372036854775807. */
12258 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12259 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12260 && LARGE_OFF_T % 2147483647 == 1)
12270 if ac_fn_c_try_compile "$LINENO"; then :
12271 ac_cv_sys_large_files=1; break
12273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12274 ac_cv_sys_large_files=unknown
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12279 $as_echo "$ac_cv_sys_large_files" >&6; }
12280 case $ac_cv_sys_large_files in #(
12283 cat >>confdefs.h <<_ACEOF
12284 #define _LARGE_FILES $ac_cv_sys_large_files
12305 CAIRO_VERSION_MAJOR=1
12306 CAIRO_VERSION_MINOR=12
12307 CAIRO_VERSION_MICRO=3
12308 CAIRO_VERSION_SONUM=2
12309 CAIRO_RELEASE_STATUS=git
12310 CAIRO_LIBTOOL_VERSION_INFO=11202:3:11200
12318 # Extract the first word of "find", so it can be a program name with args.
12319 set dummy find; ac_word=$2
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12321 $as_echo_n "checking for $ac_word... " >&6; }
12322 if test "${ac_cv_path_FIND+set}" = set; then :
12323 $as_echo_n "(cached) " >&6
12327 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
12330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12331 for as_dir in $PATH
12334 test -z "$as_dir" && as_dir=.
12335 for ac_exec_ext in '' $ac_executable_extensions; do
12336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12337 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
12338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12348 FIND=$ac_cv_path_FIND
12349 if test -n "$FIND"; then
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
12351 $as_echo "$FIND" >&6; }
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12354 $as_echo "no" >&6; }
12358 # Extract the first word of "xargs", so it can be a program name with args.
12359 set dummy xargs; ac_word=$2
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12361 $as_echo_n "checking for $ac_word... " >&6; }
12362 if test "${ac_cv_path_XARGS+set}" = set; then :
12363 $as_echo_n "(cached) " >&6
12367 ac_cv_path_XARGS="$XARGS" # Let the user override the test with a path.
12370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12371 for as_dir in $PATH
12374 test -z "$as_dir" && as_dir=.
12375 for ac_exec_ext in '' $ac_executable_extensions; do
12376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12377 ac_cv_path_XARGS="$as_dir/$ac_word$ac_exec_ext"
12378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12388 XARGS=$ac_cv_path_XARGS
12389 if test -n "$XARGS"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XARGS" >&5
12391 $as_echo "$XARGS" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12400 ac_cpp='$CPP $CPPFLAGS'
12401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12404 if test -n "$ac_tool_prefix"; then
12405 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12406 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12408 $as_echo_n "checking for $ac_word... " >&6; }
12409 if test "${ac_cv_prog_CC+set}" = set; then :
12410 $as_echo_n "(cached) " >&6
12412 if test -n "$CC"; then
12413 ac_cv_prog_CC="$CC" # Let the user override the test.
12415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12416 for as_dir in $PATH
12419 test -z "$as_dir" && as_dir=.
12420 for ac_exec_ext in '' $ac_executable_extensions; do
12421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12422 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12433 if test -n "$CC"; then
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12435 $as_echo "$CC" >&6; }
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12438 $as_echo "no" >&6; }
12443 if test -z "$ac_cv_prog_CC"; then
12445 # Extract the first word of "gcc", so it can be a program name with args.
12446 set dummy gcc; ac_word=$2
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12448 $as_echo_n "checking for $ac_word... " >&6; }
12449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12450 $as_echo_n "(cached) " >&6
12452 if test -n "$ac_ct_CC"; then
12453 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12456 for as_dir in $PATH
12459 test -z "$as_dir" && as_dir=.
12460 for ac_exec_ext in '' $ac_executable_extensions; do
12461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12462 ac_cv_prog_ac_ct_CC="gcc"
12463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12472 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12473 if test -n "$ac_ct_CC"; then
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12475 $as_echo "$ac_ct_CC" >&6; }
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12478 $as_echo "no" >&6; }
12481 if test "x$ac_ct_CC" = x; then
12484 case $cross_compiling:$ac_tool_warned in
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12488 ac_tool_warned=yes ;;
12493 CC="$ac_cv_prog_CC"
12496 if test -z "$CC"; then
12497 if test -n "$ac_tool_prefix"; then
12498 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12499 set dummy ${ac_tool_prefix}cc; ac_word=$2
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12501 $as_echo_n "checking for $ac_word... " >&6; }
12502 if test "${ac_cv_prog_CC+set}" = set; then :
12503 $as_echo_n "(cached) " >&6
12505 if test -n "$CC"; then
12506 ac_cv_prog_CC="$CC" # Let the user override the test.
12508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12509 for as_dir in $PATH
12512 test -z "$as_dir" && as_dir=.
12513 for ac_exec_ext in '' $ac_executable_extensions; do
12514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12515 ac_cv_prog_CC="${ac_tool_prefix}cc"
12516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12526 if test -n "$CC"; then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12528 $as_echo "$CC" >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12531 $as_echo "no" >&6; }
12537 if test -z "$CC"; then
12538 # Extract the first word of "cc", so it can be a program name with args.
12539 set dummy cc; ac_word=$2
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12541 $as_echo_n "checking for $ac_word... " >&6; }
12542 if test "${ac_cv_prog_CC+set}" = set; then :
12543 $as_echo_n "(cached) " >&6
12545 if test -n "$CC"; then
12546 ac_cv_prog_CC="$CC" # Let the user override the test.
12548 ac_prog_rejected=no
12549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12550 for as_dir in $PATH
12553 test -z "$as_dir" && as_dir=.
12554 for ac_exec_ext in '' $ac_executable_extensions; do
12555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12556 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12557 ac_prog_rejected=yes
12561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12568 if test $ac_prog_rejected = yes; then
12569 # We found a bogon in the path, so make sure we never use it.
12570 set dummy $ac_cv_prog_CC
12572 if test $# != 0; then
12573 # We chose a different compiler from the bogus one.
12574 # However, it has the same basename, so the bogon will be chosen
12575 # first if we set CC to just the basename; use the full file name.
12577 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12583 if test -n "$CC"; then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12585 $as_echo "$CC" >&6; }
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12588 $as_echo "no" >&6; }
12593 if test -z "$CC"; then
12594 if test -n "$ac_tool_prefix"; then
12595 for ac_prog in cl.exe
12597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12600 $as_echo_n "checking for $ac_word... " >&6; }
12601 if test "${ac_cv_prog_CC+set}" = set; then :
12602 $as_echo_n "(cached) " >&6
12604 if test -n "$CC"; then
12605 ac_cv_prog_CC="$CC" # Let the user override the test.
12607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12608 for as_dir in $PATH
12611 test -z "$as_dir" && as_dir=.
12612 for ac_exec_ext in '' $ac_executable_extensions; do
12613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12614 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12625 if test -n "$CC"; then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12627 $as_echo "$CC" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12630 $as_echo "no" >&6; }
12634 test -n "$CC" && break
12637 if test -z "$CC"; then
12639 for ac_prog in cl.exe
12641 # Extract the first word of "$ac_prog", so it can be a program name with args.
12642 set dummy $ac_prog; ac_word=$2
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12644 $as_echo_n "checking for $ac_word... " >&6; }
12645 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12646 $as_echo_n "(cached) " >&6
12648 if test -n "$ac_ct_CC"; then
12649 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12652 for as_dir in $PATH
12655 test -z "$as_dir" && as_dir=.
12656 for ac_exec_ext in '' $ac_executable_extensions; do
12657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12658 ac_cv_prog_ac_ct_CC="$ac_prog"
12659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12668 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12669 if test -n "$ac_ct_CC"; then
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12671 $as_echo "$ac_ct_CC" >&6; }
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12674 $as_echo "no" >&6; }
12678 test -n "$ac_ct_CC" && break
12681 if test "x$ac_ct_CC" = x; then
12684 case $cross_compiling:$ac_tool_warned in
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12688 ac_tool_warned=yes ;;
12697 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12699 as_fn_error $? "no acceptable C compiler found in \$PATH
12700 See \`config.log' for more details" "$LINENO" 5 ; }
12702 # Provide some information about the compiler.
12703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12706 for ac_option in --version -v -V -qversion; do
12707 { { ac_try="$ac_compiler $ac_option >&5"
12708 case "(($ac_try" in
12709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12710 *) ac_try_echo=$ac_try;;
12712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12713 $as_echo "$ac_try_echo"; } >&5
12714 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12716 if test -s conftest.err; then
12718 ... rest of stderr output deleted ...
12719 10q' conftest.err >conftest.er1
12720 cat conftest.er1 >&5
12722 rm -f conftest.er1 conftest.err
12723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12724 test $ac_status = 0; }
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12728 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12729 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12730 $as_echo_n "(cached) " >&6
12732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12733 /* end confdefs.h. */
12746 if ac_fn_c_try_compile "$LINENO"; then :
12747 ac_compiler_gnu=yes
12751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12752 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12756 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12757 if test $ac_compiler_gnu = yes; then
12762 ac_test_CFLAGS=${CFLAGS+set}
12763 ac_save_CFLAGS=$CFLAGS
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12765 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12766 if test "${ac_cv_prog_cc_g+set}" = set; then :
12767 $as_echo_n "(cached) " >&6
12769 ac_save_c_werror_flag=$ac_c_werror_flag
12770 ac_c_werror_flag=yes
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12784 if ac_fn_c_try_compile "$LINENO"; then :
12785 ac_cv_prog_cc_g=yes
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12799 if ac_fn_c_try_compile "$LINENO"; then :
12802 ac_c_werror_flag=$ac_save_c_werror_flag
12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12815 if ac_fn_c_try_compile "$LINENO"; then :
12816 ac_cv_prog_cc_g=yes
12818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12823 ac_c_werror_flag=$ac_save_c_werror_flag
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12826 $as_echo "$ac_cv_prog_cc_g" >&6; }
12827 if test "$ac_test_CFLAGS" = set; then
12828 CFLAGS=$ac_save_CFLAGS
12829 elif test $ac_cv_prog_cc_g = yes; then
12830 if test "$GCC" = yes; then
12836 if test "$GCC" = yes; then
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12843 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12844 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12845 $as_echo_n "(cached) " >&6
12847 ac_cv_prog_cc_c89=no
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12851 #include <stdarg.h>
12853 #include <sys/types.h>
12854 #include <sys/stat.h>
12855 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12856 struct buf { int x; };
12857 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12858 static char *e (p, i)
12864 static char *f (char * (*g) (char **, int), char **p, ...)
12869 s = g (p, va_arg (v,int));
12874 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12875 function prototypes and stuff, but not '\xHH' hex character constants.
12876 These don't provoke an error unfortunately, instead are silently treated
12877 as 'x'. The following induces an error, until -std is added to get
12878 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12879 array size at least. It's necessary to write '\x00'==0 to get something
12880 that's true only with -std. */
12881 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12883 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12884 inside strings and character constants. */
12886 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12888 int test (int i, double x);
12889 struct s1 {int (*f) (int a);};
12890 struct s2 {int (*f) (double a);};
12891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12902 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12903 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12905 CC="$ac_save_CC $ac_arg"
12906 if ac_fn_c_try_compile "$LINENO"; then :
12907 ac_cv_prog_cc_c89=$ac_arg
12909 rm -f core conftest.err conftest.$ac_objext
12910 test "x$ac_cv_prog_cc_c89" != "xno" && break
12912 rm -f conftest.$ac_ext
12917 case "x$ac_cv_prog_cc_c89" in
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12920 $as_echo "none needed" >&6; } ;;
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12923 $as_echo "unsupported" >&6; } ;;
12925 CC="$CC $ac_cv_prog_cc_c89"
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12927 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12929 if test "x$ac_cv_prog_cc_c89" != xno; then :
12934 ac_cpp='$CPP $CPPFLAGS'
12935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12945 $as_echo_n "checking how to run the C preprocessor... " >&6; }
12946 # On Suns, sometimes $CPP names a directory.
12947 if test -n "$CPP" && test -d "$CPP"; then
12950 if test -z "$CPP"; then
12951 if test "${ac_cv_prog_CPP+set}" = set; then :
12952 $as_echo_n "(cached) " >&6
12954 # Double quotes because CPP needs to be expanded
12955 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12957 ac_preproc_ok=false
12958 for ac_c_preproc_warn_flag in '' yes
12960 # Use a header file that comes with gcc, so configuring glibc
12961 # with a fresh cross-compiler works.
12962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12963 # <limits.h> exists even on freestanding compilers.
12964 # On the NeXT, cc -E runs the code through the compiler's parser,
12965 # not just through cpp. "Syntax error" is here to catch this case.
12966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12969 # include <limits.h>
12971 # include <assert.h>
12975 if ac_fn_c_try_cpp "$LINENO"; then :
12978 # Broken: fails on valid input.
12981 rm -f conftest.err conftest.i conftest.$ac_ext
12983 # OK, works on sane cases. Now check whether nonexistent headers
12984 # can be detected and how.
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12987 #include <ac_nonexistent.h>
12989 if ac_fn_c_try_cpp "$LINENO"; then :
12990 # Broken: success on invalid input.
12993 # Passes both tests.
12997 rm -f conftest.err conftest.i conftest.$ac_ext
13000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13001 rm -f conftest.i conftest.err conftest.$ac_ext
13002 if $ac_preproc_ok; then :
13007 ac_cv_prog_CPP=$CPP
13010 CPP=$ac_cv_prog_CPP
13012 ac_cv_prog_CPP=$CPP
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13015 $as_echo "$CPP" >&6; }
13016 ac_preproc_ok=false
13017 for ac_c_preproc_warn_flag in '' yes
13019 # Use a header file that comes with gcc, so configuring glibc
13020 # with a fresh cross-compiler works.
13021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13022 # <limits.h> exists even on freestanding compilers.
13023 # On the NeXT, cc -E runs the code through the compiler's parser,
13024 # not just through cpp. "Syntax error" is here to catch this case.
13025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13026 /* end confdefs.h. */
13028 # include <limits.h>
13030 # include <assert.h>
13034 if ac_fn_c_try_cpp "$LINENO"; then :
13037 # Broken: fails on valid input.
13040 rm -f conftest.err conftest.i conftest.$ac_ext
13042 # OK, works on sane cases. Now check whether nonexistent headers
13043 # can be detected and how.
13044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13046 #include <ac_nonexistent.h>
13048 if ac_fn_c_try_cpp "$LINENO"; then :
13049 # Broken: success on invalid input.
13052 # Passes both tests.
13056 rm -f conftest.err conftest.i conftest.$ac_ext
13059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13060 rm -f conftest.i conftest.err conftest.$ac_ext
13061 if $ac_preproc_ok; then :
13064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13066 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13067 See \`config.log' for more details" "$LINENO" 5 ; }
13071 ac_cpp='$CPP $CPPFLAGS'
13072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13077 ac_cpp='$CXXCPP $CPPFLAGS'
13078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13081 if test -z "$CXX"; then
13082 if test -n "$CCC"; then
13085 if test -n "$ac_tool_prefix"; then
13086 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13089 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13091 $as_echo_n "checking for $ac_word... " >&6; }
13092 if test "${ac_cv_prog_CXX+set}" = set; then :
13093 $as_echo_n "(cached) " >&6
13095 if test -n "$CXX"; then
13096 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13099 for as_dir in $PATH
13102 test -z "$as_dir" && as_dir=.
13103 for ac_exec_ext in '' $ac_executable_extensions; do
13104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13105 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13115 CXX=$ac_cv_prog_CXX
13116 if test -n "$CXX"; then
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13118 $as_echo "$CXX" >&6; }
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13121 $as_echo "no" >&6; }
13125 test -n "$CXX" && break
13128 if test -z "$CXX"; then
13130 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13132 # Extract the first word of "$ac_prog", so it can be a program name with args.
13133 set dummy $ac_prog; ac_word=$2
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13135 $as_echo_n "checking for $ac_word... " >&6; }
13136 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13137 $as_echo_n "(cached) " >&6
13139 if test -n "$ac_ct_CXX"; then
13140 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13143 for as_dir in $PATH
13146 test -z "$as_dir" && as_dir=.
13147 for ac_exec_ext in '' $ac_executable_extensions; do
13148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13149 ac_cv_prog_ac_ct_CXX="$ac_prog"
13150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13159 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13160 if test -n "$ac_ct_CXX"; then
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13162 $as_echo "$ac_ct_CXX" >&6; }
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13165 $as_echo "no" >&6; }
13169 test -n "$ac_ct_CXX" && break
13172 if test "x$ac_ct_CXX" = x; then
13175 case $cross_compiling:$ac_tool_warned in
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13179 ac_tool_warned=yes ;;
13187 # Provide some information about the compiler.
13188 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13191 for ac_option in --version -v -V -qversion; do
13192 { { ac_try="$ac_compiler $ac_option >&5"
13193 case "(($ac_try" in
13194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13195 *) ac_try_echo=$ac_try;;
13197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13198 $as_echo "$ac_try_echo"; } >&5
13199 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13201 if test -s conftest.err; then
13203 ... rest of stderr output deleted ...
13204 10q' conftest.err >conftest.er1
13205 cat conftest.er1 >&5
13207 rm -f conftest.er1 conftest.err
13208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13209 test $ac_status = 0; }
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13213 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13214 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13215 $as_echo_n "(cached) " >&6
13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13231 if ac_fn_cxx_try_compile "$LINENO"; then :
13232 ac_compiler_gnu=yes
13236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13237 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13241 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13242 if test $ac_compiler_gnu = yes; then
13247 ac_test_CXXFLAGS=${CXXFLAGS+set}
13248 ac_save_CXXFLAGS=$CXXFLAGS
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13250 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13251 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13252 $as_echo_n "(cached) " >&6
13254 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13255 ac_cxx_werror_flag=yes
13256 ac_cv_prog_cxx_g=no
13258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13269 if ac_fn_cxx_try_compile "$LINENO"; then :
13270 ac_cv_prog_cxx_g=yes
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13284 if ac_fn_cxx_try_compile "$LINENO"; then :
13287 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13300 if ac_fn_cxx_try_compile "$LINENO"; then :
13301 ac_cv_prog_cxx_g=yes
13303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13308 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13311 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13312 if test "$ac_test_CXXFLAGS" = set; then
13313 CXXFLAGS=$ac_save_CXXFLAGS
13314 elif test $ac_cv_prog_cxx_g = yes; then
13315 if test "$GXX" = yes; then
13321 if test "$GXX" = yes; then
13328 ac_cpp='$CPP $CPPFLAGS'
13329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13333 depcc="$CXX" am_compiler_list=
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13336 $as_echo_n "checking dependency style of $depcc... " >&6; }
13337 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13338 $as_echo_n "(cached) " >&6
13340 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13341 # We make a subdir and do the tests there. Otherwise we can end up
13342 # making bogus files that we don't know about and never remove. For
13343 # instance it was reported that on HP-UX the gcc test will end up
13344 # making a dummy file named `D' -- because `-MD' means `put the output
13347 # Copy depcomp to subdir because otherwise we won't find it if we're
13348 # using a relative directory.
13349 cp "$am_depcomp" conftest.dir
13351 # We will build objects and dependencies in a subdirectory because
13352 # it helps to detect inapplicable dependency modes. For instance
13353 # both Tru64's cc and ICC support -MD to output dependencies as a
13354 # side effect of compilation, but ICC will put the dependencies in
13355 # the current directory while Tru64 will put them in the object
13359 am_cv_CXX_dependencies_compiler_type=none
13360 if test "$am_compiler_list" = ""; then
13361 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13363 am__universal=false
13364 case " $depcc " in #(
13365 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13368 for depmode in $am_compiler_list; do
13369 # Setup a source with many dependencies, because some compilers
13370 # like to wrap large dependency lists on column 80 (with \), and
13371 # we should not choose a depcomp mode which is confused by this.
13373 # We need to recreate these files for each test, as the compiler may
13374 # overwrite some of them when testing with obscure command lines.
13375 # This happens at least with the AIX C compiler.
13377 for i in 1 2 3 4 5 6; do
13378 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13379 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13380 # Solaris 8's {/usr,}/bin/sh.
13381 touch sub/conftst$i.h
13383 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13385 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13386 # mode. It turns out that the SunPro C++ compiler does not properly
13387 # handle `-M -o', and we need to detect this. Also, some Intel
13388 # versions had trouble with output in subdirs
13389 am__obj=sub/conftest.${OBJEXT-o}
13390 am__minus_obj="-o $am__obj"
13393 # This depmode causes a compiler race in universal mode.
13394 test "$am__universal" = false || continue
13397 # after this tag, mechanisms are not by side-effect, so they'll
13398 # only be used when explicitly requested
13399 if test "x$enable_dependency_tracking" = xyes; then
13405 msvisualcpp | msvcmsys)
13406 # This compiler won't grok `-c -o', but also, the minuso test has
13407 # not run yet. These depmodes are late enough in the game, and
13408 # so weak that their functioning should not be impacted.
13409 am__obj=conftest.${OBJEXT-o}
13414 if depmode=$depmode \
13415 source=sub/conftest.c object=$am__obj \
13416 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13417 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13418 >/dev/null 2>conftest.err &&
13419 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13420 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13421 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13422 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13423 # icc doesn't choke on unknown options, it will just issue warnings
13424 # or remarks (even with -Werror). So we grep stderr for any message
13425 # that says an option was ignored or not supported.
13426 # When given -MP, icc 7.0 and 7.1 complain thusly:
13427 # icc: Command line warning: ignoring option '-M'; no argument required
13428 # The diagnosis changed in icc 8.0:
13429 # icc: Command line remark: option '-MP' not supported
13430 if (grep 'ignoring option' conftest.err ||
13431 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13432 am_cv_CXX_dependencies_compiler_type=$depmode
13439 rm -rf conftest.dir
13441 am_cv_CXX_dependencies_compiler_type=none
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13446 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13447 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13450 test "x$enable_dependency_tracking" != xno \
13451 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13452 am__fastdepCXX_TRUE=
13453 am__fastdepCXX_FALSE='#'
13455 am__fastdepCXX_TRUE='#'
13456 am__fastdepCXX_FALSE=
13462 ac_cpp='$CXXCPP $CPPFLAGS'
13463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13466 if test -z "$CXX"; then
13467 if test -n "$CCC"; then
13470 if test -n "$ac_tool_prefix"; then
13471 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13476 $as_echo_n "checking for $ac_word... " >&6; }
13477 if test "${ac_cv_prog_CXX+set}" = set; then :
13478 $as_echo_n "(cached) " >&6
13480 if test -n "$CXX"; then
13481 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13484 for as_dir in $PATH
13487 test -z "$as_dir" && as_dir=.
13488 for ac_exec_ext in '' $ac_executable_extensions; do
13489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13490 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13500 CXX=$ac_cv_prog_CXX
13501 if test -n "$CXX"; then
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13503 $as_echo "$CXX" >&6; }
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13506 $as_echo "no" >&6; }
13510 test -n "$CXX" && break
13513 if test -z "$CXX"; then
13515 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13517 # Extract the first word of "$ac_prog", so it can be a program name with args.
13518 set dummy $ac_prog; ac_word=$2
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13520 $as_echo_n "checking for $ac_word... " >&6; }
13521 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13522 $as_echo_n "(cached) " >&6
13524 if test -n "$ac_ct_CXX"; then
13525 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13528 for as_dir in $PATH
13531 test -z "$as_dir" && as_dir=.
13532 for ac_exec_ext in '' $ac_executable_extensions; do
13533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13534 ac_cv_prog_ac_ct_CXX="$ac_prog"
13535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13544 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13545 if test -n "$ac_ct_CXX"; then
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13547 $as_echo "$ac_ct_CXX" >&6; }
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13550 $as_echo "no" >&6; }
13554 test -n "$ac_ct_CXX" && break
13557 if test "x$ac_ct_CXX" = x; then
13560 case $cross_compiling:$ac_tool_warned in
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13564 ac_tool_warned=yes ;;
13572 # Provide some information about the compiler.
13573 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13576 for ac_option in --version -v -V -qversion; do
13577 { { ac_try="$ac_compiler $ac_option >&5"
13578 case "(($ac_try" in
13579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13583 $as_echo "$ac_try_echo"; } >&5
13584 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13586 if test -s conftest.err; then
13588 ... rest of stderr output deleted ...
13589 10q' conftest.err >conftest.er1
13590 cat conftest.er1 >&5
13592 rm -f conftest.er1 conftest.err
13593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13594 test $ac_status = 0; }
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13598 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13599 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13600 $as_echo_n "(cached) " >&6
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13616 if ac_fn_cxx_try_compile "$LINENO"; then :
13617 ac_compiler_gnu=yes
13621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13622 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13626 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13627 if test $ac_compiler_gnu = yes; then
13632 ac_test_CXXFLAGS=${CXXFLAGS+set}
13633 ac_save_CXXFLAGS=$CXXFLAGS
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13635 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13636 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13637 $as_echo_n "(cached) " >&6
13639 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13640 ac_cxx_werror_flag=yes
13641 ac_cv_prog_cxx_g=no
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13654 if ac_fn_cxx_try_compile "$LINENO"; then :
13655 ac_cv_prog_cxx_g=yes
13658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13659 /* end confdefs.h. */
13669 if ac_fn_cxx_try_compile "$LINENO"; then :
13672 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13675 /* end confdefs.h. */
13685 if ac_fn_cxx_try_compile "$LINENO"; then :
13686 ac_cv_prog_cxx_g=yes
13688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13693 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13696 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13697 if test "$ac_test_CXXFLAGS" = set; then
13698 CXXFLAGS=$ac_save_CXXFLAGS
13699 elif test $ac_cv_prog_cxx_g = yes; then
13700 if test "$GXX" = yes; then
13706 if test "$GXX" = yes; then
13713 ac_cpp='$CPP $CPPFLAGS'
13714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13718 depcc="$CXX" am_compiler_list=
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13721 $as_echo_n "checking dependency style of $depcc... " >&6; }
13722 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13723 $as_echo_n "(cached) " >&6
13725 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13726 # We make a subdir and do the tests there. Otherwise we can end up
13727 # making bogus files that we don't know about and never remove. For
13728 # instance it was reported that on HP-UX the gcc test will end up
13729 # making a dummy file named `D' -- because `-MD' means `put the output
13732 # Copy depcomp to subdir because otherwise we won't find it if we're
13733 # using a relative directory.
13734 cp "$am_depcomp" conftest.dir
13736 # We will build objects and dependencies in a subdirectory because
13737 # it helps to detect inapplicable dependency modes. For instance
13738 # both Tru64's cc and ICC support -MD to output dependencies as a
13739 # side effect of compilation, but ICC will put the dependencies in
13740 # the current directory while Tru64 will put them in the object
13744 am_cv_CXX_dependencies_compiler_type=none
13745 if test "$am_compiler_list" = ""; then
13746 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13748 am__universal=false
13749 case " $depcc " in #(
13750 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13753 for depmode in $am_compiler_list; do
13754 # Setup a source with many dependencies, because some compilers
13755 # like to wrap large dependency lists on column 80 (with \), and
13756 # we should not choose a depcomp mode which is confused by this.
13758 # We need to recreate these files for each test, as the compiler may
13759 # overwrite some of them when testing with obscure command lines.
13760 # This happens at least with the AIX C compiler.
13762 for i in 1 2 3 4 5 6; do
13763 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13764 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13765 # Solaris 8's {/usr,}/bin/sh.
13766 touch sub/conftst$i.h
13768 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13770 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13771 # mode. It turns out that the SunPro C++ compiler does not properly
13772 # handle `-M -o', and we need to detect this. Also, some Intel
13773 # versions had trouble with output in subdirs
13774 am__obj=sub/conftest.${OBJEXT-o}
13775 am__minus_obj="-o $am__obj"
13778 # This depmode causes a compiler race in universal mode.
13779 test "$am__universal" = false || continue
13782 # after this tag, mechanisms are not by side-effect, so they'll
13783 # only be used when explicitly requested
13784 if test "x$enable_dependency_tracking" = xyes; then
13790 msvisualcpp | msvcmsys)
13791 # This compiler won't grok `-c -o', but also, the minuso test has
13792 # not run yet. These depmodes are late enough in the game, and
13793 # so weak that their functioning should not be impacted.
13794 am__obj=conftest.${OBJEXT-o}
13799 if depmode=$depmode \
13800 source=sub/conftest.c object=$am__obj \
13801 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13802 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13803 >/dev/null 2>conftest.err &&
13804 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13805 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13806 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13807 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13808 # icc doesn't choke on unknown options, it will just issue warnings
13809 # or remarks (even with -Werror). So we grep stderr for any message
13810 # that says an option was ignored or not supported.
13811 # When given -MP, icc 7.0 and 7.1 complain thusly:
13812 # icc: Command line warning: ignoring option '-M'; no argument required
13813 # The diagnosis changed in icc 8.0:
13814 # icc: Command line remark: option '-MP' not supported
13815 if (grep 'ignoring option' conftest.err ||
13816 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13817 am_cv_CXX_dependencies_compiler_type=$depmode
13824 rm -rf conftest.dir
13826 am_cv_CXX_dependencies_compiler_type=none
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13831 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13832 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13835 test "x$enable_dependency_tracking" != xno \
13836 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13837 am__fastdepCXX_TRUE=
13838 am__fastdepCXX_FALSE='#'
13840 am__fastdepCXX_TRUE='#'
13841 am__fastdepCXX_FALSE=
13845 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13846 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13847 (test "X$CXX" != "Xg++"))) ; then
13849 ac_cpp='$CXXCPP $CPPFLAGS'
13850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13854 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13855 if test -z "$CXXCPP"; then
13856 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13857 $as_echo_n "(cached) " >&6
13859 # Double quotes because CXXCPP needs to be expanded
13860 for CXXCPP in "$CXX -E" "/lib/cpp"
13862 ac_preproc_ok=false
13863 for ac_cxx_preproc_warn_flag in '' yes
13865 # Use a header file that comes with gcc, so configuring glibc
13866 # with a fresh cross-compiler works.
13867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13868 # <limits.h> exists even on freestanding compilers.
13869 # On the NeXT, cc -E runs the code through the compiler's parser,
13870 # not just through cpp. "Syntax error" is here to catch this case.
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13874 # include <limits.h>
13876 # include <assert.h>
13880 if ac_fn_cxx_try_cpp "$LINENO"; then :
13883 # Broken: fails on valid input.
13886 rm -f conftest.err conftest.i conftest.$ac_ext
13888 # OK, works on sane cases. Now check whether nonexistent headers
13889 # can be detected and how.
13890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13892 #include <ac_nonexistent.h>
13894 if ac_fn_cxx_try_cpp "$LINENO"; then :
13895 # Broken: success on invalid input.
13898 # Passes both tests.
13902 rm -f conftest.err conftest.i conftest.$ac_ext
13905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13906 rm -f conftest.i conftest.err conftest.$ac_ext
13907 if $ac_preproc_ok; then :
13912 ac_cv_prog_CXXCPP=$CXXCPP
13915 CXXCPP=$ac_cv_prog_CXXCPP
13917 ac_cv_prog_CXXCPP=$CXXCPP
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13920 $as_echo "$CXXCPP" >&6; }
13921 ac_preproc_ok=false
13922 for ac_cxx_preproc_warn_flag in '' yes
13924 # Use a header file that comes with gcc, so configuring glibc
13925 # with a fresh cross-compiler works.
13926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13927 # <limits.h> exists even on freestanding compilers.
13928 # On the NeXT, cc -E runs the code through the compiler's parser,
13929 # not just through cpp. "Syntax error" is here to catch this case.
13930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13933 # include <limits.h>
13935 # include <assert.h>
13939 if ac_fn_cxx_try_cpp "$LINENO"; then :
13942 # Broken: fails on valid input.
13945 rm -f conftest.err conftest.i conftest.$ac_ext
13947 # OK, works on sane cases. Now check whether nonexistent headers
13948 # can be detected and how.
13949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13951 #include <ac_nonexistent.h>
13953 if ac_fn_cxx_try_cpp "$LINENO"; then :
13954 # Broken: success on invalid input.
13957 # Passes both tests.
13961 rm -f conftest.err conftest.i conftest.$ac_ext
13964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13965 rm -f conftest.i conftest.err conftest.$ac_ext
13966 if $ac_preproc_ok; then :
13969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13971 _lt_caught_CXX_error=yes; }
13975 ac_cpp='$CPP $CPPFLAGS'
13976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13981 _lt_caught_CXX_error=yes
13988 ac_cpp='$CXXCPP $CPPFLAGS'
13989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13993 archive_cmds_need_lc_CXX=no
13994 allow_undefined_flag_CXX=
13995 always_export_symbols_CXX=no
13996 archive_expsym_cmds_CXX=
13997 compiler_needs_object_CXX=no
13998 export_dynamic_flag_spec_CXX=
13999 hardcode_direct_CXX=no
14000 hardcode_direct_absolute_CXX=no
14001 hardcode_libdir_flag_spec_CXX=
14002 hardcode_libdir_flag_spec_ld_CXX=
14003 hardcode_libdir_separator_CXX=
14004 hardcode_minus_L_CXX=no
14005 hardcode_shlibpath_var_CXX=unsupported
14006 hardcode_automatic_CXX=no
14007 inherit_rpath_CXX=no
14009 module_expsym_cmds_CXX=
14010 link_all_deplibs_CXX=unknown
14011 old_archive_cmds_CXX=$old_archive_cmds
14012 no_undefined_flag_CXX=
14013 whole_archive_flag_spec_CXX=
14014 enable_shared_with_static_runtimes_CXX=no
14016 # Source file extension for C++ test sources.
14019 # Object file extension for compiled C++ test sources.
14023 # No sense in running all these tests if we already determined that
14024 # the CXX compiler isn't working. Some variables (like enable_shared)
14025 # are currently assumed to apply to all compilers on this platform,
14026 # and will be corrupted by setting them based on a non-working compiler.
14027 if test "$_lt_caught_CXX_error" != yes; then
14028 # Code to be used in simple compile tests
14029 lt_simple_compile_test_code="int some_variable = 0;"
14031 # Code to be used in simple link tests
14032 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14034 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14041 # If no C compiler was specified, use CC.
14044 # If no C compiler flags were specified, use CFLAGS.
14045 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14047 # Allow CC to be a program name with arguments.
14051 # save warnings/boilerplate of simple test code
14052 ac_outfile=conftest.$ac_objext
14053 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14054 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14055 _lt_compiler_boilerplate=`cat conftest.err`
14058 ac_outfile=conftest.$ac_objext
14059 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14060 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14061 _lt_linker_boilerplate=`cat conftest.err`
14065 # Allow CC to be a program name with arguments.
14070 lt_save_with_gnu_ld=$with_gnu_ld
14071 lt_save_path_LD=$lt_cv_path_LD
14072 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14073 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14075 $as_unset lt_cv_prog_gnu_ld
14077 if test -n "${lt_cv_path_LDCXX+set}"; then
14078 lt_cv_path_LD=$lt_cv_path_LDCXX
14080 $as_unset lt_cv_path_LD
14082 test -z "${LDCXX+set}" || LD=$LDCXX
14086 for cc_temp in $compiler""; do
14088 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14089 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14094 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14097 if test -n "$compiler"; then
14098 # We don't want -fno-exception when compiling C++ code, so set the
14099 # no_builtin_flag separately
14100 if test "$GXX" = yes; then
14101 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14103 lt_prog_compiler_no_builtin_flag_CXX=
14106 if test "$GXX" = yes; then
14107 # Set up default GNU C++ configuration
14111 # Check whether --with-gnu-ld was given.
14112 if test "${with_gnu_ld+set}" = set; then :
14113 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14119 if test "$GCC" = yes; then
14120 # Check if gcc -print-prog-name=ld gives a path.
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14122 $as_echo_n "checking for ld used by $CC... " >&6; }
14125 # gcc leaves a trailing carriage return which upsets mingw
14126 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14128 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14131 # Accept absolute paths.
14133 re_direlt='/[^/][^/]*/\.\./'
14134 # Canonicalize the pathname of ld
14135 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14136 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14137 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14139 test -z "$LD" && LD="$ac_prog"
14142 # If it fails, then pretend we aren't using GCC.
14146 # If it is relative, then search for the first ld in PATH.
14147 with_gnu_ld=unknown
14150 elif test "$with_gnu_ld" = yes; then
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14152 $as_echo_n "checking for GNU ld... " >&6; }
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14155 $as_echo_n "checking for non-GNU ld... " >&6; }
14157 if test "${lt_cv_path_LD+set}" = set; then :
14158 $as_echo_n "(cached) " >&6
14160 if test -z "$LD"; then
14161 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14162 for ac_dir in $PATH; do
14164 test -z "$ac_dir" && ac_dir=.
14165 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14166 lt_cv_path_LD="$ac_dir/$ac_prog"
14167 # Check to see if the program is GNU ld. I'd rather use --version,
14168 # but apparently some variants of GNU ld only accept -v.
14169 # Break only if it was the GNU/non-GNU ld that we prefer.
14170 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14171 *GNU* | *'with BFD'*)
14172 test "$with_gnu_ld" != no && break
14175 test "$with_gnu_ld" != yes && break
14182 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14186 LD="$lt_cv_path_LD"
14187 if test -n "$LD"; then
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14189 $as_echo "$LD" >&6; }
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14192 $as_echo "no" >&6; }
14194 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14196 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14197 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14198 $as_echo_n "(cached) " >&6
14200 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14201 case `$LD -v 2>&1 </dev/null` in
14202 *GNU* | *'with BFD'*)
14203 lt_cv_prog_gnu_ld=yes
14206 lt_cv_prog_gnu_ld=no
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14211 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14212 with_gnu_ld=$lt_cv_prog_gnu_ld
14220 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14221 # archiving commands below assume that GNU ld is being used.
14222 if test "$with_gnu_ld" = yes; then
14223 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14224 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14226 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14227 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14229 # If archive_cmds runs LD, not CC, wlarc should be empty
14230 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14231 # investigate it a little bit more. (MM)
14234 # ancient GNU ld didn't support --whole-archive et. al.
14235 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14236 $GREP 'no-whole-archive' > /dev/null; then
14237 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14239 whole_archive_flag_spec_CXX=
14245 # A generic and very simple default shared library creation
14246 # command for GNU C++ for the case where it uses the native
14247 # linker, instead of GNU ld. If possible, this setting should
14248 # overridden to take advantage of the native linker features on
14249 # the platform it is being used on.
14250 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14253 # Commands to make compiler produce verbose output that lists
14254 # what "hidden" libraries, object files and flags are used when
14255 # linking a shared library.
14256 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14264 # PORTME: fill in a description of your system's C++ link characteristics
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14266 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14270 # FIXME: insert proper C++ library support
14274 if test "$host_cpu" = ia64; then
14275 # On IA64, the linker does run time linking by default, so we don't
14276 # have to do anything special.
14277 aix_use_runtimelinking=no
14278 exp_sym_flag='-Bexport'
14281 aix_use_runtimelinking=no
14283 # Test if we are trying to use run time linking or normal
14284 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14285 # need to do runtime linking.
14286 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14287 for ld_flag in $LDFLAGS; do
14290 aix_use_runtimelinking=yes
14298 exp_sym_flag='-bexport'
14299 no_entry_flag='-bnoentry'
14302 # When large executables or shared objects are built, AIX ld can
14303 # have problems creating the table of contents. If linking a library
14304 # or program results in "error TOC overflow" add -mminimal-toc to
14305 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14306 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14308 archive_cmds_CXX=''
14309 hardcode_direct_CXX=yes
14310 hardcode_direct_absolute_CXX=yes
14311 hardcode_libdir_separator_CXX=':'
14312 link_all_deplibs_CXX=yes
14313 file_list_spec_CXX='${wl}-f,'
14315 if test "$GXX" = yes; then
14316 case $host_os in aix4.[012]|aix4.[012].*)
14317 # We only want to do this on AIX 4.2 and lower, the check
14318 # below for broken collect2 doesn't work under 4.3+
14319 collect2name=`${CC} -print-prog-name=collect2`
14320 if test -f "$collect2name" &&
14321 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14323 # We have reworked collect2
14326 # We have old collect2
14327 hardcode_direct_CXX=unsupported
14328 # It fails to find uninstalled libraries when the uninstalled
14329 # path is not listed in the libpath. Setting hardcode_minus_L
14330 # to unsupported forces relinking
14331 hardcode_minus_L_CXX=yes
14332 hardcode_libdir_flag_spec_CXX='-L$libdir'
14333 hardcode_libdir_separator_CXX=
14336 shared_flag='-shared'
14337 if test "$aix_use_runtimelinking" = yes; then
14338 shared_flag="$shared_flag "'${wl}-G'
14342 if test "$host_cpu" = ia64; then
14343 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14344 # chokes on -Wl,-G. The following line is correct:
14347 if test "$aix_use_runtimelinking" = yes; then
14348 shared_flag='${wl}-G'
14350 shared_flag='${wl}-bM:SRE'
14355 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14356 # It seems that -bexpall does not export symbols beginning with
14357 # underscore (_), so it is better to generate a list of symbols to
14359 always_export_symbols_CXX=yes
14360 if test "$aix_use_runtimelinking" = yes; then
14361 # Warning - without using the other runtime loading flags (-brtl),
14362 # -berok will link without error, but may produce a broken library.
14363 allow_undefined_flag_CXX='-berok'
14364 # Determine the default libpath from the value encoded in an empty
14366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14377 if ac_fn_cxx_try_link "$LINENO"; then :
14379 lt_aix_libpath_sed='
14380 /Import File Strings/,/^$/ {
14386 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14387 # Check for a 64-bit object if we didn't find anything.
14388 if test -z "$aix_libpath"; then
14389 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14392 rm -f core conftest.err conftest.$ac_objext \
14393 conftest$ac_exeext conftest.$ac_ext
14394 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14396 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14398 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14400 if test "$host_cpu" = ia64; then
14401 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14402 allow_undefined_flag_CXX="-z nodefs"
14403 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"
14405 # Determine the default libpath from the value encoded in an
14406 # empty executable.
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14418 if ac_fn_cxx_try_link "$LINENO"; then :
14420 lt_aix_libpath_sed='
14421 /Import File Strings/,/^$/ {
14427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14428 # Check for a 64-bit object if we didn't find anything.
14429 if test -z "$aix_libpath"; then
14430 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14433 rm -f core conftest.err conftest.$ac_objext \
14434 conftest$ac_exeext conftest.$ac_ext
14435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14437 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14438 # Warning - without using the other run time loading flags,
14439 # -berok will link without error, but may produce a broken library.
14440 no_undefined_flag_CXX=' ${wl}-bernotok'
14441 allow_undefined_flag_CXX=' ${wl}-berok'
14442 # Exported symbols can be pulled into shared objects from archives
14443 whole_archive_flag_spec_CXX='$convenience'
14444 archive_cmds_need_lc_CXX=yes
14445 # This is similar to how AIX traditionally builds its shared
14447 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'
14453 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14454 allow_undefined_flag_CXX=unsupported
14455 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14456 # support --undefined. This deserves some investigation. FIXME
14457 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14464 case $cc_basename in
14466 # FIXME: insert proper C++ library support
14472 cygwin* | mingw* | pw32* | cegcc*)
14473 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14474 # as there is no search path for DLLs.
14475 hardcode_libdir_flag_spec_CXX='-L$libdir'
14476 allow_undefined_flag_CXX=unsupported
14477 always_export_symbols_CXX=no
14478 enable_shared_with_static_runtimes_CXX=yes
14480 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14481 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'
14482 # If the export-symbols file already is a .def file (1st line
14483 # is EXPORTS), use it as is; otherwise, prepend...
14484 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14485 cp $export_symbols $output_objdir/$soname.def;
14487 echo EXPORTS > $output_objdir/$soname.def;
14488 cat $export_symbols >> $output_objdir/$soname.def;
14490 $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'
14495 darwin* | rhapsody*)
14498 archive_cmds_need_lc_CXX=no
14499 hardcode_direct_CXX=no
14500 hardcode_automatic_CXX=yes
14501 hardcode_shlibpath_var_CXX=unsupported
14502 whole_archive_flag_spec_CXX=''
14503 link_all_deplibs_CXX=yes
14504 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14505 case $cc_basename in
14506 ifort*) _lt_dar_can_shared=yes ;;
14507 *) _lt_dar_can_shared=$GCC ;;
14509 if test "$_lt_dar_can_shared" = "yes"; then
14510 output_verbose_link_cmd=echo
14511 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}"
14512 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14513 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}"
14514 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}"
14515 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14516 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}"
14517 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}"
14527 case $cc_basename in
14529 # FIXME: insert proper C++ library support
14533 # Green Hills C++ Compiler
14534 # FIXME: insert proper C++ library support
14538 # FIXME: insert proper C++ library support
14545 # C++ shared libraries reported to be fairly broken before
14551 archive_cmds_need_lc_CXX=no
14554 freebsd* | dragonfly*)
14555 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14564 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14565 hardcode_libdir_separator_CXX=:
14566 export_dynamic_flag_spec_CXX='${wl}-E'
14567 hardcode_direct_CXX=yes
14568 hardcode_minus_L_CXX=yes # Not in the search PATH,
14569 # but as the default
14570 # location of the library.
14572 case $cc_basename in
14574 # FIXME: insert proper C++ library support
14578 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'
14579 # Commands to make compiler produce verbose output that lists
14580 # what "hidden" libraries, object files and flags are used when
14581 # linking a shared library.
14583 # There doesn't appear to be a way to prevent this compiler from
14584 # explicitly linking system object files so we need to strip them
14585 # from the output so that they don't get included in the library
14587 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; $ECHO "X$list" | $Xsed'
14590 if test "$GXX" = yes; then
14591 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
14593 # FIXME: insert proper C++ library support
14601 if test $with_gnu_ld = no; then
14602 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14603 hardcode_libdir_separator_CXX=:
14609 export_dynamic_flag_spec_CXX='${wl}-E'
14615 hardcode_direct_CXX=no
14616 hardcode_shlibpath_var_CXX=no
14619 hardcode_direct_CXX=yes
14620 hardcode_direct_absolute_CXX=yes
14621 hardcode_minus_L_CXX=yes # Not in the search PATH,
14622 # but as the default
14623 # location of the library.
14627 case $cc_basename in
14629 # FIXME: insert proper C++ library support
14635 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14638 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14641 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14644 # Commands to make compiler produce verbose output that lists
14645 # what "hidden" libraries, object files and flags are used when
14646 # linking a shared library.
14648 # There doesn't appear to be a way to prevent this compiler from
14649 # explicitly linking system object files so we need to strip them
14650 # from the output so that they don't get included in the library
14652 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; $ECHO "X$list" | $Xsed'
14655 if test "$GXX" = yes; then
14656 if test $with_gnu_ld = no; then
14659 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14662 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14665 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14670 # FIXME: insert proper C++ library support
14678 hardcode_direct_CXX=no
14679 hardcode_shlibpath_var_CXX=no
14680 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14681 export_dynamic_flag_spec_CXX='${wl}-E'
14682 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14683 # Instead, shared libraries are loaded at an image base (0x10000000 by
14684 # default) and relocated if they conflict, which is a slow very memory
14685 # consuming and fragmenting process. To avoid this, we pick a random,
14686 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14687 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14688 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'
14689 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'
14692 case $cc_basename in
14695 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14697 # Archives containing C++ object files must be created using
14698 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14699 # necessary to make sure instantiated templates are included
14701 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14704 if test "$GXX" = yes; then
14705 if test "$with_gnu_ld" = no; then
14706 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14708 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
14711 link_all_deplibs_CXX=yes
14714 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14715 hardcode_libdir_separator_CXX=:
14716 inherit_rpath_CXX=yes
14719 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14720 case $cc_basename in
14722 # Kuck and Associates, Inc. (KAI) C++ Compiler
14724 # KCC will only create a shared library if the output file
14725 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14726 # to its proper name (with version) after linking.
14727 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'
14728 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'
14729 # Commands to make compiler produce verbose output that lists
14730 # what "hidden" libraries, object files and flags are used when
14731 # linking a shared library.
14733 # There doesn't appear to be a way to prevent this compiler from
14734 # explicitly linking system object files so we need to strip them
14735 # from the output so that they don't get included in the library
14737 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; $ECHO "X$list" | $Xsed'
14739 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14740 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14742 # Archives containing C++ object files must be created using
14743 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14744 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14749 # version 8.0 and above of icpc choke on multiply defined symbols
14750 # if we add $predep_objects and $postdep_objects, however 7.1 and
14751 # earlier do not add the objects themselves.
14752 case `$CC -V 2>&1` in
14754 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14755 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'
14757 *) # Version 8.0 or newer
14760 ia64*) tmp_idyn=' -i_dynamic';;
14762 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14763 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'
14766 archive_cmds_need_lc_CXX=no
14767 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14768 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14769 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14772 # Portland Group C++ compiler
14774 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
14775 prelink_cmds_CXX='tpldir=Template.dir~
14777 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14778 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14779 old_archive_cmds_CXX='tpldir=Template.dir~
14781 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14782 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14784 archive_cmds_CXX='tpldir=Template.dir~
14786 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14787 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14788 archive_expsym_cmds_CXX='tpldir=Template.dir~
14790 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14791 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14793 *) # Version 6 will use weak symbols
14794 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14795 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'
14799 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14800 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14801 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14805 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14806 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'
14808 runpath_var=LD_RUN_PATH
14809 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14810 hardcode_libdir_separator_CXX=:
14812 # Commands to make compiler produce verbose output that lists
14813 # what "hidden" libraries, object files and flags are used when
14814 # linking a shared library.
14816 # There doesn't appear to be a way to prevent this compiler from
14817 # explicitly linking system object files so we need to strip them
14818 # from the output so that they don't get included in the library
14820 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14823 # IBM XL 8.0 on PPC, with GNU ld
14824 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14825 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14826 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14827 if test "x$supports_anon_versioning" = xyes; then
14828 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14829 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14830 echo "local: *; };" >> $output_objdir/$libname.ver~
14831 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14835 case `$CC -V 2>&1 | sed 5q` in
14838 no_undefined_flag_CXX=' -zdefs'
14839 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14840 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'
14841 hardcode_libdir_flag_spec_CXX='-R$libdir'
14842 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14843 compiler_needs_object_CXX=yes
14845 # Not sure whether something based on
14846 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14848 output_verbose_link_cmd='echo'
14850 # Archives containing C++ object files must be created using
14851 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14852 # necessary to make sure instantiated templates are included
14854 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14862 # FIXME: insert proper C++ library support
14867 # FIXME: insert proper C++ library support
14872 case $cc_basename in
14874 # FIXME: insert proper C++ library support
14878 # FIXME: insert proper C++ library support
14885 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14886 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14888 hardcode_libdir_flag_spec_CXX='-R$libdir'
14889 hardcode_direct_CXX=yes
14890 hardcode_shlibpath_var_CXX=no
14892 # Workaround some broken pre-1.5 toolchains
14893 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14901 # C++ shared libraries are fairly broken
14906 if test -f /usr/libexec/ld.so; then
14907 hardcode_direct_CXX=yes
14908 hardcode_shlibpath_var_CXX=no
14909 hardcode_direct_absolute_CXX=yes
14910 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14911 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14912 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14913 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14914 export_dynamic_flag_spec_CXX='${wl}-E'
14915 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14917 output_verbose_link_cmd=echo
14923 osf3* | osf4* | osf5*)
14924 case $cc_basename in
14926 # Kuck and Associates, Inc. (KAI) C++ Compiler
14928 # KCC will only create a shared library if the output file
14929 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14930 # to its proper name (with version) after linking.
14931 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'
14933 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14934 hardcode_libdir_separator_CXX=:
14936 # Archives containing C++ object files must be created using
14937 # the KAI C++ compiler.
14939 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14940 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14944 # Rational C++ 2.4.1
14945 # FIXME: insert proper C++ library support
14951 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14952 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14953 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14956 allow_undefined_flag_CXX=' -expect_unresolved \*'
14957 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14958 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14959 echo "-hidden">> $lib.exp~
14960 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
14962 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14966 hardcode_libdir_separator_CXX=:
14968 # Commands to make compiler produce verbose output that lists
14969 # what "hidden" libraries, object files and flags are used when
14970 # linking a shared library.
14972 # There doesn't appear to be a way to prevent this compiler from
14973 # explicitly linking system object files so we need to strip them
14974 # from the output so that they don't get included in the library
14976 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14979 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14980 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14983 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14986 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14990 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14991 hardcode_libdir_separator_CXX=:
14993 # Commands to make compiler produce verbose output that lists
14994 # what "hidden" libraries, object files and flags are used when
14995 # linking a shared library.
14996 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14999 # FIXME: insert proper C++ library support
15007 # FIXME: insert proper C++ library support
15012 case $cc_basename in
15015 # FIXME: insert proper C++ library support
15020 # FIXME: insert proper C++ library support
15024 # FIXME: insert proper C++ library support
15031 case $cc_basename in
15033 # Sun C++ 4.2, 5.x and Centerline C++
15034 archive_cmds_need_lc_CXX=yes
15035 no_undefined_flag_CXX=' -zdefs'
15036 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15037 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15038 $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'
15040 hardcode_libdir_flag_spec_CXX='-R$libdir'
15041 hardcode_shlibpath_var_CXX=no
15043 solaris2.[0-5] | solaris2.[0-5].*) ;;
15045 # The compiler driver will combine and reorder linker options,
15046 # but understands `-z linker_flag'.
15047 # Supported since Solaris 2.6 (maybe 2.5.1?)
15048 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15051 link_all_deplibs_CXX=yes
15053 output_verbose_link_cmd='echo'
15055 # Archives containing C++ object files must be created using
15056 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15057 # necessary to make sure instantiated templates are included
15059 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15062 # Green Hills C++ Compiler
15063 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15065 # The C++ compiler must be used to create the archive.
15066 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15069 # GNU C++ compiler with Solaris linker
15070 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15071 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15072 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15073 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15074 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15075 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15077 # Commands to make compiler produce verbose output that lists
15078 # what "hidden" libraries, object files and flags are used when
15079 # linking a shared library.
15080 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15082 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15084 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15085 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15086 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15088 # Commands to make compiler produce verbose output that lists
15089 # what "hidden" libraries, object files and flags are used when
15090 # linking a shared library.
15091 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15094 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15096 solaris2.[0-5] | solaris2.[0-5].*) ;;
15098 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15106 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15107 no_undefined_flag_CXX='${wl}-z,text'
15108 archive_cmds_need_lc_CXX=no
15109 hardcode_shlibpath_var_CXX=no
15110 runpath_var='LD_RUN_PATH'
15112 case $cc_basename in
15114 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15115 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15118 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15119 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15124 sysv5* | sco3.2v5* | sco5v6*)
15125 # Note: We can NOT use -z defs as we might desire, because we do not
15126 # link with -lc, and that would cause any symbols used from libc to
15127 # always be unresolved, which means just about no library would
15128 # ever link correctly. If we're not using GNU ld we use -z text
15129 # though, which does catch some bad symbols but isn't as heavy-handed
15131 no_undefined_flag_CXX='${wl}-z,text'
15132 allow_undefined_flag_CXX='${wl}-z,nodefs'
15133 archive_cmds_need_lc_CXX=no
15134 hardcode_shlibpath_var_CXX=no
15135 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15136 hardcode_libdir_separator_CXX=':'
15137 link_all_deplibs_CXX=yes
15138 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15139 runpath_var='LD_RUN_PATH'
15141 case $cc_basename in
15143 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15144 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15147 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15148 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15154 case $cc_basename in
15156 # NonStop-UX NCC 3.20
15157 # FIXME: insert proper C++ library support
15161 # FIXME: insert proper C++ library support
15168 # FIXME: insert proper C++ library support
15173 # FIXME: insert proper C++ library support
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15179 $as_echo "$ld_shlibs_CXX" >&6; }
15180 test "$ld_shlibs_CXX" = no && can_build_shared=no
15186 ## There is no encapsulation within the following macros, do not change
15187 ## the running order or otherwise move them around unless you know exactly
15188 ## what you are doing...
15189 # Dependencies to place before and after the object being linked:
15190 predep_objects_CXX=
15191 postdep_objects_CXX=
15194 compiler_lib_search_path_CXX=
15196 cat > conftest.$ac_ext <<_LT_EOF
15200 Foo (void) { a = 0; }
15206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15207 (eval $ac_compile) 2>&5
15209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15210 test $ac_status = 0; }; then
15211 # Parse the compiler output and extract the necessary
15212 # objects, libraries and library flags.
15214 # Sentinel used to keep track of whether or not we are before
15215 # the conftest object file.
15216 pre_test_object_deps_done=no
15218 for p in `eval "$output_verbose_link_cmd"`; do
15222 # Some compilers place space between "-{L,R}" and the path.
15223 # Remove the space.
15224 if test $p = "-L" ||
15225 test $p = "-R"; then
15232 if test "$pre_test_object_deps_done" = no; then
15235 # Internal compiler library paths should come after those
15236 # provided the user. The postdeps already come after the
15237 # user supplied libs so there is no need to process them.
15238 if test -z "$compiler_lib_search_path_CXX"; then
15239 compiler_lib_search_path_CXX="${prev}${p}"
15241 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15244 # The "-l" case would never come before the object being
15245 # linked, so don't bother handling this case.
15248 if test -z "$postdeps_CXX"; then
15249 postdeps_CXX="${prev}${p}"
15251 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15257 # This assumes that the test object file only shows up
15258 # once in the compiler output.
15259 if test "$p" = "conftest.$objext"; then
15260 pre_test_object_deps_done=yes
15264 if test "$pre_test_object_deps_done" = no; then
15265 if test -z "$predep_objects_CXX"; then
15266 predep_objects_CXX="$p"
15268 predep_objects_CXX="$predep_objects_CXX $p"
15271 if test -z "$postdep_objects_CXX"; then
15272 postdep_objects_CXX="$p"
15274 postdep_objects_CXX="$postdep_objects_CXX $p"
15279 *) ;; # Ignore the rest.
15287 echo "libtool.m4: error: problem compiling CXX test program"
15290 $RM -f confest.$objext
15292 # PORTME: override above test on systems where it is broken
15295 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15296 # hack all around it, let's just trust "g++" to DTRT.
15297 predep_objects_CXX=
15298 postdep_objects_CXX=
15303 case `$CC -V 2>&1 | sed 5q` in
15307 # The more standards-conforming stlport4 library is
15308 # incompatible with the Cstd library. Avoid specifying
15309 # it if it's in CXXFLAGS. Ignore libCrun as
15310 # -library=stlport4 depends on it.
15311 case " $CXX $CXXFLAGS " in
15312 *" -library=stlport4 "*)
15313 solaris_use_stlport4=yes
15317 if test "$solaris_use_stlport4" != yes; then
15318 postdeps_CXX='-library=Cstd -library=Crun'
15325 case $cc_basename in
15327 # The more standards-conforming stlport4 library is
15328 # incompatible with the Cstd library. Avoid specifying
15329 # it if it's in CXXFLAGS. Ignore libCrun as
15330 # -library=stlport4 depends on it.
15331 case " $CXX $CXXFLAGS " in
15332 *" -library=stlport4 "*)
15333 solaris_use_stlport4=yes
15337 # Adding this requires a known-good setup of shared libraries for
15338 # Sun compiler versions before 5.6, else PIC objects from an old
15339 # archive will be linked into the output, leading to subtle bugs.
15340 if test "$solaris_use_stlport4" != yes; then
15341 postdeps_CXX='-library=Cstd -library=Crun'
15349 case " $postdeps_CXX " in
15350 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15352 compiler_lib_search_dirs_CXX=
15353 if test -n "${compiler_lib_search_path_CXX}"; then
15354 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15387 lt_prog_compiler_wl_CXX=
15388 lt_prog_compiler_pic_CXX=
15389 lt_prog_compiler_static_CXX=
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15392 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15394 # C++ specific cases for pic, static, wl, etc.
15395 if test "$GXX" = yes; then
15396 lt_prog_compiler_wl_CXX='-Wl,'
15397 lt_prog_compiler_static_CXX='-static'
15401 # All AIX code is PIC.
15402 if test "$host_cpu" = ia64; then
15403 # AIX 5 now supports IA64 processor
15404 lt_prog_compiler_static_CXX='-Bstatic'
15411 # see comment about AmigaOS4 .so support
15412 lt_prog_compiler_pic_CXX='-fPIC'
15415 # FIXME: we need at least 68020 code to build shared libraries, but
15416 # adding the `-m68020' flag to GCC prevents building anything better,
15418 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15423 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15424 # PIC is the default for these OSes.
15426 mingw* | cygwin* | os2* | pw32* | cegcc*)
15427 # This hack is so that the source file can tell whether it is being
15428 # built for inclusion in a dll (and should export symbols for example).
15429 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15430 # (--disable-auto-import) libraries
15431 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15433 darwin* | rhapsody*)
15434 # PIC is the default on this platform
15435 # Common symbols not allowed in MH_DYLIB files
15436 lt_prog_compiler_pic_CXX='-fno-common'
15439 # DJGPP does not support shared libraries at all
15440 lt_prog_compiler_pic_CXX=
15443 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15444 # Instead, we relocate shared libraries at runtime.
15447 if test -d /usr/nec; then
15448 lt_prog_compiler_pic_CXX=-Kconform_pic
15452 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15453 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15454 # sets the default TLS model and affects inlining.
15459 lt_prog_compiler_pic_CXX='-fPIC'
15464 # QNX uses GNU C++, but need to define -shared option too, otherwise
15465 # it will coredump.
15466 lt_prog_compiler_pic_CXX='-fPIC -shared'
15469 lt_prog_compiler_pic_CXX='-fPIC'
15475 # All AIX code is PIC.
15476 if test "$host_cpu" = ia64; then
15477 # AIX 5 now supports IA64 processor
15478 lt_prog_compiler_static_CXX='-Bstatic'
15480 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15484 case $cc_basename in
15486 # Green Hills C++ Compiler
15487 # _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"
15492 case $cc_basename in
15494 lt_prog_compiler_pic_CXX='-KPIC'
15497 # Green Hills C++ Compiler
15498 lt_prog_compiler_pic_CXX='-pic'
15504 freebsd* | dragonfly*)
15505 # FreeBSD uses GNU C++
15507 hpux9* | hpux10* | hpux11*)
15508 case $cc_basename in
15510 lt_prog_compiler_wl_CXX='-Wl,'
15511 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15512 if test "$host_cpu" != ia64; then
15513 lt_prog_compiler_pic_CXX='+Z'
15517 lt_prog_compiler_wl_CXX='-Wl,'
15518 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15524 lt_prog_compiler_pic_CXX='+Z'
15533 # This is c89, which is MS Visual C++ (no shared libs)
15534 # Anyone wants to do a port?
15536 irix5* | irix6* | nonstopux*)
15537 case $cc_basename in
15539 lt_prog_compiler_wl_CXX='-Wl,'
15540 lt_prog_compiler_static_CXX='-non_shared'
15541 # CC pic flag -KPIC is the default.
15547 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15548 case $cc_basename in
15551 lt_prog_compiler_wl_CXX='--backend -Wl,'
15552 lt_prog_compiler_pic_CXX='-fPIC'
15555 # old Intel C++ for x86_64 which still supported -KPIC.
15556 lt_prog_compiler_wl_CXX='-Wl,'
15557 lt_prog_compiler_pic_CXX='-KPIC'
15558 lt_prog_compiler_static_CXX='-static'
15561 # Intel C++, used to be incompatible with GCC.
15562 # ICC 10 doesn't accept -KPIC any more.
15563 lt_prog_compiler_wl_CXX='-Wl,'
15564 lt_prog_compiler_pic_CXX='-fPIC'
15565 lt_prog_compiler_static_CXX='-static'
15568 # Portland Group C++ compiler
15569 lt_prog_compiler_wl_CXX='-Wl,'
15570 lt_prog_compiler_pic_CXX='-fpic'
15571 lt_prog_compiler_static_CXX='-Bstatic'
15575 # Make sure the PIC flag is empty. It appears that all Alpha
15576 # Linux and Compaq Tru64 Unix objects are PIC.
15577 lt_prog_compiler_pic_CXX=
15578 lt_prog_compiler_static_CXX='-non_shared'
15581 # IBM XL 8.0 on PPC
15582 lt_prog_compiler_wl_CXX='-Wl,'
15583 lt_prog_compiler_pic_CXX='-qpic'
15584 lt_prog_compiler_static_CXX='-qstaticlink'
15587 case `$CC -V 2>&1 | sed 5q` in
15590 lt_prog_compiler_pic_CXX='-KPIC'
15591 lt_prog_compiler_static_CXX='-Bstatic'
15592 lt_prog_compiler_wl_CXX='-Qoption ld '
15603 case $cc_basename in
15605 lt_prog_compiler_pic_CXX='-W c,exportall'
15611 netbsd* | netbsdelf*-gnu)
15614 # QNX uses GNU C++, but need to define -shared option too, otherwise
15615 # it will coredump.
15616 lt_prog_compiler_pic_CXX='-fPIC -shared'
15618 osf3* | osf4* | osf5*)
15619 case $cc_basename in
15621 lt_prog_compiler_wl_CXX='--backend -Wl,'
15624 # Rational C++ 2.4.1
15625 lt_prog_compiler_pic_CXX='-pic'
15628 # Digital/Compaq C++
15629 lt_prog_compiler_wl_CXX='-Wl,'
15630 # Make sure the PIC flag is empty. It appears that all Alpha
15631 # Linux and Compaq Tru64 Unix objects are PIC.
15632 lt_prog_compiler_pic_CXX=
15633 lt_prog_compiler_static_CXX='-non_shared'
15642 case $cc_basename in
15644 # Sun C++ 4.2, 5.x and Centerline C++
15645 lt_prog_compiler_pic_CXX='-KPIC'
15646 lt_prog_compiler_static_CXX='-Bstatic'
15647 lt_prog_compiler_wl_CXX='-Qoption ld '
15650 # Green Hills C++ Compiler
15651 lt_prog_compiler_pic_CXX='-PIC'
15658 case $cc_basename in
15661 lt_prog_compiler_pic_CXX='-pic'
15662 lt_prog_compiler_static_CXX='-Bstatic'
15666 lt_prog_compiler_pic_CXX='-pic'
15672 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15673 case $cc_basename in
15675 lt_prog_compiler_wl_CXX='-Wl,'
15676 lt_prog_compiler_pic_CXX='-KPIC'
15677 lt_prog_compiler_static_CXX='-Bstatic'
15682 case $cc_basename in
15684 # NonStop-UX NCC 3.20
15685 lt_prog_compiler_pic_CXX='-KPIC'
15694 lt_prog_compiler_can_build_shared_CXX=no
15700 # For platforms which do not support PIC, -DPIC is meaningless:
15702 lt_prog_compiler_pic_CXX=
15705 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15709 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15714 # Check to make sure the PIC flag actually works.
15716 if test -n "$lt_prog_compiler_pic_CXX"; then
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15718 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15719 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15720 $as_echo_n "(cached) " >&6
15722 lt_cv_prog_compiler_pic_works_CXX=no
15723 ac_outfile=conftest.$ac_objext
15724 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15725 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15726 # Insert the option either (1) after the last *FLAGS variable, or
15727 # (2) before a word containing "conftest.", or (3) at the end.
15728 # Note that $ac_compile itself does not contain backslashes and begins
15729 # with a dollar sign (not a hyphen), so the echo should work correctly.
15730 # The option is referenced via a variable to avoid confusing sed.
15731 lt_compile=`echo "$ac_compile" | $SED \
15732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15734 -e 's:$: $lt_compiler_flag:'`
15735 (eval echo "\"\$as_me:15735: $lt_compile\"" >&5)
15736 (eval "$lt_compile" 2>conftest.err)
15738 cat conftest.err >&5
15739 echo "$as_me:15739: \$? = $ac_status" >&5
15740 if (exit $ac_status) && test -s "$ac_outfile"; then
15741 # The compiler can only warn and ignore the option if not recognized
15742 # So say no if there are warnings other than the usual output.
15743 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15744 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15745 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15746 lt_cv_prog_compiler_pic_works_CXX=yes
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15753 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15755 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15756 case $lt_prog_compiler_pic_CXX in
15758 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15761 lt_prog_compiler_pic_CXX=
15762 lt_prog_compiler_can_build_shared_CXX=no
15770 # Check to make sure the static flag actually works.
15772 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15774 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15775 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15776 $as_echo_n "(cached) " >&6
15778 lt_cv_prog_compiler_static_works_CXX=no
15779 save_LDFLAGS="$LDFLAGS"
15780 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15781 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15782 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15783 # The linker can only warn and ignore the option if not recognized
15784 # So say no if there are warnings
15785 if test -s conftest.err; then
15786 # Append any errors to the config.log.
15787 cat conftest.err 1>&5
15788 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15789 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15790 if diff conftest.exp conftest.er2 >/dev/null; then
15791 lt_cv_prog_compiler_static_works_CXX=yes
15794 lt_cv_prog_compiler_static_works_CXX=yes
15798 LDFLAGS="$save_LDFLAGS"
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15802 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15804 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15807 lt_prog_compiler_static_CXX=
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15814 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15815 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15816 $as_echo_n "(cached) " >&6
15818 lt_cv_prog_compiler_c_o_CXX=no
15819 $RM -r conftest 2>/dev/null
15823 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15825 lt_compiler_flag="-o out/conftest2.$ac_objext"
15826 # Insert the option either (1) after the last *FLAGS variable, or
15827 # (2) before a word containing "conftest.", or (3) at the end.
15828 # Note that $ac_compile itself does not contain backslashes and begins
15829 # with a dollar sign (not a hyphen), so the echo should work correctly.
15830 lt_compile=`echo "$ac_compile" | $SED \
15831 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15832 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15833 -e 's:$: $lt_compiler_flag:'`
15834 (eval echo "\"\$as_me:15834: $lt_compile\"" >&5)
15835 (eval "$lt_compile" 2>out/conftest.err)
15837 cat out/conftest.err >&5
15838 echo "$as_me:15838: \$? = $ac_status" >&5
15839 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15841 # The compiler can only warn and ignore the option if not recognized
15842 # So say no if there are warnings
15843 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15844 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15845 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15846 lt_cv_prog_compiler_c_o_CXX=yes
15851 # SGI C++ compiler will create directory out/ii_files/ for
15852 # template instantiation
15853 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15854 $RM out/* && rmdir out
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15861 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15866 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15867 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15868 $as_echo_n "(cached) " >&6
15870 lt_cv_prog_compiler_c_o_CXX=no
15871 $RM -r conftest 2>/dev/null
15875 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15877 lt_compiler_flag="-o out/conftest2.$ac_objext"
15878 # Insert the option either (1) after the last *FLAGS variable, or
15879 # (2) before a word containing "conftest.", or (3) at the end.
15880 # Note that $ac_compile itself does not contain backslashes and begins
15881 # with a dollar sign (not a hyphen), so the echo should work correctly.
15882 lt_compile=`echo "$ac_compile" | $SED \
15883 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15885 -e 's:$: $lt_compiler_flag:'`
15886 (eval echo "\"\$as_me:15886: $lt_compile\"" >&5)
15887 (eval "$lt_compile" 2>out/conftest.err)
15889 cat out/conftest.err >&5
15890 echo "$as_me:15890: \$? = $ac_status" >&5
15891 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15893 # The compiler can only warn and ignore the option if not recognized
15894 # So say no if there are warnings
15895 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15896 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15897 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15898 lt_cv_prog_compiler_c_o_CXX=yes
15903 # SGI C++ compiler will create directory out/ii_files/ for
15904 # template instantiation
15905 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15906 $RM out/* && rmdir out
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15913 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15918 hard_links="nottested"
15919 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15920 # do not overwrite the value of need_locks provided by the user
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15922 $as_echo_n "checking if we can lock with hard links... " >&6; }
15925 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15927 ln conftest.a conftest.b 2>&5 || hard_links=no
15928 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15930 $as_echo "$hard_links" >&6; }
15931 if test "$hard_links" = no; then
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15933 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15943 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15945 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15948 # If we're using GNU nm, then we don't want the "-C" option.
15949 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15950 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15951 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15953 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'
15957 export_symbols_cmds_CXX="$ltdll_cmds"
15959 cygwin* | mingw* | cegcc*)
15960 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15962 linux* | k*bsd*-gnu)
15963 link_all_deplibs_CXX=no
15966 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15969 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15972 $as_echo "$ld_shlibs_CXX" >&6; }
15973 test "$ld_shlibs_CXX" = no && can_build_shared=no
15975 with_gnu_ld_CXX=$with_gnu_ld
15983 # Do we need to explicitly link libc?
15985 case "x$archive_cmds_need_lc_CXX" in
15987 # Assume -lc should be added
15988 archive_cmds_need_lc_CXX=yes
15990 if test "$enable_shared" = yes && test "$GCC" = yes; then
15991 case $archive_cmds_CXX in
15993 # FIXME: we may have to deal with multi-command sequences.
15996 # Test whether the compiler implicitly links with -lc since on some
15997 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15998 # to ld, don't add -lc before -lgcc.
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16000 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16002 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16004 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16005 (eval $ac_compile) 2>&5
16007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16008 test $ac_status = 0; } 2>conftest.err; then
16011 libobjs=conftest.$ac_objext
16013 wl=$lt_prog_compiler_wl_CXX
16014 pic_flag=$lt_prog_compiler_pic_CXX
16020 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16021 allow_undefined_flag_CXX=
16022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16023 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16026 test $ac_status = 0; }
16028 archive_cmds_need_lc_CXX=no
16030 archive_cmds_need_lc_CXX=yes
16032 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16034 cat conftest.err 1>&5
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
16038 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16109 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16111 library_names_spec=
16112 libname_spec='lib$name'
16116 postuninstall_cmds=
16120 shlibpath_overrides_runpath=unknown
16122 dynamic_linker="$host_os ld.so"
16123 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16124 need_lib_prefix=unknown
16125 hardcode_into_libs=no
16127 # when you set need_version to no, make sure it does not cause -set_version
16128 # flags to be left without arguments
16129 need_version=unknown
16134 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16135 shlibpath_var=LIBPATH
16137 # AIX 3 has no versioning support, so we append a major version to the name.
16138 soname_spec='${libname}${release}${shared_ext}$major'
16145 hardcode_into_libs=yes
16146 if test "$host_cpu" = ia64; then
16147 # AIX 5 supports IA64
16148 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16149 shlibpath_var=LD_LIBRARY_PATH
16151 # With GCC up to 2.95.x, collect2 would create an import file
16152 # for dependence libraries. The import file would start with
16153 # the line `#! .'. This would cause the generated library to
16154 # depend on `.', always an invalid library. This was fixed in
16155 # development snapshots of GCC prior to 3.0.
16157 aix4 | aix4.[01] | aix4.[01].*)
16158 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16160 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16163 can_build_shared=no
16167 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16168 # soname into executable. Probably we can add versioning support to
16169 # collect2, so additional links can be useful in future.
16170 if test "$aix_use_runtimelinking" = yes; then
16171 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16172 # instead of lib<name>.a to let people know that these are not
16173 # typical AIX shared libraries.
16174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16176 # We preserve .a as extension for shared libraries through AIX4.2
16177 # and later when we are not doing run time linking.
16178 library_names_spec='${libname}${release}.a $libname.a'
16179 soname_spec='${libname}${release}${shared_ext}$major'
16181 shlibpath_var=LIBPATH
16188 # Since July 2007 AmigaOS4 officially supports .so libraries.
16189 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16193 library_names_spec='$libname.ixlibrary $libname.a'
16194 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16195 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
16201 library_names_spec='${libname}${shared_ext}'
16202 dynamic_linker="$host_os ld.so"
16203 shlibpath_var=LIBRARY_PATH
16209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16210 soname_spec='${libname}${release}${shared_ext}$major'
16211 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16212 shlibpath_var=LD_LIBRARY_PATH
16213 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16214 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16215 # the default ld.so.conf also contains /usr/contrib/lib and
16216 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16217 # libtool to hard-code these into programs
16220 cygwin* | mingw* | pw32* | cegcc*)
16221 version_type=windows
16226 case $GCC,$host_os in
16227 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16228 library_names_spec='$libname.dll.a'
16229 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16230 postinstall_cmds='base_file=`basename \${file}`~
16231 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16232 dldir=$destdir/`dirname \$dlpath`~
16233 test -d \$dldir || mkdir -p \$dldir~
16234 $install_prog $dir/$dlname \$dldir/$dlname~
16235 chmod a+x \$dldir/$dlname~
16236 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16237 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16239 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16240 dlpath=$dir/\$dldll~
16242 shlibpath_overrides_runpath=yes
16246 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16247 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16248 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16251 # MinGW DLLs use traditional 'lib' prefix
16252 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16253 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16254 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16255 # It is most probably a Windows format PATH printed by
16256 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16257 # path with ; separators, and with drive letters. We can handle the
16258 # drive letters (cygwin fileutils understands them), so leave them,
16259 # especially as we might pass files found there to a mingw objdump,
16260 # which wouldn't understand a cygwinified path. Ahh.
16261 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16263 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16267 # pw32 DLLs use 'pw' prefix rather than 'lib'
16268 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16274 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16277 dynamic_linker='Win32 ld.exe'
16278 # FIXME: first we should search . and the directory the executable is in
16282 darwin* | rhapsody*)
16283 dynamic_linker="$host_os dyld"
16284 version_type=darwin
16287 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16288 soname_spec='${libname}${release}${major}$shared_ext'
16289 shlibpath_overrides_runpath=yes
16290 shlibpath_var=DYLD_LIBRARY_PATH
16291 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16293 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16301 soname_spec='${libname}${release}${shared_ext}$major'
16302 shlibpath_var=LD_LIBRARY_PATH
16309 freebsd* | dragonfly*)
16310 # DragonFly does not have aout. When/if they implement a new
16311 # versioning mechanism, adjust this.
16312 if test -x /usr/bin/objformat; then
16313 objformat=`/usr/bin/objformat`
16316 freebsd[123]*) objformat=aout ;;
16317 *) objformat=elf ;;
16320 version_type=freebsd-$objformat
16321 case $version_type in
16323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16328 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16332 shlibpath_var=LD_LIBRARY_PATH
16335 shlibpath_overrides_runpath=yes
16337 freebsd3.[01]* | freebsdelf3.[01]*)
16338 shlibpath_overrides_runpath=yes
16339 hardcode_into_libs=yes
16341 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16342 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16343 shlibpath_overrides_runpath=no
16344 hardcode_into_libs=yes
16346 *) # from 4.6 on, and DragonFly
16347 shlibpath_overrides_runpath=yes
16348 hardcode_into_libs=yes
16357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16358 soname_spec='${libname}${release}${shared_ext}$major'
16359 shlibpath_var=LD_LIBRARY_PATH
16360 hardcode_into_libs=yes
16363 hpux9* | hpux10* | hpux11*)
16364 # Give a soname corresponding to the major version so that dld.sl refuses to
16365 # link against other versions.
16372 hardcode_into_libs=yes
16373 dynamic_linker="$host_os dld.so"
16374 shlibpath_var=LD_LIBRARY_PATH
16375 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16377 soname_spec='${libname}${release}${shared_ext}$major'
16378 if test "X$HPUX_IA64_MODE" = X32; then
16379 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16381 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16383 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16387 hardcode_into_libs=yes
16388 dynamic_linker="$host_os dld.sl"
16389 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16390 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16392 soname_spec='${libname}${release}${shared_ext}$major'
16393 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16394 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16398 dynamic_linker="$host_os dld.sl"
16399 shlibpath_var=SHLIB_PATH
16400 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16402 soname_spec='${libname}${release}${shared_ext}$major'
16405 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16406 postinstall_cmds='chmod 555 $lib'
16413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16414 soname_spec='${libname}${release}${shared_ext}$major'
16415 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16416 shlibpath_var=LD_LIBRARY_PATH
16417 shlibpath_overrides_runpath=no
16418 hardcode_into_libs=yes
16421 irix5* | irix6* | nonstopux*)
16423 nonstopux*) version_type=nonstopux ;;
16425 if test "$lt_cv_prog_gnu_ld" = yes; then
16433 soname_spec='${libname}${release}${shared_ext}$major'
16434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16436 irix5* | nonstopux*)
16437 libsuff= shlibsuff=
16440 case $LD in # libtool.m4 will add one of these switches to LD
16441 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16442 libsuff= shlibsuff= libmagic=32-bit;;
16443 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16444 libsuff=32 shlibsuff=N32 libmagic=N32;;
16445 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16446 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16447 *) libsuff= shlibsuff= libmagic=never-match;;
16451 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16452 shlibpath_overrides_runpath=no
16453 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16454 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16455 hardcode_into_libs=yes
16458 # No shared lib support for Linux oldld, aout, or coff.
16459 linux*oldld* | linux*aout* | linux*coff*)
16463 # This must be Linux ELF.
16464 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16469 soname_spec='${libname}${release}${shared_ext}$major'
16470 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16471 shlibpath_var=LD_LIBRARY_PATH
16472 shlibpath_overrides_runpath=no
16473 # Some binutils ld are patched to set DT_RUNPATH
16474 save_LDFLAGS=$LDFLAGS
16475 save_libdir=$libdir
16476 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16477 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16489 if ac_fn_cxx_try_link "$LINENO"; then :
16490 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16491 shlibpath_overrides_runpath=yes
16494 rm -f core conftest.err conftest.$ac_objext \
16495 conftest$ac_exeext conftest.$ac_ext
16496 LDFLAGS=$save_LDFLAGS
16497 libdir=$save_libdir
16499 # This implies no fast_install, which is unacceptable.
16500 # Some rework will be needed to allow for fast_install
16501 # before this can be enabled.
16502 hardcode_into_libs=yes
16504 # Append ld.so.conf contents to the search path
16505 if test -f /etc/ld.so.conf; then
16506 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;/^$/d' | tr '\n' ' '`
16507 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16510 # We used to test for /lib/ld.so.1 and disable shared libraries on
16511 # powerpc, because MkLinux only supported shared libraries with the
16512 # GNU dynamic linker. Since this was broken with cross compilers,
16513 # most powerpc-linux boxes support dynamic linking these days and
16514 # people can always --disable-shared, the test was removed, and we
16515 # assume the GNU/Linux dynamic linker is in use.
16516 dynamic_linker='GNU/Linux ld.so'
16523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16524 soname_spec='${libname}${release}${shared_ext}$major'
16525 shlibpath_var=LD_LIBRARY_PATH
16526 shlibpath_overrides_runpath=no
16527 hardcode_into_libs=yes
16528 dynamic_linker='NetBSD ld.elf_so'
16535 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16537 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16538 dynamic_linker='NetBSD (a.out) ld.so'
16540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16541 soname_spec='${libname}${release}${shared_ext}$major'
16542 dynamic_linker='NetBSD ld.elf_so'
16544 shlibpath_var=LD_LIBRARY_PATH
16545 shlibpath_overrides_runpath=yes
16546 hardcode_into_libs=yes
16551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16552 shlibpath_var=LD_LIBRARY_PATH
16553 shlibpath_overrides_runpath=yes
16560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16561 soname_spec='${libname}${release}${shared_ext}$major'
16562 shlibpath_var=LD_LIBRARY_PATH
16563 shlibpath_overrides_runpath=no
16564 hardcode_into_libs=yes
16565 dynamic_linker='ldqnx.so'
16570 sys_lib_dlsearch_path_spec="/usr/lib"
16572 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16574 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16575 *) need_version=no ;;
16577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16578 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16579 shlibpath_var=LD_LIBRARY_PATH
16580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16582 openbsd2.[89] | openbsd2.[89].*)
16583 shlibpath_overrides_runpath=no
16586 shlibpath_overrides_runpath=yes
16590 shlibpath_overrides_runpath=yes
16595 libname_spec='$name'
16598 library_names_spec='$libname${shared_ext} $libname.a'
16599 dynamic_linker='OS/2 ld.exe'
16600 shlibpath_var=LIBPATH
16603 osf3* | osf4* | osf5*)
16607 soname_spec='${libname}${release}${shared_ext}$major'
16608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16609 shlibpath_var=LD_LIBRARY_PATH
16610 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16611 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16623 soname_spec='${libname}${release}${shared_ext}$major'
16624 shlibpath_var=LD_LIBRARY_PATH
16625 shlibpath_overrides_runpath=yes
16626 hardcode_into_libs=yes
16627 # ldd complains unless libraries are executable
16628 postinstall_cmds='chmod +x $lib'
16633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16634 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16635 shlibpath_var=LD_LIBRARY_PATH
16636 shlibpath_overrides_runpath=yes
16637 if test "$with_gnu_ld" = yes; then
16645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16646 soname_spec='${libname}${release}${shared_ext}$major'
16647 shlibpath_var=LD_LIBRARY_PATH
16648 case $host_vendor in
16650 shlibpath_overrides_runpath=no
16652 runpath_var=LD_RUN_PATH
16660 shlibpath_overrides_runpath=no
16661 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16667 if test -d /usr/nec ;then
16669 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16670 soname_spec='$libname${shared_ext}.$major'
16671 shlibpath_var=LD_LIBRARY_PATH
16675 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16676 version_type=freebsd-elf
16679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16680 soname_spec='${libname}${release}${shared_ext}$major'
16681 shlibpath_var=LD_LIBRARY_PATH
16682 shlibpath_overrides_runpath=yes
16683 hardcode_into_libs=yes
16684 if test "$with_gnu_ld" = yes; then
16685 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16687 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16690 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16694 sys_lib_dlsearch_path_spec='/usr/lib'
16698 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16703 shlibpath_var=LD_LIBRARY_PATH
16704 shlibpath_overrides_runpath=no
16705 hardcode_into_libs=yes
16710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16711 soname_spec='${libname}${release}${shared_ext}$major'
16712 shlibpath_var=LD_LIBRARY_PATH
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16720 $as_echo "$dynamic_linker" >&6; }
16721 test "$dynamic_linker" = no && can_build_shared=no
16723 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16724 if test "$GCC" = yes; then
16725 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16728 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16729 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16731 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16732 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16771 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16772 hardcode_action_CXX=
16773 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16774 test -n "$runpath_var_CXX" ||
16775 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16777 # We can hardcode non-existent directories.
16778 if test "$hardcode_direct_CXX" != no &&
16779 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16780 # have to relink, otherwise we might link with an installed library
16781 # when we should be linking with a yet-to-be-installed one
16782 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16783 test "$hardcode_minus_L_CXX" != no; then
16784 # Linking always hardcodes the temporary library directory.
16785 hardcode_action_CXX=relink
16787 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16788 hardcode_action_CXX=immediate
16791 # We cannot hardcode anything, or else we can only hardcode existing
16793 hardcode_action_CXX=unsupported
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16796 $as_echo "$hardcode_action_CXX" >&6; }
16798 if test "$hardcode_action_CXX" = relink ||
16799 test "$inherit_rpath_CXX" = yes; then
16800 # Fast installation is not supported
16801 enable_fast_install=no
16802 elif test "$shlibpath_overrides_runpath" = yes ||
16803 test "$enable_shared" = no; then
16804 # Fast installation is not necessary
16805 enable_fast_install=needless
16814 fi # test -n "$compiler"
16820 with_gnu_ld=$lt_save_with_gnu_ld
16821 lt_cv_path_LDCXX=$lt_cv_path_LD
16822 lt_cv_path_LD=$lt_save_path_LD
16823 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16824 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16825 fi # test "$_lt_caught_CXX_error" != yes
16828 ac_cpp='$CPP $CPPFLAGS'
16829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16833 if test "x$CC" != xcc; then
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16835 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16838 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16840 set dummy $CC; ac_cc=`$as_echo "$2" |
16841 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16842 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
16843 $as_echo_n "(cached) " >&6
16845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846 /* end confdefs.h. */
16856 # Make sure it works both with $CC and with simple cc.
16857 # We do the test twice because some compilers refuse to overwrite an
16858 # existing .o file with -o, though they will create one.
16859 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16861 if { { case "(($ac_try" in
16862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16863 *) ac_try_echo=$ac_try;;
16865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16866 $as_echo "$ac_try_echo"; } >&5
16867 (eval "$ac_try") 2>&5
16869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16870 test $ac_status = 0; } &&
16871 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16873 *) ac_try_echo=$ac_try;;
16875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16876 $as_echo "$ac_try_echo"; } >&5
16877 (eval "$ac_try") 2>&5
16879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16880 test $ac_status = 0; };
16882 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16883 if test "x$CC" != xcc; then
16884 # Test first that cc exists at all.
16885 if { ac_try='cc -c conftest.$ac_ext >&5'
16886 { { case "(($ac_try" in
16887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16888 *) ac_try_echo=$ac_try;;
16890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16891 $as_echo "$ac_try_echo"; } >&5
16892 (eval "$ac_try") 2>&5
16894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16895 test $ac_status = 0; }; }; then
16896 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16898 if { { case "(($ac_try" in
16899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16900 *) ac_try_echo=$ac_try;;
16902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16903 $as_echo "$ac_try_echo"; } >&5
16904 (eval "$ac_try") 2>&5
16906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16907 test $ac_status = 0; } &&
16908 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16910 *) ac_try_echo=$ac_try;;
16912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16913 $as_echo "$ac_try_echo"; } >&5
16914 (eval "$ac_try") 2>&5
16916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16917 test $ac_status = 0; };
16922 # cc exists but doesn't like -o.
16923 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16928 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16930 rm -f core conftest*
16933 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16935 $as_echo "yes" >&6; }
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16938 $as_echo "no" >&6; }
16940 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16944 # FIXME: we rely on the cache variable name because
16945 # there is no other way.
16947 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16948 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16949 if test "$am_t" != yes; then
16950 # Losing compiler, so override with the script.
16951 # FIXME: It is wrong to rewrite CC.
16952 # But if we don't then we get into trouble of one sort or another.
16953 # A longer-term fix would be to have automake use am__CC in this case,
16954 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16955 CC="$am_aux_dir/compile $CC"
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16960 $as_echo_n "checking for inline... " >&6; }
16961 if test "${ac_cv_c_inline+set}" = set; then :
16962 $as_echo_n "(cached) " >&6
16965 for ac_kw in inline __inline__ __inline; do
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16968 #ifndef __cplusplus
16970 static $ac_kw foo_t static_foo () {return 0; }
16971 $ac_kw foo_t foo () {return 0; }
16975 if ac_fn_c_try_compile "$LINENO"; then :
16976 ac_cv_c_inline=$ac_kw
16978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16979 test "$ac_cv_c_inline" != no && break
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16984 $as_echo "$ac_cv_c_inline" >&6; }
16986 case $ac_cv_c_inline in
16989 case $ac_cv_c_inline in
16991 *) ac_val=$ac_cv_c_inline;;
16993 cat >>confdefs.h <<_ACEOF
16994 #ifndef __cplusplus
16995 #define inline $ac_val
17005 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17006 if test -n "$ac_tool_prefix"; then
17007 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17008 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17010 $as_echo_n "checking for $ac_word... " >&6; }
17011 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17012 $as_echo_n "(cached) " >&6
17014 case $PKG_CONFIG in
17016 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17020 for as_dir in $PATH
17023 test -z "$as_dir" && as_dir=.
17024 for ac_exec_ext in '' $ac_executable_extensions; do
17025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17026 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17037 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17038 if test -n "$PKG_CONFIG"; then
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17040 $as_echo "$PKG_CONFIG" >&6; }
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17043 $as_echo "no" >&6; }
17048 if test -z "$ac_cv_path_PKG_CONFIG"; then
17049 ac_pt_PKG_CONFIG=$PKG_CONFIG
17050 # Extract the first word of "pkg-config", so it can be a program name with args.
17051 set dummy pkg-config; ac_word=$2
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17053 $as_echo_n "checking for $ac_word... " >&6; }
17054 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
17055 $as_echo_n "(cached) " >&6
17057 case $ac_pt_PKG_CONFIG in
17059 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17063 for as_dir in $PATH
17066 test -z "$as_dir" && as_dir=.
17067 for ac_exec_ext in '' $ac_executable_extensions; do
17068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17069 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17080 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17081 if test -n "$ac_pt_PKG_CONFIG"; then
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17083 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17086 $as_echo "no" >&6; }
17089 if test "x$ac_pt_PKG_CONFIG" = x; then
17092 case $cross_compiling:$ac_tool_warned in
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17096 ac_tool_warned=yes ;;
17098 PKG_CONFIG=$ac_pt_PKG_CONFIG
17101 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17105 if test -n "$PKG_CONFIG"; then
17106 _pkg_min_version=0.9.0
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17108 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17109 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17111 $as_echo "yes" >&6; }
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17114 $as_echo "no" >&6; }
17119 if test "x$PKG_CONFIG" = x; then
17120 as_fn_error $? "pkg-config >= $PKGCONFIG_REQUIRED required but not found (http://pkgconfig.freedesktop.org/)" "$LINENO" 5
17123 case `$PKG_CONFIG --version` in
17124 0.?|0.?.?|0.1[0-7]|0.1[0-7].?) PKGCONFIG_REQUIRES="Requires"; ;;
17125 *) PKGCONFIG_REQUIRES="Requires.private"; ;;
17145 CAIRO_MAKEFILE___WIN32='# Generated by configure. Modify to customize.
17148 ac_config_commands="$ac_config_commands $srcdir/build/Makefile.win32.features"
17153 CAIRO_MAKEFILE_cairo_AMAKE='# Generated by configure. Do not edit.
17156 ac_config_commands="$ac_config_commands $srcdir/src/Makefile.am.features"
17159 CAIRO_MAKEFILE_cairo_WIN32='# Generated by configure. Do not edit.
17162 ac_config_commands="$ac_config_commands $srcdir/src/Makefile.win32.features"
17166 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE='# Generated by configure. Do not edit.
17169 ac_config_commands="$ac_config_commands $srcdir/boilerplate/Makefile.am.features"
17172 CAIRO_MAKEFILE_cairo_boilerplate_WIN32='# Generated by configure. Do not edit.
17175 ac_config_commands="$ac_config_commands $srcdir/boilerplate/Makefile.win32.features"
17177 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17178 "'include $(top_srcdir)/src/Makefile.sources
17181 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17182 "'ifeq ($(top_srcdir),)
17183 include Makefile.sources
17185 include $(top_srcdir)/src/Makefile.sources
17189 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17190 "'include $(top_srcdir)/boilerplate/Makefile.sources
17193 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17194 "'ifeq ($(top_srcdir),)
17195 include Makefile.sources
17197 include $(top_srcdir)/boilerplate/Makefile.sources
17203 cr_make_tmp='supported_cairo_headers = $(cairo_headers)'
17204 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17207 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17210 cr_make_tmp='supported_cairo_boilerplate_headers = $(cairo_boilerplate_headers)'
17211 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17214 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17218 cr_make_tmp='unsupported_cairo_headers ='
17219 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17222 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17225 cr_make_tmp='unsupported_cairo_boilerplate_headers ='
17226 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17229 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17233 cr_make_tmp='all_cairo_headers = $(cairo_headers)
17234 all_cairo_private = $(cairo_private)
17235 all_cairo_cxx_sources = $(cairo_cxx_sources)
17236 all_cairo_sources = $(cairo_sources)
17238 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17241 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17244 cr_make_tmp='all_cairo_boilerplate_headers = $(cairo_boilerplate_headers)
17245 all_cairo_boilerplate_private = $(cairo_boilerplate_private)
17246 all_cairo_boilerplate_cxx_sources = $(cairo_boilerplate_cxx_sources)
17247 all_cairo_boilerplate_sources = $(cairo_boilerplate_sources)
17249 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17252 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17256 cr_make_tmp='enabled_cairo_headers = $(cairo_headers)
17257 enabled_cairo_private = $(cairo_private)
17258 enabled_cairo_cxx_sources = $(cairo_cxx_sources)
17259 enabled_cairo_sources = $(cairo_sources)
17261 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17264 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17267 cr_make_tmp='enabled_cairo_boilerplate_headers = $(cairo_boilerplate_headers)
17268 enabled_cairo_boilerplate_private = $(cairo_boilerplate_private)
17269 enabled_cairo_boilerplate_cxx_sources = $(cairo_boilerplate_cxx_sources)
17270 enabled_cairo_boilerplate_sources = $(cairo_boilerplate_sources)
17272 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17275 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17284 ac_config_files="$ac_config_files src/cairo.pc"
17285 ac_config_files="$ac_config_files cairo-uninstalled.pc:src/cairo-uninstalled.pc.in"
17289 CAIRO_NONPKGCONFIG_CFLAGS=""
17291 CAIRO_NONPKGCONFIG_LIBS="$LIBS"
17298 cr_make_tmp='all_cairo_pkgconf = cairo.pc'
17299 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17302 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17306 cr_make_tmp='enabled_cairo_pkgconf = cairo.pc'
17307 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17310 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17317 CAIRO_SUPPORTED_FEATURES=''
17318 CAIRO_NO_FEATURES=''
17320 ac_config_commands="$ac_config_commands src/cairo-features.h"
17322 ac_config_commands="$ac_config_commands src/cairo-supported-features.h"
17328 CAIRO_MAKEFILE_win32_features_h_WIN32='# Generated by configure. Do not edit.
17331 ac_config_commands="$ac_config_commands $srcdir/build/Makefile.win32.features-h"
17334 cr_make_tmp='$(top_srcdir)/src/cairo-features.h: $(top_srcdir)/build/Makefile.win32.features
17335 @echo "Generating src/cairo-features.h"
17336 @echo "/* Generated by Makefile.win32.features-h. Do not edit. */" > $(top_srcdir)/src/cairo-features.h
17337 @echo "#ifndef CAIRO_FEATURES_H" >> $(top_srcdir)/src/cairo-features.h
17338 @echo "#define CAIRO_FEATURES_H 1" >> $(top_srcdir)/src/cairo-features.h'
17339 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
17346 CAIRO_WARNING_MESSAGE=''
17351 CAIRO_NATIVE_SURFACE_BACKENDS=''
17352 CAIRO_NATIVE_FONT_BACKENDS=''
17359 # -Wcast-align generates lots of false positive reports we need to
17360 # cast image data from uint8_t to uin32_t.
17362 # -Wlogical-op causes too much noise from strcmp("literal", str)
17364 MAYBE_WARN="-Wall -Wextra \
17365 -Wold-style-definition -Wdeclaration-after-statement \
17366 -Wmissing-declarations -Werror-implicit-function-declaration \
17367 -Wnested-externs -Wpointer-arith -Wwrite-strings \
17368 -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes \
17369 -Wpacked -Wswitch-enum -Wmissing-format-attribute \
17370 -Wbad-function-cast -Wvolatile-register-var \
17371 -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations \
17372 -Wno-missing-field-initializers -Wno-unused-parameter \
17373 -Wno-attributes -Wno-long-long -Winline"
17375 # -Wunused-but-set-variable is too noisy at present
17376 NO_WARN="-Wno-unused-but-set-variable"
17378 MAYBE_WARN="$MAYBE_WARN -erroff=E_ENUM_TYPE_MISMATCH_ARG \
17379 -erroff=E_ENUM_TYPE_MISMATCH_OP"
17383 safe_MAYBE_WARN="$MAYBE_WARN"
17384 MAYBE_WARN="$MAYBE_WARN -flto"
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17392 int main(int argc, char **argv) { return 0; }
17398 if ac_fn_c_try_link "$LINENO"; then :
17402 MAYBE_WARN="$safe_MAYBE_WARN"
17405 rm -f core conftest.err conftest.$ac_objext \
17406 conftest$ac_exeext conftest.$ac_ext
17408 MAYBE_WARN="$MAYBE_WARN -fno-strict-aliasing -fno-common"
17410 MAYBE_WARN="$MAYBE_WARN -Wp,-D_FORTIFY_SOURCE=2"
17412 MAYBE_WARN="$MAYBE_WARN $NO_WARN"
17414 # invalidate cached value if MAYBE_WARN has changed
17415 if test "x$cairo_cv_warn_maybe" != "x$MAYBE_WARN"; then
17416 unset cairo_cv_warn_cflags
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported warning flags" >&5
17419 $as_echo_n "checking for supported warning flags... " >&6; }
17420 if test "${cairo_cv_warn_cflags+set}" = set; then :
17421 $as_echo_n "(cached) " >&6
17427 # Some warning options are not supported by all versions of
17428 # gcc, so test all desired options against the current
17431 # Note that there are some order dependencies
17432 # here. Specifically, an option that disables a warning will
17433 # have no net effect if a later option then enables that
17434 # warnings, (perhaps implicitly). So we put some grouped
17435 # options (-Wall and -Wextra) up front and the -Wno options
17438 for W in $MAYBE_WARN; do
17439 _test_WERROR=${WERROR+set}
17440 if test "z$_test_WERROR" != zset; then
17442 for _werror in -Werror -errwarn; do
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $_werror" >&5
17444 $as_echo_n "checking whether $CC supports $_werror... " >&6; }
17445 # AC_LANG_PROGRAM() produces a main() w/o args,
17446 # but -Wold-style-definition doesn't like that.
17447 # We need _some_ program so that we don't get
17448 # warnings about empty compilation units, so always
17449 # append a reasonable main().
17450 _compile_program=""'
17451 int main(int c, char **v) { (void)c; (void)v; return 0; }'
17453 _save_cflags="$CFLAGS"
17454 _save_ldflags="$LDFLAGS"
17456 CFLAGS="$CFLAGS $_werror"
17457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17458 /* end confdefs.h. */
17461 if ac_fn_c_try_link "$LINENO"; then :
17462 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17465 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17468 rm -f core conftest.err conftest.$ac_objext \
17469 conftest$ac_exeext conftest.$ac_ext
17471 if test "x$cairo_cc_stderr" != "x"; then
17475 if test "x$cairo_cc_flag" = "xyes"; then
17476 WERROR="$WERROR $_werror"
17480 CFLAGS="$_save_cflags"
17481 LDFLAGS="$_save_ldflags"
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
17486 $as_echo "$cairo_cc_flag" >&6; }
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $W" >&5
17491 $as_echo_n "checking whether $CC supports $W... " >&6; }
17492 # AC_LANG_PROGRAM() produces a main() w/o args,
17493 # but -Wold-style-definition doesn't like that.
17494 # We need _some_ program so that we don't get
17495 # warnings about empty compilation units, so always
17496 # append a reasonable main().
17497 _compile_program=""'
17498 int main(int c, char **v) { (void)c; (void)v; return 0; }'
17500 _save_cflags="$CFLAGS"
17501 _save_ldflags="$LDFLAGS"
17503 CFLAGS="$CFLAGS $WERROR $W"
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17508 if ac_fn_c_try_link "$LINENO"; then :
17509 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17512 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17515 rm -f core conftest.err conftest.$ac_objext \
17516 conftest$ac_exeext conftest.$ac_ext
17518 if test "x$cairo_cc_stderr" != "x"; then
17522 if test "x$cairo_cc_flag" = "xyes"; then
17523 WARN_CFLAGS="$WARN_CFLAGS $W"
17527 CFLAGS="$_save_cflags"
17528 LDFLAGS="$_save_ldflags"
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
17533 $as_echo "$cairo_cc_flag" >&6; }
17537 cairo_cv_warn_cflags=$WARN_CFLAGS
17538 cairo_cv_warn_maybe=$MAYBE_WARN
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which warning flags were supported" >&5
17541 $as_echo_n "checking which warning flags were supported... " >&6; }
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_warn_cflags" >&5
17545 $as_echo "$cairo_cv_warn_cflags" >&6; }
17546 WARN_CFLAGS="$cairo_cv_warn_cflags"
17547 CAIRO_CFLAGS="$CAIRO_CFLAGS $WARN_CFLAGS"
17549 # We only wish to enable attribute(warn_unused_result) if we can prevent
17550 # gcc from generating thousands of warnings about the misapplication of the
17551 # attribute to void functions and variables.
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to enable unused result warnings" >&5
17553 $as_echo_n "checking how to enable unused result warnings... " >&6; }
17554 if test "${cairo_cv_warn_unused_result+set}" = set; then :
17555 $as_echo_n "(cached) " >&6
17559 cairo_cv_warn_unused_result=""
17560 if echo $WARN_CFLAGS | $GREP -e '-Wno-attributes' >/dev/null; then
17561 # AC_LANG_PROGRAM() produces a main() w/o args,
17562 # but -Wold-style-definition doesn't like that.
17563 # We need _some_ program so that we don't get
17564 # warnings about empty compilation units, so always
17565 # append a reasonable main().
17566 _compile_program="__attribute__((__warn_unused_result__)) void f (void) {}
17567 __attribute__((__warn_unused_result__)) int g;"'
17568 int main(int c, char **v) { (void)c; (void)v; return 0; }'
17570 _save_cflags="$CFLAGS"
17571 _save_ldflags="$LDFLAGS"
17573 CFLAGS="$CFLAGS -Wno-attributes"
17574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h. */
17578 if ac_fn_c_try_link "$LINENO"; then :
17579 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17582 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17585 rm -f core conftest.err conftest.$ac_objext \
17586 conftest$ac_exeext conftest.$ac_ext
17588 if test "x$cairo_cc_stderr" != "x"; then
17592 if test "x$cairo_cc_flag" = "xyes"; then
17593 cairo_cv_warn_unused_result="__attribute__((__warn_unused_result__))"
17597 CFLAGS="$_save_cflags"
17598 LDFLAGS="$_save_ldflags"
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_warn_unused_result" >&5
17606 $as_echo "$cairo_cv_warn_unused_result" >&6; }
17608 cat >>confdefs.h <<_ACEOF
17609 #define WARN_UNUSED_RESULT $cairo_cv_warn_unused_result
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to allow undefined symbols in shared libraries used by test suite" >&5
17614 $as_echo_n "checking how to allow undefined symbols in shared libraries used by test suite... " >&6; }
17615 if test "${cairo_cv_test_undefined_ldflags+set}" = set; then :
17616 $as_echo_n "(cached) " >&6
17618 # AC_LANG_PROGRAM() produces a main() w/o args,
17619 # but -Wold-style-definition doesn't like that.
17620 # We need _some_ program so that we don't get
17621 # warnings about empty compilation units, so always
17622 # append a reasonable main().
17623 _compile_program=""'
17624 int main(int c, char **v) { (void)c; (void)v; return 0; }'
17626 _save_cflags="$CFLAGS"
17627 _save_ldflags="$LDFLAGS"
17629 CFLAGS="$CFLAGS -Wl,--allow-shlib-undefined"
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h. */
17634 if ac_fn_c_try_link "$LINENO"; then :
17635 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17638 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17641 rm -f core conftest.err conftest.$ac_objext \
17642 conftest$ac_exeext conftest.$ac_ext
17644 if test "x$cairo_cc_stderr" != "x"; then
17648 if test "x$cairo_cc_flag" = "xyes"; then
17649 cairo_cv_test_undefined_ldflags="-Wl,--allow-shlib-undefined"
17653 CFLAGS="$_save_cflags"
17654 LDFLAGS="$_save_ldflags"
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_test_undefined_ldflags" >&5
17660 $as_echo "$cairo_cv_test_undefined_ldflags" >&6; }
17661 CAIRO_TEST_UNDEFINED_LDFLAGS="$cairo_cv_test_undefined_ldflags"
17665 if test "x$cross_compiling" = "xyes"; then
17666 CROSS_COMPILING_TRUE=
17667 CROSS_COMPILING_FALSE='#'
17669 CROSS_COMPILING_TRUE='#'
17670 CROSS_COMPILING_FALSE=
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
17679 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
17680 if test "${ac_cv_c_bigendian+set}" = set; then :
17681 $as_echo_n "(cached) " >&6
17683 ac_cv_c_bigendian=unknown
17684 # See if we're dealing with a universal compiler.
17685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17687 #ifndef __APPLE_CC__
17688 not a universal capable compiler
17693 if ac_fn_c_try_compile "$LINENO"; then :
17695 # Check for potential -arch flags. It is not universal unless
17696 # there are at least two -arch flags with different values.
17699 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
17700 if test -n "$ac_prev"; then
17702 i?86 | x86_64 | ppc | ppc64)
17703 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
17706 ac_cv_c_bigendian=universal
17712 elif test "x$ac_word" = "x-arch"; then
17717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17718 if test $ac_cv_c_bigendian = unknown; then
17719 # See if sys/param.h defines the BYTE_ORDER macro.
17720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17722 #include <sys/types.h>
17723 #include <sys/param.h>
17728 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
17729 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
17731 bogus endian macros
17738 if ac_fn_c_try_compile "$LINENO"; then :
17739 # It does; now see whether it defined to BIG_ENDIAN or not.
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17742 #include <sys/types.h>
17743 #include <sys/param.h>
17748 #if BYTE_ORDER != BIG_ENDIAN
17756 if ac_fn_c_try_compile "$LINENO"; then :
17757 ac_cv_c_bigendian=yes
17759 ac_cv_c_bigendian=no
17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17765 if test $ac_cv_c_bigendian = unknown; then
17766 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
17767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17769 #include <limits.h>
17774 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
17775 bogus endian macros
17782 if ac_fn_c_try_compile "$LINENO"; then :
17783 # It does; now see whether it defined to _BIG_ENDIAN or not.
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17786 #include <limits.h>
17791 #ifndef _BIG_ENDIAN
17799 if ac_fn_c_try_compile "$LINENO"; then :
17800 ac_cv_c_bigendian=yes
17802 ac_cv_c_bigendian=no
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 if test $ac_cv_c_bigendian = unknown; then
17809 # Compile a test program.
17810 if test "$cross_compiling" = yes; then :
17811 # Try to guess by grepping values from an object file.
17812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h. */
17814 short int ascii_mm[] =
17815 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17816 short int ascii_ii[] =
17817 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17818 int use_ascii (int i) {
17819 return ascii_mm[i] + ascii_ii[i];
17821 short int ebcdic_ii[] =
17822 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17823 short int ebcdic_mm[] =
17824 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17825 int use_ebcdic (int i) {
17826 return ebcdic_mm[i] + ebcdic_ii[i];
17833 return use_ascii (foo) == use_ebcdic (foo);
17838 if ac_fn_c_try_compile "$LINENO"; then :
17839 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
17840 ac_cv_c_bigendian=yes
17842 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
17843 if test "$ac_cv_c_bigendian" = unknown; then
17844 ac_cv_c_bigendian=no
17846 # finding both strings is unlikely to happen, but who knows?
17847 ac_cv_c_bigendian=unknown
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 $ac_includes_default
17860 /* Are we little or big endian? From Harbison&Steele. */
17864 char c[sizeof (long int)];
17867 return u.c[sizeof (long int) - 1] == 1;
17873 if ac_fn_c_try_run "$LINENO"; then :
17874 ac_cv_c_bigendian=no
17876 ac_cv_c_bigendian=yes
17878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17879 conftest.$ac_objext conftest.beam conftest.$ac_ext
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
17885 $as_echo "$ac_cv_c_bigendian" >&6; }
17886 case $ac_cv_c_bigendian in #(
17888 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
17894 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
17898 as_fn_error $? "unknown endianness
17899 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether float word ordering is bigendian" >&5
17903 $as_echo_n "checking whether float word ordering is bigendian... " >&6; }
17904 if test "${ax_cv_c_float_words_bigendian+set}" = set; then :
17905 $as_echo_n "(cached) " >&6
17909 # The endianess is detected by first compiling C code that contains a special
17910 # double float value, then grepping the resulting object file for certain
17911 # strings of ascii values. The double is specially crafted to have a
17912 # binary representation that corresponds with a simple string. In this
17913 # implementation, the string "noonsees" was selected because the individual
17914 # word values ("noon" and "sees") are palindromes, thus making this test
17915 # byte-order agnostic. If grep finds the string "noonsees" in the object
17916 # file, the target platform stores float words in big-endian order. If grep
17917 # finds "seesnoon", float words are in little-endian order. If neither value
17918 # is found, the user is instructed to specify the ordering.
17920 ax_cv_c_float_words_bigendian=unknown
17921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17922 /* end confdefs.h. */
17925 double d = 90904234967036810337470478905505011476211692735615632014797120844053488865816695273723469097858056257517020191247487429516932130503560650002327564517570778480236724525140520121371739201496540132640109977779420565776568942592.0;
17929 if ac_fn_c_try_compile "$LINENO"; then :
17932 if strings - conftest.$ac_objext | grep noonsees >/dev/null ; then
17933 ax_cv_c_float_words_bigendian=yes
17935 if strings - conftest.$ac_objext | grep seesnoon >/dev/null ; then
17936 if test "$ax_cv_c_float_words_bigendian" = unknown; then
17937 ax_cv_c_float_words_bigendian=no
17939 ax_cv_c_float_words_bigendian=unknown
17945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_float_words_bigendian" >&5
17948 $as_echo "$ax_cv_c_float_words_bigendian" >&6; }
17950 case $ax_cv_c_float_words_bigendian in
17953 $as_echo "#define FLOAT_WORDS_BIGENDIAN 1" >>confdefs.h
17960 Unknown float word ordering. You need to manually preset
17961 ax_cv_c_float_words_bigendian=no (or yes) according to your system.
17970 # Check whether --enable-atomic was given.
17971 if test "${enable_atomic+set}" = set; then :
17972 enableval=$enable_atomic; use_atomic=$enableval
17977 if test "x$use_atomic" = "xyes"; then :
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native atomic primitives" >&5
17980 $as_echo_n "checking for native atomic primitives... " >&6; }
17981 if test "${cairo_cv_atomic_primitives+set}" = set; then :
17982 $as_echo_n "(cached) " >&6
17985 cairo_cv_atomic_primitives="none"
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17990 int atomic_add(int i) { return __sync_fetch_and_add (&i, 1); }
17991 int atomic_cmpxchg(int i, int j, int k) { return __sync_val_compare_and_swap (&i, j, k); }
18001 if ac_fn_c_try_link "$LINENO"; then :
18002 cairo_cv_atomic_primitives="Intel"
18005 rm -f core conftest.err conftest.$ac_objext \
18006 conftest$ac_exeext conftest.$ac_ext
18008 if test "x$cairo_cv_atomic_primitives" = "xnone"; then
18009 ac_fn_c_check_header_mongrel "$LINENO" "atomic_ops.h" "ac_cv_header_atomic_ops_h" "$ac_includes_default"
18010 if test "x$ac_cv_header_atomic_ops_h" = x""yes; then :
18011 cairo_cv_atomic_primitives="libatomic-ops"
18017 if test "x$cairo_cv_atomic_primitives" = "xnone"; then
18018 ac_fn_c_check_header_mongrel "$LINENO" "libkern/OSAtomic.h" "ac_cv_header_libkern_OSAtomic_h" "$ac_includes_default"
18019 if test "x$ac_cv_header_libkern_OSAtomic_h" = x""yes; then :
18020 cairo_cv_atomic_primitives="OSAtomic"
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_atomic_primitives" >&5
18028 $as_echo "$cairo_cv_atomic_primitives" >&6; }
18029 if test "x$cairo_cv_atomic_primitives" = xIntel; then
18031 $as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
18035 if test "x$cairo_cv_atomic_primitives" = "xlibatomic-ops"; then
18037 $as_echo "#define HAVE_LIB_ATOMIC_OPS 1" >>confdefs.h
18041 if test "x$cairo_cv_atomic_primitives" = xOSAtomic; then
18043 $as_echo "#define HAVE_OS_ATOMIC_OPS 1" >>confdefs.h
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic ops require a memory barrier" >&5
18048 $as_echo_n "checking whether atomic ops require a memory barrier... " >&6; }
18049 if test "${cairo_cv_atomic_op_needs_memory_barrier+set}" = set; then :
18050 $as_echo_n "(cached) " >&6
18054 i?86) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
18055 x86_64) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
18056 arm*) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
18057 *) cairo_cv_atomic_op_needs_memory_barrier="yes" ;;
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_atomic_op_needs_memory_barrier" >&5
18062 $as_echo "$cairo_cv_atomic_op_needs_memory_barrier" >&6; }
18063 if test "x$cairo_cv_atomic_op_needs_memory_barrier" = "xyes"; then
18065 cat >>confdefs.h <<_ACEOF
18066 #define ATOMIC_OP_NEEDS_MEMORY_BARRIER 1
18073 # The cast to long int works around a bug in the HP C Compiler
18074 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18075 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18076 # This bug is HP SR number 8606223364.
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
18078 $as_echo_n "checking size of void *... " >&6; }
18079 if test "${ac_cv_sizeof_void_p+set}" = set; then :
18080 $as_echo_n "(cached) " >&6
18082 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
18085 if test "$ac_cv_type_void_p" = yes; then
18086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18088 as_fn_error 77 "cannot compute sizeof (void *)
18089 See \`config.log' for more details" "$LINENO" 5 ; }
18091 ac_cv_sizeof_void_p=0
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
18097 $as_echo "$ac_cv_sizeof_void_p" >&6; }
18101 cat >>confdefs.h <<_ACEOF
18102 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18106 # The cast to long int works around a bug in the HP C Compiler
18107 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18108 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18109 # This bug is HP SR number 8606223364.
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
18111 $as_echo_n "checking size of int... " >&6; }
18112 if test "${ac_cv_sizeof_int+set}" = set; then :
18113 $as_echo_n "(cached) " >&6
18115 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
18118 if test "$ac_cv_type_int" = yes; then
18119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18121 as_fn_error 77 "cannot compute sizeof (int)
18122 See \`config.log' for more details" "$LINENO" 5 ; }
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
18130 $as_echo "$ac_cv_sizeof_int" >&6; }
18134 cat >>confdefs.h <<_ACEOF
18135 #define SIZEOF_INT $ac_cv_sizeof_int
18139 # The cast to long int works around a bug in the HP C Compiler
18140 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18141 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18142 # This bug is HP SR number 8606223364.
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
18144 $as_echo_n "checking size of long... " >&6; }
18145 if test "${ac_cv_sizeof_long+set}" = set; then :
18146 $as_echo_n "(cached) " >&6
18148 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
18151 if test "$ac_cv_type_long" = yes; then
18152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18154 as_fn_error 77 "cannot compute sizeof (long)
18155 See \`config.log' for more details" "$LINENO" 5 ; }
18157 ac_cv_sizeof_long=0
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
18163 $as_echo "$ac_cv_sizeof_long" >&6; }
18167 cat >>confdefs.h <<_ACEOF
18168 #define SIZEOF_LONG $ac_cv_sizeof_long
18172 # The cast to long int works around a bug in the HP C Compiler
18173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18175 # This bug is HP SR number 8606223364.
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
18177 $as_echo_n "checking size of long long... " >&6; }
18178 if test "${ac_cv_sizeof_long_long+set}" = set; then :
18179 $as_echo_n "(cached) " >&6
18181 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
18184 if test "$ac_cv_type_long_long" = yes; then
18185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18187 as_fn_error 77 "cannot compute sizeof (long long)
18188 See \`config.log' for more details" "$LINENO" 5 ; }
18190 ac_cv_sizeof_long_long=0
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
18196 $as_echo "$ac_cv_sizeof_long_long" >&6; }
18200 cat >>confdefs.h <<_ACEOF
18201 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18205 # The cast to long int works around a bug in the HP C Compiler
18206 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18207 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18208 # This bug is HP SR number 8606223364.
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
18210 $as_echo_n "checking size of size_t... " >&6; }
18211 if test "${ac_cv_sizeof_size_t+set}" = set; then :
18212 $as_echo_n "(cached) " >&6
18214 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
18217 if test "$ac_cv_type_size_t" = yes; then
18218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18220 as_fn_error 77 "cannot compute sizeof (size_t)
18221 See \`config.log' for more details" "$LINENO" 5 ; }
18223 ac_cv_sizeof_size_t=0
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
18229 $as_echo "$ac_cv_sizeof_size_t" >&6; }
18233 cat >>confdefs.h <<_ACEOF
18234 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
18240 $as_echo_n "checking for native Win32... " >&6; }
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_os_win32" >&5
18250 $as_echo "$cairo_os_win32" >&6; }
18251 if test "$cairo_os_win32" = "yes"; then
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sun Solaris (non-POSIX ctime_r)" >&5
18261 $as_echo_n "checking for Sun Solaris (non-POSIX ctime_r)... " >&6; }
18264 CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS"
18265 solaris_posix_pthread=yes
18268 solaris_posix_pthread=no
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $solaris_posix_pthread" >&5
18272 $as_echo "$solaris_posix_pthread" >&6; }
18277 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
18278 # These system don't have libm, or don't need it
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
18282 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
18283 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
18284 $as_echo_n "(cached) " >&6
18286 ac_check_lib_save_LIBS=$LIBS
18288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h. */
18291 /* Override any GCC internal prototype to avoid an error.
18292 Use char because int might match the return type of a GCC
18293 builtin and then its argument prototype would still apply. */
18297 char _mwvalidcheckl ();
18301 return _mwvalidcheckl ();
18306 if ac_fn_c_try_link "$LINENO"; then :
18307 ac_cv_lib_mw__mwvalidcheckl=yes
18309 ac_cv_lib_mw__mwvalidcheckl=no
18311 rm -f core conftest.err conftest.$ac_objext \
18312 conftest$ac_exeext conftest.$ac_ext
18313 LIBS=$ac_check_lib_save_LIBS
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
18316 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
18317 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
18322 $as_echo_n "checking for cos in -lm... " >&6; }
18323 if test "${ac_cv_lib_m_cos+set}" = set; then :
18324 $as_echo_n "(cached) " >&6
18326 ac_check_lib_save_LIBS=$LIBS
18328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18329 /* end confdefs.h. */
18331 /* Override any GCC internal prototype to avoid an error.
18332 Use char because int might match the return type of a GCC
18333 builtin and then its argument prototype would still apply. */
18346 if ac_fn_c_try_link "$LINENO"; then :
18347 ac_cv_lib_m_cos=yes
18351 rm -f core conftest.err conftest.$ac_objext \
18352 conftest$ac_exeext conftest.$ac_ext
18353 LIBS=$ac_check_lib_save_LIBS
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
18356 $as_echo "$ac_cv_lib_m_cos" >&6; }
18357 if test "x$ac_cv_lib_m_cos" = x""yes; then :
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
18364 $as_echo_n "checking for cos in -lm... " >&6; }
18365 if test "${ac_cv_lib_m_cos+set}" = set; then :
18366 $as_echo_n "(cached) " >&6
18368 ac_check_lib_save_LIBS=$LIBS
18370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18371 /* end confdefs.h. */
18373 /* Override any GCC internal prototype to avoid an error.
18374 Use char because int might match the return type of a GCC
18375 builtin and then its argument prototype would still apply. */
18388 if ac_fn_c_try_link "$LINENO"; then :
18389 ac_cv_lib_m_cos=yes
18393 rm -f core conftest.err conftest.$ac_objext \
18394 conftest$ac_exeext conftest.$ac_ext
18395 LIBS=$ac_check_lib_save_LIBS
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
18398 $as_echo "$ac_cv_lib_m_cos" >&6; }
18399 if test "x$ac_cv_lib_m_cos" = x""yes; then :
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
18410 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
18411 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
18412 $as_echo_n "(cached) " >&6
18414 ac_check_lib_save_LIBS=$LIBS
18416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18417 /* end confdefs.h. */
18419 /* Override any GCC internal prototype to avoid an error.
18420 Use char because int might match the return type of a GCC
18421 builtin and then its argument prototype would still apply. */
18425 char sched_yield ();
18429 return sched_yield ();
18434 if ac_fn_c_try_link "$LINENO"; then :
18435 ac_cv_lib_rt_sched_yield=yes
18437 ac_cv_lib_rt_sched_yield=no
18439 rm -f core conftest.err conftest.$ac_objext \
18440 conftest$ac_exeext conftest.$ac_ext
18441 LIBS=$ac_check_lib_save_LIBS
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
18444 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
18445 if test "x$ac_cv_lib_rt_sched_yield" = x""yes; then :
18446 cat >>confdefs.h <<_ACEOF
18447 #define HAVE_LIBRT 1
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
18457 $as_echo_n "checking for shm_open in -lrt... " >&6; }
18458 if test "${ac_cv_lib_rt_shm_open+set}" = set; then :
18459 $as_echo_n "(cached) " >&6
18461 ac_check_lib_save_LIBS=$LIBS
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18466 /* Override any GCC internal prototype to avoid an error.
18467 Use char because int might match the return type of a GCC
18468 builtin and then its argument prototype would still apply. */
18476 return shm_open ();
18481 if ac_fn_c_try_link "$LINENO"; then :
18482 ac_cv_lib_rt_shm_open=yes
18484 ac_cv_lib_rt_shm_open=no
18486 rm -f core conftest.err conftest.$ac_objext \
18487 conftest$ac_exeext conftest.$ac_ext
18488 LIBS=$ac_check_lib_save_LIBS
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
18491 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
18492 if test "x$ac_cv_lib_rt_shm_open" = x""yes; then :
18501 if test "x$has_shm_open" = "xyes"; then
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
18512 $as_echo_n "checking for connect in -lsocket... " >&6; }
18513 if test "${ac_cv_lib_socket_connect+set}" = set; then :
18514 $as_echo_n "(cached) " >&6
18516 ac_check_lib_save_LIBS=$LIBS
18517 LIBS="-lsocket $LIBS"
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18521 /* Override any GCC internal prototype to avoid an error.
18522 Use char because int might match the return type of a GCC
18523 builtin and then its argument prototype would still apply. */
18536 if ac_fn_c_try_link "$LINENO"; then :
18537 ac_cv_lib_socket_connect=yes
18539 ac_cv_lib_socket_connect=no
18541 rm -f core conftest.err conftest.$ac_objext \
18542 conftest$ac_exeext conftest.$ac_ext
18543 LIBS=$ac_check_lib_save_LIBS
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
18546 $as_echo "$ac_cv_lib_socket_connect" >&6; }
18547 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
18548 SOCKET_LIBS=-lsocket
18553 CAIROBOILERPLATE_LIBS=$SOCKET_LIBS
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_return_address(0)" >&5
18558 $as_echo_n "checking for __builtin_return_address(0)... " >&6; }
18559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h. */
18565 __builtin_return_address(0);
18570 if ac_fn_c_try_compile "$LINENO"; then :
18571 have_builtin_return_address=yes
18573 have_builtin_return_address=no
18575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_builtin_return_address" >&5
18577 $as_echo "$have_builtin_return_address" >&6; }
18578 if test "x$have_builtin_return_address" = "xyes"; then
18580 $as_echo "#define HAVE_BUILTIN_RETURN_ADDRESS 1" >>confdefs.h
18584 for ac_header in stdint.h inttypes.h sys/int_types.h
18586 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18587 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18588 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18589 cat >>confdefs.h <<_ACEOF
18590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18597 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
18598 if test "x$ac_cv_type_uint64_t" = x""yes; then :
18600 cat >>confdefs.h <<_ACEOF
18601 #define HAVE_UINT64_T 1
18606 ac_fn_c_check_type "$LINENO" "uint128_t" "ac_cv_type_uint128_t" "$ac_includes_default"
18607 if test "x$ac_cv_type_uint128_t" = x""yes; then :
18609 cat >>confdefs.h <<_ACEOF
18610 #define HAVE_UINT128_T 1
18615 ac_fn_c_check_type "$LINENO" "__uint128_t" "ac_cv_type___uint128_t" "$ac_includes_default"
18616 if test "x$ac_cv_type___uint128_t" = x""yes; then :
18618 cat >>confdefs.h <<_ACEOF
18619 #define HAVE___UINT128_T 1
18626 for ac_header in fcntl.h unistd.h signal.h sys/stat.h sys/socket.h sys/poll.h sys/un.h
18628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18629 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18630 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18631 cat >>confdefs.h <<_ACEOF
18632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18640 for ac_func in alarm
18642 ac_fn_c_check_func "$LINENO" "alarm" "ac_cv_func_alarm"
18643 if test "x$ac_cv_func_alarm" = x""yes; then :
18644 cat >>confdefs.h <<_ACEOF
18645 #define HAVE_ALARM 1
18652 for ac_header in sched.h
18654 ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
18655 if test "x$ac_cv_header_sched_h" = x""yes; then :
18656 cat >>confdefs.h <<_ACEOF
18657 #define HAVE_SCHED_H 1
18659 for ac_func in sched_getaffinity
18661 ac_fn_c_check_func "$LINENO" "sched_getaffinity" "ac_cv_func_sched_getaffinity"
18662 if test "x$ac_cv_func_sched_getaffinity" = x""yes; then :
18663 cat >>confdefs.h <<_ACEOF
18664 #define HAVE_SCHED_GETAFFINITY 1
18675 for ac_header in sys/mman.h
18677 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
18678 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
18679 cat >>confdefs.h <<_ACEOF
18680 #define HAVE_SYS_MMAN_H 1
18682 for ac_func in mmap
18684 ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
18685 if test "x$ac_cv_func_mmap" = x""yes; then :
18686 cat >>confdefs.h <<_ACEOF
18687 #define HAVE_MMAP 1
18698 for ac_header in time.h
18700 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
18701 if test "x$ac_cv_header_time_h" = x""yes; then :
18702 cat >>confdefs.h <<_ACEOF
18703 #define HAVE_TIME_H 1
18705 for ac_func in clock_gettime
18707 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
18708 if test "x$ac_cv_func_clock_gettime" = x""yes; then :
18709 cat >>confdefs.h <<_ACEOF
18710 #define HAVE_CLOCK_GETTIME 1
18721 ac_fn_c_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18722 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18723 for ac_func in feenableexcept fedisableexcept feclearexcept
18725 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18727 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18728 cat >>confdefs.h <<_ACEOF
18729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18739 for ac_header in libgen.h byteswap.h signal.h setjmp.h fenv.h sys/wait.h
18741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18742 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18743 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18744 cat >>confdefs.h <<_ACEOF
18745 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18752 for ac_func in ctime_r drand48 flockfile funlockfile getline link strndup
18754 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18755 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18756 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18757 cat >>confdefs.h <<_ACEOF
18758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18765 for ac_header in windows.h
18767 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
18768 if test "x$ac_cv_header_windows_h" = x""yes; then :
18769 cat >>confdefs.h <<_ACEOF
18770 #define HAVE_WINDOWS_H 1
18781 for ac_header in sys/stat.h io.h
18783 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18784 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18785 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18786 cat >>confdefs.h <<_ACEOF
18787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18794 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir"
18795 if test "x$ac_cv_func_mkdir" = x""yes; then :
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mkdir variant" >&5
18797 $as_echo_n "checking mkdir variant... " >&6; }
18798 mkdir_variant="unknown"
18799 save_CFLAGS="$CFLAGS"
18800 CFLAGS=$WARN_CFLAGS
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18804 #ifdef HAVE_SYS_STAT_H
18805 #include <sys/stat.h>
18814 mkdir ("hello.world", 0777)
18819 if ac_fn_c_try_compile "$LINENO"; then :
18820 mkdir_variant="mkdir(path, mode)"
18822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18823 /* end confdefs.h. */
18825 #ifdef HAVE_SYS_STAT_H
18826 #include <sys/stat.h>
18835 mkdir ("hello.world")
18840 if ac_fn_c_try_compile "$LINENO"; then :
18841 mkdir_variant="mkdir(path)"
18843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkdir_variant" >&5
18847 $as_echo "$mkdir_variant" >&6; }
18848 CFLAGS="$save_CFLAGS"
18849 if test "x$mkdir_variant" = "xmkdir(path, mode)"; then
18851 $as_echo "#define HAVE_MKDIR 2" >>confdefs.h
18855 $as_echo "#define HAVE_MKDIR 1" >>confdefs.h
18862 for ac_func in fork waitpid raise
18864 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18865 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18866 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18867 cat >>confdefs.h <<_ACEOF
18868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18876 # Check whether --enable-gcov was given.
18877 if test "${enable_gcov+set}" = set; then :
18878 enableval=$enable_gcov; use_gcov=$enableval
18884 if test "x$use_gcov" = "xyes"; then
18885 if test "$GCC" != "yes"; then
18886 as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
18889 # Extract the first word of "shtool", so it can be a program name with args.
18890 set dummy shtool; ac_word=$2
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18892 $as_echo_n "checking for $ac_word... " >&6; }
18893 if test "${ac_cv_prog_SHTOOL+set}" = set; then :
18894 $as_echo_n "(cached) " >&6
18896 if test -n "$SHTOOL"; then
18897 ac_cv_prog_SHTOOL="$SHTOOL" # Let the user override the test.
18899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18900 for as_dir in $PATH
18903 test -z "$as_dir" && as_dir=.
18904 for ac_exec_ext in '' $ac_executable_extensions; do
18905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18906 ac_cv_prog_SHTOOL="shtool"
18907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18916 SHTOOL=$ac_cv_prog_SHTOOL
18917 if test -n "$SHTOOL"; then
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
18919 $as_echo "$SHTOOL" >&6; }
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18922 $as_echo "no" >&6; }
18926 case `$SHTOOL path $CC` in
18927 *ccache*) gcc_ccache=yes;;
18931 if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
18932 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
18935 ltp_version_list="1.7 1.6 1.5 1.4"
18936 # Extract the first word of "lcov", so it can be a program name with args.
18937 set dummy lcov; ac_word=$2
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18939 $as_echo_n "checking for $ac_word... " >&6; }
18940 if test "${ac_cv_prog_LTP+set}" = set; then :
18941 $as_echo_n "(cached) " >&6
18943 if test -n "$LTP"; then
18944 ac_cv_prog_LTP="$LTP" # Let the user override the test.
18946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18947 for as_dir in $PATH
18950 test -z "$as_dir" && as_dir=.
18951 for ac_exec_ext in '' $ac_executable_extensions; do
18952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18953 ac_cv_prog_LTP="lcov"
18954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18963 LTP=$ac_cv_prog_LTP
18964 if test -n "$LTP"; then
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTP" >&5
18966 $as_echo "$LTP" >&6; }
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18969 $as_echo "no" >&6; }
18973 # Extract the first word of "genhtml", so it can be a program name with args.
18974 set dummy genhtml; ac_word=$2
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18976 $as_echo_n "checking for $ac_word... " >&6; }
18977 if test "${ac_cv_prog_LTP_GENHTML+set}" = set; then :
18978 $as_echo_n "(cached) " >&6
18980 if test -n "$LTP_GENHTML"; then
18981 ac_cv_prog_LTP_GENHTML="$LTP_GENHTML" # Let the user override the test.
18983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18984 for as_dir in $PATH
18987 test -z "$as_dir" && as_dir=.
18988 for ac_exec_ext in '' $ac_executable_extensions; do
18989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18990 ac_cv_prog_LTP_GENHTML="genhtml"
18991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19000 LTP_GENHTML=$ac_cv_prog_LTP_GENHTML
19001 if test -n "$LTP_GENHTML"; then
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTP_GENHTML" >&5
19003 $as_echo "$LTP_GENHTML" >&6; }
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19006 $as_echo "no" >&6; }
19011 if test "$LTP"; then
19012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ltp version" >&5
19013 $as_echo_n "checking for ltp version... " >&6; }
19014 if test "${cairo_cv_ltp_version+set}" = set; then :
19015 $as_echo_n "(cached) " >&6
19018 cairo_cv_ltp_version=invalid
19019 ltp_version=`$LTP -v 2>/dev/null | $SED -e 's/^.* //'`
19020 for ltp_check_version in $ltp_version_list; do
19021 if test "$ltp_version" = "$ltp_check_version"; then
19022 cairo_cv_ltp_version="$ltp_check_version (ok)"
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_ltp_version" >&5
19028 $as_echo "$cairo_cv_ltp_version" >&6; }
19031 case $cairo_cv_ltp_version in
19039 if test "x$cairo_has_lcov" != "xyes"; then
19040 as_fn_error $? "To enable code coverage reporting you must have one of the following LTP versions installed: $ltp_version_list.
19041 Please install the Linux Test Project [http://ltp.sourceforge.net/], and try again." "$LINENO" 5
19044 if test -z "$LTP_GENHTML"; then
19045 as_fn_error $? "Could not find genhtml from the LTP package.
19046 Please install the Linux Test Project [http://ltp.sourceforge.net/], and try again." "$LINENO" 5
19050 $as_echo "#define HAVE_GCOV 1" >>confdefs.h
19054 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
19055 CAIRO_CFLAGS=`echo "$CAIRO_CFLAGS" | $SED -e 's/-O[0-9]*//g'`
19058 _test_WERROR=${WERROR+set}
19059 if test "z$_test_WERROR" != zset; then
19061 for _werror in -Werror -errwarn; do
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $_werror" >&5
19063 $as_echo_n "checking whether $CC supports $_werror... " >&6; }
19064 # AC_LANG_PROGRAM() produces a main() w/o args,
19065 # but -Wold-style-definition doesn't like that.
19066 # We need _some_ program so that we don't get
19067 # warnings about empty compilation units, so always
19068 # append a reasonable main().
19069 _compile_program=""'
19070 int main(int c, char **v) { (void)c; (void)v; return 0; }'
19072 _save_cflags="$CFLAGS"
19073 _save_ldflags="$LDFLAGS"
19075 CFLAGS="$CFLAGS $_werror"
19076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19077 /* end confdefs.h. */
19080 if ac_fn_c_try_link "$LINENO"; then :
19081 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
19084 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
19087 rm -f core conftest.err conftest.$ac_objext \
19088 conftest$ac_exeext conftest.$ac_ext
19090 if test "x$cairo_cc_stderr" != "x"; then
19094 if test "x$cairo_cc_flag" = "xyes"; then
19095 WERROR="$WERROR $_werror"
19099 CFLAGS="$_save_cflags"
19100 LDFLAGS="$_save_ldflags"
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
19105 $as_echo "$cairo_cc_flag" >&6; }
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports --coverage" >&5
19110 $as_echo_n "checking whether $CC supports --coverage... " >&6; }
19111 # AC_LANG_PROGRAM() produces a main() w/o args,
19112 # but -Wold-style-definition doesn't like that.
19113 # We need _some_ program so that we don't get
19114 # warnings about empty compilation units, so always
19115 # append a reasonable main().
19116 _compile_program=""'
19117 int main(int c, char **v) { (void)c; (void)v; return 0; }'
19119 _save_cflags="$CFLAGS"
19120 _save_ldflags="$LDFLAGS"
19122 CFLAGS="$CFLAGS $WERROR --coverage"
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19127 if ac_fn_c_try_link "$LINENO"; then :
19128 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
19131 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
19134 rm -f core conftest.err conftest.$ac_objext \
19135 conftest$ac_exeext conftest.$ac_ext
19137 if test "x$cairo_cc_stderr" != "x"; then
19141 if test "x$cairo_cc_flag" = "xyes"; then
19143 CAIRO_CFLAGS="$CAIRO_CFLAGS -O0 --coverage"
19144 CAIRO_LDFLAGS="$CAIRO_LDFLAGS -O0 --coverage"
19149 CFLAGS="$_save_cflags"
19150 LDFLAGS="$_save_ldflags"
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
19155 $as_echo "$cairo_cc_flag" >&6; }
19158 if test "x$cairo_has_lcov" = "xyes"; then
19159 CAIRO_HAS_LCOV_TRUE=
19160 CAIRO_HAS_LCOV_FALSE='#'
19162 CAIRO_HAS_LCOV_TRUE='#'
19163 CAIRO_HAS_LCOV_FALSE=
19167 # Check whether --enable-valgrind was given.
19168 if test "${enable_valgrind+set}" = set; then :
19169 enableval=$enable_valgrind; use_valgrind=$enableval
19175 if test "x$use_valgrind" = "xyes"; then
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
19179 $as_echo_n "checking for VALGRIND... " >&6; }
19181 if test -n "$VALGRIND_CFLAGS"; then
19182 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
19183 elif test -n "$PKG_CONFIG"; then
19184 if test -n "$PKG_CONFIG" && \
19185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
19186 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
19188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19189 test $ac_status = 0; }; then
19190 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null`
19197 if test -n "$VALGRIND_LIBS"; then
19198 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
19199 elif test -n "$PKG_CONFIG"; then
19200 if test -n "$PKG_CONFIG" && \
19201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
19202 ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
19204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19205 test $ac_status = 0; }; then
19206 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind" 2>/dev/null`
19216 if test $pkg_failed = yes; then
19218 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19219 _pkg_short_errors_supported=yes
19221 _pkg_short_errors_supported=no
19223 if test $_pkg_short_errors_supported = yes; then
19224 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "valgrind" 2>&1`
19226 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors "valgrind" 2>&1`
19228 # Put the nasty error message in config.log where it belongs
19229 echo "$VALGRIND_PKG_ERRORS" >&5
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19232 $as_echo "no" >&6; }
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19234 $as_echo "no" >&6; }
19235 elif test $pkg_failed = untried; then
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19237 $as_echo "no" >&6; }
19239 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
19240 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19242 $as_echo "yes" >&6; }
19244 _save_CFLAGS="$CFLAGS"
19245 _save_CPPFLAGS="$CPPFLAGS"
19246 CFLAGS="$CFLAGS $VALGRIND_CFLAGS"
19247 CPPFLAGS="$CPPFLAGS $VALGRIND_CFLAGS"
19248 ac_fn_c_check_header_mongrel "$LINENO" "valgrind.h" "ac_cv_header_valgrind_h" "$ac_includes_default"
19249 if test "x$ac_cv_header_valgrind_h" = x""yes; then :
19251 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
19256 ac_fn_c_check_header_mongrel "$LINENO" "lockdep.h" "ac_cv_header_lockdep_h" "$ac_includes_default"
19257 if test "x$ac_cv_header_lockdep_h" = x""yes; then :
19259 $as_echo "#define HAVE_LOCKDEP 1" >>confdefs.h
19264 ac_fn_c_check_header_mongrel "$LINENO" "memfault.h" "ac_cv_header_memfault_h" "$ac_includes_default"
19265 if test "x$ac_cv_header_memfault_h" = x""yes; then :
19267 $as_echo "#define HAVE_MEMFAULT 1" >>confdefs.h
19272 CAIRO_CFLAGS="$VALGRIND_CFLAGS $CAIRO_CFLAGS"
19273 CFLAGS="$_save_CFLAGS"
19274 CPPFLAGS="$_save_CPPFLAGS"
19279 echo '#undef PACKAGE_VERSION' >>confdefs.h
19280 echo '#undef PACKAGE_STRING' >>confdefs.h
19281 echo '#undef PACKAGE_NAME' >>confdefs.h
19282 echo '#undef PACKAGE_TARNAME' >>confdefs.h
19283 $as_echo "#define PACKAGE_VERSION USE_cairo_version_OR_cairo_version_string_INSTEAD" >>confdefs.h
19285 $as_echo "#define PACKAGE_STRING USE_cairo_version_OR_cairo_version_string_INSTEAD" >>confdefs.h
19287 $as_echo "#define PACKAGE_NAME USE_cairo_INSTEAD" >>confdefs.h
19289 $as_echo "#define PACKAGE_TARNAME USE_cairo_INSTEAD" >>confdefs.h
19300 cat >confcache <<\_ACEOF
19301 # This file is a shell script that caches the results of configure
19302 # tests run on this system so they can be shared between configure
19303 # scripts and configure runs, see configure's option --config-cache.
19304 # It is not useful on other systems. If it contains results you don't
19305 # want to keep, you may remove or edit it.
19307 # config.status only pays attention to the cache file if you give it
19308 # the --recheck option to rerun configure.
19310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19312 # following values.
19316 # The following way of writing the cache mishandles newlines in values,
19317 # but we know of no workaround that is simple, portable, and efficient.
19318 # So, we kill variables containing newlines.
19319 # Ultrix sh set writes to stderr and can't be redirected directly,
19320 # and sets the high bit in the cache file unless we assign to the vars.
19322 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19323 eval ac_val=\$$ac_var
19327 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19328 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19331 _ | IFS | as_nl) ;; #(
19332 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19333 *) { eval $ac_var=; unset $ac_var;} ;;
19339 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19340 *${as_nl}ac_space=\ *)
19341 # `set' does not quote correctly, so add quotes: double-quote
19342 # substitution turns \\\\ into \\, and sed turns \\ into \.
19345 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19348 # `set' quotes correctly as required by POSIX, so do not add quotes.
19349 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19358 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19360 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19362 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19363 if test -w "$cache_file"; then
19364 test "x$cache_file" != "x/dev/null" &&
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19366 $as_echo "$as_me: updating cache $cache_file" >&6;}
19367 cat confcache >$cache_file
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19370 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
19377 $as_echo_n "checking for compress in -lz... " >&6; }
19378 if test "${ac_cv_lib_z_compress+set}" = set; then :
19379 $as_echo_n "(cached) " >&6
19381 ac_check_lib_save_LIBS=$LIBS
19383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19384 /* end confdefs.h. */
19386 /* Override any GCC internal prototype to avoid an error.
19387 Use char because int might match the return type of a GCC
19388 builtin and then its argument prototype would still apply. */
19396 return compress ();
19401 if ac_fn_c_try_link "$LINENO"; then :
19402 ac_cv_lib_z_compress=yes
19404 ac_cv_lib_z_compress=no
19406 rm -f core conftest.err conftest.$ac_objext \
19407 conftest$ac_exeext conftest.$ac_ext
19408 LIBS=$ac_check_lib_save_LIBS
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
19411 $as_echo "$ac_cv_lib_z_compress" >&6; }
19412 if test "x$ac_cv_lib_z_compress" = x""yes; then :
19413 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
19414 if test "x$ac_cv_header_zlib_h" = x""yes; then :
19418 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
19422 have_libz="no (requires zlib http://www.gzip.org/zlib/)"
19427 have_libz="no (requires zlib http://www.gzip.org/zlib/)"
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
19432 $as_echo_n "checking for dlsym in -ldl... " >&6; }
19433 if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
19434 $as_echo_n "(cached) " >&6
19436 ac_check_lib_save_LIBS=$LIBS
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19441 /* Override any GCC internal prototype to avoid an error.
19442 Use char because int might match the return type of a GCC
19443 builtin and then its argument prototype would still apply. */
19456 if ac_fn_c_try_link "$LINENO"; then :
19457 ac_cv_lib_dl_dlsym=yes
19459 ac_cv_lib_dl_dlsym=no
19461 rm -f core conftest.err conftest.$ac_objext \
19462 conftest$ac_exeext conftest.$ac_ext
19463 LIBS=$ac_check_lib_save_LIBS
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
19466 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
19467 if test "x$ac_cv_lib_dl_dlsym" = x""yes; then :
19468 have_dlsym=yes; have_dl=yes
19470 have_dlsym=no; have_dl=no
19473 if test "x$have_dlsym" = "xno"; then
19474 ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
19475 if test "x$ac_cv_func_dlsym" = x""yes; then :
19482 for ac_header in dlfcn.h
19484 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
19485 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
19486 cat >>confdefs.h <<_ACEOF
19487 #define HAVE_DLFCN_H 1
19496 if test "x$have_dl" = "xyes"; then
19498 CAIRO_HAS_DL_FALSE='#'
19500 CAIRO_HAS_DL_TRUE='#'
19501 CAIRO_HAS_DL_FALSE=
19504 if test "x$have_dlsym" = "xyes"; then
19506 $as_echo "#define CAIRO_HAS_DLSYM 1" >>confdefs.h
19509 if test "x$have_dlsym" = "xyes"; then
19510 CAIRO_HAS_DLSYM_TRUE=
19511 CAIRO_HAS_DLSYM_FALSE='#'
19513 CAIRO_HAS_DLSYM_TRUE='#'
19514 CAIRO_HAS_DLSYM_FALSE=
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19520 $as_echo_n "checking for X... " >&6; }
19523 # Check whether --with-x was given.
19524 if test "${with_x+set}" = set; then :
19528 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19529 if test "x$with_x" = xno; then
19530 # The user explicitly disabled X.
19533 case $x_includes,$x_libraries in #(
19534 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
19535 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
19536 $as_echo_n "(cached) " >&6
19538 # One or both of the vars are not set, and there is no cached value.
19539 ac_x_includes=no ac_x_libraries=no
19540 rm -f -r conftest.dir
19541 if mkdir conftest.dir; then
19543 cat >Imakefile <<'_ACEOF'
19545 @echo incroot='${INCROOT}'
19547 @echo usrlibdir='${USRLIBDIR}'
19549 @echo libdir='${LIBDIR}'
19551 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19552 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
19553 for ac_var in incroot usrlibdir libdir; do
19554 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
19556 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19557 for ac_extension in a so sl dylib la dll; do
19558 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19559 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19560 ac_im_usrlibdir=$ac_im_libdir; break
19563 # Screen out bogus values from the imake configuration. They are
19564 # bogus both because they are the default anyway, and because
19565 # using them would break gcc on systems where it needs fixed includes.
19566 case $ac_im_incroot in
19567 /usr/include) ac_x_includes= ;;
19568 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19570 case $ac_im_usrlibdir in
19571 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
19572 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19576 rm -f -r conftest.dir
19579 # Standard set of common directories for X headers.
19580 # Check X11 before X11Rn because it is often a symlink to the current release.
19594 /usr/local/X11/include
19595 /usr/local/X11R7/include
19596 /usr/local/X11R6/include
19597 /usr/local/X11R5/include
19598 /usr/local/X11R4/include
19600 /usr/local/include/X11
19601 /usr/local/include/X11R7
19602 /usr/local/include/X11R6
19603 /usr/local/include/X11R5
19604 /usr/local/include/X11R4
19608 /usr/XFree86/include/X11
19612 /usr/unsupported/include
19613 /usr/athena/include
19614 /usr/local/x11r5/include
19615 /usr/lpp/Xamples/include
19617 /usr/openwin/include
19618 /usr/openwin/share/include'
19620 if test "$ac_x_includes" = no; then
19621 # Guess where to find include files, by looking for Xlib.h.
19622 # First, try using that file with no special directory specified.
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19625 #include <X11/Xlib.h>
19627 if ac_fn_c_try_cpp "$LINENO"; then :
19628 # We can compile using X headers with no special include directory.
19631 for ac_dir in $ac_x_header_dirs; do
19632 if test -r "$ac_dir/X11/Xlib.h"; then
19633 ac_x_includes=$ac_dir
19638 rm -f conftest.err conftest.i conftest.$ac_ext
19639 fi # $ac_x_includes = no
19641 if test "$ac_x_libraries" = no; then
19642 # Check for the libraries.
19643 # See if we find them without any special options.
19644 # Don't add to $LIBS permanently.
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #include <X11/Xlib.h>
19658 if ac_fn_c_try_link "$LINENO"; then :
19660 # We can link X programs with no special library path.
19664 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19666 # Don't even attempt the hair of trying to link an X program!
19667 for ac_extension in a so sl dylib la dll; do
19668 if test -r "$ac_dir/libX11.$ac_extension"; then
19669 ac_x_libraries=$ac_dir
19675 rm -f core conftest.err conftest.$ac_objext \
19676 conftest$ac_exeext conftest.$ac_ext
19677 fi # $ac_x_libraries = no
19679 case $ac_x_includes,$ac_x_libraries in #(
19680 no,* | *,no | *\'*)
19681 # Didn't find X, or a directory has "'" in its name.
19682 ac_cv_have_x="have_x=no";; #(
19684 # Record where we found X for the cache.
19685 ac_cv_have_x="have_x=yes\
19686 ac_x_includes='$ac_x_includes'\
19687 ac_x_libraries='$ac_x_libraries'"
19693 eval "$ac_cv_have_x"
19696 if test "$have_x" != yes; then
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19698 $as_echo "$have_x" >&6; }
19701 # If each of the values was on the command line, it overrides each guess.
19702 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19703 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19704 # Update the cache value to reflect the command line values.
19705 ac_cv_have_x="have_x=yes\
19706 ac_x_includes='$x_includes'\
19707 ac_x_libraries='$x_libraries'"
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19709 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19712 # Check whether --enable-xlib was given.
19713 if test "${enable_xlib+set}" = set; then :
19714 enableval=$enable_xlib; enable_xlib=$enableval
19719 case $enable_xlib in #(
19721 use_xlib="no (disabled, use --enable-xlib to enable)"
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Xlib surface backend feature" >&5
19725 $as_echo_n "checking for cairo's Xlib surface backend feature... " >&6; }
19730 xlib_REQUIRES="$ac_env_xlib_REQUIRES_value"
19731 xlib_CFLAGS="$ac_env_xlib_CFLAGS_value"
19732 xlib_NONPKGCONFIG_CFLAGS="$ac_env_xlib_NONPKGCONFIG_CFLAGS_value"
19733 xlib_LIBS="$ac_env_xlib_LIBS_value"
19734 xlib_NONPKGCONFIG_LIBS="$ac_env_xlib_NONPKGCONFIG_LIBS_value"
19735 xlib_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xlib_NONPKGCONFIG_EXTRA_LIBS_value"
19739 xlib_REQUIRES="x11"
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xlib" >&5
19743 $as_echo_n "checking for xlib... " >&6; }
19745 if test -n "$xlib_CFLAGS"; then
19746 pkg_cv_xlib_CFLAGS="$xlib_CFLAGS"
19747 elif test -n "$PKG_CONFIG"; then
19748 if test -n "$PKG_CONFIG" && \
19749 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_REQUIRES\""; } >&5
19750 ($PKG_CONFIG --exists --print-errors "$xlib_REQUIRES") 2>&5
19752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19753 test $ac_status = 0; }; then
19754 pkg_cv_xlib_CFLAGS=`$PKG_CONFIG --cflags "$xlib_REQUIRES" 2>/dev/null`
19761 if test -n "$xlib_LIBS"; then
19762 pkg_cv_xlib_LIBS="$xlib_LIBS"
19763 elif test -n "$PKG_CONFIG"; then
19764 if test -n "$PKG_CONFIG" && \
19765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_REQUIRES\""; } >&5
19766 ($PKG_CONFIG --exists --print-errors "$xlib_REQUIRES") 2>&5
19768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19769 test $ac_status = 0; }; then
19770 pkg_cv_xlib_LIBS=`$PKG_CONFIG --libs "$xlib_REQUIRES" 2>/dev/null`
19780 if test $pkg_failed = yes; then
19782 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19783 _pkg_short_errors_supported=yes
19785 _pkg_short_errors_supported=no
19787 if test $_pkg_short_errors_supported = yes; then
19788 xlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xlib_REQUIRES" 2>&1`
19790 xlib_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xlib_REQUIRES" 2>&1`
19792 # Put the nasty error message in config.log where it belongs
19793 echo "$xlib_PKG_ERRORS" >&5
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19796 $as_echo "no" >&6; }
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19798 $as_echo "no" >&6; }
19800 if test "$no_x" = yes; then
19801 # Not all programs may use this symbol, but it does not hurt to define it.
19803 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19805 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19807 if test -n "$x_includes"; then
19808 X_CFLAGS="$X_CFLAGS -I$x_includes"
19811 # It would also be nice to do this for all -L options, not just this one.
19812 if test -n "$x_libraries"; then
19813 X_LIBS="$X_LIBS -L$x_libraries"
19814 # For Solaris; some versions of Sun CC require a space after -R and
19815 # others require no space. Words are not sufficient . . . .
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
19817 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
19818 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
19819 ac_xsave_c_werror_flag=$ac_c_werror_flag
19820 ac_c_werror_flag=yes
19821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19822 /* end confdefs.h. */
19832 if ac_fn_c_try_link "$LINENO"; then :
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19834 $as_echo "no" >&6; }
19835 X_LIBS="$X_LIBS -R$x_libraries"
19837 LIBS="$ac_xsave_LIBS -R $x_libraries"
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19849 if ac_fn_c_try_link "$LINENO"; then :
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19851 $as_echo "yes" >&6; }
19852 X_LIBS="$X_LIBS -R $x_libraries"
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19855 $as_echo "neither works" >&6; }
19857 rm -f core conftest.err conftest.$ac_objext \
19858 conftest$ac_exeext conftest.$ac_ext
19860 rm -f core conftest.err conftest.$ac_objext \
19861 conftest$ac_exeext conftest.$ac_ext
19862 ac_c_werror_flag=$ac_xsave_c_werror_flag
19863 LIBS=$ac_xsave_LIBS
19866 # Check for system-dependent libraries X programs must link with.
19867 # Do this before checking for the system-independent R6 libraries
19868 # (-lICE), since we may need -lsocket or whatever for X linking.
19870 if test "$ISC" = yes; then
19871 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
19873 # Martyn Johnson says this is needed for Ultrix, if the X
19874 # libraries were built with DECnet support. And Karl Berry says
19875 # the Alpha needs dnet_stub (dnet does not exist).
19876 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
19877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19878 /* end confdefs.h. */
19880 /* Override any GCC internal prototype to avoid an error.
19881 Use char because int might match the return type of a GCC
19882 builtin and then its argument prototype would still apply. */
19886 char XOpenDisplay ();
19890 return XOpenDisplay ();
19895 if ac_fn_c_try_link "$LINENO"; then :
19898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19899 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19900 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19901 $as_echo_n "(cached) " >&6
19903 ac_check_lib_save_LIBS=$LIBS
19904 LIBS="-ldnet $LIBS"
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19908 /* Override any GCC internal prototype to avoid an error.
19909 Use char because int might match the return type of a GCC
19910 builtin and then its argument prototype would still apply. */
19918 return dnet_ntoa ();
19923 if ac_fn_c_try_link "$LINENO"; then :
19924 ac_cv_lib_dnet_dnet_ntoa=yes
19926 ac_cv_lib_dnet_dnet_ntoa=no
19928 rm -f core conftest.err conftest.$ac_objext \
19929 conftest$ac_exeext conftest.$ac_ext
19930 LIBS=$ac_check_lib_save_LIBS
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19933 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19934 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
19935 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
19938 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19940 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19941 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19942 $as_echo_n "(cached) " >&6
19944 ac_check_lib_save_LIBS=$LIBS
19945 LIBS="-ldnet_stub $LIBS"
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19949 /* Override any GCC internal prototype to avoid an error.
19950 Use char because int might match the return type of a GCC
19951 builtin and then its argument prototype would still apply. */
19959 return dnet_ntoa ();
19964 if ac_fn_c_try_link "$LINENO"; then :
19965 ac_cv_lib_dnet_stub_dnet_ntoa=yes
19967 ac_cv_lib_dnet_stub_dnet_ntoa=no
19969 rm -f core conftest.err conftest.$ac_objext \
19970 conftest$ac_exeext conftest.$ac_ext
19971 LIBS=$ac_check_lib_save_LIBS
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19974 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19975 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
19976 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
19981 rm -f core conftest.err conftest.$ac_objext \
19982 conftest$ac_exeext conftest.$ac_ext
19983 LIBS="$ac_xsave_LIBS"
19985 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19986 # to get the SysV transport functions.
19987 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19989 # The nsl library prevents programs from opening the X display
19990 # on Irix 5.2, according to T.E. Dickey.
19991 # The functions gethostbyname, getservbyname, and inet_addr are
19992 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19993 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19994 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
19998 if test $ac_cv_func_gethostbyname = no; then
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20000 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20001 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
20002 $as_echo_n "(cached) " >&6
20004 ac_check_lib_save_LIBS=$LIBS
20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20009 /* Override any GCC internal prototype to avoid an error.
20010 Use char because int might match the return type of a GCC
20011 builtin and then its argument prototype would still apply. */
20015 char gethostbyname ();
20019 return gethostbyname ();
20024 if ac_fn_c_try_link "$LINENO"; then :
20025 ac_cv_lib_nsl_gethostbyname=yes
20027 ac_cv_lib_nsl_gethostbyname=no
20029 rm -f core conftest.err conftest.$ac_objext \
20030 conftest$ac_exeext conftest.$ac_ext
20031 LIBS=$ac_check_lib_save_LIBS
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20034 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20035 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20036 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20039 if test $ac_cv_lib_nsl_gethostbyname = no; then
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20041 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20042 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
20043 $as_echo_n "(cached) " >&6
20045 ac_check_lib_save_LIBS=$LIBS
20047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20050 /* Override any GCC internal prototype to avoid an error.
20051 Use char because int might match the return type of a GCC
20052 builtin and then its argument prototype would still apply. */
20056 char gethostbyname ();
20060 return gethostbyname ();
20065 if ac_fn_c_try_link "$LINENO"; then :
20066 ac_cv_lib_bsd_gethostbyname=yes
20068 ac_cv_lib_bsd_gethostbyname=no
20070 rm -f core conftest.err conftest.$ac_objext \
20071 conftest$ac_exeext conftest.$ac_ext
20072 LIBS=$ac_check_lib_save_LIBS
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20075 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20076 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20083 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20084 # socket/setsockopt and other routines are undefined under SCO ODT
20085 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20086 # on later versions), says Simon Leinen: it contains gethostby*
20087 # variants that don't use the name server (or something). -lsocket
20088 # must be given before -lnsl if both are needed. We assume that
20089 # if connect needs -lnsl, so does gethostbyname.
20090 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
20091 if test "x$ac_cv_func_connect" = x""yes; then :
20095 if test $ac_cv_func_connect = no; then
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20097 $as_echo_n "checking for connect in -lsocket... " >&6; }
20098 if test "${ac_cv_lib_socket_connect+set}" = set; then :
20099 $as_echo_n "(cached) " >&6
20101 ac_check_lib_save_LIBS=$LIBS
20102 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h. */
20106 /* Override any GCC internal prototype to avoid an error.
20107 Use char because int might match the return type of a GCC
20108 builtin and then its argument prototype would still apply. */
20121 if ac_fn_c_try_link "$LINENO"; then :
20122 ac_cv_lib_socket_connect=yes
20124 ac_cv_lib_socket_connect=no
20126 rm -f core conftest.err conftest.$ac_objext \
20127 conftest$ac_exeext conftest.$ac_ext
20128 LIBS=$ac_check_lib_save_LIBS
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20131 $as_echo "$ac_cv_lib_socket_connect" >&6; }
20132 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20133 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20138 # Guillermo Gomez says -lposix is necessary on A/UX.
20139 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
20140 if test "x$ac_cv_func_remove" = x""yes; then :
20144 if test $ac_cv_func_remove = no; then
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20146 $as_echo_n "checking for remove in -lposix... " >&6; }
20147 if test "${ac_cv_lib_posix_remove+set}" = set; then :
20148 $as_echo_n "(cached) " >&6
20150 ac_check_lib_save_LIBS=$LIBS
20151 LIBS="-lposix $LIBS"
20152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20153 /* end confdefs.h. */
20155 /* Override any GCC internal prototype to avoid an error.
20156 Use char because int might match the return type of a GCC
20157 builtin and then its argument prototype would still apply. */
20170 if ac_fn_c_try_link "$LINENO"; then :
20171 ac_cv_lib_posix_remove=yes
20173 ac_cv_lib_posix_remove=no
20175 rm -f core conftest.err conftest.$ac_objext \
20176 conftest$ac_exeext conftest.$ac_ext
20177 LIBS=$ac_check_lib_save_LIBS
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20180 $as_echo "$ac_cv_lib_posix_remove" >&6; }
20181 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20182 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20187 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20188 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
20189 if test "x$ac_cv_func_shmat" = x""yes; then :
20193 if test $ac_cv_func_shmat = no; then
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20195 $as_echo_n "checking for shmat in -lipc... " >&6; }
20196 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
20197 $as_echo_n "(cached) " >&6
20199 ac_check_lib_save_LIBS=$LIBS
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20204 /* Override any GCC internal prototype to avoid an error.
20205 Use char because int might match the return type of a GCC
20206 builtin and then its argument prototype would still apply. */
20219 if ac_fn_c_try_link "$LINENO"; then :
20220 ac_cv_lib_ipc_shmat=yes
20222 ac_cv_lib_ipc_shmat=no
20224 rm -f core conftest.err conftest.$ac_objext \
20225 conftest$ac_exeext conftest.$ac_ext
20226 LIBS=$ac_check_lib_save_LIBS
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20229 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20230 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20237 # Check for libraries that X11R6 Xt/Xaw programs need.
20238 ac_save_LDFLAGS=$LDFLAGS
20239 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20240 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20241 # check for ICE first), but we must link in the order -lSM -lICE or
20242 # we get undefined symbols. So assume we have SM if we have ICE.
20243 # These have to be linked with before -lX11, unlike the other
20244 # libraries we check for below, so use a different variable.
20245 # John Interrante, Karl Berry
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20247 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20248 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20249 $as_echo_n "(cached) " >&6
20251 ac_check_lib_save_LIBS=$LIBS
20252 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h. */
20256 /* Override any GCC internal prototype to avoid an error.
20257 Use char because int might match the return type of a GCC
20258 builtin and then its argument prototype would still apply. */
20262 char IceConnectionNumber ();
20266 return IceConnectionNumber ();
20271 if ac_fn_c_try_link "$LINENO"; then :
20272 ac_cv_lib_ICE_IceConnectionNumber=yes
20274 ac_cv_lib_ICE_IceConnectionNumber=no
20276 rm -f core conftest.err conftest.$ac_objext \
20277 conftest$ac_exeext conftest.$ac_ext
20278 LIBS=$ac_check_lib_save_LIBS
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20281 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20282 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20283 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20286 LDFLAGS=$ac_save_LDFLAGS
20290 if test "x$no_x" = xyes; then
20291 use_xlib="no (requires X development libraries)"
20293 xlib_NONPKGCONFIG_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
20294 xlib_NONPKGCONFIG_CFLAGS=$X_CFLAGS
20296 elif test $pkg_failed = untried; then
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20298 $as_echo "no" >&6; }
20300 if test "$no_x" = yes; then
20301 # Not all programs may use this symbol, but it does not hurt to define it.
20303 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
20305 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20307 if test -n "$x_includes"; then
20308 X_CFLAGS="$X_CFLAGS -I$x_includes"
20311 # It would also be nice to do this for all -L options, not just this one.
20312 if test -n "$x_libraries"; then
20313 X_LIBS="$X_LIBS -L$x_libraries"
20314 # For Solaris; some versions of Sun CC require a space after -R and
20315 # others require no space. Words are not sufficient . . . .
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
20317 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
20318 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20319 ac_xsave_c_werror_flag=$ac_c_werror_flag
20320 ac_c_werror_flag=yes
20321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20322 /* end confdefs.h. */
20332 if ac_fn_c_try_link "$LINENO"; then :
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20334 $as_echo "no" >&6; }
20335 X_LIBS="$X_LIBS -R$x_libraries"
20337 LIBS="$ac_xsave_LIBS -R $x_libraries"
20338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20339 /* end confdefs.h. */
20349 if ac_fn_c_try_link "$LINENO"; then :
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20351 $as_echo "yes" >&6; }
20352 X_LIBS="$X_LIBS -R $x_libraries"
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
20355 $as_echo "neither works" >&6; }
20357 rm -f core conftest.err conftest.$ac_objext \
20358 conftest$ac_exeext conftest.$ac_ext
20360 rm -f core conftest.err conftest.$ac_objext \
20361 conftest$ac_exeext conftest.$ac_ext
20362 ac_c_werror_flag=$ac_xsave_c_werror_flag
20363 LIBS=$ac_xsave_LIBS
20366 # Check for system-dependent libraries X programs must link with.
20367 # Do this before checking for the system-independent R6 libraries
20368 # (-lICE), since we may need -lsocket or whatever for X linking.
20370 if test "$ISC" = yes; then
20371 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20373 # Martyn Johnson says this is needed for Ultrix, if the X
20374 # libraries were built with DECnet support. And Karl Berry says
20375 # the Alpha needs dnet_stub (dnet does not exist).
20376 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20378 /* end confdefs.h. */
20380 /* Override any GCC internal prototype to avoid an error.
20381 Use char because int might match the return type of a GCC
20382 builtin and then its argument prototype would still apply. */
20386 char XOpenDisplay ();
20390 return XOpenDisplay ();
20395 if ac_fn_c_try_link "$LINENO"; then :
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
20399 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20400 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
20401 $as_echo_n "(cached) " >&6
20403 ac_check_lib_save_LIBS=$LIBS
20404 LIBS="-ldnet $LIBS"
20405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20406 /* end confdefs.h. */
20408 /* Override any GCC internal prototype to avoid an error.
20409 Use char because int might match the return type of a GCC
20410 builtin and then its argument prototype would still apply. */
20418 return dnet_ntoa ();
20423 if ac_fn_c_try_link "$LINENO"; then :
20424 ac_cv_lib_dnet_dnet_ntoa=yes
20426 ac_cv_lib_dnet_dnet_ntoa=no
20428 rm -f core conftest.err conftest.$ac_objext \
20429 conftest$ac_exeext conftest.$ac_ext
20430 LIBS=$ac_check_lib_save_LIBS
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20433 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20434 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
20435 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20438 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
20440 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20441 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
20442 $as_echo_n "(cached) " >&6
20444 ac_check_lib_save_LIBS=$LIBS
20445 LIBS="-ldnet_stub $LIBS"
20446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20447 /* end confdefs.h. */
20449 /* Override any GCC internal prototype to avoid an error.
20450 Use char because int might match the return type of a GCC
20451 builtin and then its argument prototype would still apply. */
20459 return dnet_ntoa ();
20464 if ac_fn_c_try_link "$LINENO"; then :
20465 ac_cv_lib_dnet_stub_dnet_ntoa=yes
20467 ac_cv_lib_dnet_stub_dnet_ntoa=no
20469 rm -f core conftest.err conftest.$ac_objext \
20470 conftest$ac_exeext conftest.$ac_ext
20471 LIBS=$ac_check_lib_save_LIBS
20473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20474 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20475 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
20476 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20481 rm -f core conftest.err conftest.$ac_objext \
20482 conftest$ac_exeext conftest.$ac_ext
20483 LIBS="$ac_xsave_LIBS"
20485 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20486 # to get the SysV transport functions.
20487 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20489 # The nsl library prevents programs from opening the X display
20490 # on Irix 5.2, according to T.E. Dickey.
20491 # The functions gethostbyname, getservbyname, and inet_addr are
20492 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20493 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20494 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
20498 if test $ac_cv_func_gethostbyname = no; then
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20500 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20501 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
20502 $as_echo_n "(cached) " >&6
20504 ac_check_lib_save_LIBS=$LIBS
20506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20507 /* end confdefs.h. */
20509 /* Override any GCC internal prototype to avoid an error.
20510 Use char because int might match the return type of a GCC
20511 builtin and then its argument prototype would still apply. */
20515 char gethostbyname ();
20519 return gethostbyname ();
20524 if ac_fn_c_try_link "$LINENO"; then :
20525 ac_cv_lib_nsl_gethostbyname=yes
20527 ac_cv_lib_nsl_gethostbyname=no
20529 rm -f core conftest.err conftest.$ac_objext \
20530 conftest$ac_exeext conftest.$ac_ext
20531 LIBS=$ac_check_lib_save_LIBS
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20534 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20535 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20536 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20539 if test $ac_cv_lib_nsl_gethostbyname = no; then
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20541 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20542 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
20543 $as_echo_n "(cached) " >&6
20545 ac_check_lib_save_LIBS=$LIBS
20547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20548 /* end confdefs.h. */
20550 /* Override any GCC internal prototype to avoid an error.
20551 Use char because int might match the return type of a GCC
20552 builtin and then its argument prototype would still apply. */
20556 char gethostbyname ();
20560 return gethostbyname ();
20565 if ac_fn_c_try_link "$LINENO"; then :
20566 ac_cv_lib_bsd_gethostbyname=yes
20568 ac_cv_lib_bsd_gethostbyname=no
20570 rm -f core conftest.err conftest.$ac_objext \
20571 conftest$ac_exeext conftest.$ac_ext
20572 LIBS=$ac_check_lib_save_LIBS
20574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20575 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20576 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20577 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20583 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20584 # socket/setsockopt and other routines are undefined under SCO ODT
20585 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20586 # on later versions), says Simon Leinen: it contains gethostby*
20587 # variants that don't use the name server (or something). -lsocket
20588 # must be given before -lnsl if both are needed. We assume that
20589 # if connect needs -lnsl, so does gethostbyname.
20590 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
20591 if test "x$ac_cv_func_connect" = x""yes; then :
20595 if test $ac_cv_func_connect = no; then
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20597 $as_echo_n "checking for connect in -lsocket... " >&6; }
20598 if test "${ac_cv_lib_socket_connect+set}" = set; then :
20599 $as_echo_n "(cached) " >&6
20601 ac_check_lib_save_LIBS=$LIBS
20602 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20604 /* end confdefs.h. */
20606 /* Override any GCC internal prototype to avoid an error.
20607 Use char because int might match the return type of a GCC
20608 builtin and then its argument prototype would still apply. */
20621 if ac_fn_c_try_link "$LINENO"; then :
20622 ac_cv_lib_socket_connect=yes
20624 ac_cv_lib_socket_connect=no
20626 rm -f core conftest.err conftest.$ac_objext \
20627 conftest$ac_exeext conftest.$ac_ext
20628 LIBS=$ac_check_lib_save_LIBS
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20631 $as_echo "$ac_cv_lib_socket_connect" >&6; }
20632 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20633 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20638 # Guillermo Gomez says -lposix is necessary on A/UX.
20639 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
20640 if test "x$ac_cv_func_remove" = x""yes; then :
20644 if test $ac_cv_func_remove = no; then
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20646 $as_echo_n "checking for remove in -lposix... " >&6; }
20647 if test "${ac_cv_lib_posix_remove+set}" = set; then :
20648 $as_echo_n "(cached) " >&6
20650 ac_check_lib_save_LIBS=$LIBS
20651 LIBS="-lposix $LIBS"
20652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20653 /* end confdefs.h. */
20655 /* Override any GCC internal prototype to avoid an error.
20656 Use char because int might match the return type of a GCC
20657 builtin and then its argument prototype would still apply. */
20670 if ac_fn_c_try_link "$LINENO"; then :
20671 ac_cv_lib_posix_remove=yes
20673 ac_cv_lib_posix_remove=no
20675 rm -f core conftest.err conftest.$ac_objext \
20676 conftest$ac_exeext conftest.$ac_ext
20677 LIBS=$ac_check_lib_save_LIBS
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20680 $as_echo "$ac_cv_lib_posix_remove" >&6; }
20681 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20682 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20687 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20688 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
20689 if test "x$ac_cv_func_shmat" = x""yes; then :
20693 if test $ac_cv_func_shmat = no; then
20694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20695 $as_echo_n "checking for shmat in -lipc... " >&6; }
20696 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
20697 $as_echo_n "(cached) " >&6
20699 ac_check_lib_save_LIBS=$LIBS
20701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20702 /* end confdefs.h. */
20704 /* Override any GCC internal prototype to avoid an error.
20705 Use char because int might match the return type of a GCC
20706 builtin and then its argument prototype would still apply. */
20719 if ac_fn_c_try_link "$LINENO"; then :
20720 ac_cv_lib_ipc_shmat=yes
20722 ac_cv_lib_ipc_shmat=no
20724 rm -f core conftest.err conftest.$ac_objext \
20725 conftest$ac_exeext conftest.$ac_ext
20726 LIBS=$ac_check_lib_save_LIBS
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20729 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20730 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20731 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20737 # Check for libraries that X11R6 Xt/Xaw programs need.
20738 ac_save_LDFLAGS=$LDFLAGS
20739 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20740 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20741 # check for ICE first), but we must link in the order -lSM -lICE or
20742 # we get undefined symbols. So assume we have SM if we have ICE.
20743 # These have to be linked with before -lX11, unlike the other
20744 # libraries we check for below, so use a different variable.
20745 # John Interrante, Karl Berry
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20747 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20748 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20749 $as_echo_n "(cached) " >&6
20751 ac_check_lib_save_LIBS=$LIBS
20752 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20754 /* end confdefs.h. */
20756 /* Override any GCC internal prototype to avoid an error.
20757 Use char because int might match the return type of a GCC
20758 builtin and then its argument prototype would still apply. */
20762 char IceConnectionNumber ();
20766 return IceConnectionNumber ();
20771 if ac_fn_c_try_link "$LINENO"; then :
20772 ac_cv_lib_ICE_IceConnectionNumber=yes
20774 ac_cv_lib_ICE_IceConnectionNumber=no
20776 rm -f core conftest.err conftest.$ac_objext \
20777 conftest$ac_exeext conftest.$ac_ext
20778 LIBS=$ac_check_lib_save_LIBS
20780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20781 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20782 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20783 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20786 LDFLAGS=$ac_save_LDFLAGS
20790 if test "x$no_x" = xyes; then
20791 use_xlib="no (requires X development libraries)"
20793 xlib_NONPKGCONFIG_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
20794 xlib_NONPKGCONFIG_CFLAGS=$X_CFLAGS
20797 xlib_CFLAGS=$pkg_cv_xlib_CFLAGS
20798 xlib_LIBS=$pkg_cv_xlib_LIBS
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20800 $as_echo "yes" >&6; }
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Xlib surface backend feature could be enabled" >&5
20806 $as_echo_n "checking whether cairo's Xlib surface backend feature could be enabled... " >&6; }
20807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xlib" >&5
20808 $as_echo "$use_xlib" >&6; }
20810 if test "x$enable_xlib" = "xyes" -a "x$use_xlib" != xyes; then :
20811 as_fn_error $? " Xlib surface backend feature could not be enabled" "$LINENO" 5
20815 as_fn_error $? "invalid argument passed to --enable-xlib: \`$use_xlib', should be one of [no/auto/yes]" "$LINENO" 5
20818 if test "x$use_xlib" = "xyes"; then :
20819 CAIRO_REQUIRES="$xlib_REQUIRES"" ${CAIRO_REQUIRES}"
20821 CAIRO_CFLAGS="$xlib_CFLAGS"" ${CAIRO_CFLAGS}"
20823 CAIRO_NONPKGCONFIG_CFLAGS="$xlib_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
20825 CAIRO_LIBS="$xlib_LIBS"" ${CAIRO_LIBS}"
20827 CAIRO_NONPKGCONFIG_LIBS="$xlib_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
20832 unset xlib_REQUIRES
20834 unset xlib_NONPKGCONFIG_CFLAGS
20836 unset xlib_NONPKGCONFIG_LIBS
20837 unset xlib_NONPKGCONFIG_EXTRA_LIBS
20842 if test "x$use_xlib" = xyes; then
20843 CAIRO_HAS_XLIB_SURFACE_TRUE=
20844 CAIRO_HAS_XLIB_SURFACE_FALSE='#'
20846 CAIRO_HAS_XLIB_SURFACE_TRUE='#'
20847 CAIRO_HAS_XLIB_SURFACE_FALSE=
20851 cr_make_tmp='CAIRO_HAS_XLIB_SURFACE=0'
20852 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
20857 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20860 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20863 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20866 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20870 cr_make_tmp='supported_cairo_headers += $(cairo_xlib_headers)'
20871 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20874 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20876 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_headers)'
20877 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20880 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20885 cr_make_tmp='all_cairo_headers += $(cairo_xlib_headers)
20886 all_cairo_private += $(cairo_xlib_private)
20887 all_cairo_cxx_sources += $(cairo_xlib_cxx_sources)
20888 all_cairo_sources += $(cairo_xlib_sources)'
20889 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20892 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20894 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_headers)
20895 all_cairo_boilerplate_private += $(cairo_boilerplate_xlib_private)
20896 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_cxx_sources)
20897 all_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_sources)'
20898 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20901 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20905 cr_make_tmp='enabled_cairo_headers += $(cairo_xlib_headers)
20906 enabled_cairo_private += $(cairo_xlib_private)
20907 enabled_cairo_cxx_sources += $(cairo_xlib_cxx_sources)
20908 enabled_cairo_sources += $(cairo_xlib_sources)'
20909 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20910 "'if CAIRO_HAS_XLIB_SURFACE'
20911 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20913 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20916 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20917 "'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
20918 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20920 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20922 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_headers)
20923 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xlib_private)
20924 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_cxx_sources)
20925 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_sources)'
20926 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20927 "'if CAIRO_HAS_XLIB_SURFACE'
20928 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20930 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20933 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20934 "'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
20935 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20937 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20943 if test "x$use_xlib" = xyes; then :
20945 ac_config_files="$ac_config_files src/cairo-xlib.pc:src/cairo-features.pc.in"
20949 if test "x$use_xlib" = xyes; then :
20951 ac_config_files="$ac_config_files cairo-xlib-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
20955 cr_make_tmp='all_cairo_pkgconf += cairo-xlib.pc'
20956 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20959 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20963 cr_make_tmp='enabled_cairo_pkgconf += cairo-xlib.pc'
20964 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20965 "'if CAIRO_HAS_XLIB_SURFACE'
20966 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20968 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20971 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20972 "'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
20973 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20975 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20979 if test "x$use_xlib" = xyes; then :
20981 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XLIB_SURFACE'
20985 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_XLIB_SURFACE'
20989 if test "x$use_xlib" != xyes; then :
20991 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_XLIB_SURFACE'
20997 cr_make_tmp=' @echo "#define CAIRO_HAS_XLIB_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
20998 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
20999 "'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
21000 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21002 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21008 if test "x$use_xlib" = xyes; then :
21010 CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'xlib'
21018 # Check whether --enable-xlib-xrender was given.
21019 if test "${enable_xlib_xrender+set}" = set; then :
21020 enableval=$enable_xlib_xrender; enable_xlib_xrender=$enableval
21022 enable_xlib_xrender=auto
21025 case $enable_xlib_xrender in #(
21027 use_xlib_xrender="no (disabled, use --enable-xlib-xrender to enable)"
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Xlib Xrender surface backend feature" >&5
21031 $as_echo_n "checking for cairo's Xlib Xrender surface backend feature... " >&6; }
21034 use_xlib_xrender=yes
21035 xlib_xrender_BASE="cairo"
21036 xlib_xrender_REQUIRES="$ac_env_xlib_xrender_REQUIRES_value"
21037 xlib_xrender_CFLAGS="$ac_env_xlib_xrender_CFLAGS_value"
21038 xlib_xrender_NONPKGCONFIG_CFLAGS="$ac_env_xlib_xrender_NONPKGCONFIG_CFLAGS_value"
21039 xlib_xrender_LIBS="$ac_env_xlib_xrender_LIBS_value"
21040 xlib_xrender_NONPKGCONFIG_LIBS="$ac_env_xlib_xrender_NONPKGCONFIG_LIBS_value"
21041 xlib_xrender_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xlib_xrender_NONPKGCONFIG_EXTRA_LIBS_value"
21045 if test "x$use_xlib" != "xyes"; then
21046 use_xlib_xrender="no (requires --enable-xlib)"
21048 xlib_xrender_BASE=cairo-xlib
21049 xlib_xrender_REQUIRES="xrender >= 0.6"
21052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xlib_xrender" >&5
21053 $as_echo_n "checking for xlib_xrender... " >&6; }
21055 if test -n "$xlib_xrender_CFLAGS"; then
21056 pkg_cv_xlib_xrender_CFLAGS="$xlib_xrender_CFLAGS"
21057 elif test -n "$PKG_CONFIG"; then
21058 if test -n "$PKG_CONFIG" && \
21059 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xrender_REQUIRES\""; } >&5
21060 ($PKG_CONFIG --exists --print-errors "$xlib_xrender_REQUIRES") 2>&5
21062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21063 test $ac_status = 0; }; then
21064 pkg_cv_xlib_xrender_CFLAGS=`$PKG_CONFIG --cflags "$xlib_xrender_REQUIRES" 2>/dev/null`
21071 if test -n "$xlib_xrender_LIBS"; then
21072 pkg_cv_xlib_xrender_LIBS="$xlib_xrender_LIBS"
21073 elif test -n "$PKG_CONFIG"; then
21074 if test -n "$PKG_CONFIG" && \
21075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xrender_REQUIRES\""; } >&5
21076 ($PKG_CONFIG --exists --print-errors "$xlib_xrender_REQUIRES") 2>&5
21078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21079 test $ac_status = 0; }; then
21080 pkg_cv_xlib_xrender_LIBS=`$PKG_CONFIG --libs "$xlib_xrender_REQUIRES" 2>/dev/null`
21090 if test $pkg_failed = yes; then
21092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21093 _pkg_short_errors_supported=yes
21095 _pkg_short_errors_supported=no
21097 if test $_pkg_short_errors_supported = yes; then
21098 xlib_xrender_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xlib_xrender_REQUIRES" 2>&1`
21100 xlib_xrender_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xlib_xrender_REQUIRES" 2>&1`
21102 # Put the nasty error message in config.log where it belongs
21103 echo "$xlib_xrender_PKG_ERRORS" >&5
21105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21106 $as_echo "no" >&6; }
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21108 $as_echo "no" >&6; }
21109 xlib_xrender_REQUIRES=""
21110 old_CPPFLAGS=$CPPFLAGS
21111 CPPFLAGS="$CPPFLAGS $xlib_CFLAGS $xlib_NONPKGCONFIG_CFLAGS"
21112 ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
21113 if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
21114 xlib_xrender_NONPKGCONFIG_LIBS="-lXrender"
21116 use_xlib_xrender="no (requires $xlib_xrender_REQUIRES http://freedesktop.org/Software/xlibs)"
21120 CPPFLAGS=$old_CPPFLAGS
21122 elif test $pkg_failed = untried; then
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21124 $as_echo "no" >&6; }
21125 xlib_xrender_REQUIRES=""
21126 old_CPPFLAGS=$CPPFLAGS
21127 CPPFLAGS="$CPPFLAGS $xlib_CFLAGS $xlib_NONPKGCONFIG_CFLAGS"
21128 ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
21129 if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
21130 xlib_xrender_NONPKGCONFIG_LIBS="-lXrender"
21132 use_xlib_xrender="no (requires $xlib_xrender_REQUIRES http://freedesktop.org/Software/xlibs)"
21136 CPPFLAGS=$old_CPPFLAGS
21139 xlib_xrender_CFLAGS=$pkg_cv_xlib_xrender_CFLAGS
21140 xlib_xrender_LIBS=$pkg_cv_xlib_xrender_LIBS
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21142 $as_echo "yes" >&6; }
21148 CFLAGS="$CFLAGS $xlib_CFLAGS $xlib_NONPKGCONFIG_CFLAGS $xlib_xrender_CFLAGS $xlib_xrender_NONPKGCONFIG_CFLAGS"
21149 LIBS="$LIBS $xlib_LIBS $xlib_NONPKGCONFIG_LIBS $xlib_xrender_LIBS $xlib_xrender_NONPKGCONFIG_LIBS"
21150 for ac_func in XRenderCreateLinearGradient XRenderCreateRadialGradient XRenderCreateConicalGradient
21152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21154 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
21155 cat >>confdefs.h <<_ACEOF
21156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Xlib Xrender surface backend feature could be enabled" >&5
21169 $as_echo_n "checking whether cairo's Xlib Xrender surface backend feature could be enabled... " >&6; }
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xlib_xrender" >&5
21171 $as_echo "$use_xlib_xrender" >&6; }
21173 if test "x$enable_xlib_xrender" = "xyes" -a "x$use_xlib_xrender" != xyes; then :
21174 as_fn_error $? " Xlib Xrender surface backend feature could not be enabled" "$LINENO" 5
21178 as_fn_error $? "invalid argument passed to --enable-xlib-xrender: \`$use_xlib_xrender', should be one of [no/auto/yes]" "$LINENO" 5
21181 if test "x$use_xlib_xrender" = "xyes"; then :
21182 CAIRO_REQUIRES="$xlib_xrender_REQUIRES"" ${CAIRO_REQUIRES}"
21184 CAIRO_CFLAGS="$xlib_xrender_CFLAGS"" ${CAIRO_CFLAGS}"
21186 CAIRO_NONPKGCONFIG_CFLAGS="$xlib_xrender_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
21188 CAIRO_LIBS="$xlib_xrender_LIBS"" ${CAIRO_LIBS}"
21190 CAIRO_NONPKGCONFIG_LIBS="$xlib_xrender_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
21194 unset xlib_xrender_BASE
21195 unset xlib_xrender_REQUIRES
21196 unset xlib_xrender_CFLAGS
21197 unset xlib_xrender_NONPKGCONFIG_CFLAGS
21198 unset xlib_xrender_LIBS
21199 unset xlib_xrender_NONPKGCONFIG_LIBS
21200 unset xlib_xrender_NONPKGCONFIG_EXTRA_LIBS
21205 if test "x$use_xlib_xrender" = xyes; then
21206 CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE=
21207 CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE='#'
21209 CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE='#'
21210 CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE=
21214 cr_make_tmp='CAIRO_HAS_XLIB_XRENDER_SURFACE=0'
21215 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
21220 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21223 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21226 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21229 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21233 cr_make_tmp='supported_cairo_headers += $(cairo_xlib_xrender_headers)'
21234 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21237 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21239 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xrender_headers)'
21240 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21243 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21248 cr_make_tmp='all_cairo_headers += $(cairo_xlib_xrender_headers)
21249 all_cairo_private += $(cairo_xlib_xrender_private)
21250 all_cairo_cxx_sources += $(cairo_xlib_xrender_cxx_sources)
21251 all_cairo_sources += $(cairo_xlib_xrender_sources)'
21252 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21255 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21257 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xrender_headers)
21258 all_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xrender_private)
21259 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xrender_cxx_sources)
21260 all_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xrender_sources)'
21261 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21264 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21268 cr_make_tmp='enabled_cairo_headers += $(cairo_xlib_xrender_headers)
21269 enabled_cairo_private += $(cairo_xlib_xrender_private)
21270 enabled_cairo_cxx_sources += $(cairo_xlib_xrender_cxx_sources)
21271 enabled_cairo_sources += $(cairo_xlib_xrender_sources)'
21272 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21273 "'if CAIRO_HAS_XLIB_XRENDER_SURFACE'
21274 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21276 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21279 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21280 "'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
21281 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21283 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21285 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xrender_headers)
21286 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xrender_private)
21287 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xrender_cxx_sources)
21288 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xrender_sources)'
21289 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21290 "'if CAIRO_HAS_XLIB_XRENDER_SURFACE'
21291 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21293 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21296 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21297 "'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
21298 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21300 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21306 if test "x$use_xlib_xrender" = xyes; then :
21308 ac_config_files="$ac_config_files src/cairo-xlib-xrender.pc:src/cairo-features.pc.in"
21312 if test "x$use_xlib_xrender" = xyes; then :
21314 ac_config_files="$ac_config_files cairo-xlib-xrender-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
21318 cr_make_tmp='all_cairo_pkgconf += cairo-xlib-xrender.pc'
21319 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21322 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21326 cr_make_tmp='enabled_cairo_pkgconf += cairo-xlib-xrender.pc'
21327 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21328 "'if CAIRO_HAS_XLIB_XRENDER_SURFACE'
21329 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21331 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21334 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21335 "'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
21336 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21338 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21342 if test "x$use_xlib_xrender" = xyes; then :
21344 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XLIB_XRENDER_SURFACE'
21348 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_XLIB_XRENDER_SURFACE'
21352 if test "x$use_xlib_xrender" != xyes; then :
21354 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_XLIB_XRENDER_SURFACE'
21360 cr_make_tmp=' @echo "#define CAIRO_HAS_XLIB_XRENDER_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
21361 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21362 "'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
21363 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21365 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21371 if test "x$use_xlib_xrender" = xyes; then :
21373 CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'xlib_xrender'
21382 # Check whether --enable-xcb was given.
21383 if test "${enable_xcb+set}" = set; then :
21384 enableval=$enable_xcb; enable_xcb=$enableval
21389 case $enable_xcb in #(
21391 use_xcb="no (disabled, use --enable-xcb to enable)"
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's XCB surface backend feature" >&5
21395 $as_echo_n "checking for cairo's XCB surface backend feature... " >&6; }
21400 xcb_REQUIRES="$ac_env_xcb_REQUIRES_value"
21401 xcb_CFLAGS="$ac_env_xcb_CFLAGS_value"
21402 xcb_NONPKGCONFIG_CFLAGS="$ac_env_xcb_NONPKGCONFIG_CFLAGS_value"
21403 xcb_LIBS="$ac_env_xcb_LIBS_value"
21404 xcb_NONPKGCONFIG_LIBS="$ac_env_xcb_NONPKGCONFIG_LIBS_value"
21405 xcb_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xcb_NONPKGCONFIG_EXTRA_LIBS_value"
21409 xcb_REQUIRES="xcb >= 1.6 xcb-render >= 1.6"
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xcb" >&5
21413 $as_echo_n "checking for xcb... " >&6; }
21415 if test -n "$xcb_CFLAGS"; then
21416 pkg_cv_xcb_CFLAGS="$xcb_CFLAGS"
21417 elif test -n "$PKG_CONFIG"; then
21418 if test -n "$PKG_CONFIG" && \
21419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_REQUIRES\""; } >&5
21420 ($PKG_CONFIG --exists --print-errors "$xcb_REQUIRES") 2>&5
21422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21423 test $ac_status = 0; }; then
21424 pkg_cv_xcb_CFLAGS=`$PKG_CONFIG --cflags "$xcb_REQUIRES" 2>/dev/null`
21431 if test -n "$xcb_LIBS"; then
21432 pkg_cv_xcb_LIBS="$xcb_LIBS"
21433 elif test -n "$PKG_CONFIG"; then
21434 if test -n "$PKG_CONFIG" && \
21435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_REQUIRES\""; } >&5
21436 ($PKG_CONFIG --exists --print-errors "$xcb_REQUIRES") 2>&5
21438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21439 test $ac_status = 0; }; then
21440 pkg_cv_xcb_LIBS=`$PKG_CONFIG --libs "$xcb_REQUIRES" 2>/dev/null`
21450 if test $pkg_failed = yes; then
21452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21453 _pkg_short_errors_supported=yes
21455 _pkg_short_errors_supported=no
21457 if test $_pkg_short_errors_supported = yes; then
21458 xcb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xcb_REQUIRES" 2>&1`
21460 xcb_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xcb_REQUIRES" 2>&1`
21462 # Put the nasty error message in config.log where it belongs
21463 echo "$xcb_PKG_ERRORS" >&5
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21466 $as_echo "no" >&6; }
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21468 $as_echo "no" >&6; }
21469 use_xcb="no (requires $xcb_REQUIRES http://xcb.freedesktop.org)"
21470 elif test $pkg_failed = untried; then
21471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21472 $as_echo "no" >&6; }
21473 use_xcb="no (requires $xcb_REQUIRES http://xcb.freedesktop.org)"
21475 xcb_CFLAGS=$pkg_cv_xcb_CFLAGS
21476 xcb_LIBS=$pkg_cv_xcb_LIBS
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21478 $as_echo "yes" >&6; }
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's XCB surface backend feature could be enabled" >&5
21484 $as_echo_n "checking whether cairo's XCB surface backend feature could be enabled... " >&6; }
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xcb" >&5
21486 $as_echo "$use_xcb" >&6; }
21488 if test "x$enable_xcb" = "xyes" -a "x$use_xcb" != xyes; then :
21489 as_fn_error $? " XCB surface backend feature could not be enabled" "$LINENO" 5
21493 as_fn_error $? "invalid argument passed to --enable-xcb: \`$use_xcb', should be one of [no/auto/yes]" "$LINENO" 5
21496 if test "x$use_xcb" = "xyes"; then :
21497 CAIRO_REQUIRES="$xcb_REQUIRES"" ${CAIRO_REQUIRES}"
21499 CAIRO_CFLAGS="$xcb_CFLAGS"" ${CAIRO_CFLAGS}"
21501 CAIRO_NONPKGCONFIG_CFLAGS="$xcb_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
21503 CAIRO_LIBS="$xcb_LIBS"" ${CAIRO_LIBS}"
21505 CAIRO_NONPKGCONFIG_LIBS="$xcb_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
21512 unset xcb_NONPKGCONFIG_CFLAGS
21514 unset xcb_NONPKGCONFIG_LIBS
21515 unset xcb_NONPKGCONFIG_EXTRA_LIBS
21520 if test "x$use_xcb" = xyes; then
21521 CAIRO_HAS_XCB_SURFACE_TRUE=
21522 CAIRO_HAS_XCB_SURFACE_FALSE='#'
21524 CAIRO_HAS_XCB_SURFACE_TRUE='#'
21525 CAIRO_HAS_XCB_SURFACE_FALSE=
21529 cr_make_tmp='CAIRO_HAS_XCB_SURFACE=0'
21530 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
21535 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21538 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21541 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21544 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21548 cr_make_tmp='supported_cairo_headers += $(cairo_xcb_headers)'
21549 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21552 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21554 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_headers)'
21555 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21558 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21563 cr_make_tmp='all_cairo_headers += $(cairo_xcb_headers)
21564 all_cairo_private += $(cairo_xcb_private)
21565 all_cairo_cxx_sources += $(cairo_xcb_cxx_sources)
21566 all_cairo_sources += $(cairo_xcb_sources)'
21567 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21570 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21572 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_headers)
21573 all_cairo_boilerplate_private += $(cairo_boilerplate_xcb_private)
21574 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_cxx_sources)
21575 all_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_sources)'
21576 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21579 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21583 cr_make_tmp='enabled_cairo_headers += $(cairo_xcb_headers)
21584 enabled_cairo_private += $(cairo_xcb_private)
21585 enabled_cairo_cxx_sources += $(cairo_xcb_cxx_sources)
21586 enabled_cairo_sources += $(cairo_xcb_sources)'
21587 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21588 "'if CAIRO_HAS_XCB_SURFACE'
21589 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21591 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21594 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21595 "'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
21596 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21598 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21600 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_headers)
21601 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xcb_private)
21602 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_cxx_sources)
21603 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_sources)'
21604 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21605 "'if CAIRO_HAS_XCB_SURFACE'
21606 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21608 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21611 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21612 "'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
21613 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21615 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21621 if test "x$use_xcb" = xyes; then :
21623 ac_config_files="$ac_config_files src/cairo-xcb.pc:src/cairo-features.pc.in"
21627 if test "x$use_xcb" = xyes; then :
21629 ac_config_files="$ac_config_files cairo-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
21633 cr_make_tmp='all_cairo_pkgconf += cairo-xcb.pc'
21634 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21637 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21641 cr_make_tmp='enabled_cairo_pkgconf += cairo-xcb.pc'
21642 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21643 "'if CAIRO_HAS_XCB_SURFACE'
21644 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21646 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21649 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21650 "'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
21651 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21653 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21657 if test "x$use_xcb" = xyes; then :
21659 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XCB_SURFACE'
21663 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_XCB_SURFACE'
21667 if test "x$use_xcb" != xyes; then :
21669 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_XCB_SURFACE'
21675 cr_make_tmp=' @echo "#define CAIRO_HAS_XCB_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
21676 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21677 "'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
21678 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21680 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21686 if test "x$use_xcb" = xyes; then :
21688 CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'xcb'
21696 # Check whether --enable-xlib-xcb was given.
21697 if test "${enable_xlib_xcb+set}" = set; then :
21698 enableval=$enable_xlib_xcb; enable_xlib_xcb=$enableval
21703 case $enable_xlib_xcb in #(
21705 use_xlib_xcb="no (disabled, use --enable-xlib-xcb to enable)"
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Xlib/XCB functions feature" >&5
21709 $as_echo_n "checking for cairo's Xlib/XCB functions feature... " >&6; }
21713 xlib_xcb_BASE="cairo"
21714 xlib_xcb_REQUIRES="$ac_env_xlib_xcb_REQUIRES_value"
21715 xlib_xcb_CFLAGS="$ac_env_xlib_xcb_CFLAGS_value"
21716 xlib_xcb_NONPKGCONFIG_CFLAGS="$ac_env_xlib_xcb_NONPKGCONFIG_CFLAGS_value"
21717 xlib_xcb_LIBS="$ac_env_xlib_xcb_LIBS_value"
21718 xlib_xcb_NONPKGCONFIG_LIBS="$ac_env_xlib_xcb_NONPKGCONFIG_LIBS_value"
21719 xlib_xcb_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xlib_xcb_NONPKGCONFIG_EXTRA_LIBS_value"
21723 if test "x$use_xcb" = "xyes" -a "x$use_xlib" = "xyes"; then
21724 xlib_xcb_REQUIRES="x11-xcb"
21727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xlib_xcb" >&5
21728 $as_echo_n "checking for xlib_xcb... " >&6; }
21730 if test -n "$xlib_xcb_CFLAGS"; then
21731 pkg_cv_xlib_xcb_CFLAGS="$xlib_xcb_CFLAGS"
21732 elif test -n "$PKG_CONFIG"; then
21733 if test -n "$PKG_CONFIG" && \
21734 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xcb_REQUIRES\""; } >&5
21735 ($PKG_CONFIG --exists --print-errors "$xlib_xcb_REQUIRES") 2>&5
21737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21738 test $ac_status = 0; }; then
21739 pkg_cv_xlib_xcb_CFLAGS=`$PKG_CONFIG --cflags "$xlib_xcb_REQUIRES" 2>/dev/null`
21746 if test -n "$xlib_xcb_LIBS"; then
21747 pkg_cv_xlib_xcb_LIBS="$xlib_xcb_LIBS"
21748 elif test -n "$PKG_CONFIG"; then
21749 if test -n "$PKG_CONFIG" && \
21750 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xcb_REQUIRES\""; } >&5
21751 ($PKG_CONFIG --exists --print-errors "$xlib_xcb_REQUIRES") 2>&5
21753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21754 test $ac_status = 0; }; then
21755 pkg_cv_xlib_xcb_LIBS=`$PKG_CONFIG --libs "$xlib_xcb_REQUIRES" 2>/dev/null`
21765 if test $pkg_failed = yes; then
21767 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21768 _pkg_short_errors_supported=yes
21770 _pkg_short_errors_supported=no
21772 if test $_pkg_short_errors_supported = yes; then
21773 xlib_xcb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xlib_xcb_REQUIRES" 2>&1`
21775 xlib_xcb_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xlib_xcb_REQUIRES" 2>&1`
21777 # Put the nasty error message in config.log where it belongs
21778 echo "$xlib_xcb_PKG_ERRORS" >&5
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21781 $as_echo "no" >&6; }
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21783 $as_echo "no" >&6; }
21784 use_xlib_xcb="no (requires $xlib_xcb_REQUIRES http://xcb.freedesktop.org)"
21785 elif test $pkg_failed = untried; then
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21787 $as_echo "no" >&6; }
21788 use_xlib_xcb="no (requires $xlib_xcb_REQUIRES http://xcb.freedesktop.org)"
21790 xlib_xcb_CFLAGS=$pkg_cv_xlib_xcb_CFLAGS
21791 xlib_xcb_LIBS=$pkg_cv_xlib_xcb_LIBS
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21793 $as_echo "yes" >&6; }
21797 use_xlib_xcb="no (requires both --enable-xlib and --enable-xcb)"
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Xlib/XCB functions feature could be enabled" >&5
21802 $as_echo_n "checking whether cairo's Xlib/XCB functions feature could be enabled... " >&6; }
21803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xlib_xcb" >&5
21804 $as_echo "$use_xlib_xcb" >&6; }
21806 if test "x$enable_xlib_xcb" = "xyes" -a "x$use_xlib_xcb" != xyes; then :
21807 as_fn_error $? " Xlib/XCB functions feature could not be enabled" "$LINENO" 5
21811 as_fn_error $? "invalid argument passed to --enable-xlib-xcb: \`$use_xlib_xcb', should be one of [no/auto/yes]" "$LINENO" 5
21814 if test "x$use_xlib_xcb" = "xyes"; then :
21815 CAIRO_REQUIRES="$xlib_xcb_REQUIRES"" ${CAIRO_REQUIRES}"
21817 CAIRO_CFLAGS="$xlib_xcb_CFLAGS"" ${CAIRO_CFLAGS}"
21819 CAIRO_NONPKGCONFIG_CFLAGS="$xlib_xcb_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
21821 CAIRO_LIBS="$xlib_xcb_LIBS"" ${CAIRO_LIBS}"
21823 CAIRO_NONPKGCONFIG_LIBS="$xlib_xcb_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
21827 unset xlib_xcb_BASE
21828 unset xlib_xcb_REQUIRES
21829 unset xlib_xcb_CFLAGS
21830 unset xlib_xcb_NONPKGCONFIG_CFLAGS
21831 unset xlib_xcb_LIBS
21832 unset xlib_xcb_NONPKGCONFIG_LIBS
21833 unset xlib_xcb_NONPKGCONFIG_EXTRA_LIBS
21838 if test "x$use_xlib_xcb" = xyes; then
21839 CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE=
21840 CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE='#'
21842 CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE='#'
21843 CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE=
21847 cr_make_tmp='CAIRO_HAS_XLIB_XCB_FUNCTIONS=0'
21848 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
21853 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21856 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21859 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21862 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21867 cr_make_tmp='unsupported_cairo_headers += $(cairo_xlib_xcb_headers)'
21868 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21871 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21873 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)'
21874 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21877 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21881 cr_make_tmp='all_cairo_headers += $(cairo_xlib_xcb_headers)
21882 all_cairo_private += $(cairo_xlib_xcb_private)
21883 all_cairo_cxx_sources += $(cairo_xlib_xcb_cxx_sources)
21884 all_cairo_sources += $(cairo_xlib_xcb_sources)'
21885 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21888 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21890 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)
21891 all_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xcb_private)
21892 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xcb_cxx_sources)
21893 all_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xcb_sources)'
21894 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21897 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21901 cr_make_tmp='enabled_cairo_headers += $(cairo_xlib_xcb_headers)
21902 enabled_cairo_private += $(cairo_xlib_xcb_private)
21903 enabled_cairo_cxx_sources += $(cairo_xlib_xcb_cxx_sources)
21904 enabled_cairo_sources += $(cairo_xlib_xcb_sources)'
21905 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21906 "'if CAIRO_HAS_XLIB_XCB_FUNCTIONS'
21907 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21909 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21912 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21913 "'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
21914 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21916 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21918 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)
21919 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xcb_private)
21920 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xcb_cxx_sources)
21921 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xcb_sources)'
21922 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21923 "'if CAIRO_HAS_XLIB_XCB_FUNCTIONS'
21924 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21926 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21929 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21930 "'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
21931 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21933 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21939 if test "x$use_xlib_xcb" = xyes; then :
21941 ac_config_files="$ac_config_files src/cairo-xlib-xcb.pc:src/cairo-features.pc.in"
21945 if test "x$use_xlib_xcb" = xyes; then :
21947 ac_config_files="$ac_config_files cairo-xlib-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
21951 cr_make_tmp='all_cairo_pkgconf += cairo-xlib-xcb.pc'
21952 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21955 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21959 cr_make_tmp='enabled_cairo_pkgconf += cairo-xlib-xcb.pc'
21960 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21961 "'if CAIRO_HAS_XLIB_XCB_FUNCTIONS'
21962 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21964 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21967 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21968 "'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
21969 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21971 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21975 if test "x$use_xlib_xcb" = xyes; then :
21977 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XLIB_XCB_FUNCTIONS'
21984 cr_make_tmp=' @echo "#define CAIRO_HAS_XLIB_XCB_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
21985 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21986 "'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
21987 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21989 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21993 if test "x$use_xlib_xcb" = xyes; then :
21995 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
21997 "'--- The Xlib/XCB functions feature is still under active development and is
21998 --- included in this release only as a preview. It does NOT fully work yet
21999 --- and incompatible changes may yet be made to Xlib/XCB functions specific
22010 # Check whether --enable-xcb-shm was given.
22011 if test "${enable_xcb_shm+set}" = set; then :
22012 enableval=$enable_xcb_shm; enable_xcb_shm=$enableval
22014 enable_xcb_shm=auto
22017 case $enable_xcb_shm in #(
22019 use_xcb_shm="no (disabled, use --enable-xcb-shm to enable)"
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's XCB/SHM functions feature" >&5
22023 $as_echo_n "checking for cairo's XCB/SHM functions feature... " >&6; }
22027 xcb_shm_BASE="cairo"
22028 xcb_shm_REQUIRES="$ac_env_xcb_shm_REQUIRES_value"
22029 xcb_shm_CFLAGS="$ac_env_xcb_shm_CFLAGS_value"
22030 xcb_shm_NONPKGCONFIG_CFLAGS="$ac_env_xcb_shm_NONPKGCONFIG_CFLAGS_value"
22031 xcb_shm_LIBS="$ac_env_xcb_shm_LIBS_value"
22032 xcb_shm_NONPKGCONFIG_LIBS="$ac_env_xcb_shm_NONPKGCONFIG_LIBS_value"
22033 xcb_shm_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xcb_shm_NONPKGCONFIG_EXTRA_LIBS_value"
22037 if test "x$use_xcb" = "xyes"; then
22038 xcb_shm_REQUIRES="xcb-shm"
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xcb_shm" >&5
22042 $as_echo_n "checking for xcb_shm... " >&6; }
22044 if test -n "$xcb_shm_CFLAGS"; then
22045 pkg_cv_xcb_shm_CFLAGS="$xcb_shm_CFLAGS"
22046 elif test -n "$PKG_CONFIG"; then
22047 if test -n "$PKG_CONFIG" && \
22048 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_shm_REQUIRES\""; } >&5
22049 ($PKG_CONFIG --exists --print-errors "$xcb_shm_REQUIRES") 2>&5
22051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22052 test $ac_status = 0; }; then
22053 pkg_cv_xcb_shm_CFLAGS=`$PKG_CONFIG --cflags "$xcb_shm_REQUIRES" 2>/dev/null`
22060 if test -n "$xcb_shm_LIBS"; then
22061 pkg_cv_xcb_shm_LIBS="$xcb_shm_LIBS"
22062 elif test -n "$PKG_CONFIG"; then
22063 if test -n "$PKG_CONFIG" && \
22064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_shm_REQUIRES\""; } >&5
22065 ($PKG_CONFIG --exists --print-errors "$xcb_shm_REQUIRES") 2>&5
22067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22068 test $ac_status = 0; }; then
22069 pkg_cv_xcb_shm_LIBS=`$PKG_CONFIG --libs "$xcb_shm_REQUIRES" 2>/dev/null`
22079 if test $pkg_failed = yes; then
22081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22082 _pkg_short_errors_supported=yes
22084 _pkg_short_errors_supported=no
22086 if test $_pkg_short_errors_supported = yes; then
22087 xcb_shm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xcb_shm_REQUIRES" 2>&1`
22089 xcb_shm_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xcb_shm_REQUIRES" 2>&1`
22091 # Put the nasty error message in config.log where it belongs
22092 echo "$xcb_shm_PKG_ERRORS" >&5
22094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22095 $as_echo "no" >&6; }
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22097 $as_echo "no" >&6; }
22098 use_xcb_shm="no (requires $xcb_shm http://xcb.freedesktop.org)"
22099 elif test $pkg_failed = untried; then
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22101 $as_echo "no" >&6; }
22102 use_xcb_shm="no (requires $xcb_shm http://xcb.freedesktop.org)"
22104 xcb_shm_CFLAGS=$pkg_cv_xcb_shm_CFLAGS
22105 xcb_shm_LIBS=$pkg_cv_xcb_shm_LIBS
22106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22107 $as_echo "yes" >&6; }
22111 use_xcb_shm="no (requires --enable-xcb)"
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's XCB/SHM functions feature could be enabled" >&5
22116 $as_echo_n "checking whether cairo's XCB/SHM functions feature could be enabled... " >&6; }
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xcb_shm" >&5
22118 $as_echo "$use_xcb_shm" >&6; }
22120 if test "x$enable_xcb_shm" = "xyes" -a "x$use_xcb_shm" != xyes; then :
22121 as_fn_error $? " XCB/SHM functions feature could not be enabled" "$LINENO" 5
22125 as_fn_error $? "invalid argument passed to --enable-xcb-shm: \`$use_xcb_shm', should be one of [no/auto/yes]" "$LINENO" 5
22128 if test "x$use_xcb_shm" = "xyes"; then :
22129 CAIRO_REQUIRES="$xcb_shm_REQUIRES"" ${CAIRO_REQUIRES}"
22131 CAIRO_CFLAGS="$xcb_shm_CFLAGS"" ${CAIRO_CFLAGS}"
22133 CAIRO_NONPKGCONFIG_CFLAGS="$xcb_shm_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
22135 CAIRO_LIBS="$xcb_shm_LIBS"" ${CAIRO_LIBS}"
22137 CAIRO_NONPKGCONFIG_LIBS="$xcb_shm_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
22142 unset xcb_shm_REQUIRES
22143 unset xcb_shm_CFLAGS
22144 unset xcb_shm_NONPKGCONFIG_CFLAGS
22146 unset xcb_shm_NONPKGCONFIG_LIBS
22147 unset xcb_shm_NONPKGCONFIG_EXTRA_LIBS
22152 if test "x$use_xcb_shm" = xyes; then
22153 CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE=
22154 CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE='#'
22156 CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE='#'
22157 CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE=
22161 cr_make_tmp='CAIRO_HAS_XCB_SHM_FUNCTIONS=0'
22162 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
22167 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22170 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22173 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22176 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22180 cr_make_tmp='supported_cairo_headers += $(cairo_xcb_shm_headers)'
22181 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22184 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22186 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_shm_headers)'
22187 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22190 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22195 cr_make_tmp='all_cairo_headers += $(cairo_xcb_shm_headers)
22196 all_cairo_private += $(cairo_xcb_shm_private)
22197 all_cairo_cxx_sources += $(cairo_xcb_shm_cxx_sources)
22198 all_cairo_sources += $(cairo_xcb_shm_sources)'
22199 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22202 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22204 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_shm_headers)
22205 all_cairo_boilerplate_private += $(cairo_boilerplate_xcb_shm_private)
22206 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_shm_cxx_sources)
22207 all_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_shm_sources)'
22208 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22211 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22215 cr_make_tmp='enabled_cairo_headers += $(cairo_xcb_shm_headers)
22216 enabled_cairo_private += $(cairo_xcb_shm_private)
22217 enabled_cairo_cxx_sources += $(cairo_xcb_shm_cxx_sources)
22218 enabled_cairo_sources += $(cairo_xcb_shm_sources)'
22219 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22220 "'if CAIRO_HAS_XCB_SHM_FUNCTIONS'
22221 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22223 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22226 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22227 "'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
22228 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22230 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22232 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_shm_headers)
22233 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xcb_shm_private)
22234 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_shm_cxx_sources)
22235 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_shm_sources)'
22236 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22237 "'if CAIRO_HAS_XCB_SHM_FUNCTIONS'
22238 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22240 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22243 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22244 "'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
22245 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22247 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22253 if test "x$use_xcb_shm" = xyes; then :
22255 ac_config_files="$ac_config_files src/cairo-xcb-shm.pc:src/cairo-features.pc.in"
22259 if test "x$use_xcb_shm" = xyes; then :
22261 ac_config_files="$ac_config_files cairo-xcb-shm-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
22265 cr_make_tmp='all_cairo_pkgconf += cairo-xcb-shm.pc'
22266 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22269 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22273 cr_make_tmp='enabled_cairo_pkgconf += cairo-xcb-shm.pc'
22274 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22275 "'if CAIRO_HAS_XCB_SHM_FUNCTIONS'
22276 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22278 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22281 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22282 "'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
22283 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22285 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22289 if test "x$use_xcb_shm" = xyes; then :
22291 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XCB_SHM_FUNCTIONS'
22295 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_XCB_SHM_FUNCTIONS'
22299 if test "x$use_xcb_shm" != xyes; then :
22301 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_XCB_SHM_FUNCTIONS'
22307 cr_make_tmp=' @echo "#define CAIRO_HAS_XCB_SHM_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
22308 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22309 "'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
22310 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22312 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22323 # Check whether --enable-qt was given.
22324 if test "${enable_qt+set}" = set; then :
22325 enableval=$enable_qt; enable_qt=$enableval
22330 case $enable_qt in #(
22332 use_qt="no (disabled, use --enable-qt to enable)"
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Qt surface backend feature" >&5
22336 $as_echo_n "checking for cairo's Qt surface backend feature... " >&6; }
22341 qt_REQUIRES="$ac_env_qt_REQUIRES_value"
22342 qt_CFLAGS="$ac_env_qt_CFLAGS_value"
22343 qt_NONPKGCONFIG_CFLAGS="$ac_env_qt_NONPKGCONFIG_CFLAGS_value"
22344 qt_LIBS="$ac_env_qt_LIBS_value"
22345 qt_NONPKGCONFIG_LIBS="$ac_env_qt_NONPKGCONFIG_LIBS_value"
22346 qt_NONPKGCONFIG_EXTRA_LIBS="$ac_env_qt_NONPKGCONFIG_EXTRA_LIBS_value"
22350 qt_REQUIRES="QtGui >= 4.4.0"
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
22354 $as_echo_n "checking for qt... " >&6; }
22356 if test -n "$qt_CFLAGS"; then
22357 pkg_cv_qt_CFLAGS="$qt_CFLAGS"
22358 elif test -n "$PKG_CONFIG"; then
22359 if test -n "$PKG_CONFIG" && \
22360 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$qt_REQUIRES\""; } >&5
22361 ($PKG_CONFIG --exists --print-errors "$qt_REQUIRES") 2>&5
22363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22364 test $ac_status = 0; }; then
22365 pkg_cv_qt_CFLAGS=`$PKG_CONFIG --cflags "$qt_REQUIRES" 2>/dev/null`
22372 if test -n "$qt_LIBS"; then
22373 pkg_cv_qt_LIBS="$qt_LIBS"
22374 elif test -n "$PKG_CONFIG"; then
22375 if test -n "$PKG_CONFIG" && \
22376 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$qt_REQUIRES\""; } >&5
22377 ($PKG_CONFIG --exists --print-errors "$qt_REQUIRES") 2>&5
22379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22380 test $ac_status = 0; }; then
22381 pkg_cv_qt_LIBS=`$PKG_CONFIG --libs "$qt_REQUIRES" 2>/dev/null`
22391 if test $pkg_failed = yes; then
22393 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22394 _pkg_short_errors_supported=yes
22396 _pkg_short_errors_supported=no
22398 if test $_pkg_short_errors_supported = yes; then
22399 qt_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$qt_REQUIRES" 2>&1`
22401 qt_PKG_ERRORS=`$PKG_CONFIG --print-errors "$qt_REQUIRES" 2>&1`
22403 # Put the nasty error message in config.log where it belongs
22404 echo "$qt_PKG_ERRORS" >&5
22406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22407 $as_echo "no" >&6; }
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22409 $as_echo "no" >&6; }
22411 use_qt="no (requires Qt4 development libraries)"
22413 elif test $pkg_failed = untried; then
22414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22415 $as_echo "no" >&6; }
22417 use_qt="no (requires Qt4 development libraries)"
22420 qt_CFLAGS=$pkg_cv_qt_CFLAGS
22421 qt_LIBS=$pkg_cv_qt_LIBS
22422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22423 $as_echo "yes" >&6; }
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Qt surface backend feature could be enabled" >&5
22429 $as_echo_n "checking whether cairo's Qt surface backend feature could be enabled... " >&6; }
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_qt" >&5
22431 $as_echo "$use_qt" >&6; }
22433 if test "x$enable_qt" = "xyes" -a "x$use_qt" != xyes; then :
22434 as_fn_error $? " Qt surface backend feature could not be enabled" "$LINENO" 5
22438 as_fn_error $? "invalid argument passed to --enable-qt: \`$use_qt', should be one of [no/auto/yes]" "$LINENO" 5
22441 if test "x$use_qt" = "xyes"; then :
22442 CAIRO_REQUIRES="$qt_REQUIRES"" ${CAIRO_REQUIRES}"
22444 CAIRO_CFLAGS="$qt_CFLAGS"" ${CAIRO_CFLAGS}"
22446 CAIRO_NONPKGCONFIG_CFLAGS="$qt_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
22448 CAIRO_LIBS="$qt_LIBS"" ${CAIRO_LIBS}"
22450 CAIRO_NONPKGCONFIG_LIBS="$qt_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
22457 unset qt_NONPKGCONFIG_CFLAGS
22459 unset qt_NONPKGCONFIG_LIBS
22460 unset qt_NONPKGCONFIG_EXTRA_LIBS
22465 if test "x$use_qt" = xyes; then
22466 CAIRO_HAS_QT_SURFACE_TRUE=
22467 CAIRO_HAS_QT_SURFACE_FALSE='#'
22469 CAIRO_HAS_QT_SURFACE_TRUE='#'
22470 CAIRO_HAS_QT_SURFACE_FALSE=
22474 cr_make_tmp='CAIRO_HAS_QT_SURFACE=0'
22475 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
22480 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22483 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22486 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22489 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22494 cr_make_tmp='unsupported_cairo_headers += $(cairo_qt_headers)'
22495 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22498 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22500 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_qt_headers)'
22501 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22504 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22508 cr_make_tmp='all_cairo_headers += $(cairo_qt_headers)
22509 all_cairo_private += $(cairo_qt_private)
22510 all_cairo_cxx_sources += $(cairo_qt_cxx_sources)
22511 all_cairo_sources += $(cairo_qt_sources)'
22512 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22515 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22517 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_qt_headers)
22518 all_cairo_boilerplate_private += $(cairo_boilerplate_qt_private)
22519 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_qt_cxx_sources)
22520 all_cairo_boilerplate_sources += $(cairo_boilerplate_qt_sources)'
22521 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22524 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22528 cr_make_tmp='enabled_cairo_headers += $(cairo_qt_headers)
22529 enabled_cairo_private += $(cairo_qt_private)
22530 enabled_cairo_cxx_sources += $(cairo_qt_cxx_sources)
22531 enabled_cairo_sources += $(cairo_qt_sources)'
22532 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22533 "'if CAIRO_HAS_QT_SURFACE'
22534 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22536 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22539 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22540 "'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
22541 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22543 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22545 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_qt_headers)
22546 enabled_cairo_boilerplate_private += $(cairo_boilerplate_qt_private)
22547 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_qt_cxx_sources)
22548 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_qt_sources)'
22549 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22550 "'if CAIRO_HAS_QT_SURFACE'
22551 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22553 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22556 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22557 "'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
22558 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22560 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22566 if test "x$use_qt" = xyes; then :
22568 ac_config_files="$ac_config_files src/cairo-qt.pc:src/cairo-features.pc.in"
22572 if test "x$use_qt" = xyes; then :
22574 ac_config_files="$ac_config_files cairo-qt-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
22578 cr_make_tmp='all_cairo_pkgconf += cairo-qt.pc'
22579 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22582 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22586 cr_make_tmp='enabled_cairo_pkgconf += cairo-qt.pc'
22587 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22588 "'if CAIRO_HAS_QT_SURFACE'
22589 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22591 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22594 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22595 "'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
22596 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22598 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22602 if test "x$use_qt" = xyes; then :
22604 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QT_SURFACE'
22611 cr_make_tmp=' @echo "#define CAIRO_HAS_QT_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
22612 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22613 "'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
22614 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22616 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22620 if test "x$use_qt" = xyes; then :
22622 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
22624 "'--- The Qt surface backend feature is still under active development and is
22625 --- included in this release only as a preview. It does NOT fully work yet
22626 --- and incompatible changes may yet be made to Qt surface backend specific
22638 # Check whether --enable-quartz was given.
22639 if test "${enable_quartz+set}" = set; then :
22640 enableval=$enable_quartz; enable_quartz=$enableval
22645 case $enable_quartz in #(
22647 use_quartz="no (disabled, use --enable-quartz to enable)"
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Quartz surface backend feature" >&5
22651 $as_echo_n "checking for cairo's Quartz surface backend feature... " >&6; }
22655 quartz_BASE="cairo"
22656 quartz_REQUIRES="$ac_env_quartz_REQUIRES_value"
22657 quartz_CFLAGS="$ac_env_quartz_CFLAGS_value"
22658 quartz_NONPKGCONFIG_CFLAGS="$ac_env_quartz_NONPKGCONFIG_CFLAGS_value"
22659 quartz_LIBS="$ac_env_quartz_LIBS_value"
22660 quartz_NONPKGCONFIG_LIBS="$ac_env_quartz_NONPKGCONFIG_LIBS_value"
22661 quartz_NONPKGCONFIG_EXTRA_LIBS="$ac_env_quartz_NONPKGCONFIG_EXTRA_LIBS_value"
22665 ac_fn_c_check_header_mongrel "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
22666 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = x""yes; then :
22669 use_quartz="no (requires ApplicationServices framework)"
22673 if test "x$use_quartz" != "xyes" ; then
22674 ac_fn_c_check_header_mongrel "$LINENO" "CoreGraphics/CoreGraphics.h" "ac_cv_header_CoreGraphics_CoreGraphics_h" "$ac_includes_default"
22675 if test "x$ac_cv_header_CoreGraphics_CoreGraphics_h" = x""yes; then :
22678 use_quartz="no (requires CoreGraphics framework)"
22682 quartz_LIBS="-Xlinker -framework -Xlinker CoreGraphics"
22684 quartz_LIBS="-Xlinker -framework -Xlinker ApplicationServices"
22688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Quartz surface backend feature could be enabled" >&5
22689 $as_echo_n "checking whether cairo's Quartz surface backend feature could be enabled... " >&6; }
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_quartz" >&5
22691 $as_echo "$use_quartz" >&6; }
22693 if test "x$enable_quartz" = "xyes" -a "x$use_quartz" != xyes; then :
22694 as_fn_error $? " Quartz surface backend feature could not be enabled" "$LINENO" 5
22698 as_fn_error $? "invalid argument passed to --enable-quartz: \`$use_quartz', should be one of [no/auto/yes]" "$LINENO" 5
22701 if test "x$use_quartz" = "xyes"; then :
22702 CAIRO_REQUIRES="$quartz_REQUIRES"" ${CAIRO_REQUIRES}"
22704 CAIRO_CFLAGS="$quartz_CFLAGS"" ${CAIRO_CFLAGS}"
22706 CAIRO_NONPKGCONFIG_CFLAGS="$quartz_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
22708 CAIRO_LIBS="$quartz_LIBS"" ${CAIRO_LIBS}"
22710 CAIRO_NONPKGCONFIG_LIBS="$quartz_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
22715 unset quartz_REQUIRES
22716 unset quartz_CFLAGS
22717 unset quartz_NONPKGCONFIG_CFLAGS
22719 unset quartz_NONPKGCONFIG_LIBS
22720 unset quartz_NONPKGCONFIG_EXTRA_LIBS
22725 if test "x$use_quartz" = xyes; then
22726 CAIRO_HAS_QUARTZ_SURFACE_TRUE=
22727 CAIRO_HAS_QUARTZ_SURFACE_FALSE='#'
22729 CAIRO_HAS_QUARTZ_SURFACE_TRUE='#'
22730 CAIRO_HAS_QUARTZ_SURFACE_FALSE=
22734 cr_make_tmp='CAIRO_HAS_QUARTZ_SURFACE=0'
22735 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
22740 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22743 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22746 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22749 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22753 cr_make_tmp='supported_cairo_headers += $(cairo_quartz_headers)'
22754 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22757 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22759 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_headers)'
22760 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22763 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22768 cr_make_tmp='all_cairo_headers += $(cairo_quartz_headers)
22769 all_cairo_private += $(cairo_quartz_private)
22770 all_cairo_cxx_sources += $(cairo_quartz_cxx_sources)
22771 all_cairo_sources += $(cairo_quartz_sources)'
22772 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22775 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22777 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_headers)
22778 all_cairo_boilerplate_private += $(cairo_boilerplate_quartz_private)
22779 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_cxx_sources)
22780 all_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_sources)'
22781 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22784 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22788 cr_make_tmp='enabled_cairo_headers += $(cairo_quartz_headers)
22789 enabled_cairo_private += $(cairo_quartz_private)
22790 enabled_cairo_cxx_sources += $(cairo_quartz_cxx_sources)
22791 enabled_cairo_sources += $(cairo_quartz_sources)'
22792 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22793 "'if CAIRO_HAS_QUARTZ_SURFACE'
22794 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22796 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22799 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22800 "'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
22801 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22803 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22805 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_headers)
22806 enabled_cairo_boilerplate_private += $(cairo_boilerplate_quartz_private)
22807 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_cxx_sources)
22808 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_sources)'
22809 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22810 "'if CAIRO_HAS_QUARTZ_SURFACE'
22811 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22813 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22816 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22817 "'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
22818 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22820 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22826 if test "x$use_quartz" = xyes; then :
22828 ac_config_files="$ac_config_files src/cairo-quartz.pc:src/cairo-features.pc.in"
22832 if test "x$use_quartz" = xyes; then :
22834 ac_config_files="$ac_config_files cairo-quartz-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
22838 cr_make_tmp='all_cairo_pkgconf += cairo-quartz.pc'
22839 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22842 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22846 cr_make_tmp='enabled_cairo_pkgconf += cairo-quartz.pc'
22847 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22848 "'if CAIRO_HAS_QUARTZ_SURFACE'
22849 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22851 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22854 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22855 "'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
22856 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22858 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22862 if test "x$use_quartz" = xyes; then :
22864 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QUARTZ_SURFACE'
22868 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_QUARTZ_SURFACE'
22872 if test "x$use_quartz" != xyes; then :
22874 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_QUARTZ_SURFACE'
22880 cr_make_tmp=' @echo "#define CAIRO_HAS_QUARTZ_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
22881 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22882 "'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
22883 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22885 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22891 if test "x$use_quartz" = xyes; then :
22893 CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'quartz'
22901 # Check whether --enable-quartz-font was given.
22902 if test "${enable_quartz_font+set}" = set; then :
22903 enableval=$enable_quartz_font; enable_quartz_font=$enableval
22905 enable_quartz_font=auto
22908 case $enable_quartz_font in #(
22910 use_quartz_font="no (disabled, use --enable-quartz-font to enable)"
22913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Quartz font backend feature" >&5
22914 $as_echo_n "checking for cairo's Quartz font backend feature... " >&6; }
22917 use_quartz_font=yes
22918 quartz_font_BASE="cairo"
22919 quartz_font_REQUIRES="$ac_env_quartz_font_REQUIRES_value"
22920 quartz_font_CFLAGS="$ac_env_quartz_font_CFLAGS_value"
22921 quartz_font_NONPKGCONFIG_CFLAGS="$ac_env_quartz_font_NONPKGCONFIG_CFLAGS_value"
22922 quartz_font_LIBS="$ac_env_quartz_font_LIBS_value"
22923 quartz_font_NONPKGCONFIG_LIBS="$ac_env_quartz_font_NONPKGCONFIG_LIBS_value"
22924 quartz_font_NONPKGCONFIG_EXTRA_LIBS="$ac_env_quartz_font_NONPKGCONFIG_EXTRA_LIBS_value"
22928 use_quartz_font=$use_quartz
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Quartz font backend feature could be enabled" >&5
22932 $as_echo_n "checking whether cairo's Quartz font backend feature could be enabled... " >&6; }
22933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_quartz_font" >&5
22934 $as_echo "$use_quartz_font" >&6; }
22936 if test "x$enable_quartz_font" = "xyes" -a "x$use_quartz_font" != xyes; then :
22937 as_fn_error $? " Quartz font backend feature could not be enabled" "$LINENO" 5
22941 as_fn_error $? "invalid argument passed to --enable-quartz-font: \`$use_quartz_font', should be one of [no/auto/yes]" "$LINENO" 5
22944 if test "x$use_quartz_font" = "xyes"; then :
22945 CAIRO_REQUIRES="$quartz_font_REQUIRES"" ${CAIRO_REQUIRES}"
22947 CAIRO_CFLAGS="$quartz_font_CFLAGS"" ${CAIRO_CFLAGS}"
22949 CAIRO_NONPKGCONFIG_CFLAGS="$quartz_font_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
22951 CAIRO_LIBS="$quartz_font_LIBS"" ${CAIRO_LIBS}"
22953 CAIRO_NONPKGCONFIG_LIBS="$quartz_font_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
22957 unset quartz_font_BASE
22958 unset quartz_font_REQUIRES
22959 unset quartz_font_CFLAGS
22960 unset quartz_font_NONPKGCONFIG_CFLAGS
22961 unset quartz_font_LIBS
22962 unset quartz_font_NONPKGCONFIG_LIBS
22963 unset quartz_font_NONPKGCONFIG_EXTRA_LIBS
22968 if test "x$use_quartz_font" = xyes; then
22969 CAIRO_HAS_QUARTZ_FONT_TRUE=
22970 CAIRO_HAS_QUARTZ_FONT_FALSE='#'
22972 CAIRO_HAS_QUARTZ_FONT_TRUE='#'
22973 CAIRO_HAS_QUARTZ_FONT_FALSE=
22977 cr_make_tmp='CAIRO_HAS_QUARTZ_FONT=0'
22978 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
22983 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22986 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22989 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22992 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22996 cr_make_tmp='supported_cairo_headers += $(cairo_quartz_font_headers)'
22997 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23000 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23002 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_font_headers)'
23003 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23006 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23011 cr_make_tmp='all_cairo_headers += $(cairo_quartz_font_headers)
23012 all_cairo_private += $(cairo_quartz_font_private)
23013 all_cairo_cxx_sources += $(cairo_quartz_font_cxx_sources)
23014 all_cairo_sources += $(cairo_quartz_font_sources)'
23015 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23018 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23020 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_font_headers)
23021 all_cairo_boilerplate_private += $(cairo_boilerplate_quartz_font_private)
23022 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_font_cxx_sources)
23023 all_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_font_sources)'
23024 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23027 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23031 cr_make_tmp='enabled_cairo_headers += $(cairo_quartz_font_headers)
23032 enabled_cairo_private += $(cairo_quartz_font_private)
23033 enabled_cairo_cxx_sources += $(cairo_quartz_font_cxx_sources)
23034 enabled_cairo_sources += $(cairo_quartz_font_sources)'
23035 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23036 "'if CAIRO_HAS_QUARTZ_FONT'
23037 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23039 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23042 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23043 "'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
23044 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23046 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23048 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_font_headers)
23049 enabled_cairo_boilerplate_private += $(cairo_boilerplate_quartz_font_private)
23050 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_font_cxx_sources)
23051 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_font_sources)'
23052 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23053 "'if CAIRO_HAS_QUARTZ_FONT'
23054 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23056 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23059 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23060 "'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
23061 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23063 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23069 if test "x$use_quartz_font" = xyes; then :
23071 ac_config_files="$ac_config_files src/cairo-quartz-font.pc:src/cairo-features.pc.in"
23075 if test "x$use_quartz_font" = xyes; then :
23077 ac_config_files="$ac_config_files cairo-quartz-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
23081 cr_make_tmp='all_cairo_pkgconf += cairo-quartz-font.pc'
23082 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23085 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23089 cr_make_tmp='enabled_cairo_pkgconf += cairo-quartz-font.pc'
23090 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23091 "'if CAIRO_HAS_QUARTZ_FONT'
23092 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23094 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23097 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23098 "'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
23099 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23101 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23105 if test "x$use_quartz_font" = xyes; then :
23107 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QUARTZ_FONT'
23111 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_QUARTZ_FONT'
23115 if test "x$use_quartz_font" != xyes; then :
23117 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_QUARTZ_FONT'
23123 cr_make_tmp=' @echo "#define CAIRO_HAS_QUARTZ_FONT 1" >> $(top_srcdir)/src/cairo-features.h'
23124 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23125 "'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
23126 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23128 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23135 if test "x$use_quartz_font" = xyes; then :
23137 CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'quartz_font'
23144 # Check whether --enable-quartz-image was given.
23145 if test "${enable_quartz_image+set}" = set; then :
23146 enableval=$enable_quartz_image; enable_quartz_image=$enableval
23148 enable_quartz_image=no
23151 case $enable_quartz_image in #(
23153 use_quartz_image="no (disabled, use --enable-quartz-image to enable)"
23156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Quartz Image surface backend feature" >&5
23157 $as_echo_n "checking for cairo's Quartz Image surface backend feature... " >&6; }
23160 use_quartz_image=yes
23161 quartz_image_BASE="cairo"
23162 quartz_image_REQUIRES="$ac_env_quartz_image_REQUIRES_value"
23163 quartz_image_CFLAGS="$ac_env_quartz_image_CFLAGS_value"
23164 quartz_image_NONPKGCONFIG_CFLAGS="$ac_env_quartz_image_NONPKGCONFIG_CFLAGS_value"
23165 quartz_image_LIBS="$ac_env_quartz_image_LIBS_value"
23166 quartz_image_NONPKGCONFIG_LIBS="$ac_env_quartz_image_NONPKGCONFIG_LIBS_value"
23167 quartz_image_NONPKGCONFIG_EXTRA_LIBS="$ac_env_quartz_image_NONPKGCONFIG_EXTRA_LIBS_value"
23171 use_quartz_image=$use_quartz
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Quartz Image surface backend feature could be enabled" >&5
23175 $as_echo_n "checking whether cairo's Quartz Image surface backend feature could be enabled... " >&6; }
23176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_quartz_image" >&5
23177 $as_echo "$use_quartz_image" >&6; }
23179 if test "x$enable_quartz_image" = "xyes" -a "x$use_quartz_image" != xyes; then :
23180 as_fn_error $? " Quartz Image surface backend feature could not be enabled" "$LINENO" 5
23184 as_fn_error $? "invalid argument passed to --enable-quartz-image: \`$use_quartz_image', should be one of [no/auto/yes]" "$LINENO" 5
23187 if test "x$use_quartz_image" = "xyes"; then :
23188 CAIRO_REQUIRES="$quartz_image_REQUIRES"" ${CAIRO_REQUIRES}"
23190 CAIRO_CFLAGS="$quartz_image_CFLAGS"" ${CAIRO_CFLAGS}"
23192 CAIRO_NONPKGCONFIG_CFLAGS="$quartz_image_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
23194 CAIRO_LIBS="$quartz_image_LIBS"" ${CAIRO_LIBS}"
23196 CAIRO_NONPKGCONFIG_LIBS="$quartz_image_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
23200 unset quartz_image_BASE
23201 unset quartz_image_REQUIRES
23202 unset quartz_image_CFLAGS
23203 unset quartz_image_NONPKGCONFIG_CFLAGS
23204 unset quartz_image_LIBS
23205 unset quartz_image_NONPKGCONFIG_LIBS
23206 unset quartz_image_NONPKGCONFIG_EXTRA_LIBS
23211 if test "x$use_quartz_image" = xyes; then
23212 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE=
23213 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE='#'
23215 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE='#'
23216 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE=
23220 cr_make_tmp='CAIRO_HAS_QUARTZ_IMAGE_SURFACE=0'
23221 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
23226 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23229 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23232 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23235 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23240 cr_make_tmp='unsupported_cairo_headers += $(cairo_quartz_image_headers)'
23241 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23244 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23246 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_image_headers)'
23247 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23250 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23254 cr_make_tmp='all_cairo_headers += $(cairo_quartz_image_headers)
23255 all_cairo_private += $(cairo_quartz_image_private)
23256 all_cairo_cxx_sources += $(cairo_quartz_image_cxx_sources)
23257 all_cairo_sources += $(cairo_quartz_image_sources)'
23258 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23261 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23263 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_image_headers)
23264 all_cairo_boilerplate_private += $(cairo_boilerplate_quartz_image_private)
23265 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_image_cxx_sources)
23266 all_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_image_sources)'
23267 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23270 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23274 cr_make_tmp='enabled_cairo_headers += $(cairo_quartz_image_headers)
23275 enabled_cairo_private += $(cairo_quartz_image_private)
23276 enabled_cairo_cxx_sources += $(cairo_quartz_image_cxx_sources)
23277 enabled_cairo_sources += $(cairo_quartz_image_sources)'
23278 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23279 "'if CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
23280 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23282 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23285 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23286 "'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
23287 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23289 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23291 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_image_headers)
23292 enabled_cairo_boilerplate_private += $(cairo_boilerplate_quartz_image_private)
23293 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_image_cxx_sources)
23294 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_image_sources)'
23295 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23296 "'if CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
23297 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23299 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23302 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23303 "'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
23304 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23306 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23312 if test "x$use_quartz_image" = xyes; then :
23314 ac_config_files="$ac_config_files src/cairo-quartz-image.pc:src/cairo-features.pc.in"
23318 if test "x$use_quartz_image" = xyes; then :
23320 ac_config_files="$ac_config_files cairo-quartz-image-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
23324 cr_make_tmp='all_cairo_pkgconf += cairo-quartz-image.pc'
23325 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23328 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23332 cr_make_tmp='enabled_cairo_pkgconf += cairo-quartz-image.pc'
23333 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23334 "'if CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
23335 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23337 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23340 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23341 "'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
23342 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23344 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23348 if test "x$use_quartz_image" = xyes; then :
23350 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
23357 cr_make_tmp=' @echo "#define CAIRO_HAS_QUARTZ_IMAGE_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
23358 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23359 "'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
23360 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23362 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23366 if test "x$use_quartz_image" = xyes; then :
23368 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
23370 "'--- The Quartz Image surface backend feature is still under active
23371 --- development and is included in this release only as a preview. It does
23372 --- NOT fully work yet and incompatible changes may yet be made to Quartz
23373 --- Image surface backend specific API.'
23384 # Check whether --enable-win32 was given.
23385 if test "${enable_win32+set}" = set; then :
23386 enableval=$enable_win32; enable_win32=$enableval
23391 case $enable_win32 in #(
23393 use_win32="no (disabled, use --enable-win32 to enable)"
23396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Microsoft Windows surface backend feature" >&5
23397 $as_echo_n "checking for cairo's Microsoft Windows surface backend feature... " >&6; }
23402 win32_REQUIRES="$ac_env_win32_REQUIRES_value"
23403 win32_CFLAGS="$ac_env_win32_CFLAGS_value"
23404 win32_NONPKGCONFIG_CFLAGS="$ac_env_win32_NONPKGCONFIG_CFLAGS_value"
23405 win32_LIBS="$ac_env_win32_LIBS_value"
23406 win32_NONPKGCONFIG_LIBS="$ac_env_win32_NONPKGCONFIG_LIBS_value"
23407 win32_NONPKGCONFIG_EXTRA_LIBS="$ac_env_win32_NONPKGCONFIG_EXTRA_LIBS_value"
23411 if test "x$have_windows" != xyes; then
23412 use_win32="no (requires a Win32 platform)"
23414 win32_LIBS="-lgdi32 -lmsimg32"
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Microsoft Windows surface backend feature could be enabled" >&5
23418 $as_echo_n "checking whether cairo's Microsoft Windows surface backend feature could be enabled... " >&6; }
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_win32" >&5
23420 $as_echo "$use_win32" >&6; }
23422 if test "x$enable_win32" = "xyes" -a "x$use_win32" != xyes; then :
23423 as_fn_error $? " Microsoft Windows surface backend feature could not be enabled" "$LINENO" 5
23427 as_fn_error $? "invalid argument passed to --enable-win32: \`$use_win32', should be one of [no/auto/yes]" "$LINENO" 5
23430 if test "x$use_win32" = "xyes"; then :
23431 CAIRO_REQUIRES="$win32_REQUIRES"" ${CAIRO_REQUIRES}"
23433 CAIRO_CFLAGS="$win32_CFLAGS"" ${CAIRO_CFLAGS}"
23435 CAIRO_NONPKGCONFIG_CFLAGS="$win32_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
23437 CAIRO_LIBS="$win32_LIBS"" ${CAIRO_LIBS}"
23439 CAIRO_NONPKGCONFIG_LIBS="$win32_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
23444 unset win32_REQUIRES
23446 unset win32_NONPKGCONFIG_CFLAGS
23448 unset win32_NONPKGCONFIG_LIBS
23449 unset win32_NONPKGCONFIG_EXTRA_LIBS
23454 if test "x$use_win32" = xyes; then
23455 CAIRO_HAS_WIN32_SURFACE_TRUE=
23456 CAIRO_HAS_WIN32_SURFACE_FALSE='#'
23458 CAIRO_HAS_WIN32_SURFACE_TRUE='#'
23459 CAIRO_HAS_WIN32_SURFACE_FALSE=
23463 cr_make_tmp='CAIRO_HAS_WIN32_SURFACE=1'
23464 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
23469 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23472 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23475 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23478 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23482 cr_make_tmp='supported_cairo_headers += $(cairo_win32_headers)'
23483 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23486 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23488 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_win32_headers)'
23489 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23492 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23497 cr_make_tmp='all_cairo_headers += $(cairo_win32_headers)
23498 all_cairo_private += $(cairo_win32_private)
23499 all_cairo_cxx_sources += $(cairo_win32_cxx_sources)
23500 all_cairo_sources += $(cairo_win32_sources)'
23501 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23504 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23506 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_win32_headers)
23507 all_cairo_boilerplate_private += $(cairo_boilerplate_win32_private)
23508 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_cxx_sources)
23509 all_cairo_boilerplate_sources += $(cairo_boilerplate_win32_sources)'
23510 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23513 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23517 cr_make_tmp='enabled_cairo_headers += $(cairo_win32_headers)
23518 enabled_cairo_private += $(cairo_win32_private)
23519 enabled_cairo_cxx_sources += $(cairo_win32_cxx_sources)
23520 enabled_cairo_sources += $(cairo_win32_sources)'
23521 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23522 "'if CAIRO_HAS_WIN32_SURFACE'
23523 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23525 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23528 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23529 "'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
23530 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23532 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23534 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_win32_headers)
23535 enabled_cairo_boilerplate_private += $(cairo_boilerplate_win32_private)
23536 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_cxx_sources)
23537 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_win32_sources)'
23538 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23539 "'if CAIRO_HAS_WIN32_SURFACE'
23540 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23542 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23545 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23546 "'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
23547 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23549 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23555 if test "x$use_win32" = xyes; then :
23557 ac_config_files="$ac_config_files src/cairo-win32.pc:src/cairo-features.pc.in"
23561 if test "x$use_win32" = xyes; then :
23563 ac_config_files="$ac_config_files cairo-win32-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
23567 cr_make_tmp='all_cairo_pkgconf += cairo-win32.pc'
23568 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23571 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23575 cr_make_tmp='enabled_cairo_pkgconf += cairo-win32.pc'
23576 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23577 "'if CAIRO_HAS_WIN32_SURFACE'
23578 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23580 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23583 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23584 "'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
23585 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23587 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23591 if test "x$use_win32" = xyes; then :
23593 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_WIN32_SURFACE'
23597 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_WIN32_SURFACE'
23601 if test "x$use_win32" != xyes; then :
23603 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_WIN32_SURFACE'
23609 cr_make_tmp=' @echo "#define CAIRO_HAS_WIN32_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
23610 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23611 "'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
23612 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23614 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23620 if test "x$use_win32" = xyes; then :
23622 CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'win32'
23630 # Check whether --enable-win32-font was given.
23631 if test "${enable_win32_font+set}" = set; then :
23632 enableval=$enable_win32_font; enable_win32_font=$enableval
23634 enable_win32_font=auto
23637 case $enable_win32_font in #(
23639 use_win32_font="no (disabled, use --enable-win32-font to enable)"
23642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Microsoft Windows font backend feature" >&5
23643 $as_echo_n "checking for cairo's Microsoft Windows font backend feature... " >&6; }
23647 win32_font_BASE="cairo"
23648 win32_font_REQUIRES="$ac_env_win32_font_REQUIRES_value"
23649 win32_font_CFLAGS="$ac_env_win32_font_CFLAGS_value"
23650 win32_font_NONPKGCONFIG_CFLAGS="$ac_env_win32_font_NONPKGCONFIG_CFLAGS_value"
23651 win32_font_LIBS="$ac_env_win32_font_LIBS_value"
23652 win32_font_NONPKGCONFIG_LIBS="$ac_env_win32_font_NONPKGCONFIG_LIBS_value"
23653 win32_font_NONPKGCONFIG_EXTRA_LIBS="$ac_env_win32_font_NONPKGCONFIG_EXTRA_LIBS_value"
23657 use_win32_font=$use_win32
23660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Microsoft Windows font backend feature could be enabled" >&5
23661 $as_echo_n "checking whether cairo's Microsoft Windows font backend feature could be enabled... " >&6; }
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_win32_font" >&5
23663 $as_echo "$use_win32_font" >&6; }
23665 if test "x$enable_win32_font" = "xyes" -a "x$use_win32_font" != xyes; then :
23666 as_fn_error $? " Microsoft Windows font backend feature could not be enabled" "$LINENO" 5
23670 as_fn_error $? "invalid argument passed to --enable-win32-font: \`$use_win32_font', should be one of [no/auto/yes]" "$LINENO" 5
23673 if test "x$use_win32_font" = "xyes"; then :
23674 CAIRO_REQUIRES="$win32_font_REQUIRES"" ${CAIRO_REQUIRES}"
23676 CAIRO_CFLAGS="$win32_font_CFLAGS"" ${CAIRO_CFLAGS}"
23678 CAIRO_NONPKGCONFIG_CFLAGS="$win32_font_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
23680 CAIRO_LIBS="$win32_font_LIBS"" ${CAIRO_LIBS}"
23682 CAIRO_NONPKGCONFIG_LIBS="$win32_font_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
23686 unset win32_font_BASE
23687 unset win32_font_REQUIRES
23688 unset win32_font_CFLAGS
23689 unset win32_font_NONPKGCONFIG_CFLAGS
23690 unset win32_font_LIBS
23691 unset win32_font_NONPKGCONFIG_LIBS
23692 unset win32_font_NONPKGCONFIG_EXTRA_LIBS
23697 if test "x$use_win32_font" = xyes; then
23698 CAIRO_HAS_WIN32_FONT_TRUE=
23699 CAIRO_HAS_WIN32_FONT_FALSE='#'
23701 CAIRO_HAS_WIN32_FONT_TRUE='#'
23702 CAIRO_HAS_WIN32_FONT_FALSE=
23706 cr_make_tmp='CAIRO_HAS_WIN32_FONT=1'
23707 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
23712 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23715 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23718 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23721 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23725 cr_make_tmp='supported_cairo_headers += $(cairo_win32_font_headers)'
23726 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23729 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23731 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_win32_font_headers)'
23732 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23735 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23740 cr_make_tmp='all_cairo_headers += $(cairo_win32_font_headers)
23741 all_cairo_private += $(cairo_win32_font_private)
23742 all_cairo_cxx_sources += $(cairo_win32_font_cxx_sources)
23743 all_cairo_sources += $(cairo_win32_font_sources)'
23744 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23747 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23749 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_win32_font_headers)
23750 all_cairo_boilerplate_private += $(cairo_boilerplate_win32_font_private)
23751 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_font_cxx_sources)
23752 all_cairo_boilerplate_sources += $(cairo_boilerplate_win32_font_sources)'
23753 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23756 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23760 cr_make_tmp='enabled_cairo_headers += $(cairo_win32_font_headers)
23761 enabled_cairo_private += $(cairo_win32_font_private)
23762 enabled_cairo_cxx_sources += $(cairo_win32_font_cxx_sources)
23763 enabled_cairo_sources += $(cairo_win32_font_sources)'
23764 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23765 "'if CAIRO_HAS_WIN32_FONT'
23766 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23768 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23771 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23772 "'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
23773 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23775 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23777 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_win32_font_headers)
23778 enabled_cairo_boilerplate_private += $(cairo_boilerplate_win32_font_private)
23779 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_font_cxx_sources)
23780 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_win32_font_sources)'
23781 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23782 "'if CAIRO_HAS_WIN32_FONT'
23783 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23785 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23788 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23789 "'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
23790 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23792 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23798 if test "x$use_win32_font" = xyes; then :
23800 ac_config_files="$ac_config_files src/cairo-win32-font.pc:src/cairo-features.pc.in"
23804 if test "x$use_win32_font" = xyes; then :
23806 ac_config_files="$ac_config_files cairo-win32-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
23810 cr_make_tmp='all_cairo_pkgconf += cairo-win32-font.pc'
23811 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23814 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23818 cr_make_tmp='enabled_cairo_pkgconf += cairo-win32-font.pc'
23819 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23820 "'if CAIRO_HAS_WIN32_FONT'
23821 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23823 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23826 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23827 "'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
23828 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23830 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23834 if test "x$use_win32_font" = xyes; then :
23836 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_WIN32_FONT'
23840 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_WIN32_FONT'
23844 if test "x$use_win32_font" != xyes; then :
23846 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_WIN32_FONT'
23852 cr_make_tmp=' @echo "#define CAIRO_HAS_WIN32_FONT 1" >> $(top_srcdir)/src/cairo-features.h'
23853 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23854 "'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
23855 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23857 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23864 if test "x$use_win32_font" = xyes; then :
23866 CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'win32_font'
23873 test_win32_printing=no
23874 if test "x$use_win32" = "xyes"; then
23875 # Extract the first word of "gs", so it can be a program name with args.
23876 set dummy gs; ac_word=$2
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23878 $as_echo_n "checking for $ac_word... " >&6; }
23879 if test "${ac_cv_prog_GS+set}" = set; then :
23880 $as_echo_n "(cached) " >&6
23882 if test -n "$GS"; then
23883 ac_cv_prog_GS="$GS" # Let the user override the test.
23885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23886 for as_dir in $PATH
23889 test -z "$as_dir" && as_dir=.
23890 for ac_exec_ext in '' $ac_executable_extensions; do
23891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23903 if test -n "$GS"; then
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
23905 $as_echo "$GS" >&6; }
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23908 $as_echo "no" >&6; }
23912 if test "$GS"; then
23914 $as_echo "#define CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE 1" >>confdefs.h
23916 test_win32_printing="yes"
23918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Win32 Printing backend will not be tested since ghostscript is not available" >&5
23919 $as_echo "$as_me: WARNING: Win32 Printing backend will not be tested since ghostscript is not available" >&2;}
23920 test_win32_printing="no (requires ghostscript)"
23924 if test "x$test_win32_printing" = "xyes"; then
23925 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE=
23926 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE='#'
23928 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE='#'
23929 CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE=
23934 # Check whether --enable-skia was given.
23935 if test "${enable_skia+set}" = set; then :
23936 enableval=$enable_skia; enable_skia=$enableval
23941 case $enable_skia in #(
23943 use_skia="no (disabled, use --enable-skia to enable)"
23946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Skia surface backend feature" >&5
23947 $as_echo_n "checking for cairo's Skia surface backend feature... " >&6; }
23952 skia_REQUIRES="$ac_env_skia_REQUIRES_value"
23953 skia_CFLAGS="$ac_env_skia_CFLAGS_value"
23954 skia_NONPKGCONFIG_CFLAGS="$ac_env_skia_NONPKGCONFIG_CFLAGS_value"
23955 skia_LIBS="$ac_env_skia_LIBS_value"
23956 skia_NONPKGCONFIG_LIBS="$ac_env_skia_NONPKGCONFIG_LIBS_value"
23957 skia_NONPKGCONFIG_EXTRA_LIBS="$ac_env_skia_NONPKGCONFIG_EXTRA_LIBS_value"
23962 # Check whether --with-skia was given.
23963 if test "${with_skia+set}" = set; then :
23964 withval=$with_skia; skia_DIR="$withval"
23966 skia_DIR="`pwd`/../skia"
23970 # Check whether --with-skia-bulid was given.
23971 if test "${with_skia_bulid+set}" = set; then :
23972 withval=$with_skia_bulid; skia_BUILD="$withval"
23974 skia_BUILD="Release"
23977 skia_NONPKGCONFIG_CFLAGS="-I$skia_DIR/include/config -I$skia_DIR/include/core -I$skia_DIR/include/effects"
23978 if test "x$skia_BUILD" = x"Release"; then
23979 skia_NONPKGCONFIG_CFLAGS="-DSK_RELEASE -DSK_CAN_USE_FLOAT $skia_NONPKGCONFIG_CFLAGS"
23981 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"
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Skia surface backend feature could be enabled" >&5
23986 $as_echo_n "checking whether cairo's Skia surface backend feature could be enabled... " >&6; }
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_skia" >&5
23988 $as_echo "$use_skia" >&6; }
23990 if test "x$enable_skia" = "xyes" -a "x$use_skia" != xyes; then :
23991 as_fn_error $? " Skia surface backend feature could not be enabled" "$LINENO" 5
23995 as_fn_error $? "invalid argument passed to --enable-skia: \`$use_skia', should be one of [no/auto/yes]" "$LINENO" 5
23998 if test "x$use_skia" = "xyes"; then :
23999 CAIRO_REQUIRES="$skia_REQUIRES"" ${CAIRO_REQUIRES}"
24001 CAIRO_CFLAGS="$skia_CFLAGS"" ${CAIRO_CFLAGS}"
24003 CAIRO_NONPKGCONFIG_CFLAGS="$skia_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
24005 CAIRO_LIBS="$skia_LIBS"" ${CAIRO_LIBS}"
24007 CAIRO_NONPKGCONFIG_LIBS="$skia_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
24012 unset skia_REQUIRES
24014 unset skia_NONPKGCONFIG_CFLAGS
24016 unset skia_NONPKGCONFIG_LIBS
24017 unset skia_NONPKGCONFIG_EXTRA_LIBS
24022 if test "x$use_skia" = xyes; then
24023 CAIRO_HAS_SKIA_SURFACE_TRUE=
24024 CAIRO_HAS_SKIA_SURFACE_FALSE='#'
24026 CAIRO_HAS_SKIA_SURFACE_TRUE='#'
24027 CAIRO_HAS_SKIA_SURFACE_FALSE=
24031 cr_make_tmp='CAIRO_HAS_SKIA_SURFACE=0'
24032 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
24037 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24040 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24043 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24046 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24051 cr_make_tmp='unsupported_cairo_headers += $(cairo_skia_headers)'
24052 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24055 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24057 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_skia_headers)'
24058 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24061 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24065 cr_make_tmp='all_cairo_headers += $(cairo_skia_headers)
24066 all_cairo_private += $(cairo_skia_private)
24067 all_cairo_cxx_sources += $(cairo_skia_cxx_sources)
24068 all_cairo_sources += $(cairo_skia_sources)'
24069 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24072 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24074 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_skia_headers)
24075 all_cairo_boilerplate_private += $(cairo_boilerplate_skia_private)
24076 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_skia_cxx_sources)
24077 all_cairo_boilerplate_sources += $(cairo_boilerplate_skia_sources)'
24078 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24081 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24085 cr_make_tmp='enabled_cairo_headers += $(cairo_skia_headers)
24086 enabled_cairo_private += $(cairo_skia_private)
24087 enabled_cairo_cxx_sources += $(cairo_skia_cxx_sources)
24088 enabled_cairo_sources += $(cairo_skia_sources)'
24089 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24090 "'if CAIRO_HAS_SKIA_SURFACE'
24091 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24093 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24096 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24097 "'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
24098 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24100 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24102 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_skia_headers)
24103 enabled_cairo_boilerplate_private += $(cairo_boilerplate_skia_private)
24104 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_skia_cxx_sources)
24105 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_skia_sources)'
24106 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24107 "'if CAIRO_HAS_SKIA_SURFACE'
24108 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24110 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24113 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24114 "'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
24115 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24117 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24123 if test "x$use_skia" = xyes; then :
24125 ac_config_files="$ac_config_files src/cairo-skia.pc:src/cairo-features.pc.in"
24129 if test "x$use_skia" = xyes; then :
24131 ac_config_files="$ac_config_files cairo-skia-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
24135 cr_make_tmp='all_cairo_pkgconf += cairo-skia.pc'
24136 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24139 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24143 cr_make_tmp='enabled_cairo_pkgconf += cairo-skia.pc'
24144 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24145 "'if CAIRO_HAS_SKIA_SURFACE'
24146 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24148 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24151 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24152 "'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
24153 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24155 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24159 if test "x$use_skia" = xyes; then :
24161 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_SKIA_SURFACE'
24168 cr_make_tmp=' @echo "#define CAIRO_HAS_SKIA_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
24169 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24170 "'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
24171 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24173 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24177 if test "x$use_skia" = xyes; then :
24179 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
24181 "'--- The Skia surface backend feature is still under active development and is
24182 --- included in this release only as a preview. It does NOT fully work yet
24183 --- and incompatible changes may yet be made to Skia surface backend specific
24195 # Check whether --enable-os2 was given.
24196 if test "${enable_os2+set}" = set; then :
24197 enableval=$enable_os2; enable_os2=$enableval
24202 case $enable_os2 in #(
24204 use_os2="no (disabled, use --enable-os2 to enable)"
24207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's OS/2 surface backend feature" >&5
24208 $as_echo_n "checking for cairo's OS/2 surface backend feature... " >&6; }
24213 os2_REQUIRES="$ac_env_os2_REQUIRES_value"
24214 os2_CFLAGS="$ac_env_os2_CFLAGS_value"
24215 os2_NONPKGCONFIG_CFLAGS="$ac_env_os2_NONPKGCONFIG_CFLAGS_value"
24216 os2_LIBS="$ac_env_os2_LIBS_value"
24217 os2_NONPKGCONFIG_LIBS="$ac_env_os2_NONPKGCONFIG_LIBS_value"
24218 os2_NONPKGCONFIG_EXTRA_LIBS="$ac_env_os2_NONPKGCONFIG_EXTRA_LIBS_value"
24227 use_os2="no (requires an OS/2 platform)"
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's OS/2 surface backend feature could be enabled" >&5
24233 $as_echo_n "checking whether cairo's OS/2 surface backend feature could be enabled... " >&6; }
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_os2" >&5
24235 $as_echo "$use_os2" >&6; }
24237 if test "x$enable_os2" = "xyes" -a "x$use_os2" != xyes; then :
24238 as_fn_error $? " OS/2 surface backend feature could not be enabled" "$LINENO" 5
24242 as_fn_error $? "invalid argument passed to --enable-os2: \`$use_os2', should be one of [no/auto/yes]" "$LINENO" 5
24245 if test "x$use_os2" = "xyes"; then :
24246 CAIRO_REQUIRES="$os2_REQUIRES"" ${CAIRO_REQUIRES}"
24248 CAIRO_CFLAGS="$os2_CFLAGS"" ${CAIRO_CFLAGS}"
24250 CAIRO_NONPKGCONFIG_CFLAGS="$os2_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
24252 CAIRO_LIBS="$os2_LIBS"" ${CAIRO_LIBS}"
24254 CAIRO_NONPKGCONFIG_LIBS="$os2_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
24261 unset os2_NONPKGCONFIG_CFLAGS
24263 unset os2_NONPKGCONFIG_LIBS
24264 unset os2_NONPKGCONFIG_EXTRA_LIBS
24269 if test "x$use_os2" = xyes; then
24270 CAIRO_HAS_OS2_SURFACE_TRUE=
24271 CAIRO_HAS_OS2_SURFACE_FALSE='#'
24273 CAIRO_HAS_OS2_SURFACE_TRUE='#'
24274 CAIRO_HAS_OS2_SURFACE_FALSE=
24278 cr_make_tmp='CAIRO_HAS_OS2_SURFACE=0'
24279 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
24284 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24287 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24290 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24293 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24298 cr_make_tmp='unsupported_cairo_headers += $(cairo_os2_headers)'
24299 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24302 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24304 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_os2_headers)'
24305 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24308 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24312 cr_make_tmp='all_cairo_headers += $(cairo_os2_headers)
24313 all_cairo_private += $(cairo_os2_private)
24314 all_cairo_cxx_sources += $(cairo_os2_cxx_sources)
24315 all_cairo_sources += $(cairo_os2_sources)'
24316 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24319 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24321 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_os2_headers)
24322 all_cairo_boilerplate_private += $(cairo_boilerplate_os2_private)
24323 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_os2_cxx_sources)
24324 all_cairo_boilerplate_sources += $(cairo_boilerplate_os2_sources)'
24325 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24328 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24332 cr_make_tmp='enabled_cairo_headers += $(cairo_os2_headers)
24333 enabled_cairo_private += $(cairo_os2_private)
24334 enabled_cairo_cxx_sources += $(cairo_os2_cxx_sources)
24335 enabled_cairo_sources += $(cairo_os2_sources)'
24336 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24337 "'if CAIRO_HAS_OS2_SURFACE'
24338 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24340 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24343 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24344 "'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
24345 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24347 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24349 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_os2_headers)
24350 enabled_cairo_boilerplate_private += $(cairo_boilerplate_os2_private)
24351 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_os2_cxx_sources)
24352 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_os2_sources)'
24353 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24354 "'if CAIRO_HAS_OS2_SURFACE'
24355 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24357 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24360 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24361 "'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
24362 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24364 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24370 if test "x$use_os2" = xyes; then :
24372 ac_config_files="$ac_config_files src/cairo-os2.pc:src/cairo-features.pc.in"
24376 if test "x$use_os2" = xyes; then :
24378 ac_config_files="$ac_config_files cairo-os2-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
24382 cr_make_tmp='all_cairo_pkgconf += cairo-os2.pc'
24383 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24386 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24390 cr_make_tmp='enabled_cairo_pkgconf += cairo-os2.pc'
24391 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24392 "'if CAIRO_HAS_OS2_SURFACE'
24393 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24395 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24398 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24399 "'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
24400 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24402 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24406 if test "x$use_os2" = xyes; then :
24408 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_OS2_SURFACE'
24415 cr_make_tmp=' @echo "#define CAIRO_HAS_OS2_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
24416 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24417 "'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
24418 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24420 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24424 if test "x$use_os2" = xyes; then :
24426 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
24428 "'--- The OS/2 surface backend feature is still under active development and is
24429 --- included in this release only as a preview. It does NOT fully work yet
24430 --- and incompatible changes may yet be made to OS/2 surface backend specific
24442 # Check whether --enable-beos was given.
24443 if test "${enable_beos+set}" = set; then :
24444 enableval=$enable_beos; enable_beos=$enableval
24449 case $enable_beos in #(
24451 use_beos="no (disabled, use --enable-beos to enable)"
24454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's BeOS/Zeta surface backend feature" >&5
24455 $as_echo_n "checking for cairo's BeOS/Zeta surface backend feature... " >&6; }
24460 beos_REQUIRES="$ac_env_beos_REQUIRES_value"
24461 beos_CFLAGS="$ac_env_beos_CFLAGS_value"
24462 beos_NONPKGCONFIG_CFLAGS="$ac_env_beos_NONPKGCONFIG_CFLAGS_value"
24463 beos_LIBS="$ac_env_beos_LIBS_value"
24464 beos_NONPKGCONFIG_LIBS="$ac_env_beos_NONPKGCONFIG_LIBS_value"
24465 beos_NONPKGCONFIG_EXTRA_LIBS="$ac_env_beos_NONPKGCONFIG_EXTRA_LIBS_value"
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lbe" >&5
24473 $as_echo_n "checking for main in -lbe... " >&6; }
24474 if test "${ac_cv_lib_be_main+set}" = set; then :
24475 $as_echo_n "(cached) " >&6
24477 ac_check_lib_save_LIBS=$LIBS
24479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24480 /* end confdefs.h. */
24491 if ac_fn_c_try_link "$LINENO"; then :
24492 ac_cv_lib_be_main=yes
24494 ac_cv_lib_be_main=no
24496 rm -f core conftest.err conftest.$ac_objext \
24497 conftest$ac_exeext conftest.$ac_ext
24498 LIBS=$ac_check_lib_save_LIBS
24500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_be_main" >&5
24501 $as_echo "$ac_cv_lib_be_main" >&6; }
24502 if test "x$ac_cv_lib_be_main" = x""yes; then :
24503 beos_LIBS="$beos_LIBS -lbe"
24506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lzeta" >&5
24507 $as_echo_n "checking for main in -lzeta... " >&6; }
24508 if test "${ac_cv_lib_zeta_main+set}" = set; then :
24509 $as_echo_n "(cached) " >&6
24511 ac_check_lib_save_LIBS=$LIBS
24512 LIBS="-lzeta $LIBS"
24513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24514 /* end confdefs.h. */
24525 if ac_fn_c_try_link "$LINENO"; then :
24526 ac_cv_lib_zeta_main=yes
24528 ac_cv_lib_zeta_main=no
24530 rm -f core conftest.err conftest.$ac_objext \
24531 conftest$ac_exeext conftest.$ac_ext
24532 LIBS=$ac_check_lib_save_LIBS
24534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zeta_main" >&5
24535 $as_echo "$ac_cv_lib_zeta_main" >&6; }
24536 if test "x$ac_cv_lib_zeta_main" = x""yes; then :
24537 beos_LIBS="$beos_LIBS -lzeta"
24542 use_beos="no (requires a BeOS platform)"
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's BeOS/Zeta surface backend feature could be enabled" >&5
24548 $as_echo_n "checking whether cairo's BeOS/Zeta surface backend feature could be enabled... " >&6; }
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_beos" >&5
24550 $as_echo "$use_beos" >&6; }
24552 if test "x$enable_beos" = "xyes" -a "x$use_beos" != xyes; then :
24553 as_fn_error $? " BeOS/Zeta surface backend feature could not be enabled" "$LINENO" 5
24557 as_fn_error $? "invalid argument passed to --enable-beos: \`$use_beos', should be one of [no/auto/yes]" "$LINENO" 5
24560 if test "x$use_beos" = "xyes"; then :
24561 CAIRO_REQUIRES="$beos_REQUIRES"" ${CAIRO_REQUIRES}"
24563 CAIRO_CFLAGS="$beos_CFLAGS"" ${CAIRO_CFLAGS}"
24565 CAIRO_NONPKGCONFIG_CFLAGS="$beos_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
24567 CAIRO_LIBS="$beos_LIBS"" ${CAIRO_LIBS}"
24569 CAIRO_NONPKGCONFIG_LIBS="$beos_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
24574 unset beos_REQUIRES
24576 unset beos_NONPKGCONFIG_CFLAGS
24578 unset beos_NONPKGCONFIG_LIBS
24579 unset beos_NONPKGCONFIG_EXTRA_LIBS
24584 if test "x$use_beos" = xyes; then
24585 CAIRO_HAS_BEOS_SURFACE_TRUE=
24586 CAIRO_HAS_BEOS_SURFACE_FALSE='#'
24588 CAIRO_HAS_BEOS_SURFACE_TRUE='#'
24589 CAIRO_HAS_BEOS_SURFACE_FALSE=
24593 cr_make_tmp='CAIRO_HAS_BEOS_SURFACE=0'
24594 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
24599 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24602 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24605 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24608 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24613 cr_make_tmp='unsupported_cairo_headers += $(cairo_beos_headers)'
24614 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24617 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24619 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_beos_headers)'
24620 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24623 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24627 cr_make_tmp='all_cairo_headers += $(cairo_beos_headers)
24628 all_cairo_private += $(cairo_beos_private)
24629 all_cairo_cxx_sources += $(cairo_beos_cxx_sources)
24630 all_cairo_sources += $(cairo_beos_sources)'
24631 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24634 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24636 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_beos_headers)
24637 all_cairo_boilerplate_private += $(cairo_boilerplate_beos_private)
24638 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_beos_cxx_sources)
24639 all_cairo_boilerplate_sources += $(cairo_boilerplate_beos_sources)'
24640 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24643 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24647 cr_make_tmp='enabled_cairo_headers += $(cairo_beos_headers)
24648 enabled_cairo_private += $(cairo_beos_private)
24649 enabled_cairo_cxx_sources += $(cairo_beos_cxx_sources)
24650 enabled_cairo_sources += $(cairo_beos_sources)'
24651 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24652 "'if CAIRO_HAS_BEOS_SURFACE'
24653 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24655 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24658 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24659 "'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
24660 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24662 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24664 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_beos_headers)
24665 enabled_cairo_boilerplate_private += $(cairo_boilerplate_beos_private)
24666 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_beos_cxx_sources)
24667 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_beos_sources)'
24668 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24669 "'if CAIRO_HAS_BEOS_SURFACE'
24670 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24672 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24675 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24676 "'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
24677 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24679 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24685 if test "x$use_beos" = xyes; then :
24687 ac_config_files="$ac_config_files src/cairo-beos.pc:src/cairo-features.pc.in"
24691 if test "x$use_beos" = xyes; then :
24693 ac_config_files="$ac_config_files cairo-beos-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
24697 cr_make_tmp='all_cairo_pkgconf += cairo-beos.pc'
24698 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24701 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24705 cr_make_tmp='enabled_cairo_pkgconf += cairo-beos.pc'
24706 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24707 "'if CAIRO_HAS_BEOS_SURFACE'
24708 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24710 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24713 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24714 "'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
24715 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24717 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24721 if test "x$use_beos" = xyes; then :
24723 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_BEOS_SURFACE'
24730 cr_make_tmp=' @echo "#define CAIRO_HAS_BEOS_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
24731 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24732 "'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
24733 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24735 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24739 if test "x$use_beos" = xyes; then :
24741 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
24743 "'--- The BeOS/Zeta surface backend feature is still under active development
24744 --- and is included in this release only as a preview. It does NOT fully work
24745 --- yet and incompatible changes may yet be made to BeOS/Zeta surface backend
24757 # Check whether --enable-drm was given.
24758 if test "${enable_drm+set}" = set; then :
24759 enableval=$enable_drm; enable_drm=$enableval
24764 case $enable_drm in #(
24766 use_drm="no (disabled, use --enable-drm to enable)"
24769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's DRM surface backend feature" >&5
24770 $as_echo_n "checking for cairo's DRM surface backend feature... " >&6; }
24775 drm_REQUIRES="$ac_env_drm_REQUIRES_value"
24776 drm_CFLAGS="$ac_env_drm_CFLAGS_value"
24777 drm_NONPKGCONFIG_CFLAGS="$ac_env_drm_NONPKGCONFIG_CFLAGS_value"
24778 drm_LIBS="$ac_env_drm_LIBS_value"
24779 drm_NONPKGCONFIG_LIBS="$ac_env_drm_NONPKGCONFIG_LIBS_value"
24780 drm_NONPKGCONFIG_EXTRA_LIBS="$ac_env_drm_NONPKGCONFIG_EXTRA_LIBS_value"
24784 drm_REQUIRES="libudev >= 136"
24787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drm" >&5
24788 $as_echo_n "checking for drm... " >&6; }
24790 if test -n "$drm_CFLAGS"; then
24791 pkg_cv_drm_CFLAGS="$drm_CFLAGS"
24792 elif test -n "$PKG_CONFIG"; then
24793 if test -n "$PKG_CONFIG" && \
24794 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$drm_REQUIRES\""; } >&5
24795 ($PKG_CONFIG --exists --print-errors "$drm_REQUIRES") 2>&5
24797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24798 test $ac_status = 0; }; then
24799 pkg_cv_drm_CFLAGS=`$PKG_CONFIG --cflags "$drm_REQUIRES" 2>/dev/null`
24806 if test -n "$drm_LIBS"; then
24807 pkg_cv_drm_LIBS="$drm_LIBS"
24808 elif test -n "$PKG_CONFIG"; then
24809 if test -n "$PKG_CONFIG" && \
24810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$drm_REQUIRES\""; } >&5
24811 ($PKG_CONFIG --exists --print-errors "$drm_REQUIRES") 2>&5
24813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24814 test $ac_status = 0; }; then
24815 pkg_cv_drm_LIBS=`$PKG_CONFIG --libs "$drm_REQUIRES" 2>/dev/null`
24825 if test $pkg_failed = yes; then
24827 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24828 _pkg_short_errors_supported=yes
24830 _pkg_short_errors_supported=no
24832 if test $_pkg_short_errors_supported = yes; then
24833 drm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$drm_REQUIRES" 2>&1`
24835 drm_PKG_ERRORS=`$PKG_CONFIG --print-errors "$drm_REQUIRES" 2>&1`
24837 # Put the nasty error message in config.log where it belongs
24838 echo "$drm_PKG_ERRORS" >&5
24840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24841 $as_echo "no" >&6; }
24842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24843 $as_echo "no" >&6; }
24844 use_drm="no (requires $drm_REQUIRES, udev is available from git://git.kernel.org/pub/scm/linux/hotplug/udev.git)"
24845 elif test $pkg_failed = untried; then
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24847 $as_echo "no" >&6; }
24848 use_drm="no (requires $drm_REQUIRES, udev is available from git://git.kernel.org/pub/scm/linux/hotplug/udev.git)"
24850 drm_CFLAGS=$pkg_cv_drm_CFLAGS
24851 drm_LIBS=$pkg_cv_drm_LIBS
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24853 $as_echo "yes" >&6; }
24858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's DRM surface backend feature could be enabled" >&5
24859 $as_echo_n "checking whether cairo's DRM surface backend feature could be enabled... " >&6; }
24860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_drm" >&5
24861 $as_echo "$use_drm" >&6; }
24863 if test "x$enable_drm" = "xyes" -a "x$use_drm" != xyes; then :
24864 as_fn_error $? " DRM surface backend feature could not be enabled" "$LINENO" 5
24868 as_fn_error $? "invalid argument passed to --enable-drm: \`$use_drm', should be one of [no/auto/yes]" "$LINENO" 5
24871 if test "x$use_drm" = "xyes"; then :
24872 CAIRO_REQUIRES="$drm_REQUIRES"" ${CAIRO_REQUIRES}"
24874 CAIRO_CFLAGS="$drm_CFLAGS"" ${CAIRO_CFLAGS}"
24876 CAIRO_NONPKGCONFIG_CFLAGS="$drm_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
24878 CAIRO_LIBS="$drm_LIBS"" ${CAIRO_LIBS}"
24880 CAIRO_NONPKGCONFIG_LIBS="$drm_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
24887 unset drm_NONPKGCONFIG_CFLAGS
24889 unset drm_NONPKGCONFIG_LIBS
24890 unset drm_NONPKGCONFIG_EXTRA_LIBS
24895 if test "x$use_drm" = xyes; then
24896 CAIRO_HAS_DRM_SURFACE_TRUE=
24897 CAIRO_HAS_DRM_SURFACE_FALSE='#'
24899 CAIRO_HAS_DRM_SURFACE_TRUE='#'
24900 CAIRO_HAS_DRM_SURFACE_FALSE=
24904 cr_make_tmp='CAIRO_HAS_DRM_SURFACE=0'
24905 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
24910 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24913 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24916 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24919 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24924 cr_make_tmp='unsupported_cairo_headers += $(cairo_drm_headers)'
24925 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24928 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24930 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_drm_headers)'
24931 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24934 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24938 cr_make_tmp='all_cairo_headers += $(cairo_drm_headers)
24939 all_cairo_private += $(cairo_drm_private)
24940 all_cairo_cxx_sources += $(cairo_drm_cxx_sources)
24941 all_cairo_sources += $(cairo_drm_sources)'
24942 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24945 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24947 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_drm_headers)
24948 all_cairo_boilerplate_private += $(cairo_boilerplate_drm_private)
24949 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_drm_cxx_sources)
24950 all_cairo_boilerplate_sources += $(cairo_boilerplate_drm_sources)'
24951 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24954 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24958 cr_make_tmp='enabled_cairo_headers += $(cairo_drm_headers)
24959 enabled_cairo_private += $(cairo_drm_private)
24960 enabled_cairo_cxx_sources += $(cairo_drm_cxx_sources)
24961 enabled_cairo_sources += $(cairo_drm_sources)'
24962 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24963 "'if CAIRO_HAS_DRM_SURFACE'
24964 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24966 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24969 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24970 "'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
24971 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24973 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24975 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_drm_headers)
24976 enabled_cairo_boilerplate_private += $(cairo_boilerplate_drm_private)
24977 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_drm_cxx_sources)
24978 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_drm_sources)'
24979 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24980 "'if CAIRO_HAS_DRM_SURFACE'
24981 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24983 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24986 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24987 "'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
24988 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24990 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24996 if test "x$use_drm" = xyes; then :
24998 ac_config_files="$ac_config_files src/cairo-drm.pc:src/cairo-features.pc.in"
25002 if test "x$use_drm" = xyes; then :
25004 ac_config_files="$ac_config_files cairo-drm-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
25008 cr_make_tmp='all_cairo_pkgconf += cairo-drm.pc'
25009 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25012 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25016 cr_make_tmp='enabled_cairo_pkgconf += cairo-drm.pc'
25017 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25018 "'if CAIRO_HAS_DRM_SURFACE'
25019 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25021 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25024 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25025 "'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
25026 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25028 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25032 if test "x$use_drm" = xyes; then :
25034 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_DRM_SURFACE'
25041 cr_make_tmp=' @echo "#define CAIRO_HAS_DRM_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
25042 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25043 "'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
25044 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25046 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25050 if test "x$use_drm" = xyes; then :
25052 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
25054 "'--- The DRM surface backend feature is still under active development and is
25055 --- included in this release only as a preview. It does NOT fully work yet
25056 --- and incompatible changes may yet be made to DRM surface backend specific
25067 # Check whether --enable-gallium was given.
25068 if test "${enable_gallium+set}" = set; then :
25069 enableval=$enable_gallium; enable_gallium=$enableval
25074 case $enable_gallium in #(
25076 use_gallium="no (disabled, use --enable-gallium to enable)"
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Gallium3D surface backend feature" >&5
25080 $as_echo_n "checking for cairo's Gallium3D surface backend feature... " >&6; }
25084 gallium_BASE="cairo"
25085 gallium_REQUIRES="$ac_env_gallium_REQUIRES_value"
25086 gallium_CFLAGS="$ac_env_gallium_CFLAGS_value"
25087 gallium_NONPKGCONFIG_CFLAGS="$ac_env_gallium_NONPKGCONFIG_CFLAGS_value"
25088 gallium_LIBS="$ac_env_gallium_LIBS_value"
25089 gallium_NONPKGCONFIG_LIBS="$ac_env_gallium_NONPKGCONFIG_LIBS_value"
25090 gallium_NONPKGCONFIG_EXTRA_LIBS="$ac_env_gallium_NONPKGCONFIG_EXTRA_LIBS_value"
25094 if test "x$use_drm" = "xyes"; then
25096 # Check whether --with-gallium was given.
25097 if test "${with_gallium+set}" = set; then :
25098 withval=$with_gallium; mesa_DIR="$withval"
25100 mesa_DIR="`pwd`/../mesa"
25103 gallium_DIR="$mesa_DIR/src/gallium"
25104 gallium_NONPKGCONFIG_CFLAGS="-I$mesa_DIR/include -I$mesa_DIR/src/mesa -I$gallium_DIR/include -I$gallium_DIR/auxiliary"
25105 gallium_NONPKGCONFIG_LIBS="-lGL"
25109 use_gallium="no (requires --enable-drm)"
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Gallium3D surface backend feature could be enabled" >&5
25114 $as_echo_n "checking whether cairo's Gallium3D surface backend feature could be enabled... " >&6; }
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gallium" >&5
25116 $as_echo "$use_gallium" >&6; }
25118 if test "x$enable_gallium" = "xyes" -a "x$use_gallium" != xyes; then :
25119 as_fn_error $? " Gallium3D surface backend feature could not be enabled" "$LINENO" 5
25123 as_fn_error $? "invalid argument passed to --enable-gallium: \`$use_gallium', should be one of [no/auto/yes]" "$LINENO" 5
25126 if test "x$use_gallium" = "xyes"; then :
25127 CAIRO_REQUIRES="$gallium_REQUIRES"" ${CAIRO_REQUIRES}"
25129 CAIRO_CFLAGS="$gallium_CFLAGS"" ${CAIRO_CFLAGS}"
25131 CAIRO_NONPKGCONFIG_CFLAGS="$gallium_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
25133 CAIRO_LIBS="$gallium_LIBS"" ${CAIRO_LIBS}"
25135 CAIRO_NONPKGCONFIG_LIBS="$gallium_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
25140 unset gallium_REQUIRES
25141 unset gallium_CFLAGS
25142 unset gallium_NONPKGCONFIG_CFLAGS
25144 unset gallium_NONPKGCONFIG_LIBS
25145 unset gallium_NONPKGCONFIG_EXTRA_LIBS
25150 if test "x$use_gallium" = xyes; then
25151 CAIRO_HAS_GALLIUM_SURFACE_TRUE=
25152 CAIRO_HAS_GALLIUM_SURFACE_FALSE='#'
25154 CAIRO_HAS_GALLIUM_SURFACE_TRUE='#'
25155 CAIRO_HAS_GALLIUM_SURFACE_FALSE=
25159 cr_make_tmp='CAIRO_HAS_GALLIUM_SURFACE=0'
25160 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
25165 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25168 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25171 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25174 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25179 cr_make_tmp='unsupported_cairo_headers += $(cairo_gallium_headers)'
25180 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25183 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25185 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_gallium_headers)'
25186 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25189 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25193 cr_make_tmp='all_cairo_headers += $(cairo_gallium_headers)
25194 all_cairo_private += $(cairo_gallium_private)
25195 all_cairo_cxx_sources += $(cairo_gallium_cxx_sources)
25196 all_cairo_sources += $(cairo_gallium_sources)'
25197 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25200 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25202 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_gallium_headers)
25203 all_cairo_boilerplate_private += $(cairo_boilerplate_gallium_private)
25204 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gallium_cxx_sources)
25205 all_cairo_boilerplate_sources += $(cairo_boilerplate_gallium_sources)'
25206 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25209 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25213 cr_make_tmp='enabled_cairo_headers += $(cairo_gallium_headers)
25214 enabled_cairo_private += $(cairo_gallium_private)
25215 enabled_cairo_cxx_sources += $(cairo_gallium_cxx_sources)
25216 enabled_cairo_sources += $(cairo_gallium_sources)'
25217 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25218 "'if CAIRO_HAS_GALLIUM_SURFACE'
25219 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25221 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25224 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25225 "'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
25226 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25228 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25230 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_gallium_headers)
25231 enabled_cairo_boilerplate_private += $(cairo_boilerplate_gallium_private)
25232 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gallium_cxx_sources)
25233 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_gallium_sources)'
25234 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25235 "'if CAIRO_HAS_GALLIUM_SURFACE'
25236 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25238 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25241 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25242 "'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
25243 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25245 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25251 if test "x$use_gallium" = xyes; then :
25253 ac_config_files="$ac_config_files src/cairo-gallium.pc:src/cairo-features.pc.in"
25257 if test "x$use_gallium" = xyes; then :
25259 ac_config_files="$ac_config_files cairo-gallium-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
25263 cr_make_tmp='all_cairo_pkgconf += cairo-gallium.pc'
25264 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25267 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25271 cr_make_tmp='enabled_cairo_pkgconf += cairo-gallium.pc'
25272 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25273 "'if CAIRO_HAS_GALLIUM_SURFACE'
25274 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25276 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25279 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25280 "'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
25281 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25283 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25287 if test "x$use_gallium" = xyes; then :
25289 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GALLIUM_SURFACE'
25296 cr_make_tmp=' @echo "#define CAIRO_HAS_GALLIUM_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
25297 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25298 "'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
25299 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25301 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25305 if test "x$use_gallium" = xyes; then :
25307 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
25309 "'--- The Gallium3D surface backend feature is still under active development
25310 --- and is included in this release only as a preview. It does NOT fully work
25311 --- yet and incompatible changes may yet be made to Gallium3D surface backend
25323 # Check whether --enable-png was given.
25324 if test "${enable_png+set}" = set; then :
25325 enableval=$enable_png; enable_png=$enableval
25330 case $enable_png in #(
25332 use_png="no (disabled, use --enable-png to enable)"
25335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's PNG functions feature" >&5
25336 $as_echo_n "checking for cairo's PNG functions feature... " >&6; }
25341 png_REQUIRES="$ac_env_png_REQUIRES_value"
25342 png_CFLAGS="$ac_env_png_CFLAGS_value"
25343 png_NONPKGCONFIG_CFLAGS="$ac_env_png_NONPKGCONFIG_CFLAGS_value"
25344 png_LIBS="$ac_env_png_LIBS_value"
25345 png_NONPKGCONFIG_LIBS="$ac_env_png_NONPKGCONFIG_LIBS_value"
25346 png_NONPKGCONFIG_EXTRA_LIBS="$ac_env_png_NONPKGCONFIG_EXTRA_LIBS_value"
25352 if test "x$png_REQUIRES" = x; then
25353 # libpng13 is GnuWin32's libpng-1.2.8 :-(
25354 for l in libpng libpng14 libpng12 libpng13 libpng10; do
25355 if $PKG_CONFIG --exists $l ; then
25365 if test "x$use_png" = "xyes" ; then
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png" >&5
25369 $as_echo_n "checking for png... " >&6; }
25371 if test -n "$png_CFLAGS"; then
25372 pkg_cv_png_CFLAGS="$png_CFLAGS"
25373 elif test -n "$PKG_CONFIG"; then
25374 if test -n "$PKG_CONFIG" && \
25375 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$png_REQUIRES\""; } >&5
25376 ($PKG_CONFIG --exists --print-errors "$png_REQUIRES") 2>&5
25378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25379 test $ac_status = 0; }; then
25380 pkg_cv_png_CFLAGS=`$PKG_CONFIG --cflags "$png_REQUIRES" 2>/dev/null`
25387 if test -n "$png_LIBS"; then
25388 pkg_cv_png_LIBS="$png_LIBS"
25389 elif test -n "$PKG_CONFIG"; then
25390 if test -n "$PKG_CONFIG" && \
25391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$png_REQUIRES\""; } >&5
25392 ($PKG_CONFIG --exists --print-errors "$png_REQUIRES") 2>&5
25394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25395 test $ac_status = 0; }; then
25396 pkg_cv_png_LIBS=`$PKG_CONFIG --libs "$png_REQUIRES" 2>/dev/null`
25406 if test $pkg_failed = yes; then
25408 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25409 _pkg_short_errors_supported=yes
25411 _pkg_short_errors_supported=no
25413 if test $_pkg_short_errors_supported = yes; then
25414 png_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$png_REQUIRES" 2>&1`
25416 png_PKG_ERRORS=`$PKG_CONFIG --print-errors "$png_REQUIRES" 2>&1`
25418 # Put the nasty error message in config.log where it belongs
25419 echo "$png_PKG_ERRORS" >&5
25421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25422 $as_echo "no" >&6; }
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25424 $as_echo "no" >&6; }
25425 elif test $pkg_failed = untried; then
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25427 $as_echo "no" >&6; }
25429 png_CFLAGS=$pkg_cv_png_CFLAGS
25430 png_LIBS=$pkg_cv_png_LIBS
25431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25432 $as_echo "yes" >&6; }
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find libpng in the pkg-config search path" >&5
25437 $as_echo "$as_me: WARNING: Could not find libpng in the pkg-config search path" >&2;}
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's PNG functions feature could be enabled" >&5
25442 $as_echo_n "checking whether cairo's PNG functions feature could be enabled... " >&6; }
25443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_png" >&5
25444 $as_echo "$use_png" >&6; }
25446 if test "x$enable_png" = "xyes" -a "x$use_png" != xyes; then :
25447 as_fn_error $? "recommended PNG functions feature could not be enabled" "$LINENO" 5
25451 as_fn_error $? "invalid argument passed to --enable-png: \`$use_png', should be one of [no/auto/yes]" "$LINENO" 5
25454 if test "x$use_png" = "xyes"; then :
25455 CAIRO_REQUIRES="$png_REQUIRES"" ${CAIRO_REQUIRES}"
25457 CAIRO_CFLAGS="$png_CFLAGS"" ${CAIRO_CFLAGS}"
25459 CAIRO_NONPKGCONFIG_CFLAGS="$png_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
25461 CAIRO_LIBS="$png_LIBS"" ${CAIRO_LIBS}"
25463 CAIRO_NONPKGCONFIG_LIBS="$png_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
25470 unset png_NONPKGCONFIG_CFLAGS
25472 unset png_NONPKGCONFIG_LIBS
25473 unset png_NONPKGCONFIG_EXTRA_LIBS
25478 if test "x$use_png" = xyes; then
25479 CAIRO_HAS_PNG_FUNCTIONS_TRUE=
25480 CAIRO_HAS_PNG_FUNCTIONS_FALSE='#'
25482 CAIRO_HAS_PNG_FUNCTIONS_TRUE='#'
25483 CAIRO_HAS_PNG_FUNCTIONS_FALSE=
25487 cr_make_tmp='CAIRO_HAS_PNG_FUNCTIONS=1'
25488 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
25493 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25496 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25499 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25502 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25506 cr_make_tmp='supported_cairo_headers += $(cairo_png_headers)'
25507 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25510 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25512 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_png_headers)'
25513 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25516 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25521 cr_make_tmp='all_cairo_headers += $(cairo_png_headers)
25522 all_cairo_private += $(cairo_png_private)
25523 all_cairo_cxx_sources += $(cairo_png_cxx_sources)
25524 all_cairo_sources += $(cairo_png_sources)'
25525 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25528 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25530 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_png_headers)
25531 all_cairo_boilerplate_private += $(cairo_boilerplate_png_private)
25532 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_png_cxx_sources)
25533 all_cairo_boilerplate_sources += $(cairo_boilerplate_png_sources)'
25534 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25537 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25541 cr_make_tmp='enabled_cairo_headers += $(cairo_png_headers)
25542 enabled_cairo_private += $(cairo_png_private)
25543 enabled_cairo_cxx_sources += $(cairo_png_cxx_sources)
25544 enabled_cairo_sources += $(cairo_png_sources)'
25545 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25546 "'if CAIRO_HAS_PNG_FUNCTIONS'
25547 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25549 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25552 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25553 "'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
25554 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25556 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25558 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_png_headers)
25559 enabled_cairo_boilerplate_private += $(cairo_boilerplate_png_private)
25560 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_png_cxx_sources)
25561 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_png_sources)'
25562 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25563 "'if CAIRO_HAS_PNG_FUNCTIONS'
25564 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25566 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25569 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25570 "'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
25571 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25573 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25579 if test "x$use_png" = xyes; then :
25581 ac_config_files="$ac_config_files src/cairo-png.pc:src/cairo-features.pc.in"
25585 if test "x$use_png" = xyes; then :
25587 ac_config_files="$ac_config_files cairo-png-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
25591 cr_make_tmp='all_cairo_pkgconf += cairo-png.pc'
25592 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25595 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25599 cr_make_tmp='enabled_cairo_pkgconf += cairo-png.pc'
25600 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25601 "'if CAIRO_HAS_PNG_FUNCTIONS'
25602 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25604 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25607 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25608 "'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
25609 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25611 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25615 if test "x$use_png" = xyes; then :
25617 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_PNG_FUNCTIONS'
25621 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_PNG_FUNCTIONS'
25625 if test "x$use_png" != xyes; then :
25627 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_PNG_FUNCTIONS'
25633 cr_make_tmp=' @echo "#define CAIRO_HAS_PNG_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
25634 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25635 "'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
25636 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25638 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25643 if test "x$use_png" != xyes; then :
25645 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
25647 "'+++ It is strongly recommended that you do NOT disable the PNG functions
25657 # Check whether --enable-gl was given.
25658 if test "${enable_gl+set}" = set; then :
25659 enableval=$enable_gl; enable_gl=$enableval
25664 case $enable_gl in #(
25666 use_gl="no (disabled, use --enable-gl to enable)"
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's OpenGL surface backend feature" >&5
25670 $as_echo_n "checking for cairo's OpenGL surface backend feature... " >&6; }
25675 gl_REQUIRES="$ac_env_gl_REQUIRES_value"
25676 gl_CFLAGS="$ac_env_gl_CFLAGS_value"
25677 gl_NONPKGCONFIG_CFLAGS="$ac_env_gl_NONPKGCONFIG_CFLAGS_value"
25678 gl_LIBS="$ac_env_gl_LIBS_value"
25679 gl_NONPKGCONFIG_LIBS="$ac_env_gl_NONPKGCONFIG_LIBS_value"
25680 gl_NONPKGCONFIG_EXTRA_LIBS="$ac_env_gl_NONPKGCONFIG_EXTRA_LIBS_value"
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gl" >&5
25688 $as_echo_n "checking for gl... " >&6; }
25690 if test -n "$gl_CFLAGS"; then
25691 pkg_cv_gl_CFLAGS="$gl_CFLAGS"
25692 elif test -n "$PKG_CONFIG"; then
25693 if test -n "$PKG_CONFIG" && \
25694 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gl_REQUIRES\""; } >&5
25695 ($PKG_CONFIG --exists --print-errors "$gl_REQUIRES") 2>&5
25697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25698 test $ac_status = 0; }; then
25699 pkg_cv_gl_CFLAGS=`$PKG_CONFIG --cflags "$gl_REQUIRES" 2>/dev/null`
25706 if test -n "$gl_LIBS"; then
25707 pkg_cv_gl_LIBS="$gl_LIBS"
25708 elif test -n "$PKG_CONFIG"; then
25709 if test -n "$PKG_CONFIG" && \
25710 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gl_REQUIRES\""; } >&5
25711 ($PKG_CONFIG --exists --print-errors "$gl_REQUIRES") 2>&5
25713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25714 test $ac_status = 0; }; then
25715 pkg_cv_gl_LIBS=`$PKG_CONFIG --libs "$gl_REQUIRES" 2>/dev/null`
25725 if test $pkg_failed = yes; then
25727 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25728 _pkg_short_errors_supported=yes
25730 _pkg_short_errors_supported=no
25732 if test $_pkg_short_errors_supported = yes; then
25733 gl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gl_REQUIRES" 2>&1`
25735 gl_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gl_REQUIRES" 2>&1`
25737 # Put the nasty error message in config.log where it belongs
25738 echo "$gl_PKG_ERRORS" >&5
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25741 $as_echo "no" >&6; }
25743 ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
25744 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
25747 use_gl="no (gl.pc nor OpenGL headers not found)"
25751 if test "x$use_gl" = "xyes"; then
25752 gl_NONPKGCONFIG_CFLAGS=
25753 gl_NONPKGCONFIG_LIBS="-lGL"
25755 elif test $pkg_failed = untried; then
25757 ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
25758 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
25761 use_gl="no (gl.pc nor OpenGL headers not found)"
25765 if test "x$use_gl" = "xyes"; then
25766 gl_NONPKGCONFIG_CFLAGS=
25767 gl_NONPKGCONFIG_LIBS="-lGL"
25770 gl_CFLAGS=$pkg_cv_gl_CFLAGS
25771 gl_LIBS=$pkg_cv_gl_LIBS
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25773 $as_echo "yes" >&6; }
25777 if test "x$have_dl" = "xyes" -a "x$have_dlsym" = "xyes"; then
25778 gl_LIBS="$gl_LIBS -ldl"
25781 need_glx_functions=yes
25782 need_wgl_functions=yes
25783 need_egl_functions=yes
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's OpenGL surface backend feature could be enabled" >&5
25787 $as_echo_n "checking whether cairo's OpenGL surface backend feature could be enabled... " >&6; }
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gl" >&5
25789 $as_echo "$use_gl" >&6; }
25791 if test "x$enable_gl" = "xyes" -a "x$use_gl" != xyes; then :
25792 as_fn_error $? " OpenGL surface backend feature could not be enabled" "$LINENO" 5
25796 as_fn_error $? "invalid argument passed to --enable-gl: \`$use_gl', should be one of [no/auto/yes]" "$LINENO" 5
25799 if test "x$use_gl" = "xyes"; then :
25800 CAIRO_REQUIRES="$gl_REQUIRES"" ${CAIRO_REQUIRES}"
25802 CAIRO_CFLAGS="$gl_CFLAGS"" ${CAIRO_CFLAGS}"
25804 CAIRO_NONPKGCONFIG_CFLAGS="$gl_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
25806 CAIRO_LIBS="$gl_LIBS"" ${CAIRO_LIBS}"
25808 CAIRO_NONPKGCONFIG_LIBS="$gl_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
25815 unset gl_NONPKGCONFIG_CFLAGS
25817 unset gl_NONPKGCONFIG_LIBS
25818 unset gl_NONPKGCONFIG_EXTRA_LIBS
25823 if test "x$use_gl" = xyes; then
25824 CAIRO_HAS_GL_SURFACE_TRUE=
25825 CAIRO_HAS_GL_SURFACE_FALSE='#'
25827 CAIRO_HAS_GL_SURFACE_TRUE='#'
25828 CAIRO_HAS_GL_SURFACE_FALSE=
25832 cr_make_tmp='CAIRO_HAS_GL_SURFACE=0'
25833 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
25838 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25841 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25844 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25847 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25852 cr_make_tmp='unsupported_cairo_headers += $(cairo_gl_headers)'
25853 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25856 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25858 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_gl_headers)'
25859 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25862 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25866 cr_make_tmp='all_cairo_headers += $(cairo_gl_headers)
25867 all_cairo_private += $(cairo_gl_private)
25868 all_cairo_cxx_sources += $(cairo_gl_cxx_sources)
25869 all_cairo_sources += $(cairo_gl_sources)'
25870 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25873 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25875 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_gl_headers)
25876 all_cairo_boilerplate_private += $(cairo_boilerplate_gl_private)
25877 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gl_cxx_sources)
25878 all_cairo_boilerplate_sources += $(cairo_boilerplate_gl_sources)'
25879 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25882 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25886 cr_make_tmp='enabled_cairo_headers += $(cairo_gl_headers)
25887 enabled_cairo_private += $(cairo_gl_private)
25888 enabled_cairo_cxx_sources += $(cairo_gl_cxx_sources)
25889 enabled_cairo_sources += $(cairo_gl_sources)'
25890 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25891 "'if CAIRO_HAS_GL_SURFACE'
25892 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25894 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25897 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25898 "'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
25899 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25901 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25903 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_gl_headers)
25904 enabled_cairo_boilerplate_private += $(cairo_boilerplate_gl_private)
25905 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gl_cxx_sources)
25906 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_gl_sources)'
25907 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25908 "'if CAIRO_HAS_GL_SURFACE'
25909 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25911 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25914 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25915 "'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
25916 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25918 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25924 if test "x$use_gl" = xyes; then :
25926 ac_config_files="$ac_config_files src/cairo-gl.pc:src/cairo-features.pc.in"
25930 if test "x$use_gl" = xyes; then :
25932 ac_config_files="$ac_config_files cairo-gl-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
25936 cr_make_tmp='all_cairo_pkgconf += cairo-gl.pc'
25937 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25940 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25944 cr_make_tmp='enabled_cairo_pkgconf += cairo-gl.pc'
25945 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25946 "'if CAIRO_HAS_GL_SURFACE'
25947 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25949 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25952 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25953 "'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
25954 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25956 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25960 if test "x$use_gl" = xyes; then :
25962 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GL_SURFACE'
25969 cr_make_tmp=' @echo "#define CAIRO_HAS_GL_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
25970 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25971 "'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
25972 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25974 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25978 if test "x$use_gl" = xyes; then :
25980 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
25982 "'--- The OpenGL surface backend feature is still under active development and
25983 --- is included in this release only as a preview. It does NOT fully work yet
25984 --- and incompatible changes may yet be made to OpenGL surface backend
25995 # Check whether --enable-glesv2 was given.
25996 if test "${enable_glesv2+set}" = set; then :
25997 enableval=$enable_glesv2; enable_glesv2=$enableval
26002 case $enable_glesv2 in #(
26004 use_glesv2="no (disabled, use --enable-glesv2 to enable)"
26007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's OpenGLESv2 surface backend feature" >&5
26008 $as_echo_n "checking for cairo's OpenGLESv2 surface backend feature... " >&6; }
26012 glesv2_BASE="cairo"
26013 glesv2_REQUIRES="$ac_env_glesv2_REQUIRES_value"
26014 glesv2_CFLAGS="$ac_env_glesv2_CFLAGS_value"
26015 glesv2_NONPKGCONFIG_CFLAGS="$ac_env_glesv2_NONPKGCONFIG_CFLAGS_value"
26016 glesv2_LIBS="$ac_env_glesv2_LIBS_value"
26017 glesv2_NONPKGCONFIG_LIBS="$ac_env_glesv2_NONPKGCONFIG_LIBS_value"
26018 glesv2_NONPKGCONFIG_EXTRA_LIBS="$ac_env_glesv2_NONPKGCONFIG_EXTRA_LIBS_value"
26022 glesv2_REQUIRES="gles20"
26025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glesv2" >&5
26026 $as_echo_n "checking for glesv2... " >&6; }
26028 if test -n "$glesv2_CFLAGS"; then
26029 pkg_cv_glesv2_CFLAGS="$glesv2_CFLAGS"
26030 elif test -n "$PKG_CONFIG"; then
26031 if test -n "$PKG_CONFIG" && \
26032 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$glesv2_REQUIRES\""; } >&5
26033 ($PKG_CONFIG --exists --print-errors "$glesv2_REQUIRES") 2>&5
26035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26036 test $ac_status = 0; }; then
26037 pkg_cv_glesv2_CFLAGS=`$PKG_CONFIG --cflags "$glesv2_REQUIRES" 2>/dev/null`
26044 if test -n "$glesv2_LIBS"; then
26045 pkg_cv_glesv2_LIBS="$glesv2_LIBS"
26046 elif test -n "$PKG_CONFIG"; then
26047 if test -n "$PKG_CONFIG" && \
26048 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$glesv2_REQUIRES\""; } >&5
26049 ($PKG_CONFIG --exists --print-errors "$glesv2_REQUIRES") 2>&5
26051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26052 test $ac_status = 0; }; then
26053 pkg_cv_glesv2_LIBS=`$PKG_CONFIG --libs "$glesv2_REQUIRES" 2>/dev/null`
26063 if test $pkg_failed = yes; then
26065 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26066 _pkg_short_errors_supported=yes
26068 _pkg_short_errors_supported=no
26070 if test $_pkg_short_errors_supported = yes; then
26071 glesv2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$glesv2_REQUIRES" 2>&1`
26073 glesv2_PKG_ERRORS=`$PKG_CONFIG --print-errors "$glesv2_REQUIRES" 2>&1`
26075 # Put the nasty error message in config.log where it belongs
26076 echo "$glesv2_PKG_ERRORS" >&5
26078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26079 $as_echo "no" >&6; }
26081 ac_fn_c_check_header_mongrel "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "$ac_includes_default"
26082 if test "x$ac_cv_header_GLES2_gl2_h" = x""yes; then :
26085 use_glesv2="no (glesv2.pc nor OpenGL ES 2.0 headers not found)"
26089 if test "x$use_glesv2" = "xyes"; then
26090 glesv2_NONPKGCONFIG_CFLAGS=
26091 glesv2_NONPKGCONFIG_LIBS="-lGLESv2"
26093 elif test $pkg_failed = untried; then
26095 ac_fn_c_check_header_mongrel "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "$ac_includes_default"
26096 if test "x$ac_cv_header_GLES2_gl2_h" = x""yes; then :
26099 use_glesv2="no (glesv2.pc nor OpenGL ES 2.0 headers not found)"
26103 if test "x$use_glesv2" = "xyes"; then
26104 glesv2_NONPKGCONFIG_CFLAGS=
26105 glesv2_NONPKGCONFIG_LIBS="-lGLESv2"
26108 glesv2_CFLAGS=$pkg_cv_glesv2_CFLAGS
26109 glesv2_LIBS=$pkg_cv_glesv2_LIBS
26110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26111 $as_echo "yes" >&6; }
26115 if test "x$have_dl" = "xyes" -a "x$have_dlsym" = "xyes"; then
26116 glesv2_LIBS="$glesv2_LIBS -ldl"
26119 need_egl_functions=yes
26122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's OpenGLESv2 surface backend feature could be enabled" >&5
26123 $as_echo_n "checking whether cairo's OpenGLESv2 surface backend feature could be enabled... " >&6; }
26124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_glesv2" >&5
26125 $as_echo "$use_glesv2" >&6; }
26127 if test "x$enable_glesv2" = "xyes" -a "x$use_glesv2" != xyes; then :
26128 as_fn_error $? " OpenGLESv2 surface backend feature could not be enabled" "$LINENO" 5
26132 as_fn_error $? "invalid argument passed to --enable-glesv2: \`$use_glesv2', should be one of [no/auto/yes]" "$LINENO" 5
26135 if test "x$use_glesv2" = "xyes"; then :
26136 CAIRO_REQUIRES="$glesv2_REQUIRES"" ${CAIRO_REQUIRES}"
26138 CAIRO_CFLAGS="$glesv2_CFLAGS"" ${CAIRO_CFLAGS}"
26140 CAIRO_NONPKGCONFIG_CFLAGS="$glesv2_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
26142 CAIRO_LIBS="$glesv2_LIBS"" ${CAIRO_LIBS}"
26144 CAIRO_NONPKGCONFIG_LIBS="$glesv2_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
26149 unset glesv2_REQUIRES
26150 unset glesv2_CFLAGS
26151 unset glesv2_NONPKGCONFIG_CFLAGS
26153 unset glesv2_NONPKGCONFIG_LIBS
26154 unset glesv2_NONPKGCONFIG_EXTRA_LIBS
26159 if test "x$use_glesv2" = xyes; then
26160 CAIRO_HAS_GLESV2_SURFACE_TRUE=
26161 CAIRO_HAS_GLESV2_SURFACE_FALSE='#'
26163 CAIRO_HAS_GLESV2_SURFACE_TRUE='#'
26164 CAIRO_HAS_GLESV2_SURFACE_FALSE=
26168 cr_make_tmp='CAIRO_HAS_GLESV2_SURFACE=0'
26169 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
26174 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26177 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26180 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26183 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26188 cr_make_tmp='unsupported_cairo_headers += $(cairo_glesv2_headers)'
26189 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26192 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26194 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_glesv2_headers)'
26195 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26198 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26202 cr_make_tmp='all_cairo_headers += $(cairo_glesv2_headers)
26203 all_cairo_private += $(cairo_glesv2_private)
26204 all_cairo_cxx_sources += $(cairo_glesv2_cxx_sources)
26205 all_cairo_sources += $(cairo_glesv2_sources)'
26206 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26209 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26211 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_glesv2_headers)
26212 all_cairo_boilerplate_private += $(cairo_boilerplate_glesv2_private)
26213 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_glesv2_cxx_sources)
26214 all_cairo_boilerplate_sources += $(cairo_boilerplate_glesv2_sources)'
26215 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26218 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26222 cr_make_tmp='enabled_cairo_headers += $(cairo_glesv2_headers)
26223 enabled_cairo_private += $(cairo_glesv2_private)
26224 enabled_cairo_cxx_sources += $(cairo_glesv2_cxx_sources)
26225 enabled_cairo_sources += $(cairo_glesv2_sources)'
26226 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26227 "'if CAIRO_HAS_GLESV2_SURFACE'
26228 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26230 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26233 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26234 "'ifeq ($(CAIRO_HAS_GLESV2_SURFACE),1)'
26235 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26237 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26239 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_glesv2_headers)
26240 enabled_cairo_boilerplate_private += $(cairo_boilerplate_glesv2_private)
26241 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_glesv2_cxx_sources)
26242 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_glesv2_sources)'
26243 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26244 "'if CAIRO_HAS_GLESV2_SURFACE'
26245 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26247 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26250 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26251 "'ifeq ($(CAIRO_HAS_GLESV2_SURFACE),1)'
26252 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26254 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26260 if test "x$use_glesv2" = xyes; then :
26262 ac_config_files="$ac_config_files src/cairo-glesv2.pc:src/cairo-features.pc.in"
26266 if test "x$use_glesv2" = xyes; then :
26268 ac_config_files="$ac_config_files cairo-glesv2-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
26272 cr_make_tmp='all_cairo_pkgconf += cairo-glesv2.pc'
26273 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26276 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26280 cr_make_tmp='enabled_cairo_pkgconf += cairo-glesv2.pc'
26281 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26282 "'if CAIRO_HAS_GLESV2_SURFACE'
26283 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26285 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26288 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26289 "'ifeq ($(CAIRO_HAS_GLESV2_SURFACE),1)'
26290 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26292 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26296 if test "x$use_glesv2" = xyes; then :
26298 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GLESV2_SURFACE'
26305 cr_make_tmp=' @echo "#define CAIRO_HAS_GLESV2_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
26306 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26307 "'ifeq ($(CAIRO_HAS_GLESV2_SURFACE),1)'
26308 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26310 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26314 if test "x$use_glesv2" = xyes; then :
26316 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
26318 "'--- The OpenGLESv2 surface backend feature is still under active development
26319 --- and is included in this release only as a preview. It does NOT fully work
26320 --- yet and incompatible changes may yet be made to OpenGLESv2 surface
26321 --- backend specific API.'
26331 # Check whether --enable-cogl was given.
26332 if test "${enable_cogl+set}" = set; then :
26333 enableval=$enable_cogl; enable_cogl=$enableval
26338 case $enable_cogl in #(
26340 use_cogl="no (disabled, use --enable-cogl to enable)"
26343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Cogl surface backend feature" >&5
26344 $as_echo_n "checking for cairo's Cogl surface backend feature... " >&6; }
26349 cogl_REQUIRES="$ac_env_cogl_REQUIRES_value"
26350 cogl_CFLAGS="$ac_env_cogl_CFLAGS_value"
26351 cogl_NONPKGCONFIG_CFLAGS="$ac_env_cogl_NONPKGCONFIG_CFLAGS_value"
26352 cogl_LIBS="$ac_env_cogl_LIBS_value"
26353 cogl_NONPKGCONFIG_LIBS="$ac_env_cogl_NONPKGCONFIG_LIBS_value"
26354 cogl_NONPKGCONFIG_EXTRA_LIBS="$ac_env_cogl_NONPKGCONFIG_EXTRA_LIBS_value"
26358 cogl_REQUIRES="cogl-2.0-experimental"
26361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cogl" >&5
26362 $as_echo_n "checking for cogl... " >&6; }
26364 if test -n "$cogl_CFLAGS"; then
26365 pkg_cv_cogl_CFLAGS="$cogl_CFLAGS"
26366 elif test -n "$PKG_CONFIG"; then
26367 if test -n "$PKG_CONFIG" && \
26368 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cogl_REQUIRES\""; } >&5
26369 ($PKG_CONFIG --exists --print-errors "$cogl_REQUIRES") 2>&5
26371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26372 test $ac_status = 0; }; then
26373 pkg_cv_cogl_CFLAGS=`$PKG_CONFIG --cflags "$cogl_REQUIRES" 2>/dev/null`
26380 if test -n "$cogl_LIBS"; then
26381 pkg_cv_cogl_LIBS="$cogl_LIBS"
26382 elif test -n "$PKG_CONFIG"; then
26383 if test -n "$PKG_CONFIG" && \
26384 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cogl_REQUIRES\""; } >&5
26385 ($PKG_CONFIG --exists --print-errors "$cogl_REQUIRES") 2>&5
26387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26388 test $ac_status = 0; }; then
26389 pkg_cv_cogl_LIBS=`$PKG_CONFIG --libs "$cogl_REQUIRES" 2>/dev/null`
26399 if test $pkg_failed = yes; then
26401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26402 _pkg_short_errors_supported=yes
26404 _pkg_short_errors_supported=no
26406 if test $_pkg_short_errors_supported = yes; then
26407 cogl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$cogl_REQUIRES" 2>&1`
26409 cogl_PKG_ERRORS=`$PKG_CONFIG --print-errors "$cogl_REQUIRES" 2>&1`
26411 # Put the nasty error message in config.log where it belongs
26412 echo "$cogl_PKG_ERRORS" >&5
26414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26415 $as_echo "no" >&6; }
26417 elif test $pkg_failed = untried; then
26420 cogl_CFLAGS=$pkg_cv_cogl_CFLAGS
26421 cogl_LIBS=$pkg_cv_cogl_LIBS
26422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26423 $as_echo "yes" >&6; }
26428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Cogl surface backend feature could be enabled" >&5
26429 $as_echo_n "checking whether cairo's Cogl surface backend feature could be enabled... " >&6; }
26430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_cogl" >&5
26431 $as_echo "$use_cogl" >&6; }
26433 if test "x$enable_cogl" = "xyes" -a "x$use_cogl" != xyes; then :
26434 as_fn_error $? " Cogl surface backend feature could not be enabled" "$LINENO" 5
26438 as_fn_error $? "invalid argument passed to --enable-cogl: \`$use_cogl', should be one of [no/auto/yes]" "$LINENO" 5
26441 if test "x$use_cogl" = "xyes"; then :
26442 CAIRO_REQUIRES="$cogl_REQUIRES"" ${CAIRO_REQUIRES}"
26444 CAIRO_CFLAGS="$cogl_CFLAGS"" ${CAIRO_CFLAGS}"
26446 CAIRO_NONPKGCONFIG_CFLAGS="$cogl_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
26448 CAIRO_LIBS="$cogl_LIBS"" ${CAIRO_LIBS}"
26450 CAIRO_NONPKGCONFIG_LIBS="$cogl_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
26455 unset cogl_REQUIRES
26457 unset cogl_NONPKGCONFIG_CFLAGS
26459 unset cogl_NONPKGCONFIG_LIBS
26460 unset cogl_NONPKGCONFIG_EXTRA_LIBS
26465 if test "x$use_cogl" = xyes; then
26466 CAIRO_HAS_COGL_SURFACE_TRUE=
26467 CAIRO_HAS_COGL_SURFACE_FALSE='#'
26469 CAIRO_HAS_COGL_SURFACE_TRUE='#'
26470 CAIRO_HAS_COGL_SURFACE_FALSE=
26474 cr_make_tmp='CAIRO_HAS_COGL_SURFACE=0'
26475 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
26480 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26483 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26486 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26489 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26494 cr_make_tmp='unsupported_cairo_headers += $(cairo_cogl_headers)'
26495 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26498 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26500 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_cogl_headers)'
26501 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26504 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26508 cr_make_tmp='all_cairo_headers += $(cairo_cogl_headers)
26509 all_cairo_private += $(cairo_cogl_private)
26510 all_cairo_cxx_sources += $(cairo_cogl_cxx_sources)
26511 all_cairo_sources += $(cairo_cogl_sources)'
26512 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26515 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26517 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_cogl_headers)
26518 all_cairo_boilerplate_private += $(cairo_boilerplate_cogl_private)
26519 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_cogl_cxx_sources)
26520 all_cairo_boilerplate_sources += $(cairo_boilerplate_cogl_sources)'
26521 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26524 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26528 cr_make_tmp='enabled_cairo_headers += $(cairo_cogl_headers)
26529 enabled_cairo_private += $(cairo_cogl_private)
26530 enabled_cairo_cxx_sources += $(cairo_cogl_cxx_sources)
26531 enabled_cairo_sources += $(cairo_cogl_sources)'
26532 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26533 "'if CAIRO_HAS_COGL_SURFACE'
26534 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26536 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26539 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26540 "'ifeq ($(CAIRO_HAS_COGL_SURFACE),1)'
26541 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26543 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26545 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_cogl_headers)
26546 enabled_cairo_boilerplate_private += $(cairo_boilerplate_cogl_private)
26547 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_cogl_cxx_sources)
26548 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_cogl_sources)'
26549 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26550 "'if CAIRO_HAS_COGL_SURFACE'
26551 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26553 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26556 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26557 "'ifeq ($(CAIRO_HAS_COGL_SURFACE),1)'
26558 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26560 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26566 if test "x$use_cogl" = xyes; then :
26568 ac_config_files="$ac_config_files src/cairo-cogl.pc:src/cairo-features.pc.in"
26572 if test "x$use_cogl" = xyes; then :
26574 ac_config_files="$ac_config_files cairo-cogl-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
26578 cr_make_tmp='all_cairo_pkgconf += cairo-cogl.pc'
26579 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26582 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26586 cr_make_tmp='enabled_cairo_pkgconf += cairo-cogl.pc'
26587 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26588 "'if CAIRO_HAS_COGL_SURFACE'
26589 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26591 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26594 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26595 "'ifeq ($(CAIRO_HAS_COGL_SURFACE),1)'
26596 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26598 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26602 if test "x$use_cogl" = xyes; then :
26604 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_COGL_SURFACE'
26611 cr_make_tmp=' @echo "#define CAIRO_HAS_COGL_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
26612 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26613 "'ifeq ($(CAIRO_HAS_COGL_SURFACE),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}
26620 if test "x$use_cogl" = xyes; then :
26622 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
26624 "'--- The Cogl surface backend feature is still under active development and is
26625 --- included in this release only as a preview. It does NOT fully work yet
26626 --- and incompatible changes may yet be made to Cogl surface backend specific
26638 # Check whether --enable-directfb was given.
26639 if test "${enable_directfb+set}" = set; then :
26640 enableval=$enable_directfb; enable_directfb=$enableval
26645 case $enable_directfb in #(
26647 use_directfb="no (disabled, use --enable-directfb to enable)"
26650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's directfb surface backend feature" >&5
26651 $as_echo_n "checking for cairo's directfb surface backend feature... " >&6; }
26655 directfb_BASE="cairo"
26656 directfb_REQUIRES="$ac_env_directfb_REQUIRES_value"
26657 directfb_CFLAGS="$ac_env_directfb_CFLAGS_value"
26658 directfb_NONPKGCONFIG_CFLAGS="$ac_env_directfb_NONPKGCONFIG_CFLAGS_value"
26659 directfb_LIBS="$ac_env_directfb_LIBS_value"
26660 directfb_NONPKGCONFIG_LIBS="$ac_env_directfb_NONPKGCONFIG_LIBS_value"
26661 directfb_NONPKGCONFIG_EXTRA_LIBS="$ac_env_directfb_NONPKGCONFIG_EXTRA_LIBS_value"
26665 directfb_REQUIRES=directfb
26668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directfb" >&5
26669 $as_echo_n "checking for directfb... " >&6; }
26671 if test -n "$directfb_CFLAGS"; then
26672 pkg_cv_directfb_CFLAGS="$directfb_CFLAGS"
26673 elif test -n "$PKG_CONFIG"; then
26674 if test -n "$PKG_CONFIG" && \
26675 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$directfb_REQUIRES\""; } >&5
26676 ($PKG_CONFIG --exists --print-errors "$directfb_REQUIRES") 2>&5
26678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26679 test $ac_status = 0; }; then
26680 pkg_cv_directfb_CFLAGS=`$PKG_CONFIG --cflags "$directfb_REQUIRES" 2>/dev/null`
26687 if test -n "$directfb_LIBS"; then
26688 pkg_cv_directfb_LIBS="$directfb_LIBS"
26689 elif test -n "$PKG_CONFIG"; then
26690 if test -n "$PKG_CONFIG" && \
26691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$directfb_REQUIRES\""; } >&5
26692 ($PKG_CONFIG --exists --print-errors "$directfb_REQUIRES") 2>&5
26694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26695 test $ac_status = 0; }; then
26696 pkg_cv_directfb_LIBS=`$PKG_CONFIG --libs "$directfb_REQUIRES" 2>/dev/null`
26706 if test $pkg_failed = yes; then
26708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26709 _pkg_short_errors_supported=yes
26711 _pkg_short_errors_supported=no
26713 if test $_pkg_short_errors_supported = yes; then
26714 directfb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$directfb_REQUIRES" 2>&1`
26716 directfb_PKG_ERRORS=`$PKG_CONFIG --print-errors "$directfb_REQUIRES" 2>&1`
26718 # Put the nasty error message in config.log where it belongs
26719 echo "$directfb_PKG_ERRORS" >&5
26721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26722 $as_echo "no" >&6; }
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26724 $as_echo "no" >&6; }
26725 use_directfb="no (requires $directfb_REQUIRES http://www.directfb.org)"
26726 elif test $pkg_failed = untried; then
26727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26728 $as_echo "no" >&6; }
26729 use_directfb="no (requires $directfb_REQUIRES http://www.directfb.org)"
26731 directfb_CFLAGS=$pkg_cv_directfb_CFLAGS
26732 directfb_LIBS=$pkg_cv_directfb_LIBS
26733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26734 $as_echo "yes" >&6; }
26739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's directfb surface backend feature could be enabled" >&5
26740 $as_echo_n "checking whether cairo's directfb surface backend feature could be enabled... " >&6; }
26741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_directfb" >&5
26742 $as_echo "$use_directfb" >&6; }
26744 if test "x$enable_directfb" = "xyes" -a "x$use_directfb" != xyes; then :
26745 as_fn_error $? " directfb surface backend feature could not be enabled" "$LINENO" 5
26749 as_fn_error $? "invalid argument passed to --enable-directfb: \`$use_directfb', should be one of [no/auto/yes]" "$LINENO" 5
26752 if test "x$use_directfb" = "xyes"; then :
26753 CAIRO_REQUIRES="$directfb_REQUIRES"" ${CAIRO_REQUIRES}"
26755 CAIRO_CFLAGS="$directfb_CFLAGS"" ${CAIRO_CFLAGS}"
26757 CAIRO_NONPKGCONFIG_CFLAGS="$directfb_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
26759 CAIRO_LIBS="$directfb_LIBS"" ${CAIRO_LIBS}"
26761 CAIRO_NONPKGCONFIG_LIBS="$directfb_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
26765 unset directfb_BASE
26766 unset directfb_REQUIRES
26767 unset directfb_CFLAGS
26768 unset directfb_NONPKGCONFIG_CFLAGS
26769 unset directfb_LIBS
26770 unset directfb_NONPKGCONFIG_LIBS
26771 unset directfb_NONPKGCONFIG_EXTRA_LIBS
26776 if test "x$use_directfb" = xyes; then
26777 CAIRO_HAS_DIRECTFB_SURFACE_TRUE=
26778 CAIRO_HAS_DIRECTFB_SURFACE_FALSE='#'
26780 CAIRO_HAS_DIRECTFB_SURFACE_TRUE='#'
26781 CAIRO_HAS_DIRECTFB_SURFACE_FALSE=
26785 cr_make_tmp='CAIRO_HAS_DIRECTFB_SURFACE=0'
26786 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
26791 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26794 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26797 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26800 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26805 cr_make_tmp='unsupported_cairo_headers += $(cairo_directfb_headers)'
26806 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26809 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26811 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_directfb_headers)'
26812 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26815 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26819 cr_make_tmp='all_cairo_headers += $(cairo_directfb_headers)
26820 all_cairo_private += $(cairo_directfb_private)
26821 all_cairo_cxx_sources += $(cairo_directfb_cxx_sources)
26822 all_cairo_sources += $(cairo_directfb_sources)'
26823 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26826 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26828 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_directfb_headers)
26829 all_cairo_boilerplate_private += $(cairo_boilerplate_directfb_private)
26830 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_directfb_cxx_sources)
26831 all_cairo_boilerplate_sources += $(cairo_boilerplate_directfb_sources)'
26832 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26835 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26839 cr_make_tmp='enabled_cairo_headers += $(cairo_directfb_headers)
26840 enabled_cairo_private += $(cairo_directfb_private)
26841 enabled_cairo_cxx_sources += $(cairo_directfb_cxx_sources)
26842 enabled_cairo_sources += $(cairo_directfb_sources)'
26843 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26844 "'if CAIRO_HAS_DIRECTFB_SURFACE'
26845 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26847 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26850 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26851 "'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
26852 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26854 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26856 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_directfb_headers)
26857 enabled_cairo_boilerplate_private += $(cairo_boilerplate_directfb_private)
26858 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_directfb_cxx_sources)
26859 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_directfb_sources)'
26860 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26861 "'if CAIRO_HAS_DIRECTFB_SURFACE'
26862 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26864 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26867 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26868 "'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
26869 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26871 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26877 if test "x$use_directfb" = xyes; then :
26879 ac_config_files="$ac_config_files src/cairo-directfb.pc:src/cairo-features.pc.in"
26883 if test "x$use_directfb" = xyes; then :
26885 ac_config_files="$ac_config_files cairo-directfb-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
26889 cr_make_tmp='all_cairo_pkgconf += cairo-directfb.pc'
26890 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26893 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26897 cr_make_tmp='enabled_cairo_pkgconf += cairo-directfb.pc'
26898 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26899 "'if CAIRO_HAS_DIRECTFB_SURFACE'
26900 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26902 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26905 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26906 "'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
26907 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26909 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26913 if test "x$use_directfb" = xyes; then :
26915 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_DIRECTFB_SURFACE'
26922 cr_make_tmp=' @echo "#define CAIRO_HAS_DIRECTFB_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
26923 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26924 "'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
26925 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26927 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26931 if test "x$use_directfb" = xyes; then :
26933 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
26935 "'--- The directfb surface backend feature is still under active development
26936 --- and is included in this release only as a preview. It does NOT fully work
26937 --- yet and incompatible changes may yet be made to directfb surface backend
26949 # Check whether --enable-vg was given.
26950 if test "${enable_vg+set}" = set; then :
26951 enableval=$enable_vg; enable_vg=$enableval
26956 case $enable_vg in #(
26958 use_vg="no (disabled, use --enable-vg to enable)"
26961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's OpenVG surface backend feature" >&5
26962 $as_echo_n "checking for cairo's OpenVG surface backend feature... " >&6; }
26967 vg_REQUIRES="$ac_env_vg_REQUIRES_value"
26968 vg_CFLAGS="$ac_env_vg_CFLAGS_value"
26969 vg_NONPKGCONFIG_CFLAGS="$ac_env_vg_NONPKGCONFIG_CFLAGS_value"
26970 vg_LIBS="$ac_env_vg_LIBS_value"
26971 vg_NONPKGCONFIG_LIBS="$ac_env_vg_NONPKGCONFIG_LIBS_value"
26972 vg_NONPKGCONFIG_EXTRA_LIBS="$ac_env_vg_NONPKGCONFIG_EXTRA_LIBS_value"
26976 ac_fn_c_check_header_mongrel "$LINENO" "VG/openvg.h" "ac_cv_header_VG_openvg_h" "$ac_includes_default"
26977 if test "x$ac_cv_header_VG_openvg_h" = x""yes; then :
26980 use_vg="no (OpenVG headers not found)"
26984 if test "x$use_vg" = "xyes"; then
26985 vg_NONPKGCONFIG_CFLAGS=
26986 vg_NONPKGCONFIG_LIBS="-lOpenVG"
26987 need_egl_functions=yes
26988 need_glx_functions=yes
26992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's OpenVG surface backend feature could be enabled" >&5
26993 $as_echo_n "checking whether cairo's OpenVG surface backend feature could be enabled... " >&6; }
26994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_vg" >&5
26995 $as_echo "$use_vg" >&6; }
26997 if test "x$enable_vg" = "xyes" -a "x$use_vg" != xyes; then :
26998 as_fn_error $? " OpenVG surface backend feature could not be enabled" "$LINENO" 5
27002 as_fn_error $? "invalid argument passed to --enable-vg: \`$use_vg', should be one of [no/auto/yes]" "$LINENO" 5
27005 if test "x$use_vg" = "xyes"; then :
27006 CAIRO_REQUIRES="$vg_REQUIRES"" ${CAIRO_REQUIRES}"
27008 CAIRO_CFLAGS="$vg_CFLAGS"" ${CAIRO_CFLAGS}"
27010 CAIRO_NONPKGCONFIG_CFLAGS="$vg_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
27012 CAIRO_LIBS="$vg_LIBS"" ${CAIRO_LIBS}"
27014 CAIRO_NONPKGCONFIG_LIBS="$vg_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
27021 unset vg_NONPKGCONFIG_CFLAGS
27023 unset vg_NONPKGCONFIG_LIBS
27024 unset vg_NONPKGCONFIG_EXTRA_LIBS
27029 if test "x$use_vg" = xyes; then
27030 CAIRO_HAS_VG_SURFACE_TRUE=
27031 CAIRO_HAS_VG_SURFACE_FALSE='#'
27033 CAIRO_HAS_VG_SURFACE_TRUE='#'
27034 CAIRO_HAS_VG_SURFACE_FALSE=
27038 cr_make_tmp='CAIRO_HAS_VG_SURFACE=0'
27039 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
27044 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27047 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27050 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27053 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27058 cr_make_tmp='unsupported_cairo_headers += $(cairo_vg_headers)'
27059 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27062 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27064 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_vg_headers)'
27065 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27068 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27072 cr_make_tmp='all_cairo_headers += $(cairo_vg_headers)
27073 all_cairo_private += $(cairo_vg_private)
27074 all_cairo_cxx_sources += $(cairo_vg_cxx_sources)
27075 all_cairo_sources += $(cairo_vg_sources)'
27076 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27079 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27081 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_vg_headers)
27082 all_cairo_boilerplate_private += $(cairo_boilerplate_vg_private)
27083 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_vg_cxx_sources)
27084 all_cairo_boilerplate_sources += $(cairo_boilerplate_vg_sources)'
27085 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27088 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27092 cr_make_tmp='enabled_cairo_headers += $(cairo_vg_headers)
27093 enabled_cairo_private += $(cairo_vg_private)
27094 enabled_cairo_cxx_sources += $(cairo_vg_cxx_sources)
27095 enabled_cairo_sources += $(cairo_vg_sources)'
27096 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27097 "'if CAIRO_HAS_VG_SURFACE'
27098 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27100 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27103 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27104 "'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
27105 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27107 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27109 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_vg_headers)
27110 enabled_cairo_boilerplate_private += $(cairo_boilerplate_vg_private)
27111 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_vg_cxx_sources)
27112 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_vg_sources)'
27113 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27114 "'if CAIRO_HAS_VG_SURFACE'
27115 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27117 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27120 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27121 "'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
27122 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27124 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27130 if test "x$use_vg" = xyes; then :
27132 ac_config_files="$ac_config_files src/cairo-vg.pc:src/cairo-features.pc.in"
27136 if test "x$use_vg" = xyes; then :
27138 ac_config_files="$ac_config_files cairo-vg-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
27142 cr_make_tmp='all_cairo_pkgconf += cairo-vg.pc'
27143 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27146 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27150 cr_make_tmp='enabled_cairo_pkgconf += cairo-vg.pc'
27151 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27152 "'if CAIRO_HAS_VG_SURFACE'
27153 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27155 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27158 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27159 "'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
27160 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27162 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27166 if test "x$use_vg" = xyes; then :
27168 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_VG_SURFACE'
27175 cr_make_tmp=' @echo "#define CAIRO_HAS_VG_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
27176 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27177 "'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
27178 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27180 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27184 if test "x$use_vg" = xyes; then :
27186 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
27188 "'--- The OpenVG surface backend feature is still under active development and
27189 --- is included in this release only as a preview. It does NOT fully work yet
27190 --- and incompatible changes may yet be made to OpenVG surface backend
27201 # Check whether --enable-egl was given.
27202 if test "${enable_egl+set}" = set; then :
27203 enableval=$enable_egl; enable_egl=$enableval
27208 case $enable_egl in #(
27210 use_egl="no (disabled, use --enable-egl to enable)"
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's EGL functions feature" >&5
27214 $as_echo_n "checking for cairo's EGL functions feature... " >&6; }
27219 egl_REQUIRES="$ac_env_egl_REQUIRES_value"
27220 egl_CFLAGS="$ac_env_egl_CFLAGS_value"
27221 egl_NONPKGCONFIG_CFLAGS="$ac_env_egl_NONPKGCONFIG_CFLAGS_value"
27222 egl_LIBS="$ac_env_egl_LIBS_value"
27223 egl_NONPKGCONFIG_LIBS="$ac_env_egl_NONPKGCONFIG_LIBS_value"
27224 egl_NONPKGCONFIG_EXTRA_LIBS="$ac_env_egl_NONPKGCONFIG_EXTRA_LIBS_value"
27228 if test "x$need_egl_functions" = "xyes"; then
27232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egl" >&5
27233 $as_echo_n "checking for egl... " >&6; }
27235 if test -n "$egl_CFLAGS"; then
27236 pkg_cv_egl_CFLAGS="$egl_CFLAGS"
27237 elif test -n "$PKG_CONFIG"; then
27238 if test -n "$PKG_CONFIG" && \
27239 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$egl_REQUIRES\""; } >&5
27240 ($PKG_CONFIG --exists --print-errors "$egl_REQUIRES") 2>&5
27242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27243 test $ac_status = 0; }; then
27244 pkg_cv_egl_CFLAGS=`$PKG_CONFIG --cflags "$egl_REQUIRES" 2>/dev/null`
27251 if test -n "$egl_LIBS"; then
27252 pkg_cv_egl_LIBS="$egl_LIBS"
27253 elif test -n "$PKG_CONFIG"; then
27254 if test -n "$PKG_CONFIG" && \
27255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$egl_REQUIRES\""; } >&5
27256 ($PKG_CONFIG --exists --print-errors "$egl_REQUIRES") 2>&5
27258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27259 test $ac_status = 0; }; then
27260 pkg_cv_egl_LIBS=`$PKG_CONFIG --libs "$egl_REQUIRES" 2>/dev/null`
27270 if test $pkg_failed = yes; then
27272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27273 _pkg_short_errors_supported=yes
27275 _pkg_short_errors_supported=no
27277 if test $_pkg_short_errors_supported = yes; then
27278 egl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$egl_REQUIRES" 2>&1`
27280 egl_PKG_ERRORS=`$PKG_CONFIG --print-errors "$egl_REQUIRES" 2>&1`
27282 # Put the nasty error message in config.log where it belongs
27283 echo "$egl_PKG_ERRORS" >&5
27285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27286 $as_echo "no" >&6; }
27288 ac_fn_c_check_header_mongrel "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
27289 if test "x$ac_cv_header_EGL_egl_h" = x""yes; then :
27292 use_egl="no (EGL headers not found)"
27296 if test "x$use_egl" = "xyes"; then
27297 egl_NONPKGCONFIG_CFLAGS=
27298 egl_NONPKGCONFIG_LIBS=
27301 # Temporary workaround for missing link from egl13
27302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csi_stream_attachresource in -lcsi" >&5
27303 $as_echo_n "checking for csi_stream_attachresource in -lcsi... " >&6; }
27304 if test "${ac_cv_lib_csi_csi_stream_attachresource+set}" = set; then :
27305 $as_echo_n "(cached) " >&6
27307 ac_check_lib_save_LIBS=$LIBS
27309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27310 /* end confdefs.h. */
27312 /* Override any GCC internal prototype to avoid an error.
27313 Use char because int might match the return type of a GCC
27314 builtin and then its argument prototype would still apply. */
27318 char csi_stream_attachresource ();
27322 return csi_stream_attachresource ();
27327 if ac_fn_c_try_link "$LINENO"; then :
27328 ac_cv_lib_csi_csi_stream_attachresource=yes
27330 ac_cv_lib_csi_csi_stream_attachresource=no
27332 rm -f core conftest.err conftest.$ac_objext \
27333 conftest$ac_exeext conftest.$ac_ext
27334 LIBS=$ac_check_lib_save_LIBS
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csi_csi_stream_attachresource" >&5
27337 $as_echo "$ac_cv_lib_csi_csi_stream_attachresource" >&6; }
27338 if test "x$ac_cv_lib_csi_csi_stream_attachresource" = x""yes; then :
27339 other_egl_LIBS="-lcsi"
27342 LIBS="$other_egl_LIBS $LIBS"
27343 for egl_lib in EGL egl13 egl12 egl11; do
27344 if test -z "$egl_NONPKGCONFIG_LIBS"; then
27345 as_ac_Lib=`$as_echo "ac_cv_lib_$egl_lib''_eglGetError" | $as_tr_sh`
27346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for eglGetError in -l$egl_lib" >&5
27347 $as_echo_n "checking for eglGetError in -l$egl_lib... " >&6; }
27348 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
27349 $as_echo_n "(cached) " >&6
27351 ac_check_lib_save_LIBS=$LIBS
27352 LIBS="-l$egl_lib $LIBS"
27353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27354 /* end confdefs.h. */
27356 /* Override any GCC internal prototype to avoid an error.
27357 Use char because int might match the return type of a GCC
27358 builtin and then its argument prototype would still apply. */
27362 char eglGetError ();
27366 return eglGetError ();
27371 if ac_fn_c_try_link "$LINENO"; then :
27372 eval "$as_ac_Lib=yes"
27374 eval "$as_ac_Lib=no"
27376 rm -f core conftest.err conftest.$ac_objext \
27377 conftest$ac_exeext conftest.$ac_ext
27378 LIBS=$ac_check_lib_save_LIBS
27380 eval ac_res=\$$as_ac_Lib
27381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
27382 $as_echo "$ac_res" >&6; }
27383 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
27384 egl_NONPKGCONFIG_LIBS="-l$egl_lib"
27389 if test -z "$egl_NONPKGCONFIG_LIBS"; then
27390 use_egl="no (EGL library not found)"
27392 egl_NONPKGCONFIG_LIBS="$egl_NONPKGCONFIG_LIBS $other_egl_LIBS"
27397 elif test $pkg_failed = untried; then
27399 ac_fn_c_check_header_mongrel "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
27400 if test "x$ac_cv_header_EGL_egl_h" = x""yes; then :
27403 use_egl="no (EGL headers not found)"
27407 if test "x$use_egl" = "xyes"; then
27408 egl_NONPKGCONFIG_CFLAGS=
27409 egl_NONPKGCONFIG_LIBS=
27412 # Temporary workaround for missing link from egl13
27413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csi_stream_attachresource in -lcsi" >&5
27414 $as_echo_n "checking for csi_stream_attachresource in -lcsi... " >&6; }
27415 if test "${ac_cv_lib_csi_csi_stream_attachresource+set}" = set; then :
27416 $as_echo_n "(cached) " >&6
27418 ac_check_lib_save_LIBS=$LIBS
27420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27421 /* end confdefs.h. */
27423 /* Override any GCC internal prototype to avoid an error.
27424 Use char because int might match the return type of a GCC
27425 builtin and then its argument prototype would still apply. */
27429 char csi_stream_attachresource ();
27433 return csi_stream_attachresource ();
27438 if ac_fn_c_try_link "$LINENO"; then :
27439 ac_cv_lib_csi_csi_stream_attachresource=yes
27441 ac_cv_lib_csi_csi_stream_attachresource=no
27443 rm -f core conftest.err conftest.$ac_objext \
27444 conftest$ac_exeext conftest.$ac_ext
27445 LIBS=$ac_check_lib_save_LIBS
27447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csi_csi_stream_attachresource" >&5
27448 $as_echo "$ac_cv_lib_csi_csi_stream_attachresource" >&6; }
27449 if test "x$ac_cv_lib_csi_csi_stream_attachresource" = x""yes; then :
27450 other_egl_LIBS="-lcsi"
27453 LIBS="$other_egl_LIBS $LIBS"
27454 for egl_lib in EGL egl13 egl12 egl11; do
27455 if test -z "$egl_NONPKGCONFIG_LIBS"; then
27456 as_ac_Lib=`$as_echo "ac_cv_lib_$egl_lib''_eglGetError" | $as_tr_sh`
27457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for eglGetError in -l$egl_lib" >&5
27458 $as_echo_n "checking for eglGetError in -l$egl_lib... " >&6; }
27459 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
27460 $as_echo_n "(cached) " >&6
27462 ac_check_lib_save_LIBS=$LIBS
27463 LIBS="-l$egl_lib $LIBS"
27464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27465 /* end confdefs.h. */
27467 /* Override any GCC internal prototype to avoid an error.
27468 Use char because int might match the return type of a GCC
27469 builtin and then its argument prototype would still apply. */
27473 char eglGetError ();
27477 return eglGetError ();
27482 if ac_fn_c_try_link "$LINENO"; then :
27483 eval "$as_ac_Lib=yes"
27485 eval "$as_ac_Lib=no"
27487 rm -f core conftest.err conftest.$ac_objext \
27488 conftest$ac_exeext conftest.$ac_ext
27489 LIBS=$ac_check_lib_save_LIBS
27491 eval ac_res=\$$as_ac_Lib
27492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
27493 $as_echo "$ac_res" >&6; }
27494 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
27495 egl_NONPKGCONFIG_LIBS="-l$egl_lib"
27500 if test -z "$egl_NONPKGCONFIG_LIBS"; then
27501 use_egl="no (EGL library not found)"
27503 egl_NONPKGCONFIG_LIBS="$egl_NONPKGCONFIG_LIBS $other_egl_LIBS"
27509 egl_CFLAGS=$pkg_cv_egl_CFLAGS
27510 egl_LIBS=$pkg_cv_egl_LIBS
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27512 $as_echo "yes" >&6; }
27516 use_egl="no (not required by any backend)"
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's EGL functions feature could be enabled" >&5
27521 $as_echo_n "checking whether cairo's EGL functions feature could be enabled... " >&6; }
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_egl" >&5
27523 $as_echo "$use_egl" >&6; }
27525 if test "x$enable_egl" = "xyes" -a "x$use_egl" != xyes; then :
27526 as_fn_error $? " EGL functions feature could not be enabled" "$LINENO" 5
27530 as_fn_error $? "invalid argument passed to --enable-egl: \`$use_egl', should be one of [no/auto/yes]" "$LINENO" 5
27533 if test "x$use_egl" = "xyes"; then :
27534 CAIRO_REQUIRES="$egl_REQUIRES"" ${CAIRO_REQUIRES}"
27536 CAIRO_CFLAGS="$egl_CFLAGS"" ${CAIRO_CFLAGS}"
27538 CAIRO_NONPKGCONFIG_CFLAGS="$egl_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
27540 CAIRO_LIBS="$egl_LIBS"" ${CAIRO_LIBS}"
27542 CAIRO_NONPKGCONFIG_LIBS="$egl_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
27549 unset egl_NONPKGCONFIG_CFLAGS
27551 unset egl_NONPKGCONFIG_LIBS
27552 unset egl_NONPKGCONFIG_EXTRA_LIBS
27557 if test "x$use_egl" = xyes; then
27558 CAIRO_HAS_EGL_FUNCTIONS_TRUE=
27559 CAIRO_HAS_EGL_FUNCTIONS_FALSE='#'
27561 CAIRO_HAS_EGL_FUNCTIONS_TRUE='#'
27562 CAIRO_HAS_EGL_FUNCTIONS_FALSE=
27566 cr_make_tmp='CAIRO_HAS_EGL_FUNCTIONS=0'
27567 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
27572 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27575 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27578 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27581 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27585 cr_make_tmp='supported_cairo_headers += $(cairo_egl_headers)'
27586 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27589 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27591 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_egl_headers)'
27592 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27595 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27600 cr_make_tmp='all_cairo_headers += $(cairo_egl_headers)
27601 all_cairo_private += $(cairo_egl_private)
27602 all_cairo_cxx_sources += $(cairo_egl_cxx_sources)
27603 all_cairo_sources += $(cairo_egl_sources)'
27604 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27607 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27609 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_egl_headers)
27610 all_cairo_boilerplate_private += $(cairo_boilerplate_egl_private)
27611 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_egl_cxx_sources)
27612 all_cairo_boilerplate_sources += $(cairo_boilerplate_egl_sources)'
27613 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27616 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27620 cr_make_tmp='enabled_cairo_headers += $(cairo_egl_headers)
27621 enabled_cairo_private += $(cairo_egl_private)
27622 enabled_cairo_cxx_sources += $(cairo_egl_cxx_sources)
27623 enabled_cairo_sources += $(cairo_egl_sources)'
27624 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27625 "'if CAIRO_HAS_EGL_FUNCTIONS'
27626 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27628 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27631 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27632 "'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
27633 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27635 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27637 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_egl_headers)
27638 enabled_cairo_boilerplate_private += $(cairo_boilerplate_egl_private)
27639 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_egl_cxx_sources)
27640 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_egl_sources)'
27641 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27642 "'if CAIRO_HAS_EGL_FUNCTIONS'
27643 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27645 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27648 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27649 "'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
27650 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27652 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27658 if test "x$use_egl" = xyes; then :
27660 ac_config_files="$ac_config_files src/cairo-egl.pc:src/cairo-features.pc.in"
27664 if test "x$use_egl" = xyes; then :
27666 ac_config_files="$ac_config_files cairo-egl-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
27670 cr_make_tmp='all_cairo_pkgconf += cairo-egl.pc'
27671 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27674 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27678 cr_make_tmp='enabled_cairo_pkgconf += cairo-egl.pc'
27679 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27680 "'if CAIRO_HAS_EGL_FUNCTIONS'
27681 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27683 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27686 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27687 "'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
27688 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27690 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27694 if test "x$use_egl" = xyes; then :
27696 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_EGL_FUNCTIONS'
27700 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_EGL_FUNCTIONS'
27704 if test "x$use_egl" != xyes; then :
27706 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_EGL_FUNCTIONS'
27712 cr_make_tmp=' @echo "#define CAIRO_HAS_EGL_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
27713 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27714 "'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
27715 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27717 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27727 # Check whether --enable-glx was given.
27728 if test "${enable_glx+set}" = set; then :
27729 enableval=$enable_glx; enable_glx=$enableval
27734 case $enable_glx in #(
27736 use_glx="no (disabled, use --enable-glx to enable)"
27739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's GLX functions feature" >&5
27740 $as_echo_n "checking for cairo's GLX functions feature... " >&6; }
27745 glx_REQUIRES="$ac_env_glx_REQUIRES_value"
27746 glx_CFLAGS="$ac_env_glx_CFLAGS_value"
27747 glx_NONPKGCONFIG_CFLAGS="$ac_env_glx_NONPKGCONFIG_CFLAGS_value"
27748 glx_LIBS="$ac_env_glx_LIBS_value"
27749 glx_NONPKGCONFIG_LIBS="$ac_env_glx_NONPKGCONFIG_LIBS_value"
27750 glx_NONPKGCONFIG_EXTRA_LIBS="$ac_env_glx_NONPKGCONFIG_EXTRA_LIBS_value"
27754 if test "x$need_glx_functions" = "xyes"; then
27755 save_CFLAGS="$CFLAGS"
27756 CFLAGS="$CFLAGS $gl_CFLAGS $gl_NONPKGCONFIG_CFLAGS"
27757 ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
27758 if test "x$ac_cv_header_GL_glx_h" = x""yes; then :
27761 use_glx="no (GLX headers not found)"
27765 glx_NONPKGCONFIG_CFLAGS=
27766 glx_NONPKGCONFIG_LIBS="-lGL"
27767 CFLAGS="$save_CFLAGS"
27769 use_glx="no (not required by any backend)"
27773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's GLX functions feature could be enabled" >&5
27774 $as_echo_n "checking whether cairo's GLX functions feature could be enabled... " >&6; }
27775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_glx" >&5
27776 $as_echo "$use_glx" >&6; }
27778 if test "x$enable_glx" = "xyes" -a "x$use_glx" != xyes; then :
27779 as_fn_error $? " GLX functions feature could not be enabled" "$LINENO" 5
27783 as_fn_error $? "invalid argument passed to --enable-glx: \`$use_glx', should be one of [no/auto/yes]" "$LINENO" 5
27786 if test "x$use_glx" = "xyes"; then :
27787 CAIRO_REQUIRES="$glx_REQUIRES"" ${CAIRO_REQUIRES}"
27789 CAIRO_CFLAGS="$glx_CFLAGS"" ${CAIRO_CFLAGS}"
27791 CAIRO_NONPKGCONFIG_CFLAGS="$glx_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
27793 CAIRO_LIBS="$glx_LIBS"" ${CAIRO_LIBS}"
27795 CAIRO_NONPKGCONFIG_LIBS="$glx_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
27802 unset glx_NONPKGCONFIG_CFLAGS
27804 unset glx_NONPKGCONFIG_LIBS
27805 unset glx_NONPKGCONFIG_EXTRA_LIBS
27810 if test "x$use_glx" = xyes; then
27811 CAIRO_HAS_GLX_FUNCTIONS_TRUE=
27812 CAIRO_HAS_GLX_FUNCTIONS_FALSE='#'
27814 CAIRO_HAS_GLX_FUNCTIONS_TRUE='#'
27815 CAIRO_HAS_GLX_FUNCTIONS_FALSE=
27819 cr_make_tmp='CAIRO_HAS_GLX_FUNCTIONS=0'
27820 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
27825 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27828 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27831 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27834 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27838 cr_make_tmp='supported_cairo_headers += $(cairo_glx_headers)'
27839 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27842 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27844 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_glx_headers)'
27845 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27848 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27853 cr_make_tmp='all_cairo_headers += $(cairo_glx_headers)
27854 all_cairo_private += $(cairo_glx_private)
27855 all_cairo_cxx_sources += $(cairo_glx_cxx_sources)
27856 all_cairo_sources += $(cairo_glx_sources)'
27857 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27860 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27862 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_glx_headers)
27863 all_cairo_boilerplate_private += $(cairo_boilerplate_glx_private)
27864 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_glx_cxx_sources)
27865 all_cairo_boilerplate_sources += $(cairo_boilerplate_glx_sources)'
27866 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27869 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27873 cr_make_tmp='enabled_cairo_headers += $(cairo_glx_headers)
27874 enabled_cairo_private += $(cairo_glx_private)
27875 enabled_cairo_cxx_sources += $(cairo_glx_cxx_sources)
27876 enabled_cairo_sources += $(cairo_glx_sources)'
27877 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27878 "'if CAIRO_HAS_GLX_FUNCTIONS'
27879 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27881 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27884 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27885 "'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
27886 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27888 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27890 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_glx_headers)
27891 enabled_cairo_boilerplate_private += $(cairo_boilerplate_glx_private)
27892 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_glx_cxx_sources)
27893 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_glx_sources)'
27894 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27895 "'if CAIRO_HAS_GLX_FUNCTIONS'
27896 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27898 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27901 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27902 "'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
27903 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27905 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27911 if test "x$use_glx" = xyes; then :
27913 ac_config_files="$ac_config_files src/cairo-glx.pc:src/cairo-features.pc.in"
27917 if test "x$use_glx" = xyes; then :
27919 ac_config_files="$ac_config_files cairo-glx-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
27923 cr_make_tmp='all_cairo_pkgconf += cairo-glx.pc'
27924 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27927 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27931 cr_make_tmp='enabled_cairo_pkgconf += cairo-glx.pc'
27932 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27933 "'if CAIRO_HAS_GLX_FUNCTIONS'
27934 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27936 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27939 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27940 "'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
27941 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27943 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27947 if test "x$use_glx" = xyes; then :
27949 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GLX_FUNCTIONS'
27953 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_GLX_FUNCTIONS'
27957 if test "x$use_glx" != xyes; then :
27959 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_GLX_FUNCTIONS'
27965 cr_make_tmp=' @echo "#define CAIRO_HAS_GLX_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
27966 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27967 "'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
27968 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27970 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27980 # Check whether --enable-wgl was given.
27981 if test "${enable_wgl+set}" = set; then :
27982 enableval=$enable_wgl; enable_wgl=$enableval
27987 case $enable_wgl in #(
27989 use_wgl="no (disabled, use --enable-wgl to enable)"
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's WGL functions feature" >&5
27993 $as_echo_n "checking for cairo's WGL functions feature... " >&6; }
27998 wgl_REQUIRES="$ac_env_wgl_REQUIRES_value"
27999 wgl_CFLAGS="$ac_env_wgl_CFLAGS_value"
28000 wgl_NONPKGCONFIG_CFLAGS="$ac_env_wgl_NONPKGCONFIG_CFLAGS_value"
28001 wgl_LIBS="$ac_env_wgl_LIBS_value"
28002 wgl_NONPKGCONFIG_LIBS="$ac_env_wgl_NONPKGCONFIG_LIBS_value"
28003 wgl_NONPKGCONFIG_EXTRA_LIBS="$ac_env_wgl_NONPKGCONFIG_EXTRA_LIBS_value"
28007 if test "x$need_wgl_functions" = "xyes"; then
28008 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
28009 if test "x$ac_cv_header_windows_h" = x""yes; then :
28012 use_wgl="no (WGL headers not found)"
28017 use_wgl="no (not required by any backend)"
28021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's WGL functions feature could be enabled" >&5
28022 $as_echo_n "checking whether cairo's WGL functions feature could be enabled... " >&6; }
28023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_wgl" >&5
28024 $as_echo "$use_wgl" >&6; }
28026 if test "x$enable_wgl" = "xyes" -a "x$use_wgl" != xyes; then :
28027 as_fn_error $? " WGL functions feature could not be enabled" "$LINENO" 5
28031 as_fn_error $? "invalid argument passed to --enable-wgl: \`$use_wgl', should be one of [no/auto/yes]" "$LINENO" 5
28034 if test "x$use_wgl" = "xyes"; then :
28035 CAIRO_REQUIRES="$wgl_REQUIRES"" ${CAIRO_REQUIRES}"
28037 CAIRO_CFLAGS="$wgl_CFLAGS"" ${CAIRO_CFLAGS}"
28039 CAIRO_NONPKGCONFIG_CFLAGS="$wgl_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
28041 CAIRO_LIBS="$wgl_LIBS"" ${CAIRO_LIBS}"
28043 CAIRO_NONPKGCONFIG_LIBS="$wgl_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
28050 unset wgl_NONPKGCONFIG_CFLAGS
28052 unset wgl_NONPKGCONFIG_LIBS
28053 unset wgl_NONPKGCONFIG_EXTRA_LIBS
28058 if test "x$use_wgl" = xyes; then
28059 CAIRO_HAS_WGL_FUNCTIONS_TRUE=
28060 CAIRO_HAS_WGL_FUNCTIONS_FALSE='#'
28062 CAIRO_HAS_WGL_FUNCTIONS_TRUE='#'
28063 CAIRO_HAS_WGL_FUNCTIONS_FALSE=
28067 cr_make_tmp='CAIRO_HAS_WGL_FUNCTIONS=0'
28068 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
28073 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28076 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28079 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28082 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28086 cr_make_tmp='supported_cairo_headers += $(cairo_wgl_headers)'
28087 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28090 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28092 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_wgl_headers)'
28093 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28096 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28101 cr_make_tmp='all_cairo_headers += $(cairo_wgl_headers)
28102 all_cairo_private += $(cairo_wgl_private)
28103 all_cairo_cxx_sources += $(cairo_wgl_cxx_sources)
28104 all_cairo_sources += $(cairo_wgl_sources)'
28105 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28108 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28110 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_wgl_headers)
28111 all_cairo_boilerplate_private += $(cairo_boilerplate_wgl_private)
28112 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_wgl_cxx_sources)
28113 all_cairo_boilerplate_sources += $(cairo_boilerplate_wgl_sources)'
28114 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28117 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28121 cr_make_tmp='enabled_cairo_headers += $(cairo_wgl_headers)
28122 enabled_cairo_private += $(cairo_wgl_private)
28123 enabled_cairo_cxx_sources += $(cairo_wgl_cxx_sources)
28124 enabled_cairo_sources += $(cairo_wgl_sources)'
28125 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28126 "'if CAIRO_HAS_WGL_FUNCTIONS'
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_WGL_FUNCTIONS),1)'
28134 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28136 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28138 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_wgl_headers)
28139 enabled_cairo_boilerplate_private += $(cairo_boilerplate_wgl_private)
28140 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_wgl_cxx_sources)
28141 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_wgl_sources)'
28142 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28143 "'if CAIRO_HAS_WGL_FUNCTIONS'
28144 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28146 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28149 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28150 "'ifeq ($(CAIRO_HAS_WGL_FUNCTIONS),1)'
28151 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28153 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28159 if test "x$use_wgl" = xyes; then :
28161 ac_config_files="$ac_config_files src/cairo-wgl.pc:src/cairo-features.pc.in"
28165 if test "x$use_wgl" = xyes; then :
28167 ac_config_files="$ac_config_files cairo-wgl-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
28171 cr_make_tmp='all_cairo_pkgconf += cairo-wgl.pc'
28172 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28175 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28179 cr_make_tmp='enabled_cairo_pkgconf += cairo-wgl.pc'
28180 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28181 "'if CAIRO_HAS_WGL_FUNCTIONS'
28182 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28184 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28187 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28188 "'ifeq ($(CAIRO_HAS_WGL_FUNCTIONS),1)'
28189 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28191 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28195 if test "x$use_wgl" = xyes; then :
28197 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_WGL_FUNCTIONS'
28201 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_WGL_FUNCTIONS'
28205 if test "x$use_wgl" != xyes; then :
28207 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_WGL_FUNCTIONS'
28213 cr_make_tmp=' @echo "#define CAIRO_HAS_WGL_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
28214 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28215 "'ifeq ($(CAIRO_HAS_WGL_FUNCTIONS),1)'
28216 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28218 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28230 # Check whether --enable-script was given.
28231 if test "${enable_script+set}" = set; then :
28232 enableval=$enable_script; enable_script=$enableval
28237 case $enable_script in #(
28239 use_script="no (disabled, use --enable-script to enable)"
28242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's script surface backend feature" >&5
28243 $as_echo_n "checking for cairo's script surface backend feature... " >&6; }
28247 script_BASE="cairo"
28248 script_REQUIRES="$ac_env_script_REQUIRES_value"
28249 script_CFLAGS="$ac_env_script_CFLAGS_value"
28250 script_NONPKGCONFIG_CFLAGS="$ac_env_script_NONPKGCONFIG_CFLAGS_value"
28251 script_LIBS="$ac_env_script_LIBS_value"
28252 script_NONPKGCONFIG_LIBS="$ac_env_script_NONPKGCONFIG_LIBS_value"
28253 script_NONPKGCONFIG_EXTRA_LIBS="$ac_env_script_NONPKGCONFIG_EXTRA_LIBS_value"
28260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's script surface backend feature could be enabled" >&5
28261 $as_echo_n "checking whether cairo's script surface backend feature could be enabled... " >&6; }
28262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_script" >&5
28263 $as_echo "$use_script" >&6; }
28265 if test "x$enable_script" = "xyes" -a "x$use_script" != xyes; then :
28266 as_fn_error $? "recommended script surface backend feature could not be enabled" "$LINENO" 5
28270 as_fn_error $? "invalid argument passed to --enable-script: \`$use_script', should be one of [no/auto/yes]" "$LINENO" 5
28273 if test "x$use_script" = "xyes"; then :
28274 CAIRO_REQUIRES="$script_REQUIRES"" ${CAIRO_REQUIRES}"
28276 CAIRO_CFLAGS="$script_CFLAGS"" ${CAIRO_CFLAGS}"
28278 CAIRO_NONPKGCONFIG_CFLAGS="$script_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
28280 CAIRO_LIBS="$script_LIBS"" ${CAIRO_LIBS}"
28282 CAIRO_NONPKGCONFIG_LIBS="$script_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
28287 unset script_REQUIRES
28288 unset script_CFLAGS
28289 unset script_NONPKGCONFIG_CFLAGS
28291 unset script_NONPKGCONFIG_LIBS
28292 unset script_NONPKGCONFIG_EXTRA_LIBS
28297 if test "x$use_script" = xyes; then
28298 CAIRO_HAS_SCRIPT_SURFACE_TRUE=
28299 CAIRO_HAS_SCRIPT_SURFACE_FALSE='#'
28301 CAIRO_HAS_SCRIPT_SURFACE_TRUE='#'
28302 CAIRO_HAS_SCRIPT_SURFACE_FALSE=
28306 cr_make_tmp='CAIRO_HAS_SCRIPT_SURFACE=1'
28307 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
28312 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28315 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28318 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28321 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28325 cr_make_tmp='supported_cairo_headers += $(cairo_script_headers)'
28326 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28329 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28331 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_script_headers)'
28332 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28335 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28340 cr_make_tmp='all_cairo_headers += $(cairo_script_headers)
28341 all_cairo_private += $(cairo_script_private)
28342 all_cairo_cxx_sources += $(cairo_script_cxx_sources)
28343 all_cairo_sources += $(cairo_script_sources)'
28344 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28347 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28349 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_script_headers)
28350 all_cairo_boilerplate_private += $(cairo_boilerplate_script_private)
28351 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_script_cxx_sources)
28352 all_cairo_boilerplate_sources += $(cairo_boilerplate_script_sources)'
28353 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28356 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28360 cr_make_tmp='enabled_cairo_headers += $(cairo_script_headers)
28361 enabled_cairo_private += $(cairo_script_private)
28362 enabled_cairo_cxx_sources += $(cairo_script_cxx_sources)
28363 enabled_cairo_sources += $(cairo_script_sources)'
28364 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28365 "'if CAIRO_HAS_SCRIPT_SURFACE'
28366 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28368 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28371 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28372 "'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
28373 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28375 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28377 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_script_headers)
28378 enabled_cairo_boilerplate_private += $(cairo_boilerplate_script_private)
28379 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_script_cxx_sources)
28380 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_script_sources)'
28381 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28382 "'if CAIRO_HAS_SCRIPT_SURFACE'
28383 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28385 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28388 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28389 "'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
28390 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28392 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28398 if test "x$use_script" = xyes; then :
28400 ac_config_files="$ac_config_files src/cairo-script.pc:src/cairo-features.pc.in"
28404 if test "x$use_script" = xyes; then :
28406 ac_config_files="$ac_config_files cairo-script-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
28410 cr_make_tmp='all_cairo_pkgconf += cairo-script.pc'
28411 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28414 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28418 cr_make_tmp='enabled_cairo_pkgconf += cairo-script.pc'
28419 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28420 "'if CAIRO_HAS_SCRIPT_SURFACE'
28421 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28423 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28426 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28427 "'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
28428 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28430 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28434 if test "x$use_script" = xyes; then :
28436 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_SCRIPT_SURFACE'
28440 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_SCRIPT_SURFACE'
28444 if test "x$use_script" != xyes; then :
28446 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_SCRIPT_SURFACE'
28452 cr_make_tmp=' @echo "#define CAIRO_HAS_SCRIPT_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
28453 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28454 "'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
28455 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28457 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28462 if test "x$use_script" != xyes; then :
28464 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
28466 "'+++ It is strongly recommended that you do NOT disable the script surface
28467 +++ backend feature.'
28477 # We use pkg-config to look for freetype2, but fall back to
28478 # freetype-config if it fails. We prefer pkg-config, since we can
28479 # then just put freetype2 >= $FREETYPE_MIN_VERSION in
28480 # Requires.private, but at least up to 2003-06-07, there was no
28481 # freetype2.pc in the release.
28483 # FreeType versions come in three forms:
28484 # release (such as 2.1.9)
28485 # libtool (such as 9.7.3) (returned by freetype-config and pkg-config)
28486 # platform-specific/soname (such as 6.3.4)
28487 # and they recommend you never use the platform-specific version
28488 # (see docs/VERSION.DLL in freetype2 sources)
28490 # Set these as appropriate:
28492 # release number - for information only
28493 FREETYPE_MIN_RELEASE=2.1.9
28494 # libtool-specific version - this is what is checked
28495 FREETYPE_MIN_VERSION=9.7.3
28497 # Check whether --enable-ft was given.
28498 if test "${enable_ft+set}" = set; then :
28499 enableval=$enable_ft; enable_ft=$enableval
28504 case $enable_ft in #(
28506 use_ft="no (disabled, use --enable-ft to enable)"
28509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's FreeType font backend feature" >&5
28510 $as_echo_n "checking for cairo's FreeType font backend feature... " >&6; }
28515 ft_REQUIRES="$ac_env_ft_REQUIRES_value"
28516 ft_CFLAGS="$ac_env_ft_CFLAGS_value"
28517 ft_NONPKGCONFIG_CFLAGS="$ac_env_ft_NONPKGCONFIG_CFLAGS_value"
28518 ft_LIBS="$ac_env_ft_LIBS_value"
28519 ft_NONPKGCONFIG_LIBS="$ac_env_ft_NONPKGCONFIG_LIBS_value"
28520 ft_NONPKGCONFIG_EXTRA_LIBS="$ac_env_ft_NONPKGCONFIG_EXTRA_LIBS_value"
28527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
28528 $as_echo_n "checking for FREETYPE... " >&6; }
28530 if test -n "$FREETYPE_CFLAGS"; then
28531 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
28532 elif test -n "$PKG_CONFIG"; then
28533 if test -n "$PKG_CONFIG" && \
28534 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= \$FREETYPE_MIN_VERSION\""; } >&5
28535 ($PKG_CONFIG --exists --print-errors "freetype2 >= $FREETYPE_MIN_VERSION") 2>&5
28537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28538 test $ac_status = 0; }; then
28539 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= $FREETYPE_MIN_VERSION" 2>/dev/null`
28546 if test -n "$FREETYPE_LIBS"; then
28547 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
28548 elif test -n "$PKG_CONFIG"; then
28549 if test -n "$PKG_CONFIG" && \
28550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= \$FREETYPE_MIN_VERSION\""; } >&5
28551 ($PKG_CONFIG --exists --print-errors "freetype2 >= $FREETYPE_MIN_VERSION") 2>&5
28553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28554 test $ac_status = 0; }; then
28555 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= $FREETYPE_MIN_VERSION" 2>/dev/null`
28565 if test $pkg_failed = yes; then
28567 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28568 _pkg_short_errors_supported=yes
28570 _pkg_short_errors_supported=no
28572 if test $_pkg_short_errors_supported = yes; then
28573 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2 >= $FREETYPE_MIN_VERSION" 2>&1`
28575 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2 >= $FREETYPE_MIN_VERSION" 2>&1`
28577 # Put the nasty error message in config.log where it belongs
28578 echo "$FREETYPE_PKG_ERRORS" >&5
28580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28581 $as_echo "no" >&6; }
28582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28583 $as_echo "no" >&6; }
28584 freetype_pkgconfig=no
28585 elif test $pkg_failed = untried; then
28586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28587 $as_echo "no" >&6; }
28588 freetype_pkgconfig=no
28590 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
28591 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
28592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28593 $as_echo "yes" >&6; }
28594 freetype_pkgconfig=yes
28597 if test "x$freetype_pkgconfig" = "xyes"; then
28598 ft_REQUIRES="freetype2 >= $FREETYPE_MIN_VERSION $ft_REQUIRES"
28601 if test -z "$FREETYPE_CONFIG"; then
28602 # Extract the first word of "freetype-config", so it can be a program name with args.
28603 set dummy freetype-config; ac_word=$2
28604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28605 $as_echo_n "checking for $ac_word... " >&6; }
28606 if test "${ac_cv_path_FREETYPE_CONFIG+set}" = set; then :
28607 $as_echo_n "(cached) " >&6
28609 case $FREETYPE_CONFIG in
28611 ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path.
28614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28615 for as_dir in $PATH
28618 test -z "$as_dir" && as_dir=.
28619 for ac_exec_ext in '' $ac_executable_extensions; do
28620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28621 ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28629 test -z "$ac_cv_path_FREETYPE_CONFIG" && ac_cv_path_FREETYPE_CONFIG="no"
28633 FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG
28634 if test -n "$FREETYPE_CONFIG"; then
28635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_CONFIG" >&5
28636 $as_echo "$FREETYPE_CONFIG" >&6; }
28638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28639 $as_echo "no" >&6; }
28644 if test "x$FREETYPE_CONFIG" = "xno" ; then
28645 use_ft='no (freetype-config not found in path or $FREETYPE_CONFIG)'
28647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking freetype2 libtool version" >&5
28648 $as_echo_n "checking freetype2 libtool version... " >&6; }
28650 FREETYPE_VERSION=`$FREETYPE_CONFIG --version`
28652 # Used to indicate true or false condition
28653 ax_compare_version=false
28655 # Convert the two version strings to be compared into a format that
28656 # allows a simple string comparison. The end result is that a version
28657 # string of the form 1.12.5-r617 will be converted to the form
28658 # 0001001200050617. In other words, each number is zero padded to four
28659 # digits, and non digits are removed.
28661 ax_compare_version_A=`echo "$FREETYPE_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
28662 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
28663 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
28664 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
28668 ax_compare_version_B=`echo "$FREETYPE_MIN_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
28669 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
28670 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
28671 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
28675 ax_compare_version=`echo "x$ax_compare_version_A
28676 x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/false/;s/x${ax_compare_version_B}/true/;1q"`
28680 if test "$ax_compare_version" = "true" ; then
28681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_VERSION - OK" >&5
28682 $as_echo "$FREETYPE_VERSION - OK" >&6; }
28683 ft_NONPKGCONFIG_CFLAGS=`$FREETYPE_CONFIG --cflags`
28684 ft_NONPKGCONFIG_LIBS=`$FREETYPE_CONFIG --libs`
28685 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_VERSION - Too old" >&5
28686 $as_echo "$FREETYPE_VERSION - Too old" >&6; }
28687 use_ft="no ($FREETYPE_VERSION found; version $FREETYPE_MIN_VERSION from release $FREETYPE_MIN_RELEASE required)"
28693 ft_CFLAGS="$FREETYPE_CFLAGS"
28694 ft_LIBS="$FREETYPE_LIBS"
28697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's FreeType font backend feature could be enabled" >&5
28698 $as_echo_n "checking whether cairo's FreeType font backend feature could be enabled... " >&6; }
28699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_ft" >&5
28700 $as_echo "$use_ft" >&6; }
28702 if test "x$enable_ft" = "xyes" -a "x$use_ft" != xyes; then :
28703 as_fn_error $? " FreeType font backend feature could not be enabled" "$LINENO" 5
28707 as_fn_error $? "invalid argument passed to --enable-ft: \`$use_ft', should be one of [no/auto/yes]" "$LINENO" 5
28710 if test "x$use_ft" = "xyes"; then :
28711 CAIRO_REQUIRES="$ft_REQUIRES"" ${CAIRO_REQUIRES}"
28713 CAIRO_CFLAGS="$ft_CFLAGS"" ${CAIRO_CFLAGS}"
28715 CAIRO_NONPKGCONFIG_CFLAGS="$ft_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
28717 CAIRO_LIBS="$ft_LIBS"" ${CAIRO_LIBS}"
28719 CAIRO_NONPKGCONFIG_LIBS="$ft_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
28726 unset ft_NONPKGCONFIG_CFLAGS
28728 unset ft_NONPKGCONFIG_LIBS
28729 unset ft_NONPKGCONFIG_EXTRA_LIBS
28734 if test "x$use_ft" = xyes; then
28735 CAIRO_HAS_FT_FONT_TRUE=
28736 CAIRO_HAS_FT_FONT_FALSE='#'
28738 CAIRO_HAS_FT_FONT_TRUE='#'
28739 CAIRO_HAS_FT_FONT_FALSE=
28743 cr_make_tmp='CAIRO_HAS_FT_FONT=0'
28744 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
28749 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28752 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28755 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28758 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28762 cr_make_tmp='supported_cairo_headers += $(cairo_ft_headers)'
28763 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28766 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28768 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_ft_headers)'
28769 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28772 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28777 cr_make_tmp='all_cairo_headers += $(cairo_ft_headers)
28778 all_cairo_private += $(cairo_ft_private)
28779 all_cairo_cxx_sources += $(cairo_ft_cxx_sources)
28780 all_cairo_sources += $(cairo_ft_sources)'
28781 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28784 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28786 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_ft_headers)
28787 all_cairo_boilerplate_private += $(cairo_boilerplate_ft_private)
28788 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ft_cxx_sources)
28789 all_cairo_boilerplate_sources += $(cairo_boilerplate_ft_sources)'
28790 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28793 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28797 cr_make_tmp='enabled_cairo_headers += $(cairo_ft_headers)
28798 enabled_cairo_private += $(cairo_ft_private)
28799 enabled_cairo_cxx_sources += $(cairo_ft_cxx_sources)
28800 enabled_cairo_sources += $(cairo_ft_sources)'
28801 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28802 "'if CAIRO_HAS_FT_FONT'
28803 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28805 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28808 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28809 "'ifeq ($(CAIRO_HAS_FT_FONT),1)'
28810 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28812 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28814 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_ft_headers)
28815 enabled_cairo_boilerplate_private += $(cairo_boilerplate_ft_private)
28816 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ft_cxx_sources)
28817 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_ft_sources)'
28818 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28819 "'if CAIRO_HAS_FT_FONT'
28820 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28822 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28825 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28826 "'ifeq ($(CAIRO_HAS_FT_FONT),1)'
28827 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28829 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28835 if test "x$use_ft" = xyes; then :
28837 ac_config_files="$ac_config_files src/cairo-ft.pc:src/cairo-features.pc.in"
28841 if test "x$use_ft" = xyes; then :
28843 ac_config_files="$ac_config_files cairo-ft-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
28847 cr_make_tmp='all_cairo_pkgconf += cairo-ft.pc'
28848 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28851 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28855 cr_make_tmp='enabled_cairo_pkgconf += cairo-ft.pc'
28856 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28857 "'if CAIRO_HAS_FT_FONT'
28858 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28860 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28863 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28864 "'ifeq ($(CAIRO_HAS_FT_FONT),1)'
28865 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28867 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28871 if test "x$use_ft" = xyes; then :
28873 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_FT_FONT'
28877 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_FT_FONT'
28881 if test "x$use_ft" != xyes; then :
28883 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_FT_FONT'
28889 cr_make_tmp=' @echo "#define CAIRO_HAS_FT_FONT 1" >> $(top_srcdir)/src/cairo-features.h'
28890 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28891 "'ifeq ($(CAIRO_HAS_FT_FONT),1)'
28892 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28894 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28901 if test "x$use_ft" = xyes; then :
28903 CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'ft'
28910 FONTCONFIG_MIN_VERSION=2.2.95
28911 # Check whether --enable-fc was given.
28912 if test "${enable_fc+set}" = set; then :
28913 enableval=$enable_fc; enable_fc=$enableval
28918 case $enable_fc in #(
28920 use_fc="no (disabled, use --enable-fc to enable)"
28923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Fontconfig font backend feature" >&5
28924 $as_echo_n "checking for cairo's Fontconfig font backend feature... " >&6; }
28929 fc_REQUIRES="$ac_env_fc_REQUIRES_value"
28930 fc_CFLAGS="$ac_env_fc_CFLAGS_value"
28931 fc_NONPKGCONFIG_CFLAGS="$ac_env_fc_NONPKGCONFIG_CFLAGS_value"
28932 fc_LIBS="$ac_env_fc_LIBS_value"
28933 fc_NONPKGCONFIG_LIBS="$ac_env_fc_NONPKGCONFIG_LIBS_value"
28934 fc_NONPKGCONFIG_EXTRA_LIBS="$ac_env_fc_NONPKGCONFIG_EXTRA_LIBS_value"
28939 if test "x$use_fc" = "xyes"; then
28940 fc_REQUIRES="fontconfig >= $FONTCONFIG_MIN_VERSION"
28943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
28944 $as_echo_n "checking for FONTCONFIG... " >&6; }
28946 if test -n "$FONTCONFIG_CFLAGS"; then
28947 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
28948 elif test -n "$PKG_CONFIG"; then
28949 if test -n "$PKG_CONFIG" && \
28950 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fc_REQUIRES\""; } >&5
28951 ($PKG_CONFIG --exists --print-errors "$fc_REQUIRES") 2>&5
28953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28954 test $ac_status = 0; }; then
28955 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "$fc_REQUIRES" 2>/dev/null`
28962 if test -n "$FONTCONFIG_LIBS"; then
28963 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
28964 elif test -n "$PKG_CONFIG"; then
28965 if test -n "$PKG_CONFIG" && \
28966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fc_REQUIRES\""; } >&5
28967 ($PKG_CONFIG --exists --print-errors "$fc_REQUIRES") 2>&5
28969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28970 test $ac_status = 0; }; then
28971 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "$fc_REQUIRES" 2>/dev/null`
28981 if test $pkg_failed = yes; then
28983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28984 _pkg_short_errors_supported=yes
28986 _pkg_short_errors_supported=no
28988 if test $_pkg_short_errors_supported = yes; then
28989 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$fc_REQUIRES" 2>&1`
28991 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "$fc_REQUIRES" 2>&1`
28993 # Put the nasty error message in config.log where it belongs
28994 echo "$FONTCONFIG_PKG_ERRORS" >&5
28996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28997 $as_echo "no" >&6; }
28998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28999 $as_echo "no" >&6; }; use_fc="no (requires $fc_REQUIRES)"
29000 elif test $pkg_failed = untried; then
29001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29002 $as_echo "no" >&6; }; use_fc="no (requires $fc_REQUIRES)"
29004 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
29005 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
29006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29007 $as_echo "yes" >&6; }
29011 fc_CFLAGS="$FONTCONFIG_CFLAGS"
29012 fc_LIBS="$FONTCONFIG_LIBS"
29015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Fontconfig font backend feature could be enabled" >&5
29016 $as_echo_n "checking whether cairo's Fontconfig font backend feature could be enabled... " >&6; }
29017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_fc" >&5
29018 $as_echo "$use_fc" >&6; }
29020 if test "x$enable_fc" = "xyes" -a "x$use_fc" != xyes; then :
29021 as_fn_error $? " Fontconfig font backend feature could not be enabled" "$LINENO" 5
29025 as_fn_error $? "invalid argument passed to --enable-fc: \`$use_fc', should be one of [no/auto/yes]" "$LINENO" 5
29028 if test "x$use_fc" = "xyes"; then :
29029 CAIRO_REQUIRES="$fc_REQUIRES"" ${CAIRO_REQUIRES}"
29031 CAIRO_CFLAGS="$fc_CFLAGS"" ${CAIRO_CFLAGS}"
29033 CAIRO_NONPKGCONFIG_CFLAGS="$fc_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
29035 CAIRO_LIBS="$fc_LIBS"" ${CAIRO_LIBS}"
29037 CAIRO_NONPKGCONFIG_LIBS="$fc_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
29044 unset fc_NONPKGCONFIG_CFLAGS
29046 unset fc_NONPKGCONFIG_LIBS
29047 unset fc_NONPKGCONFIG_EXTRA_LIBS
29052 if test "x$use_fc" = xyes; then
29053 CAIRO_HAS_FC_FONT_TRUE=
29054 CAIRO_HAS_FC_FONT_FALSE='#'
29056 CAIRO_HAS_FC_FONT_TRUE='#'
29057 CAIRO_HAS_FC_FONT_FALSE=
29061 cr_make_tmp='CAIRO_HAS_FC_FONT=0'
29062 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
29067 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29070 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29073 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29076 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29080 cr_make_tmp='supported_cairo_headers += $(cairo_fc_headers)'
29081 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29084 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29086 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)'
29087 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29090 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29095 cr_make_tmp='all_cairo_headers += $(cairo_fc_headers)
29096 all_cairo_private += $(cairo_fc_private)
29097 all_cairo_cxx_sources += $(cairo_fc_cxx_sources)
29098 all_cairo_sources += $(cairo_fc_sources)'
29099 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29102 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29104 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)
29105 all_cairo_boilerplate_private += $(cairo_boilerplate_fc_private)
29106 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_fc_cxx_sources)
29107 all_cairo_boilerplate_sources += $(cairo_boilerplate_fc_sources)'
29108 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29111 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29115 cr_make_tmp='enabled_cairo_headers += $(cairo_fc_headers)
29116 enabled_cairo_private += $(cairo_fc_private)
29117 enabled_cairo_cxx_sources += $(cairo_fc_cxx_sources)
29118 enabled_cairo_sources += $(cairo_fc_sources)'
29119 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29120 "'if CAIRO_HAS_FC_FONT'
29121 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29123 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29126 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29127 "'ifeq ($(CAIRO_HAS_FC_FONT),1)'
29128 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29130 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29132 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)
29133 enabled_cairo_boilerplate_private += $(cairo_boilerplate_fc_private)
29134 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_fc_cxx_sources)
29135 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_fc_sources)'
29136 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29137 "'if CAIRO_HAS_FC_FONT'
29138 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29140 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29143 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29144 "'ifeq ($(CAIRO_HAS_FC_FONT),1)'
29145 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29147 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29153 if test "x$use_fc" = xyes; then :
29155 ac_config_files="$ac_config_files src/cairo-fc.pc:src/cairo-features.pc.in"
29159 if test "x$use_fc" = xyes; then :
29161 ac_config_files="$ac_config_files cairo-fc-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
29165 cr_make_tmp='all_cairo_pkgconf += cairo-fc.pc'
29166 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29169 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29173 cr_make_tmp='enabled_cairo_pkgconf += cairo-fc.pc'
29174 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29175 "'if CAIRO_HAS_FC_FONT'
29176 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29178 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29181 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29182 "'ifeq ($(CAIRO_HAS_FC_FONT),1)'
29183 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29185 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29189 if test "x$use_fc" = xyes; then :
29191 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_FC_FONT'
29195 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_FC_FONT'
29199 if test "x$use_fc" != xyes; then :
29201 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_FC_FONT'
29207 cr_make_tmp=' @echo "#define CAIRO_HAS_FC_FONT 1" >> $(top_srcdir)/src/cairo-features.h'
29208 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29209 "'ifeq ($(CAIRO_HAS_FC_FONT),1)'
29210 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29212 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29219 if test "x$use_fc" = xyes; then :
29221 CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'fc'
29228 if test "x$use_ft" = "xyes"; then
29230 _save_cflags="$CFLAGS"
29231 LIBS="$LIBS $ft_LIBS"
29232 CFLAGS="$CFLAGS $ft_CFLAGS"
29233 ac_fn_c_check_member "$LINENO" "FT_Bitmap_Size" "y_ppem" "ac_cv_member_FT_Bitmap_Size_y_ppem" "#include <ft2build.h>
29234 #include FT_FREETYPE_H
29236 if test "x$ac_cv_member_FT_Bitmap_Size_y_ppem" = x""yes; then :
29237 HAVE_FT_BITMAP_SIZE_Y_PPEM=1
29239 HAVE_FT_BITMAP_SIZE_Y_PPEM=0
29243 cat >>confdefs.h <<_ACEOF
29244 #define HAVE_FT_BITMAP_SIZE_Y_PPEM $HAVE_FT_BITMAP_SIZE_Y_PPEM
29248 for ac_func in FT_GlyphSlot_Embolden FT_GlyphSlot_Oblique FT_Load_Sfnt_Table FT_Library_SetLcdFilter
29250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29253 cat >>confdefs.h <<_ACEOF
29254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29262 CFLAGS="$_save_cflags"
29265 if test "x$use_fc" = "xyes"; then
29266 _save_cflags="$CFLAGS"
29268 CFLAGS="$CFLAGS $FONTCONFIG_CFLAGS"
29269 LIBS="$LIBS $FONTCONFIG_LIBS"
29270 for ac_func in FcInit FcFini
29272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29274 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29275 cat >>confdefs.h <<_ACEOF
29276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29282 CFLAGS="$_save_cflags"
29288 # Check whether --enable-ps was given.
29289 if test "${enable_ps+set}" = set; then :
29290 enableval=$enable_ps; enable_ps=$enableval
29295 case $enable_ps in #(
29297 use_ps="no (disabled, use --enable-ps to enable)"
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's PostScript surface backend feature" >&5
29301 $as_echo_n "checking for cairo's PostScript surface backend feature... " >&6; }
29306 ps_REQUIRES="$ac_env_ps_REQUIRES_value"
29307 ps_CFLAGS="$ac_env_ps_CFLAGS_value"
29308 ps_NONPKGCONFIG_CFLAGS="$ac_env_ps_NONPKGCONFIG_CFLAGS_value"
29309 ps_LIBS="$ac_env_ps_LIBS_value"
29310 ps_NONPKGCONFIG_LIBS="$ac_env_ps_NONPKGCONFIG_LIBS_value"
29311 ps_NONPKGCONFIG_EXTRA_LIBS="$ac_env_ps_NONPKGCONFIG_EXTRA_LIBS_value"
29315 # The ps backend requires zlib.
29317 ps_NONPKGCONFIG_LIBS=-lz
29320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's PostScript surface backend feature could be enabled" >&5
29321 $as_echo_n "checking whether cairo's PostScript surface backend feature could be enabled... " >&6; }
29322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_ps" >&5
29323 $as_echo "$use_ps" >&6; }
29325 if test "x$enable_ps" = "xyes" -a "x$use_ps" != xyes; then :
29326 as_fn_error $? "recommended PostScript surface backend feature could not be enabled" "$LINENO" 5
29330 as_fn_error $? "invalid argument passed to --enable-ps: \`$use_ps', should be one of [no/auto/yes]" "$LINENO" 5
29333 if test "x$use_ps" = "xyes"; then :
29334 CAIRO_REQUIRES="$ps_REQUIRES"" ${CAIRO_REQUIRES}"
29336 CAIRO_CFLAGS="$ps_CFLAGS"" ${CAIRO_CFLAGS}"
29338 CAIRO_NONPKGCONFIG_CFLAGS="$ps_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
29340 CAIRO_LIBS="$ps_LIBS"" ${CAIRO_LIBS}"
29342 CAIRO_NONPKGCONFIG_LIBS="$ps_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
29349 unset ps_NONPKGCONFIG_CFLAGS
29351 unset ps_NONPKGCONFIG_LIBS
29352 unset ps_NONPKGCONFIG_EXTRA_LIBS
29357 if test "x$use_ps" = xyes; then
29358 CAIRO_HAS_PS_SURFACE_TRUE=
29359 CAIRO_HAS_PS_SURFACE_FALSE='#'
29361 CAIRO_HAS_PS_SURFACE_TRUE='#'
29362 CAIRO_HAS_PS_SURFACE_FALSE=
29366 cr_make_tmp='CAIRO_HAS_PS_SURFACE=1'
29367 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
29372 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29375 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29378 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29381 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29385 cr_make_tmp='supported_cairo_headers += $(cairo_ps_headers)'
29386 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29389 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29391 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_ps_headers)'
29392 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29395 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29400 cr_make_tmp='all_cairo_headers += $(cairo_ps_headers)
29401 all_cairo_private += $(cairo_ps_private)
29402 all_cairo_cxx_sources += $(cairo_ps_cxx_sources)
29403 all_cairo_sources += $(cairo_ps_sources)'
29404 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29407 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29409 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_ps_headers)
29410 all_cairo_boilerplate_private += $(cairo_boilerplate_ps_private)
29411 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ps_cxx_sources)
29412 all_cairo_boilerplate_sources += $(cairo_boilerplate_ps_sources)'
29413 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29416 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29420 cr_make_tmp='enabled_cairo_headers += $(cairo_ps_headers)
29421 enabled_cairo_private += $(cairo_ps_private)
29422 enabled_cairo_cxx_sources += $(cairo_ps_cxx_sources)
29423 enabled_cairo_sources += $(cairo_ps_sources)'
29424 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29425 "'if CAIRO_HAS_PS_SURFACE'
29426 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29428 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29431 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29432 "'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
29433 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29435 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29437 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_ps_headers)
29438 enabled_cairo_boilerplate_private += $(cairo_boilerplate_ps_private)
29439 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ps_cxx_sources)
29440 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_ps_sources)'
29441 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29442 "'if CAIRO_HAS_PS_SURFACE'
29443 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29445 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29448 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29449 "'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
29450 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29452 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29458 if test "x$use_ps" = xyes; then :
29460 ac_config_files="$ac_config_files src/cairo-ps.pc:src/cairo-features.pc.in"
29464 if test "x$use_ps" = xyes; then :
29466 ac_config_files="$ac_config_files cairo-ps-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
29470 cr_make_tmp='all_cairo_pkgconf += cairo-ps.pc'
29471 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29474 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29478 cr_make_tmp='enabled_cairo_pkgconf += cairo-ps.pc'
29479 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29480 "'if CAIRO_HAS_PS_SURFACE'
29481 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29483 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29486 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29487 "'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
29488 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29490 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29494 if test "x$use_ps" = xyes; then :
29496 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_PS_SURFACE'
29500 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_PS_SURFACE'
29504 if test "x$use_ps" != xyes; then :
29506 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_PS_SURFACE'
29512 cr_make_tmp=' @echo "#define CAIRO_HAS_PS_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
29513 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29514 "'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
29515 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29517 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29522 if test "x$use_ps" != xyes; then :
29524 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
29526 "'+++ It is strongly recommended that you do NOT disable the PostScript surface
29527 +++ backend feature.'
29537 SPECTRE_VERSION_REQUIRED=0.2.0
29540 if test "x$use_ps" = "xyes"; then
29541 # Extract the first word of "gs", so it can be a program name with args.
29542 set dummy gs; ac_word=$2
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29544 $as_echo_n "checking for $ac_word... " >&6; }
29545 if test "${ac_cv_prog_GS+set}" = set; then :
29546 $as_echo_n "(cached) " >&6
29548 if test -n "$GS"; then
29549 ac_cv_prog_GS="$GS" # Let the user override the test.
29551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29552 for as_dir in $PATH
29555 test -z "$as_dir" && as_dir=.
29556 for ac_exec_ext in '' $ac_executable_extensions; do
29557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29569 if test -n "$GS"; then
29570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
29571 $as_echo "$GS" >&6; }
29573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29574 $as_echo "no" >&6; }
29578 if test "$GS"; then
29580 $as_echo "#define CAIRO_CAN_TEST_PS_SURFACE 1" >>confdefs.h
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PS backend will not be tested since ghostscript is not available" >&5
29585 $as_echo "$as_me: WARNING: PS backend will not be tested since ghostscript is not available" >&2;}
29586 test_ps="no (requires ghostscript)"
29589 libspectre_DEPENDENCY="libspectre >= $SPECTRE_VERSION_REQUIRED"
29592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSPECTRE" >&5
29593 $as_echo_n "checking for LIBSPECTRE... " >&6; }
29595 if test -n "$LIBSPECTRE_CFLAGS"; then
29596 pkg_cv_LIBSPECTRE_CFLAGS="$LIBSPECTRE_CFLAGS"
29597 elif test -n "$PKG_CONFIG"; then
29598 if test -n "$PKG_CONFIG" && \
29599 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libspectre_DEPENDENCY\""; } >&5
29600 ($PKG_CONFIG --exists --print-errors "$libspectre_DEPENDENCY") 2>&5
29602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29603 test $ac_status = 0; }; then
29604 pkg_cv_LIBSPECTRE_CFLAGS=`$PKG_CONFIG --cflags "$libspectre_DEPENDENCY" 2>/dev/null`
29611 if test -n "$LIBSPECTRE_LIBS"; then
29612 pkg_cv_LIBSPECTRE_LIBS="$LIBSPECTRE_LIBS"
29613 elif test -n "$PKG_CONFIG"; then
29614 if test -n "$PKG_CONFIG" && \
29615 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libspectre_DEPENDENCY\""; } >&5
29616 ($PKG_CONFIG --exists --print-errors "$libspectre_DEPENDENCY") 2>&5
29618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29619 test $ac_status = 0; }; then
29620 pkg_cv_LIBSPECTRE_LIBS=`$PKG_CONFIG --libs "$libspectre_DEPENDENCY" 2>/dev/null`
29630 if test $pkg_failed = yes; then
29632 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29633 _pkg_short_errors_supported=yes
29635 _pkg_short_errors_supported=no
29637 if test $_pkg_short_errors_supported = yes; then
29638 LIBSPECTRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$libspectre_DEPENDENCY" 2>&1`
29640 LIBSPECTRE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$libspectre_DEPENDENCY" 2>&1`
29642 # Put the nasty error message in config.log where it belongs
29643 echo "$LIBSPECTRE_PKG_ERRORS" >&5
29645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29646 $as_echo "no" >&6; }
29647 test_ps="no (requires libspectre)"
29648 elif test $pkg_failed = untried; then
29649 test_ps="no (requires libspectre)"
29651 LIBSPECTRE_CFLAGS=$pkg_cv_LIBSPECTRE_CFLAGS
29652 LIBSPECTRE_LIBS=$pkg_cv_LIBSPECTRE_LIBS
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29654 $as_echo "yes" >&6; }
29659 if test "x$test_ps" = "xyes"; then
29660 CAIRO_CAN_TEST_PS_SURFACE_TRUE=
29661 CAIRO_CAN_TEST_PS_SURFACE_FALSE='#'
29663 CAIRO_CAN_TEST_PS_SURFACE_TRUE='#'
29664 CAIRO_CAN_TEST_PS_SURFACE_FALSE=
29667 if test "x$any2ppm_ps" = "xyes"; then
29668 CAIRO_HAS_SPECTRE_TRUE=
29669 CAIRO_HAS_SPECTRE_FALSE='#'
29671 CAIRO_HAS_SPECTRE_TRUE='#'
29672 CAIRO_HAS_SPECTRE_FALSE=
29675 if test "x$any2ppm_ps" = "xyes"; then
29677 $as_echo "#define CAIRO_HAS_SPECTRE 1" >>confdefs.h
29684 # Check whether --enable-pdf was given.
29685 if test "${enable_pdf+set}" = set; then :
29686 enableval=$enable_pdf; enable_pdf=$enableval
29691 case $enable_pdf in #(
29693 use_pdf="no (disabled, use --enable-pdf to enable)"
29696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's PDF surface backend feature" >&5
29697 $as_echo_n "checking for cairo's PDF surface backend feature... " >&6; }
29702 pdf_REQUIRES="$ac_env_pdf_REQUIRES_value"
29703 pdf_CFLAGS="$ac_env_pdf_CFLAGS_value"
29704 pdf_NONPKGCONFIG_CFLAGS="$ac_env_pdf_NONPKGCONFIG_CFLAGS_value"
29705 pdf_LIBS="$ac_env_pdf_LIBS_value"
29706 pdf_NONPKGCONFIG_LIBS="$ac_env_pdf_NONPKGCONFIG_LIBS_value"
29707 pdf_NONPKGCONFIG_EXTRA_LIBS="$ac_env_pdf_NONPKGCONFIG_EXTRA_LIBS_value"
29711 # The pdf backend requires zlib.
29713 pdf_NONPKGCONFIG_LIBS=-lz
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's PDF surface backend feature could be enabled" >&5
29717 $as_echo_n "checking whether cairo's PDF surface backend feature could be enabled... " >&6; }
29718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_pdf" >&5
29719 $as_echo "$use_pdf" >&6; }
29721 if test "x$enable_pdf" = "xyes" -a "x$use_pdf" != xyes; then :
29722 as_fn_error $? "recommended PDF surface backend feature could not be enabled" "$LINENO" 5
29726 as_fn_error $? "invalid argument passed to --enable-pdf: \`$use_pdf', should be one of [no/auto/yes]" "$LINENO" 5
29729 if test "x$use_pdf" = "xyes"; then :
29730 CAIRO_REQUIRES="$pdf_REQUIRES"" ${CAIRO_REQUIRES}"
29732 CAIRO_CFLAGS="$pdf_CFLAGS"" ${CAIRO_CFLAGS}"
29734 CAIRO_NONPKGCONFIG_CFLAGS="$pdf_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
29736 CAIRO_LIBS="$pdf_LIBS"" ${CAIRO_LIBS}"
29738 CAIRO_NONPKGCONFIG_LIBS="$pdf_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
29745 unset pdf_NONPKGCONFIG_CFLAGS
29747 unset pdf_NONPKGCONFIG_LIBS
29748 unset pdf_NONPKGCONFIG_EXTRA_LIBS
29753 if test "x$use_pdf" = xyes; then
29754 CAIRO_HAS_PDF_SURFACE_TRUE=
29755 CAIRO_HAS_PDF_SURFACE_FALSE='#'
29757 CAIRO_HAS_PDF_SURFACE_TRUE='#'
29758 CAIRO_HAS_PDF_SURFACE_FALSE=
29762 cr_make_tmp='CAIRO_HAS_PDF_SURFACE=1'
29763 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
29768 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29771 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29774 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29777 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29781 cr_make_tmp='supported_cairo_headers += $(cairo_pdf_headers)'
29782 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29785 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29787 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_pdf_headers)'
29788 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29791 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29796 cr_make_tmp='all_cairo_headers += $(cairo_pdf_headers)
29797 all_cairo_private += $(cairo_pdf_private)
29798 all_cairo_cxx_sources += $(cairo_pdf_cxx_sources)
29799 all_cairo_sources += $(cairo_pdf_sources)'
29800 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29803 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29805 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_pdf_headers)
29806 all_cairo_boilerplate_private += $(cairo_boilerplate_pdf_private)
29807 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pdf_cxx_sources)
29808 all_cairo_boilerplate_sources += $(cairo_boilerplate_pdf_sources)'
29809 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29812 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29816 cr_make_tmp='enabled_cairo_headers += $(cairo_pdf_headers)
29817 enabled_cairo_private += $(cairo_pdf_private)
29818 enabled_cairo_cxx_sources += $(cairo_pdf_cxx_sources)
29819 enabled_cairo_sources += $(cairo_pdf_sources)'
29820 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29821 "'if CAIRO_HAS_PDF_SURFACE'
29822 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29824 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29827 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29828 "'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
29829 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29831 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29833 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_pdf_headers)
29834 enabled_cairo_boilerplate_private += $(cairo_boilerplate_pdf_private)
29835 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pdf_cxx_sources)
29836 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_pdf_sources)'
29837 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29838 "'if CAIRO_HAS_PDF_SURFACE'
29839 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29841 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29844 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29845 "'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
29846 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29848 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29854 if test "x$use_pdf" = xyes; then :
29856 ac_config_files="$ac_config_files src/cairo-pdf.pc:src/cairo-features.pc.in"
29860 if test "x$use_pdf" = xyes; then :
29862 ac_config_files="$ac_config_files cairo-pdf-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
29866 cr_make_tmp='all_cairo_pkgconf += cairo-pdf.pc'
29867 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29870 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29874 cr_make_tmp='enabled_cairo_pkgconf += cairo-pdf.pc'
29875 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29876 "'if CAIRO_HAS_PDF_SURFACE'
29877 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29879 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29882 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29883 "'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
29884 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29886 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29890 if test "x$use_pdf" = xyes; then :
29892 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_PDF_SURFACE'
29896 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_PDF_SURFACE'
29900 if test "x$use_pdf" != xyes; then :
29902 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_PDF_SURFACE'
29908 cr_make_tmp=' @echo "#define CAIRO_HAS_PDF_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
29909 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29910 "'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
29911 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29913 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29918 if test "x$use_pdf" != xyes; then :
29920 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
29922 "'+++ It is strongly recommended that you do NOT disable the PDF surface
29923 +++ backend feature.'
29933 # poppler-0.17.4 fixes text-pattern and text-transform
29934 POPPLER_VERSION_REQUIRED=0.17.4
29937 if test "x$use_pdf" = "xyes"; then
29938 poppler_DEPENDENCY="poppler-glib >= $POPPLER_VERSION_REQUIRED"
29941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER" >&5
29942 $as_echo_n "checking for POPPLER... " >&6; }
29944 if test -n "$POPPLER_CFLAGS"; then
29945 pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
29946 elif test -n "$PKG_CONFIG"; then
29947 if test -n "$PKG_CONFIG" && \
29948 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$poppler_DEPENDENCY\""; } >&5
29949 ($PKG_CONFIG --exists --print-errors "$poppler_DEPENDENCY") 2>&5
29951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29952 test $ac_status = 0; }; then
29953 pkg_cv_POPPLER_CFLAGS=`$PKG_CONFIG --cflags "$poppler_DEPENDENCY" 2>/dev/null`
29960 if test -n "$POPPLER_LIBS"; then
29961 pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
29962 elif test -n "$PKG_CONFIG"; then
29963 if test -n "$PKG_CONFIG" && \
29964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$poppler_DEPENDENCY\""; } >&5
29965 ($PKG_CONFIG --exists --print-errors "$poppler_DEPENDENCY") 2>&5
29967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29968 test $ac_status = 0; }; then
29969 pkg_cv_POPPLER_LIBS=`$PKG_CONFIG --libs "$poppler_DEPENDENCY" 2>/dev/null`
29979 if test $pkg_failed = yes; then
29981 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29982 _pkg_short_errors_supported=yes
29984 _pkg_short_errors_supported=no
29986 if test $_pkg_short_errors_supported = yes; then
29987 POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$poppler_DEPENDENCY" 2>&1`
29989 POPPLER_PKG_ERRORS=`$PKG_CONFIG --print-errors "$poppler_DEPENDENCY" 2>&1`
29991 # Put the nasty error message in config.log where it belongs
29992 echo "$POPPLER_PKG_ERRORS" >&5
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29995 $as_echo "no" >&6; }
29996 test_pdf="no (requires $poppler_DEPENDENCY)"
29997 elif test $pkg_failed = untried; then
29998 test_pdf="no (requires $poppler_DEPENDENCY)"
30000 POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
30001 POPPLER_LIBS=$pkg_cv_POPPLER_LIBS
30002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30003 $as_echo "yes" >&6; }
30004 _save_cflags="$CFLAGS"
30006 CFLAGS="$CFLAGS $POPPLER_CFLAGS"
30007 LIBS="$LIBS $POPPLER_LIBS"
30008 for ac_func in poppler_page_render
30010 ac_fn_c_check_func "$LINENO" "poppler_page_render" "ac_cv_func_poppler_page_render"
30011 if test "x$ac_cv_func_poppler_page_render" = x""yes; then :
30012 cat >>confdefs.h <<_ACEOF
30013 #define HAVE_POPPLER_PAGE_RENDER 1
30015 test_pdf=yes; any2ppm_pdf=yes
30017 test_pdf="no (requires $poppler_DEPENDENCY)"
30021 CFLAGS="$_save_cflags"
30025 if test "x$test_pdf" = "xyes"; then
30027 $as_echo "#define CAIRO_CAN_TEST_PDF_SURFACE 1" >>confdefs.h
30030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PDF backend will not be tested since poppler >= $POPPLER_VERSION_REQUIRED is not available" >&5
30031 $as_echo "$as_me: WARNING: PDF backend will not be tested since poppler >= $POPPLER_VERSION_REQUIRED is not available" >&2;}
30035 if test "x$test_pdf" = "xyes"; then
30036 CAIRO_CAN_TEST_PDF_SURFACE_TRUE=
30037 CAIRO_CAN_TEST_PDF_SURFACE_FALSE='#'
30039 CAIRO_CAN_TEST_PDF_SURFACE_TRUE='#'
30040 CAIRO_CAN_TEST_PDF_SURFACE_FALSE=
30046 if test "x$use_ps" = "xyes" -o "x$use_pdf" = "xyes"; then
30047 CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE=
30048 CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE='#'
30050 CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE='#'
30051 CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE=
30056 # Check whether --enable-svg was given.
30057 if test "${enable_svg+set}" = set; then :
30058 enableval=$enable_svg; enable_svg=$enableval
30063 case $enable_svg in #(
30065 use_svg="no (disabled, use --enable-svg to enable)"
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's SVG surface backend feature" >&5
30069 $as_echo_n "checking for cairo's SVG surface backend feature... " >&6; }
30074 svg_REQUIRES="$ac_env_svg_REQUIRES_value"
30075 svg_CFLAGS="$ac_env_svg_CFLAGS_value"
30076 svg_NONPKGCONFIG_CFLAGS="$ac_env_svg_NONPKGCONFIG_CFLAGS_value"
30077 svg_LIBS="$ac_env_svg_LIBS_value"
30078 svg_NONPKGCONFIG_LIBS="$ac_env_svg_NONPKGCONFIG_LIBS_value"
30079 svg_NONPKGCONFIG_EXTRA_LIBS="$ac_env_svg_NONPKGCONFIG_EXTRA_LIBS_value"
30083 if test "x$use_png" != "xyes"; then
30084 use_svg="no (requires --enable-png)"
30088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's SVG surface backend feature could be enabled" >&5
30089 $as_echo_n "checking whether cairo's SVG surface backend feature could be enabled... " >&6; }
30090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_svg" >&5
30091 $as_echo "$use_svg" >&6; }
30093 if test "x$enable_svg" = "xyes" -a "x$use_svg" != xyes; then :
30094 as_fn_error $? "recommended SVG surface backend feature could not be enabled" "$LINENO" 5
30098 as_fn_error $? "invalid argument passed to --enable-svg: \`$use_svg', should be one of [no/auto/yes]" "$LINENO" 5
30101 if test "x$use_svg" = "xyes"; then :
30102 CAIRO_REQUIRES="$svg_REQUIRES"" ${CAIRO_REQUIRES}"
30104 CAIRO_CFLAGS="$svg_CFLAGS"" ${CAIRO_CFLAGS}"
30106 CAIRO_NONPKGCONFIG_CFLAGS="$svg_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
30108 CAIRO_LIBS="$svg_LIBS"" ${CAIRO_LIBS}"
30110 CAIRO_NONPKGCONFIG_LIBS="$svg_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
30117 unset svg_NONPKGCONFIG_CFLAGS
30119 unset svg_NONPKGCONFIG_LIBS
30120 unset svg_NONPKGCONFIG_EXTRA_LIBS
30125 if test "x$use_svg" = xyes; then
30126 CAIRO_HAS_SVG_SURFACE_TRUE=
30127 CAIRO_HAS_SVG_SURFACE_FALSE='#'
30129 CAIRO_HAS_SVG_SURFACE_TRUE='#'
30130 CAIRO_HAS_SVG_SURFACE_FALSE=
30134 cr_make_tmp='CAIRO_HAS_SVG_SURFACE=1'
30135 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
30140 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30143 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30146 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30149 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30153 cr_make_tmp='supported_cairo_headers += $(cairo_svg_headers)'
30154 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30157 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30159 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_svg_headers)'
30160 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30163 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30168 cr_make_tmp='all_cairo_headers += $(cairo_svg_headers)
30169 all_cairo_private += $(cairo_svg_private)
30170 all_cairo_cxx_sources += $(cairo_svg_cxx_sources)
30171 all_cairo_sources += $(cairo_svg_sources)'
30172 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30175 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30177 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_svg_headers)
30178 all_cairo_boilerplate_private += $(cairo_boilerplate_svg_private)
30179 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_svg_cxx_sources)
30180 all_cairo_boilerplate_sources += $(cairo_boilerplate_svg_sources)'
30181 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30184 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30188 cr_make_tmp='enabled_cairo_headers += $(cairo_svg_headers)
30189 enabled_cairo_private += $(cairo_svg_private)
30190 enabled_cairo_cxx_sources += $(cairo_svg_cxx_sources)
30191 enabled_cairo_sources += $(cairo_svg_sources)'
30192 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30193 "'if CAIRO_HAS_SVG_SURFACE'
30194 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30196 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30199 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30200 "'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
30201 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30203 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30205 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_svg_headers)
30206 enabled_cairo_boilerplate_private += $(cairo_boilerplate_svg_private)
30207 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_svg_cxx_sources)
30208 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_svg_sources)'
30209 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30210 "'if CAIRO_HAS_SVG_SURFACE'
30211 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30213 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30216 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30217 "'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
30218 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30220 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30226 if test "x$use_svg" = xyes; then :
30228 ac_config_files="$ac_config_files src/cairo-svg.pc:src/cairo-features.pc.in"
30232 if test "x$use_svg" = xyes; then :
30234 ac_config_files="$ac_config_files cairo-svg-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
30238 cr_make_tmp='all_cairo_pkgconf += cairo-svg.pc'
30239 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30242 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30246 cr_make_tmp='enabled_cairo_pkgconf += cairo-svg.pc'
30247 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30248 "'if CAIRO_HAS_SVG_SURFACE'
30249 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30251 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30254 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30255 "'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
30256 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30258 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30262 if test "x$use_svg" = xyes; then :
30264 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_SVG_SURFACE'
30268 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_SVG_SURFACE'
30272 if test "x$use_svg" != xyes; then :
30274 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_SVG_SURFACE'
30280 cr_make_tmp=' @echo "#define CAIRO_HAS_SVG_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
30281 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30282 "'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
30283 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30285 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30290 if test "x$use_svg" != xyes; then :
30292 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
30294 "'+++ It is strongly recommended that you do NOT disable the SVG surface
30295 +++ backend feature.'
30304 LIBRSVG_VERSION_REQUIRED=2.15.0
30307 if test "x$use_svg" = "xyes"; then
30308 librsvg_DEPENDENCY="librsvg-2.0 >= $LIBRSVG_VERSION_REQUIRED"
30311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRSVG" >&5
30312 $as_echo_n "checking for LIBRSVG... " >&6; }
30314 if test -n "$LIBRSVG_CFLAGS"; then
30315 pkg_cv_LIBRSVG_CFLAGS="$LIBRSVG_CFLAGS"
30316 elif test -n "$PKG_CONFIG"; then
30317 if test -n "$PKG_CONFIG" && \
30318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$librsvg_DEPENDENCY gdk-2.0\""; } >&5
30319 ($PKG_CONFIG --exists --print-errors "$librsvg_DEPENDENCY gdk-2.0") 2>&5
30321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30322 test $ac_status = 0; }; then
30323 pkg_cv_LIBRSVG_CFLAGS=`$PKG_CONFIG --cflags "$librsvg_DEPENDENCY gdk-2.0" 2>/dev/null`
30330 if test -n "$LIBRSVG_LIBS"; then
30331 pkg_cv_LIBRSVG_LIBS="$LIBRSVG_LIBS"
30332 elif test -n "$PKG_CONFIG"; then
30333 if test -n "$PKG_CONFIG" && \
30334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$librsvg_DEPENDENCY gdk-2.0\""; } >&5
30335 ($PKG_CONFIG --exists --print-errors "$librsvg_DEPENDENCY gdk-2.0") 2>&5
30337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30338 test $ac_status = 0; }; then
30339 pkg_cv_LIBRSVG_LIBS=`$PKG_CONFIG --libs "$librsvg_DEPENDENCY gdk-2.0" 2>/dev/null`
30349 if test $pkg_failed = yes; then
30351 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30352 _pkg_short_errors_supported=yes
30354 _pkg_short_errors_supported=no
30356 if test $_pkg_short_errors_supported = yes; then
30357 LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$librsvg_DEPENDENCY gdk-2.0" 2>&1`
30359 LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "$librsvg_DEPENDENCY gdk-2.0" 2>&1`
30361 # Put the nasty error message in config.log where it belongs
30362 echo "$LIBRSVG_PKG_ERRORS" >&5
30364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30365 $as_echo "no" >&6; }
30366 test_svg="no (requires $librsvg_DEPENDENCY)"
30367 elif test $pkg_failed = untried; then
30368 test_svg="no (requires $librsvg_DEPENDENCY)"
30370 LIBRSVG_CFLAGS=$pkg_cv_LIBRSVG_CFLAGS
30371 LIBRSVG_LIBS=$pkg_cv_LIBRSVG_LIBS
30372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30373 $as_echo "yes" >&6; }
30374 _save_cflags="$CFLAGS"
30376 CFLAGS="$CFLAGS $LIBRSVG_CFLAGS"
30377 LIBS="$LIBS $LIBRSVG_LIBS"
30378 for ac_func in rsvg_pixbuf_from_file
30380 ac_fn_c_check_func "$LINENO" "rsvg_pixbuf_from_file" "ac_cv_func_rsvg_pixbuf_from_file"
30381 if test "x$ac_cv_func_rsvg_pixbuf_from_file" = x""yes; then :
30382 cat >>confdefs.h <<_ACEOF
30383 #define HAVE_RSVG_PIXBUF_FROM_FILE 1
30385 test_svg=yes; any2ppm_svg=yes
30387 test_svg="no (requires $librsvg_DEPENDENCY)"
30391 CFLAGS="$_save_cflags"
30395 if test "x$test_svg" = "xyes"; then
30397 $as_echo "#define CAIRO_CAN_TEST_SVG_SURFACE 1" >>confdefs.h
30400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SVG backend will not be tested since librsvg >= $LIBRSVG_VERSION_REQUIRED is not available" >&5
30401 $as_echo "$as_me: WARNING: SVG backend will not be tested since librsvg >= $LIBRSVG_VERSION_REQUIRED is not available" >&2;}
30405 if test "x$test_svg" = "xyes"; then
30406 CAIRO_CAN_TEST_SVG_SURFACE_TRUE=
30407 CAIRO_CAN_TEST_SVG_SURFACE_FALSE='#'
30409 CAIRO_CAN_TEST_SVG_SURFACE_TRUE='#'
30410 CAIRO_CAN_TEST_SVG_SURFACE_FALSE=
30417 # Check whether --enable-test-surfaces was given.
30418 if test "${enable_test_surfaces+set}" = set; then :
30419 enableval=$enable_test_surfaces; enable_test_surfaces=$enableval
30421 enable_test_surfaces=no
30424 case $enable_test_surfaces in #(
30426 use_test_surfaces="no (disabled, use --enable-test-surfaces to enable)"
30429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's test surfaces feature" >&5
30430 $as_echo_n "checking for cairo's test surfaces feature... " >&6; }
30433 use_test_surfaces=yes
30434 test_surfaces_BASE="cairo"
30435 test_surfaces_REQUIRES="$ac_env_test_surfaces_REQUIRES_value"
30436 test_surfaces_CFLAGS="$ac_env_test_surfaces_CFLAGS_value"
30437 test_surfaces_NONPKGCONFIG_CFLAGS="$ac_env_test_surfaces_NONPKGCONFIG_CFLAGS_value"
30438 test_surfaces_LIBS="$ac_env_test_surfaces_LIBS_value"
30439 test_surfaces_NONPKGCONFIG_LIBS="$ac_env_test_surfaces_NONPKGCONFIG_LIBS_value"
30440 test_surfaces_NONPKGCONFIG_EXTRA_LIBS="$ac_env_test_surfaces_NONPKGCONFIG_EXTRA_LIBS_value"
30445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's test surfaces feature could be enabled" >&5
30446 $as_echo_n "checking whether cairo's test surfaces feature could be enabled... " >&6; }
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_test_surfaces" >&5
30448 $as_echo "$use_test_surfaces" >&6; }
30450 if test "x$enable_test_surfaces" = "xyes" -a "x$use_test_surfaces" != xyes; then :
30451 as_fn_error $? " test surfaces feature could not be enabled" "$LINENO" 5
30455 as_fn_error $? "invalid argument passed to --enable-test-surfaces: \`$use_test_surfaces', should be one of [no/auto/yes]" "$LINENO" 5
30458 if test "x$use_test_surfaces" = "xyes"; then :
30459 CAIRO_REQUIRES="$test_surfaces_REQUIRES"" ${CAIRO_REQUIRES}"
30461 CAIRO_CFLAGS="$test_surfaces_CFLAGS"" ${CAIRO_CFLAGS}"
30463 CAIRO_NONPKGCONFIG_CFLAGS="$test_surfaces_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
30465 CAIRO_LIBS="$test_surfaces_LIBS"" ${CAIRO_LIBS}"
30467 CAIRO_NONPKGCONFIG_LIBS="$test_surfaces_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
30471 unset test_surfaces_BASE
30472 unset test_surfaces_REQUIRES
30473 unset test_surfaces_CFLAGS
30474 unset test_surfaces_NONPKGCONFIG_CFLAGS
30475 unset test_surfaces_LIBS
30476 unset test_surfaces_NONPKGCONFIG_LIBS
30477 unset test_surfaces_NONPKGCONFIG_EXTRA_LIBS
30482 if test "x$use_test_surfaces" = xyes; then
30483 CAIRO_HAS_TEST_SURFACES_TRUE=
30484 CAIRO_HAS_TEST_SURFACES_FALSE='#'
30486 CAIRO_HAS_TEST_SURFACES_TRUE='#'
30487 CAIRO_HAS_TEST_SURFACES_FALSE=
30491 cr_make_tmp='CAIRO_HAS_TEST_SURFACES=0'
30492 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
30497 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30500 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30503 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30506 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30514 cr_make_tmp='all_cairo_private += $(cairo_test_surfaces_private) $(cairo_test_surfaces_headers)
30515 all_cairo_cxx_sources += $(cairo_test_surfaces_cxx_sources)
30516 all_cairo_sources += $(cairo_test_surfaces_sources)'
30517 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30520 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30522 cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_test_surfaces_private) $(cairo_boilerplate_test_surfaces_headers)
30523 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_test_surfaces_cxx_sources)
30524 all_cairo_boilerplate_sources += $(cairo_boilerplate_test_surfaces_sources)'
30525 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30528 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30532 cr_make_tmp='enabled_cairo_private += $(cairo_test_surfaces_private) $(cairo_test_surfaces_headers)
30533 enabled_cairo_cxx_sources += $(cairo_test_surfaces_cxx_sources)
30534 enabled_cairo_sources += $(cairo_test_surfaces_sources)'
30535 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30536 "'if CAIRO_HAS_TEST_SURFACES'
30537 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30539 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30542 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30543 "'ifeq ($(CAIRO_HAS_TEST_SURFACES),1)'
30544 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30546 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30548 cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_test_surfaces_private) $(cairo_boilerplate_test_surfaces_headers)
30549 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_test_surfaces_cxx_sources)
30550 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_test_surfaces_sources)'
30551 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30552 "'if CAIRO_HAS_TEST_SURFACES'
30553 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30555 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30558 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30559 "'ifeq ($(CAIRO_HAS_TEST_SURFACES),1)'
30560 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30562 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30573 if test "x$use_test_surfaces" = xyes; then :
30576 $as_echo "#define CAIRO_HAS_TEST_SURFACES 1" >>confdefs.h
30581 cr_make_tmp=' @echo "#define CAIRO_HAS_TEST_SURFACES 1" >> $(top_srcdir)/src/cairo-features.h'
30582 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30583 "'ifeq ($(CAIRO_HAS_TEST_SURFACES),1)'
30584 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30586 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30598 case $enable_image in #(
30600 use_image="no (disabled, use --enable-image to enable)"
30603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's image surface backend feature" >&5
30604 $as_echo_n "checking for cairo's image surface backend feature... " >&6; }
30609 image_REQUIRES="$ac_env_image_REQUIRES_value"
30610 image_CFLAGS="$ac_env_image_CFLAGS_value"
30611 image_NONPKGCONFIG_CFLAGS="$ac_env_image_NONPKGCONFIG_CFLAGS_value"
30612 image_LIBS="$ac_env_image_LIBS_value"
30613 image_NONPKGCONFIG_LIBS="$ac_env_image_NONPKGCONFIG_LIBS_value"
30614 image_NONPKGCONFIG_EXTRA_LIBS="$ac_env_image_NONPKGCONFIG_EXTRA_LIBS_value"
30618 pixman_REQUIRES="pixman-1 >= 0.22.0"
30621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pixman" >&5
30622 $as_echo_n "checking for pixman... " >&6; }
30624 if test -n "$pixman_CFLAGS"; then
30625 pkg_cv_pixman_CFLAGS="$pixman_CFLAGS"
30626 elif test -n "$PKG_CONFIG"; then
30627 if test -n "$PKG_CONFIG" && \
30628 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pixman_REQUIRES\""; } >&5
30629 ($PKG_CONFIG --exists --print-errors "$pixman_REQUIRES") 2>&5
30631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30632 test $ac_status = 0; }; then
30633 pkg_cv_pixman_CFLAGS=`$PKG_CONFIG --cflags "$pixman_REQUIRES" 2>/dev/null`
30640 if test -n "$pixman_LIBS"; then
30641 pkg_cv_pixman_LIBS="$pixman_LIBS"
30642 elif test -n "$PKG_CONFIG"; then
30643 if test -n "$PKG_CONFIG" && \
30644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pixman_REQUIRES\""; } >&5
30645 ($PKG_CONFIG --exists --print-errors "$pixman_REQUIRES") 2>&5
30647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30648 test $ac_status = 0; }; then
30649 pkg_cv_pixman_LIBS=`$PKG_CONFIG --libs "$pixman_REQUIRES" 2>/dev/null`
30659 if test $pkg_failed = yes; then
30661 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30662 _pkg_short_errors_supported=yes
30664 _pkg_short_errors_supported=no
30666 if test $_pkg_short_errors_supported = yes; then
30667 pixman_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pixman_REQUIRES" 2>&1`
30669 pixman_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pixman_REQUIRES" 2>&1`
30671 # Put the nasty error message in config.log where it belongs
30672 echo "$pixman_PKG_ERRORS" >&5
30674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30675 $as_echo "no" >&6; }
30676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30677 $as_echo "no" >&6; }
30678 use_image="no (requires $pixman_REQUIRES http://cairographics.org/releases/)"
30679 elif test $pkg_failed = untried; then
30680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30681 $as_echo "no" >&6; }
30682 use_image="no (requires $pixman_REQUIRES http://cairographics.org/releases/)"
30684 pixman_CFLAGS=$pkg_cv_pixman_CFLAGS
30685 pixman_LIBS=$pkg_cv_pixman_LIBS
30686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30687 $as_echo "yes" >&6; }
30690 image_REQUIRES=$pixman_REQUIRES
30691 image_CFLAGS=$pixman_CFLAGS
30692 image_LIBS=$pixman_LIBS
30695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's image surface backend feature could be enabled" >&5
30696 $as_echo_n "checking whether cairo's image surface backend feature could be enabled... " >&6; }
30697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_image" >&5
30698 $as_echo "$use_image" >&6; }
30700 if test "x$enable_image" = "xyes" -a "x$use_image" != xyes; then :
30701 as_fn_error $? "mandatory image surface backend feature could not be enabled" "$LINENO" 5
30705 as_fn_error $? "invalid argument passed to --enable-image: \`$use_image', should be one of [no/auto/yes]" "$LINENO" 5
30708 if test "x$use_image" = "xyes"; then :
30709 CAIRO_REQUIRES="$image_REQUIRES"" ${CAIRO_REQUIRES}"
30711 CAIRO_CFLAGS="$image_CFLAGS"" ${CAIRO_CFLAGS}"
30713 CAIRO_NONPKGCONFIG_CFLAGS="$image_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
30715 CAIRO_LIBS="$image_LIBS"" ${CAIRO_LIBS}"
30717 CAIRO_NONPKGCONFIG_LIBS="$image_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
30722 unset image_REQUIRES
30724 unset image_NONPKGCONFIG_CFLAGS
30726 unset image_NONPKGCONFIG_LIBS
30727 unset image_NONPKGCONFIG_EXTRA_LIBS
30735 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30738 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30741 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30744 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30748 cr_make_tmp='supported_cairo_headers += $(cairo_image_headers)'
30749 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30752 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30754 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_image_headers)'
30755 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30758 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30763 cr_make_tmp='all_cairo_headers += $(cairo_image_headers)
30764 all_cairo_private += $(cairo_image_private)
30765 all_cairo_cxx_sources += $(cairo_image_cxx_sources)
30766 all_cairo_sources += $(cairo_image_sources)'
30767 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30770 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30772 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_image_headers)
30773 all_cairo_boilerplate_private += $(cairo_boilerplate_image_private)
30774 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_image_cxx_sources)
30775 all_cairo_boilerplate_sources += $(cairo_boilerplate_image_sources)'
30776 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30779 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30783 cr_make_tmp='enabled_cairo_headers += $(cairo_image_headers)
30784 enabled_cairo_private += $(cairo_image_private)
30785 enabled_cairo_cxx_sources += $(cairo_image_cxx_sources)
30786 enabled_cairo_sources += $(cairo_image_sources)'
30787 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30790 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30792 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_image_headers)
30793 enabled_cairo_boilerplate_private += $(cairo_boilerplate_image_private)
30794 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_image_cxx_sources)
30795 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_image_sources)'
30796 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30799 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30809 if test "x$use_image" = xyes; then :
30811 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_IMAGE_SURFACE'
30815 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_IMAGE_SURFACE'
30819 if test "x$use_image" != xyes; then :
30821 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_IMAGE_SURFACE'
30827 cr_make_tmp=' @echo "#define CAIRO_HAS_IMAGE_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
30828 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30840 case $enable_mime in #(
30842 use_mime="no (disabled, use --enable-mime to enable)"
30845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's mime surface backend feature" >&5
30846 $as_echo_n "checking for cairo's mime surface backend feature... " >&6; }
30851 mime_REQUIRES="$ac_env_mime_REQUIRES_value"
30852 mime_CFLAGS="$ac_env_mime_CFLAGS_value"
30853 mime_NONPKGCONFIG_CFLAGS="$ac_env_mime_NONPKGCONFIG_CFLAGS_value"
30854 mime_LIBS="$ac_env_mime_LIBS_value"
30855 mime_NONPKGCONFIG_LIBS="$ac_env_mime_NONPKGCONFIG_LIBS_value"
30856 mime_NONPKGCONFIG_EXTRA_LIBS="$ac_env_mime_NONPKGCONFIG_EXTRA_LIBS_value"
30861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's mime surface backend feature could be enabled" >&5
30862 $as_echo_n "checking whether cairo's mime surface backend feature could be enabled... " >&6; }
30863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_mime" >&5
30864 $as_echo "$use_mime" >&6; }
30866 if test "x$enable_mime" = "xyes" -a "x$use_mime" != xyes; then :
30867 as_fn_error $? "mandatory mime surface backend feature could not be enabled" "$LINENO" 5
30871 as_fn_error $? "invalid argument passed to --enable-mime: \`$use_mime', should be one of [no/auto/yes]" "$LINENO" 5
30874 if test "x$use_mime" = "xyes"; then :
30875 CAIRO_REQUIRES="$mime_REQUIRES"" ${CAIRO_REQUIRES}"
30877 CAIRO_CFLAGS="$mime_CFLAGS"" ${CAIRO_CFLAGS}"
30879 CAIRO_NONPKGCONFIG_CFLAGS="$mime_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
30881 CAIRO_LIBS="$mime_LIBS"" ${CAIRO_LIBS}"
30883 CAIRO_NONPKGCONFIG_LIBS="$mime_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
30888 unset mime_REQUIRES
30890 unset mime_NONPKGCONFIG_CFLAGS
30892 unset mime_NONPKGCONFIG_LIBS
30893 unset mime_NONPKGCONFIG_EXTRA_LIBS
30901 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30904 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30907 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30910 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30914 cr_make_tmp='supported_cairo_headers += $(cairo_mime_headers)'
30915 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30918 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30920 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_mime_headers)'
30921 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30924 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30929 cr_make_tmp='all_cairo_headers += $(cairo_mime_headers)
30930 all_cairo_private += $(cairo_mime_private)
30931 all_cairo_cxx_sources += $(cairo_mime_cxx_sources)
30932 all_cairo_sources += $(cairo_mime_sources)'
30933 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30936 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30938 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_mime_headers)
30939 all_cairo_boilerplate_private += $(cairo_boilerplate_mime_private)
30940 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_mime_cxx_sources)
30941 all_cairo_boilerplate_sources += $(cairo_boilerplate_mime_sources)'
30942 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30945 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30949 cr_make_tmp='enabled_cairo_headers += $(cairo_mime_headers)
30950 enabled_cairo_private += $(cairo_mime_private)
30951 enabled_cairo_cxx_sources += $(cairo_mime_cxx_sources)
30952 enabled_cairo_sources += $(cairo_mime_sources)'
30953 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30956 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30958 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_mime_headers)
30959 enabled_cairo_boilerplate_private += $(cairo_boilerplate_mime_private)
30960 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_mime_cxx_sources)
30961 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_mime_sources)'
30962 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30965 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30975 if test "x$use_mime" = xyes; then :
30977 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_MIME_SURFACE'
30981 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_MIME_SURFACE'
30985 if test "x$use_mime" != xyes; then :
30987 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_MIME_SURFACE'
30993 cr_make_tmp=' @echo "#define CAIRO_HAS_MIME_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
30994 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31003 enable_recording=yes
31004 case $enable_recording in #(
31006 use_recording="no (disabled, use --enable-recording to enable)"
31009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's recording surface backend feature" >&5
31010 $as_echo_n "checking for cairo's recording surface backend feature... " >&6; }
31014 recording_BASE="cairo"
31015 recording_REQUIRES="$ac_env_recording_REQUIRES_value"
31016 recording_CFLAGS="$ac_env_recording_CFLAGS_value"
31017 recording_NONPKGCONFIG_CFLAGS="$ac_env_recording_NONPKGCONFIG_CFLAGS_value"
31018 recording_LIBS="$ac_env_recording_LIBS_value"
31019 recording_NONPKGCONFIG_LIBS="$ac_env_recording_NONPKGCONFIG_LIBS_value"
31020 recording_NONPKGCONFIG_EXTRA_LIBS="$ac_env_recording_NONPKGCONFIG_EXTRA_LIBS_value"
31025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's recording surface backend feature could be enabled" >&5
31026 $as_echo_n "checking whether cairo's recording surface backend feature could be enabled... " >&6; }
31027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_recording" >&5
31028 $as_echo "$use_recording" >&6; }
31030 if test "x$enable_recording" = "xyes" -a "x$use_recording" != xyes; then :
31031 as_fn_error $? "mandatory recording surface backend feature could not be enabled" "$LINENO" 5
31035 as_fn_error $? "invalid argument passed to --enable-recording: \`$use_recording', should be one of [no/auto/yes]" "$LINENO" 5
31038 if test "x$use_recording" = "xyes"; then :
31039 CAIRO_REQUIRES="$recording_REQUIRES"" ${CAIRO_REQUIRES}"
31041 CAIRO_CFLAGS="$recording_CFLAGS"" ${CAIRO_CFLAGS}"
31043 CAIRO_NONPKGCONFIG_CFLAGS="$recording_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31045 CAIRO_LIBS="$recording_LIBS"" ${CAIRO_LIBS}"
31047 CAIRO_NONPKGCONFIG_LIBS="$recording_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31051 unset recording_BASE
31052 unset recording_REQUIRES
31053 unset recording_CFLAGS
31054 unset recording_NONPKGCONFIG_CFLAGS
31055 unset recording_LIBS
31056 unset recording_NONPKGCONFIG_LIBS
31057 unset recording_NONPKGCONFIG_EXTRA_LIBS
31065 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31068 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31071 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31074 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31078 cr_make_tmp='supported_cairo_headers += $(cairo_recording_headers)'
31079 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31082 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31084 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_recording_headers)'
31085 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31088 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31093 cr_make_tmp='all_cairo_headers += $(cairo_recording_headers)
31094 all_cairo_private += $(cairo_recording_private)
31095 all_cairo_cxx_sources += $(cairo_recording_cxx_sources)
31096 all_cairo_sources += $(cairo_recording_sources)'
31097 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31100 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31102 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_recording_headers)
31103 all_cairo_boilerplate_private += $(cairo_boilerplate_recording_private)
31104 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_recording_cxx_sources)
31105 all_cairo_boilerplate_sources += $(cairo_boilerplate_recording_sources)'
31106 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31109 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31113 cr_make_tmp='enabled_cairo_headers += $(cairo_recording_headers)
31114 enabled_cairo_private += $(cairo_recording_private)
31115 enabled_cairo_cxx_sources += $(cairo_recording_cxx_sources)
31116 enabled_cairo_sources += $(cairo_recording_sources)'
31117 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31120 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31122 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_recording_headers)
31123 enabled_cairo_boilerplate_private += $(cairo_boilerplate_recording_private)
31124 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_recording_cxx_sources)
31125 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_recording_sources)'
31126 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31129 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31139 if test "x$use_recording" = xyes; then :
31141 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_RECORDING_SURFACE'
31145 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_RECORDING_SURFACE'
31149 if test "x$use_recording" != xyes; then :
31151 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_RECORDING_SURFACE'
31157 cr_make_tmp=' @echo "#define CAIRO_HAS_RECORDING_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
31158 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31167 enable_observer=yes
31168 case $enable_observer in #(
31170 use_observer="no (disabled, use --enable-observer to enable)"
31173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's observer surface backend feature" >&5
31174 $as_echo_n "checking for cairo's observer surface backend feature... " >&6; }
31178 observer_BASE="cairo"
31179 observer_REQUIRES="$ac_env_observer_REQUIRES_value"
31180 observer_CFLAGS="$ac_env_observer_CFLAGS_value"
31181 observer_NONPKGCONFIG_CFLAGS="$ac_env_observer_NONPKGCONFIG_CFLAGS_value"
31182 observer_LIBS="$ac_env_observer_LIBS_value"
31183 observer_NONPKGCONFIG_LIBS="$ac_env_observer_NONPKGCONFIG_LIBS_value"
31184 observer_NONPKGCONFIG_EXTRA_LIBS="$ac_env_observer_NONPKGCONFIG_EXTRA_LIBS_value"
31189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's observer surface backend feature could be enabled" >&5
31190 $as_echo_n "checking whether cairo's observer surface backend feature could be enabled... " >&6; }
31191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_observer" >&5
31192 $as_echo "$use_observer" >&6; }
31194 if test "x$enable_observer" = "xyes" -a "x$use_observer" != xyes; then :
31195 as_fn_error $? "mandatory observer surface backend feature could not be enabled" "$LINENO" 5
31199 as_fn_error $? "invalid argument passed to --enable-observer: \`$use_observer', should be one of [no/auto/yes]" "$LINENO" 5
31202 if test "x$use_observer" = "xyes"; then :
31203 CAIRO_REQUIRES="$observer_REQUIRES"" ${CAIRO_REQUIRES}"
31205 CAIRO_CFLAGS="$observer_CFLAGS"" ${CAIRO_CFLAGS}"
31207 CAIRO_NONPKGCONFIG_CFLAGS="$observer_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31209 CAIRO_LIBS="$observer_LIBS"" ${CAIRO_LIBS}"
31211 CAIRO_NONPKGCONFIG_LIBS="$observer_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31215 unset observer_BASE
31216 unset observer_REQUIRES
31217 unset observer_CFLAGS
31218 unset observer_NONPKGCONFIG_CFLAGS
31219 unset observer_LIBS
31220 unset observer_NONPKGCONFIG_LIBS
31221 unset observer_NONPKGCONFIG_EXTRA_LIBS
31229 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31232 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31235 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31238 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31242 cr_make_tmp='supported_cairo_headers += $(cairo_observer_headers)'
31243 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31246 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31248 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_observer_headers)'
31249 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31252 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31257 cr_make_tmp='all_cairo_headers += $(cairo_observer_headers)
31258 all_cairo_private += $(cairo_observer_private)
31259 all_cairo_cxx_sources += $(cairo_observer_cxx_sources)
31260 all_cairo_sources += $(cairo_observer_sources)'
31261 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31264 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31266 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_observer_headers)
31267 all_cairo_boilerplate_private += $(cairo_boilerplate_observer_private)
31268 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_observer_cxx_sources)
31269 all_cairo_boilerplate_sources += $(cairo_boilerplate_observer_sources)'
31270 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31273 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31277 cr_make_tmp='enabled_cairo_headers += $(cairo_observer_headers)
31278 enabled_cairo_private += $(cairo_observer_private)
31279 enabled_cairo_cxx_sources += $(cairo_observer_cxx_sources)
31280 enabled_cairo_sources += $(cairo_observer_sources)'
31281 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31284 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31286 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_observer_headers)
31287 enabled_cairo_boilerplate_private += $(cairo_boilerplate_observer_private)
31288 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_observer_cxx_sources)
31289 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_observer_sources)'
31290 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31293 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31303 if test "x$use_observer" = xyes; then :
31305 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_OBSERVER_SURFACE'
31309 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_OBSERVER_SURFACE'
31313 if test "x$use_observer" != xyes; then :
31315 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_OBSERVER_SURFACE'
31321 cr_make_tmp=' @echo "#define CAIRO_HAS_OBSERVER_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
31322 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31331 # Check whether --enable-tee was given.
31332 if test "${enable_tee+set}" = set; then :
31333 enableval=$enable_tee; enable_tee=$enableval
31338 case $enable_tee in #(
31340 use_tee="no (disabled, use --enable-tee to enable)"
31343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's tee surface backend feature" >&5
31344 $as_echo_n "checking for cairo's tee surface backend feature... " >&6; }
31349 tee_REQUIRES="$ac_env_tee_REQUIRES_value"
31350 tee_CFLAGS="$ac_env_tee_CFLAGS_value"
31351 tee_NONPKGCONFIG_CFLAGS="$ac_env_tee_NONPKGCONFIG_CFLAGS_value"
31352 tee_LIBS="$ac_env_tee_LIBS_value"
31353 tee_NONPKGCONFIG_LIBS="$ac_env_tee_NONPKGCONFIG_LIBS_value"
31354 tee_NONPKGCONFIG_EXTRA_LIBS="$ac_env_tee_NONPKGCONFIG_EXTRA_LIBS_value"
31359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's tee surface backend feature could be enabled" >&5
31360 $as_echo_n "checking whether cairo's tee surface backend feature could be enabled... " >&6; }
31361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_tee" >&5
31362 $as_echo "$use_tee" >&6; }
31364 if test "x$enable_tee" = "xyes" -a "x$use_tee" != xyes; then :
31365 as_fn_error $? " tee surface backend feature could not be enabled" "$LINENO" 5
31369 as_fn_error $? "invalid argument passed to --enable-tee: \`$use_tee', should be one of [no/auto/yes]" "$LINENO" 5
31372 if test "x$use_tee" = "xyes"; then :
31373 CAIRO_REQUIRES="$tee_REQUIRES"" ${CAIRO_REQUIRES}"
31375 CAIRO_CFLAGS="$tee_CFLAGS"" ${CAIRO_CFLAGS}"
31377 CAIRO_NONPKGCONFIG_CFLAGS="$tee_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31379 CAIRO_LIBS="$tee_LIBS"" ${CAIRO_LIBS}"
31381 CAIRO_NONPKGCONFIG_LIBS="$tee_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31388 unset tee_NONPKGCONFIG_CFLAGS
31390 unset tee_NONPKGCONFIG_LIBS
31391 unset tee_NONPKGCONFIG_EXTRA_LIBS
31396 if test "x$use_tee" = xyes; then
31397 CAIRO_HAS_TEE_SURFACE_TRUE=
31398 CAIRO_HAS_TEE_SURFACE_FALSE='#'
31400 CAIRO_HAS_TEE_SURFACE_TRUE='#'
31401 CAIRO_HAS_TEE_SURFACE_FALSE=
31405 cr_make_tmp='CAIRO_HAS_TEE_SURFACE=0'
31406 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
31411 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31414 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31417 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31420 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31425 cr_make_tmp='unsupported_cairo_headers += $(cairo_tee_headers)'
31426 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31429 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31431 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_tee_headers)'
31432 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31435 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31439 cr_make_tmp='all_cairo_headers += $(cairo_tee_headers)
31440 all_cairo_private += $(cairo_tee_private)
31441 all_cairo_cxx_sources += $(cairo_tee_cxx_sources)
31442 all_cairo_sources += $(cairo_tee_sources)'
31443 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31446 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31448 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_tee_headers)
31449 all_cairo_boilerplate_private += $(cairo_boilerplate_tee_private)
31450 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_tee_cxx_sources)
31451 all_cairo_boilerplate_sources += $(cairo_boilerplate_tee_sources)'
31452 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31455 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31459 cr_make_tmp='enabled_cairo_headers += $(cairo_tee_headers)
31460 enabled_cairo_private += $(cairo_tee_private)
31461 enabled_cairo_cxx_sources += $(cairo_tee_cxx_sources)
31462 enabled_cairo_sources += $(cairo_tee_sources)'
31463 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31464 "'if CAIRO_HAS_TEE_SURFACE'
31465 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31467 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31470 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31471 "'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
31472 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31474 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31476 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_tee_headers)
31477 enabled_cairo_boilerplate_private += $(cairo_boilerplate_tee_private)
31478 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_tee_cxx_sources)
31479 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_tee_sources)'
31480 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31481 "'if CAIRO_HAS_TEE_SURFACE'
31482 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31484 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31487 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31488 "'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
31489 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31491 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31497 if test "x$use_tee" = xyes; then :
31499 ac_config_files="$ac_config_files src/cairo-tee.pc:src/cairo-features.pc.in"
31503 if test "x$use_tee" = xyes; then :
31505 ac_config_files="$ac_config_files cairo-tee-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
31509 cr_make_tmp='all_cairo_pkgconf += cairo-tee.pc'
31510 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31513 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31517 cr_make_tmp='enabled_cairo_pkgconf += cairo-tee.pc'
31518 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31519 "'if CAIRO_HAS_TEE_SURFACE'
31520 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31522 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31525 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31526 "'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
31527 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31529 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31533 if test "x$use_tee" = xyes; then :
31535 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_TEE_SURFACE'
31542 cr_make_tmp=' @echo "#define CAIRO_HAS_TEE_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
31543 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31544 "'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
31545 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31547 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31551 if test "x$use_tee" = xyes; then :
31553 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
31555 "'--- The tee surface backend feature is still under active development and is
31556 --- included in this release only as a preview. It does NOT fully work yet
31557 --- and incompatible changes may yet be made to tee surface backend specific
31567 # Check whether --enable-xml was given.
31568 if test "${enable_xml+set}" = set; then :
31569 enableval=$enable_xml; enable_xml=$enableval
31574 case $enable_xml in #(
31576 use_xml="no (disabled, use --enable-xml to enable)"
31579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's xml surface backend feature" >&5
31580 $as_echo_n "checking for cairo's xml surface backend feature... " >&6; }
31585 xml_REQUIRES="$ac_env_xml_REQUIRES_value"
31586 xml_CFLAGS="$ac_env_xml_CFLAGS_value"
31587 xml_NONPKGCONFIG_CFLAGS="$ac_env_xml_NONPKGCONFIG_CFLAGS_value"
31588 xml_LIBS="$ac_env_xml_LIBS_value"
31589 xml_NONPKGCONFIG_LIBS="$ac_env_xml_NONPKGCONFIG_LIBS_value"
31590 xml_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xml_NONPKGCONFIG_EXTRA_LIBS_value"
31595 xml_NONPKGCONFIG_LIBS=-lz
31598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's xml surface backend feature could be enabled" >&5
31599 $as_echo_n "checking whether cairo's xml surface backend feature could be enabled... " >&6; }
31600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_xml" >&5
31601 $as_echo "$use_xml" >&6; }
31603 if test "x$enable_xml" = "xyes" -a "x$use_xml" != xyes; then :
31604 as_fn_error $? " xml surface backend feature could not be enabled" "$LINENO" 5
31608 as_fn_error $? "invalid argument passed to --enable-xml: \`$use_xml', should be one of [no/auto/yes]" "$LINENO" 5
31611 if test "x$use_xml" = "xyes"; then :
31612 CAIRO_REQUIRES="$xml_REQUIRES"" ${CAIRO_REQUIRES}"
31614 CAIRO_CFLAGS="$xml_CFLAGS"" ${CAIRO_CFLAGS}"
31616 CAIRO_NONPKGCONFIG_CFLAGS="$xml_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31618 CAIRO_LIBS="$xml_LIBS"" ${CAIRO_LIBS}"
31620 CAIRO_NONPKGCONFIG_LIBS="$xml_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31627 unset xml_NONPKGCONFIG_CFLAGS
31629 unset xml_NONPKGCONFIG_LIBS
31630 unset xml_NONPKGCONFIG_EXTRA_LIBS
31635 if test "x$use_xml" = xyes; then
31636 CAIRO_HAS_XML_SURFACE_TRUE=
31637 CAIRO_HAS_XML_SURFACE_FALSE='#'
31639 CAIRO_HAS_XML_SURFACE_TRUE='#'
31640 CAIRO_HAS_XML_SURFACE_FALSE=
31644 cr_make_tmp='CAIRO_HAS_XML_SURFACE=0'
31645 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
31650 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31653 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31656 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31659 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31664 cr_make_tmp='unsupported_cairo_headers += $(cairo_xml_headers)'
31665 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31668 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31670 cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_xml_headers)'
31671 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31674 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31678 cr_make_tmp='all_cairo_headers += $(cairo_xml_headers)
31679 all_cairo_private += $(cairo_xml_private)
31680 all_cairo_cxx_sources += $(cairo_xml_cxx_sources)
31681 all_cairo_sources += $(cairo_xml_sources)'
31682 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31685 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31687 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xml_headers)
31688 all_cairo_boilerplate_private += $(cairo_boilerplate_xml_private)
31689 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xml_cxx_sources)
31690 all_cairo_boilerplate_sources += $(cairo_boilerplate_xml_sources)'
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='enabled_cairo_headers += $(cairo_xml_headers)
31699 enabled_cairo_private += $(cairo_xml_private)
31700 enabled_cairo_cxx_sources += $(cairo_xml_cxx_sources)
31701 enabled_cairo_sources += $(cairo_xml_sources)'
31702 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31703 "'if CAIRO_HAS_XML_SURFACE'
31704 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31706 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31709 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31710 "'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
31711 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31713 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31715 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xml_headers)
31716 enabled_cairo_boilerplate_private += $(cairo_boilerplate_xml_private)
31717 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xml_cxx_sources)
31718 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xml_sources)'
31719 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31720 "'if CAIRO_HAS_XML_SURFACE'
31721 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31723 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31726 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31727 "'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
31728 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31730 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31736 if test "x$use_xml" = xyes; then :
31738 ac_config_files="$ac_config_files src/cairo-xml.pc:src/cairo-features.pc.in"
31742 if test "x$use_xml" = xyes; then :
31744 ac_config_files="$ac_config_files cairo-xml-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
31748 cr_make_tmp='all_cairo_pkgconf += cairo-xml.pc'
31749 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31752 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31756 cr_make_tmp='enabled_cairo_pkgconf += cairo-xml.pc'
31757 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31758 "'if CAIRO_HAS_XML_SURFACE'
31759 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31761 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31764 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31765 "'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
31766 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31768 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31772 if test "x$use_xml" = xyes; then :
31774 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XML_SURFACE'
31781 cr_make_tmp=' @echo "#define CAIRO_HAS_XML_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h'
31782 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31783 "'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
31784 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31786 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31790 if test "x$use_xml" = xyes; then :
31792 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
31794 "'--- The xml surface backend feature is still under active development and is
31795 --- included in this release only as a preview. It does NOT fully work yet
31796 --- and incompatible changes may yet be made to xml surface backend specific
31809 case $enable_user in #(
31811 use_user="no (disabled, use --enable-user to enable)"
31814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's user font backend feature" >&5
31815 $as_echo_n "checking for cairo's user font backend feature... " >&6; }
31820 user_REQUIRES="$ac_env_user_REQUIRES_value"
31821 user_CFLAGS="$ac_env_user_CFLAGS_value"
31822 user_NONPKGCONFIG_CFLAGS="$ac_env_user_NONPKGCONFIG_CFLAGS_value"
31823 user_LIBS="$ac_env_user_LIBS_value"
31824 user_NONPKGCONFIG_LIBS="$ac_env_user_NONPKGCONFIG_LIBS_value"
31825 user_NONPKGCONFIG_EXTRA_LIBS="$ac_env_user_NONPKGCONFIG_EXTRA_LIBS_value"
31830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's user font backend feature could be enabled" >&5
31831 $as_echo_n "checking whether cairo's user font backend feature could be enabled... " >&6; }
31832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_user" >&5
31833 $as_echo "$use_user" >&6; }
31835 if test "x$enable_user" = "xyes" -a "x$use_user" != xyes; then :
31836 as_fn_error $? "mandatory user font backend feature could not be enabled" "$LINENO" 5
31840 as_fn_error $? "invalid argument passed to --enable-user: \`$use_user', should be one of [no/auto/yes]" "$LINENO" 5
31843 if test "x$use_user" = "xyes"; then :
31844 CAIRO_REQUIRES="$user_REQUIRES"" ${CAIRO_REQUIRES}"
31846 CAIRO_CFLAGS="$user_CFLAGS"" ${CAIRO_CFLAGS}"
31848 CAIRO_NONPKGCONFIG_CFLAGS="$user_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31850 CAIRO_LIBS="$user_LIBS"" ${CAIRO_LIBS}"
31852 CAIRO_NONPKGCONFIG_LIBS="$user_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31857 unset user_REQUIRES
31859 unset user_NONPKGCONFIG_CFLAGS
31861 unset user_NONPKGCONFIG_LIBS
31862 unset user_NONPKGCONFIG_EXTRA_LIBS
31870 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31873 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31876 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31879 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31883 cr_make_tmp='supported_cairo_headers += $(cairo_user_headers)'
31884 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31887 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31889 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_user_headers)'
31890 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31893 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31898 cr_make_tmp='all_cairo_headers += $(cairo_user_headers)
31899 all_cairo_private += $(cairo_user_private)
31900 all_cairo_cxx_sources += $(cairo_user_cxx_sources)
31901 all_cairo_sources += $(cairo_user_sources)'
31902 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31905 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31907 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_user_headers)
31908 all_cairo_boilerplate_private += $(cairo_boilerplate_user_private)
31909 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_user_cxx_sources)
31910 all_cairo_boilerplate_sources += $(cairo_boilerplate_user_sources)'
31911 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31914 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31918 cr_make_tmp='enabled_cairo_headers += $(cairo_user_headers)
31919 enabled_cairo_private += $(cairo_user_private)
31920 enabled_cairo_cxx_sources += $(cairo_user_cxx_sources)
31921 enabled_cairo_sources += $(cairo_user_sources)'
31922 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31925 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31927 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_user_headers)
31928 enabled_cairo_boilerplate_private += $(cairo_boilerplate_user_private)
31929 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_user_cxx_sources)
31930 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_user_sources)'
31931 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31934 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31944 if test "x$use_user" = xyes; then :
31946 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_USER_FONT'
31950 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_USER_FONT'
31954 if test "x$use_user" != xyes; then :
31956 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_USER_FONT'
31962 cr_make_tmp=' @echo "#define CAIRO_HAS_USER_FONT 1" >> $(top_srcdir)/src/cairo-features.h'
31963 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31973 have_real_pthread=no
31975 # Check whether --enable-pthread was given.
31976 if test "${enable_pthread+set}" = set; then :
31977 enableval=$enable_pthread; enable_pthread=$enableval
31979 enable_pthread=auto
31982 case $enable_pthread in #(
31984 use_pthread="no (disabled, use --enable-pthread to enable)"
31987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's pthread feature" >&5
31988 $as_echo_n "checking for cairo's pthread feature... " >&6; }
31992 pthread_BASE="cairo"
31993 pthread_REQUIRES="$ac_env_pthread_REQUIRES_value"
31994 pthread_CFLAGS="$ac_env_pthread_CFLAGS_value"
31995 pthread_NONPKGCONFIG_CFLAGS="$ac_env_pthread_NONPKGCONFIG_CFLAGS_value"
31996 pthread_LIBS="$ac_env_pthread_LIBS_value"
31997 pthread_NONPKGCONFIG_LIBS="$ac_env_pthread_NONPKGCONFIG_LIBS_value"
31998 pthread_NONPKGCONFIG_EXTRA_LIBS="$ac_env_pthread_NONPKGCONFIG_EXTRA_LIBS_value"
32001 if test "x$PTHREAD_CFLAGS" = "x"; then
32002 PTHREAD_CFLAGS="-D_REENTRANT"
32004 if test "x$PTHREAD_LIBS" = "x"; then
32005 PTHREAD_LIBS="-lpthread"
32008 # AC_LANG_PROGRAM() produces a main() w/o args,
32009 # but -Wold-style-definition doesn't like that.
32010 # We need _some_ program so that we don't get
32011 # warnings about empty compilation units, so always
32012 # append a reasonable main().
32013 _compile_program="#ifndef _GNU_SOURCE
32014 #define _GNU_SOURCE /* for PTHREAD_MUTEX_INITIALIZER under linux */
32016 #include <pthread.h>
32018 pthread_mutex_t test_mutex_initializer = PTHREAD_MUTEX_INITIALIZER;
32019 int test_mutex (void)
32022 pthread_mutex_t mutex;
32023 x |= pthread_mutex_init (&mutex, NULL);
32024 x |= pthread_mutex_lock (&mutex);
32025 x |= pthread_mutex_unlock (&mutex);
32026 x |= pthread_mutex_destroy (&mutex);
32030 int test_mutex_attr (void)
32033 pthread_mutexattr_t attr;
32034 pthread_mutex_t mutex;
32035 x |= pthread_mutexattr_init (&attr);
32036 x |= pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE);
32037 x |= pthread_mutex_init (&mutex, &attr);
32038 x |= pthread_mutex_lock (&mutex);
32039 x |= pthread_mutex_unlock (&mutex);
32040 x |= pthread_mutex_destroy (&mutex);
32041 x |= pthread_mutexattr_destroy (&attr);
32045 pthread_once_t once_control = PTHREAD_ONCE_INIT;
32046 void test_once_init (void) {}
32047 int test_once (void)
32049 return pthread_once (&once_control, test_once_init);
32052 pthread_key_t test_specific_key;
32053 int test_specific (void)
32056 x |= pthread_key_create (&test_specific_key, NULL);
32057 x |= pthread_setspecific (test_specific_key, NULL);
32058 x |= pthread_getspecific (test_specific_key) != NULL;
32062 void cleaner (void *arg) { (void)arg; }
32065 test_thread_main (void *arg)
32067 pthread_cleanup_push (cleaner, arg);
32068 pthread_exit (arg);
32069 pthread_cleanup_pop (1);
32074 test_threads (void)
32078 pthread_attr_t attr;
32080 x |= pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
32081 x |= pthread_create (&thread, &attr, test_thread_main, arg);
32082 x |= pthread_equal (pthread_self(), thread);
32083 x |= pthread_join (thread, &arg);
32084 x |= pthread_attr_destroy (&attr);
32087 int main(int c, char **v) { (void)c; (void)v; return 0; }'
32089 _save_cflags="$CFLAGS"
32090 _save_ldflags="$LDFLAGS"
32092 CFLAGS="$CFLAGS $PTHREAD_CFLAGS";
32093 LIBS="$LIBS $PTHREAD_LIBS"
32094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32095 /* end confdefs.h. */
32098 if ac_fn_c_try_link "$LINENO"; then :
32099 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
32102 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
32105 rm -f core conftest.err conftest.$ac_objext \
32106 conftest$ac_exeext conftest.$ac_ext
32108 if test "x$cairo_cc_stderr" != "x"; then
32112 if test "x$cairo_cc_flag" = "xyes"; then
32113 real_pthread_CFLAGS="$PTHREAD_CFLAGS";
32114 real_pthread_LIBS="$PTHREAD_LIBS";
32115 have_real_pthread=yes
32117 real_pthread_CFLAGS="";
32118 real_pthread_LIBS="";
32119 have_real_pthread=no
32121 CFLAGS="$_save_cflags"
32122 LDFLAGS="$_save_ldflags"
32126 if test "x$have_real_pthread" != "xyes"; then
32127 # AC_LANG_PROGRAM() produces a main() w/o args,
32128 # but -Wold-style-definition doesn't like that.
32129 # We need _some_ program so that we don't get
32130 # warnings about empty compilation units, so always
32131 # append a reasonable main().
32132 _compile_program="#ifndef _GNU_SOURCE
32133 #define _GNU_SOURCE /* for PTHREAD_MUTEX_INITIALIZER under linux */
32135 #include <pthread.h>
32137 pthread_mutex_t test_mutex_initializer = PTHREAD_MUTEX_INITIALIZER;
32138 int test_mutex (void)
32141 pthread_mutex_t mutex;
32142 x |= pthread_mutex_init (&mutex, NULL);
32143 x |= pthread_mutex_lock (&mutex);
32144 x |= pthread_mutex_unlock (&mutex);
32145 x |= pthread_mutex_destroy (&mutex);
32149 int test_mutex_attr (void)
32152 pthread_mutexattr_t attr;
32153 pthread_mutex_t mutex;
32154 x |= pthread_mutexattr_init (&attr);
32155 x |= pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE);
32156 x |= pthread_mutex_init (&mutex, &attr);
32157 x |= pthread_mutex_lock (&mutex);
32158 x |= pthread_mutex_unlock (&mutex);
32159 x |= pthread_mutex_destroy (&mutex);
32160 x |= pthread_mutexattr_destroy (&attr);
32164 pthread_once_t once_control = PTHREAD_ONCE_INIT;
32165 void test_once_init (void) {}
32166 int test_once (void)
32168 return pthread_once (&once_control, test_once_init);
32171 pthread_key_t test_specific_key;
32172 int test_specific (void)
32175 x |= pthread_key_create (&test_specific_key, NULL);
32176 x |= pthread_setspecific (test_specific_key, NULL);
32177 x |= pthread_getspecific (test_specific_key) != NULL;
32181 void cleaner (void *arg) { (void)arg; }
32184 test_thread_main (void *arg)
32186 pthread_cleanup_push (cleaner, arg);
32187 pthread_exit (arg);
32188 pthread_cleanup_pop (1);
32193 test_threads (void)
32197 pthread_attr_t attr;
32199 x |= pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
32200 x |= pthread_create (&thread, &attr, test_thread_main, arg);
32201 x |= pthread_equal (pthread_self(), thread);
32202 x |= pthread_join (thread, &arg);
32203 x |= pthread_attr_destroy (&attr);
32206 int main(int c, char **v) { (void)c; (void)v; return 0; }'
32208 _save_cflags="$CFLAGS"
32209 _save_ldflags="$LDFLAGS"
32211 CFLAGS="$CFLAGS -pthread";
32213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32214 /* end confdefs.h. */
32217 if ac_fn_c_try_link "$LINENO"; then :
32218 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
32221 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
32224 rm -f core conftest.err conftest.$ac_objext \
32225 conftest$ac_exeext conftest.$ac_ext
32227 if test "x$cairo_cc_stderr" != "x"; then
32231 if test "x$cairo_cc_flag" = "xyes"; then
32232 real_pthread_CFLAGS="-pthread";
32233 real_pthread_LIBS="";
32234 have_real_pthread=yes
32236 real_pthread_CFLAGS="";
32237 real_pthread_LIBS="";
32238 have_real_pthread="no (can't link with -lpthread or -pthread)"
32240 CFLAGS="$_save_cflags"
32241 LDFLAGS="$_save_ldflags"
32250 if test "x$enable_pthread" != "xyes"; then
32251 # AC_LANG_PROGRAM() produces a main() w/o args,
32252 # but -Wold-style-definition doesn't like that.
32253 # We need _some_ program so that we don't get
32254 # warnings about empty compilation units, so always
32255 # append a reasonable main().
32256 _compile_program="#ifndef _GNU_SOURCE
32257 #define _GNU_SOURCE /* for PTHREAD_MUTEX_INITIALIZER under linux */
32259 #include <pthread.h>
32261 pthread_mutex_t test_mutex_initializer = PTHREAD_MUTEX_INITIALIZER;
32262 int test_mutex (void)
32265 pthread_mutex_t mutex;
32266 x |= pthread_mutex_init (&mutex, NULL);
32267 x |= pthread_mutex_lock (&mutex);
32268 x |= pthread_mutex_unlock (&mutex);
32269 x |= pthread_mutex_destroy (&mutex);
32273 int test_mutex_attr (void)
32276 pthread_mutexattr_t attr;
32277 pthread_mutex_t mutex;
32278 x |= pthread_mutexattr_init (&attr);
32279 x |= pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE);
32280 x |= pthread_mutex_init (&mutex, &attr);
32281 x |= pthread_mutex_lock (&mutex);
32282 x |= pthread_mutex_unlock (&mutex);
32283 x |= pthread_mutex_destroy (&mutex);
32284 x |= pthread_mutexattr_destroy (&attr);
32287 int main(int c, char **v) { (void)c; (void)v; return 0; }'
32289 _save_cflags="$CFLAGS"
32290 _save_ldflags="$LDFLAGS"
32292 CFLAGS="$CFLAGS -D_REENTRANT";
32294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32295 /* end confdefs.h. */
32298 if ac_fn_c_try_link "$LINENO"; then :
32299 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
32302 cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
32305 rm -f core conftest.err conftest.$ac_objext \
32306 conftest$ac_exeext conftest.$ac_ext
32308 if test "x$cairo_cc_stderr" != "x"; then
32312 if test "x$cairo_cc_flag" = "xyes"; then
32313 pthread_CFLAGS="-D_REENTRANT";
32321 CFLAGS="$_save_cflags"
32322 LDFLAGS="$_save_ldflags"
32328 if test "x$have_pthread" != "xyes"; then
32329 have_pthread="$have_real_pthread";
32330 pthread_CFLAGS="$real_pthread_CFLAGS";
32331 pthread_LIBS="$real_pthread_LIBS";
32334 if test "x$have_real_pthread" = "xyes"; then
32336 $as_echo "#define CAIRO_HAS_REAL_PTHREAD 1" >>confdefs.h
32339 if test "x$have_pthread" = "xyes"; then
32341 $as_echo "#define CAIRO_HAS_PTHREAD 1" >>confdefs.h
32345 if test "x$enable_pthread" = "xyes" -a "x$have_pthread" != "xyes"; then
32346 as_fn_error $? "pthread requested but not found" "$LINENO" 5
32349 use_pthread="$have_pthread"
32350 pthread_REQUIRES=""
32353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's pthread feature could be enabled" >&5
32354 $as_echo_n "checking whether cairo's pthread feature could be enabled... " >&6; }
32355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_pthread" >&5
32356 $as_echo "$use_pthread" >&6; }
32358 if test "x$enable_pthread" = "xyes" -a "x$use_pthread" != xyes; then :
32359 as_fn_error $? " pthread feature could not be enabled" "$LINENO" 5
32363 as_fn_error $? "invalid argument passed to --enable-pthread: \`$use_pthread', should be one of [no/auto/yes]" "$LINENO" 5
32366 if test "x$use_pthread" = "xyes"; then :
32367 CAIRO_REQUIRES="$pthread_REQUIRES"" ${CAIRO_REQUIRES}"
32369 CAIRO_CFLAGS="$pthread_CFLAGS"" ${CAIRO_CFLAGS}"
32371 CAIRO_NONPKGCONFIG_CFLAGS="$pthread_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
32373 CAIRO_LIBS="$pthread_LIBS"" ${CAIRO_LIBS}"
32375 CAIRO_NONPKGCONFIG_LIBS="$pthread_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
32380 unset pthread_REQUIRES
32381 unset pthread_CFLAGS
32382 unset pthread_NONPKGCONFIG_CFLAGS
32384 unset pthread_NONPKGCONFIG_LIBS
32385 unset pthread_NONPKGCONFIG_EXTRA_LIBS
32390 if test "x$use_pthread" = xyes; then
32391 CAIRO_HAS_PTHREAD_TRUE=
32392 CAIRO_HAS_PTHREAD_FALSE='#'
32394 CAIRO_HAS_PTHREAD_TRUE='#'
32395 CAIRO_HAS_PTHREAD_FALSE=
32399 cr_make_tmp='CAIRO_HAS_PTHREAD=0'
32400 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
32405 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32408 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32411 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32414 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32422 cr_make_tmp='all_cairo_private += $(cairo_pthread_private) $(cairo_pthread_headers)
32423 all_cairo_cxx_sources += $(cairo_pthread_cxx_sources)
32424 all_cairo_sources += $(cairo_pthread_sources)'
32425 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32428 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32430 cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_pthread_private) $(cairo_boilerplate_pthread_headers)
32431 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pthread_cxx_sources)
32432 all_cairo_boilerplate_sources += $(cairo_boilerplate_pthread_sources)'
32433 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32436 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32440 cr_make_tmp='enabled_cairo_private += $(cairo_pthread_private) $(cairo_pthread_headers)
32441 enabled_cairo_cxx_sources += $(cairo_pthread_cxx_sources)
32442 enabled_cairo_sources += $(cairo_pthread_sources)'
32443 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32444 "'if CAIRO_HAS_PTHREAD'
32445 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32447 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32450 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32451 "'ifeq ($(CAIRO_HAS_PTHREAD),1)'
32452 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32454 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32456 cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_pthread_private) $(cairo_boilerplate_pthread_headers)
32457 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pthread_cxx_sources)
32458 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_pthread_sources)'
32459 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32460 "'if CAIRO_HAS_PTHREAD'
32461 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32463 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32466 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32467 "'ifeq ($(CAIRO_HAS_PTHREAD),1)'
32468 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32470 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32481 if test "x$use_pthread" = xyes; then :
32484 $as_echo "#define CAIRO_HAS_PTHREAD 1" >>confdefs.h
32489 cr_make_tmp=' @echo "#define CAIRO_HAS_PTHREAD 1" >> $(top_srcdir)/src/cairo-features.h'
32490 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32491 "'ifeq ($(CAIRO_HAS_PTHREAD),1)'
32492 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32494 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32503 if test "x$use_pthread" = "xyes" -a "x$have_real_pthread" = "xyes"; then
32504 HAVE_REAL_PTHREAD_TRUE=
32505 HAVE_REAL_PTHREAD_FALSE='#'
32507 HAVE_REAL_PTHREAD_TRUE='#'
32508 HAVE_REAL_PTHREAD_FALSE=
32511 if test "x$use_pthread" = "xyes"; then
32513 HAVE_PTHREAD_FALSE='#'
32515 HAVE_PTHREAD_TRUE='#'
32516 HAVE_PTHREAD_FALSE=
32526 # Check whether --enable-gobject was given.
32527 if test "${enable_gobject+set}" = set; then :
32528 enableval=$enable_gobject; enable_gobject=$enableval
32530 enable_gobject=auto
32533 case $enable_gobject in #(
32535 use_gobject="no (disabled, use --enable-gobject to enable)"
32538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's gobject functions feature" >&5
32539 $as_echo_n "checking for cairo's gobject functions feature... " >&6; }
32543 gobject_BASE="cairo"
32544 gobject_REQUIRES="$ac_env_gobject_REQUIRES_value"
32545 gobject_CFLAGS="$ac_env_gobject_CFLAGS_value"
32546 gobject_NONPKGCONFIG_CFLAGS="$ac_env_gobject_NONPKGCONFIG_CFLAGS_value"
32547 gobject_LIBS="$ac_env_gobject_LIBS_value"
32548 gobject_NONPKGCONFIG_LIBS="$ac_env_gobject_NONPKGCONFIG_LIBS_value"
32549 gobject_NONPKGCONFIG_EXTRA_LIBS="$ac_env_gobject_NONPKGCONFIG_EXTRA_LIBS_value"
32553 gobject_REQUIRES="gobject-2.0 glib-2.0"
32556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
32557 $as_echo_n "checking for GOBJECT... " >&6; }
32559 if test -n "$GOBJECT_CFLAGS"; then
32560 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
32561 elif test -n "$PKG_CONFIG"; then
32562 if test -n "$PKG_CONFIG" && \
32563 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
32564 ($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
32566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32567 test $ac_status = 0; }; then
32568 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "$gobject_REQUIRES" 2>/dev/null`
32575 if test -n "$GOBJECT_LIBS"; then
32576 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
32577 elif test -n "$PKG_CONFIG"; then
32578 if test -n "$PKG_CONFIG" && \
32579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
32580 ($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
32582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32583 test $ac_status = 0; }; then
32584 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "$gobject_REQUIRES" 2>/dev/null`
32594 if test $pkg_failed = yes; then
32596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32597 _pkg_short_errors_supported=yes
32599 _pkg_short_errors_supported=no
32601 if test $_pkg_short_errors_supported = yes; then
32602 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gobject_REQUIRES" 2>&1`
32604 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gobject_REQUIRES" 2>&1`
32606 # Put the nasty error message in config.log where it belongs
32607 echo "$GOBJECT_PKG_ERRORS" >&5
32609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32610 $as_echo "no" >&6; }
32611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32612 $as_echo "no" >&6; }
32613 use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"
32614 elif test $pkg_failed = untried; then
32615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32616 $as_echo "no" >&6; }
32617 use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"
32619 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
32620 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32622 $as_echo "yes" >&6; }
32625 gobject_NONPKGCONFIG_EXTRA_LIBS="-L\${libdir} -lcairo-gobject"
32628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's gobject functions feature could be enabled" >&5
32629 $as_echo_n "checking whether cairo's gobject functions feature could be enabled... " >&6; }
32630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gobject" >&5
32631 $as_echo "$use_gobject" >&6; }
32633 if test "x$enable_gobject" = "xyes" -a "x$use_gobject" != xyes; then :
32634 as_fn_error $? " gobject functions feature could not be enabled" "$LINENO" 5
32638 as_fn_error $? "invalid argument passed to --enable-gobject: \`$use_gobject', should be one of [no/auto/yes]" "$LINENO" 5
32641 if test "x$use_gobject" = "xyes"; then :
32642 CAIRO_REQUIRES="$gobject_REQUIRES"" ${CAIRO_REQUIRES}"
32644 CAIRO_CFLAGS="$gobject_CFLAGS"" ${CAIRO_CFLAGS}"
32646 CAIRO_NONPKGCONFIG_CFLAGS="$gobject_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
32648 CAIRO_LIBS="$gobject_LIBS"" ${CAIRO_LIBS}"
32650 CAIRO_NONPKGCONFIG_LIBS="$gobject_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
32655 unset gobject_REQUIRES
32656 unset gobject_CFLAGS
32657 unset gobject_NONPKGCONFIG_CFLAGS
32659 unset gobject_NONPKGCONFIG_LIBS
32660 unset gobject_NONPKGCONFIG_EXTRA_LIBS
32665 if test "x$use_gobject" = xyes; then
32666 CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE=
32667 CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE='#'
32669 CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE='#'
32670 CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE=
32674 cr_make_tmp='CAIRO_HAS_GOBJECT_FUNCTIONS=0'
32675 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
32680 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32683 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32686 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32689 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32693 cr_make_tmp='supported_cairo_headers += $(cairo_gobject_headers)'
32694 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32697 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32699 cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_gobject_headers)'
32700 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32703 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32708 cr_make_tmp='all_cairo_headers += $(cairo_gobject_headers)
32709 all_cairo_private += $(cairo_gobject_private)
32710 all_cairo_cxx_sources += $(cairo_gobject_cxx_sources)
32711 all_cairo_sources += $(cairo_gobject_sources)'
32712 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32715 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32717 cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_gobject_headers)
32718 all_cairo_boilerplate_private += $(cairo_boilerplate_gobject_private)
32719 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gobject_cxx_sources)
32720 all_cairo_boilerplate_sources += $(cairo_boilerplate_gobject_sources)'
32721 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32724 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32728 cr_make_tmp='enabled_cairo_headers += $(cairo_gobject_headers)
32729 enabled_cairo_private += $(cairo_gobject_private)
32730 enabled_cairo_cxx_sources += $(cairo_gobject_cxx_sources)
32731 enabled_cairo_sources += $(cairo_gobject_sources)'
32732 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32733 "'if CAIRO_HAS_GOBJECT_FUNCTIONS'
32734 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32736 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32739 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32740 "'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
32741 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32743 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32745 cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_gobject_headers)
32746 enabled_cairo_boilerplate_private += $(cairo_boilerplate_gobject_private)
32747 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gobject_cxx_sources)
32748 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_gobject_sources)'
32749 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32750 "'if CAIRO_HAS_GOBJECT_FUNCTIONS'
32751 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32753 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32756 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32757 "'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
32758 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32760 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32766 if test "x$use_gobject" = xyes; then :
32768 ac_config_files="$ac_config_files src/cairo-gobject.pc:src/cairo-features.pc.in"
32772 if test "x$use_gobject" = xyes; then :
32774 ac_config_files="$ac_config_files cairo-gobject-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
32778 cr_make_tmp='all_cairo_pkgconf += cairo-gobject.pc'
32779 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32782 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32786 cr_make_tmp='enabled_cairo_pkgconf += cairo-gobject.pc'
32787 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32788 "'if CAIRO_HAS_GOBJECT_FUNCTIONS'
32789 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32791 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32794 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32795 "'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
32796 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32798 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32802 if test "x$use_gobject" = xyes; then :
32804 CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GOBJECT_FUNCTIONS'
32808 CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_GOBJECT_FUNCTIONS'
32812 if test "x$use_gobject" != xyes; then :
32814 CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_GOBJECT_FUNCTIONS'
32820 cr_make_tmp=' @echo "#define CAIRO_HAS_GOBJECT_FUNCTIONS 1" >> $(top_srcdir)/src/cairo-features.h'
32821 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32822 "'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
32823 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32825 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32834 if test "x$use_gobject" = "xyes"; then
32837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
32838 $as_echo_n "checking for GOBJECT... " >&6; }
32840 if test -n "$GOBJECT_CFLAGS"; then
32841 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
32842 elif test -n "$PKG_CONFIG"; then
32843 if test -n "$PKG_CONFIG" && \
32844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
32845 ($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
32847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32848 test $ac_status = 0; }; then
32849 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "$gobject_REQUIRES" 2>/dev/null`
32856 if test -n "$GOBJECT_LIBS"; then
32857 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
32858 elif test -n "$PKG_CONFIG"; then
32859 if test -n "$PKG_CONFIG" && \
32860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
32861 ($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
32863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32864 test $ac_status = 0; }; then
32865 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "$gobject_REQUIRES" 2>/dev/null`
32875 if test $pkg_failed = yes; then
32877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32878 _pkg_short_errors_supported=yes
32880 _pkg_short_errors_supported=no
32882 if test $_pkg_short_errors_supported = yes; then
32883 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gobject_REQUIRES" 2>&1`
32885 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gobject_REQUIRES" 2>&1`
32887 # Put the nasty error message in config.log where it belongs
32888 echo "$GOBJECT_PKG_ERRORS" >&5
32890 as_fn_error $? "Package requirements ($gobject_REQUIRES) were not met:
32892 $GOBJECT_PKG_ERRORS
32894 Consider adjusting the PKG_CONFIG_PATH environment variable if you
32895 installed software in a non-standard prefix.
32897 Alternatively, you may set the environment variables GOBJECT_CFLAGS
32898 and GOBJECT_LIBS to avoid the need to call pkg-config.
32899 See the pkg-config man page for more details.
32901 elif test $pkg_failed = untried; then
32902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32904 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
32905 is in your PATH or set the PKG_CONFIG environment variable to the full
32906 path to pkg-config.
32908 Alternatively, you may set the environment variables GOBJECT_CFLAGS
32909 and GOBJECT_LIBS to avoid the need to call pkg-config.
32910 See the pkg-config man page for more details.
32912 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
32913 See \`config.log' for more details" "$LINENO" 5 ; }
32915 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
32916 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
32917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32918 $as_echo "yes" >&6; }
32924 # Check whether --enable-full-testing was given.
32925 if test "${enable_full_testing+set}" = set; then :
32926 enableval=$enable_full_testing;
32927 if test "x$enableval" = "xyes"; then
32928 CAIRO_TEST_MODE=full
32935 if test "x$any2ppm_svg" = "xyes" \
32936 -o "x$any2ppm_pdf" = "xyes" \
32937 -o "x$any2ppm_ps" = "xyes" \
32938 -o "x$any2ppm_cs" = "xyes"; then
32939 BUILD_ANY2PPM_TRUE=
32940 BUILD_ANY2PPM_FALSE='#'
32942 BUILD_ANY2PPM_TRUE='#'
32943 BUILD_ANY2PPM_FALSE=
32957 cat >>confdefs.h <<_ACEOF
32958 #define SHARED_LIB_EXT "${SHLIB_EXT}"
32965 *-linux*|*-*bsd*|*-solaris*|*-*-darwin*|*-dragonfly*|*-*-gnu*)
32966 have_ld_preload="yes"
32969 have_ld_preload="no"
32973 # Check whether --enable-trace was given.
32974 if test "${enable_trace+set}" = set; then :
32975 enableval=$enable_trace; enable_trace=$enableval
32980 case $enable_trace in #(
32982 use_trace="no (disabled, use --enable-trace to enable)"
32985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's cairo-trace feature" >&5
32986 $as_echo_n "checking for cairo's cairo-trace feature... " >&6; }
32991 trace_REQUIRES="$ac_env_trace_REQUIRES_value"
32992 trace_CFLAGS="$ac_env_trace_CFLAGS_value"
32993 trace_NONPKGCONFIG_CFLAGS="$ac_env_trace_NONPKGCONFIG_CFLAGS_value"
32994 trace_LIBS="$ac_env_trace_LIBS_value"
32995 trace_NONPKGCONFIG_LIBS="$ac_env_trace_NONPKGCONFIG_LIBS_value"
32996 trace_NONPKGCONFIG_EXTRA_LIBS="$ac_env_trace_NONPKGCONFIG_EXTRA_LIBS_value"
33000 if test "x$have_ld_preload" != "xyes" -o \
33001 "x$have_libz" != "xyes" -o \
33002 "x$have_real_pthread" != "xyes" -o \
33003 "x$have_dlsym" != "xyes"; then
33004 use_trace="no (requires dynamic linker and zlib and real pthreads)"
33008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's cairo-trace feature could be enabled" >&5
33009 $as_echo_n "checking whether cairo's cairo-trace feature could be enabled... " >&6; }
33010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_trace" >&5
33011 $as_echo "$use_trace" >&6; }
33013 if test "x$enable_trace" = "xyes" -a "x$use_trace" != xyes; then :
33014 as_fn_error $? " cairo-trace feature could not be enabled" "$LINENO" 5
33018 as_fn_error $? "invalid argument passed to --enable-trace: \`$use_trace', should be one of [no/auto/yes]" "$LINENO" 5
33021 if test "x$use_trace" = "xyes"; then :
33022 CAIRO_REQUIRES="$trace_REQUIRES"" ${CAIRO_REQUIRES}"
33024 CAIRO_CFLAGS="$trace_CFLAGS"" ${CAIRO_CFLAGS}"
33026 CAIRO_NONPKGCONFIG_CFLAGS="$trace_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
33028 CAIRO_LIBS="$trace_LIBS"" ${CAIRO_LIBS}"
33030 CAIRO_NONPKGCONFIG_LIBS="$trace_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
33035 unset trace_REQUIRES
33037 unset trace_NONPKGCONFIG_CFLAGS
33039 unset trace_NONPKGCONFIG_LIBS
33040 unset trace_NONPKGCONFIG_EXTRA_LIBS
33045 if test "x$use_trace" = xyes; then
33046 CAIRO_HAS_TRACE_TRUE=
33047 CAIRO_HAS_TRACE_FALSE='#'
33049 CAIRO_HAS_TRACE_TRUE='#'
33050 CAIRO_HAS_TRACE_FALSE=
33054 cr_make_tmp='CAIRO_HAS_TRACE=0'
33055 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
33060 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33063 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33066 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33069 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33077 cr_make_tmp='all_cairo_private += $(cairo_trace_private) $(cairo_trace_headers)
33078 all_cairo_cxx_sources += $(cairo_trace_cxx_sources)
33079 all_cairo_sources += $(cairo_trace_sources)'
33080 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33083 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33085 cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_trace_private) $(cairo_boilerplate_trace_headers)
33086 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_trace_cxx_sources)
33087 all_cairo_boilerplate_sources += $(cairo_boilerplate_trace_sources)'
33088 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33091 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33095 cr_make_tmp='enabled_cairo_private += $(cairo_trace_private) $(cairo_trace_headers)
33096 enabled_cairo_cxx_sources += $(cairo_trace_cxx_sources)
33097 enabled_cairo_sources += $(cairo_trace_sources)'
33098 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33099 "'if CAIRO_HAS_TRACE'
33100 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33102 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33105 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33106 "'ifeq ($(CAIRO_HAS_TRACE),1)'
33107 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33109 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33111 cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_trace_private) $(cairo_boilerplate_trace_headers)
33112 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_trace_cxx_sources)
33113 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_trace_sources)'
33114 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33115 "'if CAIRO_HAS_TRACE'
33116 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33118 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33121 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33122 "'ifeq ($(CAIRO_HAS_TRACE),1)'
33123 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33125 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33136 if test "x$use_trace" = xyes; then :
33139 $as_echo "#define CAIRO_HAS_TRACE 1" >>confdefs.h
33144 cr_make_tmp=' @echo "#define CAIRO_HAS_TRACE 1" >> $(top_srcdir)/src/cairo-features.h'
33145 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33146 "'ifeq ($(CAIRO_HAS_TRACE),1)'
33147 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33149 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33159 # Check whether --enable-interpreter was given.
33160 if test "${enable_interpreter+set}" = set; then :
33161 enableval=$enable_interpreter; enable_interpreter=$enableval
33163 enable_interpreter=yes
33166 case $enable_interpreter in #(
33168 use_interpreter="no (disabled, use --enable-interpreter to enable)"
33171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's cairo-script-interpreter feature" >&5
33172 $as_echo_n "checking for cairo's cairo-script-interpreter feature... " >&6; }
33175 use_interpreter=yes
33176 interpreter_BASE="cairo"
33177 interpreter_REQUIRES="$ac_env_interpreter_REQUIRES_value"
33178 interpreter_CFLAGS="$ac_env_interpreter_CFLAGS_value"
33179 interpreter_NONPKGCONFIG_CFLAGS="$ac_env_interpreter_NONPKGCONFIG_CFLAGS_value"
33180 interpreter_LIBS="$ac_env_interpreter_LIBS_value"
33181 interpreter_NONPKGCONFIG_LIBS="$ac_env_interpreter_NONPKGCONFIG_LIBS_value"
33182 interpreter_NONPKGCONFIG_EXTRA_LIBS="$ac_env_interpreter_NONPKGCONFIG_EXTRA_LIBS_value"
33186 if test "x$have_libz" != "xyes"; then
33187 use_interpreter="no (requires zlib)"
33191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's cairo-script-interpreter feature could be enabled" >&5
33192 $as_echo_n "checking whether cairo's cairo-script-interpreter feature could be enabled... " >&6; }
33193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_interpreter" >&5
33194 $as_echo "$use_interpreter" >&6; }
33196 if test "x$enable_interpreter" = "xyes" -a "x$use_interpreter" != xyes; then :
33197 as_fn_error $? "recommended cairo-script-interpreter feature could not be enabled" "$LINENO" 5
33201 as_fn_error $? "invalid argument passed to --enable-interpreter: \`$use_interpreter', should be one of [no/auto/yes]" "$LINENO" 5
33204 if test "x$use_interpreter" = "xyes"; then :
33205 CAIRO_REQUIRES="$interpreter_REQUIRES"" ${CAIRO_REQUIRES}"
33207 CAIRO_CFLAGS="$interpreter_CFLAGS"" ${CAIRO_CFLAGS}"
33209 CAIRO_NONPKGCONFIG_CFLAGS="$interpreter_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
33211 CAIRO_LIBS="$interpreter_LIBS"" ${CAIRO_LIBS}"
33213 CAIRO_NONPKGCONFIG_LIBS="$interpreter_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
33217 unset interpreter_BASE
33218 unset interpreter_REQUIRES
33219 unset interpreter_CFLAGS
33220 unset interpreter_NONPKGCONFIG_CFLAGS
33221 unset interpreter_LIBS
33222 unset interpreter_NONPKGCONFIG_LIBS
33223 unset interpreter_NONPKGCONFIG_EXTRA_LIBS
33228 if test "x$use_interpreter" = xyes; then
33229 CAIRO_HAS_INTERPRETER_TRUE=
33230 CAIRO_HAS_INTERPRETER_FALSE='#'
33232 CAIRO_HAS_INTERPRETER_TRUE='#'
33233 CAIRO_HAS_INTERPRETER_FALSE=
33237 cr_make_tmp='CAIRO_HAS_INTERPRETER=1'
33238 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
33243 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33246 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33249 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33252 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33260 cr_make_tmp='all_cairo_private += $(cairo_interpreter_private) $(cairo_interpreter_headers)
33261 all_cairo_cxx_sources += $(cairo_interpreter_cxx_sources)
33262 all_cairo_sources += $(cairo_interpreter_sources)'
33263 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33266 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33268 cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_interpreter_private) $(cairo_boilerplate_interpreter_headers)
33269 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_interpreter_cxx_sources)
33270 all_cairo_boilerplate_sources += $(cairo_boilerplate_interpreter_sources)'
33271 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33274 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33278 cr_make_tmp='enabled_cairo_private += $(cairo_interpreter_private) $(cairo_interpreter_headers)
33279 enabled_cairo_cxx_sources += $(cairo_interpreter_cxx_sources)
33280 enabled_cairo_sources += $(cairo_interpreter_sources)'
33281 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33282 "'if CAIRO_HAS_INTERPRETER'
33283 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33285 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33288 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33289 "'ifeq ($(CAIRO_HAS_INTERPRETER),1)'
33290 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33292 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33294 cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_interpreter_private) $(cairo_boilerplate_interpreter_headers)
33295 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_interpreter_cxx_sources)
33296 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_interpreter_sources)'
33297 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33298 "'if CAIRO_HAS_INTERPRETER'
33299 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33301 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33304 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33305 "'ifeq ($(CAIRO_HAS_INTERPRETER),1)'
33306 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33308 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33319 if test "x$use_interpreter" = xyes; then :
33322 $as_echo "#define CAIRO_HAS_INTERPRETER 1" >>confdefs.h
33327 cr_make_tmp=' @echo "#define CAIRO_HAS_INTERPRETER 1" >> $(top_srcdir)/src/cairo-features.h'
33328 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33329 "'ifeq ($(CAIRO_HAS_INTERPRETER),1)'
33330 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33332 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33337 if test "x$use_interpreter" != xyes; then :
33339 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
33341 "'+++ It is strongly recommended that you do NOT disable the
33342 +++ cairo-script-interpreter feature.'
33351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd_openr in -lbfd" >&5
33352 $as_echo_n "checking for bfd_openr in -lbfd... " >&6; }
33353 if test "${ac_cv_lib_bfd_bfd_openr+set}" = set; then :
33354 $as_echo_n "(cached) " >&6
33356 ac_check_lib_save_LIBS=$LIBS
33358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33359 /* end confdefs.h. */
33361 /* Override any GCC internal prototype to avoid an error.
33362 Use char because int might match the return type of a GCC
33363 builtin and then its argument prototype would still apply. */
33371 return bfd_openr ();
33376 if ac_fn_c_try_link "$LINENO"; then :
33377 ac_cv_lib_bfd_bfd_openr=yes
33379 ac_cv_lib_bfd_bfd_openr=no
33381 rm -f core conftest.err conftest.$ac_objext \
33382 conftest$ac_exeext conftest.$ac_ext
33383 LIBS=$ac_check_lib_save_LIBS
33385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfd_bfd_openr" >&5
33386 $as_echo "$ac_cv_lib_bfd_bfd_openr" >&6; }
33387 if test "x$ac_cv_lib_bfd_bfd_openr" = x""yes; then :
33388 ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
33389 if test "x$ac_cv_header_bfd_h" = x""yes; then :
33400 ac_fn_c_check_header_mongrel "$LINENO" "libiberty.h" "ac_cv_header_libiberty_h" "$ac_includes_default"
33401 if test "x$ac_cv_header_libiberty_h" = x""yes; then :
33408 if test "x$have_bfd" = "xyes"; then
33410 $as_echo "#define HAVE_BFD 1" >>confdefs.h
33416 # Check whether --enable-symbol-lookup was given.
33417 if test "${enable_symbol_lookup+set}" = set; then :
33418 enableval=$enable_symbol_lookup; enable_symbol_lookup=$enableval
33420 enable_symbol_lookup=auto
33423 case $enable_symbol_lookup in #(
33425 use_symbol_lookup="no (disabled, use --enable-symbol-lookup to enable)"
33428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's symbol-lookup feature" >&5
33429 $as_echo_n "checking for cairo's symbol-lookup feature... " >&6; }
33432 use_symbol_lookup=yes
33433 symbol_lookup_BASE="cairo"
33434 symbol_lookup_REQUIRES="$ac_env_symbol_lookup_REQUIRES_value"
33435 symbol_lookup_CFLAGS="$ac_env_symbol_lookup_CFLAGS_value"
33436 symbol_lookup_NONPKGCONFIG_CFLAGS="$ac_env_symbol_lookup_NONPKGCONFIG_CFLAGS_value"
33437 symbol_lookup_LIBS="$ac_env_symbol_lookup_LIBS_value"
33438 symbol_lookup_NONPKGCONFIG_LIBS="$ac_env_symbol_lookup_NONPKGCONFIG_LIBS_value"
33439 symbol_lookup_NONPKGCONFIG_EXTRA_LIBS="$ac_env_symbol_lookup_NONPKGCONFIG_EXTRA_LIBS_value"
33443 if test "x$have_bfd" != "xyes"; then
33444 use_symbol_lookup="no (requires bfd)"
33448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's symbol-lookup feature could be enabled" >&5
33449 $as_echo_n "checking whether cairo's symbol-lookup feature could be enabled... " >&6; }
33450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_symbol_lookup" >&5
33451 $as_echo "$use_symbol_lookup" >&6; }
33453 if test "x$enable_symbol_lookup" = "xyes" -a "x$use_symbol_lookup" != xyes; then :
33454 as_fn_error $? " symbol-lookup feature could not be enabled" "$LINENO" 5
33458 as_fn_error $? "invalid argument passed to --enable-symbol-lookup: \`$use_symbol_lookup', should be one of [no/auto/yes]" "$LINENO" 5
33461 if test "x$use_symbol_lookup" = "xyes"; then :
33462 CAIRO_REQUIRES="$symbol_lookup_REQUIRES"" ${CAIRO_REQUIRES}"
33464 CAIRO_CFLAGS="$symbol_lookup_CFLAGS"" ${CAIRO_CFLAGS}"
33466 CAIRO_NONPKGCONFIG_CFLAGS="$symbol_lookup_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
33468 CAIRO_LIBS="$symbol_lookup_LIBS"" ${CAIRO_LIBS}"
33470 CAIRO_NONPKGCONFIG_LIBS="$symbol_lookup_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
33474 unset symbol_lookup_BASE
33475 unset symbol_lookup_REQUIRES
33476 unset symbol_lookup_CFLAGS
33477 unset symbol_lookup_NONPKGCONFIG_CFLAGS
33478 unset symbol_lookup_LIBS
33479 unset symbol_lookup_NONPKGCONFIG_LIBS
33480 unset symbol_lookup_NONPKGCONFIG_EXTRA_LIBS
33485 if test "x$use_symbol_lookup" = xyes; then
33486 CAIRO_HAS_SYMBOL_LOOKUP_TRUE=
33487 CAIRO_HAS_SYMBOL_LOOKUP_FALSE='#'
33489 CAIRO_HAS_SYMBOL_LOOKUP_TRUE='#'
33490 CAIRO_HAS_SYMBOL_LOOKUP_FALSE=
33494 cr_make_tmp='CAIRO_HAS_SYMBOL_LOOKUP=0'
33495 CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
33500 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33503 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33506 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33509 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33517 cr_make_tmp='all_cairo_private += $(cairo_symbol_lookup_private) $(cairo_symbol_lookup_headers)
33518 all_cairo_cxx_sources += $(cairo_symbol_lookup_cxx_sources)
33519 all_cairo_sources += $(cairo_symbol_lookup_sources)'
33520 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33523 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33525 cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_symbol_lookup_private) $(cairo_boilerplate_symbol_lookup_headers)
33526 all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_symbol_lookup_cxx_sources)
33527 all_cairo_boilerplate_sources += $(cairo_boilerplate_symbol_lookup_sources)'
33528 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33531 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33535 cr_make_tmp='enabled_cairo_private += $(cairo_symbol_lookup_private) $(cairo_symbol_lookup_headers)
33536 enabled_cairo_cxx_sources += $(cairo_symbol_lookup_cxx_sources)
33537 enabled_cairo_sources += $(cairo_symbol_lookup_sources)'
33538 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33539 "'if CAIRO_HAS_SYMBOL_LOOKUP'
33540 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33542 CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33545 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33546 "'ifeq ($(CAIRO_HAS_SYMBOL_LOOKUP),1)'
33547 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33549 CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33551 cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_symbol_lookup_private) $(cairo_boilerplate_symbol_lookup_headers)
33552 enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_symbol_lookup_cxx_sources)
33553 enabled_cairo_boilerplate_sources += $(cairo_boilerplate_symbol_lookup_sources)'
33554 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33555 "'if CAIRO_HAS_SYMBOL_LOOKUP'
33556 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33558 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33561 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33562 "'ifeq ($(CAIRO_HAS_SYMBOL_LOOKUP),1)'
33563 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33565 CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33576 if test "x$use_symbol_lookup" = xyes; then :
33579 $as_echo "#define CAIRO_HAS_SYMBOL_LOOKUP 1" >>confdefs.h
33584 cr_make_tmp=' @echo "#define CAIRO_HAS_SYMBOL_LOOKUP 1" >> $(top_srcdir)/src/cairo-features.h'
33585 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33586 "'ifeq ($(CAIRO_HAS_SYMBOL_LOOKUP),1)'
33587 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33589 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib" >&5
33602 $as_echo_n "checking for glib... " >&6; }
33604 if test -n "$glib_CFLAGS"; then
33605 pkg_cv_glib_CFLAGS="$glib_CFLAGS"
33606 elif test -n "$PKG_CONFIG"; then
33607 if test -n "$PKG_CONFIG" && \
33608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
33609 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
33611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33612 test $ac_status = 0; }; then
33613 pkg_cv_glib_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
33620 if test -n "$glib_LIBS"; then
33621 pkg_cv_glib_LIBS="$glib_LIBS"
33622 elif test -n "$PKG_CONFIG"; then
33623 if test -n "$PKG_CONFIG" && \
33624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
33625 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
33627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33628 test $ac_status = 0; }; then
33629 pkg_cv_glib_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
33639 if test $pkg_failed = yes; then
33641 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33642 _pkg_short_errors_supported=yes
33644 _pkg_short_errors_supported=no
33646 if test $_pkg_short_errors_supported = yes; then
33647 glib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
33649 glib_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
33651 # Put the nasty error message in config.log where it belongs
33652 echo "$glib_PKG_ERRORS" >&5
33654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33655 $as_echo "no" >&6; }
33657 elif test $pkg_failed = untried; then
33660 glib_CFLAGS=$pkg_cv_glib_CFLAGS
33661 glib_LIBS=$pkg_cv_glib_LIBS
33662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33663 $as_echo "yes" >&6; }
33668 if test "x$have_glib" = "xyes"; then
33670 BUILD_SPHINX_FALSE='#'
33672 BUILD_SPHINX_TRUE='#'
33673 BUILD_SPHINX_FALSE=
33678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
33679 $as_echo_n "checking for shm_open in -lrt... " >&6; }
33680 if test "${ac_cv_lib_rt_shm_open+set}" = set; then :
33681 $as_echo_n "(cached) " >&6
33683 ac_check_lib_save_LIBS=$LIBS
33685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33686 /* end confdefs.h. */
33688 /* Override any GCC internal prototype to avoid an error.
33689 Use char because int might match the return type of a GCC
33690 builtin and then its argument prototype would still apply. */
33698 return shm_open ();
33703 if ac_fn_c_try_link "$LINENO"; then :
33704 ac_cv_lib_rt_shm_open=yes
33706 ac_cv_lib_rt_shm_open=no
33708 rm -f core conftest.err conftest.$ac_objext \
33709 conftest$ac_exeext conftest.$ac_ext
33710 LIBS=$ac_check_lib_save_LIBS
33712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
33713 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
33714 if test "x$ac_cv_lib_rt_shm_open" = x""yes; then :
33722 # Check whether --enable-some-floating-point was given.
33723 if test "${enable_some_floating_point+set}" = set; then :
33724 enableval=$enable_some_floating_point;
33725 if test "x$enableval" = "xno"; then
33726 # A value of 'no' for $enableval means that they want to disable, which
33727 # means 'yes' for $disable_some_floating_point.
33728 disable_some_floating_point=yes
33732 disable_some_floating_point=no
33736 if test "x$disable_some_floating_point" = "xyes"; then
33737 DISABLE_SOME_FLOATING_POINT_TRUE=
33738 DISABLE_SOME_FLOATING_POINT_FALSE='#'
33740 DISABLE_SOME_FLOATING_POINT_TRUE='#'
33741 DISABLE_SOME_FLOATING_POINT_FALSE=
33744 if test "x$disable_some_floating_point" = "xyes"; then
33746 $as_echo "#define DISABLE_SOME_FLOATING_POINT 1" >>confdefs.h
33752 if test "x$use_skia" = "xyes"; then :
33755 if test "x$use_qt" = "xyes"; then :
33758 if test "x$use_beos" = "xyes"; then :
33762 if test "x$need_cxx" = "xyes"; then
33764 BUILD_CXX_FALSE='#'
33772 # We use GTK+ for some utility/debugging tools
33775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
33776 $as_echo_n "checking for gtk... " >&6; }
33778 if test -n "$gtk_CFLAGS"; then
33779 pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
33780 elif test -n "$PKG_CONFIG"; then
33781 if test -n "$PKG_CONFIG" && \
33782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0\"\""; } >&5
33783 ($PKG_CONFIG --exists --print-errors ""gtk+-2.0"") 2>&5
33785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33786 test $ac_status = 0; }; then
33787 pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags ""gtk+-2.0"" 2>/dev/null`
33794 if test -n "$gtk_LIBS"; then
33795 pkg_cv_gtk_LIBS="$gtk_LIBS"
33796 elif test -n "$PKG_CONFIG"; then
33797 if test -n "$PKG_CONFIG" && \
33798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0\"\""; } >&5
33799 ($PKG_CONFIG --exists --print-errors ""gtk+-2.0"") 2>&5
33801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33802 test $ac_status = 0; }; then
33803 pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs ""gtk+-2.0"" 2>/dev/null`
33813 if test $pkg_failed = yes; then
33815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33816 _pkg_short_errors_supported=yes
33818 _pkg_short_errors_supported=no
33820 if test $_pkg_short_errors_supported = yes; then
33821 gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors ""gtk+-2.0"" 2>&1`
33823 gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors ""gtk+-2.0"" 2>&1`
33825 # Put the nasty error message in config.log where it belongs
33826 echo "$gtk_PKG_ERRORS" >&5
33828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33829 $as_echo "no" >&6; }
33831 elif test $pkg_failed = untried; then
33834 gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
33835 gtk_LIBS=$pkg_cv_gtk_LIBS
33836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33837 $as_echo "yes" >&6; }
33840 if test "x$have_gtk" = "xyes"; then
33849 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"
33852 cat >confcache <<\_ACEOF
33853 # This file is a shell script that caches the results of configure
33854 # tests run on this system so they can be shared between configure
33855 # scripts and configure runs, see configure's option --config-cache.
33856 # It is not useful on other systems. If it contains results you don't
33857 # want to keep, you may remove or edit it.
33859 # config.status only pays attention to the cache file if you give it
33860 # the --recheck option to rerun configure.
33862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33864 # following values.
33868 # The following way of writing the cache mishandles newlines in values,
33869 # but we know of no workaround that is simple, portable, and efficient.
33870 # So, we kill variables containing newlines.
33871 # Ultrix sh set writes to stderr and can't be redirected directly,
33872 # and sets the high bit in the cache file unless we assign to the vars.
33874 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33875 eval ac_val=\$$ac_var
33879 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
33880 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
33883 _ | IFS | as_nl) ;; #(
33884 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
33885 *) { eval $ac_var=; unset $ac_var;} ;;
33891 case $as_nl`(ac_space=' '; set) 2>&1` in #(
33892 *${as_nl}ac_space=\ *)
33893 # `set' does not quote correctly, so add quotes: double-quote
33894 # substitution turns \\\\ into \\, and sed turns \\ into \.
33897 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33900 # `set' quotes correctly as required by POSIX, so do not add quotes.
33901 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33910 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33912 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33914 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33915 if test -w "$cache_file"; then
33916 test "x$cache_file" != "x/dev/null" &&
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33918 $as_echo "$as_me: updating cache $cache_file" >&6;}
33919 cat confcache >$cache_file
33921 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33922 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33927 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33928 # Let make expand exec_prefix.
33929 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33931 DEFS=-DHAVE_CONFIG_H
33936 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33937 # 1. Remove the extension, and $U if already installed.
33938 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33939 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
33940 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33941 # will be set to the directory where LIBOBJS objects are built.
33942 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33943 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
33945 LIBOBJS=$ac_libobjs
33947 LTLIBOBJS=$ac_ltlibobjs
33950 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33951 as_fn_error $? "conditional \"AMDEP\" was never defined.
33952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33954 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33955 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33958 if test -n "$EXEEXT"; then
33960 am__EXEEXT_FALSE='#'
33962 am__EXEEXT_TRUE='#'
33966 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
33967 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
33968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33970 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
33971 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
33972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33974 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
33975 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
33976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33978 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
33979 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
33980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33982 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
33983 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
33984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33986 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33987 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
33988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33990 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33991 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
33992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33994 CAIRO_CFLAGS="$CAIRO_CFLAGS $CAIRO_NONPKGCONFIG_CFLAGS"
33995 CAIRO_LIBS="$CAIRO_LIBS $CAIRO_NONPKGCONFIG_LIBS"
33997 cr_make_tmp=' @echo "#endif" >> $(top_srcdir)/src/cairo-features.h'
33998 CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34003 if test -z "$CAIRO_NATIVE_SURFACE_BACKENDS"; then :
34004 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
34006 "'*** No native surface backends enabled for your platform. It is strongly
34007 *** recommended that you enable the native surface backend feature for your
34012 if test -z "$CAIRO_NATIVE_FONT_BACKENDS"; then :
34013 CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
34015 "'*** No native font backends enabled for your platform. It is strongly
34016 *** recommended that you enable the native font backend feature for your
34022 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
34023 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
34024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34027 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
34028 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
34029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34031 if test -z "${HAVE_SHM_TRUE}" && test -z "${HAVE_SHM_FALSE}"; then
34032 as_fn_error $? "conditional \"HAVE_SHM\" was never defined.
34033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34035 if test -z "${CAIRO_HAS_LCOV_TRUE}" && test -z "${CAIRO_HAS_LCOV_FALSE}"; then
34036 as_fn_error $? "conditional \"CAIRO_HAS_LCOV\" was never defined.
34037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34039 if test -z "${CAIRO_HAS_DL_TRUE}" && test -z "${CAIRO_HAS_DL_FALSE}"; then
34040 as_fn_error $? "conditional \"CAIRO_HAS_DL\" was never defined.
34041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34043 if test -z "${CAIRO_HAS_DLSYM_TRUE}" && test -z "${CAIRO_HAS_DLSYM_FALSE}"; then
34044 as_fn_error $? "conditional \"CAIRO_HAS_DLSYM\" was never defined.
34045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34047 if test -z "${CAIRO_HAS_XLIB_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XLIB_SURFACE_FALSE}"; then
34048 as_fn_error $? "conditional \"CAIRO_HAS_XLIB_SURFACE\" was never defined.
34049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34051 if test -z "${CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE}"; then
34052 as_fn_error $? "conditional \"CAIRO_HAS_XLIB_XRENDER_SURFACE\" was never defined.
34053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34055 if test -z "${CAIRO_HAS_XCB_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XCB_SURFACE_FALSE}"; then
34056 as_fn_error $? "conditional \"CAIRO_HAS_XCB_SURFACE\" was never defined.
34057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34059 if test -z "${CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE}"; then
34060 as_fn_error $? "conditional \"CAIRO_HAS_XLIB_XCB_FUNCTIONS\" was never defined.
34061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34063 if test -z "${CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE}"; then
34064 as_fn_error $? "conditional \"CAIRO_HAS_XCB_SHM_FUNCTIONS\" was never defined.
34065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34067 if test -z "${CAIRO_HAS_QT_SURFACE_TRUE}" && test -z "${CAIRO_HAS_QT_SURFACE_FALSE}"; then
34068 as_fn_error $? "conditional \"CAIRO_HAS_QT_SURFACE\" was never defined.
34069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34071 if test -z "${CAIRO_HAS_QUARTZ_SURFACE_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_SURFACE_FALSE}"; then
34072 as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_SURFACE\" was never defined.
34073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34075 if test -z "${CAIRO_HAS_QUARTZ_FONT_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_FONT_FALSE}"; then
34076 as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_FONT\" was never defined.
34077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34079 if test -z "${CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE}"; then
34080 as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_IMAGE_SURFACE\" was never defined.
34081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34083 if test -z "${CAIRO_HAS_WIN32_SURFACE_TRUE}" && test -z "${CAIRO_HAS_WIN32_SURFACE_FALSE}"; then
34084 as_fn_error $? "conditional \"CAIRO_HAS_WIN32_SURFACE\" was never defined.
34085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34087 if test -z "${CAIRO_HAS_WIN32_FONT_TRUE}" && test -z "${CAIRO_HAS_WIN32_FONT_FALSE}"; then
34088 as_fn_error $? "conditional \"CAIRO_HAS_WIN32_FONT\" was never defined.
34089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34091 if test -z "${CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE}"; then
34092 as_fn_error $? "conditional \"CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE\" was never defined.
34093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34095 if test -z "${CAIRO_HAS_SKIA_SURFACE_TRUE}" && test -z "${CAIRO_HAS_SKIA_SURFACE_FALSE}"; then
34096 as_fn_error $? "conditional \"CAIRO_HAS_SKIA_SURFACE\" was never defined.
34097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34099 if test -z "${CAIRO_HAS_OS2_SURFACE_TRUE}" && test -z "${CAIRO_HAS_OS2_SURFACE_FALSE}"; then
34100 as_fn_error $? "conditional \"CAIRO_HAS_OS2_SURFACE\" was never defined.
34101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34103 if test -z "${CAIRO_HAS_BEOS_SURFACE_TRUE}" && test -z "${CAIRO_HAS_BEOS_SURFACE_FALSE}"; then
34104 as_fn_error $? "conditional \"CAIRO_HAS_BEOS_SURFACE\" was never defined.
34105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34107 if test -z "${CAIRO_HAS_DRM_SURFACE_TRUE}" && test -z "${CAIRO_HAS_DRM_SURFACE_FALSE}"; then
34108 as_fn_error $? "conditional \"CAIRO_HAS_DRM_SURFACE\" was never defined.
34109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34111 if test -z "${CAIRO_HAS_GALLIUM_SURFACE_TRUE}" && test -z "${CAIRO_HAS_GALLIUM_SURFACE_FALSE}"; then
34112 as_fn_error $? "conditional \"CAIRO_HAS_GALLIUM_SURFACE\" was never defined.
34113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34115 if test -z "${CAIRO_HAS_PNG_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_PNG_FUNCTIONS_FALSE}"; then
34116 as_fn_error $? "conditional \"CAIRO_HAS_PNG_FUNCTIONS\" was never defined.
34117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34119 if test -z "${CAIRO_HAS_GL_SURFACE_TRUE}" && test -z "${CAIRO_HAS_GL_SURFACE_FALSE}"; then
34120 as_fn_error $? "conditional \"CAIRO_HAS_GL_SURFACE\" was never defined.
34121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34123 if test -z "${CAIRO_HAS_GLESV2_SURFACE_TRUE}" && test -z "${CAIRO_HAS_GLESV2_SURFACE_FALSE}"; then
34124 as_fn_error $? "conditional \"CAIRO_HAS_GLESV2_SURFACE\" was never defined.
34125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34127 if test -z "${CAIRO_HAS_COGL_SURFACE_TRUE}" && test -z "${CAIRO_HAS_COGL_SURFACE_FALSE}"; then
34128 as_fn_error $? "conditional \"CAIRO_HAS_COGL_SURFACE\" was never defined.
34129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34131 if test -z "${CAIRO_HAS_DIRECTFB_SURFACE_TRUE}" && test -z "${CAIRO_HAS_DIRECTFB_SURFACE_FALSE}"; then
34132 as_fn_error $? "conditional \"CAIRO_HAS_DIRECTFB_SURFACE\" was never defined.
34133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34135 if test -z "${CAIRO_HAS_VG_SURFACE_TRUE}" && test -z "${CAIRO_HAS_VG_SURFACE_FALSE}"; then
34136 as_fn_error $? "conditional \"CAIRO_HAS_VG_SURFACE\" was never defined.
34137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34139 if test -z "${CAIRO_HAS_EGL_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_EGL_FUNCTIONS_FALSE}"; then
34140 as_fn_error $? "conditional \"CAIRO_HAS_EGL_FUNCTIONS\" was never defined.
34141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34143 if test -z "${CAIRO_HAS_GLX_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_GLX_FUNCTIONS_FALSE}"; then
34144 as_fn_error $? "conditional \"CAIRO_HAS_GLX_FUNCTIONS\" was never defined.
34145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34147 if test -z "${CAIRO_HAS_WGL_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_WGL_FUNCTIONS_FALSE}"; then
34148 as_fn_error $? "conditional \"CAIRO_HAS_WGL_FUNCTIONS\" was never defined.
34149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34151 if test -z "${CAIRO_HAS_SCRIPT_SURFACE_TRUE}" && test -z "${CAIRO_HAS_SCRIPT_SURFACE_FALSE}"; then
34152 as_fn_error $? "conditional \"CAIRO_HAS_SCRIPT_SURFACE\" was never defined.
34153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34155 if test -z "${CAIRO_HAS_FT_FONT_TRUE}" && test -z "${CAIRO_HAS_FT_FONT_FALSE}"; then
34156 as_fn_error $? "conditional \"CAIRO_HAS_FT_FONT\" was never defined.
34157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34159 if test -z "${CAIRO_HAS_FC_FONT_TRUE}" && test -z "${CAIRO_HAS_FC_FONT_FALSE}"; then
34160 as_fn_error $? "conditional \"CAIRO_HAS_FC_FONT\" was never defined.
34161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34163 if test -z "${CAIRO_HAS_PS_SURFACE_TRUE}" && test -z "${CAIRO_HAS_PS_SURFACE_FALSE}"; then
34164 as_fn_error $? "conditional \"CAIRO_HAS_PS_SURFACE\" was never defined.
34165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34167 if test -z "${CAIRO_CAN_TEST_PS_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_PS_SURFACE_FALSE}"; then
34168 as_fn_error $? "conditional \"CAIRO_CAN_TEST_PS_SURFACE\" was never defined.
34169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34171 if test -z "${CAIRO_HAS_SPECTRE_TRUE}" && test -z "${CAIRO_HAS_SPECTRE_FALSE}"; then
34172 as_fn_error $? "conditional \"CAIRO_HAS_SPECTRE\" was never defined.
34173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34175 if test -z "${CAIRO_HAS_PDF_SURFACE_TRUE}" && test -z "${CAIRO_HAS_PDF_SURFACE_FALSE}"; then
34176 as_fn_error $? "conditional \"CAIRO_HAS_PDF_SURFACE\" was never defined.
34177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34179 if test -z "${CAIRO_CAN_TEST_PDF_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_PDF_SURFACE_FALSE}"; then
34180 as_fn_error $? "conditional \"CAIRO_CAN_TEST_PDF_SURFACE\" was never defined.
34181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34183 if test -z "${CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE}" && test -z "${CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE}"; then
34184 as_fn_error $? "conditional \"CAIRO_HAS_MULTI_PAGE_SURFACES\" was never defined.
34185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34187 if test -z "${CAIRO_HAS_SVG_SURFACE_TRUE}" && test -z "${CAIRO_HAS_SVG_SURFACE_FALSE}"; then
34188 as_fn_error $? "conditional \"CAIRO_HAS_SVG_SURFACE\" was never defined.
34189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34191 if test -z "${CAIRO_CAN_TEST_SVG_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_SVG_SURFACE_FALSE}"; then
34192 as_fn_error $? "conditional \"CAIRO_CAN_TEST_SVG_SURFACE\" was never defined.
34193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34195 if test -z "${CAIRO_HAS_TEST_SURFACES_TRUE}" && test -z "${CAIRO_HAS_TEST_SURFACES_FALSE}"; then
34196 as_fn_error $? "conditional \"CAIRO_HAS_TEST_SURFACES\" was never defined.
34197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34199 if test -z "${CAIRO_HAS_TEE_SURFACE_TRUE}" && test -z "${CAIRO_HAS_TEE_SURFACE_FALSE}"; then
34200 as_fn_error $? "conditional \"CAIRO_HAS_TEE_SURFACE\" was never defined.
34201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34203 if test -z "${CAIRO_HAS_XML_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XML_SURFACE_FALSE}"; then
34204 as_fn_error $? "conditional \"CAIRO_HAS_XML_SURFACE\" was never defined.
34205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34207 if test -z "${CAIRO_HAS_PTHREAD_TRUE}" && test -z "${CAIRO_HAS_PTHREAD_FALSE}"; then
34208 as_fn_error $? "conditional \"CAIRO_HAS_PTHREAD\" was never defined.
34209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34211 if test -z "${HAVE_REAL_PTHREAD_TRUE}" && test -z "${HAVE_REAL_PTHREAD_FALSE}"; then
34212 as_fn_error $? "conditional \"HAVE_REAL_PTHREAD\" was never defined.
34213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34215 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
34216 as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
34217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34219 if test -z "${CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE}"; then
34220 as_fn_error $? "conditional \"CAIRO_HAS_GOBJECT_FUNCTIONS\" was never defined.
34221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34223 if test -z "${BUILD_ANY2PPM_TRUE}" && test -z "${BUILD_ANY2PPM_FALSE}"; then
34224 as_fn_error $? "conditional \"BUILD_ANY2PPM\" was never defined.
34225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34227 if test -z "${CAIRO_HAS_TRACE_TRUE}" && test -z "${CAIRO_HAS_TRACE_FALSE}"; then
34228 as_fn_error $? "conditional \"CAIRO_HAS_TRACE\" was never defined.
34229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34231 if test -z "${CAIRO_HAS_INTERPRETER_TRUE}" && test -z "${CAIRO_HAS_INTERPRETER_FALSE}"; then
34232 as_fn_error $? "conditional \"CAIRO_HAS_INTERPRETER\" was never defined.
34233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34235 if test -z "${CAIRO_HAS_SYMBOL_LOOKUP_TRUE}" && test -z "${CAIRO_HAS_SYMBOL_LOOKUP_FALSE}"; then
34236 as_fn_error $? "conditional \"CAIRO_HAS_SYMBOL_LOOKUP\" was never defined.
34237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34239 if test -z "${BUILD_SPHINX_TRUE}" && test -z "${BUILD_SPHINX_FALSE}"; then
34240 as_fn_error $? "conditional \"BUILD_SPHINX\" was never defined.
34241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34243 if test -z "${DISABLE_SOME_FLOATING_POINT_TRUE}" && test -z "${DISABLE_SOME_FLOATING_POINT_FALSE}"; then
34244 as_fn_error $? "conditional \"DISABLE_SOME_FLOATING_POINT\" was never defined.
34245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34247 if test -z "${BUILD_CXX_TRUE}" && test -z "${BUILD_CXX_FALSE}"; then
34248 as_fn_error $? "conditional \"BUILD_CXX\" was never defined.
34249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34251 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
34252 as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
34253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34256 : ${CONFIG_STATUS=./config.status}
34258 ac_clean_files_save=$ac_clean_files
34259 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34260 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
34261 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
34263 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
34265 # Generated by $as_me.
34266 # Run this file to recreate the current configuration.
34267 # Compiler output produced by configure, useful for debugging
34268 # configure, is in config.log if it exists.
34271 ac_cs_recheck=false
34274 SHELL=\${CONFIG_SHELL-$SHELL}
34277 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
34278 ## -------------------- ##
34279 ## M4sh Initialization. ##
34280 ## -------------------- ##
34282 # Be more Bourne compatible
34283 DUALCASE=1; export DUALCASE # for MKS sh
34284 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
34287 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
34288 # is contrary to our usage. Disable this feature.
34289 alias -g '${1+"$@"}'='"$@"'
34290 setopt NO_GLOB_SUBST
34292 case `(set -o) 2>/dev/null` in #(
34304 # Printing a long string crashes Solaris 7 /usr/bin/printf.
34305 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
34306 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
34307 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
34308 # Prefer a ksh shell builtin over an external printf program on Solaris,
34309 # but without wasting forks for bash or zsh.
34310 if test -z "$BASH_VERSION$ZSH_VERSION" \
34311 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
34312 as_echo='print -r --'
34313 as_echo_n='print -rn --'
34314 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
34315 as_echo='printf %s\n'
34316 as_echo_n='printf %s'
34318 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
34319 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
34320 as_echo_n='/usr/ucb/echo -n'
34322 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
34323 as_echo_n_body='eval
34327 expr "X$arg" : "X\\(.*\\)$as_nl";
34328 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
34330 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
34332 export as_echo_n_body
34333 as_echo_n='sh -c $as_echo_n_body as_echo'
34335 export as_echo_body
34336 as_echo='sh -c $as_echo_body as_echo'
34339 # The user is always right.
34340 if test "${PATH_SEPARATOR+set}" != set; then
34342 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
34343 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
34350 # We need space, tab and new line, in precisely that order. Quoting is
34351 # there to prevent editors from complaining about space-tab.
34352 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34353 # splitting by setting IFS to empty value.)
34356 # Find who we are. Look in the path if we contain no directory separator.
34358 *[\\/]* ) as_myself=$0 ;;
34359 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34360 for as_dir in $PATH
34363 test -z "$as_dir" && as_dir=.
34364 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34370 # We did not find ourselves, most probably we were run as `sh COMMAND'
34371 # in which case we are not to be found in the path.
34372 if test "x$as_myself" = x; then
34375 if test ! -f "$as_myself"; then
34376 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34380 # Unset variables that we do not need and which cause bugs (e.g. in
34381 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
34382 # suppresses any "Segmentation fault" message there. '((' could
34383 # trigger a bug in pdksh 5.2.14.
34384 for as_var in BASH_ENV ENV MAIL MAILPATH
34385 do eval test x\${$as_var+set} = xset \
34386 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
34399 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
34403 # ----------------------------------------
34404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
34405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
34406 # script with STATUS, using 1 if that was 0.
34409 as_status=$1; test $as_status -eq 0 && as_status=1
34411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
34412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
34414 $as_echo "$as_me: error: $2" >&2
34415 as_fn_exit $as_status
34419 # as_fn_set_status STATUS
34420 # -----------------------
34421 # Set $? to STATUS, without forking.
34422 as_fn_set_status ()
34425 } # as_fn_set_status
34427 # as_fn_exit STATUS
34428 # -----------------
34429 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
34433 as_fn_set_status $1
34439 # Portably unset VAR.
34442 { eval $1=; unset $1;}
34444 as_unset=as_fn_unset
34445 # as_fn_append VAR VALUE
34446 # ----------------------
34447 # Append the text in VALUE to the end of the definition contained in VAR. Take
34448 # advantage of any shell optimizations that allow amortized linear growth over
34449 # repeated appends, instead of the typical quadratic growth present in naive
34451 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
34452 eval 'as_fn_append ()
34463 # as_fn_arith ARG...
34464 # ------------------
34465 # Perform arithmetic evaluation on the ARGs, and store the result in the
34466 # global $as_val. Take advantage of shells that can avoid forks. The arguments
34467 # must be portable across $(()) and expr.
34468 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
34469 eval 'as_fn_arith ()
34476 as_val=`expr "$@" || test $? -eq 1`
34481 if expr a : '\(a\)' >/dev/null 2>&1 &&
34482 test "X`expr 00001 : '.*\(...\)'`" = X001; then
34488 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34489 as_basename=basename
34494 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
34500 as_me=`$as_basename -- "$0" ||
34501 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34502 X"$0" : 'X\(//\)$' \| \
34503 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34505 sed '/^.*\/\([^/][^/]*\)\/*$/{
34519 # Avoid depending upon Character Ranges.
34520 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34521 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34522 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34523 as_cr_digits='0123456789'
34524 as_cr_alnum=$as_cr_Letters$as_cr_digits
34526 ECHO_C= ECHO_N= ECHO_T=
34527 case `echo -n x` in #(((((
34529 case `echo 'xy\c'` in
34530 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
34532 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
34539 rm -f conf$$ conf$$.exe conf$$.file
34540 if test -d conf$$.dir; then
34541 rm -f conf$$.dir/conf$$.file
34544 mkdir conf$$.dir 2>/dev/null
34546 if (echo >conf$$.file) 2>/dev/null; then
34547 if ln -s conf$$.file conf$$ 2>/dev/null; then
34549 # ... but there are two gotchas:
34550 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34551 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34552 # In both cases, we have to default to `cp -p'.
34553 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34555 elif ln conf$$.file conf$$ 2>/dev/null; then
34563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
34564 rmdir conf$$.dir 2>/dev/null
34569 # Create "$as_dir" as a directory, including parents if necessary.
34574 -*) as_dir=./$as_dir;;
34576 test -d "$as_dir" || eval $as_mkdir_p || {
34580 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
34581 *) as_qdir=$as_dir;;
34583 as_dirs="'$as_qdir' $as_dirs"
34584 as_dir=`$as_dirname -- "$as_dir" ||
34585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34586 X"$as_dir" : 'X\(//\)[^/]' \| \
34587 X"$as_dir" : 'X\(//\)$' \| \
34588 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34589 $as_echo X"$as_dir" |
34590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34594 /^X\(\/\/\)[^/].*/{
34607 test -d "$as_dir" && break
34609 test -z "$as_dirs" || eval "mkdir $as_dirs"
34610 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
34614 if mkdir -p . 2>/dev/null; then
34615 as_mkdir_p='mkdir -p "$as_dir"'
34617 test -d ./-p && rmdir ./-p
34621 if test -x / >/dev/null 2>&1; then
34622 as_test_x='test -x'
34624 if ls -dL / >/dev/null 2>&1; then
34631 if test -d "$1"; then
34637 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
34638 ???[sx]*):;;*)false;;esac;fi
34642 as_executable_p=$as_test_x
34644 # Sed expression to map a string onto a valid CPP name.
34645 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34647 # Sed expression to map a string onto a valid variable name.
34648 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34652 ## ----------------------------------- ##
34653 ## Main body of $CONFIG_STATUS script. ##
34654 ## ----------------------------------- ##
34656 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
34658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34659 # Save the log message, to keep $0 and so on meaningful, and to
34660 # report actual input values of CONFIG_FILES etc. instead of their
34661 # values after options handling.
34663 This file was extended by cairo $as_me 1.12.3, which was
34664 generated by GNU Autoconf 2.67. Invocation command line was
34666 CONFIG_FILES = $CONFIG_FILES
34667 CONFIG_HEADERS = $CONFIG_HEADERS
34668 CONFIG_LINKS = $CONFIG_LINKS
34669 CONFIG_COMMANDS = $CONFIG_COMMANDS
34672 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34677 case $ac_config_files in *"
34678 "*) set x $ac_config_files; shift; ac_config_files=$*;;
34681 case $ac_config_headers in *"
34682 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
34686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34687 # Files that config.status was made for.
34688 config_files="$ac_config_files"
34689 config_headers="$ac_config_headers"
34690 config_commands="$ac_config_commands"
34694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34696 \`$as_me' instantiates files and other configuration actions
34697 from templates according to the current configuration. Unless the files
34698 and actions are specified as TAGs, all are instantiated by default.
34700 Usage: $0 [OPTION]... [TAG]...
34702 -h, --help print this help, then exit
34703 -V, --version print version number and configuration settings, then exit
34704 --config print configuration, then exit
34705 -q, --quiet, --silent
34706 do not print progress messages
34707 -d, --debug don't remove temporary files
34708 --recheck update $as_me by reconfiguring in the same conditions
34709 --file=FILE[:TEMPLATE]
34710 instantiate the configuration file FILE
34711 --header=FILE[:TEMPLATE]
34712 instantiate the configuration header FILE
34714 Configuration files:
34717 Configuration headers:
34720 Configuration commands:
34723 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=cairo>.
34724 cairo home page: <http://cairographics.org/>."
34727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34728 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
34730 cairo config.status 1.12.3
34731 configured by $0, generated by GNU Autoconf 2.67,
34732 with options \\"\$ac_cs_config\\"
34734 Copyright (C) 2010 Free Software Foundation, Inc.
34735 This config.status script is free software; the Free Software Foundation
34736 gives unlimited permission to copy, distribute and modify it."
34743 test -n "\$AWK" || AWK=awk
34746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34747 # The default lists apply if the user does not specify any file.
34753 ac_option=`expr "X$1" : 'X\([^=]*\)='`
34754 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
34758 ac_option=`expr "X$1" : 'X\([^=]*\)='`
34770 # Handling of the options.
34771 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34773 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
34774 $as_echo "$ac_cs_version"; exit ;;
34775 --config | --confi | --conf | --con | --co | --c )
34776 $as_echo "$ac_cs_config"; exit ;;
34777 --debug | --debu | --deb | --de | --d | -d )
34779 --file | --fil | --fi | --f )
34782 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34783 '') as_fn_error $? "missing file argument" ;;
34785 as_fn_append CONFIG_FILES " '$ac_optarg'"
34786 ac_need_defaults=false;;
34787 --header | --heade | --head | --hea )
34790 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34792 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
34793 ac_need_defaults=false;;
34795 # Conflict between --help and --header
34796 as_fn_error $? "ambiguous option: \`$1'
34797 Try \`$0 --help' for more information.";;
34798 --help | --hel | -h )
34799 $as_echo "$ac_cs_usage"; exit ;;
34800 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34801 | -silent | --silent | --silen | --sile | --sil | --si | --s)
34804 # This is an error.
34805 -*) as_fn_error $? "unrecognized option: \`$1'
34806 Try \`$0 --help' for more information." ;;
34808 *) as_fn_append ac_config_targets " $1"
34809 ac_need_defaults=false ;;
34815 ac_configure_extra_args=
34817 if $ac_cs_silent; then
34819 ac_configure_extra_args="$ac_configure_extra_args --silent"
34823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34824 if \$ac_cs_recheck; then
34825 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34827 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
34828 CONFIG_SHELL='$SHELL'
34829 export CONFIG_SHELL
34834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34838 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34839 ## Running $as_me. ##
34845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34849 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34852 # The HP-UX ksh and POSIX shell print the target directory to stdout
34853 # if CDPATH is set.
34854 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34856 sed_quote_subst='$sed_quote_subst'
34857 double_quote_subst='$double_quote_subst'
34858 delay_variable_subst='$delay_variable_subst'
34859 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34860 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34861 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
34862 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
34863 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
34864 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34865 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34866 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34867 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34868 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34869 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34870 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34871 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34872 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34873 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34874 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34875 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34876 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34877 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34878 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34879 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34880 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34881 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34882 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34883 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34884 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34885 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34886 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34887 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34888 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34889 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34890 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34891 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34892 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34893 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34894 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34895 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34896 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34897 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34898 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34899 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34900 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34901 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34902 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34903 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34904 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34905 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
34906 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34907 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34908 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34909 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34910 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34911 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34912 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34913 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34914 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34915 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34916 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34917 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
34918 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
34919 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
34920 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
34921 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
34922 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34923 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34924 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34925 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34926 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34927 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34928 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34929 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34930 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34931 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34932 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34933 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34934 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34935 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34936 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34937 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34938 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34939 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34940 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34941 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34942 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34943 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34944 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34945 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34946 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34947 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34948 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34949 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34950 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34951 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34952 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34953 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34954 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34955 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34956 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34957 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34958 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34959 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34960 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34961 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34962 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34963 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34964 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34965 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34966 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34967 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34968 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34969 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34970 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34971 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34972 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34973 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34974 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34975 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34976 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34977 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34978 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34979 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
34980 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34981 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34982 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34983 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34984 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34985 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34986 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34987 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34988 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34989 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34990 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34991 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34992 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34993 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34994 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34995 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34996 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34997 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34998 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34999 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35000 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35001 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35002 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35003 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35004 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35005 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35006 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35007 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35008 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35009 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35010 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35011 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35012 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35013 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35014 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35015 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35016 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35017 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35018 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35019 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35020 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35021 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35022 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35023 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35024 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35025 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35026 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35027 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35028 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35029 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35030 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35031 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35034 LTCFLAGS='$LTCFLAGS'
35035 compiler='$compiler_DEFAULT'
35037 # Quote evaled strings.
35048 deplibs_check_method \
35057 lt_cv_sys_global_symbol_pipe \
35058 lt_cv_sys_global_symbol_to_cdecl \
35059 lt_cv_sys_global_symbol_to_c_name_address \
35060 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
35063 lt_prog_compiler_no_builtin_flag \
35064 lt_prog_compiler_wl \
35065 lt_prog_compiler_pic \
35066 lt_prog_compiler_static \
35067 lt_cv_prog_compiler_c_o \
35075 export_dynamic_flag_spec \
35076 whole_archive_flag_spec \
35077 compiler_needs_object \
35079 allow_undefined_flag \
35080 no_undefined_flag \
35081 hardcode_libdir_flag_spec \
35082 hardcode_libdir_flag_spec_ld \
35083 hardcode_libdir_separator \
35088 variables_saved_for_relink \
35090 library_names_spec \
35095 compiler_lib_search_dirs \
35100 compiler_lib_search_path \
35103 lt_prog_compiler_no_builtin_flag_CXX \
35104 lt_prog_compiler_wl_CXX \
35105 lt_prog_compiler_pic_CXX \
35106 lt_prog_compiler_static_CXX \
35107 lt_cv_prog_compiler_c_o_CXX \
35108 export_dynamic_flag_spec_CXX \
35109 whole_archive_flag_spec_CXX \
35110 compiler_needs_object_CXX \
35112 allow_undefined_flag_CXX \
35113 no_undefined_flag_CXX \
35114 hardcode_libdir_flag_spec_CXX \
35115 hardcode_libdir_flag_spec_ld_CXX \
35116 hardcode_libdir_separator_CXX \
35117 fix_srcfile_path_CXX \
35118 exclude_expsyms_CXX \
35119 include_expsyms_CXX \
35120 file_list_spec_CXX \
35121 compiler_lib_search_dirs_CXX \
35122 predep_objects_CXX \
35123 postdep_objects_CXX \
35126 compiler_lib_search_path_CXX; do
35127 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35128 *[\\\\\\\`\\"\\\$]*)
35129 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
35132 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35137 # Double-quote double-evaled strings.
35138 for var in reload_cmds \
35139 old_postinstall_cmds \
35140 old_postuninstall_cmds \
35142 extract_expsyms_cmds \
35143 old_archive_from_new_cmds \
35144 old_archive_from_expsyms_cmds \
35146 archive_expsym_cmds \
35148 module_expsym_cmds \
35149 export_symbols_cmds \
35152 postuninstall_cmds \
35154 sys_lib_search_path_spec \
35155 sys_lib_dlsearch_path_spec \
35156 old_archive_cmds_CXX \
35157 old_archive_from_new_cmds_CXX \
35158 old_archive_from_expsyms_cmds_CXX \
35160 archive_expsym_cmds_CXX \
35162 module_expsym_cmds_CXX \
35163 export_symbols_cmds_CXX \
35164 prelink_cmds_CXX; do
35165 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35166 *[\\\\\\\`\\"\\\$]*)
35167 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
35170 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35175 # Fix-up fallback echo if it was mangled by the above quoting rules.
35177 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
35181 ac_aux_dir='$ac_aux_dir'
35182 xsi_shell='$xsi_shell'
35183 lt_shell_append='$lt_shell_append'
35185 # See if we are running on zsh, and set the options which allow our
35186 # commands through without removal of \ escapes INIT.
35187 if test -n "\${ZSH_VERSION+set}" ; then
35188 setopt NO_GLOB_SUBST
35194 TIMESTAMP='$TIMESTAMP'
35202 CAIRO_MAKEFILE___WIN32='$CAIRO_MAKEFILE___WIN32'
35203 CAIRO_MAKEFILE_cairo_AMAKE='$CAIRO_MAKEFILE_cairo_AMAKE'
35204 CAIRO_MAKEFILE_cairo_WIN32='$CAIRO_MAKEFILE_cairo_WIN32'
35205 CAIRO_MAKEFILE_cairo_boilerplate_AMAKE='$CAIRO_MAKEFILE_cairo_boilerplate_AMAKE'
35206 CAIRO_MAKEFILE_cairo_boilerplate_WIN32='$CAIRO_MAKEFILE_cairo_boilerplate_WIN32'
35207 CAIRO_FEATURES='$CAIRO_FEATURES'
35208 CAIRO_NO_FEATURES='$CAIRO_NO_FEATURES'
35210 CAIRO_SUPPORTED_FEATURES='$CAIRO_SUPPORTED_FEATURES'
35212 CAIRO_MAKEFILE_win32_features_h_WIN32='$CAIRO_MAKEFILE_win32_features_h_WIN32'
35214 xlib_BASE='$xlib_BASE'
35215 xlib_REQUIRES='$xlib_REQUIRES'
35216 xlib_NONPKGCONFIG_LIBS='$xlib_NONPKGCONFIG_LIBS'
35217 xlib_NONPKGCONFIG_EXTRA_LIBS='$xlib_NONPKGCONFIG_EXTRA_LIBS'
35218 xlib_NONPKGCONFIG_CFLAGS='$xlib_NONPKGCONFIG_CFLAGS'
35221 xlib_BASE='$xlib_BASE'
35222 xlib_REQUIRES='$xlib_REQUIRES'
35223 xlib_NONPKGCONFIG_LIBS='$xlib_NONPKGCONFIG_LIBS'
35224 xlib_NONPKGCONFIG_EXTRA_LIBS='$xlib_NONPKGCONFIG_EXTRA_LIBS'
35225 xlib_NONPKGCONFIG_CFLAGS='$xlib_NONPKGCONFIG_CFLAGS'
35228 xlib_xrender_BASE='$xlib_xrender_BASE'
35229 xlib_xrender_REQUIRES='$xlib_xrender_REQUIRES'
35230 xlib_xrender_NONPKGCONFIG_LIBS='$xlib_xrender_NONPKGCONFIG_LIBS'
35231 xlib_xrender_NONPKGCONFIG_EXTRA_LIBS='$xlib_xrender_NONPKGCONFIG_EXTRA_LIBS'
35232 xlib_xrender_NONPKGCONFIG_CFLAGS='$xlib_xrender_NONPKGCONFIG_CFLAGS'
35235 xlib_xrender_BASE='$xlib_xrender_BASE'
35236 xlib_xrender_REQUIRES='$xlib_xrender_REQUIRES'
35237 xlib_xrender_NONPKGCONFIG_LIBS='$xlib_xrender_NONPKGCONFIG_LIBS'
35238 xlib_xrender_NONPKGCONFIG_EXTRA_LIBS='$xlib_xrender_NONPKGCONFIG_EXTRA_LIBS'
35239 xlib_xrender_NONPKGCONFIG_CFLAGS='$xlib_xrender_NONPKGCONFIG_CFLAGS'
35242 xcb_BASE='$xcb_BASE'
35243 xcb_REQUIRES='$xcb_REQUIRES'
35244 xcb_NONPKGCONFIG_LIBS='$xcb_NONPKGCONFIG_LIBS'
35245 xcb_NONPKGCONFIG_EXTRA_LIBS='$xcb_NONPKGCONFIG_EXTRA_LIBS'
35246 xcb_NONPKGCONFIG_CFLAGS='$xcb_NONPKGCONFIG_CFLAGS'
35249 xcb_BASE='$xcb_BASE'
35250 xcb_REQUIRES='$xcb_REQUIRES'
35251 xcb_NONPKGCONFIG_LIBS='$xcb_NONPKGCONFIG_LIBS'
35252 xcb_NONPKGCONFIG_EXTRA_LIBS='$xcb_NONPKGCONFIG_EXTRA_LIBS'
35253 xcb_NONPKGCONFIG_CFLAGS='$xcb_NONPKGCONFIG_CFLAGS'
35256 xlib_xcb_BASE='$xlib_xcb_BASE'
35257 xlib_xcb_REQUIRES='$xlib_xcb_REQUIRES'
35258 xlib_xcb_NONPKGCONFIG_LIBS='$xlib_xcb_NONPKGCONFIG_LIBS'
35259 xlib_xcb_NONPKGCONFIG_EXTRA_LIBS='$xlib_xcb_NONPKGCONFIG_EXTRA_LIBS'
35260 xlib_xcb_NONPKGCONFIG_CFLAGS='$xlib_xcb_NONPKGCONFIG_CFLAGS'
35263 xlib_xcb_BASE='$xlib_xcb_BASE'
35264 xlib_xcb_REQUIRES='$xlib_xcb_REQUIRES'
35265 xlib_xcb_NONPKGCONFIG_LIBS='$xlib_xcb_NONPKGCONFIG_LIBS'
35266 xlib_xcb_NONPKGCONFIG_EXTRA_LIBS='$xlib_xcb_NONPKGCONFIG_EXTRA_LIBS'
35267 xlib_xcb_NONPKGCONFIG_CFLAGS='$xlib_xcb_NONPKGCONFIG_CFLAGS'
35270 xcb_shm_BASE='$xcb_shm_BASE'
35271 xcb_shm_REQUIRES='$xcb_shm_REQUIRES'
35272 xcb_shm_NONPKGCONFIG_LIBS='$xcb_shm_NONPKGCONFIG_LIBS'
35273 xcb_shm_NONPKGCONFIG_EXTRA_LIBS='$xcb_shm_NONPKGCONFIG_EXTRA_LIBS'
35274 xcb_shm_NONPKGCONFIG_CFLAGS='$xcb_shm_NONPKGCONFIG_CFLAGS'
35277 xcb_shm_BASE='$xcb_shm_BASE'
35278 xcb_shm_REQUIRES='$xcb_shm_REQUIRES'
35279 xcb_shm_NONPKGCONFIG_LIBS='$xcb_shm_NONPKGCONFIG_LIBS'
35280 xcb_shm_NONPKGCONFIG_EXTRA_LIBS='$xcb_shm_NONPKGCONFIG_EXTRA_LIBS'
35281 xcb_shm_NONPKGCONFIG_CFLAGS='$xcb_shm_NONPKGCONFIG_CFLAGS'
35285 qt_REQUIRES='$qt_REQUIRES'
35286 qt_NONPKGCONFIG_LIBS='$qt_NONPKGCONFIG_LIBS'
35287 qt_NONPKGCONFIG_EXTRA_LIBS='$qt_NONPKGCONFIG_EXTRA_LIBS'
35288 qt_NONPKGCONFIG_CFLAGS='$qt_NONPKGCONFIG_CFLAGS'
35292 qt_REQUIRES='$qt_REQUIRES'
35293 qt_NONPKGCONFIG_LIBS='$qt_NONPKGCONFIG_LIBS'
35294 qt_NONPKGCONFIG_EXTRA_LIBS='$qt_NONPKGCONFIG_EXTRA_LIBS'
35295 qt_NONPKGCONFIG_CFLAGS='$qt_NONPKGCONFIG_CFLAGS'
35298 quartz_BASE='$quartz_BASE'
35299 quartz_REQUIRES='$quartz_REQUIRES'
35300 quartz_NONPKGCONFIG_LIBS='$quartz_NONPKGCONFIG_LIBS'
35301 quartz_NONPKGCONFIG_EXTRA_LIBS='$quartz_NONPKGCONFIG_EXTRA_LIBS'
35302 quartz_NONPKGCONFIG_CFLAGS='$quartz_NONPKGCONFIG_CFLAGS'
35305 quartz_BASE='$quartz_BASE'
35306 quartz_REQUIRES='$quartz_REQUIRES'
35307 quartz_NONPKGCONFIG_LIBS='$quartz_NONPKGCONFIG_LIBS'
35308 quartz_NONPKGCONFIG_EXTRA_LIBS='$quartz_NONPKGCONFIG_EXTRA_LIBS'
35309 quartz_NONPKGCONFIG_CFLAGS='$quartz_NONPKGCONFIG_CFLAGS'
35312 quartz_font_BASE='$quartz_font_BASE'
35313 quartz_font_REQUIRES='$quartz_font_REQUIRES'
35314 quartz_font_NONPKGCONFIG_LIBS='$quartz_font_NONPKGCONFIG_LIBS'
35315 quartz_font_NONPKGCONFIG_EXTRA_LIBS='$quartz_font_NONPKGCONFIG_EXTRA_LIBS'
35316 quartz_font_NONPKGCONFIG_CFLAGS='$quartz_font_NONPKGCONFIG_CFLAGS'
35319 quartz_font_BASE='$quartz_font_BASE'
35320 quartz_font_REQUIRES='$quartz_font_REQUIRES'
35321 quartz_font_NONPKGCONFIG_LIBS='$quartz_font_NONPKGCONFIG_LIBS'
35322 quartz_font_NONPKGCONFIG_EXTRA_LIBS='$quartz_font_NONPKGCONFIG_EXTRA_LIBS'
35323 quartz_font_NONPKGCONFIG_CFLAGS='$quartz_font_NONPKGCONFIG_CFLAGS'
35326 quartz_image_BASE='$quartz_image_BASE'
35327 quartz_image_REQUIRES='$quartz_image_REQUIRES'
35328 quartz_image_NONPKGCONFIG_LIBS='$quartz_image_NONPKGCONFIG_LIBS'
35329 quartz_image_NONPKGCONFIG_EXTRA_LIBS='$quartz_image_NONPKGCONFIG_EXTRA_LIBS'
35330 quartz_image_NONPKGCONFIG_CFLAGS='$quartz_image_NONPKGCONFIG_CFLAGS'
35333 quartz_image_BASE='$quartz_image_BASE'
35334 quartz_image_REQUIRES='$quartz_image_REQUIRES'
35335 quartz_image_NONPKGCONFIG_LIBS='$quartz_image_NONPKGCONFIG_LIBS'
35336 quartz_image_NONPKGCONFIG_EXTRA_LIBS='$quartz_image_NONPKGCONFIG_EXTRA_LIBS'
35337 quartz_image_NONPKGCONFIG_CFLAGS='$quartz_image_NONPKGCONFIG_CFLAGS'
35340 win32_BASE='$win32_BASE'
35341 win32_REQUIRES='$win32_REQUIRES'
35342 win32_NONPKGCONFIG_LIBS='$win32_NONPKGCONFIG_LIBS'
35343 win32_NONPKGCONFIG_EXTRA_LIBS='$win32_NONPKGCONFIG_EXTRA_LIBS'
35344 win32_NONPKGCONFIG_CFLAGS='$win32_NONPKGCONFIG_CFLAGS'
35347 win32_BASE='$win32_BASE'
35348 win32_REQUIRES='$win32_REQUIRES'
35349 win32_NONPKGCONFIG_LIBS='$win32_NONPKGCONFIG_LIBS'
35350 win32_NONPKGCONFIG_EXTRA_LIBS='$win32_NONPKGCONFIG_EXTRA_LIBS'
35351 win32_NONPKGCONFIG_CFLAGS='$win32_NONPKGCONFIG_CFLAGS'
35354 win32_font_BASE='$win32_font_BASE'
35355 win32_font_REQUIRES='$win32_font_REQUIRES'
35356 win32_font_NONPKGCONFIG_LIBS='$win32_font_NONPKGCONFIG_LIBS'
35357 win32_font_NONPKGCONFIG_EXTRA_LIBS='$win32_font_NONPKGCONFIG_EXTRA_LIBS'
35358 win32_font_NONPKGCONFIG_CFLAGS='$win32_font_NONPKGCONFIG_CFLAGS'
35361 win32_font_BASE='$win32_font_BASE'
35362 win32_font_REQUIRES='$win32_font_REQUIRES'
35363 win32_font_NONPKGCONFIG_LIBS='$win32_font_NONPKGCONFIG_LIBS'
35364 win32_font_NONPKGCONFIG_EXTRA_LIBS='$win32_font_NONPKGCONFIG_EXTRA_LIBS'
35365 win32_font_NONPKGCONFIG_CFLAGS='$win32_font_NONPKGCONFIG_CFLAGS'
35368 skia_BASE='$skia_BASE'
35369 skia_REQUIRES='$skia_REQUIRES'
35370 skia_NONPKGCONFIG_LIBS='$skia_NONPKGCONFIG_LIBS'
35371 skia_NONPKGCONFIG_EXTRA_LIBS='$skia_NONPKGCONFIG_EXTRA_LIBS'
35372 skia_NONPKGCONFIG_CFLAGS='$skia_NONPKGCONFIG_CFLAGS'
35375 skia_BASE='$skia_BASE'
35376 skia_REQUIRES='$skia_REQUIRES'
35377 skia_NONPKGCONFIG_LIBS='$skia_NONPKGCONFIG_LIBS'
35378 skia_NONPKGCONFIG_EXTRA_LIBS='$skia_NONPKGCONFIG_EXTRA_LIBS'
35379 skia_NONPKGCONFIG_CFLAGS='$skia_NONPKGCONFIG_CFLAGS'
35382 os2_BASE='$os2_BASE'
35383 os2_REQUIRES='$os2_REQUIRES'
35384 os2_NONPKGCONFIG_LIBS='$os2_NONPKGCONFIG_LIBS'
35385 os2_NONPKGCONFIG_EXTRA_LIBS='$os2_NONPKGCONFIG_EXTRA_LIBS'
35386 os2_NONPKGCONFIG_CFLAGS='$os2_NONPKGCONFIG_CFLAGS'
35389 os2_BASE='$os2_BASE'
35390 os2_REQUIRES='$os2_REQUIRES'
35391 os2_NONPKGCONFIG_LIBS='$os2_NONPKGCONFIG_LIBS'
35392 os2_NONPKGCONFIG_EXTRA_LIBS='$os2_NONPKGCONFIG_EXTRA_LIBS'
35393 os2_NONPKGCONFIG_CFLAGS='$os2_NONPKGCONFIG_CFLAGS'
35396 beos_BASE='$beos_BASE'
35397 beos_REQUIRES='$beos_REQUIRES'
35398 beos_NONPKGCONFIG_LIBS='$beos_NONPKGCONFIG_LIBS'
35399 beos_NONPKGCONFIG_EXTRA_LIBS='$beos_NONPKGCONFIG_EXTRA_LIBS'
35400 beos_NONPKGCONFIG_CFLAGS='$beos_NONPKGCONFIG_CFLAGS'
35403 beos_BASE='$beos_BASE'
35404 beos_REQUIRES='$beos_REQUIRES'
35405 beos_NONPKGCONFIG_LIBS='$beos_NONPKGCONFIG_LIBS'
35406 beos_NONPKGCONFIG_EXTRA_LIBS='$beos_NONPKGCONFIG_EXTRA_LIBS'
35407 beos_NONPKGCONFIG_CFLAGS='$beos_NONPKGCONFIG_CFLAGS'
35410 drm_BASE='$drm_BASE'
35411 drm_REQUIRES='$drm_REQUIRES'
35412 drm_NONPKGCONFIG_LIBS='$drm_NONPKGCONFIG_LIBS'
35413 drm_NONPKGCONFIG_EXTRA_LIBS='$drm_NONPKGCONFIG_EXTRA_LIBS'
35414 drm_NONPKGCONFIG_CFLAGS='$drm_NONPKGCONFIG_CFLAGS'
35417 drm_BASE='$drm_BASE'
35418 drm_REQUIRES='$drm_REQUIRES'
35419 drm_NONPKGCONFIG_LIBS='$drm_NONPKGCONFIG_LIBS'
35420 drm_NONPKGCONFIG_EXTRA_LIBS='$drm_NONPKGCONFIG_EXTRA_LIBS'
35421 drm_NONPKGCONFIG_CFLAGS='$drm_NONPKGCONFIG_CFLAGS'
35424 gallium_BASE='$gallium_BASE'
35425 gallium_REQUIRES='$gallium_REQUIRES'
35426 gallium_NONPKGCONFIG_LIBS='$gallium_NONPKGCONFIG_LIBS'
35427 gallium_NONPKGCONFIG_EXTRA_LIBS='$gallium_NONPKGCONFIG_EXTRA_LIBS'
35428 gallium_NONPKGCONFIG_CFLAGS='$gallium_NONPKGCONFIG_CFLAGS'
35431 gallium_BASE='$gallium_BASE'
35432 gallium_REQUIRES='$gallium_REQUIRES'
35433 gallium_NONPKGCONFIG_LIBS='$gallium_NONPKGCONFIG_LIBS'
35434 gallium_NONPKGCONFIG_EXTRA_LIBS='$gallium_NONPKGCONFIG_EXTRA_LIBS'
35435 gallium_NONPKGCONFIG_CFLAGS='$gallium_NONPKGCONFIG_CFLAGS'
35438 png_BASE='$png_BASE'
35439 png_REQUIRES='$png_REQUIRES'
35440 png_NONPKGCONFIG_LIBS='$png_NONPKGCONFIG_LIBS'
35441 png_NONPKGCONFIG_EXTRA_LIBS='$png_NONPKGCONFIG_EXTRA_LIBS'
35442 png_NONPKGCONFIG_CFLAGS='$png_NONPKGCONFIG_CFLAGS'
35445 png_BASE='$png_BASE'
35446 png_REQUIRES='$png_REQUIRES'
35447 png_NONPKGCONFIG_LIBS='$png_NONPKGCONFIG_LIBS'
35448 png_NONPKGCONFIG_EXTRA_LIBS='$png_NONPKGCONFIG_EXTRA_LIBS'
35449 png_NONPKGCONFIG_CFLAGS='$png_NONPKGCONFIG_CFLAGS'
35453 gl_REQUIRES='$gl_REQUIRES'
35454 gl_NONPKGCONFIG_LIBS='$gl_NONPKGCONFIG_LIBS'
35455 gl_NONPKGCONFIG_EXTRA_LIBS='$gl_NONPKGCONFIG_EXTRA_LIBS'
35456 gl_NONPKGCONFIG_CFLAGS='$gl_NONPKGCONFIG_CFLAGS'
35460 gl_REQUIRES='$gl_REQUIRES'
35461 gl_NONPKGCONFIG_LIBS='$gl_NONPKGCONFIG_LIBS'
35462 gl_NONPKGCONFIG_EXTRA_LIBS='$gl_NONPKGCONFIG_EXTRA_LIBS'
35463 gl_NONPKGCONFIG_CFLAGS='$gl_NONPKGCONFIG_CFLAGS'
35466 glesv2_BASE='$glesv2_BASE'
35467 glesv2_REQUIRES='$glesv2_REQUIRES'
35468 glesv2_NONPKGCONFIG_LIBS='$glesv2_NONPKGCONFIG_LIBS'
35469 glesv2_NONPKGCONFIG_EXTRA_LIBS='$glesv2_NONPKGCONFIG_EXTRA_LIBS'
35470 glesv2_NONPKGCONFIG_CFLAGS='$glesv2_NONPKGCONFIG_CFLAGS'
35473 glesv2_BASE='$glesv2_BASE'
35474 glesv2_REQUIRES='$glesv2_REQUIRES'
35475 glesv2_NONPKGCONFIG_LIBS='$glesv2_NONPKGCONFIG_LIBS'
35476 glesv2_NONPKGCONFIG_EXTRA_LIBS='$glesv2_NONPKGCONFIG_EXTRA_LIBS'
35477 glesv2_NONPKGCONFIG_CFLAGS='$glesv2_NONPKGCONFIG_CFLAGS'
35480 cogl_BASE='$cogl_BASE'
35481 cogl_REQUIRES='$cogl_REQUIRES'
35482 cogl_NONPKGCONFIG_LIBS='$cogl_NONPKGCONFIG_LIBS'
35483 cogl_NONPKGCONFIG_EXTRA_LIBS='$cogl_NONPKGCONFIG_EXTRA_LIBS'
35484 cogl_NONPKGCONFIG_CFLAGS='$cogl_NONPKGCONFIG_CFLAGS'
35487 cogl_BASE='$cogl_BASE'
35488 cogl_REQUIRES='$cogl_REQUIRES'
35489 cogl_NONPKGCONFIG_LIBS='$cogl_NONPKGCONFIG_LIBS'
35490 cogl_NONPKGCONFIG_EXTRA_LIBS='$cogl_NONPKGCONFIG_EXTRA_LIBS'
35491 cogl_NONPKGCONFIG_CFLAGS='$cogl_NONPKGCONFIG_CFLAGS'
35494 directfb_BASE='$directfb_BASE'
35495 directfb_REQUIRES='$directfb_REQUIRES'
35496 directfb_NONPKGCONFIG_LIBS='$directfb_NONPKGCONFIG_LIBS'
35497 directfb_NONPKGCONFIG_EXTRA_LIBS='$directfb_NONPKGCONFIG_EXTRA_LIBS'
35498 directfb_NONPKGCONFIG_CFLAGS='$directfb_NONPKGCONFIG_CFLAGS'
35501 directfb_BASE='$directfb_BASE'
35502 directfb_REQUIRES='$directfb_REQUIRES'
35503 directfb_NONPKGCONFIG_LIBS='$directfb_NONPKGCONFIG_LIBS'
35504 directfb_NONPKGCONFIG_EXTRA_LIBS='$directfb_NONPKGCONFIG_EXTRA_LIBS'
35505 directfb_NONPKGCONFIG_CFLAGS='$directfb_NONPKGCONFIG_CFLAGS'
35509 vg_REQUIRES='$vg_REQUIRES'
35510 vg_NONPKGCONFIG_LIBS='$vg_NONPKGCONFIG_LIBS'
35511 vg_NONPKGCONFIG_EXTRA_LIBS='$vg_NONPKGCONFIG_EXTRA_LIBS'
35512 vg_NONPKGCONFIG_CFLAGS='$vg_NONPKGCONFIG_CFLAGS'
35516 vg_REQUIRES='$vg_REQUIRES'
35517 vg_NONPKGCONFIG_LIBS='$vg_NONPKGCONFIG_LIBS'
35518 vg_NONPKGCONFIG_EXTRA_LIBS='$vg_NONPKGCONFIG_EXTRA_LIBS'
35519 vg_NONPKGCONFIG_CFLAGS='$vg_NONPKGCONFIG_CFLAGS'
35522 egl_BASE='$egl_BASE'
35523 egl_REQUIRES='$egl_REQUIRES'
35524 egl_NONPKGCONFIG_LIBS='$egl_NONPKGCONFIG_LIBS'
35525 egl_NONPKGCONFIG_EXTRA_LIBS='$egl_NONPKGCONFIG_EXTRA_LIBS'
35526 egl_NONPKGCONFIG_CFLAGS='$egl_NONPKGCONFIG_CFLAGS'
35529 egl_BASE='$egl_BASE'
35530 egl_REQUIRES='$egl_REQUIRES'
35531 egl_NONPKGCONFIG_LIBS='$egl_NONPKGCONFIG_LIBS'
35532 egl_NONPKGCONFIG_EXTRA_LIBS='$egl_NONPKGCONFIG_EXTRA_LIBS'
35533 egl_NONPKGCONFIG_CFLAGS='$egl_NONPKGCONFIG_CFLAGS'
35536 glx_BASE='$glx_BASE'
35537 glx_REQUIRES='$glx_REQUIRES'
35538 glx_NONPKGCONFIG_LIBS='$glx_NONPKGCONFIG_LIBS'
35539 glx_NONPKGCONFIG_EXTRA_LIBS='$glx_NONPKGCONFIG_EXTRA_LIBS'
35540 glx_NONPKGCONFIG_CFLAGS='$glx_NONPKGCONFIG_CFLAGS'
35543 glx_BASE='$glx_BASE'
35544 glx_REQUIRES='$glx_REQUIRES'
35545 glx_NONPKGCONFIG_LIBS='$glx_NONPKGCONFIG_LIBS'
35546 glx_NONPKGCONFIG_EXTRA_LIBS='$glx_NONPKGCONFIG_EXTRA_LIBS'
35547 glx_NONPKGCONFIG_CFLAGS='$glx_NONPKGCONFIG_CFLAGS'
35550 wgl_BASE='$wgl_BASE'
35551 wgl_REQUIRES='$wgl_REQUIRES'
35552 wgl_NONPKGCONFIG_LIBS='$wgl_NONPKGCONFIG_LIBS'
35553 wgl_NONPKGCONFIG_EXTRA_LIBS='$wgl_NONPKGCONFIG_EXTRA_LIBS'
35554 wgl_NONPKGCONFIG_CFLAGS='$wgl_NONPKGCONFIG_CFLAGS'
35557 wgl_BASE='$wgl_BASE'
35558 wgl_REQUIRES='$wgl_REQUIRES'
35559 wgl_NONPKGCONFIG_LIBS='$wgl_NONPKGCONFIG_LIBS'
35560 wgl_NONPKGCONFIG_EXTRA_LIBS='$wgl_NONPKGCONFIG_EXTRA_LIBS'
35561 wgl_NONPKGCONFIG_CFLAGS='$wgl_NONPKGCONFIG_CFLAGS'
35564 script_BASE='$script_BASE'
35565 script_REQUIRES='$script_REQUIRES'
35566 script_NONPKGCONFIG_LIBS='$script_NONPKGCONFIG_LIBS'
35567 script_NONPKGCONFIG_EXTRA_LIBS='$script_NONPKGCONFIG_EXTRA_LIBS'
35568 script_NONPKGCONFIG_CFLAGS='$script_NONPKGCONFIG_CFLAGS'
35571 script_BASE='$script_BASE'
35572 script_REQUIRES='$script_REQUIRES'
35573 script_NONPKGCONFIG_LIBS='$script_NONPKGCONFIG_LIBS'
35574 script_NONPKGCONFIG_EXTRA_LIBS='$script_NONPKGCONFIG_EXTRA_LIBS'
35575 script_NONPKGCONFIG_CFLAGS='$script_NONPKGCONFIG_CFLAGS'
35579 ft_REQUIRES='$ft_REQUIRES'
35580 ft_NONPKGCONFIG_LIBS='$ft_NONPKGCONFIG_LIBS'
35581 ft_NONPKGCONFIG_EXTRA_LIBS='$ft_NONPKGCONFIG_EXTRA_LIBS'
35582 ft_NONPKGCONFIG_CFLAGS='$ft_NONPKGCONFIG_CFLAGS'
35586 ft_REQUIRES='$ft_REQUIRES'
35587 ft_NONPKGCONFIG_LIBS='$ft_NONPKGCONFIG_LIBS'
35588 ft_NONPKGCONFIG_EXTRA_LIBS='$ft_NONPKGCONFIG_EXTRA_LIBS'
35589 ft_NONPKGCONFIG_CFLAGS='$ft_NONPKGCONFIG_CFLAGS'
35593 fc_REQUIRES='$fc_REQUIRES'
35594 fc_NONPKGCONFIG_LIBS='$fc_NONPKGCONFIG_LIBS'
35595 fc_NONPKGCONFIG_EXTRA_LIBS='$fc_NONPKGCONFIG_EXTRA_LIBS'
35596 fc_NONPKGCONFIG_CFLAGS='$fc_NONPKGCONFIG_CFLAGS'
35600 fc_REQUIRES='$fc_REQUIRES'
35601 fc_NONPKGCONFIG_LIBS='$fc_NONPKGCONFIG_LIBS'
35602 fc_NONPKGCONFIG_EXTRA_LIBS='$fc_NONPKGCONFIG_EXTRA_LIBS'
35603 fc_NONPKGCONFIG_CFLAGS='$fc_NONPKGCONFIG_CFLAGS'
35607 ps_REQUIRES='$ps_REQUIRES'
35608 ps_NONPKGCONFIG_LIBS='$ps_NONPKGCONFIG_LIBS'
35609 ps_NONPKGCONFIG_EXTRA_LIBS='$ps_NONPKGCONFIG_EXTRA_LIBS'
35610 ps_NONPKGCONFIG_CFLAGS='$ps_NONPKGCONFIG_CFLAGS'
35614 ps_REQUIRES='$ps_REQUIRES'
35615 ps_NONPKGCONFIG_LIBS='$ps_NONPKGCONFIG_LIBS'
35616 ps_NONPKGCONFIG_EXTRA_LIBS='$ps_NONPKGCONFIG_EXTRA_LIBS'
35617 ps_NONPKGCONFIG_CFLAGS='$ps_NONPKGCONFIG_CFLAGS'
35620 pdf_BASE='$pdf_BASE'
35621 pdf_REQUIRES='$pdf_REQUIRES'
35622 pdf_NONPKGCONFIG_LIBS='$pdf_NONPKGCONFIG_LIBS'
35623 pdf_NONPKGCONFIG_EXTRA_LIBS='$pdf_NONPKGCONFIG_EXTRA_LIBS'
35624 pdf_NONPKGCONFIG_CFLAGS='$pdf_NONPKGCONFIG_CFLAGS'
35627 pdf_BASE='$pdf_BASE'
35628 pdf_REQUIRES='$pdf_REQUIRES'
35629 pdf_NONPKGCONFIG_LIBS='$pdf_NONPKGCONFIG_LIBS'
35630 pdf_NONPKGCONFIG_EXTRA_LIBS='$pdf_NONPKGCONFIG_EXTRA_LIBS'
35631 pdf_NONPKGCONFIG_CFLAGS='$pdf_NONPKGCONFIG_CFLAGS'
35634 svg_BASE='$svg_BASE'
35635 svg_REQUIRES='$svg_REQUIRES'
35636 svg_NONPKGCONFIG_LIBS='$svg_NONPKGCONFIG_LIBS'
35637 svg_NONPKGCONFIG_EXTRA_LIBS='$svg_NONPKGCONFIG_EXTRA_LIBS'
35638 svg_NONPKGCONFIG_CFLAGS='$svg_NONPKGCONFIG_CFLAGS'
35641 svg_BASE='$svg_BASE'
35642 svg_REQUIRES='$svg_REQUIRES'
35643 svg_NONPKGCONFIG_LIBS='$svg_NONPKGCONFIG_LIBS'
35644 svg_NONPKGCONFIG_EXTRA_LIBS='$svg_NONPKGCONFIG_EXTRA_LIBS'
35645 svg_NONPKGCONFIG_CFLAGS='$svg_NONPKGCONFIG_CFLAGS'
35648 tee_BASE='$tee_BASE'
35649 tee_REQUIRES='$tee_REQUIRES'
35650 tee_NONPKGCONFIG_LIBS='$tee_NONPKGCONFIG_LIBS'
35651 tee_NONPKGCONFIG_EXTRA_LIBS='$tee_NONPKGCONFIG_EXTRA_LIBS'
35652 tee_NONPKGCONFIG_CFLAGS='$tee_NONPKGCONFIG_CFLAGS'
35655 tee_BASE='$tee_BASE'
35656 tee_REQUIRES='$tee_REQUIRES'
35657 tee_NONPKGCONFIG_LIBS='$tee_NONPKGCONFIG_LIBS'
35658 tee_NONPKGCONFIG_EXTRA_LIBS='$tee_NONPKGCONFIG_EXTRA_LIBS'
35659 tee_NONPKGCONFIG_CFLAGS='$tee_NONPKGCONFIG_CFLAGS'
35662 xml_BASE='$xml_BASE'
35663 xml_REQUIRES='$xml_REQUIRES'
35664 xml_NONPKGCONFIG_LIBS='$xml_NONPKGCONFIG_LIBS'
35665 xml_NONPKGCONFIG_EXTRA_LIBS='$xml_NONPKGCONFIG_EXTRA_LIBS'
35666 xml_NONPKGCONFIG_CFLAGS='$xml_NONPKGCONFIG_CFLAGS'
35669 xml_BASE='$xml_BASE'
35670 xml_REQUIRES='$xml_REQUIRES'
35671 xml_NONPKGCONFIG_LIBS='$xml_NONPKGCONFIG_LIBS'
35672 xml_NONPKGCONFIG_EXTRA_LIBS='$xml_NONPKGCONFIG_EXTRA_LIBS'
35673 xml_NONPKGCONFIG_CFLAGS='$xml_NONPKGCONFIG_CFLAGS'
35676 gobject_BASE='$gobject_BASE'
35677 gobject_REQUIRES='$gobject_REQUIRES'
35678 gobject_NONPKGCONFIG_LIBS='$gobject_NONPKGCONFIG_LIBS'
35679 gobject_NONPKGCONFIG_EXTRA_LIBS='$gobject_NONPKGCONFIG_EXTRA_LIBS'
35680 gobject_NONPKGCONFIG_CFLAGS='$gobject_NONPKGCONFIG_CFLAGS'
35683 gobject_BASE='$gobject_BASE'
35684 gobject_REQUIRES='$gobject_REQUIRES'
35685 gobject_NONPKGCONFIG_LIBS='$gobject_NONPKGCONFIG_LIBS'
35686 gobject_NONPKGCONFIG_EXTRA_LIBS='$gobject_NONPKGCONFIG_EXTRA_LIBS'
35687 gobject_NONPKGCONFIG_CFLAGS='$gobject_NONPKGCONFIG_CFLAGS'
35692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35694 # Handling of arguments.
35695 for ac_config_target in $ac_config_targets
35697 case $ac_config_target in
35698 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
35699 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35700 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
35701 "$srcdir/build/Makefile.win32.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/build/Makefile.win32.features" ;;
35702 "$srcdir/src/Makefile.am.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/src/Makefile.am.features" ;;
35703 "$srcdir/src/Makefile.win32.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/src/Makefile.win32.features" ;;
35704 "$srcdir/boilerplate/Makefile.am.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/boilerplate/Makefile.am.features" ;;
35705 "$srcdir/boilerplate/Makefile.win32.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/boilerplate/Makefile.win32.features" ;;
35706 "src/cairo.pc") CONFIG_FILES="$CONFIG_FILES src/cairo.pc" ;;
35707 "cairo-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-uninstalled.pc:src/cairo-uninstalled.pc.in" ;;
35708 "src/cairo-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS src/cairo-features.h" ;;
35709 "src/cairo-supported-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS src/cairo-supported-features.h" ;;
35710 "$srcdir/build/Makefile.win32.features-h") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/build/Makefile.win32.features-h" ;;
35711 "src/cairo-xlib.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xlib.pc:src/cairo-features.pc.in" ;;
35712 "cairo-xlib-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xlib-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35713 "src/cairo-xlib-xrender.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xlib-xrender.pc:src/cairo-features.pc.in" ;;
35714 "cairo-xlib-xrender-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xlib-xrender-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35715 "src/cairo-xcb.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xcb.pc:src/cairo-features.pc.in" ;;
35716 "cairo-xcb-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35717 "src/cairo-xlib-xcb.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xlib-xcb.pc:src/cairo-features.pc.in" ;;
35718 "cairo-xlib-xcb-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xlib-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35719 "src/cairo-xcb-shm.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xcb-shm.pc:src/cairo-features.pc.in" ;;
35720 "cairo-xcb-shm-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xcb-shm-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35721 "src/cairo-qt.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-qt.pc:src/cairo-features.pc.in" ;;
35722 "cairo-qt-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-qt-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35723 "src/cairo-quartz.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-quartz.pc:src/cairo-features.pc.in" ;;
35724 "cairo-quartz-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-quartz-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35725 "src/cairo-quartz-font.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-quartz-font.pc:src/cairo-features.pc.in" ;;
35726 "cairo-quartz-font-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-quartz-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35727 "src/cairo-quartz-image.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-quartz-image.pc:src/cairo-features.pc.in" ;;
35728 "cairo-quartz-image-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-quartz-image-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35729 "src/cairo-win32.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-win32.pc:src/cairo-features.pc.in" ;;
35730 "cairo-win32-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-win32-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35731 "src/cairo-win32-font.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-win32-font.pc:src/cairo-features.pc.in" ;;
35732 "cairo-win32-font-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-win32-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35733 "src/cairo-skia.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-skia.pc:src/cairo-features.pc.in" ;;
35734 "cairo-skia-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-skia-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35735 "src/cairo-os2.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-os2.pc:src/cairo-features.pc.in" ;;
35736 "cairo-os2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-os2-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35737 "src/cairo-beos.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-beos.pc:src/cairo-features.pc.in" ;;
35738 "cairo-beos-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-beos-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35739 "src/cairo-drm.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-drm.pc:src/cairo-features.pc.in" ;;
35740 "cairo-drm-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-drm-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35741 "src/cairo-gallium.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-gallium.pc:src/cairo-features.pc.in" ;;
35742 "cairo-gallium-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-gallium-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35743 "src/cairo-png.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-png.pc:src/cairo-features.pc.in" ;;
35744 "cairo-png-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-png-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35745 "src/cairo-gl.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-gl.pc:src/cairo-features.pc.in" ;;
35746 "cairo-gl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-gl-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35747 "src/cairo-glesv2.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-glesv2.pc:src/cairo-features.pc.in" ;;
35748 "cairo-glesv2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-glesv2-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35749 "src/cairo-cogl.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-cogl.pc:src/cairo-features.pc.in" ;;
35750 "cairo-cogl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-cogl-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35751 "src/cairo-directfb.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-directfb.pc:src/cairo-features.pc.in" ;;
35752 "cairo-directfb-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-directfb-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35753 "src/cairo-vg.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-vg.pc:src/cairo-features.pc.in" ;;
35754 "cairo-vg-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-vg-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35755 "src/cairo-egl.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-egl.pc:src/cairo-features.pc.in" ;;
35756 "cairo-egl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-egl-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35757 "src/cairo-glx.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-glx.pc:src/cairo-features.pc.in" ;;
35758 "cairo-glx-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-glx-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35759 "src/cairo-wgl.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-wgl.pc:src/cairo-features.pc.in" ;;
35760 "cairo-wgl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-wgl-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35761 "src/cairo-script.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-script.pc:src/cairo-features.pc.in" ;;
35762 "cairo-script-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-script-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35763 "src/cairo-ft.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-ft.pc:src/cairo-features.pc.in" ;;
35764 "cairo-ft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-ft-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35765 "src/cairo-fc.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-fc.pc:src/cairo-features.pc.in" ;;
35766 "cairo-fc-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-fc-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35767 "src/cairo-ps.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-ps.pc:src/cairo-features.pc.in" ;;
35768 "cairo-ps-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-ps-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35769 "src/cairo-pdf.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-pdf.pc:src/cairo-features.pc.in" ;;
35770 "cairo-pdf-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-pdf-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35771 "src/cairo-svg.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-svg.pc:src/cairo-features.pc.in" ;;
35772 "cairo-svg-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-svg-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35773 "src/cairo-tee.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-tee.pc:src/cairo-features.pc.in" ;;
35774 "cairo-tee-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-tee-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35775 "src/cairo-xml.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xml.pc:src/cairo-features.pc.in" ;;
35776 "cairo-xml-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xml-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35777 "src/cairo-gobject.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-gobject.pc:src/cairo-features.pc.in" ;;
35778 "cairo-gobject-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-gobject-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
35779 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35780 "boilerplate/Makefile") CONFIG_FILES="$CONFIG_FILES boilerplate/Makefile" ;;
35781 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
35782 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
35783 "test/pdiff/Makefile") CONFIG_FILES="$CONFIG_FILES test/pdiff/Makefile" ;;
35784 "perf/Makefile") CONFIG_FILES="$CONFIG_FILES perf/Makefile" ;;
35785 "perf/micro/Makefile") CONFIG_FILES="$CONFIG_FILES perf/micro/Makefile" ;;
35786 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
35787 "util/cairo-fdr/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-fdr/Makefile" ;;
35788 "util/cairo-gobject/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-gobject/Makefile" ;;
35789 "util/cairo-missing/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-missing/Makefile" ;;
35790 "util/cairo-script/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-script/Makefile" ;;
35791 "util/cairo-script/examples/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-script/examples/Makefile" ;;
35792 "util/cairo-sphinx/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-sphinx/Makefile" ;;
35793 "util/cairo-trace/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-trace/Makefile" ;;
35794 "util/cairo-trace/cairo-trace") CONFIG_FILES="$CONFIG_FILES util/cairo-trace/cairo-trace" ;;
35795 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
35796 "doc/public/Makefile") CONFIG_FILES="$CONFIG_FILES doc/public/Makefile" ;;
35798 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
35803 # If the user did not use the arguments to specify the items to instantiate,
35804 # then the envvar interface is used. Set only those that are not.
35805 # We use the long form for the default assignment because of an extremely
35806 # bizarre bug on SunOS 4.1.3.
35807 if $ac_need_defaults; then
35808 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35809 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35810 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35813 # Have a temporary directory for convenience. Make it in the build tree
35814 # simply because there is no reason against having it here, and in addition,
35815 # creating and moving files from /tmp can sometimes cause problems.
35816 # Hook for its removal unless debugging.
35817 # Note that there is a small window in which the directory will not be cleaned:
35818 # after its creation but before its name has been assigned to `$tmp'.
35822 trap 'exit_status=$?
35823 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
35825 trap 'as_fn_exit 1' 1 2 13 15
35827 # Create a (secure) tmp directory for tmp files.
35830 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
35831 test -n "$tmp" && test -d "$tmp"
35834 tmp=./conf$$-$RANDOM
35835 (umask 077 && mkdir "$tmp")
35836 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
35838 # Set up the scripts for CONFIG_FILES section.
35839 # No need to generate them if there are no CONFIG_FILES.
35840 # This happens for instance with `./config.status config.h'.
35841 if test -n "$CONFIG_FILES"; then
35844 ac_cr=`echo X | tr X '\015'`
35845 # On cygwin, bash can eat \r inside `` if the user requested igncr.
35846 # But we know of no other shell where ac_cr would be empty at this
35847 # point, so we can use a bashism as a fallback.
35848 if test "x$ac_cr" = x; then
35849 eval ac_cr=\$\'\\r\'
35851 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
35852 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
35855 ac_cs_awk_cr=$ac_cr
35858 echo 'BEGIN {' >"$tmp/subs1.awk" &&
35863 echo "cat >conf$$subs.awk <<_ACEOF" &&
35864 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
35866 } >conf$$subs.sh ||
35867 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35868 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
35870 for ac_last_try in false false false false false :; do
35871 . ./conf$$subs.sh ||
35872 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35874 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
35875 if test $ac_delim_n = $ac_delim_num; then
35877 elif $ac_last_try; then
35878 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35880 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35883 rm -f conf$$subs.sh
35885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35886 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
35890 s/^/S["/; s/!.*/"]=/
35900 s/\(.\{148\}\)..*/\1/
35902 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
35907 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35914 s/\(.\{148\}\)..*/\1/
35916 s/["\\]/\\&/g; s/^/"/; s/$/"/
35920 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35925 ' <conf$$subs.awk | sed '
35930 ' >>$CONFIG_STATUS || ac_write_fail=1
35931 rm -f conf$$subs.awk
35932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35934 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
35935 for (key in S) S_is_set[key] = 1
35941 nfields = split(line, field, "@")
35943 len = length(field[1])
35944 for (i = 2; i < nfields; i++) {
35946 keylen = length(key)
35947 if (S_is_set[key]) {
35949 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
35950 len += length(value) + length(field[++i])
35961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35962 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
35963 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
35966 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
35967 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
35970 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
35971 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
35972 # trailing colons and then remove the whole line if VPATH becomes empty
35973 # (actually we leave an empty line to preserve line numbers).
35974 if test "x$srcdir" = x.; then
35975 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
35993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35994 fi # test -n "$CONFIG_FILES"
35996 # Set up the scripts for CONFIG_HEADERS section.
35997 # No need to generate them if there are no CONFIG_HEADERS.
35998 # This happens for instance with `./config.status Makefile'.
35999 if test -n "$CONFIG_HEADERS"; then
36000 cat >"$tmp/defines.awk" <<\_ACAWK ||
36004 # Transform confdefs.h into an awk script `defines.awk', embedded as
36005 # here-document in config.status, that substitutes the proper values into
36006 # config.h.in to produce config.h.
36008 # Create a delimiter string that does not exist in confdefs.h, to ease
36009 # handling of long lines.
36011 for ac_last_try in false false :; do
36012 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
36013 if test -z "$ac_t"; then
36015 elif $ac_last_try; then
36016 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
36018 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
36022 # For the awk script, D is an array of macro values keyed by name,
36023 # likewise P contains macro parameters if any. Preserve backslash
36024 # newline sequences.
36026 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
36028 s/.\{148\}/&'"$ac_delim"'/g
36031 s/^[ ]*#[ ]*define[ ][ ]*/ /
36038 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
36040 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
36044 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
36045 D["\1"]=" \3\\\\\\n"\\/p
36047 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
36052 s/.\{148\}/&'"$ac_delim"'/g
36057 s/["\\]/\\&/g; s/^/"/; s/$/"/p
36060 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
36062 ' <confdefs.h | sed '
36063 s/'"$ac_delim"'/"\\\
36064 "/g' >>$CONFIG_STATUS || ac_write_fail=1
36066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36067 for (key in D) D_is_set[key] = 1
36070 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
36072 split(line, arg, " ")
36073 if (arg[1] == "#") {
36077 defundef = substr(arg[1], 2)
36080 split(mac1, mac2, "(") #)
36082 prefix = substr(line, 1, index(line, defundef) - 1)
36083 if (D_is_set[macro]) {
36084 # Preserve the white space surrounding the "#".
36085 print prefix "define", macro P[macro] D[macro]
36088 # Replace #undef with comments. This is necessary, for example,
36089 # in the case of _POSIX_SOURCE, which is predefined and required
36090 # on some systems where configure will not decide to define it.
36091 if (defundef == "undef") {
36092 print "/*", prefix defundef, macro, "*/"
36100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36101 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
36102 fi # test -n "$CONFIG_HEADERS"
36105 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
36110 :[FHLC]) ac_mode=$ac_tag; continue;;
36112 case $ac_mode$ac_tag in
36114 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
36115 :[FH]-) ac_tag=-:-;;
36116 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
36133 -) ac_f="$tmp/stdin";;
36134 *) # Look for the file first in the build tree, then in the source tree
36135 # (if the path is not absolute). The absolute path cannot be DOS-style,
36136 # because $ac_f cannot contain `:'.
36140 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
36142 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
36144 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
36145 as_fn_append ac_file_inputs " '$ac_f'"
36148 # Let's still pretend it is `configure' which instantiates (i.e., don't
36149 # use $as_me), people would be surprised to read:
36150 # /* config.h. Generated by config.status. */
36151 configure_input='Generated from '`
36152 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
36154 if test x"$ac_file" != x-; then
36155 configure_input="$ac_file. $configure_input"
36156 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
36157 $as_echo "$as_me: creating $ac_file" >&6;}
36159 # Neutralize special characters interpreted by sed in replacement strings.
36160 case $configure_input in #(
36161 *\&* | *\|* | *\\* )
36162 ac_sed_conf_input=`$as_echo "$configure_input" |
36163 sed 's/[\\\\&|]/\\\\&/g'`;; #(
36164 *) ac_sed_conf_input=$configure_input;;
36168 *:-:* | *:-) cat >"$tmp/stdin" \
36169 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
36174 ac_dir=`$as_dirname -- "$ac_file" ||
36175 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36176 X"$ac_file" : 'X\(//\)[^/]' \| \
36177 X"$ac_file" : 'X\(//\)$' \| \
36178 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
36179 $as_echo X"$ac_file" |
36180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36184 /^X\(\/\/\)[^/].*/{
36197 as_dir="$ac_dir"; as_fn_mkdir_p
36201 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
36203 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
36204 # A ".." for each directory in $ac_dir_suffix.
36205 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
36206 case $ac_top_builddir_sub in
36207 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
36208 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
36211 ac_abs_top_builddir=$ac_pwd
36212 ac_abs_builddir=$ac_pwd$ac_dir_suffix
36213 # for backward compatibility:
36214 ac_top_builddir=$ac_top_build_prefix
36217 .) # We are building in place.
36219 ac_top_srcdir=$ac_top_builddir_sub
36220 ac_abs_top_srcdir=$ac_pwd ;;
36221 [\\/]* | ?:[\\/]* ) # Absolute name.
36222 ac_srcdir=$srcdir$ac_dir_suffix;
36223 ac_top_srcdir=$srcdir
36224 ac_abs_top_srcdir=$srcdir ;;
36225 *) # Relative name.
36226 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
36227 ac_top_srcdir=$ac_top_build_prefix$srcdir
36228 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
36230 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
36240 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36241 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
36243 ac_MKDIR_P=$MKDIR_P
36245 [\\/$]* | ?:[\\/]* ) ;;
36246 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
36250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36251 # If the template does not know about datarootdir, expand it.
36252 # FIXME: This hack should be removed a few years after 2.60.
36253 ac_datarootdir_hack=; ac_datarootdir_seen=
36264 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
36265 *datarootdir*) ac_datarootdir_seen=yes;;
36266 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
36267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
36268 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
36270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36271 ac_datarootdir_hack='
36272 s&@datadir@&$datadir&g
36273 s&@docdir@&$docdir&g
36274 s&@infodir@&$infodir&g
36275 s&@localedir@&$localedir&g
36276 s&@mandir@&$mandir&g
36277 s&\\\${datarootdir}&$datarootdir&g' ;;
36281 # Neutralize VPATH when `$srcdir' = `.'.
36282 # Shell code in configure.ac might set extrasub.
36283 # FIXME: do we really want to maintain this feature?
36284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36285 ac_sed_extra="$ac_vpsub
36288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36290 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36291 s|@configure_input@|$ac_sed_conf_input|;t t
36292 s&@top_builddir@&$ac_top_builddir_sub&;t t
36293 s&@top_build_prefix@&$ac_top_build_prefix&;t t
36294 s&@srcdir@&$ac_srcdir&;t t
36295 s&@abs_srcdir@&$ac_abs_srcdir&;t t
36296 s&@top_srcdir@&$ac_top_srcdir&;t t
36297 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
36298 s&@builddir@&$ac_builddir&;t t
36299 s&@abs_builddir@&$ac_abs_builddir&;t t
36300 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
36301 s&@INSTALL@&$ac_INSTALL&;t t
36302 s&@MKDIR_P@&$ac_MKDIR_P&;t t
36303 $ac_datarootdir_hack
36305 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
36306 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
36308 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
36309 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
36310 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
36311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
36312 which seems to be undefined. Please make sure it is defined" >&5
36313 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
36314 which seems to be undefined. Please make sure it is defined" >&2;}
36318 -) cat "$tmp/out" && rm -f "$tmp/out";;
36319 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
36321 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
36327 if test x"$ac_file" != x-; then
36329 $as_echo "/* $configure_input */" \
36330 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
36331 } >"$tmp/config.h" \
36332 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
36333 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
36334 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
36335 $as_echo "$as_me: $ac_file is unchanged" >&6;}
36338 mv "$tmp/config.h" "$ac_file" \
36339 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
36342 $as_echo "/* $configure_input */" \
36343 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
36344 || as_fn_error $? "could not create -" "$LINENO" 5
36346 # Compute "$ac_file"'s index in $config_headers.
36349 for _am_header in $config_headers :; do
36350 case $_am_header in
36351 $_am_arg | $_am_arg:* )
36354 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
36357 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
36358 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36359 X"$_am_arg" : 'X\(//\)[^/]' \| \
36360 X"$_am_arg" : 'X\(//\)$' \| \
36361 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
36362 $as_echo X"$_am_arg" |
36363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36367 /^X\(\/\/\)[^/].*/{
36379 s/.*/./; q'`/stamp-h$_am_stamp_count
36382 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
36383 $as_echo "$as_me: executing $ac_file commands" >&6;}
36388 case $ac_file$ac_mode in
36389 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
36390 # Autoconf 2.62 quotes --file arguments for eval, but not when files
36391 # are listed without --file. Let's play safe and only enable the eval
36392 # if we detect the quoting.
36393 case $CONFIG_FILES in
36394 *\'*) eval set x "$CONFIG_FILES" ;;
36395 *) set x $CONFIG_FILES ;;
36400 # Strip MF so we end up with the name of the file.
36401 mf=`echo "$mf" | sed -e 's/:.*$//'`
36402 # Check whether this is an Automake generated Makefile or not.
36403 # We used to match only the files named `Makefile.in', but
36404 # some people rename them; so instead we look at the file content.
36405 # Grep'ing the first line is not enough: some people post-process
36406 # each Makefile.in and add a new line on top of each file to say so.
36407 # Grep'ing the whole file is not good either: AIX grep has a line
36408 # limit of 2048, but all sed's we know have understand at least 4000.
36409 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
36410 dirpart=`$as_dirname -- "$mf" ||
36411 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36412 X"$mf" : 'X\(//\)[^/]' \| \
36413 X"$mf" : 'X\(//\)$' \| \
36414 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
36416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36420 /^X\(\/\/\)[^/].*/{
36436 # Extract the definition of DEPDIR, am__include, and am__quote
36437 # from the Makefile without running `make'.
36438 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
36439 test -z "$DEPDIR" && continue
36440 am__include=`sed -n 's/^am__include = //p' < "$mf"`
36441 test -z "am__include" && continue
36442 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
36443 # When using ansi2knr, U may be empty or an underscore; expand it
36444 U=`sed -n 's/^U = //p' < "$mf"`
36445 # Find all dependency output files, they are included files with
36446 # $(DEPDIR) in their names. We invoke sed twice because it is the
36447 # simplest approach to changing $(DEPDIR) to its actual value in the
36449 for file in `sed -n "
36450 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
36451 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
36452 # Make sure the directory exists.
36453 test -f "$dirpart/$file" && continue
36454 fdir=`$as_dirname -- "$file" ||
36455 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36456 X"$file" : 'X\(//\)[^/]' \| \
36457 X"$file" : 'X\(//\)$' \| \
36458 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
36459 $as_echo X"$file" |
36460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36464 /^X\(\/\/\)[^/].*/{
36477 as_dir=$dirpart/$fdir; as_fn_mkdir_p
36478 # echo "creating $dirpart/$file"
36479 echo '# dummy' > "$dirpart/$file"
36486 # See if we are running on zsh, and set the options which allow our
36487 # commands through without removal of \ escapes.
36488 if test -n "${ZSH_VERSION+set}" ; then
36489 setopt NO_GLOB_SUBST
36492 cfgfile="${ofile}T"
36493 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
36496 cat <<_LT_EOF >> "$cfgfile"
36499 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
36500 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
36501 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
36502 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
36504 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
36505 # 2006, 2007, 2008 Free Software Foundation, Inc.
36506 # Written by Gordon Matzigkeit, 1996
36508 # This file is part of GNU Libtool.
36510 # GNU Libtool is free software; you can redistribute it and/or
36511 # modify it under the terms of the GNU General Public License as
36512 # published by the Free Software Foundation; either version 2 of
36513 # the License, or (at your option) any later version.
36515 # As a special exception to the GNU General Public License,
36516 # if you distribute this file as part of a program or library that
36517 # is built using GNU Libtool, you may include this file under the
36518 # same distribution terms that you use for the rest of that program.
36520 # GNU Libtool is distributed in the hope that it will be useful,
36521 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36522 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36523 # GNU General Public License for more details.
36525 # You should have received a copy of the GNU General Public License
36526 # along with GNU Libtool; see the file COPYING. If not, a copy
36527 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
36528 # obtained by writing to the Free Software Foundation, Inc.,
36529 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36532 # The names of the tagged configurations supported by this script.
36533 available_tags="CXX "
36535 # ### BEGIN LIBTOOL CONFIG
36537 # Which release of libtool.m4 was used?
36538 macro_version=$macro_version
36539 macro_revision=$macro_revision
36541 # Assembler program.
36544 # DLL creation program.
36547 # Object dumper program.
36550 # Whether or not to build shared libraries.
36551 build_libtool_libs=$enable_shared
36553 # Whether or not to build static libraries.
36554 build_old_libs=$enable_static
36556 # What type of objects to build.
36559 # Whether or not to optimize for fast installation.
36560 fast_install=$enable_fast_install
36563 host_alias=$host_alias
36567 # The build system.
36568 build_alias=$build_alias
36572 # A sed program that does not truncate output.
36575 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
36576 Xsed="\$SED -e 1s/^X//"
36578 # A grep program that handles long lines.
36584 # A literal string matcher.
36587 # A BSD- or MS-compatible name lister.
36590 # Whether we need soft or hard links.
36593 # What is the maximum length of a command?
36594 max_cmd_len=$max_cmd_len
36596 # Object file suffix (normally "o").
36599 # Executable file suffix (normally "").
36602 # whether the shell understands "unset".
36605 # turn spaces into newlines.
36608 # turn newlines into spaces.
36611 # How to create reloadable object files.
36612 reload_flag=$lt_reload_flag
36613 reload_cmds=$lt_reload_cmds
36615 # Method to check whether dependent libraries are shared objects.
36616 deplibs_check_method=$lt_deplibs_check_method
36618 # Command to use when deplibs_check_method == "file_magic".
36619 file_magic_cmd=$lt_file_magic_cmd
36623 AR_FLAGS=$lt_AR_FLAGS
36625 # A symbol stripping program.
36628 # Commands used to install an old-style archive.
36630 old_postinstall_cmds=$lt_old_postinstall_cmds
36631 old_postuninstall_cmds=$lt_old_postuninstall_cmds
36636 # LTCC compiler flags.
36637 LTCFLAGS=$lt_CFLAGS
36639 # Take the output of nm and produce a listing of raw symbols and C names.
36640 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
36642 # Transform the output of nm in a proper C declaration.
36643 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
36645 # Transform the output of nm in a C name address pair.
36646 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
36648 # Transform the output of nm in a C name address pair when lib prefix is needed.
36649 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
36651 # The name of the directory that contains temporary libtool files.
36654 # Shell to use when invoking shell scripts.
36657 # An echo program that does not interpret backslashes.
36660 # Used to examine libraries when file_magic_cmd begins with "file".
36661 MAGIC_CMD=$MAGIC_CMD
36663 # Must we lock files when doing compilation?
36664 need_locks=$lt_need_locks
36666 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
36667 DSYMUTIL=$lt_DSYMUTIL
36669 # Tool to change global to local symbols on Mac OS X.
36672 # Tool to manipulate fat objects and archives on Mac OS X.
36675 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
36678 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
36679 OTOOL64=$lt_OTOOL64
36681 # Old archive suffix (normally "a").
36684 # Shared library suffix (normally ".so").
36685 shrext_cmds=$lt_shrext_cmds
36687 # The commands to extract the exported symbol list from a shared archive.
36688 extract_expsyms_cmds=$lt_extract_expsyms_cmds
36690 # Variables whose values should be saved in libtool wrapper scripts and
36691 # restored at link time.
36692 variables_saved_for_relink=$lt_variables_saved_for_relink
36694 # Do we need the "lib" prefix for modules?
36695 need_lib_prefix=$need_lib_prefix
36697 # Do we need a version for libraries?
36698 need_version=$need_version
36700 # Library versioning type.
36701 version_type=$version_type
36703 # Shared library runtime path variable.
36704 runpath_var=$runpath_var
36706 # Shared library path variable.
36707 shlibpath_var=$shlibpath_var
36709 # Is shlibpath searched before the hard-coded library search path?
36710 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36712 # Format of library name prefix.
36713 libname_spec=$lt_libname_spec
36715 # List of archive names. First name is the real one, the rest are links.
36716 # The last name is the one that the linker finds with -lNAME
36717 library_names_spec=$lt_library_names_spec
36719 # The coded name of the library, if different from the real name.
36720 soname_spec=$lt_soname_spec
36722 # Command to use after installation of a shared archive.
36723 postinstall_cmds=$lt_postinstall_cmds
36725 # Command to use after uninstallation of a shared archive.
36726 postuninstall_cmds=$lt_postuninstall_cmds
36728 # Commands used to finish a libtool library installation in a directory.
36729 finish_cmds=$lt_finish_cmds
36731 # As "finish_cmds", except a single script fragment to be evaled but
36733 finish_eval=$lt_finish_eval
36735 # Whether we should hardcode library paths into libraries.
36736 hardcode_into_libs=$hardcode_into_libs
36738 # Compile-time system search path for libraries.
36739 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36741 # Run-time system search path for libraries.
36742 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36744 # Whether dlopen is supported.
36745 dlopen_support=$enable_dlopen
36747 # Whether dlopen of programs is supported.
36748 dlopen_self=$enable_dlopen_self
36750 # Whether dlopen of statically linked programs is supported.
36751 dlopen_self_static=$enable_dlopen_self_static
36753 # Commands to strip libraries.
36754 old_striplib=$lt_old_striplib
36755 striplib=$lt_striplib
36758 # The linker used to build libraries.
36761 # Commands used to build an old-style archive.
36762 old_archive_cmds=$lt_old_archive_cmds
36764 # A language specific compiler.
36767 # Is the compiler the GNU compiler?
36770 # Compiler flag to turn off builtin functions.
36771 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36773 # How to pass a linker flag through the compiler.
36774 wl=$lt_lt_prog_compiler_wl
36776 # Additional compiler flags for building library objects.
36777 pic_flag=$lt_lt_prog_compiler_pic
36779 # Compiler flag to prevent dynamic linking.
36780 link_static_flag=$lt_lt_prog_compiler_static
36782 # Does compiler simultaneously support -c and -o options?
36783 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36785 # Whether or not to add -lc for building shared libraries.
36786 build_libtool_need_lc=$archive_cmds_need_lc
36788 # Whether or not to disallow shared libs when runtime libs are static.
36789 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36791 # Compiler flag to allow reflexive dlopens.
36792 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36794 # Compiler flag to generate shared objects directly from archives.
36795 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36797 # Whether the compiler copes with passing no objects directly.
36798 compiler_needs_object=$lt_compiler_needs_object
36800 # Create an old-style archive from a shared archive.
36801 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36803 # Create a temporary old-style archive to link instead of a shared archive.
36804 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36806 # Commands used to build a shared archive.
36807 archive_cmds=$lt_archive_cmds
36808 archive_expsym_cmds=$lt_archive_expsym_cmds
36810 # Commands used to build a loadable module if different from building
36811 # a shared archive.
36812 module_cmds=$lt_module_cmds
36813 module_expsym_cmds=$lt_module_expsym_cmds
36815 # Whether we are building with GNU ld or not.
36816 with_gnu_ld=$lt_with_gnu_ld
36818 # Flag that allows shared libraries with undefined symbols to be built.
36819 allow_undefined_flag=$lt_allow_undefined_flag
36821 # Flag that enforces no undefined symbols.
36822 no_undefined_flag=$lt_no_undefined_flag
36824 # Flag to hardcode \$libdir into a binary during linking.
36825 # This must work even if \$libdir does not exist
36826 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36828 # If ld is used when linking, flag to hardcode \$libdir into a binary
36829 # during linking. This must work even if \$libdir does not exist.
36830 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
36832 # Whether we need a single "-rpath" flag with a separated argument.
36833 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36835 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36836 # DIR into the resulting binary.
36837 hardcode_direct=$hardcode_direct
36839 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36840 # DIR into the resulting binary and the resulting library dependency is
36841 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36842 # library is relocated.
36843 hardcode_direct_absolute=$hardcode_direct_absolute
36845 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36846 # into the resulting binary.
36847 hardcode_minus_L=$hardcode_minus_L
36849 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36850 # into the resulting binary.
36851 hardcode_shlibpath_var=$hardcode_shlibpath_var
36853 # Set to "yes" if building a shared library automatically hardcodes DIR
36854 # into the library and all subsequent libraries and executables linked
36856 hardcode_automatic=$hardcode_automatic
36858 # Set to yes if linker adds runtime paths of dependent libraries
36859 # to runtime path list.
36860 inherit_rpath=$inherit_rpath
36862 # Whether libtool must link a program against all its dependency libraries.
36863 link_all_deplibs=$link_all_deplibs
36865 # Fix the shell variable \$srcfile for the compiler.
36866 fix_srcfile_path=$lt_fix_srcfile_path
36868 # Set to "yes" if exported symbols are required.
36869 always_export_symbols=$always_export_symbols
36871 # The commands to list exported symbols.
36872 export_symbols_cmds=$lt_export_symbols_cmds
36874 # Symbols that should not be listed in the preloaded symbols.
36875 exclude_expsyms=$lt_exclude_expsyms
36877 # Symbols that must always be exported.
36878 include_expsyms=$lt_include_expsyms
36880 # Commands necessary for linking programs (against libraries) with templates.
36881 prelink_cmds=$lt_prelink_cmds
36883 # Specify filename containing input files.
36884 file_list_spec=$lt_file_list_spec
36886 # How to hardcode a shared library path into an executable.
36887 hardcode_action=$hardcode_action
36889 # The directories searched by this compiler when creating a shared library.
36890 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36892 # Dependencies to place before and after the objects being linked to
36893 # create a shared library.
36894 predep_objects=$lt_predep_objects
36895 postdep_objects=$lt_postdep_objects
36896 predeps=$lt_predeps
36897 postdeps=$lt_postdeps
36899 # The library search path used internally by the compiler when linking
36900 # a shared library.
36901 compiler_lib_search_path=$lt_compiler_lib_search_path
36903 # ### END LIBTOOL CONFIG
36909 cat <<\_LT_EOF >> "$cfgfile"
36910 # AIX sometimes has problems with the GCC collect2 program. For some
36911 # reason, if we set the COLLECT_NAMES environment variable, the problems
36912 # vanish in a puff of smoke.
36913 if test "X${COLLECT_NAMES+set}" != Xset; then
36915 export COLLECT_NAMES
36922 ltmain="$ac_aux_dir/ltmain.sh"
36925 # We use sed instead of cat because bash on DJGPP gets confused if
36926 # if finds mixed CR/LF and LF-only lines. Since sed operates in
36927 # text mode, it properly converts lines to CR/LF. This bash problem
36928 # is reportedly fixed, but why not run on old versions too?
36929 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
36930 || (rm -f "$cfgfile"; exit 1)
36934 cat << \_LT_EOF >> "$cfgfile"
36936 # func_dirname file append nondir_replacement
36937 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
36938 # otherwise set result to NONDIR_REPLACEMENT.
36942 */*) func_dirname_result="${1%/*}${2}" ;;
36943 * ) func_dirname_result="${3}" ;;
36947 # func_basename file
36950 func_basename_result="${1##*/}"
36953 # func_dirname_and_basename file append nondir_replacement
36954 # perform func_basename and func_dirname in a single function
36956 # dirname: Compute the dirname of FILE. If nonempty,
36957 # add APPEND to the result, otherwise set result
36958 # to NONDIR_REPLACEMENT.
36959 # value returned in "$func_dirname_result"
36960 # basename: Compute filename of FILE.
36961 # value retuned in "$func_basename_result"
36962 # Implementation must be kept synchronized with func_dirname
36963 # and func_basename. For efficiency, we do not delegate to
36964 # those functions but instead duplicate the functionality here.
36965 func_dirname_and_basename ()
36968 */*) func_dirname_result="${1%/*}${2}" ;;
36969 * ) func_dirname_result="${3}" ;;
36971 func_basename_result="${1##*/}"
36974 # func_stripname prefix suffix name
36975 # strip PREFIX and SUFFIX off of NAME.
36976 # PREFIX and SUFFIX must not contain globbing or regex special
36977 # characters, hashes, percent signs, but SUFFIX may contain a leading
36978 # dot (in which case that matches only a dot).
36981 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
36982 # positional parameters, so assign one to ordinary parameter first.
36983 func_stripname_result=${3}
36984 func_stripname_result=${func_stripname_result#"${1}"}
36985 func_stripname_result=${func_stripname_result%"${2}"}
36991 func_opt_split_opt=${1%%=*}
36992 func_opt_split_arg=${1#*=}
36999 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
37000 *) func_lo2o_result=${1} ;;
37004 # func_xform libobj-or-source
37007 func_xform_result=${1%.*}.lo
37010 # func_arith arithmetic-term...
37013 func_arith_result=$(( $* ))
37017 # STRING may not start with a hyphen.
37020 func_len_result=${#1}
37025 *) # Bourne compatible functions.
37026 cat << \_LT_EOF >> "$cfgfile"
37028 # func_dirname file append nondir_replacement
37029 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
37030 # otherwise set result to NONDIR_REPLACEMENT.
37033 # Extract subdirectory from the argument.
37034 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
37035 if test "X$func_dirname_result" = "X${1}"; then
37036 func_dirname_result="${3}"
37038 func_dirname_result="$func_dirname_result${2}"
37042 # func_basename file
37045 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
37049 # func_stripname prefix suffix name
37050 # strip PREFIX and SUFFIX off of NAME.
37051 # PREFIX and SUFFIX must not contain globbing or regex special
37052 # characters, hashes, percent signs, but SUFFIX may contain a leading
37053 # dot (in which case that matches only a dot).
37054 # func_strip_suffix prefix name
37058 .*) func_stripname_result=`$ECHO "X${3}" \
37059 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
37060 *) func_stripname_result=`$ECHO "X${3}" \
37061 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
37066 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
37067 my_sed_long_arg='1s/^-[^=]*=//'
37072 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
37073 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
37079 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
37082 # func_xform libobj-or-source
37085 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
37088 # func_arith arithmetic-term...
37091 func_arith_result=`expr "$@"`
37095 # STRING may not start with a hyphen.
37098 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
37104 case $lt_shell_append in
37106 cat << \_LT_EOF >> "$cfgfile"
37108 # func_append var value
37109 # Append VALUE to the end of shell variable VAR.
37117 cat << \_LT_EOF >> "$cfgfile"
37119 # func_append var value
37120 # Append VALUE to the end of shell variable VAR.
37131 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
37132 || (rm -f "$cfgfile"; exit 1)
37134 mv -f "$cfgfile" "$ofile" ||
37135 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
37139 cat <<_LT_EOF >> "$ofile"
37141 # ### BEGIN LIBTOOL TAG CONFIG: CXX
37143 # The linker used to build libraries.
37146 # Commands used to build an old-style archive.
37147 old_archive_cmds=$lt_old_archive_cmds_CXX
37149 # A language specific compiler.
37150 CC=$lt_compiler_CXX
37152 # Is the compiler the GNU compiler?
37155 # Compiler flag to turn off builtin functions.
37156 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
37158 # How to pass a linker flag through the compiler.
37159 wl=$lt_lt_prog_compiler_wl_CXX
37161 # Additional compiler flags for building library objects.
37162 pic_flag=$lt_lt_prog_compiler_pic_CXX
37164 # Compiler flag to prevent dynamic linking.
37165 link_static_flag=$lt_lt_prog_compiler_static_CXX
37167 # Does compiler simultaneously support -c and -o options?
37168 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
37170 # Whether or not to add -lc for building shared libraries.
37171 build_libtool_need_lc=$archive_cmds_need_lc_CXX
37173 # Whether or not to disallow shared libs when runtime libs are static.
37174 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
37176 # Compiler flag to allow reflexive dlopens.
37177 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
37179 # Compiler flag to generate shared objects directly from archives.
37180 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
37182 # Whether the compiler copes with passing no objects directly.
37183 compiler_needs_object=$lt_compiler_needs_object_CXX
37185 # Create an old-style archive from a shared archive.
37186 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
37188 # Create a temporary old-style archive to link instead of a shared archive.
37189 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
37191 # Commands used to build a shared archive.
37192 archive_cmds=$lt_archive_cmds_CXX
37193 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
37195 # Commands used to build a loadable module if different from building
37196 # a shared archive.
37197 module_cmds=$lt_module_cmds_CXX
37198 module_expsym_cmds=$lt_module_expsym_cmds_CXX
37200 # Whether we are building with GNU ld or not.
37201 with_gnu_ld=$lt_with_gnu_ld_CXX
37203 # Flag that allows shared libraries with undefined symbols to be built.
37204 allow_undefined_flag=$lt_allow_undefined_flag_CXX
37206 # Flag that enforces no undefined symbols.
37207 no_undefined_flag=$lt_no_undefined_flag_CXX
37209 # Flag to hardcode \$libdir into a binary during linking.
37210 # This must work even if \$libdir does not exist
37211 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
37213 # If ld is used when linking, flag to hardcode \$libdir into a binary
37214 # during linking. This must work even if \$libdir does not exist.
37215 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
37217 # Whether we need a single "-rpath" flag with a separated argument.
37218 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
37220 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
37221 # DIR into the resulting binary.
37222 hardcode_direct=$hardcode_direct_CXX
37224 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
37225 # DIR into the resulting binary and the resulting library dependency is
37226 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
37227 # library is relocated.
37228 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
37230 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
37231 # into the resulting binary.
37232 hardcode_minus_L=$hardcode_minus_L_CXX
37234 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
37235 # into the resulting binary.
37236 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
37238 # Set to "yes" if building a shared library automatically hardcodes DIR
37239 # into the library and all subsequent libraries and executables linked
37241 hardcode_automatic=$hardcode_automatic_CXX
37243 # Set to yes if linker adds runtime paths of dependent libraries
37244 # to runtime path list.
37245 inherit_rpath=$inherit_rpath_CXX
37247 # Whether libtool must link a program against all its dependency libraries.
37248 link_all_deplibs=$link_all_deplibs_CXX
37250 # Fix the shell variable \$srcfile for the compiler.
37251 fix_srcfile_path=$lt_fix_srcfile_path_CXX
37253 # Set to "yes" if exported symbols are required.
37254 always_export_symbols=$always_export_symbols_CXX
37256 # The commands to list exported symbols.
37257 export_symbols_cmds=$lt_export_symbols_cmds_CXX
37259 # Symbols that should not be listed in the preloaded symbols.
37260 exclude_expsyms=$lt_exclude_expsyms_CXX
37262 # Symbols that must always be exported.
37263 include_expsyms=$lt_include_expsyms_CXX
37265 # Commands necessary for linking programs (against libraries) with templates.
37266 prelink_cmds=$lt_prelink_cmds_CXX
37268 # Specify filename containing input files.
37269 file_list_spec=$lt_file_list_spec_CXX
37271 # How to hardcode a shared library path into an executable.
37272 hardcode_action=$hardcode_action_CXX
37274 # The directories searched by this compiler when creating a shared library.
37275 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
37277 # Dependencies to place before and after the objects being linked to
37278 # create a shared library.
37279 predep_objects=$lt_predep_objects_CXX
37280 postdep_objects=$lt_postdep_objects_CXX
37281 predeps=$lt_predeps_CXX
37282 postdeps=$lt_postdeps_CXX
37284 # The library search path used internally by the compiler when linking
37285 # a shared library.
37286 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
37288 # ### END LIBTOOL TAG CONFIG: CXX
37292 "$srcdir/build/Makefile.win32.features":C)
37293 _config_file=$srcdir/build/Makefile.win32.features
37294 _tmp_file=cairoconf.tmp
37295 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
37296 $as_echo "$as_me: creating $_config_file" >&6;}
37298 echo "$CAIRO_MAKEFILE___WIN32"
37299 } >> "$_tmp_file" ||
37300 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
37302 if cmp -s "$_tmp_file" "$_config_file"; then
37303 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
37304 $as_echo "$as_me: $_config_file is unchanged" >&6;}
37307 mv "$_tmp_file" "$_config_file" ||
37308 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
37311 "$srcdir/src/Makefile.am.features":C)
37312 _config_file=$srcdir/src/Makefile.am.features
37313 _tmp_file=cairoconf.tmp
37314 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
37315 $as_echo "$as_me: creating $_config_file" >&6;}
37317 echo "$CAIRO_MAKEFILE_cairo_AMAKE"
37318 } >> "$_tmp_file" ||
37319 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
37321 if cmp -s "$_tmp_file" "$_config_file"; then
37322 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
37323 $as_echo "$as_me: $_config_file is unchanged" >&6;}
37326 mv "$_tmp_file" "$_config_file" ||
37327 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
37330 "$srcdir/src/Makefile.win32.features":C)
37331 _config_file=$srcdir/src/Makefile.win32.features
37332 _tmp_file=cairoconf.tmp
37333 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
37334 $as_echo "$as_me: creating $_config_file" >&6;}
37336 echo "$CAIRO_MAKEFILE_cairo_WIN32"
37337 } >> "$_tmp_file" ||
37338 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
37340 if cmp -s "$_tmp_file" "$_config_file"; then
37341 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
37342 $as_echo "$as_me: $_config_file is unchanged" >&6;}
37345 mv "$_tmp_file" "$_config_file" ||
37346 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
37349 "$srcdir/boilerplate/Makefile.am.features":C)
37350 _config_file=$srcdir/boilerplate/Makefile.am.features
37351 _tmp_file=cairoconf.tmp
37352 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
37353 $as_echo "$as_me: creating $_config_file" >&6;}
37355 echo "$CAIRO_MAKEFILE_cairo_boilerplate_AMAKE"
37356 } >> "$_tmp_file" ||
37357 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
37359 if cmp -s "$_tmp_file" "$_config_file"; then
37360 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
37361 $as_echo "$as_me: $_config_file is unchanged" >&6;}
37364 mv "$_tmp_file" "$_config_file" ||
37365 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
37368 "$srcdir/boilerplate/Makefile.win32.features":C)
37369 _config_file=$srcdir/boilerplate/Makefile.win32.features
37370 _tmp_file=cairoconf.tmp
37371 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
37372 $as_echo "$as_me: creating $_config_file" >&6;}
37374 echo "$CAIRO_MAKEFILE_cairo_boilerplate_WIN32"
37375 } >> "$_tmp_file" ||
37376 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
37378 if cmp -s "$_tmp_file" "$_config_file"; then
37379 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
37380 $as_echo "$as_me: $_config_file is unchanged" >&6;}
37383 mv "$_tmp_file" "$_config_file" ||
37384 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
37387 "src/cairo-features.h":C)
37388 _config_file=src/cairo-features.h
37389 _tmp_file=cairoconf.tmp
37390 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
37391 $as_echo "$as_me: creating $_config_file" >&6;}
37393 echo '/* Generated by configure. Do not edit. */'
37394 echo '#ifndef CAIRO_FEATURES_H'
37395 echo '#define CAIRO_FEATURES_H'
37397 for FEATURE in $CAIRO_FEATURES; do
37398 echo "#define $FEATURE 1"
37401 for FEATURE in $CAIRO_NO_FEATURES; do
37402 echo "/*#undef $FEATURE */"
37407 } >> "$_tmp_file" ||
37408 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
37410 if cmp -s "$_tmp_file" "$_config_file"; then
37411 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
37412 $as_echo "$as_me: $_config_file is unchanged" >&6;}
37415 mv "$_tmp_file" "$_config_file" ||
37416 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
37419 "src/cairo-supported-features.h":C)
37420 _config_file=src/cairo-supported-features.h
37421 _tmp_file=cairoconf.tmp
37422 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
37423 $as_echo "$as_me: creating $_config_file" >&6;}
37425 echo '/* Generated by configure. Do not edit. */'
37426 echo '#ifndef CAIRO_SUPPORTED_FEATURES_H'
37427 echo '#define CAIRO_SUPPORTED_FEATURES_H'
37429 echo '/* This is a dummy header, to trick gtk-doc only */'
37431 for FEATURE in $CAIRO_SUPPORTED_FEATURES; do
37432 echo "#define $FEATURE 1"
37437 } >> "$_tmp_file" ||
37438 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
37440 if cmp -s "$_tmp_file" "$_config_file"; then
37441 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
37442 $as_echo "$as_me: $_config_file is unchanged" >&6;}
37445 mv "$_tmp_file" "$_config_file" ||
37446 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
37449 "$srcdir/build/Makefile.win32.features-h":C)
37450 _config_file=$srcdir/build/Makefile.win32.features-h
37451 _tmp_file=cairoconf.tmp
37452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
37453 $as_echo "$as_me: creating $_config_file" >&6;}
37455 echo "$CAIRO_MAKEFILE_win32_features_h_WIN32"
37456 } >> "$_tmp_file" ||
37457 as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
37459 if cmp -s "$_tmp_file" "$_config_file"; then
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
37461 $as_echo "$as_me: $_config_file is unchanged" >&6;}
37464 mv "$_tmp_file" "$_config_file" ||
37465 as_fn_error $? "failed to update $_config_file" "$LINENO" 5
37468 "src/cairo-xlib.pc":F) mv "src/cairo-xlib.pc" "src/cairo-xlib.pc.tmp" &&
37469 $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" ||
37470 as_fn_error $? "failed to update src/cairo-xlib.pc" "$LINENO" 5
37472 "cairo-xlib-uninstalled.pc":F) mv "cairo-xlib-uninstalled.pc" "cairo-xlib-uninstalled.pc.tmp" &&
37473 $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" ||
37474 as_fn_error $? "failed to update cairo-xlib-uninstalled.pc" "$LINENO" 5
37476 "src/cairo-xlib-xrender.pc":F) mv "src/cairo-xlib-xrender.pc" "src/cairo-xlib-xrender.pc.tmp" &&
37477 $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" ||
37478 as_fn_error $? "failed to update src/cairo-xlib-xrender.pc" "$LINENO" 5
37480 "cairo-xlib-xrender-uninstalled.pc":F) mv "cairo-xlib-xrender-uninstalled.pc" "cairo-xlib-xrender-uninstalled.pc.tmp" &&
37481 $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" ||
37482 as_fn_error $? "failed to update cairo-xlib-xrender-uninstalled.pc" "$LINENO" 5
37484 "src/cairo-xcb.pc":F) mv "src/cairo-xcb.pc" "src/cairo-xcb.pc.tmp" &&
37485 $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" ||
37486 as_fn_error $? "failed to update src/cairo-xcb.pc" "$LINENO" 5
37488 "cairo-xcb-uninstalled.pc":F) mv "cairo-xcb-uninstalled.pc" "cairo-xcb-uninstalled.pc.tmp" &&
37489 $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" ||
37490 as_fn_error $? "failed to update cairo-xcb-uninstalled.pc" "$LINENO" 5
37492 "src/cairo-xlib-xcb.pc":F) mv "src/cairo-xlib-xcb.pc" "src/cairo-xlib-xcb.pc.tmp" &&
37493 $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" ||
37494 as_fn_error $? "failed to update src/cairo-xlib-xcb.pc" "$LINENO" 5
37496 "cairo-xlib-xcb-uninstalled.pc":F) mv "cairo-xlib-xcb-uninstalled.pc" "cairo-xlib-xcb-uninstalled.pc.tmp" &&
37497 $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" ||
37498 as_fn_error $? "failed to update cairo-xlib-xcb-uninstalled.pc" "$LINENO" 5
37500 "src/cairo-xcb-shm.pc":F) mv "src/cairo-xcb-shm.pc" "src/cairo-xcb-shm.pc.tmp" &&
37501 $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" ||
37502 as_fn_error $? "failed to update src/cairo-xcb-shm.pc" "$LINENO" 5
37504 "cairo-xcb-shm-uninstalled.pc":F) mv "cairo-xcb-shm-uninstalled.pc" "cairo-xcb-shm-uninstalled.pc.tmp" &&
37505 $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" ||
37506 as_fn_error $? "failed to update cairo-xcb-shm-uninstalled.pc" "$LINENO" 5
37508 "src/cairo-qt.pc":F) mv "src/cairo-qt.pc" "src/cairo-qt.pc.tmp" &&
37509 $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" ||
37510 as_fn_error $? "failed to update src/cairo-qt.pc" "$LINENO" 5
37512 "cairo-qt-uninstalled.pc":F) mv "cairo-qt-uninstalled.pc" "cairo-qt-uninstalled.pc.tmp" &&
37513 $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" ||
37514 as_fn_error $? "failed to update cairo-qt-uninstalled.pc" "$LINENO" 5
37516 "src/cairo-quartz.pc":F) mv "src/cairo-quartz.pc" "src/cairo-quartz.pc.tmp" &&
37517 $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" ||
37518 as_fn_error $? "failed to update src/cairo-quartz.pc" "$LINENO" 5
37520 "cairo-quartz-uninstalled.pc":F) mv "cairo-quartz-uninstalled.pc" "cairo-quartz-uninstalled.pc.tmp" &&
37521 $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" ||
37522 as_fn_error $? "failed to update cairo-quartz-uninstalled.pc" "$LINENO" 5
37524 "src/cairo-quartz-font.pc":F) mv "src/cairo-quartz-font.pc" "src/cairo-quartz-font.pc.tmp" &&
37525 $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" ||
37526 as_fn_error $? "failed to update src/cairo-quartz-font.pc" "$LINENO" 5
37528 "cairo-quartz-font-uninstalled.pc":F) mv "cairo-quartz-font-uninstalled.pc" "cairo-quartz-font-uninstalled.pc.tmp" &&
37529 $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" ||
37530 as_fn_error $? "failed to update cairo-quartz-font-uninstalled.pc" "$LINENO" 5
37532 "src/cairo-quartz-image.pc":F) mv "src/cairo-quartz-image.pc" "src/cairo-quartz-image.pc.tmp" &&
37533 $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" ||
37534 as_fn_error $? "failed to update src/cairo-quartz-image.pc" "$LINENO" 5
37536 "cairo-quartz-image-uninstalled.pc":F) mv "cairo-quartz-image-uninstalled.pc" "cairo-quartz-image-uninstalled.pc.tmp" &&
37537 $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" ||
37538 as_fn_error $? "failed to update cairo-quartz-image-uninstalled.pc" "$LINENO" 5
37540 "src/cairo-win32.pc":F) mv "src/cairo-win32.pc" "src/cairo-win32.pc.tmp" &&
37541 $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" ||
37542 as_fn_error $? "failed to update src/cairo-win32.pc" "$LINENO" 5
37544 "cairo-win32-uninstalled.pc":F) mv "cairo-win32-uninstalled.pc" "cairo-win32-uninstalled.pc.tmp" &&
37545 $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" ||
37546 as_fn_error $? "failed to update cairo-win32-uninstalled.pc" "$LINENO" 5
37548 "src/cairo-win32-font.pc":F) mv "src/cairo-win32-font.pc" "src/cairo-win32-font.pc.tmp" &&
37549 $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" ||
37550 as_fn_error $? "failed to update src/cairo-win32-font.pc" "$LINENO" 5
37552 "cairo-win32-font-uninstalled.pc":F) mv "cairo-win32-font-uninstalled.pc" "cairo-win32-font-uninstalled.pc.tmp" &&
37553 $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" ||
37554 as_fn_error $? "failed to update cairo-win32-font-uninstalled.pc" "$LINENO" 5
37556 "src/cairo-skia.pc":F) mv "src/cairo-skia.pc" "src/cairo-skia.pc.tmp" &&
37557 $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" ||
37558 as_fn_error $? "failed to update src/cairo-skia.pc" "$LINENO" 5
37560 "cairo-skia-uninstalled.pc":F) mv "cairo-skia-uninstalled.pc" "cairo-skia-uninstalled.pc.tmp" &&
37561 $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" ||
37562 as_fn_error $? "failed to update cairo-skia-uninstalled.pc" "$LINENO" 5
37564 "src/cairo-os2.pc":F) mv "src/cairo-os2.pc" "src/cairo-os2.pc.tmp" &&
37565 $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" ||
37566 as_fn_error $? "failed to update src/cairo-os2.pc" "$LINENO" 5
37568 "cairo-os2-uninstalled.pc":F) mv "cairo-os2-uninstalled.pc" "cairo-os2-uninstalled.pc.tmp" &&
37569 $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" ||
37570 as_fn_error $? "failed to update cairo-os2-uninstalled.pc" "$LINENO" 5
37572 "src/cairo-beos.pc":F) mv "src/cairo-beos.pc" "src/cairo-beos.pc.tmp" &&
37573 $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" ||
37574 as_fn_error $? "failed to update src/cairo-beos.pc" "$LINENO" 5
37576 "cairo-beos-uninstalled.pc":F) mv "cairo-beos-uninstalled.pc" "cairo-beos-uninstalled.pc.tmp" &&
37577 $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" ||
37578 as_fn_error $? "failed to update cairo-beos-uninstalled.pc" "$LINENO" 5
37580 "src/cairo-drm.pc":F) mv "src/cairo-drm.pc" "src/cairo-drm.pc.tmp" &&
37581 $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" ||
37582 as_fn_error $? "failed to update src/cairo-drm.pc" "$LINENO" 5
37584 "cairo-drm-uninstalled.pc":F) mv "cairo-drm-uninstalled.pc" "cairo-drm-uninstalled.pc.tmp" &&
37585 $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" ||
37586 as_fn_error $? "failed to update cairo-drm-uninstalled.pc" "$LINENO" 5
37588 "src/cairo-gallium.pc":F) mv "src/cairo-gallium.pc" "src/cairo-gallium.pc.tmp" &&
37589 $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" ||
37590 as_fn_error $? "failed to update src/cairo-gallium.pc" "$LINENO" 5
37592 "cairo-gallium-uninstalled.pc":F) mv "cairo-gallium-uninstalled.pc" "cairo-gallium-uninstalled.pc.tmp" &&
37593 $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" ||
37594 as_fn_error $? "failed to update cairo-gallium-uninstalled.pc" "$LINENO" 5
37596 "src/cairo-png.pc":F) mv "src/cairo-png.pc" "src/cairo-png.pc.tmp" &&
37597 $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" ||
37598 as_fn_error $? "failed to update src/cairo-png.pc" "$LINENO" 5
37600 "cairo-png-uninstalled.pc":F) mv "cairo-png-uninstalled.pc" "cairo-png-uninstalled.pc.tmp" &&
37601 $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" ||
37602 as_fn_error $? "failed to update cairo-png-uninstalled.pc" "$LINENO" 5
37604 "src/cairo-gl.pc":F) mv "src/cairo-gl.pc" "src/cairo-gl.pc.tmp" &&
37605 $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" ||
37606 as_fn_error $? "failed to update src/cairo-gl.pc" "$LINENO" 5
37608 "cairo-gl-uninstalled.pc":F) mv "cairo-gl-uninstalled.pc" "cairo-gl-uninstalled.pc.tmp" &&
37609 $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" ||
37610 as_fn_error $? "failed to update cairo-gl-uninstalled.pc" "$LINENO" 5
37612 "src/cairo-glesv2.pc":F) mv "src/cairo-glesv2.pc" "src/cairo-glesv2.pc.tmp" &&
37613 $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" ||
37614 as_fn_error $? "failed to update src/cairo-glesv2.pc" "$LINENO" 5
37616 "cairo-glesv2-uninstalled.pc":F) mv "cairo-glesv2-uninstalled.pc" "cairo-glesv2-uninstalled.pc.tmp" &&
37617 $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" ||
37618 as_fn_error $? "failed to update cairo-glesv2-uninstalled.pc" "$LINENO" 5
37620 "src/cairo-cogl.pc":F) mv "src/cairo-cogl.pc" "src/cairo-cogl.pc.tmp" &&
37621 $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" ||
37622 as_fn_error $? "failed to update src/cairo-cogl.pc" "$LINENO" 5
37624 "cairo-cogl-uninstalled.pc":F) mv "cairo-cogl-uninstalled.pc" "cairo-cogl-uninstalled.pc.tmp" &&
37625 $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" ||
37626 as_fn_error $? "failed to update cairo-cogl-uninstalled.pc" "$LINENO" 5
37628 "src/cairo-directfb.pc":F) mv "src/cairo-directfb.pc" "src/cairo-directfb.pc.tmp" &&
37629 $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" ||
37630 as_fn_error $? "failed to update src/cairo-directfb.pc" "$LINENO" 5
37632 "cairo-directfb-uninstalled.pc":F) mv "cairo-directfb-uninstalled.pc" "cairo-directfb-uninstalled.pc.tmp" &&
37633 $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" ||
37634 as_fn_error $? "failed to update cairo-directfb-uninstalled.pc" "$LINENO" 5
37636 "src/cairo-vg.pc":F) mv "src/cairo-vg.pc" "src/cairo-vg.pc.tmp" &&
37637 $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" ||
37638 as_fn_error $? "failed to update src/cairo-vg.pc" "$LINENO" 5
37640 "cairo-vg-uninstalled.pc":F) mv "cairo-vg-uninstalled.pc" "cairo-vg-uninstalled.pc.tmp" &&
37641 $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" ||
37642 as_fn_error $? "failed to update cairo-vg-uninstalled.pc" "$LINENO" 5
37644 "src/cairo-egl.pc":F) mv "src/cairo-egl.pc" "src/cairo-egl.pc.tmp" &&
37645 $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" ||
37646 as_fn_error $? "failed to update src/cairo-egl.pc" "$LINENO" 5
37648 "cairo-egl-uninstalled.pc":F) mv "cairo-egl-uninstalled.pc" "cairo-egl-uninstalled.pc.tmp" &&
37649 $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" ||
37650 as_fn_error $? "failed to update cairo-egl-uninstalled.pc" "$LINENO" 5
37652 "src/cairo-glx.pc":F) mv "src/cairo-glx.pc" "src/cairo-glx.pc.tmp" &&
37653 $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" ||
37654 as_fn_error $? "failed to update src/cairo-glx.pc" "$LINENO" 5
37656 "cairo-glx-uninstalled.pc":F) mv "cairo-glx-uninstalled.pc" "cairo-glx-uninstalled.pc.tmp" &&
37657 $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" ||
37658 as_fn_error $? "failed to update cairo-glx-uninstalled.pc" "$LINENO" 5
37660 "src/cairo-wgl.pc":F) mv "src/cairo-wgl.pc" "src/cairo-wgl.pc.tmp" &&
37661 $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" ||
37662 as_fn_error $? "failed to update src/cairo-wgl.pc" "$LINENO" 5
37664 "cairo-wgl-uninstalled.pc":F) mv "cairo-wgl-uninstalled.pc" "cairo-wgl-uninstalled.pc.tmp" &&
37665 $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" ||
37666 as_fn_error $? "failed to update cairo-wgl-uninstalled.pc" "$LINENO" 5
37668 "src/cairo-script.pc":F) mv "src/cairo-script.pc" "src/cairo-script.pc.tmp" &&
37669 $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" ||
37670 as_fn_error $? "failed to update src/cairo-script.pc" "$LINENO" 5
37672 "cairo-script-uninstalled.pc":F) mv "cairo-script-uninstalled.pc" "cairo-script-uninstalled.pc.tmp" &&
37673 $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" ||
37674 as_fn_error $? "failed to update cairo-script-uninstalled.pc" "$LINENO" 5
37676 "src/cairo-ft.pc":F) mv "src/cairo-ft.pc" "src/cairo-ft.pc.tmp" &&
37677 $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" ||
37678 as_fn_error $? "failed to update src/cairo-ft.pc" "$LINENO" 5
37680 "cairo-ft-uninstalled.pc":F) mv "cairo-ft-uninstalled.pc" "cairo-ft-uninstalled.pc.tmp" &&
37681 $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" ||
37682 as_fn_error $? "failed to update cairo-ft-uninstalled.pc" "$LINENO" 5
37684 "src/cairo-fc.pc":F) mv "src/cairo-fc.pc" "src/cairo-fc.pc.tmp" &&
37685 $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" ||
37686 as_fn_error $? "failed to update src/cairo-fc.pc" "$LINENO" 5
37688 "cairo-fc-uninstalled.pc":F) mv "cairo-fc-uninstalled.pc" "cairo-fc-uninstalled.pc.tmp" &&
37689 $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" ||
37690 as_fn_error $? "failed to update cairo-fc-uninstalled.pc" "$LINENO" 5
37692 "src/cairo-ps.pc":F) mv "src/cairo-ps.pc" "src/cairo-ps.pc.tmp" &&
37693 $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" ||
37694 as_fn_error $? "failed to update src/cairo-ps.pc" "$LINENO" 5
37696 "cairo-ps-uninstalled.pc":F) mv "cairo-ps-uninstalled.pc" "cairo-ps-uninstalled.pc.tmp" &&
37697 $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" ||
37698 as_fn_error $? "failed to update cairo-ps-uninstalled.pc" "$LINENO" 5
37700 "src/cairo-pdf.pc":F) mv "src/cairo-pdf.pc" "src/cairo-pdf.pc.tmp" &&
37701 $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" ||
37702 as_fn_error $? "failed to update src/cairo-pdf.pc" "$LINENO" 5
37704 "cairo-pdf-uninstalled.pc":F) mv "cairo-pdf-uninstalled.pc" "cairo-pdf-uninstalled.pc.tmp" &&
37705 $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" ||
37706 as_fn_error $? "failed to update cairo-pdf-uninstalled.pc" "$LINENO" 5
37708 "src/cairo-svg.pc":F) mv "src/cairo-svg.pc" "src/cairo-svg.pc.tmp" &&
37709 $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" ||
37710 as_fn_error $? "failed to update src/cairo-svg.pc" "$LINENO" 5
37712 "cairo-svg-uninstalled.pc":F) mv "cairo-svg-uninstalled.pc" "cairo-svg-uninstalled.pc.tmp" &&
37713 $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" ||
37714 as_fn_error $? "failed to update cairo-svg-uninstalled.pc" "$LINENO" 5
37716 "src/cairo-tee.pc":F) mv "src/cairo-tee.pc" "src/cairo-tee.pc.tmp" &&
37717 $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" ||
37718 as_fn_error $? "failed to update src/cairo-tee.pc" "$LINENO" 5
37720 "cairo-tee-uninstalled.pc":F) mv "cairo-tee-uninstalled.pc" "cairo-tee-uninstalled.pc.tmp" &&
37721 $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" ||
37722 as_fn_error $? "failed to update cairo-tee-uninstalled.pc" "$LINENO" 5
37724 "src/cairo-xml.pc":F) mv "src/cairo-xml.pc" "src/cairo-xml.pc.tmp" &&
37725 $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" ||
37726 as_fn_error $? "failed to update src/cairo-xml.pc" "$LINENO" 5
37728 "cairo-xml-uninstalled.pc":F) mv "cairo-xml-uninstalled.pc" "cairo-xml-uninstalled.pc.tmp" &&
37729 $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" ||
37730 as_fn_error $? "failed to update cairo-xml-uninstalled.pc" "$LINENO" 5
37732 "src/cairo-gobject.pc":F) mv "src/cairo-gobject.pc" "src/cairo-gobject.pc.tmp" &&
37733 $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" ||
37734 as_fn_error $? "failed to update src/cairo-gobject.pc" "$LINENO" 5
37736 "cairo-gobject-uninstalled.pc":F) mv "cairo-gobject-uninstalled.pc" "cairo-gobject-uninstalled.pc.tmp" &&
37737 $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" ||
37738 as_fn_error $? "failed to update cairo-gobject-uninstalled.pc" "$LINENO" 5
37747 ac_clean_files=$ac_clean_files_save
37749 test $ac_write_fail = 0 ||
37750 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
37753 # configure is writing to config.log, and then calls config.status.
37754 # config.status does its own redirection, appending to config.log.
37755 # Unfortunately, on DOS this fails, as config.log is still kept open
37756 # by configure, so config.status won't be able to write to it; its
37757 # output is simply discarded. So we exec the FD to /dev/null,
37758 # effectively closing config.log, so it can be properly (re)opened and
37759 # appended to by config.status. When coming back to configure, we
37760 # need to make the FD available again.
37761 if test "$no_create" != yes; then
37763 ac_config_status_args=
37764 test "$silent" = yes &&
37765 ac_config_status_args="$ac_config_status_args --quiet"
37767 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37769 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37770 # would make configure fail if this is the last instruction.
37771 $ac_cs_success || as_fn_exit 1
37773 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
37775 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
37778 V="$CAIRO_VERSION_MAJOR.$CAIRO_VERSION_MINOR.$CAIRO_VERSION_MICRO"
37780 echo "cairo (version $V [$CAIRO_RELEASE_STATUS]) will be compiled with:"
37782 echo "The following surface backends:"
37783 echo " Image: yes (always builtin)"
37784 echo " Recording: yes (always builtin)"
37785 echo " Observer: yes (always builtin)"
37786 echo " Mime: yes (always builtin)"
37787 echo " Tee: $use_tee"
37788 echo " XML: $use_xml"
37789 echo " Skia: $use_skia"
37790 echo " Xlib: $use_xlib"
37791 echo " Xlib Xrender: $use_xlib_xrender"
37792 echo " Qt: $use_qt"
37793 echo " Quartz: $use_quartz"
37794 echo " Quartz-image: $use_quartz_image"
37795 echo " XCB: $use_xcb"
37796 echo " Win32: $use_win32"
37797 echo " OS2: $use_os2"
37798 echo " CairoScript: $use_script"
37799 echo " PostScript: $use_ps"
37800 echo " PDF: $use_pdf"
37801 echo " SVG: $use_svg"
37802 echo " OpenGL: $use_gl"
37803 echo " OpenGL ES 2.0: $use_glesv2"
37804 echo " BeOS: $use_beos"
37805 echo " DirectFB: $use_directfb"
37806 echo " OpenVG: $use_vg"
37807 echo " DRM: $use_drm"
37808 echo " Cogl: $use_cogl"
37810 echo "The following font backends:"
37811 echo " User: yes (always builtin)"
37812 echo " FreeType: $use_ft"
37813 echo " Fontconfig: $use_fc"
37814 echo " Win32: $use_win32_font"
37815 echo " Quartz: $use_quartz_font"
37817 echo "The following functions:"
37818 echo " PNG functions: $use_png"
37819 echo " GLX functions: $use_glx"
37820 echo " WGL functions: $use_wgl"
37821 echo " EGL functions: $use_egl"
37822 echo " X11-xcb functions: $use_xlib_xcb"
37823 echo " XCB-shm functions: $use_xcb_shm"
37825 echo "The following features and utilities:"
37826 echo " cairo-trace: $use_trace"
37827 echo " cairo-script-interpreter: $use_interpreter"
37829 echo "And the following internal features:"
37830 echo " pthread: $use_pthread"
37831 echo " gtk-doc: $enable_gtk_doc"
37832 echo " gcov support: $use_gcov"
37833 echo " symbol-lookup: $use_symbol_lookup"
37834 echo " test surfaces: $use_test_surfaces"
37835 echo " ps testing: $test_ps"
37836 echo " pdf testing: $test_pdf"
37837 echo " svg testing: $test_svg"
37838 if test x"$use_win32" = "xyes"; then
37839 echo " win32 printing testing: $test_win32_printing"
37841 echo "$CAIRO_WARNING_MESSAGE"