2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67 for cairo 1.10.2.
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.10.2'
706
PACKAGE_STRING='cairo 1.10.2'
707
PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=cairo'
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
BUILD_PRIVATE_GLEW_FALSE
845
BUILD_PRIVATE_GLEW_TRUE
846
CAIRO_HAS_GL_SURFACE_FALSE
847
CAIRO_HAS_GL_SURFACE_TRUE
850
CAIRO_HAS_PNG_FUNCTIONS_FALSE
851
CAIRO_HAS_PNG_FUNCTIONS_TRUE
855
CAIRO_HAS_XCB_DRM_FUNCTIONS_FALSE
856
CAIRO_HAS_XCB_DRM_FUNCTIONS_TRUE
859
CAIRO_HAS_GALLIUM_SURFACE_FALSE
860
CAIRO_HAS_GALLIUM_SURFACE_TRUE
865
CAIRO_HAS_DRM_XR_FUNCTIONS_FALSE
866
CAIRO_HAS_DRM_XR_FUNCTIONS_TRUE
869
CAIRO_HAS_DRM_SURFACE_FALSE
870
CAIRO_HAS_DRM_SURFACE_TRUE
873
CAIRO_HAS_BEOS_SURFACE_FALSE
874
CAIRO_HAS_BEOS_SURFACE_TRUE
875
CAIRO_HAS_OS2_SURFACE_FALSE
876
CAIRO_HAS_OS2_SURFACE_TRUE
877
CAIRO_HAS_SKIA_SURFACE_FALSE
878
CAIRO_HAS_SKIA_SURFACE_TRUE
880
CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE
881
CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE
883
CAIRO_HAS_WIN32_FONT_FALSE
884
CAIRO_HAS_WIN32_FONT_TRUE
885
CAIRO_HAS_WIN32_SURFACE_FALSE
886
CAIRO_HAS_WIN32_SURFACE_TRUE
887
CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE
888
CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE
889
CAIRO_HAS_QUARTZ_FONT_FALSE
890
CAIRO_HAS_QUARTZ_FONT_TRUE
891
CAIRO_HAS_QUARTZ_SURFACE_FALSE
892
CAIRO_HAS_QUARTZ_SURFACE_TRUE
893
CAIRO_HAS_QT_SURFACE_FALSE
894
CAIRO_HAS_QT_SURFACE_TRUE
899
CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE
900
CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE
905
CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE
906
CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE
909
CAIRO_HAS_XCB_SURFACE_FALSE
910
CAIRO_HAS_XCB_SURFACE_TRUE
913
CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE
914
CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE
917
CAIRO_HAS_XLIB_SURFACE_FALSE
918
CAIRO_HAS_XLIB_SURFACE_TRUE
935
CAIROBOILERPLATE_LIBS
943
CROSS_COMPILING_FALSE
945
CAIRO_TEST_UNDEFINED_LDFLAGS
946
CAIRO_NONPKGCONFIG_LIBS
948
CAIRO_NONPKGCONFIG_CFLAGS
962
CAIRO_LIBTOOL_VERSION_INFO
968
GTK_DOC_USE_LIBTOOL_FALSE
969
GTK_DOC_USE_LIBTOOL_TRUE
1003
AM_DEFAULT_VERBOSITY
1021
INSTALL_STRIP_PROGRAM
1073
program_transform_name
1086
enable_option_checking
1087
enable_dependency_tracking
1135
enable_test_surfaces
1143
enable_symbol_lookup
1144
enable_some_floating_point
1146
ac_precious_vars='build_alias
1210
# Initialize some variables set by options.
1212
ac_init_version=false
1213
ac_unrecognized_opts=
1214
ac_unrecognized_sep=
1215
# The variables have the same names as the options, with
1216
# dashes changed to underlines.
1217
cache_file=/dev/null
1224
program_transform_name=s,x,x,
1232
# Installation directory options.
1233
# These are left unexpanded so users can "make install exec_prefix=/foo"
1234
# and all the variables that are supposed to be based on exec_prefix
1235
# by default will actually change.
1236
# Use braces instead of parens because sh, perl, etc. also accept them.
1237
# (The list follows the same order as the GNU Coding Standards.)
1238
bindir='${exec_prefix}/bin'
1239
sbindir='${exec_prefix}/sbin'
1240
libexecdir='${exec_prefix}/libexec'
1241
datarootdir='${prefix}/share'
1242
datadir='${datarootdir}'
1243
sysconfdir='${prefix}/etc'
1244
sharedstatedir='${prefix}/com'
1245
localstatedir='${prefix}/var'
1246
includedir='${prefix}/include'
1247
oldincludedir='/usr/include'
1248
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1249
infodir='${datarootdir}/info'
1254
libdir='${exec_prefix}/lib'
1255
localedir='${datarootdir}/locale'
1256
mandir='${datarootdir}/man'
1262
# If the previous option needs an argument, assign it.
1263
if test -n "$ac_prev"; then
1264
eval $ac_prev=\$ac_option
1270
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1275
# Accept the important Cygnus configure options, so we can diagnose typos.
1277
case $ac_dashdash$ac_option in
1281
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1283
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1284
bindir=$ac_optarg ;;
1286
-build | --build | --buil | --bui | --bu)
1287
ac_prev=build_alias ;;
1288
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1289
build_alias=$ac_optarg ;;
1291
-cache-file | --cache-file | --cache-fil | --cache-fi \
1292
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1293
ac_prev=cache_file ;;
1294
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1295
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1296
cache_file=$ac_optarg ;;
1298
--config-cache | -C)
1299
cache_file=config.cache ;;
1301
-datadir | --datadir | --datadi | --datad)
1303
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1304
datadir=$ac_optarg ;;
1306
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1307
| --dataroo | --dataro | --datar)
1308
ac_prev=datarootdir ;;
1309
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1310
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1311
datarootdir=$ac_optarg ;;
1313
-disable-* | --disable-*)
1314
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1315
# Reject names that are not valid shell variable names.
1316
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1317
as_fn_error $? "invalid feature name: $ac_useropt"
1318
ac_useropt_orig=$ac_useropt
1319
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1320
case $ac_user_opts in
1322
"enable_$ac_useropt"
1324
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1325
ac_unrecognized_sep=', ';;
1327
eval enable_$ac_useropt=no ;;
1329
-docdir | --docdir | --docdi | --doc | --do)
1331
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1332
docdir=$ac_optarg ;;
1334
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1336
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1337
dvidir=$ac_optarg ;;
1339
-enable-* | --enable-*)
1340
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1341
# Reject names that are not valid shell variable names.
1342
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1343
as_fn_error $? "invalid feature name: $ac_useropt"
1344
ac_useropt_orig=$ac_useropt
1345
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1346
case $ac_user_opts in
1348
"enable_$ac_useropt"
1350
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1351
ac_unrecognized_sep=', ';;
1353
eval enable_$ac_useropt=\$ac_optarg ;;
1355
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1356
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1357
| --exec | --exe | --ex)
1358
ac_prev=exec_prefix ;;
1359
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1360
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1361
| --exec=* | --exe=* | --ex=*)
1362
exec_prefix=$ac_optarg ;;
1364
-gas | --gas | --ga | --g)
1365
# Obsolete; use --with-gas.
1368
-help | --help | --hel | --he | -h)
1369
ac_init_help=long ;;
1370
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1371
ac_init_help=recursive ;;
1372
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1373
ac_init_help=short ;;
1375
-host | --host | --hos | --ho)
1376
ac_prev=host_alias ;;
1377
-host=* | --host=* | --hos=* | --ho=*)
1378
host_alias=$ac_optarg ;;
1380
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1382
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1384
htmldir=$ac_optarg ;;
1386
-includedir | --includedir | --includedi | --included | --include \
1387
| --includ | --inclu | --incl | --inc)
1388
ac_prev=includedir ;;
1389
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1390
| --includ=* | --inclu=* | --incl=* | --inc=*)
1391
includedir=$ac_optarg ;;
1393
-infodir | --infodir | --infodi | --infod | --info | --inf)
1395
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1396
infodir=$ac_optarg ;;
1398
-libdir | --libdir | --libdi | --libd)
1400
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1401
libdir=$ac_optarg ;;
1403
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1404
| --libexe | --libex | --libe)
1405
ac_prev=libexecdir ;;
1406
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1407
| --libexe=* | --libex=* | --libe=*)
1408
libexecdir=$ac_optarg ;;
1410
-localedir | --localedir | --localedi | --localed | --locale)
1411
ac_prev=localedir ;;
1412
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1413
localedir=$ac_optarg ;;
1415
-localstatedir | --localstatedir | --localstatedi | --localstated \
1416
| --localstate | --localstat | --localsta | --localst | --locals)
1417
ac_prev=localstatedir ;;
1418
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1419
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1420
localstatedir=$ac_optarg ;;
1422
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1424
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1425
mandir=$ac_optarg ;;
1427
-nfp | --nfp | --nf)
1428
# Obsolete; use --without-fp.
1431
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1432
| --no-cr | --no-c | -n)
1435
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1436
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1439
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1440
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1441
| --oldin | --oldi | --old | --ol | --o)
1442
ac_prev=oldincludedir ;;
1443
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1444
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1445
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1446
oldincludedir=$ac_optarg ;;
1448
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1450
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1451
prefix=$ac_optarg ;;
1453
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1454
| --program-pre | --program-pr | --program-p)
1455
ac_prev=program_prefix ;;
1456
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1457
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1458
program_prefix=$ac_optarg ;;
1460
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1461
| --program-suf | --program-su | --program-s)
1462
ac_prev=program_suffix ;;
1463
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1464
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1465
program_suffix=$ac_optarg ;;
1467
-program-transform-name | --program-transform-name \
1468
| --program-transform-nam | --program-transform-na \
1469
| --program-transform-n | --program-transform- \
1470
| --program-transform | --program-transfor \
1471
| --program-transfo | --program-transf \
1472
| --program-trans | --program-tran \
1473
| --progr-tra | --program-tr | --program-t)
1474
ac_prev=program_transform_name ;;
1475
-program-transform-name=* | --program-transform-name=* \
1476
| --program-transform-nam=* | --program-transform-na=* \
1477
| --program-transform-n=* | --program-transform-=* \
1478
| --program-transform=* | --program-transfor=* \
1479
| --program-transfo=* | --program-transf=* \
1480
| --program-trans=* | --program-tran=* \
1481
| --progr-tra=* | --program-tr=* | --program-t=*)
1482
program_transform_name=$ac_optarg ;;
1484
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1486
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1487
pdfdir=$ac_optarg ;;
1489
-psdir | --psdir | --psdi | --psd | --ps)
1491
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1494
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1495
| -silent | --silent | --silen | --sile | --sil)
1498
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1500
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1502
sbindir=$ac_optarg ;;
1504
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1505
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1506
| --sharedst | --shareds | --shared | --share | --shar \
1508
ac_prev=sharedstatedir ;;
1509
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1510
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1511
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1513
sharedstatedir=$ac_optarg ;;
1515
-site | --site | --sit)
1517
-site=* | --site=* | --sit=*)
1520
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1522
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1523
srcdir=$ac_optarg ;;
1525
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1526
| --syscon | --sysco | --sysc | --sys | --sy)
1527
ac_prev=sysconfdir ;;
1528
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1529
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1530
sysconfdir=$ac_optarg ;;
1532
-target | --target | --targe | --targ | --tar | --ta | --t)
1533
ac_prev=target_alias ;;
1534
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1535
target_alias=$ac_optarg ;;
1537
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1540
-version | --version | --versio | --versi | --vers | -V)
1541
ac_init_version=: ;;
1544
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1545
# Reject names that are not valid shell variable names.
1546
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1547
as_fn_error $? "invalid package name: $ac_useropt"
1548
ac_useropt_orig=$ac_useropt
1549
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1550
case $ac_user_opts in
1554
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1555
ac_unrecognized_sep=', ';;
1557
eval with_$ac_useropt=\$ac_optarg ;;
1559
-without-* | --without-*)
1560
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1561
# Reject names that are not valid shell variable names.
1562
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1563
as_fn_error $? "invalid package name: $ac_useropt"
1564
ac_useropt_orig=$ac_useropt
1565
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1566
case $ac_user_opts in
1570
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1571
ac_unrecognized_sep=', ';;
1573
eval with_$ac_useropt=no ;;
1576
# Obsolete; use --with-x.
1579
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1580
| --x-incl | --x-inc | --x-in | --x-i)
1581
ac_prev=x_includes ;;
1582
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1583
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1584
x_includes=$ac_optarg ;;
1586
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1587
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1588
ac_prev=x_libraries ;;
1589
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1590
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1591
x_libraries=$ac_optarg ;;
1593
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1594
Try \`$0 --help' for more information"
1598
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1599
# Reject names that are not valid shell variable names.
1600
case $ac_envvar in #(
1601
'' | [0-9]* | *[!_$as_cr_alnum]* )
1602
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1604
eval $ac_envvar=\$ac_optarg
1605
export $ac_envvar ;;
1608
# FIXME: should be removed in autoconf 3.0.
1609
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1610
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1611
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1612
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1618
if test -n "$ac_prev"; then
1619
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1620
as_fn_error $? "missing argument to $ac_option"
1623
if test -n "$ac_unrecognized_opts"; then
1624
case $enable_option_checking in
1626
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1627
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1631
# Check all directory arguments for consistency.
1632
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1633
datadir sysconfdir sharedstatedir localstatedir includedir \
1634
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1635
libdir localedir mandir
1637
eval ac_val=\$$ac_var
1638
# Remove trailing slashes.
1641
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1642
eval $ac_var=\$ac_val;;
1644
# Be sure to have absolute directory names.
1646
[\\/$]* | ?:[\\/]* ) continue;;
1647
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1649
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1652
# There might be people who depend on the old broken behavior: `$host'
1653
# used to hold the argument of --host etc.
1654
# FIXME: To remove some day.
1657
target=$target_alias
1659
# FIXME: To remove some day.
1660
if test "x$host_alias" != x; then
1661
if test "x$build_alias" = x; then
1662
cross_compiling=maybe
1663
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1664
If a cross compiler is detected then cross compile mode will be used" >&2
1665
elif test "x$build_alias" != "x$host_alias"; then
1671
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1673
test "$silent" = yes && exec 6>/dev/null
1676
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1677
ac_ls_di=`ls -di .` &&
1678
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1679
as_fn_error $? "working directory cannot be determined"
1680
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1681
as_fn_error $? "pwd does not report name of working directory"
1684
# Find the source files, if location was not specified.
1685
if test -z "$srcdir"; then
1686
ac_srcdir_defaulted=yes
1687
# Try the directory containing this script, then the parent directory.
1688
ac_confdir=`$as_dirname -- "$as_myself" ||
1689
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1690
X"$as_myself" : 'X\(//\)[^/]' \| \
1691
X"$as_myself" : 'X\(//\)$' \| \
1692
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1693
$as_echo X"$as_myself" |
1694
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1712
if test ! -r "$srcdir/$ac_unique_file"; then
1716
ac_srcdir_defaulted=no
1718
if test ! -r "$srcdir/$ac_unique_file"; then
1719
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1720
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1722
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1724
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1726
# When building in place, set srcdir=.
1727
if test "$ac_abs_confdir" = "$ac_pwd"; then
1730
# Remove unnecessary trailing slashes from srcdir.
1731
# Double slashes in file names in object file debugging info
1732
# mess up M-x gdb in Emacs.
1734
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1736
for ac_var in $ac_precious_vars; do
1737
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1738
eval ac_env_${ac_var}_value=\$${ac_var}
1739
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1740
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1744
# Report the --help message.
1746
if test "$ac_init_help" = "long"; then
1747
# Omit some internal or obsolete options to make the list less imposing.
1748
# This message is too long to be a string in the A/UX 3.1 sh.
1750
\`configure' configures cairo 1.10.2 to adapt to many kinds of systems.
1752
Usage: $0 [OPTION]... [VAR=VALUE]...
1754
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1755
VAR=VALUE. See below for descriptions of some of the useful variables.
1757
Defaults for the options are specified in brackets.
1760
-h, --help display this help and exit
1761
--help=short display options specific to this package
1762
--help=recursive display the short help of all the included packages
1763
-V, --version display version information and exit
1764
-q, --quiet, --silent do not print \`checking ...' messages
1765
--cache-file=FILE cache test results in FILE [disabled]
1766
-C, --config-cache alias for \`--cache-file=config.cache'
1767
-n, --no-create do not create output files
1768
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1770
Installation directories:
1771
--prefix=PREFIX install architecture-independent files in PREFIX
1772
[$ac_default_prefix]
1773
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1776
By default, \`make install' will install all the files in
1777
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1778
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1779
for instance \`--prefix=\$HOME'.
1781
For better control, use the options below.
1783
Fine tuning of the installation directories:
1784
--bindir=DIR user executables [EPREFIX/bin]
1785
--sbindir=DIR system admin executables [EPREFIX/sbin]
1786
--libexecdir=DIR program executables [EPREFIX/libexec]
1787
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1788
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1789
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1790
--libdir=DIR object code libraries [EPREFIX/lib]
1791
--includedir=DIR C header files [PREFIX/include]
1792
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1793
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1794
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1795
--infodir=DIR info documentation [DATAROOTDIR/info]
1796
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1797
--mandir=DIR man documentation [DATAROOTDIR/man]
1798
--docdir=DIR documentation root [DATAROOTDIR/doc/cairo]
1799
--htmldir=DIR html documentation [DOCDIR]
1800
--dvidir=DIR dvi documentation [DOCDIR]
1801
--pdfdir=DIR pdf documentation [DOCDIR]
1802
--psdir=DIR ps documentation [DOCDIR]
1808
--program-prefix=PREFIX prepend PREFIX to installed program names
1809
--program-suffix=SUFFIX append SUFFIX to installed program names
1810
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1813
--x-includes=DIR X include files are in DIR
1814
--x-libraries=DIR X library files are in DIR
1817
--build=BUILD configure for building on BUILD [guessed]
1818
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1822
if test -n "$ac_init_help"; then
1823
case $ac_init_help in
1824
short | recursive ) echo "Configuration of cairo 1.10.2:";;
1829
--disable-option-checking ignore unrecognized --enable/--with options
1830
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1831
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1832
--disable-dependency-tracking speeds up one-time build
1833
--enable-dependency-tracking do not reject slow dependency extractors
1834
--enable-silent-rules less verbose build output (undo: `make V=1')
1835
--disable-silent-rules verbose build output (undo: `make V=0')
1836
--enable-shared[=PKGS] build shared libraries [default=yes]
1837
--enable-static[=PKGS] build static libraries [default=yes]
1838
--enable-fast-install[=PKGS]
1839
optimize for fast installation [default=yes]
1840
--disable-libtool-lock avoid locking (might break parallel builds)
1841
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1842
--disable-largefile omit support for large files
1843
--disable-atomic disable use of native atomic operations
1844
--enable-gcov Enable gcov
1845
--disable-valgrind Disable valgrind support
1846
--enable-xlib=[no/auto/yes]
1847
Enable cairo's Xlib surface backend feature
1849
--enable-xlib-xrender=[no/auto/yes]
1850
Enable cairo's Xlib Xrender surface backend feature
1852
--enable-xcb=[no/auto/yes]
1853
Enable cairo's XCB surface backend feature
1855
--enable-xlib-xcb=[no/auto/yes]
1856
Enable cairo's Xlib/XCB functions feature
1858
--enable-xcb-shm=[no/auto/yes]
1859
Enable cairo's XCB/SHM functions feature
1861
--enable-qt=[no/auto/yes]
1862
Enable cairo's Qt surface backend feature
1864
--enable-quartz=[no/auto/yes]
1865
Enable cairo's Quartz surface backend feature
1867
--enable-quartz-font=[no/auto/yes]
1868
Enable cairo's Quartz font backend feature
1870
--enable-quartz-image=[no/auto/yes]
1871
Enable cairo's Quartz Image surface backend feature
1873
--enable-win32=[no/auto/yes]
1874
Enable cairo's Microsoft Windows surface backend
1875
feature [default=auto]
1876
--enable-win32-font=[no/auto/yes]
1877
Enable cairo's Microsoft Windows font backend
1878
feature [default=auto]
1879
--enable-skia=[no/auto/yes]
1880
Enable cairo's Skia surface backend feature
1882
--enable-os2=[no/auto/yes]
1883
Enable cairo's OS/2 surface backend feature
1885
--enable-beos=[no/auto/yes]
1886
Enable cairo's BeOS/Zeta surface backend feature
1888
--enable-drm=[no/auto/yes]
1889
Enable cairo's DRM surface backend feature
1891
--enable-drm-xr=[no/auto/yes]
1892
Enable cairo's DRM Xr (DDX) functions feature
1894
--enable-gallium=[no/auto/yes]
1895
Enable cairo's Gallium3D surface backend feature
1897
--enable-xcb-drm=[no/auto/yes]
1898
Enable cairo's XCB/DRM functions 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-directfb=[no/auto/yes]
1906
Enable cairo's directfb surface backend feature
1908
--enable-vg=[no/auto/yes]
1909
Enable cairo's OpenVG surface backend feature
1911
--enable-egl=[no/auto/yes]
1912
Enable cairo's EGL functions feature [default=auto]
1913
--enable-glx=[no/auto/yes]
1914
Enable cairo's GLX functions feature [default=auto]
1915
--enable-wgl=[no/auto/yes]
1916
Enable cairo's WGL functions feature [default=auto]
1917
--enable-script=[no/auto/yes]
1918
Enable cairo's script surface backend feature
1920
--enable-ft=[no/auto/yes]
1921
Enable cairo's FreeType font backend feature
1923
--enable-fc=[no/auto/yes]
1924
Enable cairo's Fontconfig font backend feature
1926
--enable-ps=[no/auto/yes]
1927
Enable cairo's PostScript surface backend feature
1929
--enable-pdf=[no/auto/yes]
1930
Enable cairo's PDF surface backend feature
1932
--enable-svg=[no/auto/yes]
1933
Enable cairo's SVG surface backend feature
1935
--enable-test-surfaces=[no/auto/yes]
1936
Enable cairo's test surfaces feature [default=no]
1937
--enable-tee=[no/auto/yes]
1938
Enable cairo's tee surface backend feature
1940
--enable-xml=[no/auto/yes]
1941
Enable cairo's xml surface backend feature
1943
--enable-pthread=[no/auto/yes]
1944
Enable cairo's pthread feature [default=auto]
1945
--enable-gobject=[no/auto/yes]
1946
Enable cairo's gobject functions feature
1948
--enable-full-testing Sets the test suite to perform full testing by
1949
default, which will dramatically slow down make
1950
check, but is a *requirement* before release.
1951
--enable-trace=[no/auto/yes]
1952
Enable cairo's cairo-trace feature [default=auto]
1953
--enable-interpreter=[no/auto/yes]
1954
Enable cairo's cairo-script-interpreter feature
1956
--enable-symbol-lookup=[no/auto/yes]
1957
Enable cairo's symbol-lookup feature [default=auto]
1958
--disable-some-floating-point
1959
Disable certain code paths that rely heavily on
1960
double precision floating-point calculation. This
1961
option can improve performance on systems without a
1962
double precision floating-point unit, but might
1963
degrade performance on those that do.
1966
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1967
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1968
--with-pic try to use only PIC/non-PIC objects [default=use
1970
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1971
--with-html-dir=PATH path to installed docs
1972
--with-x use the X Window System
1973
--with-skia=/path/to/skia
1974
directory to find compiled skia sources
1975
--with-gallium=/path/to/mesa
1976
directory to find gallium enabled mesa
1978
Some influential environment variables:
1979
CC C compiler command
1980
CFLAGS C compiler flags
1981
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1982
nonstandard directory <lib dir>
1983
LIBS libraries to pass to the linker, e.g. -l<library>
1984
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1985
you have headers in a nonstandard directory <include dir>
1987
PKG_CONFIG path to pkg-config utility
1988
CXX C++ compiler command
1989
CXXFLAGS C++ compiler flags
1990
CXXCPP C++ preprocessor
1992
C compiler flags for VALGRIND, overriding pkg-config
1994
linker flags for VALGRIND, overriding pkg-config
1995
xlib_CFLAGS C compiler flags for xlib, overriding pkg-config
1996
xlib_LIBS linker flags for xlib, overriding pkg-config
1997
XMKMF Path to xmkmf, Makefile generator for X Window System
1999
C compiler flags for xlib_xrender, overriding pkg-config
2001
linker flags for xlib_xrender, overriding pkg-config
2002
xcb_CFLAGS C compiler flags for xcb, overriding pkg-config
2003
xcb_LIBS linker flags for xcb, overriding pkg-config
2005
C compiler flags for xlib_xcb, overriding pkg-config
2007
linker flags for xlib_xcb, overriding pkg-config
2009
C compiler flags for xcb_shm, overriding pkg-config
2011
linker flags for xcb_shm, overriding pkg-config
2012
qt_CFLAGS C compiler flags for qt, overriding pkg-config
2013
qt_LIBS linker flags for qt, overriding pkg-config
2014
drm_CFLAGS C compiler flags for drm, overriding pkg-config
2015
drm_LIBS linker flags for drm, overriding pkg-config
2017
C compiler flags for drm_xr, overriding pkg-config
2018
drm_xr_LIBS linker flags for drm_xr, overriding pkg-config
2020
C compiler flags for xcb_drm, overriding pkg-config
2022
linker flags for xcb_drm, overriding pkg-config
2024
module name for libpng to search for using pkg-config
2025
png_CFLAGS C compiler flags for png, overriding pkg-config
2026
png_LIBS linker flags for png, overriding pkg-config
2027
gl_CFLAGS C compiler flags for gl, overriding pkg-config
2028
gl_LIBS linker flags for gl, overriding pkg-config
2030
C compiler flags for directfb, overriding pkg-config
2032
linker flags for directfb, overriding pkg-config
2033
egl_CFLAGS C compiler flags for egl, overriding pkg-config
2034
egl_LIBS linker flags for egl, overriding pkg-config
2036
C compiler flags for FREETYPE, overriding pkg-config
2038
linker flags for FREETYPE, overriding pkg-config
2040
C compiler flags for FONTCONFIG, overriding pkg-config
2042
linker flags for FONTCONFIG, overriding pkg-config
2044
C compiler flags for LIBSPECTRE, overriding pkg-config
2046
linker flags for LIBSPECTRE, overriding pkg-config
2048
C compiler flags for POPPLER, overriding pkg-config
2050
linker flags for POPPLER, overriding pkg-config
2052
C compiler flags for LIBRSVG, overriding pkg-config
2054
linker flags for LIBRSVG, overriding pkg-config
2056
C compiler flags for pixman, overriding pkg-config
2057
pixman_LIBS linker flags for pixman, overriding pkg-config
2059
C compiler flags for GOBJECT, overriding pkg-config
2061
linker flags for GOBJECT, overriding pkg-config
2062
glib_CFLAGS C compiler flags for glib, overriding pkg-config
2063
glib_LIBS linker flags for glib, overriding pkg-config
2064
gtk_CFLAGS C compiler flags for gtk, overriding pkg-config
2065
gtk_LIBS linker flags for gtk, overriding pkg-config
2067
Use these variables to override the choices made by `configure' or to help
2068
it to find libraries and programs with nonstandard names/locations.
2070
Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=cairo>.
2075
if test "$ac_init_help" = "recursive"; then
2076
# If there are subdirs, report their specific --help.
2077
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2078
test -d "$ac_dir" ||
2079
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2084
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2086
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2087
# A ".." for each directory in $ac_dir_suffix.
2088
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2089
case $ac_top_builddir_sub in
2090
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2091
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2094
ac_abs_top_builddir=$ac_pwd
2095
ac_abs_builddir=$ac_pwd$ac_dir_suffix
2096
# for backward compatibility:
2097
ac_top_builddir=$ac_top_build_prefix
2100
.) # We are building in place.
2102
ac_top_srcdir=$ac_top_builddir_sub
2103
ac_abs_top_srcdir=$ac_pwd ;;
2104
[\\/]* | ?:[\\/]* ) # Absolute name.
2105
ac_srcdir=$srcdir$ac_dir_suffix;
2106
ac_top_srcdir=$srcdir
2107
ac_abs_top_srcdir=$srcdir ;;
2109
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2110
ac_top_srcdir=$ac_top_build_prefix$srcdir
2111
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2113
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2115
cd "$ac_dir" || { ac_status=$?; continue; }
2116
# Check for guested configure.
2117
if test -f "$ac_srcdir/configure.gnu"; then
2119
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
2120
elif test -f "$ac_srcdir/configure"; then
2122
$SHELL "$ac_srcdir/configure" --help=recursive
2124
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2126
cd "$ac_pwd" || { ac_status=$?; break; }
2130
test -n "$ac_init_help" && exit $ac_status
2131
if $ac_init_version; then
2133
cairo configure 1.10.2
2134
generated by GNU Autoconf 2.67
2136
Copyright (C) 2010 Free Software Foundation, Inc.
2137
This configure script is free software; the Free Software Foundation
2138
gives unlimited permission to copy, distribute and modify it.
2143
## ------------------------ ##
2144
## Autoconf initialization. ##
2145
## ------------------------ ##
2147
# ac_fn_c_try_compile LINENO
2148
# --------------------------
2149
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2150
ac_fn_c_try_compile ()
2152
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153
rm -f conftest.$ac_objext
2154
if { { ac_try="$ac_compile"
2156
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2157
*) ac_try_echo=$ac_try;;
2159
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2160
$as_echo "$ac_try_echo"; } >&5
2161
(eval "$ac_compile") 2>conftest.err
2163
if test -s conftest.err; then
2164
grep -v '^ *+' conftest.err >conftest.er1
2165
cat conftest.er1 >&5
2166
mv -f conftest.er1 conftest.err
2168
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2169
test $ac_status = 0; } && {
2170
test -z "$ac_c_werror_flag" ||
2171
test ! -s conftest.err
2172
} && test -s conftest.$ac_objext; then :
2175
$as_echo "$as_me: failed program was:" >&5
2176
sed 's/^/| /' conftest.$ac_ext >&5
2180
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2181
as_fn_set_status $ac_retval
2183
} # ac_fn_c_try_compile
2185
# ac_fn_c_try_cpp LINENO
2186
# ----------------------
2187
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2190
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191
if { { ac_try="$ac_cpp conftest.$ac_ext"
2193
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2194
*) ac_try_echo=$ac_try;;
2196
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2197
$as_echo "$ac_try_echo"; } >&5
2198
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2200
if test -s conftest.err; then
2201
grep -v '^ *+' conftest.err >conftest.er1
2202
cat conftest.er1 >&5
2203
mv -f conftest.er1 conftest.err
2205
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2206
test $ac_status = 0; } > conftest.i && {
2207
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2208
test ! -s conftest.err
2212
$as_echo "$as_me: failed program was:" >&5
2213
sed 's/^/| /' conftest.$ac_ext >&5
2217
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2218
as_fn_set_status $ac_retval
2222
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2223
# -------------------------------------------------------
2224
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2225
# the include files in INCLUDES and setting the cache variable VAR
2227
ac_fn_c_check_header_mongrel ()
2229
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2230
if eval "test \"\${$3+set}\"" = set; then :
2231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2232
$as_echo_n "checking for $2... " >&6; }
2233
if eval "test \"\${$3+set}\"" = set; then :
2234
$as_echo_n "(cached) " >&6
2237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2238
$as_echo "$ac_res" >&6; }
2240
# Is the header compilable?
2241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2242
$as_echo_n "checking $2 usability... " >&6; }
2243
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244
/* end confdefs.h. */
2248
if ac_fn_c_try_compile "$LINENO"; then :
2249
ac_header_compiler=yes
2251
ac_header_compiler=no
2253
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2255
$as_echo "$ac_header_compiler" >&6; }
2257
# Is the header present?
2258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2259
$as_echo_n "checking $2 presence... " >&6; }
2260
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261
/* end confdefs.h. */
2264
if ac_fn_c_try_cpp "$LINENO"; then :
2265
ac_header_preproc=yes
2267
ac_header_preproc=no
2269
rm -f conftest.err conftest.i conftest.$ac_ext
2270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2271
$as_echo "$ac_header_preproc" >&6; }
2273
# So? What about this header?
2274
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2276
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2277
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2278
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2279
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2282
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2283
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2284
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2285
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2286
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2287
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2288
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2289
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2290
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2291
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2292
( $as_echo "## ---------------------------------------------------------------------- ##
2293
## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo ##
2294
## ---------------------------------------------------------------------- ##"
2295
) | sed "s/^/$as_me: WARNING: /" >&2
2298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2299
$as_echo_n "checking for $2... " >&6; }
2300
if eval "test \"\${$3+set}\"" = set; then :
2301
$as_echo_n "(cached) " >&6
2303
eval "$3=\$ac_header_compiler"
2306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2307
$as_echo "$ac_res" >&6; }
2309
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2311
} # ac_fn_c_check_header_mongrel
2313
# ac_fn_c_try_run LINENO
2314
# ----------------------
2315
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2316
# that executables *can* be run.
2319
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2320
if { { ac_try="$ac_link"
2322
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2323
*) ac_try_echo=$ac_try;;
2325
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2326
$as_echo "$ac_try_echo"; } >&5
2327
(eval "$ac_link") 2>&5
2329
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2330
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2331
{ { case "(($ac_try" in
2332
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2333
*) ac_try_echo=$ac_try;;
2335
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2336
$as_echo "$ac_try_echo"; } >&5
2337
(eval "$ac_try") 2>&5
2339
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2340
test $ac_status = 0; }; }; then :
2343
$as_echo "$as_me: program exited with status $ac_status" >&5
2344
$as_echo "$as_me: failed program was:" >&5
2345
sed 's/^/| /' conftest.$ac_ext >&5
2347
ac_retval=$ac_status
2349
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2350
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2351
as_fn_set_status $ac_retval
2355
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2356
# -------------------------------------------------------
2357
# Tests whether HEADER exists and can be compiled using the include files in
2358
# INCLUDES, setting the cache variable VAR accordingly.
2359
ac_fn_c_check_header_compile ()
2361
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2363
$as_echo_n "checking for $2... " >&6; }
2364
if eval "test \"\${$3+set}\"" = set; then :
2365
$as_echo_n "(cached) " >&6
2367
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368
/* end confdefs.h. */
2372
if ac_fn_c_try_compile "$LINENO"; then :
2377
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2381
$as_echo "$ac_res" >&6; }
2382
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2384
} # ac_fn_c_check_header_compile
2386
# ac_fn_c_try_link LINENO
2387
# -----------------------
2388
# Try to link conftest.$ac_ext, and return whether this succeeded.
2391
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2392
rm -f conftest.$ac_objext conftest$ac_exeext
2393
if { { ac_try="$ac_link"
2395
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2396
*) ac_try_echo=$ac_try;;
2398
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2399
$as_echo "$ac_try_echo"; } >&5
2400
(eval "$ac_link") 2>conftest.err
2402
if test -s conftest.err; then
2403
grep -v '^ *+' conftest.err >conftest.er1
2404
cat conftest.er1 >&5
2405
mv -f conftest.er1 conftest.err
2407
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2408
test $ac_status = 0; } && {
2409
test -z "$ac_c_werror_flag" ||
2410
test ! -s conftest.err
2411
} && test -s conftest$ac_exeext && {
2412
test "$cross_compiling" = yes ||
2413
$as_test_x conftest$ac_exeext
2417
$as_echo "$as_me: failed program was:" >&5
2418
sed 's/^/| /' conftest.$ac_ext >&5
2422
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2423
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2424
# interfere with the next link command; also delete a directory that is
2425
# left behind by Apple's compiler. We do this before executing the actions.
2426
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2427
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2428
as_fn_set_status $ac_retval
2430
} # ac_fn_c_try_link
2432
# ac_fn_c_check_func LINENO FUNC VAR
2433
# ----------------------------------
2434
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2435
ac_fn_c_check_func ()
2437
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2439
$as_echo_n "checking for $2... " >&6; }
2440
if eval "test \"\${$3+set}\"" = set; then :
2441
$as_echo_n "(cached) " >&6
2443
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2444
/* end confdefs.h. */
2445
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2446
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2447
#define $2 innocuous_$2
2449
/* System header to define __stub macros and hopefully few prototypes,
2450
which can conflict with char $2 (); below.
2451
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2452
<limits.h> exists even on freestanding compilers. */
2455
# include <limits.h>
2457
# include <assert.h>
2462
/* Override any GCC internal prototype to avoid an error.
2463
Use char because int might match the return type of a GCC
2464
builtin and then its argument prototype would still apply. */
2469
/* The GNU C library defines this for functions which it implements
2470
to always fail with ENOSYS. Some functions are actually named
2471
something starting with __ and the normal name is an alias. */
2472
#if defined __stub_$2 || defined __stub___$2
2484
if ac_fn_c_try_link "$LINENO"; then :
2489
rm -f core conftest.err conftest.$ac_objext \
2490
conftest$ac_exeext conftest.$ac_ext
2493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2494
$as_echo "$ac_res" >&6; }
2495
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2497
} # ac_fn_c_check_func
2499
# ac_fn_cxx_try_compile LINENO
2500
# ----------------------------
2501
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2502
ac_fn_cxx_try_compile ()
2504
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2505
rm -f conftest.$ac_objext
2506
if { { ac_try="$ac_compile"
2508
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2509
*) ac_try_echo=$ac_try;;
2511
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2512
$as_echo "$ac_try_echo"; } >&5
2513
(eval "$ac_compile") 2>conftest.err
2515
if test -s conftest.err; then
2516
grep -v '^ *+' conftest.err >conftest.er1
2517
cat conftest.er1 >&5
2518
mv -f conftest.er1 conftest.err
2520
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2521
test $ac_status = 0; } && {
2522
test -z "$ac_cxx_werror_flag" ||
2523
test ! -s conftest.err
2524
} && test -s conftest.$ac_objext; then :
2527
$as_echo "$as_me: failed program was:" >&5
2528
sed 's/^/| /' conftest.$ac_ext >&5
2532
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2533
as_fn_set_status $ac_retval
2535
} # ac_fn_cxx_try_compile
2537
# ac_fn_cxx_try_cpp LINENO
2538
# ------------------------
2539
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2540
ac_fn_cxx_try_cpp ()
2542
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2543
if { { ac_try="$ac_cpp conftest.$ac_ext"
2545
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546
*) ac_try_echo=$ac_try;;
2548
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2549
$as_echo "$ac_try_echo"; } >&5
2550
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2552
if test -s conftest.err; then
2553
grep -v '^ *+' conftest.err >conftest.er1
2554
cat conftest.er1 >&5
2555
mv -f conftest.er1 conftest.err
2557
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558
test $ac_status = 0; } > conftest.i && {
2559
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2560
test ! -s conftest.err
2564
$as_echo "$as_me: failed program was:" >&5
2565
sed 's/^/| /' conftest.$ac_ext >&5
2569
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2570
as_fn_set_status $ac_retval
2572
} # ac_fn_cxx_try_cpp
2574
# ac_fn_cxx_try_link LINENO
2575
# -------------------------
2576
# Try to link conftest.$ac_ext, and return whether this succeeded.
2577
ac_fn_cxx_try_link ()
2579
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2580
rm -f conftest.$ac_objext conftest$ac_exeext
2581
if { { ac_try="$ac_link"
2583
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584
*) ac_try_echo=$ac_try;;
2586
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2587
$as_echo "$ac_try_echo"; } >&5
2588
(eval "$ac_link") 2>conftest.err
2590
if test -s conftest.err; then
2591
grep -v '^ *+' conftest.err >conftest.er1
2592
cat conftest.er1 >&5
2593
mv -f conftest.er1 conftest.err
2595
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2596
test $ac_status = 0; } && {
2597
test -z "$ac_cxx_werror_flag" ||
2598
test ! -s conftest.err
2599
} && test -s conftest$ac_exeext && {
2600
test "$cross_compiling" = yes ||
2601
$as_test_x conftest$ac_exeext
2605
$as_echo "$as_me: failed program was:" >&5
2606
sed 's/^/| /' conftest.$ac_ext >&5
2610
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2611
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2612
# interfere with the next link command; also delete a directory that is
2613
# left behind by Apple's compiler. We do this before executing the actions.
2614
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2615
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2616
as_fn_set_status $ac_retval
2618
} # ac_fn_cxx_try_link
2620
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2621
# --------------------------------------------
2622
# Tries to find the compile-time value of EXPR in a program that includes
2623
# INCLUDES, setting VAR accordingly. Returns whether the value could be
2625
ac_fn_c_compute_int ()
2627
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2628
if test "$cross_compiling" = yes; then
2629
# Depending upon the size, compute the lo and hi bounds.
2630
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2631
/* end confdefs.h. */
2636
static int test_array [1 - 2 * !(($2) >= 0)];
2643
if ac_fn_c_try_compile "$LINENO"; then :
2646
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647
/* end confdefs.h. */
2652
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2659
if ac_fn_c_try_compile "$LINENO"; then :
2660
ac_hi=$ac_mid; break
2662
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2663
if test $ac_lo -le $ac_mid; then
2667
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2669
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2672
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673
/* end confdefs.h. */
2678
static int test_array [1 - 2 * !(($2) < 0)];
2685
if ac_fn_c_try_compile "$LINENO"; then :
2688
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689
/* end confdefs.h. */
2694
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2701
if ac_fn_c_try_compile "$LINENO"; then :
2702
ac_lo=$ac_mid; break
2704
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2705
if test $ac_mid -le $ac_hi; then
2709
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2716
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2719
# Binary search between lo and hi bounds.
2720
while test "x$ac_lo" != "x$ac_hi"; do
2721
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2722
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723
/* end confdefs.h. */
2728
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2735
if ac_fn_c_try_compile "$LINENO"; then :
2738
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2740
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2747
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2748
/* end confdefs.h. */
2750
static long int longval () { return $2; }
2751
static unsigned long int ulongval () { return $2; }
2758
FILE *f = fopen ("conftest.val", "w");
2763
long int i = longval ();
2766
fprintf (f, "%ld", i);
2770
unsigned long int i = ulongval ();
2773
fprintf (f, "%lu", i);
2775
/* Do not output a trailing newline, as this causes \r\n confusion
2776
on some platforms. */
2777
return ferror (f) || fclose (f) != 0;
2783
if ac_fn_c_try_run "$LINENO"; then :
2784
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2788
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2789
conftest.$ac_objext conftest.beam conftest.$ac_ext
2793
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2794
as_fn_set_status $ac_retval
2796
} # ac_fn_c_compute_int
2798
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2799
# -------------------------------------------
2800
# Tests whether TYPE exists after having included INCLUDES, setting cache
2801
# variable VAR accordingly.
2802
ac_fn_c_check_type ()
2804
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2806
$as_echo_n "checking for $2... " >&6; }
2807
if eval "test \"\${$3+set}\"" = set; then :
2808
$as_echo_n "(cached) " >&6
2811
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812
/* end confdefs.h. */
2823
if ac_fn_c_try_compile "$LINENO"; then :
2824
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825
/* end confdefs.h. */
2836
if ac_fn_c_try_compile "$LINENO"; then :
2841
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2843
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2847
$as_echo "$ac_res" >&6; }
2848
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2850
} # ac_fn_c_check_type
2852
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2853
# ----------------------------------------------------
2854
# Tries to find if the field MEMBER exists in type AGGR, after including
2855
# INCLUDES, setting cache variable VAR accordingly.
2856
ac_fn_c_check_member ()
2858
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2860
$as_echo_n "checking for $2.$3... " >&6; }
2861
if eval "test \"\${$4+set}\"" = set; then :
2862
$as_echo_n "(cached) " >&6
2864
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865
/* end confdefs.h. */
2877
if ac_fn_c_try_compile "$LINENO"; then :
2880
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881
/* end confdefs.h. */
2887
if (sizeof ac_aggr.$3)
2893
if ac_fn_c_try_compile "$LINENO"; then :
2898
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2900
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2904
$as_echo "$ac_res" >&6; }
2905
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2907
} # ac_fn_c_check_member
2908
cat >config.log <<_ACEOF
2909
This file contains any messages produced by compilers while
2910
running configure, to aid debugging if configure makes a mistake.
2912
It was created by cairo $as_me 1.10.2, which was
2913
generated by GNU Autoconf 2.67. Invocation command line was
2925
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2926
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2927
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2928
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2929
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2931
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2932
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2934
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2935
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2936
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2937
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2938
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2939
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2940
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2944
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948
test -z "$as_dir" && as_dir=.
2949
$as_echo "PATH: $as_dir"
2965
# Keep a trace of the command line.
2966
# Strip out --no-create and --no-recursion so they do not pile up.
2967
# Strip out --silent because we don't want to record it for future runs.
2968
# Also quote any args containing shell meta-characters.
2969
# Make two passes to allow for proper duplicate-argument suppression.
2973
ac_must_keep_next=false
2979
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2980
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2981
| -silent | --silent | --silen | --sile | --sil)
2984
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2987
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2989
as_fn_append ac_configure_args1 " '$ac_arg'"
2990
if test $ac_must_keep_next = true; then
2991
ac_must_keep_next=false # Got value, back to normal.
2994
*=* | --config-cache | -C | -disable-* | --disable-* \
2995
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2996
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2997
| -with-* | --with-* | -without-* | --without-* | --x)
2998
case "$ac_configure_args0 " in
2999
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3002
-* ) ac_must_keep_next=true ;;
3005
as_fn_append ac_configure_args " '$ac_arg'"
3010
{ ac_configure_args0=; unset ac_configure_args0;}
3011
{ ac_configure_args1=; unset ac_configure_args1;}
3013
# When interrupted or exit'd, cleanup temporary files, and complete
3014
# config.log. We remove comments because anyway the quotes in there
3015
# would cause problems or look ugly.
3016
# WARNING: Use '\'' to represent an apostrophe within the trap.
3017
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3018
trap 'exit_status=$?
3019
# Save into config.log some information that might help in debugging.
3023
$as_echo "## ---------------- ##
3024
## Cache variables. ##
3025
## ---------------- ##"
3027
# The following way of writing the cache mishandles newlines in values,
3029
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3030
eval ac_val=\$$ac_var
3034
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3035
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3038
_ | IFS | as_nl) ;; #(
3039
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3040
*) { eval $ac_var=; unset $ac_var;} ;;
3045
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3046
*${as_nl}ac_space=\ *)
3048
"s/'\''/'\''\\\\'\'''\''/g;
3049
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3052
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3059
$as_echo "## ----------------- ##
3060
## Output variables. ##
3061
## ----------------- ##"
3063
for ac_var in $ac_subst_vars
3065
eval ac_val=\$$ac_var
3067
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3069
$as_echo "$ac_var='\''$ac_val'\''"
3073
if test -n "$ac_subst_files"; then
3074
$as_echo "## ------------------- ##
3075
## File substitutions. ##
3076
## ------------------- ##"
3078
for ac_var in $ac_subst_files
3080
eval ac_val=\$$ac_var
3082
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3084
$as_echo "$ac_var='\''$ac_val'\''"
3089
if test -s confdefs.h; then
3090
$as_echo "## ----------- ##
3097
test "$ac_signal" != 0 &&
3098
$as_echo "$as_me: caught signal $ac_signal"
3099
$as_echo "$as_me: exit $exit_status"
3101
rm -f core *.core core.conftest.* &&
3102
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3105
for ac_signal in 1 2 13 15; do
3106
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3110
# confdefs.h avoids OS command line length limits that DEFS can exceed.
3111
rm -f -r conftest* confdefs.h
3113
$as_echo "/* confdefs.h */" > confdefs.h
3115
# Predefined preprocessor variables.
3117
cat >>confdefs.h <<_ACEOF
3118
#define PACKAGE_NAME "$PACKAGE_NAME"
3121
cat >>confdefs.h <<_ACEOF
3122
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3125
cat >>confdefs.h <<_ACEOF
3126
#define PACKAGE_VERSION "$PACKAGE_VERSION"
3129
cat >>confdefs.h <<_ACEOF
3130
#define PACKAGE_STRING "$PACKAGE_STRING"
3133
cat >>confdefs.h <<_ACEOF
3134
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3137
cat >>confdefs.h <<_ACEOF
3138
#define PACKAGE_URL "$PACKAGE_URL"
3142
# Let the site file select an alternate cache file if it wants to.
3143
# Prefer an explicitly selected file to automatically selected ones.
3146
if test -n "$CONFIG_SITE"; then
3147
# We do not want a PATH search for config.site.
3148
case $CONFIG_SITE in #((
3149
-*) ac_site_file1=./$CONFIG_SITE;;
3150
*/*) ac_site_file1=$CONFIG_SITE;;
3151
*) ac_site_file1=./$CONFIG_SITE;;
3153
elif test "x$prefix" != xNONE; then
3154
ac_site_file1=$prefix/share/config.site
3155
ac_site_file2=$prefix/etc/config.site
3157
ac_site_file1=$ac_default_prefix/share/config.site
3158
ac_site_file2=$ac_default_prefix/etc/config.site
3160
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3162
test "x$ac_site_file" = xNONE && continue
3163
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3165
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3166
sed 's/^/| /' "$ac_site_file" >&5
3168
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3169
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3170
as_fn_error $? "failed to load site script $ac_site_file
3171
See \`config.log' for more details" "$LINENO" 5 ; }
3175
if test -r "$cache_file"; then
3176
# Some versions of bash will fail to source /dev/null (special files
3177
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
3178
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3179
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3180
$as_echo "$as_me: loading cache $cache_file" >&6;}
3182
[\\/]* | ?:[\\/]* ) . "$cache_file";;
3183
*) . "./$cache_file";;
3187
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3188
$as_echo "$as_me: creating cache $cache_file" >&6;}
3192
# Check that the precious variables saved in the cache have kept the same
3194
ac_cache_corrupted=false
3195
for ac_var in $ac_precious_vars; do
3196
eval ac_old_set=\$ac_cv_env_${ac_var}_set
3197
eval ac_new_set=\$ac_env_${ac_var}_set
3198
eval ac_old_val=\$ac_cv_env_${ac_var}_value
3199
eval ac_new_val=\$ac_env_${ac_var}_value
3200
case $ac_old_set,$ac_new_set in
3202
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3203
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3204
ac_cache_corrupted=: ;;
3206
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3207
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3208
ac_cache_corrupted=: ;;
3211
if test "x$ac_old_val" != "x$ac_new_val"; then
3212
# differences in whitespace do not lead to failure.
3213
ac_old_val_w=`echo x $ac_old_val`
3214
ac_new_val_w=`echo x $ac_new_val`
3215
if test "$ac_old_val_w" != "$ac_new_val_w"; then
3216
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3217
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3218
ac_cache_corrupted=:
3220
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3221
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3222
eval $ac_var=\$ac_old_val
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3225
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3226
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3227
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3230
# Pass precious variables to config.status.
3231
if test "$ac_new_set" = set; then
3233
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3234
*) ac_arg=$ac_var=$ac_new_val ;;
3236
case " $ac_configure_args " in
3237
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3238
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
3242
if $ac_cache_corrupted; then
3243
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3246
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3247
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3249
## -------------------- ##
3250
## Main body of script. ##
3251
## -------------------- ##
3254
ac_cpp='$CPP $CPPFLAGS'
3255
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3261
for ac_dir in build "$srcdir"/build; do
3262
if test -f "$ac_dir/install-sh"; then
3264
ac_install_sh="$ac_aux_dir/install-sh -c"
3266
elif test -f "$ac_dir/install.sh"; then
3268
ac_install_sh="$ac_aux_dir/install.sh -c"
3270
elif test -f "$ac_dir/shtool"; then
3272
ac_install_sh="$ac_aux_dir/shtool install -c"
3276
if test -z "$ac_aux_dir"; then
3277
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
3280
# These three variables are undocumented and unsupported,
3281
# and are intended to be withdrawn in a future Autoconf release.
3282
# They can cause serious problems if a builder's source tree is in a directory
3283
# whose full name contains unusual characters.
3284
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3285
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3286
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3291
ac_cpp='$CPP $CPPFLAGS'
3292
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3294
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3295
if test -n "$ac_tool_prefix"; then
3296
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3297
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299
$as_echo_n "checking for $ac_word... " >&6; }
3300
if test "${ac_cv_prog_CC+set}" = set; then :
3301
$as_echo_n "(cached) " >&6
3303
if test -n "$CC"; then
3304
ac_cv_prog_CC="$CC" # Let the user override the test.
3306
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310
test -z "$as_dir" && as_dir=.
3311
for ac_exec_ext in '' $ac_executable_extensions; do
3312
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3313
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3314
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324
if test -n "$CC"; then
3325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3326
$as_echo "$CC" >&6; }
3328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329
$as_echo "no" >&6; }
3334
if test -z "$ac_cv_prog_CC"; then
3336
# Extract the first word of "gcc", so it can be a program name with args.
3337
set dummy gcc; ac_word=$2
3338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339
$as_echo_n "checking for $ac_word... " >&6; }
3340
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3341
$as_echo_n "(cached) " >&6
3343
if test -n "$ac_ct_CC"; then
3344
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350
test -z "$as_dir" && as_dir=.
3351
for ac_exec_ext in '' $ac_executable_extensions; do
3352
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3353
ac_cv_prog_ac_ct_CC="gcc"
3354
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3364
if test -n "$ac_ct_CC"; then
3365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3366
$as_echo "$ac_ct_CC" >&6; }
3368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369
$as_echo "no" >&6; }
3372
if test "x$ac_ct_CC" = x; then
3375
case $cross_compiling:$ac_tool_warned in
3377
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3378
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3379
ac_tool_warned=yes ;;
3387
if test -z "$CC"; then
3388
if test -n "$ac_tool_prefix"; then
3389
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3390
set dummy ${ac_tool_prefix}cc; ac_word=$2
3391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392
$as_echo_n "checking for $ac_word... " >&6; }
3393
if test "${ac_cv_prog_CC+set}" = set; then :
3394
$as_echo_n "(cached) " >&6
3396
if test -n "$CC"; then
3397
ac_cv_prog_CC="$CC" # Let the user override the test.
3399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403
test -z "$as_dir" && as_dir=.
3404
for ac_exec_ext in '' $ac_executable_extensions; do
3405
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3406
ac_cv_prog_CC="${ac_tool_prefix}cc"
3407
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3417
if test -n "$CC"; then
3418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3419
$as_echo "$CC" >&6; }
3421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422
$as_echo "no" >&6; }
3428
if test -z "$CC"; then
3429
# Extract the first word of "cc", so it can be a program name with args.
3430
set dummy cc; ac_word=$2
3431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3432
$as_echo_n "checking for $ac_word... " >&6; }
3433
if test "${ac_cv_prog_CC+set}" = set; then :
3434
$as_echo_n "(cached) " >&6
3436
if test -n "$CC"; then
3437
ac_cv_prog_CC="$CC" # Let the user override the test.
3440
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444
test -z "$as_dir" && as_dir=.
3445
for ac_exec_ext in '' $ac_executable_extensions; do
3446
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3448
ac_prog_rejected=yes
3452
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3459
if test $ac_prog_rejected = yes; then
3460
# We found a bogon in the path, so make sure we never use it.
3461
set dummy $ac_cv_prog_CC
3463
if test $# != 0; then
3464
# We chose a different compiler from the bogus one.
3465
# However, it has the same basename, so the bogon will be chosen
3466
# first if we set CC to just the basename; use the full file name.
3468
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3474
if test -n "$CC"; then
3475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3476
$as_echo "$CC" >&6; }
3478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3479
$as_echo "no" >&6; }
3484
if test -z "$CC"; then
3485
if test -n "$ac_tool_prefix"; then
3486
for ac_prog in cl.exe
3488
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3489
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491
$as_echo_n "checking for $ac_word... " >&6; }
3492
if test "${ac_cv_prog_CC+set}" = set; then :
3493
$as_echo_n "(cached) " >&6
3495
if test -n "$CC"; then
3496
ac_cv_prog_CC="$CC" # Let the user override the test.
3498
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3502
test -z "$as_dir" && as_dir=.
3503
for ac_exec_ext in '' $ac_executable_extensions; do
3504
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3506
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516
if test -n "$CC"; then
3517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3518
$as_echo "$CC" >&6; }
3520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521
$as_echo "no" >&6; }
3525
test -n "$CC" && break
3528
if test -z "$CC"; then
3530
for ac_prog in cl.exe
3532
# Extract the first word of "$ac_prog", so it can be a program name with args.
3533
set dummy $ac_prog; ac_word=$2
3534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3535
$as_echo_n "checking for $ac_word... " >&6; }
3536
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3537
$as_echo_n "(cached) " >&6
3539
if test -n "$ac_ct_CC"; then
3540
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3542
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546
test -z "$as_dir" && as_dir=.
3547
for ac_exec_ext in '' $ac_executable_extensions; do
3548
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3549
ac_cv_prog_ac_ct_CC="$ac_prog"
3550
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3560
if test -n "$ac_ct_CC"; then
3561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3562
$as_echo "$ac_ct_CC" >&6; }
3564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565
$as_echo "no" >&6; }
3569
test -n "$ac_ct_CC" && break
3572
if test "x$ac_ct_CC" = x; then
3575
case $cross_compiling:$ac_tool_warned in
3577
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3578
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3579
ac_tool_warned=yes ;;
3588
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590
as_fn_error $? "no acceptable C compiler found in \$PATH
3591
See \`config.log' for more details" "$LINENO" 5 ; }
3593
# Provide some information about the compiler.
3594
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3597
for ac_option in --version -v -V -qversion; do
3598
{ { ac_try="$ac_compiler $ac_option >&5"
3600
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601
*) ac_try_echo=$ac_try;;
3603
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604
$as_echo "$ac_try_echo"; } >&5
3605
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3607
if test -s conftest.err; then
3609
... rest of stderr output deleted ...
3610
10q' conftest.err >conftest.er1
3611
cat conftest.er1 >&5
3613
rm -f conftest.er1 conftest.err
3614
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3615
test $ac_status = 0; }
3618
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619
/* end confdefs.h. */
3629
ac_clean_files_save=$ac_clean_files
3630
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3631
# Try to create an executable without -o first, disregard a.out.
3632
# It will help us diagnose broken compilers, and finding out an intuition
3634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3635
$as_echo_n "checking whether the C compiler works... " >&6; }
3636
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3638
# The possible output files:
3639
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3642
for ac_file in $ac_files
3645
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3646
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3651
if { { ac_try="$ac_link_default"
3653
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654
*) ac_try_echo=$ac_try;;
3656
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3657
$as_echo "$ac_try_echo"; } >&5
3658
(eval "$ac_link_default") 2>&5
3660
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3661
test $ac_status = 0; }; then :
3662
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3663
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3664
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3665
# so that the user can short-circuit this test for compilers unknown to
3667
for ac_file in $ac_files ''
3669
test -f "$ac_file" || continue
3671
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3674
# We found the default executable, but exeext='' is most
3678
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3680
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3682
# We set ac_cv_exeext here because the later test for it is not
3683
# safe: cross compilers may not add the suffix if given an `-o'
3684
# argument, so we may need to know it at that point already.
3685
# Even if this section looks crufty: it has the advantage of
3692
test "$ac_cv_exeext" = no && ac_cv_exeext=
3697
if test -z "$ac_file"; then :
3698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699
$as_echo "no" >&6; }
3700
$as_echo "$as_me: failed program was:" >&5
3701
sed 's/^/| /' conftest.$ac_ext >&5
3703
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3704
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3705
as_fn_error 77 "C compiler cannot create executables
3706
See \`config.log' for more details" "$LINENO" 5 ; }
3708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3709
$as_echo "yes" >&6; }
3711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3712
$as_echo_n "checking for C compiler default output file name... " >&6; }
3713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3714
$as_echo "$ac_file" >&6; }
3715
ac_exeext=$ac_cv_exeext
3717
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3718
ac_clean_files=$ac_clean_files_save
3719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3720
$as_echo_n "checking for suffix of executables... " >&6; }
3721
if { { ac_try="$ac_link"
3723
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3724
*) ac_try_echo=$ac_try;;
3726
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3727
$as_echo "$ac_try_echo"; } >&5
3728
(eval "$ac_link") 2>&5
3730
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3731
test $ac_status = 0; }; then :
3732
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3733
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3734
# work properly (i.e., refer to `conftest.exe'), while it won't with
3736
for ac_file in conftest.exe conftest conftest.*; do
3737
test -f "$ac_file" || continue
3739
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3740
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3746
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3747
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3748
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3749
See \`config.log' for more details" "$LINENO" 5 ; }
3751
rm -f conftest conftest$ac_cv_exeext
3752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3753
$as_echo "$ac_cv_exeext" >&6; }
3755
rm -f conftest.$ac_ext
3756
EXEEXT=$ac_cv_exeext
3758
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759
/* end confdefs.h. */
3764
FILE *f = fopen ("conftest.out", "w");
3765
return ferror (f) || fclose (f) != 0;
3771
ac_clean_files="$ac_clean_files conftest.out"
3772
# Check that the compiler produces executables we can run. If not, either
3773
# the compiler is broken, or we cross compile.
3774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3775
$as_echo_n "checking whether we are cross compiling... " >&6; }
3776
if test "$cross_compiling" != yes; then
3777
{ { ac_try="$ac_link"
3779
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780
*) ac_try_echo=$ac_try;;
3782
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783
$as_echo "$ac_try_echo"; } >&5
3784
(eval "$ac_link") 2>&5
3786
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787
test $ac_status = 0; }
3788
if { ac_try='./conftest$ac_cv_exeext'
3789
{ { case "(($ac_try" in
3790
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791
*) ac_try_echo=$ac_try;;
3793
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3794
$as_echo "$ac_try_echo"; } >&5
3795
(eval "$ac_try") 2>&5
3797
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3798
test $ac_status = 0; }; }; then
3801
if test "$cross_compiling" = maybe; then
3804
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806
as_fn_error $? "cannot run C compiled programs.
3807
If you meant to cross compile, use \`--host'.
3808
See \`config.log' for more details" "$LINENO" 5 ; }
3812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3813
$as_echo "$cross_compiling" >&6; }
3815
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3816
ac_clean_files=$ac_clean_files_save
3817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3818
$as_echo_n "checking for suffix of object files... " >&6; }
3819
if test "${ac_cv_objext+set}" = set; then :
3820
$as_echo_n "(cached) " >&6
3822
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823
/* end confdefs.h. */
3833
rm -f conftest.o conftest.obj
3834
if { { ac_try="$ac_compile"
3836
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837
*) ac_try_echo=$ac_try;;
3839
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3840
$as_echo "$ac_try_echo"; } >&5
3841
(eval "$ac_compile") 2>&5
3843
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844
test $ac_status = 0; }; then :
3845
for ac_file in conftest.o conftest.obj conftest.*; do
3846
test -f "$ac_file" || continue;
3848
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3849
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3854
$as_echo "$as_me: failed program was:" >&5
3855
sed 's/^/| /' conftest.$ac_ext >&5
3857
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3858
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3859
as_fn_error $? "cannot compute suffix of object files: cannot compile
3860
See \`config.log' for more details" "$LINENO" 5 ; }
3862
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3865
$as_echo "$ac_cv_objext" >&6; }
3866
OBJEXT=$ac_cv_objext
3868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3869
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3870
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3871
$as_echo_n "(cached) " >&6
3873
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874
/* end confdefs.h. */
3887
if ac_fn_c_try_compile "$LINENO"; then :
3892
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3893
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3897
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3898
if test $ac_compiler_gnu = yes; then
3903
ac_test_CFLAGS=${CFLAGS+set}
3904
ac_save_CFLAGS=$CFLAGS
3905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3906
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3907
if test "${ac_cv_prog_cc_g+set}" = set; then :
3908
$as_echo_n "(cached) " >&6
3910
ac_save_c_werror_flag=$ac_c_werror_flag
3911
ac_c_werror_flag=yes
3914
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915
/* end confdefs.h. */
3925
if ac_fn_c_try_compile "$LINENO"; then :
3929
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930
/* end confdefs.h. */
3940
if ac_fn_c_try_compile "$LINENO"; then :
3943
ac_c_werror_flag=$ac_save_c_werror_flag
3945
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946
/* end confdefs.h. */
3956
if ac_fn_c_try_compile "$LINENO"; then :
3959
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3964
ac_c_werror_flag=$ac_save_c_werror_flag
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3967
$as_echo "$ac_cv_prog_cc_g" >&6; }
3968
if test "$ac_test_CFLAGS" = set; then
3969
CFLAGS=$ac_save_CFLAGS
3970
elif test $ac_cv_prog_cc_g = yes; then
3971
if test "$GCC" = yes; then
3977
if test "$GCC" = yes; then
3983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3984
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3985
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3986
$as_echo_n "(cached) " >&6
3988
ac_cv_prog_cc_c89=no
3990
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991
/* end confdefs.h. */
3994
#include <sys/types.h>
3995
#include <sys/stat.h>
3996
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3997
struct buf { int x; };
3998
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3999
static char *e (p, i)
4005
static char *f (char * (*g) (char **, int), char **p, ...)
4010
s = g (p, va_arg (v,int));
4015
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4016
function prototypes and stuff, but not '\xHH' hex character constants.
4017
These don't provoke an error unfortunately, instead are silently treated
4018
as 'x'. The following induces an error, until -std is added to get
4019
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4020
array size at least. It's necessary to write '\x00'==0 to get something
4021
that's true only with -std. */
4022
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4024
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4025
inside strings and character constants. */
4027
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4029
int test (int i, double x);
4030
struct s1 {int (*f) (int a);};
4031
struct s2 {int (*f) (double a);};
4032
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4038
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4043
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4044
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4046
CC="$ac_save_CC $ac_arg"
4047
if ac_fn_c_try_compile "$LINENO"; then :
4048
ac_cv_prog_cc_c89=$ac_arg
4050
rm -f core conftest.err conftest.$ac_objext
4051
test "x$ac_cv_prog_cc_c89" != "xno" && break
4053
rm -f conftest.$ac_ext
4058
case "x$ac_cv_prog_cc_c89" in
4060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4061
$as_echo "none needed" >&6; } ;;
4063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4064
$as_echo "unsupported" >&6; } ;;
4066
CC="$CC $ac_cv_prog_cc_c89"
4067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4068
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4070
if test "x$ac_cv_prog_cc_c89" != xno; then :
4075
ac_cpp='$CPP $CPPFLAGS'
4076
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4077
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4078
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4082
ac_cpp='$CPP $CPPFLAGS'
4083
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4084
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4085
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4087
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4088
# On Suns, sometimes $CPP names a directory.
4089
if test -n "$CPP" && test -d "$CPP"; then
4092
if test -z "$CPP"; then
4093
if test "${ac_cv_prog_CPP+set}" = set; then :
4094
$as_echo_n "(cached) " >&6
4096
# Double quotes because CPP needs to be expanded
4097
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4100
for ac_c_preproc_warn_flag in '' yes
4102
# Use a header file that comes with gcc, so configuring glibc
4103
# with a fresh cross-compiler works.
4104
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4105
# <limits.h> exists even on freestanding compilers.
4106
# On the NeXT, cc -E runs the code through the compiler's parser,
4107
# not just through cpp. "Syntax error" is here to catch this case.
4108
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109
/* end confdefs.h. */
4111
# include <limits.h>
4113
# include <assert.h>
4117
if ac_fn_c_try_cpp "$LINENO"; then :
4120
# Broken: fails on valid input.
4123
rm -f conftest.err conftest.i conftest.$ac_ext
4125
# OK, works on sane cases. Now check whether nonexistent headers
4126
# can be detected and how.
4127
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128
/* end confdefs.h. */
4129
#include <ac_nonexistent.h>
4131
if ac_fn_c_try_cpp "$LINENO"; then :
4132
# Broken: success on invalid input.
4135
# Passes both tests.
4139
rm -f conftest.err conftest.i conftest.$ac_ext
4142
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4143
rm -f conftest.i conftest.err conftest.$ac_ext
4144
if $ac_preproc_ok; then :
4156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4157
$as_echo "$CPP" >&6; }
4159
for ac_c_preproc_warn_flag in '' yes
4161
# Use a header file that comes with gcc, so configuring glibc
4162
# with a fresh cross-compiler works.
4163
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4164
# <limits.h> exists even on freestanding compilers.
4165
# On the NeXT, cc -E runs the code through the compiler's parser,
4166
# not just through cpp. "Syntax error" is here to catch this case.
4167
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4168
/* end confdefs.h. */
4170
# include <limits.h>
4172
# include <assert.h>
4176
if ac_fn_c_try_cpp "$LINENO"; then :
4179
# Broken: fails on valid input.
4182
rm -f conftest.err conftest.i conftest.$ac_ext
4184
# OK, works on sane cases. Now check whether nonexistent headers
4185
# can be detected and how.
4186
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187
/* end confdefs.h. */
4188
#include <ac_nonexistent.h>
4190
if ac_fn_c_try_cpp "$LINENO"; then :
4191
# Broken: success on invalid input.
4194
# Passes both tests.
4198
rm -f conftest.err conftest.i conftest.$ac_ext
4201
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4202
rm -f conftest.i conftest.err conftest.$ac_ext
4203
if $ac_preproc_ok; then :
4206
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4207
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4208
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4209
See \`config.log' for more details" "$LINENO" 5 ; }
4213
ac_cpp='$CPP $CPPFLAGS'
4214
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4215
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4216
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4220
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4221
if test "${ac_cv_path_GREP+set}" = set; then :
4222
$as_echo_n "(cached) " >&6
4224
if test -z "$GREP"; then
4225
ac_path_GREP_found=false
4226
# Loop through the user's path and test for each of PROGNAME-LIST
4227
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4228
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4231
test -z "$as_dir" && as_dir=.
4232
for ac_prog in grep ggrep; do
4233
for ac_exec_ext in '' $ac_executable_extensions; do
4234
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4235
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4236
# Check for GNU ac_path_GREP and select it if it is found.
4237
# Check for GNU $ac_path_GREP
4238
case `"$ac_path_GREP" --version 2>&1` in
4240
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4243
$as_echo_n 0123456789 >"conftest.in"
4246
cat "conftest.in" "conftest.in" >"conftest.tmp"
4247
mv "conftest.tmp" "conftest.in"
4248
cp "conftest.in" "conftest.nl"
4249
$as_echo 'GREP' >> "conftest.nl"
4250
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4251
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4252
as_fn_arith $ac_count + 1 && ac_count=$as_val
4253
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4254
# Best one so far, save it but keep looking for a better one
4255
ac_cv_path_GREP="$ac_path_GREP"
4256
ac_path_GREP_max=$ac_count
4258
# 10*(2^10) chars as input seems more than enough
4259
test $ac_count -gt 10 && break
4261
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4264
$ac_path_GREP_found && break 3
4269
if test -z "$ac_cv_path_GREP"; then
4270
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4273
ac_cv_path_GREP=$GREP
4277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4278
$as_echo "$ac_cv_path_GREP" >&6; }
4279
GREP="$ac_cv_path_GREP"
4282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4283
$as_echo_n "checking for egrep... " >&6; }
4284
if test "${ac_cv_path_EGREP+set}" = set; then :
4285
$as_echo_n "(cached) " >&6
4287
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4288
then ac_cv_path_EGREP="$GREP -E"
4290
if test -z "$EGREP"; then
4291
ac_path_EGREP_found=false
4292
# Loop through the user's path and test for each of PROGNAME-LIST
4293
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4297
test -z "$as_dir" && as_dir=.
4298
for ac_prog in egrep; do
4299
for ac_exec_ext in '' $ac_executable_extensions; do
4300
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4301
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4302
# Check for GNU ac_path_EGREP and select it if it is found.
4303
# Check for GNU $ac_path_EGREP
4304
case `"$ac_path_EGREP" --version 2>&1` in
4306
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4309
$as_echo_n 0123456789 >"conftest.in"
4312
cat "conftest.in" "conftest.in" >"conftest.tmp"
4313
mv "conftest.tmp" "conftest.in"
4314
cp "conftest.in" "conftest.nl"
4315
$as_echo 'EGREP' >> "conftest.nl"
4316
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4317
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4318
as_fn_arith $ac_count + 1 && ac_count=$as_val
4319
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4320
# Best one so far, save it but keep looking for a better one
4321
ac_cv_path_EGREP="$ac_path_EGREP"
4322
ac_path_EGREP_max=$ac_count
4324
# 10*(2^10) chars as input seems more than enough
4325
test $ac_count -gt 10 && break
4327
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4330
$ac_path_EGREP_found && break 3
4335
if test -z "$ac_cv_path_EGREP"; then
4336
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4339
ac_cv_path_EGREP=$EGREP
4344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4345
$as_echo "$ac_cv_path_EGREP" >&6; }
4346
EGREP="$ac_cv_path_EGREP"
4349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4350
$as_echo_n "checking for ANSI C header files... " >&6; }
4351
if test "${ac_cv_header_stdc+set}" = set; then :
4352
$as_echo_n "(cached) " >&6
4354
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355
/* end confdefs.h. */
4369
if ac_fn_c_try_compile "$LINENO"; then :
4370
ac_cv_header_stdc=yes
4372
ac_cv_header_stdc=no
4374
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376
if test $ac_cv_header_stdc = yes; then
4377
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4378
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379
/* end confdefs.h. */
4383
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4384
$EGREP "memchr" >/dev/null 2>&1; then :
4387
ac_cv_header_stdc=no
4393
if test $ac_cv_header_stdc = yes; then
4394
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4395
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396
/* end confdefs.h. */
4400
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4401
$EGREP "free" >/dev/null 2>&1; then :
4404
ac_cv_header_stdc=no
4410
if test $ac_cv_header_stdc = yes; then
4411
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4412
if test "$cross_compiling" = yes; then :
4415
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416
/* end confdefs.h. */
4419
#if ((' ' & 0x0FF) == 0x020)
4420
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4421
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4423
# define ISLOWER(c) \
4424
(('a' <= (c) && (c) <= 'i') \
4425
|| ('j' <= (c) && (c) <= 'r') \
4426
|| ('s' <= (c) && (c) <= 'z'))
4427
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4430
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4435
for (i = 0; i < 256; i++)
4436
if (XOR (islower (i), ISLOWER (i))
4437
|| toupper (i) != TOUPPER (i))
4442
if ac_fn_c_try_run "$LINENO"; then :
4445
ac_cv_header_stdc=no
4447
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4448
conftest.$ac_objext conftest.beam conftest.$ac_ext
4453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4454
$as_echo "$ac_cv_header_stdc" >&6; }
4455
if test $ac_cv_header_stdc = yes; then
4457
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4461
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4462
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4463
inttypes.h stdint.h unistd.h
4465
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4466
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4468
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4469
cat >>confdefs.h <<_ACEOF
4470
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4479
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4480
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4487
if test "$MINIX" = yes; then
4489
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4492
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4495
$as_echo "#define _MINIX 1" >>confdefs.h
4500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4501
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4502
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4503
$as_echo_n "(cached) " >&6
4505
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506
/* end confdefs.h. */
4508
# define __EXTENSIONS__ 1
4509
$ac_includes_default
4518
if ac_fn_c_try_compile "$LINENO"; then :
4519
ac_cv_safe_to_define___extensions__=yes
4521
ac_cv_safe_to_define___extensions__=no
4523
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4526
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4527
test $ac_cv_safe_to_define___extensions__ = yes &&
4528
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4530
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4532
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4534
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4536
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4542
ac_config_headers="$ac_config_headers config.h"
4544
am__api_version='1.11'
4546
# Find a good install program. We prefer a C program (faster),
4547
# so one script is as good as another. But avoid the broken or
4548
# incompatible versions:
4549
# SysV /etc/install, /usr/sbin/install
4550
# SunOS /usr/etc/install
4551
# IRIX /sbin/install
4553
# AmigaOS /C/install, which installs bootblocks on floppy discs
4554
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4555
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4556
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4557
# OS/2's system install, which has a completely different semantic
4558
# ./install, which can be erroneously created by make from ./install.sh.
4559
# Reject install programs that cannot install multiple files.
4560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4561
$as_echo_n "checking for a BSD-compatible install... " >&6; }
4562
if test -z "$INSTALL"; then
4563
if test "${ac_cv_path_install+set}" = set; then :
4564
$as_echo_n "(cached) " >&6
4566
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570
test -z "$as_dir" && as_dir=.
4571
# Account for people who put trailing slashes in PATH elements.
4572
case $as_dir/ in #((
4573
./ | .// | /[cC]/* | \
4574
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4575
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4578
# OSF1 and SCO ODT 3.0 have their own names for install.
4579
# Don't use installbsd from OSF since it installs stuff as root
4581
for ac_prog in ginstall scoinst install; do
4582
for ac_exec_ext in '' $ac_executable_extensions; do
4583
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4584
if test $ac_prog = install &&
4585
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4586
# AIX install. It has an incompatible calling convention.
4588
elif test $ac_prog = install &&
4589
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4590
# program-specific install script used by HP pwplus--don't use.
4593
rm -rf conftest.one conftest.two conftest.dir
4594
echo one > conftest.one
4595
echo two > conftest.two
4597
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4598
test -s conftest.one && test -s conftest.two &&
4599
test -s conftest.dir/conftest.one &&
4600
test -s conftest.dir/conftest.two
4602
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4615
rm -rf conftest.one conftest.two conftest.dir
4618
if test "${ac_cv_path_install+set}" = set; then
4619
INSTALL=$ac_cv_path_install
4621
# As a last resort, use the slow shell script. Don't cache a
4622
# value for INSTALL within a source directory, because that will
4623
# break other packages using the cache if that directory is
4624
# removed, or if the value is a relative name.
4625
INSTALL=$ac_install_sh
4628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4629
$as_echo "$INSTALL" >&6; }
4631
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4632
# It thinks the first close brace ends the variable substitution.
4633
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4635
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4637
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4640
$as_echo_n "checking whether build environment is sane... " >&6; }
4643
echo timestamp > conftest.file
4644
# Reject unsafe characters in $srcdir or the absolute working directory
4645
# name. Accept space and tab only in the latter.
4649
*[\\\"\#\$\&\'\`$am_lf]*)
4650
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
4653
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4654
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
4657
# Do `set' in a subshell so we don't clobber the current shell's
4658
# arguments. Must try -L first in case configure is actually a
4659
# symlink; some systems play weird games with the mod time of symlinks
4660
# (eg FreeBSD returns the mod time of the symlink's containing
4663
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4664
if test "$*" = "X"; then
4666
set X `ls -t "$srcdir/configure" conftest.file`
4669
if test "$*" != "X $srcdir/configure conftest.file" \
4670
&& test "$*" != "X conftest.file $srcdir/configure"; then
4672
# If neither matched, then we have a broken ls. This can happen
4673
# if, for instance, CONFIG_SHELL is bash and it inherits a
4674
# broken ls alias from the environment. This has actually
4675
# happened. Such a system could not be considered "sane".
4676
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4677
alias in your environment" "$LINENO" 5
4680
test "$2" = conftest.file
4686
as_fn_error $? "newly created file is older than distributed files!
4687
Check your system clock" "$LINENO" 5
4689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4690
$as_echo "yes" >&6; }
4691
test "$program_prefix" != NONE &&
4692
program_transform_name="s&^&$program_prefix&;$program_transform_name"
4693
# Use a double $ so make ignores it.
4694
test "$program_suffix" != NONE &&
4695
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4696
# Double any \ or $.
4697
# By default was `s,x,x', remove it if useless.
4698
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4699
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4701
# expand $ac_aux_dir to an absolute path
4702
am_aux_dir=`cd $ac_aux_dir && pwd`
4704
if test x"${MISSING+set}" != xset; then
4707
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4709
MISSING="\${SHELL} $am_aux_dir/missing" ;;
4712
# Use eval to expand $SHELL
4713
if eval "$MISSING --run true"; then
4714
am_missing_run="$MISSING --run "
4717
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4718
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4721
if test x"${install_sh}" != xset; then
4724
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4726
install_sh="\${SHELL} $am_aux_dir/install-sh"
4730
# Installed binaries are usually stripped using `strip' when the user
4731
# run `make install-strip'. However `strip' might not be the right
4732
# tool to use in cross-compilation environments, therefore Automake
4733
# will honor the `STRIP' environment variable to overrule this program.
4734
if test "$cross_compiling" != no; then
4735
if test -n "$ac_tool_prefix"; then
4736
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4737
set dummy ${ac_tool_prefix}strip; ac_word=$2
4738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739
$as_echo_n "checking for $ac_word... " >&6; }
4740
if test "${ac_cv_prog_STRIP+set}" = set; then :
4741
$as_echo_n "(cached) " >&6
4743
if test -n "$STRIP"; then
4744
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4746
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750
test -z "$as_dir" && as_dir=.
4751
for ac_exec_ext in '' $ac_executable_extensions; do
4752
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4754
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763
STRIP=$ac_cv_prog_STRIP
4764
if test -n "$STRIP"; then
4765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4766
$as_echo "$STRIP" >&6; }
4768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769
$as_echo "no" >&6; }
4774
if test -z "$ac_cv_prog_STRIP"; then
4776
# Extract the first word of "strip", so it can be a program name with args.
4777
set dummy strip; ac_word=$2
4778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4779
$as_echo_n "checking for $ac_word... " >&6; }
4780
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4781
$as_echo_n "(cached) " >&6
4783
if test -n "$ac_ct_STRIP"; then
4784
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4786
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4790
test -z "$as_dir" && as_dir=.
4791
for ac_exec_ext in '' $ac_executable_extensions; do
4792
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4793
ac_cv_prog_ac_ct_STRIP="strip"
4794
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4804
if test -n "$ac_ct_STRIP"; then
4805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4806
$as_echo "$ac_ct_STRIP" >&6; }
4808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809
$as_echo "no" >&6; }
4812
if test "x$ac_ct_STRIP" = x; then
4815
case $cross_compiling:$ac_tool_warned in
4817
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4818
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4819
ac_tool_warned=yes ;;
4824
STRIP="$ac_cv_prog_STRIP"
4828
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4831
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4832
if test -z "$MKDIR_P"; then
4833
if test "${ac_cv_path_mkdir+set}" = set; then :
4834
$as_echo_n "(cached) " >&6
4836
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4840
test -z "$as_dir" && as_dir=.
4841
for ac_prog in mkdir gmkdir; do
4842
for ac_exec_ext in '' $ac_executable_extensions; do
4843
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4844
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4845
'mkdir (GNU coreutils) '* | \
4846
'mkdir (coreutils) '* | \
4847
'mkdir (fileutils) '4.1*)
4848
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4858
test -d ./--version && rmdir ./--version
4859
if test "${ac_cv_path_mkdir+set}" = set; then
4860
MKDIR_P="$ac_cv_path_mkdir -p"
4862
# As a last resort, use the slow shell script. Don't cache a
4863
# value for MKDIR_P within a source directory, because that will
4864
# break other packages using the cache if that directory is
4865
# removed, or if the value is a relative name.
4866
MKDIR_P="$ac_install_sh -d"
4869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4870
$as_echo "$MKDIR_P" >&6; }
4874
[\\/$]* | ?:[\\/]*) ;;
4875
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4878
for ac_prog in gawk mawk nawk awk
4880
# Extract the first word of "$ac_prog", so it can be a program name with args.
4881
set dummy $ac_prog; ac_word=$2
4882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4883
$as_echo_n "checking for $ac_word... " >&6; }
4884
if test "${ac_cv_prog_AWK+set}" = set; then :
4885
$as_echo_n "(cached) " >&6
4887
if test -n "$AWK"; then
4888
ac_cv_prog_AWK="$AWK" # Let the user override the test.
4890
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894
test -z "$as_dir" && as_dir=.
4895
for ac_exec_ext in '' $ac_executable_extensions; do
4896
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4897
ac_cv_prog_AWK="$ac_prog"
4898
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908
if test -n "$AWK"; then
4909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4910
$as_echo "$AWK" >&6; }
4912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913
$as_echo "no" >&6; }
4917
test -n "$AWK" && break
4920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4921
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4923
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4924
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
4925
$as_echo_n "(cached) " >&6
4927
cat >conftest.make <<\_ACEOF
4930
@echo '@@@%%%=$(MAKE)=@@@%%%'
4932
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4933
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4935
eval ac_cv_prog_make_${ac_make}_set=yes;;
4937
eval ac_cv_prog_make_${ac_make}_set=no;;
4941
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4943
$as_echo "yes" >&6; }
4946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947
$as_echo "no" >&6; }
4948
SET_MAKE="MAKE=${MAKE-make}"
4951
rm -rf .tst 2>/dev/null
4952
mkdir .tst 2>/dev/null
4953
if test -d .tst; then
4958
rmdir .tst 2>/dev/null
4960
DEPDIR="${am__leading_dot}deps"
4962
ac_config_commands="$ac_config_commands depfiles"
4965
am_make=${MAKE-make}
4966
cat > confinc << 'END'
4968
@echo this is the am__doit target
4971
# If we don't find an include directive, just comment out the code.
4972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4973
$as_echo_n "checking for style of include used by $am_make... " >&6; }
4977
# First try GNU make style include.
4978
echo "include confinc" > confmf
4979
# Ignore all kinds of additional output from `make'.
4980
case `$am_make -s -f confmf 2> /dev/null` in #(
4981
*the\ am__doit\ target*)
4987
# Now try BSD make style include.
4988
if test "$am__include" = "#"; then
4989
echo '.include "confinc"' > confmf
4990
case `$am_make -s -f confmf 2> /dev/null` in #(
4991
*the\ am__doit\ target*)
4992
am__include=.include
5000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5001
$as_echo "$_am_result" >&6; }
5002
rm -f confinc confmf
5004
# Check whether --enable-dependency-tracking was given.
5005
if test "${enable_dependency_tracking+set}" = set; then :
5006
enableval=$enable_dependency_tracking;
5009
if test "x$enable_dependency_tracking" != xno; then
5010
am_depcomp="$ac_aux_dir/depcomp"
5013
if test "x$enable_dependency_tracking" != xno; then
5022
if test "`cd $srcdir && pwd`" != "`pwd`"; then
5023
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5024
# is not polluted with repeated "-I."
5025
am__isrc=' -I$(srcdir)'
5026
# test to see if srcdir already configured
5027
if test -f $srcdir/config.status; then
5028
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5032
# test whether we have cygpath
5033
if test -z "$CYGPATH_W"; then
5034
if (cygpath --version) >/dev/null 2>/dev/null; then
5035
CYGPATH_W='cygpath -w'
5042
# Define the identity of the package.
5047
# Some tools Automake needs.
5049
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5052
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5055
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5058
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5061
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5063
# We need awk for the "check" target. The system "awk" is bad on
5065
# Always define AMTAR for backward compatibility.
5067
AMTAR=${AMTAR-"${am_missing_run}tar"}
5069
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
5074
depcc="$CC" am_compiler_list=
5076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5077
$as_echo_n "checking dependency style of $depcc... " >&6; }
5078
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5079
$as_echo_n "(cached) " >&6
5081
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5082
# We make a subdir and do the tests there. Otherwise we can end up
5083
# making bogus files that we don't know about and never remove. For
5084
# instance it was reported that on HP-UX the gcc test will end up
5085
# making a dummy file named `D' -- because `-MD' means `put the output
5088
# Copy depcomp to subdir because otherwise we won't find it if we're
5089
# using a relative directory.
5090
cp "$am_depcomp" conftest.dir
5092
# We will build objects and dependencies in a subdirectory because
5093
# it helps to detect inapplicable dependency modes. For instance
5094
# both Tru64's cc and ICC support -MD to output dependencies as a
5095
# side effect of compilation, but ICC will put the dependencies in
5096
# the current directory while Tru64 will put them in the object
5100
am_cv_CC_dependencies_compiler_type=none
5101
if test "$am_compiler_list" = ""; then
5102
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5105
case " $depcc " in #(
5106
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5109
for depmode in $am_compiler_list; do
5110
# Setup a source with many dependencies, because some compilers
5111
# like to wrap large dependency lists on column 80 (with \), and
5112
# we should not choose a depcomp mode which is confused by this.
5114
# We need to recreate these files for each test, as the compiler may
5115
# overwrite some of them when testing with obscure command lines.
5116
# This happens at least with the AIX C compiler.
5118
for i in 1 2 3 4 5 6; do
5119
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5120
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5121
# Solaris 8's {/usr,}/bin/sh.
5122
touch sub/conftst$i.h
5124
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5126
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5127
# mode. It turns out that the SunPro C++ compiler does not properly
5128
# handle `-M -o', and we need to detect this. Also, some Intel
5129
# versions had trouble with output in subdirs
5130
am__obj=sub/conftest.${OBJEXT-o}
5131
am__minus_obj="-o $am__obj"
5134
# This depmode causes a compiler race in universal mode.
5135
test "$am__universal" = false || continue
5138
# after this tag, mechanisms are not by side-effect, so they'll
5139
# only be used when explicitly requested
5140
if test "x$enable_dependency_tracking" = xyes; then
5146
msvisualcpp | msvcmsys)
5147
# This compiler won't grok `-c -o', but also, the minuso test has
5148
# not run yet. These depmodes are late enough in the game, and
5149
# so weak that their functioning should not be impacted.
5150
am__obj=conftest.${OBJEXT-o}
5155
if depmode=$depmode \
5156
source=sub/conftest.c object=$am__obj \
5157
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5158
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5159
>/dev/null 2>conftest.err &&
5160
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5161
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5162
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5163
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5164
# icc doesn't choke on unknown options, it will just issue warnings
5165
# or remarks (even with -Werror). So we grep stderr for any message
5166
# that says an option was ignored or not supported.
5167
# When given -MP, icc 7.0 and 7.1 complain thusly:
5168
# icc: Command line warning: ignoring option '-M'; no argument required
5169
# The diagnosis changed in icc 8.0:
5170
# icc: Command line remark: option '-MP' not supported
5171
if (grep 'ignoring option' conftest.err ||
5172
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5173
am_cv_CC_dependencies_compiler_type=$depmode
5182
am_cv_CC_dependencies_compiler_type=none
5186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5187
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5188
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5191
test "x$enable_dependency_tracking" != xno \
5192
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5194
am__fastdepCC_FALSE='#'
5196
am__fastdepCC_TRUE='#'
5197
am__fastdepCC_FALSE=
5202
# Check whether --enable-silent-rules was given.
5203
if test "${enable_silent_rules+set}" = set; then :
5204
enableval=$enable_silent_rules;
5207
case $enable_silent_rules in
5208
yes) AM_DEFAULT_VERBOSITY=0;;
5209
no) AM_DEFAULT_VERBOSITY=1;;
5210
*) AM_DEFAULT_VERBOSITY=0;;
5214
# Make sure we can run config.sub.
5215
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5216
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5219
$as_echo_n "checking build system type... " >&6; }
5220
if test "${ac_cv_build+set}" = set; then :
5221
$as_echo_n "(cached) " >&6
5223
ac_build_alias=$build_alias
5224
test "x$ac_build_alias" = x &&
5225
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5226
test "x$ac_build_alias" = x &&
5227
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5228
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5229
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5233
$as_echo "$ac_cv_build" >&6; }
5234
case $ac_cv_build in
5236
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5239
ac_save_IFS=$IFS; IFS='-'
5245
# Remember, the first character of IFS is used to create $*,
5246
# except with old shells:
5249
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5253
$as_echo_n "checking host system type... " >&6; }
5254
if test "${ac_cv_host+set}" = set; then :
5255
$as_echo_n "(cached) " >&6
5257
if test "x$host_alias" = x; then
5258
ac_cv_host=$ac_cv_build
5260
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5261
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5266
$as_echo "$ac_cv_host" >&6; }
5269
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5272
ac_save_IFS=$IFS; IFS='-'
5278
# Remember, the first character of IFS is used to create $*,
5279
# except with old shells:
5282
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5285
enable_win32_dll=yes
5288
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
5289
if test -n "$ac_tool_prefix"; then
5290
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5291
set dummy ${ac_tool_prefix}as; ac_word=$2
5292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5293
$as_echo_n "checking for $ac_word... " >&6; }
5294
if test "${ac_cv_prog_AS+set}" = set; then :
5295
$as_echo_n "(cached) " >&6
5297
if test -n "$AS"; then
5298
ac_cv_prog_AS="$AS" # Let the user override the test.
5300
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5304
test -z "$as_dir" && as_dir=.
5305
for ac_exec_ext in '' $ac_executable_extensions; do
5306
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5307
ac_cv_prog_AS="${ac_tool_prefix}as"
5308
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318
if test -n "$AS"; then
5319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5320
$as_echo "$AS" >&6; }
5322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323
$as_echo "no" >&6; }
5328
if test -z "$ac_cv_prog_AS"; then
5330
# Extract the first word of "as", so it can be a program name with args.
5331
set dummy as; ac_word=$2
5332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5333
$as_echo_n "checking for $ac_word... " >&6; }
5334
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5335
$as_echo_n "(cached) " >&6
5337
if test -n "$ac_ct_AS"; then
5338
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5340
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344
test -z "$as_dir" && as_dir=.
5345
for ac_exec_ext in '' $ac_executable_extensions; do
5346
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5347
ac_cv_prog_ac_ct_AS="as"
5348
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5357
ac_ct_AS=$ac_cv_prog_ac_ct_AS
5358
if test -n "$ac_ct_AS"; then
5359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5360
$as_echo "$ac_ct_AS" >&6; }
5362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5363
$as_echo "no" >&6; }
5366
if test "x$ac_ct_AS" = x; then
5369
case $cross_compiling:$ac_tool_warned in
5371
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5372
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5373
ac_tool_warned=yes ;;
5381
if test -n "$ac_tool_prefix"; then
5382
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5383
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5385
$as_echo_n "checking for $ac_word... " >&6; }
5386
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5387
$as_echo_n "(cached) " >&6
5389
if test -n "$DLLTOOL"; then
5390
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5392
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396
test -z "$as_dir" && as_dir=.
5397
for ac_exec_ext in '' $ac_executable_extensions; do
5398
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5400
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409
DLLTOOL=$ac_cv_prog_DLLTOOL
5410
if test -n "$DLLTOOL"; then
5411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5412
$as_echo "$DLLTOOL" >&6; }
5414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5415
$as_echo "no" >&6; }
5420
if test -z "$ac_cv_prog_DLLTOOL"; then
5421
ac_ct_DLLTOOL=$DLLTOOL
5422
# Extract the first word of "dlltool", so it can be a program name with args.
5423
set dummy dlltool; ac_word=$2
5424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425
$as_echo_n "checking for $ac_word... " >&6; }
5426
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5427
$as_echo_n "(cached) " >&6
5429
if test -n "$ac_ct_DLLTOOL"; then
5430
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5432
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436
test -z "$as_dir" && as_dir=.
5437
for ac_exec_ext in '' $ac_executable_extensions; do
5438
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5439
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5440
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5450
if test -n "$ac_ct_DLLTOOL"; then
5451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5452
$as_echo "$ac_ct_DLLTOOL" >&6; }
5454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455
$as_echo "no" >&6; }
5458
if test "x$ac_ct_DLLTOOL" = x; then
5461
case $cross_compiling:$ac_tool_warned in
5463
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5464
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5465
ac_tool_warned=yes ;;
5467
DLLTOOL=$ac_ct_DLLTOOL
5470
DLLTOOL="$ac_cv_prog_DLLTOOL"
5473
if test -n "$ac_tool_prefix"; then
5474
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5475
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477
$as_echo_n "checking for $ac_word... " >&6; }
5478
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5479
$as_echo_n "(cached) " >&6
5481
if test -n "$OBJDUMP"; then
5482
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5484
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488
test -z "$as_dir" && as_dir=.
5489
for ac_exec_ext in '' $ac_executable_extensions; do
5490
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5491
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5492
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501
OBJDUMP=$ac_cv_prog_OBJDUMP
5502
if test -n "$OBJDUMP"; then
5503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5504
$as_echo "$OBJDUMP" >&6; }
5506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507
$as_echo "no" >&6; }
5512
if test -z "$ac_cv_prog_OBJDUMP"; then
5513
ac_ct_OBJDUMP=$OBJDUMP
5514
# Extract the first word of "objdump", so it can be a program name with args.
5515
set dummy objdump; ac_word=$2
5516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517
$as_echo_n "checking for $ac_word... " >&6; }
5518
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5519
$as_echo_n "(cached) " >&6
5521
if test -n "$ac_ct_OBJDUMP"; then
5522
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5524
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528
test -z "$as_dir" && as_dir=.
5529
for ac_exec_ext in '' $ac_executable_extensions; do
5530
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5532
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5542
if test -n "$ac_ct_OBJDUMP"; then
5543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5544
$as_echo "$ac_ct_OBJDUMP" >&6; }
5546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547
$as_echo "no" >&6; }
5550
if test "x$ac_ct_OBJDUMP" = x; then
5553
case $cross_compiling:$ac_tool_warned in
5555
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557
ac_tool_warned=yes ;;
5559
OBJDUMP=$ac_ct_OBJDUMP
5562
OBJDUMP="$ac_cv_prog_OBJDUMP"
5568
test -z "$AS" && AS=as
5574
test -z "$DLLTOOL" && DLLTOOL=dlltool
5580
test -z "$OBJDUMP" && OBJDUMP=objdump
5589
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5590
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5595
macro_version='2.2.6b'
5596
macro_revision='1.3017'
5610
ltmain="$ac_aux_dir/ltmain.sh"
5612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5613
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5614
if test "${ac_cv_path_SED+set}" = set; then :
5615
$as_echo_n "(cached) " >&6
5617
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5618
for ac_i in 1 2 3 4 5 6 7; do
5619
ac_script="$ac_script$as_nl$ac_script"
5621
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5622
{ ac_script=; unset ac_script;}
5623
if test -z "$SED"; then
5624
ac_path_SED_found=false
5625
# Loop through the user's path and test for each of PROGNAME-LIST
5626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630
test -z "$as_dir" && as_dir=.
5631
for ac_prog in sed gsed; do
5632
for ac_exec_ext in '' $ac_executable_extensions; do
5633
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5634
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5635
# Check for GNU ac_path_SED and select it if it is found.
5636
# Check for GNU $ac_path_SED
5637
case `"$ac_path_SED" --version 2>&1` in
5639
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5642
$as_echo_n 0123456789 >"conftest.in"
5645
cat "conftest.in" "conftest.in" >"conftest.tmp"
5646
mv "conftest.tmp" "conftest.in"
5647
cp "conftest.in" "conftest.nl"
5648
$as_echo '' >> "conftest.nl"
5649
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5650
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5651
as_fn_arith $ac_count + 1 && ac_count=$as_val
5652
if test $ac_count -gt ${ac_path_SED_max-0}; then
5653
# Best one so far, save it but keep looking for a better one
5654
ac_cv_path_SED="$ac_path_SED"
5655
ac_path_SED_max=$ac_count
5657
# 10*(2^10) chars as input seems more than enough
5658
test $ac_count -gt 10 && break
5660
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5663
$ac_path_SED_found && break 3
5668
if test -z "$ac_cv_path_SED"; then
5669
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5677
$as_echo "$ac_cv_path_SED" >&6; }
5678
SED="$ac_cv_path_SED"
5681
test -z "$SED" && SED=sed
5682
Xsed="$SED -e 1s/^X//"
5694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5695
$as_echo_n "checking for fgrep... " >&6; }
5696
if test "${ac_cv_path_FGREP+set}" = set; then :
5697
$as_echo_n "(cached) " >&6
5699
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5700
then ac_cv_path_FGREP="$GREP -F"
5702
if test -z "$FGREP"; then
5703
ac_path_FGREP_found=false
5704
# Loop through the user's path and test for each of PROGNAME-LIST
5705
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5709
test -z "$as_dir" && as_dir=.
5710
for ac_prog in fgrep; do
5711
for ac_exec_ext in '' $ac_executable_extensions; do
5712
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5713
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5714
# Check for GNU ac_path_FGREP and select it if it is found.
5715
# Check for GNU $ac_path_FGREP
5716
case `"$ac_path_FGREP" --version 2>&1` in
5718
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5721
$as_echo_n 0123456789 >"conftest.in"
5724
cat "conftest.in" "conftest.in" >"conftest.tmp"
5725
mv "conftest.tmp" "conftest.in"
5726
cp "conftest.in" "conftest.nl"
5727
$as_echo 'FGREP' >> "conftest.nl"
5728
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5729
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5730
as_fn_arith $ac_count + 1 && ac_count=$as_val
5731
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5732
# Best one so far, save it but keep looking for a better one
5733
ac_cv_path_FGREP="$ac_path_FGREP"
5734
ac_path_FGREP_max=$ac_count
5736
# 10*(2^10) chars as input seems more than enough
5737
test $ac_count -gt 10 && break
5739
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5742
$ac_path_FGREP_found && break 3
5747
if test -z "$ac_cv_path_FGREP"; then
5748
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5751
ac_cv_path_FGREP=$FGREP
5756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5757
$as_echo "$ac_cv_path_FGREP" >&6; }
5758
FGREP="$ac_cv_path_FGREP"
5761
test -z "$GREP" && GREP=grep
5781
# Check whether --with-gnu-ld was given.
5782
if test "${with_gnu_ld+set}" = set; then :
5783
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5789
if test "$GCC" = yes; then
5790
# Check if gcc -print-prog-name=ld gives a path.
5791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5792
$as_echo_n "checking for ld used by $CC... " >&6; }
5795
# gcc leaves a trailing carriage return which upsets mingw
5796
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5798
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5801
# Accept absolute paths.
5803
re_direlt='/[^/][^/]*/\.\./'
5804
# Canonicalize the pathname of ld
5805
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5806
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5807
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5809
test -z "$LD" && LD="$ac_prog"
5812
# If it fails, then pretend we aren't using GCC.
5816
# If it is relative, then search for the first ld in PATH.
5820
elif test "$with_gnu_ld" = yes; then
5821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5822
$as_echo_n "checking for GNU ld... " >&6; }
5824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5825
$as_echo_n "checking for non-GNU ld... " >&6; }
5827
if test "${lt_cv_path_LD+set}" = set; then :
5828
$as_echo_n "(cached) " >&6
5830
if test -z "$LD"; then
5831
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5832
for ac_dir in $PATH; do
5834
test -z "$ac_dir" && ac_dir=.
5835
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5836
lt_cv_path_LD="$ac_dir/$ac_prog"
5837
# Check to see if the program is GNU ld. I'd rather use --version,
5838
# but apparently some variants of GNU ld only accept -v.
5839
# Break only if it was the GNU/non-GNU ld that we prefer.
5840
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5841
*GNU* | *'with BFD'*)
5842
test "$with_gnu_ld" != no && break
5845
test "$with_gnu_ld" != yes && break
5852
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5857
if test -n "$LD"; then
5858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5859
$as_echo "$LD" >&6; }
5861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862
$as_echo "no" >&6; }
5864
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5866
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5867
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5868
$as_echo_n "(cached) " >&6
5870
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5871
case `$LD -v 2>&1 </dev/null` in
5872
*GNU* | *'with BFD'*)
5873
lt_cv_prog_gnu_ld=yes
5876
lt_cv_prog_gnu_ld=no
5880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5881
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5882
with_gnu_ld=$lt_cv_prog_gnu_ld
5892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5893
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5894
if test "${lt_cv_path_NM+set}" = set; then :
5895
$as_echo_n "(cached) " >&6
5897
if test -n "$NM"; then
5898
# Let the user override the test.
5901
lt_nm_to_check="${ac_tool_prefix}nm"
5902
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5903
lt_nm_to_check="$lt_nm_to_check nm"
5905
for lt_tmp_nm in $lt_nm_to_check; do
5906
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5907
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5909
test -z "$ac_dir" && ac_dir=.
5910
tmp_nm="$ac_dir/$lt_tmp_nm"
5911
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5912
# Check to see if the nm accepts a BSD-compat flag.
5913
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5914
# nm: unknown option "B" ignored
5915
# Tru64's nm complains that /dev/null is an invalid object file
5916
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5917
*/dev/null* | *'Invalid file or object type'*)
5918
lt_cv_path_NM="$tmp_nm -B"
5922
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5924
lt_cv_path_NM="$tmp_nm -p"
5928
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5929
continue # so that we can try to find one that supports BSD flags
5938
: ${lt_cv_path_NM=no}
5941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5942
$as_echo "$lt_cv_path_NM" >&6; }
5943
if test "$lt_cv_path_NM" != "no"; then
5946
# Didn't find any BSD compatible name lister, look for dumpbin.
5947
if test -n "$ac_tool_prefix"; then
5948
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5950
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5951
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953
$as_echo_n "checking for $ac_word... " >&6; }
5954
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5955
$as_echo_n "(cached) " >&6
5957
if test -n "$DUMPBIN"; then
5958
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5960
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964
test -z "$as_dir" && as_dir=.
5965
for ac_exec_ext in '' $ac_executable_extensions; do
5966
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5968
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977
DUMPBIN=$ac_cv_prog_DUMPBIN
5978
if test -n "$DUMPBIN"; then
5979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5980
$as_echo "$DUMPBIN" >&6; }
5982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983
$as_echo "no" >&6; }
5987
test -n "$DUMPBIN" && break
5990
if test -z "$DUMPBIN"; then
5991
ac_ct_DUMPBIN=$DUMPBIN
5992
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5994
# Extract the first word of "$ac_prog", so it can be a program name with args.
5995
set dummy $ac_prog; ac_word=$2
5996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997
$as_echo_n "checking for $ac_word... " >&6; }
5998
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5999
$as_echo_n "(cached) " >&6
6001
if test -n "$ac_ct_DUMPBIN"; then
6002
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6004
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008
test -z "$as_dir" && as_dir=.
6009
for ac_exec_ext in '' $ac_executable_extensions; do
6010
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6011
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6012
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6022
if test -n "$ac_ct_DUMPBIN"; then
6023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6024
$as_echo "$ac_ct_DUMPBIN" >&6; }
6026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027
$as_echo "no" >&6; }
6031
test -n "$ac_ct_DUMPBIN" && break
6034
if test "x$ac_ct_DUMPBIN" = x; then
6037
case $cross_compiling:$ac_tool_warned in
6039
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6040
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6041
ac_tool_warned=yes ;;
6043
DUMPBIN=$ac_ct_DUMPBIN
6048
if test "$DUMPBIN" != ":"; then
6052
test -z "$NM" && NM=nm
6059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6060
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6061
if test "${lt_cv_nm_interface+set}" = set; then :
6062
$as_echo_n "(cached) " >&6
6064
lt_cv_nm_interface="BSD nm"
6065
echo "int some_variable = 0;" > conftest.$ac_ext
6066
(eval echo "\"\$as_me:6066: $ac_compile\"" >&5)
6067
(eval "$ac_compile" 2>conftest.err)
6068
cat conftest.err >&5
6069
(eval echo "\"\$as_me:6069: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6070
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6071
cat conftest.err >&5
6072
(eval echo "\"\$as_me:6072: output\"" >&5)
6073
cat conftest.out >&5
6074
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6075
lt_cv_nm_interface="MS dumpbin"
6079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6080
$as_echo "$lt_cv_nm_interface" >&6; }
6082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6083
$as_echo_n "checking whether ln -s works... " >&6; }
6085
if test "$LN_S" = "ln -s"; then
6086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6087
$as_echo "yes" >&6; }
6089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6090
$as_echo "no, using $LN_S" >&6; }
6093
# find the maximum length of command line arguments
6094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6095
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6096
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6097
$as_echo_n "(cached) " >&6
6104
# On DJGPP, this test can blow up pretty badly due to problems in libc
6105
# (any single argument exceeding 2000 bytes causes a buffer overrun
6106
# during glob expansion). Even if it were fixed, the result of this
6107
# check would be larger than it should be.
6108
lt_cv_sys_max_cmd_len=12288; # 12K is about right
6112
# Under GNU Hurd, this test is not required because there is
6113
# no limit to the length of command line arguments.
6114
# Libtool will interpret -1 as no limit whatsoever
6115
lt_cv_sys_max_cmd_len=-1;
6118
cygwin* | mingw* | cegcc*)
6119
# On Win9x/ME, this test blows up -- it succeeds, but takes
6120
# about 5 minutes as the teststring grows exponentially.
6121
# Worse, since 9x/ME are not pre-emptively multitasking,
6122
# you end up with a "frozen" computer, even though with patience
6123
# the test eventually succeeds (with a max line length of 256k).
6124
# Instead, let's just punt: use the minimum linelength reported by
6125
# all of the supported platforms: 8192 (on NT/2K/XP).
6126
lt_cv_sys_max_cmd_len=8192;
6130
# On AmigaOS with pdksh, this test takes hours, literally.
6131
# So we just punt and use a minimum line length of 8192.
6132
lt_cv_sys_max_cmd_len=8192;
6135
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6136
# This has been around since 386BSD, at least. Likely further.
6137
if test -x /sbin/sysctl; then
6138
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6139
elif test -x /usr/sbin/sysctl; then
6140
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6142
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6144
# And add a safety zone
6145
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6146
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6150
# We know the value 262144 and hardcode it with a safety zone (like BSD)
6151
lt_cv_sys_max_cmd_len=196608
6155
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6156
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6157
# nice to cause kernel panics so lets avoid the loop below.
6158
# First set a reasonable default.
6159
lt_cv_sys_max_cmd_len=16384
6161
if test -x /sbin/sysconfig; then
6162
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6163
*1*) lt_cv_sys_max_cmd_len=-1 ;;
6168
lt_cv_sys_max_cmd_len=102400
6170
sysv5* | sco5v6* | sysv4.2uw2*)
6171
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6172
if test -n "$kargmax"; then
6173
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6175
lt_cv_sys_max_cmd_len=32768
6179
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6180
if test -n "$lt_cv_sys_max_cmd_len"; then
6181
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6182
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6184
# Make teststring a little bigger before we do anything with it.
6185
# a 1K string should be a reasonable start.
6186
for i in 1 2 3 4 5 6 7 8 ; do
6187
teststring=$teststring$teststring
6189
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6190
# If test is not a shell built-in, we'll probably end up computing a
6191
# maximum length that is only half of the actual maximum length, but
6193
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6194
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6195
test $i != 17 # 1/2 MB should be enough
6198
teststring=$teststring$teststring
6200
# Only check the string length outside the loop.
6201
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6203
# Add a significant safety factor because C++ compilers can tack on
6204
# massive amounts of additional arguments before passing them to the
6205
# linker. It appears as though 1/2 is a usable value.
6206
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6213
if test -n $lt_cv_sys_max_cmd_len ; then
6214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6215
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6218
$as_echo "none" >&6; }
6220
max_cmd_len=$lt_cv_sys_max_cmd_len
6231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6232
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6233
# Try some XSI features
6236
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6238
&& eval 'test $(( 1 + 1 )) -eq 2 \
6239
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6242
$as_echo "$xsi_shell" >&6; }
6245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6246
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6248
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6250
&& lt_shell_append=yes
6251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6252
$as_echo "$lt_shell_append" >&6; }
6255
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6265
# test EBCDIC or ASCII
6266
case `echo X|tr X '\101'` in
6267
A) # ASCII based system
6268
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6269
lt_SP2NL='tr \040 \012'
6270
lt_NL2SP='tr \015\012 \040\040'
6272
*) # EBCDIC based system
6273
lt_SP2NL='tr \100 \n'
6274
lt_NL2SP='tr \r\n \100\100'
6286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6287
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6288
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6289
$as_echo_n "(cached) " >&6
6291
lt_cv_ld_reload_flag='-r'
6293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6294
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6295
reload_flag=$lt_cv_ld_reload_flag
6296
case $reload_flag in
6298
*) reload_flag=" $reload_flag" ;;
6300
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6303
if test "$GCC" = yes; then
6304
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6306
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6319
if test -n "$ac_tool_prefix"; then
6320
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6321
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6322
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323
$as_echo_n "checking for $ac_word... " >&6; }
6324
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6325
$as_echo_n "(cached) " >&6
6327
if test -n "$OBJDUMP"; then
6328
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6330
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334
test -z "$as_dir" && as_dir=.
6335
for ac_exec_ext in '' $ac_executable_extensions; do
6336
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6337
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6338
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6347
OBJDUMP=$ac_cv_prog_OBJDUMP
6348
if test -n "$OBJDUMP"; then
6349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6350
$as_echo "$OBJDUMP" >&6; }
6352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353
$as_echo "no" >&6; }
6358
if test -z "$ac_cv_prog_OBJDUMP"; then
6359
ac_ct_OBJDUMP=$OBJDUMP
6360
# Extract the first word of "objdump", so it can be a program name with args.
6361
set dummy objdump; ac_word=$2
6362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363
$as_echo_n "checking for $ac_word... " >&6; }
6364
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6365
$as_echo_n "(cached) " >&6
6367
if test -n "$ac_ct_OBJDUMP"; then
6368
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6370
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374
test -z "$as_dir" && as_dir=.
6375
for ac_exec_ext in '' $ac_executable_extensions; do
6376
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6377
ac_cv_prog_ac_ct_OBJDUMP="objdump"
6378
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6387
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6388
if test -n "$ac_ct_OBJDUMP"; then
6389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6390
$as_echo "$ac_ct_OBJDUMP" >&6; }
6392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393
$as_echo "no" >&6; }
6396
if test "x$ac_ct_OBJDUMP" = x; then
6399
case $cross_compiling:$ac_tool_warned in
6401
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6402
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6403
ac_tool_warned=yes ;;
6405
OBJDUMP=$ac_ct_OBJDUMP
6408
OBJDUMP="$ac_cv_prog_OBJDUMP"
6411
test -z "$OBJDUMP" && OBJDUMP=objdump
6418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6419
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6420
if test "${lt_cv_deplibs_check_method+set}" = set; then :
6421
$as_echo_n "(cached) " >&6
6423
lt_cv_file_magic_cmd='$MAGIC_CMD'
6424
lt_cv_file_magic_test_file=
6425
lt_cv_deplibs_check_method='unknown'
6426
# Need to set the preceding variable on all platforms that support
6427
# interlibrary dependencies.
6428
# 'none' -- dependencies not supported.
6429
# `unknown' -- same as none, but documents that we really don't know.
6430
# 'pass_all' -- all dependencies passed with no checks.
6431
# 'test_compile' -- check by making test program.
6432
# 'file_magic [[regex]]' -- check by looking for files in library path
6433
# which responds to the $file_magic_cmd with a given extended regex.
6434
# If you have `file' or equivalent on your system and you're not sure
6435
# whether `pass_all' will *always* work, you probably want this one.
6439
lt_cv_deplibs_check_method=pass_all
6443
lt_cv_deplibs_check_method=pass_all
6447
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6448
lt_cv_file_magic_cmd='/usr/bin/file -L'
6449
lt_cv_file_magic_test_file=/shlib/libc.so
6453
# func_win32_libid is a shell function defined in ltmain.sh
6454
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6455
lt_cv_file_magic_cmd='func_win32_libid'
6459
# Base MSYS/MinGW do not provide the 'file' command needed by
6460
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6461
# unless we find 'file', for example because we are cross-compiling.
6462
if ( file / ) >/dev/null 2>&1; then
6463
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6464
lt_cv_file_magic_cmd='func_win32_libid'
6466
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6467
lt_cv_file_magic_cmd='$OBJDUMP -f'
6472
# use the weaker test based on 'objdump'. See mingw*.
6473
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6474
lt_cv_file_magic_cmd='$OBJDUMP -f'
6477
darwin* | rhapsody*)
6478
lt_cv_deplibs_check_method=pass_all
6481
freebsd* | dragonfly*)
6482
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6485
# Not sure whether the presence of OpenBSD here was a mistake.
6486
# Let's accept both of them until this is cleared up.
6487
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6488
lt_cv_file_magic_cmd=/usr/bin/file
6489
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6493
lt_cv_deplibs_check_method=pass_all
6498
lt_cv_deplibs_check_method=pass_all
6501
hpux10.20* | hpux11*)
6502
lt_cv_file_magic_cmd=/usr/bin/file
6505
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6506
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6509
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]'
6510
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6513
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6514
lt_cv_file_magic_test_file=/usr/lib/libc.sl
6520
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6521
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6524
irix5* | irix6* | nonstopux*)
6526
*-32|*"-32 ") libmagic=32-bit;;
6527
*-n32|*"-n32 ") libmagic=N32;;
6528
*-64|*"-64 ") libmagic=64-bit;;
6529
*) libmagic=never-match;;
6531
lt_cv_deplibs_check_method=pass_all
6534
# This must be Linux ELF.
6535
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6536
lt_cv_deplibs_check_method=pass_all
6539
netbsd* | netbsdelf*-gnu)
6540
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6541
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6543
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6548
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6549
lt_cv_file_magic_cmd=/usr/bin/file
6550
lt_cv_file_magic_test_file=/usr/lib/libnls.so
6554
lt_cv_deplibs_check_method=pass_all
6558
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6559
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6561
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6565
osf3* | osf4* | osf5*)
6566
lt_cv_deplibs_check_method=pass_all
6570
lt_cv_deplibs_check_method=pass_all
6574
lt_cv_deplibs_check_method=pass_all
6577
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6578
lt_cv_deplibs_check_method=pass_all
6582
case $host_vendor in
6584
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]'
6585
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6588
lt_cv_deplibs_check_method=pass_all
6591
lt_cv_file_magic_cmd='/bin/file'
6592
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6595
lt_cv_file_magic_cmd='/bin/file'
6596
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6597
lt_cv_file_magic_test_file=/lib/libc.so
6600
lt_cv_deplibs_check_method=pass_all
6603
lt_cv_deplibs_check_method=pass_all
6609
lt_cv_deplibs_check_method=pass_all
6614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6615
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6616
file_magic_cmd=$lt_cv_file_magic_cmd
6617
deplibs_check_method=$lt_cv_deplibs_check_method
6618
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6631
if test -n "$ac_tool_prefix"; then
6632
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6633
set dummy ${ac_tool_prefix}ar; ac_word=$2
6634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635
$as_echo_n "checking for $ac_word... " >&6; }
6636
if test "${ac_cv_prog_AR+set}" = set; then :
6637
$as_echo_n "(cached) " >&6
6639
if test -n "$AR"; then
6640
ac_cv_prog_AR="$AR" # Let the user override the test.
6642
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646
test -z "$as_dir" && as_dir=.
6647
for ac_exec_ext in '' $ac_executable_extensions; do
6648
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6649
ac_cv_prog_AR="${ac_tool_prefix}ar"
6650
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660
if test -n "$AR"; then
6661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6662
$as_echo "$AR" >&6; }
6664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665
$as_echo "no" >&6; }
6670
if test -z "$ac_cv_prog_AR"; then
6672
# Extract the first word of "ar", so it can be a program name with args.
6673
set dummy ar; ac_word=$2
6674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675
$as_echo_n "checking for $ac_word... " >&6; }
6676
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6677
$as_echo_n "(cached) " >&6
6679
if test -n "$ac_ct_AR"; then
6680
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6682
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686
test -z "$as_dir" && as_dir=.
6687
for ac_exec_ext in '' $ac_executable_extensions; do
6688
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6689
ac_cv_prog_ac_ct_AR="ar"
6690
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6699
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6700
if test -n "$ac_ct_AR"; then
6701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6702
$as_echo "$ac_ct_AR" >&6; }
6704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6705
$as_echo "no" >&6; }
6708
if test "x$ac_ct_AR" = x; then
6711
case $cross_compiling:$ac_tool_warned in
6713
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6714
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6715
ac_tool_warned=yes ;;
6723
test -z "$AR" && AR=ar
6724
test -z "$AR_FLAGS" && AR_FLAGS=cru
6736
if test -n "$ac_tool_prefix"; then
6737
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6738
set dummy ${ac_tool_prefix}strip; ac_word=$2
6739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6740
$as_echo_n "checking for $ac_word... " >&6; }
6741
if test "${ac_cv_prog_STRIP+set}" = set; then :
6742
$as_echo_n "(cached) " >&6
6744
if test -n "$STRIP"; then
6745
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751
test -z "$as_dir" && as_dir=.
6752
for ac_exec_ext in '' $ac_executable_extensions; do
6753
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6754
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6764
STRIP=$ac_cv_prog_STRIP
6765
if test -n "$STRIP"; then
6766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6767
$as_echo "$STRIP" >&6; }
6769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770
$as_echo "no" >&6; }
6775
if test -z "$ac_cv_prog_STRIP"; then
6777
# Extract the first word of "strip", so it can be a program name with args.
6778
set dummy strip; ac_word=$2
6779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6780
$as_echo_n "checking for $ac_word... " >&6; }
6781
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6782
$as_echo_n "(cached) " >&6
6784
if test -n "$ac_ct_STRIP"; then
6785
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6787
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791
test -z "$as_dir" && as_dir=.
6792
for ac_exec_ext in '' $ac_executable_extensions; do
6793
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6794
ac_cv_prog_ac_ct_STRIP="strip"
6795
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6804
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6805
if test -n "$ac_ct_STRIP"; then
6806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6807
$as_echo "$ac_ct_STRIP" >&6; }
6809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6810
$as_echo "no" >&6; }
6813
if test "x$ac_ct_STRIP" = x; then
6816
case $cross_compiling:$ac_tool_warned in
6818
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6819
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6820
ac_tool_warned=yes ;;
6825
STRIP="$ac_cv_prog_STRIP"
6828
test -z "$STRIP" && STRIP=:
6835
if test -n "$ac_tool_prefix"; then
6836
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6837
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6839
$as_echo_n "checking for $ac_word... " >&6; }
6840
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6841
$as_echo_n "(cached) " >&6
6843
if test -n "$RANLIB"; then
6844
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6846
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850
test -z "$as_dir" && as_dir=.
6851
for ac_exec_ext in '' $ac_executable_extensions; do
6852
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6853
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6854
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6863
RANLIB=$ac_cv_prog_RANLIB
6864
if test -n "$RANLIB"; then
6865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6866
$as_echo "$RANLIB" >&6; }
6868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869
$as_echo "no" >&6; }
6874
if test -z "$ac_cv_prog_RANLIB"; then
6875
ac_ct_RANLIB=$RANLIB
6876
# Extract the first word of "ranlib", so it can be a program name with args.
6877
set dummy ranlib; ac_word=$2
6878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6879
$as_echo_n "checking for $ac_word... " >&6; }
6880
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6881
$as_echo_n "(cached) " >&6
6883
if test -n "$ac_ct_RANLIB"; then
6884
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6886
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6890
test -z "$as_dir" && as_dir=.
6891
for ac_exec_ext in '' $ac_executable_extensions; do
6892
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6893
ac_cv_prog_ac_ct_RANLIB="ranlib"
6894
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6903
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6904
if test -n "$ac_ct_RANLIB"; then
6905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6906
$as_echo "$ac_ct_RANLIB" >&6; }
6908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6909
$as_echo "no" >&6; }
6912
if test "x$ac_ct_RANLIB" = x; then
6915
case $cross_compiling:$ac_tool_warned in
6917
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6918
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6919
ac_tool_warned=yes ;;
6921
RANLIB=$ac_ct_RANLIB
6924
RANLIB="$ac_cv_prog_RANLIB"
6927
test -z "$RANLIB" && RANLIB=:
6934
# Determine commands to create old-style static archives.
6935
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6936
old_postinstall_cmds='chmod 644 $oldlib'
6937
old_postuninstall_cmds=
6939
if test -n "$RANLIB"; then
6942
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6945
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6948
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6984
# If no C compiler was specified, use CC.
6987
# If no C compiler flags were specified, use CFLAGS.
6988
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6990
# Allow CC to be a program name with arguments.
6994
# Check for command to grab the raw symbol name followed by C symbol from nm.
6995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6996
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6997
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6998
$as_echo_n "(cached) " >&6
7001
# These are sane defaults that work on at least a few old systems.
7002
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7004
# Character class describing NM global symbol codes.
7005
symcode='[BCDEGRST]'
7007
# Regexp to match symbols that can be accessed directly from C.
7008
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7010
# Define system-specific variables.
7015
cygwin* | mingw* | pw32* | cegcc*)
7016
symcode='[ABCDGISTW]'
7019
if test "$host_cpu" = ia64; then
7020
symcode='[ABCDEGRST]'
7024
symcode='[BCDEGRST]'
7027
symcode='[BCDEGQRST]'
7038
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7046
# If we're using GNU nm, then use its standard symbol codes.
7047
case `$NM -V 2>&1` in
7048
*GNU* | *'with BFD'*)
7049
symcode='[ABCDGIRSTW]' ;;
7052
# Transform an extracted symbol line into a proper C declaration.
7053
# Some systems (esp. on ia64) link data and code symbols differently,
7054
# so use this general approach.
7055
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7057
# Transform an extracted symbol line into symbol name and symbol address
7058
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7059
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'"
7061
# Handle CRLF in mingw tool chain
7065
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7069
# Try without a prefix underscore, then with it.
7070
for ac_symprfx in "" "_"; do
7072
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7073
symxfrm="\\1 $ac_symprfx\\2 \\2"
7075
# Write the raw and C identifiers.
7076
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7077
# Fake it for dumpbin and say T for any non-static function
7078
# and D for any global variable.
7079
# Also find C++ and __fastcall symbols from MSVC++,
7080
# which start with @ or ?.
7081
lt_cv_sys_global_symbol_pipe="$AWK '"\
7082
" {last_section=section; section=\$ 3};"\
7083
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7084
" \$ 0!~/External *\|/{next};"\
7085
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7086
" {if(hide[section]) next};"\
7087
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7088
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7089
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7090
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7091
" ' prfx=^$ac_symprfx"
7093
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7096
# Check to see that the pipe works correctly.
7100
cat > conftest.$ac_ext <<_LT_EOF
7105
void nm_test_func(void);
7106
void nm_test_func(void){}
7110
int main(){nm_test_var='a';nm_test_func();return(0);}
7113
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7114
(eval $ac_compile) 2>&5
7116
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7117
test $ac_status = 0; }; then
7118
# Now try to grab the symbols.
7120
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7121
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7123
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7124
test $ac_status = 0; } && test -s "$nlist"; then
7125
# Try sorting and uniquifying the output.
7126
if sort "$nlist" | uniq > "$nlist"T; then
7127
mv -f "$nlist"T "$nlist"
7132
# Make sure that we snagged all the symbols we need.
7133
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7134
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7135
cat <<_LT_EOF > conftest.$ac_ext
7141
# Now generate the symbol file.
7142
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7144
cat <<_LT_EOF >> conftest.$ac_ext
7146
/* The mapping between symbol names and symbols. */
7151
lt__PROGRAM__LTX_preloaded_symbols[] =
7153
{ "@PROGRAM@", (void *) 0 },
7155
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7156
cat <<\_LT_EOF >> conftest.$ac_ext
7160
/* This works around a problem in FreeBSD linker */
7161
#ifdef FREEBSD_WORKAROUND
7162
static const void *lt_preloaded_setup() {
7163
return lt__PROGRAM__LTX_preloaded_symbols;
7171
# Now try linking the two files.
7172
mv conftest.$ac_objext conftstm.$ac_objext
7173
lt_save_LIBS="$LIBS"
7174
lt_save_CFLAGS="$CFLAGS"
7175
LIBS="conftstm.$ac_objext"
7176
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7177
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7178
(eval $ac_link) 2>&5
7180
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7181
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7184
LIBS="$lt_save_LIBS"
7185
CFLAGS="$lt_save_CFLAGS"
7187
echo "cannot find nm_test_func in $nlist" >&5
7190
echo "cannot find nm_test_var in $nlist" >&5
7193
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7196
echo "$progname: failed program was:" >&5
7197
cat conftest.$ac_ext >&5
7199
rm -rf conftest* conftst*
7201
# Do not use the global_symbol_pipe unless it works.
7202
if test "$pipe_works" = yes; then
7205
lt_cv_sys_global_symbol_pipe=
7211
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7212
lt_cv_sys_global_symbol_to_cdecl=
7214
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7216
$as_echo "failed" >&6; }
7218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7219
$as_echo "ok" >&6; }
7243
# Check whether --enable-libtool-lock was given.
7244
if test "${enable_libtool_lock+set}" = set; then :
7245
enableval=$enable_libtool_lock;
7248
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7250
# Some flags need to be propagated to the compiler or linker for good
7254
# Find out which ABI we are using.
7255
echo 'int i;' > conftest.$ac_ext
7256
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7257
(eval $ac_compile) 2>&5
7259
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7260
test $ac_status = 0; }; then
7261
case `/usr/bin/file conftest.$ac_objext` in
7273
# Find out which ABI we are using.
7274
echo '#line 7274 "configure"' > conftest.$ac_ext
7275
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7276
(eval $ac_compile) 2>&5
7278
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7279
test $ac_status = 0; }; then
7280
if test "$lt_cv_prog_gnu_ld" = yes; then
7281
case `/usr/bin/file conftest.$ac_objext` in
7283
LD="${LD-ld} -melf32bsmip"
7286
LD="${LD-ld} -melf32bmipn32"
7289
LD="${LD-ld} -melf64bmip"
7293
case `/usr/bin/file conftest.$ac_objext` in
7309
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7310
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7311
# Find out which ABI we are using.
7312
echo 'int i;' > conftest.$ac_ext
7313
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7314
(eval $ac_compile) 2>&5
7316
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7317
test $ac_status = 0; }; then
7318
case `/usr/bin/file conftest.o` in
7321
x86_64-*kfreebsd*-gnu)
7322
LD="${LD-ld} -m elf_i386_fbsd"
7325
LD="${LD-ld} -m elf_i386"
7327
ppc64-*linux*|powerpc64-*linux*)
7328
LD="${LD-ld} -m elf32ppclinux"
7331
LD="${LD-ld} -m elf_s390"
7334
LD="${LD-ld} -m elf32_sparc"
7340
x86_64-*kfreebsd*-gnu)
7341
LD="${LD-ld} -m elf_x86_64_fbsd"
7344
LD="${LD-ld} -m elf_x86_64"
7346
ppc*-*linux*|powerpc*-*linux*)
7347
LD="${LD-ld} -m elf64ppc"
7349
s390*-*linux*|s390*-*tpf*)
7350
LD="${LD-ld} -m elf64_s390"
7353
LD="${LD-ld} -m elf64_sparc"
7363
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7364
SAVE_CFLAGS="$CFLAGS"
7365
CFLAGS="$CFLAGS -belf"
7366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7367
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7368
if test "${lt_cv_cc_needs_belf+set}" = set; then :
7369
$as_echo_n "(cached) " >&6
7372
ac_cpp='$CPP $CPPFLAGS'
7373
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7374
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7375
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7377
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7378
/* end confdefs.h. */
7388
if ac_fn_c_try_link "$LINENO"; then :
7389
lt_cv_cc_needs_belf=yes
7391
lt_cv_cc_needs_belf=no
7393
rm -f core conftest.err conftest.$ac_objext \
7394
conftest$ac_exeext conftest.$ac_ext
7396
ac_cpp='$CPP $CPPFLAGS'
7397
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7398
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7399
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7403
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7404
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7405
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7406
CFLAGS="$SAVE_CFLAGS"
7410
# Find out which ABI we are using.
7411
echo 'int i;' > conftest.$ac_ext
7412
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7413
(eval $ac_compile) 2>&5
7415
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7416
test $ac_status = 0; }; then
7417
case `/usr/bin/file conftest.o` in
7419
case $lt_cv_prog_gnu_ld in
7420
yes*) LD="${LD-ld} -m elf64_sparc" ;;
7422
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7434
need_locks="$enable_libtool_lock"
7438
rhapsody* | darwin*)
7439
if test -n "$ac_tool_prefix"; then
7440
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7441
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443
$as_echo_n "checking for $ac_word... " >&6; }
7444
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7445
$as_echo_n "(cached) " >&6
7447
if test -n "$DSYMUTIL"; then
7448
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7450
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7454
test -z "$as_dir" && as_dir=.
7455
for ac_exec_ext in '' $ac_executable_extensions; do
7456
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7457
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7458
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7467
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7468
if test -n "$DSYMUTIL"; then
7469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7470
$as_echo "$DSYMUTIL" >&6; }
7472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473
$as_echo "no" >&6; }
7478
if test -z "$ac_cv_prog_DSYMUTIL"; then
7479
ac_ct_DSYMUTIL=$DSYMUTIL
7480
# Extract the first word of "dsymutil", so it can be a program name with args.
7481
set dummy dsymutil; ac_word=$2
7482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483
$as_echo_n "checking for $ac_word... " >&6; }
7484
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7485
$as_echo_n "(cached) " >&6
7487
if test -n "$ac_ct_DSYMUTIL"; then
7488
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7490
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7494
test -z "$as_dir" && as_dir=.
7495
for ac_exec_ext in '' $ac_executable_extensions; do
7496
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7497
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7498
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7507
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7508
if test -n "$ac_ct_DSYMUTIL"; then
7509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7510
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513
$as_echo "no" >&6; }
7516
if test "x$ac_ct_DSYMUTIL" = x; then
7519
case $cross_compiling:$ac_tool_warned in
7521
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7522
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7523
ac_tool_warned=yes ;;
7525
DSYMUTIL=$ac_ct_DSYMUTIL
7528
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7531
if test -n "$ac_tool_prefix"; then
7532
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7533
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535
$as_echo_n "checking for $ac_word... " >&6; }
7536
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7537
$as_echo_n "(cached) " >&6
7539
if test -n "$NMEDIT"; then
7540
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7542
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7546
test -z "$as_dir" && as_dir=.
7547
for ac_exec_ext in '' $ac_executable_extensions; do
7548
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7549
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7550
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7559
NMEDIT=$ac_cv_prog_NMEDIT
7560
if test -n "$NMEDIT"; then
7561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7562
$as_echo "$NMEDIT" >&6; }
7564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565
$as_echo "no" >&6; }
7570
if test -z "$ac_cv_prog_NMEDIT"; then
7571
ac_ct_NMEDIT=$NMEDIT
7572
# Extract the first word of "nmedit", so it can be a program name with args.
7573
set dummy nmedit; ac_word=$2
7574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575
$as_echo_n "checking for $ac_word... " >&6; }
7576
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7577
$as_echo_n "(cached) " >&6
7579
if test -n "$ac_ct_NMEDIT"; then
7580
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7582
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7586
test -z "$as_dir" && as_dir=.
7587
for ac_exec_ext in '' $ac_executable_extensions; do
7588
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7589
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7590
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7599
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7600
if test -n "$ac_ct_NMEDIT"; then
7601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7602
$as_echo "$ac_ct_NMEDIT" >&6; }
7604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605
$as_echo "no" >&6; }
7608
if test "x$ac_ct_NMEDIT" = x; then
7611
case $cross_compiling:$ac_tool_warned in
7613
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7614
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7615
ac_tool_warned=yes ;;
7617
NMEDIT=$ac_ct_NMEDIT
7620
NMEDIT="$ac_cv_prog_NMEDIT"
7623
if test -n "$ac_tool_prefix"; then
7624
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7625
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7627
$as_echo_n "checking for $ac_word... " >&6; }
7628
if test "${ac_cv_prog_LIPO+set}" = set; then :
7629
$as_echo_n "(cached) " >&6
7631
if test -n "$LIPO"; then
7632
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7634
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7638
test -z "$as_dir" && as_dir=.
7639
for ac_exec_ext in '' $ac_executable_extensions; do
7640
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7641
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7642
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7651
LIPO=$ac_cv_prog_LIPO
7652
if test -n "$LIPO"; then
7653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7654
$as_echo "$LIPO" >&6; }
7656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657
$as_echo "no" >&6; }
7662
if test -z "$ac_cv_prog_LIPO"; then
7664
# Extract the first word of "lipo", so it can be a program name with args.
7665
set dummy lipo; ac_word=$2
7666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7667
$as_echo_n "checking for $ac_word... " >&6; }
7668
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7669
$as_echo_n "(cached) " >&6
7671
if test -n "$ac_ct_LIPO"; then
7672
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7674
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7678
test -z "$as_dir" && as_dir=.
7679
for ac_exec_ext in '' $ac_executable_extensions; do
7680
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7681
ac_cv_prog_ac_ct_LIPO="lipo"
7682
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7691
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7692
if test -n "$ac_ct_LIPO"; then
7693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7694
$as_echo "$ac_ct_LIPO" >&6; }
7696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7697
$as_echo "no" >&6; }
7700
if test "x$ac_ct_LIPO" = x; then
7703
case $cross_compiling:$ac_tool_warned in
7705
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7706
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7707
ac_tool_warned=yes ;;
7712
LIPO="$ac_cv_prog_LIPO"
7715
if test -n "$ac_tool_prefix"; then
7716
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7717
set dummy ${ac_tool_prefix}otool; ac_word=$2
7718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7719
$as_echo_n "checking for $ac_word... " >&6; }
7720
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7721
$as_echo_n "(cached) " >&6
7723
if test -n "$OTOOL"; then
7724
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7726
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730
test -z "$as_dir" && as_dir=.
7731
for ac_exec_ext in '' $ac_executable_extensions; do
7732
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7733
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7734
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7743
OTOOL=$ac_cv_prog_OTOOL
7744
if test -n "$OTOOL"; then
7745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7746
$as_echo "$OTOOL" >&6; }
7748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7749
$as_echo "no" >&6; }
7754
if test -z "$ac_cv_prog_OTOOL"; then
7756
# Extract the first word of "otool", so it can be a program name with args.
7757
set dummy otool; ac_word=$2
7758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7759
$as_echo_n "checking for $ac_word... " >&6; }
7760
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7761
$as_echo_n "(cached) " >&6
7763
if test -n "$ac_ct_OTOOL"; then
7764
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7766
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7770
test -z "$as_dir" && as_dir=.
7771
for ac_exec_ext in '' $ac_executable_extensions; do
7772
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7773
ac_cv_prog_ac_ct_OTOOL="otool"
7774
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7783
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7784
if test -n "$ac_ct_OTOOL"; then
7785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7786
$as_echo "$ac_ct_OTOOL" >&6; }
7788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7789
$as_echo "no" >&6; }
7792
if test "x$ac_ct_OTOOL" = x; then
7795
case $cross_compiling:$ac_tool_warned in
7797
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7798
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7799
ac_tool_warned=yes ;;
7804
OTOOL="$ac_cv_prog_OTOOL"
7807
if test -n "$ac_tool_prefix"; then
7808
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7809
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811
$as_echo_n "checking for $ac_word... " >&6; }
7812
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7813
$as_echo_n "(cached) " >&6
7815
if test -n "$OTOOL64"; then
7816
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7818
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822
test -z "$as_dir" && as_dir=.
7823
for ac_exec_ext in '' $ac_executable_extensions; do
7824
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7825
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7826
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7835
OTOOL64=$ac_cv_prog_OTOOL64
7836
if test -n "$OTOOL64"; then
7837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7838
$as_echo "$OTOOL64" >&6; }
7840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841
$as_echo "no" >&6; }
7846
if test -z "$ac_cv_prog_OTOOL64"; then
7847
ac_ct_OTOOL64=$OTOOL64
7848
# Extract the first word of "otool64", so it can be a program name with args.
7849
set dummy otool64; ac_word=$2
7850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7851
$as_echo_n "checking for $ac_word... " >&6; }
7852
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7853
$as_echo_n "(cached) " >&6
7855
if test -n "$ac_ct_OTOOL64"; then
7856
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7858
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862
test -z "$as_dir" && as_dir=.
7863
for ac_exec_ext in '' $ac_executable_extensions; do
7864
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7865
ac_cv_prog_ac_ct_OTOOL64="otool64"
7866
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7875
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7876
if test -n "$ac_ct_OTOOL64"; then
7877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7878
$as_echo "$ac_ct_OTOOL64" >&6; }
7880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7881
$as_echo "no" >&6; }
7884
if test "x$ac_ct_OTOOL64" = x; then
7887
case $cross_compiling:$ac_tool_warned in
7889
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7890
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7891
ac_tool_warned=yes ;;
7893
OTOOL64=$ac_ct_OTOOL64
7896
OTOOL64="$ac_cv_prog_OTOOL64"
7925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7926
$as_echo_n "checking for -single_module linker flag... " >&6; }
7927
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7928
$as_echo_n "(cached) " >&6
7930
lt_cv_apple_cc_single_mod=no
7931
if test -z "${LT_MULTI_MODULE}"; then
7932
# By default we will add the -single_module flag. You can override
7933
# by either setting the environment variable LT_MULTI_MODULE
7934
# non-empty at configure time, or by adding -multi_module to the
7936
rm -rf libconftest.dylib*
7937
echo "int foo(void){return 1;}" > conftest.c
7938
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7939
-dynamiclib -Wl,-single_module conftest.c" >&5
7940
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7941
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7943
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7944
lt_cv_apple_cc_single_mod=yes
7946
cat conftest.err >&5
7948
rm -rf libconftest.dylib*
7952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7953
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7955
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7956
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7957
$as_echo_n "(cached) " >&6
7959
lt_cv_ld_exported_symbols_list=no
7960
save_LDFLAGS=$LDFLAGS
7961
echo "_main" > conftest.sym
7962
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7963
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7964
/* end confdefs.h. */
7974
if ac_fn_c_try_link "$LINENO"; then :
7975
lt_cv_ld_exported_symbols_list=yes
7977
lt_cv_ld_exported_symbols_list=no
7979
rm -f core conftest.err conftest.$ac_objext \
7980
conftest$ac_exeext conftest.$ac_ext
7981
LDFLAGS="$save_LDFLAGS"
7984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7985
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7987
rhapsody* | darwin1.[012])
7988
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7990
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7991
darwin*) # darwin 5.x on
7992
# if running on 10.5 or later, the deployment target defaults
7993
# to the OS version, if on x86, and 10.4, the deployment
7994
# target defaults to 10.4. Don't you love it?
7995
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7996
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7997
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7999
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8001
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8005
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8006
_lt_dar_single_mod='$single_module'
8008
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8009
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8011
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8013
if test "$DSYMUTIL" != ":"; then
8014
_lt_dsymutil='~$DSYMUTIL $lib || :'
8021
for ac_header in dlfcn.h
8023
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8025
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8026
cat >>confdefs.h <<_ACEOF
8027
#define HAVE_DLFCN_H 1
8044
# Check whether --enable-shared was given.
8045
if test "${enable_shared+set}" = set; then :
8046
enableval=$enable_shared; p=${PACKAGE-default}
8048
yes) enable_shared=yes ;;
8049
no) enable_shared=no ;;
8052
# Look at the argument we got. We use all the common list separators.
8053
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8054
for pkg in $enableval; do
8056
if test "X$pkg" = "X$p"; then
8075
# Check whether --enable-static was given.
8076
if test "${enable_static+set}" = set; then :
8077
enableval=$enable_static; p=${PACKAGE-default}
8079
yes) enable_static=yes ;;
8080
no) enable_static=no ;;
8083
# Look at the argument we got. We use all the common list separators.
8084
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8085
for pkg in $enableval; do
8087
if test "X$pkg" = "X$p"; then
8107
# Check whether --with-pic was given.
8108
if test "${with_pic+set}" = set; then :
8109
withval=$with_pic; pic_mode="$withval"
8115
test -z "$pic_mode" && pic_mode=default
8123
# Check whether --enable-fast-install was given.
8124
if test "${enable_fast_install+set}" = set; then :
8125
enableval=$enable_fast_install; p=${PACKAGE-default}
8127
yes) enable_fast_install=yes ;;
8128
no) enable_fast_install=no ;;
8130
enable_fast_install=no
8131
# Look at the argument we got. We use all the common list separators.
8132
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8133
for pkg in $enableval; do
8135
if test "X$pkg" = "X$p"; then
8136
enable_fast_install=yes
8143
enable_fast_install=yes
8156
# This can be used to rebuild libtool when needed
8157
LIBTOOL_DEPS="$ltmain"
8159
# Always use our own libtool.
8160
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8186
test -z "$LN_S" && LN_S="ln -s"
8201
if test -n "${ZSH_VERSION+set}" ; then
8202
setopt NO_GLOB_SUBST
8205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8206
$as_echo_n "checking for objdir... " >&6; }
8207
if test "${lt_cv_objdir+set}" = set; then :
8208
$as_echo_n "(cached) " >&6
8210
rm -f .libs 2>/dev/null
8211
mkdir .libs 2>/dev/null
8212
if test -d .libs; then
8215
# MS-DOS does not allow filenames that begin with a dot.
8218
rmdir .libs 2>/dev/null
8220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8221
$as_echo "$lt_cv_objdir" >&6; }
8222
objdir=$lt_cv_objdir
8228
cat >>confdefs.h <<_ACEOF
8229
#define LT_OBJDIR "$lt_cv_objdir/"
8250
# AIX sometimes has problems with the GCC collect2 program. For some
8251
# reason, if we set the COLLECT_NAMES environment variable, the problems
8252
# vanish in a puff of smoke.
8253
if test "X${COLLECT_NAMES+set}" != Xset; then
8255
export COLLECT_NAMES
8260
# Sed substitution that helps us do robust quoting. It backslashifies
8261
# metacharacters that are still active within double-quoted strings.
8262
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8264
# Same as above, but do not quote variable references.
8265
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8267
# Sed substitution to delay expansion of an escaped shell variable in a
8268
# double_quote_subst'ed string.
8269
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8271
# Sed substitution to delay expansion of an escaped single quote.
8272
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8274
# Sed substitution to avoid accidental globbing in evaled expressions
8275
no_glob_subst='s/\*/\\\*/g'
8279
can_build_shared=yes
8281
# All known linkers require a `.a' archive for static linking (except MSVC,
8282
# which needs '.lib').
8285
with_gnu_ld="$lt_cv_prog_gnu_ld"
8288
old_CFLAGS="$CFLAGS"
8290
# Set sane defaults for various variables
8291
test -z "$CC" && CC=cc
8292
test -z "$LTCC" && LTCC=$CC
8293
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8294
test -z "$LD" && LD=ld
8295
test -z "$ac_objext" && ac_objext=o
8297
for cc_temp in $compiler""; do
8299
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8300
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8305
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8308
# Only perform the check for file, if the check method requires it
8309
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8310
case $deplibs_check_method in
8312
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8314
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8315
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8316
$as_echo_n "(cached) " >&6
8320
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8323
lt_save_MAGIC_CMD="$MAGIC_CMD"
8324
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8325
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8326
for ac_dir in $ac_dummy; do
8328
test -z "$ac_dir" && ac_dir=.
8329
if test -f $ac_dir/${ac_tool_prefix}file; then
8330
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8331
if test -n "$file_magic_test_file"; then
8332
case $deplibs_check_method in
8334
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8335
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8336
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8337
$EGREP "$file_magic_regex" > /dev/null; then
8342
*** Warning: the command libtool uses to detect shared libraries,
8343
*** $file_magic_cmd, produces output that libtool cannot recognize.
8344
*** The result is that libtool may fail to recognize shared libraries
8345
*** as such. This will affect the creation of libtool libraries that
8346
*** depend on shared libraries, but programs linked with such libtool
8347
*** libraries will work regardless of this problem. Nevertheless, you
8348
*** may want to report the problem to your system manager and/or to
8349
*** bug-libtool@gnu.org
8359
MAGIC_CMD="$lt_save_MAGIC_CMD"
8364
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8365
if test -n "$MAGIC_CMD"; then
8366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8367
$as_echo "$MAGIC_CMD" >&6; }
8369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8370
$as_echo "no" >&6; }
8377
if test -z "$lt_cv_path_MAGIC_CMD"; then
8378
if test -n "$ac_tool_prefix"; then
8379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8380
$as_echo_n "checking for file... " >&6; }
8381
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8382
$as_echo_n "(cached) " >&6
8386
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8389
lt_save_MAGIC_CMD="$MAGIC_CMD"
8390
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8391
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8392
for ac_dir in $ac_dummy; do
8394
test -z "$ac_dir" && ac_dir=.
8395
if test -f $ac_dir/file; then
8396
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8397
if test -n "$file_magic_test_file"; then
8398
case $deplibs_check_method in
8400
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8401
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8402
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8403
$EGREP "$file_magic_regex" > /dev/null; then
8408
*** Warning: the command libtool uses to detect shared libraries,
8409
*** $file_magic_cmd, produces output that libtool cannot recognize.
8410
*** The result is that libtool may fail to recognize shared libraries
8411
*** as such. This will affect the creation of libtool libraries that
8412
*** depend on shared libraries, but programs linked with such libtool
8413
*** libraries will work regardless of this problem. Nevertheless, you
8414
*** may want to report the problem to your system manager and/or to
8415
*** bug-libtool@gnu.org
8425
MAGIC_CMD="$lt_save_MAGIC_CMD"
8430
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8431
if test -n "$MAGIC_CMD"; then
8432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8433
$as_echo "$MAGIC_CMD" >&6; }
8435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8436
$as_echo "no" >&6; }
8449
# Use C for the default configuration in the libtool script
8453
ac_cpp='$CPP $CPPFLAGS'
8454
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8455
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8456
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8459
# Source file extension for C test sources.
8462
# Object file extension for compiled C test sources.
8466
# Code to be used in simple compile tests
8467
lt_simple_compile_test_code="int some_variable = 0;"
8469
# Code to be used in simple link tests
8470
lt_simple_link_test_code='int main(){return(0);}'
8478
# If no C compiler was specified, use CC.
8481
# If no C compiler flags were specified, use CFLAGS.
8482
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8484
# Allow CC to be a program name with arguments.
8487
# Save the default compiler, since it gets overwritten when the other
8488
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8489
compiler_DEFAULT=$CC
8491
# save warnings/boilerplate of simple test code
8492
ac_outfile=conftest.$ac_objext
8493
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8494
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8495
_lt_compiler_boilerplate=`cat conftest.err`
8498
ac_outfile=conftest.$ac_objext
8499
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8500
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8501
_lt_linker_boilerplate=`cat conftest.err`
8506
## There is no encapsulation within the following macros, do not change
8507
## the running order or otherwise move them around unless you know exactly
8508
## what you are doing...
8509
if test -n "$compiler"; then
8511
lt_prog_compiler_no_builtin_flag=
8513
if test "$GCC" = yes; then
8514
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8517
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8518
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8519
$as_echo_n "(cached) " >&6
8521
lt_cv_prog_compiler_rtti_exceptions=no
8522
ac_outfile=conftest.$ac_objext
8523
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8524
lt_compiler_flag="-fno-rtti -fno-exceptions"
8525
# Insert the option either (1) after the last *FLAGS variable, or
8526
# (2) before a word containing "conftest.", or (3) at the end.
8527
# Note that $ac_compile itself does not contain backslashes and begins
8528
# with a dollar sign (not a hyphen), so the echo should work correctly.
8529
# The option is referenced via a variable to avoid confusing sed.
8530
lt_compile=`echo "$ac_compile" | $SED \
8531
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8532
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8533
-e 's:$: $lt_compiler_flag:'`
8534
(eval echo "\"\$as_me:8534: $lt_compile\"" >&5)
8535
(eval "$lt_compile" 2>conftest.err)
8537
cat conftest.err >&5
8538
echo "$as_me:8538: \$? = $ac_status" >&5
8539
if (exit $ac_status) && test -s "$ac_outfile"; then
8540
# The compiler can only warn and ignore the option if not recognized
8541
# So say no if there are warnings other than the usual output.
8542
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8543
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8544
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8545
lt_cv_prog_compiler_rtti_exceptions=yes
8551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8552
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8554
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8555
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8567
lt_prog_compiler_wl=
8568
lt_prog_compiler_pic=
8569
lt_prog_compiler_static=
8571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8572
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8574
if test "$GCC" = yes; then
8575
lt_prog_compiler_wl='-Wl,'
8576
lt_prog_compiler_static='-static'
8580
# All AIX code is PIC.
8581
if test "$host_cpu" = ia64; then
8582
# AIX 5 now supports IA64 processor
8583
lt_prog_compiler_static='-Bstatic'
8590
# see comment about AmigaOS4 .so support
8591
lt_prog_compiler_pic='-fPIC'
8594
# FIXME: we need at least 68020 code to build shared libraries, but
8595
# adding the `-m68020' flag to GCC prevents building anything better,
8597
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8602
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8603
# PIC is the default for these OSes.
8606
mingw* | cygwin* | pw32* | os2* | cegcc*)
8607
# This hack is so that the source file can tell whether it is being
8608
# built for inclusion in a dll (and should export symbols for example).
8609
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8610
# (--disable-auto-import) libraries
8611
lt_prog_compiler_pic='-DDLL_EXPORT'
8614
darwin* | rhapsody*)
8615
# PIC is the default on this platform
8616
# Common symbols not allowed in MH_DYLIB files
8617
lt_prog_compiler_pic='-fno-common'
8621
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8622
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8623
# sets the default TLS model and affects inlining.
8629
lt_prog_compiler_pic='-fPIC'
8635
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8636
# Instead, we relocate shared libraries at runtime.
8640
# Just because we use GCC doesn't mean we suddenly get shared libraries
8641
# on systems that don't support them.
8642
lt_prog_compiler_can_build_shared=no
8647
# QNX uses GNU C++, but need to define -shared option too, otherwise
8649
lt_prog_compiler_pic='-fPIC -shared'
8653
if test -d /usr/nec; then
8654
lt_prog_compiler_pic=-Kconform_pic
8659
lt_prog_compiler_pic='-fPIC'
8663
# PORTME Check for flag to pass linker flags through the system compiler.
8666
lt_prog_compiler_wl='-Wl,'
8667
if test "$host_cpu" = ia64; then
8668
# AIX 5 now supports IA64 processor
8669
lt_prog_compiler_static='-Bstatic'
8671
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8675
mingw* | cygwin* | pw32* | os2* | cegcc*)
8676
# This hack is so that the source file can tell whether it is being
8677
# built for inclusion in a dll (and should export symbols for example).
8678
lt_prog_compiler_pic='-DDLL_EXPORT'
8681
hpux9* | hpux10* | hpux11*)
8682
lt_prog_compiler_wl='-Wl,'
8683
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8690
lt_prog_compiler_pic='+Z'
8693
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8694
lt_prog_compiler_static='${wl}-a ${wl}archive'
8697
irix5* | irix6* | nonstopux*)
8698
lt_prog_compiler_wl='-Wl,'
8699
# PIC (with -KPIC) is the default.
8700
lt_prog_compiler_static='-non_shared'
8703
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8704
case $cc_basename in
8705
# old Intel for x86_64 which still supported -KPIC.
8707
lt_prog_compiler_wl='-Wl,'
8708
lt_prog_compiler_pic='-KPIC'
8709
lt_prog_compiler_static='-static'
8711
# icc used to be incompatible with GCC.
8712
# ICC 10 doesn't accept -KPIC any more.
8714
lt_prog_compiler_wl='-Wl,'
8715
lt_prog_compiler_pic='-fPIC'
8716
lt_prog_compiler_static='-static'
8718
# Lahey Fortran 8.1.
8720
lt_prog_compiler_wl='-Wl,'
8721
lt_prog_compiler_pic='--shared'
8722
lt_prog_compiler_static='--static'
8724
pgcc* | pgf77* | pgf90* | pgf95*)
8725
# Portland Group compilers (*not* the Pentium gcc compiler,
8726
# which looks to be a dead project)
8727
lt_prog_compiler_wl='-Wl,'
8728
lt_prog_compiler_pic='-fpic'
8729
lt_prog_compiler_static='-Bstatic'
8732
lt_prog_compiler_wl='-Wl,'
8733
# All Alpha code is PIC.
8734
lt_prog_compiler_static='-non_shared'
8737
# IBM XL C 8.0/Fortran 10.1 on PPC
8738
lt_prog_compiler_wl='-Wl,'
8739
lt_prog_compiler_pic='-qpic'
8740
lt_prog_compiler_static='-qstaticlink'
8743
case `$CC -V 2>&1 | sed 5q` in
8746
lt_prog_compiler_pic='-KPIC'
8747
lt_prog_compiler_static='-Bstatic'
8748
lt_prog_compiler_wl='-Wl,'
8751
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8752
lt_prog_compiler_pic='-KPIC'
8753
lt_prog_compiler_static='-Bstatic'
8754
lt_prog_compiler_wl=''
8762
lt_prog_compiler_pic='-KPIC'
8763
lt_prog_compiler_static='-Bstatic'
8767
# QNX uses GNU C++, but need to define -shared option too, otherwise
8769
lt_prog_compiler_pic='-fPIC -shared'
8772
osf3* | osf4* | osf5*)
8773
lt_prog_compiler_wl='-Wl,'
8774
# All OSF/1 code is PIC.
8775
lt_prog_compiler_static='-non_shared'
8779
lt_prog_compiler_static='-non_shared'
8783
lt_prog_compiler_pic='-KPIC'
8784
lt_prog_compiler_static='-Bstatic'
8785
case $cc_basename in
8787
lt_prog_compiler_wl='-Qoption ld ';;
8789
lt_prog_compiler_wl='-Wl,';;
8794
lt_prog_compiler_wl='-Qoption ld '
8795
lt_prog_compiler_pic='-PIC'
8796
lt_prog_compiler_static='-Bstatic'
8799
sysv4 | sysv4.2uw2* | sysv4.3*)
8800
lt_prog_compiler_wl='-Wl,'
8801
lt_prog_compiler_pic='-KPIC'
8802
lt_prog_compiler_static='-Bstatic'
8806
if test -d /usr/nec ;then
8807
lt_prog_compiler_pic='-Kconform_pic'
8808
lt_prog_compiler_static='-Bstatic'
8812
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8813
lt_prog_compiler_wl='-Wl,'
8814
lt_prog_compiler_pic='-KPIC'
8815
lt_prog_compiler_static='-Bstatic'
8819
lt_prog_compiler_wl='-Wl,'
8820
lt_prog_compiler_can_build_shared=no
8824
lt_prog_compiler_pic='-pic'
8825
lt_prog_compiler_static='-Bstatic'
8829
lt_prog_compiler_can_build_shared=no
8835
# For platforms which do not support PIC, -DPIC is meaningless:
8837
lt_prog_compiler_pic=
8840
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8844
$as_echo "$lt_prog_compiler_pic" >&6; }
8852
# Check to make sure the PIC flag actually works.
8854
if test -n "$lt_prog_compiler_pic"; then
8855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8856
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8857
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8858
$as_echo_n "(cached) " >&6
8860
lt_cv_prog_compiler_pic_works=no
8861
ac_outfile=conftest.$ac_objext
8862
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8863
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8864
# Insert the option either (1) after the last *FLAGS variable, or
8865
# (2) before a word containing "conftest.", or (3) at the end.
8866
# Note that $ac_compile itself does not contain backslashes and begins
8867
# with a dollar sign (not a hyphen), so the echo should work correctly.
8868
# The option is referenced via a variable to avoid confusing sed.
8869
lt_compile=`echo "$ac_compile" | $SED \
8870
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8871
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8872
-e 's:$: $lt_compiler_flag:'`
8873
(eval echo "\"\$as_me:8873: $lt_compile\"" >&5)
8874
(eval "$lt_compile" 2>conftest.err)
8876
cat conftest.err >&5
8877
echo "$as_me:8877: \$? = $ac_status" >&5
8878
if (exit $ac_status) && test -s "$ac_outfile"; then
8879
# The compiler can only warn and ignore the option if not recognized
8880
# So say no if there are warnings other than the usual output.
8881
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8882
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8883
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8884
lt_cv_prog_compiler_pic_works=yes
8890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8891
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8893
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8894
case $lt_prog_compiler_pic in
8896
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8899
lt_prog_compiler_pic=
8900
lt_prog_compiler_can_build_shared=no
8911
# Check to make sure the static flag actually works.
8913
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8915
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8916
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8917
$as_echo_n "(cached) " >&6
8919
lt_cv_prog_compiler_static_works=no
8920
save_LDFLAGS="$LDFLAGS"
8921
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8922
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8923
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8924
# The linker can only warn and ignore the option if not recognized
8925
# So say no if there are warnings
8926
if test -s conftest.err; then
8927
# Append any errors to the config.log.
8928
cat conftest.err 1>&5
8929
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8930
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8931
if diff conftest.exp conftest.er2 >/dev/null; then
8932
lt_cv_prog_compiler_static_works=yes
8935
lt_cv_prog_compiler_static_works=yes
8939
LDFLAGS="$save_LDFLAGS"
8942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8943
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8945
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8948
lt_prog_compiler_static=
8957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8958
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8959
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8960
$as_echo_n "(cached) " >&6
8962
lt_cv_prog_compiler_c_o=no
8963
$RM -r conftest 2>/dev/null
8967
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8969
lt_compiler_flag="-o out/conftest2.$ac_objext"
8970
# Insert the option either (1) after the last *FLAGS variable, or
8971
# (2) before a word containing "conftest.", or (3) at the end.
8972
# Note that $ac_compile itself does not contain backslashes and begins
8973
# with a dollar sign (not a hyphen), so the echo should work correctly.
8974
lt_compile=`echo "$ac_compile" | $SED \
8975
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8976
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8977
-e 's:$: $lt_compiler_flag:'`
8978
(eval echo "\"\$as_me:8978: $lt_compile\"" >&5)
8979
(eval "$lt_compile" 2>out/conftest.err)
8981
cat out/conftest.err >&5
8982
echo "$as_me:8982: \$? = $ac_status" >&5
8983
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8985
# The compiler can only warn and ignore the option if not recognized
8986
# So say no if there are warnings
8987
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8988
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8989
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8990
lt_cv_prog_compiler_c_o=yes
8995
# SGI C++ compiler will create directory out/ii_files/ for
8996
# template instantiation
8997
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8998
$RM out/* && rmdir out
9004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9005
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9013
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9014
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9015
$as_echo_n "(cached) " >&6
9017
lt_cv_prog_compiler_c_o=no
9018
$RM -r conftest 2>/dev/null
9022
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9024
lt_compiler_flag="-o out/conftest2.$ac_objext"
9025
# Insert the option either (1) after the last *FLAGS variable, or
9026
# (2) before a word containing "conftest.", or (3) at the end.
9027
# Note that $ac_compile itself does not contain backslashes and begins
9028
# with a dollar sign (not a hyphen), so the echo should work correctly.
9029
lt_compile=`echo "$ac_compile" | $SED \
9030
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9031
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9032
-e 's:$: $lt_compiler_flag:'`
9033
(eval echo "\"\$as_me:9033: $lt_compile\"" >&5)
9034
(eval "$lt_compile" 2>out/conftest.err)
9036
cat out/conftest.err >&5
9037
echo "$as_me:9037: \$? = $ac_status" >&5
9038
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9040
# The compiler can only warn and ignore the option if not recognized
9041
# So say no if there are warnings
9042
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9043
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9044
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9045
lt_cv_prog_compiler_c_o=yes
9050
# SGI C++ compiler will create directory out/ii_files/ for
9051
# template instantiation
9052
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9053
$RM out/* && rmdir out
9059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9060
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9065
hard_links="nottested"
9066
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9067
# do not overwrite the value of need_locks provided by the user
9068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9069
$as_echo_n "checking if we can lock with hard links... " >&6; }
9072
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9074
ln conftest.a conftest.b 2>&5 || hard_links=no
9075
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9077
$as_echo "$hard_links" >&6; }
9078
if test "$hard_links" = no; then
9079
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9080
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9093
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9096
allow_undefined_flag=
9097
always_export_symbols=no
9099
archive_expsym_cmds=
9100
compiler_needs_object=no
9101
enable_shared_with_static_runtimes=no
9102
export_dynamic_flag_spec=
9103
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9104
hardcode_automatic=no
9106
hardcode_direct_absolute=no
9107
hardcode_libdir_flag_spec=
9108
hardcode_libdir_flag_spec_ld=
9109
hardcode_libdir_separator=
9111
hardcode_shlibpath_var=unsupported
9113
link_all_deplibs=unknown
9116
old_archive_from_new_cmds=
9117
old_archive_from_expsyms_cmds=
9118
thread_safe_flag_spec=
9119
whole_archive_flag_spec=
9120
# include_expsyms should be a list of space-separated symbols to be *always*
9121
# included in the symbol list
9123
# exclude_expsyms can be an extended regexp of symbols to exclude
9124
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9125
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9126
# as well as any symbol that contains `d'.
9127
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9128
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9129
# platforms (ab)use it in PIC code, but their linkers get confused if
9130
# the symbol is explicitly referenced. Since portable code cannot
9131
# rely on this symbol name, it's probably fine to never include it in
9132
# preloaded symbol tables.
9133
# Exclude shared library initialization/finalization symbols.
9134
extract_expsyms_cmds=
9137
cygwin* | mingw* | pw32* | cegcc*)
9138
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9139
# When not using gcc, we currently assume that we are using
9140
# Microsoft Visual C++.
9141
if test "$GCC" != yes; then
9146
# we just hope/assume this is gcc and not c89 (= MSVC++)
9152
linux* | k*bsd*-gnu)
9158
if test "$with_gnu_ld" = yes; then
9159
# If archive_cmds runs LD, not CC, wlarc should be empty
9162
# Set some defaults for GNU ld with shared library support. These
9163
# are reset later if shared libraries are not supported. Putting them
9164
# here allows them to be overridden if necessary.
9165
runpath_var=LD_RUN_PATH
9166
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9167
export_dynamic_flag_spec='${wl}--export-dynamic'
9168
# ancient GNU ld didn't support --whole-archive et. al.
9169
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9170
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9172
whole_archive_flag_spec=
9174
supports_anon_versioning=no
9175
case `$LD -v 2>&1` in
9176
*GNU\ gold*) supports_anon_versioning=yes ;;
9177
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9178
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9179
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9180
*\ 2.11.*) ;; # other 2.11 versions
9181
*) supports_anon_versioning=yes ;;
9184
# See if GNU ld supports shared libraries.
9187
# On AIX/PPC, the GNU linker is very broken
9188
if test "$host_cpu" != ia64; then
9192
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9193
*** to be unable to reliably create shared libraries on AIX.
9194
*** Therefore, libtool is disabling shared libraries support. If you
9195
*** really care for shared libraries, you may want to modify your PATH
9196
*** so that a non-GNU linker is found, and then restart.
9205
# see comment about AmigaOS4 .so support
9206
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9207
archive_expsym_cmds=''
9210
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)'
9211
hardcode_libdir_flag_spec='-L$libdir'
9212
hardcode_minus_L=yes
9218
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9219
allow_undefined_flag=unsupported
9220
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9221
# support --undefined. This deserves some investigation. FIXME
9222
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9228
cygwin* | mingw* | pw32* | cegcc*)
9229
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9230
# as there is no search path for DLLs.
9231
hardcode_libdir_flag_spec='-L$libdir'
9232
allow_undefined_flag=unsupported
9233
always_export_symbols=no
9234
enable_shared_with_static_runtimes=yes
9235
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9237
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9238
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9239
# If the export-symbols file already is a .def file (1st line
9240
# is EXPORTS), use it as is; otherwise, prepend...
9241
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9242
cp $export_symbols $output_objdir/$soname.def;
9244
echo EXPORTS > $output_objdir/$soname.def;
9245
cat $export_symbols >> $output_objdir/$soname.def;
9247
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9255
hardcode_shlibpath_var=no
9256
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9257
export_dynamic_flag_spec='${wl}-E'
9258
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9259
# Instead, shared libraries are loaded at an image base (0x10000000 by
9260
# default) and relocated if they conflict, which is a slow very memory
9261
# consuming and fragmenting process. To avoid this, we pick a random,
9262
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9263
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9264
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9265
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'
9268
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270
if test "$host_os" = linux-dietlibc; then
9271
case $cc_basename in
9272
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9275
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9276
&& test "$tmp_diet" = no
9279
tmp_sharedflag='-shared'
9280
case $cc_basename,$host_cpu in
9281
pgcc*) # Portland Group C compiler
9282
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'
9283
tmp_addflag=' $pic_flag'
9285
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9286
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'
9287
tmp_addflag=' $pic_flag -Mnomain' ;;
9288
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9289
tmp_addflag=' -i_dynamic' ;;
9290
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9291
tmp_addflag=' -i_dynamic -nofor_main' ;;
9292
ifc* | ifort*) # Intel Fortran compiler
9293
tmp_addflag=' -nofor_main' ;;
9294
lf95*) # Lahey Fortran 8.1
9295
whole_archive_flag_spec=
9296
tmp_sharedflag='--shared' ;;
9297
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9298
tmp_sharedflag='-qmkshrobj'
9301
case `$CC -V 2>&1 | sed 5q` in
9302
*Sun\ C*) # Sun C 5.9
9303
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'
9304
compiler_needs_object=yes
9305
tmp_sharedflag='-G' ;;
9306
*Sun\ F*) # Sun Fortran 8.3
9307
tmp_sharedflag='-G' ;;
9309
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9311
if test "x$supports_anon_versioning" = xyes; then
9312
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9313
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9314
echo "local: *; };" >> $output_objdir/$libname.ver~
9315
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9318
case $cc_basename in
9320
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9321
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9322
hardcode_libdir_flag_spec=
9323
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9324
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9325
if test "x$supports_anon_versioning" = xyes; then
9326
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9327
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9328
echo "local: *; };" >> $output_objdir/$libname.ver~
9329
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9338
netbsd* | netbsdelf*-gnu)
9339
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9340
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9343
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9349
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9353
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9354
*** create shared libraries on Solaris systems. Therefore, libtool
9355
*** is disabling shared libraries support. We urge you to upgrade GNU
9356
*** binutils to release 2.9.1 or newer. Another option is to modify
9357
*** your PATH or compiler configuration so that the native linker is
9358
*** used, and then restart.
9361
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9362
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9369
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9370
case `$LD -v 2>&1` in
9371
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9375
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9376
*** reliably create shared libraries on SCO systems. Therefore, libtool
9377
*** is disabling shared libraries support. We urge you to upgrade GNU
9378
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9379
*** your PATH or compiler configuration so that the native linker is
9380
*** used, and then restart.
9385
# For security reasons, it is highly recommended that you always
9386
# use absolute paths for naming shared libraries, and exclude the
9387
# DT_RUNPATH tag from executables and libraries. But doing so
9388
# requires that you compile everything twice, which is a pain.
9389
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9390
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9391
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9392
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9401
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9404
hardcode_shlibpath_var=no
9408
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417
if test "$ld_shlibs" = no; then
9419
hardcode_libdir_flag_spec=
9420
export_dynamic_flag_spec=
9421
whole_archive_flag_spec=
9424
# PORTME fill in a description of your system's linker (not GNU ld)
9427
allow_undefined_flag=unsupported
9428
always_export_symbols=yes
9429
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'
9430
# Note: this linker hardcodes the directories in LIBPATH if there
9431
# are no directories specified by -L.
9432
hardcode_minus_L=yes
9433
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9434
# Neither direct hardcoding nor static linking is supported with a
9436
hardcode_direct=unsupported
9441
if test "$host_cpu" = ia64; then
9442
# On IA64, the linker does run time linking by default, so we don't
9443
# have to do anything special.
9444
aix_use_runtimelinking=no
9445
exp_sym_flag='-Bexport'
9448
# If we're using GNU nm, then we don't want the "-C" option.
9449
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9450
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9451
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'
9453
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'
9455
aix_use_runtimelinking=no
9457
# Test if we are trying to use run time linking or normal
9458
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9459
# need to do runtime linking.
9460
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9461
for ld_flag in $LDFLAGS; do
9462
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9463
aix_use_runtimelinking=yes
9470
exp_sym_flag='-bexport'
9471
no_entry_flag='-bnoentry'
9474
# When large executables or shared objects are built, AIX ld can
9475
# have problems creating the table of contents. If linking a library
9476
# or program results in "error TOC overflow" add -mminimal-toc to
9477
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9478
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9482
hardcode_direct_absolute=yes
9483
hardcode_libdir_separator=':'
9484
link_all_deplibs=yes
9485
file_list_spec='${wl}-f,'
9487
if test "$GCC" = yes; then
9488
case $host_os in aix4.[012]|aix4.[012].*)
9489
# We only want to do this on AIX 4.2 and lower, the check
9490
# below for broken collect2 doesn't work under 4.3+
9491
collect2name=`${CC} -print-prog-name=collect2`
9492
if test -f "$collect2name" &&
9493
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9495
# We have reworked collect2
9498
# We have old collect2
9499
hardcode_direct=unsupported
9500
# It fails to find uninstalled libraries when the uninstalled
9501
# path is not listed in the libpath. Setting hardcode_minus_L
9502
# to unsupported forces relinking
9503
hardcode_minus_L=yes
9504
hardcode_libdir_flag_spec='-L$libdir'
9505
hardcode_libdir_separator=
9509
shared_flag='-shared'
9510
if test "$aix_use_runtimelinking" = yes; then
9511
shared_flag="$shared_flag "'${wl}-G'
9516
if test "$host_cpu" = ia64; then
9517
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9518
# chokes on -Wl,-G. The following line is correct:
9521
if test "$aix_use_runtimelinking" = yes; then
9522
shared_flag='${wl}-G'
9524
shared_flag='${wl}-bM:SRE'
9529
export_dynamic_flag_spec='${wl}-bexpall'
9530
# It seems that -bexpall does not export symbols beginning with
9531
# underscore (_), so it is better to generate a list of symbols to export.
9532
always_export_symbols=yes
9533
if test "$aix_use_runtimelinking" = yes; then
9534
# Warning - without using the other runtime loading flags (-brtl),
9535
# -berok will link without error, but may produce a broken library.
9536
allow_undefined_flag='-berok'
9537
# Determine the default libpath from the value encoded in an
9539
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540
/* end confdefs.h. */
9550
if ac_fn_c_try_link "$LINENO"; then :
9552
lt_aix_libpath_sed='
9553
/Import File Strings/,/^$/ {
9559
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9560
# Check for a 64-bit object if we didn't find anything.
9561
if test -z "$aix_libpath"; then
9562
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9565
rm -f core conftest.err conftest.$ac_objext \
9566
conftest$ac_exeext conftest.$ac_ext
9567
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9569
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9570
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"
9572
if test "$host_cpu" = ia64; then
9573
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9574
allow_undefined_flag="-z nodefs"
9575
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"
9577
# Determine the default libpath from the value encoded in an
9579
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9580
/* end confdefs.h. */
9590
if ac_fn_c_try_link "$LINENO"; then :
9592
lt_aix_libpath_sed='
9593
/Import File Strings/,/^$/ {
9599
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9600
# Check for a 64-bit object if we didn't find anything.
9601
if test -z "$aix_libpath"; then
9602
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9605
rm -f core conftest.err conftest.$ac_objext \
9606
conftest$ac_exeext conftest.$ac_ext
9607
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9609
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9610
# Warning - without using the other run time loading flags,
9611
# -berok will link without error, but may produce a broken library.
9612
no_undefined_flag=' ${wl}-bernotok'
9613
allow_undefined_flag=' ${wl}-berok'
9614
# Exported symbols can be pulled into shared objects from archives
9615
whole_archive_flag_spec='$convenience'
9616
archive_cmds_need_lc=yes
9617
# This is similar to how AIX traditionally builds its shared libraries.
9618
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'
9626
# see comment about AmigaOS4 .so support
9627
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9628
archive_expsym_cmds=''
9631
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)'
9632
hardcode_libdir_flag_spec='-L$libdir'
9633
hardcode_minus_L=yes
9639
export_dynamic_flag_spec=-rdynamic
9642
cygwin* | mingw* | pw32* | cegcc*)
9643
# When not using gcc, we currently assume that we are using
9644
# Microsoft Visual C++.
9645
# hardcode_libdir_flag_spec is actually meaningless, as there is
9646
# no search path for DLLs.
9647
hardcode_libdir_flag_spec=' '
9648
allow_undefined_flag=unsupported
9649
# Tell ltmain to make .lib files, not .a files.
9651
# Tell ltmain to make .dll files, not .so files.
9653
# FIXME: Setting linknames here is a bad hack.
9654
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9655
# The linker will automatically build a .lib file if we build a DLL.
9656
old_archive_from_new_cmds='true'
9657
# FIXME: Should let the user specify the lib program.
9658
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9659
fix_srcfile_path='`cygpath -w "$srcfile"`'
9660
enable_shared_with_static_runtimes=yes
9663
darwin* | rhapsody*)
9666
archive_cmds_need_lc=no
9668
hardcode_automatic=yes
9669
hardcode_shlibpath_var=unsupported
9670
whole_archive_flag_spec=''
9671
link_all_deplibs=yes
9672
allow_undefined_flag="$_lt_dar_allow_undefined"
9673
case $cc_basename in
9674
ifort*) _lt_dar_can_shared=yes ;;
9675
*) _lt_dar_can_shared=$GCC ;;
9677
if test "$_lt_dar_can_shared" = "yes"; then
9678
output_verbose_link_cmd=echo
9679
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9680
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9681
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}"
9682
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}"
9691
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9692
hardcode_libdir_flag_spec='-L$libdir'
9693
hardcode_shlibpath_var=no
9700
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9701
# support. Future versions do this automatically, but an explicit c++rt0.o
9702
# does not break anything, and helps significantly (at the cost of a little
9705
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9706
hardcode_libdir_flag_spec='-R$libdir'
9708
hardcode_shlibpath_var=no
9711
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9713
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9715
hardcode_minus_L=yes
9716
hardcode_shlibpath_var=no
9719
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9720
freebsd* | dragonfly*)
9721
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9722
hardcode_libdir_flag_spec='-R$libdir'
9724
hardcode_shlibpath_var=no
9728
if test "$GCC" = yes; then
9729
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'
9731
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'
9733
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9734
hardcode_libdir_separator=:
9737
# hardcode_minus_L: Not really in the search PATH,
9738
# but as the default location of the library.
9739
hardcode_minus_L=yes
9740
export_dynamic_flag_spec='${wl}-E'
9744
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9745
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9747
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9749
if test "$with_gnu_ld" = no; then
9750
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9751
hardcode_libdir_flag_spec_ld='+b $libdir'
9752
hardcode_libdir_separator=:
9754
hardcode_direct_absolute=yes
9755
export_dynamic_flag_spec='${wl}-E'
9756
# hardcode_minus_L: Not really in the search PATH,
9757
# but as the default location of the library.
9758
hardcode_minus_L=yes
9763
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9766
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9769
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9772
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9778
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9781
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9784
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9788
if test "$with_gnu_ld" = no; then
9789
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9790
hardcode_libdir_separator=:
9795
hardcode_shlibpath_var=no
9799
hardcode_direct_absolute=yes
9800
export_dynamic_flag_spec='${wl}-E'
9802
# hardcode_minus_L: Not really in the search PATH,
9803
# but as the default location of the library.
9804
hardcode_minus_L=yes
9810
irix5* | irix6* | nonstopux*)
9811
if test "$GCC" = yes; then
9812
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'
9813
# Try to use the -exported_symbol ld option, if it does not
9814
# work, assume that -exports_file does not work either and
9815
# implicitly export all symbols.
9816
save_LDFLAGS="$LDFLAGS"
9817
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9818
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819
/* end confdefs.h. */
9822
if ac_fn_c_try_link "$LINENO"; then :
9823
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'
9826
rm -f core conftest.err conftest.$ac_objext \
9827
conftest$ac_exeext conftest.$ac_ext
9828
LDFLAGS="$save_LDFLAGS"
9830
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'
9831
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'
9833
archive_cmds_need_lc='no'
9834
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9835
hardcode_libdir_separator=:
9837
link_all_deplibs=yes
9840
netbsd* | netbsdelf*-gnu)
9841
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9842
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9844
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9846
hardcode_libdir_flag_spec='-R$libdir'
9848
hardcode_shlibpath_var=no
9852
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9854
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9855
hardcode_libdir_separator=:
9856
hardcode_shlibpath_var=no
9863
if test -f /usr/libexec/ld.so; then
9865
hardcode_shlibpath_var=no
9866
hardcode_direct_absolute=yes
9867
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9868
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9869
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9870
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9871
export_dynamic_flag_spec='${wl}-E'
9874
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9875
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9876
hardcode_libdir_flag_spec='-R$libdir'
9879
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9880
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9890
hardcode_libdir_flag_spec='-L$libdir'
9891
hardcode_minus_L=yes
9892
allow_undefined_flag=unsupported
9893
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'
9894
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9898
if test "$GCC" = yes; then
9899
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9900
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'
9902
allow_undefined_flag=' -expect_unresolved \*'
9903
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'
9905
archive_cmds_need_lc='no'
9906
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9907
hardcode_libdir_separator=:
9910
osf4* | osf5*) # as osf3* with the addition of -msym flag
9911
if test "$GCC" = yes; then
9912
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9913
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'
9914
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9916
allow_undefined_flag=' -expect_unresolved \*'
9917
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'
9918
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~
9919
$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'
9921
# Both c and cxx compiler support -rpath directly
9922
hardcode_libdir_flag_spec='-rpath $libdir'
9924
archive_cmds_need_lc='no'
9925
hardcode_libdir_separator=:
9929
no_undefined_flag=' -z defs'
9930
if test "$GCC" = yes; then
9932
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9933
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9934
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9936
case `$CC -V 2>&1` in
9939
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9940
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9941
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9945
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9946
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9947
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9951
hardcode_libdir_flag_spec='-R$libdir'
9952
hardcode_shlibpath_var=no
9954
solaris2.[0-5] | solaris2.[0-5].*) ;;
9956
# The compiler driver will combine and reorder linker options,
9957
# but understands `-z linker_flag'. GCC discards it without `$wl',
9958
# but is careful enough not to reorder.
9959
# Supported since Solaris 2.6 (maybe 2.5.1?)
9960
if test "$GCC" = yes; then
9961
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9963
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9967
link_all_deplibs=yes
9971
if test "x$host_vendor" = xsequent; then
9972
# Use $CC to link under sequent, because it throws in some extra .o
9973
# files that make .init and .fini sections work.
9974
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9976
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9978
hardcode_libdir_flag_spec='-L$libdir'
9980
hardcode_minus_L=yes
9981
hardcode_shlibpath_var=no
9985
case $host_vendor in
9987
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9988
hardcode_direct=yes # is this really true???
9991
## LD is ld it makes a PLAMLIB
9992
## CC just makes a GrossModule.
9993
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9994
reload_cmds='$CC -r -o $output$reload_objs'
9998
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9999
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10002
runpath_var='LD_RUN_PATH'
10003
hardcode_shlibpath_var=no
10007
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008
hardcode_shlibpath_var=no
10009
export_dynamic_flag_spec='-Bexport'
10013
if test -d /usr/nec; then
10014
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10015
hardcode_shlibpath_var=no
10016
runpath_var=LD_RUN_PATH
10017
hardcode_runpath_var=yes
10022
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10023
no_undefined_flag='${wl}-z,text'
10024
archive_cmds_need_lc=no
10025
hardcode_shlibpath_var=no
10026
runpath_var='LD_RUN_PATH'
10028
if test "$GCC" = yes; then
10029
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10030
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10032
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10033
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10037
sysv5* | sco3.2v5* | sco5v6*)
10038
# Note: We can NOT use -z defs as we might desire, because we do not
10039
# link with -lc, and that would cause any symbols used from libc to
10040
# always be unresolved, which means just about no library would
10041
# ever link correctly. If we're not using GNU ld we use -z text
10042
# though, which does catch some bad symbols but isn't as heavy-handed
10044
no_undefined_flag='${wl}-z,text'
10045
allow_undefined_flag='${wl}-z,nodefs'
10046
archive_cmds_need_lc=no
10047
hardcode_shlibpath_var=no
10048
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10049
hardcode_libdir_separator=':'
10050
link_all_deplibs=yes
10051
export_dynamic_flag_spec='${wl}-Bexport'
10052
runpath_var='LD_RUN_PATH'
10054
if test "$GCC" = yes; then
10055
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10056
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10058
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10059
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10064
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10065
hardcode_libdir_flag_spec='-L$libdir'
10066
hardcode_shlibpath_var=no
10074
if test x$host_vendor = xsni; then
10076
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10077
export_dynamic_flag_spec='${wl}-Blargedynsym'
10083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10084
$as_echo "$ld_shlibs" >&6; }
10085
test "$ld_shlibs" = no && can_build_shared=no
10087
with_gnu_ld=$with_gnu_ld
10104
# Do we need to explicitly link libc?
10106
case "x$archive_cmds_need_lc" in
10108
# Assume -lc should be added
10109
archive_cmds_need_lc=yes
10111
if test "$enable_shared" = yes && test "$GCC" = yes; then
10112
case $archive_cmds in
10114
# FIXME: we may have to deal with multi-command sequences.
10117
# Test whether the compiler implicitly links with -lc since on some
10118
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10119
# to ld, don't add -lc before -lgcc.
10120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10121
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10123
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10125
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10126
(eval $ac_compile) 2>&5
10128
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10129
test $ac_status = 0; } 2>conftest.err; then
10132
libobjs=conftest.$ac_objext
10134
wl=$lt_prog_compiler_wl
10135
pic_flag=$lt_prog_compiler_pic
10141
lt_save_allow_undefined_flag=$allow_undefined_flag
10142
allow_undefined_flag=
10143
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10144
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10146
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10147
test $ac_status = 0; }
10149
archive_cmds_need_lc=no
10151
archive_cmds_need_lc=yes
10153
allow_undefined_flag=$lt_save_allow_undefined_flag
10155
cat conftest.err 1>&5
10158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10159
$as_echo "$archive_cmds_need_lc" >&6; }
10322
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10323
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10325
if test "$GCC" = yes; then
10327
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10328
*) lt_awk_arg="/^libraries:/" ;;
10330
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10331
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10332
# if the path contains ";" then we assume it to be the separator
10333
# otherwise default to the standard path separator (i.e. ":") - it is
10334
# assumed that no part of a normal pathname contains ";" but that should
10335
# okay in the real world where ";" in dirpaths is itself problematic.
10336
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10338
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10340
# Ok, now we have the path, separated by spaces, we can step through it
10341
# and add multilib dir if necessary.
10342
lt_tmp_lt_search_path_spec=
10343
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10344
for lt_sys_path in $lt_search_path_spec; do
10345
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10346
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10348
test -d "$lt_sys_path" && \
10349
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10352
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10353
BEGIN {RS=" "; FS="/|\n";} {
10356
for (lt_i = NF; lt_i > 0; lt_i--) {
10357
if ($lt_i != "" && $lt_i != ".") {
10358
if ($lt_i == "..") {
10361
if (lt_count == 0) {
10362
lt_foo="/" $lt_i lt_foo;
10369
if (lt_foo != "") { lt_freq[lt_foo]++; }
10370
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10372
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10374
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10376
library_names_spec=
10377
libname_spec='lib$name'
10381
postuninstall_cmds=
10385
shlibpath_overrides_runpath=unknown
10387
dynamic_linker="$host_os ld.so"
10388
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10389
need_lib_prefix=unknown
10390
hardcode_into_libs=no
10392
# when you set need_version to no, make sure it does not cause -set_version
10393
# flags to be left without arguments
10394
need_version=unknown
10399
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10400
shlibpath_var=LIBPATH
10402
# AIX 3 has no versioning support, so we append a major version to the name.
10403
soname_spec='${libname}${release}${shared_ext}$major'
10410
hardcode_into_libs=yes
10411
if test "$host_cpu" = ia64; then
10412
# AIX 5 supports IA64
10413
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10414
shlibpath_var=LD_LIBRARY_PATH
10416
# With GCC up to 2.95.x, collect2 would create an import file
10417
# for dependence libraries. The import file would start with
10418
# the line `#! .'. This would cause the generated library to
10419
# depend on `.', always an invalid library. This was fixed in
10420
# development snapshots of GCC prior to 3.0.
10422
aix4 | aix4.[01] | aix4.[01].*)
10423
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10425
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10428
can_build_shared=no
10432
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10433
# soname into executable. Probably we can add versioning support to
10434
# collect2, so additional links can be useful in future.
10435
if test "$aix_use_runtimelinking" = yes; then
10436
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10437
# instead of lib<name>.a to let people know that these are not
10438
# typical AIX shared libraries.
10439
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10441
# We preserve .a as extension for shared libraries through AIX4.2
10442
# and later when we are not doing run time linking.
10443
library_names_spec='${libname}${release}.a $libname.a'
10444
soname_spec='${libname}${release}${shared_ext}$major'
10446
shlibpath_var=LIBPATH
10453
# Since July 2007 AmigaOS4 officially supports .so libraries.
10454
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10455
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10458
library_names_spec='$libname.ixlibrary $libname.a'
10459
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10460
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'
10466
library_names_spec='${libname}${shared_ext}'
10467
dynamic_linker="$host_os ld.so"
10468
shlibpath_var=LIBRARY_PATH
10474
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10475
soname_spec='${libname}${release}${shared_ext}$major'
10476
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10477
shlibpath_var=LD_LIBRARY_PATH
10478
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10479
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10480
# the default ld.so.conf also contains /usr/contrib/lib and
10481
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10482
# libtool to hard-code these into programs
10485
cygwin* | mingw* | pw32* | cegcc*)
10486
version_type=windows
10491
case $GCC,$host_os in
10492
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10493
library_names_spec='$libname.dll.a'
10494
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10495
postinstall_cmds='base_file=`basename \${file}`~
10496
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10497
dldir=$destdir/`dirname \$dlpath`~
10498
test -d \$dldir || mkdir -p \$dldir~
10499
$install_prog $dir/$dlname \$dldir/$dlname~
10500
chmod a+x \$dldir/$dlname~
10501
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10502
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10504
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10505
dlpath=$dir/\$dldll~
10507
shlibpath_overrides_runpath=yes
10511
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10512
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10513
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10516
# MinGW DLLs use traditional 'lib' prefix
10517
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10518
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10519
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10520
# It is most probably a Windows format PATH printed by
10521
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10522
# path with ; separators, and with drive letters. We can handle the
10523
# drive letters (cygwin fileutils understands them), so leave them,
10524
# especially as we might pass files found there to a mingw objdump,
10525
# which wouldn't understand a cygwinified path. Ahh.
10526
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10528
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10532
# pw32 DLLs use 'pw' prefix rather than 'lib'
10533
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10539
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10542
dynamic_linker='Win32 ld.exe'
10543
# FIXME: first we should search . and the directory the executable is in
10547
darwin* | rhapsody*)
10548
dynamic_linker="$host_os dyld"
10549
version_type=darwin
10552
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10553
soname_spec='${libname}${release}${major}$shared_ext'
10554
shlibpath_overrides_runpath=yes
10555
shlibpath_var=DYLD_LIBRARY_PATH
10556
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10558
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10559
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10566
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10567
soname_spec='${libname}${release}${shared_ext}$major'
10568
shlibpath_var=LD_LIBRARY_PATH
10575
freebsd* | dragonfly*)
10576
# DragonFly does not have aout. When/if they implement a new
10577
# versioning mechanism, adjust this.
10578
if test -x /usr/bin/objformat; then
10579
objformat=`/usr/bin/objformat`
10582
freebsd[123]*) objformat=aout ;;
10583
*) objformat=elf ;;
10586
version_type=freebsd-$objformat
10587
case $version_type in
10589
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10594
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10598
shlibpath_var=LD_LIBRARY_PATH
10601
shlibpath_overrides_runpath=yes
10603
freebsd3.[01]* | freebsdelf3.[01]*)
10604
shlibpath_overrides_runpath=yes
10605
hardcode_into_libs=yes
10607
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10608
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10609
shlibpath_overrides_runpath=no
10610
hardcode_into_libs=yes
10612
*) # from 4.6 on, and DragonFly
10613
shlibpath_overrides_runpath=yes
10614
hardcode_into_libs=yes
10623
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10624
soname_spec='${libname}${release}${shared_ext}$major'
10625
shlibpath_var=LD_LIBRARY_PATH
10626
hardcode_into_libs=yes
10629
hpux9* | hpux10* | hpux11*)
10630
# Give a soname corresponding to the major version so that dld.sl refuses to
10631
# link against other versions.
10638
hardcode_into_libs=yes
10639
dynamic_linker="$host_os dld.so"
10640
shlibpath_var=LD_LIBRARY_PATH
10641
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10642
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10643
soname_spec='${libname}${release}${shared_ext}$major'
10644
if test "X$HPUX_IA64_MODE" = X32; then
10645
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10647
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10649
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10653
hardcode_into_libs=yes
10654
dynamic_linker="$host_os dld.sl"
10655
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10656
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10657
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10658
soname_spec='${libname}${release}${shared_ext}$major'
10659
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10660
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10664
dynamic_linker="$host_os dld.sl"
10665
shlibpath_var=SHLIB_PATH
10666
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10667
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10668
soname_spec='${libname}${release}${shared_ext}$major'
10671
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10672
postinstall_cmds='chmod 555 $lib'
10679
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10680
soname_spec='${libname}${release}${shared_ext}$major'
10681
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10682
shlibpath_var=LD_LIBRARY_PATH
10683
shlibpath_overrides_runpath=no
10684
hardcode_into_libs=yes
10687
irix5* | irix6* | nonstopux*)
10689
nonstopux*) version_type=nonstopux ;;
10691
if test "$lt_cv_prog_gnu_ld" = yes; then
10699
soname_spec='${libname}${release}${shared_ext}$major'
10700
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10702
irix5* | nonstopux*)
10703
libsuff= shlibsuff=
10706
case $LD in # libtool.m4 will add one of these switches to LD
10707
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10708
libsuff= shlibsuff= libmagic=32-bit;;
10709
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10710
libsuff=32 shlibsuff=N32 libmagic=N32;;
10711
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10712
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10713
*) libsuff= shlibsuff= libmagic=never-match;;
10717
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10718
shlibpath_overrides_runpath=no
10719
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10720
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10721
hardcode_into_libs=yes
10724
# No shared lib support for Linux oldld, aout, or coff.
10725
linux*oldld* | linux*aout* | linux*coff*)
10729
# This must be Linux ELF.
10730
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10734
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735
soname_spec='${libname}${release}${shared_ext}$major'
10736
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10737
shlibpath_var=LD_LIBRARY_PATH
10738
shlibpath_overrides_runpath=no
10739
# Some binutils ld are patched to set DT_RUNPATH
10740
save_LDFLAGS=$LDFLAGS
10741
save_libdir=$libdir
10742
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10743
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10744
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10745
/* end confdefs.h. */
10755
if ac_fn_c_try_link "$LINENO"; then :
10756
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10757
shlibpath_overrides_runpath=yes
10760
rm -f core conftest.err conftest.$ac_objext \
10761
conftest$ac_exeext conftest.$ac_ext
10762
LDFLAGS=$save_LDFLAGS
10763
libdir=$save_libdir
10765
# This implies no fast_install, which is unacceptable.
10766
# Some rework will be needed to allow for fast_install
10767
# before this can be enabled.
10768
hardcode_into_libs=yes
10770
# Append ld.so.conf contents to the search path
10771
if test -f /etc/ld.so.conf; then
10772
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' ' '`
10773
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10776
# We used to test for /lib/ld.so.1 and disable shared libraries on
10777
# powerpc, because MkLinux only supported shared libraries with the
10778
# GNU dynamic linker. Since this was broken with cross compilers,
10779
# most powerpc-linux boxes support dynamic linking these days and
10780
# people can always --disable-shared, the test was removed, and we
10781
# assume the GNU/Linux dynamic linker is in use.
10782
dynamic_linker='GNU/Linux ld.so'
10789
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10790
soname_spec='${libname}${release}${shared_ext}$major'
10791
shlibpath_var=LD_LIBRARY_PATH
10792
shlibpath_overrides_runpath=no
10793
hardcode_into_libs=yes
10794
dynamic_linker='NetBSD ld.elf_so'
10801
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10802
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10803
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10804
dynamic_linker='NetBSD (a.out) ld.so'
10806
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10807
soname_spec='${libname}${release}${shared_ext}$major'
10808
dynamic_linker='NetBSD ld.elf_so'
10810
shlibpath_var=LD_LIBRARY_PATH
10811
shlibpath_overrides_runpath=yes
10812
hardcode_into_libs=yes
10817
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818
shlibpath_var=LD_LIBRARY_PATH
10819
shlibpath_overrides_runpath=yes
10826
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827
soname_spec='${libname}${release}${shared_ext}$major'
10828
shlibpath_var=LD_LIBRARY_PATH
10829
shlibpath_overrides_runpath=no
10830
hardcode_into_libs=yes
10831
dynamic_linker='ldqnx.so'
10836
sys_lib_dlsearch_path_spec="/usr/lib"
10838
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10840
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10841
*) need_version=no ;;
10843
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10844
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10845
shlibpath_var=LD_LIBRARY_PATH
10846
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10848
openbsd2.[89] | openbsd2.[89].*)
10849
shlibpath_overrides_runpath=no
10852
shlibpath_overrides_runpath=yes
10856
shlibpath_overrides_runpath=yes
10861
libname_spec='$name'
10864
library_names_spec='$libname${shared_ext} $libname.a'
10865
dynamic_linker='OS/2 ld.exe'
10866
shlibpath_var=LIBPATH
10869
osf3* | osf4* | osf5*)
10873
soname_spec='${libname}${release}${shared_ext}$major'
10874
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10875
shlibpath_var=LD_LIBRARY_PATH
10876
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10877
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10888
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889
soname_spec='${libname}${release}${shared_ext}$major'
10890
shlibpath_var=LD_LIBRARY_PATH
10891
shlibpath_overrides_runpath=yes
10892
hardcode_into_libs=yes
10893
# ldd complains unless libraries are executable
10894
postinstall_cmds='chmod +x $lib'
10899
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10900
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10901
shlibpath_var=LD_LIBRARY_PATH
10902
shlibpath_overrides_runpath=yes
10903
if test "$with_gnu_ld" = yes; then
10911
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10912
soname_spec='${libname}${release}${shared_ext}$major'
10913
shlibpath_var=LD_LIBRARY_PATH
10914
case $host_vendor in
10916
shlibpath_overrides_runpath=no
10918
runpath_var=LD_RUN_PATH
10926
shlibpath_overrides_runpath=no
10927
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10933
if test -d /usr/nec ;then
10935
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10936
soname_spec='$libname${shared_ext}.$major'
10937
shlibpath_var=LD_LIBRARY_PATH
10941
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10942
version_type=freebsd-elf
10945
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10946
soname_spec='${libname}${release}${shared_ext}$major'
10947
shlibpath_var=LD_LIBRARY_PATH
10948
shlibpath_overrides_runpath=yes
10949
hardcode_into_libs=yes
10950
if test "$with_gnu_ld" = yes; then
10951
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10953
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10956
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10960
sys_lib_dlsearch_path_spec='/usr/lib'
10964
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10968
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10969
shlibpath_var=LD_LIBRARY_PATH
10970
shlibpath_overrides_runpath=no
10971
hardcode_into_libs=yes
10976
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977
soname_spec='${libname}${release}${shared_ext}$major'
10978
shlibpath_var=LD_LIBRARY_PATH
10985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10986
$as_echo "$dynamic_linker" >&6; }
10987
test "$dynamic_linker" = no && can_build_shared=no
10989
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10990
if test "$GCC" = yes; then
10991
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10994
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10995
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10997
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10998
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11088
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11090
if test -n "$hardcode_libdir_flag_spec" ||
11091
test -n "$runpath_var" ||
11092
test "X$hardcode_automatic" = "Xyes" ; then
11094
# We can hardcode non-existent directories.
11095
if test "$hardcode_direct" != no &&
11096
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11097
# have to relink, otherwise we might link with an installed library
11098
# when we should be linking with a yet-to-be-installed one
11099
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11100
test "$hardcode_minus_L" != no; then
11101
# Linking always hardcodes the temporary library directory.
11102
hardcode_action=relink
11104
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11105
hardcode_action=immediate
11108
# We cannot hardcode anything, or else we can only hardcode existing
11110
hardcode_action=unsupported
11112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11113
$as_echo "$hardcode_action" >&6; }
11115
if test "$hardcode_action" = relink ||
11116
test "$inherit_rpath" = yes; then
11117
# Fast installation is not supported
11118
enable_fast_install=no
11119
elif test "$shlibpath_overrides_runpath" = yes ||
11120
test "$enable_shared" = no; then
11121
# Fast installation is not necessary
11122
enable_fast_install=needless
11130
if test "x$enable_dlopen" != xyes; then
11131
enable_dlopen=unknown
11132
enable_dlopen_self=unknown
11133
enable_dlopen_self_static=unknown
11140
lt_cv_dlopen="load_add_on"
11142
lt_cv_dlopen_self=yes
11145
mingw* | pw32* | cegcc*)
11146
lt_cv_dlopen="LoadLibrary"
11151
lt_cv_dlopen="dlopen"
11156
# if libdl is installed we need to link against it
11157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11158
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11159
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11160
$as_echo_n "(cached) " >&6
11162
ac_check_lib_save_LIBS=$LIBS
11164
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165
/* end confdefs.h. */
11167
/* Override any GCC internal prototype to avoid an error.
11168
Use char because int might match the return type of a GCC
11169
builtin and then its argument prototype would still apply. */
11182
if ac_fn_c_try_link "$LINENO"; then :
11183
ac_cv_lib_dl_dlopen=yes
11185
ac_cv_lib_dl_dlopen=no
11187
rm -f core conftest.err conftest.$ac_objext \
11188
conftest$ac_exeext conftest.$ac_ext
11189
LIBS=$ac_check_lib_save_LIBS
11191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11192
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11193
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11194
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11197
lt_cv_dlopen="dyld"
11199
lt_cv_dlopen_self=yes
11206
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11207
if test "x$ac_cv_func_shl_load" = x""yes; then :
11208
lt_cv_dlopen="shl_load"
11210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11211
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11212
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11213
$as_echo_n "(cached) " >&6
11215
ac_check_lib_save_LIBS=$LIBS
11217
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11218
/* end confdefs.h. */
11220
/* Override any GCC internal prototype to avoid an error.
11221
Use char because int might match the return type of a GCC
11222
builtin and then its argument prototype would still apply. */
11230
return shl_load ();
11235
if ac_fn_c_try_link "$LINENO"; then :
11236
ac_cv_lib_dld_shl_load=yes
11238
ac_cv_lib_dld_shl_load=no
11240
rm -f core conftest.err conftest.$ac_objext \
11241
conftest$ac_exeext conftest.$ac_ext
11242
LIBS=$ac_check_lib_save_LIBS
11244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11245
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11246
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11247
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11249
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11250
if test "x$ac_cv_func_dlopen" = x""yes; then :
11251
lt_cv_dlopen="dlopen"
11253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11254
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11255
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11256
$as_echo_n "(cached) " >&6
11258
ac_check_lib_save_LIBS=$LIBS
11260
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261
/* end confdefs.h. */
11263
/* Override any GCC internal prototype to avoid an error.
11264
Use char because int might match the return type of a GCC
11265
builtin and then its argument prototype would still apply. */
11278
if ac_fn_c_try_link "$LINENO"; then :
11279
ac_cv_lib_dl_dlopen=yes
11281
ac_cv_lib_dl_dlopen=no
11283
rm -f core conftest.err conftest.$ac_objext \
11284
conftest$ac_exeext conftest.$ac_ext
11285
LIBS=$ac_check_lib_save_LIBS
11287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11288
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11289
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11290
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11293
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11294
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11295
$as_echo_n "(cached) " >&6
11297
ac_check_lib_save_LIBS=$LIBS
11298
LIBS="-lsvld $LIBS"
11299
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300
/* end confdefs.h. */
11302
/* Override any GCC internal prototype to avoid an error.
11303
Use char because int might match the return type of a GCC
11304
builtin and then its argument prototype would still apply. */
11317
if ac_fn_c_try_link "$LINENO"; then :
11318
ac_cv_lib_svld_dlopen=yes
11320
ac_cv_lib_svld_dlopen=no
11322
rm -f core conftest.err conftest.$ac_objext \
11323
conftest$ac_exeext conftest.$ac_ext
11324
LIBS=$ac_check_lib_save_LIBS
11326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11327
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11328
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11329
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11332
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11333
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11334
$as_echo_n "(cached) " >&6
11336
ac_check_lib_save_LIBS=$LIBS
11338
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11339
/* end confdefs.h. */
11341
/* Override any GCC internal prototype to avoid an error.
11342
Use char because int might match the return type of a GCC
11343
builtin and then its argument prototype would still apply. */
11351
return dld_link ();
11356
if ac_fn_c_try_link "$LINENO"; then :
11357
ac_cv_lib_dld_dld_link=yes
11359
ac_cv_lib_dld_dld_link=no
11361
rm -f core conftest.err conftest.$ac_objext \
11362
conftest$ac_exeext conftest.$ac_ext
11363
LIBS=$ac_check_lib_save_LIBS
11365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11366
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11367
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11368
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11389
if test "x$lt_cv_dlopen" != xno; then
11395
case $lt_cv_dlopen in
11397
save_CPPFLAGS="$CPPFLAGS"
11398
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11400
save_LDFLAGS="$LDFLAGS"
11401
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11404
LIBS="$lt_cv_dlopen_libs $LIBS"
11406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11407
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11408
if test "${lt_cv_dlopen_self+set}" = set; then :
11409
$as_echo_n "(cached) " >&6
11411
if test "$cross_compiling" = yes; then :
11412
lt_cv_dlopen_self=cross
11414
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11415
lt_status=$lt_dlunknown
11416
cat > conftest.$ac_ext <<_LT_EOF
11417
#line 11417 "configure"
11418
#include "confdefs.h"
11427
# define LT_DLGLOBAL RTLD_GLOBAL
11430
# define LT_DLGLOBAL DL_GLOBAL
11432
# define LT_DLGLOBAL 0
11436
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11437
find out it does not work in some platform. */
11438
#ifndef LT_DLLAZY_OR_NOW
11440
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11443
# define LT_DLLAZY_OR_NOW DL_LAZY
11446
# define LT_DLLAZY_OR_NOW RTLD_NOW
11449
# define LT_DLLAZY_OR_NOW DL_NOW
11451
# define LT_DLLAZY_OR_NOW 0
11458
void fnord() { int i=42;}
11461
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11462
int status = $lt_dlunknown;
11466
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11467
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11468
/* dlclose (self); */
11476
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11477
(eval $ac_link) 2>&5
11479
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11480
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11481
(./conftest; exit; ) >&5 2>/dev/null
11483
case x$lt_status in
11484
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11485
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11486
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11489
# compilation failed
11490
lt_cv_dlopen_self=no
11497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11498
$as_echo "$lt_cv_dlopen_self" >&6; }
11500
if test "x$lt_cv_dlopen_self" = xyes; then
11501
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11503
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11504
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11505
$as_echo_n "(cached) " >&6
11507
if test "$cross_compiling" = yes; then :
11508
lt_cv_dlopen_self_static=cross
11510
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11511
lt_status=$lt_dlunknown
11512
cat > conftest.$ac_ext <<_LT_EOF
11513
#line 11513 "configure"
11514
#include "confdefs.h"
11523
# define LT_DLGLOBAL RTLD_GLOBAL
11526
# define LT_DLGLOBAL DL_GLOBAL
11528
# define LT_DLGLOBAL 0
11532
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11533
find out it does not work in some platform. */
11534
#ifndef LT_DLLAZY_OR_NOW
11536
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11539
# define LT_DLLAZY_OR_NOW DL_LAZY
11542
# define LT_DLLAZY_OR_NOW RTLD_NOW
11545
# define LT_DLLAZY_OR_NOW DL_NOW
11547
# define LT_DLLAZY_OR_NOW 0
11554
void fnord() { int i=42;}
11557
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11558
int status = $lt_dlunknown;
11562
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11563
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11564
/* dlclose (self); */
11572
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11573
(eval $ac_link) 2>&5
11575
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11576
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11577
(./conftest; exit; ) >&5 2>/dev/null
11579
case x$lt_status in
11580
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11581
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11582
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11585
# compilation failed
11586
lt_cv_dlopen_self_static=no
11593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11594
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11597
CPPFLAGS="$save_CPPFLAGS"
11598
LDFLAGS="$save_LDFLAGS"
11603
case $lt_cv_dlopen_self in
11604
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11605
*) enable_dlopen_self=unknown ;;
11608
case $lt_cv_dlopen_self_static in
11609
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11610
*) enable_dlopen_self_static=unknown ;;
11632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11633
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11634
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11635
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11636
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11638
$as_echo "yes" >&6; }
11640
# FIXME - insert some real tests, host_os isn't really good enough
11643
if test -n "$STRIP" ; then
11644
striplib="$STRIP -x"
11645
old_striplib="$STRIP -S"
11646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11647
$as_echo "yes" >&6; }
11649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11650
$as_echo "no" >&6; }
11654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11655
$as_echo "no" >&6; }
11671
# Report which library types will actually be built
11672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11673
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11675
$as_echo "$can_build_shared" >&6; }
11677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11678
$as_echo_n "checking whether to build shared libraries... " >&6; }
11679
test "$can_build_shared" = "no" && enable_shared=no
11681
# On AIX, shared libraries and static libraries use the same namespace, and
11682
# are all built from PIC.
11685
test "$enable_shared" = yes && enable_static=no
11686
if test -n "$RANLIB"; then
11687
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11688
postinstall_cmds='$RANLIB $lib'
11693
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11694
test "$enable_shared" = yes && enable_static=no
11698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11699
$as_echo "$enable_shared" >&6; }
11701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11702
$as_echo_n "checking whether to build static libraries... " >&6; }
11703
# Make sure either enable_shared or enable_static is yes.
11704
test "$enable_shared" = yes || enable_static=yes
11705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11706
$as_echo "$enable_static" >&6; }
11713
ac_cpp='$CPP $CPPFLAGS'
11714
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11715
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11716
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11732
ac_config_commands="$ac_config_commands libtool"
11737
# Only expand once:
11741
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11742
if test -n "$ac_tool_prefix"; then
11743
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11744
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11746
$as_echo_n "checking for $ac_word... " >&6; }
11747
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11748
$as_echo_n "(cached) " >&6
11750
case $PKG_CONFIG in
11752
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11755
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11756
for as_dir in $PATH
11759
test -z "$as_dir" && as_dir=.
11760
for ac_exec_ext in '' $ac_executable_extensions; do
11761
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11762
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11763
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11773
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11774
if test -n "$PKG_CONFIG"; then
11775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11776
$as_echo "$PKG_CONFIG" >&6; }
11778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11779
$as_echo "no" >&6; }
11784
if test -z "$ac_cv_path_PKG_CONFIG"; then
11785
ac_pt_PKG_CONFIG=$PKG_CONFIG
11786
# Extract the first word of "pkg-config", so it can be a program name with args.
11787
set dummy pkg-config; ac_word=$2
11788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11789
$as_echo_n "checking for $ac_word... " >&6; }
11790
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11791
$as_echo_n "(cached) " >&6
11793
case $ac_pt_PKG_CONFIG in
11795
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11798
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11799
for as_dir in $PATH
11802
test -z "$as_dir" && as_dir=.
11803
for ac_exec_ext in '' $ac_executable_extensions; do
11804
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11805
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11806
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11816
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11817
if test -n "$ac_pt_PKG_CONFIG"; then
11818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11819
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11822
$as_echo "no" >&6; }
11825
if test "x$ac_pt_PKG_CONFIG" = x; then
11828
case $cross_compiling:$ac_tool_warned in
11830
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11831
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11832
ac_tool_warned=yes ;;
11834
PKG_CONFIG=$ac_pt_PKG_CONFIG
11837
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11841
if test -n "$PKG_CONFIG"; then
11842
_pkg_min_version=0.9.0
11843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11844
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11845
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11847
$as_echo "yes" >&6; }
11849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850
$as_echo "no" >&6; }
11857
# Check whether --with-html-dir was given.
11858
if test "${with_html_dir+set}" = set; then :
11859
withval=$with_html_dir;
11861
with_html_dir='${datadir}/gtk-doc/html'
11864
HTML_DIR="$with_html_dir"
11867
# Check whether --enable-gtk-doc was given.
11868
if test "${enable_gtk_doc+set}" = set; then :
11869
enableval=$enable_gtk_doc;
11875
if test x$enable_gtk_doc = xyes; then
11876
if test -n "$PKG_CONFIG" && \
11877
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.6\""; } >&5
11878
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.6") 2>&5
11880
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11881
test $ac_status = 0; }; then
11884
as_fn_error $? "You need to have gtk-doc >= 1.6 installed to build gtk-doc" "$LINENO" 5
11888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11889
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11891
$as_echo "$enable_gtk_doc" >&6; }
11893
for ac_prog in gtkdoc-check
11895
# Extract the first word of "$ac_prog", so it can be a program name with args.
11896
set dummy $ac_prog; ac_word=$2
11897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11898
$as_echo_n "checking for $ac_word... " >&6; }
11899
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
11900
$as_echo_n "(cached) " >&6
11902
case $GTKDOC_CHECK in
11904
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
11907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11908
for as_dir in $PATH
11911
test -z "$as_dir" && as_dir=.
11912
for ac_exec_ext in '' $ac_executable_extensions; do
11913
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11914
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
11915
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11925
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
11926
if test -n "$GTKDOC_CHECK"; then
11927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11928
$as_echo "$GTKDOC_CHECK" >&6; }
11930
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11931
$as_echo "no" >&6; }
11935
test -n "$GTKDOC_CHECK" && break
11939
if test x$enable_gtk_doc = xyes; then
11940
ENABLE_GTK_DOC_TRUE=
11941
ENABLE_GTK_DOC_FALSE='#'
11943
ENABLE_GTK_DOC_TRUE='#'
11944
ENABLE_GTK_DOC_FALSE=
11947
if test -n "$LIBTOOL"; then
11948
GTK_DOC_USE_LIBTOOL_TRUE=
11949
GTK_DOC_USE_LIBTOOL_FALSE='#'
11951
GTK_DOC_USE_LIBTOOL_TRUE='#'
11952
GTK_DOC_USE_LIBTOOL_FALSE=
11957
# Check whether --enable-largefile was given.
11958
if test "${enable_largefile+set}" = set; then :
11959
enableval=$enable_largefile;
11962
if test "$enable_largefile" != no; then
11964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11965
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11966
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
11967
$as_echo_n "(cached) " >&6
11969
ac_cv_sys_largefile_CC=no
11970
if test "$GCC" != yes; then
11973
# IRIX 6.2 and later do not support large files by default,
11974
# so use the C compiler's -n32 option if that helps.
11975
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11976
/* end confdefs.h. */
11977
#include <sys/types.h>
11978
/* Check that off_t can represent 2**63 - 1 correctly.
11979
We can't simply define LARGE_OFF_T to be 9223372036854775807,
11980
since some C++ compilers masquerading as C compilers
11981
incorrectly reject 9223372036854775807. */
11982
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11983
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11984
&& LARGE_OFF_T % 2147483647 == 1)
11994
if ac_fn_c_try_compile "$LINENO"; then :
11997
rm -f core conftest.err conftest.$ac_objext
11999
if ac_fn_c_try_compile "$LINENO"; then :
12000
ac_cv_sys_largefile_CC=' -n32'; break
12002
rm -f core conftest.err conftest.$ac_objext
12006
rm -f conftest.$ac_ext
12009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12010
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
12011
if test "$ac_cv_sys_largefile_CC" != no; then
12012
CC=$CC$ac_cv_sys_largefile_CC
12015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12016
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12017
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
12018
$as_echo_n "(cached) " >&6
12021
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12022
/* end confdefs.h. */
12023
#include <sys/types.h>
12024
/* Check that off_t can represent 2**63 - 1 correctly.
12025
We can't simply define LARGE_OFF_T to be 9223372036854775807,
12026
since some C++ compilers masquerading as C compilers
12027
incorrectly reject 9223372036854775807. */
12028
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12029
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12030
&& LARGE_OFF_T % 2147483647 == 1)
12040
if ac_fn_c_try_compile "$LINENO"; then :
12041
ac_cv_sys_file_offset_bits=no; break
12043
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12044
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045
/* end confdefs.h. */
12046
#define _FILE_OFFSET_BITS 64
12047
#include <sys/types.h>
12048
/* Check that off_t can represent 2**63 - 1 correctly.
12049
We can't simply define LARGE_OFF_T to be 9223372036854775807,
12050
since some C++ compilers masquerading as C compilers
12051
incorrectly reject 9223372036854775807. */
12052
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12053
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12054
&& LARGE_OFF_T % 2147483647 == 1)
12064
if ac_fn_c_try_compile "$LINENO"; then :
12065
ac_cv_sys_file_offset_bits=64; break
12067
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12068
ac_cv_sys_file_offset_bits=unknown
12072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12073
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12074
case $ac_cv_sys_file_offset_bits in #(
12077
cat >>confdefs.h <<_ACEOF
12078
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12083
if test $ac_cv_sys_file_offset_bits = unknown; then
12084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12085
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12086
if test "${ac_cv_sys_large_files+set}" = set; then :
12087
$as_echo_n "(cached) " >&6
12090
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12091
/* end confdefs.h. */
12092
#include <sys/types.h>
12093
/* Check that off_t can represent 2**63 - 1 correctly.
12094
We can't simply define LARGE_OFF_T to be 9223372036854775807,
12095
since some C++ compilers masquerading as C compilers
12096
incorrectly reject 9223372036854775807. */
12097
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12098
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12099
&& LARGE_OFF_T % 2147483647 == 1)
12109
if ac_fn_c_try_compile "$LINENO"; then :
12110
ac_cv_sys_large_files=no; break
12112
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12113
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114
/* end confdefs.h. */
12115
#define _LARGE_FILES 1
12116
#include <sys/types.h>
12117
/* Check that off_t can represent 2**63 - 1 correctly.
12118
We can't simply define LARGE_OFF_T to be 9223372036854775807,
12119
since some C++ compilers masquerading as C compilers
12120
incorrectly reject 9223372036854775807. */
12121
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12122
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12123
&& LARGE_OFF_T % 2147483647 == 1)
12133
if ac_fn_c_try_compile "$LINENO"; then :
12134
ac_cv_sys_large_files=1; break
12136
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12137
ac_cv_sys_large_files=unknown
12141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12142
$as_echo "$ac_cv_sys_large_files" >&6; }
12143
case $ac_cv_sys_large_files in #(
12146
cat >>confdefs.h <<_ACEOF
12147
#define _LARGE_FILES $ac_cv_sys_large_files
12168
CAIRO_VERSION_MAJOR=1
12169
CAIRO_VERSION_MINOR=10
12170
CAIRO_VERSION_MICRO=2
12171
CAIRO_VERSION_SONUM=2
12172
CAIRO_RELEASE_STATUS=release
12173
CAIRO_LIBTOOL_VERSION_INFO=11002:2:11000
12181
# Extract the first word of "find", so it can be a program name with args.
12182
set dummy find; ac_word=$2
12183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12184
$as_echo_n "checking for $ac_word... " >&6; }
12185
if test "${ac_cv_path_FIND+set}" = set; then :
12186
$as_echo_n "(cached) " >&6
12190
ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
12193
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194
for as_dir in $PATH
12197
test -z "$as_dir" && as_dir=.
12198
for ac_exec_ext in '' $ac_executable_extensions; do
12199
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12200
ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
12201
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12211
FIND=$ac_cv_path_FIND
12212
if test -n "$FIND"; then
12213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
12214
$as_echo "$FIND" >&6; }
12216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12217
$as_echo "no" >&6; }
12221
# Extract the first word of "xargs", so it can be a program name with args.
12222
set dummy xargs; ac_word=$2
12223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12224
$as_echo_n "checking for $ac_word... " >&6; }
12225
if test "${ac_cv_path_XARGS+set}" = set; then :
12226
$as_echo_n "(cached) " >&6
12230
ac_cv_path_XARGS="$XARGS" # Let the user override the test with a path.
12233
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12234
for as_dir in $PATH
12237
test -z "$as_dir" && as_dir=.
12238
for ac_exec_ext in '' $ac_executable_extensions; do
12239
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12240
ac_cv_path_XARGS="$as_dir/$ac_word$ac_exec_ext"
12241
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12251
XARGS=$ac_cv_path_XARGS
12252
if test -n "$XARGS"; then
12253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XARGS" >&5
12254
$as_echo "$XARGS" >&6; }
12256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12257
$as_echo "no" >&6; }
12263
ac_cpp='$CPP $CPPFLAGS'
12264
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12265
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12266
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12267
if test -n "$ac_tool_prefix"; then
12268
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12269
set dummy ${ac_tool_prefix}gcc; ac_word=$2
12270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12271
$as_echo_n "checking for $ac_word... " >&6; }
12272
if test "${ac_cv_prog_CC+set}" = set; then :
12273
$as_echo_n "(cached) " >&6
12275
if test -n "$CC"; then
12276
ac_cv_prog_CC="$CC" # Let the user override the test.
12278
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12279
for as_dir in $PATH
12282
test -z "$as_dir" && as_dir=.
12283
for ac_exec_ext in '' $ac_executable_extensions; do
12284
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12285
ac_cv_prog_CC="${ac_tool_prefix}gcc"
12286
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12296
if test -n "$CC"; then
12297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12298
$as_echo "$CC" >&6; }
12300
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12301
$as_echo "no" >&6; }
12306
if test -z "$ac_cv_prog_CC"; then
12308
# Extract the first word of "gcc", so it can be a program name with args.
12309
set dummy gcc; ac_word=$2
12310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12311
$as_echo_n "checking for $ac_word... " >&6; }
12312
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12313
$as_echo_n "(cached) " >&6
12315
if test -n "$ac_ct_CC"; then
12316
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12319
for as_dir in $PATH
12322
test -z "$as_dir" && as_dir=.
12323
for ac_exec_ext in '' $ac_executable_extensions; do
12324
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12325
ac_cv_prog_ac_ct_CC="gcc"
12326
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12335
ac_ct_CC=$ac_cv_prog_ac_ct_CC
12336
if test -n "$ac_ct_CC"; then
12337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12338
$as_echo "$ac_ct_CC" >&6; }
12340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12341
$as_echo "no" >&6; }
12344
if test "x$ac_ct_CC" = x; then
12347
case $cross_compiling:$ac_tool_warned in
12349
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12350
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12351
ac_tool_warned=yes ;;
12356
CC="$ac_cv_prog_CC"
12359
if test -z "$CC"; then
12360
if test -n "$ac_tool_prefix"; then
12361
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12362
set dummy ${ac_tool_prefix}cc; ac_word=$2
12363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12364
$as_echo_n "checking for $ac_word... " >&6; }
12365
if test "${ac_cv_prog_CC+set}" = set; then :
12366
$as_echo_n "(cached) " >&6
12368
if test -n "$CC"; then
12369
ac_cv_prog_CC="$CC" # Let the user override the test.
12371
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12372
for as_dir in $PATH
12375
test -z "$as_dir" && as_dir=.
12376
for ac_exec_ext in '' $ac_executable_extensions; do
12377
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12378
ac_cv_prog_CC="${ac_tool_prefix}cc"
12379
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12389
if test -n "$CC"; then
12390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12391
$as_echo "$CC" >&6; }
12393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394
$as_echo "no" >&6; }
12400
if test -z "$CC"; then
12401
# Extract the first word of "cc", so it can be a program name with args.
12402
set dummy cc; ac_word=$2
12403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12404
$as_echo_n "checking for $ac_word... " >&6; }
12405
if test "${ac_cv_prog_CC+set}" = set; then :
12406
$as_echo_n "(cached) " >&6
12408
if test -n "$CC"; then
12409
ac_cv_prog_CC="$CC" # Let the user override the test.
12411
ac_prog_rejected=no
12412
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12413
for as_dir in $PATH
12416
test -z "$as_dir" && as_dir=.
12417
for ac_exec_ext in '' $ac_executable_extensions; do
12418
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12419
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12420
ac_prog_rejected=yes
12424
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12431
if test $ac_prog_rejected = yes; then
12432
# We found a bogon in the path, so make sure we never use it.
12433
set dummy $ac_cv_prog_CC
12435
if test $# != 0; then
12436
# We chose a different compiler from the bogus one.
12437
# However, it has the same basename, so the bogon will be chosen
12438
# first if we set CC to just the basename; use the full file name.
12440
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12446
if test -n "$CC"; then
12447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12448
$as_echo "$CC" >&6; }
12450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12451
$as_echo "no" >&6; }
12456
if test -z "$CC"; then
12457
if test -n "$ac_tool_prefix"; then
12458
for ac_prog in cl.exe
12460
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12461
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12463
$as_echo_n "checking for $ac_word... " >&6; }
12464
if test "${ac_cv_prog_CC+set}" = set; then :
12465
$as_echo_n "(cached) " >&6
12467
if test -n "$CC"; then
12468
ac_cv_prog_CC="$CC" # Let the user override the test.
12470
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12471
for as_dir in $PATH
12474
test -z "$as_dir" && as_dir=.
12475
for ac_exec_ext in '' $ac_executable_extensions; do
12476
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12477
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12478
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12488
if test -n "$CC"; then
12489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12490
$as_echo "$CC" >&6; }
12492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493
$as_echo "no" >&6; }
12497
test -n "$CC" && break
12500
if test -z "$CC"; then
12502
for ac_prog in cl.exe
12504
# Extract the first word of "$ac_prog", so it can be a program name with args.
12505
set dummy $ac_prog; ac_word=$2
12506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12507
$as_echo_n "checking for $ac_word... " >&6; }
12508
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12509
$as_echo_n "(cached) " >&6
12511
if test -n "$ac_ct_CC"; then
12512
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12514
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12515
for as_dir in $PATH
12518
test -z "$as_dir" && as_dir=.
12519
for ac_exec_ext in '' $ac_executable_extensions; do
12520
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12521
ac_cv_prog_ac_ct_CC="$ac_prog"
12522
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12531
ac_ct_CC=$ac_cv_prog_ac_ct_CC
12532
if test -n "$ac_ct_CC"; then
12533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12534
$as_echo "$ac_ct_CC" >&6; }
12536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12537
$as_echo "no" >&6; }
12541
test -n "$ac_ct_CC" && break
12544
if test "x$ac_ct_CC" = x; then
12547
case $cross_compiling:$ac_tool_warned in
12549
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12550
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12551
ac_tool_warned=yes ;;
12560
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12561
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12562
as_fn_error $? "no acceptable C compiler found in \$PATH
12563
See \`config.log' for more details" "$LINENO" 5 ; }
12565
# Provide some information about the compiler.
12566
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12569
for ac_option in --version -v -V -qversion; do
12570
{ { ac_try="$ac_compiler $ac_option >&5"
12571
case "(($ac_try" in
12572
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12573
*) ac_try_echo=$ac_try;;
12575
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12576
$as_echo "$ac_try_echo"; } >&5
12577
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
12579
if test -s conftest.err; then
12581
... rest of stderr output deleted ...
12582
10q' conftest.err >conftest.er1
12583
cat conftest.er1 >&5
12585
rm -f conftest.er1 conftest.err
12586
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12587
test $ac_status = 0; }
12590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12591
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12592
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12593
$as_echo_n "(cached) " >&6
12595
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596
/* end confdefs.h. */
12609
if ac_fn_c_try_compile "$LINENO"; then :
12610
ac_compiler_gnu=yes
12614
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12615
ac_cv_c_compiler_gnu=$ac_compiler_gnu
12618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12619
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12620
if test $ac_compiler_gnu = yes; then
12625
ac_test_CFLAGS=${CFLAGS+set}
12626
ac_save_CFLAGS=$CFLAGS
12627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12628
$as_echo_n "checking whether $CC accepts -g... " >&6; }
12629
if test "${ac_cv_prog_cc_g+set}" = set; then :
12630
$as_echo_n "(cached) " >&6
12632
ac_save_c_werror_flag=$ac_c_werror_flag
12633
ac_c_werror_flag=yes
12636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637
/* end confdefs.h. */
12647
if ac_fn_c_try_compile "$LINENO"; then :
12648
ac_cv_prog_cc_g=yes
12651
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12652
/* end confdefs.h. */
12662
if ac_fn_c_try_compile "$LINENO"; then :
12665
ac_c_werror_flag=$ac_save_c_werror_flag
12667
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668
/* end confdefs.h. */
12678
if ac_fn_c_try_compile "$LINENO"; then :
12679
ac_cv_prog_cc_g=yes
12681
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12683
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12685
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12686
ac_c_werror_flag=$ac_save_c_werror_flag
12688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12689
$as_echo "$ac_cv_prog_cc_g" >&6; }
12690
if test "$ac_test_CFLAGS" = set; then
12691
CFLAGS=$ac_save_CFLAGS
12692
elif test $ac_cv_prog_cc_g = yes; then
12693
if test "$GCC" = yes; then
12699
if test "$GCC" = yes; then
12705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12706
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12707
if test "${ac_cv_prog_cc_c89+set}" = set; then :
12708
$as_echo_n "(cached) " >&6
12710
ac_cv_prog_cc_c89=no
12712
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713
/* end confdefs.h. */
12714
#include <stdarg.h>
12716
#include <sys/types.h>
12717
#include <sys/stat.h>
12718
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12719
struct buf { int x; };
12720
FILE * (*rcsopen) (struct buf *, struct stat *, int);
12721
static char *e (p, i)
12727
static char *f (char * (*g) (char **, int), char **p, ...)
12732
s = g (p, va_arg (v,int));
12737
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12738
function prototypes and stuff, but not '\xHH' hex character constants.
12739
These don't provoke an error unfortunately, instead are silently treated
12740
as 'x'. The following induces an error, until -std is added to get
12741
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12742
array size at least. It's necessary to write '\x00'==0 to get something
12743
that's true only with -std. */
12744
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12746
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12747
inside strings and character constants. */
12749
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12751
int test (int i, double x);
12752
struct s1 {int (*f) (int a);};
12753
struct s2 {int (*f) (double a);};
12754
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12760
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12765
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12766
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12768
CC="$ac_save_CC $ac_arg"
12769
if ac_fn_c_try_compile "$LINENO"; then :
12770
ac_cv_prog_cc_c89=$ac_arg
12772
rm -f core conftest.err conftest.$ac_objext
12773
test "x$ac_cv_prog_cc_c89" != "xno" && break
12775
rm -f conftest.$ac_ext
12780
case "x$ac_cv_prog_cc_c89" in
12782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12783
$as_echo "none needed" >&6; } ;;
12785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12786
$as_echo "unsupported" >&6; } ;;
12788
CC="$CC $ac_cv_prog_cc_c89"
12789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12790
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12792
if test "x$ac_cv_prog_cc_c89" != xno; then :
12797
ac_cpp='$CPP $CPPFLAGS'
12798
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12799
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12800
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12803
ac_cpp='$CPP $CPPFLAGS'
12804
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12805
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12806
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12808
$as_echo_n "checking how to run the C preprocessor... " >&6; }
12809
# On Suns, sometimes $CPP names a directory.
12810
if test -n "$CPP" && test -d "$CPP"; then
12813
if test -z "$CPP"; then
12814
if test "${ac_cv_prog_CPP+set}" = set; then :
12815
$as_echo_n "(cached) " >&6
12817
# Double quotes because CPP needs to be expanded
12818
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12820
ac_preproc_ok=false
12821
for ac_c_preproc_warn_flag in '' yes
12823
# Use a header file that comes with gcc, so configuring glibc
12824
# with a fresh cross-compiler works.
12825
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12826
# <limits.h> exists even on freestanding compilers.
12827
# On the NeXT, cc -E runs the code through the compiler's parser,
12828
# not just through cpp. "Syntax error" is here to catch this case.
12829
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830
/* end confdefs.h. */
12832
# include <limits.h>
12834
# include <assert.h>
12838
if ac_fn_c_try_cpp "$LINENO"; then :
12841
# Broken: fails on valid input.
12844
rm -f conftest.err conftest.i conftest.$ac_ext
12846
# OK, works on sane cases. Now check whether nonexistent headers
12847
# can be detected and how.
12848
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849
/* end confdefs.h. */
12850
#include <ac_nonexistent.h>
12852
if ac_fn_c_try_cpp "$LINENO"; then :
12853
# Broken: success on invalid input.
12856
# Passes both tests.
12860
rm -f conftest.err conftest.i conftest.$ac_ext
12863
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12864
rm -f conftest.i conftest.err conftest.$ac_ext
12865
if $ac_preproc_ok; then :
12870
ac_cv_prog_CPP=$CPP
12873
CPP=$ac_cv_prog_CPP
12875
ac_cv_prog_CPP=$CPP
12877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12878
$as_echo "$CPP" >&6; }
12879
ac_preproc_ok=false
12880
for ac_c_preproc_warn_flag in '' yes
12882
# Use a header file that comes with gcc, so configuring glibc
12883
# with a fresh cross-compiler works.
12884
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12885
# <limits.h> exists even on freestanding compilers.
12886
# On the NeXT, cc -E runs the code through the compiler's parser,
12887
# not just through cpp. "Syntax error" is here to catch this case.
12888
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12889
/* end confdefs.h. */
12891
# include <limits.h>
12893
# include <assert.h>
12897
if ac_fn_c_try_cpp "$LINENO"; then :
12900
# Broken: fails on valid input.
12903
rm -f conftest.err conftest.i conftest.$ac_ext
12905
# OK, works on sane cases. Now check whether nonexistent headers
12906
# can be detected and how.
12907
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908
/* end confdefs.h. */
12909
#include <ac_nonexistent.h>
12911
if ac_fn_c_try_cpp "$LINENO"; then :
12912
# Broken: success on invalid input.
12915
# Passes both tests.
12919
rm -f conftest.err conftest.i conftest.$ac_ext
12922
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12923
rm -f conftest.i conftest.err conftest.$ac_ext
12924
if $ac_preproc_ok; then :
12927
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12928
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12929
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
12930
See \`config.log' for more details" "$LINENO" 5 ; }
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='$CXXCPP $CPPFLAGS'
12941
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12944
if test -z "$CXX"; then
12945
if test -n "$CCC"; then
12948
if test -n "$ac_tool_prefix"; then
12949
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12951
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12952
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12954
$as_echo_n "checking for $ac_word... " >&6; }
12955
if test "${ac_cv_prog_CXX+set}" = set; then :
12956
$as_echo_n "(cached) " >&6
12958
if test -n "$CXX"; then
12959
ac_cv_prog_CXX="$CXX" # Let the user override the test.
12961
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12962
for as_dir in $PATH
12965
test -z "$as_dir" && as_dir=.
12966
for ac_exec_ext in '' $ac_executable_extensions; do
12967
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12968
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12969
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12978
CXX=$ac_cv_prog_CXX
12979
if test -n "$CXX"; then
12980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12981
$as_echo "$CXX" >&6; }
12983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12984
$as_echo "no" >&6; }
12988
test -n "$CXX" && break
12991
if test -z "$CXX"; then
12993
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12995
# Extract the first word of "$ac_prog", so it can be a program name with args.
12996
set dummy $ac_prog; ac_word=$2
12997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12998
$as_echo_n "checking for $ac_word... " >&6; }
12999
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13000
$as_echo_n "(cached) " >&6
13002
if test -n "$ac_ct_CXX"; then
13003
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13005
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13006
for as_dir in $PATH
13009
test -z "$as_dir" && as_dir=.
13010
for ac_exec_ext in '' $ac_executable_extensions; do
13011
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13012
ac_cv_prog_ac_ct_CXX="$ac_prog"
13013
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13022
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13023
if test -n "$ac_ct_CXX"; then
13024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13025
$as_echo "$ac_ct_CXX" >&6; }
13027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028
$as_echo "no" >&6; }
13032
test -n "$ac_ct_CXX" && break
13035
if test "x$ac_ct_CXX" = x; then
13038
case $cross_compiling:$ac_tool_warned in
13040
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13041
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13042
ac_tool_warned=yes ;;
13050
# Provide some information about the compiler.
13051
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13054
for ac_option in --version -v -V -qversion; do
13055
{ { ac_try="$ac_compiler $ac_option >&5"
13056
case "(($ac_try" in
13057
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13058
*) ac_try_echo=$ac_try;;
13060
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13061
$as_echo "$ac_try_echo"; } >&5
13062
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
13064
if test -s conftest.err; then
13066
... rest of stderr output deleted ...
13067
10q' conftest.err >conftest.er1
13068
cat conftest.er1 >&5
13070
rm -f conftest.er1 conftest.err
13071
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13072
test $ac_status = 0; }
13075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13076
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13077
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13078
$as_echo_n "(cached) " >&6
13080
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13081
/* end confdefs.h. */
13094
if ac_fn_cxx_try_compile "$LINENO"; then :
13095
ac_compiler_gnu=yes
13099
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13100
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13104
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13105
if test $ac_compiler_gnu = yes; then
13110
ac_test_CXXFLAGS=${CXXFLAGS+set}
13111
ac_save_CXXFLAGS=$CXXFLAGS
13112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13113
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13114
if test "${ac_cv_prog_cxx_g+set}" = set; then :
13115
$as_echo_n "(cached) " >&6
13117
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13118
ac_cxx_werror_flag=yes
13119
ac_cv_prog_cxx_g=no
13121
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122
/* end confdefs.h. */
13132
if ac_fn_cxx_try_compile "$LINENO"; then :
13133
ac_cv_prog_cxx_g=yes
13136
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13137
/* end confdefs.h. */
13147
if ac_fn_cxx_try_compile "$LINENO"; then :
13150
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13152
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153
/* end confdefs.h. */
13163
if ac_fn_cxx_try_compile "$LINENO"; then :
13164
ac_cv_prog_cxx_g=yes
13166
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13168
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13170
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13171
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13174
$as_echo "$ac_cv_prog_cxx_g" >&6; }
13175
if test "$ac_test_CXXFLAGS" = set; then
13176
CXXFLAGS=$ac_save_CXXFLAGS
13177
elif test $ac_cv_prog_cxx_g = yes; then
13178
if test "$GXX" = yes; then
13184
if test "$GXX" = yes; then
13191
ac_cpp='$CPP $CPPFLAGS'
13192
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13193
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13194
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13196
depcc="$CXX" am_compiler_list=
13198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13199
$as_echo_n "checking dependency style of $depcc... " >&6; }
13200
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13201
$as_echo_n "(cached) " >&6
13203
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13204
# We make a subdir and do the tests there. Otherwise we can end up
13205
# making bogus files that we don't know about and never remove. For
13206
# instance it was reported that on HP-UX the gcc test will end up
13207
# making a dummy file named `D' -- because `-MD' means `put the output
13210
# Copy depcomp to subdir because otherwise we won't find it if we're
13211
# using a relative directory.
13212
cp "$am_depcomp" conftest.dir
13214
# We will build objects and dependencies in a subdirectory because
13215
# it helps to detect inapplicable dependency modes. For instance
13216
# both Tru64's cc and ICC support -MD to output dependencies as a
13217
# side effect of compilation, but ICC will put the dependencies in
13218
# the current directory while Tru64 will put them in the object
13222
am_cv_CXX_dependencies_compiler_type=none
13223
if test "$am_compiler_list" = ""; then
13224
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13226
am__universal=false
13227
case " $depcc " in #(
13228
*\ -arch\ *\ -arch\ *) am__universal=true ;;
13231
for depmode in $am_compiler_list; do
13232
# Setup a source with many dependencies, because some compilers
13233
# like to wrap large dependency lists on column 80 (with \), and
13234
# we should not choose a depcomp mode which is confused by this.
13236
# We need to recreate these files for each test, as the compiler may
13237
# overwrite some of them when testing with obscure command lines.
13238
# This happens at least with the AIX C compiler.
13240
for i in 1 2 3 4 5 6; do
13241
echo '#include "conftst'$i'.h"' >> sub/conftest.c
13242
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13243
# Solaris 8's {/usr,}/bin/sh.
13244
touch sub/conftst$i.h
13246
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13248
# We check with `-c' and `-o' for the sake of the "dashmstdout"
13249
# mode. It turns out that the SunPro C++ compiler does not properly
13250
# handle `-M -o', and we need to detect this. Also, some Intel
13251
# versions had trouble with output in subdirs
13252
am__obj=sub/conftest.${OBJEXT-o}
13253
am__minus_obj="-o $am__obj"
13256
# This depmode causes a compiler race in universal mode.
13257
test "$am__universal" = false || continue
13260
# after this tag, mechanisms are not by side-effect, so they'll
13261
# only be used when explicitly requested
13262
if test "x$enable_dependency_tracking" = xyes; then
13268
msvisualcpp | msvcmsys)
13269
# This compiler won't grok `-c -o', but also, the minuso test has
13270
# not run yet. These depmodes are late enough in the game, and
13271
# so weak that their functioning should not be impacted.
13272
am__obj=conftest.${OBJEXT-o}
13277
if depmode=$depmode \
13278
source=sub/conftest.c object=$am__obj \
13279
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13280
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13281
>/dev/null 2>conftest.err &&
13282
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13283
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13284
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13285
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13286
# icc doesn't choke on unknown options, it will just issue warnings
13287
# or remarks (even with -Werror). So we grep stderr for any message
13288
# that says an option was ignored or not supported.
13289
# When given -MP, icc 7.0 and 7.1 complain thusly:
13290
# icc: Command line warning: ignoring option '-M'; no argument required
13291
# The diagnosis changed in icc 8.0:
13292
# icc: Command line remark: option '-MP' not supported
13293
if (grep 'ignoring option' conftest.err ||
13294
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13295
am_cv_CXX_dependencies_compiler_type=$depmode
13302
rm -rf conftest.dir
13304
am_cv_CXX_dependencies_compiler_type=none
13308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13309
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13310
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13313
test "x$enable_dependency_tracking" != xno \
13314
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13315
am__fastdepCXX_TRUE=
13316
am__fastdepCXX_FALSE='#'
13318
am__fastdepCXX_TRUE='#'
13319
am__fastdepCXX_FALSE=
13325
ac_cpp='$CXXCPP $CPPFLAGS'
13326
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13327
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13328
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13329
if test -z "$CXX"; then
13330
if test -n "$CCC"; then
13333
if test -n "$ac_tool_prefix"; then
13334
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13336
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13337
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13339
$as_echo_n "checking for $ac_word... " >&6; }
13340
if test "${ac_cv_prog_CXX+set}" = set; then :
13341
$as_echo_n "(cached) " >&6
13343
if test -n "$CXX"; then
13344
ac_cv_prog_CXX="$CXX" # Let the user override the test.
13346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13347
for as_dir in $PATH
13350
test -z "$as_dir" && as_dir=.
13351
for ac_exec_ext in '' $ac_executable_extensions; do
13352
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13353
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13354
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13363
CXX=$ac_cv_prog_CXX
13364
if test -n "$CXX"; then
13365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13366
$as_echo "$CXX" >&6; }
13368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13369
$as_echo "no" >&6; }
13373
test -n "$CXX" && break
13376
if test -z "$CXX"; then
13378
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13380
# Extract the first word of "$ac_prog", so it can be a program name with args.
13381
set dummy $ac_prog; ac_word=$2
13382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13383
$as_echo_n "checking for $ac_word... " >&6; }
13384
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13385
$as_echo_n "(cached) " >&6
13387
if test -n "$ac_ct_CXX"; then
13388
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13390
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13391
for as_dir in $PATH
13394
test -z "$as_dir" && as_dir=.
13395
for ac_exec_ext in '' $ac_executable_extensions; do
13396
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13397
ac_cv_prog_ac_ct_CXX="$ac_prog"
13398
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13407
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13408
if test -n "$ac_ct_CXX"; then
13409
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13410
$as_echo "$ac_ct_CXX" >&6; }
13412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13413
$as_echo "no" >&6; }
13417
test -n "$ac_ct_CXX" && break
13420
if test "x$ac_ct_CXX" = x; then
13423
case $cross_compiling:$ac_tool_warned in
13425
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13426
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13427
ac_tool_warned=yes ;;
13435
# Provide some information about the compiler.
13436
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13439
for ac_option in --version -v -V -qversion; do
13440
{ { ac_try="$ac_compiler $ac_option >&5"
13441
case "(($ac_try" in
13442
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13443
*) ac_try_echo=$ac_try;;
13445
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13446
$as_echo "$ac_try_echo"; } >&5
13447
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
13449
if test -s conftest.err; then
13451
... rest of stderr output deleted ...
13452
10q' conftest.err >conftest.er1
13453
cat conftest.er1 >&5
13455
rm -f conftest.er1 conftest.err
13456
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13457
test $ac_status = 0; }
13460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13461
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13462
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13463
$as_echo_n "(cached) " >&6
13465
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13466
/* end confdefs.h. */
13479
if ac_fn_cxx_try_compile "$LINENO"; then :
13480
ac_compiler_gnu=yes
13484
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13485
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13489
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13490
if test $ac_compiler_gnu = yes; then
13495
ac_test_CXXFLAGS=${CXXFLAGS+set}
13496
ac_save_CXXFLAGS=$CXXFLAGS
13497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13498
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13499
if test "${ac_cv_prog_cxx_g+set}" = set; then :
13500
$as_echo_n "(cached) " >&6
13502
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13503
ac_cxx_werror_flag=yes
13504
ac_cv_prog_cxx_g=no
13506
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13507
/* end confdefs.h. */
13517
if ac_fn_cxx_try_compile "$LINENO"; then :
13518
ac_cv_prog_cxx_g=yes
13521
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13522
/* end confdefs.h. */
13532
if ac_fn_cxx_try_compile "$LINENO"; then :
13535
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13537
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538
/* end confdefs.h. */
13548
if ac_fn_cxx_try_compile "$LINENO"; then :
13549
ac_cv_prog_cxx_g=yes
13551
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13553
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13555
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13556
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13559
$as_echo "$ac_cv_prog_cxx_g" >&6; }
13560
if test "$ac_test_CXXFLAGS" = set; then
13561
CXXFLAGS=$ac_save_CXXFLAGS
13562
elif test $ac_cv_prog_cxx_g = yes; then
13563
if test "$GXX" = yes; then
13569
if test "$GXX" = yes; then
13576
ac_cpp='$CPP $CPPFLAGS'
13577
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13578
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13579
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13581
depcc="$CXX" am_compiler_list=
13583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13584
$as_echo_n "checking dependency style of $depcc... " >&6; }
13585
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13586
$as_echo_n "(cached) " >&6
13588
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13589
# We make a subdir and do the tests there. Otherwise we can end up
13590
# making bogus files that we don't know about and never remove. For
13591
# instance it was reported that on HP-UX the gcc test will end up
13592
# making a dummy file named `D' -- because `-MD' means `put the output
13595
# Copy depcomp to subdir because otherwise we won't find it if we're
13596
# using a relative directory.
13597
cp "$am_depcomp" conftest.dir
13599
# We will build objects and dependencies in a subdirectory because
13600
# it helps to detect inapplicable dependency modes. For instance
13601
# both Tru64's cc and ICC support -MD to output dependencies as a
13602
# side effect of compilation, but ICC will put the dependencies in
13603
# the current directory while Tru64 will put them in the object
13607
am_cv_CXX_dependencies_compiler_type=none
13608
if test "$am_compiler_list" = ""; then
13609
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13611
am__universal=false
13612
case " $depcc " in #(
13613
*\ -arch\ *\ -arch\ *) am__universal=true ;;
13616
for depmode in $am_compiler_list; do
13617
# Setup a source with many dependencies, because some compilers
13618
# like to wrap large dependency lists on column 80 (with \), and
13619
# we should not choose a depcomp mode which is confused by this.
13621
# We need to recreate these files for each test, as the compiler may
13622
# overwrite some of them when testing with obscure command lines.
13623
# This happens at least with the AIX C compiler.
13625
for i in 1 2 3 4 5 6; do
13626
echo '#include "conftst'$i'.h"' >> sub/conftest.c
13627
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13628
# Solaris 8's {/usr,}/bin/sh.
13629
touch sub/conftst$i.h
13631
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13633
# We check with `-c' and `-o' for the sake of the "dashmstdout"
13634
# mode. It turns out that the SunPro C++ compiler does not properly
13635
# handle `-M -o', and we need to detect this. Also, some Intel
13636
# versions had trouble with output in subdirs
13637
am__obj=sub/conftest.${OBJEXT-o}
13638
am__minus_obj="-o $am__obj"
13641
# This depmode causes a compiler race in universal mode.
13642
test "$am__universal" = false || continue
13645
# after this tag, mechanisms are not by side-effect, so they'll
13646
# only be used when explicitly requested
13647
if test "x$enable_dependency_tracking" = xyes; then
13653
msvisualcpp | msvcmsys)
13654
# This compiler won't grok `-c -o', but also, the minuso test has
13655
# not run yet. These depmodes are late enough in the game, and
13656
# so weak that their functioning should not be impacted.
13657
am__obj=conftest.${OBJEXT-o}
13662
if depmode=$depmode \
13663
source=sub/conftest.c object=$am__obj \
13664
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13665
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13666
>/dev/null 2>conftest.err &&
13667
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13668
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13669
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13670
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13671
# icc doesn't choke on unknown options, it will just issue warnings
13672
# or remarks (even with -Werror). So we grep stderr for any message
13673
# that says an option was ignored or not supported.
13674
# When given -MP, icc 7.0 and 7.1 complain thusly:
13675
# icc: Command line warning: ignoring option '-M'; no argument required
13676
# The diagnosis changed in icc 8.0:
13677
# icc: Command line remark: option '-MP' not supported
13678
if (grep 'ignoring option' conftest.err ||
13679
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13680
am_cv_CXX_dependencies_compiler_type=$depmode
13687
rm -rf conftest.dir
13689
am_cv_CXX_dependencies_compiler_type=none
13693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13694
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13695
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13698
test "x$enable_dependency_tracking" != xno \
13699
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13700
am__fastdepCXX_TRUE=
13701
am__fastdepCXX_FALSE='#'
13703
am__fastdepCXX_TRUE='#'
13704
am__fastdepCXX_FALSE=
13708
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13709
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13710
(test "X$CXX" != "Xg++"))) ; then
13712
ac_cpp='$CXXCPP $CPPFLAGS'
13713
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13714
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13715
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13717
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13718
if test -z "$CXXCPP"; then
13719
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13720
$as_echo_n "(cached) " >&6
13722
# Double quotes because CXXCPP needs to be expanded
13723
for CXXCPP in "$CXX -E" "/lib/cpp"
13725
ac_preproc_ok=false
13726
for ac_cxx_preproc_warn_flag in '' yes
13728
# Use a header file that comes with gcc, so configuring glibc
13729
# with a fresh cross-compiler works.
13730
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13731
# <limits.h> exists even on freestanding compilers.
13732
# On the NeXT, cc -E runs the code through the compiler's parser,
13733
# not just through cpp. "Syntax error" is here to catch this case.
13734
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13735
/* end confdefs.h. */
13737
# include <limits.h>
13739
# include <assert.h>
13743
if ac_fn_cxx_try_cpp "$LINENO"; then :
13746
# Broken: fails on valid input.
13749
rm -f conftest.err conftest.i conftest.$ac_ext
13751
# OK, works on sane cases. Now check whether nonexistent headers
13752
# can be detected and how.
13753
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13754
/* end confdefs.h. */
13755
#include <ac_nonexistent.h>
13757
if ac_fn_cxx_try_cpp "$LINENO"; then :
13758
# Broken: success on invalid input.
13761
# Passes both tests.
13765
rm -f conftest.err conftest.i conftest.$ac_ext
13768
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13769
rm -f conftest.i conftest.err conftest.$ac_ext
13770
if $ac_preproc_ok; then :
13775
ac_cv_prog_CXXCPP=$CXXCPP
13778
CXXCPP=$ac_cv_prog_CXXCPP
13780
ac_cv_prog_CXXCPP=$CXXCPP
13782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13783
$as_echo "$CXXCPP" >&6; }
13784
ac_preproc_ok=false
13785
for ac_cxx_preproc_warn_flag in '' yes
13787
# Use a header file that comes with gcc, so configuring glibc
13788
# with a fresh cross-compiler works.
13789
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13790
# <limits.h> exists even on freestanding compilers.
13791
# On the NeXT, cc -E runs the code through the compiler's parser,
13792
# not just through cpp. "Syntax error" is here to catch this case.
13793
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794
/* end confdefs.h. */
13796
# include <limits.h>
13798
# include <assert.h>
13802
if ac_fn_cxx_try_cpp "$LINENO"; then :
13805
# Broken: fails on valid input.
13808
rm -f conftest.err conftest.i conftest.$ac_ext
13810
# OK, works on sane cases. Now check whether nonexistent headers
13811
# can be detected and how.
13812
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813
/* end confdefs.h. */
13814
#include <ac_nonexistent.h>
13816
if ac_fn_cxx_try_cpp "$LINENO"; then :
13817
# Broken: success on invalid input.
13820
# Passes both tests.
13824
rm -f conftest.err conftest.i conftest.$ac_ext
13827
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13828
rm -f conftest.i conftest.err conftest.$ac_ext
13829
if $ac_preproc_ok; then :
13832
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13833
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13834
_lt_caught_CXX_error=yes; }
13838
ac_cpp='$CPP $CPPFLAGS'
13839
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13840
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13841
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13844
_lt_caught_CXX_error=yes
13851
ac_cpp='$CXXCPP $CPPFLAGS'
13852
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13853
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13854
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13856
archive_cmds_need_lc_CXX=no
13857
allow_undefined_flag_CXX=
13858
always_export_symbols_CXX=no
13859
archive_expsym_cmds_CXX=
13860
compiler_needs_object_CXX=no
13861
export_dynamic_flag_spec_CXX=
13862
hardcode_direct_CXX=no
13863
hardcode_direct_absolute_CXX=no
13864
hardcode_libdir_flag_spec_CXX=
13865
hardcode_libdir_flag_spec_ld_CXX=
13866
hardcode_libdir_separator_CXX=
13867
hardcode_minus_L_CXX=no
13868
hardcode_shlibpath_var_CXX=unsupported
13869
hardcode_automatic_CXX=no
13870
inherit_rpath_CXX=no
13872
module_expsym_cmds_CXX=
13873
link_all_deplibs_CXX=unknown
13874
old_archive_cmds_CXX=$old_archive_cmds
13875
no_undefined_flag_CXX=
13876
whole_archive_flag_spec_CXX=
13877
enable_shared_with_static_runtimes_CXX=no
13879
# Source file extension for C++ test sources.
13882
# Object file extension for compiled C++ test sources.
13886
# No sense in running all these tests if we already determined that
13887
# the CXX compiler isn't working. Some variables (like enable_shared)
13888
# are currently assumed to apply to all compilers on this platform,
13889
# and will be corrupted by setting them based on a non-working compiler.
13890
if test "$_lt_caught_CXX_error" != yes; then
13891
# Code to be used in simple compile tests
13892
lt_simple_compile_test_code="int some_variable = 0;"
13894
# Code to be used in simple link tests
13895
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13897
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13904
# If no C compiler was specified, use CC.
13907
# If no C compiler flags were specified, use CFLAGS.
13908
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13910
# Allow CC to be a program name with arguments.
13914
# save warnings/boilerplate of simple test code
13915
ac_outfile=conftest.$ac_objext
13916
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13917
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13918
_lt_compiler_boilerplate=`cat conftest.err`
13921
ac_outfile=conftest.$ac_objext
13922
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13923
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13924
_lt_linker_boilerplate=`cat conftest.err`
13928
# Allow CC to be a program name with arguments.
13933
lt_save_with_gnu_ld=$with_gnu_ld
13934
lt_save_path_LD=$lt_cv_path_LD
13935
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13936
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13938
$as_unset lt_cv_prog_gnu_ld
13940
if test -n "${lt_cv_path_LDCXX+set}"; then
13941
lt_cv_path_LD=$lt_cv_path_LDCXX
13943
$as_unset lt_cv_path_LD
13945
test -z "${LDCXX+set}" || LD=$LDCXX
13949
for cc_temp in $compiler""; do
13951
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13952
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13957
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13960
if test -n "$compiler"; then
13961
# We don't want -fno-exception when compiling C++ code, so set the
13962
# no_builtin_flag separately
13963
if test "$GXX" = yes; then
13964
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13966
lt_prog_compiler_no_builtin_flag_CXX=
13969
if test "$GXX" = yes; then
13970
# Set up default GNU C++ configuration
13974
# Check whether --with-gnu-ld was given.
13975
if test "${with_gnu_ld+set}" = set; then :
13976
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13982
if test "$GCC" = yes; then
13983
# Check if gcc -print-prog-name=ld gives a path.
13984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13985
$as_echo_n "checking for ld used by $CC... " >&6; }
13988
# gcc leaves a trailing carriage return which upsets mingw
13989
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13991
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13994
# Accept absolute paths.
13996
re_direlt='/[^/][^/]*/\.\./'
13997
# Canonicalize the pathname of ld
13998
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13999
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14000
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14002
test -z "$LD" && LD="$ac_prog"
14005
# If it fails, then pretend we aren't using GCC.
14009
# If it is relative, then search for the first ld in PATH.
14010
with_gnu_ld=unknown
14013
elif test "$with_gnu_ld" = yes; then
14014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14015
$as_echo_n "checking for GNU ld... " >&6; }
14017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14018
$as_echo_n "checking for non-GNU ld... " >&6; }
14020
if test "${lt_cv_path_LD+set}" = set; then :
14021
$as_echo_n "(cached) " >&6
14023
if test -z "$LD"; then
14024
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14025
for ac_dir in $PATH; do
14027
test -z "$ac_dir" && ac_dir=.
14028
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14029
lt_cv_path_LD="$ac_dir/$ac_prog"
14030
# Check to see if the program is GNU ld. I'd rather use --version,
14031
# but apparently some variants of GNU ld only accept -v.
14032
# Break only if it was the GNU/non-GNU ld that we prefer.
14033
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14034
*GNU* | *'with BFD'*)
14035
test "$with_gnu_ld" != no && break
14038
test "$with_gnu_ld" != yes && break
14045
lt_cv_path_LD="$LD" # Let the user override the test with a path.
14049
LD="$lt_cv_path_LD"
14050
if test -n "$LD"; then
14051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14052
$as_echo "$LD" >&6; }
14054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14055
$as_echo "no" >&6; }
14057
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14059
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14060
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14061
$as_echo_n "(cached) " >&6
14063
# I'd rather use --version here, but apparently some GNU lds only accept -v.
14064
case `$LD -v 2>&1 </dev/null` in
14065
*GNU* | *'with BFD'*)
14066
lt_cv_prog_gnu_ld=yes
14069
lt_cv_prog_gnu_ld=no
14073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14074
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14075
with_gnu_ld=$lt_cv_prog_gnu_ld
14083
# Check if GNU C++ uses GNU ld as the underlying linker, since the
14084
# archiving commands below assume that GNU ld is being used.
14085
if test "$with_gnu_ld" = yes; then
14086
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14087
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'
14089
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14090
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14092
# If archive_cmds runs LD, not CC, wlarc should be empty
14093
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14094
# investigate it a little bit more. (MM)
14097
# ancient GNU ld didn't support --whole-archive et. al.
14098
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14099
$GREP 'no-whole-archive' > /dev/null; then
14100
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14102
whole_archive_flag_spec_CXX=
14108
# A generic and very simple default shared library creation
14109
# command for GNU C++ for the case where it uses the native
14110
# linker, instead of GNU ld. If possible, this setting should
14111
# overridden to take advantage of the native linker features on
14112
# the platform it is being used on.
14113
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14116
# Commands to make compiler produce verbose output that lists
14117
# what "hidden" libraries, object files and flags are used when
14118
# linking a shared library.
14119
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14127
# PORTME: fill in a description of your system's C++ link characteristics
14128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14129
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14133
# FIXME: insert proper C++ library support
14137
if test "$host_cpu" = ia64; then
14138
# On IA64, the linker does run time linking by default, so we don't
14139
# have to do anything special.
14140
aix_use_runtimelinking=no
14141
exp_sym_flag='-Bexport'
14144
aix_use_runtimelinking=no
14146
# Test if we are trying to use run time linking or normal
14147
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
14148
# need to do runtime linking.
14149
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14150
for ld_flag in $LDFLAGS; do
14153
aix_use_runtimelinking=yes
14161
exp_sym_flag='-bexport'
14162
no_entry_flag='-bnoentry'
14165
# When large executables or shared objects are built, AIX ld can
14166
# have problems creating the table of contents. If linking a library
14167
# or program results in "error TOC overflow" add -mminimal-toc to
14168
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14169
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14171
archive_cmds_CXX=''
14172
hardcode_direct_CXX=yes
14173
hardcode_direct_absolute_CXX=yes
14174
hardcode_libdir_separator_CXX=':'
14175
link_all_deplibs_CXX=yes
14176
file_list_spec_CXX='${wl}-f,'
14178
if test "$GXX" = yes; then
14179
case $host_os in aix4.[012]|aix4.[012].*)
14180
# We only want to do this on AIX 4.2 and lower, the check
14181
# below for broken collect2 doesn't work under 4.3+
14182
collect2name=`${CC} -print-prog-name=collect2`
14183
if test -f "$collect2name" &&
14184
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14186
# We have reworked collect2
14189
# We have old collect2
14190
hardcode_direct_CXX=unsupported
14191
# It fails to find uninstalled libraries when the uninstalled
14192
# path is not listed in the libpath. Setting hardcode_minus_L
14193
# to unsupported forces relinking
14194
hardcode_minus_L_CXX=yes
14195
hardcode_libdir_flag_spec_CXX='-L$libdir'
14196
hardcode_libdir_separator_CXX=
14199
shared_flag='-shared'
14200
if test "$aix_use_runtimelinking" = yes; then
14201
shared_flag="$shared_flag "'${wl}-G'
14205
if test "$host_cpu" = ia64; then
14206
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14207
# chokes on -Wl,-G. The following line is correct:
14210
if test "$aix_use_runtimelinking" = yes; then
14211
shared_flag='${wl}-G'
14213
shared_flag='${wl}-bM:SRE'
14218
export_dynamic_flag_spec_CXX='${wl}-bexpall'
14219
# It seems that -bexpall does not export symbols beginning with
14220
# underscore (_), so it is better to generate a list of symbols to
14222
always_export_symbols_CXX=yes
14223
if test "$aix_use_runtimelinking" = yes; then
14224
# Warning - without using the other runtime loading flags (-brtl),
14225
# -berok will link without error, but may produce a broken library.
14226
allow_undefined_flag_CXX='-berok'
14227
# Determine the default libpath from the value encoded in an empty
14229
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230
/* end confdefs.h. */
14240
if ac_fn_cxx_try_link "$LINENO"; then :
14242
lt_aix_libpath_sed='
14243
/Import File Strings/,/^$/ {
14249
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14250
# Check for a 64-bit object if we didn't find anything.
14251
if test -z "$aix_libpath"; then
14252
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14255
rm -f core conftest.err conftest.$ac_objext \
14256
conftest$ac_exeext conftest.$ac_ext
14257
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14259
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14261
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"
14263
if test "$host_cpu" = ia64; then
14264
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14265
allow_undefined_flag_CXX="-z nodefs"
14266
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"
14268
# Determine the default libpath from the value encoded in an
14269
# empty executable.
14270
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271
/* end confdefs.h. */
14281
if ac_fn_cxx_try_link "$LINENO"; then :
14283
lt_aix_libpath_sed='
14284
/Import File Strings/,/^$/ {
14290
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14291
# Check for a 64-bit object if we didn't find anything.
14292
if test -z "$aix_libpath"; then
14293
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14296
rm -f core conftest.err conftest.$ac_objext \
14297
conftest$ac_exeext conftest.$ac_ext
14298
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14300
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14301
# Warning - without using the other run time loading flags,
14302
# -berok will link without error, but may produce a broken library.
14303
no_undefined_flag_CXX=' ${wl}-bernotok'
14304
allow_undefined_flag_CXX=' ${wl}-berok'
14305
# Exported symbols can be pulled into shared objects from archives
14306
whole_archive_flag_spec_CXX='$convenience'
14307
archive_cmds_need_lc_CXX=yes
14308
# This is similar to how AIX traditionally builds its shared
14310
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'
14316
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14317
allow_undefined_flag_CXX=unsupported
14318
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14319
# support --undefined. This deserves some investigation. FIXME
14320
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14327
case $cc_basename in
14329
# FIXME: insert proper C++ library support
14335
cygwin* | mingw* | pw32* | cegcc*)
14336
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14337
# as there is no search path for DLLs.
14338
hardcode_libdir_flag_spec_CXX='-L$libdir'
14339
allow_undefined_flag_CXX=unsupported
14340
always_export_symbols_CXX=no
14341
enable_shared_with_static_runtimes_CXX=yes
14343
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14344
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'
14345
# If the export-symbols file already is a .def file (1st line
14346
# is EXPORTS), use it as is; otherwise, prepend...
14347
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14348
cp $export_symbols $output_objdir/$soname.def;
14350
echo EXPORTS > $output_objdir/$soname.def;
14351
cat $export_symbols >> $output_objdir/$soname.def;
14353
$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'
14358
darwin* | rhapsody*)
14361
archive_cmds_need_lc_CXX=no
14362
hardcode_direct_CXX=no
14363
hardcode_automatic_CXX=yes
14364
hardcode_shlibpath_var_CXX=unsupported
14365
whole_archive_flag_spec_CXX=''
14366
link_all_deplibs_CXX=yes
14367
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14368
case $cc_basename in
14369
ifort*) _lt_dar_can_shared=yes ;;
14370
*) _lt_dar_can_shared=$GCC ;;
14372
if test "$_lt_dar_can_shared" = "yes"; then
14373
output_verbose_link_cmd=echo
14374
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}"
14375
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14376
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}"
14377
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}"
14378
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14379
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}"
14380
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}"
14390
case $cc_basename in
14392
# FIXME: insert proper C++ library support
14396
# Green Hills C++ Compiler
14397
# FIXME: insert proper C++ library support
14401
# FIXME: insert proper C++ library support
14408
# C++ shared libraries reported to be fairly broken before
14414
archive_cmds_need_lc_CXX=no
14417
freebsd* | dragonfly*)
14418
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14427
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14428
hardcode_libdir_separator_CXX=:
14429
export_dynamic_flag_spec_CXX='${wl}-E'
14430
hardcode_direct_CXX=yes
14431
hardcode_minus_L_CXX=yes # Not in the search PATH,
14432
# but as the default
14433
# location of the library.
14435
case $cc_basename in
14437
# FIXME: insert proper C++ library support
14441
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'
14442
# Commands to make compiler produce verbose output that lists
14443
# what "hidden" libraries, object files and flags are used when
14444
# linking a shared library.
14446
# There doesn't appear to be a way to prevent this compiler from
14447
# explicitly linking system object files so we need to strip them
14448
# from the output so that they don't get included in the library
14450
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'
14453
if test "$GXX" = yes; then
14454
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'
14456
# FIXME: insert proper C++ library support
14464
if test $with_gnu_ld = no; then
14465
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14466
hardcode_libdir_separator_CXX=:
14472
export_dynamic_flag_spec_CXX='${wl}-E'
14478
hardcode_direct_CXX=no
14479
hardcode_shlibpath_var_CXX=no
14482
hardcode_direct_CXX=yes
14483
hardcode_direct_absolute_CXX=yes
14484
hardcode_minus_L_CXX=yes # Not in the search PATH,
14485
# but as the default
14486
# location of the library.
14490
case $cc_basename in
14492
# FIXME: insert proper C++ library support
14498
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14501
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14504
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14507
# Commands to make compiler produce verbose output that lists
14508
# what "hidden" libraries, object files and flags are used when
14509
# linking a shared library.
14511
# There doesn't appear to be a way to prevent this compiler from
14512
# explicitly linking system object files so we need to strip them
14513
# from the output so that they don't get included in the library
14515
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'
14518
if test "$GXX" = yes; then
14519
if test $with_gnu_ld = no; then
14522
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14525
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14528
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'
14533
# FIXME: insert proper C++ library support
14541
hardcode_direct_CXX=no
14542
hardcode_shlibpath_var_CXX=no
14543
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14544
export_dynamic_flag_spec_CXX='${wl}-E'
14545
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14546
# Instead, shared libraries are loaded at an image base (0x10000000 by
14547
# default) and relocated if they conflict, which is a slow very memory
14548
# consuming and fragmenting process. To avoid this, we pick a random,
14549
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14550
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
14551
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'
14552
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'
14555
case $cc_basename in
14558
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'
14560
# Archives containing C++ object files must be created using
14561
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
14562
# necessary to make sure instantiated templates are included
14564
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14567
if test "$GXX" = yes; then
14568
if test "$with_gnu_ld" = no; then
14569
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'
14571
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'
14574
link_all_deplibs_CXX=yes
14577
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14578
hardcode_libdir_separator_CXX=:
14579
inherit_rpath_CXX=yes
14582
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14583
case $cc_basename in
14585
# Kuck and Associates, Inc. (KAI) C++ Compiler
14587
# KCC will only create a shared library if the output file
14588
# ends with ".so" (or ".sl" for HP-UX), so rename the library
14589
# to its proper name (with version) after linking.
14590
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'
14591
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'
14592
# Commands to make compiler produce verbose output that lists
14593
# what "hidden" libraries, object files and flags are used when
14594
# linking a shared library.
14596
# There doesn't appear to be a way to prevent this compiler from
14597
# explicitly linking system object files so we need to strip them
14598
# from the output so that they don't get included in the library
14600
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'
14602
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14603
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14605
# Archives containing C++ object files must be created using
14606
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
14607
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14612
# version 8.0 and above of icpc choke on multiply defined symbols
14613
# if we add $predep_objects and $postdep_objects, however 7.1 and
14614
# earlier do not add the objects themselves.
14615
case `$CC -V 2>&1` in
14617
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14618
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'
14620
*) # Version 8.0 or newer
14623
ia64*) tmp_idyn=' -i_dynamic';;
14625
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14626
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'
14629
archive_cmds_need_lc_CXX=no
14630
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14631
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14632
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14635
# Portland Group C++ compiler
14637
*pgCC\ [1-5]* | *pgcpp\ [1-5]*)
14638
prelink_cmds_CXX='tpldir=Template.dir~
14640
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14641
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14642
old_archive_cmds_CXX='tpldir=Template.dir~
14644
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14645
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14647
archive_cmds_CXX='tpldir=Template.dir~
14649
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14650
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14651
archive_expsym_cmds_CXX='tpldir=Template.dir~
14653
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14654
$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'
14656
*) # Version 6 will use weak symbols
14657
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14658
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'
14662
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14663
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14664
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'
14668
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14669
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'
14671
runpath_var=LD_RUN_PATH
14672
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14673
hardcode_libdir_separator_CXX=:
14675
# Commands to make compiler produce verbose output that lists
14676
# what "hidden" libraries, object files and flags are used when
14677
# linking a shared library.
14679
# There doesn't appear to be a way to prevent this compiler from
14680
# explicitly linking system object files so we need to strip them
14681
# from the output so that they don't get included in the library
14683
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'
14686
# IBM XL 8.0 on PPC, with GNU ld
14687
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14688
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14689
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14690
if test "x$supports_anon_versioning" = xyes; then
14691
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14692
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14693
echo "local: *; };" >> $output_objdir/$libname.ver~
14694
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14698
case `$CC -V 2>&1 | sed 5q` in
14701
no_undefined_flag_CXX=' -zdefs'
14702
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14703
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'
14704
hardcode_libdir_flag_spec_CXX='-R$libdir'
14705
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'
14706
compiler_needs_object_CXX=yes
14708
# Not sure whether something based on
14709
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14711
output_verbose_link_cmd='echo'
14713
# Archives containing C++ object files must be created using
14714
# "CC -xar", where "CC" is the Sun C++ compiler. This is
14715
# necessary to make sure instantiated templates are included
14717
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14725
# FIXME: insert proper C++ library support
14730
# FIXME: insert proper C++ library support
14735
case $cc_basename in
14737
# FIXME: insert proper C++ library support
14741
# FIXME: insert proper C++ library support
14748
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14749
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14751
hardcode_libdir_flag_spec_CXX='-R$libdir'
14752
hardcode_direct_CXX=yes
14753
hardcode_shlibpath_var_CXX=no
14755
# Workaround some broken pre-1.5 toolchains
14756
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14764
# C++ shared libraries are fairly broken
14769
if test -f /usr/libexec/ld.so; then
14770
hardcode_direct_CXX=yes
14771
hardcode_shlibpath_var_CXX=no
14772
hardcode_direct_absolute_CXX=yes
14773
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14774
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14775
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14776
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14777
export_dynamic_flag_spec_CXX='${wl}-E'
14778
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14780
output_verbose_link_cmd=echo
14786
osf3* | osf4* | osf5*)
14787
case $cc_basename in
14789
# Kuck and Associates, Inc. (KAI) C++ Compiler
14791
# KCC will only create a shared library if the output file
14792
# ends with ".so" (or ".sl" for HP-UX), so rename the library
14793
# to its proper name (with version) after linking.
14794
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'
14796
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14797
hardcode_libdir_separator_CXX=:
14799
# Archives containing C++ object files must be created using
14800
# the KAI C++ compiler.
14802
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14803
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14807
# Rational C++ 2.4.1
14808
# FIXME: insert proper C++ library support
14814
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14815
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'
14816
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14819
allow_undefined_flag_CXX=' -expect_unresolved \*'
14820
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'
14821
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14822
echo "-hidden">> $lib.exp~
14823
$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~
14825
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14829
hardcode_libdir_separator_CXX=:
14831
# Commands to make compiler produce verbose output that lists
14832
# what "hidden" libraries, object files and flags are used when
14833
# linking a shared library.
14835
# There doesn't appear to be a way to prevent this compiler from
14836
# explicitly linking system object files so we need to strip them
14837
# from the output so that they don't get included in the library
14839
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'
14842
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14843
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14846
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'
14849
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'
14853
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14854
hardcode_libdir_separator_CXX=:
14856
# Commands to make compiler produce verbose output that lists
14857
# what "hidden" libraries, object files and flags are used when
14858
# linking a shared library.
14859
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14862
# FIXME: insert proper C++ library support
14870
# FIXME: insert proper C++ library support
14875
case $cc_basename in
14878
# FIXME: insert proper C++ library support
14883
# FIXME: insert proper C++ library support
14887
# FIXME: insert proper C++ library support
14894
case $cc_basename in
14896
# Sun C++ 4.2, 5.x and Centerline C++
14897
archive_cmds_need_lc_CXX=yes
14898
no_undefined_flag_CXX=' -zdefs'
14899
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14900
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14901
$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'
14903
hardcode_libdir_flag_spec_CXX='-R$libdir'
14904
hardcode_shlibpath_var_CXX=no
14906
solaris2.[0-5] | solaris2.[0-5].*) ;;
14908
# The compiler driver will combine and reorder linker options,
14909
# but understands `-z linker_flag'.
14910
# Supported since Solaris 2.6 (maybe 2.5.1?)
14911
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14914
link_all_deplibs_CXX=yes
14916
output_verbose_link_cmd='echo'
14918
# Archives containing C++ object files must be created using
14919
# "CC -xar", where "CC" is the Sun C++ compiler. This is
14920
# necessary to make sure instantiated templates are included
14922
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14925
# Green Hills C++ Compiler
14926
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14928
# The C++ compiler must be used to create the archive.
14929
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14932
# GNU C++ compiler with Solaris linker
14933
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14934
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14935
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14936
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14937
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14938
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14940
# Commands to make compiler produce verbose output that lists
14941
# what "hidden" libraries, object files and flags are used when
14942
# linking a shared library.
14943
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14945
# g++ 2.7 appears to require `-G' NOT `-shared' on this
14947
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14948
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14949
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14951
# Commands to make compiler produce verbose output that lists
14952
# what "hidden" libraries, object files and flags are used when
14953
# linking a shared library.
14954
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14957
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14959
solaris2.[0-5] | solaris2.[0-5].*) ;;
14961
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14969
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14970
no_undefined_flag_CXX='${wl}-z,text'
14971
archive_cmds_need_lc_CXX=no
14972
hardcode_shlibpath_var_CXX=no
14973
runpath_var='LD_RUN_PATH'
14975
case $cc_basename in
14977
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14978
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14981
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14982
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14987
sysv5* | sco3.2v5* | sco5v6*)
14988
# Note: We can NOT use -z defs as we might desire, because we do not
14989
# link with -lc, and that would cause any symbols used from libc to
14990
# always be unresolved, which means just about no library would
14991
# ever link correctly. If we're not using GNU ld we use -z text
14992
# though, which does catch some bad symbols but isn't as heavy-handed
14994
no_undefined_flag_CXX='${wl}-z,text'
14995
allow_undefined_flag_CXX='${wl}-z,nodefs'
14996
archive_cmds_need_lc_CXX=no
14997
hardcode_shlibpath_var_CXX=no
14998
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14999
hardcode_libdir_separator_CXX=':'
15000
link_all_deplibs_CXX=yes
15001
export_dynamic_flag_spec_CXX='${wl}-Bexport'
15002
runpath_var='LD_RUN_PATH'
15004
case $cc_basename in
15006
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15007
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15010
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15011
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15017
case $cc_basename in
15019
# NonStop-UX NCC 3.20
15020
# FIXME: insert proper C++ library support
15024
# FIXME: insert proper C++ library support
15031
# FIXME: insert proper C++ library support
15036
# FIXME: insert proper C++ library support
15041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15042
$as_echo "$ld_shlibs_CXX" >&6; }
15043
test "$ld_shlibs_CXX" = no && can_build_shared=no
15049
## There is no encapsulation within the following macros, do not change
15050
## the running order or otherwise move them around unless you know exactly
15051
## what you are doing...
15052
# Dependencies to place before and after the object being linked:
15053
predep_objects_CXX=
15054
postdep_objects_CXX=
15057
compiler_lib_search_path_CXX=
15059
cat > conftest.$ac_ext <<_LT_EOF
15063
Foo (void) { a = 0; }
15069
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15070
(eval $ac_compile) 2>&5
15072
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15073
test $ac_status = 0; }; then
15074
# Parse the compiler output and extract the necessary
15075
# objects, libraries and library flags.
15077
# Sentinel used to keep track of whether or not we are before
15078
# the conftest object file.
15079
pre_test_object_deps_done=no
15081
for p in `eval "$output_verbose_link_cmd"`; do
15085
# Some compilers place space between "-{L,R}" and the path.
15086
# Remove the space.
15087
if test $p = "-L" ||
15088
test $p = "-R"; then
15095
if test "$pre_test_object_deps_done" = no; then
15098
# Internal compiler library paths should come after those
15099
# provided the user. The postdeps already come after the
15100
# user supplied libs so there is no need to process them.
15101
if test -z "$compiler_lib_search_path_CXX"; then
15102
compiler_lib_search_path_CXX="${prev}${p}"
15104
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15107
# The "-l" case would never come before the object being
15108
# linked, so don't bother handling this case.
15111
if test -z "$postdeps_CXX"; then
15112
postdeps_CXX="${prev}${p}"
15114
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15120
# This assumes that the test object file only shows up
15121
# once in the compiler output.
15122
if test "$p" = "conftest.$objext"; then
15123
pre_test_object_deps_done=yes
15127
if test "$pre_test_object_deps_done" = no; then
15128
if test -z "$predep_objects_CXX"; then
15129
predep_objects_CXX="$p"
15131
predep_objects_CXX="$predep_objects_CXX $p"
15134
if test -z "$postdep_objects_CXX"; then
15135
postdep_objects_CXX="$p"
15137
postdep_objects_CXX="$postdep_objects_CXX $p"
15142
*) ;; # Ignore the rest.
15150
echo "libtool.m4: error: problem compiling CXX test program"
15153
$RM -f confest.$objext
15155
# PORTME: override above test on systems where it is broken
15158
# Interix 3.5 installs completely hosed .la files for C++, so rather than
15159
# hack all around it, let's just trust "g++" to DTRT.
15160
predep_objects_CXX=
15161
postdep_objects_CXX=
15166
case `$CC -V 2>&1 | sed 5q` in
15170
# The more standards-conforming stlport4 library is
15171
# incompatible with the Cstd library. Avoid specifying
15172
# it if it's in CXXFLAGS. Ignore libCrun as
15173
# -library=stlport4 depends on it.
15174
case " $CXX $CXXFLAGS " in
15175
*" -library=stlport4 "*)
15176
solaris_use_stlport4=yes
15180
if test "$solaris_use_stlport4" != yes; then
15181
postdeps_CXX='-library=Cstd -library=Crun'
15188
case $cc_basename in
15190
# The more standards-conforming stlport4 library is
15191
# incompatible with the Cstd library. Avoid specifying
15192
# it if it's in CXXFLAGS. Ignore libCrun as
15193
# -library=stlport4 depends on it.
15194
case " $CXX $CXXFLAGS " in
15195
*" -library=stlport4 "*)
15196
solaris_use_stlport4=yes
15200
# Adding this requires a known-good setup of shared libraries for
15201
# Sun compiler versions before 5.6, else PIC objects from an old
15202
# archive will be linked into the output, leading to subtle bugs.
15203
if test "$solaris_use_stlport4" != yes; then
15204
postdeps_CXX='-library=Cstd -library=Crun'
15212
case " $postdeps_CXX " in
15213
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15215
compiler_lib_search_dirs_CXX=
15216
if test -n "${compiler_lib_search_path_CXX}"; then
15217
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15250
lt_prog_compiler_wl_CXX=
15251
lt_prog_compiler_pic_CXX=
15252
lt_prog_compiler_static_CXX=
15254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15255
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15257
# C++ specific cases for pic, static, wl, etc.
15258
if test "$GXX" = yes; then
15259
lt_prog_compiler_wl_CXX='-Wl,'
15260
lt_prog_compiler_static_CXX='-static'
15264
# All AIX code is PIC.
15265
if test "$host_cpu" = ia64; then
15266
# AIX 5 now supports IA64 processor
15267
lt_prog_compiler_static_CXX='-Bstatic'
15274
# see comment about AmigaOS4 .so support
15275
lt_prog_compiler_pic_CXX='-fPIC'
15278
# FIXME: we need at least 68020 code to build shared libraries, but
15279
# adding the `-m68020' flag to GCC prevents building anything better,
15281
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15286
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15287
# PIC is the default for these OSes.
15289
mingw* | cygwin* | os2* | pw32* | cegcc*)
15290
# This hack is so that the source file can tell whether it is being
15291
# built for inclusion in a dll (and should export symbols for example).
15292
# Although the cygwin gcc ignores -fPIC, still need this for old-style
15293
# (--disable-auto-import) libraries
15294
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15296
darwin* | rhapsody*)
15297
# PIC is the default on this platform
15298
# Common symbols not allowed in MH_DYLIB files
15299
lt_prog_compiler_pic_CXX='-fno-common'
15302
# DJGPP does not support shared libraries at all
15303
lt_prog_compiler_pic_CXX=
15306
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
15307
# Instead, we relocate shared libraries at runtime.
15310
if test -d /usr/nec; then
15311
lt_prog_compiler_pic_CXX=-Kconform_pic
15315
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15316
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15317
# sets the default TLS model and affects inlining.
15322
lt_prog_compiler_pic_CXX='-fPIC'
15327
# QNX uses GNU C++, but need to define -shared option too, otherwise
15328
# it will coredump.
15329
lt_prog_compiler_pic_CXX='-fPIC -shared'
15332
lt_prog_compiler_pic_CXX='-fPIC'
15338
# All AIX code is PIC.
15339
if test "$host_cpu" = ia64; then
15340
# AIX 5 now supports IA64 processor
15341
lt_prog_compiler_static_CXX='-Bstatic'
15343
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15347
case $cc_basename in
15349
# Green Hills C++ Compiler
15350
# _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"
15355
case $cc_basename in
15357
lt_prog_compiler_pic_CXX='-KPIC'
15360
# Green Hills C++ Compiler
15361
lt_prog_compiler_pic_CXX='-pic'
15367
freebsd* | dragonfly*)
15368
# FreeBSD uses GNU C++
15370
hpux9* | hpux10* | hpux11*)
15371
case $cc_basename in
15373
lt_prog_compiler_wl_CXX='-Wl,'
15374
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15375
if test "$host_cpu" != ia64; then
15376
lt_prog_compiler_pic_CXX='+Z'
15380
lt_prog_compiler_wl_CXX='-Wl,'
15381
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15387
lt_prog_compiler_pic_CXX='+Z'
15396
# This is c89, which is MS Visual C++ (no shared libs)
15397
# Anyone wants to do a port?
15399
irix5* | irix6* | nonstopux*)
15400
case $cc_basename in
15402
lt_prog_compiler_wl_CXX='-Wl,'
15403
lt_prog_compiler_static_CXX='-non_shared'
15404
# CC pic flag -KPIC is the default.
15410
linux* | k*bsd*-gnu | kopensolaris*-gnu)
15411
case $cc_basename in
15414
lt_prog_compiler_wl_CXX='--backend -Wl,'
15415
lt_prog_compiler_pic_CXX='-fPIC'
15418
# old Intel C++ for x86_64 which still supported -KPIC.
15419
lt_prog_compiler_wl_CXX='-Wl,'
15420
lt_prog_compiler_pic_CXX='-KPIC'
15421
lt_prog_compiler_static_CXX='-static'
15424
# Intel C++, used to be incompatible with GCC.
15425
# ICC 10 doesn't accept -KPIC any more.
15426
lt_prog_compiler_wl_CXX='-Wl,'
15427
lt_prog_compiler_pic_CXX='-fPIC'
15428
lt_prog_compiler_static_CXX='-static'
15431
# Portland Group C++ compiler
15432
lt_prog_compiler_wl_CXX='-Wl,'
15433
lt_prog_compiler_pic_CXX='-fpic'
15434
lt_prog_compiler_static_CXX='-Bstatic'
15438
# Make sure the PIC flag is empty. It appears that all Alpha
15439
# Linux and Compaq Tru64 Unix objects are PIC.
15440
lt_prog_compiler_pic_CXX=
15441
lt_prog_compiler_static_CXX='-non_shared'
15444
# IBM XL 8.0 on PPC
15445
lt_prog_compiler_wl_CXX='-Wl,'
15446
lt_prog_compiler_pic_CXX='-qpic'
15447
lt_prog_compiler_static_CXX='-qstaticlink'
15450
case `$CC -V 2>&1 | sed 5q` in
15453
lt_prog_compiler_pic_CXX='-KPIC'
15454
lt_prog_compiler_static_CXX='-Bstatic'
15455
lt_prog_compiler_wl_CXX='-Qoption ld '
15466
case $cc_basename in
15468
lt_prog_compiler_pic_CXX='-W c,exportall'
15474
netbsd* | netbsdelf*-gnu)
15477
# QNX uses GNU C++, but need to define -shared option too, otherwise
15478
# it will coredump.
15479
lt_prog_compiler_pic_CXX='-fPIC -shared'
15481
osf3* | osf4* | osf5*)
15482
case $cc_basename in
15484
lt_prog_compiler_wl_CXX='--backend -Wl,'
15487
# Rational C++ 2.4.1
15488
lt_prog_compiler_pic_CXX='-pic'
15491
# Digital/Compaq C++
15492
lt_prog_compiler_wl_CXX='-Wl,'
15493
# Make sure the PIC flag is empty. It appears that all Alpha
15494
# Linux and Compaq Tru64 Unix objects are PIC.
15495
lt_prog_compiler_pic_CXX=
15496
lt_prog_compiler_static_CXX='-non_shared'
15505
case $cc_basename in
15507
# Sun C++ 4.2, 5.x and Centerline C++
15508
lt_prog_compiler_pic_CXX='-KPIC'
15509
lt_prog_compiler_static_CXX='-Bstatic'
15510
lt_prog_compiler_wl_CXX='-Qoption ld '
15513
# Green Hills C++ Compiler
15514
lt_prog_compiler_pic_CXX='-PIC'
15521
case $cc_basename in
15524
lt_prog_compiler_pic_CXX='-pic'
15525
lt_prog_compiler_static_CXX='-Bstatic'
15529
lt_prog_compiler_pic_CXX='-pic'
15535
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15536
case $cc_basename in
15538
lt_prog_compiler_wl_CXX='-Wl,'
15539
lt_prog_compiler_pic_CXX='-KPIC'
15540
lt_prog_compiler_static_CXX='-Bstatic'
15545
case $cc_basename in
15547
# NonStop-UX NCC 3.20
15548
lt_prog_compiler_pic_CXX='-KPIC'
15557
lt_prog_compiler_can_build_shared_CXX=no
15563
# For platforms which do not support PIC, -DPIC is meaningless:
15565
lt_prog_compiler_pic_CXX=
15568
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15572
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15577
# Check to make sure the PIC flag actually works.
15579
if test -n "$lt_prog_compiler_pic_CXX"; then
15580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15581
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15582
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15583
$as_echo_n "(cached) " >&6
15585
lt_cv_prog_compiler_pic_works_CXX=no
15586
ac_outfile=conftest.$ac_objext
15587
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15588
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15589
# Insert the option either (1) after the last *FLAGS variable, or
15590
# (2) before a word containing "conftest.", or (3) at the end.
15591
# Note that $ac_compile itself does not contain backslashes and begins
15592
# with a dollar sign (not a hyphen), so the echo should work correctly.
15593
# The option is referenced via a variable to avoid confusing sed.
15594
lt_compile=`echo "$ac_compile" | $SED \
15595
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15596
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15597
-e 's:$: $lt_compiler_flag:'`
15598
(eval echo "\"\$as_me:15598: $lt_compile\"" >&5)
15599
(eval "$lt_compile" 2>conftest.err)
15601
cat conftest.err >&5
15602
echo "$as_me:15602: \$? = $ac_status" >&5
15603
if (exit $ac_status) && test -s "$ac_outfile"; then
15604
# The compiler can only warn and ignore the option if not recognized
15605
# So say no if there are warnings other than the usual output.
15606
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15607
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15608
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15609
lt_cv_prog_compiler_pic_works_CXX=yes
15615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15616
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15618
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15619
case $lt_prog_compiler_pic_CXX in
15621
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15624
lt_prog_compiler_pic_CXX=
15625
lt_prog_compiler_can_build_shared_CXX=no
15633
# Check to make sure the static flag actually works.
15635
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15637
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15638
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15639
$as_echo_n "(cached) " >&6
15641
lt_cv_prog_compiler_static_works_CXX=no
15642
save_LDFLAGS="$LDFLAGS"
15643
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15644
echo "$lt_simple_link_test_code" > conftest.$ac_ext
15645
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15646
# The linker can only warn and ignore the option if not recognized
15647
# So say no if there are warnings
15648
if test -s conftest.err; then
15649
# Append any errors to the config.log.
15650
cat conftest.err 1>&5
15651
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15652
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15653
if diff conftest.exp conftest.er2 >/dev/null; then
15654
lt_cv_prog_compiler_static_works_CXX=yes
15657
lt_cv_prog_compiler_static_works_CXX=yes
15661
LDFLAGS="$save_LDFLAGS"
15664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15665
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15667
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15670
lt_prog_compiler_static_CXX=
15676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15677
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15678
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15679
$as_echo_n "(cached) " >&6
15681
lt_cv_prog_compiler_c_o_CXX=no
15682
$RM -r conftest 2>/dev/null
15686
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15688
lt_compiler_flag="-o out/conftest2.$ac_objext"
15689
# Insert the option either (1) after the last *FLAGS variable, or
15690
# (2) before a word containing "conftest.", or (3) at the end.
15691
# Note that $ac_compile itself does not contain backslashes and begins
15692
# with a dollar sign (not a hyphen), so the echo should work correctly.
15693
lt_compile=`echo "$ac_compile" | $SED \
15694
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15695
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15696
-e 's:$: $lt_compiler_flag:'`
15697
(eval echo "\"\$as_me:15697: $lt_compile\"" >&5)
15698
(eval "$lt_compile" 2>out/conftest.err)
15700
cat out/conftest.err >&5
15701
echo "$as_me:15701: \$? = $ac_status" >&5
15702
if (exit $ac_status) && test -s out/conftest2.$ac_objext
15704
# The compiler can only warn and ignore the option if not recognized
15705
# So say no if there are warnings
15706
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15707
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15708
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15709
lt_cv_prog_compiler_c_o_CXX=yes
15714
# SGI C++ compiler will create directory out/ii_files/ for
15715
# template instantiation
15716
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15717
$RM out/* && rmdir out
15723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15724
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15729
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15730
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15731
$as_echo_n "(cached) " >&6
15733
lt_cv_prog_compiler_c_o_CXX=no
15734
$RM -r conftest 2>/dev/null
15738
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15740
lt_compiler_flag="-o out/conftest2.$ac_objext"
15741
# Insert the option either (1) after the last *FLAGS variable, or
15742
# (2) before a word containing "conftest.", or (3) at the end.
15743
# Note that $ac_compile itself does not contain backslashes and begins
15744
# with a dollar sign (not a hyphen), so the echo should work correctly.
15745
lt_compile=`echo "$ac_compile" | $SED \
15746
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15747
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15748
-e 's:$: $lt_compiler_flag:'`
15749
(eval echo "\"\$as_me:15749: $lt_compile\"" >&5)
15750
(eval "$lt_compile" 2>out/conftest.err)
15752
cat out/conftest.err >&5
15753
echo "$as_me:15753: \$? = $ac_status" >&5
15754
if (exit $ac_status) && test -s out/conftest2.$ac_objext
15756
# The compiler can only warn and ignore the option if not recognized
15757
# So say no if there are warnings
15758
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15759
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15760
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15761
lt_cv_prog_compiler_c_o_CXX=yes
15766
# SGI C++ compiler will create directory out/ii_files/ for
15767
# template instantiation
15768
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15769
$RM out/* && rmdir out
15775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15776
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15781
hard_links="nottested"
15782
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15783
# do not overwrite the value of need_locks provided by the user
15784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15785
$as_echo_n "checking if we can lock with hard links... " >&6; }
15788
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15790
ln conftest.a conftest.b 2>&5 || hard_links=no
15791
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15793
$as_echo "$hard_links" >&6; }
15794
if test "$hard_links" = no; then
15795
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15796
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15806
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15808
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15811
# If we're using GNU nm, then we don't want the "-C" option.
15812
# -C means demangle to AIX nm, but means don't demangle with GNU nm
15813
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15814
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'
15816
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'
15820
export_symbols_cmds_CXX="$ltdll_cmds"
15822
cygwin* | mingw* | cegcc*)
15823
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'
15825
linux* | k*bsd*-gnu)
15826
link_all_deplibs_CXX=no
15829
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15832
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15835
$as_echo "$ld_shlibs_CXX" >&6; }
15836
test "$ld_shlibs_CXX" = no && can_build_shared=no
15838
with_gnu_ld_CXX=$with_gnu_ld
15846
# Do we need to explicitly link libc?
15848
case "x$archive_cmds_need_lc_CXX" in
15850
# Assume -lc should be added
15851
archive_cmds_need_lc_CXX=yes
15853
if test "$enable_shared" = yes && test "$GCC" = yes; then
15854
case $archive_cmds_CXX in
15856
# FIXME: we may have to deal with multi-command sequences.
15859
# Test whether the compiler implicitly links with -lc since on some
15860
# systems, -lgcc has to come before -lc. If gcc already passes -lc
15861
# to ld, don't add -lc before -lgcc.
15862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15863
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15865
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15867
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15868
(eval $ac_compile) 2>&5
15870
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15871
test $ac_status = 0; } 2>conftest.err; then
15874
libobjs=conftest.$ac_objext
15876
wl=$lt_prog_compiler_wl_CXX
15877
pic_flag=$lt_prog_compiler_pic_CXX
15883
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15884
allow_undefined_flag_CXX=
15885
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15886
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15888
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15889
test $ac_status = 0; }
15891
archive_cmds_need_lc_CXX=no
15893
archive_cmds_need_lc_CXX=yes
15895
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15897
cat conftest.err 1>&5
15900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
15901
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
15971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15972
$as_echo_n "checking dynamic linker characteristics... " >&6; }
15974
library_names_spec=
15975
libname_spec='lib$name'
15979
postuninstall_cmds=
15983
shlibpath_overrides_runpath=unknown
15985
dynamic_linker="$host_os ld.so"
15986
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15987
need_lib_prefix=unknown
15988
hardcode_into_libs=no
15990
# when you set need_version to no, make sure it does not cause -set_version
15991
# flags to be left without arguments
15992
need_version=unknown
15997
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15998
shlibpath_var=LIBPATH
16000
# AIX 3 has no versioning support, so we append a major version to the name.
16001
soname_spec='${libname}${release}${shared_ext}$major'
16008
hardcode_into_libs=yes
16009
if test "$host_cpu" = ia64; then
16010
# AIX 5 supports IA64
16011
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16012
shlibpath_var=LD_LIBRARY_PATH
16014
# With GCC up to 2.95.x, collect2 would create an import file
16015
# for dependence libraries. The import file would start with
16016
# the line `#! .'. This would cause the generated library to
16017
# depend on `.', always an invalid library. This was fixed in
16018
# development snapshots of GCC prior to 3.0.
16020
aix4 | aix4.[01] | aix4.[01].*)
16021
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16023
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16026
can_build_shared=no
16030
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16031
# soname into executable. Probably we can add versioning support to
16032
# collect2, so additional links can be useful in future.
16033
if test "$aix_use_runtimelinking" = yes; then
16034
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
16035
# instead of lib<name>.a to let people know that these are not
16036
# typical AIX shared libraries.
16037
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16039
# We preserve .a as extension for shared libraries through AIX4.2
16040
# and later when we are not doing run time linking.
16041
library_names_spec='${libname}${release}.a $libname.a'
16042
soname_spec='${libname}${release}${shared_ext}$major'
16044
shlibpath_var=LIBPATH
16051
# Since July 2007 AmigaOS4 officially supports .so libraries.
16052
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16053
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16056
library_names_spec='$libname.ixlibrary $libname.a'
16057
# Create ${libname}_ixlibrary.a entries in /sys/libs.
16058
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'
16064
library_names_spec='${libname}${shared_ext}'
16065
dynamic_linker="$host_os ld.so"
16066
shlibpath_var=LIBRARY_PATH
16072
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16073
soname_spec='${libname}${release}${shared_ext}$major'
16074
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16075
shlibpath_var=LD_LIBRARY_PATH
16076
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16077
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16078
# the default ld.so.conf also contains /usr/contrib/lib and
16079
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16080
# libtool to hard-code these into programs
16083
cygwin* | mingw* | pw32* | cegcc*)
16084
version_type=windows
16089
case $GCC,$host_os in
16090
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16091
library_names_spec='$libname.dll.a'
16092
# DLL is installed to $(libdir)/../bin by postinstall_cmds
16093
postinstall_cmds='base_file=`basename \${file}`~
16094
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16095
dldir=$destdir/`dirname \$dlpath`~
16096
test -d \$dldir || mkdir -p \$dldir~
16097
$install_prog $dir/$dlname \$dldir/$dlname~
16098
chmod a+x \$dldir/$dlname~
16099
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16100
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16102
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16103
dlpath=$dir/\$dldll~
16105
shlibpath_overrides_runpath=yes
16109
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
16110
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16111
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16114
# MinGW DLLs use traditional 'lib' prefix
16115
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16116
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16117
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16118
# It is most probably a Windows format PATH printed by
16119
# mingw gcc, but we are running on Cygwin. Gcc prints its search
16120
# path with ; separators, and with drive letters. We can handle the
16121
# drive letters (cygwin fileutils understands them), so leave them,
16122
# especially as we might pass files found there to a mingw objdump,
16123
# which wouldn't understand a cygwinified path. Ahh.
16124
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16126
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16130
# pw32 DLLs use 'pw' prefix rather than 'lib'
16131
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16137
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16140
dynamic_linker='Win32 ld.exe'
16141
# FIXME: first we should search . and the directory the executable is in
16145
darwin* | rhapsody*)
16146
dynamic_linker="$host_os dyld"
16147
version_type=darwin
16150
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16151
soname_spec='${libname}${release}${major}$shared_ext'
16152
shlibpath_overrides_runpath=yes
16153
shlibpath_var=DYLD_LIBRARY_PATH
16154
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16156
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16163
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16164
soname_spec='${libname}${release}${shared_ext}$major'
16165
shlibpath_var=LD_LIBRARY_PATH
16172
freebsd* | dragonfly*)
16173
# DragonFly does not have aout. When/if they implement a new
16174
# versioning mechanism, adjust this.
16175
if test -x /usr/bin/objformat; then
16176
objformat=`/usr/bin/objformat`
16179
freebsd[123]*) objformat=aout ;;
16180
*) objformat=elf ;;
16183
version_type=freebsd-$objformat
16184
case $version_type in
16186
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16191
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16195
shlibpath_var=LD_LIBRARY_PATH
16198
shlibpath_overrides_runpath=yes
16200
freebsd3.[01]* | freebsdelf3.[01]*)
16201
shlibpath_overrides_runpath=yes
16202
hardcode_into_libs=yes
16204
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16205
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16206
shlibpath_overrides_runpath=no
16207
hardcode_into_libs=yes
16209
*) # from 4.6 on, and DragonFly
16210
shlibpath_overrides_runpath=yes
16211
hardcode_into_libs=yes
16220
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16221
soname_spec='${libname}${release}${shared_ext}$major'
16222
shlibpath_var=LD_LIBRARY_PATH
16223
hardcode_into_libs=yes
16226
hpux9* | hpux10* | hpux11*)
16227
# Give a soname corresponding to the major version so that dld.sl refuses to
16228
# link against other versions.
16235
hardcode_into_libs=yes
16236
dynamic_linker="$host_os dld.so"
16237
shlibpath_var=LD_LIBRARY_PATH
16238
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16239
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16240
soname_spec='${libname}${release}${shared_ext}$major'
16241
if test "X$HPUX_IA64_MODE" = X32; then
16242
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16244
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16246
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16250
hardcode_into_libs=yes
16251
dynamic_linker="$host_os dld.sl"
16252
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16253
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16254
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16255
soname_spec='${libname}${release}${shared_ext}$major'
16256
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16257
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16261
dynamic_linker="$host_os dld.sl"
16262
shlibpath_var=SHLIB_PATH
16263
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16264
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16265
soname_spec='${libname}${release}${shared_ext}$major'
16268
# HP-UX runs *really* slowly unless shared libraries are mode 555.
16269
postinstall_cmds='chmod 555 $lib'
16276
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16277
soname_spec='${libname}${release}${shared_ext}$major'
16278
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16279
shlibpath_var=LD_LIBRARY_PATH
16280
shlibpath_overrides_runpath=no
16281
hardcode_into_libs=yes
16284
irix5* | irix6* | nonstopux*)
16286
nonstopux*) version_type=nonstopux ;;
16288
if test "$lt_cv_prog_gnu_ld" = yes; then
16296
soname_spec='${libname}${release}${shared_ext}$major'
16297
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16299
irix5* | nonstopux*)
16300
libsuff= shlibsuff=
16303
case $LD in # libtool.m4 will add one of these switches to LD
16304
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16305
libsuff= shlibsuff= libmagic=32-bit;;
16306
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16307
libsuff=32 shlibsuff=N32 libmagic=N32;;
16308
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16309
libsuff=64 shlibsuff=64 libmagic=64-bit;;
16310
*) libsuff= shlibsuff= libmagic=never-match;;
16314
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16315
shlibpath_overrides_runpath=no
16316
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16317
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16318
hardcode_into_libs=yes
16321
# No shared lib support for Linux oldld, aout, or coff.
16322
linux*oldld* | linux*aout* | linux*coff*)
16326
# This must be Linux ELF.
16327
linux* | k*bsd*-gnu | kopensolaris*-gnu)
16331
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16332
soname_spec='${libname}${release}${shared_ext}$major'
16333
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16334
shlibpath_var=LD_LIBRARY_PATH
16335
shlibpath_overrides_runpath=no
16336
# Some binutils ld are patched to set DT_RUNPATH
16337
save_LDFLAGS=$LDFLAGS
16338
save_libdir=$libdir
16339
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16340
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16341
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16342
/* end confdefs.h. */
16352
if ac_fn_cxx_try_link "$LINENO"; then :
16353
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16354
shlibpath_overrides_runpath=yes
16357
rm -f core conftest.err conftest.$ac_objext \
16358
conftest$ac_exeext conftest.$ac_ext
16359
LDFLAGS=$save_LDFLAGS
16360
libdir=$save_libdir
16362
# This implies no fast_install, which is unacceptable.
16363
# Some rework will be needed to allow for fast_install
16364
# before this can be enabled.
16365
hardcode_into_libs=yes
16367
# Append ld.so.conf contents to the search path
16368
if test -f /etc/ld.so.conf; then
16369
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' ' '`
16370
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16373
# We used to test for /lib/ld.so.1 and disable shared libraries on
16374
# powerpc, because MkLinux only supported shared libraries with the
16375
# GNU dynamic linker. Since this was broken with cross compilers,
16376
# most powerpc-linux boxes support dynamic linking these days and
16377
# people can always --disable-shared, the test was removed, and we
16378
# assume the GNU/Linux dynamic linker is in use.
16379
dynamic_linker='GNU/Linux ld.so'
16386
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16387
soname_spec='${libname}${release}${shared_ext}$major'
16388
shlibpath_var=LD_LIBRARY_PATH
16389
shlibpath_overrides_runpath=no
16390
hardcode_into_libs=yes
16391
dynamic_linker='NetBSD ld.elf_so'
16398
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16399
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16400
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16401
dynamic_linker='NetBSD (a.out) ld.so'
16403
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16404
soname_spec='${libname}${release}${shared_ext}$major'
16405
dynamic_linker='NetBSD ld.elf_so'
16407
shlibpath_var=LD_LIBRARY_PATH
16408
shlibpath_overrides_runpath=yes
16409
hardcode_into_libs=yes
16414
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16415
shlibpath_var=LD_LIBRARY_PATH
16416
shlibpath_overrides_runpath=yes
16423
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16424
soname_spec='${libname}${release}${shared_ext}$major'
16425
shlibpath_var=LD_LIBRARY_PATH
16426
shlibpath_overrides_runpath=no
16427
hardcode_into_libs=yes
16428
dynamic_linker='ldqnx.so'
16433
sys_lib_dlsearch_path_spec="/usr/lib"
16435
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16437
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16438
*) need_version=no ;;
16440
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16441
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16442
shlibpath_var=LD_LIBRARY_PATH
16443
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16445
openbsd2.[89] | openbsd2.[89].*)
16446
shlibpath_overrides_runpath=no
16449
shlibpath_overrides_runpath=yes
16453
shlibpath_overrides_runpath=yes
16458
libname_spec='$name'
16461
library_names_spec='$libname${shared_ext} $libname.a'
16462
dynamic_linker='OS/2 ld.exe'
16463
shlibpath_var=LIBPATH
16466
osf3* | osf4* | osf5*)
16470
soname_spec='${libname}${release}${shared_ext}$major'
16471
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16472
shlibpath_var=LD_LIBRARY_PATH
16473
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16474
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16485
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16486
soname_spec='${libname}${release}${shared_ext}$major'
16487
shlibpath_var=LD_LIBRARY_PATH
16488
shlibpath_overrides_runpath=yes
16489
hardcode_into_libs=yes
16490
# ldd complains unless libraries are executable
16491
postinstall_cmds='chmod +x $lib'
16496
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16497
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16498
shlibpath_var=LD_LIBRARY_PATH
16499
shlibpath_overrides_runpath=yes
16500
if test "$with_gnu_ld" = yes; then
16508
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16509
soname_spec='${libname}${release}${shared_ext}$major'
16510
shlibpath_var=LD_LIBRARY_PATH
16511
case $host_vendor in
16513
shlibpath_overrides_runpath=no
16515
runpath_var=LD_RUN_PATH
16523
shlibpath_overrides_runpath=no
16524
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16530
if test -d /usr/nec ;then
16532
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16533
soname_spec='$libname${shared_ext}.$major'
16534
shlibpath_var=LD_LIBRARY_PATH
16538
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16539
version_type=freebsd-elf
16542
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16543
soname_spec='${libname}${release}${shared_ext}$major'
16544
shlibpath_var=LD_LIBRARY_PATH
16545
shlibpath_overrides_runpath=yes
16546
hardcode_into_libs=yes
16547
if test "$with_gnu_ld" = yes; then
16548
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16550
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16553
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16557
sys_lib_dlsearch_path_spec='/usr/lib'
16561
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16565
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16566
shlibpath_var=LD_LIBRARY_PATH
16567
shlibpath_overrides_runpath=no
16568
hardcode_into_libs=yes
16573
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16574
soname_spec='${libname}${release}${shared_ext}$major'
16575
shlibpath_var=LD_LIBRARY_PATH
16582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16583
$as_echo "$dynamic_linker" >&6; }
16584
test "$dynamic_linker" = no && can_build_shared=no
16586
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16587
if test "$GCC" = yes; then
16588
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16591
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16592
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16594
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16595
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16634
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16635
hardcode_action_CXX=
16636
if test -n "$hardcode_libdir_flag_spec_CXX" ||
16637
test -n "$runpath_var_CXX" ||
16638
test "X$hardcode_automatic_CXX" = "Xyes" ; then
16640
# We can hardcode non-existent directories.
16641
if test "$hardcode_direct_CXX" != no &&
16642
# If the only mechanism to avoid hardcoding is shlibpath_var, we
16643
# have to relink, otherwise we might link with an installed library
16644
# when we should be linking with a yet-to-be-installed one
16645
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16646
test "$hardcode_minus_L_CXX" != no; then
16647
# Linking always hardcodes the temporary library directory.
16648
hardcode_action_CXX=relink
16650
# We can link without hardcoding, and we can hardcode nonexisting dirs.
16651
hardcode_action_CXX=immediate
16654
# We cannot hardcode anything, or else we can only hardcode existing
16656
hardcode_action_CXX=unsupported
16658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16659
$as_echo "$hardcode_action_CXX" >&6; }
16661
if test "$hardcode_action_CXX" = relink ||
16662
test "$inherit_rpath_CXX" = yes; then
16663
# Fast installation is not supported
16664
enable_fast_install=no
16665
elif test "$shlibpath_overrides_runpath" = yes ||
16666
test "$enable_shared" = no; then
16667
# Fast installation is not necessary
16668
enable_fast_install=needless
16677
fi # test -n "$compiler"
16683
with_gnu_ld=$lt_save_with_gnu_ld
16684
lt_cv_path_LDCXX=$lt_cv_path_LD
16685
lt_cv_path_LD=$lt_save_path_LD
16686
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16687
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16688
fi # test "$_lt_caught_CXX_error" != yes
16691
ac_cpp='$CPP $CPPFLAGS'
16692
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16693
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16694
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16696
if test "x$CC" != xcc; then
16697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16698
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16701
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16703
set dummy $CC; ac_cc=`$as_echo "$2" |
16704
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16705
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
16706
$as_echo_n "(cached) " >&6
16708
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16709
/* end confdefs.h. */
16719
# Make sure it works both with $CC and with simple cc.
16720
# We do the test twice because some compilers refuse to overwrite an
16721
# existing .o file with -o, though they will create one.
16722
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16724
if { { case "(($ac_try" in
16725
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16726
*) ac_try_echo=$ac_try;;
16728
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16729
$as_echo "$ac_try_echo"; } >&5
16730
(eval "$ac_try") 2>&5
16732
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16733
test $ac_status = 0; } &&
16734
test -f conftest2.$ac_objext && { { case "(($ac_try" in
16735
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16736
*) ac_try_echo=$ac_try;;
16738
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16739
$as_echo "$ac_try_echo"; } >&5
16740
(eval "$ac_try") 2>&5
16742
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16743
test $ac_status = 0; };
16745
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16746
if test "x$CC" != xcc; then
16747
# Test first that cc exists at all.
16748
if { ac_try='cc -c conftest.$ac_ext >&5'
16749
{ { case "(($ac_try" in
16750
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16751
*) ac_try_echo=$ac_try;;
16753
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16754
$as_echo "$ac_try_echo"; } >&5
16755
(eval "$ac_try") 2>&5
16757
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16758
test $ac_status = 0; }; }; then
16759
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16761
if { { case "(($ac_try" in
16762
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16763
*) ac_try_echo=$ac_try;;
16765
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16766
$as_echo "$ac_try_echo"; } >&5
16767
(eval "$ac_try") 2>&5
16769
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16770
test $ac_status = 0; } &&
16771
test -f conftest2.$ac_objext && { { case "(($ac_try" in
16772
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16773
*) ac_try_echo=$ac_try;;
16775
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16776
$as_echo "$ac_try_echo"; } >&5
16777
(eval "$ac_try") 2>&5
16779
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16780
test $ac_status = 0; };
16785
# cc exists but doesn't like -o.
16786
eval ac_cv_prog_cc_${ac_cc}_c_o=no
16791
eval ac_cv_prog_cc_${ac_cc}_c_o=no
16793
rm -f core conftest*
16796
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16798
$as_echo "yes" >&6; }
16800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16801
$as_echo "no" >&6; }
16803
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16807
# FIXME: we rely on the cache variable name because
16808
# there is no other way.
16810
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16811
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16812
if test "$am_t" != yes; then
16813
# Losing compiler, so override with the script.
16814
# FIXME: It is wrong to rewrite CC.
16815
# But if we don't then we get into trouble of one sort or another.
16816
# A longer-term fix would be to have automake use am__CC in this case,
16817
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16818
CC="$am_aux_dir/compile $CC"
16822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16823
$as_echo_n "checking for inline... " >&6; }
16824
if test "${ac_cv_c_inline+set}" = set; then :
16825
$as_echo_n "(cached) " >&6
16828
for ac_kw in inline __inline__ __inline; do
16829
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830
/* end confdefs.h. */
16831
#ifndef __cplusplus
16833
static $ac_kw foo_t static_foo () {return 0; }
16834
$ac_kw foo_t foo () {return 0; }
16838
if ac_fn_c_try_compile "$LINENO"; then :
16839
ac_cv_c_inline=$ac_kw
16841
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16842
test "$ac_cv_c_inline" != no && break
16846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16847
$as_echo "$ac_cv_c_inline" >&6; }
16849
case $ac_cv_c_inline in
16852
case $ac_cv_c_inline in
16854
*) ac_val=$ac_cv_c_inline;;
16856
cat >>confdefs.h <<_ACEOF
16857
#ifndef __cplusplus
16858
#define inline $ac_val
16868
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16869
if test -n "$ac_tool_prefix"; then
16870
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16871
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16873
$as_echo_n "checking for $ac_word... " >&6; }
16874
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
16875
$as_echo_n "(cached) " >&6
16877
case $PKG_CONFIG in
16879
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16882
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16883
for as_dir in $PATH
16886
test -z "$as_dir" && as_dir=.
16887
for ac_exec_ext in '' $ac_executable_extensions; do
16888
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16889
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16890
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16900
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16901
if test -n "$PKG_CONFIG"; then
16902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16903
$as_echo "$PKG_CONFIG" >&6; }
16905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16906
$as_echo "no" >&6; }
16911
if test -z "$ac_cv_path_PKG_CONFIG"; then
16912
ac_pt_PKG_CONFIG=$PKG_CONFIG
16913
# Extract the first word of "pkg-config", so it can be a program name with args.
16914
set dummy pkg-config; ac_word=$2
16915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16916
$as_echo_n "checking for $ac_word... " >&6; }
16917
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
16918
$as_echo_n "(cached) " >&6
16920
case $ac_pt_PKG_CONFIG in
16922
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16925
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16926
for as_dir in $PATH
16929
test -z "$as_dir" && as_dir=.
16930
for ac_exec_ext in '' $ac_executable_extensions; do
16931
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16932
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16933
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16943
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16944
if test -n "$ac_pt_PKG_CONFIG"; then
16945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16946
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16949
$as_echo "no" >&6; }
16952
if test "x$ac_pt_PKG_CONFIG" = x; then
16955
case $cross_compiling:$ac_tool_warned in
16957
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16958
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16959
ac_tool_warned=yes ;;
16961
PKG_CONFIG=$ac_pt_PKG_CONFIG
16964
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16968
if test -n "$PKG_CONFIG"; then
16969
_pkg_min_version=0.9.0
16970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16971
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16972
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16974
$as_echo "yes" >&6; }
16976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16977
$as_echo "no" >&6; }
16982
if test "x$PKG_CONFIG" = x; then
16983
as_fn_error $? "pkg-config >= $PKGCONFIG_REQUIRED required but not found (http://pkgconfig.freedesktop.org/)" "$LINENO" 5
16986
case `$PKG_CONFIG --version` in
16987
0.?|0.?.?|0.1[0-7]|0.1[0-7].?) PKGCONFIG_REQUIRES="Requires"; ;;
16988
*) PKGCONFIG_REQUIRES="Requires.private"; ;;
17008
CAIRO_MAKEFILE___WIN32='# Generated by configure. Modify to customize.
17011
ac_config_commands="$ac_config_commands $srcdir/build/Makefile.win32.features"
17016
CAIRO_MAKEFILE_cairo_AMAKE='# Generated by configure. Do not edit.
17019
ac_config_commands="$ac_config_commands $srcdir/src/Makefile.am.features"
17022
CAIRO_MAKEFILE_cairo_WIN32='# Generated by configure. Do not edit.
17025
ac_config_commands="$ac_config_commands $srcdir/src/Makefile.win32.features"
17029
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE='# Generated by configure. Do not edit.
17032
ac_config_commands="$ac_config_commands $srcdir/boilerplate/Makefile.am.features"
17035
CAIRO_MAKEFILE_cairo_boilerplate_WIN32='# Generated by configure. Do not edit.
17038
ac_config_commands="$ac_config_commands $srcdir/boilerplate/Makefile.win32.features"
17040
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17041
"'include $(top_srcdir)/src/Makefile.sources
17044
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17045
"'ifeq ($(top_srcdir),)
17046
include Makefile.sources
17048
include $(top_srcdir)/src/Makefile.sources
17052
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17053
"'include $(top_srcdir)/boilerplate/Makefile.sources
17056
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17057
"'ifeq ($(top_srcdir),)
17058
include Makefile.sources
17060
include $(top_srcdir)/boilerplate/Makefile.sources
17066
cr_make_tmp='supported_cairo_headers = $(cairo_headers)'
17067
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17070
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17073
cr_make_tmp='supported_cairo_boilerplate_headers = $(cairo_boilerplate_headers)'
17074
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17077
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17081
cr_make_tmp='unsupported_cairo_headers ='
17082
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17085
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17088
cr_make_tmp='unsupported_cairo_boilerplate_headers ='
17089
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17092
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17096
cr_make_tmp='all_cairo_headers = $(cairo_headers)
17097
all_cairo_private = $(cairo_private)
17098
all_cairo_cxx_sources = $(cairo_cxx_sources)
17099
all_cairo_sources = $(cairo_sources)
17101
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17104
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17107
cr_make_tmp='all_cairo_boilerplate_headers = $(cairo_boilerplate_headers)
17108
all_cairo_boilerplate_private = $(cairo_boilerplate_private)
17109
all_cairo_boilerplate_cxx_sources = $(cairo_boilerplate_cxx_sources)
17110
all_cairo_boilerplate_sources = $(cairo_boilerplate_sources)
17112
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17115
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17119
cr_make_tmp='enabled_cairo_headers = $(cairo_headers)
17120
enabled_cairo_private = $(cairo_private)
17121
enabled_cairo_cxx_sources = $(cairo_cxx_sources)
17122
enabled_cairo_sources = $(cairo_sources)
17124
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17127
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17130
cr_make_tmp='enabled_cairo_boilerplate_headers = $(cairo_boilerplate_headers)
17131
enabled_cairo_boilerplate_private = $(cairo_boilerplate_private)
17132
enabled_cairo_boilerplate_cxx_sources = $(cairo_boilerplate_cxx_sources)
17133
enabled_cairo_boilerplate_sources = $(cairo_boilerplate_sources)
17135
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
17138
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
17147
ac_config_files="$ac_config_files src/cairo.pc"
17148
ac_config_files="$ac_config_files cairo-uninstalled.pc:src/cairo-uninstalled.pc.in"
17152
CAIRO_NONPKGCONFIG_CFLAGS=""
17154
CAIRO_NONPKGCONFIG_LIBS="$LIBS"
17161
cr_make_tmp='all_cairo_pkgconf = cairo.pc'
17162
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17165
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17169
cr_make_tmp='enabled_cairo_pkgconf = cairo.pc'
17170
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
17173
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
17180
CAIRO_SUPPORTED_FEATURES=''
17181
CAIRO_NO_FEATURES=''
17183
ac_config_commands="$ac_config_commands src/cairo-features.h"
17185
ac_config_commands="$ac_config_commands src/cairo-supported-features.h"
17191
CAIRO_MAKEFILE_win32_features_h_WIN32='# Generated by configure. Do not edit.
17194
ac_config_commands="$ac_config_commands $srcdir/build/Makefile.win32.features-h"
17197
cr_make_tmp='src/cairo-features.h: build/Makefile.win32.features
17198
@echo "Generating src/cairo-features.h"
17199
@echo "/* Generated by Makefile.win32. Do not edit. */" > src/cairo-features.h
17200
@echo "#ifndef CAIRO_FEATURES_H" >> src/cairo-features.h
17201
@echo "#define CAIRO_FEATURES_H 1" >> src/cairo-features.h'
17202
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
17209
CAIRO_WARNING_MESSAGE=''
17214
CAIRO_NATIVE_SURFACE_BACKENDS=''
17215
CAIRO_NATIVE_FONT_BACKENDS=''
17222
# -Wcast-align generates lots of false positive reports we need to
17223
# cast image data from uint8_t to uin32_t.
17225
MAYBE_WARN="-Wall -Wextra \
17226
-Wold-style-definition -Wdeclaration-after-statement \
17227
-Wmissing-declarations -Werror-implicit-function-declaration \
17228
-Wnested-externs -Wpointer-arith -Wwrite-strings \
17229
-Wsign-compare -Wstrict-prototypes -Wmissing-prototypes \
17230
-Wpacked -Wswitch-enum -Wmissing-format-attribute \
17231
-Wbad-function-cast -Wvolatile-register-var \
17232
-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations \
17233
-Wno-missing-field-initializers -Wno-unused-parameter \
17234
-Wno-attributes -Wno-long-long -Winline -Wlogical-op"
17236
MAYBE_WARN="$MAYBE_WARN -erroff=E_ENUM_TYPE_MISMATCH_ARG \
17237
-erroff=E_ENUM_TYPE_MISMATCH_OP"
17239
MAYBE_WARN="$MAYBE_WARN -fno-strict-aliasing -fno-common -flto"
17241
MAYBE_WARN="$MAYBE_WARN -Wp,-D_FORTIFY_SOURCE=2"
17243
# invalidate cached value if MAYBE_WARN has changed
17244
if test "x$cairo_cv_warn_maybe" != "x$MAYBE_WARN"; then
17245
unset cairo_cv_warn_cflags
17247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported warning flags" >&5
17248
$as_echo_n "checking for supported warning flags... " >&6; }
17249
if test "${cairo_cv_warn_cflags+set}" = set; then :
17250
$as_echo_n "(cached) " >&6
17256
# Some warning options are not supported by all versions of
17257
# gcc, so test all desired options against the current
17260
# Note that there are some order dependencies
17261
# here. Specifically, an option that disables a warning will
17262
# have no net effect if a later option then enables that
17263
# warnings, (perhaps implicitly). So we put some grouped
17264
# options (-Wall and -Wextra) up front and the -Wno options
17267
for W in $MAYBE_WARN; do
17268
_test_WERROR=${WERROR+set}
17269
if test "z$_test_WERROR" != zset; then
17271
for _werror in -Werror -errwarn; do
17272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $_werror" >&5
17273
$as_echo_n "checking whether $CC supports $_werror... " >&6; }
17274
# AC_LANG_PROGRAM() produces a main() w/o args,
17275
# but -Wold-style-definition doesn't like that.
17276
# We need _some_ program so that we don't get
17277
# warnings about empty compilation units, so always
17278
# append a reasonable main().
17279
_compile_program=""'
17280
int main(int c, char **v) { (void)c; (void)v; return 0; }'
17282
_save_cflags="$CFLAGS"
17283
_save_ldflags="$LDFLAGS"
17285
CFLAGS="$CFLAGS $_werror"
17286
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287
/* end confdefs.h. */
17290
if ac_fn_c_try_link "$LINENO"; then :
17291
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17294
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17297
rm -f core conftest.err conftest.$ac_objext \
17298
conftest$ac_exeext conftest.$ac_ext
17300
if test "x$cairo_cc_stderr" != "x"; then
17304
if test "x$cairo_cc_flag" = "xyes"; then
17305
WERROR="$WERROR $_werror"
17309
CFLAGS="$_save_cflags"
17310
LDFLAGS="$_save_ldflags"
17314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
17315
$as_echo "$cairo_cc_flag" >&6; }
17319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $W" >&5
17320
$as_echo_n "checking whether $CC supports $W... " >&6; }
17321
# AC_LANG_PROGRAM() produces a main() w/o args,
17322
# but -Wold-style-definition doesn't like that.
17323
# We need _some_ program so that we don't get
17324
# warnings about empty compilation units, so always
17325
# append a reasonable main().
17326
_compile_program=""'
17327
int main(int c, char **v) { (void)c; (void)v; return 0; }'
17329
_save_cflags="$CFLAGS"
17330
_save_ldflags="$LDFLAGS"
17332
CFLAGS="$CFLAGS $WERROR $W"
17333
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334
/* end confdefs.h. */
17337
if ac_fn_c_try_link "$LINENO"; then :
17338
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17341
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17344
rm -f core conftest.err conftest.$ac_objext \
17345
conftest$ac_exeext conftest.$ac_ext
17347
if test "x$cairo_cc_stderr" != "x"; then
17351
if test "x$cairo_cc_flag" = "xyes"; then
17352
WARN_CFLAGS="$WARN_CFLAGS $W"
17356
CFLAGS="$_save_cflags"
17357
LDFLAGS="$_save_ldflags"
17361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
17362
$as_echo "$cairo_cc_flag" >&6; }
17366
cairo_cv_warn_cflags=$WARN_CFLAGS
17367
cairo_cv_warn_maybe=$MAYBE_WARN
17369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which warning flags were supported" >&5
17370
$as_echo_n "checking which warning flags were supported... " >&6; }
17373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_warn_cflags" >&5
17374
$as_echo "$cairo_cv_warn_cflags" >&6; }
17375
WARN_CFLAGS="$cairo_cv_warn_cflags"
17376
CAIRO_CFLAGS="$CAIRO_CFLAGS $WARN_CFLAGS"
17378
# We only wish to enable attribute(warn_unused_result) if we can prevent
17379
# gcc from generating thousands of warnings about the misapplication of the
17380
# attribute to void functions and variables.
17381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to enable unused result warnings" >&5
17382
$as_echo_n "checking how to enable unused result warnings... " >&6; }
17383
if test "${cairo_cv_warn_unused_result+set}" = set; then :
17384
$as_echo_n "(cached) " >&6
17387
cairo_cv_warn_unused_result=""
17388
if echo $WARN_CFLAGS | grep -e '-Wno-attributes' >/dev/null; then
17389
# AC_LANG_PROGRAM() produces a main() w/o args,
17390
# but -Wold-style-definition doesn't like that.
17391
# We need _some_ program so that we don't get
17392
# warnings about empty compilation units, so always
17393
# append a reasonable main().
17394
_compile_program="__attribute__((__warn_unused_result__)) void f (void) {}
17395
__attribute__((__warn_unused_result__)) int g;"'
17396
int main(int c, char **v) { (void)c; (void)v; return 0; }'
17398
_save_cflags="$CFLAGS"
17399
_save_ldflags="$LDFLAGS"
17401
CFLAGS="$CFLAGS -Wno-attributes"
17402
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403
/* end confdefs.h. */
17406
if ac_fn_c_try_link "$LINENO"; then :
17407
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17410
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17413
rm -f core conftest.err conftest.$ac_objext \
17414
conftest$ac_exeext conftest.$ac_ext
17416
if test "x$cairo_cc_stderr" != "x"; then
17420
if test "x$cairo_cc_flag" = "xyes"; then
17421
cairo_cv_warn_unused_result="__attribute__((__warn_unused_result__))"
17425
CFLAGS="$_save_cflags"
17426
LDFLAGS="$_save_ldflags"
17433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_warn_unused_result" >&5
17434
$as_echo "$cairo_cv_warn_unused_result" >&6; }
17436
cat >>confdefs.h <<_ACEOF
17437
#define WARN_UNUSED_RESULT $cairo_cv_warn_unused_result
17441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to allow undefined symbols in shared libraries used by test suite" >&5
17442
$as_echo_n "checking how to allow undefined symbols in shared libraries used by test suite... " >&6; }
17443
if test "${cairo_cv_test_undefined_ldflags+set}" = set; then :
17444
$as_echo_n "(cached) " >&6
17446
_test_WERROR=${WERROR+set}
17447
if test "z$_test_WERROR" != zset; then
17449
for _werror in -Werror -errwarn; do
17450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $_werror" >&5
17451
$as_echo_n "checking whether $CC supports $_werror... " >&6; }
17452
# AC_LANG_PROGRAM() produces a main() w/o args,
17453
# but -Wold-style-definition doesn't like that.
17454
# We need _some_ program so that we don't get
17455
# warnings about empty compilation units, so always
17456
# append a reasonable main().
17457
_compile_program=""'
17458
int main(int c, char **v) { (void)c; (void)v; return 0; }'
17460
_save_cflags="$CFLAGS"
17461
_save_ldflags="$LDFLAGS"
17463
CFLAGS="$CFLAGS $_werror"
17464
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465
/* end confdefs.h. */
17468
if ac_fn_c_try_link "$LINENO"; then :
17469
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17472
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17475
rm -f core conftest.err conftest.$ac_objext \
17476
conftest$ac_exeext conftest.$ac_ext
17478
if test "x$cairo_cc_stderr" != "x"; then
17482
if test "x$cairo_cc_flag" = "xyes"; then
17483
WERROR="$WERROR $_werror"
17487
CFLAGS="$_save_cflags"
17488
LDFLAGS="$_save_ldflags"
17492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
17493
$as_echo "$cairo_cc_flag" >&6; }
17497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--allow-shlib-undefined" >&5
17498
$as_echo_n "checking whether $CC supports -Wl,--allow-shlib-undefined... " >&6; }
17499
# AC_LANG_PROGRAM() produces a main() w/o args,
17500
# but -Wold-style-definition doesn't like that.
17501
# We need _some_ program so that we don't get
17502
# warnings about empty compilation units, so always
17503
# append a reasonable main().
17504
_compile_program=""'
17505
int main(int c, char **v) { (void)c; (void)v; return 0; }'
17507
_save_cflags="$CFLAGS"
17508
_save_ldflags="$LDFLAGS"
17510
CFLAGS="$CFLAGS $WERROR -Wl,--allow-shlib-undefined"
17511
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512
/* end confdefs.h. */
17515
if ac_fn_c_try_link "$LINENO"; then :
17516
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17519
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
17522
rm -f core conftest.err conftest.$ac_objext \
17523
conftest$ac_exeext conftest.$ac_ext
17525
if test "x$cairo_cc_stderr" != "x"; then
17529
if test "x$cairo_cc_flag" = "xyes"; then
17530
cairo_cv_test_undefined_ldflags="-Wl,--allow-shlib-undefined"
17534
CFLAGS="$_save_cflags"
17535
LDFLAGS="$_save_ldflags"
17539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
17540
$as_echo "$cairo_cc_flag" >&6; }
17543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_test_undefined_ldflags" >&5
17544
$as_echo "$cairo_cv_test_undefined_ldflags" >&6; }
17545
CAIRO_TEST_UNDEFINED_LDFLAGS="$cairo_cv_test_undefined_ldflags"
17549
if test "x$cross_compiling" = "xyes"; then
17550
CROSS_COMPILING_TRUE=
17551
CROSS_COMPILING_FALSE='#'
17553
CROSS_COMPILING_TRUE='#'
17554
CROSS_COMPILING_FALSE=
17562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
17563
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
17564
if test "${ac_cv_c_bigendian+set}" = set; then :
17565
$as_echo_n "(cached) " >&6
17567
ac_cv_c_bigendian=unknown
17568
# See if we're dealing with a universal compiler.
17569
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570
/* end confdefs.h. */
17571
#ifndef __APPLE_CC__
17572
not a universal capable compiler
17577
if ac_fn_c_try_compile "$LINENO"; then :
17579
# Check for potential -arch flags. It is not universal unless
17580
# there are at least two -arch flags with different values.
17583
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
17584
if test -n "$ac_prev"; then
17586
i?86 | x86_64 | ppc | ppc64)
17587
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
17590
ac_cv_c_bigendian=universal
17596
elif test "x$ac_word" = "x-arch"; then
17601
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602
if test $ac_cv_c_bigendian = unknown; then
17603
# See if sys/param.h defines the BYTE_ORDER macro.
17604
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605
/* end confdefs.h. */
17606
#include <sys/types.h>
17607
#include <sys/param.h>
17612
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
17613
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
17615
bogus endian macros
17622
if ac_fn_c_try_compile "$LINENO"; then :
17623
# It does; now see whether it defined to BIG_ENDIAN or not.
17624
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625
/* end confdefs.h. */
17626
#include <sys/types.h>
17627
#include <sys/param.h>
17632
#if BYTE_ORDER != BIG_ENDIAN
17640
if ac_fn_c_try_compile "$LINENO"; then :
17641
ac_cv_c_bigendian=yes
17643
ac_cv_c_bigendian=no
17645
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17647
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17649
if test $ac_cv_c_bigendian = unknown; then
17650
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
17651
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17652
/* end confdefs.h. */
17653
#include <limits.h>
17658
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
17659
bogus endian macros
17666
if ac_fn_c_try_compile "$LINENO"; then :
17667
# It does; now see whether it defined to _BIG_ENDIAN or not.
17668
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17669
/* end confdefs.h. */
17670
#include <limits.h>
17675
#ifndef _BIG_ENDIAN
17683
if ac_fn_c_try_compile "$LINENO"; then :
17684
ac_cv_c_bigendian=yes
17686
ac_cv_c_bigendian=no
17688
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692
if test $ac_cv_c_bigendian = unknown; then
17693
# Compile a test program.
17694
if test "$cross_compiling" = yes; then :
17695
# Try to guess by grepping values from an object file.
17696
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697
/* end confdefs.h. */
17698
short int ascii_mm[] =
17699
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17700
short int ascii_ii[] =
17701
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17702
int use_ascii (int i) {
17703
return ascii_mm[i] + ascii_ii[i];
17705
short int ebcdic_ii[] =
17706
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17707
short int ebcdic_mm[] =
17708
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17709
int use_ebcdic (int i) {
17710
return ebcdic_mm[i] + ebcdic_ii[i];
17717
return use_ascii (foo) == use_ebcdic (foo);
17722
if ac_fn_c_try_compile "$LINENO"; then :
17723
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
17724
ac_cv_c_bigendian=yes
17726
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
17727
if test "$ac_cv_c_bigendian" = unknown; then
17728
ac_cv_c_bigendian=no
17730
# finding both strings is unlikely to happen, but who knows?
17731
ac_cv_c_bigendian=unknown
17735
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17737
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738
/* end confdefs.h. */
17739
$ac_includes_default
17744
/* Are we little or big endian? From Harbison&Steele. */
17748
char c[sizeof (long int)];
17751
return u.c[sizeof (long int) - 1] == 1;
17757
if ac_fn_c_try_run "$LINENO"; then :
17758
ac_cv_c_bigendian=no
17760
ac_cv_c_bigendian=yes
17762
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17763
conftest.$ac_objext conftest.beam conftest.$ac_ext
17768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
17769
$as_echo "$ac_cv_c_bigendian" >&6; }
17770
case $ac_cv_c_bigendian in #(
17772
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
17778
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
17782
as_fn_error $? "unknown endianness
17783
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
17786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether float word ordering is bigendian" >&5
17787
$as_echo_n "checking whether float word ordering is bigendian... " >&6; }
17788
if test "${ax_cv_c_float_words_bigendian+set}" = set; then :
17789
$as_echo_n "(cached) " >&6
17793
# The endianess is detected by first compiling C code that contains a special
17794
# double float value, then grepping the resulting object file for certain
17795
# strings of ascii values. The double is specially crafted to have a
17796
# binary representation that corresponds with a simple string. In this
17797
# implementation, the string "noonsees" was selected because the individual
17798
# word values ("noon" and "sees") are palindromes, thus making this test
17799
# byte-order agnostic. If grep finds the string "noonsees" in the object
17800
# file, the target platform stores float words in big-endian order. If grep
17801
# finds "seesnoon", float words are in little-endian order. If neither value
17802
# is found, the user is instructed to specify the ordering.
17804
ax_cv_c_float_words_bigendian=unknown
17805
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17806
/* end confdefs.h. */
17809
double d = 90904234967036810337470478905505011476211692735615632014797120844053488865816695273723469097858056257517020191247487429516932130503560650002327564517570778480236724525140520121371739201496540132640109977779420565776568942592.0;
17813
if ac_fn_c_try_compile "$LINENO"; then :
17816
if strings - conftest.$ac_objext | grep noonsees >/dev/null ; then
17817
ax_cv_c_float_words_bigendian=yes
17819
if strings - conftest.$ac_objext | grep seesnoon >/dev/null ; then
17820
if test "$ax_cv_c_float_words_bigendian" = unknown; then
17821
ax_cv_c_float_words_bigendian=no
17823
ax_cv_c_float_words_bigendian=unknown
17829
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_float_words_bigendian" >&5
17832
$as_echo "$ax_cv_c_float_words_bigendian" >&6; }
17834
case $ax_cv_c_float_words_bigendian in
17837
$as_echo "#define FLOAT_WORDS_BIGENDIAN 1" >>confdefs.h
17844
Unknown float word ordering. You need to manually preset
17845
ax_cv_c_float_words_bigendian=no (or yes) according to your system.
17854
# Check whether --enable-atomic was given.
17855
if test "${enable_atomic+set}" = set; then :
17856
enableval=$enable_atomic; use_atomic=$enableval
17861
if test "x$use_atomic" = "xyes"; then :
17863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native atomic primitives" >&5
17864
$as_echo_n "checking for native atomic primitives... " >&6; }
17865
if test "${cairo_cv_atomic_primitives+set}" = set; then :
17866
$as_echo_n "(cached) " >&6
17869
cairo_cv_atomic_primitives="none"
17871
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872
/* end confdefs.h. */
17874
int atomic_add(int i) { return __sync_fetch_and_add (&i, 1); }
17875
int atomic_cmpxchg(int i, int j, int k) { return __sync_val_compare_and_swap (&i, j, k); }
17885
if ac_fn_c_try_link "$LINENO"; then :
17886
cairo_cv_atomic_primitives="Intel"
17889
rm -f core conftest.err conftest.$ac_objext \
17890
conftest$ac_exeext conftest.$ac_ext
17892
if test "x$cairo_cv_atomic_primitives" = "xnone"; then
17893
ac_fn_c_check_header_mongrel "$LINENO" "atomic_ops.h" "ac_cv_header_atomic_ops_h" "$ac_includes_default"
17894
if test "x$ac_cv_header_atomic_ops_h" = x""yes; then :
17895
cairo_cv_atomic_primitives="libatomic-ops"
17901
if test "x$cairo_cv_atomic_primitives" = "xnone"; then
17902
ac_fn_c_check_header_mongrel "$LINENO" "libkern/OSAtomic.h" "ac_cv_header_libkern_OSAtomic_h" "$ac_includes_default"
17903
if test "x$ac_cv_header_libkern_OSAtomic_h" = x""yes; then :
17904
cairo_cv_atomic_primitives="OSAtomic"
17911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_atomic_primitives" >&5
17912
$as_echo "$cairo_cv_atomic_primitives" >&6; }
17913
if test "x$cairo_cv_atomic_primitives" = xIntel; then
17915
$as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
17919
if test "x$cairo_cv_atomic_primitives" = "xlibatomic-ops"; then
17921
$as_echo "#define HAVE_LIB_ATOMIC_OPS 1" >>confdefs.h
17925
if test "x$cairo_cv_atomic_primitives" = xOSAtomic; then
17927
$as_echo "#define HAVE_OS_ATOMIC_OPS 1" >>confdefs.h
17931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic ops require a memory barrier" >&5
17932
$as_echo_n "checking whether atomic ops require a memory barrier... " >&6; }
17933
if test "${cairo_cv_atomic_op_needs_memory_barrier+set}" = set; then :
17934
$as_echo_n "(cached) " >&6
17938
i?86) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
17939
x86_64) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
17940
arm*) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
17941
*) cairo_cv_atomic_op_needs_memory_barrier="yes" ;;
17945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_atomic_op_needs_memory_barrier" >&5
17946
$as_echo "$cairo_cv_atomic_op_needs_memory_barrier" >&6; }
17947
if test "x$cairo_cv_atomic_op_needs_memory_barrier" = "xyes"; then
17949
cat >>confdefs.h <<_ACEOF
17950
#define ATOMIC_OP_NEEDS_MEMORY_BARRIER 1
17957
# The cast to long int works around a bug in the HP C Compiler
17958
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17959
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17960
# This bug is HP SR number 8606223364.
17961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
17962
$as_echo_n "checking size of void *... " >&6; }
17963
if test "${ac_cv_sizeof_void_p+set}" = set; then :
17964
$as_echo_n "(cached) " >&6
17966
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
17969
if test "$ac_cv_type_void_p" = yes; then
17970
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17971
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17972
as_fn_error 77 "cannot compute sizeof (void *)
17973
See \`config.log' for more details" "$LINENO" 5 ; }
17975
ac_cv_sizeof_void_p=0
17980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
17981
$as_echo "$ac_cv_sizeof_void_p" >&6; }
17985
cat >>confdefs.h <<_ACEOF
17986
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17990
# The cast to long int works around a bug in the HP C Compiler
17991
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17992
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17993
# This bug is HP SR number 8606223364.
17994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
17995
$as_echo_n "checking size of int... " >&6; }
17996
if test "${ac_cv_sizeof_int+set}" = set; then :
17997
$as_echo_n "(cached) " >&6
17999
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
18002
if test "$ac_cv_type_int" = yes; then
18003
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18004
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18005
as_fn_error 77 "cannot compute sizeof (int)
18006
See \`config.log' for more details" "$LINENO" 5 ; }
18013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
18014
$as_echo "$ac_cv_sizeof_int" >&6; }
18018
cat >>confdefs.h <<_ACEOF
18019
#define SIZEOF_INT $ac_cv_sizeof_int
18023
# The cast to long int works around a bug in the HP C Compiler
18024
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18025
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18026
# This bug is HP SR number 8606223364.
18027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
18028
$as_echo_n "checking size of long... " >&6; }
18029
if test "${ac_cv_sizeof_long+set}" = set; then :
18030
$as_echo_n "(cached) " >&6
18032
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
18035
if test "$ac_cv_type_long" = yes; then
18036
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18037
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18038
as_fn_error 77 "cannot compute sizeof (long)
18039
See \`config.log' for more details" "$LINENO" 5 ; }
18041
ac_cv_sizeof_long=0
18046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
18047
$as_echo "$ac_cv_sizeof_long" >&6; }
18051
cat >>confdefs.h <<_ACEOF
18052
#define SIZEOF_LONG $ac_cv_sizeof_long
18056
# The cast to long int works around a bug in the HP C Compiler
18057
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18058
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18059
# This bug is HP SR number 8606223364.
18060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
18061
$as_echo_n "checking size of long long... " >&6; }
18062
if test "${ac_cv_sizeof_long_long+set}" = set; then :
18063
$as_echo_n "(cached) " >&6
18065
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
18068
if test "$ac_cv_type_long_long" = yes; then
18069
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18070
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18071
as_fn_error 77 "cannot compute sizeof (long long)
18072
See \`config.log' for more details" "$LINENO" 5 ; }
18074
ac_cv_sizeof_long_long=0
18079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
18080
$as_echo "$ac_cv_sizeof_long_long" >&6; }
18084
cat >>confdefs.h <<_ACEOF
18085
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18089
# The cast to long int works around a bug in the HP C Compiler
18090
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18091
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18092
# This bug is HP SR number 8606223364.
18093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
18094
$as_echo_n "checking size of size_t... " >&6; }
18095
if test "${ac_cv_sizeof_size_t+set}" = set; then :
18096
$as_echo_n "(cached) " >&6
18098
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
18101
if test "$ac_cv_type_size_t" = yes; then
18102
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18103
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18104
as_fn_error 77 "cannot compute sizeof (size_t)
18105
See \`config.log' for more details" "$LINENO" 5 ; }
18107
ac_cv_sizeof_size_t=0
18112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
18113
$as_echo "$ac_cv_sizeof_size_t" >&6; }
18117
cat >>confdefs.h <<_ACEOF
18118
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
18124
$as_echo_n "checking for native Win32... " >&6; }
18133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_os_win32" >&5
18134
$as_echo "$cairo_os_win32" >&6; }
18135
if test "$cairo_os_win32" = "yes"; then
18144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sun Solaris (non-POSIX ctime_r)" >&5
18145
$as_echo_n "checking for Sun Solaris (non-POSIX ctime_r)... " >&6; }
18148
CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS"
18149
solaris_posix_pthread=yes
18152
solaris_posix_pthread=no
18155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $solaris_posix_pthread" >&5
18156
$as_echo "$solaris_posix_pthread" >&6; }
18161
*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
18162
# These system don't have libm, or don't need it
18165
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
18166
$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
18167
if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
18168
$as_echo_n "(cached) " >&6
18170
ac_check_lib_save_LIBS=$LIBS
18172
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18173
/* end confdefs.h. */
18175
/* Override any GCC internal prototype to avoid an error.
18176
Use char because int might match the return type of a GCC
18177
builtin and then its argument prototype would still apply. */
18181
char _mwvalidcheckl ();
18185
return _mwvalidcheckl ();
18190
if ac_fn_c_try_link "$LINENO"; then :
18191
ac_cv_lib_mw__mwvalidcheckl=yes
18193
ac_cv_lib_mw__mwvalidcheckl=no
18195
rm -f core conftest.err conftest.$ac_objext \
18196
conftest$ac_exeext conftest.$ac_ext
18197
LIBS=$ac_check_lib_save_LIBS
18199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
18200
$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
18201
if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
18205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
18206
$as_echo_n "checking for cos in -lm... " >&6; }
18207
if test "${ac_cv_lib_m_cos+set}" = set; then :
18208
$as_echo_n "(cached) " >&6
18210
ac_check_lib_save_LIBS=$LIBS
18212
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18213
/* end confdefs.h. */
18215
/* Override any GCC internal prototype to avoid an error.
18216
Use char because int might match the return type of a GCC
18217
builtin and then its argument prototype would still apply. */
18230
if ac_fn_c_try_link "$LINENO"; then :
18231
ac_cv_lib_m_cos=yes
18235
rm -f core conftest.err conftest.$ac_objext \
18236
conftest$ac_exeext conftest.$ac_ext
18237
LIBS=$ac_check_lib_save_LIBS
18239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
18240
$as_echo "$ac_cv_lib_m_cos" >&6; }
18241
if test "x$ac_cv_lib_m_cos" = x""yes; then :
18247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
18248
$as_echo_n "checking for cos in -lm... " >&6; }
18249
if test "${ac_cv_lib_m_cos+set}" = set; then :
18250
$as_echo_n "(cached) " >&6
18252
ac_check_lib_save_LIBS=$LIBS
18254
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18255
/* end confdefs.h. */
18257
/* Override any GCC internal prototype to avoid an error.
18258
Use char because int might match the return type of a GCC
18259
builtin and then its argument prototype would still apply. */
18272
if ac_fn_c_try_link "$LINENO"; then :
18273
ac_cv_lib_m_cos=yes
18277
rm -f core conftest.err conftest.$ac_objext \
18278
conftest$ac_exeext conftest.$ac_ext
18279
LIBS=$ac_check_lib_save_LIBS
18281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
18282
$as_echo "$ac_cv_lib_m_cos" >&6; }
18283
if test "x$ac_cv_lib_m_cos" = x""yes; then :
18293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
18294
$as_echo_n "checking for sched_yield in -lrt... " >&6; }
18295
if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
18296
$as_echo_n "(cached) " >&6
18298
ac_check_lib_save_LIBS=$LIBS
18300
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301
/* end confdefs.h. */
18303
/* Override any GCC internal prototype to avoid an error.
18304
Use char because int might match the return type of a GCC
18305
builtin and then its argument prototype would still apply. */
18309
char sched_yield ();
18313
return sched_yield ();
18318
if ac_fn_c_try_link "$LINENO"; then :
18319
ac_cv_lib_rt_sched_yield=yes
18321
ac_cv_lib_rt_sched_yield=no
18323
rm -f core conftest.err conftest.$ac_objext \
18324
conftest$ac_exeext conftest.$ac_ext
18325
LIBS=$ac_check_lib_save_LIBS
18327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
18328
$as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
18329
if test "x$ac_cv_lib_rt_sched_yield" = x""yes; then :
18335
CAIROPERF_LIBS=$RT_LIBS
18339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
18340
$as_echo_n "checking for shm_open in -lrt... " >&6; }
18341
if test "${ac_cv_lib_rt_shm_open+set}" = set; then :
18342
$as_echo_n "(cached) " >&6
18344
ac_check_lib_save_LIBS=$LIBS
18346
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18347
/* end confdefs.h. */
18349
/* Override any GCC internal prototype to avoid an error.
18350
Use char because int might match the return type of a GCC
18351
builtin and then its argument prototype would still apply. */
18359
return shm_open ();
18364
if ac_fn_c_try_link "$LINENO"; then :
18365
ac_cv_lib_rt_shm_open=yes
18367
ac_cv_lib_rt_shm_open=no
18369
rm -f core conftest.err conftest.$ac_objext \
18370
conftest$ac_exeext conftest.$ac_ext
18371
LIBS=$ac_check_lib_save_LIBS
18373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
18374
$as_echo "$ac_cv_lib_rt_shm_open" >&6; }
18375
if test "x$ac_cv_lib_rt_shm_open" = x""yes; then :
18384
if test "x$has_shm_open" = "xyes"; then
18394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
18395
$as_echo_n "checking for connect in -lsocket... " >&6; }
18396
if test "${ac_cv_lib_socket_connect+set}" = set; then :
18397
$as_echo_n "(cached) " >&6
18399
ac_check_lib_save_LIBS=$LIBS
18400
LIBS="-lsocket $LIBS"
18401
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18402
/* end confdefs.h. */
18404
/* Override any GCC internal prototype to avoid an error.
18405
Use char because int might match the return type of a GCC
18406
builtin and then its argument prototype would still apply. */
18419
if ac_fn_c_try_link "$LINENO"; then :
18420
ac_cv_lib_socket_connect=yes
18422
ac_cv_lib_socket_connect=no
18424
rm -f core conftest.err conftest.$ac_objext \
18425
conftest$ac_exeext conftest.$ac_ext
18426
LIBS=$ac_check_lib_save_LIBS
18428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
18429
$as_echo "$ac_cv_lib_socket_connect" >&6; }
18430
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
18431
SOCKET_LIBS=-lsocket
18436
CAIROBOILERPLATE_LIBS=$SOCKET_LIBS
18440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_return_address(0)" >&5
18441
$as_echo_n "checking for __builtin_return_address(0)... " >&6; }
18442
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18443
/* end confdefs.h. */
18448
__builtin_return_address(0);
18453
if ac_fn_c_try_compile "$LINENO"; then :
18454
have_builtin_return_address=yes
18456
have_builtin_return_address=no
18458
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_builtin_return_address" >&5
18460
$as_echo "$have_builtin_return_address" >&6; }
18461
if test "x$have_builtin_return_address" = "xyes"; then
18463
$as_echo "#define HAVE_BUILTIN_RETURN_ADDRESS 1" >>confdefs.h
18467
for ac_header in stdint.h inttypes.h sys/int_types.h
18469
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18470
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18471
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18472
cat >>confdefs.h <<_ACEOF
18473
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18480
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
18481
if test "x$ac_cv_type_uint64_t" = x""yes; then :
18483
cat >>confdefs.h <<_ACEOF
18484
#define HAVE_UINT64_T 1
18489
ac_fn_c_check_type "$LINENO" "uint128_t" "ac_cv_type_uint128_t" "$ac_includes_default"
18490
if test "x$ac_cv_type_uint128_t" = x""yes; then :
18492
cat >>confdefs.h <<_ACEOF
18493
#define HAVE_UINT128_T 1
18498
ac_fn_c_check_type "$LINENO" "__uint128_t" "ac_cv_type___uint128_t" "$ac_includes_default"
18499
if test "x$ac_cv_type___uint128_t" = x""yes; then :
18501
cat >>confdefs.h <<_ACEOF
18502
#define HAVE___UINT128_T 1
18509
for ac_header in fcntl.h unistd.h signal.h sys/stat.h sys/socket.h sys/poll.h sys/un.h
18511
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18512
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18513
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18514
cat >>confdefs.h <<_ACEOF
18515
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18523
for ac_func in alarm
18525
ac_fn_c_check_func "$LINENO" "alarm" "ac_cv_func_alarm"
18526
if test "x$ac_cv_func_alarm" = x""yes; then :
18527
cat >>confdefs.h <<_ACEOF
18528
#define HAVE_ALARM 1
18535
for ac_header in sched.h
18537
ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
18538
if test "x$ac_cv_header_sched_h" = x""yes; then :
18539
cat >>confdefs.h <<_ACEOF
18540
#define HAVE_SCHED_H 1
18542
for ac_func in sched_getaffinity
18544
ac_fn_c_check_func "$LINENO" "sched_getaffinity" "ac_cv_func_sched_getaffinity"
18545
if test "x$ac_cv_func_sched_getaffinity" = x""yes; then :
18546
cat >>confdefs.h <<_ACEOF
18547
#define HAVE_SCHED_GETAFFINITY 1
18558
for ac_header in sys/mman.h
18560
ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
18561
if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
18562
cat >>confdefs.h <<_ACEOF
18563
#define HAVE_SYS_MMAN_H 1
18565
for ac_func in mmap
18567
ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
18568
if test "x$ac_cv_func_mmap" = x""yes; then :
18569
cat >>confdefs.h <<_ACEOF
18570
#define HAVE_MMAP 1
18582
LIBS="$LIBS $RT_LIBS"
18583
for ac_header in time.h
18585
ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
18586
if test "x$ac_cv_header_time_h" = x""yes; then :
18587
cat >>confdefs.h <<_ACEOF
18588
#define HAVE_TIME_H 1
18590
for ac_func in clock_gettime
18592
ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
18593
if test "x$ac_cv_func_clock_gettime" = x""yes; then :
18594
cat >>confdefs.h <<_ACEOF
18595
#define HAVE_CLOCK_GETTIME 1
18607
ac_fn_c_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18608
if test "x$ac_cv_header_fenv_h" = x""yes; then :
18609
for ac_func in feenableexcept fedisableexcept feclearexcept
18611
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18612
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18613
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18614
cat >>confdefs.h <<_ACEOF
18615
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18625
for ac_header in libgen.h byteswap.h signal.h setjmp.h fenv.h
18627
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18628
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18629
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18630
cat >>confdefs.h <<_ACEOF
18631
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18638
for ac_func in vasnprintf link ctime_r drand48 flockfile ffs
18640
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18641
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18642
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18643
cat >>confdefs.h <<_ACEOF
18644
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18651
for ac_header in windows.h
18653
ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
18654
if test "x$ac_cv_header_windows_h" = x""yes; then :
18655
cat >>confdefs.h <<_ACEOF
18656
#define HAVE_WINDOWS_H 1
18667
for ac_header in sys/stat.h io.h
18669
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18670
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18671
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18672
cat >>confdefs.h <<_ACEOF
18673
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18680
ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir"
18681
if test "x$ac_cv_func_mkdir" = x""yes; then :
18682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking mkdir variant" >&5
18683
$as_echo_n "checking mkdir variant... " >&6; }
18684
mkdir_variant="unknown"
18685
save_CFLAGS="$CFLAGS"
18686
CFLAGS=$WARN_CFLAGS
18687
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688
/* end confdefs.h. */
18690
#ifdef HAVE_SYS_STAT_H
18691
#include <sys/stat.h>
18700
mkdir ("hello.world", 0777)
18705
if ac_fn_c_try_compile "$LINENO"; then :
18706
mkdir_variant="mkdir(path, mode)"
18708
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18709
/* end confdefs.h. */
18711
#ifdef HAVE_SYS_STAT_H
18712
#include <sys/stat.h>
18721
mkdir ("hello.world")
18726
if ac_fn_c_try_compile "$LINENO"; then :
18727
mkdir_variant="mkdir(path)"
18729
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18731
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkdir_variant" >&5
18733
$as_echo "$mkdir_variant" >&6; }
18734
CFLAGS="$save_CFLAGS"
18735
if test "x$mkdir_variant" = "xmkdir(path, mode)"; then
18737
$as_echo "#define HAVE_MKDIR 2" >>confdefs.h
18741
$as_echo "#define HAVE_MKDIR 1" >>confdefs.h
18748
for ac_func in fork waitpid raise
18750
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18751
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18752
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18753
cat >>confdefs.h <<_ACEOF
18754
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18762
# Check whether --enable-gcov was given.
18763
if test "${enable_gcov+set}" = set; then :
18764
enableval=$enable_gcov; use_gcov=$enableval
18770
if test "x$use_gcov" = "xyes"; then
18771
if test "$GCC" != "yes"; then
18772
as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
18775
# Extract the first word of "shtool", so it can be a program name with args.
18776
set dummy shtool; ac_word=$2
18777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18778
$as_echo_n "checking for $ac_word... " >&6; }
18779
if test "${ac_cv_prog_SHTOOL+set}" = set; then :
18780
$as_echo_n "(cached) " >&6
18782
if test -n "$SHTOOL"; then
18783
ac_cv_prog_SHTOOL="$SHTOOL" # Let the user override the test.
18785
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18786
for as_dir in $PATH
18789
test -z "$as_dir" && as_dir=.
18790
for ac_exec_ext in '' $ac_executable_extensions; do
18791
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18792
ac_cv_prog_SHTOOL="shtool"
18793
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18802
SHTOOL=$ac_cv_prog_SHTOOL
18803
if test -n "$SHTOOL"; then
18804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
18805
$as_echo "$SHTOOL" >&6; }
18807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18808
$as_echo "no" >&6; }
18812
case `$SHTOOL path $CC` in
18813
*ccache*) gcc_ccache=yes;;
18817
if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
18818
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
18821
ltp_version_list="1.7 1.6 1.5 1.4"
18822
# Extract the first word of "lcov", so it can be a program name with args.
18823
set dummy lcov; ac_word=$2
18824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18825
$as_echo_n "checking for $ac_word... " >&6; }
18826
if test "${ac_cv_prog_LTP+set}" = set; then :
18827
$as_echo_n "(cached) " >&6
18829
if test -n "$LTP"; then
18830
ac_cv_prog_LTP="$LTP" # Let the user override the test.
18832
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18833
for as_dir in $PATH
18836
test -z "$as_dir" && as_dir=.
18837
for ac_exec_ext in '' $ac_executable_extensions; do
18838
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18839
ac_cv_prog_LTP="lcov"
18840
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18849
LTP=$ac_cv_prog_LTP
18850
if test -n "$LTP"; then
18851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTP" >&5
18852
$as_echo "$LTP" >&6; }
18854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18855
$as_echo "no" >&6; }
18859
# Extract the first word of "genhtml", so it can be a program name with args.
18860
set dummy genhtml; ac_word=$2
18861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18862
$as_echo_n "checking for $ac_word... " >&6; }
18863
if test "${ac_cv_prog_LTP_GENHTML+set}" = set; then :
18864
$as_echo_n "(cached) " >&6
18866
if test -n "$LTP_GENHTML"; then
18867
ac_cv_prog_LTP_GENHTML="$LTP_GENHTML" # Let the user override the test.
18869
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18870
for as_dir in $PATH
18873
test -z "$as_dir" && as_dir=.
18874
for ac_exec_ext in '' $ac_executable_extensions; do
18875
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18876
ac_cv_prog_LTP_GENHTML="genhtml"
18877
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18886
LTP_GENHTML=$ac_cv_prog_LTP_GENHTML
18887
if test -n "$LTP_GENHTML"; then
18888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTP_GENHTML" >&5
18889
$as_echo "$LTP_GENHTML" >&6; }
18891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18892
$as_echo "no" >&6; }
18897
if test "$LTP"; then
18898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ltp version" >&5
18899
$as_echo_n "checking for ltp version... " >&6; }
18900
if test "${cairo_cv_ltp_version+set}" = set; then :
18901
$as_echo_n "(cached) " >&6
18904
cairo_cv_ltp_version=invalid
18905
ltp_version=`$LTP -v 2>/dev/null | $SED -e 's/^.* //'`
18906
for ltp_check_version in $ltp_version_list; do
18907
if test "$ltp_version" = "$ltp_check_version"; then
18908
cairo_cv_ltp_version="$ltp_check_version (ok)"
18913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_ltp_version" >&5
18914
$as_echo "$cairo_cv_ltp_version" >&6; }
18917
case $cairo_cv_ltp_version in
18925
if test "x$cairo_has_lcov" != "xyes"; then
18926
as_fn_error $? "To enable code coverage reporting you must have one of the following LTP versions installed: $ltp_version_list.
18927
Please install the Linux Test Project [http://ltp.sourceforge.net/], and try again." "$LINENO" 5
18930
if test -z "$LTP_GENHTML"; then
18931
as_fn_error $? "Could not find genhtml from the LTP package.
18932
Please install the Linux Test Project [http://ltp.sourceforge.net/], and try again." "$LINENO" 5
18936
$as_echo "#define HAVE_GCOV 1" >>confdefs.h
18940
CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
18941
CAIRO_CFLAGS=`echo "$CAIRO_CFLAGS" | $SED -e 's/-O[0-9]*//g'`
18944
_test_WERROR=${WERROR+set}
18945
if test "z$_test_WERROR" != zset; then
18947
for _werror in -Werror -errwarn; do
18948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $_werror" >&5
18949
$as_echo_n "checking whether $CC supports $_werror... " >&6; }
18950
# AC_LANG_PROGRAM() produces a main() w/o args,
18951
# but -Wold-style-definition doesn't like that.
18952
# We need _some_ program so that we don't get
18953
# warnings about empty compilation units, so always
18954
# append a reasonable main().
18955
_compile_program=""'
18956
int main(int c, char **v) { (void)c; (void)v; return 0; }'
18958
_save_cflags="$CFLAGS"
18959
_save_ldflags="$LDFLAGS"
18961
CFLAGS="$CFLAGS $_werror"
18962
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18963
/* end confdefs.h. */
18966
if ac_fn_c_try_link "$LINENO"; then :
18967
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18970
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
18973
rm -f core conftest.err conftest.$ac_objext \
18974
conftest$ac_exeext conftest.$ac_ext
18976
if test "x$cairo_cc_stderr" != "x"; then
18980
if test "x$cairo_cc_flag" = "xyes"; then
18981
WERROR="$WERROR $_werror"
18985
CFLAGS="$_save_cflags"
18986
LDFLAGS="$_save_ldflags"
18990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
18991
$as_echo "$cairo_cc_flag" >&6; }
18995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports --coverage" >&5
18996
$as_echo_n "checking whether $CC supports --coverage... " >&6; }
18997
# AC_LANG_PROGRAM() produces a main() w/o args,
18998
# but -Wold-style-definition doesn't like that.
18999
# We need _some_ program so that we don't get
19000
# warnings about empty compilation units, so always
19001
# append a reasonable main().
19002
_compile_program=""'
19003
int main(int c, char **v) { (void)c; (void)v; return 0; }'
19005
_save_cflags="$CFLAGS"
19006
_save_ldflags="$LDFLAGS"
19008
CFLAGS="$CFLAGS $WERROR --coverage"
19009
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19010
/* end confdefs.h. */
19013
if ac_fn_c_try_link "$LINENO"; then :
19014
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
19017
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
19020
rm -f core conftest.err conftest.$ac_objext \
19021
conftest$ac_exeext conftest.$ac_ext
19023
if test "x$cairo_cc_stderr" != "x"; then
19027
if test "x$cairo_cc_flag" = "xyes"; then
19029
CAIRO_CFLAGS="$CAIRO_CFLAGS -O0 --coverage"
19030
CAIRO_LDFLAGS="$CAIRO_LDFLAGS -O0 --coverage"
19035
CFLAGS="$_save_cflags"
19036
LDFLAGS="$_save_ldflags"
19040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cc_flag" >&5
19041
$as_echo "$cairo_cc_flag" >&6; }
19044
if test "x$cairo_has_lcov" = "xyes"; then
19045
CAIRO_HAS_LCOV_TRUE=
19046
CAIRO_HAS_LCOV_FALSE='#'
19048
CAIRO_HAS_LCOV_TRUE='#'
19049
CAIRO_HAS_LCOV_FALSE=
19053
# Check whether --enable-valgrind was given.
19054
if test "${enable_valgrind+set}" = set; then :
19055
enableval=$enable_valgrind; use_valgrind=$enableval
19061
if test "x$use_valgrind" = "xyes"; then
19064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
19065
$as_echo_n "checking for VALGRIND... " >&6; }
19067
if test -n "$VALGRIND_CFLAGS"; then
19068
pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
19069
elif test -n "$PKG_CONFIG"; then
19070
if test -n "$PKG_CONFIG" && \
19071
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
19072
($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
19074
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19075
test $ac_status = 0; }; then
19076
pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null`
19083
if test -n "$VALGRIND_LIBS"; then
19084
pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
19085
elif test -n "$PKG_CONFIG"; then
19086
if test -n "$PKG_CONFIG" && \
19087
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
19088
($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
19090
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19091
test $ac_status = 0; }; then
19092
pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind" 2>/dev/null`
19102
if test $pkg_failed = yes; then
19104
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19105
_pkg_short_errors_supported=yes
19107
_pkg_short_errors_supported=no
19109
if test $_pkg_short_errors_supported = yes; then
19110
VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "valgrind" 2>&1`
19112
VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors "valgrind" 2>&1`
19114
# Put the nasty error message in config.log where it belongs
19115
echo "$VALGRIND_PKG_ERRORS" >&5
19117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19118
$as_echo "no" >&6; }
19119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19120
$as_echo "no" >&6; }
19121
elif test $pkg_failed = untried; then
19122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19123
$as_echo "no" >&6; }
19125
VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
19126
VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
19127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19128
$as_echo "yes" >&6; }
19130
_save_CFLAGS="$CFLAGS"
19131
_save_CPPFLAGS="$CPPFLAGS"
19132
CFLAGS="$CFLAGS $VALGRIND_CFLAGS"
19133
CPPFLAGS="$CPPFLAGS $VALGRIND_CFLAGS"
19134
ac_fn_c_check_header_mongrel "$LINENO" "valgrind.h" "ac_cv_header_valgrind_h" "$ac_includes_default"
19135
if test "x$ac_cv_header_valgrind_h" = x""yes; then :
19137
$as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
19142
ac_fn_c_check_header_mongrel "$LINENO" "lockdep.h" "ac_cv_header_lockdep_h" "$ac_includes_default"
19143
if test "x$ac_cv_header_lockdep_h" = x""yes; then :
19145
$as_echo "#define HAVE_LOCKDEP 1" >>confdefs.h
19150
ac_fn_c_check_header_mongrel "$LINENO" "memfault.h" "ac_cv_header_memfault_h" "$ac_includes_default"
19151
if test "x$ac_cv_header_memfault_h" = x""yes; then :
19153
$as_echo "#define HAVE_MEMFAULT 1" >>confdefs.h
19158
CAIRO_CFLAGS="$VALGRIND_CFLAGS $CAIRO_CFLAGS"
19159
CFLAGS="$_save_CFLAGS"
19160
CPPFLAGS="$_save_CPPFLAGS"
19165
echo '#undef PACKAGE_VERSION' >>confdefs.h
19166
echo '#undef PACKAGE_STRING' >>confdefs.h
19167
echo '#undef PACKAGE_NAME' >>confdefs.h
19168
echo '#undef PACKAGE_TARNAME' >>confdefs.h
19169
$as_echo "#define PACKAGE_VERSION USE_cairo_version_OR_cairo_version_string_INSTEAD" >>confdefs.h
19171
$as_echo "#define PACKAGE_STRING USE_cairo_version_OR_cairo_version_string_INSTEAD" >>confdefs.h
19173
$as_echo "#define PACKAGE_NAME USE_cairo_INSTEAD" >>confdefs.h
19175
$as_echo "#define PACKAGE_TARNAME USE_cairo_INSTEAD" >>confdefs.h
19186
cat >confcache <<\_ACEOF
19187
# This file is a shell script that caches the results of configure
19188
# tests run on this system so they can be shared between configure
19189
# scripts and configure runs, see configure's option --config-cache.
19190
# It is not useful on other systems. If it contains results you don't
19191
# want to keep, you may remove or edit it.
19193
# config.status only pays attention to the cache file if you give it
19194
# the --recheck option to rerun configure.
19196
# `ac_cv_env_foo' variables (set or unset) will be overridden when
19197
# loading this file, other *unset* `ac_cv_foo' will be assigned the
19198
# following values.
19202
# The following way of writing the cache mishandles newlines in values,
19203
# but we know of no workaround that is simple, portable, and efficient.
19204
# So, we kill variables containing newlines.
19205
# Ultrix sh set writes to stderr and can't be redirected directly,
19206
# and sets the high bit in the cache file unless we assign to the vars.
19208
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19209
eval ac_val=\$$ac_var
19213
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19214
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19217
_ | IFS | as_nl) ;; #(
19218
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19219
*) { eval $ac_var=; unset $ac_var;} ;;
19225
case $as_nl`(ac_space=' '; set) 2>&1` in #(
19226
*${as_nl}ac_space=\ *)
19227
# `set' does not quote correctly, so add quotes: double-quote
19228
# substitution turns \\\\ into \\, and sed turns \\ into \.
19231
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19234
# `set' quotes correctly as required by POSIX, so do not add quotes.
19235
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19244
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19246
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19248
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19249
if test -w "$cache_file"; then
19250
test "x$cache_file" != "x/dev/null" &&
19251
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19252
$as_echo "$as_me: updating cache $cache_file" >&6;}
19253
cat confcache >$cache_file
19255
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19256
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
19263
$as_echo_n "checking for compress in -lz... " >&6; }
19264
if test "${ac_cv_lib_z_compress+set}" = set; then :
19265
$as_echo_n "(cached) " >&6
19267
ac_check_lib_save_LIBS=$LIBS
19269
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270
/* end confdefs.h. */
19272
/* Override any GCC internal prototype to avoid an error.
19273
Use char because int might match the return type of a GCC
19274
builtin and then its argument prototype would still apply. */
19282
return compress ();
19287
if ac_fn_c_try_link "$LINENO"; then :
19288
ac_cv_lib_z_compress=yes
19290
ac_cv_lib_z_compress=no
19292
rm -f core conftest.err conftest.$ac_objext \
19293
conftest$ac_exeext conftest.$ac_ext
19294
LIBS=$ac_check_lib_save_LIBS
19296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
19297
$as_echo "$ac_cv_lib_z_compress" >&6; }
19298
if test "x$ac_cv_lib_z_compress" = x""yes; then :
19299
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
19300
if test "x$ac_cv_header_zlib_h" = x""yes; then :
19304
$as_echo "#define HAVE_ZLIB 1" >>confdefs.h
19308
have_libz="no (requires zlib http://www.gzip.org/zlib/)"
19313
have_libz="no (requires zlib http://www.gzip.org/zlib/)"
19317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
19318
$as_echo_n "checking for dlsym in -ldl... " >&6; }
19319
if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
19320
$as_echo_n "(cached) " >&6
19322
ac_check_lib_save_LIBS=$LIBS
19324
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19325
/* end confdefs.h. */
19327
/* Override any GCC internal prototype to avoid an error.
19328
Use char because int might match the return type of a GCC
19329
builtin and then its argument prototype would still apply. */
19342
if ac_fn_c_try_link "$LINENO"; then :
19343
ac_cv_lib_dl_dlsym=yes
19345
ac_cv_lib_dl_dlsym=no
19347
rm -f core conftest.err conftest.$ac_objext \
19348
conftest$ac_exeext conftest.$ac_ext
19349
LIBS=$ac_check_lib_save_LIBS
19351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
19352
$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
19353
if test "x$ac_cv_lib_dl_dlsym" = x""yes; then :
19354
have_dlsym=yes; have_dl=yes
19356
have_dlsym=no; have_dl=no
19359
if test "x$have_dlsym" = "xno"; then
19360
ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
19361
if test "x$ac_cv_func_dlsym" = x""yes; then :
19368
for ac_header in dlfcn.h
19370
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
19371
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
19372
cat >>confdefs.h <<_ACEOF
19373
#define HAVE_DLFCN_H 1
19382
if test "x$have_dl" = "xyes"; then
19384
CAIRO_HAS_DL_FALSE='#'
19386
CAIRO_HAS_DL_TRUE='#'
19387
CAIRO_HAS_DL_FALSE=
19392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19393
$as_echo_n "checking for X... " >&6; }
19396
# Check whether --with-x was given.
19397
if test "${with_x+set}" = set; then :
19401
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19402
if test "x$with_x" = xno; then
19403
# The user explicitly disabled X.
19406
case $x_includes,$x_libraries in #(
19407
*\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
19408
*,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
19409
$as_echo_n "(cached) " >&6
19411
# One or both of the vars are not set, and there is no cached value.
19412
ac_x_includes=no ac_x_libraries=no
19413
rm -f -r conftest.dir
19414
if mkdir conftest.dir; then
19416
cat >Imakefile <<'_ACEOF'
19418
@echo incroot='${INCROOT}'
19420
@echo usrlibdir='${USRLIBDIR}'
19422
@echo libdir='${LIBDIR}'
19424
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19425
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
19426
for ac_var in incroot usrlibdir libdir; do
19427
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
19429
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19430
for ac_extension in a so sl dylib la dll; do
19431
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19432
test -f "$ac_im_libdir/libX11.$ac_extension"; then
19433
ac_im_usrlibdir=$ac_im_libdir; break
19436
# Screen out bogus values from the imake configuration. They are
19437
# bogus both because they are the default anyway, and because
19438
# using them would break gcc on systems where it needs fixed includes.
19439
case $ac_im_incroot in
19440
/usr/include) ac_x_includes= ;;
19441
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19443
case $ac_im_usrlibdir in
19444
/usr/lib | /usr/lib64 | /lib | /lib64) ;;
19445
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19449
rm -f -r conftest.dir
19452
# Standard set of common directories for X headers.
19453
# Check X11 before X11Rn because it is often a symlink to the current release.
19467
/usr/local/X11/include
19468
/usr/local/X11R7/include
19469
/usr/local/X11R6/include
19470
/usr/local/X11R5/include
19471
/usr/local/X11R4/include
19473
/usr/local/include/X11
19474
/usr/local/include/X11R7
19475
/usr/local/include/X11R6
19476
/usr/local/include/X11R5
19477
/usr/local/include/X11R4
19481
/usr/XFree86/include/X11
19485
/usr/unsupported/include
19486
/usr/athena/include
19487
/usr/local/x11r5/include
19488
/usr/lpp/Xamples/include
19490
/usr/openwin/include
19491
/usr/openwin/share/include'
19493
if test "$ac_x_includes" = no; then
19494
# Guess where to find include files, by looking for Xlib.h.
19495
# First, try using that file with no special directory specified.
19496
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497
/* end confdefs.h. */
19498
#include <X11/Xlib.h>
19500
if ac_fn_c_try_cpp "$LINENO"; then :
19501
# We can compile using X headers with no special include directory.
19504
for ac_dir in $ac_x_header_dirs; do
19505
if test -r "$ac_dir/X11/Xlib.h"; then
19506
ac_x_includes=$ac_dir
19511
rm -f conftest.err conftest.i conftest.$ac_ext
19512
fi # $ac_x_includes = no
19514
if test "$ac_x_libraries" = no; then
19515
# Check for the libraries.
19516
# See if we find them without any special options.
19517
# Don't add to $LIBS permanently.
19520
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19521
/* end confdefs.h. */
19522
#include <X11/Xlib.h>
19531
if ac_fn_c_try_link "$LINENO"; then :
19533
# We can link X programs with no special library path.
19537
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19539
# Don't even attempt the hair of trying to link an X program!
19540
for ac_extension in a so sl dylib la dll; do
19541
if test -r "$ac_dir/libX11.$ac_extension"; then
19542
ac_x_libraries=$ac_dir
19548
rm -f core conftest.err conftest.$ac_objext \
19549
conftest$ac_exeext conftest.$ac_ext
19550
fi # $ac_x_libraries = no
19552
case $ac_x_includes,$ac_x_libraries in #(
19553
no,* | *,no | *\'*)
19554
# Didn't find X, or a directory has "'" in its name.
19555
ac_cv_have_x="have_x=no";; #(
19557
# Record where we found X for the cache.
19558
ac_cv_have_x="have_x=yes\
19559
ac_x_includes='$ac_x_includes'\
19560
ac_x_libraries='$ac_x_libraries'"
19566
eval "$ac_cv_have_x"
19569
if test "$have_x" != yes; then
19570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19571
$as_echo "$have_x" >&6; }
19574
# If each of the values was on the command line, it overrides each guess.
19575
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19576
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19577
# Update the cache value to reflect the command line values.
19578
ac_cv_have_x="have_x=yes\
19579
ac_x_includes='$x_includes'\
19580
ac_x_libraries='$x_libraries'"
19581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19582
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19585
# Check whether --enable-xlib was given.
19586
if test "${enable_xlib+set}" = set; then :
19587
enableval=$enable_xlib; enable_xlib=$enableval
19592
case $enable_xlib in #(
19594
use_xlib="no (disabled, use --enable-xlib to enable)"
19597
if test "x$cairo_cv_xlib_cache_version" != "x6" -o \
19598
"x$cairo_cv_xlib_cache_commands_len" != "x373" -o \
19599
"x$cairo_cv_xlib_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
19600
unset cairo_cv_xlib_use
19602
if test "x$enable_xlib" = xyes -a "x$cairo_cv_xlib_use" != xyes; then :
19603
unset cairo_cv_xlib_use
19606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Xlib surface backend feature" >&5
19607
$as_echo_n "checking for cairo's Xlib surface backend feature... " >&6; }
19608
if test "${cairo_cv_xlib_use+set}" = set; then :
19609
$as_echo_n "(cached) " >&6
19614
xlib_REQUIRES="$ac_env_xlib_REQUIRES_value"
19615
xlib_CFLAGS="$ac_env_xlib_CFLAGS_value"
19616
xlib_NONPKGCONFIG_CFLAGS="$ac_env_xlib_NONPKGCONFIG_CFLAGS_value"
19617
xlib_LIBS="$ac_env_xlib_LIBS_value"
19618
xlib_NONPKGCONFIG_LIBS="$ac_env_xlib_NONPKGCONFIG_LIBS_value"
19619
xlib_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xlib_NONPKGCONFIG_EXTRA_LIBS_value"
19622
xlib_REQUIRES="x11"
19625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xlib" >&5
19626
$as_echo_n "checking for xlib... " >&6; }
19628
if test -n "$xlib_CFLAGS"; then
19629
pkg_cv_xlib_CFLAGS="$xlib_CFLAGS"
19630
elif test -n "$PKG_CONFIG"; then
19631
if test -n "$PKG_CONFIG" && \
19632
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_REQUIRES\""; } >&5
19633
($PKG_CONFIG --exists --print-errors "$xlib_REQUIRES") 2>&5
19635
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19636
test $ac_status = 0; }; then
19637
pkg_cv_xlib_CFLAGS=`$PKG_CONFIG --cflags "$xlib_REQUIRES" 2>/dev/null`
19644
if test -n "$xlib_LIBS"; then
19645
pkg_cv_xlib_LIBS="$xlib_LIBS"
19646
elif test -n "$PKG_CONFIG"; then
19647
if test -n "$PKG_CONFIG" && \
19648
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_REQUIRES\""; } >&5
19649
($PKG_CONFIG --exists --print-errors "$xlib_REQUIRES") 2>&5
19651
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19652
test $ac_status = 0; }; then
19653
pkg_cv_xlib_LIBS=`$PKG_CONFIG --libs "$xlib_REQUIRES" 2>/dev/null`
19663
if test $pkg_failed = yes; then
19665
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19666
_pkg_short_errors_supported=yes
19668
_pkg_short_errors_supported=no
19670
if test $_pkg_short_errors_supported = yes; then
19671
xlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xlib_REQUIRES" 2>&1`
19673
xlib_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xlib_REQUIRES" 2>&1`
19675
# Put the nasty error message in config.log where it belongs
19676
echo "$xlib_PKG_ERRORS" >&5
19678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19679
$as_echo "no" >&6; }
19680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19681
$as_echo "no" >&6; }
19683
if test "$no_x" = yes; then
19684
# Not all programs may use this symbol, but it does not hurt to define it.
19686
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19688
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19690
if test -n "$x_includes"; then
19691
X_CFLAGS="$X_CFLAGS -I$x_includes"
19694
# It would also be nice to do this for all -L options, not just this one.
19695
if test -n "$x_libraries"; then
19696
X_LIBS="$X_LIBS -L$x_libraries"
19697
# For Solaris; some versions of Sun CC require a space after -R and
19698
# others require no space. Words are not sufficient . . . .
19699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
19700
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
19701
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
19702
ac_xsave_c_werror_flag=$ac_c_werror_flag
19703
ac_c_werror_flag=yes
19704
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705
/* end confdefs.h. */
19715
if ac_fn_c_try_link "$LINENO"; then :
19716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19717
$as_echo "no" >&6; }
19718
X_LIBS="$X_LIBS -R$x_libraries"
19720
LIBS="$ac_xsave_LIBS -R $x_libraries"
19721
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19722
/* end confdefs.h. */
19732
if ac_fn_c_try_link "$LINENO"; then :
19733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19734
$as_echo "yes" >&6; }
19735
X_LIBS="$X_LIBS -R $x_libraries"
19737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19738
$as_echo "neither works" >&6; }
19740
rm -f core conftest.err conftest.$ac_objext \
19741
conftest$ac_exeext conftest.$ac_ext
19743
rm -f core conftest.err conftest.$ac_objext \
19744
conftest$ac_exeext conftest.$ac_ext
19745
ac_c_werror_flag=$ac_xsave_c_werror_flag
19746
LIBS=$ac_xsave_LIBS
19749
# Check for system-dependent libraries X programs must link with.
19750
# Do this before checking for the system-independent R6 libraries
19751
# (-lICE), since we may need -lsocket or whatever for X linking.
19753
if test "$ISC" = yes; then
19754
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
19756
# Martyn Johnson says this is needed for Ultrix, if the X
19757
# libraries were built with DECnet support. And Karl Berry says
19758
# the Alpha needs dnet_stub (dnet does not exist).
19759
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
19760
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19761
/* end confdefs.h. */
19763
/* Override any GCC internal prototype to avoid an error.
19764
Use char because int might match the return type of a GCC
19765
builtin and then its argument prototype would still apply. */
19769
char XOpenDisplay ();
19773
return XOpenDisplay ();
19778
if ac_fn_c_try_link "$LINENO"; then :
19781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19782
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19783
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19784
$as_echo_n "(cached) " >&6
19786
ac_check_lib_save_LIBS=$LIBS
19787
LIBS="-ldnet $LIBS"
19788
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19789
/* end confdefs.h. */
19791
/* Override any GCC internal prototype to avoid an error.
19792
Use char because int might match the return type of a GCC
19793
builtin and then its argument prototype would still apply. */
19801
return dnet_ntoa ();
19806
if ac_fn_c_try_link "$LINENO"; then :
19807
ac_cv_lib_dnet_dnet_ntoa=yes
19809
ac_cv_lib_dnet_dnet_ntoa=no
19811
rm -f core conftest.err conftest.$ac_objext \
19812
conftest$ac_exeext conftest.$ac_ext
19813
LIBS=$ac_check_lib_save_LIBS
19815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19816
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19817
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
19818
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
19821
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
19822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19823
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19824
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19825
$as_echo_n "(cached) " >&6
19827
ac_check_lib_save_LIBS=$LIBS
19828
LIBS="-ldnet_stub $LIBS"
19829
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830
/* end confdefs.h. */
19832
/* Override any GCC internal prototype to avoid an error.
19833
Use char because int might match the return type of a GCC
19834
builtin and then its argument prototype would still apply. */
19842
return dnet_ntoa ();
19847
if ac_fn_c_try_link "$LINENO"; then :
19848
ac_cv_lib_dnet_stub_dnet_ntoa=yes
19850
ac_cv_lib_dnet_stub_dnet_ntoa=no
19852
rm -f core conftest.err conftest.$ac_objext \
19853
conftest$ac_exeext conftest.$ac_ext
19854
LIBS=$ac_check_lib_save_LIBS
19856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19857
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19858
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
19859
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
19864
rm -f core conftest.err conftest.$ac_objext \
19865
conftest$ac_exeext conftest.$ac_ext
19866
LIBS="$ac_xsave_LIBS"
19868
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19869
# to get the SysV transport functions.
19870
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19872
# The nsl library prevents programs from opening the X display
19873
# on Irix 5.2, according to T.E. Dickey.
19874
# The functions gethostbyname, getservbyname, and inet_addr are
19875
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19876
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19877
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
19881
if test $ac_cv_func_gethostbyname = no; then
19882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19883
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19884
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
19885
$as_echo_n "(cached) " >&6
19887
ac_check_lib_save_LIBS=$LIBS
19889
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19890
/* end confdefs.h. */
19892
/* Override any GCC internal prototype to avoid an error.
19893
Use char because int might match the return type of a GCC
19894
builtin and then its argument prototype would still apply. */
19898
char gethostbyname ();
19902
return gethostbyname ();
19907
if ac_fn_c_try_link "$LINENO"; then :
19908
ac_cv_lib_nsl_gethostbyname=yes
19910
ac_cv_lib_nsl_gethostbyname=no
19912
rm -f core conftest.err conftest.$ac_objext \
19913
conftest$ac_exeext conftest.$ac_ext
19914
LIBS=$ac_check_lib_save_LIBS
19916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
19917
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
19918
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
19919
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
19922
if test $ac_cv_lib_nsl_gethostbyname = no; then
19923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
19924
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
19925
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
19926
$as_echo_n "(cached) " >&6
19928
ac_check_lib_save_LIBS=$LIBS
19930
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19931
/* end confdefs.h. */
19933
/* Override any GCC internal prototype to avoid an error.
19934
Use char because int might match the return type of a GCC
19935
builtin and then its argument prototype would still apply. */
19939
char gethostbyname ();
19943
return gethostbyname ();
19948
if ac_fn_c_try_link "$LINENO"; then :
19949
ac_cv_lib_bsd_gethostbyname=yes
19951
ac_cv_lib_bsd_gethostbyname=no
19953
rm -f core conftest.err conftest.$ac_objext \
19954
conftest$ac_exeext conftest.$ac_ext
19955
LIBS=$ac_check_lib_save_LIBS
19957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
19958
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
19959
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
19960
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
19966
# lieder@skyler.mavd.honeywell.com says without -lsocket,
19967
# socket/setsockopt and other routines are undefined under SCO ODT
19968
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19969
# on later versions), says Simon Leinen: it contains gethostby*
19970
# variants that don't use the name server (or something). -lsocket
19971
# must be given before -lnsl if both are needed. We assume that
19972
# if connect needs -lnsl, so does gethostbyname.
19973
ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
19974
if test "x$ac_cv_func_connect" = x""yes; then :
19978
if test $ac_cv_func_connect = no; then
19979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
19980
$as_echo_n "checking for connect in -lsocket... " >&6; }
19981
if test "${ac_cv_lib_socket_connect+set}" = set; then :
19982
$as_echo_n "(cached) " >&6
19984
ac_check_lib_save_LIBS=$LIBS
19985
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
19986
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19987
/* end confdefs.h. */
19989
/* Override any GCC internal prototype to avoid an error.
19990
Use char because int might match the return type of a GCC
19991
builtin and then its argument prototype would still apply. */
20004
if ac_fn_c_try_link "$LINENO"; then :
20005
ac_cv_lib_socket_connect=yes
20007
ac_cv_lib_socket_connect=no
20009
rm -f core conftest.err conftest.$ac_objext \
20010
conftest$ac_exeext conftest.$ac_ext
20011
LIBS=$ac_check_lib_save_LIBS
20013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20014
$as_echo "$ac_cv_lib_socket_connect" >&6; }
20015
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20016
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20021
# Guillermo Gomez says -lposix is necessary on A/UX.
20022
ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
20023
if test "x$ac_cv_func_remove" = x""yes; then :
20027
if test $ac_cv_func_remove = no; then
20028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20029
$as_echo_n "checking for remove in -lposix... " >&6; }
20030
if test "${ac_cv_lib_posix_remove+set}" = set; then :
20031
$as_echo_n "(cached) " >&6
20033
ac_check_lib_save_LIBS=$LIBS
20034
LIBS="-lposix $LIBS"
20035
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20036
/* end confdefs.h. */
20038
/* Override any GCC internal prototype to avoid an error.
20039
Use char because int might match the return type of a GCC
20040
builtin and then its argument prototype would still apply. */
20053
if ac_fn_c_try_link "$LINENO"; then :
20054
ac_cv_lib_posix_remove=yes
20056
ac_cv_lib_posix_remove=no
20058
rm -f core conftest.err conftest.$ac_objext \
20059
conftest$ac_exeext conftest.$ac_ext
20060
LIBS=$ac_check_lib_save_LIBS
20062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20063
$as_echo "$ac_cv_lib_posix_remove" >&6; }
20064
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20065
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20070
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20071
ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
20072
if test "x$ac_cv_func_shmat" = x""yes; then :
20076
if test $ac_cv_func_shmat = no; then
20077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20078
$as_echo_n "checking for shmat in -lipc... " >&6; }
20079
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
20080
$as_echo_n "(cached) " >&6
20082
ac_check_lib_save_LIBS=$LIBS
20084
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20085
/* end confdefs.h. */
20087
/* Override any GCC internal prototype to avoid an error.
20088
Use char because int might match the return type of a GCC
20089
builtin and then its argument prototype would still apply. */
20102
if ac_fn_c_try_link "$LINENO"; then :
20103
ac_cv_lib_ipc_shmat=yes
20105
ac_cv_lib_ipc_shmat=no
20107
rm -f core conftest.err conftest.$ac_objext \
20108
conftest$ac_exeext conftest.$ac_ext
20109
LIBS=$ac_check_lib_save_LIBS
20111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20112
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20113
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20114
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20120
# Check for libraries that X11R6 Xt/Xaw programs need.
20121
ac_save_LDFLAGS=$LDFLAGS
20122
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20123
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20124
# check for ICE first), but we must link in the order -lSM -lICE or
20125
# we get undefined symbols. So assume we have SM if we have ICE.
20126
# These have to be linked with before -lX11, unlike the other
20127
# libraries we check for below, so use a different variable.
20128
# John Interrante, Karl Berry
20129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20130
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20131
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20132
$as_echo_n "(cached) " >&6
20134
ac_check_lib_save_LIBS=$LIBS
20135
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20136
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20137
/* end confdefs.h. */
20139
/* Override any GCC internal prototype to avoid an error.
20140
Use char because int might match the return type of a GCC
20141
builtin and then its argument prototype would still apply. */
20145
char IceConnectionNumber ();
20149
return IceConnectionNumber ();
20154
if ac_fn_c_try_link "$LINENO"; then :
20155
ac_cv_lib_ICE_IceConnectionNumber=yes
20157
ac_cv_lib_ICE_IceConnectionNumber=no
20159
rm -f core conftest.err conftest.$ac_objext \
20160
conftest$ac_exeext conftest.$ac_ext
20161
LIBS=$ac_check_lib_save_LIBS
20163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20164
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20165
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20166
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20169
LDFLAGS=$ac_save_LDFLAGS
20173
if test "x$no_x" = xyes; then
20174
use_xlib="no (requires X development libraries)"
20176
xlib_NONPKGCONFIG_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
20177
xlib_NONPKGCONFIG_CFLAGS=$X_CFLAGS
20179
elif test $pkg_failed = untried; then
20180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20181
$as_echo "no" >&6; }
20183
if test "$no_x" = yes; then
20184
# Not all programs may use this symbol, but it does not hurt to define it.
20186
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
20188
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20190
if test -n "$x_includes"; then
20191
X_CFLAGS="$X_CFLAGS -I$x_includes"
20194
# It would also be nice to do this for all -L options, not just this one.
20195
if test -n "$x_libraries"; then
20196
X_LIBS="$X_LIBS -L$x_libraries"
20197
# For Solaris; some versions of Sun CC require a space after -R and
20198
# others require no space. Words are not sufficient . . . .
20199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
20200
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
20201
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20202
ac_xsave_c_werror_flag=$ac_c_werror_flag
20203
ac_c_werror_flag=yes
20204
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20205
/* end confdefs.h. */
20215
if ac_fn_c_try_link "$LINENO"; then :
20216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20217
$as_echo "no" >&6; }
20218
X_LIBS="$X_LIBS -R$x_libraries"
20220
LIBS="$ac_xsave_LIBS -R $x_libraries"
20221
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20222
/* end confdefs.h. */
20232
if ac_fn_c_try_link "$LINENO"; then :
20233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20234
$as_echo "yes" >&6; }
20235
X_LIBS="$X_LIBS -R $x_libraries"
20237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
20238
$as_echo "neither works" >&6; }
20240
rm -f core conftest.err conftest.$ac_objext \
20241
conftest$ac_exeext conftest.$ac_ext
20243
rm -f core conftest.err conftest.$ac_objext \
20244
conftest$ac_exeext conftest.$ac_ext
20245
ac_c_werror_flag=$ac_xsave_c_werror_flag
20246
LIBS=$ac_xsave_LIBS
20249
# Check for system-dependent libraries X programs must link with.
20250
# Do this before checking for the system-independent R6 libraries
20251
# (-lICE), since we may need -lsocket or whatever for X linking.
20253
if test "$ISC" = yes; then
20254
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20256
# Martyn Johnson says this is needed for Ultrix, if the X
20257
# libraries were built with DECnet support. And Karl Berry says
20258
# the Alpha needs dnet_stub (dnet does not exist).
20259
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20260
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20261
/* end confdefs.h. */
20263
/* Override any GCC internal prototype to avoid an error.
20264
Use char because int might match the return type of a GCC
20265
builtin and then its argument prototype would still apply. */
20269
char XOpenDisplay ();
20273
return XOpenDisplay ();
20278
if ac_fn_c_try_link "$LINENO"; then :
20281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
20282
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20283
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
20284
$as_echo_n "(cached) " >&6
20286
ac_check_lib_save_LIBS=$LIBS
20287
LIBS="-ldnet $LIBS"
20288
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20289
/* end confdefs.h. */
20291
/* Override any GCC internal prototype to avoid an error.
20292
Use char because int might match the return type of a GCC
20293
builtin and then its argument prototype would still apply. */
20301
return dnet_ntoa ();
20306
if ac_fn_c_try_link "$LINENO"; then :
20307
ac_cv_lib_dnet_dnet_ntoa=yes
20309
ac_cv_lib_dnet_dnet_ntoa=no
20311
rm -f core conftest.err conftest.$ac_objext \
20312
conftest$ac_exeext conftest.$ac_ext
20313
LIBS=$ac_check_lib_save_LIBS
20315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20316
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20317
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
20318
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20321
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20322
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
20323
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20324
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
20325
$as_echo_n "(cached) " >&6
20327
ac_check_lib_save_LIBS=$LIBS
20328
LIBS="-ldnet_stub $LIBS"
20329
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20330
/* end confdefs.h. */
20332
/* Override any GCC internal prototype to avoid an error.
20333
Use char because int might match the return type of a GCC
20334
builtin and then its argument prototype would still apply. */
20342
return dnet_ntoa ();
20347
if ac_fn_c_try_link "$LINENO"; then :
20348
ac_cv_lib_dnet_stub_dnet_ntoa=yes
20350
ac_cv_lib_dnet_stub_dnet_ntoa=no
20352
rm -f core conftest.err conftest.$ac_objext \
20353
conftest$ac_exeext conftest.$ac_ext
20354
LIBS=$ac_check_lib_save_LIBS
20356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20357
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20358
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
20359
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20364
rm -f core conftest.err conftest.$ac_objext \
20365
conftest$ac_exeext conftest.$ac_ext
20366
LIBS="$ac_xsave_LIBS"
20368
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20369
# to get the SysV transport functions.
20370
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20372
# The nsl library prevents programs from opening the X display
20373
# on Irix 5.2, according to T.E. Dickey.
20374
# The functions gethostbyname, getservbyname, and inet_addr are
20375
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20376
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20377
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
20381
if test $ac_cv_func_gethostbyname = no; then
20382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20383
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20384
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
20385
$as_echo_n "(cached) " >&6
20387
ac_check_lib_save_LIBS=$LIBS
20389
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20390
/* end confdefs.h. */
20392
/* Override any GCC internal prototype to avoid an error.
20393
Use char because int might match the return type of a GCC
20394
builtin and then its argument prototype would still apply. */
20398
char gethostbyname ();
20402
return gethostbyname ();
20407
if ac_fn_c_try_link "$LINENO"; then :
20408
ac_cv_lib_nsl_gethostbyname=yes
20410
ac_cv_lib_nsl_gethostbyname=no
20412
rm -f core conftest.err conftest.$ac_objext \
20413
conftest$ac_exeext conftest.$ac_ext
20414
LIBS=$ac_check_lib_save_LIBS
20416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20417
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20418
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20419
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20422
if test $ac_cv_lib_nsl_gethostbyname = no; then
20423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20424
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20425
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
20426
$as_echo_n "(cached) " >&6
20428
ac_check_lib_save_LIBS=$LIBS
20430
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20431
/* end confdefs.h. */
20433
/* Override any GCC internal prototype to avoid an error.
20434
Use char because int might match the return type of a GCC
20435
builtin and then its argument prototype would still apply. */
20439
char gethostbyname ();
20443
return gethostbyname ();
20448
if ac_fn_c_try_link "$LINENO"; then :
20449
ac_cv_lib_bsd_gethostbyname=yes
20451
ac_cv_lib_bsd_gethostbyname=no
20453
rm -f core conftest.err conftest.$ac_objext \
20454
conftest$ac_exeext conftest.$ac_ext
20455
LIBS=$ac_check_lib_save_LIBS
20457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20458
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20459
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20460
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20466
# lieder@skyler.mavd.honeywell.com says without -lsocket,
20467
# socket/setsockopt and other routines are undefined under SCO ODT
20468
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20469
# on later versions), says Simon Leinen: it contains gethostby*
20470
# variants that don't use the name server (or something). -lsocket
20471
# must be given before -lnsl if both are needed. We assume that
20472
# if connect needs -lnsl, so does gethostbyname.
20473
ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
20474
if test "x$ac_cv_func_connect" = x""yes; then :
20478
if test $ac_cv_func_connect = no; then
20479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20480
$as_echo_n "checking for connect in -lsocket... " >&6; }
20481
if test "${ac_cv_lib_socket_connect+set}" = set; then :
20482
$as_echo_n "(cached) " >&6
20484
ac_check_lib_save_LIBS=$LIBS
20485
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20486
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20487
/* end confdefs.h. */
20489
/* Override any GCC internal prototype to avoid an error.
20490
Use char because int might match the return type of a GCC
20491
builtin and then its argument prototype would still apply. */
20504
if ac_fn_c_try_link "$LINENO"; then :
20505
ac_cv_lib_socket_connect=yes
20507
ac_cv_lib_socket_connect=no
20509
rm -f core conftest.err conftest.$ac_objext \
20510
conftest$ac_exeext conftest.$ac_ext
20511
LIBS=$ac_check_lib_save_LIBS
20513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20514
$as_echo "$ac_cv_lib_socket_connect" >&6; }
20515
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20516
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20521
# Guillermo Gomez says -lposix is necessary on A/UX.
20522
ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
20523
if test "x$ac_cv_func_remove" = x""yes; then :
20527
if test $ac_cv_func_remove = no; then
20528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20529
$as_echo_n "checking for remove in -lposix... " >&6; }
20530
if test "${ac_cv_lib_posix_remove+set}" = set; then :
20531
$as_echo_n "(cached) " >&6
20533
ac_check_lib_save_LIBS=$LIBS
20534
LIBS="-lposix $LIBS"
20535
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20536
/* end confdefs.h. */
20538
/* Override any GCC internal prototype to avoid an error.
20539
Use char because int might match the return type of a GCC
20540
builtin and then its argument prototype would still apply. */
20553
if ac_fn_c_try_link "$LINENO"; then :
20554
ac_cv_lib_posix_remove=yes
20556
ac_cv_lib_posix_remove=no
20558
rm -f core conftest.err conftest.$ac_objext \
20559
conftest$ac_exeext conftest.$ac_ext
20560
LIBS=$ac_check_lib_save_LIBS
20562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20563
$as_echo "$ac_cv_lib_posix_remove" >&6; }
20564
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20565
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20570
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20571
ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
20572
if test "x$ac_cv_func_shmat" = x""yes; then :
20576
if test $ac_cv_func_shmat = no; then
20577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20578
$as_echo_n "checking for shmat in -lipc... " >&6; }
20579
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
20580
$as_echo_n "(cached) " >&6
20582
ac_check_lib_save_LIBS=$LIBS
20584
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20585
/* end confdefs.h. */
20587
/* Override any GCC internal prototype to avoid an error.
20588
Use char because int might match the return type of a GCC
20589
builtin and then its argument prototype would still apply. */
20602
if ac_fn_c_try_link "$LINENO"; then :
20603
ac_cv_lib_ipc_shmat=yes
20605
ac_cv_lib_ipc_shmat=no
20607
rm -f core conftest.err conftest.$ac_objext \
20608
conftest$ac_exeext conftest.$ac_ext
20609
LIBS=$ac_check_lib_save_LIBS
20611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20612
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20613
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20614
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20620
# Check for libraries that X11R6 Xt/Xaw programs need.
20621
ac_save_LDFLAGS=$LDFLAGS
20622
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20623
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20624
# check for ICE first), but we must link in the order -lSM -lICE or
20625
# we get undefined symbols. So assume we have SM if we have ICE.
20626
# These have to be linked with before -lX11, unlike the other
20627
# libraries we check for below, so use a different variable.
20628
# John Interrante, Karl Berry
20629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20630
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20631
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20632
$as_echo_n "(cached) " >&6
20634
ac_check_lib_save_LIBS=$LIBS
20635
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20637
/* end confdefs.h. */
20639
/* Override any GCC internal prototype to avoid an error.
20640
Use char because int might match the return type of a GCC
20641
builtin and then its argument prototype would still apply. */
20645
char IceConnectionNumber ();
20649
return IceConnectionNumber ();
20654
if ac_fn_c_try_link "$LINENO"; then :
20655
ac_cv_lib_ICE_IceConnectionNumber=yes
20657
ac_cv_lib_ICE_IceConnectionNumber=no
20659
rm -f core conftest.err conftest.$ac_objext \
20660
conftest$ac_exeext conftest.$ac_ext
20661
LIBS=$ac_check_lib_save_LIBS
20663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20664
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20665
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20666
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20669
LDFLAGS=$ac_save_LDFLAGS
20673
if test "x$no_x" = xyes; then
20674
use_xlib="no (requires X development libraries)"
20676
xlib_NONPKGCONFIG_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
20677
xlib_NONPKGCONFIG_CFLAGS=$X_CFLAGS
20680
xlib_CFLAGS=$pkg_cv_xlib_CFLAGS
20681
xlib_LIBS=$pkg_cv_xlib_LIBS
20682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20683
$as_echo "yes" >&6; }
20687
cairo_cv_xlib_use=$use_xlib
20688
cairo_cv_xlib_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
20689
cairo_cv_xlib_cache_commands_len="373"
20690
cairo_cv_xlib_cache_version="6"
20691
cairo_cv_xlib_BASE=$xlib_BASE
20692
cairo_cv_xlib_REQUIRES=$xlib_REQUIRES
20693
cairo_cv_xlib_CFLAGS=$xlib_CFLAGS
20694
cairo_cv_xlib_NONPKGCONFIG_CFLAGS=$xlib_NONPKGCONFIG_CFLAGS
20695
cairo_cv_xlib_LIBS=$xlib_LIBS
20696
cairo_cv_xlib_NONPKGCONFIG_LIBS=$xlib_NONPKGCONFIG_LIBS
20697
cairo_cv_xlib_NONPKGCONFIG_EXTRA_LIBS=$xlib_NONPKGCONFIG_EXTRA_LIBS
20699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Xlib surface backend feature could be enabled" >&5
20700
$as_echo_n "checking whether cairo's Xlib surface backend feature could be enabled... " >&6; }
20703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_xlib_use" >&5
20704
$as_echo "$cairo_cv_xlib_use" >&6; }
20705
use_xlib=$cairo_cv_xlib_use
20707
if test "x$enable_xlib" = "xyes" -a "x$use_xlib" != xyes; then :
20708
as_fn_error $? " Xlib surface backend feature could not be enabled" "$LINENO" 5
20712
as_fn_error $? "invalid argument passed to --enable-xlib: \`$use_xlib', should be one of [no/auto/yes]" "$LINENO" 5
20715
if test "x$use_xlib" = "xyes"; then :
20716
xlib_BASE=$cairo_cv_xlib_BASE
20717
xlib_REQUIRES=$cairo_cv_xlib_REQUIRES
20718
xlib_CFLAGS=$cairo_cv_xlib_CFLAGS
20719
xlib_NONPKGCONFIG_CFLAGS=$cairo_cv_xlib_NONPKGCONFIG_CFLAGS
20720
xlib_LIBS=$cairo_cv_xlib_LIBS
20721
xlib_NONPKGCONFIG_LIBS=$cairo_cv_xlib_NONPKGCONFIG_LIBS
20722
xlib_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xlib_NONPKGCONFIG_EXTRA_LIBS
20724
CAIRO_REQUIRES="$xlib_REQUIRES"" ${CAIRO_REQUIRES}"
20726
CAIRO_CFLAGS="$xlib_CFLAGS"" ${CAIRO_CFLAGS}"
20728
CAIRO_NONPKGCONFIG_CFLAGS="$xlib_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
20730
CAIRO_LIBS="$xlib_LIBS"" ${CAIRO_LIBS}"
20732
CAIRO_NONPKGCONFIG_LIBS="$xlib_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
20736
xlib_BASE=$cairo_cv_xlib_BASE
20737
xlib_REQUIRES=$cairo_cv_xlib_REQUIRES
20738
xlib_CFLAGS=$cairo_cv_xlib_CFLAGS
20739
xlib_NONPKGCONFIG_CFLAGS=$cairo_cv_xlib_NONPKGCONFIG_CFLAGS
20740
xlib_LIBS=$cairo_cv_xlib_LIBS
20741
xlib_NONPKGCONFIG_LIBS=$cairo_cv_xlib_NONPKGCONFIG_LIBS
20742
xlib_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xlib_NONPKGCONFIG_EXTRA_LIBS
20747
if test "x$use_xlib" = xyes; then
20748
CAIRO_HAS_XLIB_SURFACE_TRUE=
20749
CAIRO_HAS_XLIB_SURFACE_FALSE='#'
20751
CAIRO_HAS_XLIB_SURFACE_TRUE='#'
20752
CAIRO_HAS_XLIB_SURFACE_FALSE=
20756
cr_make_tmp='CAIRO_HAS_XLIB_SURFACE=0'
20757
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
20762
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20765
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20768
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20771
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20775
cr_make_tmp='supported_cairo_headers += $(cairo_xlib_headers)'
20776
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20779
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20781
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_headers)'
20782
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20785
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20790
cr_make_tmp='all_cairo_headers += $(cairo_xlib_headers)
20791
all_cairo_private += $(cairo_xlib_private)
20792
all_cairo_cxx_sources += $(cairo_xlib_cxx_sources)
20793
all_cairo_sources += $(cairo_xlib_sources)'
20794
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20797
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20799
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_headers)
20800
all_cairo_boilerplate_private += $(cairo_boilerplate_xlib_private)
20801
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_cxx_sources)
20802
all_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_sources)'
20803
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20806
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20810
cr_make_tmp='enabled_cairo_headers += $(cairo_xlib_headers)
20811
enabled_cairo_private += $(cairo_xlib_private)
20812
enabled_cairo_cxx_sources += $(cairo_xlib_cxx_sources)
20813
enabled_cairo_sources += $(cairo_xlib_sources)'
20814
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20815
"'if CAIRO_HAS_XLIB_SURFACE'
20816
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20818
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20821
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20822
"'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
20823
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20825
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20827
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_headers)
20828
enabled_cairo_boilerplate_private += $(cairo_boilerplate_xlib_private)
20829
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_cxx_sources)
20830
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_sources)'
20831
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20832
"'if CAIRO_HAS_XLIB_SURFACE'
20833
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20835
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
20838
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20839
"'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
20840
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20842
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
20848
if test "x$use_xlib" = xyes; then :
20850
ac_config_files="$ac_config_files src/cairo-xlib.pc:src/cairo-features.pc.in"
20854
if test "x$use_xlib" = xyes; then :
20856
ac_config_files="$ac_config_files cairo-xlib-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
20860
cr_make_tmp='all_cairo_pkgconf += cairo-xlib.pc'
20861
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20864
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20868
cr_make_tmp='enabled_cairo_pkgconf += cairo-xlib.pc'
20869
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20870
"'if CAIRO_HAS_XLIB_SURFACE'
20871
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20873
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
20876
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20877
"'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
20878
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20880
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
20884
if test "x$use_xlib" = xyes; then :
20886
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XLIB_SURFACE'
20890
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_XLIB_SURFACE'
20894
if test "x$use_xlib" != xyes; then :
20896
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_XLIB_SURFACE'
20902
cr_make_tmp=' @echo "#define CAIRO_HAS_XLIB_SURFACE 1" >> src/cairo-features.h'
20903
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
20904
"'ifeq ($(CAIRO_HAS_XLIB_SURFACE),1)'
20905
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
20907
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
20913
if test "x$use_xlib" = xyes; then :
20915
CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'xlib'
20923
# Check whether --enable-xlib-xrender was given.
20924
if test "${enable_xlib_xrender+set}" = set; then :
20925
enableval=$enable_xlib_xrender; enable_xlib_xrender=$enableval
20927
enable_xlib_xrender=auto
20930
case $enable_xlib_xrender in #(
20932
use_xlib_xrender="no (disabled, use --enable-xlib-xrender to enable)"
20935
if test "x$cairo_cv_xlib_xrender_cache_version" != "x6" -o \
20936
"x$cairo_cv_xlib_xrender_cache_commands_len" != "x742" -o \
20937
"x$cairo_cv_xlib_xrender_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
20938
unset cairo_cv_xlib_xrender_use
20940
if test "x$enable_xlib_xrender" = xyes -a "x$cairo_cv_xlib_xrender_use" != xyes; then :
20941
unset cairo_cv_xlib_xrender_use
20944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Xlib Xrender surface backend feature" >&5
20945
$as_echo_n "checking for cairo's Xlib Xrender surface backend feature... " >&6; }
20946
if test "${cairo_cv_xlib_xrender_use+set}" = set; then :
20947
$as_echo_n "(cached) " >&6
20950
use_xlib_xrender=yes
20951
xlib_xrender_BASE="cairo"
20952
xlib_xrender_REQUIRES="$ac_env_xlib_xrender_REQUIRES_value"
20953
xlib_xrender_CFLAGS="$ac_env_xlib_xrender_CFLAGS_value"
20954
xlib_xrender_NONPKGCONFIG_CFLAGS="$ac_env_xlib_xrender_NONPKGCONFIG_CFLAGS_value"
20955
xlib_xrender_LIBS="$ac_env_xlib_xrender_LIBS_value"
20956
xlib_xrender_NONPKGCONFIG_LIBS="$ac_env_xlib_xrender_NONPKGCONFIG_LIBS_value"
20957
xlib_xrender_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xlib_xrender_NONPKGCONFIG_EXTRA_LIBS_value"
20960
if test "x$use_xlib" != "xyes"; then
20961
use_xlib_xrender="no (requires --enable-xlib)"
20963
xlib_xrender_BASE=cairo-xlib
20964
xlib_xrender_REQUIRES="xrender >= 0.6"
20967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xlib_xrender" >&5
20968
$as_echo_n "checking for xlib_xrender... " >&6; }
20970
if test -n "$xlib_xrender_CFLAGS"; then
20971
pkg_cv_xlib_xrender_CFLAGS="$xlib_xrender_CFLAGS"
20972
elif test -n "$PKG_CONFIG"; then
20973
if test -n "$PKG_CONFIG" && \
20974
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xrender_REQUIRES\""; } >&5
20975
($PKG_CONFIG --exists --print-errors "$xlib_xrender_REQUIRES") 2>&5
20977
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20978
test $ac_status = 0; }; then
20979
pkg_cv_xlib_xrender_CFLAGS=`$PKG_CONFIG --cflags "$xlib_xrender_REQUIRES" 2>/dev/null`
20986
if test -n "$xlib_xrender_LIBS"; then
20987
pkg_cv_xlib_xrender_LIBS="$xlib_xrender_LIBS"
20988
elif test -n "$PKG_CONFIG"; then
20989
if test -n "$PKG_CONFIG" && \
20990
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xrender_REQUIRES\""; } >&5
20991
($PKG_CONFIG --exists --print-errors "$xlib_xrender_REQUIRES") 2>&5
20993
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20994
test $ac_status = 0; }; then
20995
pkg_cv_xlib_xrender_LIBS=`$PKG_CONFIG --libs "$xlib_xrender_REQUIRES" 2>/dev/null`
21005
if test $pkg_failed = yes; then
21007
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21008
_pkg_short_errors_supported=yes
21010
_pkg_short_errors_supported=no
21012
if test $_pkg_short_errors_supported = yes; then
21013
xlib_xrender_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xlib_xrender_REQUIRES" 2>&1`
21015
xlib_xrender_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xlib_xrender_REQUIRES" 2>&1`
21017
# Put the nasty error message in config.log where it belongs
21018
echo "$xlib_xrender_PKG_ERRORS" >&5
21020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21021
$as_echo "no" >&6; }
21022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21023
$as_echo "no" >&6; }
21024
xlib_xrender_REQUIRES=""
21025
old_CPPFLAGS=$CPPFLAGS
21026
CPPFLAGS="$CPPFLAGS $xlib_CFLAGS $xlib_NONPKGCONFIG_CFLAGS"
21027
ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
21028
if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
21029
xlib_xrender_NONPKGCONFIG_LIBS="-lXrender"
21031
use_xlib_xrender="no (requires $xlib_xrender_REQUIRES http://freedesktop.org/Software/xlibs)"
21035
CPPFLAGS=$old_CPPFLAGS
21037
elif test $pkg_failed = untried; then
21038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21039
$as_echo "no" >&6; }
21040
xlib_xrender_REQUIRES=""
21041
old_CPPFLAGS=$CPPFLAGS
21042
CPPFLAGS="$CPPFLAGS $xlib_CFLAGS $xlib_NONPKGCONFIG_CFLAGS"
21043
ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
21044
if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
21045
xlib_xrender_NONPKGCONFIG_LIBS="-lXrender"
21047
use_xlib_xrender="no (requires $xlib_xrender_REQUIRES http://freedesktop.org/Software/xlibs)"
21051
CPPFLAGS=$old_CPPFLAGS
21054
xlib_xrender_CFLAGS=$pkg_cv_xlib_xrender_CFLAGS
21055
xlib_xrender_LIBS=$pkg_cv_xlib_xrender_LIBS
21056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21057
$as_echo "yes" >&6; }
21062
cairo_cv_xlib_xrender_use=$use_xlib_xrender
21063
cairo_cv_xlib_xrender_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
21064
cairo_cv_xlib_xrender_cache_commands_len="742"
21065
cairo_cv_xlib_xrender_cache_version="6"
21066
cairo_cv_xlib_xrender_BASE=$xlib_xrender_BASE
21067
cairo_cv_xlib_xrender_REQUIRES=$xlib_xrender_REQUIRES
21068
cairo_cv_xlib_xrender_CFLAGS=$xlib_xrender_CFLAGS
21069
cairo_cv_xlib_xrender_NONPKGCONFIG_CFLAGS=$xlib_xrender_NONPKGCONFIG_CFLAGS
21070
cairo_cv_xlib_xrender_LIBS=$xlib_xrender_LIBS
21071
cairo_cv_xlib_xrender_NONPKGCONFIG_LIBS=$xlib_xrender_NONPKGCONFIG_LIBS
21072
cairo_cv_xlib_xrender_NONPKGCONFIG_EXTRA_LIBS=$xlib_xrender_NONPKGCONFIG_EXTRA_LIBS
21074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Xlib Xrender surface backend feature could be enabled" >&5
21075
$as_echo_n "checking whether cairo's Xlib Xrender surface backend feature could be enabled... " >&6; }
21078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_xlib_xrender_use" >&5
21079
$as_echo "$cairo_cv_xlib_xrender_use" >&6; }
21080
use_xlib_xrender=$cairo_cv_xlib_xrender_use
21082
if test "x$enable_xlib_xrender" = "xyes" -a "x$use_xlib_xrender" != xyes; then :
21083
as_fn_error $? " Xlib Xrender surface backend feature could not be enabled" "$LINENO" 5
21087
as_fn_error $? "invalid argument passed to --enable-xlib-xrender: \`$use_xlib_xrender', should be one of [no/auto/yes]" "$LINENO" 5
21090
if test "x$use_xlib_xrender" = "xyes"; then :
21091
xlib_xrender_BASE=$cairo_cv_xlib_xrender_BASE
21092
xlib_xrender_REQUIRES=$cairo_cv_xlib_xrender_REQUIRES
21093
xlib_xrender_CFLAGS=$cairo_cv_xlib_xrender_CFLAGS
21094
xlib_xrender_NONPKGCONFIG_CFLAGS=$cairo_cv_xlib_xrender_NONPKGCONFIG_CFLAGS
21095
xlib_xrender_LIBS=$cairo_cv_xlib_xrender_LIBS
21096
xlib_xrender_NONPKGCONFIG_LIBS=$cairo_cv_xlib_xrender_NONPKGCONFIG_LIBS
21097
xlib_xrender_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xlib_xrender_NONPKGCONFIG_EXTRA_LIBS
21099
CAIRO_REQUIRES="$xlib_xrender_REQUIRES"" ${CAIRO_REQUIRES}"
21101
CAIRO_CFLAGS="$xlib_xrender_CFLAGS"" ${CAIRO_CFLAGS}"
21103
CAIRO_NONPKGCONFIG_CFLAGS="$xlib_xrender_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
21105
CAIRO_LIBS="$xlib_xrender_LIBS"" ${CAIRO_LIBS}"
21107
CAIRO_NONPKGCONFIG_LIBS="$xlib_xrender_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
21111
xlib_xrender_BASE=$cairo_cv_xlib_xrender_BASE
21112
xlib_xrender_REQUIRES=$cairo_cv_xlib_xrender_REQUIRES
21113
xlib_xrender_CFLAGS=$cairo_cv_xlib_xrender_CFLAGS
21114
xlib_xrender_NONPKGCONFIG_CFLAGS=$cairo_cv_xlib_xrender_NONPKGCONFIG_CFLAGS
21115
xlib_xrender_LIBS=$cairo_cv_xlib_xrender_LIBS
21116
xlib_xrender_NONPKGCONFIG_LIBS=$cairo_cv_xlib_xrender_NONPKGCONFIG_LIBS
21117
xlib_xrender_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xlib_xrender_NONPKGCONFIG_EXTRA_LIBS
21122
if test "x$use_xlib_xrender" = xyes; then
21123
CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE=
21124
CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE='#'
21126
CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE='#'
21127
CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE=
21131
cr_make_tmp='CAIRO_HAS_XLIB_XRENDER_SURFACE=0'
21132
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
21137
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21140
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21143
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21146
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21150
cr_make_tmp='supported_cairo_headers += $(cairo_xlib_xrender_headers)'
21151
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21154
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21156
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xrender_headers)'
21157
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21160
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21165
cr_make_tmp='all_cairo_headers += $(cairo_xlib_xrender_headers)
21166
all_cairo_private += $(cairo_xlib_xrender_private)
21167
all_cairo_cxx_sources += $(cairo_xlib_xrender_cxx_sources)
21168
all_cairo_sources += $(cairo_xlib_xrender_sources)'
21169
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21172
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21174
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xrender_headers)
21175
all_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xrender_private)
21176
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xrender_cxx_sources)
21177
all_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xrender_sources)'
21178
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21181
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21185
cr_make_tmp='enabled_cairo_headers += $(cairo_xlib_xrender_headers)
21186
enabled_cairo_private += $(cairo_xlib_xrender_private)
21187
enabled_cairo_cxx_sources += $(cairo_xlib_xrender_cxx_sources)
21188
enabled_cairo_sources += $(cairo_xlib_xrender_sources)'
21189
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21190
"'if CAIRO_HAS_XLIB_XRENDER_SURFACE'
21191
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21193
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21196
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21197
"'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
21198
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21200
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21202
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xrender_headers)
21203
enabled_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xrender_private)
21204
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xrender_cxx_sources)
21205
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xrender_sources)'
21206
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21207
"'if CAIRO_HAS_XLIB_XRENDER_SURFACE'
21208
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21210
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21213
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21214
"'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
21215
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21217
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21223
if test "x$use_xlib_xrender" = xyes; then :
21225
ac_config_files="$ac_config_files src/cairo-xlib-xrender.pc:src/cairo-features.pc.in"
21229
if test "x$use_xlib_xrender" = xyes; then :
21231
ac_config_files="$ac_config_files cairo-xlib-xrender-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
21235
cr_make_tmp='all_cairo_pkgconf += cairo-xlib-xrender.pc'
21236
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21239
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21243
cr_make_tmp='enabled_cairo_pkgconf += cairo-xlib-xrender.pc'
21244
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21245
"'if CAIRO_HAS_XLIB_XRENDER_SURFACE'
21246
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21248
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21251
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21252
"'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
21253
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21255
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21259
if test "x$use_xlib_xrender" = xyes; then :
21261
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XLIB_XRENDER_SURFACE'
21265
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_XLIB_XRENDER_SURFACE'
21269
if test "x$use_xlib_xrender" != xyes; then :
21271
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_XLIB_XRENDER_SURFACE'
21277
cr_make_tmp=' @echo "#define CAIRO_HAS_XLIB_XRENDER_SURFACE 1" >> src/cairo-features.h'
21278
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21279
"'ifeq ($(CAIRO_HAS_XLIB_XRENDER_SURFACE),1)'
21280
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21282
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21288
if test "x$use_xlib_xrender" = xyes; then :
21290
CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'xlib_xrender'
21299
# Check whether --enable-xcb was given.
21300
if test "${enable_xcb+set}" = set; then :
21301
enableval=$enable_xcb; enable_xcb=$enableval
21306
case $enable_xcb in #(
21308
use_xcb="no (disabled, use --enable-xcb to enable)"
21311
if test "x$cairo_cv_xcb_cache_version" != "x6" -o \
21312
"x$cairo_cv_xcb_cache_commands_len" != "x322" -o \
21313
"x$cairo_cv_xcb_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
21314
unset cairo_cv_xcb_use
21316
if test "x$enable_xcb" = xyes -a "x$cairo_cv_xcb_use" != xyes; then :
21317
unset cairo_cv_xcb_use
21320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's XCB surface backend feature" >&5
21321
$as_echo_n "checking for cairo's XCB surface backend feature... " >&6; }
21322
if test "${cairo_cv_xcb_use+set}" = set; then :
21323
$as_echo_n "(cached) " >&6
21328
xcb_REQUIRES="$ac_env_xcb_REQUIRES_value"
21329
xcb_CFLAGS="$ac_env_xcb_CFLAGS_value"
21330
xcb_NONPKGCONFIG_CFLAGS="$ac_env_xcb_NONPKGCONFIG_CFLAGS_value"
21331
xcb_LIBS="$ac_env_xcb_LIBS_value"
21332
xcb_NONPKGCONFIG_LIBS="$ac_env_xcb_NONPKGCONFIG_LIBS_value"
21333
xcb_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xcb_NONPKGCONFIG_EXTRA_LIBS_value"
21336
xcb_REQUIRES="xcb >= 1.1.92 xcb-render >= 0.9.92"
21339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xcb" >&5
21340
$as_echo_n "checking for xcb... " >&6; }
21342
if test -n "$xcb_CFLAGS"; then
21343
pkg_cv_xcb_CFLAGS="$xcb_CFLAGS"
21344
elif test -n "$PKG_CONFIG"; then
21345
if test -n "$PKG_CONFIG" && \
21346
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_REQUIRES\""; } >&5
21347
($PKG_CONFIG --exists --print-errors "$xcb_REQUIRES") 2>&5
21349
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21350
test $ac_status = 0; }; then
21351
pkg_cv_xcb_CFLAGS=`$PKG_CONFIG --cflags "$xcb_REQUIRES" 2>/dev/null`
21358
if test -n "$xcb_LIBS"; then
21359
pkg_cv_xcb_LIBS="$xcb_LIBS"
21360
elif test -n "$PKG_CONFIG"; then
21361
if test -n "$PKG_CONFIG" && \
21362
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_REQUIRES\""; } >&5
21363
($PKG_CONFIG --exists --print-errors "$xcb_REQUIRES") 2>&5
21365
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21366
test $ac_status = 0; }; then
21367
pkg_cv_xcb_LIBS=`$PKG_CONFIG --libs "$xcb_REQUIRES" 2>/dev/null`
21377
if test $pkg_failed = yes; then
21379
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21380
_pkg_short_errors_supported=yes
21382
_pkg_short_errors_supported=no
21384
if test $_pkg_short_errors_supported = yes; then
21385
xcb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xcb_REQUIRES" 2>&1`
21387
xcb_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xcb_REQUIRES" 2>&1`
21389
# Put the nasty error message in config.log where it belongs
21390
echo "$xcb_PKG_ERRORS" >&5
21392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21393
$as_echo "no" >&6; }
21394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21395
$as_echo "no" >&6; }
21396
use_xcb="no (requires $xcb_REQUIRES http://xcb.freedesktop.org)"
21397
elif test $pkg_failed = untried; then
21398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21399
$as_echo "no" >&6; }
21400
use_xcb="no (requires $xcb_REQUIRES http://xcb.freedesktop.org)"
21402
xcb_CFLAGS=$pkg_cv_xcb_CFLAGS
21403
xcb_LIBS=$pkg_cv_xcb_LIBS
21404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21405
$as_echo "yes" >&6; }
21408
if $PKG_CONFIG --atleast-version=1.4 xcb; then
21409
CAIRO_CFLAGS="$CAIRO_CFLAGS -DXCB_GENERIC_ERROR_HAS_MAJOR_MINOR_CODES"
21412
cairo_cv_xcb_use=$use_xcb
21413
cairo_cv_xcb_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
21414
cairo_cv_xcb_cache_commands_len="322"
21415
cairo_cv_xcb_cache_version="6"
21416
cairo_cv_xcb_BASE=$xcb_BASE
21417
cairo_cv_xcb_REQUIRES=$xcb_REQUIRES
21418
cairo_cv_xcb_CFLAGS=$xcb_CFLAGS
21419
cairo_cv_xcb_NONPKGCONFIG_CFLAGS=$xcb_NONPKGCONFIG_CFLAGS
21420
cairo_cv_xcb_LIBS=$xcb_LIBS
21421
cairo_cv_xcb_NONPKGCONFIG_LIBS=$xcb_NONPKGCONFIG_LIBS
21422
cairo_cv_xcb_NONPKGCONFIG_EXTRA_LIBS=$xcb_NONPKGCONFIG_EXTRA_LIBS
21424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's XCB surface backend feature could be enabled" >&5
21425
$as_echo_n "checking whether cairo's XCB surface backend feature could be enabled... " >&6; }
21428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_xcb_use" >&5
21429
$as_echo "$cairo_cv_xcb_use" >&6; }
21430
use_xcb=$cairo_cv_xcb_use
21432
if test "x$enable_xcb" = "xyes" -a "x$use_xcb" != xyes; then :
21433
as_fn_error $? " XCB surface backend feature could not be enabled" "$LINENO" 5
21437
as_fn_error $? "invalid argument passed to --enable-xcb: \`$use_xcb', should be one of [no/auto/yes]" "$LINENO" 5
21440
if test "x$use_xcb" = "xyes"; then :
21441
xcb_BASE=$cairo_cv_xcb_BASE
21442
xcb_REQUIRES=$cairo_cv_xcb_REQUIRES
21443
xcb_CFLAGS=$cairo_cv_xcb_CFLAGS
21444
xcb_NONPKGCONFIG_CFLAGS=$cairo_cv_xcb_NONPKGCONFIG_CFLAGS
21445
xcb_LIBS=$cairo_cv_xcb_LIBS
21446
xcb_NONPKGCONFIG_LIBS=$cairo_cv_xcb_NONPKGCONFIG_LIBS
21447
xcb_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xcb_NONPKGCONFIG_EXTRA_LIBS
21449
CAIRO_REQUIRES="$xcb_REQUIRES"" ${CAIRO_REQUIRES}"
21451
CAIRO_CFLAGS="$xcb_CFLAGS"" ${CAIRO_CFLAGS}"
21453
CAIRO_NONPKGCONFIG_CFLAGS="$xcb_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
21455
CAIRO_LIBS="$xcb_LIBS"" ${CAIRO_LIBS}"
21457
CAIRO_NONPKGCONFIG_LIBS="$xcb_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
21461
xcb_BASE=$cairo_cv_xcb_BASE
21462
xcb_REQUIRES=$cairo_cv_xcb_REQUIRES
21463
xcb_CFLAGS=$cairo_cv_xcb_CFLAGS
21464
xcb_NONPKGCONFIG_CFLAGS=$cairo_cv_xcb_NONPKGCONFIG_CFLAGS
21465
xcb_LIBS=$cairo_cv_xcb_LIBS
21466
xcb_NONPKGCONFIG_LIBS=$cairo_cv_xcb_NONPKGCONFIG_LIBS
21467
xcb_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xcb_NONPKGCONFIG_EXTRA_LIBS
21472
if test "x$use_xcb" = xyes; then
21473
CAIRO_HAS_XCB_SURFACE_TRUE=
21474
CAIRO_HAS_XCB_SURFACE_FALSE='#'
21476
CAIRO_HAS_XCB_SURFACE_TRUE='#'
21477
CAIRO_HAS_XCB_SURFACE_FALSE=
21481
cr_make_tmp='CAIRO_HAS_XCB_SURFACE=0'
21482
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
21487
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21490
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21493
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21496
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21501
cr_make_tmp='unsupported_cairo_headers += $(cairo_xcb_headers)'
21502
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21505
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21507
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_headers)'
21508
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21511
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21515
cr_make_tmp='all_cairo_headers += $(cairo_xcb_headers)
21516
all_cairo_private += $(cairo_xcb_private)
21517
all_cairo_cxx_sources += $(cairo_xcb_cxx_sources)
21518
all_cairo_sources += $(cairo_xcb_sources)'
21519
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21522
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21524
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_headers)
21525
all_cairo_boilerplate_private += $(cairo_boilerplate_xcb_private)
21526
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_cxx_sources)
21527
all_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_sources)'
21528
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21531
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21535
cr_make_tmp='enabled_cairo_headers += $(cairo_xcb_headers)
21536
enabled_cairo_private += $(cairo_xcb_private)
21537
enabled_cairo_cxx_sources += $(cairo_xcb_cxx_sources)
21538
enabled_cairo_sources += $(cairo_xcb_sources)'
21539
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21540
"'if CAIRO_HAS_XCB_SURFACE'
21541
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21543
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21546
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21547
"'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
21548
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21550
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21552
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_headers)
21553
enabled_cairo_boilerplate_private += $(cairo_boilerplate_xcb_private)
21554
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_cxx_sources)
21555
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_sources)'
21556
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21557
"'if CAIRO_HAS_XCB_SURFACE'
21558
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21560
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21563
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21564
"'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
21565
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21567
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21573
if test "x$use_xcb" = xyes; then :
21575
ac_config_files="$ac_config_files src/cairo-xcb.pc:src/cairo-features.pc.in"
21579
if test "x$use_xcb" = xyes; then :
21581
ac_config_files="$ac_config_files cairo-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
21585
cr_make_tmp='all_cairo_pkgconf += cairo-xcb.pc'
21586
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21589
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21593
cr_make_tmp='enabled_cairo_pkgconf += cairo-xcb.pc'
21594
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21595
"'if CAIRO_HAS_XCB_SURFACE'
21596
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21598
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21601
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21602
"'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
21603
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21605
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21609
if test "x$use_xcb" = xyes; then :
21611
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XCB_SURFACE'
21618
cr_make_tmp=' @echo "#define CAIRO_HAS_XCB_SURFACE 1" >> src/cairo-features.h'
21619
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21620
"'ifeq ($(CAIRO_HAS_XCB_SURFACE),1)'
21621
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21623
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21627
if test "x$use_xcb" = xyes; then :
21629
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
21631
"'--- The XCB surface backend feature is still under active development and is
21632
--- included in this release only as a preview. It does NOT fully work yet
21633
--- and incompatible changes may yet be made to XCB surface backend specific
21644
# Check whether --enable-xlib-xcb was given.
21645
if test "${enable_xlib_xcb+set}" = set; then :
21646
enableval=$enable_xlib_xcb; enable_xlib_xcb=$enableval
21651
case $enable_xlib_xcb in #(
21653
use_xlib_xcb="no (disabled, use --enable-xlib-xcb to enable)"
21656
if test "x$cairo_cv_xlib_xcb_cache_version" != "x6" -o \
21657
"x$cairo_cv_xlib_xcb_cache_commands_len" != "x316" -o \
21658
"x$cairo_cv_xlib_xcb_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
21659
unset cairo_cv_xlib_xcb_use
21661
if test "x$enable_xlib_xcb" = xyes -a "x$cairo_cv_xlib_xcb_use" != xyes; then :
21662
unset cairo_cv_xlib_xcb_use
21665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Xlib/XCB functions feature" >&5
21666
$as_echo_n "checking for cairo's Xlib/XCB functions feature... " >&6; }
21667
if test "${cairo_cv_xlib_xcb_use+set}" = set; then :
21668
$as_echo_n "(cached) " >&6
21672
xlib_xcb_BASE="cairo"
21673
xlib_xcb_REQUIRES="$ac_env_xlib_xcb_REQUIRES_value"
21674
xlib_xcb_CFLAGS="$ac_env_xlib_xcb_CFLAGS_value"
21675
xlib_xcb_NONPKGCONFIG_CFLAGS="$ac_env_xlib_xcb_NONPKGCONFIG_CFLAGS_value"
21676
xlib_xcb_LIBS="$ac_env_xlib_xcb_LIBS_value"
21677
xlib_xcb_NONPKGCONFIG_LIBS="$ac_env_xlib_xcb_NONPKGCONFIG_LIBS_value"
21678
xlib_xcb_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xlib_xcb_NONPKGCONFIG_EXTRA_LIBS_value"
21681
if test "x$use_xcb" = "xyes" -a "x$use_xlib" = "xyes"; then
21682
xlib_xcb_REQUIRES="x11-xcb"
21685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xlib_xcb" >&5
21686
$as_echo_n "checking for xlib_xcb... " >&6; }
21688
if test -n "$xlib_xcb_CFLAGS"; then
21689
pkg_cv_xlib_xcb_CFLAGS="$xlib_xcb_CFLAGS"
21690
elif test -n "$PKG_CONFIG"; then
21691
if test -n "$PKG_CONFIG" && \
21692
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xcb_REQUIRES\""; } >&5
21693
($PKG_CONFIG --exists --print-errors "$xlib_xcb_REQUIRES") 2>&5
21695
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21696
test $ac_status = 0; }; then
21697
pkg_cv_xlib_xcb_CFLAGS=`$PKG_CONFIG --cflags "$xlib_xcb_REQUIRES" 2>/dev/null`
21704
if test -n "$xlib_xcb_LIBS"; then
21705
pkg_cv_xlib_xcb_LIBS="$xlib_xcb_LIBS"
21706
elif test -n "$PKG_CONFIG"; then
21707
if test -n "$PKG_CONFIG" && \
21708
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xlib_xcb_REQUIRES\""; } >&5
21709
($PKG_CONFIG --exists --print-errors "$xlib_xcb_REQUIRES") 2>&5
21711
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21712
test $ac_status = 0; }; then
21713
pkg_cv_xlib_xcb_LIBS=`$PKG_CONFIG --libs "$xlib_xcb_REQUIRES" 2>/dev/null`
21723
if test $pkg_failed = yes; then
21725
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21726
_pkg_short_errors_supported=yes
21728
_pkg_short_errors_supported=no
21730
if test $_pkg_short_errors_supported = yes; then
21731
xlib_xcb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xlib_xcb_REQUIRES" 2>&1`
21733
xlib_xcb_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xlib_xcb_REQUIRES" 2>&1`
21735
# Put the nasty error message in config.log where it belongs
21736
echo "$xlib_xcb_PKG_ERRORS" >&5
21738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21739
$as_echo "no" >&6; }
21740
use_xlib_xcb="no (requires $xlib_xcb_REQUIRES http://xcb.freedesktop.org)"
21741
elif test $pkg_failed = untried; then
21742
use_xlib_xcb="no (requires $xlib_xcb_REQUIRES http://xcb.freedesktop.org)"
21744
xlib_xcb_CFLAGS=$pkg_cv_xlib_xcb_CFLAGS
21745
xlib_xcb_LIBS=$pkg_cv_xlib_xcb_LIBS
21746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21747
$as_echo "yes" >&6; }
21751
use_xlib_xcb="no (requires both --enable-xlib and --enable-xcb)"
21754
cairo_cv_xlib_xcb_use=$use_xlib_xcb
21755
cairo_cv_xlib_xcb_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
21756
cairo_cv_xlib_xcb_cache_commands_len="316"
21757
cairo_cv_xlib_xcb_cache_version="6"
21758
cairo_cv_xlib_xcb_BASE=$xlib_xcb_BASE
21759
cairo_cv_xlib_xcb_REQUIRES=$xlib_xcb_REQUIRES
21760
cairo_cv_xlib_xcb_CFLAGS=$xlib_xcb_CFLAGS
21761
cairo_cv_xlib_xcb_NONPKGCONFIG_CFLAGS=$xlib_xcb_NONPKGCONFIG_CFLAGS
21762
cairo_cv_xlib_xcb_LIBS=$xlib_xcb_LIBS
21763
cairo_cv_xlib_xcb_NONPKGCONFIG_LIBS=$xlib_xcb_NONPKGCONFIG_LIBS
21764
cairo_cv_xlib_xcb_NONPKGCONFIG_EXTRA_LIBS=$xlib_xcb_NONPKGCONFIG_EXTRA_LIBS
21766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Xlib/XCB functions feature could be enabled" >&5
21767
$as_echo_n "checking whether cairo's Xlib/XCB functions feature could be enabled... " >&6; }
21770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_xlib_xcb_use" >&5
21771
$as_echo "$cairo_cv_xlib_xcb_use" >&6; }
21772
use_xlib_xcb=$cairo_cv_xlib_xcb_use
21774
if test "x$enable_xlib_xcb" = "xyes" -a "x$use_xlib_xcb" != xyes; then :
21775
as_fn_error $? " Xlib/XCB functions feature could not be enabled" "$LINENO" 5
21779
as_fn_error $? "invalid argument passed to --enable-xlib-xcb: \`$use_xlib_xcb', should be one of [no/auto/yes]" "$LINENO" 5
21782
if test "x$use_xlib_xcb" = "xyes"; then :
21783
xlib_xcb_BASE=$cairo_cv_xlib_xcb_BASE
21784
xlib_xcb_REQUIRES=$cairo_cv_xlib_xcb_REQUIRES
21785
xlib_xcb_CFLAGS=$cairo_cv_xlib_xcb_CFLAGS
21786
xlib_xcb_NONPKGCONFIG_CFLAGS=$cairo_cv_xlib_xcb_NONPKGCONFIG_CFLAGS
21787
xlib_xcb_LIBS=$cairo_cv_xlib_xcb_LIBS
21788
xlib_xcb_NONPKGCONFIG_LIBS=$cairo_cv_xlib_xcb_NONPKGCONFIG_LIBS
21789
xlib_xcb_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xlib_xcb_NONPKGCONFIG_EXTRA_LIBS
21791
CAIRO_REQUIRES="$xlib_xcb_REQUIRES"" ${CAIRO_REQUIRES}"
21793
CAIRO_CFLAGS="$xlib_xcb_CFLAGS"" ${CAIRO_CFLAGS}"
21795
CAIRO_NONPKGCONFIG_CFLAGS="$xlib_xcb_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
21797
CAIRO_LIBS="$xlib_xcb_LIBS"" ${CAIRO_LIBS}"
21799
CAIRO_NONPKGCONFIG_LIBS="$xlib_xcb_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
21803
xlib_xcb_BASE=$cairo_cv_xlib_xcb_BASE
21804
xlib_xcb_REQUIRES=$cairo_cv_xlib_xcb_REQUIRES
21805
xlib_xcb_CFLAGS=$cairo_cv_xlib_xcb_CFLAGS
21806
xlib_xcb_NONPKGCONFIG_CFLAGS=$cairo_cv_xlib_xcb_NONPKGCONFIG_CFLAGS
21807
xlib_xcb_LIBS=$cairo_cv_xlib_xcb_LIBS
21808
xlib_xcb_NONPKGCONFIG_LIBS=$cairo_cv_xlib_xcb_NONPKGCONFIG_LIBS
21809
xlib_xcb_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xlib_xcb_NONPKGCONFIG_EXTRA_LIBS
21814
if test "x$use_xlib_xcb" = xyes; then
21815
CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE=
21816
CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE='#'
21818
CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE='#'
21819
CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE=
21823
cr_make_tmp='CAIRO_HAS_XLIB_XCB_FUNCTIONS=0'
21824
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
21829
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21832
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21835
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21838
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21843
cr_make_tmp='unsupported_cairo_headers += $(cairo_xlib_xcb_headers)'
21844
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21847
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21849
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)'
21850
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21853
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21857
cr_make_tmp='all_cairo_headers += $(cairo_xlib_xcb_headers)
21858
all_cairo_private += $(cairo_xlib_xcb_private)
21859
all_cairo_cxx_sources += $(cairo_xlib_xcb_cxx_sources)
21860
all_cairo_sources += $(cairo_xlib_xcb_sources)'
21861
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21864
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21866
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)
21867
all_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xcb_private)
21868
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xcb_cxx_sources)
21869
all_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xcb_sources)'
21870
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21873
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21877
cr_make_tmp='enabled_cairo_headers += $(cairo_xlib_xcb_headers)
21878
enabled_cairo_private += $(cairo_xlib_xcb_private)
21879
enabled_cairo_cxx_sources += $(cairo_xlib_xcb_cxx_sources)
21880
enabled_cairo_sources += $(cairo_xlib_xcb_sources)'
21881
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21882
"'if CAIRO_HAS_XLIB_XCB_FUNCTIONS'
21883
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21885
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21888
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21889
"'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
21890
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21892
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21894
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)
21895
enabled_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xcb_private)
21896
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xlib_xcb_cxx_sources)
21897
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xcb_sources)'
21898
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21899
"'if CAIRO_HAS_XLIB_XCB_FUNCTIONS'
21900
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21902
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
21905
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21906
"'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
21907
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21909
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
21915
if test "x$use_xlib_xcb" = xyes; then :
21917
ac_config_files="$ac_config_files src/cairo-xlib-xcb.pc:src/cairo-features.pc.in"
21921
if test "x$use_xlib_xcb" = xyes; then :
21923
ac_config_files="$ac_config_files cairo-xlib-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
21927
cr_make_tmp='all_cairo_pkgconf += cairo-xlib-xcb.pc'
21928
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21931
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21935
cr_make_tmp='enabled_cairo_pkgconf += cairo-xlib-xcb.pc'
21936
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21937
"'if CAIRO_HAS_XLIB_XCB_FUNCTIONS'
21938
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21940
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
21943
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21944
"'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
21945
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21947
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
21951
if test "x$use_xlib_xcb" = xyes; then :
21953
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XLIB_XCB_FUNCTIONS'
21960
cr_make_tmp=' @echo "#define CAIRO_HAS_XLIB_XCB_FUNCTIONS 1" >> src/cairo-features.h'
21961
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21962
"'ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)'
21963
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21965
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
21969
if test "x$use_xlib_xcb" = xyes; then :
21971
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
21973
"'--- The Xlib/XCB functions feature is still under active development and is
21974
--- included in this release only as a preview. It does NOT fully work yet
21975
--- and incompatible changes may yet be made to Xlib/XCB functions specific
21985
if test "x$use_xlib_xcb" = "xyes"; then
21986
BUILD_XLIB_XCB_TRUE=
21987
BUILD_XLIB_XCB_FALSE='#'
21989
BUILD_XLIB_XCB_TRUE='#'
21990
BUILD_XLIB_XCB_FALSE=
21994
# Check whether --enable-xcb-shm was given.
21995
if test "${enable_xcb_shm+set}" = set; then :
21996
enableval=$enable_xcb_shm; enable_xcb_shm=$enableval
21998
enable_xcb_shm=auto
22001
case $enable_xcb_shm in #(
22003
use_xcb_shm="no (disabled, use --enable-xcb-shm to enable)"
22006
if test "x$cairo_cv_xcb_shm_cache_version" != "x6" -o \
22007
"x$cairo_cv_xcb_shm_cache_commands_len" != "x273" -o \
22008
"x$cairo_cv_xcb_shm_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
22009
unset cairo_cv_xcb_shm_use
22011
if test "x$enable_xcb_shm" = xyes -a "x$cairo_cv_xcb_shm_use" != xyes; then :
22012
unset cairo_cv_xcb_shm_use
22015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's XCB/SHM functions feature" >&5
22016
$as_echo_n "checking for cairo's XCB/SHM functions feature... " >&6; }
22017
if test "${cairo_cv_xcb_shm_use+set}" = set; then :
22018
$as_echo_n "(cached) " >&6
22022
xcb_shm_BASE="cairo"
22023
xcb_shm_REQUIRES="$ac_env_xcb_shm_REQUIRES_value"
22024
xcb_shm_CFLAGS="$ac_env_xcb_shm_CFLAGS_value"
22025
xcb_shm_NONPKGCONFIG_CFLAGS="$ac_env_xcb_shm_NONPKGCONFIG_CFLAGS_value"
22026
xcb_shm_LIBS="$ac_env_xcb_shm_LIBS_value"
22027
xcb_shm_NONPKGCONFIG_LIBS="$ac_env_xcb_shm_NONPKGCONFIG_LIBS_value"
22028
xcb_shm_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xcb_shm_NONPKGCONFIG_EXTRA_LIBS_value"
22031
if test "x$use_xcb" = "xyes"; then
22032
xcb_shm_REQUIRES="xcb-shm"
22035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xcb_shm" >&5
22036
$as_echo_n "checking for xcb_shm... " >&6; }
22038
if test -n "$xcb_shm_CFLAGS"; then
22039
pkg_cv_xcb_shm_CFLAGS="$xcb_shm_CFLAGS"
22040
elif test -n "$PKG_CONFIG"; then
22041
if test -n "$PKG_CONFIG" && \
22042
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_shm_REQUIRES\""; } >&5
22043
($PKG_CONFIG --exists --print-errors "$xcb_shm_REQUIRES") 2>&5
22045
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22046
test $ac_status = 0; }; then
22047
pkg_cv_xcb_shm_CFLAGS=`$PKG_CONFIG --cflags "$xcb_shm_REQUIRES" 2>/dev/null`
22054
if test -n "$xcb_shm_LIBS"; then
22055
pkg_cv_xcb_shm_LIBS="$xcb_shm_LIBS"
22056
elif test -n "$PKG_CONFIG"; then
22057
if test -n "$PKG_CONFIG" && \
22058
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_shm_REQUIRES\""; } >&5
22059
($PKG_CONFIG --exists --print-errors "$xcb_shm_REQUIRES") 2>&5
22061
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22062
test $ac_status = 0; }; then
22063
pkg_cv_xcb_shm_LIBS=`$PKG_CONFIG --libs "$xcb_shm_REQUIRES" 2>/dev/null`
22073
if test $pkg_failed = yes; then
22075
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22076
_pkg_short_errors_supported=yes
22078
_pkg_short_errors_supported=no
22080
if test $_pkg_short_errors_supported = yes; then
22081
xcb_shm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xcb_shm_REQUIRES" 2>&1`
22083
xcb_shm_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xcb_shm_REQUIRES" 2>&1`
22085
# Put the nasty error message in config.log where it belongs
22086
echo "$xcb_shm_PKG_ERRORS" >&5
22088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22089
$as_echo "no" >&6; }
22090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22091
$as_echo "no" >&6; }
22092
use_xcb_shm="no (requires $xcb_shm http://xcb.freedesktop.org)"
22093
elif test $pkg_failed = untried; then
22094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22095
$as_echo "no" >&6; }
22096
use_xcb_shm="no (requires $xcb_shm http://xcb.freedesktop.org)"
22098
xcb_shm_CFLAGS=$pkg_cv_xcb_shm_CFLAGS
22099
xcb_shm_LIBS=$pkg_cv_xcb_shm_LIBS
22100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22101
$as_echo "yes" >&6; }
22105
use_xcb_shm="no (requires --enable-xcb)"
22108
cairo_cv_xcb_shm_use=$use_xcb_shm
22109
cairo_cv_xcb_shm_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
22110
cairo_cv_xcb_shm_cache_commands_len="273"
22111
cairo_cv_xcb_shm_cache_version="6"
22112
cairo_cv_xcb_shm_BASE=$xcb_shm_BASE
22113
cairo_cv_xcb_shm_REQUIRES=$xcb_shm_REQUIRES
22114
cairo_cv_xcb_shm_CFLAGS=$xcb_shm_CFLAGS
22115
cairo_cv_xcb_shm_NONPKGCONFIG_CFLAGS=$xcb_shm_NONPKGCONFIG_CFLAGS
22116
cairo_cv_xcb_shm_LIBS=$xcb_shm_LIBS
22117
cairo_cv_xcb_shm_NONPKGCONFIG_LIBS=$xcb_shm_NONPKGCONFIG_LIBS
22118
cairo_cv_xcb_shm_NONPKGCONFIG_EXTRA_LIBS=$xcb_shm_NONPKGCONFIG_EXTRA_LIBS
22120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's XCB/SHM functions feature could be enabled" >&5
22121
$as_echo_n "checking whether cairo's XCB/SHM functions feature could be enabled... " >&6; }
22124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_xcb_shm_use" >&5
22125
$as_echo "$cairo_cv_xcb_shm_use" >&6; }
22126
use_xcb_shm=$cairo_cv_xcb_shm_use
22128
if test "x$enable_xcb_shm" = "xyes" -a "x$use_xcb_shm" != xyes; then :
22129
as_fn_error $? " XCB/SHM functions feature could not be enabled" "$LINENO" 5
22133
as_fn_error $? "invalid argument passed to --enable-xcb-shm: \`$use_xcb_shm', should be one of [no/auto/yes]" "$LINENO" 5
22136
if test "x$use_xcb_shm" = "xyes"; then :
22137
xcb_shm_BASE=$cairo_cv_xcb_shm_BASE
22138
xcb_shm_REQUIRES=$cairo_cv_xcb_shm_REQUIRES
22139
xcb_shm_CFLAGS=$cairo_cv_xcb_shm_CFLAGS
22140
xcb_shm_NONPKGCONFIG_CFLAGS=$cairo_cv_xcb_shm_NONPKGCONFIG_CFLAGS
22141
xcb_shm_LIBS=$cairo_cv_xcb_shm_LIBS
22142
xcb_shm_NONPKGCONFIG_LIBS=$cairo_cv_xcb_shm_NONPKGCONFIG_LIBS
22143
xcb_shm_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xcb_shm_NONPKGCONFIG_EXTRA_LIBS
22145
CAIRO_REQUIRES="$xcb_shm_REQUIRES"" ${CAIRO_REQUIRES}"
22147
CAIRO_CFLAGS="$xcb_shm_CFLAGS"" ${CAIRO_CFLAGS}"
22149
CAIRO_NONPKGCONFIG_CFLAGS="$xcb_shm_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
22151
CAIRO_LIBS="$xcb_shm_LIBS"" ${CAIRO_LIBS}"
22153
CAIRO_NONPKGCONFIG_LIBS="$xcb_shm_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
22157
xcb_shm_BASE=$cairo_cv_xcb_shm_BASE
22158
xcb_shm_REQUIRES=$cairo_cv_xcb_shm_REQUIRES
22159
xcb_shm_CFLAGS=$cairo_cv_xcb_shm_CFLAGS
22160
xcb_shm_NONPKGCONFIG_CFLAGS=$cairo_cv_xcb_shm_NONPKGCONFIG_CFLAGS
22161
xcb_shm_LIBS=$cairo_cv_xcb_shm_LIBS
22162
xcb_shm_NONPKGCONFIG_LIBS=$cairo_cv_xcb_shm_NONPKGCONFIG_LIBS
22163
xcb_shm_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xcb_shm_NONPKGCONFIG_EXTRA_LIBS
22168
if test "x$use_xcb_shm" = xyes; then
22169
CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE=
22170
CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE='#'
22172
CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE='#'
22173
CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE=
22177
cr_make_tmp='CAIRO_HAS_XCB_SHM_FUNCTIONS=0'
22178
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
22183
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22186
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22189
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22192
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22196
cr_make_tmp='supported_cairo_headers += $(cairo_xcb_shm_headers)'
22197
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22200
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22202
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_shm_headers)'
22203
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22206
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22211
cr_make_tmp='all_cairo_headers += $(cairo_xcb_shm_headers)
22212
all_cairo_private += $(cairo_xcb_shm_private)
22213
all_cairo_cxx_sources += $(cairo_xcb_shm_cxx_sources)
22214
all_cairo_sources += $(cairo_xcb_shm_sources)'
22215
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22218
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22220
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_shm_headers)
22221
all_cairo_boilerplate_private += $(cairo_boilerplate_xcb_shm_private)
22222
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_shm_cxx_sources)
22223
all_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_shm_sources)'
22224
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22227
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22231
cr_make_tmp='enabled_cairo_headers += $(cairo_xcb_shm_headers)
22232
enabled_cairo_private += $(cairo_xcb_shm_private)
22233
enabled_cairo_cxx_sources += $(cairo_xcb_shm_cxx_sources)
22234
enabled_cairo_sources += $(cairo_xcb_shm_sources)'
22235
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22236
"'if CAIRO_HAS_XCB_SHM_FUNCTIONS'
22237
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22239
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22242
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22243
"'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
22244
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22246
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22248
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_shm_headers)
22249
enabled_cairo_boilerplate_private += $(cairo_boilerplate_xcb_shm_private)
22250
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_shm_cxx_sources)
22251
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_shm_sources)'
22252
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22253
"'if CAIRO_HAS_XCB_SHM_FUNCTIONS'
22254
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22256
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22259
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22260
"'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
22261
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22263
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22269
if test "x$use_xcb_shm" = xyes; then :
22271
ac_config_files="$ac_config_files src/cairo-xcb-shm.pc:src/cairo-features.pc.in"
22275
if test "x$use_xcb_shm" = xyes; then :
22277
ac_config_files="$ac_config_files cairo-xcb-shm-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
22281
cr_make_tmp='all_cairo_pkgconf += cairo-xcb-shm.pc'
22282
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22285
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22289
cr_make_tmp='enabled_cairo_pkgconf += cairo-xcb-shm.pc'
22290
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22291
"'if CAIRO_HAS_XCB_SHM_FUNCTIONS'
22292
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22294
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22297
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22298
"'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
22299
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22301
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22305
if test "x$use_xcb_shm" = xyes; then :
22307
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XCB_SHM_FUNCTIONS'
22311
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_XCB_SHM_FUNCTIONS'
22315
if test "x$use_xcb_shm" != xyes; then :
22317
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_XCB_SHM_FUNCTIONS'
22323
cr_make_tmp=' @echo "#define CAIRO_HAS_XCB_SHM_FUNCTIONS 1" >> src/cairo-features.h'
22324
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22325
"'ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)'
22326
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22328
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22337
if test "x$use_xcb_shm" = "xyes"; then
22338
BUILD_XCB_SHM_TRUE=
22339
BUILD_XCB_SHM_FALSE='#'
22341
BUILD_XCB_SHM_TRUE='#'
22342
BUILD_XCB_SHM_FALSE=
22347
# Check whether --enable-qt was given.
22348
if test "${enable_qt+set}" = set; then :
22349
enableval=$enable_qt; enable_qt=$enableval
22354
case $enable_qt in #(
22356
use_qt="no (disabled, use --enable-qt to enable)"
22359
if test "x$cairo_cv_qt_cache_version" != "x6" -o \
22360
"x$cairo_cv_qt_cache_commands_len" != "x185" -o \
22361
"x$cairo_cv_qt_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
22362
unset cairo_cv_qt_use
22364
if test "x$enable_qt" = xyes -a "x$cairo_cv_qt_use" != xyes; then :
22365
unset cairo_cv_qt_use
22368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Qt surface backend feature" >&5
22369
$as_echo_n "checking for cairo's Qt surface backend feature... " >&6; }
22370
if test "${cairo_cv_qt_use+set}" = set; then :
22371
$as_echo_n "(cached) " >&6
22376
qt_REQUIRES="$ac_env_qt_REQUIRES_value"
22377
qt_CFLAGS="$ac_env_qt_CFLAGS_value"
22378
qt_NONPKGCONFIG_CFLAGS="$ac_env_qt_NONPKGCONFIG_CFLAGS_value"
22379
qt_LIBS="$ac_env_qt_LIBS_value"
22380
qt_NONPKGCONFIG_LIBS="$ac_env_qt_NONPKGCONFIG_LIBS_value"
22381
qt_NONPKGCONFIG_EXTRA_LIBS="$ac_env_qt_NONPKGCONFIG_EXTRA_LIBS_value"
22384
qt_REQUIRES="QtGui >= 4.4.0"
22387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
22388
$as_echo_n "checking for qt... " >&6; }
22390
if test -n "$qt_CFLAGS"; then
22391
pkg_cv_qt_CFLAGS="$qt_CFLAGS"
22392
elif test -n "$PKG_CONFIG"; then
22393
if test -n "$PKG_CONFIG" && \
22394
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$qt_REQUIRES\""; } >&5
22395
($PKG_CONFIG --exists --print-errors "$qt_REQUIRES") 2>&5
22397
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22398
test $ac_status = 0; }; then
22399
pkg_cv_qt_CFLAGS=`$PKG_CONFIG --cflags "$qt_REQUIRES" 2>/dev/null`
22406
if test -n "$qt_LIBS"; then
22407
pkg_cv_qt_LIBS="$qt_LIBS"
22408
elif test -n "$PKG_CONFIG"; then
22409
if test -n "$PKG_CONFIG" && \
22410
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$qt_REQUIRES\""; } >&5
22411
($PKG_CONFIG --exists --print-errors "$qt_REQUIRES") 2>&5
22413
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22414
test $ac_status = 0; }; then
22415
pkg_cv_qt_LIBS=`$PKG_CONFIG --libs "$qt_REQUIRES" 2>/dev/null`
22425
if test $pkg_failed = yes; then
22427
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22428
_pkg_short_errors_supported=yes
22430
_pkg_short_errors_supported=no
22432
if test $_pkg_short_errors_supported = yes; then
22433
qt_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$qt_REQUIRES" 2>&1`
22435
qt_PKG_ERRORS=`$PKG_CONFIG --print-errors "$qt_REQUIRES" 2>&1`
22437
# Put the nasty error message in config.log where it belongs
22438
echo "$qt_PKG_ERRORS" >&5
22440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22441
$as_echo "no" >&6; }
22442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22443
$as_echo "no" >&6; }
22445
use_qt="no (requires Qt4 development libraries)"
22447
elif test $pkg_failed = untried; then
22448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22449
$as_echo "no" >&6; }
22451
use_qt="no (requires Qt4 development libraries)"
22454
qt_CFLAGS=$pkg_cv_qt_CFLAGS
22455
qt_LIBS=$pkg_cv_qt_LIBS
22456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22457
$as_echo "yes" >&6; }
22461
cairo_cv_qt_use=$use_qt
22462
cairo_cv_qt_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
22463
cairo_cv_qt_cache_commands_len="185"
22464
cairo_cv_qt_cache_version="6"
22465
cairo_cv_qt_BASE=$qt_BASE
22466
cairo_cv_qt_REQUIRES=$qt_REQUIRES
22467
cairo_cv_qt_CFLAGS=$qt_CFLAGS
22468
cairo_cv_qt_NONPKGCONFIG_CFLAGS=$qt_NONPKGCONFIG_CFLAGS
22469
cairo_cv_qt_LIBS=$qt_LIBS
22470
cairo_cv_qt_NONPKGCONFIG_LIBS=$qt_NONPKGCONFIG_LIBS
22471
cairo_cv_qt_NONPKGCONFIG_EXTRA_LIBS=$qt_NONPKGCONFIG_EXTRA_LIBS
22473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Qt surface backend feature could be enabled" >&5
22474
$as_echo_n "checking whether cairo's Qt surface backend feature could be enabled... " >&6; }
22477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_qt_use" >&5
22478
$as_echo "$cairo_cv_qt_use" >&6; }
22479
use_qt=$cairo_cv_qt_use
22481
if test "x$enable_qt" = "xyes" -a "x$use_qt" != xyes; then :
22482
as_fn_error $? " Qt surface backend feature could not be enabled" "$LINENO" 5
22486
as_fn_error $? "invalid argument passed to --enable-qt: \`$use_qt', should be one of [no/auto/yes]" "$LINENO" 5
22489
if test "x$use_qt" = "xyes"; then :
22490
qt_BASE=$cairo_cv_qt_BASE
22491
qt_REQUIRES=$cairo_cv_qt_REQUIRES
22492
qt_CFLAGS=$cairo_cv_qt_CFLAGS
22493
qt_NONPKGCONFIG_CFLAGS=$cairo_cv_qt_NONPKGCONFIG_CFLAGS
22494
qt_LIBS=$cairo_cv_qt_LIBS
22495
qt_NONPKGCONFIG_LIBS=$cairo_cv_qt_NONPKGCONFIG_LIBS
22496
qt_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_qt_NONPKGCONFIG_EXTRA_LIBS
22498
CAIRO_REQUIRES="$qt_REQUIRES"" ${CAIRO_REQUIRES}"
22500
CAIRO_CFLAGS="$qt_CFLAGS"" ${CAIRO_CFLAGS}"
22502
CAIRO_NONPKGCONFIG_CFLAGS="$qt_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
22504
CAIRO_LIBS="$qt_LIBS"" ${CAIRO_LIBS}"
22506
CAIRO_NONPKGCONFIG_LIBS="$qt_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
22510
qt_BASE=$cairo_cv_qt_BASE
22511
qt_REQUIRES=$cairo_cv_qt_REQUIRES
22512
qt_CFLAGS=$cairo_cv_qt_CFLAGS
22513
qt_NONPKGCONFIG_CFLAGS=$cairo_cv_qt_NONPKGCONFIG_CFLAGS
22514
qt_LIBS=$cairo_cv_qt_LIBS
22515
qt_NONPKGCONFIG_LIBS=$cairo_cv_qt_NONPKGCONFIG_LIBS
22516
qt_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_qt_NONPKGCONFIG_EXTRA_LIBS
22521
if test "x$use_qt" = xyes; then
22522
CAIRO_HAS_QT_SURFACE_TRUE=
22523
CAIRO_HAS_QT_SURFACE_FALSE='#'
22525
CAIRO_HAS_QT_SURFACE_TRUE='#'
22526
CAIRO_HAS_QT_SURFACE_FALSE=
22530
cr_make_tmp='CAIRO_HAS_QT_SURFACE=0'
22531
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
22536
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22539
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22542
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22545
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22550
cr_make_tmp='unsupported_cairo_headers += $(cairo_qt_headers)'
22551
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22554
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22556
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_qt_headers)'
22557
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22560
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22564
cr_make_tmp='all_cairo_headers += $(cairo_qt_headers)
22565
all_cairo_private += $(cairo_qt_private)
22566
all_cairo_cxx_sources += $(cairo_qt_cxx_sources)
22567
all_cairo_sources += $(cairo_qt_sources)'
22568
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22571
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22573
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_qt_headers)
22574
all_cairo_boilerplate_private += $(cairo_boilerplate_qt_private)
22575
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_qt_cxx_sources)
22576
all_cairo_boilerplate_sources += $(cairo_boilerplate_qt_sources)'
22577
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22580
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22584
cr_make_tmp='enabled_cairo_headers += $(cairo_qt_headers)
22585
enabled_cairo_private += $(cairo_qt_private)
22586
enabled_cairo_cxx_sources += $(cairo_qt_cxx_sources)
22587
enabled_cairo_sources += $(cairo_qt_sources)'
22588
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22589
"'if CAIRO_HAS_QT_SURFACE'
22590
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22592
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22595
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22596
"'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
22597
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22599
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22601
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_qt_headers)
22602
enabled_cairo_boilerplate_private += $(cairo_boilerplate_qt_private)
22603
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_qt_cxx_sources)
22604
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_qt_sources)'
22605
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22606
"'if CAIRO_HAS_QT_SURFACE'
22607
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22609
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22612
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22613
"'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
22614
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22616
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22622
if test "x$use_qt" = xyes; then :
22624
ac_config_files="$ac_config_files src/cairo-qt.pc:src/cairo-features.pc.in"
22628
if test "x$use_qt" = xyes; then :
22630
ac_config_files="$ac_config_files cairo-qt-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
22634
cr_make_tmp='all_cairo_pkgconf += cairo-qt.pc'
22635
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22638
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22642
cr_make_tmp='enabled_cairo_pkgconf += cairo-qt.pc'
22643
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22644
"'if CAIRO_HAS_QT_SURFACE'
22645
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22647
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22650
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22651
"'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
22652
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22654
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22658
if test "x$use_qt" = xyes; then :
22660
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QT_SURFACE'
22667
cr_make_tmp=' @echo "#define CAIRO_HAS_QT_SURFACE 1" >> src/cairo-features.h'
22668
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22669
"'ifeq ($(CAIRO_HAS_QT_SURFACE),1)'
22670
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22672
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22676
if test "x$use_qt" = xyes; then :
22678
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
22680
"'--- The Qt surface backend feature is still under active development and is
22681
--- included in this release only as a preview. It does NOT fully work yet
22682
--- and incompatible changes may yet be made to Qt surface backend specific
22694
# Check whether --enable-quartz was given.
22695
if test "${enable_quartz+set}" = set; then :
22696
enableval=$enable_quartz; enable_quartz=$enableval
22701
case $enable_quartz in #(
22703
use_quartz="no (disabled, use --enable-quartz to enable)"
22706
if test "x$cairo_cv_quartz_cache_version" != "x6" -o \
22707
"x$cairo_cv_quartz_cache_commands_len" != "x527" -o \
22708
"x$cairo_cv_quartz_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
22709
unset cairo_cv_quartz_use
22711
if test "x$enable_quartz" = xyes -a "x$cairo_cv_quartz_use" != xyes; then :
22712
unset cairo_cv_quartz_use
22715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Quartz surface backend feature" >&5
22716
$as_echo_n "checking for cairo's Quartz surface backend feature... " >&6; }
22717
if test "${cairo_cv_quartz_use+set}" = set; then :
22718
$as_echo_n "(cached) " >&6
22722
quartz_BASE="cairo"
22723
quartz_REQUIRES="$ac_env_quartz_REQUIRES_value"
22724
quartz_CFLAGS="$ac_env_quartz_CFLAGS_value"
22725
quartz_NONPKGCONFIG_CFLAGS="$ac_env_quartz_NONPKGCONFIG_CFLAGS_value"
22726
quartz_LIBS="$ac_env_quartz_LIBS_value"
22727
quartz_NONPKGCONFIG_LIBS="$ac_env_quartz_NONPKGCONFIG_LIBS_value"
22728
quartz_NONPKGCONFIG_EXTRA_LIBS="$ac_env_quartz_NONPKGCONFIG_EXTRA_LIBS_value"
22731
ac_fn_c_check_header_mongrel "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
22732
if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = x""yes; then :
22735
use_quartz="no (requires ApplicationServices framework)"
22739
if test "x$use_quartz" != "xyes" ; then
22740
ac_fn_c_check_header_mongrel "$LINENO" "CoreGraphics/CoreGraphics.h" "ac_cv_header_CoreGraphics_CoreGraphics_h" "$ac_includes_default"
22741
if test "x$ac_cv_header_CoreGraphics_CoreGraphics_h" = x""yes; then :
22744
use_quartz="no (requires CoreGraphics framework)"
22748
quartz_LIBS="-Xlinker -framework -Xlinker CoreGraphics"
22750
quartz_LIBS="-Xlinker -framework -Xlinker ApplicationServices"
22753
cairo_cv_quartz_use=$use_quartz
22754
cairo_cv_quartz_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
22755
cairo_cv_quartz_cache_commands_len="527"
22756
cairo_cv_quartz_cache_version="6"
22757
cairo_cv_quartz_BASE=$quartz_BASE
22758
cairo_cv_quartz_REQUIRES=$quartz_REQUIRES
22759
cairo_cv_quartz_CFLAGS=$quartz_CFLAGS
22760
cairo_cv_quartz_NONPKGCONFIG_CFLAGS=$quartz_NONPKGCONFIG_CFLAGS
22761
cairo_cv_quartz_LIBS=$quartz_LIBS
22762
cairo_cv_quartz_NONPKGCONFIG_LIBS=$quartz_NONPKGCONFIG_LIBS
22763
cairo_cv_quartz_NONPKGCONFIG_EXTRA_LIBS=$quartz_NONPKGCONFIG_EXTRA_LIBS
22765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Quartz surface backend feature could be enabled" >&5
22766
$as_echo_n "checking whether cairo's Quartz surface backend feature could be enabled... " >&6; }
22769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_quartz_use" >&5
22770
$as_echo "$cairo_cv_quartz_use" >&6; }
22771
use_quartz=$cairo_cv_quartz_use
22773
if test "x$enable_quartz" = "xyes" -a "x$use_quartz" != xyes; then :
22774
as_fn_error $? " Quartz surface backend feature could not be enabled" "$LINENO" 5
22778
as_fn_error $? "invalid argument passed to --enable-quartz: \`$use_quartz', should be one of [no/auto/yes]" "$LINENO" 5
22781
if test "x$use_quartz" = "xyes"; then :
22782
quartz_BASE=$cairo_cv_quartz_BASE
22783
quartz_REQUIRES=$cairo_cv_quartz_REQUIRES
22784
quartz_CFLAGS=$cairo_cv_quartz_CFLAGS
22785
quartz_NONPKGCONFIG_CFLAGS=$cairo_cv_quartz_NONPKGCONFIG_CFLAGS
22786
quartz_LIBS=$cairo_cv_quartz_LIBS
22787
quartz_NONPKGCONFIG_LIBS=$cairo_cv_quartz_NONPKGCONFIG_LIBS
22788
quartz_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_quartz_NONPKGCONFIG_EXTRA_LIBS
22790
CAIRO_REQUIRES="$quartz_REQUIRES"" ${CAIRO_REQUIRES}"
22792
CAIRO_CFLAGS="$quartz_CFLAGS"" ${CAIRO_CFLAGS}"
22794
CAIRO_NONPKGCONFIG_CFLAGS="$quartz_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
22796
CAIRO_LIBS="$quartz_LIBS"" ${CAIRO_LIBS}"
22798
CAIRO_NONPKGCONFIG_LIBS="$quartz_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
22802
quartz_BASE=$cairo_cv_quartz_BASE
22803
quartz_REQUIRES=$cairo_cv_quartz_REQUIRES
22804
quartz_CFLAGS=$cairo_cv_quartz_CFLAGS
22805
quartz_NONPKGCONFIG_CFLAGS=$cairo_cv_quartz_NONPKGCONFIG_CFLAGS
22806
quartz_LIBS=$cairo_cv_quartz_LIBS
22807
quartz_NONPKGCONFIG_LIBS=$cairo_cv_quartz_NONPKGCONFIG_LIBS
22808
quartz_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_quartz_NONPKGCONFIG_EXTRA_LIBS
22813
if test "x$use_quartz" = xyes; then
22814
CAIRO_HAS_QUARTZ_SURFACE_TRUE=
22815
CAIRO_HAS_QUARTZ_SURFACE_FALSE='#'
22817
CAIRO_HAS_QUARTZ_SURFACE_TRUE='#'
22818
CAIRO_HAS_QUARTZ_SURFACE_FALSE=
22822
cr_make_tmp='CAIRO_HAS_QUARTZ_SURFACE=0'
22823
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
22828
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22831
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22834
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22837
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22841
cr_make_tmp='supported_cairo_headers += $(cairo_quartz_headers)'
22842
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22845
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22847
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_headers)'
22848
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22851
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22856
cr_make_tmp='all_cairo_headers += $(cairo_quartz_headers)
22857
all_cairo_private += $(cairo_quartz_private)
22858
all_cairo_cxx_sources += $(cairo_quartz_cxx_sources)
22859
all_cairo_sources += $(cairo_quartz_sources)'
22860
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22863
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22865
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_headers)
22866
all_cairo_boilerplate_private += $(cairo_boilerplate_quartz_private)
22867
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_cxx_sources)
22868
all_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_sources)'
22869
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22872
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22876
cr_make_tmp='enabled_cairo_headers += $(cairo_quartz_headers)
22877
enabled_cairo_private += $(cairo_quartz_private)
22878
enabled_cairo_cxx_sources += $(cairo_quartz_cxx_sources)
22879
enabled_cairo_sources += $(cairo_quartz_sources)'
22880
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22881
"'if CAIRO_HAS_QUARTZ_SURFACE'
22882
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22884
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22887
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22888
"'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
22889
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22891
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22893
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_headers)
22894
enabled_cairo_boilerplate_private += $(cairo_boilerplate_quartz_private)
22895
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_cxx_sources)
22896
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_sources)'
22897
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22898
"'if CAIRO_HAS_QUARTZ_SURFACE'
22899
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22901
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
22904
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22905
"'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
22906
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22908
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
22914
if test "x$use_quartz" = xyes; then :
22916
ac_config_files="$ac_config_files src/cairo-quartz.pc:src/cairo-features.pc.in"
22920
if test "x$use_quartz" = xyes; then :
22922
ac_config_files="$ac_config_files cairo-quartz-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
22926
cr_make_tmp='all_cairo_pkgconf += cairo-quartz.pc'
22927
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22930
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22934
cr_make_tmp='enabled_cairo_pkgconf += cairo-quartz.pc'
22935
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22936
"'if CAIRO_HAS_QUARTZ_SURFACE'
22937
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22939
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
22942
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22943
"'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
22944
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22946
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
22950
if test "x$use_quartz" = xyes; then :
22952
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QUARTZ_SURFACE'
22956
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_QUARTZ_SURFACE'
22960
if test "x$use_quartz" != xyes; then :
22962
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_QUARTZ_SURFACE'
22968
cr_make_tmp=' @echo "#define CAIRO_HAS_QUARTZ_SURFACE 1" >> src/cairo-features.h'
22969
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22970
"'ifeq ($(CAIRO_HAS_QUARTZ_SURFACE),1)'
22971
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22973
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
22979
if test "x$use_quartz" = xyes; then :
22981
CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'quartz'
22989
# Check whether --enable-quartz-font was given.
22990
if test "${enable_quartz_font+set}" = set; then :
22991
enableval=$enable_quartz_font; enable_quartz_font=$enableval
22993
enable_quartz_font=auto
22996
case $enable_quartz_font in #(
22998
use_quartz_font="no (disabled, use --enable-quartz-font to enable)"
23001
if test "x$cairo_cv_quartz_font_cache_version" != "x6" -o \
23002
"x$cairo_cv_quartz_font_cache_commands_len" != "x31" -o \
23003
"x$cairo_cv_quartz_font_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
23004
unset cairo_cv_quartz_font_use
23006
if test "x$enable_quartz_font" = xyes -a "x$cairo_cv_quartz_font_use" != xyes; then :
23007
unset cairo_cv_quartz_font_use
23010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Quartz font backend feature" >&5
23011
$as_echo_n "checking for cairo's Quartz font backend feature... " >&6; }
23012
if test "${cairo_cv_quartz_font_use+set}" = set; then :
23013
$as_echo_n "(cached) " >&6
23016
use_quartz_font=yes
23017
quartz_font_BASE="cairo"
23018
quartz_font_REQUIRES="$ac_env_quartz_font_REQUIRES_value"
23019
quartz_font_CFLAGS="$ac_env_quartz_font_CFLAGS_value"
23020
quartz_font_NONPKGCONFIG_CFLAGS="$ac_env_quartz_font_NONPKGCONFIG_CFLAGS_value"
23021
quartz_font_LIBS="$ac_env_quartz_font_LIBS_value"
23022
quartz_font_NONPKGCONFIG_LIBS="$ac_env_quartz_font_NONPKGCONFIG_LIBS_value"
23023
quartz_font_NONPKGCONFIG_EXTRA_LIBS="$ac_env_quartz_font_NONPKGCONFIG_EXTRA_LIBS_value"
23026
use_quartz_font=$use_quartz
23028
cairo_cv_quartz_font_use=$use_quartz_font
23029
cairo_cv_quartz_font_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
23030
cairo_cv_quartz_font_cache_commands_len="31"
23031
cairo_cv_quartz_font_cache_version="6"
23032
cairo_cv_quartz_font_BASE=$quartz_font_BASE
23033
cairo_cv_quartz_font_REQUIRES=$quartz_font_REQUIRES
23034
cairo_cv_quartz_font_CFLAGS=$quartz_font_CFLAGS
23035
cairo_cv_quartz_font_NONPKGCONFIG_CFLAGS=$quartz_font_NONPKGCONFIG_CFLAGS
23036
cairo_cv_quartz_font_LIBS=$quartz_font_LIBS
23037
cairo_cv_quartz_font_NONPKGCONFIG_LIBS=$quartz_font_NONPKGCONFIG_LIBS
23038
cairo_cv_quartz_font_NONPKGCONFIG_EXTRA_LIBS=$quartz_font_NONPKGCONFIG_EXTRA_LIBS
23040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Quartz font backend feature could be enabled" >&5
23041
$as_echo_n "checking whether cairo's Quartz font backend feature could be enabled... " >&6; }
23044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_quartz_font_use" >&5
23045
$as_echo "$cairo_cv_quartz_font_use" >&6; }
23046
use_quartz_font=$cairo_cv_quartz_font_use
23048
if test "x$enable_quartz_font" = "xyes" -a "x$use_quartz_font" != xyes; then :
23049
as_fn_error $? " Quartz font backend feature could not be enabled" "$LINENO" 5
23053
as_fn_error $? "invalid argument passed to --enable-quartz-font: \`$use_quartz_font', should be one of [no/auto/yes]" "$LINENO" 5
23056
if test "x$use_quartz_font" = "xyes"; then :
23057
quartz_font_BASE=$cairo_cv_quartz_font_BASE
23058
quartz_font_REQUIRES=$cairo_cv_quartz_font_REQUIRES
23059
quartz_font_CFLAGS=$cairo_cv_quartz_font_CFLAGS
23060
quartz_font_NONPKGCONFIG_CFLAGS=$cairo_cv_quartz_font_NONPKGCONFIG_CFLAGS
23061
quartz_font_LIBS=$cairo_cv_quartz_font_LIBS
23062
quartz_font_NONPKGCONFIG_LIBS=$cairo_cv_quartz_font_NONPKGCONFIG_LIBS
23063
quartz_font_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_quartz_font_NONPKGCONFIG_EXTRA_LIBS
23065
CAIRO_REQUIRES="$quartz_font_REQUIRES"" ${CAIRO_REQUIRES}"
23067
CAIRO_CFLAGS="$quartz_font_CFLAGS"" ${CAIRO_CFLAGS}"
23069
CAIRO_NONPKGCONFIG_CFLAGS="$quartz_font_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
23071
CAIRO_LIBS="$quartz_font_LIBS"" ${CAIRO_LIBS}"
23073
CAIRO_NONPKGCONFIG_LIBS="$quartz_font_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
23077
quartz_font_BASE=$cairo_cv_quartz_font_BASE
23078
quartz_font_REQUIRES=$cairo_cv_quartz_font_REQUIRES
23079
quartz_font_CFLAGS=$cairo_cv_quartz_font_CFLAGS
23080
quartz_font_NONPKGCONFIG_CFLAGS=$cairo_cv_quartz_font_NONPKGCONFIG_CFLAGS
23081
quartz_font_LIBS=$cairo_cv_quartz_font_LIBS
23082
quartz_font_NONPKGCONFIG_LIBS=$cairo_cv_quartz_font_NONPKGCONFIG_LIBS
23083
quartz_font_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_quartz_font_NONPKGCONFIG_EXTRA_LIBS
23088
if test "x$use_quartz_font" = xyes; then
23089
CAIRO_HAS_QUARTZ_FONT_TRUE=
23090
CAIRO_HAS_QUARTZ_FONT_FALSE='#'
23092
CAIRO_HAS_QUARTZ_FONT_TRUE='#'
23093
CAIRO_HAS_QUARTZ_FONT_FALSE=
23097
cr_make_tmp='CAIRO_HAS_QUARTZ_FONT=0'
23098
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
23103
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23106
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23109
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23112
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23116
cr_make_tmp='supported_cairo_headers += $(cairo_quartz_font_headers)'
23117
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23120
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23122
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_font_headers)'
23123
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23126
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23131
cr_make_tmp='all_cairo_headers += $(cairo_quartz_font_headers)
23132
all_cairo_private += $(cairo_quartz_font_private)
23133
all_cairo_cxx_sources += $(cairo_quartz_font_cxx_sources)
23134
all_cairo_sources += $(cairo_quartz_font_sources)'
23135
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23138
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23140
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_font_headers)
23141
all_cairo_boilerplate_private += $(cairo_boilerplate_quartz_font_private)
23142
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_font_cxx_sources)
23143
all_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_font_sources)'
23144
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23147
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23151
cr_make_tmp='enabled_cairo_headers += $(cairo_quartz_font_headers)
23152
enabled_cairo_private += $(cairo_quartz_font_private)
23153
enabled_cairo_cxx_sources += $(cairo_quartz_font_cxx_sources)
23154
enabled_cairo_sources += $(cairo_quartz_font_sources)'
23155
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23156
"'if CAIRO_HAS_QUARTZ_FONT'
23157
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23159
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23162
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23163
"'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
23164
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23166
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23168
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_font_headers)
23169
enabled_cairo_boilerplate_private += $(cairo_boilerplate_quartz_font_private)
23170
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_font_cxx_sources)
23171
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_font_sources)'
23172
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23173
"'if CAIRO_HAS_QUARTZ_FONT'
23174
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23176
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23179
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23180
"'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
23181
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23183
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23189
if test "x$use_quartz_font" = xyes; then :
23191
ac_config_files="$ac_config_files src/cairo-quartz-font.pc:src/cairo-features.pc.in"
23195
if test "x$use_quartz_font" = xyes; then :
23197
ac_config_files="$ac_config_files cairo-quartz-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
23201
cr_make_tmp='all_cairo_pkgconf += cairo-quartz-font.pc'
23202
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23205
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23209
cr_make_tmp='enabled_cairo_pkgconf += cairo-quartz-font.pc'
23210
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23211
"'if CAIRO_HAS_QUARTZ_FONT'
23212
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23214
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23217
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23218
"'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
23219
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23221
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23225
if test "x$use_quartz_font" = xyes; then :
23227
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QUARTZ_FONT'
23231
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_QUARTZ_FONT'
23235
if test "x$use_quartz_font" != xyes; then :
23237
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_QUARTZ_FONT'
23243
cr_make_tmp=' @echo "#define CAIRO_HAS_QUARTZ_FONT 1" >> src/cairo-features.h'
23244
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23245
"'ifeq ($(CAIRO_HAS_QUARTZ_FONT),1)'
23246
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23248
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23255
if test "x$use_quartz_font" = xyes; then :
23257
CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'quartz_font'
23264
# Check whether --enable-quartz-image was given.
23265
if test "${enable_quartz_image+set}" = set; then :
23266
enableval=$enable_quartz_image; enable_quartz_image=$enableval
23268
enable_quartz_image=no
23271
case $enable_quartz_image in #(
23273
use_quartz_image="no (disabled, use --enable-quartz-image to enable)"
23276
if test "x$cairo_cv_quartz_image_cache_version" != "x6" -o \
23277
"x$cairo_cv_quartz_image_cache_commands_len" != "x32" -o \
23278
"x$cairo_cv_quartz_image_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
23279
unset cairo_cv_quartz_image_use
23281
if test "x$enable_quartz_image" = xyes -a "x$cairo_cv_quartz_image_use" != xyes; then :
23282
unset cairo_cv_quartz_image_use
23285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Quartz Image surface backend feature" >&5
23286
$as_echo_n "checking for cairo's Quartz Image surface backend feature... " >&6; }
23287
if test "${cairo_cv_quartz_image_use+set}" = set; then :
23288
$as_echo_n "(cached) " >&6
23291
use_quartz_image=yes
23292
quartz_image_BASE="cairo"
23293
quartz_image_REQUIRES="$ac_env_quartz_image_REQUIRES_value"
23294
quartz_image_CFLAGS="$ac_env_quartz_image_CFLAGS_value"
23295
quartz_image_NONPKGCONFIG_CFLAGS="$ac_env_quartz_image_NONPKGCONFIG_CFLAGS_value"
23296
quartz_image_LIBS="$ac_env_quartz_image_LIBS_value"
23297
quartz_image_NONPKGCONFIG_LIBS="$ac_env_quartz_image_NONPKGCONFIG_LIBS_value"
23298
quartz_image_NONPKGCONFIG_EXTRA_LIBS="$ac_env_quartz_image_NONPKGCONFIG_EXTRA_LIBS_value"
23301
use_quartz_image=$use_quartz
23303
cairo_cv_quartz_image_use=$use_quartz_image
23304
cairo_cv_quartz_image_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
23305
cairo_cv_quartz_image_cache_commands_len="32"
23306
cairo_cv_quartz_image_cache_version="6"
23307
cairo_cv_quartz_image_BASE=$quartz_image_BASE
23308
cairo_cv_quartz_image_REQUIRES=$quartz_image_REQUIRES
23309
cairo_cv_quartz_image_CFLAGS=$quartz_image_CFLAGS
23310
cairo_cv_quartz_image_NONPKGCONFIG_CFLAGS=$quartz_image_NONPKGCONFIG_CFLAGS
23311
cairo_cv_quartz_image_LIBS=$quartz_image_LIBS
23312
cairo_cv_quartz_image_NONPKGCONFIG_LIBS=$quartz_image_NONPKGCONFIG_LIBS
23313
cairo_cv_quartz_image_NONPKGCONFIG_EXTRA_LIBS=$quartz_image_NONPKGCONFIG_EXTRA_LIBS
23315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Quartz Image surface backend feature could be enabled" >&5
23316
$as_echo_n "checking whether cairo's Quartz Image surface backend feature could be enabled... " >&6; }
23319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_quartz_image_use" >&5
23320
$as_echo "$cairo_cv_quartz_image_use" >&6; }
23321
use_quartz_image=$cairo_cv_quartz_image_use
23323
if test "x$enable_quartz_image" = "xyes" -a "x$use_quartz_image" != xyes; then :
23324
as_fn_error $? " Quartz Image surface backend feature could not be enabled" "$LINENO" 5
23328
as_fn_error $? "invalid argument passed to --enable-quartz-image: \`$use_quartz_image', should be one of [no/auto/yes]" "$LINENO" 5
23331
if test "x$use_quartz_image" = "xyes"; then :
23332
quartz_image_BASE=$cairo_cv_quartz_image_BASE
23333
quartz_image_REQUIRES=$cairo_cv_quartz_image_REQUIRES
23334
quartz_image_CFLAGS=$cairo_cv_quartz_image_CFLAGS
23335
quartz_image_NONPKGCONFIG_CFLAGS=$cairo_cv_quartz_image_NONPKGCONFIG_CFLAGS
23336
quartz_image_LIBS=$cairo_cv_quartz_image_LIBS
23337
quartz_image_NONPKGCONFIG_LIBS=$cairo_cv_quartz_image_NONPKGCONFIG_LIBS
23338
quartz_image_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_quartz_image_NONPKGCONFIG_EXTRA_LIBS
23340
CAIRO_REQUIRES="$quartz_image_REQUIRES"" ${CAIRO_REQUIRES}"
23342
CAIRO_CFLAGS="$quartz_image_CFLAGS"" ${CAIRO_CFLAGS}"
23344
CAIRO_NONPKGCONFIG_CFLAGS="$quartz_image_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
23346
CAIRO_LIBS="$quartz_image_LIBS"" ${CAIRO_LIBS}"
23348
CAIRO_NONPKGCONFIG_LIBS="$quartz_image_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
23352
quartz_image_BASE=$cairo_cv_quartz_image_BASE
23353
quartz_image_REQUIRES=$cairo_cv_quartz_image_REQUIRES
23354
quartz_image_CFLAGS=$cairo_cv_quartz_image_CFLAGS
23355
quartz_image_NONPKGCONFIG_CFLAGS=$cairo_cv_quartz_image_NONPKGCONFIG_CFLAGS
23356
quartz_image_LIBS=$cairo_cv_quartz_image_LIBS
23357
quartz_image_NONPKGCONFIG_LIBS=$cairo_cv_quartz_image_NONPKGCONFIG_LIBS
23358
quartz_image_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_quartz_image_NONPKGCONFIG_EXTRA_LIBS
23363
if test "x$use_quartz_image" = xyes; then
23364
CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE=
23365
CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE='#'
23367
CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE='#'
23368
CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE=
23372
cr_make_tmp='CAIRO_HAS_QUARTZ_IMAGE_SURFACE=0'
23373
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
23378
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23381
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23384
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23387
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23392
cr_make_tmp='unsupported_cairo_headers += $(cairo_quartz_image_headers)'
23393
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23396
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23398
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_image_headers)'
23399
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23402
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23406
cr_make_tmp='all_cairo_headers += $(cairo_quartz_image_headers)
23407
all_cairo_private += $(cairo_quartz_image_private)
23408
all_cairo_cxx_sources += $(cairo_quartz_image_cxx_sources)
23409
all_cairo_sources += $(cairo_quartz_image_sources)'
23410
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23413
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23415
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_image_headers)
23416
all_cairo_boilerplate_private += $(cairo_boilerplate_quartz_image_private)
23417
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_image_cxx_sources)
23418
all_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_image_sources)'
23419
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23422
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23426
cr_make_tmp='enabled_cairo_headers += $(cairo_quartz_image_headers)
23427
enabled_cairo_private += $(cairo_quartz_image_private)
23428
enabled_cairo_cxx_sources += $(cairo_quartz_image_cxx_sources)
23429
enabled_cairo_sources += $(cairo_quartz_image_sources)'
23430
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23431
"'if CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
23432
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23434
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23437
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23438
"'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
23439
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23441
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23443
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_quartz_image_headers)
23444
enabled_cairo_boilerplate_private += $(cairo_boilerplate_quartz_image_private)
23445
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_quartz_image_cxx_sources)
23446
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_quartz_image_sources)'
23447
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23448
"'if CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
23449
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23451
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23454
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23455
"'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
23456
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23458
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23464
if test "x$use_quartz_image" = xyes; then :
23466
ac_config_files="$ac_config_files src/cairo-quartz-image.pc:src/cairo-features.pc.in"
23470
if test "x$use_quartz_image" = xyes; then :
23472
ac_config_files="$ac_config_files cairo-quartz-image-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
23476
cr_make_tmp='all_cairo_pkgconf += cairo-quartz-image.pc'
23477
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23480
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23484
cr_make_tmp='enabled_cairo_pkgconf += cairo-quartz-image.pc'
23485
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23486
"'if CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
23487
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23489
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23492
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23493
"'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
23494
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23496
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23500
if test "x$use_quartz_image" = xyes; then :
23502
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_QUARTZ_IMAGE_SURFACE'
23509
cr_make_tmp=' @echo "#define CAIRO_HAS_QUARTZ_IMAGE_SURFACE 1" >> src/cairo-features.h'
23510
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23511
"'ifeq ($(CAIRO_HAS_QUARTZ_IMAGE_SURFACE),1)'
23512
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23514
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23518
if test "x$use_quartz_image" = xyes; then :
23520
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
23522
"'--- The Quartz Image surface backend feature is still under active
23523
--- development and is included in this release only as a preview. It does
23524
--- NOT fully work yet and incompatible changes may yet be made to Quartz
23525
--- Image surface backend specific API.'
23536
# Check whether --enable-win32 was given.
23537
if test "${enable_win32+set}" = set; then :
23538
enableval=$enable_win32; enable_win32=$enableval
23543
case $enable_win32 in #(
23545
use_win32="no (disabled, use --enable-win32 to enable)"
23548
if test "x$cairo_cv_win32_cache_version" != "x6" -o \
23549
"x$cairo_cv_win32_cache_commands_len" != "x127" -o \
23550
"x$cairo_cv_win32_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
23551
unset cairo_cv_win32_use
23553
if test "x$enable_win32" = xyes -a "x$cairo_cv_win32_use" != xyes; then :
23554
unset cairo_cv_win32_use
23557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Microsoft Windows surface backend feature" >&5
23558
$as_echo_n "checking for cairo's Microsoft Windows surface backend feature... " >&6; }
23559
if test "${cairo_cv_win32_use+set}" = set; then :
23560
$as_echo_n "(cached) " >&6
23565
win32_REQUIRES="$ac_env_win32_REQUIRES_value"
23566
win32_CFLAGS="$ac_env_win32_CFLAGS_value"
23567
win32_NONPKGCONFIG_CFLAGS="$ac_env_win32_NONPKGCONFIG_CFLAGS_value"
23568
win32_LIBS="$ac_env_win32_LIBS_value"
23569
win32_NONPKGCONFIG_LIBS="$ac_env_win32_NONPKGCONFIG_LIBS_value"
23570
win32_NONPKGCONFIG_EXTRA_LIBS="$ac_env_win32_NONPKGCONFIG_EXTRA_LIBS_value"
23573
if test "x$have_windows" != xyes; then
23574
use_win32="no (requires a Win32 platform)"
23576
win32_LIBS="-lgdi32 -lmsimg32"
23578
cairo_cv_win32_use=$use_win32
23579
cairo_cv_win32_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
23580
cairo_cv_win32_cache_commands_len="127"
23581
cairo_cv_win32_cache_version="6"
23582
cairo_cv_win32_BASE=$win32_BASE
23583
cairo_cv_win32_REQUIRES=$win32_REQUIRES
23584
cairo_cv_win32_CFLAGS=$win32_CFLAGS
23585
cairo_cv_win32_NONPKGCONFIG_CFLAGS=$win32_NONPKGCONFIG_CFLAGS
23586
cairo_cv_win32_LIBS=$win32_LIBS
23587
cairo_cv_win32_NONPKGCONFIG_LIBS=$win32_NONPKGCONFIG_LIBS
23588
cairo_cv_win32_NONPKGCONFIG_EXTRA_LIBS=$win32_NONPKGCONFIG_EXTRA_LIBS
23590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Microsoft Windows surface backend feature could be enabled" >&5
23591
$as_echo_n "checking whether cairo's Microsoft Windows surface backend feature could be enabled... " >&6; }
23594
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_win32_use" >&5
23595
$as_echo "$cairo_cv_win32_use" >&6; }
23596
use_win32=$cairo_cv_win32_use
23598
if test "x$enable_win32" = "xyes" -a "x$use_win32" != xyes; then :
23599
as_fn_error $? " Microsoft Windows surface backend feature could not be enabled" "$LINENO" 5
23603
as_fn_error $? "invalid argument passed to --enable-win32: \`$use_win32', should be one of [no/auto/yes]" "$LINENO" 5
23606
if test "x$use_win32" = "xyes"; then :
23607
win32_BASE=$cairo_cv_win32_BASE
23608
win32_REQUIRES=$cairo_cv_win32_REQUIRES
23609
win32_CFLAGS=$cairo_cv_win32_CFLAGS
23610
win32_NONPKGCONFIG_CFLAGS=$cairo_cv_win32_NONPKGCONFIG_CFLAGS
23611
win32_LIBS=$cairo_cv_win32_LIBS
23612
win32_NONPKGCONFIG_LIBS=$cairo_cv_win32_NONPKGCONFIG_LIBS
23613
win32_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_win32_NONPKGCONFIG_EXTRA_LIBS
23615
CAIRO_REQUIRES="$win32_REQUIRES"" ${CAIRO_REQUIRES}"
23617
CAIRO_CFLAGS="$win32_CFLAGS"" ${CAIRO_CFLAGS}"
23619
CAIRO_NONPKGCONFIG_CFLAGS="$win32_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
23621
CAIRO_LIBS="$win32_LIBS"" ${CAIRO_LIBS}"
23623
CAIRO_NONPKGCONFIG_LIBS="$win32_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
23627
win32_BASE=$cairo_cv_win32_BASE
23628
win32_REQUIRES=$cairo_cv_win32_REQUIRES
23629
win32_CFLAGS=$cairo_cv_win32_CFLAGS
23630
win32_NONPKGCONFIG_CFLAGS=$cairo_cv_win32_NONPKGCONFIG_CFLAGS
23631
win32_LIBS=$cairo_cv_win32_LIBS
23632
win32_NONPKGCONFIG_LIBS=$cairo_cv_win32_NONPKGCONFIG_LIBS
23633
win32_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_win32_NONPKGCONFIG_EXTRA_LIBS
23638
if test "x$use_win32" = xyes; then
23639
CAIRO_HAS_WIN32_SURFACE_TRUE=
23640
CAIRO_HAS_WIN32_SURFACE_FALSE='#'
23642
CAIRO_HAS_WIN32_SURFACE_TRUE='#'
23643
CAIRO_HAS_WIN32_SURFACE_FALSE=
23647
cr_make_tmp='CAIRO_HAS_WIN32_SURFACE=1'
23648
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
23653
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23656
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23659
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23662
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23666
cr_make_tmp='supported_cairo_headers += $(cairo_win32_headers)'
23667
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23670
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23672
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_win32_headers)'
23673
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23676
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23681
cr_make_tmp='all_cairo_headers += $(cairo_win32_headers)
23682
all_cairo_private += $(cairo_win32_private)
23683
all_cairo_cxx_sources += $(cairo_win32_cxx_sources)
23684
all_cairo_sources += $(cairo_win32_sources)'
23685
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23688
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23690
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_win32_headers)
23691
all_cairo_boilerplate_private += $(cairo_boilerplate_win32_private)
23692
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_cxx_sources)
23693
all_cairo_boilerplate_sources += $(cairo_boilerplate_win32_sources)'
23694
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23697
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23701
cr_make_tmp='enabled_cairo_headers += $(cairo_win32_headers)
23702
enabled_cairo_private += $(cairo_win32_private)
23703
enabled_cairo_cxx_sources += $(cairo_win32_cxx_sources)
23704
enabled_cairo_sources += $(cairo_win32_sources)'
23705
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23706
"'if CAIRO_HAS_WIN32_SURFACE'
23707
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23709
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23712
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23713
"'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
23714
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23716
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23718
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_win32_headers)
23719
enabled_cairo_boilerplate_private += $(cairo_boilerplate_win32_private)
23720
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_cxx_sources)
23721
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_win32_sources)'
23722
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23723
"'if CAIRO_HAS_WIN32_SURFACE'
23724
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23726
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23729
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23730
"'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
23731
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23733
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23739
if test "x$use_win32" = xyes; then :
23741
ac_config_files="$ac_config_files src/cairo-win32.pc:src/cairo-features.pc.in"
23745
if test "x$use_win32" = xyes; then :
23747
ac_config_files="$ac_config_files cairo-win32-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
23751
cr_make_tmp='all_cairo_pkgconf += cairo-win32.pc'
23752
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23755
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23759
cr_make_tmp='enabled_cairo_pkgconf += cairo-win32.pc'
23760
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23761
"'if CAIRO_HAS_WIN32_SURFACE'
23762
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23764
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23767
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23768
"'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
23769
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23771
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23775
if test "x$use_win32" = xyes; then :
23777
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_WIN32_SURFACE'
23781
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_WIN32_SURFACE'
23785
if test "x$use_win32" != xyes; then :
23787
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_WIN32_SURFACE'
23793
cr_make_tmp=' @echo "#define CAIRO_HAS_WIN32_SURFACE 1" >> src/cairo-features.h'
23794
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23795
"'ifeq ($(CAIRO_HAS_WIN32_SURFACE),1)'
23796
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23798
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
23804
if test "x$use_win32" = xyes; then :
23806
CAIRO_NATIVE_SURFACE_BACKENDS="${CAIRO_NATIVE_SURFACE_BACKENDS}"'win32'
23814
# Check whether --enable-win32-font was given.
23815
if test "${enable_win32_font+set}" = set; then :
23816
enableval=$enable_win32_font; enable_win32_font=$enableval
23818
enable_win32_font=auto
23821
case $enable_win32_font in #(
23823
use_win32_font="no (disabled, use --enable-win32-font to enable)"
23826
if test "x$cairo_cv_win32_font_cache_version" != "x6" -o \
23827
"x$cairo_cv_win32_font_cache_commands_len" != "x29" -o \
23828
"x$cairo_cv_win32_font_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
23829
unset cairo_cv_win32_font_use
23831
if test "x$enable_win32_font" = xyes -a "x$cairo_cv_win32_font_use" != xyes; then :
23832
unset cairo_cv_win32_font_use
23835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Microsoft Windows font backend feature" >&5
23836
$as_echo_n "checking for cairo's Microsoft Windows font backend feature... " >&6; }
23837
if test "${cairo_cv_win32_font_use+set}" = set; then :
23838
$as_echo_n "(cached) " >&6
23842
win32_font_BASE="cairo"
23843
win32_font_REQUIRES="$ac_env_win32_font_REQUIRES_value"
23844
win32_font_CFLAGS="$ac_env_win32_font_CFLAGS_value"
23845
win32_font_NONPKGCONFIG_CFLAGS="$ac_env_win32_font_NONPKGCONFIG_CFLAGS_value"
23846
win32_font_LIBS="$ac_env_win32_font_LIBS_value"
23847
win32_font_NONPKGCONFIG_LIBS="$ac_env_win32_font_NONPKGCONFIG_LIBS_value"
23848
win32_font_NONPKGCONFIG_EXTRA_LIBS="$ac_env_win32_font_NONPKGCONFIG_EXTRA_LIBS_value"
23851
use_win32_font=$use_win32
23853
cairo_cv_win32_font_use=$use_win32_font
23854
cairo_cv_win32_font_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
23855
cairo_cv_win32_font_cache_commands_len="29"
23856
cairo_cv_win32_font_cache_version="6"
23857
cairo_cv_win32_font_BASE=$win32_font_BASE
23858
cairo_cv_win32_font_REQUIRES=$win32_font_REQUIRES
23859
cairo_cv_win32_font_CFLAGS=$win32_font_CFLAGS
23860
cairo_cv_win32_font_NONPKGCONFIG_CFLAGS=$win32_font_NONPKGCONFIG_CFLAGS
23861
cairo_cv_win32_font_LIBS=$win32_font_LIBS
23862
cairo_cv_win32_font_NONPKGCONFIG_LIBS=$win32_font_NONPKGCONFIG_LIBS
23863
cairo_cv_win32_font_NONPKGCONFIG_EXTRA_LIBS=$win32_font_NONPKGCONFIG_EXTRA_LIBS
23865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Microsoft Windows font backend feature could be enabled" >&5
23866
$as_echo_n "checking whether cairo's Microsoft Windows font backend feature could be enabled... " >&6; }
23869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_win32_font_use" >&5
23870
$as_echo "$cairo_cv_win32_font_use" >&6; }
23871
use_win32_font=$cairo_cv_win32_font_use
23873
if test "x$enable_win32_font" = "xyes" -a "x$use_win32_font" != xyes; then :
23874
as_fn_error $? " Microsoft Windows font backend feature could not be enabled" "$LINENO" 5
23878
as_fn_error $? "invalid argument passed to --enable-win32-font: \`$use_win32_font', should be one of [no/auto/yes]" "$LINENO" 5
23881
if test "x$use_win32_font" = "xyes"; then :
23882
win32_font_BASE=$cairo_cv_win32_font_BASE
23883
win32_font_REQUIRES=$cairo_cv_win32_font_REQUIRES
23884
win32_font_CFLAGS=$cairo_cv_win32_font_CFLAGS
23885
win32_font_NONPKGCONFIG_CFLAGS=$cairo_cv_win32_font_NONPKGCONFIG_CFLAGS
23886
win32_font_LIBS=$cairo_cv_win32_font_LIBS
23887
win32_font_NONPKGCONFIG_LIBS=$cairo_cv_win32_font_NONPKGCONFIG_LIBS
23888
win32_font_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_win32_font_NONPKGCONFIG_EXTRA_LIBS
23890
CAIRO_REQUIRES="$win32_font_REQUIRES"" ${CAIRO_REQUIRES}"
23892
CAIRO_CFLAGS="$win32_font_CFLAGS"" ${CAIRO_CFLAGS}"
23894
CAIRO_NONPKGCONFIG_CFLAGS="$win32_font_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
23896
CAIRO_LIBS="$win32_font_LIBS"" ${CAIRO_LIBS}"
23898
CAIRO_NONPKGCONFIG_LIBS="$win32_font_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
23902
win32_font_BASE=$cairo_cv_win32_font_BASE
23903
win32_font_REQUIRES=$cairo_cv_win32_font_REQUIRES
23904
win32_font_CFLAGS=$cairo_cv_win32_font_CFLAGS
23905
win32_font_NONPKGCONFIG_CFLAGS=$cairo_cv_win32_font_NONPKGCONFIG_CFLAGS
23906
win32_font_LIBS=$cairo_cv_win32_font_LIBS
23907
win32_font_NONPKGCONFIG_LIBS=$cairo_cv_win32_font_NONPKGCONFIG_LIBS
23908
win32_font_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_win32_font_NONPKGCONFIG_EXTRA_LIBS
23913
if test "x$use_win32_font" = xyes; then
23914
CAIRO_HAS_WIN32_FONT_TRUE=
23915
CAIRO_HAS_WIN32_FONT_FALSE='#'
23917
CAIRO_HAS_WIN32_FONT_TRUE='#'
23918
CAIRO_HAS_WIN32_FONT_FALSE=
23922
cr_make_tmp='CAIRO_HAS_WIN32_FONT=1'
23923
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
23928
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23931
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23934
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23937
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23941
cr_make_tmp='supported_cairo_headers += $(cairo_win32_font_headers)'
23942
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23945
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23947
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_win32_font_headers)'
23948
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23951
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23956
cr_make_tmp='all_cairo_headers += $(cairo_win32_font_headers)
23957
all_cairo_private += $(cairo_win32_font_private)
23958
all_cairo_cxx_sources += $(cairo_win32_font_cxx_sources)
23959
all_cairo_sources += $(cairo_win32_font_sources)'
23960
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23963
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23965
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_win32_font_headers)
23966
all_cairo_boilerplate_private += $(cairo_boilerplate_win32_font_private)
23967
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_font_cxx_sources)
23968
all_cairo_boilerplate_sources += $(cairo_boilerplate_win32_font_sources)'
23969
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23972
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
23976
cr_make_tmp='enabled_cairo_headers += $(cairo_win32_font_headers)
23977
enabled_cairo_private += $(cairo_win32_font_private)
23978
enabled_cairo_cxx_sources += $(cairo_win32_font_cxx_sources)
23979
enabled_cairo_sources += $(cairo_win32_font_sources)'
23980
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23981
"'if CAIRO_HAS_WIN32_FONT'
23982
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23984
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
23987
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23988
"'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
23989
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23991
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
23993
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_win32_font_headers)
23994
enabled_cairo_boilerplate_private += $(cairo_boilerplate_win32_font_private)
23995
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_win32_font_cxx_sources)
23996
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_win32_font_sources)'
23997
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
23998
"'if CAIRO_HAS_WIN32_FONT'
23999
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24001
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24004
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24005
"'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
24006
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24008
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24014
if test "x$use_win32_font" = xyes; then :
24016
ac_config_files="$ac_config_files src/cairo-win32-font.pc:src/cairo-features.pc.in"
24020
if test "x$use_win32_font" = xyes; then :
24022
ac_config_files="$ac_config_files cairo-win32-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
24026
cr_make_tmp='all_cairo_pkgconf += cairo-win32-font.pc'
24027
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24030
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24034
cr_make_tmp='enabled_cairo_pkgconf += cairo-win32-font.pc'
24035
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24036
"'if CAIRO_HAS_WIN32_FONT'
24037
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24039
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24042
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24043
"'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
24044
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24046
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24050
if test "x$use_win32_font" = xyes; then :
24052
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_WIN32_FONT'
24056
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_WIN32_FONT'
24060
if test "x$use_win32_font" != xyes; then :
24062
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_WIN32_FONT'
24068
cr_make_tmp=' @echo "#define CAIRO_HAS_WIN32_FONT 1" >> src/cairo-features.h'
24069
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24070
"'ifeq ($(CAIRO_HAS_WIN32_FONT),1)'
24071
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24073
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24080
if test "x$use_win32_font" = xyes; then :
24082
CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'win32_font'
24089
test_win32_printing=no
24090
if test "x$use_win32" = "xyes"; then
24091
# Extract the first word of "gs", so it can be a program name with args.
24092
set dummy gs; ac_word=$2
24093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24094
$as_echo_n "checking for $ac_word... " >&6; }
24095
if test "${ac_cv_prog_GS+set}" = set; then :
24096
$as_echo_n "(cached) " >&6
24098
if test -n "$GS"; then
24099
ac_cv_prog_GS="$GS" # Let the user override the test.
24101
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24102
for as_dir in $PATH
24105
test -z "$as_dir" && as_dir=.
24106
for ac_exec_ext in '' $ac_executable_extensions; do
24107
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24109
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24119
if test -n "$GS"; then
24120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
24121
$as_echo "$GS" >&6; }
24123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24124
$as_echo "no" >&6; }
24128
if test "$GS"; then
24130
$as_echo "#define CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE 1" >>confdefs.h
24132
test_win32_printing="yes"
24134
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Win32 Printing backend will not be tested since ghostscript is not available" >&5
24135
$as_echo "$as_me: WARNING: Win32 Printing backend will not be tested since ghostscript is not available" >&2;}
24136
test_win32_printing="no (requires ghostscript)"
24140
if test "x$test_win32_printing" = "xyes"; then
24141
CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE=
24142
CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE='#'
24144
CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE='#'
24145
CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE=
24150
# Check whether --enable-skia was given.
24151
if test "${enable_skia+set}" = set; then :
24152
enableval=$enable_skia; enable_skia=$enableval
24157
case $enable_skia in #(
24159
use_skia="no (disabled, use --enable-skia to enable)"
24162
if test "x$cairo_cv_skia_cache_version" != "x6" -o \
24163
"x$cairo_cv_skia_cache_commands_len" != "x375" -o \
24164
"x$cairo_cv_skia_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
24165
unset cairo_cv_skia_use
24167
if test "x$enable_skia" = xyes -a "x$cairo_cv_skia_use" != xyes; then :
24168
unset cairo_cv_skia_use
24171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Skia surface backend feature" >&5
24172
$as_echo_n "checking for cairo's Skia surface backend feature... " >&6; }
24173
if test "${cairo_cv_skia_use+set}" = set; then :
24174
$as_echo_n "(cached) " >&6
24179
skia_REQUIRES="$ac_env_skia_REQUIRES_value"
24180
skia_CFLAGS="$ac_env_skia_CFLAGS_value"
24181
skia_NONPKGCONFIG_CFLAGS="$ac_env_skia_NONPKGCONFIG_CFLAGS_value"
24182
skia_LIBS="$ac_env_skia_LIBS_value"
24183
skia_NONPKGCONFIG_LIBS="$ac_env_skia_NONPKGCONFIG_LIBS_value"
24184
skia_NONPKGCONFIG_EXTRA_LIBS="$ac_env_skia_NONPKGCONFIG_EXTRA_LIBS_value"
24188
# Check whether --with-skia was given.
24189
if test "${with_skia+set}" = set; then :
24190
withval=$with_skia; skia_DIR="$withval"
24192
skia_DIR="`pwd`/../mesa"
24195
skia_NONPKGCONFIG_CFLAGS="-I$skia_DIR/include/config -I$skia_DIR/include/core -I$skia_DIR/include/effects"
24196
skia_NONPKGCONFIG_LIBS="$skia_DIR/out/libskia.a"
24199
cairo_cv_skia_use=$use_skia
24200
cairo_cv_skia_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
24201
cairo_cv_skia_cache_commands_len="375"
24202
cairo_cv_skia_cache_version="6"
24203
cairo_cv_skia_BASE=$skia_BASE
24204
cairo_cv_skia_REQUIRES=$skia_REQUIRES
24205
cairo_cv_skia_CFLAGS=$skia_CFLAGS
24206
cairo_cv_skia_NONPKGCONFIG_CFLAGS=$skia_NONPKGCONFIG_CFLAGS
24207
cairo_cv_skia_LIBS=$skia_LIBS
24208
cairo_cv_skia_NONPKGCONFIG_LIBS=$skia_NONPKGCONFIG_LIBS
24209
cairo_cv_skia_NONPKGCONFIG_EXTRA_LIBS=$skia_NONPKGCONFIG_EXTRA_LIBS
24211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Skia surface backend feature could be enabled" >&5
24212
$as_echo_n "checking whether cairo's Skia surface backend feature could be enabled... " >&6; }
24215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_skia_use" >&5
24216
$as_echo "$cairo_cv_skia_use" >&6; }
24217
use_skia=$cairo_cv_skia_use
24219
if test "x$enable_skia" = "xyes" -a "x$use_skia" != xyes; then :
24220
as_fn_error $? " Skia surface backend feature could not be enabled" "$LINENO" 5
24224
as_fn_error $? "invalid argument passed to --enable-skia: \`$use_skia', should be one of [no/auto/yes]" "$LINENO" 5
24227
if test "x$use_skia" = "xyes"; then :
24228
skia_BASE=$cairo_cv_skia_BASE
24229
skia_REQUIRES=$cairo_cv_skia_REQUIRES
24230
skia_CFLAGS=$cairo_cv_skia_CFLAGS
24231
skia_NONPKGCONFIG_CFLAGS=$cairo_cv_skia_NONPKGCONFIG_CFLAGS
24232
skia_LIBS=$cairo_cv_skia_LIBS
24233
skia_NONPKGCONFIG_LIBS=$cairo_cv_skia_NONPKGCONFIG_LIBS
24234
skia_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_skia_NONPKGCONFIG_EXTRA_LIBS
24236
CAIRO_REQUIRES="$skia_REQUIRES"" ${CAIRO_REQUIRES}"
24238
CAIRO_CFLAGS="$skia_CFLAGS"" ${CAIRO_CFLAGS}"
24240
CAIRO_NONPKGCONFIG_CFLAGS="$skia_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
24242
CAIRO_LIBS="$skia_LIBS"" ${CAIRO_LIBS}"
24244
CAIRO_NONPKGCONFIG_LIBS="$skia_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
24248
skia_BASE=$cairo_cv_skia_BASE
24249
skia_REQUIRES=$cairo_cv_skia_REQUIRES
24250
skia_CFLAGS=$cairo_cv_skia_CFLAGS
24251
skia_NONPKGCONFIG_CFLAGS=$cairo_cv_skia_NONPKGCONFIG_CFLAGS
24252
skia_LIBS=$cairo_cv_skia_LIBS
24253
skia_NONPKGCONFIG_LIBS=$cairo_cv_skia_NONPKGCONFIG_LIBS
24254
skia_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_skia_NONPKGCONFIG_EXTRA_LIBS
24259
if test "x$use_skia" = xyes; then
24260
CAIRO_HAS_SKIA_SURFACE_TRUE=
24261
CAIRO_HAS_SKIA_SURFACE_FALSE='#'
24263
CAIRO_HAS_SKIA_SURFACE_TRUE='#'
24264
CAIRO_HAS_SKIA_SURFACE_FALSE=
24268
cr_make_tmp='CAIRO_HAS_SKIA_SURFACE=0'
24269
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
24274
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24277
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24280
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24283
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24288
cr_make_tmp='unsupported_cairo_headers += $(cairo_skia_headers)'
24289
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24292
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24294
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_skia_headers)'
24295
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24298
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24302
cr_make_tmp='all_cairo_headers += $(cairo_skia_headers)
24303
all_cairo_private += $(cairo_skia_private)
24304
all_cairo_cxx_sources += $(cairo_skia_cxx_sources)
24305
all_cairo_sources += $(cairo_skia_sources)'
24306
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24309
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24311
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_skia_headers)
24312
all_cairo_boilerplate_private += $(cairo_boilerplate_skia_private)
24313
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_skia_cxx_sources)
24314
all_cairo_boilerplate_sources += $(cairo_boilerplate_skia_sources)'
24315
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24318
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24322
cr_make_tmp='enabled_cairo_headers += $(cairo_skia_headers)
24323
enabled_cairo_private += $(cairo_skia_private)
24324
enabled_cairo_cxx_sources += $(cairo_skia_cxx_sources)
24325
enabled_cairo_sources += $(cairo_skia_sources)'
24326
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24327
"'if CAIRO_HAS_SKIA_SURFACE'
24328
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24330
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24333
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24334
"'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
24335
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24337
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24339
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_skia_headers)
24340
enabled_cairo_boilerplate_private += $(cairo_boilerplate_skia_private)
24341
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_skia_cxx_sources)
24342
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_skia_sources)'
24343
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24344
"'if CAIRO_HAS_SKIA_SURFACE'
24345
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24347
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24350
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24351
"'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
24352
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24354
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24360
if test "x$use_skia" = xyes; then :
24362
ac_config_files="$ac_config_files src/cairo-skia.pc:src/cairo-features.pc.in"
24366
if test "x$use_skia" = xyes; then :
24368
ac_config_files="$ac_config_files cairo-skia-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
24372
cr_make_tmp='all_cairo_pkgconf += cairo-skia.pc'
24373
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24376
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24380
cr_make_tmp='enabled_cairo_pkgconf += cairo-skia.pc'
24381
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24382
"'if CAIRO_HAS_SKIA_SURFACE'
24383
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24385
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24388
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24389
"'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
24390
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24392
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24396
if test "x$use_skia" = xyes; then :
24398
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_SKIA_SURFACE'
24405
cr_make_tmp=' @echo "#define CAIRO_HAS_SKIA_SURFACE 1" >> src/cairo-features.h'
24406
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24407
"'ifeq ($(CAIRO_HAS_SKIA_SURFACE),1)'
24408
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24410
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24414
if test "x$use_skia" = xyes; then :
24416
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
24418
"'--- The Skia surface backend feature is still under active development and is
24419
--- included in this release only as a preview. It does NOT fully work yet
24420
--- and incompatible changes may yet be made to Skia surface backend specific
24432
# Check whether --enable-os2 was given.
24433
if test "${enable_os2+set}" = set; then :
24434
enableval=$enable_os2; enable_os2=$enableval
24439
case $enable_os2 in #(
24441
use_os2="no (disabled, use --enable-os2 to enable)"
24444
if test "x$cairo_cv_os2_cache_version" != "x6" -o \
24445
"x$cairo_cv_os2_cache_commands_len" != "x120" -o \
24446
"x$cairo_cv_os2_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
24447
unset cairo_cv_os2_use
24449
if test "x$enable_os2" = xyes -a "x$cairo_cv_os2_use" != xyes; then :
24450
unset cairo_cv_os2_use
24453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's OS/2 surface backend feature" >&5
24454
$as_echo_n "checking for cairo's OS/2 surface backend feature... " >&6; }
24455
if test "${cairo_cv_os2_use+set}" = set; then :
24456
$as_echo_n "(cached) " >&6
24461
os2_REQUIRES="$ac_env_os2_REQUIRES_value"
24462
os2_CFLAGS="$ac_env_os2_CFLAGS_value"
24463
os2_NONPKGCONFIG_CFLAGS="$ac_env_os2_NONPKGCONFIG_CFLAGS_value"
24464
os2_LIBS="$ac_env_os2_LIBS_value"
24465
os2_NONPKGCONFIG_LIBS="$ac_env_os2_NONPKGCONFIG_LIBS_value"
24466
os2_NONPKGCONFIG_EXTRA_LIBS="$ac_env_os2_NONPKGCONFIG_EXTRA_LIBS_value"
24474
use_os2="no (requires an OS/2 platform)"
24478
cairo_cv_os2_use=$use_os2
24479
cairo_cv_os2_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
24480
cairo_cv_os2_cache_commands_len="120"
24481
cairo_cv_os2_cache_version="6"
24482
cairo_cv_os2_BASE=$os2_BASE
24483
cairo_cv_os2_REQUIRES=$os2_REQUIRES
24484
cairo_cv_os2_CFLAGS=$os2_CFLAGS
24485
cairo_cv_os2_NONPKGCONFIG_CFLAGS=$os2_NONPKGCONFIG_CFLAGS
24486
cairo_cv_os2_LIBS=$os2_LIBS
24487
cairo_cv_os2_NONPKGCONFIG_LIBS=$os2_NONPKGCONFIG_LIBS
24488
cairo_cv_os2_NONPKGCONFIG_EXTRA_LIBS=$os2_NONPKGCONFIG_EXTRA_LIBS
24490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's OS/2 surface backend feature could be enabled" >&5
24491
$as_echo_n "checking whether cairo's OS/2 surface backend feature could be enabled... " >&6; }
24494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_os2_use" >&5
24495
$as_echo "$cairo_cv_os2_use" >&6; }
24496
use_os2=$cairo_cv_os2_use
24498
if test "x$enable_os2" = "xyes" -a "x$use_os2" != xyes; then :
24499
as_fn_error $? " OS/2 surface backend feature could not be enabled" "$LINENO" 5
24503
as_fn_error $? "invalid argument passed to --enable-os2: \`$use_os2', should be one of [no/auto/yes]" "$LINENO" 5
24506
if test "x$use_os2" = "xyes"; then :
24507
os2_BASE=$cairo_cv_os2_BASE
24508
os2_REQUIRES=$cairo_cv_os2_REQUIRES
24509
os2_CFLAGS=$cairo_cv_os2_CFLAGS
24510
os2_NONPKGCONFIG_CFLAGS=$cairo_cv_os2_NONPKGCONFIG_CFLAGS
24511
os2_LIBS=$cairo_cv_os2_LIBS
24512
os2_NONPKGCONFIG_LIBS=$cairo_cv_os2_NONPKGCONFIG_LIBS
24513
os2_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_os2_NONPKGCONFIG_EXTRA_LIBS
24515
CAIRO_REQUIRES="$os2_REQUIRES"" ${CAIRO_REQUIRES}"
24517
CAIRO_CFLAGS="$os2_CFLAGS"" ${CAIRO_CFLAGS}"
24519
CAIRO_NONPKGCONFIG_CFLAGS="$os2_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
24521
CAIRO_LIBS="$os2_LIBS"" ${CAIRO_LIBS}"
24523
CAIRO_NONPKGCONFIG_LIBS="$os2_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
24527
os2_BASE=$cairo_cv_os2_BASE
24528
os2_REQUIRES=$cairo_cv_os2_REQUIRES
24529
os2_CFLAGS=$cairo_cv_os2_CFLAGS
24530
os2_NONPKGCONFIG_CFLAGS=$cairo_cv_os2_NONPKGCONFIG_CFLAGS
24531
os2_LIBS=$cairo_cv_os2_LIBS
24532
os2_NONPKGCONFIG_LIBS=$cairo_cv_os2_NONPKGCONFIG_LIBS
24533
os2_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_os2_NONPKGCONFIG_EXTRA_LIBS
24538
if test "x$use_os2" = xyes; then
24539
CAIRO_HAS_OS2_SURFACE_TRUE=
24540
CAIRO_HAS_OS2_SURFACE_FALSE='#'
24542
CAIRO_HAS_OS2_SURFACE_TRUE='#'
24543
CAIRO_HAS_OS2_SURFACE_FALSE=
24547
cr_make_tmp='CAIRO_HAS_OS2_SURFACE=0'
24548
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
24553
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24556
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24559
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24562
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24567
cr_make_tmp='unsupported_cairo_headers += $(cairo_os2_headers)'
24568
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24571
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24573
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_os2_headers)'
24574
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24577
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24581
cr_make_tmp='all_cairo_headers += $(cairo_os2_headers)
24582
all_cairo_private += $(cairo_os2_private)
24583
all_cairo_cxx_sources += $(cairo_os2_cxx_sources)
24584
all_cairo_sources += $(cairo_os2_sources)'
24585
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24588
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24590
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_os2_headers)
24591
all_cairo_boilerplate_private += $(cairo_boilerplate_os2_private)
24592
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_os2_cxx_sources)
24593
all_cairo_boilerplate_sources += $(cairo_boilerplate_os2_sources)'
24594
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24597
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24601
cr_make_tmp='enabled_cairo_headers += $(cairo_os2_headers)
24602
enabled_cairo_private += $(cairo_os2_private)
24603
enabled_cairo_cxx_sources += $(cairo_os2_cxx_sources)
24604
enabled_cairo_sources += $(cairo_os2_sources)'
24605
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24606
"'if CAIRO_HAS_OS2_SURFACE'
24607
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24609
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24612
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24613
"'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
24614
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24616
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24618
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_os2_headers)
24619
enabled_cairo_boilerplate_private += $(cairo_boilerplate_os2_private)
24620
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_os2_cxx_sources)
24621
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_os2_sources)'
24622
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24623
"'if CAIRO_HAS_OS2_SURFACE'
24624
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24626
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24629
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24630
"'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
24631
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24633
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24639
if test "x$use_os2" = xyes; then :
24641
ac_config_files="$ac_config_files src/cairo-os2.pc:src/cairo-features.pc.in"
24645
if test "x$use_os2" = xyes; then :
24647
ac_config_files="$ac_config_files cairo-os2-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
24651
cr_make_tmp='all_cairo_pkgconf += cairo-os2.pc'
24652
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24655
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24659
cr_make_tmp='enabled_cairo_pkgconf += cairo-os2.pc'
24660
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24661
"'if CAIRO_HAS_OS2_SURFACE'
24662
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24664
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24667
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24668
"'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
24669
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24671
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24675
if test "x$use_os2" = xyes; then :
24677
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_OS2_SURFACE'
24684
cr_make_tmp=' @echo "#define CAIRO_HAS_OS2_SURFACE 1" >> src/cairo-features.h'
24685
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24686
"'ifeq ($(CAIRO_HAS_OS2_SURFACE),1)'
24687
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24689
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
24693
if test "x$use_os2" = xyes; then :
24695
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
24697
"'--- The OS/2 surface backend feature is still under active development and is
24698
--- included in this release only as a preview. It does NOT fully work yet
24699
--- and incompatible changes may yet be made to OS/2 surface backend specific
24711
# Check whether --enable-beos was given.
24712
if test "${enable_beos+set}" = set; then :
24713
enableval=$enable_beos; enable_beos=$enableval
24718
case $enable_beos in #(
24720
use_beos="no (disabled, use --enable-beos to enable)"
24723
if test "x$cairo_cv_beos_cache_version" != "x6" -o \
24724
"x$cairo_cv_beos_cache_commands_len" != "x292" -o \
24725
"x$cairo_cv_beos_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
24726
unset cairo_cv_beos_use
24728
if test "x$enable_beos" = xyes -a "x$cairo_cv_beos_use" != xyes; then :
24729
unset cairo_cv_beos_use
24732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's BeOS/Zeta surface backend feature" >&5
24733
$as_echo_n "checking for cairo's BeOS/Zeta surface backend feature... " >&6; }
24734
if test "${cairo_cv_beos_use+set}" = set; then :
24735
$as_echo_n "(cached) " >&6
24740
beos_REQUIRES="$ac_env_beos_REQUIRES_value"
24741
beos_CFLAGS="$ac_env_beos_CFLAGS_value"
24742
beos_NONPKGCONFIG_CFLAGS="$ac_env_beos_NONPKGCONFIG_CFLAGS_value"
24743
beos_LIBS="$ac_env_beos_LIBS_value"
24744
beos_NONPKGCONFIG_LIBS="$ac_env_beos_NONPKGCONFIG_LIBS_value"
24745
beos_NONPKGCONFIG_EXTRA_LIBS="$ac_env_beos_NONPKGCONFIG_EXTRA_LIBS_value"
24751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lbe" >&5
24752
$as_echo_n "checking for main in -lbe... " >&6; }
24753
if test "${ac_cv_lib_be_main+set}" = set; then :
24754
$as_echo_n "(cached) " >&6
24756
ac_check_lib_save_LIBS=$LIBS
24758
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24759
/* end confdefs.h. */
24770
if ac_fn_c_try_link "$LINENO"; then :
24771
ac_cv_lib_be_main=yes
24773
ac_cv_lib_be_main=no
24775
rm -f core conftest.err conftest.$ac_objext \
24776
conftest$ac_exeext conftest.$ac_ext
24777
LIBS=$ac_check_lib_save_LIBS
24779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_be_main" >&5
24780
$as_echo "$ac_cv_lib_be_main" >&6; }
24781
if test "x$ac_cv_lib_be_main" = x""yes; then :
24782
beos_LIBS="$beos_LIBS -lbe"
24785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lzeta" >&5
24786
$as_echo_n "checking for main in -lzeta... " >&6; }
24787
if test "${ac_cv_lib_zeta_main+set}" = set; then :
24788
$as_echo_n "(cached) " >&6
24790
ac_check_lib_save_LIBS=$LIBS
24791
LIBS="-lzeta $LIBS"
24792
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24793
/* end confdefs.h. */
24804
if ac_fn_c_try_link "$LINENO"; then :
24805
ac_cv_lib_zeta_main=yes
24807
ac_cv_lib_zeta_main=no
24809
rm -f core conftest.err conftest.$ac_objext \
24810
conftest$ac_exeext conftest.$ac_ext
24811
LIBS=$ac_check_lib_save_LIBS
24813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zeta_main" >&5
24814
$as_echo "$ac_cv_lib_zeta_main" >&6; }
24815
if test "x$ac_cv_lib_zeta_main" = x""yes; then :
24816
beos_LIBS="$beos_LIBS -lzeta"
24821
use_beos="no (requires a BeOS platform)"
24825
cairo_cv_beos_use=$use_beos
24826
cairo_cv_beos_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
24827
cairo_cv_beos_cache_commands_len="292"
24828
cairo_cv_beos_cache_version="6"
24829
cairo_cv_beos_BASE=$beos_BASE
24830
cairo_cv_beos_REQUIRES=$beos_REQUIRES
24831
cairo_cv_beos_CFLAGS=$beos_CFLAGS
24832
cairo_cv_beos_NONPKGCONFIG_CFLAGS=$beos_NONPKGCONFIG_CFLAGS
24833
cairo_cv_beos_LIBS=$beos_LIBS
24834
cairo_cv_beos_NONPKGCONFIG_LIBS=$beos_NONPKGCONFIG_LIBS
24835
cairo_cv_beos_NONPKGCONFIG_EXTRA_LIBS=$beos_NONPKGCONFIG_EXTRA_LIBS
24837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's BeOS/Zeta surface backend feature could be enabled" >&5
24838
$as_echo_n "checking whether cairo's BeOS/Zeta surface backend feature could be enabled... " >&6; }
24841
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_beos_use" >&5
24842
$as_echo "$cairo_cv_beos_use" >&6; }
24843
use_beos=$cairo_cv_beos_use
24845
if test "x$enable_beos" = "xyes" -a "x$use_beos" != xyes; then :
24846
as_fn_error $? " BeOS/Zeta surface backend feature could not be enabled" "$LINENO" 5
24850
as_fn_error $? "invalid argument passed to --enable-beos: \`$use_beos', should be one of [no/auto/yes]" "$LINENO" 5
24853
if test "x$use_beos" = "xyes"; then :
24854
beos_BASE=$cairo_cv_beos_BASE
24855
beos_REQUIRES=$cairo_cv_beos_REQUIRES
24856
beos_CFLAGS=$cairo_cv_beos_CFLAGS
24857
beos_NONPKGCONFIG_CFLAGS=$cairo_cv_beos_NONPKGCONFIG_CFLAGS
24858
beos_LIBS=$cairo_cv_beos_LIBS
24859
beos_NONPKGCONFIG_LIBS=$cairo_cv_beos_NONPKGCONFIG_LIBS
24860
beos_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_beos_NONPKGCONFIG_EXTRA_LIBS
24862
CAIRO_REQUIRES="$beos_REQUIRES"" ${CAIRO_REQUIRES}"
24864
CAIRO_CFLAGS="$beos_CFLAGS"" ${CAIRO_CFLAGS}"
24866
CAIRO_NONPKGCONFIG_CFLAGS="$beos_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
24868
CAIRO_LIBS="$beos_LIBS"" ${CAIRO_LIBS}"
24870
CAIRO_NONPKGCONFIG_LIBS="$beos_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
24874
beos_BASE=$cairo_cv_beos_BASE
24875
beos_REQUIRES=$cairo_cv_beos_REQUIRES
24876
beos_CFLAGS=$cairo_cv_beos_CFLAGS
24877
beos_NONPKGCONFIG_CFLAGS=$cairo_cv_beos_NONPKGCONFIG_CFLAGS
24878
beos_LIBS=$cairo_cv_beos_LIBS
24879
beos_NONPKGCONFIG_LIBS=$cairo_cv_beos_NONPKGCONFIG_LIBS
24880
beos_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_beos_NONPKGCONFIG_EXTRA_LIBS
24885
if test "x$use_beos" = xyes; then
24886
CAIRO_HAS_BEOS_SURFACE_TRUE=
24887
CAIRO_HAS_BEOS_SURFACE_FALSE='#'
24889
CAIRO_HAS_BEOS_SURFACE_TRUE='#'
24890
CAIRO_HAS_BEOS_SURFACE_FALSE=
24894
cr_make_tmp='CAIRO_HAS_BEOS_SURFACE=0'
24895
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
24900
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24903
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24906
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24909
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24914
cr_make_tmp='unsupported_cairo_headers += $(cairo_beos_headers)'
24915
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24918
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24920
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_beos_headers)'
24921
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24924
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24928
cr_make_tmp='all_cairo_headers += $(cairo_beos_headers)
24929
all_cairo_private += $(cairo_beos_private)
24930
all_cairo_cxx_sources += $(cairo_beos_cxx_sources)
24931
all_cairo_sources += $(cairo_beos_sources)'
24932
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24935
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24937
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_beos_headers)
24938
all_cairo_boilerplate_private += $(cairo_boilerplate_beos_private)
24939
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_beos_cxx_sources)
24940
all_cairo_boilerplate_sources += $(cairo_boilerplate_beos_sources)'
24941
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24944
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24948
cr_make_tmp='enabled_cairo_headers += $(cairo_beos_headers)
24949
enabled_cairo_private += $(cairo_beos_private)
24950
enabled_cairo_cxx_sources += $(cairo_beos_cxx_sources)
24951
enabled_cairo_sources += $(cairo_beos_sources)'
24952
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24953
"'if CAIRO_HAS_BEOS_SURFACE'
24954
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24956
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
24959
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24960
"'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
24961
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24963
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
24965
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_beos_headers)
24966
enabled_cairo_boilerplate_private += $(cairo_boilerplate_beos_private)
24967
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_beos_cxx_sources)
24968
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_beos_sources)'
24969
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24970
"'if CAIRO_HAS_BEOS_SURFACE'
24971
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24973
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
24976
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24977
"'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
24978
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24980
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
24986
if test "x$use_beos" = xyes; then :
24988
ac_config_files="$ac_config_files src/cairo-beos.pc:src/cairo-features.pc.in"
24992
if test "x$use_beos" = xyes; then :
24994
ac_config_files="$ac_config_files cairo-beos-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
24998
cr_make_tmp='all_cairo_pkgconf += cairo-beos.pc'
24999
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25002
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25006
cr_make_tmp='enabled_cairo_pkgconf += cairo-beos.pc'
25007
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25008
"'if CAIRO_HAS_BEOS_SURFACE'
25009
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25011
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25014
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25015
"'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
25016
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25018
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25022
if test "x$use_beos" = xyes; then :
25024
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_BEOS_SURFACE'
25031
cr_make_tmp=' @echo "#define CAIRO_HAS_BEOS_SURFACE 1" >> src/cairo-features.h'
25032
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25033
"'ifeq ($(CAIRO_HAS_BEOS_SURFACE),1)'
25034
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25036
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25040
if test "x$use_beos" = xyes; then :
25042
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
25044
"'--- The BeOS/Zeta surface backend feature is still under active development
25045
--- and is included in this release only as a preview. It does NOT fully work
25046
--- yet and incompatible changes may yet be made to BeOS/Zeta surface backend
25058
# Check whether --enable-drm was given.
25059
if test "${enable_drm+set}" = set; then :
25060
enableval=$enable_drm; enable_drm=$enableval
25065
case $enable_drm in #(
25067
use_drm="no (disabled, use --enable-drm to enable)"
25070
if test "x$cairo_cv_drm_cache_version" != "x6" -o \
25071
"x$cairo_cv_drm_cache_commands_len" != "x212" -o \
25072
"x$cairo_cv_drm_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
25073
unset cairo_cv_drm_use
25075
if test "x$enable_drm" = xyes -a "x$cairo_cv_drm_use" != xyes; then :
25076
unset cairo_cv_drm_use
25079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's DRM surface backend feature" >&5
25080
$as_echo_n "checking for cairo's DRM surface backend feature... " >&6; }
25081
if test "${cairo_cv_drm_use+set}" = set; then :
25082
$as_echo_n "(cached) " >&6
25087
drm_REQUIRES="$ac_env_drm_REQUIRES_value"
25088
drm_CFLAGS="$ac_env_drm_CFLAGS_value"
25089
drm_NONPKGCONFIG_CFLAGS="$ac_env_drm_NONPKGCONFIG_CFLAGS_value"
25090
drm_LIBS="$ac_env_drm_LIBS_value"
25091
drm_NONPKGCONFIG_LIBS="$ac_env_drm_NONPKGCONFIG_LIBS_value"
25092
drm_NONPKGCONFIG_EXTRA_LIBS="$ac_env_drm_NONPKGCONFIG_EXTRA_LIBS_value"
25095
drm_REQUIRES="libudev >= 136"
25098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for drm" >&5
25099
$as_echo_n "checking for drm... " >&6; }
25101
if test -n "$drm_CFLAGS"; then
25102
pkg_cv_drm_CFLAGS="$drm_CFLAGS"
25103
elif test -n "$PKG_CONFIG"; then
25104
if test -n "$PKG_CONFIG" && \
25105
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$drm_REQUIRES\""; } >&5
25106
($PKG_CONFIG --exists --print-errors "$drm_REQUIRES") 2>&5
25108
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25109
test $ac_status = 0; }; then
25110
pkg_cv_drm_CFLAGS=`$PKG_CONFIG --cflags "$drm_REQUIRES" 2>/dev/null`
25117
if test -n "$drm_LIBS"; then
25118
pkg_cv_drm_LIBS="$drm_LIBS"
25119
elif test -n "$PKG_CONFIG"; then
25120
if test -n "$PKG_CONFIG" && \
25121
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$drm_REQUIRES\""; } >&5
25122
($PKG_CONFIG --exists --print-errors "$drm_REQUIRES") 2>&5
25124
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25125
test $ac_status = 0; }; then
25126
pkg_cv_drm_LIBS=`$PKG_CONFIG --libs "$drm_REQUIRES" 2>/dev/null`
25136
if test $pkg_failed = yes; then
25138
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25139
_pkg_short_errors_supported=yes
25141
_pkg_short_errors_supported=no
25143
if test $_pkg_short_errors_supported = yes; then
25144
drm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$drm_REQUIRES" 2>&1`
25146
drm_PKG_ERRORS=`$PKG_CONFIG --print-errors "$drm_REQUIRES" 2>&1`
25148
# Put the nasty error message in config.log where it belongs
25149
echo "$drm_PKG_ERRORS" >&5
25151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25152
$as_echo "no" >&6; }
25153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25154
$as_echo "no" >&6; }
25155
use_drm="no (requires $drm_REQUIRES, udev is available from git://git.kernel.org/pub/scm/linux/hotplug/udev.git)"
25156
elif test $pkg_failed = untried; then
25157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25158
$as_echo "no" >&6; }
25159
use_drm="no (requires $drm_REQUIRES, udev is available from git://git.kernel.org/pub/scm/linux/hotplug/udev.git)"
25161
drm_CFLAGS=$pkg_cv_drm_CFLAGS
25162
drm_LIBS=$pkg_cv_drm_LIBS
25163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25164
$as_echo "yes" >&6; }
25168
cairo_cv_drm_use=$use_drm
25169
cairo_cv_drm_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
25170
cairo_cv_drm_cache_commands_len="212"
25171
cairo_cv_drm_cache_version="6"
25172
cairo_cv_drm_BASE=$drm_BASE
25173
cairo_cv_drm_REQUIRES=$drm_REQUIRES
25174
cairo_cv_drm_CFLAGS=$drm_CFLAGS
25175
cairo_cv_drm_NONPKGCONFIG_CFLAGS=$drm_NONPKGCONFIG_CFLAGS
25176
cairo_cv_drm_LIBS=$drm_LIBS
25177
cairo_cv_drm_NONPKGCONFIG_LIBS=$drm_NONPKGCONFIG_LIBS
25178
cairo_cv_drm_NONPKGCONFIG_EXTRA_LIBS=$drm_NONPKGCONFIG_EXTRA_LIBS
25180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's DRM surface backend feature could be enabled" >&5
25181
$as_echo_n "checking whether cairo's DRM surface backend feature could be enabled... " >&6; }
25184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_drm_use" >&5
25185
$as_echo "$cairo_cv_drm_use" >&6; }
25186
use_drm=$cairo_cv_drm_use
25188
if test "x$enable_drm" = "xyes" -a "x$use_drm" != xyes; then :
25189
as_fn_error $? " DRM surface backend feature could not be enabled" "$LINENO" 5
25193
as_fn_error $? "invalid argument passed to --enable-drm: \`$use_drm', should be one of [no/auto/yes]" "$LINENO" 5
25196
if test "x$use_drm" = "xyes"; then :
25197
drm_BASE=$cairo_cv_drm_BASE
25198
drm_REQUIRES=$cairo_cv_drm_REQUIRES
25199
drm_CFLAGS=$cairo_cv_drm_CFLAGS
25200
drm_NONPKGCONFIG_CFLAGS=$cairo_cv_drm_NONPKGCONFIG_CFLAGS
25201
drm_LIBS=$cairo_cv_drm_LIBS
25202
drm_NONPKGCONFIG_LIBS=$cairo_cv_drm_NONPKGCONFIG_LIBS
25203
drm_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_drm_NONPKGCONFIG_EXTRA_LIBS
25205
CAIRO_REQUIRES="$drm_REQUIRES"" ${CAIRO_REQUIRES}"
25207
CAIRO_CFLAGS="$drm_CFLAGS"" ${CAIRO_CFLAGS}"
25209
CAIRO_NONPKGCONFIG_CFLAGS="$drm_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
25211
CAIRO_LIBS="$drm_LIBS"" ${CAIRO_LIBS}"
25213
CAIRO_NONPKGCONFIG_LIBS="$drm_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
25217
drm_BASE=$cairo_cv_drm_BASE
25218
drm_REQUIRES=$cairo_cv_drm_REQUIRES
25219
drm_CFLAGS=$cairo_cv_drm_CFLAGS
25220
drm_NONPKGCONFIG_CFLAGS=$cairo_cv_drm_NONPKGCONFIG_CFLAGS
25221
drm_LIBS=$cairo_cv_drm_LIBS
25222
drm_NONPKGCONFIG_LIBS=$cairo_cv_drm_NONPKGCONFIG_LIBS
25223
drm_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_drm_NONPKGCONFIG_EXTRA_LIBS
25228
if test "x$use_drm" = xyes; then
25229
CAIRO_HAS_DRM_SURFACE_TRUE=
25230
CAIRO_HAS_DRM_SURFACE_FALSE='#'
25232
CAIRO_HAS_DRM_SURFACE_TRUE='#'
25233
CAIRO_HAS_DRM_SURFACE_FALSE=
25237
cr_make_tmp='CAIRO_HAS_DRM_SURFACE=0'
25238
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
25243
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25246
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25249
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25252
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25257
cr_make_tmp='unsupported_cairo_headers += $(cairo_drm_headers)'
25258
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25261
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25263
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_drm_headers)'
25264
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25267
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25271
cr_make_tmp='all_cairo_headers += $(cairo_drm_headers)
25272
all_cairo_private += $(cairo_drm_private)
25273
all_cairo_cxx_sources += $(cairo_drm_cxx_sources)
25274
all_cairo_sources += $(cairo_drm_sources)'
25275
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25278
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25280
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_drm_headers)
25281
all_cairo_boilerplate_private += $(cairo_boilerplate_drm_private)
25282
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_drm_cxx_sources)
25283
all_cairo_boilerplate_sources += $(cairo_boilerplate_drm_sources)'
25284
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25287
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25291
cr_make_tmp='enabled_cairo_headers += $(cairo_drm_headers)
25292
enabled_cairo_private += $(cairo_drm_private)
25293
enabled_cairo_cxx_sources += $(cairo_drm_cxx_sources)
25294
enabled_cairo_sources += $(cairo_drm_sources)'
25295
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25296
"'if CAIRO_HAS_DRM_SURFACE'
25297
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25299
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25302
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25303
"'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
25304
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25306
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25308
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_drm_headers)
25309
enabled_cairo_boilerplate_private += $(cairo_boilerplate_drm_private)
25310
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_drm_cxx_sources)
25311
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_drm_sources)'
25312
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25313
"'if CAIRO_HAS_DRM_SURFACE'
25314
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25316
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25319
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25320
"'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
25321
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25323
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25329
if test "x$use_drm" = xyes; then :
25331
ac_config_files="$ac_config_files src/cairo-drm.pc:src/cairo-features.pc.in"
25335
if test "x$use_drm" = xyes; then :
25337
ac_config_files="$ac_config_files cairo-drm-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
25341
cr_make_tmp='all_cairo_pkgconf += cairo-drm.pc'
25342
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25345
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25349
cr_make_tmp='enabled_cairo_pkgconf += cairo-drm.pc'
25350
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25351
"'if CAIRO_HAS_DRM_SURFACE'
25352
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25354
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25357
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25358
"'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
25359
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25361
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25365
if test "x$use_drm" = xyes; then :
25367
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_DRM_SURFACE'
25374
cr_make_tmp=' @echo "#define CAIRO_HAS_DRM_SURFACE 1" >> src/cairo-features.h'
25375
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25376
"'ifeq ($(CAIRO_HAS_DRM_SURFACE),1)'
25377
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25379
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25383
if test "x$use_drm" = xyes; then :
25385
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
25387
"'--- The DRM surface backend feature is still under active development and is
25388
--- included in this release only as a preview. It does NOT fully work yet
25389
--- and incompatible changes may yet be made to DRM surface backend specific
25400
# Check whether --enable-drm-xr was given.
25401
if test "${enable_drm_xr+set}" = set; then :
25402
enableval=$enable_drm_xr; enable_drm_xr=$enableval
25407
case $enable_drm_xr in #(
25409
use_drm_xr="no (disabled, use --enable-drm-xr to enable)"
25412
if test "x$cairo_cv_drm_xr_cache_version" != "x6" -o \
25413
"x$cairo_cv_drm_xr_cache_commands_len" != "x377" -o \
25414
"x$cairo_cv_drm_xr_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
25415
unset cairo_cv_drm_xr_use
25417
if test "x$enable_drm_xr" = xyes -a "x$cairo_cv_drm_xr_use" != xyes; then :
25418
unset cairo_cv_drm_xr_use
25421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's DRM Xr (DDX) functions feature" >&5
25422
$as_echo_n "checking for cairo's DRM Xr (DDX) functions feature... " >&6; }
25423
if test "${cairo_cv_drm_xr_use+set}" = set; then :
25424
$as_echo_n "(cached) " >&6
25428
drm_xr_BASE="cairo"
25429
drm_xr_REQUIRES="$ac_env_drm_xr_REQUIRES_value"
25430
drm_xr_CFLAGS="$ac_env_drm_xr_CFLAGS_value"
25431
drm_xr_NONPKGCONFIG_CFLAGS="$ac_env_drm_xr_NONPKGCONFIG_CFLAGS_value"
25432
drm_xr_LIBS="$ac_env_drm_xr_LIBS_value"
25433
drm_xr_NONPKGCONFIG_LIBS="$ac_env_drm_xr_NONPKGCONFIG_LIBS_value"
25434
drm_xr_NONPKGCONFIG_EXTRA_LIBS="$ac_env_drm_xr_NONPKGCONFIG_EXTRA_LIBS_value"
25437
if test "x$use_drm" = "xyes"; then
25438
drm_xr_REQUIRES="xorg-server >= 1.6 xproto xextproto >= 7.0.99.1 renderproto x11"
25441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for drm_xr" >&5
25442
$as_echo_n "checking for drm_xr... " >&6; }
25444
if test -n "$drm_xr_CFLAGS"; then
25445
pkg_cv_drm_xr_CFLAGS="$drm_xr_CFLAGS"
25446
elif test -n "$PKG_CONFIG"; then
25447
if test -n "$PKG_CONFIG" && \
25448
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$drm_xr_REQUIRES\""; } >&5
25449
($PKG_CONFIG --exists --print-errors "$drm_xr_REQUIRES") 2>&5
25451
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25452
test $ac_status = 0; }; then
25453
pkg_cv_drm_xr_CFLAGS=`$PKG_CONFIG --cflags "$drm_xr_REQUIRES" 2>/dev/null`
25460
if test -n "$drm_xr_LIBS"; then
25461
pkg_cv_drm_xr_LIBS="$drm_xr_LIBS"
25462
elif test -n "$PKG_CONFIG"; then
25463
if test -n "$PKG_CONFIG" && \
25464
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$drm_xr_REQUIRES\""; } >&5
25465
($PKG_CONFIG --exists --print-errors "$drm_xr_REQUIRES") 2>&5
25467
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25468
test $ac_status = 0; }; then
25469
pkg_cv_drm_xr_LIBS=`$PKG_CONFIG --libs "$drm_xr_REQUIRES" 2>/dev/null`
25479
if test $pkg_failed = yes; then
25481
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25482
_pkg_short_errors_supported=yes
25484
_pkg_short_errors_supported=no
25486
if test $_pkg_short_errors_supported = yes; then
25487
drm_xr_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$drm_xr_REQUIRES" 2>&1`
25489
drm_xr_PKG_ERRORS=`$PKG_CONFIG --print-errors "$drm_xr_REQUIRES" 2>&1`
25491
# Put the nasty error message in config.log where it belongs
25492
echo "$drm_xr_PKG_ERRORS" >&5
25494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25495
$as_echo "no" >&6; }
25496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25497
$as_echo "no" >&6; }
25498
use_drm_xr="no (requires $drm_xr)"
25499
elif test $pkg_failed = untried; then
25500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25501
$as_echo "no" >&6; }
25502
use_drm_xr="no (requires $drm_xr)"
25504
drm_xr_CFLAGS=$pkg_cv_drm_xr_CFLAGS
25505
drm_xr_LIBS=$pkg_cv_drm_xr_LIBS
25506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25507
$as_echo "yes" >&6; }
25510
drm_xr_CFLAGS=`echo "$drm_xr_CFLAGS" | $SED -e 's/-fvisibility=hidden//g'`
25512
use_drm_xr="no (requires --enable-drm)"
25515
cairo_cv_drm_xr_use=$use_drm_xr
25516
cairo_cv_drm_xr_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
25517
cairo_cv_drm_xr_cache_commands_len="377"
25518
cairo_cv_drm_xr_cache_version="6"
25519
cairo_cv_drm_xr_BASE=$drm_xr_BASE
25520
cairo_cv_drm_xr_REQUIRES=$drm_xr_REQUIRES
25521
cairo_cv_drm_xr_CFLAGS=$drm_xr_CFLAGS
25522
cairo_cv_drm_xr_NONPKGCONFIG_CFLAGS=$drm_xr_NONPKGCONFIG_CFLAGS
25523
cairo_cv_drm_xr_LIBS=$drm_xr_LIBS
25524
cairo_cv_drm_xr_NONPKGCONFIG_LIBS=$drm_xr_NONPKGCONFIG_LIBS
25525
cairo_cv_drm_xr_NONPKGCONFIG_EXTRA_LIBS=$drm_xr_NONPKGCONFIG_EXTRA_LIBS
25527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's DRM Xr (DDX) functions feature could be enabled" >&5
25528
$as_echo_n "checking whether cairo's DRM Xr (DDX) functions feature could be enabled... " >&6; }
25531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_drm_xr_use" >&5
25532
$as_echo "$cairo_cv_drm_xr_use" >&6; }
25533
use_drm_xr=$cairo_cv_drm_xr_use
25535
if test "x$enable_drm_xr" = "xyes" -a "x$use_drm_xr" != xyes; then :
25536
as_fn_error $? " DRM Xr (DDX) functions feature could not be enabled" "$LINENO" 5
25540
as_fn_error $? "invalid argument passed to --enable-drm-xr: \`$use_drm_xr', should be one of [no/auto/yes]" "$LINENO" 5
25543
if test "x$use_drm_xr" = "xyes"; then :
25544
drm_xr_BASE=$cairo_cv_drm_xr_BASE
25545
drm_xr_REQUIRES=$cairo_cv_drm_xr_REQUIRES
25546
drm_xr_CFLAGS=$cairo_cv_drm_xr_CFLAGS
25547
drm_xr_NONPKGCONFIG_CFLAGS=$cairo_cv_drm_xr_NONPKGCONFIG_CFLAGS
25548
drm_xr_LIBS=$cairo_cv_drm_xr_LIBS
25549
drm_xr_NONPKGCONFIG_LIBS=$cairo_cv_drm_xr_NONPKGCONFIG_LIBS
25550
drm_xr_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_drm_xr_NONPKGCONFIG_EXTRA_LIBS
25552
CAIRO_REQUIRES="$drm_xr_REQUIRES"" ${CAIRO_REQUIRES}"
25554
CAIRO_CFLAGS="$drm_xr_CFLAGS"" ${CAIRO_CFLAGS}"
25556
CAIRO_NONPKGCONFIG_CFLAGS="$drm_xr_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
25558
CAIRO_LIBS="$drm_xr_LIBS"" ${CAIRO_LIBS}"
25560
CAIRO_NONPKGCONFIG_LIBS="$drm_xr_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
25564
drm_xr_BASE=$cairo_cv_drm_xr_BASE
25565
drm_xr_REQUIRES=$cairo_cv_drm_xr_REQUIRES
25566
drm_xr_CFLAGS=$cairo_cv_drm_xr_CFLAGS
25567
drm_xr_NONPKGCONFIG_CFLAGS=$cairo_cv_drm_xr_NONPKGCONFIG_CFLAGS
25568
drm_xr_LIBS=$cairo_cv_drm_xr_LIBS
25569
drm_xr_NONPKGCONFIG_LIBS=$cairo_cv_drm_xr_NONPKGCONFIG_LIBS
25570
drm_xr_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_drm_xr_NONPKGCONFIG_EXTRA_LIBS
25575
if test "x$use_drm_xr" = xyes; then
25576
CAIRO_HAS_DRM_XR_FUNCTIONS_TRUE=
25577
CAIRO_HAS_DRM_XR_FUNCTIONS_FALSE='#'
25579
CAIRO_HAS_DRM_XR_FUNCTIONS_TRUE='#'
25580
CAIRO_HAS_DRM_XR_FUNCTIONS_FALSE=
25584
cr_make_tmp='CAIRO_HAS_DRM_XR_FUNCTIONS=0'
25585
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
25590
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25593
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25596
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25599
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25604
cr_make_tmp='unsupported_cairo_headers += $(cairo_drm_xr_headers)'
25605
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25608
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25610
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_drm_xr_headers)'
25611
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25614
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25618
cr_make_tmp='all_cairo_headers += $(cairo_drm_xr_headers)
25619
all_cairo_private += $(cairo_drm_xr_private)
25620
all_cairo_cxx_sources += $(cairo_drm_xr_cxx_sources)
25621
all_cairo_sources += $(cairo_drm_xr_sources)'
25622
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25625
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25627
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_drm_xr_headers)
25628
all_cairo_boilerplate_private += $(cairo_boilerplate_drm_xr_private)
25629
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_drm_xr_cxx_sources)
25630
all_cairo_boilerplate_sources += $(cairo_boilerplate_drm_xr_sources)'
25631
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25634
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25638
cr_make_tmp='enabled_cairo_headers += $(cairo_drm_xr_headers)
25639
enabled_cairo_private += $(cairo_drm_xr_private)
25640
enabled_cairo_cxx_sources += $(cairo_drm_xr_cxx_sources)
25641
enabled_cairo_sources += $(cairo_drm_xr_sources)'
25642
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25643
"'if CAIRO_HAS_DRM_XR_FUNCTIONS'
25644
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25646
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25649
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25650
"'ifeq ($(CAIRO_HAS_DRM_XR_FUNCTIONS),1)'
25651
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25653
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25655
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_drm_xr_headers)
25656
enabled_cairo_boilerplate_private += $(cairo_boilerplate_drm_xr_private)
25657
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_drm_xr_cxx_sources)
25658
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_drm_xr_sources)'
25659
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25660
"'if CAIRO_HAS_DRM_XR_FUNCTIONS'
25661
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25663
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25666
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25667
"'ifeq ($(CAIRO_HAS_DRM_XR_FUNCTIONS),1)'
25668
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25670
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25676
if test "x$use_drm_xr" = xyes; then :
25678
ac_config_files="$ac_config_files src/cairo-drm-xr.pc:src/cairo-features.pc.in"
25682
if test "x$use_drm_xr" = xyes; then :
25684
ac_config_files="$ac_config_files cairo-drm-xr-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
25688
cr_make_tmp='all_cairo_pkgconf += cairo-drm-xr.pc'
25689
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25692
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25696
cr_make_tmp='enabled_cairo_pkgconf += cairo-drm-xr.pc'
25697
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25698
"'if CAIRO_HAS_DRM_XR_FUNCTIONS'
25699
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25701
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25704
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25705
"'ifeq ($(CAIRO_HAS_DRM_XR_FUNCTIONS),1)'
25706
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25708
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25712
if test "x$use_drm_xr" = xyes; then :
25714
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_DRM_XR_FUNCTIONS'
25721
cr_make_tmp=' @echo "#define CAIRO_HAS_DRM_XR_FUNCTIONS 1" >> src/cairo-features.h'
25722
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25723
"'ifeq ($(CAIRO_HAS_DRM_XR_FUNCTIONS),1)'
25724
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25726
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
25730
if test "x$use_drm_xr" = xyes; then :
25732
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
25734
"'--- The DRM Xr (DDX) functions feature is still under active development and
25735
--- is included in this release only as a preview. It does NOT fully work yet
25736
--- and incompatible changes may yet be made to DRM Xr (DDX) functions
25746
if test "x$use_drm_xr" = "xyes"; then
25748
BUILD_DRM_XR_FALSE='#'
25750
BUILD_DRM_XR_TRUE='#'
25751
BUILD_DRM_XR_FALSE=
25755
# Check whether --enable-gallium was given.
25756
if test "${enable_gallium+set}" = set; then :
25757
enableval=$enable_gallium; enable_gallium=$enableval
25762
case $enable_gallium in #(
25764
use_gallium="no (disabled, use --enable-gallium to enable)"
25767
if test "x$cairo_cv_gallium_cache_version" != "x6" -o \
25768
"x$cairo_cv_gallium_cache_commands_len" != "x544" -o \
25769
"x$cairo_cv_gallium_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
25770
unset cairo_cv_gallium_use
25772
if test "x$enable_gallium" = xyes -a "x$cairo_cv_gallium_use" != xyes; then :
25773
unset cairo_cv_gallium_use
25776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Gallium3D surface backend feature" >&5
25777
$as_echo_n "checking for cairo's Gallium3D surface backend feature... " >&6; }
25778
if test "${cairo_cv_gallium_use+set}" = set; then :
25779
$as_echo_n "(cached) " >&6
25783
gallium_BASE="cairo"
25784
gallium_REQUIRES="$ac_env_gallium_REQUIRES_value"
25785
gallium_CFLAGS="$ac_env_gallium_CFLAGS_value"
25786
gallium_NONPKGCONFIG_CFLAGS="$ac_env_gallium_NONPKGCONFIG_CFLAGS_value"
25787
gallium_LIBS="$ac_env_gallium_LIBS_value"
25788
gallium_NONPKGCONFIG_LIBS="$ac_env_gallium_NONPKGCONFIG_LIBS_value"
25789
gallium_NONPKGCONFIG_EXTRA_LIBS="$ac_env_gallium_NONPKGCONFIG_EXTRA_LIBS_value"
25792
if test "x$use_drm" = "xyes"; then
25794
# Check whether --with-gallium was given.
25795
if test "${with_gallium+set}" = set; then :
25796
withval=$with_gallium; mesa_DIR="$withval"
25798
mesa_DIR="`pwd`/../mesa"
25801
gallium_DIR="$mesa_DIR/src/gallium"
25802
gallium_NONPKGCONFIG_CFLAGS="-I$mesa_DIR/include -I$mesa_DIR/src/mesa -I$gallium_DIR/include -I$gallium_DIR/auxiliary"
25803
gallium_NONPKGCONFIG_LIBS="-lGL"
25807
use_gallium="no (requires --enable-drm)"
25810
cairo_cv_gallium_use=$use_gallium
25811
cairo_cv_gallium_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
25812
cairo_cv_gallium_cache_commands_len="544"
25813
cairo_cv_gallium_cache_version="6"
25814
cairo_cv_gallium_BASE=$gallium_BASE
25815
cairo_cv_gallium_REQUIRES=$gallium_REQUIRES
25816
cairo_cv_gallium_CFLAGS=$gallium_CFLAGS
25817
cairo_cv_gallium_NONPKGCONFIG_CFLAGS=$gallium_NONPKGCONFIG_CFLAGS
25818
cairo_cv_gallium_LIBS=$gallium_LIBS
25819
cairo_cv_gallium_NONPKGCONFIG_LIBS=$gallium_NONPKGCONFIG_LIBS
25820
cairo_cv_gallium_NONPKGCONFIG_EXTRA_LIBS=$gallium_NONPKGCONFIG_EXTRA_LIBS
25822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Gallium3D surface backend feature could be enabled" >&5
25823
$as_echo_n "checking whether cairo's Gallium3D surface backend feature could be enabled... " >&6; }
25826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_gallium_use" >&5
25827
$as_echo "$cairo_cv_gallium_use" >&6; }
25828
use_gallium=$cairo_cv_gallium_use
25830
if test "x$enable_gallium" = "xyes" -a "x$use_gallium" != xyes; then :
25831
as_fn_error $? " Gallium3D surface backend feature could not be enabled" "$LINENO" 5
25835
as_fn_error $? "invalid argument passed to --enable-gallium: \`$use_gallium', should be one of [no/auto/yes]" "$LINENO" 5
25838
if test "x$use_gallium" = "xyes"; then :
25839
gallium_BASE=$cairo_cv_gallium_BASE
25840
gallium_REQUIRES=$cairo_cv_gallium_REQUIRES
25841
gallium_CFLAGS=$cairo_cv_gallium_CFLAGS
25842
gallium_NONPKGCONFIG_CFLAGS=$cairo_cv_gallium_NONPKGCONFIG_CFLAGS
25843
gallium_LIBS=$cairo_cv_gallium_LIBS
25844
gallium_NONPKGCONFIG_LIBS=$cairo_cv_gallium_NONPKGCONFIG_LIBS
25845
gallium_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_gallium_NONPKGCONFIG_EXTRA_LIBS
25847
CAIRO_REQUIRES="$gallium_REQUIRES"" ${CAIRO_REQUIRES}"
25849
CAIRO_CFLAGS="$gallium_CFLAGS"" ${CAIRO_CFLAGS}"
25851
CAIRO_NONPKGCONFIG_CFLAGS="$gallium_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
25853
CAIRO_LIBS="$gallium_LIBS"" ${CAIRO_LIBS}"
25855
CAIRO_NONPKGCONFIG_LIBS="$gallium_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
25859
gallium_BASE=$cairo_cv_gallium_BASE
25860
gallium_REQUIRES=$cairo_cv_gallium_REQUIRES
25861
gallium_CFLAGS=$cairo_cv_gallium_CFLAGS
25862
gallium_NONPKGCONFIG_CFLAGS=$cairo_cv_gallium_NONPKGCONFIG_CFLAGS
25863
gallium_LIBS=$cairo_cv_gallium_LIBS
25864
gallium_NONPKGCONFIG_LIBS=$cairo_cv_gallium_NONPKGCONFIG_LIBS
25865
gallium_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_gallium_NONPKGCONFIG_EXTRA_LIBS
25870
if test "x$use_gallium" = xyes; then
25871
CAIRO_HAS_GALLIUM_SURFACE_TRUE=
25872
CAIRO_HAS_GALLIUM_SURFACE_FALSE='#'
25874
CAIRO_HAS_GALLIUM_SURFACE_TRUE='#'
25875
CAIRO_HAS_GALLIUM_SURFACE_FALSE=
25879
cr_make_tmp='CAIRO_HAS_GALLIUM_SURFACE=0'
25880
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
25885
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25888
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25891
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25894
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25899
cr_make_tmp='unsupported_cairo_headers += $(cairo_gallium_headers)'
25900
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25903
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25905
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_gallium_headers)'
25906
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25909
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25913
cr_make_tmp='all_cairo_headers += $(cairo_gallium_headers)
25914
all_cairo_private += $(cairo_gallium_private)
25915
all_cairo_cxx_sources += $(cairo_gallium_cxx_sources)
25916
all_cairo_sources += $(cairo_gallium_sources)'
25917
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25920
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25922
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_gallium_headers)
25923
all_cairo_boilerplate_private += $(cairo_boilerplate_gallium_private)
25924
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gallium_cxx_sources)
25925
all_cairo_boilerplate_sources += $(cairo_boilerplate_gallium_sources)'
25926
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25929
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25933
cr_make_tmp='enabled_cairo_headers += $(cairo_gallium_headers)
25934
enabled_cairo_private += $(cairo_gallium_private)
25935
enabled_cairo_cxx_sources += $(cairo_gallium_cxx_sources)
25936
enabled_cairo_sources += $(cairo_gallium_sources)'
25937
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25938
"'if CAIRO_HAS_GALLIUM_SURFACE'
25939
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25941
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25944
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25945
"'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
25946
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25948
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25950
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_gallium_headers)
25951
enabled_cairo_boilerplate_private += $(cairo_boilerplate_gallium_private)
25952
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gallium_cxx_sources)
25953
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_gallium_sources)'
25954
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25955
"'if CAIRO_HAS_GALLIUM_SURFACE'
25956
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25958
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
25961
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25962
"'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
25963
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25965
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
25971
if test "x$use_gallium" = xyes; then :
25973
ac_config_files="$ac_config_files src/cairo-gallium.pc:src/cairo-features.pc.in"
25977
if test "x$use_gallium" = xyes; then :
25979
ac_config_files="$ac_config_files cairo-gallium-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
25983
cr_make_tmp='all_cairo_pkgconf += cairo-gallium.pc'
25984
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25987
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
25991
cr_make_tmp='enabled_cairo_pkgconf += cairo-gallium.pc'
25992
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25993
"'if CAIRO_HAS_GALLIUM_SURFACE'
25994
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25996
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
25999
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26000
"'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
26001
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26003
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26007
if test "x$use_gallium" = xyes; then :
26009
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GALLIUM_SURFACE'
26016
cr_make_tmp=' @echo "#define CAIRO_HAS_GALLIUM_SURFACE 1" >> src/cairo-features.h'
26017
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26018
"'ifeq ($(CAIRO_HAS_GALLIUM_SURFACE),1)'
26019
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26021
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26025
if test "x$use_gallium" = xyes; then :
26027
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
26029
"'--- The Gallium3D surface backend feature is still under active development
26030
--- and is included in this release only as a preview. It does NOT fully work
26031
--- yet and incompatible changes may yet be made to Gallium3D surface backend
26042
# Check whether --enable-xcb-drm was given.
26043
if test "${enable_xcb_drm+set}" = set; then :
26044
enableval=$enable_xcb_drm; enable_xcb_drm=$enableval
26049
case $enable_xcb_drm in #(
26051
use_xcb_drm="no (disabled, use --enable-xcb-drm to enable)"
26054
if test "x$cairo_cv_xcb_drm_cache_version" != "x6" -o \
26055
"x$cairo_cv_xcb_drm_cache_commands_len" != "x329" -o \
26056
"x$cairo_cv_xcb_drm_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
26057
unset cairo_cv_xcb_drm_use
26059
if test "x$enable_xcb_drm" = xyes -a "x$cairo_cv_xcb_drm_use" != xyes; then :
26060
unset cairo_cv_xcb_drm_use
26063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's XCB/DRM functions feature" >&5
26064
$as_echo_n "checking for cairo's XCB/DRM functions feature... " >&6; }
26065
if test "${cairo_cv_xcb_drm_use+set}" = set; then :
26066
$as_echo_n "(cached) " >&6
26070
xcb_drm_BASE="cairo"
26071
xcb_drm_REQUIRES="$ac_env_xcb_drm_REQUIRES_value"
26072
xcb_drm_CFLAGS="$ac_env_xcb_drm_CFLAGS_value"
26073
xcb_drm_NONPKGCONFIG_CFLAGS="$ac_env_xcb_drm_NONPKGCONFIG_CFLAGS_value"
26074
xcb_drm_LIBS="$ac_env_xcb_drm_LIBS_value"
26075
xcb_drm_NONPKGCONFIG_LIBS="$ac_env_xcb_drm_NONPKGCONFIG_LIBS_value"
26076
xcb_drm_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xcb_drm_NONPKGCONFIG_EXTRA_LIBS_value"
26079
if test "x$use_xcb" = "xyes" -a "x$use_drm" = "xyes"; then
26080
xcb_drm_REQUIRES="xcb-dri2"
26083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xcb_drm" >&5
26084
$as_echo_n "checking for xcb_drm... " >&6; }
26086
if test -n "$xcb_drm_CFLAGS"; then
26087
pkg_cv_xcb_drm_CFLAGS="$xcb_drm_CFLAGS"
26088
elif test -n "$PKG_CONFIG"; then
26089
if test -n "$PKG_CONFIG" && \
26090
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_drm_REQUIRES\""; } >&5
26091
($PKG_CONFIG --exists --print-errors "$xcb_drm_REQUIRES") 2>&5
26093
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26094
test $ac_status = 0; }; then
26095
pkg_cv_xcb_drm_CFLAGS=`$PKG_CONFIG --cflags "$xcb_drm_REQUIRES" 2>/dev/null`
26102
if test -n "$xcb_drm_LIBS"; then
26103
pkg_cv_xcb_drm_LIBS="$xcb_drm_LIBS"
26104
elif test -n "$PKG_CONFIG"; then
26105
if test -n "$PKG_CONFIG" && \
26106
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$xcb_drm_REQUIRES\""; } >&5
26107
($PKG_CONFIG --exists --print-errors "$xcb_drm_REQUIRES") 2>&5
26109
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26110
test $ac_status = 0; }; then
26111
pkg_cv_xcb_drm_LIBS=`$PKG_CONFIG --libs "$xcb_drm_REQUIRES" 2>/dev/null`
26121
if test $pkg_failed = yes; then
26123
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26124
_pkg_short_errors_supported=yes
26126
_pkg_short_errors_supported=no
26128
if test $_pkg_short_errors_supported = yes; then
26129
xcb_drm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$xcb_drm_REQUIRES" 2>&1`
26131
xcb_drm_PKG_ERRORS=`$PKG_CONFIG --print-errors "$xcb_drm_REQUIRES" 2>&1`
26133
# Put the nasty error message in config.log where it belongs
26134
echo "$xcb_drm_PKG_ERRORS" >&5
26136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26137
$as_echo "no" >&6; }
26138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26139
$as_echo "no" >&6; }
26140
use_xcb_drm="no (requires $xcb_drm_REQUIRES http://xcb.freedesktop.org)"
26141
elif test $pkg_failed = untried; then
26142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26143
$as_echo "no" >&6; }
26144
use_xcb_drm="no (requires $xcb_drm_REQUIRES http://xcb.freedesktop.org)"
26146
xcb_drm_CFLAGS=$pkg_cv_xcb_drm_CFLAGS
26147
xcb_drm_LIBS=$pkg_cv_xcb_drm_LIBS
26148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26149
$as_echo "yes" >&6; }
26153
use_xcb_drm="no (requires both --enable-xcb and --enable-drm)"
26156
cairo_cv_xcb_drm_use=$use_xcb_drm
26157
cairo_cv_xcb_drm_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
26158
cairo_cv_xcb_drm_cache_commands_len="329"
26159
cairo_cv_xcb_drm_cache_version="6"
26160
cairo_cv_xcb_drm_BASE=$xcb_drm_BASE
26161
cairo_cv_xcb_drm_REQUIRES=$xcb_drm_REQUIRES
26162
cairo_cv_xcb_drm_CFLAGS=$xcb_drm_CFLAGS
26163
cairo_cv_xcb_drm_NONPKGCONFIG_CFLAGS=$xcb_drm_NONPKGCONFIG_CFLAGS
26164
cairo_cv_xcb_drm_LIBS=$xcb_drm_LIBS
26165
cairo_cv_xcb_drm_NONPKGCONFIG_LIBS=$xcb_drm_NONPKGCONFIG_LIBS
26166
cairo_cv_xcb_drm_NONPKGCONFIG_EXTRA_LIBS=$xcb_drm_NONPKGCONFIG_EXTRA_LIBS
26168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's XCB/DRM functions feature could be enabled" >&5
26169
$as_echo_n "checking whether cairo's XCB/DRM functions feature could be enabled... " >&6; }
26172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_xcb_drm_use" >&5
26173
$as_echo "$cairo_cv_xcb_drm_use" >&6; }
26174
use_xcb_drm=$cairo_cv_xcb_drm_use
26176
if test "x$enable_xcb_drm" = "xyes" -a "x$use_xcb_drm" != xyes; then :
26177
as_fn_error $? " XCB/DRM functions feature could not be enabled" "$LINENO" 5
26181
as_fn_error $? "invalid argument passed to --enable-xcb-drm: \`$use_xcb_drm', should be one of [no/auto/yes]" "$LINENO" 5
26184
if test "x$use_xcb_drm" = "xyes"; then :
26185
xcb_drm_BASE=$cairo_cv_xcb_drm_BASE
26186
xcb_drm_REQUIRES=$cairo_cv_xcb_drm_REQUIRES
26187
xcb_drm_CFLAGS=$cairo_cv_xcb_drm_CFLAGS
26188
xcb_drm_NONPKGCONFIG_CFLAGS=$cairo_cv_xcb_drm_NONPKGCONFIG_CFLAGS
26189
xcb_drm_LIBS=$cairo_cv_xcb_drm_LIBS
26190
xcb_drm_NONPKGCONFIG_LIBS=$cairo_cv_xcb_drm_NONPKGCONFIG_LIBS
26191
xcb_drm_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xcb_drm_NONPKGCONFIG_EXTRA_LIBS
26193
CAIRO_REQUIRES="$xcb_drm_REQUIRES"" ${CAIRO_REQUIRES}"
26195
CAIRO_CFLAGS="$xcb_drm_CFLAGS"" ${CAIRO_CFLAGS}"
26197
CAIRO_NONPKGCONFIG_CFLAGS="$xcb_drm_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
26199
CAIRO_LIBS="$xcb_drm_LIBS"" ${CAIRO_LIBS}"
26201
CAIRO_NONPKGCONFIG_LIBS="$xcb_drm_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
26205
xcb_drm_BASE=$cairo_cv_xcb_drm_BASE
26206
xcb_drm_REQUIRES=$cairo_cv_xcb_drm_REQUIRES
26207
xcb_drm_CFLAGS=$cairo_cv_xcb_drm_CFLAGS
26208
xcb_drm_NONPKGCONFIG_CFLAGS=$cairo_cv_xcb_drm_NONPKGCONFIG_CFLAGS
26209
xcb_drm_LIBS=$cairo_cv_xcb_drm_LIBS
26210
xcb_drm_NONPKGCONFIG_LIBS=$cairo_cv_xcb_drm_NONPKGCONFIG_LIBS
26211
xcb_drm_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xcb_drm_NONPKGCONFIG_EXTRA_LIBS
26216
if test "x$use_xcb_drm" = xyes; then
26217
CAIRO_HAS_XCB_DRM_FUNCTIONS_TRUE=
26218
CAIRO_HAS_XCB_DRM_FUNCTIONS_FALSE='#'
26220
CAIRO_HAS_XCB_DRM_FUNCTIONS_TRUE='#'
26221
CAIRO_HAS_XCB_DRM_FUNCTIONS_FALSE=
26225
cr_make_tmp='CAIRO_HAS_XCB_DRM_FUNCTIONS=0'
26226
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
26231
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26234
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26237
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26240
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26245
cr_make_tmp='unsupported_cairo_headers += $(cairo_xcb_drm_headers)'
26246
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26249
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26251
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_drm_headers)'
26252
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26255
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26259
cr_make_tmp='all_cairo_headers += $(cairo_xcb_drm_headers)
26260
all_cairo_private += $(cairo_xcb_drm_private)
26261
all_cairo_cxx_sources += $(cairo_xcb_drm_cxx_sources)
26262
all_cairo_sources += $(cairo_xcb_drm_sources)'
26263
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26266
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26268
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_drm_headers)
26269
all_cairo_boilerplate_private += $(cairo_boilerplate_xcb_drm_private)
26270
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_drm_cxx_sources)
26271
all_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_drm_sources)'
26272
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26275
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26279
cr_make_tmp='enabled_cairo_headers += $(cairo_xcb_drm_headers)
26280
enabled_cairo_private += $(cairo_xcb_drm_private)
26281
enabled_cairo_cxx_sources += $(cairo_xcb_drm_cxx_sources)
26282
enabled_cairo_sources += $(cairo_xcb_drm_sources)'
26283
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26284
"'if CAIRO_HAS_XCB_DRM_FUNCTIONS'
26285
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26287
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26290
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26291
"'ifeq ($(CAIRO_HAS_XCB_DRM_FUNCTIONS),1)'
26292
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26294
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26296
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_drm_headers)
26297
enabled_cairo_boilerplate_private += $(cairo_boilerplate_xcb_drm_private)
26298
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xcb_drm_cxx_sources)
26299
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_drm_sources)'
26300
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26301
"'if CAIRO_HAS_XCB_DRM_FUNCTIONS'
26302
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26304
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26307
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26308
"'ifeq ($(CAIRO_HAS_XCB_DRM_FUNCTIONS),1)'
26309
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26311
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26317
if test "x$use_xcb_drm" = xyes; then :
26319
ac_config_files="$ac_config_files src/cairo-xcb-drm.pc:src/cairo-features.pc.in"
26323
if test "x$use_xcb_drm" = xyes; then :
26325
ac_config_files="$ac_config_files cairo-xcb-drm-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
26329
cr_make_tmp='all_cairo_pkgconf += cairo-xcb-drm.pc'
26330
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26333
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26337
cr_make_tmp='enabled_cairo_pkgconf += cairo-xcb-drm.pc'
26338
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26339
"'if CAIRO_HAS_XCB_DRM_FUNCTIONS'
26340
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26342
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26345
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26346
"'ifeq ($(CAIRO_HAS_XCB_DRM_FUNCTIONS),1)'
26347
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26349
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26353
if test "x$use_xcb_drm" = xyes; then :
26355
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XCB_DRM_FUNCTIONS'
26362
cr_make_tmp=' @echo "#define CAIRO_HAS_XCB_DRM_FUNCTIONS 1" >> src/cairo-features.h'
26363
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26364
"'ifeq ($(CAIRO_HAS_XCB_DRM_FUNCTIONS),1)'
26365
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26367
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26371
if test "x$use_xcb_drm" = xyes; then :
26373
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
26375
"'--- The XCB/DRM functions feature is still under active development and is
26376
--- included in this release only as a preview. It does NOT fully work yet
26377
--- and incompatible changes may yet be made to XCB/DRM functions specific
26389
# Check whether --enable-png was given.
26390
if test "${enable_png+set}" = set; then :
26391
enableval=$enable_png; enable_png=$enableval
26396
case $enable_png in #(
26398
use_png="no (disabled, use --enable-png to enable)"
26401
if test "x$cairo_cv_png_cache_version" != "x6" -o \
26402
"x$cairo_cv_png_cache_commands_len" != "x577" -o \
26403
"x$cairo_cv_png_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
26404
unset cairo_cv_png_use
26406
if test "x$enable_png" = xyes -a "x$cairo_cv_png_use" != xyes; then :
26407
unset cairo_cv_png_use
26410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's PNG functions feature" >&5
26411
$as_echo_n "checking for cairo's PNG functions feature... " >&6; }
26412
if test "${cairo_cv_png_use+set}" = set; then :
26413
$as_echo_n "(cached) " >&6
26418
png_REQUIRES="$ac_env_png_REQUIRES_value"
26419
png_CFLAGS="$ac_env_png_CFLAGS_value"
26420
png_NONPKGCONFIG_CFLAGS="$ac_env_png_NONPKGCONFIG_CFLAGS_value"
26421
png_LIBS="$ac_env_png_LIBS_value"
26422
png_NONPKGCONFIG_LIBS="$ac_env_png_NONPKGCONFIG_LIBS_value"
26423
png_NONPKGCONFIG_EXTRA_LIBS="$ac_env_png_NONPKGCONFIG_EXTRA_LIBS_value"
26428
if test "x$png_REQUIRES" = x; then
26429
# libpng13 is GnuWin32's libpng-1.2.8 :-(
26430
for l in libpng libpng14 libpng12 libpng13 libpng10; do
26431
if $PKG_CONFIG --exists $l ; then
26441
if test "x$use_png" = "xyes" ; then
26444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for png" >&5
26445
$as_echo_n "checking for png... " >&6; }
26447
if test -n "$png_CFLAGS"; then
26448
pkg_cv_png_CFLAGS="$png_CFLAGS"
26449
elif test -n "$PKG_CONFIG"; then
26450
if test -n "$PKG_CONFIG" && \
26451
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$png_REQUIRES\""; } >&5
26452
($PKG_CONFIG --exists --print-errors "$png_REQUIRES") 2>&5
26454
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26455
test $ac_status = 0; }; then
26456
pkg_cv_png_CFLAGS=`$PKG_CONFIG --cflags "$png_REQUIRES" 2>/dev/null`
26463
if test -n "$png_LIBS"; then
26464
pkg_cv_png_LIBS="$png_LIBS"
26465
elif test -n "$PKG_CONFIG"; then
26466
if test -n "$PKG_CONFIG" && \
26467
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$png_REQUIRES\""; } >&5
26468
($PKG_CONFIG --exists --print-errors "$png_REQUIRES") 2>&5
26470
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26471
test $ac_status = 0; }; then
26472
pkg_cv_png_LIBS=`$PKG_CONFIG --libs "$png_REQUIRES" 2>/dev/null`
26482
if test $pkg_failed = yes; then
26484
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26485
_pkg_short_errors_supported=yes
26487
_pkg_short_errors_supported=no
26489
if test $_pkg_short_errors_supported = yes; then
26490
png_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$png_REQUIRES" 2>&1`
26492
png_PKG_ERRORS=`$PKG_CONFIG --print-errors "$png_REQUIRES" 2>&1`
26494
# Put the nasty error message in config.log where it belongs
26495
echo "$png_PKG_ERRORS" >&5
26497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26498
$as_echo "no" >&6; }
26499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26500
$as_echo "no" >&6; }
26501
elif test $pkg_failed = untried; then
26502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26503
$as_echo "no" >&6; }
26505
png_CFLAGS=$pkg_cv_png_CFLAGS
26506
png_LIBS=$pkg_cv_png_LIBS
26507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26508
$as_echo "yes" >&6; }
26512
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find libpng in the pkg-config search path" >&5
26513
$as_echo "$as_me: WARNING: Could not find libpng in the pkg-config search path" >&2;}
26516
cairo_cv_png_use=$use_png
26517
cairo_cv_png_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
26518
cairo_cv_png_cache_commands_len="577"
26519
cairo_cv_png_cache_version="6"
26520
cairo_cv_png_BASE=$png_BASE
26521
cairo_cv_png_REQUIRES=$png_REQUIRES
26522
cairo_cv_png_CFLAGS=$png_CFLAGS
26523
cairo_cv_png_NONPKGCONFIG_CFLAGS=$png_NONPKGCONFIG_CFLAGS
26524
cairo_cv_png_LIBS=$png_LIBS
26525
cairo_cv_png_NONPKGCONFIG_LIBS=$png_NONPKGCONFIG_LIBS
26526
cairo_cv_png_NONPKGCONFIG_EXTRA_LIBS=$png_NONPKGCONFIG_EXTRA_LIBS
26528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's PNG functions feature could be enabled" >&5
26529
$as_echo_n "checking whether cairo's PNG functions feature could be enabled... " >&6; }
26532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_png_use" >&5
26533
$as_echo "$cairo_cv_png_use" >&6; }
26534
use_png=$cairo_cv_png_use
26536
if test "x$enable_png" = "xyes" -a "x$use_png" != xyes; then :
26537
as_fn_error $? "recommended PNG functions feature could not be enabled" "$LINENO" 5
26541
as_fn_error $? "invalid argument passed to --enable-png: \`$use_png', should be one of [no/auto/yes]" "$LINENO" 5
26544
if test "x$use_png" = "xyes"; then :
26545
png_BASE=$cairo_cv_png_BASE
26546
png_REQUIRES=$cairo_cv_png_REQUIRES
26547
png_CFLAGS=$cairo_cv_png_CFLAGS
26548
png_NONPKGCONFIG_CFLAGS=$cairo_cv_png_NONPKGCONFIG_CFLAGS
26549
png_LIBS=$cairo_cv_png_LIBS
26550
png_NONPKGCONFIG_LIBS=$cairo_cv_png_NONPKGCONFIG_LIBS
26551
png_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_png_NONPKGCONFIG_EXTRA_LIBS
26553
CAIRO_REQUIRES="$png_REQUIRES"" ${CAIRO_REQUIRES}"
26555
CAIRO_CFLAGS="$png_CFLAGS"" ${CAIRO_CFLAGS}"
26557
CAIRO_NONPKGCONFIG_CFLAGS="$png_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
26559
CAIRO_LIBS="$png_LIBS"" ${CAIRO_LIBS}"
26561
CAIRO_NONPKGCONFIG_LIBS="$png_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
26565
png_BASE=$cairo_cv_png_BASE
26566
png_REQUIRES=$cairo_cv_png_REQUIRES
26567
png_CFLAGS=$cairo_cv_png_CFLAGS
26568
png_NONPKGCONFIG_CFLAGS=$cairo_cv_png_NONPKGCONFIG_CFLAGS
26569
png_LIBS=$cairo_cv_png_LIBS
26570
png_NONPKGCONFIG_LIBS=$cairo_cv_png_NONPKGCONFIG_LIBS
26571
png_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_png_NONPKGCONFIG_EXTRA_LIBS
26576
if test "x$use_png" = xyes; then
26577
CAIRO_HAS_PNG_FUNCTIONS_TRUE=
26578
CAIRO_HAS_PNG_FUNCTIONS_FALSE='#'
26580
CAIRO_HAS_PNG_FUNCTIONS_TRUE='#'
26581
CAIRO_HAS_PNG_FUNCTIONS_FALSE=
26585
cr_make_tmp='CAIRO_HAS_PNG_FUNCTIONS=1'
26586
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
26591
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26594
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26597
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26600
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26604
cr_make_tmp='supported_cairo_headers += $(cairo_png_headers)'
26605
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26608
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26610
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_png_headers)'
26611
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26614
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26619
cr_make_tmp='all_cairo_headers += $(cairo_png_headers)
26620
all_cairo_private += $(cairo_png_private)
26621
all_cairo_cxx_sources += $(cairo_png_cxx_sources)
26622
all_cairo_sources += $(cairo_png_sources)'
26623
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26626
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26628
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_png_headers)
26629
all_cairo_boilerplate_private += $(cairo_boilerplate_png_private)
26630
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_png_cxx_sources)
26631
all_cairo_boilerplate_sources += $(cairo_boilerplate_png_sources)'
26632
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26635
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26639
cr_make_tmp='enabled_cairo_headers += $(cairo_png_headers)
26640
enabled_cairo_private += $(cairo_png_private)
26641
enabled_cairo_cxx_sources += $(cairo_png_cxx_sources)
26642
enabled_cairo_sources += $(cairo_png_sources)'
26643
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26644
"'if CAIRO_HAS_PNG_FUNCTIONS'
26645
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26647
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26650
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26651
"'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
26652
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26654
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26656
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_png_headers)
26657
enabled_cairo_boilerplate_private += $(cairo_boilerplate_png_private)
26658
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_png_cxx_sources)
26659
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_png_sources)'
26660
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26661
"'if CAIRO_HAS_PNG_FUNCTIONS'
26662
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26664
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
26667
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26668
"'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
26669
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26671
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
26677
if test "x$use_png" = xyes; then :
26679
ac_config_files="$ac_config_files src/cairo-png.pc:src/cairo-features.pc.in"
26683
if test "x$use_png" = xyes; then :
26685
ac_config_files="$ac_config_files cairo-png-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
26689
cr_make_tmp='all_cairo_pkgconf += cairo-png.pc'
26690
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26693
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26697
cr_make_tmp='enabled_cairo_pkgconf += cairo-png.pc'
26698
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26699
"'if CAIRO_HAS_PNG_FUNCTIONS'
26700
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26702
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
26705
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26706
"'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
26707
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26709
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
26713
if test "x$use_png" = xyes; then :
26715
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_PNG_FUNCTIONS'
26719
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_PNG_FUNCTIONS'
26723
if test "x$use_png" != xyes; then :
26725
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_PNG_FUNCTIONS'
26731
cr_make_tmp=' @echo "#define CAIRO_HAS_PNG_FUNCTIONS 1" >> src/cairo-features.h'
26732
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26733
"'ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)'
26734
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26736
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
26741
if test "x$use_png" != xyes; then :
26743
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
26745
"'+++ It is strongly recommended that you do NOT disable the PNG functions
26755
use_glew="no (not required by any backend)"
26756
# Check whether --enable-gl was given.
26757
if test "${enable_gl+set}" = set; then :
26758
enableval=$enable_gl; enable_gl=$enableval
26763
case $enable_gl in #(
26765
use_gl="no (disabled, use --enable-gl to enable)"
26768
if test "x$cairo_cv_gl_cache_version" != "x6" -o \
26769
"x$cairo_cv_gl_cache_commands_len" != "x954" -o \
26770
"x$cairo_cv_gl_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
26771
unset cairo_cv_gl_use
26773
if test "x$enable_gl" = xyes -a "x$cairo_cv_gl_use" != xyes; then :
26774
unset cairo_cv_gl_use
26777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's OpenGL surface backend feature" >&5
26778
$as_echo_n "checking for cairo's OpenGL surface backend feature... " >&6; }
26779
if test "${cairo_cv_gl_use+set}" = set; then :
26780
$as_echo_n "(cached) " >&6
26785
gl_REQUIRES="$ac_env_gl_REQUIRES_value"
26786
gl_CFLAGS="$ac_env_gl_CFLAGS_value"
26787
gl_NONPKGCONFIG_CFLAGS="$ac_env_gl_NONPKGCONFIG_CFLAGS_value"
26788
gl_LIBS="$ac_env_gl_LIBS_value"
26789
gl_NONPKGCONFIG_LIBS="$ac_env_gl_NONPKGCONFIG_LIBS_value"
26790
gl_NONPKGCONFIG_EXTRA_LIBS="$ac_env_gl_NONPKGCONFIG_EXTRA_LIBS_value"
26796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gl" >&5
26797
$as_echo_n "checking for gl... " >&6; }
26799
if test -n "$gl_CFLAGS"; then
26800
pkg_cv_gl_CFLAGS="$gl_CFLAGS"
26801
elif test -n "$PKG_CONFIG"; then
26802
if test -n "$PKG_CONFIG" && \
26803
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gl_REQUIRES\""; } >&5
26804
($PKG_CONFIG --exists --print-errors "$gl_REQUIRES") 2>&5
26806
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26807
test $ac_status = 0; }; then
26808
pkg_cv_gl_CFLAGS=`$PKG_CONFIG --cflags "$gl_REQUIRES" 2>/dev/null`
26815
if test -n "$gl_LIBS"; then
26816
pkg_cv_gl_LIBS="$gl_LIBS"
26817
elif test -n "$PKG_CONFIG"; then
26818
if test -n "$PKG_CONFIG" && \
26819
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gl_REQUIRES\""; } >&5
26820
($PKG_CONFIG --exists --print-errors "$gl_REQUIRES") 2>&5
26822
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26823
test $ac_status = 0; }; then
26824
pkg_cv_gl_LIBS=`$PKG_CONFIG --libs "$gl_REQUIRES" 2>/dev/null`
26834
if test $pkg_failed = yes; then
26836
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26837
_pkg_short_errors_supported=yes
26839
_pkg_short_errors_supported=no
26841
if test $_pkg_short_errors_supported = yes; then
26842
gl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gl_REQUIRES" 2>&1`
26844
gl_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gl_REQUIRES" 2>&1`
26846
# Put the nasty error message in config.log where it belongs
26847
echo "$gl_PKG_ERRORS" >&5
26849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26850
$as_echo "no" >&6; }
26852
ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
26853
if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
26856
use_gl="no (gl.pc nor OpenGL headers not found)"
26860
if test "x$use_gl" = "xyes"; then
26861
gl_NONPKGCONFIG_CFLAGS=
26862
gl_NONPKGCONFIG_LIBS="-lGL"
26864
elif test $pkg_failed = untried; then
26866
ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
26867
if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
26870
use_gl="no (gl.pc nor OpenGL headers not found)"
26874
if test "x$use_gl" = "xyes"; then
26875
gl_NONPKGCONFIG_CFLAGS=
26876
gl_NONPKGCONFIG_LIBS="-lGL"
26879
gl_CFLAGS=$pkg_cv_gl_CFLAGS
26880
gl_LIBS=$pkg_cv_gl_LIBS
26881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26882
$as_echo "yes" >&6; }
26886
# Disable system GLEW on UNIX since it assumes X and crashes with EGL
26889
*-linux*|*-*bsd*|*-solaris*)
26892
ac_fn_c_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
26893
if test "x$ac_cv_header_GL_glew_h" = x""yes; then :
26894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glewInit in -lGLEW" >&5
26895
$as_echo_n "checking for glewInit in -lGLEW... " >&6; }
26896
if test "${ac_cv_lib_GLEW_glewInit+set}" = set; then :
26897
$as_echo_n "(cached) " >&6
26899
ac_check_lib_save_LIBS=$LIBS
26900
LIBS="-lGLEW $LIBS"
26901
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26902
/* end confdefs.h. */
26904
/* Override any GCC internal prototype to avoid an error.
26905
Use char because int might match the return type of a GCC
26906
builtin and then its argument prototype would still apply. */
26914
return glewInit ();
26919
if ac_fn_c_try_link "$LINENO"; then :
26920
ac_cv_lib_GLEW_glewInit=yes
26922
ac_cv_lib_GLEW_glewInit=no
26924
rm -f core conftest.err conftest.$ac_objext \
26925
conftest$ac_exeext conftest.$ac_ext
26926
LIBS=$ac_check_lib_save_LIBS
26928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLEW_glewInit" >&5
26929
$as_echo "$ac_cv_lib_GLEW_glewInit" >&6; }
26930
if test "x$ac_cv_lib_GLEW_glewInit" = x""yes; then :
26933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glewInit in -lglew32" >&5
26934
$as_echo_n "checking for glewInit in -lglew32... " >&6; }
26935
if test "${ac_cv_lib_glew32_glewInit+set}" = set; then :
26936
$as_echo_n "(cached) " >&6
26938
ac_check_lib_save_LIBS=$LIBS
26939
LIBS="-lglew32 $LIBS"
26940
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26941
/* end confdefs.h. */
26943
/* Override any GCC internal prototype to avoid an error.
26944
Use char because int might match the return type of a GCC
26945
builtin and then its argument prototype would still apply. */
26953
return glewInit ();
26958
if ac_fn_c_try_link "$LINENO"; then :
26959
ac_cv_lib_glew32_glewInit=yes
26961
ac_cv_lib_glew32_glewInit=no
26963
rm -f core conftest.err conftest.$ac_objext \
26964
conftest$ac_exeext conftest.$ac_ext
26965
LIBS=$ac_check_lib_save_LIBS
26967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glew32_glewInit" >&5
26968
$as_echo "$ac_cv_lib_glew32_glewInit" >&6; }
26969
if test "x$ac_cv_lib_glew32_glewInit" = x""yes; then :
26980
if test "x$have_glew" != "xno"; then :
26982
gl_NONPKGCONFIG_LIBS="-l$have_glew $gl_NONPKGCONFIG_LIBS"
26983
use_glew="yes (system library)"
26987
use_glew="yes (private copy)"
26988
CAIRO_CFLAGS="$CAIRO_CFLAGS -I\$(top_srcdir)/src/glew"
26991
need_glx_functions=yes
26992
need_wgl_functions=yes
26993
need_egl_functions=yes
26995
cairo_cv_gl_use=$use_gl
26996
cairo_cv_gl_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
26997
cairo_cv_gl_cache_commands_len="954"
26998
cairo_cv_gl_cache_version="6"
26999
cairo_cv_gl_BASE=$gl_BASE
27000
cairo_cv_gl_REQUIRES=$gl_REQUIRES
27001
cairo_cv_gl_CFLAGS=$gl_CFLAGS
27002
cairo_cv_gl_NONPKGCONFIG_CFLAGS=$gl_NONPKGCONFIG_CFLAGS
27003
cairo_cv_gl_LIBS=$gl_LIBS
27004
cairo_cv_gl_NONPKGCONFIG_LIBS=$gl_NONPKGCONFIG_LIBS
27005
cairo_cv_gl_NONPKGCONFIG_EXTRA_LIBS=$gl_NONPKGCONFIG_EXTRA_LIBS
27007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's OpenGL surface backend feature could be enabled" >&5
27008
$as_echo_n "checking whether cairo's OpenGL surface backend feature could be enabled... " >&6; }
27011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_gl_use" >&5
27012
$as_echo "$cairo_cv_gl_use" >&6; }
27013
use_gl=$cairo_cv_gl_use
27015
if test "x$enable_gl" = "xyes" -a "x$use_gl" != xyes; then :
27016
as_fn_error $? " OpenGL surface backend feature could not be enabled" "$LINENO" 5
27020
as_fn_error $? "invalid argument passed to --enable-gl: \`$use_gl', should be one of [no/auto/yes]" "$LINENO" 5
27023
if test "x$use_gl" = "xyes"; then :
27024
gl_BASE=$cairo_cv_gl_BASE
27025
gl_REQUIRES=$cairo_cv_gl_REQUIRES
27026
gl_CFLAGS=$cairo_cv_gl_CFLAGS
27027
gl_NONPKGCONFIG_CFLAGS=$cairo_cv_gl_NONPKGCONFIG_CFLAGS
27028
gl_LIBS=$cairo_cv_gl_LIBS
27029
gl_NONPKGCONFIG_LIBS=$cairo_cv_gl_NONPKGCONFIG_LIBS
27030
gl_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_gl_NONPKGCONFIG_EXTRA_LIBS
27032
CAIRO_REQUIRES="$gl_REQUIRES"" ${CAIRO_REQUIRES}"
27034
CAIRO_CFLAGS="$gl_CFLAGS"" ${CAIRO_CFLAGS}"
27036
CAIRO_NONPKGCONFIG_CFLAGS="$gl_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
27038
CAIRO_LIBS="$gl_LIBS"" ${CAIRO_LIBS}"
27040
CAIRO_NONPKGCONFIG_LIBS="$gl_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
27044
gl_BASE=$cairo_cv_gl_BASE
27045
gl_REQUIRES=$cairo_cv_gl_REQUIRES
27046
gl_CFLAGS=$cairo_cv_gl_CFLAGS
27047
gl_NONPKGCONFIG_CFLAGS=$cairo_cv_gl_NONPKGCONFIG_CFLAGS
27048
gl_LIBS=$cairo_cv_gl_LIBS
27049
gl_NONPKGCONFIG_LIBS=$cairo_cv_gl_NONPKGCONFIG_LIBS
27050
gl_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_gl_NONPKGCONFIG_EXTRA_LIBS
27055
if test "x$use_gl" = xyes; then
27056
CAIRO_HAS_GL_SURFACE_TRUE=
27057
CAIRO_HAS_GL_SURFACE_FALSE='#'
27059
CAIRO_HAS_GL_SURFACE_TRUE='#'
27060
CAIRO_HAS_GL_SURFACE_FALSE=
27064
cr_make_tmp='CAIRO_HAS_GL_SURFACE=0'
27065
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
27070
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27073
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27076
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27079
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27084
cr_make_tmp='unsupported_cairo_headers += $(cairo_gl_headers)'
27085
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27088
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27090
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_gl_headers)'
27091
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27094
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27098
cr_make_tmp='all_cairo_headers += $(cairo_gl_headers)
27099
all_cairo_private += $(cairo_gl_private)
27100
all_cairo_cxx_sources += $(cairo_gl_cxx_sources)
27101
all_cairo_sources += $(cairo_gl_sources)'
27102
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27105
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27107
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_gl_headers)
27108
all_cairo_boilerplate_private += $(cairo_boilerplate_gl_private)
27109
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gl_cxx_sources)
27110
all_cairo_boilerplate_sources += $(cairo_boilerplate_gl_sources)'
27111
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27114
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27118
cr_make_tmp='enabled_cairo_headers += $(cairo_gl_headers)
27119
enabled_cairo_private += $(cairo_gl_private)
27120
enabled_cairo_cxx_sources += $(cairo_gl_cxx_sources)
27121
enabled_cairo_sources += $(cairo_gl_sources)'
27122
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27123
"'if CAIRO_HAS_GL_SURFACE'
27124
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27126
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27129
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27130
"'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
27131
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27133
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27135
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_gl_headers)
27136
enabled_cairo_boilerplate_private += $(cairo_boilerplate_gl_private)
27137
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gl_cxx_sources)
27138
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_gl_sources)'
27139
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27140
"'if CAIRO_HAS_GL_SURFACE'
27141
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27143
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27146
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27147
"'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
27148
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27150
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27156
if test "x$use_gl" = xyes; then :
27158
ac_config_files="$ac_config_files src/cairo-gl.pc:src/cairo-features.pc.in"
27162
if test "x$use_gl" = xyes; then :
27164
ac_config_files="$ac_config_files cairo-gl-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
27168
cr_make_tmp='all_cairo_pkgconf += cairo-gl.pc'
27169
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27172
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27176
cr_make_tmp='enabled_cairo_pkgconf += cairo-gl.pc'
27177
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27178
"'if CAIRO_HAS_GL_SURFACE'
27179
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27181
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27184
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27185
"'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
27186
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27188
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27192
if test "x$use_gl" = xyes; then :
27194
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GL_SURFACE'
27201
cr_make_tmp=' @echo "#define CAIRO_HAS_GL_SURFACE 1" >> src/cairo-features.h'
27202
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27203
"'ifeq ($(CAIRO_HAS_GL_SURFACE),1)'
27204
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27206
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27210
if test "x$use_gl" = xyes; then :
27212
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
27214
"'--- The OpenGL surface backend feature is still under active development and
27215
--- is included in this release only as a preview. It does NOT fully work yet
27216
--- and incompatible changes may yet be made to OpenGL surface backend
27226
if test "x$use_glew" = "xyes (private copy)"; then
27227
BUILD_PRIVATE_GLEW_TRUE=
27228
BUILD_PRIVATE_GLEW_FALSE='#'
27230
BUILD_PRIVATE_GLEW_TRUE='#'
27231
BUILD_PRIVATE_GLEW_FALSE=
27236
# Check whether --enable-directfb was given.
27237
if test "${enable_directfb+set}" = set; then :
27238
enableval=$enable_directfb; enable_directfb=$enableval
27243
case $enable_directfb in #(
27245
use_directfb="no (disabled, use --enable-directfb to enable)"
27248
if test "x$cairo_cv_directfb_cache_version" != "x6" -o \
27249
"x$cairo_cv_directfb_cache_commands_len" != "x181" -o \
27250
"x$cairo_cv_directfb_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
27251
unset cairo_cv_directfb_use
27253
if test "x$enable_directfb" = xyes -a "x$cairo_cv_directfb_use" != xyes; then :
27254
unset cairo_cv_directfb_use
27257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's directfb surface backend feature" >&5
27258
$as_echo_n "checking for cairo's directfb surface backend feature... " >&6; }
27259
if test "${cairo_cv_directfb_use+set}" = set; then :
27260
$as_echo_n "(cached) " >&6
27264
directfb_BASE="cairo"
27265
directfb_REQUIRES="$ac_env_directfb_REQUIRES_value"
27266
directfb_CFLAGS="$ac_env_directfb_CFLAGS_value"
27267
directfb_NONPKGCONFIG_CFLAGS="$ac_env_directfb_NONPKGCONFIG_CFLAGS_value"
27268
directfb_LIBS="$ac_env_directfb_LIBS_value"
27269
directfb_NONPKGCONFIG_LIBS="$ac_env_directfb_NONPKGCONFIG_LIBS_value"
27270
directfb_NONPKGCONFIG_EXTRA_LIBS="$ac_env_directfb_NONPKGCONFIG_EXTRA_LIBS_value"
27273
directfb_REQUIRES=directfb
27276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directfb" >&5
27277
$as_echo_n "checking for directfb... " >&6; }
27279
if test -n "$directfb_CFLAGS"; then
27280
pkg_cv_directfb_CFLAGS="$directfb_CFLAGS"
27281
elif test -n "$PKG_CONFIG"; then
27282
if test -n "$PKG_CONFIG" && \
27283
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$directfb_REQUIRES\""; } >&5
27284
($PKG_CONFIG --exists --print-errors "$directfb_REQUIRES") 2>&5
27286
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27287
test $ac_status = 0; }; then
27288
pkg_cv_directfb_CFLAGS=`$PKG_CONFIG --cflags "$directfb_REQUIRES" 2>/dev/null`
27295
if test -n "$directfb_LIBS"; then
27296
pkg_cv_directfb_LIBS="$directfb_LIBS"
27297
elif test -n "$PKG_CONFIG"; then
27298
if test -n "$PKG_CONFIG" && \
27299
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$directfb_REQUIRES\""; } >&5
27300
($PKG_CONFIG --exists --print-errors "$directfb_REQUIRES") 2>&5
27302
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27303
test $ac_status = 0; }; then
27304
pkg_cv_directfb_LIBS=`$PKG_CONFIG --libs "$directfb_REQUIRES" 2>/dev/null`
27314
if test $pkg_failed = yes; then
27316
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27317
_pkg_short_errors_supported=yes
27319
_pkg_short_errors_supported=no
27321
if test $_pkg_short_errors_supported = yes; then
27322
directfb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$directfb_REQUIRES" 2>&1`
27324
directfb_PKG_ERRORS=`$PKG_CONFIG --print-errors "$directfb_REQUIRES" 2>&1`
27326
# Put the nasty error message in config.log where it belongs
27327
echo "$directfb_PKG_ERRORS" >&5
27329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27330
$as_echo "no" >&6; }
27331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27332
$as_echo "no" >&6; }
27333
use_directfb="no (requires $directfb_REQUIRES http://www.directfb.org)"
27334
elif test $pkg_failed = untried; then
27335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27336
$as_echo "no" >&6; }
27337
use_directfb="no (requires $directfb_REQUIRES http://www.directfb.org)"
27339
directfb_CFLAGS=$pkg_cv_directfb_CFLAGS
27340
directfb_LIBS=$pkg_cv_directfb_LIBS
27341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27342
$as_echo "yes" >&6; }
27346
cairo_cv_directfb_use=$use_directfb
27347
cairo_cv_directfb_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
27348
cairo_cv_directfb_cache_commands_len="181"
27349
cairo_cv_directfb_cache_version="6"
27350
cairo_cv_directfb_BASE=$directfb_BASE
27351
cairo_cv_directfb_REQUIRES=$directfb_REQUIRES
27352
cairo_cv_directfb_CFLAGS=$directfb_CFLAGS
27353
cairo_cv_directfb_NONPKGCONFIG_CFLAGS=$directfb_NONPKGCONFIG_CFLAGS
27354
cairo_cv_directfb_LIBS=$directfb_LIBS
27355
cairo_cv_directfb_NONPKGCONFIG_LIBS=$directfb_NONPKGCONFIG_LIBS
27356
cairo_cv_directfb_NONPKGCONFIG_EXTRA_LIBS=$directfb_NONPKGCONFIG_EXTRA_LIBS
27358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's directfb surface backend feature could be enabled" >&5
27359
$as_echo_n "checking whether cairo's directfb surface backend feature could be enabled... " >&6; }
27362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_directfb_use" >&5
27363
$as_echo "$cairo_cv_directfb_use" >&6; }
27364
use_directfb=$cairo_cv_directfb_use
27366
if test "x$enable_directfb" = "xyes" -a "x$use_directfb" != xyes; then :
27367
as_fn_error $? " directfb surface backend feature could not be enabled" "$LINENO" 5
27371
as_fn_error $? "invalid argument passed to --enable-directfb: \`$use_directfb', should be one of [no/auto/yes]" "$LINENO" 5
27374
if test "x$use_directfb" = "xyes"; then :
27375
directfb_BASE=$cairo_cv_directfb_BASE
27376
directfb_REQUIRES=$cairo_cv_directfb_REQUIRES
27377
directfb_CFLAGS=$cairo_cv_directfb_CFLAGS
27378
directfb_NONPKGCONFIG_CFLAGS=$cairo_cv_directfb_NONPKGCONFIG_CFLAGS
27379
directfb_LIBS=$cairo_cv_directfb_LIBS
27380
directfb_NONPKGCONFIG_LIBS=$cairo_cv_directfb_NONPKGCONFIG_LIBS
27381
directfb_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_directfb_NONPKGCONFIG_EXTRA_LIBS
27383
CAIRO_REQUIRES="$directfb_REQUIRES"" ${CAIRO_REQUIRES}"
27385
CAIRO_CFLAGS="$directfb_CFLAGS"" ${CAIRO_CFLAGS}"
27387
CAIRO_NONPKGCONFIG_CFLAGS="$directfb_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
27389
CAIRO_LIBS="$directfb_LIBS"" ${CAIRO_LIBS}"
27391
CAIRO_NONPKGCONFIG_LIBS="$directfb_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
27395
directfb_BASE=$cairo_cv_directfb_BASE
27396
directfb_REQUIRES=$cairo_cv_directfb_REQUIRES
27397
directfb_CFLAGS=$cairo_cv_directfb_CFLAGS
27398
directfb_NONPKGCONFIG_CFLAGS=$cairo_cv_directfb_NONPKGCONFIG_CFLAGS
27399
directfb_LIBS=$cairo_cv_directfb_LIBS
27400
directfb_NONPKGCONFIG_LIBS=$cairo_cv_directfb_NONPKGCONFIG_LIBS
27401
directfb_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_directfb_NONPKGCONFIG_EXTRA_LIBS
27406
if test "x$use_directfb" = xyes; then
27407
CAIRO_HAS_DIRECTFB_SURFACE_TRUE=
27408
CAIRO_HAS_DIRECTFB_SURFACE_FALSE='#'
27410
CAIRO_HAS_DIRECTFB_SURFACE_TRUE='#'
27411
CAIRO_HAS_DIRECTFB_SURFACE_FALSE=
27415
cr_make_tmp='CAIRO_HAS_DIRECTFB_SURFACE=0'
27416
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
27421
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27424
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27427
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27430
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27435
cr_make_tmp='unsupported_cairo_headers += $(cairo_directfb_headers)'
27436
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27439
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27441
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_directfb_headers)'
27442
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27445
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27449
cr_make_tmp='all_cairo_headers += $(cairo_directfb_headers)
27450
all_cairo_private += $(cairo_directfb_private)
27451
all_cairo_cxx_sources += $(cairo_directfb_cxx_sources)
27452
all_cairo_sources += $(cairo_directfb_sources)'
27453
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27456
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27458
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_directfb_headers)
27459
all_cairo_boilerplate_private += $(cairo_boilerplate_directfb_private)
27460
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_directfb_cxx_sources)
27461
all_cairo_boilerplate_sources += $(cairo_boilerplate_directfb_sources)'
27462
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27465
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27469
cr_make_tmp='enabled_cairo_headers += $(cairo_directfb_headers)
27470
enabled_cairo_private += $(cairo_directfb_private)
27471
enabled_cairo_cxx_sources += $(cairo_directfb_cxx_sources)
27472
enabled_cairo_sources += $(cairo_directfb_sources)'
27473
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27474
"'if CAIRO_HAS_DIRECTFB_SURFACE'
27475
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27477
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27480
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27481
"'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
27482
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27484
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27486
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_directfb_headers)
27487
enabled_cairo_boilerplate_private += $(cairo_boilerplate_directfb_private)
27488
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_directfb_cxx_sources)
27489
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_directfb_sources)'
27490
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27491
"'if CAIRO_HAS_DIRECTFB_SURFACE'
27492
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27494
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27497
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27498
"'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
27499
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27501
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27507
if test "x$use_directfb" = xyes; then :
27509
ac_config_files="$ac_config_files src/cairo-directfb.pc:src/cairo-features.pc.in"
27513
if test "x$use_directfb" = xyes; then :
27515
ac_config_files="$ac_config_files cairo-directfb-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
27519
cr_make_tmp='all_cairo_pkgconf += cairo-directfb.pc'
27520
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27523
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27527
cr_make_tmp='enabled_cairo_pkgconf += cairo-directfb.pc'
27528
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27529
"'if CAIRO_HAS_DIRECTFB_SURFACE'
27530
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27532
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27535
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27536
"'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
27537
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27539
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27543
if test "x$use_directfb" = xyes; then :
27545
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_DIRECTFB_SURFACE'
27552
cr_make_tmp=' @echo "#define CAIRO_HAS_DIRECTFB_SURFACE 1" >> src/cairo-features.h'
27553
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27554
"'ifeq ($(CAIRO_HAS_DIRECTFB_SURFACE),1)'
27555
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27557
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27561
if test "x$use_directfb" = xyes; then :
27563
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
27565
"'--- The directfb surface backend feature is still under active development
27566
--- and is included in this release only as a preview. It does NOT fully work
27567
--- yet and incompatible changes may yet be made to directfb surface backend
27579
# Check whether --enable-vg was given.
27580
if test "${enable_vg+set}" = set; then :
27581
enableval=$enable_vg; enable_vg=$enableval
27586
case $enable_vg in #(
27588
use_vg="no (disabled, use --enable-vg to enable)"
27591
if test "x$cairo_cv_vg_cache_version" != "x6" -o \
27592
"x$cairo_cv_vg_cache_commands_len" != "x305" -o \
27593
"x$cairo_cv_vg_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
27594
unset cairo_cv_vg_use
27596
if test "x$enable_vg" = xyes -a "x$cairo_cv_vg_use" != xyes; then :
27597
unset cairo_cv_vg_use
27600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's OpenVG surface backend feature" >&5
27601
$as_echo_n "checking for cairo's OpenVG surface backend feature... " >&6; }
27602
if test "${cairo_cv_vg_use+set}" = set; then :
27603
$as_echo_n "(cached) " >&6
27608
vg_REQUIRES="$ac_env_vg_REQUIRES_value"
27609
vg_CFLAGS="$ac_env_vg_CFLAGS_value"
27610
vg_NONPKGCONFIG_CFLAGS="$ac_env_vg_NONPKGCONFIG_CFLAGS_value"
27611
vg_LIBS="$ac_env_vg_LIBS_value"
27612
vg_NONPKGCONFIG_LIBS="$ac_env_vg_NONPKGCONFIG_LIBS_value"
27613
vg_NONPKGCONFIG_EXTRA_LIBS="$ac_env_vg_NONPKGCONFIG_EXTRA_LIBS_value"
27616
ac_fn_c_check_header_mongrel "$LINENO" "VG/openvg.h" "ac_cv_header_VG_openvg_h" "$ac_includes_default"
27617
if test "x$ac_cv_header_VG_openvg_h" = x""yes; then :
27620
use_vg="no (OpenVG headers not found)"
27624
if test "x$use_vg" = "xyes"; then
27625
vg_NONPKGCONFIG_CFLAGS=
27626
vg_NONPKGCONFIG_LIBS="-lOpenVG"
27627
need_egl_functions=yes
27628
need_glx_functions=yes
27631
cairo_cv_vg_use=$use_vg
27632
cairo_cv_vg_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
27633
cairo_cv_vg_cache_commands_len="305"
27634
cairo_cv_vg_cache_version="6"
27635
cairo_cv_vg_BASE=$vg_BASE
27636
cairo_cv_vg_REQUIRES=$vg_REQUIRES
27637
cairo_cv_vg_CFLAGS=$vg_CFLAGS
27638
cairo_cv_vg_NONPKGCONFIG_CFLAGS=$vg_NONPKGCONFIG_CFLAGS
27639
cairo_cv_vg_LIBS=$vg_LIBS
27640
cairo_cv_vg_NONPKGCONFIG_LIBS=$vg_NONPKGCONFIG_LIBS
27641
cairo_cv_vg_NONPKGCONFIG_EXTRA_LIBS=$vg_NONPKGCONFIG_EXTRA_LIBS
27643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's OpenVG surface backend feature could be enabled" >&5
27644
$as_echo_n "checking whether cairo's OpenVG surface backend feature could be enabled... " >&6; }
27647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_vg_use" >&5
27648
$as_echo "$cairo_cv_vg_use" >&6; }
27649
use_vg=$cairo_cv_vg_use
27651
if test "x$enable_vg" = "xyes" -a "x$use_vg" != xyes; then :
27652
as_fn_error $? " OpenVG surface backend feature could not be enabled" "$LINENO" 5
27656
as_fn_error $? "invalid argument passed to --enable-vg: \`$use_vg', should be one of [no/auto/yes]" "$LINENO" 5
27659
if test "x$use_vg" = "xyes"; then :
27660
vg_BASE=$cairo_cv_vg_BASE
27661
vg_REQUIRES=$cairo_cv_vg_REQUIRES
27662
vg_CFLAGS=$cairo_cv_vg_CFLAGS
27663
vg_NONPKGCONFIG_CFLAGS=$cairo_cv_vg_NONPKGCONFIG_CFLAGS
27664
vg_LIBS=$cairo_cv_vg_LIBS
27665
vg_NONPKGCONFIG_LIBS=$cairo_cv_vg_NONPKGCONFIG_LIBS
27666
vg_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_vg_NONPKGCONFIG_EXTRA_LIBS
27668
CAIRO_REQUIRES="$vg_REQUIRES"" ${CAIRO_REQUIRES}"
27670
CAIRO_CFLAGS="$vg_CFLAGS"" ${CAIRO_CFLAGS}"
27672
CAIRO_NONPKGCONFIG_CFLAGS="$vg_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
27674
CAIRO_LIBS="$vg_LIBS"" ${CAIRO_LIBS}"
27676
CAIRO_NONPKGCONFIG_LIBS="$vg_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
27680
vg_BASE=$cairo_cv_vg_BASE
27681
vg_REQUIRES=$cairo_cv_vg_REQUIRES
27682
vg_CFLAGS=$cairo_cv_vg_CFLAGS
27683
vg_NONPKGCONFIG_CFLAGS=$cairo_cv_vg_NONPKGCONFIG_CFLAGS
27684
vg_LIBS=$cairo_cv_vg_LIBS
27685
vg_NONPKGCONFIG_LIBS=$cairo_cv_vg_NONPKGCONFIG_LIBS
27686
vg_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_vg_NONPKGCONFIG_EXTRA_LIBS
27691
if test "x$use_vg" = xyes; then
27692
CAIRO_HAS_VG_SURFACE_TRUE=
27693
CAIRO_HAS_VG_SURFACE_FALSE='#'
27695
CAIRO_HAS_VG_SURFACE_TRUE='#'
27696
CAIRO_HAS_VG_SURFACE_FALSE=
27700
cr_make_tmp='CAIRO_HAS_VG_SURFACE=0'
27701
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
27706
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27709
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27712
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27715
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27720
cr_make_tmp='unsupported_cairo_headers += $(cairo_vg_headers)'
27721
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27724
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27726
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_vg_headers)'
27727
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27730
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27734
cr_make_tmp='all_cairo_headers += $(cairo_vg_headers)
27735
all_cairo_private += $(cairo_vg_private)
27736
all_cairo_cxx_sources += $(cairo_vg_cxx_sources)
27737
all_cairo_sources += $(cairo_vg_sources)'
27738
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27741
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27743
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_vg_headers)
27744
all_cairo_boilerplate_private += $(cairo_boilerplate_vg_private)
27745
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_vg_cxx_sources)
27746
all_cairo_boilerplate_sources += $(cairo_boilerplate_vg_sources)'
27747
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27750
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27754
cr_make_tmp='enabled_cairo_headers += $(cairo_vg_headers)
27755
enabled_cairo_private += $(cairo_vg_private)
27756
enabled_cairo_cxx_sources += $(cairo_vg_cxx_sources)
27757
enabled_cairo_sources += $(cairo_vg_sources)'
27758
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27759
"'if CAIRO_HAS_VG_SURFACE'
27760
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27762
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27765
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27766
"'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
27767
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27769
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27771
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_vg_headers)
27772
enabled_cairo_boilerplate_private += $(cairo_boilerplate_vg_private)
27773
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_vg_cxx_sources)
27774
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_vg_sources)'
27775
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27776
"'if CAIRO_HAS_VG_SURFACE'
27777
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27779
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
27782
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27783
"'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
27784
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27786
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
27792
if test "x$use_vg" = xyes; then :
27794
ac_config_files="$ac_config_files src/cairo-vg.pc:src/cairo-features.pc.in"
27798
if test "x$use_vg" = xyes; then :
27800
ac_config_files="$ac_config_files cairo-vg-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
27804
cr_make_tmp='all_cairo_pkgconf += cairo-vg.pc'
27805
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27808
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27812
cr_make_tmp='enabled_cairo_pkgconf += cairo-vg.pc'
27813
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27814
"'if CAIRO_HAS_VG_SURFACE'
27815
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27817
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
27820
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27821
"'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
27822
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27824
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
27828
if test "x$use_vg" = xyes; then :
27830
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_VG_SURFACE'
27837
cr_make_tmp=' @echo "#define CAIRO_HAS_VG_SURFACE 1" >> src/cairo-features.h'
27838
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27839
"'ifeq ($(CAIRO_HAS_VG_SURFACE),1)'
27840
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27842
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
27846
if test "x$use_vg" = xyes; then :
27848
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
27850
"'--- The OpenVG surface backend feature is still under active development and
27851
--- is included in this release only as a preview. It does NOT fully work yet
27852
--- and incompatible changes may yet be made to OpenVG surface backend
27863
# Check whether --enable-egl was given.
27864
if test "${enable_egl+set}" = set; then :
27865
enableval=$enable_egl; enable_egl=$enableval
27870
case $enable_egl in #(
27872
use_egl="no (disabled, use --enable-egl to enable)"
27875
if test "x$cairo_cv_egl_cache_version" != "x6" -o \
27876
"x$cairo_cv_egl_cache_commands_len" != "x990" -o \
27877
"x$cairo_cv_egl_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
27878
unset cairo_cv_egl_use
27880
if test "x$enable_egl" = xyes -a "x$cairo_cv_egl_use" != xyes; then :
27881
unset cairo_cv_egl_use
27884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's EGL functions feature" >&5
27885
$as_echo_n "checking for cairo's EGL functions feature... " >&6; }
27886
if test "${cairo_cv_egl_use+set}" = set; then :
27887
$as_echo_n "(cached) " >&6
27892
egl_REQUIRES="$ac_env_egl_REQUIRES_value"
27893
egl_CFLAGS="$ac_env_egl_CFLAGS_value"
27894
egl_NONPKGCONFIG_CFLAGS="$ac_env_egl_NONPKGCONFIG_CFLAGS_value"
27895
egl_LIBS="$ac_env_egl_LIBS_value"
27896
egl_NONPKGCONFIG_LIBS="$ac_env_egl_NONPKGCONFIG_LIBS_value"
27897
egl_NONPKGCONFIG_EXTRA_LIBS="$ac_env_egl_NONPKGCONFIG_EXTRA_LIBS_value"
27900
if test "x$need_egl_functions" = "xyes"; then
27904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egl" >&5
27905
$as_echo_n "checking for egl... " >&6; }
27907
if test -n "$egl_CFLAGS"; then
27908
pkg_cv_egl_CFLAGS="$egl_CFLAGS"
27909
elif test -n "$PKG_CONFIG"; then
27910
if test -n "$PKG_CONFIG" && \
27911
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$egl_REQUIRES\""; } >&5
27912
($PKG_CONFIG --exists --print-errors "$egl_REQUIRES") 2>&5
27914
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27915
test $ac_status = 0; }; then
27916
pkg_cv_egl_CFLAGS=`$PKG_CONFIG --cflags "$egl_REQUIRES" 2>/dev/null`
27923
if test -n "$egl_LIBS"; then
27924
pkg_cv_egl_LIBS="$egl_LIBS"
27925
elif test -n "$PKG_CONFIG"; then
27926
if test -n "$PKG_CONFIG" && \
27927
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$egl_REQUIRES\""; } >&5
27928
($PKG_CONFIG --exists --print-errors "$egl_REQUIRES") 2>&5
27930
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27931
test $ac_status = 0; }; then
27932
pkg_cv_egl_LIBS=`$PKG_CONFIG --libs "$egl_REQUIRES" 2>/dev/null`
27942
if test $pkg_failed = yes; then
27944
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27945
_pkg_short_errors_supported=yes
27947
_pkg_short_errors_supported=no
27949
if test $_pkg_short_errors_supported = yes; then
27950
egl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$egl_REQUIRES" 2>&1`
27952
egl_PKG_ERRORS=`$PKG_CONFIG --print-errors "$egl_REQUIRES" 2>&1`
27954
# Put the nasty error message in config.log where it belongs
27955
echo "$egl_PKG_ERRORS" >&5
27957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27958
$as_echo "no" >&6; }
27960
ac_fn_c_check_header_mongrel "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
27961
if test "x$ac_cv_header_EGL_egl_h" = x""yes; then :
27964
use_egl="no (EGL headers not found)"
27968
if test "x$use_egl" = "xyes"; then
27969
egl_NONPKGCONFIG_CFLAGS=
27970
egl_NONPKGCONFIG_LIBS=
27973
# Temporary workaround for missing link from egl13
27974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for csi_stream_attachresource in -lcsi" >&5
27975
$as_echo_n "checking for csi_stream_attachresource in -lcsi... " >&6; }
27976
if test "${ac_cv_lib_csi_csi_stream_attachresource+set}" = set; then :
27977
$as_echo_n "(cached) " >&6
27979
ac_check_lib_save_LIBS=$LIBS
27981
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27982
/* end confdefs.h. */
27984
/* Override any GCC internal prototype to avoid an error.
27985
Use char because int might match the return type of a GCC
27986
builtin and then its argument prototype would still apply. */
27990
char csi_stream_attachresource ();
27994
return csi_stream_attachresource ();
27999
if ac_fn_c_try_link "$LINENO"; then :
28000
ac_cv_lib_csi_csi_stream_attachresource=yes
28002
ac_cv_lib_csi_csi_stream_attachresource=no
28004
rm -f core conftest.err conftest.$ac_objext \
28005
conftest$ac_exeext conftest.$ac_ext
28006
LIBS=$ac_check_lib_save_LIBS
28008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csi_csi_stream_attachresource" >&5
28009
$as_echo "$ac_cv_lib_csi_csi_stream_attachresource" >&6; }
28010
if test "x$ac_cv_lib_csi_csi_stream_attachresource" = x""yes; then :
28011
other_egl_LIBS="-lcsi"
28014
LIBS="$other_egl_LIBS $LIBS"
28015
for egl_lib in EGL egl13 egl12 egl11; do
28016
if test -z "$egl_NONPKGCONFIG_LIBS"; then
28017
as_ac_Lib=`$as_echo "ac_cv_lib_$egl_lib''_eglGetError" | $as_tr_sh`
28018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for eglGetError in -l$egl_lib" >&5
28019
$as_echo_n "checking for eglGetError in -l$egl_lib... " >&6; }
28020
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
28021
$as_echo_n "(cached) " >&6
28023
ac_check_lib_save_LIBS=$LIBS
28024
LIBS="-l$egl_lib $LIBS"
28025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28026
/* end confdefs.h. */
28028
/* Override any GCC internal prototype to avoid an error.
28029
Use char because int might match the return type of a GCC
28030
builtin and then its argument prototype would still apply. */
28034
char eglGetError ();
28038
return eglGetError ();
28043
if ac_fn_c_try_link "$LINENO"; then :
28044
eval "$as_ac_Lib=yes"
28046
eval "$as_ac_Lib=no"
28048
rm -f core conftest.err conftest.$ac_objext \
28049
conftest$ac_exeext conftest.$ac_ext
28050
LIBS=$ac_check_lib_save_LIBS
28052
eval ac_res=\$$as_ac_Lib
28053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
28054
$as_echo "$ac_res" >&6; }
28055
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
28056
egl_NONPKGCONFIG_LIBS="-l$egl_lib"
28061
if test -z "$egl_NONPKGCONFIG_LIBS"; then
28062
use_egl="no (EGL library not found)"
28064
egl_NONPKGCONFIG_LIBS="$egl_NONPKGCONFIG_LIBS $other_egl_LIBS"
28069
elif test $pkg_failed = untried; then
28071
ac_fn_c_check_header_mongrel "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
28072
if test "x$ac_cv_header_EGL_egl_h" = x""yes; then :
28075
use_egl="no (EGL headers not found)"
28079
if test "x$use_egl" = "xyes"; then
28080
egl_NONPKGCONFIG_CFLAGS=
28081
egl_NONPKGCONFIG_LIBS=
28084
# Temporary workaround for missing link from egl13
28085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for csi_stream_attachresource in -lcsi" >&5
28086
$as_echo_n "checking for csi_stream_attachresource in -lcsi... " >&6; }
28087
if test "${ac_cv_lib_csi_csi_stream_attachresource+set}" = set; then :
28088
$as_echo_n "(cached) " >&6
28090
ac_check_lib_save_LIBS=$LIBS
28092
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28093
/* end confdefs.h. */
28095
/* Override any GCC internal prototype to avoid an error.
28096
Use char because int might match the return type of a GCC
28097
builtin and then its argument prototype would still apply. */
28101
char csi_stream_attachresource ();
28105
return csi_stream_attachresource ();
28110
if ac_fn_c_try_link "$LINENO"; then :
28111
ac_cv_lib_csi_csi_stream_attachresource=yes
28113
ac_cv_lib_csi_csi_stream_attachresource=no
28115
rm -f core conftest.err conftest.$ac_objext \
28116
conftest$ac_exeext conftest.$ac_ext
28117
LIBS=$ac_check_lib_save_LIBS
28119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csi_csi_stream_attachresource" >&5
28120
$as_echo "$ac_cv_lib_csi_csi_stream_attachresource" >&6; }
28121
if test "x$ac_cv_lib_csi_csi_stream_attachresource" = x""yes; then :
28122
other_egl_LIBS="-lcsi"
28125
LIBS="$other_egl_LIBS $LIBS"
28126
for egl_lib in EGL egl13 egl12 egl11; do
28127
if test -z "$egl_NONPKGCONFIG_LIBS"; then
28128
as_ac_Lib=`$as_echo "ac_cv_lib_$egl_lib''_eglGetError" | $as_tr_sh`
28129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for eglGetError in -l$egl_lib" >&5
28130
$as_echo_n "checking for eglGetError in -l$egl_lib... " >&6; }
28131
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
28132
$as_echo_n "(cached) " >&6
28134
ac_check_lib_save_LIBS=$LIBS
28135
LIBS="-l$egl_lib $LIBS"
28136
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28137
/* end confdefs.h. */
28139
/* Override any GCC internal prototype to avoid an error.
28140
Use char because int might match the return type of a GCC
28141
builtin and then its argument prototype would still apply. */
28145
char eglGetError ();
28149
return eglGetError ();
28154
if ac_fn_c_try_link "$LINENO"; then :
28155
eval "$as_ac_Lib=yes"
28157
eval "$as_ac_Lib=no"
28159
rm -f core conftest.err conftest.$ac_objext \
28160
conftest$ac_exeext conftest.$ac_ext
28161
LIBS=$ac_check_lib_save_LIBS
28163
eval ac_res=\$$as_ac_Lib
28164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
28165
$as_echo "$ac_res" >&6; }
28166
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
28167
egl_NONPKGCONFIG_LIBS="-l$egl_lib"
28172
if test -z "$egl_NONPKGCONFIG_LIBS"; then
28173
use_egl="no (EGL library not found)"
28175
egl_NONPKGCONFIG_LIBS="$egl_NONPKGCONFIG_LIBS $other_egl_LIBS"
28181
egl_CFLAGS=$pkg_cv_egl_CFLAGS
28182
egl_LIBS=$pkg_cv_egl_LIBS
28183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28184
$as_echo "yes" >&6; }
28188
use_egl="no (not required by any backend)"
28191
cairo_cv_egl_use=$use_egl
28192
cairo_cv_egl_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
28193
cairo_cv_egl_cache_commands_len="990"
28194
cairo_cv_egl_cache_version="6"
28195
cairo_cv_egl_BASE=$egl_BASE
28196
cairo_cv_egl_REQUIRES=$egl_REQUIRES
28197
cairo_cv_egl_CFLAGS=$egl_CFLAGS
28198
cairo_cv_egl_NONPKGCONFIG_CFLAGS=$egl_NONPKGCONFIG_CFLAGS
28199
cairo_cv_egl_LIBS=$egl_LIBS
28200
cairo_cv_egl_NONPKGCONFIG_LIBS=$egl_NONPKGCONFIG_LIBS
28201
cairo_cv_egl_NONPKGCONFIG_EXTRA_LIBS=$egl_NONPKGCONFIG_EXTRA_LIBS
28203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's EGL functions feature could be enabled" >&5
28204
$as_echo_n "checking whether cairo's EGL functions feature could be enabled... " >&6; }
28207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_egl_use" >&5
28208
$as_echo "$cairo_cv_egl_use" >&6; }
28209
use_egl=$cairo_cv_egl_use
28211
if test "x$enable_egl" = "xyes" -a "x$use_egl" != xyes; then :
28212
as_fn_error $? " EGL functions feature could not be enabled" "$LINENO" 5
28216
as_fn_error $? "invalid argument passed to --enable-egl: \`$use_egl', should be one of [no/auto/yes]" "$LINENO" 5
28219
if test "x$use_egl" = "xyes"; then :
28220
egl_BASE=$cairo_cv_egl_BASE
28221
egl_REQUIRES=$cairo_cv_egl_REQUIRES
28222
egl_CFLAGS=$cairo_cv_egl_CFLAGS
28223
egl_NONPKGCONFIG_CFLAGS=$cairo_cv_egl_NONPKGCONFIG_CFLAGS
28224
egl_LIBS=$cairo_cv_egl_LIBS
28225
egl_NONPKGCONFIG_LIBS=$cairo_cv_egl_NONPKGCONFIG_LIBS
28226
egl_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_egl_NONPKGCONFIG_EXTRA_LIBS
28228
CAIRO_REQUIRES="$egl_REQUIRES"" ${CAIRO_REQUIRES}"
28230
CAIRO_CFLAGS="$egl_CFLAGS"" ${CAIRO_CFLAGS}"
28232
CAIRO_NONPKGCONFIG_CFLAGS="$egl_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
28234
CAIRO_LIBS="$egl_LIBS"" ${CAIRO_LIBS}"
28236
CAIRO_NONPKGCONFIG_LIBS="$egl_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
28240
egl_BASE=$cairo_cv_egl_BASE
28241
egl_REQUIRES=$cairo_cv_egl_REQUIRES
28242
egl_CFLAGS=$cairo_cv_egl_CFLAGS
28243
egl_NONPKGCONFIG_CFLAGS=$cairo_cv_egl_NONPKGCONFIG_CFLAGS
28244
egl_LIBS=$cairo_cv_egl_LIBS
28245
egl_NONPKGCONFIG_LIBS=$cairo_cv_egl_NONPKGCONFIG_LIBS
28246
egl_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_egl_NONPKGCONFIG_EXTRA_LIBS
28251
if test "x$use_egl" = xyes; then
28252
CAIRO_HAS_EGL_FUNCTIONS_TRUE=
28253
CAIRO_HAS_EGL_FUNCTIONS_FALSE='#'
28255
CAIRO_HAS_EGL_FUNCTIONS_TRUE='#'
28256
CAIRO_HAS_EGL_FUNCTIONS_FALSE=
28260
cr_make_tmp='CAIRO_HAS_EGL_FUNCTIONS=0'
28261
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
28266
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28269
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28272
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28275
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28279
cr_make_tmp='supported_cairo_headers += $(cairo_egl_headers)'
28280
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28283
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28285
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_egl_headers)'
28286
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28289
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28294
cr_make_tmp='all_cairo_headers += $(cairo_egl_headers)
28295
all_cairo_private += $(cairo_egl_private)
28296
all_cairo_cxx_sources += $(cairo_egl_cxx_sources)
28297
all_cairo_sources += $(cairo_egl_sources)'
28298
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28301
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28303
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_egl_headers)
28304
all_cairo_boilerplate_private += $(cairo_boilerplate_egl_private)
28305
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_egl_cxx_sources)
28306
all_cairo_boilerplate_sources += $(cairo_boilerplate_egl_sources)'
28307
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28310
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28314
cr_make_tmp='enabled_cairo_headers += $(cairo_egl_headers)
28315
enabled_cairo_private += $(cairo_egl_private)
28316
enabled_cairo_cxx_sources += $(cairo_egl_cxx_sources)
28317
enabled_cairo_sources += $(cairo_egl_sources)'
28318
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28319
"'if CAIRO_HAS_EGL_FUNCTIONS'
28320
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28322
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28325
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28326
"'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
28327
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28329
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28331
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_egl_headers)
28332
enabled_cairo_boilerplate_private += $(cairo_boilerplate_egl_private)
28333
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_egl_cxx_sources)
28334
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_egl_sources)'
28335
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28336
"'if CAIRO_HAS_EGL_FUNCTIONS'
28337
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28339
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28342
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28343
"'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
28344
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28346
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28352
if test "x$use_egl" = xyes; then :
28354
ac_config_files="$ac_config_files src/cairo-egl.pc:src/cairo-features.pc.in"
28358
if test "x$use_egl" = xyes; then :
28360
ac_config_files="$ac_config_files cairo-egl-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
28364
cr_make_tmp='all_cairo_pkgconf += cairo-egl.pc'
28365
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28368
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28372
cr_make_tmp='enabled_cairo_pkgconf += cairo-egl.pc'
28373
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28374
"'if CAIRO_HAS_EGL_FUNCTIONS'
28375
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28377
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28380
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28381
"'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
28382
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28384
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28388
if test "x$use_egl" = xyes; then :
28390
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_EGL_FUNCTIONS'
28394
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_EGL_FUNCTIONS'
28398
if test "x$use_egl" != xyes; then :
28400
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_EGL_FUNCTIONS'
28406
cr_make_tmp=' @echo "#define CAIRO_HAS_EGL_FUNCTIONS 1" >> src/cairo-features.h'
28407
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28408
"'ifeq ($(CAIRO_HAS_EGL_FUNCTIONS),1)'
28409
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28411
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28421
# Check whether --enable-glx was given.
28422
if test "${enable_glx+set}" = set; then :
28423
enableval=$enable_glx; enable_glx=$enableval
28428
case $enable_glx in #(
28430
use_glx="no (disabled, use --enable-glx to enable)"
28433
if test "x$cairo_cv_glx_cache_version" != "x6" -o \
28434
"x$cairo_cv_glx_cache_commands_len" != "x351" -o \
28435
"x$cairo_cv_glx_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
28436
unset cairo_cv_glx_use
28438
if test "x$enable_glx" = xyes -a "x$cairo_cv_glx_use" != xyes; then :
28439
unset cairo_cv_glx_use
28442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's GLX functions feature" >&5
28443
$as_echo_n "checking for cairo's GLX functions feature... " >&6; }
28444
if test "${cairo_cv_glx_use+set}" = set; then :
28445
$as_echo_n "(cached) " >&6
28450
glx_REQUIRES="$ac_env_glx_REQUIRES_value"
28451
glx_CFLAGS="$ac_env_glx_CFLAGS_value"
28452
glx_NONPKGCONFIG_CFLAGS="$ac_env_glx_NONPKGCONFIG_CFLAGS_value"
28453
glx_LIBS="$ac_env_glx_LIBS_value"
28454
glx_NONPKGCONFIG_LIBS="$ac_env_glx_NONPKGCONFIG_LIBS_value"
28455
glx_NONPKGCONFIG_EXTRA_LIBS="$ac_env_glx_NONPKGCONFIG_EXTRA_LIBS_value"
28458
if test "x$need_glx_functions" = "xyes"; then
28459
save_CFLAGS="$CFLAGS"
28460
CFLAGS="$CFLAGS $gl_CFLAGS $gl_NONPKGCONFIG_CFLAGS"
28461
ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
28462
if test "x$ac_cv_header_GL_glx_h" = x""yes; then :
28465
use_glx="no (GLX headers not found)"
28469
glx_NONPKGCONFIG_CFLAGS=
28470
glx_NONPKGCONFIG_LIBS="-lGL"
28471
CFLAGS="$save_CFLAGS"
28473
use_glx="no (not required by any backend)"
28476
cairo_cv_glx_use=$use_glx
28477
cairo_cv_glx_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
28478
cairo_cv_glx_cache_commands_len="351"
28479
cairo_cv_glx_cache_version="6"
28480
cairo_cv_glx_BASE=$glx_BASE
28481
cairo_cv_glx_REQUIRES=$glx_REQUIRES
28482
cairo_cv_glx_CFLAGS=$glx_CFLAGS
28483
cairo_cv_glx_NONPKGCONFIG_CFLAGS=$glx_NONPKGCONFIG_CFLAGS
28484
cairo_cv_glx_LIBS=$glx_LIBS
28485
cairo_cv_glx_NONPKGCONFIG_LIBS=$glx_NONPKGCONFIG_LIBS
28486
cairo_cv_glx_NONPKGCONFIG_EXTRA_LIBS=$glx_NONPKGCONFIG_EXTRA_LIBS
28488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's GLX functions feature could be enabled" >&5
28489
$as_echo_n "checking whether cairo's GLX functions feature could be enabled... " >&6; }
28492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_glx_use" >&5
28493
$as_echo "$cairo_cv_glx_use" >&6; }
28494
use_glx=$cairo_cv_glx_use
28496
if test "x$enable_glx" = "xyes" -a "x$use_glx" != xyes; then :
28497
as_fn_error $? " GLX functions feature could not be enabled" "$LINENO" 5
28501
as_fn_error $? "invalid argument passed to --enable-glx: \`$use_glx', should be one of [no/auto/yes]" "$LINENO" 5
28504
if test "x$use_glx" = "xyes"; then :
28505
glx_BASE=$cairo_cv_glx_BASE
28506
glx_REQUIRES=$cairo_cv_glx_REQUIRES
28507
glx_CFLAGS=$cairo_cv_glx_CFLAGS
28508
glx_NONPKGCONFIG_CFLAGS=$cairo_cv_glx_NONPKGCONFIG_CFLAGS
28509
glx_LIBS=$cairo_cv_glx_LIBS
28510
glx_NONPKGCONFIG_LIBS=$cairo_cv_glx_NONPKGCONFIG_LIBS
28511
glx_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_glx_NONPKGCONFIG_EXTRA_LIBS
28513
CAIRO_REQUIRES="$glx_REQUIRES"" ${CAIRO_REQUIRES}"
28515
CAIRO_CFLAGS="$glx_CFLAGS"" ${CAIRO_CFLAGS}"
28517
CAIRO_NONPKGCONFIG_CFLAGS="$glx_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
28519
CAIRO_LIBS="$glx_LIBS"" ${CAIRO_LIBS}"
28521
CAIRO_NONPKGCONFIG_LIBS="$glx_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
28525
glx_BASE=$cairo_cv_glx_BASE
28526
glx_REQUIRES=$cairo_cv_glx_REQUIRES
28527
glx_CFLAGS=$cairo_cv_glx_CFLAGS
28528
glx_NONPKGCONFIG_CFLAGS=$cairo_cv_glx_NONPKGCONFIG_CFLAGS
28529
glx_LIBS=$cairo_cv_glx_LIBS
28530
glx_NONPKGCONFIG_LIBS=$cairo_cv_glx_NONPKGCONFIG_LIBS
28531
glx_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_glx_NONPKGCONFIG_EXTRA_LIBS
28536
if test "x$use_glx" = xyes; then
28537
CAIRO_HAS_GLX_FUNCTIONS_TRUE=
28538
CAIRO_HAS_GLX_FUNCTIONS_FALSE='#'
28540
CAIRO_HAS_GLX_FUNCTIONS_TRUE='#'
28541
CAIRO_HAS_GLX_FUNCTIONS_FALSE=
28545
cr_make_tmp='CAIRO_HAS_GLX_FUNCTIONS=0'
28546
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
28551
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28554
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28557
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28560
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28564
cr_make_tmp='supported_cairo_headers += $(cairo_glx_headers)'
28565
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28568
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28570
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_glx_headers)'
28571
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28574
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28579
cr_make_tmp='all_cairo_headers += $(cairo_glx_headers)
28580
all_cairo_private += $(cairo_glx_private)
28581
all_cairo_cxx_sources += $(cairo_glx_cxx_sources)
28582
all_cairo_sources += $(cairo_glx_sources)'
28583
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28586
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28588
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_glx_headers)
28589
all_cairo_boilerplate_private += $(cairo_boilerplate_glx_private)
28590
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_glx_cxx_sources)
28591
all_cairo_boilerplate_sources += $(cairo_boilerplate_glx_sources)'
28592
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28595
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28599
cr_make_tmp='enabled_cairo_headers += $(cairo_glx_headers)
28600
enabled_cairo_private += $(cairo_glx_private)
28601
enabled_cairo_cxx_sources += $(cairo_glx_cxx_sources)
28602
enabled_cairo_sources += $(cairo_glx_sources)'
28603
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28604
"'if CAIRO_HAS_GLX_FUNCTIONS'
28605
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28607
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28610
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28611
"'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
28612
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28614
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28616
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_glx_headers)
28617
enabled_cairo_boilerplate_private += $(cairo_boilerplate_glx_private)
28618
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_glx_cxx_sources)
28619
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_glx_sources)'
28620
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28621
"'if CAIRO_HAS_GLX_FUNCTIONS'
28622
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28624
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28627
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28628
"'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
28629
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28631
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28637
if test "x$use_glx" = xyes; then :
28639
ac_config_files="$ac_config_files src/cairo-glx.pc:src/cairo-features.pc.in"
28643
if test "x$use_glx" = xyes; then :
28645
ac_config_files="$ac_config_files cairo-glx-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
28649
cr_make_tmp='all_cairo_pkgconf += cairo-glx.pc'
28650
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28653
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28657
cr_make_tmp='enabled_cairo_pkgconf += cairo-glx.pc'
28658
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28659
"'if CAIRO_HAS_GLX_FUNCTIONS'
28660
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28662
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28665
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28666
"'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
28667
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28669
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28673
if test "x$use_glx" = xyes; then :
28675
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GLX_FUNCTIONS'
28679
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_GLX_FUNCTIONS'
28683
if test "x$use_glx" != xyes; then :
28685
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_GLX_FUNCTIONS'
28691
cr_make_tmp=' @echo "#define CAIRO_HAS_GLX_FUNCTIONS 1" >> src/cairo-features.h'
28692
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28693
"'ifeq ($(CAIRO_HAS_GLX_FUNCTIONS),1)'
28694
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28696
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28706
# Check whether --enable-wgl was given.
28707
if test "${enable_wgl+set}" = set; then :
28708
enableval=$enable_wgl; enable_wgl=$enableval
28713
case $enable_wgl in #(
28715
use_wgl="no (disabled, use --enable-wgl to enable)"
28718
if test "x$cairo_cv_wgl_cache_version" != "x6" -o \
28719
"x$cairo_cv_wgl_cache_commands_len" != "x182" -o \
28720
"x$cairo_cv_wgl_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
28721
unset cairo_cv_wgl_use
28723
if test "x$enable_wgl" = xyes -a "x$cairo_cv_wgl_use" != xyes; then :
28724
unset cairo_cv_wgl_use
28727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's WGL functions feature" >&5
28728
$as_echo_n "checking for cairo's WGL functions feature... " >&6; }
28729
if test "${cairo_cv_wgl_use+set}" = set; then :
28730
$as_echo_n "(cached) " >&6
28735
wgl_REQUIRES="$ac_env_wgl_REQUIRES_value"
28736
wgl_CFLAGS="$ac_env_wgl_CFLAGS_value"
28737
wgl_NONPKGCONFIG_CFLAGS="$ac_env_wgl_NONPKGCONFIG_CFLAGS_value"
28738
wgl_LIBS="$ac_env_wgl_LIBS_value"
28739
wgl_NONPKGCONFIG_LIBS="$ac_env_wgl_NONPKGCONFIG_LIBS_value"
28740
wgl_NONPKGCONFIG_EXTRA_LIBS="$ac_env_wgl_NONPKGCONFIG_EXTRA_LIBS_value"
28743
if test "x$need_wgl_functions" = "xyes"; then
28744
ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
28745
if test "x$ac_cv_header_windows_h" = x""yes; then :
28748
use_wgl="no (WGL headers not found)"
28753
use_wgl="no (not required by any backend)"
28756
cairo_cv_wgl_use=$use_wgl
28757
cairo_cv_wgl_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
28758
cairo_cv_wgl_cache_commands_len="182"
28759
cairo_cv_wgl_cache_version="6"
28760
cairo_cv_wgl_BASE=$wgl_BASE
28761
cairo_cv_wgl_REQUIRES=$wgl_REQUIRES
28762
cairo_cv_wgl_CFLAGS=$wgl_CFLAGS
28763
cairo_cv_wgl_NONPKGCONFIG_CFLAGS=$wgl_NONPKGCONFIG_CFLAGS
28764
cairo_cv_wgl_LIBS=$wgl_LIBS
28765
cairo_cv_wgl_NONPKGCONFIG_LIBS=$wgl_NONPKGCONFIG_LIBS
28766
cairo_cv_wgl_NONPKGCONFIG_EXTRA_LIBS=$wgl_NONPKGCONFIG_EXTRA_LIBS
28768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's WGL functions feature could be enabled" >&5
28769
$as_echo_n "checking whether cairo's WGL functions feature could be enabled... " >&6; }
28772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_wgl_use" >&5
28773
$as_echo "$cairo_cv_wgl_use" >&6; }
28774
use_wgl=$cairo_cv_wgl_use
28776
if test "x$enable_wgl" = "xyes" -a "x$use_wgl" != xyes; then :
28777
as_fn_error $? " WGL functions feature could not be enabled" "$LINENO" 5
28781
as_fn_error $? "invalid argument passed to --enable-wgl: \`$use_wgl', should be one of [no/auto/yes]" "$LINENO" 5
28784
if test "x$use_wgl" = "xyes"; then :
28785
wgl_BASE=$cairo_cv_wgl_BASE
28786
wgl_REQUIRES=$cairo_cv_wgl_REQUIRES
28787
wgl_CFLAGS=$cairo_cv_wgl_CFLAGS
28788
wgl_NONPKGCONFIG_CFLAGS=$cairo_cv_wgl_NONPKGCONFIG_CFLAGS
28789
wgl_LIBS=$cairo_cv_wgl_LIBS
28790
wgl_NONPKGCONFIG_LIBS=$cairo_cv_wgl_NONPKGCONFIG_LIBS
28791
wgl_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_wgl_NONPKGCONFIG_EXTRA_LIBS
28793
CAIRO_REQUIRES="$wgl_REQUIRES"" ${CAIRO_REQUIRES}"
28795
CAIRO_CFLAGS="$wgl_CFLAGS"" ${CAIRO_CFLAGS}"
28797
CAIRO_NONPKGCONFIG_CFLAGS="$wgl_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
28799
CAIRO_LIBS="$wgl_LIBS"" ${CAIRO_LIBS}"
28801
CAIRO_NONPKGCONFIG_LIBS="$wgl_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
28805
wgl_BASE=$cairo_cv_wgl_BASE
28806
wgl_REQUIRES=$cairo_cv_wgl_REQUIRES
28807
wgl_CFLAGS=$cairo_cv_wgl_CFLAGS
28808
wgl_NONPKGCONFIG_CFLAGS=$cairo_cv_wgl_NONPKGCONFIG_CFLAGS
28809
wgl_LIBS=$cairo_cv_wgl_LIBS
28810
wgl_NONPKGCONFIG_LIBS=$cairo_cv_wgl_NONPKGCONFIG_LIBS
28811
wgl_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_wgl_NONPKGCONFIG_EXTRA_LIBS
28816
if test "x$use_wgl" = xyes; then
28817
CAIRO_HAS_WGL_FUNCTIONS_TRUE=
28818
CAIRO_HAS_WGL_FUNCTIONS_FALSE='#'
28820
CAIRO_HAS_WGL_FUNCTIONS_TRUE='#'
28821
CAIRO_HAS_WGL_FUNCTIONS_FALSE=
28825
cr_make_tmp='CAIRO_HAS_WGL_FUNCTIONS=0'
28826
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
28831
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28834
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28837
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28840
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28844
cr_make_tmp='supported_cairo_headers += $(cairo_wgl_headers)'
28845
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28848
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28850
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_wgl_headers)'
28851
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28854
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28859
cr_make_tmp='all_cairo_headers += $(cairo_wgl_headers)
28860
all_cairo_private += $(cairo_wgl_private)
28861
all_cairo_cxx_sources += $(cairo_wgl_cxx_sources)
28862
all_cairo_sources += $(cairo_wgl_sources)'
28863
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28866
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28868
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_wgl_headers)
28869
all_cairo_boilerplate_private += $(cairo_boilerplate_wgl_private)
28870
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_wgl_cxx_sources)
28871
all_cairo_boilerplate_sources += $(cairo_boilerplate_wgl_sources)'
28872
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28875
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28879
cr_make_tmp='enabled_cairo_headers += $(cairo_wgl_headers)
28880
enabled_cairo_private += $(cairo_wgl_private)
28881
enabled_cairo_cxx_sources += $(cairo_wgl_cxx_sources)
28882
enabled_cairo_sources += $(cairo_wgl_sources)'
28883
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28884
"'if CAIRO_HAS_WGL_FUNCTIONS'
28885
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28887
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28890
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28891
"'ifeq ($(CAIRO_HAS_WGL_FUNCTIONS),1)'
28892
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28894
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28896
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_wgl_headers)
28897
enabled_cairo_boilerplate_private += $(cairo_boilerplate_wgl_private)
28898
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_wgl_cxx_sources)
28899
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_wgl_sources)'
28900
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28901
"'if CAIRO_HAS_WGL_FUNCTIONS'
28902
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28904
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
28907
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28908
"'ifeq ($(CAIRO_HAS_WGL_FUNCTIONS),1)'
28909
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28911
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
28917
if test "x$use_wgl" = xyes; then :
28919
ac_config_files="$ac_config_files src/cairo-wgl.pc:src/cairo-features.pc.in"
28923
if test "x$use_wgl" = xyes; then :
28925
ac_config_files="$ac_config_files cairo-wgl-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
28929
cr_make_tmp='all_cairo_pkgconf += cairo-wgl.pc'
28930
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28933
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28937
cr_make_tmp='enabled_cairo_pkgconf += cairo-wgl.pc'
28938
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28939
"'if CAIRO_HAS_WGL_FUNCTIONS'
28940
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28942
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
28945
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28946
"'ifeq ($(CAIRO_HAS_WGL_FUNCTIONS),1)'
28947
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28949
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
28953
if test "x$use_wgl" = xyes; then :
28955
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_WGL_FUNCTIONS'
28959
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_WGL_FUNCTIONS'
28963
if test "x$use_wgl" != xyes; then :
28965
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_WGL_FUNCTIONS'
28971
cr_make_tmp=' @echo "#define CAIRO_HAS_WGL_FUNCTIONS 1" >> src/cairo-features.h'
28972
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28973
"'ifeq ($(CAIRO_HAS_WGL_FUNCTIONS),1)'
28974
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28976
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
28988
# Check whether --enable-script was given.
28989
if test "${enable_script+set}" = set; then :
28990
enableval=$enable_script; enable_script=$enableval
28995
case $enable_script in #(
28997
use_script="no (disabled, use --enable-script to enable)"
29000
if test "x$cairo_cv_script_cache_version" != "x6" -o \
29001
"x$cairo_cv_script_cache_commands_len" != "x18" -o \
29002
"x$cairo_cv_script_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
29003
unset cairo_cv_script_use
29005
if test "x$enable_script" = xyes -a "x$cairo_cv_script_use" != xyes; then :
29006
unset cairo_cv_script_use
29009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's script surface backend feature" >&5
29010
$as_echo_n "checking for cairo's script surface backend feature... " >&6; }
29011
if test "${cairo_cv_script_use+set}" = set; then :
29012
$as_echo_n "(cached) " >&6
29016
script_BASE="cairo"
29017
script_REQUIRES="$ac_env_script_REQUIRES_value"
29018
script_CFLAGS="$ac_env_script_CFLAGS_value"
29019
script_NONPKGCONFIG_CFLAGS="$ac_env_script_NONPKGCONFIG_CFLAGS_value"
29020
script_LIBS="$ac_env_script_LIBS_value"
29021
script_NONPKGCONFIG_LIBS="$ac_env_script_NONPKGCONFIG_LIBS_value"
29022
script_NONPKGCONFIG_EXTRA_LIBS="$ac_env_script_NONPKGCONFIG_EXTRA_LIBS_value"
29027
cairo_cv_script_use=$use_script
29028
cairo_cv_script_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
29029
cairo_cv_script_cache_commands_len="18"
29030
cairo_cv_script_cache_version="6"
29031
cairo_cv_script_BASE=$script_BASE
29032
cairo_cv_script_REQUIRES=$script_REQUIRES
29033
cairo_cv_script_CFLAGS=$script_CFLAGS
29034
cairo_cv_script_NONPKGCONFIG_CFLAGS=$script_NONPKGCONFIG_CFLAGS
29035
cairo_cv_script_LIBS=$script_LIBS
29036
cairo_cv_script_NONPKGCONFIG_LIBS=$script_NONPKGCONFIG_LIBS
29037
cairo_cv_script_NONPKGCONFIG_EXTRA_LIBS=$script_NONPKGCONFIG_EXTRA_LIBS
29039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's script surface backend feature could be enabled" >&5
29040
$as_echo_n "checking whether cairo's script surface backend feature could be enabled... " >&6; }
29043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_script_use" >&5
29044
$as_echo "$cairo_cv_script_use" >&6; }
29045
use_script=$cairo_cv_script_use
29047
if test "x$enable_script" = "xyes" -a "x$use_script" != xyes; then :
29048
as_fn_error $? " script surface backend feature could not be enabled" "$LINENO" 5
29052
as_fn_error $? "invalid argument passed to --enable-script: \`$use_script', should be one of [no/auto/yes]" "$LINENO" 5
29055
if test "x$use_script" = "xyes"; then :
29056
script_BASE=$cairo_cv_script_BASE
29057
script_REQUIRES=$cairo_cv_script_REQUIRES
29058
script_CFLAGS=$cairo_cv_script_CFLAGS
29059
script_NONPKGCONFIG_CFLAGS=$cairo_cv_script_NONPKGCONFIG_CFLAGS
29060
script_LIBS=$cairo_cv_script_LIBS
29061
script_NONPKGCONFIG_LIBS=$cairo_cv_script_NONPKGCONFIG_LIBS
29062
script_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_script_NONPKGCONFIG_EXTRA_LIBS
29064
CAIRO_REQUIRES="$script_REQUIRES"" ${CAIRO_REQUIRES}"
29066
CAIRO_CFLAGS="$script_CFLAGS"" ${CAIRO_CFLAGS}"
29068
CAIRO_NONPKGCONFIG_CFLAGS="$script_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
29070
CAIRO_LIBS="$script_LIBS"" ${CAIRO_LIBS}"
29072
CAIRO_NONPKGCONFIG_LIBS="$script_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
29076
script_BASE=$cairo_cv_script_BASE
29077
script_REQUIRES=$cairo_cv_script_REQUIRES
29078
script_CFLAGS=$cairo_cv_script_CFLAGS
29079
script_NONPKGCONFIG_CFLAGS=$cairo_cv_script_NONPKGCONFIG_CFLAGS
29080
script_LIBS=$cairo_cv_script_LIBS
29081
script_NONPKGCONFIG_LIBS=$cairo_cv_script_NONPKGCONFIG_LIBS
29082
script_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_script_NONPKGCONFIG_EXTRA_LIBS
29087
if test "x$use_script" = xyes; then
29088
CAIRO_HAS_SCRIPT_SURFACE_TRUE=
29089
CAIRO_HAS_SCRIPT_SURFACE_FALSE='#'
29091
CAIRO_HAS_SCRIPT_SURFACE_TRUE='#'
29092
CAIRO_HAS_SCRIPT_SURFACE_FALSE=
29096
cr_make_tmp='CAIRO_HAS_SCRIPT_SURFACE=0'
29097
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
29102
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29105
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29108
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29111
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29116
cr_make_tmp='unsupported_cairo_headers += $(cairo_script_headers)'
29117
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29120
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29122
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_script_headers)'
29123
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29126
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29130
cr_make_tmp='all_cairo_headers += $(cairo_script_headers)
29131
all_cairo_private += $(cairo_script_private)
29132
all_cairo_cxx_sources += $(cairo_script_cxx_sources)
29133
all_cairo_sources += $(cairo_script_sources)'
29134
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29137
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29139
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_script_headers)
29140
all_cairo_boilerplate_private += $(cairo_boilerplate_script_private)
29141
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_script_cxx_sources)
29142
all_cairo_boilerplate_sources += $(cairo_boilerplate_script_sources)'
29143
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29146
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29150
cr_make_tmp='enabled_cairo_headers += $(cairo_script_headers)
29151
enabled_cairo_private += $(cairo_script_private)
29152
enabled_cairo_cxx_sources += $(cairo_script_cxx_sources)
29153
enabled_cairo_sources += $(cairo_script_sources)'
29154
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29155
"'if CAIRO_HAS_SCRIPT_SURFACE'
29156
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29158
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29161
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29162
"'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
29163
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29165
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29167
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_script_headers)
29168
enabled_cairo_boilerplate_private += $(cairo_boilerplate_script_private)
29169
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_script_cxx_sources)
29170
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_script_sources)'
29171
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29172
"'if CAIRO_HAS_SCRIPT_SURFACE'
29173
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29175
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29178
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29179
"'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
29180
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29182
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29188
if test "x$use_script" = xyes; then :
29190
ac_config_files="$ac_config_files src/cairo-script.pc:src/cairo-features.pc.in"
29194
if test "x$use_script" = xyes; then :
29196
ac_config_files="$ac_config_files cairo-script-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
29200
cr_make_tmp='all_cairo_pkgconf += cairo-script.pc'
29201
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29204
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29208
cr_make_tmp='enabled_cairo_pkgconf += cairo-script.pc'
29209
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29210
"'if CAIRO_HAS_SCRIPT_SURFACE'
29211
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29213
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29216
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29217
"'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
29218
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29220
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29224
if test "x$use_script" = xyes; then :
29226
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_SCRIPT_SURFACE'
29233
cr_make_tmp=' @echo "#define CAIRO_HAS_SCRIPT_SURFACE 1" >> src/cairo-features.h'
29234
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29235
"'ifeq ($(CAIRO_HAS_SCRIPT_SURFACE),1)'
29236
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29238
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29242
if test "x$use_script" = xyes; then :
29244
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
29246
"'--- The script surface backend feature is still under active development and
29247
--- is included in this release only as a preview. It does NOT fully work yet
29248
--- and incompatible changes may yet be made to script surface backend
29260
# We use pkg-config to look for freetype2, but fall back to
29261
# freetype-config if it fails. We prefer pkg-config, since we can
29262
# then just put freetype2 >= $FREETYPE_MIN_VERSION in
29263
# Requires.private, but at least up to 2003-06-07, there was no
29264
# freetype2.pc in the release.
29266
# FreeType versions come in three forms:
29267
# release (such as 2.1.9)
29268
# libtool (such as 9.7.3) (returned by freetype-config and pkg-config)
29269
# platform-specific/soname (such as 6.3.4)
29270
# and they recommend you never use the platform-specific version
29271
# (see docs/VERSION.DLL in freetype2 sources)
29273
# Set these as appropriate:
29275
# release number - for information only
29276
FREETYPE_MIN_RELEASE=2.1.9
29277
# libtool-specific version - this is what is checked
29278
FREETYPE_MIN_VERSION=9.7.3
29280
# Check whether --enable-ft was given.
29281
if test "${enable_ft+set}" = set; then :
29282
enableval=$enable_ft; enable_ft=$enableval
29287
case $enable_ft in #(
29289
use_ft="no (disabled, use --enable-ft to enable)"
29292
if test "x$cairo_cv_ft_cache_version" != "x6" -o \
29293
"x$cairo_cv_ft_cache_commands_len" != "x1138" -o \
29294
"x$cairo_cv_ft_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
29295
unset cairo_cv_ft_use
29297
if test "x$enable_ft" = xyes -a "x$cairo_cv_ft_use" != xyes; then :
29298
unset cairo_cv_ft_use
29301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's FreeType font backend feature" >&5
29302
$as_echo_n "checking for cairo's FreeType font backend feature... " >&6; }
29303
if test "${cairo_cv_ft_use+set}" = set; then :
29304
$as_echo_n "(cached) " >&6
29309
ft_REQUIRES="$ac_env_ft_REQUIRES_value"
29310
ft_CFLAGS="$ac_env_ft_CFLAGS_value"
29311
ft_NONPKGCONFIG_CFLAGS="$ac_env_ft_NONPKGCONFIG_CFLAGS_value"
29312
ft_LIBS="$ac_env_ft_LIBS_value"
29313
ft_NONPKGCONFIG_LIBS="$ac_env_ft_NONPKGCONFIG_LIBS_value"
29314
ft_NONPKGCONFIG_EXTRA_LIBS="$ac_env_ft_NONPKGCONFIG_EXTRA_LIBS_value"
29320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
29321
$as_echo_n "checking for FREETYPE... " >&6; }
29323
if test -n "$FREETYPE_CFLAGS"; then
29324
pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
29325
elif test -n "$PKG_CONFIG"; then
29326
if test -n "$PKG_CONFIG" && \
29327
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= \$FREETYPE_MIN_VERSION\""; } >&5
29328
($PKG_CONFIG --exists --print-errors "freetype2 >= $FREETYPE_MIN_VERSION") 2>&5
29330
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29331
test $ac_status = 0; }; then
29332
pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= $FREETYPE_MIN_VERSION" 2>/dev/null`
29339
if test -n "$FREETYPE_LIBS"; then
29340
pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
29341
elif test -n "$PKG_CONFIG"; then
29342
if test -n "$PKG_CONFIG" && \
29343
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= \$FREETYPE_MIN_VERSION\""; } >&5
29344
($PKG_CONFIG --exists --print-errors "freetype2 >= $FREETYPE_MIN_VERSION") 2>&5
29346
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29347
test $ac_status = 0; }; then
29348
pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= $FREETYPE_MIN_VERSION" 2>/dev/null`
29358
if test $pkg_failed = yes; then
29360
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29361
_pkg_short_errors_supported=yes
29363
_pkg_short_errors_supported=no
29365
if test $_pkg_short_errors_supported = yes; then
29366
FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2 >= $FREETYPE_MIN_VERSION" 2>&1`
29368
FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2 >= $FREETYPE_MIN_VERSION" 2>&1`
29370
# Put the nasty error message in config.log where it belongs
29371
echo "$FREETYPE_PKG_ERRORS" >&5
29373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29374
$as_echo "no" >&6; }
29375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29376
$as_echo "no" >&6; }
29377
freetype_pkgconfig=no
29378
elif test $pkg_failed = untried; then
29379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29380
$as_echo "no" >&6; }
29381
freetype_pkgconfig=no
29383
FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
29384
FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
29385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29386
$as_echo "yes" >&6; }
29387
freetype_pkgconfig=yes
29390
if test "x$freetype_pkgconfig" = "xyes"; then
29391
ft_REQUIRES="freetype2 >= $FREETYPE_MIN_VERSION $ft_REQUIRES"
29394
if test -z "$FREETYPE_CONFIG"; then
29395
# Extract the first word of "freetype-config", so it can be a program name with args.
29396
set dummy freetype-config; ac_word=$2
29397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29398
$as_echo_n "checking for $ac_word... " >&6; }
29399
if test "${ac_cv_path_FREETYPE_CONFIG+set}" = set; then :
29400
$as_echo_n "(cached) " >&6
29402
case $FREETYPE_CONFIG in
29404
ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path.
29407
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29408
for as_dir in $PATH
29411
test -z "$as_dir" && as_dir=.
29412
for ac_exec_ext in '' $ac_executable_extensions; do
29413
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29414
ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29415
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29422
test -z "$ac_cv_path_FREETYPE_CONFIG" && ac_cv_path_FREETYPE_CONFIG="no"
29426
FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG
29427
if test -n "$FREETYPE_CONFIG"; then
29428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_CONFIG" >&5
29429
$as_echo "$FREETYPE_CONFIG" >&6; }
29431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29432
$as_echo "no" >&6; }
29437
if test "x$FREETYPE_CONFIG" = "xno" ; then
29438
use_ft='no (freetype-config not found in path or $FREETYPE_CONFIG)'
29440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking freetype2 libtool version" >&5
29441
$as_echo_n "checking freetype2 libtool version... " >&6; }
29443
FREETYPE_VERSION=`$FREETYPE_CONFIG --version`
29445
# Used to indicate true or false condition
29446
ax_compare_version=false
29448
# Convert the two version strings to be compared into a format that
29449
# allows a simple string comparison. The end result is that a version
29450
# string of the form 1.12.5-r617 will be converted to the form
29451
# 0001001200050617. In other words, each number is zero padded to four
29452
# digits, and non digits are removed.
29454
ax_compare_version_A=`echo "$FREETYPE_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
29455
-e 's/Z\([0-9]\)Z/Z0\1Z/g' \
29456
-e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
29457
-e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
29461
ax_compare_version_B=`echo "$FREETYPE_MIN_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
29462
-e 's/Z\([0-9]\)Z/Z0\1Z/g' \
29463
-e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
29464
-e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
29468
ax_compare_version=`echo "x$ax_compare_version_A
29469
x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/false/;s/x${ax_compare_version_B}/true/;1q"`
29473
if test "$ax_compare_version" = "true" ; then
29474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_VERSION - OK" >&5
29475
$as_echo "$FREETYPE_VERSION - OK" >&6; }
29476
ft_NONPKGCONFIG_CFLAGS=`$FREETYPE_CONFIG --cflags`
29477
ft_NONPKGCONFIG_LIBS=`$FREETYPE_CONFIG --libs`
29478
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_VERSION - Too old" >&5
29479
$as_echo "$FREETYPE_VERSION - Too old" >&6; }
29480
use_ft="no ($FREETYPE_VERSION found; version $FREETYPE_MIN_VERSION from release $FREETYPE_MIN_RELEASE required)"
29486
ft_CFLAGS="$FREETYPE_CFLAGS"
29487
ft_LIBS="$FREETYPE_LIBS"
29489
cairo_cv_ft_use=$use_ft
29490
cairo_cv_ft_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
29491
cairo_cv_ft_cache_commands_len="1138"
29492
cairo_cv_ft_cache_version="6"
29493
cairo_cv_ft_BASE=$ft_BASE
29494
cairo_cv_ft_REQUIRES=$ft_REQUIRES
29495
cairo_cv_ft_CFLAGS=$ft_CFLAGS
29496
cairo_cv_ft_NONPKGCONFIG_CFLAGS=$ft_NONPKGCONFIG_CFLAGS
29497
cairo_cv_ft_LIBS=$ft_LIBS
29498
cairo_cv_ft_NONPKGCONFIG_LIBS=$ft_NONPKGCONFIG_LIBS
29499
cairo_cv_ft_NONPKGCONFIG_EXTRA_LIBS=$ft_NONPKGCONFIG_EXTRA_LIBS
29501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's FreeType font backend feature could be enabled" >&5
29502
$as_echo_n "checking whether cairo's FreeType font backend feature could be enabled... " >&6; }
29505
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_ft_use" >&5
29506
$as_echo "$cairo_cv_ft_use" >&6; }
29507
use_ft=$cairo_cv_ft_use
29509
if test "x$enable_ft" = "xyes" -a "x$use_ft" != xyes; then :
29510
as_fn_error $? " FreeType font backend feature could not be enabled" "$LINENO" 5
29514
as_fn_error $? "invalid argument passed to --enable-ft: \`$use_ft', should be one of [no/auto/yes]" "$LINENO" 5
29517
if test "x$use_ft" = "xyes"; then :
29518
ft_BASE=$cairo_cv_ft_BASE
29519
ft_REQUIRES=$cairo_cv_ft_REQUIRES
29520
ft_CFLAGS=$cairo_cv_ft_CFLAGS
29521
ft_NONPKGCONFIG_CFLAGS=$cairo_cv_ft_NONPKGCONFIG_CFLAGS
29522
ft_LIBS=$cairo_cv_ft_LIBS
29523
ft_NONPKGCONFIG_LIBS=$cairo_cv_ft_NONPKGCONFIG_LIBS
29524
ft_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_ft_NONPKGCONFIG_EXTRA_LIBS
29526
CAIRO_REQUIRES="$ft_REQUIRES"" ${CAIRO_REQUIRES}"
29528
CAIRO_CFLAGS="$ft_CFLAGS"" ${CAIRO_CFLAGS}"
29530
CAIRO_NONPKGCONFIG_CFLAGS="$ft_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
29532
CAIRO_LIBS="$ft_LIBS"" ${CAIRO_LIBS}"
29534
CAIRO_NONPKGCONFIG_LIBS="$ft_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
29538
ft_BASE=$cairo_cv_ft_BASE
29539
ft_REQUIRES=$cairo_cv_ft_REQUIRES
29540
ft_CFLAGS=$cairo_cv_ft_CFLAGS
29541
ft_NONPKGCONFIG_CFLAGS=$cairo_cv_ft_NONPKGCONFIG_CFLAGS
29542
ft_LIBS=$cairo_cv_ft_LIBS
29543
ft_NONPKGCONFIG_LIBS=$cairo_cv_ft_NONPKGCONFIG_LIBS
29544
ft_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_ft_NONPKGCONFIG_EXTRA_LIBS
29549
if test "x$use_ft" = xyes; then
29550
CAIRO_HAS_FT_FONT_TRUE=
29551
CAIRO_HAS_FT_FONT_FALSE='#'
29553
CAIRO_HAS_FT_FONT_TRUE='#'
29554
CAIRO_HAS_FT_FONT_FALSE=
29558
cr_make_tmp='CAIRO_HAS_FT_FONT=0'
29559
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
29564
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29567
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29570
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29573
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29577
cr_make_tmp='supported_cairo_headers += $(cairo_ft_headers)'
29578
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29581
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29583
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_ft_headers)'
29584
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29587
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29592
cr_make_tmp='all_cairo_headers += $(cairo_ft_headers)
29593
all_cairo_private += $(cairo_ft_private)
29594
all_cairo_cxx_sources += $(cairo_ft_cxx_sources)
29595
all_cairo_sources += $(cairo_ft_sources)'
29596
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29599
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29601
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_ft_headers)
29602
all_cairo_boilerplate_private += $(cairo_boilerplate_ft_private)
29603
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ft_cxx_sources)
29604
all_cairo_boilerplate_sources += $(cairo_boilerplate_ft_sources)'
29605
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29608
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29612
cr_make_tmp='enabled_cairo_headers += $(cairo_ft_headers)
29613
enabled_cairo_private += $(cairo_ft_private)
29614
enabled_cairo_cxx_sources += $(cairo_ft_cxx_sources)
29615
enabled_cairo_sources += $(cairo_ft_sources)'
29616
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29617
"'if CAIRO_HAS_FT_FONT'
29618
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29620
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29623
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29624
"'ifeq ($(CAIRO_HAS_FT_FONT),1)'
29625
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29627
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29629
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_ft_headers)
29630
enabled_cairo_boilerplate_private += $(cairo_boilerplate_ft_private)
29631
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ft_cxx_sources)
29632
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_ft_sources)'
29633
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29634
"'if CAIRO_HAS_FT_FONT'
29635
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29637
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29640
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29641
"'ifeq ($(CAIRO_HAS_FT_FONT),1)'
29642
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29644
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29650
if test "x$use_ft" = xyes; then :
29652
ac_config_files="$ac_config_files src/cairo-ft.pc:src/cairo-features.pc.in"
29656
if test "x$use_ft" = xyes; then :
29658
ac_config_files="$ac_config_files cairo-ft-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
29662
cr_make_tmp='all_cairo_pkgconf += cairo-ft.pc'
29663
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29666
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29670
cr_make_tmp='enabled_cairo_pkgconf += cairo-ft.pc'
29671
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29672
"'if CAIRO_HAS_FT_FONT'
29673
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29675
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29678
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29679
"'ifeq ($(CAIRO_HAS_FT_FONT),1)'
29680
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29682
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29686
if test "x$use_ft" = xyes; then :
29688
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_FT_FONT'
29692
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_FT_FONT'
29696
if test "x$use_ft" != xyes; then :
29698
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_FT_FONT'
29704
cr_make_tmp=' @echo "#define CAIRO_HAS_FT_FONT 1" >> src/cairo-features.h'
29705
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29706
"'ifeq ($(CAIRO_HAS_FT_FONT),1)'
29707
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29709
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
29716
if test "x$use_ft" = xyes; then :
29718
CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'ft'
29725
FONTCONFIG_MIN_VERSION=2.2.95
29726
# Check whether --enable-fc was given.
29727
if test "${enable_fc+set}" = set; then :
29728
enableval=$enable_fc; enable_fc=$enableval
29733
case $enable_fc in #(
29735
use_fc="no (disabled, use --enable-fc to enable)"
29738
if test "x$cairo_cv_fc_cache_version" != "x6" -o \
29739
"x$cairo_cv_fc_cache_commands_len" != "x292" -o \
29740
"x$cairo_cv_fc_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
29741
unset cairo_cv_fc_use
29743
if test "x$enable_fc" = xyes -a "x$cairo_cv_fc_use" != xyes; then :
29744
unset cairo_cv_fc_use
29747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's Fontconfig font backend feature" >&5
29748
$as_echo_n "checking for cairo's Fontconfig font backend feature... " >&6; }
29749
if test "${cairo_cv_fc_use+set}" = set; then :
29750
$as_echo_n "(cached) " >&6
29755
fc_REQUIRES="$ac_env_fc_REQUIRES_value"
29756
fc_CFLAGS="$ac_env_fc_CFLAGS_value"
29757
fc_NONPKGCONFIG_CFLAGS="$ac_env_fc_NONPKGCONFIG_CFLAGS_value"
29758
fc_LIBS="$ac_env_fc_LIBS_value"
29759
fc_NONPKGCONFIG_LIBS="$ac_env_fc_NONPKGCONFIG_LIBS_value"
29760
fc_NONPKGCONFIG_EXTRA_LIBS="$ac_env_fc_NONPKGCONFIG_EXTRA_LIBS_value"
29764
if test "x$use_fc" = "xyes"; then
29765
fc_REQUIRES="fontconfig >= $FONTCONFIG_MIN_VERSION"
29768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
29769
$as_echo_n "checking for FONTCONFIG... " >&6; }
29771
if test -n "$FONTCONFIG_CFLAGS"; then
29772
pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
29773
elif test -n "$PKG_CONFIG"; then
29774
if test -n "$PKG_CONFIG" && \
29775
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fc_REQUIRES\""; } >&5
29776
($PKG_CONFIG --exists --print-errors "$fc_REQUIRES") 2>&5
29778
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29779
test $ac_status = 0; }; then
29780
pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "$fc_REQUIRES" 2>/dev/null`
29787
if test -n "$FONTCONFIG_LIBS"; then
29788
pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
29789
elif test -n "$PKG_CONFIG"; then
29790
if test -n "$PKG_CONFIG" && \
29791
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fc_REQUIRES\""; } >&5
29792
($PKG_CONFIG --exists --print-errors "$fc_REQUIRES") 2>&5
29794
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29795
test $ac_status = 0; }; then
29796
pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "$fc_REQUIRES" 2>/dev/null`
29806
if test $pkg_failed = yes; then
29808
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29809
_pkg_short_errors_supported=yes
29811
_pkg_short_errors_supported=no
29813
if test $_pkg_short_errors_supported = yes; then
29814
FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$fc_REQUIRES" 2>&1`
29816
FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "$fc_REQUIRES" 2>&1`
29818
# Put the nasty error message in config.log where it belongs
29819
echo "$FONTCONFIG_PKG_ERRORS" >&5
29821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29822
$as_echo "no" >&6; }
29823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29824
$as_echo "no" >&6; }; use_fc="no (requires $fc_REQUIRES)"
29825
elif test $pkg_failed = untried; then
29826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29827
$as_echo "no" >&6; }; use_fc="no (requires $fc_REQUIRES)"
29829
FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
29830
FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
29831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29832
$as_echo "yes" >&6; }
29836
fc_CFLAGS="$FONTCONFIG_CFLAGS"
29837
fc_LIBS="$FONTCONFIG_LIBS"
29839
cairo_cv_fc_use=$use_fc
29840
cairo_cv_fc_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
29841
cairo_cv_fc_cache_commands_len="292"
29842
cairo_cv_fc_cache_version="6"
29843
cairo_cv_fc_BASE=$fc_BASE
29844
cairo_cv_fc_REQUIRES=$fc_REQUIRES
29845
cairo_cv_fc_CFLAGS=$fc_CFLAGS
29846
cairo_cv_fc_NONPKGCONFIG_CFLAGS=$fc_NONPKGCONFIG_CFLAGS
29847
cairo_cv_fc_LIBS=$fc_LIBS
29848
cairo_cv_fc_NONPKGCONFIG_LIBS=$fc_NONPKGCONFIG_LIBS
29849
cairo_cv_fc_NONPKGCONFIG_EXTRA_LIBS=$fc_NONPKGCONFIG_EXTRA_LIBS
29851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Fontconfig font backend feature could be enabled" >&5
29852
$as_echo_n "checking whether cairo's Fontconfig font backend feature could be enabled... " >&6; }
29855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_fc_use" >&5
29856
$as_echo "$cairo_cv_fc_use" >&6; }
29857
use_fc=$cairo_cv_fc_use
29859
if test "x$enable_fc" = "xyes" -a "x$use_fc" != xyes; then :
29860
as_fn_error $? " Fontconfig font backend feature could not be enabled" "$LINENO" 5
29864
as_fn_error $? "invalid argument passed to --enable-fc: \`$use_fc', should be one of [no/auto/yes]" "$LINENO" 5
29867
if test "x$use_fc" = "xyes"; then :
29868
fc_BASE=$cairo_cv_fc_BASE
29869
fc_REQUIRES=$cairo_cv_fc_REQUIRES
29870
fc_CFLAGS=$cairo_cv_fc_CFLAGS
29871
fc_NONPKGCONFIG_CFLAGS=$cairo_cv_fc_NONPKGCONFIG_CFLAGS
29872
fc_LIBS=$cairo_cv_fc_LIBS
29873
fc_NONPKGCONFIG_LIBS=$cairo_cv_fc_NONPKGCONFIG_LIBS
29874
fc_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_fc_NONPKGCONFIG_EXTRA_LIBS
29876
CAIRO_REQUIRES="$fc_REQUIRES"" ${CAIRO_REQUIRES}"
29878
CAIRO_CFLAGS="$fc_CFLAGS"" ${CAIRO_CFLAGS}"
29880
CAIRO_NONPKGCONFIG_CFLAGS="$fc_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
29882
CAIRO_LIBS="$fc_LIBS"" ${CAIRO_LIBS}"
29884
CAIRO_NONPKGCONFIG_LIBS="$fc_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
29888
fc_BASE=$cairo_cv_fc_BASE
29889
fc_REQUIRES=$cairo_cv_fc_REQUIRES
29890
fc_CFLAGS=$cairo_cv_fc_CFLAGS
29891
fc_NONPKGCONFIG_CFLAGS=$cairo_cv_fc_NONPKGCONFIG_CFLAGS
29892
fc_LIBS=$cairo_cv_fc_LIBS
29893
fc_NONPKGCONFIG_LIBS=$cairo_cv_fc_NONPKGCONFIG_LIBS
29894
fc_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_fc_NONPKGCONFIG_EXTRA_LIBS
29899
if test "x$use_fc" = xyes; then
29900
CAIRO_HAS_FC_FONT_TRUE=
29901
CAIRO_HAS_FC_FONT_FALSE='#'
29903
CAIRO_HAS_FC_FONT_TRUE='#'
29904
CAIRO_HAS_FC_FONT_FALSE=
29908
cr_make_tmp='CAIRO_HAS_FC_FONT=0'
29909
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
29914
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29917
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29920
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29923
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29927
cr_make_tmp='supported_cairo_headers += $(cairo_fc_headers)'
29928
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29931
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29933
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)'
29934
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29937
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29942
cr_make_tmp='all_cairo_headers += $(cairo_fc_headers)
29943
all_cairo_private += $(cairo_fc_private)
29944
all_cairo_cxx_sources += $(cairo_fc_cxx_sources)
29945
all_cairo_sources += $(cairo_fc_sources)'
29946
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29949
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29951
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)
29952
all_cairo_boilerplate_private += $(cairo_boilerplate_fc_private)
29953
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_fc_cxx_sources)
29954
all_cairo_boilerplate_sources += $(cairo_boilerplate_fc_sources)'
29955
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29958
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29962
cr_make_tmp='enabled_cairo_headers += $(cairo_fc_headers)
29963
enabled_cairo_private += $(cairo_fc_private)
29964
enabled_cairo_cxx_sources += $(cairo_fc_cxx_sources)
29965
enabled_cairo_sources += $(cairo_fc_sources)'
29966
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29967
"'if CAIRO_HAS_FC_FONT'
29968
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29970
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
29973
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29974
"'ifeq ($(CAIRO_HAS_FC_FONT),1)'
29975
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29977
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
29979
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)
29980
enabled_cairo_boilerplate_private += $(cairo_boilerplate_fc_private)
29981
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_fc_cxx_sources)
29982
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_fc_sources)'
29983
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29984
"'if CAIRO_HAS_FC_FONT'
29985
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29987
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
29990
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29991
"'ifeq ($(CAIRO_HAS_FC_FONT),1)'
29992
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
29994
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30000
if test "x$use_fc" = xyes; then :
30002
ac_config_files="$ac_config_files src/cairo-fc.pc:src/cairo-features.pc.in"
30006
if test "x$use_fc" = xyes; then :
30008
ac_config_files="$ac_config_files cairo-fc-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
30012
cr_make_tmp='all_cairo_pkgconf += cairo-fc.pc'
30013
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30016
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30020
cr_make_tmp='enabled_cairo_pkgconf += cairo-fc.pc'
30021
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30022
"'if CAIRO_HAS_FC_FONT'
30023
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30025
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30028
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30029
"'ifeq ($(CAIRO_HAS_FC_FONT),1)'
30030
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30032
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30036
if test "x$use_fc" = xyes; then :
30038
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_FC_FONT'
30042
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_FC_FONT'
30046
if test "x$use_fc" != xyes; then :
30048
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_FC_FONT'
30054
cr_make_tmp=' @echo "#define CAIRO_HAS_FC_FONT 1" >> src/cairo-features.h'
30055
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30056
"'ifeq ($(CAIRO_HAS_FC_FONT),1)'
30057
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30059
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30066
if test "x$use_fc" = xyes; then :
30068
CAIRO_NATIVE_FONT_BACKENDS="${CAIRO_NATIVE_FONT_BACKENDS}"'fc'
30075
if test "x$use_ft" = "xyes"; then
30077
_save_cflags="$CFLAGS"
30078
LIBS="$LIBS $ft_LIBS"
30079
CFLAGS="$CFLAGS $ft_CFLAGS"
30080
ac_fn_c_check_member "$LINENO" "FT_Bitmap_Size" "y_ppem" "ac_cv_member_FT_Bitmap_Size_y_ppem" "#include <ft2build.h>
30081
#include FT_FREETYPE_H
30083
if test "x$ac_cv_member_FT_Bitmap_Size_y_ppem" = x""yes; then :
30084
HAVE_FT_BITMAP_SIZE_Y_PPEM=1
30086
HAVE_FT_BITMAP_SIZE_Y_PPEM=0
30090
cat >>confdefs.h <<_ACEOF
30091
#define HAVE_FT_BITMAP_SIZE_Y_PPEM $HAVE_FT_BITMAP_SIZE_Y_PPEM
30095
for ac_func in FT_GlyphSlot_Embolden FT_Load_Sfnt_Table FT_Library_SetLcdFilter
30097
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30098
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30099
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30100
cat >>confdefs.h <<_ACEOF
30101
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30109
CFLAGS="$_save_cflags"
30112
if test "x$use_fc" = "xyes"; then
30113
_save_cflags="$CFLAGS"
30115
CFLAGS="$CFLAGS $FONTCONFIG_CFLAGS"
30116
LIBS="$LIBS $FONTCONFIG_LIBS"
30117
for ac_func in FcInit FcFini
30119
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30120
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30121
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30122
cat >>confdefs.h <<_ACEOF
30123
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30129
CFLAGS="$_save_cflags"
30135
# Check whether --enable-ps was given.
30136
if test "${enable_ps+set}" = set; then :
30137
enableval=$enable_ps; enable_ps=$enableval
30142
case $enable_ps in #(
30144
use_ps="no (disabled, use --enable-ps to enable)"
30147
if test "x$cairo_cv_ps_cache_version" != "x6" -o \
30148
"x$cairo_cv_ps_cache_commands_len" != "x88" -o \
30149
"x$cairo_cv_ps_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
30150
unset cairo_cv_ps_use
30152
if test "x$enable_ps" = xyes -a "x$cairo_cv_ps_use" != xyes; then :
30153
unset cairo_cv_ps_use
30156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's PostScript surface backend feature" >&5
30157
$as_echo_n "checking for cairo's PostScript surface backend feature... " >&6; }
30158
if test "${cairo_cv_ps_use+set}" = set; then :
30159
$as_echo_n "(cached) " >&6
30164
ps_REQUIRES="$ac_env_ps_REQUIRES_value"
30165
ps_CFLAGS="$ac_env_ps_CFLAGS_value"
30166
ps_NONPKGCONFIG_CFLAGS="$ac_env_ps_NONPKGCONFIG_CFLAGS_value"
30167
ps_LIBS="$ac_env_ps_LIBS_value"
30168
ps_NONPKGCONFIG_LIBS="$ac_env_ps_NONPKGCONFIG_LIBS_value"
30169
ps_NONPKGCONFIG_EXTRA_LIBS="$ac_env_ps_NONPKGCONFIG_EXTRA_LIBS_value"
30172
# The ps backend requires zlib.
30174
ps_NONPKGCONFIG_LIBS=-lz
30176
cairo_cv_ps_use=$use_ps
30177
cairo_cv_ps_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
30178
cairo_cv_ps_cache_commands_len="88"
30179
cairo_cv_ps_cache_version="6"
30180
cairo_cv_ps_BASE=$ps_BASE
30181
cairo_cv_ps_REQUIRES=$ps_REQUIRES
30182
cairo_cv_ps_CFLAGS=$ps_CFLAGS
30183
cairo_cv_ps_NONPKGCONFIG_CFLAGS=$ps_NONPKGCONFIG_CFLAGS
30184
cairo_cv_ps_LIBS=$ps_LIBS
30185
cairo_cv_ps_NONPKGCONFIG_LIBS=$ps_NONPKGCONFIG_LIBS
30186
cairo_cv_ps_NONPKGCONFIG_EXTRA_LIBS=$ps_NONPKGCONFIG_EXTRA_LIBS
30188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's PostScript surface backend feature could be enabled" >&5
30189
$as_echo_n "checking whether cairo's PostScript surface backend feature could be enabled... " >&6; }
30192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_ps_use" >&5
30193
$as_echo "$cairo_cv_ps_use" >&6; }
30194
use_ps=$cairo_cv_ps_use
30196
if test "x$enable_ps" = "xyes" -a "x$use_ps" != xyes; then :
30197
as_fn_error $? "recommended PostScript surface backend feature could not be enabled" "$LINENO" 5
30201
as_fn_error $? "invalid argument passed to --enable-ps: \`$use_ps', should be one of [no/auto/yes]" "$LINENO" 5
30204
if test "x$use_ps" = "xyes"; then :
30205
ps_BASE=$cairo_cv_ps_BASE
30206
ps_REQUIRES=$cairo_cv_ps_REQUIRES
30207
ps_CFLAGS=$cairo_cv_ps_CFLAGS
30208
ps_NONPKGCONFIG_CFLAGS=$cairo_cv_ps_NONPKGCONFIG_CFLAGS
30209
ps_LIBS=$cairo_cv_ps_LIBS
30210
ps_NONPKGCONFIG_LIBS=$cairo_cv_ps_NONPKGCONFIG_LIBS
30211
ps_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_ps_NONPKGCONFIG_EXTRA_LIBS
30213
CAIRO_REQUIRES="$ps_REQUIRES"" ${CAIRO_REQUIRES}"
30215
CAIRO_CFLAGS="$ps_CFLAGS"" ${CAIRO_CFLAGS}"
30217
CAIRO_NONPKGCONFIG_CFLAGS="$ps_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
30219
CAIRO_LIBS="$ps_LIBS"" ${CAIRO_LIBS}"
30221
CAIRO_NONPKGCONFIG_LIBS="$ps_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
30225
ps_BASE=$cairo_cv_ps_BASE
30226
ps_REQUIRES=$cairo_cv_ps_REQUIRES
30227
ps_CFLAGS=$cairo_cv_ps_CFLAGS
30228
ps_NONPKGCONFIG_CFLAGS=$cairo_cv_ps_NONPKGCONFIG_CFLAGS
30229
ps_LIBS=$cairo_cv_ps_LIBS
30230
ps_NONPKGCONFIG_LIBS=$cairo_cv_ps_NONPKGCONFIG_LIBS
30231
ps_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_ps_NONPKGCONFIG_EXTRA_LIBS
30236
if test "x$use_ps" = xyes; then
30237
CAIRO_HAS_PS_SURFACE_TRUE=
30238
CAIRO_HAS_PS_SURFACE_FALSE='#'
30240
CAIRO_HAS_PS_SURFACE_TRUE='#'
30241
CAIRO_HAS_PS_SURFACE_FALSE=
30245
cr_make_tmp='CAIRO_HAS_PS_SURFACE=1'
30246
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
30251
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30254
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30257
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30260
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30264
cr_make_tmp='supported_cairo_headers += $(cairo_ps_headers)'
30265
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30268
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30270
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_ps_headers)'
30271
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30274
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30279
cr_make_tmp='all_cairo_headers += $(cairo_ps_headers)
30280
all_cairo_private += $(cairo_ps_private)
30281
all_cairo_cxx_sources += $(cairo_ps_cxx_sources)
30282
all_cairo_sources += $(cairo_ps_sources)'
30283
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30286
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30288
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_ps_headers)
30289
all_cairo_boilerplate_private += $(cairo_boilerplate_ps_private)
30290
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ps_cxx_sources)
30291
all_cairo_boilerplate_sources += $(cairo_boilerplate_ps_sources)'
30292
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30295
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30299
cr_make_tmp='enabled_cairo_headers += $(cairo_ps_headers)
30300
enabled_cairo_private += $(cairo_ps_private)
30301
enabled_cairo_cxx_sources += $(cairo_ps_cxx_sources)
30302
enabled_cairo_sources += $(cairo_ps_sources)'
30303
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30304
"'if CAIRO_HAS_PS_SURFACE'
30305
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30307
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30310
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30311
"'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
30312
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30314
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30316
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_ps_headers)
30317
enabled_cairo_boilerplate_private += $(cairo_boilerplate_ps_private)
30318
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_ps_cxx_sources)
30319
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_ps_sources)'
30320
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30321
"'if CAIRO_HAS_PS_SURFACE'
30322
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30324
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30327
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30328
"'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
30329
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30331
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30337
if test "x$use_ps" = xyes; then :
30339
ac_config_files="$ac_config_files src/cairo-ps.pc:src/cairo-features.pc.in"
30343
if test "x$use_ps" = xyes; then :
30345
ac_config_files="$ac_config_files cairo-ps-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
30349
cr_make_tmp='all_cairo_pkgconf += cairo-ps.pc'
30350
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30353
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30357
cr_make_tmp='enabled_cairo_pkgconf += cairo-ps.pc'
30358
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30359
"'if CAIRO_HAS_PS_SURFACE'
30360
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30362
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30365
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30366
"'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
30367
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30369
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30373
if test "x$use_ps" = xyes; then :
30375
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_PS_SURFACE'
30379
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_PS_SURFACE'
30383
if test "x$use_ps" != xyes; then :
30385
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_PS_SURFACE'
30391
cr_make_tmp=' @echo "#define CAIRO_HAS_PS_SURFACE 1" >> src/cairo-features.h'
30392
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30393
"'ifeq ($(CAIRO_HAS_PS_SURFACE),1)'
30394
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30396
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30401
if test "x$use_ps" != xyes; then :
30403
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
30405
"'+++ It is strongly recommended that you do NOT disable the PostScript surface
30406
+++ backend feature.'
30416
SPECTRE_VERSION_REQUIRED=0.2.0
30419
if test "x$use_ps" = "xyes"; then
30420
# Extract the first word of "gs", so it can be a program name with args.
30421
set dummy gs; ac_word=$2
30422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30423
$as_echo_n "checking for $ac_word... " >&6; }
30424
if test "${ac_cv_prog_GS+set}" = set; then :
30425
$as_echo_n "(cached) " >&6
30427
if test -n "$GS"; then
30428
ac_cv_prog_GS="$GS" # Let the user override the test.
30430
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30431
for as_dir in $PATH
30434
test -z "$as_dir" && as_dir=.
30435
for ac_exec_ext in '' $ac_executable_extensions; do
30436
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30438
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30448
if test -n "$GS"; then
30449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
30450
$as_echo "$GS" >&6; }
30452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30453
$as_echo "no" >&6; }
30457
if test "$GS"; then
30459
$as_echo "#define CAIRO_CAN_TEST_PS_SURFACE 1" >>confdefs.h
30463
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PS backend will not be tested since ghostscript is not available" >&5
30464
$as_echo "$as_me: WARNING: PS backend will not be tested since ghostscript is not available" >&2;}
30465
test_ps="no (requires ghostscript)"
30468
libspectre_DEPENDENCY="libspectre >= $SPECTRE_VERSION_REQUIRED"
30471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSPECTRE" >&5
30472
$as_echo_n "checking for LIBSPECTRE... " >&6; }
30474
if test -n "$LIBSPECTRE_CFLAGS"; then
30475
pkg_cv_LIBSPECTRE_CFLAGS="$LIBSPECTRE_CFLAGS"
30476
elif test -n "$PKG_CONFIG"; then
30477
if test -n "$PKG_CONFIG" && \
30478
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libspectre_DEPENDENCY\""; } >&5
30479
($PKG_CONFIG --exists --print-errors "$libspectre_DEPENDENCY") 2>&5
30481
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30482
test $ac_status = 0; }; then
30483
pkg_cv_LIBSPECTRE_CFLAGS=`$PKG_CONFIG --cflags "$libspectre_DEPENDENCY" 2>/dev/null`
30490
if test -n "$LIBSPECTRE_LIBS"; then
30491
pkg_cv_LIBSPECTRE_LIBS="$LIBSPECTRE_LIBS"
30492
elif test -n "$PKG_CONFIG"; then
30493
if test -n "$PKG_CONFIG" && \
30494
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libspectre_DEPENDENCY\""; } >&5
30495
($PKG_CONFIG --exists --print-errors "$libspectre_DEPENDENCY") 2>&5
30497
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30498
test $ac_status = 0; }; then
30499
pkg_cv_LIBSPECTRE_LIBS=`$PKG_CONFIG --libs "$libspectre_DEPENDENCY" 2>/dev/null`
30509
if test $pkg_failed = yes; then
30511
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30512
_pkg_short_errors_supported=yes
30514
_pkg_short_errors_supported=no
30516
if test $_pkg_short_errors_supported = yes; then
30517
LIBSPECTRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$libspectre_DEPENDENCY" 2>&1`
30519
LIBSPECTRE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$libspectre_DEPENDENCY" 2>&1`
30521
# Put the nasty error message in config.log where it belongs
30522
echo "$LIBSPECTRE_PKG_ERRORS" >&5
30524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30525
$as_echo "no" >&6; }
30526
test_ps="no (requires libspectre)"
30527
elif test $pkg_failed = untried; then
30528
test_ps="no (requires libspectre)"
30530
LIBSPECTRE_CFLAGS=$pkg_cv_LIBSPECTRE_CFLAGS
30531
LIBSPECTRE_LIBS=$pkg_cv_LIBSPECTRE_LIBS
30532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30533
$as_echo "yes" >&6; }
30538
if test "x$test_ps" = "xyes"; then
30539
CAIRO_CAN_TEST_PS_SURFACE_TRUE=
30540
CAIRO_CAN_TEST_PS_SURFACE_FALSE='#'
30542
CAIRO_CAN_TEST_PS_SURFACE_TRUE='#'
30543
CAIRO_CAN_TEST_PS_SURFACE_FALSE=
30546
if test "x$any2ppm_ps" = "xyes"; then
30547
CAIRO_HAS_SPECTRE_TRUE=
30548
CAIRO_HAS_SPECTRE_FALSE='#'
30550
CAIRO_HAS_SPECTRE_TRUE='#'
30551
CAIRO_HAS_SPECTRE_FALSE=
30554
if test "x$any2ppm_ps" = "xyes"; then
30556
$as_echo "#define CAIRO_HAS_SPECTRE 1" >>confdefs.h
30563
# Check whether --enable-pdf was given.
30564
if test "${enable_pdf+set}" = set; then :
30565
enableval=$enable_pdf; enable_pdf=$enableval
30570
case $enable_pdf in #(
30572
use_pdf="no (disabled, use --enable-pdf to enable)"
30575
if test "x$cairo_cv_pdf_cache_version" != "x6" -o \
30576
"x$cairo_cv_pdf_cache_commands_len" != "x91" -o \
30577
"x$cairo_cv_pdf_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
30578
unset cairo_cv_pdf_use
30580
if test "x$enable_pdf" = xyes -a "x$cairo_cv_pdf_use" != xyes; then :
30581
unset cairo_cv_pdf_use
30584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's PDF surface backend feature" >&5
30585
$as_echo_n "checking for cairo's PDF surface backend feature... " >&6; }
30586
if test "${cairo_cv_pdf_use+set}" = set; then :
30587
$as_echo_n "(cached) " >&6
30592
pdf_REQUIRES="$ac_env_pdf_REQUIRES_value"
30593
pdf_CFLAGS="$ac_env_pdf_CFLAGS_value"
30594
pdf_NONPKGCONFIG_CFLAGS="$ac_env_pdf_NONPKGCONFIG_CFLAGS_value"
30595
pdf_LIBS="$ac_env_pdf_LIBS_value"
30596
pdf_NONPKGCONFIG_LIBS="$ac_env_pdf_NONPKGCONFIG_LIBS_value"
30597
pdf_NONPKGCONFIG_EXTRA_LIBS="$ac_env_pdf_NONPKGCONFIG_EXTRA_LIBS_value"
30600
# The pdf backend requires zlib.
30602
pdf_NONPKGCONFIG_LIBS=-lz
30604
cairo_cv_pdf_use=$use_pdf
30605
cairo_cv_pdf_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
30606
cairo_cv_pdf_cache_commands_len="91"
30607
cairo_cv_pdf_cache_version="6"
30608
cairo_cv_pdf_BASE=$pdf_BASE
30609
cairo_cv_pdf_REQUIRES=$pdf_REQUIRES
30610
cairo_cv_pdf_CFLAGS=$pdf_CFLAGS
30611
cairo_cv_pdf_NONPKGCONFIG_CFLAGS=$pdf_NONPKGCONFIG_CFLAGS
30612
cairo_cv_pdf_LIBS=$pdf_LIBS
30613
cairo_cv_pdf_NONPKGCONFIG_LIBS=$pdf_NONPKGCONFIG_LIBS
30614
cairo_cv_pdf_NONPKGCONFIG_EXTRA_LIBS=$pdf_NONPKGCONFIG_EXTRA_LIBS
30616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's PDF surface backend feature could be enabled" >&5
30617
$as_echo_n "checking whether cairo's PDF surface backend feature could be enabled... " >&6; }
30620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_pdf_use" >&5
30621
$as_echo "$cairo_cv_pdf_use" >&6; }
30622
use_pdf=$cairo_cv_pdf_use
30624
if test "x$enable_pdf" = "xyes" -a "x$use_pdf" != xyes; then :
30625
as_fn_error $? "recommended PDF surface backend feature could not be enabled" "$LINENO" 5
30629
as_fn_error $? "invalid argument passed to --enable-pdf: \`$use_pdf', should be one of [no/auto/yes]" "$LINENO" 5
30632
if test "x$use_pdf" = "xyes"; then :
30633
pdf_BASE=$cairo_cv_pdf_BASE
30634
pdf_REQUIRES=$cairo_cv_pdf_REQUIRES
30635
pdf_CFLAGS=$cairo_cv_pdf_CFLAGS
30636
pdf_NONPKGCONFIG_CFLAGS=$cairo_cv_pdf_NONPKGCONFIG_CFLAGS
30637
pdf_LIBS=$cairo_cv_pdf_LIBS
30638
pdf_NONPKGCONFIG_LIBS=$cairo_cv_pdf_NONPKGCONFIG_LIBS
30639
pdf_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_pdf_NONPKGCONFIG_EXTRA_LIBS
30641
CAIRO_REQUIRES="$pdf_REQUIRES"" ${CAIRO_REQUIRES}"
30643
CAIRO_CFLAGS="$pdf_CFLAGS"" ${CAIRO_CFLAGS}"
30645
CAIRO_NONPKGCONFIG_CFLAGS="$pdf_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
30647
CAIRO_LIBS="$pdf_LIBS"" ${CAIRO_LIBS}"
30649
CAIRO_NONPKGCONFIG_LIBS="$pdf_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
30653
pdf_BASE=$cairo_cv_pdf_BASE
30654
pdf_REQUIRES=$cairo_cv_pdf_REQUIRES
30655
pdf_CFLAGS=$cairo_cv_pdf_CFLAGS
30656
pdf_NONPKGCONFIG_CFLAGS=$cairo_cv_pdf_NONPKGCONFIG_CFLAGS
30657
pdf_LIBS=$cairo_cv_pdf_LIBS
30658
pdf_NONPKGCONFIG_LIBS=$cairo_cv_pdf_NONPKGCONFIG_LIBS
30659
pdf_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_pdf_NONPKGCONFIG_EXTRA_LIBS
30664
if test "x$use_pdf" = xyes; then
30665
CAIRO_HAS_PDF_SURFACE_TRUE=
30666
CAIRO_HAS_PDF_SURFACE_FALSE='#'
30668
CAIRO_HAS_PDF_SURFACE_TRUE='#'
30669
CAIRO_HAS_PDF_SURFACE_FALSE=
30673
cr_make_tmp='CAIRO_HAS_PDF_SURFACE=1'
30674
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
30679
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30682
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30685
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30688
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30692
cr_make_tmp='supported_cairo_headers += $(cairo_pdf_headers)'
30693
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30696
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30698
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_pdf_headers)'
30699
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30702
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30707
cr_make_tmp='all_cairo_headers += $(cairo_pdf_headers)
30708
all_cairo_private += $(cairo_pdf_private)
30709
all_cairo_cxx_sources += $(cairo_pdf_cxx_sources)
30710
all_cairo_sources += $(cairo_pdf_sources)'
30711
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30714
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30716
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_pdf_headers)
30717
all_cairo_boilerplate_private += $(cairo_boilerplate_pdf_private)
30718
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pdf_cxx_sources)
30719
all_cairo_boilerplate_sources += $(cairo_boilerplate_pdf_sources)'
30720
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30723
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30727
cr_make_tmp='enabled_cairo_headers += $(cairo_pdf_headers)
30728
enabled_cairo_private += $(cairo_pdf_private)
30729
enabled_cairo_cxx_sources += $(cairo_pdf_cxx_sources)
30730
enabled_cairo_sources += $(cairo_pdf_sources)'
30731
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30732
"'if CAIRO_HAS_PDF_SURFACE'
30733
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30735
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30738
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30739
"'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
30740
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30742
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30744
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_pdf_headers)
30745
enabled_cairo_boilerplate_private += $(cairo_boilerplate_pdf_private)
30746
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pdf_cxx_sources)
30747
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_pdf_sources)'
30748
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30749
"'if CAIRO_HAS_PDF_SURFACE'
30750
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30752
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
30755
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30756
"'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
30757
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30759
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
30765
if test "x$use_pdf" = xyes; then :
30767
ac_config_files="$ac_config_files src/cairo-pdf.pc:src/cairo-features.pc.in"
30771
if test "x$use_pdf" = xyes; then :
30773
ac_config_files="$ac_config_files cairo-pdf-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
30777
cr_make_tmp='all_cairo_pkgconf += cairo-pdf.pc'
30778
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30781
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30785
cr_make_tmp='enabled_cairo_pkgconf += cairo-pdf.pc'
30786
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30787
"'if CAIRO_HAS_PDF_SURFACE'
30788
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30790
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
30793
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30794
"'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
30795
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30797
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
30801
if test "x$use_pdf" = xyes; then :
30803
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_PDF_SURFACE'
30807
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_PDF_SURFACE'
30811
if test "x$use_pdf" != xyes; then :
30813
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_PDF_SURFACE'
30819
cr_make_tmp=' @echo "#define CAIRO_HAS_PDF_SURFACE 1" >> src/cairo-features.h'
30820
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30821
"'ifeq ($(CAIRO_HAS_PDF_SURFACE),1)'
30822
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30824
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
30829
if test "x$use_pdf" != xyes; then :
30831
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
30833
"'+++ It is strongly recommended that you do NOT disable the PDF surface
30834
+++ backend feature.'
30844
# poppler-0.9.2 has an important bug fixes for user-font and an
30845
# enhancement not to gobble nearly 1GiB of memory during test/large-font.
30846
POPPLER_VERSION_REQUIRED=0.13.3
30849
if test "x$use_pdf" = "xyes"; then
30850
poppler_DEPENDENCY="poppler-glib >= $POPPLER_VERSION_REQUIRED"
30853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER" >&5
30854
$as_echo_n "checking for POPPLER... " >&6; }
30856
if test -n "$POPPLER_CFLAGS"; then
30857
pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
30858
elif test -n "$PKG_CONFIG"; then
30859
if test -n "$PKG_CONFIG" && \
30860
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$poppler_DEPENDENCY\""; } >&5
30861
($PKG_CONFIG --exists --print-errors "$poppler_DEPENDENCY") 2>&5
30863
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30864
test $ac_status = 0; }; then
30865
pkg_cv_POPPLER_CFLAGS=`$PKG_CONFIG --cflags "$poppler_DEPENDENCY" 2>/dev/null`
30872
if test -n "$POPPLER_LIBS"; then
30873
pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
30874
elif test -n "$PKG_CONFIG"; then
30875
if test -n "$PKG_CONFIG" && \
30876
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$poppler_DEPENDENCY\""; } >&5
30877
($PKG_CONFIG --exists --print-errors "$poppler_DEPENDENCY") 2>&5
30879
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30880
test $ac_status = 0; }; then
30881
pkg_cv_POPPLER_LIBS=`$PKG_CONFIG --libs "$poppler_DEPENDENCY" 2>/dev/null`
30891
if test $pkg_failed = yes; then
30893
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30894
_pkg_short_errors_supported=yes
30896
_pkg_short_errors_supported=no
30898
if test $_pkg_short_errors_supported = yes; then
30899
POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$poppler_DEPENDENCY" 2>&1`
30901
POPPLER_PKG_ERRORS=`$PKG_CONFIG --print-errors "$poppler_DEPENDENCY" 2>&1`
30903
# Put the nasty error message in config.log where it belongs
30904
echo "$POPPLER_PKG_ERRORS" >&5
30906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30907
$as_echo "no" >&6; }
30908
test_pdf="no (requires $poppler_DEPENDENCY)"
30909
elif test $pkg_failed = untried; then
30910
test_pdf="no (requires $poppler_DEPENDENCY)"
30912
POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
30913
POPPLER_LIBS=$pkg_cv_POPPLER_LIBS
30914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30915
$as_echo "yes" >&6; }
30916
_save_cflags="$CFLAGS"
30918
CFLAGS="$CFLAGS $POPPLER_CFLAGS"
30919
LIBS="$LIBS $POPPLER_LIBS"
30920
for ac_func in poppler_page_render
30922
ac_fn_c_check_func "$LINENO" "poppler_page_render" "ac_cv_func_poppler_page_render"
30923
if test "x$ac_cv_func_poppler_page_render" = x""yes; then :
30924
cat >>confdefs.h <<_ACEOF
30925
#define HAVE_POPPLER_PAGE_RENDER 1
30927
test_pdf=yes; any2ppm_pdf=yes
30929
test_pdf="no (requires $poppler_DEPENDENCY)"
30933
CFLAGS="$_save_cflags"
30937
if test "x$test_pdf" = "xyes"; then
30939
$as_echo "#define CAIRO_CAN_TEST_PDF_SURFACE 1" >>confdefs.h
30942
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PDF backend will not be tested since poppler >= $POPPLER_VERSION_REQUIRED is not available" >&5
30943
$as_echo "$as_me: WARNING: PDF backend will not be tested since poppler >= $POPPLER_VERSION_REQUIRED is not available" >&2;}
30947
if test "x$test_pdf" = "xyes"; then
30948
CAIRO_CAN_TEST_PDF_SURFACE_TRUE=
30949
CAIRO_CAN_TEST_PDF_SURFACE_FALSE='#'
30951
CAIRO_CAN_TEST_PDF_SURFACE_TRUE='#'
30952
CAIRO_CAN_TEST_PDF_SURFACE_FALSE=
30958
if test "x$use_ps" = "xyes" -o "x$use_pdf" = "xyes"; then
30959
CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE=
30960
CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE='#'
30962
CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE='#'
30963
CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE=
30968
# Check whether --enable-svg was given.
30969
if test "${enable_svg+set}" = set; then :
30970
enableval=$enable_svg; enable_svg=$enableval
30975
case $enable_svg in #(
30977
use_svg="no (disabled, use --enable-svg to enable)"
30980
if test "x$cairo_cv_svg_cache_version" != "x6" -o \
30981
"x$cairo_cv_svg_cache_commands_len" != "x85" -o \
30982
"x$cairo_cv_svg_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
30983
unset cairo_cv_svg_use
30985
if test "x$enable_svg" = xyes -a "x$cairo_cv_svg_use" != xyes; then :
30986
unset cairo_cv_svg_use
30989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's SVG surface backend feature" >&5
30990
$as_echo_n "checking for cairo's SVG surface backend feature... " >&6; }
30991
if test "${cairo_cv_svg_use+set}" = set; then :
30992
$as_echo_n "(cached) " >&6
30997
svg_REQUIRES="$ac_env_svg_REQUIRES_value"
30998
svg_CFLAGS="$ac_env_svg_CFLAGS_value"
30999
svg_NONPKGCONFIG_CFLAGS="$ac_env_svg_NONPKGCONFIG_CFLAGS_value"
31000
svg_LIBS="$ac_env_svg_LIBS_value"
31001
svg_NONPKGCONFIG_LIBS="$ac_env_svg_NONPKGCONFIG_LIBS_value"
31002
svg_NONPKGCONFIG_EXTRA_LIBS="$ac_env_svg_NONPKGCONFIG_EXTRA_LIBS_value"
31005
if test "x$use_png" != "xyes"; then
31006
use_svg="no (requires --enable-png)"
31009
cairo_cv_svg_use=$use_svg
31010
cairo_cv_svg_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
31011
cairo_cv_svg_cache_commands_len="85"
31012
cairo_cv_svg_cache_version="6"
31013
cairo_cv_svg_BASE=$svg_BASE
31014
cairo_cv_svg_REQUIRES=$svg_REQUIRES
31015
cairo_cv_svg_CFLAGS=$svg_CFLAGS
31016
cairo_cv_svg_NONPKGCONFIG_CFLAGS=$svg_NONPKGCONFIG_CFLAGS
31017
cairo_cv_svg_LIBS=$svg_LIBS
31018
cairo_cv_svg_NONPKGCONFIG_LIBS=$svg_NONPKGCONFIG_LIBS
31019
cairo_cv_svg_NONPKGCONFIG_EXTRA_LIBS=$svg_NONPKGCONFIG_EXTRA_LIBS
31021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's SVG surface backend feature could be enabled" >&5
31022
$as_echo_n "checking whether cairo's SVG surface backend feature could be enabled... " >&6; }
31025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_svg_use" >&5
31026
$as_echo "$cairo_cv_svg_use" >&6; }
31027
use_svg=$cairo_cv_svg_use
31029
if test "x$enable_svg" = "xyes" -a "x$use_svg" != xyes; then :
31030
as_fn_error $? "recommended SVG surface backend feature could not be enabled" "$LINENO" 5
31034
as_fn_error $? "invalid argument passed to --enable-svg: \`$use_svg', should be one of [no/auto/yes]" "$LINENO" 5
31037
if test "x$use_svg" = "xyes"; then :
31038
svg_BASE=$cairo_cv_svg_BASE
31039
svg_REQUIRES=$cairo_cv_svg_REQUIRES
31040
svg_CFLAGS=$cairo_cv_svg_CFLAGS
31041
svg_NONPKGCONFIG_CFLAGS=$cairo_cv_svg_NONPKGCONFIG_CFLAGS
31042
svg_LIBS=$cairo_cv_svg_LIBS
31043
svg_NONPKGCONFIG_LIBS=$cairo_cv_svg_NONPKGCONFIG_LIBS
31044
svg_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_svg_NONPKGCONFIG_EXTRA_LIBS
31046
CAIRO_REQUIRES="$svg_REQUIRES"" ${CAIRO_REQUIRES}"
31048
CAIRO_CFLAGS="$svg_CFLAGS"" ${CAIRO_CFLAGS}"
31050
CAIRO_NONPKGCONFIG_CFLAGS="$svg_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31052
CAIRO_LIBS="$svg_LIBS"" ${CAIRO_LIBS}"
31054
CAIRO_NONPKGCONFIG_LIBS="$svg_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31058
svg_BASE=$cairo_cv_svg_BASE
31059
svg_REQUIRES=$cairo_cv_svg_REQUIRES
31060
svg_CFLAGS=$cairo_cv_svg_CFLAGS
31061
svg_NONPKGCONFIG_CFLAGS=$cairo_cv_svg_NONPKGCONFIG_CFLAGS
31062
svg_LIBS=$cairo_cv_svg_LIBS
31063
svg_NONPKGCONFIG_LIBS=$cairo_cv_svg_NONPKGCONFIG_LIBS
31064
svg_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_svg_NONPKGCONFIG_EXTRA_LIBS
31069
if test "x$use_svg" = xyes; then
31070
CAIRO_HAS_SVG_SURFACE_TRUE=
31071
CAIRO_HAS_SVG_SURFACE_FALSE='#'
31073
CAIRO_HAS_SVG_SURFACE_TRUE='#'
31074
CAIRO_HAS_SVG_SURFACE_FALSE=
31078
cr_make_tmp='CAIRO_HAS_SVG_SURFACE=1'
31079
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
31084
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31087
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31090
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31093
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31097
cr_make_tmp='supported_cairo_headers += $(cairo_svg_headers)'
31098
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31101
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31103
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_svg_headers)'
31104
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31107
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31112
cr_make_tmp='all_cairo_headers += $(cairo_svg_headers)
31113
all_cairo_private += $(cairo_svg_private)
31114
all_cairo_cxx_sources += $(cairo_svg_cxx_sources)
31115
all_cairo_sources += $(cairo_svg_sources)'
31116
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31119
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31121
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_svg_headers)
31122
all_cairo_boilerplate_private += $(cairo_boilerplate_svg_private)
31123
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_svg_cxx_sources)
31124
all_cairo_boilerplate_sources += $(cairo_boilerplate_svg_sources)'
31125
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31128
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31132
cr_make_tmp='enabled_cairo_headers += $(cairo_svg_headers)
31133
enabled_cairo_private += $(cairo_svg_private)
31134
enabled_cairo_cxx_sources += $(cairo_svg_cxx_sources)
31135
enabled_cairo_sources += $(cairo_svg_sources)'
31136
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31137
"'if CAIRO_HAS_SVG_SURFACE'
31138
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31140
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31143
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31144
"'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
31145
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31147
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31149
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_svg_headers)
31150
enabled_cairo_boilerplate_private += $(cairo_boilerplate_svg_private)
31151
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_svg_cxx_sources)
31152
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_svg_sources)'
31153
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31154
"'if CAIRO_HAS_SVG_SURFACE'
31155
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31157
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31160
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31161
"'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
31162
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31164
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31170
if test "x$use_svg" = xyes; then :
31172
ac_config_files="$ac_config_files src/cairo-svg.pc:src/cairo-features.pc.in"
31176
if test "x$use_svg" = xyes; then :
31178
ac_config_files="$ac_config_files cairo-svg-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
31182
cr_make_tmp='all_cairo_pkgconf += cairo-svg.pc'
31183
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31186
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31190
cr_make_tmp='enabled_cairo_pkgconf += cairo-svg.pc'
31191
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31192
"'if CAIRO_HAS_SVG_SURFACE'
31193
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31195
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31198
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31199
"'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
31200
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31202
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31206
if test "x$use_svg" = xyes; then :
31208
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_SVG_SURFACE'
31212
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_SVG_SURFACE'
31216
if test "x$use_svg" != xyes; then :
31218
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_SVG_SURFACE'
31224
cr_make_tmp=' @echo "#define CAIRO_HAS_SVG_SURFACE 1" >> src/cairo-features.h'
31225
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31226
"'ifeq ($(CAIRO_HAS_SVG_SURFACE),1)'
31227
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31229
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31234
if test "x$use_svg" != xyes; then :
31236
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
31238
"'+++ It is strongly recommended that you do NOT disable the SVG surface
31239
+++ backend feature.'
31248
LIBRSVG_VERSION_REQUIRED=2.15.0
31251
if test "x$use_svg" = "xyes"; then
31252
librsvg_DEPENDENCY="librsvg-2.0 >= $LIBRSVG_VERSION_REQUIRED"
31255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRSVG" >&5
31256
$as_echo_n "checking for LIBRSVG... " >&6; }
31258
if test -n "$LIBRSVG_CFLAGS"; then
31259
pkg_cv_LIBRSVG_CFLAGS="$LIBRSVG_CFLAGS"
31260
elif test -n "$PKG_CONFIG"; then
31261
if test -n "$PKG_CONFIG" && \
31262
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$librsvg_DEPENDENCY gdk-2.0\""; } >&5
31263
($PKG_CONFIG --exists --print-errors "$librsvg_DEPENDENCY gdk-2.0") 2>&5
31265
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31266
test $ac_status = 0; }; then
31267
pkg_cv_LIBRSVG_CFLAGS=`$PKG_CONFIG --cflags "$librsvg_DEPENDENCY gdk-2.0" 2>/dev/null`
31274
if test -n "$LIBRSVG_LIBS"; then
31275
pkg_cv_LIBRSVG_LIBS="$LIBRSVG_LIBS"
31276
elif test -n "$PKG_CONFIG"; then
31277
if test -n "$PKG_CONFIG" && \
31278
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$librsvg_DEPENDENCY gdk-2.0\""; } >&5
31279
($PKG_CONFIG --exists --print-errors "$librsvg_DEPENDENCY gdk-2.0") 2>&5
31281
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31282
test $ac_status = 0; }; then
31283
pkg_cv_LIBRSVG_LIBS=`$PKG_CONFIG --libs "$librsvg_DEPENDENCY gdk-2.0" 2>/dev/null`
31293
if test $pkg_failed = yes; then
31295
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31296
_pkg_short_errors_supported=yes
31298
_pkg_short_errors_supported=no
31300
if test $_pkg_short_errors_supported = yes; then
31301
LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$librsvg_DEPENDENCY gdk-2.0" 2>&1`
31303
LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "$librsvg_DEPENDENCY gdk-2.0" 2>&1`
31305
# Put the nasty error message in config.log where it belongs
31306
echo "$LIBRSVG_PKG_ERRORS" >&5
31308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31309
$as_echo "no" >&6; }
31310
test_svg="no (requires $librsvg_DEPENDENCY)"
31311
elif test $pkg_failed = untried; then
31312
test_svg="no (requires $librsvg_DEPENDENCY)"
31314
LIBRSVG_CFLAGS=$pkg_cv_LIBRSVG_CFLAGS
31315
LIBRSVG_LIBS=$pkg_cv_LIBRSVG_LIBS
31316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31317
$as_echo "yes" >&6; }
31318
_save_cflags="$CFLAGS"
31320
CFLAGS="$CFLAGS $LIBRSVG_CFLAGS"
31321
LIBS="$LIBS $LIBRSVG_LIBS"
31322
for ac_func in rsvg_pixbuf_from_file
31324
ac_fn_c_check_func "$LINENO" "rsvg_pixbuf_from_file" "ac_cv_func_rsvg_pixbuf_from_file"
31325
if test "x$ac_cv_func_rsvg_pixbuf_from_file" = x""yes; then :
31326
cat >>confdefs.h <<_ACEOF
31327
#define HAVE_RSVG_PIXBUF_FROM_FILE 1
31329
test_svg=yes; any2ppm_svg=yes
31331
test_svg="no (requires $librsvg_DEPENDENCY)"
31335
CFLAGS="$_save_cflags"
31339
if test "x$test_svg" = "xyes"; then
31341
$as_echo "#define CAIRO_CAN_TEST_SVG_SURFACE 1" >>confdefs.h
31344
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SVG backend will not be tested since librsvg >= $LIBRSVG_VERSION_REQUIRED is not available" >&5
31345
$as_echo "$as_me: WARNING: SVG backend will not be tested since librsvg >= $LIBRSVG_VERSION_REQUIRED is not available" >&2;}
31349
if test "x$test_svg" = "xyes"; then
31350
CAIRO_CAN_TEST_SVG_SURFACE_TRUE=
31351
CAIRO_CAN_TEST_SVG_SURFACE_FALSE='#'
31353
CAIRO_CAN_TEST_SVG_SURFACE_TRUE='#'
31354
CAIRO_CAN_TEST_SVG_SURFACE_FALSE=
31361
# Check whether --enable-test-surfaces was given.
31362
if test "${enable_test_surfaces+set}" = set; then :
31363
enableval=$enable_test_surfaces; enable_test_surfaces=$enableval
31365
enable_test_surfaces=no
31368
case $enable_test_surfaces in #(
31370
use_test_surfaces="no (disabled, use --enable-test-surfaces to enable)"
31373
if test "x$cairo_cv_test_surfaces_cache_version" != "x6" -o \
31374
"x$cairo_cv_test_surfaces_cache_commands_len" != "x0" -o \
31375
"x$cairo_cv_test_surfaces_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
31376
unset cairo_cv_test_surfaces_use
31378
if test "x$enable_test_surfaces" = xyes -a "x$cairo_cv_test_surfaces_use" != xyes; then :
31379
unset cairo_cv_test_surfaces_use
31382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's test surfaces feature" >&5
31383
$as_echo_n "checking for cairo's test surfaces feature... " >&6; }
31384
if test "${cairo_cv_test_surfaces_use+set}" = set; then :
31385
$as_echo_n "(cached) " >&6
31388
use_test_surfaces=yes
31389
test_surfaces_BASE="cairo"
31390
test_surfaces_REQUIRES="$ac_env_test_surfaces_REQUIRES_value"
31391
test_surfaces_CFLAGS="$ac_env_test_surfaces_CFLAGS_value"
31392
test_surfaces_NONPKGCONFIG_CFLAGS="$ac_env_test_surfaces_NONPKGCONFIG_CFLAGS_value"
31393
test_surfaces_LIBS="$ac_env_test_surfaces_LIBS_value"
31394
test_surfaces_NONPKGCONFIG_LIBS="$ac_env_test_surfaces_NONPKGCONFIG_LIBS_value"
31395
test_surfaces_NONPKGCONFIG_EXTRA_LIBS="$ac_env_test_surfaces_NONPKGCONFIG_EXTRA_LIBS_value"
31398
cairo_cv_test_surfaces_use=$use_test_surfaces
31399
cairo_cv_test_surfaces_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
31400
cairo_cv_test_surfaces_cache_commands_len="0"
31401
cairo_cv_test_surfaces_cache_version="6"
31402
cairo_cv_test_surfaces_BASE=$test_surfaces_BASE
31403
cairo_cv_test_surfaces_REQUIRES=$test_surfaces_REQUIRES
31404
cairo_cv_test_surfaces_CFLAGS=$test_surfaces_CFLAGS
31405
cairo_cv_test_surfaces_NONPKGCONFIG_CFLAGS=$test_surfaces_NONPKGCONFIG_CFLAGS
31406
cairo_cv_test_surfaces_LIBS=$test_surfaces_LIBS
31407
cairo_cv_test_surfaces_NONPKGCONFIG_LIBS=$test_surfaces_NONPKGCONFIG_LIBS
31408
cairo_cv_test_surfaces_NONPKGCONFIG_EXTRA_LIBS=$test_surfaces_NONPKGCONFIG_EXTRA_LIBS
31410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's test surfaces feature could be enabled" >&5
31411
$as_echo_n "checking whether cairo's test surfaces feature could be enabled... " >&6; }
31414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_test_surfaces_use" >&5
31415
$as_echo "$cairo_cv_test_surfaces_use" >&6; }
31416
use_test_surfaces=$cairo_cv_test_surfaces_use
31418
if test "x$enable_test_surfaces" = "xyes" -a "x$use_test_surfaces" != xyes; then :
31419
as_fn_error $? " test surfaces feature could not be enabled" "$LINENO" 5
31423
as_fn_error $? "invalid argument passed to --enable-test-surfaces: \`$use_test_surfaces', should be one of [no/auto/yes]" "$LINENO" 5
31426
if test "x$use_test_surfaces" = "xyes"; then :
31427
test_surfaces_BASE=$cairo_cv_test_surfaces_BASE
31428
test_surfaces_REQUIRES=$cairo_cv_test_surfaces_REQUIRES
31429
test_surfaces_CFLAGS=$cairo_cv_test_surfaces_CFLAGS
31430
test_surfaces_NONPKGCONFIG_CFLAGS=$cairo_cv_test_surfaces_NONPKGCONFIG_CFLAGS
31431
test_surfaces_LIBS=$cairo_cv_test_surfaces_LIBS
31432
test_surfaces_NONPKGCONFIG_LIBS=$cairo_cv_test_surfaces_NONPKGCONFIG_LIBS
31433
test_surfaces_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_test_surfaces_NONPKGCONFIG_EXTRA_LIBS
31435
CAIRO_REQUIRES="$test_surfaces_REQUIRES"" ${CAIRO_REQUIRES}"
31437
CAIRO_CFLAGS="$test_surfaces_CFLAGS"" ${CAIRO_CFLAGS}"
31439
CAIRO_NONPKGCONFIG_CFLAGS="$test_surfaces_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31441
CAIRO_LIBS="$test_surfaces_LIBS"" ${CAIRO_LIBS}"
31443
CAIRO_NONPKGCONFIG_LIBS="$test_surfaces_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31447
test_surfaces_BASE=$cairo_cv_test_surfaces_BASE
31448
test_surfaces_REQUIRES=$cairo_cv_test_surfaces_REQUIRES
31449
test_surfaces_CFLAGS=$cairo_cv_test_surfaces_CFLAGS
31450
test_surfaces_NONPKGCONFIG_CFLAGS=$cairo_cv_test_surfaces_NONPKGCONFIG_CFLAGS
31451
test_surfaces_LIBS=$cairo_cv_test_surfaces_LIBS
31452
test_surfaces_NONPKGCONFIG_LIBS=$cairo_cv_test_surfaces_NONPKGCONFIG_LIBS
31453
test_surfaces_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_test_surfaces_NONPKGCONFIG_EXTRA_LIBS
31458
if test "x$use_test_surfaces" = xyes; then
31459
CAIRO_HAS_TEST_SURFACES_TRUE=
31460
CAIRO_HAS_TEST_SURFACES_FALSE='#'
31462
CAIRO_HAS_TEST_SURFACES_TRUE='#'
31463
CAIRO_HAS_TEST_SURFACES_FALSE=
31467
cr_make_tmp='CAIRO_HAS_TEST_SURFACES=0'
31468
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
31473
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31476
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31479
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31482
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31490
cr_make_tmp='all_cairo_private += $(cairo_test_surfaces_private) $(cairo_test_surfaces_headers)
31491
all_cairo_cxx_sources += $(cairo_test_surfaces_cxx_sources)
31492
all_cairo_sources += $(cairo_test_surfaces_sources)'
31493
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31496
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31498
cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_test_surfaces_private) $(cairo_boilerplate_test_surfaces_headers)
31499
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_test_surfaces_cxx_sources)
31500
all_cairo_boilerplate_sources += $(cairo_boilerplate_test_surfaces_sources)'
31501
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31504
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31508
cr_make_tmp='enabled_cairo_private += $(cairo_test_surfaces_private) $(cairo_test_surfaces_headers)
31509
enabled_cairo_cxx_sources += $(cairo_test_surfaces_cxx_sources)
31510
enabled_cairo_sources += $(cairo_test_surfaces_sources)'
31511
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31512
"'if CAIRO_HAS_TEST_SURFACES'
31513
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31515
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31518
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31519
"'ifeq ($(CAIRO_HAS_TEST_SURFACES),1)'
31520
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31522
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31524
cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_test_surfaces_private) $(cairo_boilerplate_test_surfaces_headers)
31525
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_test_surfaces_cxx_sources)
31526
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_test_surfaces_sources)'
31527
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31528
"'if CAIRO_HAS_TEST_SURFACES'
31529
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31531
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31534
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31535
"'ifeq ($(CAIRO_HAS_TEST_SURFACES),1)'
31536
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31538
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31549
if test "x$use_test_surfaces" = xyes; then :
31552
$as_echo "#define CAIRO_HAS_TEST_SURFACES 1" >>confdefs.h
31557
cr_make_tmp=' @echo "#define CAIRO_HAS_TEST_SURFACES 1" >> src/cairo-features.h'
31558
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31559
"'ifeq ($(CAIRO_HAS_TEST_SURFACES),1)'
31560
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31562
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31574
case $enable_image in #(
31576
use_image="no (disabled, use --enable-image to enable)"
31579
if test "x$cairo_cv_image_cache_version" != "x6" -o \
31580
"x$cairo_cv_image_cache_commands_len" != "x279" -o \
31581
"x$cairo_cv_image_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
31582
unset cairo_cv_image_use
31584
if test "x$enable_image" = xyes -a "x$cairo_cv_image_use" != xyes; then :
31585
unset cairo_cv_image_use
31588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's image surface backend feature" >&5
31589
$as_echo_n "checking for cairo's image surface backend feature... " >&6; }
31590
if test "${cairo_cv_image_use+set}" = set; then :
31591
$as_echo_n "(cached) " >&6
31596
image_REQUIRES="$ac_env_image_REQUIRES_value"
31597
image_CFLAGS="$ac_env_image_CFLAGS_value"
31598
image_NONPKGCONFIG_CFLAGS="$ac_env_image_NONPKGCONFIG_CFLAGS_value"
31599
image_LIBS="$ac_env_image_LIBS_value"
31600
image_NONPKGCONFIG_LIBS="$ac_env_image_NONPKGCONFIG_LIBS_value"
31601
image_NONPKGCONFIG_EXTRA_LIBS="$ac_env_image_NONPKGCONFIG_EXTRA_LIBS_value"
31604
pixman_REQUIRES="pixman-1 >= 0.18.4"
31607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pixman" >&5
31608
$as_echo_n "checking for pixman... " >&6; }
31610
if test -n "$pixman_CFLAGS"; then
31611
pkg_cv_pixman_CFLAGS="$pixman_CFLAGS"
31612
elif test -n "$PKG_CONFIG"; then
31613
if test -n "$PKG_CONFIG" && \
31614
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pixman_REQUIRES\""; } >&5
31615
($PKG_CONFIG --exists --print-errors "$pixman_REQUIRES") 2>&5
31617
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31618
test $ac_status = 0; }; then
31619
pkg_cv_pixman_CFLAGS=`$PKG_CONFIG --cflags "$pixman_REQUIRES" 2>/dev/null`
31626
if test -n "$pixman_LIBS"; then
31627
pkg_cv_pixman_LIBS="$pixman_LIBS"
31628
elif test -n "$PKG_CONFIG"; then
31629
if test -n "$PKG_CONFIG" && \
31630
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pixman_REQUIRES\""; } >&5
31631
($PKG_CONFIG --exists --print-errors "$pixman_REQUIRES") 2>&5
31633
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31634
test $ac_status = 0; }; then
31635
pkg_cv_pixman_LIBS=`$PKG_CONFIG --libs "$pixman_REQUIRES" 2>/dev/null`
31645
if test $pkg_failed = yes; then
31647
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31648
_pkg_short_errors_supported=yes
31650
_pkg_short_errors_supported=no
31652
if test $_pkg_short_errors_supported = yes; then
31653
pixman_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pixman_REQUIRES" 2>&1`
31655
pixman_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pixman_REQUIRES" 2>&1`
31657
# Put the nasty error message in config.log where it belongs
31658
echo "$pixman_PKG_ERRORS" >&5
31660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31661
$as_echo "no" >&6; }
31662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31663
$as_echo "no" >&6; }
31664
use_image="no (requires $pixman_REQUIRES http://cairographics.org/releases/)"
31665
elif test $pkg_failed = untried; then
31666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31667
$as_echo "no" >&6; }
31668
use_image="no (requires $pixman_REQUIRES http://cairographics.org/releases/)"
31670
pixman_CFLAGS=$pkg_cv_pixman_CFLAGS
31671
pixman_LIBS=$pkg_cv_pixman_LIBS
31672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31673
$as_echo "yes" >&6; }
31676
image_REQUIRES=$pixman_REQUIRES
31677
image_CFLAGS=$pixman_CFLAGS
31678
image_LIBS=$pixman_LIBS
31680
cairo_cv_image_use=$use_image
31681
cairo_cv_image_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
31682
cairo_cv_image_cache_commands_len="279"
31683
cairo_cv_image_cache_version="6"
31684
cairo_cv_image_BASE=$image_BASE
31685
cairo_cv_image_REQUIRES=$image_REQUIRES
31686
cairo_cv_image_CFLAGS=$image_CFLAGS
31687
cairo_cv_image_NONPKGCONFIG_CFLAGS=$image_NONPKGCONFIG_CFLAGS
31688
cairo_cv_image_LIBS=$image_LIBS
31689
cairo_cv_image_NONPKGCONFIG_LIBS=$image_NONPKGCONFIG_LIBS
31690
cairo_cv_image_NONPKGCONFIG_EXTRA_LIBS=$image_NONPKGCONFIG_EXTRA_LIBS
31692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's image surface backend feature could be enabled" >&5
31693
$as_echo_n "checking whether cairo's image surface backend feature could be enabled... " >&6; }
31696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_image_use" >&5
31697
$as_echo "$cairo_cv_image_use" >&6; }
31698
use_image=$cairo_cv_image_use
31700
if test "x$enable_image" = "xyes" -a "x$use_image" != xyes; then :
31701
as_fn_error $? "mandatory image surface backend feature could not be enabled" "$LINENO" 5
31705
as_fn_error $? "invalid argument passed to --enable-image: \`$use_image', should be one of [no/auto/yes]" "$LINENO" 5
31708
if test "x$use_image" = "xyes"; then :
31709
image_BASE=$cairo_cv_image_BASE
31710
image_REQUIRES=$cairo_cv_image_REQUIRES
31711
image_CFLAGS=$cairo_cv_image_CFLAGS
31712
image_NONPKGCONFIG_CFLAGS=$cairo_cv_image_NONPKGCONFIG_CFLAGS
31713
image_LIBS=$cairo_cv_image_LIBS
31714
image_NONPKGCONFIG_LIBS=$cairo_cv_image_NONPKGCONFIG_LIBS
31715
image_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_image_NONPKGCONFIG_EXTRA_LIBS
31717
CAIRO_REQUIRES="$image_REQUIRES"" ${CAIRO_REQUIRES}"
31719
CAIRO_CFLAGS="$image_CFLAGS"" ${CAIRO_CFLAGS}"
31721
CAIRO_NONPKGCONFIG_CFLAGS="$image_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31723
CAIRO_LIBS="$image_LIBS"" ${CAIRO_LIBS}"
31725
CAIRO_NONPKGCONFIG_LIBS="$image_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31729
image_BASE=$cairo_cv_image_BASE
31730
image_REQUIRES=$cairo_cv_image_REQUIRES
31731
image_CFLAGS=$cairo_cv_image_CFLAGS
31732
image_NONPKGCONFIG_CFLAGS=$cairo_cv_image_NONPKGCONFIG_CFLAGS
31733
image_LIBS=$cairo_cv_image_LIBS
31734
image_NONPKGCONFIG_LIBS=$cairo_cv_image_NONPKGCONFIG_LIBS
31735
image_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_image_NONPKGCONFIG_EXTRA_LIBS
31743
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31746
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31749
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31752
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31756
cr_make_tmp='supported_cairo_headers += $(cairo_image_headers)'
31757
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31760
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31762
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_image_headers)'
31763
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31766
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31771
cr_make_tmp='all_cairo_headers += $(cairo_image_headers)
31772
all_cairo_private += $(cairo_image_private)
31773
all_cairo_cxx_sources += $(cairo_image_cxx_sources)
31774
all_cairo_sources += $(cairo_image_sources)'
31775
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31778
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31780
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_image_headers)
31781
all_cairo_boilerplate_private += $(cairo_boilerplate_image_private)
31782
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_image_cxx_sources)
31783
all_cairo_boilerplate_sources += $(cairo_boilerplate_image_sources)'
31784
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31787
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31791
cr_make_tmp='enabled_cairo_headers += $(cairo_image_headers)
31792
enabled_cairo_private += $(cairo_image_private)
31793
enabled_cairo_cxx_sources += $(cairo_image_cxx_sources)
31794
enabled_cairo_sources += $(cairo_image_sources)'
31795
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31798
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31800
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_image_headers)
31801
enabled_cairo_boilerplate_private += $(cairo_boilerplate_image_private)
31802
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_image_cxx_sources)
31803
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_image_sources)'
31804
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31807
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31817
if test "x$use_image" = xyes; then :
31819
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_IMAGE_SURFACE'
31823
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_IMAGE_SURFACE'
31827
if test "x$use_image" != xyes; then :
31829
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_IMAGE_SURFACE'
31835
cr_make_tmp=' @echo "#define CAIRO_HAS_IMAGE_SURFACE 1" >> src/cairo-features.h'
31836
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
31847
enable_recording=yes
31848
case $enable_recording in #(
31850
use_recording="no (disabled, use --enable-recording to enable)"
31853
if test "x$cairo_cv_recording_cache_version" != "x6" -o \
31854
"x$cairo_cv_recording_cache_commands_len" != "x0" -o \
31855
"x$cairo_cv_recording_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
31856
unset cairo_cv_recording_use
31858
if test "x$enable_recording" = xyes -a "x$cairo_cv_recording_use" != xyes; then :
31859
unset cairo_cv_recording_use
31862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's recording surface backend feature" >&5
31863
$as_echo_n "checking for cairo's recording surface backend feature... " >&6; }
31864
if test "${cairo_cv_recording_use+set}" = set; then :
31865
$as_echo_n "(cached) " >&6
31869
recording_BASE="cairo"
31870
recording_REQUIRES="$ac_env_recording_REQUIRES_value"
31871
recording_CFLAGS="$ac_env_recording_CFLAGS_value"
31872
recording_NONPKGCONFIG_CFLAGS="$ac_env_recording_NONPKGCONFIG_CFLAGS_value"
31873
recording_LIBS="$ac_env_recording_LIBS_value"
31874
recording_NONPKGCONFIG_LIBS="$ac_env_recording_NONPKGCONFIG_LIBS_value"
31875
recording_NONPKGCONFIG_EXTRA_LIBS="$ac_env_recording_NONPKGCONFIG_EXTRA_LIBS_value"
31878
cairo_cv_recording_use=$use_recording
31879
cairo_cv_recording_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
31880
cairo_cv_recording_cache_commands_len="0"
31881
cairo_cv_recording_cache_version="6"
31882
cairo_cv_recording_BASE=$recording_BASE
31883
cairo_cv_recording_REQUIRES=$recording_REQUIRES
31884
cairo_cv_recording_CFLAGS=$recording_CFLAGS
31885
cairo_cv_recording_NONPKGCONFIG_CFLAGS=$recording_NONPKGCONFIG_CFLAGS
31886
cairo_cv_recording_LIBS=$recording_LIBS
31887
cairo_cv_recording_NONPKGCONFIG_LIBS=$recording_NONPKGCONFIG_LIBS
31888
cairo_cv_recording_NONPKGCONFIG_EXTRA_LIBS=$recording_NONPKGCONFIG_EXTRA_LIBS
31890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's recording surface backend feature could be enabled" >&5
31891
$as_echo_n "checking whether cairo's recording surface backend feature could be enabled... " >&6; }
31894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_recording_use" >&5
31895
$as_echo "$cairo_cv_recording_use" >&6; }
31896
use_recording=$cairo_cv_recording_use
31898
if test "x$enable_recording" = "xyes" -a "x$use_recording" != xyes; then :
31899
as_fn_error $? "mandatory recording surface backend feature could not be enabled" "$LINENO" 5
31903
as_fn_error $? "invalid argument passed to --enable-recording: \`$use_recording', should be one of [no/auto/yes]" "$LINENO" 5
31906
if test "x$use_recording" = "xyes"; then :
31907
recording_BASE=$cairo_cv_recording_BASE
31908
recording_REQUIRES=$cairo_cv_recording_REQUIRES
31909
recording_CFLAGS=$cairo_cv_recording_CFLAGS
31910
recording_NONPKGCONFIG_CFLAGS=$cairo_cv_recording_NONPKGCONFIG_CFLAGS
31911
recording_LIBS=$cairo_cv_recording_LIBS
31912
recording_NONPKGCONFIG_LIBS=$cairo_cv_recording_NONPKGCONFIG_LIBS
31913
recording_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_recording_NONPKGCONFIG_EXTRA_LIBS
31915
CAIRO_REQUIRES="$recording_REQUIRES"" ${CAIRO_REQUIRES}"
31917
CAIRO_CFLAGS="$recording_CFLAGS"" ${CAIRO_CFLAGS}"
31919
CAIRO_NONPKGCONFIG_CFLAGS="$recording_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
31921
CAIRO_LIBS="$recording_LIBS"" ${CAIRO_LIBS}"
31923
CAIRO_NONPKGCONFIG_LIBS="$recording_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
31927
recording_BASE=$cairo_cv_recording_BASE
31928
recording_REQUIRES=$cairo_cv_recording_REQUIRES
31929
recording_CFLAGS=$cairo_cv_recording_CFLAGS
31930
recording_NONPKGCONFIG_CFLAGS=$cairo_cv_recording_NONPKGCONFIG_CFLAGS
31931
recording_LIBS=$cairo_cv_recording_LIBS
31932
recording_NONPKGCONFIG_LIBS=$cairo_cv_recording_NONPKGCONFIG_LIBS
31933
recording_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_recording_NONPKGCONFIG_EXTRA_LIBS
31941
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31944
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31947
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31950
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31954
cr_make_tmp='supported_cairo_headers += $(cairo_recording_headers)'
31955
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31958
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31960
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_recording_headers)'
31961
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31964
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31969
cr_make_tmp='all_cairo_headers += $(cairo_recording_headers)
31970
all_cairo_private += $(cairo_recording_private)
31971
all_cairo_cxx_sources += $(cairo_recording_cxx_sources)
31972
all_cairo_sources += $(cairo_recording_sources)'
31973
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31976
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31978
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_recording_headers)
31979
all_cairo_boilerplate_private += $(cairo_boilerplate_recording_private)
31980
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_recording_cxx_sources)
31981
all_cairo_boilerplate_sources += $(cairo_boilerplate_recording_sources)'
31982
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
31985
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
31989
cr_make_tmp='enabled_cairo_headers += $(cairo_recording_headers)
31990
enabled_cairo_private += $(cairo_recording_private)
31991
enabled_cairo_cxx_sources += $(cairo_recording_cxx_sources)
31992
enabled_cairo_sources += $(cairo_recording_sources)'
31993
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
31996
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
31998
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_recording_headers)
31999
enabled_cairo_boilerplate_private += $(cairo_boilerplate_recording_private)
32000
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_recording_cxx_sources)
32001
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_recording_sources)'
32002
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32005
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32015
if test "x$use_recording" = xyes; then :
32017
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_RECORDING_SURFACE'
32021
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_RECORDING_SURFACE'
32025
if test "x$use_recording" != xyes; then :
32027
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_RECORDING_SURFACE'
32033
cr_make_tmp=' @echo "#define CAIRO_HAS_RECORDING_SURFACE 1" >> src/cairo-features.h'
32034
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32043
# Check whether --enable-tee was given.
32044
if test "${enable_tee+set}" = set; then :
32045
enableval=$enable_tee; enable_tee=$enableval
32050
case $enable_tee in #(
32052
use_tee="no (disabled, use --enable-tee to enable)"
32055
if test "x$cairo_cv_tee_cache_version" != "x6" -o \
32056
"x$cairo_cv_tee_cache_commands_len" != "x0" -o \
32057
"x$cairo_cv_tee_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
32058
unset cairo_cv_tee_use
32060
if test "x$enable_tee" = xyes -a "x$cairo_cv_tee_use" != xyes; then :
32061
unset cairo_cv_tee_use
32064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's tee surface backend feature" >&5
32065
$as_echo_n "checking for cairo's tee surface backend feature... " >&6; }
32066
if test "${cairo_cv_tee_use+set}" = set; then :
32067
$as_echo_n "(cached) " >&6
32072
tee_REQUIRES="$ac_env_tee_REQUIRES_value"
32073
tee_CFLAGS="$ac_env_tee_CFLAGS_value"
32074
tee_NONPKGCONFIG_CFLAGS="$ac_env_tee_NONPKGCONFIG_CFLAGS_value"
32075
tee_LIBS="$ac_env_tee_LIBS_value"
32076
tee_NONPKGCONFIG_LIBS="$ac_env_tee_NONPKGCONFIG_LIBS_value"
32077
tee_NONPKGCONFIG_EXTRA_LIBS="$ac_env_tee_NONPKGCONFIG_EXTRA_LIBS_value"
32080
cairo_cv_tee_use=$use_tee
32081
cairo_cv_tee_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
32082
cairo_cv_tee_cache_commands_len="0"
32083
cairo_cv_tee_cache_version="6"
32084
cairo_cv_tee_BASE=$tee_BASE
32085
cairo_cv_tee_REQUIRES=$tee_REQUIRES
32086
cairo_cv_tee_CFLAGS=$tee_CFLAGS
32087
cairo_cv_tee_NONPKGCONFIG_CFLAGS=$tee_NONPKGCONFIG_CFLAGS
32088
cairo_cv_tee_LIBS=$tee_LIBS
32089
cairo_cv_tee_NONPKGCONFIG_LIBS=$tee_NONPKGCONFIG_LIBS
32090
cairo_cv_tee_NONPKGCONFIG_EXTRA_LIBS=$tee_NONPKGCONFIG_EXTRA_LIBS
32092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's tee surface backend feature could be enabled" >&5
32093
$as_echo_n "checking whether cairo's tee surface backend feature could be enabled... " >&6; }
32096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_tee_use" >&5
32097
$as_echo "$cairo_cv_tee_use" >&6; }
32098
use_tee=$cairo_cv_tee_use
32100
if test "x$enable_tee" = "xyes" -a "x$use_tee" != xyes; then :
32101
as_fn_error $? " tee surface backend feature could not be enabled" "$LINENO" 5
32105
as_fn_error $? "invalid argument passed to --enable-tee: \`$use_tee', should be one of [no/auto/yes]" "$LINENO" 5
32108
if test "x$use_tee" = "xyes"; then :
32109
tee_BASE=$cairo_cv_tee_BASE
32110
tee_REQUIRES=$cairo_cv_tee_REQUIRES
32111
tee_CFLAGS=$cairo_cv_tee_CFLAGS
32112
tee_NONPKGCONFIG_CFLAGS=$cairo_cv_tee_NONPKGCONFIG_CFLAGS
32113
tee_LIBS=$cairo_cv_tee_LIBS
32114
tee_NONPKGCONFIG_LIBS=$cairo_cv_tee_NONPKGCONFIG_LIBS
32115
tee_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_tee_NONPKGCONFIG_EXTRA_LIBS
32117
CAIRO_REQUIRES="$tee_REQUIRES"" ${CAIRO_REQUIRES}"
32119
CAIRO_CFLAGS="$tee_CFLAGS"" ${CAIRO_CFLAGS}"
32121
CAIRO_NONPKGCONFIG_CFLAGS="$tee_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
32123
CAIRO_LIBS="$tee_LIBS"" ${CAIRO_LIBS}"
32125
CAIRO_NONPKGCONFIG_LIBS="$tee_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
32129
tee_BASE=$cairo_cv_tee_BASE
32130
tee_REQUIRES=$cairo_cv_tee_REQUIRES
32131
tee_CFLAGS=$cairo_cv_tee_CFLAGS
32132
tee_NONPKGCONFIG_CFLAGS=$cairo_cv_tee_NONPKGCONFIG_CFLAGS
32133
tee_LIBS=$cairo_cv_tee_LIBS
32134
tee_NONPKGCONFIG_LIBS=$cairo_cv_tee_NONPKGCONFIG_LIBS
32135
tee_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_tee_NONPKGCONFIG_EXTRA_LIBS
32140
if test "x$use_tee" = xyes; then
32141
CAIRO_HAS_TEE_SURFACE_TRUE=
32142
CAIRO_HAS_TEE_SURFACE_FALSE='#'
32144
CAIRO_HAS_TEE_SURFACE_TRUE='#'
32145
CAIRO_HAS_TEE_SURFACE_FALSE=
32149
cr_make_tmp='CAIRO_HAS_TEE_SURFACE=0'
32150
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
32155
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32158
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32161
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32164
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32169
cr_make_tmp='unsupported_cairo_headers += $(cairo_tee_headers)'
32170
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32173
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32175
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_tee_headers)'
32176
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32179
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32183
cr_make_tmp='all_cairo_headers += $(cairo_tee_headers)
32184
all_cairo_private += $(cairo_tee_private)
32185
all_cairo_cxx_sources += $(cairo_tee_cxx_sources)
32186
all_cairo_sources += $(cairo_tee_sources)'
32187
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32190
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32192
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_tee_headers)
32193
all_cairo_boilerplate_private += $(cairo_boilerplate_tee_private)
32194
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_tee_cxx_sources)
32195
all_cairo_boilerplate_sources += $(cairo_boilerplate_tee_sources)'
32196
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32199
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32203
cr_make_tmp='enabled_cairo_headers += $(cairo_tee_headers)
32204
enabled_cairo_private += $(cairo_tee_private)
32205
enabled_cairo_cxx_sources += $(cairo_tee_cxx_sources)
32206
enabled_cairo_sources += $(cairo_tee_sources)'
32207
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32208
"'if CAIRO_HAS_TEE_SURFACE'
32209
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32211
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32214
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32215
"'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
32216
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32218
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32220
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_tee_headers)
32221
enabled_cairo_boilerplate_private += $(cairo_boilerplate_tee_private)
32222
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_tee_cxx_sources)
32223
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_tee_sources)'
32224
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32225
"'if CAIRO_HAS_TEE_SURFACE'
32226
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32228
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32231
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32232
"'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
32233
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32235
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32241
if test "x$use_tee" = xyes; then :
32243
ac_config_files="$ac_config_files src/cairo-tee.pc:src/cairo-features.pc.in"
32247
if test "x$use_tee" = xyes; then :
32249
ac_config_files="$ac_config_files cairo-tee-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
32253
cr_make_tmp='all_cairo_pkgconf += cairo-tee.pc'
32254
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32257
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32261
cr_make_tmp='enabled_cairo_pkgconf += cairo-tee.pc'
32262
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32263
"'if CAIRO_HAS_TEE_SURFACE'
32264
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32266
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32269
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32270
"'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
32271
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32273
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32277
if test "x$use_tee" = xyes; then :
32279
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_TEE_SURFACE'
32286
cr_make_tmp=' @echo "#define CAIRO_HAS_TEE_SURFACE 1" >> src/cairo-features.h'
32287
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32288
"'ifeq ($(CAIRO_HAS_TEE_SURFACE),1)'
32289
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32291
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32295
if test "x$use_tee" = xyes; then :
32297
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
32299
"'--- The tee surface backend feature is still under active development and is
32300
--- included in this release only as a preview. It does NOT fully work yet
32301
--- and incompatible changes may yet be made to tee surface backend specific
32311
# Check whether --enable-xml was given.
32312
if test "${enable_xml+set}" = set; then :
32313
enableval=$enable_xml; enable_xml=$enableval
32318
case $enable_xml in #(
32320
use_xml="no (disabled, use --enable-xml to enable)"
32323
if test "x$cairo_cv_xml_cache_version" != "x6" -o \
32324
"x$cairo_cv_xml_cache_commands_len" != "x54" -o \
32325
"x$cairo_cv_xml_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
32326
unset cairo_cv_xml_use
32328
if test "x$enable_xml" = xyes -a "x$cairo_cv_xml_use" != xyes; then :
32329
unset cairo_cv_xml_use
32332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's xml surface backend feature" >&5
32333
$as_echo_n "checking for cairo's xml surface backend feature... " >&6; }
32334
if test "${cairo_cv_xml_use+set}" = set; then :
32335
$as_echo_n "(cached) " >&6
32340
xml_REQUIRES="$ac_env_xml_REQUIRES_value"
32341
xml_CFLAGS="$ac_env_xml_CFLAGS_value"
32342
xml_NONPKGCONFIG_CFLAGS="$ac_env_xml_NONPKGCONFIG_CFLAGS_value"
32343
xml_LIBS="$ac_env_xml_LIBS_value"
32344
xml_NONPKGCONFIG_LIBS="$ac_env_xml_NONPKGCONFIG_LIBS_value"
32345
xml_NONPKGCONFIG_EXTRA_LIBS="$ac_env_xml_NONPKGCONFIG_EXTRA_LIBS_value"
32349
xml_NONPKGCONFIG_LIBS=-lz
32351
cairo_cv_xml_use=$use_xml
32352
cairo_cv_xml_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
32353
cairo_cv_xml_cache_commands_len="54"
32354
cairo_cv_xml_cache_version="6"
32355
cairo_cv_xml_BASE=$xml_BASE
32356
cairo_cv_xml_REQUIRES=$xml_REQUIRES
32357
cairo_cv_xml_CFLAGS=$xml_CFLAGS
32358
cairo_cv_xml_NONPKGCONFIG_CFLAGS=$xml_NONPKGCONFIG_CFLAGS
32359
cairo_cv_xml_LIBS=$xml_LIBS
32360
cairo_cv_xml_NONPKGCONFIG_LIBS=$xml_NONPKGCONFIG_LIBS
32361
cairo_cv_xml_NONPKGCONFIG_EXTRA_LIBS=$xml_NONPKGCONFIG_EXTRA_LIBS
32363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's xml surface backend feature could be enabled" >&5
32364
$as_echo_n "checking whether cairo's xml surface backend feature could be enabled... " >&6; }
32367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_xml_use" >&5
32368
$as_echo "$cairo_cv_xml_use" >&6; }
32369
use_xml=$cairo_cv_xml_use
32371
if test "x$enable_xml" = "xyes" -a "x$use_xml" != xyes; then :
32372
as_fn_error $? " xml surface backend feature could not be enabled" "$LINENO" 5
32376
as_fn_error $? "invalid argument passed to --enable-xml: \`$use_xml', should be one of [no/auto/yes]" "$LINENO" 5
32379
if test "x$use_xml" = "xyes"; then :
32380
xml_BASE=$cairo_cv_xml_BASE
32381
xml_REQUIRES=$cairo_cv_xml_REQUIRES
32382
xml_CFLAGS=$cairo_cv_xml_CFLAGS
32383
xml_NONPKGCONFIG_CFLAGS=$cairo_cv_xml_NONPKGCONFIG_CFLAGS
32384
xml_LIBS=$cairo_cv_xml_LIBS
32385
xml_NONPKGCONFIG_LIBS=$cairo_cv_xml_NONPKGCONFIG_LIBS
32386
xml_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xml_NONPKGCONFIG_EXTRA_LIBS
32388
CAIRO_REQUIRES="$xml_REQUIRES"" ${CAIRO_REQUIRES}"
32390
CAIRO_CFLAGS="$xml_CFLAGS"" ${CAIRO_CFLAGS}"
32392
CAIRO_NONPKGCONFIG_CFLAGS="$xml_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
32394
CAIRO_LIBS="$xml_LIBS"" ${CAIRO_LIBS}"
32396
CAIRO_NONPKGCONFIG_LIBS="$xml_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
32400
xml_BASE=$cairo_cv_xml_BASE
32401
xml_REQUIRES=$cairo_cv_xml_REQUIRES
32402
xml_CFLAGS=$cairo_cv_xml_CFLAGS
32403
xml_NONPKGCONFIG_CFLAGS=$cairo_cv_xml_NONPKGCONFIG_CFLAGS
32404
xml_LIBS=$cairo_cv_xml_LIBS
32405
xml_NONPKGCONFIG_LIBS=$cairo_cv_xml_NONPKGCONFIG_LIBS
32406
xml_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_xml_NONPKGCONFIG_EXTRA_LIBS
32411
if test "x$use_xml" = xyes; then
32412
CAIRO_HAS_XML_SURFACE_TRUE=
32413
CAIRO_HAS_XML_SURFACE_FALSE='#'
32415
CAIRO_HAS_XML_SURFACE_TRUE='#'
32416
CAIRO_HAS_XML_SURFACE_FALSE=
32420
cr_make_tmp='CAIRO_HAS_XML_SURFACE=0'
32421
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
32426
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32429
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32432
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32435
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32440
cr_make_tmp='unsupported_cairo_headers += $(cairo_xml_headers)'
32441
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32444
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32446
cr_make_tmp='unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_xml_headers)'
32447
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32450
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32454
cr_make_tmp='all_cairo_headers += $(cairo_xml_headers)
32455
all_cairo_private += $(cairo_xml_private)
32456
all_cairo_cxx_sources += $(cairo_xml_cxx_sources)
32457
all_cairo_sources += $(cairo_xml_sources)'
32458
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32461
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32463
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_xml_headers)
32464
all_cairo_boilerplate_private += $(cairo_boilerplate_xml_private)
32465
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xml_cxx_sources)
32466
all_cairo_boilerplate_sources += $(cairo_boilerplate_xml_sources)'
32467
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32470
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32474
cr_make_tmp='enabled_cairo_headers += $(cairo_xml_headers)
32475
enabled_cairo_private += $(cairo_xml_private)
32476
enabled_cairo_cxx_sources += $(cairo_xml_cxx_sources)
32477
enabled_cairo_sources += $(cairo_xml_sources)'
32478
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32479
"'if CAIRO_HAS_XML_SURFACE'
32480
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32482
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32485
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32486
"'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
32487
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32489
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32491
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xml_headers)
32492
enabled_cairo_boilerplate_private += $(cairo_boilerplate_xml_private)
32493
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_xml_cxx_sources)
32494
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xml_sources)'
32495
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32496
"'if CAIRO_HAS_XML_SURFACE'
32497
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32499
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32502
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32503
"'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
32504
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32506
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32512
if test "x$use_xml" = xyes; then :
32514
ac_config_files="$ac_config_files src/cairo-xml.pc:src/cairo-features.pc.in"
32518
if test "x$use_xml" = xyes; then :
32520
ac_config_files="$ac_config_files cairo-xml-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
32524
cr_make_tmp='all_cairo_pkgconf += cairo-xml.pc'
32525
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32528
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32532
cr_make_tmp='enabled_cairo_pkgconf += cairo-xml.pc'
32533
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32534
"'if CAIRO_HAS_XML_SURFACE'
32535
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32537
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32540
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32541
"'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
32542
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32544
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32548
if test "x$use_xml" = xyes; then :
32550
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_XML_SURFACE'
32557
cr_make_tmp=' @echo "#define CAIRO_HAS_XML_SURFACE 1" >> src/cairo-features.h'
32558
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32559
"'ifeq ($(CAIRO_HAS_XML_SURFACE),1)'
32560
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32562
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32566
if test "x$use_xml" = xyes; then :
32568
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
32570
"'--- The xml surface backend feature is still under active development and is
32571
--- included in this release only as a preview. It does NOT fully work yet
32572
--- and incompatible changes may yet be made to xml surface backend specific
32585
case $enable_user in #(
32587
use_user="no (disabled, use --enable-user to enable)"
32590
if test "x$cairo_cv_user_cache_version" != "x6" -o \
32591
"x$cairo_cv_user_cache_commands_len" != "x0" -o \
32592
"x$cairo_cv_user_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
32593
unset cairo_cv_user_use
32595
if test "x$enable_user" = xyes -a "x$cairo_cv_user_use" != xyes; then :
32596
unset cairo_cv_user_use
32599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's user font backend feature" >&5
32600
$as_echo_n "checking for cairo's user font backend feature... " >&6; }
32601
if test "${cairo_cv_user_use+set}" = set; then :
32602
$as_echo_n "(cached) " >&6
32607
user_REQUIRES="$ac_env_user_REQUIRES_value"
32608
user_CFLAGS="$ac_env_user_CFLAGS_value"
32609
user_NONPKGCONFIG_CFLAGS="$ac_env_user_NONPKGCONFIG_CFLAGS_value"
32610
user_LIBS="$ac_env_user_LIBS_value"
32611
user_NONPKGCONFIG_LIBS="$ac_env_user_NONPKGCONFIG_LIBS_value"
32612
user_NONPKGCONFIG_EXTRA_LIBS="$ac_env_user_NONPKGCONFIG_EXTRA_LIBS_value"
32615
cairo_cv_user_use=$use_user
32616
cairo_cv_user_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
32617
cairo_cv_user_cache_commands_len="0"
32618
cairo_cv_user_cache_version="6"
32619
cairo_cv_user_BASE=$user_BASE
32620
cairo_cv_user_REQUIRES=$user_REQUIRES
32621
cairo_cv_user_CFLAGS=$user_CFLAGS
32622
cairo_cv_user_NONPKGCONFIG_CFLAGS=$user_NONPKGCONFIG_CFLAGS
32623
cairo_cv_user_LIBS=$user_LIBS
32624
cairo_cv_user_NONPKGCONFIG_LIBS=$user_NONPKGCONFIG_LIBS
32625
cairo_cv_user_NONPKGCONFIG_EXTRA_LIBS=$user_NONPKGCONFIG_EXTRA_LIBS
32627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's user font backend feature could be enabled" >&5
32628
$as_echo_n "checking whether cairo's user font backend feature could be enabled... " >&6; }
32631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_user_use" >&5
32632
$as_echo "$cairo_cv_user_use" >&6; }
32633
use_user=$cairo_cv_user_use
32635
if test "x$enable_user" = "xyes" -a "x$use_user" != xyes; then :
32636
as_fn_error $? "mandatory user font backend feature could not be enabled" "$LINENO" 5
32640
as_fn_error $? "invalid argument passed to --enable-user: \`$use_user', should be one of [no/auto/yes]" "$LINENO" 5
32643
if test "x$use_user" = "xyes"; then :
32644
user_BASE=$cairo_cv_user_BASE
32645
user_REQUIRES=$cairo_cv_user_REQUIRES
32646
user_CFLAGS=$cairo_cv_user_CFLAGS
32647
user_NONPKGCONFIG_CFLAGS=$cairo_cv_user_NONPKGCONFIG_CFLAGS
32648
user_LIBS=$cairo_cv_user_LIBS
32649
user_NONPKGCONFIG_LIBS=$cairo_cv_user_NONPKGCONFIG_LIBS
32650
user_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_user_NONPKGCONFIG_EXTRA_LIBS
32652
CAIRO_REQUIRES="$user_REQUIRES"" ${CAIRO_REQUIRES}"
32654
CAIRO_CFLAGS="$user_CFLAGS"" ${CAIRO_CFLAGS}"
32656
CAIRO_NONPKGCONFIG_CFLAGS="$user_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
32658
CAIRO_LIBS="$user_LIBS"" ${CAIRO_LIBS}"
32660
CAIRO_NONPKGCONFIG_LIBS="$user_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
32664
user_BASE=$cairo_cv_user_BASE
32665
user_REQUIRES=$cairo_cv_user_REQUIRES
32666
user_CFLAGS=$cairo_cv_user_CFLAGS
32667
user_NONPKGCONFIG_CFLAGS=$cairo_cv_user_NONPKGCONFIG_CFLAGS
32668
user_LIBS=$cairo_cv_user_LIBS
32669
user_NONPKGCONFIG_LIBS=$cairo_cv_user_NONPKGCONFIG_LIBS
32670
user_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_user_NONPKGCONFIG_EXTRA_LIBS
32678
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32681
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32684
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32687
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32691
cr_make_tmp='supported_cairo_headers += $(cairo_user_headers)'
32692
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32695
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32697
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_user_headers)'
32698
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32701
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32706
cr_make_tmp='all_cairo_headers += $(cairo_user_headers)
32707
all_cairo_private += $(cairo_user_private)
32708
all_cairo_cxx_sources += $(cairo_user_cxx_sources)
32709
all_cairo_sources += $(cairo_user_sources)'
32710
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32713
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32715
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_user_headers)
32716
all_cairo_boilerplate_private += $(cairo_boilerplate_user_private)
32717
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_user_cxx_sources)
32718
all_cairo_boilerplate_sources += $(cairo_boilerplate_user_sources)'
32719
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32722
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32726
cr_make_tmp='enabled_cairo_headers += $(cairo_user_headers)
32727
enabled_cairo_private += $(cairo_user_private)
32728
enabled_cairo_cxx_sources += $(cairo_user_cxx_sources)
32729
enabled_cairo_sources += $(cairo_user_sources)'
32730
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
32733
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
32735
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_user_headers)
32736
enabled_cairo_boilerplate_private += $(cairo_boilerplate_user_private)
32737
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_user_cxx_sources)
32738
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_user_sources)'
32739
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
32742
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
32752
if test "x$use_user" = xyes; then :
32754
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_USER_FONT'
32758
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_USER_FONT'
32762
if test "x$use_user" != xyes; then :
32764
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_USER_FONT'
32770
cr_make_tmp=' @echo "#define CAIRO_HAS_USER_FONT 1" >> src/cairo-features.h'
32771
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
32781
have_real_pthread=no
32783
# Check whether --enable-pthread was given.
32784
if test "${enable_pthread+set}" = set; then :
32785
enableval=$enable_pthread; enable_pthread=$enableval
32787
enable_pthread=auto
32790
case $enable_pthread in #(
32792
use_pthread="no (disabled, use --enable-pthread to enable)"
32795
if test "x$cairo_cv_pthread_cache_version" != "x6" -o \
32796
"x$cairo_cv_pthread_cache_commands_len" != "x23" -o \
32797
"x$cairo_cv_pthread_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
32798
unset cairo_cv_pthread_use
32800
if test "x$enable_pthread" = xyes -a "x$cairo_cv_pthread_use" != xyes; then :
32801
unset cairo_cv_pthread_use
32804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's pthread feature" >&5
32805
$as_echo_n "checking for cairo's pthread feature... " >&6; }
32806
if test "${cairo_cv_pthread_use+set}" = set; then :
32807
$as_echo_n "(cached) " >&6
32811
pthread_BASE="cairo"
32812
pthread_REQUIRES="$ac_env_pthread_REQUIRES_value"
32813
pthread_CFLAGS="$ac_env_pthread_CFLAGS_value"
32814
pthread_NONPKGCONFIG_CFLAGS="$ac_env_pthread_NONPKGCONFIG_CFLAGS_value"
32815
pthread_LIBS="$ac_env_pthread_LIBS_value"
32816
pthread_NONPKGCONFIG_LIBS="$ac_env_pthread_NONPKGCONFIG_LIBS_value"
32817
pthread_NONPKGCONFIG_EXTRA_LIBS="$ac_env_pthread_NONPKGCONFIG_EXTRA_LIBS_value"
32819
if test "x$PTHREAD_CFLAGS" = "x"; then
32820
PTHREAD_CFLAGS="-D_REENTRANT"
32822
if test "x$PTHREAD_LIBS" = "x"; then
32823
PTHREAD_LIBS="-lpthread"
32826
# AC_LANG_PROGRAM() produces a main() w/o args,
32827
# but -Wold-style-definition doesn't like that.
32828
# We need _some_ program so that we don't get
32829
# warnings about empty compilation units, so always
32830
# append a reasonable main().
32831
_compile_program="#ifndef _GNU_SOURCE
32832
#define _GNU_SOURCE /* for PTHREAD_MUTEX_INITIALIZER under linux */
32834
#include <pthread.h>
32836
pthread_mutex_t test_mutex_initializer = PTHREAD_MUTEX_INITIALIZER;
32837
int test_mutex (void)
32840
pthread_mutex_t mutex;
32841
x |= pthread_mutex_init (&mutex, NULL);
32842
x |= pthread_mutex_lock (&mutex);
32843
x |= pthread_mutex_unlock (&mutex);
32844
x |= pthread_mutex_destroy (&mutex);
32848
int test_mutex_attr (void)
32851
pthread_mutexattr_t attr;
32852
pthread_mutex_t mutex;
32853
x |= pthread_mutexattr_init (&attr);
32854
x |= pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE);
32855
x |= pthread_mutex_init (&mutex, &attr);
32856
x |= pthread_mutex_lock (&mutex);
32857
x |= pthread_mutex_unlock (&mutex);
32858
x |= pthread_mutex_destroy (&mutex);
32859
x |= pthread_mutexattr_destroy (&attr);
32863
pthread_once_t once_control = PTHREAD_ONCE_INIT;
32864
void test_once_init (void) {}
32865
int test_once (void)
32867
return pthread_once (&once_control, test_once_init);
32870
pthread_key_t test_specific_key;
32871
int test_specific (void)
32874
x |= pthread_key_create (&test_specific_key, NULL);
32875
x |= pthread_setspecific (test_specific_key, NULL);
32876
x |= pthread_getspecific (test_specific_key) != NULL;
32880
void cleaner (void *arg) { (void)arg; }
32883
test_thread_main (void *arg)
32885
pthread_cleanup_push (cleaner, arg);
32886
pthread_exit (arg);
32887
pthread_cleanup_pop (1);
32892
test_threads (void)
32896
pthread_attr_t attr;
32898
x |= pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
32899
x |= pthread_create (&thread, &attr, test_thread_main, arg);
32900
x |= pthread_equal (pthread_self(), thread);
32901
x |= pthread_join (thread, &arg);
32902
x |= pthread_attr_destroy (&attr);
32905
int main(int c, char **v) { (void)c; (void)v; return 0; }'
32907
_save_cflags="$CFLAGS"
32908
_save_ldflags="$LDFLAGS"
32910
CFLAGS="$PTHREAD_CFLAGS";
32911
LIBS="$PTHREAD_LIBS"
32912
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32913
/* end confdefs.h. */
32916
if ac_fn_c_try_link "$LINENO"; then :
32917
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
32920
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
32923
rm -f core conftest.err conftest.$ac_objext \
32924
conftest$ac_exeext conftest.$ac_ext
32926
if test "x$cairo_cc_stderr" != "x"; then
32930
if test "x$cairo_cc_flag" = "xyes"; then
32931
real_pthread_CFLAGS="$CFLAGS";
32932
real_pthread_LIBS="$LIBS";
32933
have_real_pthread=yes
32935
real_pthread_CFLAGS="";
32936
real_pthread_LIBS="";
32937
have_real_pthread=no
32939
CFLAGS="$_save_cflags"
32940
LDFLAGS="$_save_ldflags"
32944
if test "x$have_real_pthread" != "xyes"; then
32945
# AC_LANG_PROGRAM() produces a main() w/o args,
32946
# but -Wold-style-definition doesn't like that.
32947
# We need _some_ program so that we don't get
32948
# warnings about empty compilation units, so always
32949
# append a reasonable main().
32950
_compile_program="#ifndef _GNU_SOURCE
32951
#define _GNU_SOURCE /* for PTHREAD_MUTEX_INITIALIZER under linux */
32953
#include <pthread.h>
32955
pthread_mutex_t test_mutex_initializer = PTHREAD_MUTEX_INITIALIZER;
32956
int test_mutex (void)
32959
pthread_mutex_t mutex;
32960
x |= pthread_mutex_init (&mutex, NULL);
32961
x |= pthread_mutex_lock (&mutex);
32962
x |= pthread_mutex_unlock (&mutex);
32963
x |= pthread_mutex_destroy (&mutex);
32967
int test_mutex_attr (void)
32970
pthread_mutexattr_t attr;
32971
pthread_mutex_t mutex;
32972
x |= pthread_mutexattr_init (&attr);
32973
x |= pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE);
32974
x |= pthread_mutex_init (&mutex, &attr);
32975
x |= pthread_mutex_lock (&mutex);
32976
x |= pthread_mutex_unlock (&mutex);
32977
x |= pthread_mutex_destroy (&mutex);
32978
x |= pthread_mutexattr_destroy (&attr);
32982
pthread_once_t once_control = PTHREAD_ONCE_INIT;
32983
void test_once_init (void) {}
32984
int test_once (void)
32986
return pthread_once (&once_control, test_once_init);
32989
pthread_key_t test_specific_key;
32990
int test_specific (void)
32993
x |= pthread_key_create (&test_specific_key, NULL);
32994
x |= pthread_setspecific (test_specific_key, NULL);
32995
x |= pthread_getspecific (test_specific_key) != NULL;
32999
void cleaner (void *arg) { (void)arg; }
33002
test_thread_main (void *arg)
33004
pthread_cleanup_push (cleaner, arg);
33005
pthread_exit (arg);
33006
pthread_cleanup_pop (1);
33011
test_threads (void)
33015
pthread_attr_t attr;
33017
x |= pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
33018
x |= pthread_create (&thread, &attr, test_thread_main, arg);
33019
x |= pthread_equal (pthread_self(), thread);
33020
x |= pthread_join (thread, &arg);
33021
x |= pthread_attr_destroy (&attr);
33024
int main(int c, char **v) { (void)c; (void)v; return 0; }'
33026
_save_cflags="$CFLAGS"
33027
_save_ldflags="$LDFLAGS"
33031
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33032
/* end confdefs.h. */
33035
if ac_fn_c_try_link "$LINENO"; then :
33036
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
33039
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
33042
rm -f core conftest.err conftest.$ac_objext \
33043
conftest$ac_exeext conftest.$ac_ext
33045
if test "x$cairo_cc_stderr" != "x"; then
33049
if test "x$cairo_cc_flag" = "xyes"; then
33050
real_pthread_CFLAGS="$CFLAGS";
33051
real_pthread_LIBS="$LIBS";
33052
have_real_pthread=yes
33054
real_pthread_CFLAGS="";
33055
real_pthread_LIBS="";
33056
have_real_pthread="no (can't link with -lpthread or -pthread)"
33058
CFLAGS="$_save_cflags"
33059
LDFLAGS="$_save_ldflags"
33068
if test "x$enable_pthread" != "xyes"; then
33069
# AC_LANG_PROGRAM() produces a main() w/o args,
33070
# but -Wold-style-definition doesn't like that.
33071
# We need _some_ program so that we don't get
33072
# warnings about empty compilation units, so always
33073
# append a reasonable main().
33074
_compile_program="#ifndef _GNU_SOURCE
33075
#define _GNU_SOURCE /* for PTHREAD_MUTEX_INITIALIZER under linux */
33077
#include <pthread.h>
33079
pthread_mutex_t test_mutex_initializer = PTHREAD_MUTEX_INITIALIZER;
33080
int test_mutex (void)
33083
pthread_mutex_t mutex;
33084
x |= pthread_mutex_init (&mutex, NULL);
33085
x |= pthread_mutex_lock (&mutex);
33086
x |= pthread_mutex_unlock (&mutex);
33087
x |= pthread_mutex_destroy (&mutex);
33091
int test_mutex_attr (void)
33094
pthread_mutexattr_t attr;
33095
pthread_mutex_t mutex;
33096
x |= pthread_mutexattr_init (&attr);
33097
x |= pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE);
33098
x |= pthread_mutex_init (&mutex, &attr);
33099
x |= pthread_mutex_lock (&mutex);
33100
x |= pthread_mutex_unlock (&mutex);
33101
x |= pthread_mutex_destroy (&mutex);
33102
x |= pthread_mutexattr_destroy (&attr);
33105
int main(int c, char **v) { (void)c; (void)v; return 0; }'
33107
_save_cflags="$CFLAGS"
33108
_save_ldflags="$LDFLAGS"
33110
CFLAGS="-D_REENTRANT";
33112
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33113
/* end confdefs.h. */
33116
if ac_fn_c_try_link "$LINENO"; then :
33117
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
33120
cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
33123
rm -f core conftest.err conftest.$ac_objext \
33124
conftest$ac_exeext conftest.$ac_ext
33126
if test "x$cairo_cc_stderr" != "x"; then
33130
if test "x$cairo_cc_flag" = "xyes"; then
33131
pthread_CFLAGS="$CFLAGS";
33132
pthread_LIBS="$LIBS";
33139
CFLAGS="$_save_cflags"
33140
LDFLAGS="$_save_ldflags"
33146
if test "x$have_pthread" != "xyes"; then
33147
have_pthread="$have_real_pthread";
33148
pthread_CFLAGS="$real_pthread_CFLAGS";
33149
pthread_LIBS="$real_pthread_LIBS";
33152
if test "x$have_real_pthread" = "xyes"; then
33154
$as_echo "#define CAIRO_HAS_REAL_PTHREAD 1" >>confdefs.h
33157
if test "x$have_pthread" = "xyes"; then
33159
$as_echo "#define CAIRO_HAS_PTHREAD 1" >>confdefs.h
33163
if test "x$enable_pthread" = "xyes" -a "x$have_pthread" != "xyes"; then
33164
as_fn_error $? "pthread requested but not found" "$LINENO" 5
33167
use_pthread="$have_pthread"
33168
pthread_REQUIRES=""
33170
cairo_cv_pthread_use=$use_pthread
33171
cairo_cv_pthread_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
33172
cairo_cv_pthread_cache_commands_len="23"
33173
cairo_cv_pthread_cache_version="6"
33174
cairo_cv_pthread_BASE=$pthread_BASE
33175
cairo_cv_pthread_REQUIRES=$pthread_REQUIRES
33176
cairo_cv_pthread_CFLAGS=$pthread_CFLAGS
33177
cairo_cv_pthread_NONPKGCONFIG_CFLAGS=$pthread_NONPKGCONFIG_CFLAGS
33178
cairo_cv_pthread_LIBS=$pthread_LIBS
33179
cairo_cv_pthread_NONPKGCONFIG_LIBS=$pthread_NONPKGCONFIG_LIBS
33180
cairo_cv_pthread_NONPKGCONFIG_EXTRA_LIBS=$pthread_NONPKGCONFIG_EXTRA_LIBS
33182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's pthread feature could be enabled" >&5
33183
$as_echo_n "checking whether cairo's pthread feature could be enabled... " >&6; }
33186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_pthread_use" >&5
33187
$as_echo "$cairo_cv_pthread_use" >&6; }
33188
use_pthread=$cairo_cv_pthread_use
33190
if test "x$enable_pthread" = "xyes" -a "x$use_pthread" != xyes; then :
33191
as_fn_error $? " pthread feature could not be enabled" "$LINENO" 5
33195
as_fn_error $? "invalid argument passed to --enable-pthread: \`$use_pthread', should be one of [no/auto/yes]" "$LINENO" 5
33198
if test "x$use_pthread" = "xyes"; then :
33199
pthread_BASE=$cairo_cv_pthread_BASE
33200
pthread_REQUIRES=$cairo_cv_pthread_REQUIRES
33201
pthread_CFLAGS=$cairo_cv_pthread_CFLAGS
33202
pthread_NONPKGCONFIG_CFLAGS=$cairo_cv_pthread_NONPKGCONFIG_CFLAGS
33203
pthread_LIBS=$cairo_cv_pthread_LIBS
33204
pthread_NONPKGCONFIG_LIBS=$cairo_cv_pthread_NONPKGCONFIG_LIBS
33205
pthread_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_pthread_NONPKGCONFIG_EXTRA_LIBS
33207
CAIRO_REQUIRES="$pthread_REQUIRES"" ${CAIRO_REQUIRES}"
33209
CAIRO_CFLAGS="$pthread_CFLAGS"" ${CAIRO_CFLAGS}"
33211
CAIRO_NONPKGCONFIG_CFLAGS="$pthread_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
33213
CAIRO_LIBS="$pthread_LIBS"" ${CAIRO_LIBS}"
33215
CAIRO_NONPKGCONFIG_LIBS="$pthread_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
33219
pthread_BASE=$cairo_cv_pthread_BASE
33220
pthread_REQUIRES=$cairo_cv_pthread_REQUIRES
33221
pthread_CFLAGS=$cairo_cv_pthread_CFLAGS
33222
pthread_NONPKGCONFIG_CFLAGS=$cairo_cv_pthread_NONPKGCONFIG_CFLAGS
33223
pthread_LIBS=$cairo_cv_pthread_LIBS
33224
pthread_NONPKGCONFIG_LIBS=$cairo_cv_pthread_NONPKGCONFIG_LIBS
33225
pthread_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_pthread_NONPKGCONFIG_EXTRA_LIBS
33230
if test "x$use_pthread" = xyes; then
33231
CAIRO_HAS_PTHREAD_TRUE=
33232
CAIRO_HAS_PTHREAD_FALSE='#'
33234
CAIRO_HAS_PTHREAD_TRUE='#'
33235
CAIRO_HAS_PTHREAD_FALSE=
33239
cr_make_tmp='CAIRO_HAS_PTHREAD=0'
33240
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
33245
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33248
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33251
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33254
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33262
cr_make_tmp='all_cairo_private += $(cairo_pthread_private) $(cairo_pthread_headers)
33263
all_cairo_cxx_sources += $(cairo_pthread_cxx_sources)
33264
all_cairo_sources += $(cairo_pthread_sources)'
33265
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33268
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33270
cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_pthread_private) $(cairo_boilerplate_pthread_headers)
33271
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pthread_cxx_sources)
33272
all_cairo_boilerplate_sources += $(cairo_boilerplate_pthread_sources)'
33273
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33276
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33280
cr_make_tmp='enabled_cairo_private += $(cairo_pthread_private) $(cairo_pthread_headers)
33281
enabled_cairo_cxx_sources += $(cairo_pthread_cxx_sources)
33282
enabled_cairo_sources += $(cairo_pthread_sources)'
33283
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33284
"'if CAIRO_HAS_PTHREAD'
33285
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33287
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33290
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33291
"'ifeq ($(CAIRO_HAS_PTHREAD),1)'
33292
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33294
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33296
cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_pthread_private) $(cairo_boilerplate_pthread_headers)
33297
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_pthread_cxx_sources)
33298
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_pthread_sources)'
33299
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33300
"'if CAIRO_HAS_PTHREAD'
33301
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33303
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33306
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33307
"'ifeq ($(CAIRO_HAS_PTHREAD),1)'
33308
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33310
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33321
if test "x$use_pthread" = xyes; then :
33324
$as_echo "#define CAIRO_HAS_PTHREAD 1" >>confdefs.h
33329
cr_make_tmp=' @echo "#define CAIRO_HAS_PTHREAD 1" >> src/cairo-features.h'
33330
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33331
"'ifeq ($(CAIRO_HAS_PTHREAD),1)'
33332
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33334
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33343
if test "x$use_pthread" = "xyes" -a "x$have_real_pthread" = "xyes"; then
33344
HAVE_REAL_PTHREAD_TRUE=
33345
HAVE_REAL_PTHREAD_FALSE='#'
33347
HAVE_REAL_PTHREAD_TRUE='#'
33348
HAVE_REAL_PTHREAD_FALSE=
33351
if test "x$use_pthread" = "xyes"; then
33353
HAVE_PTHREAD_FALSE='#'
33355
HAVE_PTHREAD_TRUE='#'
33356
HAVE_PTHREAD_FALSE=
33366
# Check whether --enable-gobject was given.
33367
if test "${enable_gobject+set}" = set; then :
33368
enableval=$enable_gobject; enable_gobject=$enableval
33370
enable_gobject=auto
33373
case $enable_gobject in #(
33375
use_gobject="no (disabled, use --enable-gobject to enable)"
33378
if test "x$cairo_cv_gobject_cache_version" != "x6" -o \
33379
"x$cairo_cv_gobject_cache_commands_len" != "x277" -o \
33380
"x$cairo_cv_gobject_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
33381
unset cairo_cv_gobject_use
33383
if test "x$enable_gobject" = xyes -a "x$cairo_cv_gobject_use" != xyes; then :
33384
unset cairo_cv_gobject_use
33387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's gobject functions feature" >&5
33388
$as_echo_n "checking for cairo's gobject functions feature... " >&6; }
33389
if test "${cairo_cv_gobject_use+set}" = set; then :
33390
$as_echo_n "(cached) " >&6
33394
gobject_BASE="cairo"
33395
gobject_REQUIRES="$ac_env_gobject_REQUIRES_value"
33396
gobject_CFLAGS="$ac_env_gobject_CFLAGS_value"
33397
gobject_NONPKGCONFIG_CFLAGS="$ac_env_gobject_NONPKGCONFIG_CFLAGS_value"
33398
gobject_LIBS="$ac_env_gobject_LIBS_value"
33399
gobject_NONPKGCONFIG_LIBS="$ac_env_gobject_NONPKGCONFIG_LIBS_value"
33400
gobject_NONPKGCONFIG_EXTRA_LIBS="$ac_env_gobject_NONPKGCONFIG_EXTRA_LIBS_value"
33403
gobject_REQUIRES="gobject-2.0 glib-2.0"
33406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
33407
$as_echo_n "checking for GOBJECT... " >&6; }
33409
if test -n "$GOBJECT_CFLAGS"; then
33410
pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
33411
elif test -n "$PKG_CONFIG"; then
33412
if test -n "$PKG_CONFIG" && \
33413
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
33414
($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
33416
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33417
test $ac_status = 0; }; then
33418
pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "$gobject_REQUIRES" 2>/dev/null`
33425
if test -n "$GOBJECT_LIBS"; then
33426
pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
33427
elif test -n "$PKG_CONFIG"; then
33428
if test -n "$PKG_CONFIG" && \
33429
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
33430
($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
33432
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33433
test $ac_status = 0; }; then
33434
pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "$gobject_REQUIRES" 2>/dev/null`
33444
if test $pkg_failed = yes; then
33446
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33447
_pkg_short_errors_supported=yes
33449
_pkg_short_errors_supported=no
33451
if test $_pkg_short_errors_supported = yes; then
33452
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gobject_REQUIRES" 2>&1`
33454
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gobject_REQUIRES" 2>&1`
33456
# Put the nasty error message in config.log where it belongs
33457
echo "$GOBJECT_PKG_ERRORS" >&5
33459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33460
$as_echo "no" >&6; }
33461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33462
$as_echo "no" >&6; }
33463
use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"
33464
elif test $pkg_failed = untried; then
33465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33466
$as_echo "no" >&6; }
33467
use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"
33469
GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
33470
GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
33471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33472
$as_echo "yes" >&6; }
33475
gobject_NONPKGCONFIG_EXTRA_LIBS="-L\${libdir} -lcairo-gobject"
33477
cairo_cv_gobject_use=$use_gobject
33478
cairo_cv_gobject_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
33479
cairo_cv_gobject_cache_commands_len="277"
33480
cairo_cv_gobject_cache_version="6"
33481
cairo_cv_gobject_BASE=$gobject_BASE
33482
cairo_cv_gobject_REQUIRES=$gobject_REQUIRES
33483
cairo_cv_gobject_CFLAGS=$gobject_CFLAGS
33484
cairo_cv_gobject_NONPKGCONFIG_CFLAGS=$gobject_NONPKGCONFIG_CFLAGS
33485
cairo_cv_gobject_LIBS=$gobject_LIBS
33486
cairo_cv_gobject_NONPKGCONFIG_LIBS=$gobject_NONPKGCONFIG_LIBS
33487
cairo_cv_gobject_NONPKGCONFIG_EXTRA_LIBS=$gobject_NONPKGCONFIG_EXTRA_LIBS
33489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's gobject functions feature could be enabled" >&5
33490
$as_echo_n "checking whether cairo's gobject functions feature could be enabled... " >&6; }
33493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_gobject_use" >&5
33494
$as_echo "$cairo_cv_gobject_use" >&6; }
33495
use_gobject=$cairo_cv_gobject_use
33497
if test "x$enable_gobject" = "xyes" -a "x$use_gobject" != xyes; then :
33498
as_fn_error $? " gobject functions feature could not be enabled" "$LINENO" 5
33502
as_fn_error $? "invalid argument passed to --enable-gobject: \`$use_gobject', should be one of [no/auto/yes]" "$LINENO" 5
33505
if test "x$use_gobject" = "xyes"; then :
33506
gobject_BASE=$cairo_cv_gobject_BASE
33507
gobject_REQUIRES=$cairo_cv_gobject_REQUIRES
33508
gobject_CFLAGS=$cairo_cv_gobject_CFLAGS
33509
gobject_NONPKGCONFIG_CFLAGS=$cairo_cv_gobject_NONPKGCONFIG_CFLAGS
33510
gobject_LIBS=$cairo_cv_gobject_LIBS
33511
gobject_NONPKGCONFIG_LIBS=$cairo_cv_gobject_NONPKGCONFIG_LIBS
33512
gobject_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_gobject_NONPKGCONFIG_EXTRA_LIBS
33514
CAIRO_REQUIRES="$gobject_REQUIRES"" ${CAIRO_REQUIRES}"
33516
CAIRO_CFLAGS="$gobject_CFLAGS"" ${CAIRO_CFLAGS}"
33518
CAIRO_NONPKGCONFIG_CFLAGS="$gobject_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
33520
CAIRO_LIBS="$gobject_LIBS"" ${CAIRO_LIBS}"
33522
CAIRO_NONPKGCONFIG_LIBS="$gobject_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
33526
gobject_BASE=$cairo_cv_gobject_BASE
33527
gobject_REQUIRES=$cairo_cv_gobject_REQUIRES
33528
gobject_CFLAGS=$cairo_cv_gobject_CFLAGS
33529
gobject_NONPKGCONFIG_CFLAGS=$cairo_cv_gobject_NONPKGCONFIG_CFLAGS
33530
gobject_LIBS=$cairo_cv_gobject_LIBS
33531
gobject_NONPKGCONFIG_LIBS=$cairo_cv_gobject_NONPKGCONFIG_LIBS
33532
gobject_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_gobject_NONPKGCONFIG_EXTRA_LIBS
33537
if test "x$use_gobject" = xyes; then
33538
CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE=
33539
CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE='#'
33541
CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE='#'
33542
CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE=
33546
cr_make_tmp='CAIRO_HAS_GOBJECT_FUNCTIONS=0'
33547
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
33552
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33555
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33558
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33561
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33565
cr_make_tmp='supported_cairo_headers += $(cairo_gobject_headers)'
33566
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33569
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33571
cr_make_tmp='supported_cairo_boilerplate_headers += $(cairo_boilerplate_gobject_headers)'
33572
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33575
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33580
cr_make_tmp='all_cairo_headers += $(cairo_gobject_headers)
33581
all_cairo_private += $(cairo_gobject_private)
33582
all_cairo_cxx_sources += $(cairo_gobject_cxx_sources)
33583
all_cairo_sources += $(cairo_gobject_sources)'
33584
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33587
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33589
cr_make_tmp='all_cairo_boilerplate_headers += $(cairo_boilerplate_gobject_headers)
33590
all_cairo_boilerplate_private += $(cairo_boilerplate_gobject_private)
33591
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gobject_cxx_sources)
33592
all_cairo_boilerplate_sources += $(cairo_boilerplate_gobject_sources)'
33593
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33596
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33600
cr_make_tmp='enabled_cairo_headers += $(cairo_gobject_headers)
33601
enabled_cairo_private += $(cairo_gobject_private)
33602
enabled_cairo_cxx_sources += $(cairo_gobject_cxx_sources)
33603
enabled_cairo_sources += $(cairo_gobject_sources)'
33604
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33605
"'if CAIRO_HAS_GOBJECT_FUNCTIONS'
33606
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33608
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33611
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33612
"'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
33613
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33615
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33617
cr_make_tmp='enabled_cairo_boilerplate_headers += $(cairo_boilerplate_gobject_headers)
33618
enabled_cairo_boilerplate_private += $(cairo_boilerplate_gobject_private)
33619
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_gobject_cxx_sources)
33620
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_gobject_sources)'
33621
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33622
"'if CAIRO_HAS_GOBJECT_FUNCTIONS'
33623
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33625
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33628
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33629
"'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
33630
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33632
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33638
if test "x$use_gobject" = xyes; then :
33640
ac_config_files="$ac_config_files src/cairo-gobject.pc:src/cairo-features.pc.in"
33644
if test "x$use_gobject" = xyes; then :
33646
ac_config_files="$ac_config_files cairo-gobject-uninstalled.pc:src/cairo-features-uninstalled.pc.in"
33650
cr_make_tmp='all_cairo_pkgconf += cairo-gobject.pc'
33651
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33654
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33658
cr_make_tmp='enabled_cairo_pkgconf += cairo-gobject.pc'
33659
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33660
"'if CAIRO_HAS_GOBJECT_FUNCTIONS'
33661
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33663
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33666
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33667
"'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
33668
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33670
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33674
if test "x$use_gobject" = xyes; then :
33676
CAIRO_FEATURES="${CAIRO_FEATURES} "'CAIRO_HAS_GOBJECT_FUNCTIONS'
33680
CAIRO_SUPPORTED_FEATURES="${CAIRO_SUPPORTED_FEATURES} "'CAIRO_HAS_GOBJECT_FUNCTIONS'
33684
if test "x$use_gobject" != xyes; then :
33686
CAIRO_NO_FEATURES="${CAIRO_NO_FEATURES} "'CAIRO_HAS_GOBJECT_FUNCTIONS'
33692
cr_make_tmp=' @echo "#define CAIRO_HAS_GOBJECT_FUNCTIONS 1" >> src/cairo-features.h'
33693
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33694
"'ifeq ($(CAIRO_HAS_GOBJECT_FUNCTIONS),1)'
33695
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33697
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
33706
if test "x$use_gobject" = "xyes"; then
33709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
33710
$as_echo_n "checking for GOBJECT... " >&6; }
33712
if test -n "$GOBJECT_CFLAGS"; then
33713
pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
33714
elif test -n "$PKG_CONFIG"; then
33715
if test -n "$PKG_CONFIG" && \
33716
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
33717
($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
33719
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33720
test $ac_status = 0; }; then
33721
pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "$gobject_REQUIRES" 2>/dev/null`
33728
if test -n "$GOBJECT_LIBS"; then
33729
pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
33730
elif test -n "$PKG_CONFIG"; then
33731
if test -n "$PKG_CONFIG" && \
33732
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gobject_REQUIRES\""; } >&5
33733
($PKG_CONFIG --exists --print-errors "$gobject_REQUIRES") 2>&5
33735
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33736
test $ac_status = 0; }; then
33737
pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "$gobject_REQUIRES" 2>/dev/null`
33747
if test $pkg_failed = yes; then
33749
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33750
_pkg_short_errors_supported=yes
33752
_pkg_short_errors_supported=no
33754
if test $_pkg_short_errors_supported = yes; then
33755
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gobject_REQUIRES" 2>&1`
33757
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gobject_REQUIRES" 2>&1`
33759
# Put the nasty error message in config.log where it belongs
33760
echo "$GOBJECT_PKG_ERRORS" >&5
33762
as_fn_error $? "Package requirements ($gobject_REQUIRES) were not met:
33764
$GOBJECT_PKG_ERRORS
33766
Consider adjusting the PKG_CONFIG_PATH environment variable if you
33767
installed software in a non-standard prefix.
33769
Alternatively, you may set the environment variables GOBJECT_CFLAGS
33770
and GOBJECT_LIBS to avoid the need to call pkg-config.
33771
See the pkg-config man page for more details.
33773
elif test $pkg_failed = untried; then
33774
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33775
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33776
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
33777
is in your PATH or set the PKG_CONFIG environment variable to the full
33778
path to pkg-config.
33780
Alternatively, you may set the environment variables GOBJECT_CFLAGS
33781
and GOBJECT_LIBS to avoid the need to call pkg-config.
33782
See the pkg-config man page for more details.
33784
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
33785
See \`config.log' for more details" "$LINENO" 5 ; }
33787
GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
33788
GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
33789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33790
$as_echo "yes" >&6; }
33796
# Check whether --enable-full-testing was given.
33797
if test "${enable_full_testing+set}" = set; then :
33798
enableval=$enable_full_testing;
33799
if test "x$enableval" = "xyes"; then
33800
CAIRO_TEST_MODE=full
33807
if test "x$any2ppm_svg" = "xyes" \
33808
-o "x$any2ppm_pdf" = "xyes" \
33809
-o "x$any2ppm_ps" = "xyes" \
33810
-o "x$any2ppm_cs" = "xyes"; then
33811
BUILD_ANY2PPM_TRUE=
33812
BUILD_ANY2PPM_FALSE='#'
33814
BUILD_ANY2PPM_TRUE='#'
33815
BUILD_ANY2PPM_FALSE=
33829
cat >>confdefs.h <<_ACEOF
33830
#define SHARED_LIB_EXT "${SHLIB_EXT}"
33837
*-linux*|*-*bsd*|*-solaris*|*-*-darwin*|*-dragonfly*)
33838
have_ld_preload="yes"
33841
have_ld_preload="no"
33845
# Check whether --enable-trace was given.
33846
if test "${enable_trace+set}" = set; then :
33847
enableval=$enable_trace; enable_trace=$enableval
33852
case $enable_trace in #(
33854
use_trace="no (disabled, use --enable-trace to enable)"
33857
if test "x$cairo_cv_trace_cache_version" != "x6" -o \
33858
"x$cairo_cv_trace_cache_commands_len" != "x222" -o \
33859
"x$cairo_cv_trace_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
33860
unset cairo_cv_trace_use
33862
if test "x$enable_trace" = xyes -a "x$cairo_cv_trace_use" != xyes; then :
33863
unset cairo_cv_trace_use
33866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's cairo-trace feature" >&5
33867
$as_echo_n "checking for cairo's cairo-trace feature... " >&6; }
33868
if test "${cairo_cv_trace_use+set}" = set; then :
33869
$as_echo_n "(cached) " >&6
33874
trace_REQUIRES="$ac_env_trace_REQUIRES_value"
33875
trace_CFLAGS="$ac_env_trace_CFLAGS_value"
33876
trace_NONPKGCONFIG_CFLAGS="$ac_env_trace_NONPKGCONFIG_CFLAGS_value"
33877
trace_LIBS="$ac_env_trace_LIBS_value"
33878
trace_NONPKGCONFIG_LIBS="$ac_env_trace_NONPKGCONFIG_LIBS_value"
33879
trace_NONPKGCONFIG_EXTRA_LIBS="$ac_env_trace_NONPKGCONFIG_EXTRA_LIBS_value"
33882
if test "x$have_ld_preload" != "xyes" -o \
33883
"x$have_libz" != "xyes" -o \
33884
"x$have_real_pthread" != "xyes" -o \
33885
"x$have_dlsym" != "xyes"; then
33886
use_trace="no (requires dynamic linker and zlib and real pthreads)"
33889
cairo_cv_trace_use=$use_trace
33890
cairo_cv_trace_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
33891
cairo_cv_trace_cache_commands_len="222"
33892
cairo_cv_trace_cache_version="6"
33893
cairo_cv_trace_BASE=$trace_BASE
33894
cairo_cv_trace_REQUIRES=$trace_REQUIRES
33895
cairo_cv_trace_CFLAGS=$trace_CFLAGS
33896
cairo_cv_trace_NONPKGCONFIG_CFLAGS=$trace_NONPKGCONFIG_CFLAGS
33897
cairo_cv_trace_LIBS=$trace_LIBS
33898
cairo_cv_trace_NONPKGCONFIG_LIBS=$trace_NONPKGCONFIG_LIBS
33899
cairo_cv_trace_NONPKGCONFIG_EXTRA_LIBS=$trace_NONPKGCONFIG_EXTRA_LIBS
33901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's cairo-trace feature could be enabled" >&5
33902
$as_echo_n "checking whether cairo's cairo-trace feature could be enabled... " >&6; }
33905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_trace_use" >&5
33906
$as_echo "$cairo_cv_trace_use" >&6; }
33907
use_trace=$cairo_cv_trace_use
33909
if test "x$enable_trace" = "xyes" -a "x$use_trace" != xyes; then :
33910
as_fn_error $? " cairo-trace feature could not be enabled" "$LINENO" 5
33914
as_fn_error $? "invalid argument passed to --enable-trace: \`$use_trace', should be one of [no/auto/yes]" "$LINENO" 5
33917
if test "x$use_trace" = "xyes"; then :
33918
trace_BASE=$cairo_cv_trace_BASE
33919
trace_REQUIRES=$cairo_cv_trace_REQUIRES
33920
trace_CFLAGS=$cairo_cv_trace_CFLAGS
33921
trace_NONPKGCONFIG_CFLAGS=$cairo_cv_trace_NONPKGCONFIG_CFLAGS
33922
trace_LIBS=$cairo_cv_trace_LIBS
33923
trace_NONPKGCONFIG_LIBS=$cairo_cv_trace_NONPKGCONFIG_LIBS
33924
trace_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_trace_NONPKGCONFIG_EXTRA_LIBS
33926
CAIRO_REQUIRES="$trace_REQUIRES"" ${CAIRO_REQUIRES}"
33928
CAIRO_CFLAGS="$trace_CFLAGS"" ${CAIRO_CFLAGS}"
33930
CAIRO_NONPKGCONFIG_CFLAGS="$trace_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
33932
CAIRO_LIBS="$trace_LIBS"" ${CAIRO_LIBS}"
33934
CAIRO_NONPKGCONFIG_LIBS="$trace_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
33938
trace_BASE=$cairo_cv_trace_BASE
33939
trace_REQUIRES=$cairo_cv_trace_REQUIRES
33940
trace_CFLAGS=$cairo_cv_trace_CFLAGS
33941
trace_NONPKGCONFIG_CFLAGS=$cairo_cv_trace_NONPKGCONFIG_CFLAGS
33942
trace_LIBS=$cairo_cv_trace_LIBS
33943
trace_NONPKGCONFIG_LIBS=$cairo_cv_trace_NONPKGCONFIG_LIBS
33944
trace_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_trace_NONPKGCONFIG_EXTRA_LIBS
33949
if test "x$use_trace" = xyes; then
33950
CAIRO_HAS_TRACE_TRUE=
33951
CAIRO_HAS_TRACE_FALSE='#'
33953
CAIRO_HAS_TRACE_TRUE='#'
33954
CAIRO_HAS_TRACE_FALSE=
33958
cr_make_tmp='CAIRO_HAS_TRACE=0'
33959
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
33964
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33967
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33970
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33973
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33981
cr_make_tmp='all_cairo_private += $(cairo_trace_private) $(cairo_trace_headers)
33982
all_cairo_cxx_sources += $(cairo_trace_cxx_sources)
33983
all_cairo_sources += $(cairo_trace_sources)'
33984
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
33987
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
33989
cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_trace_private) $(cairo_boilerplate_trace_headers)
33990
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_trace_cxx_sources)
33991
all_cairo_boilerplate_sources += $(cairo_boilerplate_trace_sources)'
33992
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
33995
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
33999
cr_make_tmp='enabled_cairo_private += $(cairo_trace_private) $(cairo_trace_headers)
34000
enabled_cairo_cxx_sources += $(cairo_trace_cxx_sources)
34001
enabled_cairo_sources += $(cairo_trace_sources)'
34002
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34003
"'if CAIRO_HAS_TRACE'
34004
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34006
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34009
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34010
"'ifeq ($(CAIRO_HAS_TRACE),1)'
34011
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34013
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34015
cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_trace_private) $(cairo_boilerplate_trace_headers)
34016
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_trace_cxx_sources)
34017
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_trace_sources)'
34018
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34019
"'if CAIRO_HAS_TRACE'
34020
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34022
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34025
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34026
"'ifeq ($(CAIRO_HAS_TRACE),1)'
34027
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34029
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34040
if test "x$use_trace" = xyes; then :
34043
$as_echo "#define CAIRO_HAS_TRACE 1" >>confdefs.h
34048
cr_make_tmp=' @echo "#define CAIRO_HAS_TRACE 1" >> src/cairo-features.h'
34049
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34050
"'ifeq ($(CAIRO_HAS_TRACE),1)'
34051
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34053
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34063
# Check whether --enable-interpreter was given.
34064
if test "${enable_interpreter+set}" = set; then :
34065
enableval=$enable_interpreter; enable_interpreter=$enableval
34067
enable_interpreter=yes
34070
case $enable_interpreter in #(
34072
use_interpreter="no (disabled, use --enable-interpreter to enable)"
34075
if test "x$cairo_cv_interpreter_cache_version" != "x6" -o \
34076
"x$cairo_cv_interpreter_cache_commands_len" != "x83" -o \
34077
"x$cairo_cv_interpreter_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
34078
unset cairo_cv_interpreter_use
34080
if test "x$enable_interpreter" = xyes -a "x$cairo_cv_interpreter_use" != xyes; then :
34081
unset cairo_cv_interpreter_use
34084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's cairo-script-interpreter feature" >&5
34085
$as_echo_n "checking for cairo's cairo-script-interpreter feature... " >&6; }
34086
if test "${cairo_cv_interpreter_use+set}" = set; then :
34087
$as_echo_n "(cached) " >&6
34090
use_interpreter=yes
34091
interpreter_BASE="cairo"
34092
interpreter_REQUIRES="$ac_env_interpreter_REQUIRES_value"
34093
interpreter_CFLAGS="$ac_env_interpreter_CFLAGS_value"
34094
interpreter_NONPKGCONFIG_CFLAGS="$ac_env_interpreter_NONPKGCONFIG_CFLAGS_value"
34095
interpreter_LIBS="$ac_env_interpreter_LIBS_value"
34096
interpreter_NONPKGCONFIG_LIBS="$ac_env_interpreter_NONPKGCONFIG_LIBS_value"
34097
interpreter_NONPKGCONFIG_EXTRA_LIBS="$ac_env_interpreter_NONPKGCONFIG_EXTRA_LIBS_value"
34100
if test "x$have_libz" != "xyes"; then
34101
use_interpreter="no (requires zlib)"
34104
cairo_cv_interpreter_use=$use_interpreter
34105
cairo_cv_interpreter_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
34106
cairo_cv_interpreter_cache_commands_len="83"
34107
cairo_cv_interpreter_cache_version="6"
34108
cairo_cv_interpreter_BASE=$interpreter_BASE
34109
cairo_cv_interpreter_REQUIRES=$interpreter_REQUIRES
34110
cairo_cv_interpreter_CFLAGS=$interpreter_CFLAGS
34111
cairo_cv_interpreter_NONPKGCONFIG_CFLAGS=$interpreter_NONPKGCONFIG_CFLAGS
34112
cairo_cv_interpreter_LIBS=$interpreter_LIBS
34113
cairo_cv_interpreter_NONPKGCONFIG_LIBS=$interpreter_NONPKGCONFIG_LIBS
34114
cairo_cv_interpreter_NONPKGCONFIG_EXTRA_LIBS=$interpreter_NONPKGCONFIG_EXTRA_LIBS
34116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's cairo-script-interpreter feature could be enabled" >&5
34117
$as_echo_n "checking whether cairo's cairo-script-interpreter feature could be enabled... " >&6; }
34120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_interpreter_use" >&5
34121
$as_echo "$cairo_cv_interpreter_use" >&6; }
34122
use_interpreter=$cairo_cv_interpreter_use
34124
if test "x$enable_interpreter" = "xyes" -a "x$use_interpreter" != xyes; then :
34125
as_fn_error $? "recommended cairo-script-interpreter feature could not be enabled" "$LINENO" 5
34129
as_fn_error $? "invalid argument passed to --enable-interpreter: \`$use_interpreter', should be one of [no/auto/yes]" "$LINENO" 5
34132
if test "x$use_interpreter" = "xyes"; then :
34133
interpreter_BASE=$cairo_cv_interpreter_BASE
34134
interpreter_REQUIRES=$cairo_cv_interpreter_REQUIRES
34135
interpreter_CFLAGS=$cairo_cv_interpreter_CFLAGS
34136
interpreter_NONPKGCONFIG_CFLAGS=$cairo_cv_interpreter_NONPKGCONFIG_CFLAGS
34137
interpreter_LIBS=$cairo_cv_interpreter_LIBS
34138
interpreter_NONPKGCONFIG_LIBS=$cairo_cv_interpreter_NONPKGCONFIG_LIBS
34139
interpreter_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_interpreter_NONPKGCONFIG_EXTRA_LIBS
34141
CAIRO_REQUIRES="$interpreter_REQUIRES"" ${CAIRO_REQUIRES}"
34143
CAIRO_CFLAGS="$interpreter_CFLAGS"" ${CAIRO_CFLAGS}"
34145
CAIRO_NONPKGCONFIG_CFLAGS="$interpreter_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
34147
CAIRO_LIBS="$interpreter_LIBS"" ${CAIRO_LIBS}"
34149
CAIRO_NONPKGCONFIG_LIBS="$interpreter_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
34153
interpreter_BASE=$cairo_cv_interpreter_BASE
34154
interpreter_REQUIRES=$cairo_cv_interpreter_REQUIRES
34155
interpreter_CFLAGS=$cairo_cv_interpreter_CFLAGS
34156
interpreter_NONPKGCONFIG_CFLAGS=$cairo_cv_interpreter_NONPKGCONFIG_CFLAGS
34157
interpreter_LIBS=$cairo_cv_interpreter_LIBS
34158
interpreter_NONPKGCONFIG_LIBS=$cairo_cv_interpreter_NONPKGCONFIG_LIBS
34159
interpreter_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_interpreter_NONPKGCONFIG_EXTRA_LIBS
34164
if test "x$use_interpreter" = xyes; then
34165
CAIRO_HAS_INTERPRETER_TRUE=
34166
CAIRO_HAS_INTERPRETER_FALSE='#'
34168
CAIRO_HAS_INTERPRETER_TRUE='#'
34169
CAIRO_HAS_INTERPRETER_FALSE=
34173
cr_make_tmp='CAIRO_HAS_INTERPRETER=1'
34174
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
34179
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34182
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34185
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34188
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34196
cr_make_tmp='all_cairo_private += $(cairo_interpreter_private) $(cairo_interpreter_headers)
34197
all_cairo_cxx_sources += $(cairo_interpreter_cxx_sources)
34198
all_cairo_sources += $(cairo_interpreter_sources)'
34199
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34202
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34204
cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_interpreter_private) $(cairo_boilerplate_interpreter_headers)
34205
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_interpreter_cxx_sources)
34206
all_cairo_boilerplate_sources += $(cairo_boilerplate_interpreter_sources)'
34207
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34210
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34214
cr_make_tmp='enabled_cairo_private += $(cairo_interpreter_private) $(cairo_interpreter_headers)
34215
enabled_cairo_cxx_sources += $(cairo_interpreter_cxx_sources)
34216
enabled_cairo_sources += $(cairo_interpreter_sources)'
34217
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34218
"'if CAIRO_HAS_INTERPRETER'
34219
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34221
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34224
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34225
"'ifeq ($(CAIRO_HAS_INTERPRETER),1)'
34226
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34228
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34230
cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_interpreter_private) $(cairo_boilerplate_interpreter_headers)
34231
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_interpreter_cxx_sources)
34232
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_interpreter_sources)'
34233
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34234
"'if CAIRO_HAS_INTERPRETER'
34235
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34237
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34240
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34241
"'ifeq ($(CAIRO_HAS_INTERPRETER),1)'
34242
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34244
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34255
if test "x$use_interpreter" = xyes; then :
34258
$as_echo "#define CAIRO_HAS_INTERPRETER 1" >>confdefs.h
34263
cr_make_tmp=' @echo "#define CAIRO_HAS_INTERPRETER 1" >> src/cairo-features.h'
34264
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34265
"'ifeq ($(CAIRO_HAS_INTERPRETER),1)'
34266
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34268
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34273
if test "x$use_interpreter" != xyes; then :
34275
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
34277
"'+++ It is strongly recommended that you do NOT disable the
34278
+++ cairo-script-interpreter feature.'
34287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd_openr in -lbfd" >&5
34288
$as_echo_n "checking for bfd_openr in -lbfd... " >&6; }
34289
if test "${ac_cv_lib_bfd_bfd_openr+set}" = set; then :
34290
$as_echo_n "(cached) " >&6
34292
ac_check_lib_save_LIBS=$LIBS
34294
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34295
/* end confdefs.h. */
34297
/* Override any GCC internal prototype to avoid an error.
34298
Use char because int might match the return type of a GCC
34299
builtin and then its argument prototype would still apply. */
34307
return bfd_openr ();
34312
if ac_fn_c_try_link "$LINENO"; then :
34313
ac_cv_lib_bfd_bfd_openr=yes
34315
ac_cv_lib_bfd_bfd_openr=no
34317
rm -f core conftest.err conftest.$ac_objext \
34318
conftest$ac_exeext conftest.$ac_ext
34319
LIBS=$ac_check_lib_save_LIBS
34321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfd_bfd_openr" >&5
34322
$as_echo "$ac_cv_lib_bfd_bfd_openr" >&6; }
34323
if test "x$ac_cv_lib_bfd_bfd_openr" = x""yes; then :
34324
ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
34325
if test "x$ac_cv_header_bfd_h" = x""yes; then :
34336
ac_fn_c_check_header_mongrel "$LINENO" "libiberty.h" "ac_cv_header_libiberty_h" "$ac_includes_default"
34337
if test "x$ac_cv_header_libiberty_h" = x""yes; then :
34344
if test "x$have_bfd" = "xyes"; then
34346
$as_echo "#define HAVE_BFD 1" >>confdefs.h
34352
# Check whether --enable-symbol-lookup was given.
34353
if test "${enable_symbol_lookup+set}" = set; then :
34354
enableval=$enable_symbol_lookup; enable_symbol_lookup=$enableval
34356
enable_symbol_lookup=auto
34359
case $enable_symbol_lookup in #(
34361
use_symbol_lookup="no (disabled, use --enable-symbol-lookup to enable)"
34364
if test "x$cairo_cv_symbol_lookup_cache_version" != "x6" -o \
34365
"x$cairo_cv_symbol_lookup_cache_commands_len" != "x83" -o \
34366
"x$cairo_cv_symbol_lookup_cache_vars" != "x BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"; then :
34367
unset cairo_cv_symbol_lookup_use
34369
if test "x$enable_symbol_lookup" = xyes -a "x$cairo_cv_symbol_lookup_use" != xyes; then :
34370
unset cairo_cv_symbol_lookup_use
34373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo's symbol-lookup feature" >&5
34374
$as_echo_n "checking for cairo's symbol-lookup feature... " >&6; }
34375
if test "${cairo_cv_symbol_lookup_use+set}" = set; then :
34376
$as_echo_n "(cached) " >&6
34379
use_symbol_lookup=yes
34380
symbol_lookup_BASE="cairo"
34381
symbol_lookup_REQUIRES="$ac_env_symbol_lookup_REQUIRES_value"
34382
symbol_lookup_CFLAGS="$ac_env_symbol_lookup_CFLAGS_value"
34383
symbol_lookup_NONPKGCONFIG_CFLAGS="$ac_env_symbol_lookup_NONPKGCONFIG_CFLAGS_value"
34384
symbol_lookup_LIBS="$ac_env_symbol_lookup_LIBS_value"
34385
symbol_lookup_NONPKGCONFIG_LIBS="$ac_env_symbol_lookup_NONPKGCONFIG_LIBS_value"
34386
symbol_lookup_NONPKGCONFIG_EXTRA_LIBS="$ac_env_symbol_lookup_NONPKGCONFIG_EXTRA_LIBS_value"
34389
if test "x$have_bfd" != "xyes"; then
34390
use_symbol_lookup="no (requires bfd)"
34393
cairo_cv_symbol_lookup_use=$use_symbol_lookup
34394
cairo_cv_symbol_lookup_cache_vars=" BASE REQUIRES CFLAGS NONPKGCONFIG_CFLAGS LIBS NONPKGCONFIG_LIBS NONPKGCONFIG_EXTRA_LIBS"
34395
cairo_cv_symbol_lookup_cache_commands_len="83"
34396
cairo_cv_symbol_lookup_cache_version="6"
34397
cairo_cv_symbol_lookup_BASE=$symbol_lookup_BASE
34398
cairo_cv_symbol_lookup_REQUIRES=$symbol_lookup_REQUIRES
34399
cairo_cv_symbol_lookup_CFLAGS=$symbol_lookup_CFLAGS
34400
cairo_cv_symbol_lookup_NONPKGCONFIG_CFLAGS=$symbol_lookup_NONPKGCONFIG_CFLAGS
34401
cairo_cv_symbol_lookup_LIBS=$symbol_lookup_LIBS
34402
cairo_cv_symbol_lookup_NONPKGCONFIG_LIBS=$symbol_lookup_NONPKGCONFIG_LIBS
34403
cairo_cv_symbol_lookup_NONPKGCONFIG_EXTRA_LIBS=$symbol_lookup_NONPKGCONFIG_EXTRA_LIBS
34405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's symbol-lookup feature could be enabled" >&5
34406
$as_echo_n "checking whether cairo's symbol-lookup feature could be enabled... " >&6; }
34409
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_cv_symbol_lookup_use" >&5
34410
$as_echo "$cairo_cv_symbol_lookup_use" >&6; }
34411
use_symbol_lookup=$cairo_cv_symbol_lookup_use
34413
if test "x$enable_symbol_lookup" = "xyes" -a "x$use_symbol_lookup" != xyes; then :
34414
as_fn_error $? " symbol-lookup feature could not be enabled" "$LINENO" 5
34418
as_fn_error $? "invalid argument passed to --enable-symbol-lookup: \`$use_symbol_lookup', should be one of [no/auto/yes]" "$LINENO" 5
34421
if test "x$use_symbol_lookup" = "xyes"; then :
34422
symbol_lookup_BASE=$cairo_cv_symbol_lookup_BASE
34423
symbol_lookup_REQUIRES=$cairo_cv_symbol_lookup_REQUIRES
34424
symbol_lookup_CFLAGS=$cairo_cv_symbol_lookup_CFLAGS
34425
symbol_lookup_NONPKGCONFIG_CFLAGS=$cairo_cv_symbol_lookup_NONPKGCONFIG_CFLAGS
34426
symbol_lookup_LIBS=$cairo_cv_symbol_lookup_LIBS
34427
symbol_lookup_NONPKGCONFIG_LIBS=$cairo_cv_symbol_lookup_NONPKGCONFIG_LIBS
34428
symbol_lookup_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_symbol_lookup_NONPKGCONFIG_EXTRA_LIBS
34430
CAIRO_REQUIRES="$symbol_lookup_REQUIRES"" ${CAIRO_REQUIRES}"
34432
CAIRO_CFLAGS="$symbol_lookup_CFLAGS"" ${CAIRO_CFLAGS}"
34434
CAIRO_NONPKGCONFIG_CFLAGS="$symbol_lookup_NONPKGCONFIG_CFLAGS"" ${CAIRO_NONPKGCONFIG_CFLAGS}"
34436
CAIRO_LIBS="$symbol_lookup_LIBS"" ${CAIRO_LIBS}"
34438
CAIRO_NONPKGCONFIG_LIBS="$symbol_lookup_NONPKGCONFIG_LIBS"" ${CAIRO_NONPKGCONFIG_LIBS}"
34442
symbol_lookup_BASE=$cairo_cv_symbol_lookup_BASE
34443
symbol_lookup_REQUIRES=$cairo_cv_symbol_lookup_REQUIRES
34444
symbol_lookup_CFLAGS=$cairo_cv_symbol_lookup_CFLAGS
34445
symbol_lookup_NONPKGCONFIG_CFLAGS=$cairo_cv_symbol_lookup_NONPKGCONFIG_CFLAGS
34446
symbol_lookup_LIBS=$cairo_cv_symbol_lookup_LIBS
34447
symbol_lookup_NONPKGCONFIG_LIBS=$cairo_cv_symbol_lookup_NONPKGCONFIG_LIBS
34448
symbol_lookup_NONPKGCONFIG_EXTRA_LIBS=$cairo_cv_symbol_lookup_NONPKGCONFIG_EXTRA_LIBS
34453
if test "x$use_symbol_lookup" = xyes; then
34454
CAIRO_HAS_SYMBOL_LOOKUP_TRUE=
34455
CAIRO_HAS_SYMBOL_LOOKUP_FALSE='#'
34457
CAIRO_HAS_SYMBOL_LOOKUP_TRUE='#'
34458
CAIRO_HAS_SYMBOL_LOOKUP_FALSE=
34462
cr_make_tmp='CAIRO_HAS_SYMBOL_LOOKUP=0'
34463
CAIRO_MAKEFILE___WIN32="${CAIRO_MAKEFILE___WIN32}
34468
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34471
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34474
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34477
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34485
cr_make_tmp='all_cairo_private += $(cairo_symbol_lookup_private) $(cairo_symbol_lookup_headers)
34486
all_cairo_cxx_sources += $(cairo_symbol_lookup_cxx_sources)
34487
all_cairo_sources += $(cairo_symbol_lookup_sources)'
34488
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34491
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34493
cr_make_tmp='all_cairo_boilerplate_private += $(cairo_boilerplate_symbol_lookup_private) $(cairo_boilerplate_symbol_lookup_headers)
34494
all_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_symbol_lookup_cxx_sources)
34495
all_cairo_boilerplate_sources += $(cairo_boilerplate_symbol_lookup_sources)'
34496
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34499
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34503
cr_make_tmp='enabled_cairo_private += $(cairo_symbol_lookup_private) $(cairo_symbol_lookup_headers)
34504
enabled_cairo_cxx_sources += $(cairo_symbol_lookup_cxx_sources)
34505
enabled_cairo_sources += $(cairo_symbol_lookup_sources)'
34506
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34507
"'if CAIRO_HAS_SYMBOL_LOOKUP'
34508
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34510
CAIRO_MAKEFILE_cairo_AMAKE="${CAIRO_MAKEFILE_cairo_AMAKE}
34513
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34514
"'ifeq ($(CAIRO_HAS_SYMBOL_LOOKUP),1)'
34515
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34517
CAIRO_MAKEFILE_cairo_WIN32="${CAIRO_MAKEFILE_cairo_WIN32}
34519
cr_make_tmp='enabled_cairo_boilerplate_private += $(cairo_boilerplate_symbol_lookup_private) $(cairo_boilerplate_symbol_lookup_headers)
34520
enabled_cairo_boilerplate_cxx_sources += $(cairo_boilerplate_symbol_lookup_cxx_sources)
34521
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_symbol_lookup_sources)'
34522
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34523
"'if CAIRO_HAS_SYMBOL_LOOKUP'
34524
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34526
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE="${CAIRO_MAKEFILE_cairo_boilerplate_AMAKE}
34529
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34530
"'ifeq ($(CAIRO_HAS_SYMBOL_LOOKUP),1)'
34531
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34533
CAIRO_MAKEFILE_cairo_boilerplate_WIN32="${CAIRO_MAKEFILE_cairo_boilerplate_WIN32}
34544
if test "x$use_symbol_lookup" = xyes; then :
34547
$as_echo "#define CAIRO_HAS_SYMBOL_LOOKUP 1" >>confdefs.h
34552
cr_make_tmp=' @echo "#define CAIRO_HAS_SYMBOL_LOOKUP 1" >> src/cairo-features.h'
34553
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34554
"'ifeq ($(CAIRO_HAS_SYMBOL_LOOKUP),1)'
34555
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34557
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib" >&5
34570
$as_echo_n "checking for glib... " >&6; }
34572
if test -n "$glib_CFLAGS"; then
34573
pkg_cv_glib_CFLAGS="$glib_CFLAGS"
34574
elif test -n "$PKG_CONFIG"; then
34575
if test -n "$PKG_CONFIG" && \
34576
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
34577
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
34579
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34580
test $ac_status = 0; }; then
34581
pkg_cv_glib_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
34588
if test -n "$glib_LIBS"; then
34589
pkg_cv_glib_LIBS="$glib_LIBS"
34590
elif test -n "$PKG_CONFIG"; then
34591
if test -n "$PKG_CONFIG" && \
34592
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
34593
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
34595
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34596
test $ac_status = 0; }; then
34597
pkg_cv_glib_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
34607
if test $pkg_failed = yes; then
34609
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34610
_pkg_short_errors_supported=yes
34612
_pkg_short_errors_supported=no
34614
if test $_pkg_short_errors_supported = yes; then
34615
glib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
34617
glib_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
34619
# Put the nasty error message in config.log where it belongs
34620
echo "$glib_PKG_ERRORS" >&5
34622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34623
$as_echo "no" >&6; }
34625
elif test $pkg_failed = untried; then
34628
glib_CFLAGS=$pkg_cv_glib_CFLAGS
34629
glib_LIBS=$pkg_cv_glib_LIBS
34630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34631
$as_echo "yes" >&6; }
34636
if test "x$have_glib" = "xyes"; then
34638
BUILD_SPHINX_FALSE='#'
34640
BUILD_SPHINX_TRUE='#'
34641
BUILD_SPHINX_FALSE=
34646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
34647
$as_echo_n "checking for shm_open in -lrt... " >&6; }
34648
if test "${ac_cv_lib_rt_shm_open+set}" = set; then :
34649
$as_echo_n "(cached) " >&6
34651
ac_check_lib_save_LIBS=$LIBS
34653
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34654
/* end confdefs.h. */
34656
/* Override any GCC internal prototype to avoid an error.
34657
Use char because int might match the return type of a GCC
34658
builtin and then its argument prototype would still apply. */
34666
return shm_open ();
34671
if ac_fn_c_try_link "$LINENO"; then :
34672
ac_cv_lib_rt_shm_open=yes
34674
ac_cv_lib_rt_shm_open=no
34676
rm -f core conftest.err conftest.$ac_objext \
34677
conftest$ac_exeext conftest.$ac_ext
34678
LIBS=$ac_check_lib_save_LIBS
34680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
34681
$as_echo "$ac_cv_lib_rt_shm_open" >&6; }
34682
if test "x$ac_cv_lib_rt_shm_open" = x""yes; then :
34690
# Check whether --enable-some-floating-point was given.
34691
if test "${enable_some_floating_point+set}" = set; then :
34692
enableval=$enable_some_floating_point;
34693
if test "x$enableval" = "xno"; then
34694
# A value of 'no' for $enableval means that they want to disable, which
34695
# means 'yes' for $disable_some_floating_point.
34696
disable_some_floating_point=yes
34700
disable_some_floating_point=no
34704
if test "x$disable_some_floating_point" = "xyes"; then
34705
DISABLE_SOME_FLOATING_POINT_TRUE=
34706
DISABLE_SOME_FLOATING_POINT_FALSE='#'
34708
DISABLE_SOME_FLOATING_POINT_TRUE='#'
34709
DISABLE_SOME_FLOATING_POINT_FALSE=
34712
if test "x$disable_some_floating_point" = "xyes"; then
34714
$as_echo "#define DISABLE_SOME_FLOATING_POINT 1" >>confdefs.h
34720
if test "x$use_skia" = "xyes"; then :
34723
if test "x$use_qt" = "xyes"; then :
34726
if test "x$use_beos" = "xyes"; then :
34730
if test "x$need_cxx" = "xyes"; then
34732
BUILD_CXX_FALSE='#'
34740
# We use GTK+ for some utility/debugging tools
34743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
34744
$as_echo_n "checking for gtk... " >&6; }
34746
if test -n "$gtk_CFLAGS"; then
34747
pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
34748
elif test -n "$PKG_CONFIG"; then
34749
if test -n "$PKG_CONFIG" && \
34750
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0\"\""; } >&5
34751
($PKG_CONFIG --exists --print-errors ""gtk+-2.0"") 2>&5
34753
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34754
test $ac_status = 0; }; then
34755
pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags ""gtk+-2.0"" 2>/dev/null`
34762
if test -n "$gtk_LIBS"; then
34763
pkg_cv_gtk_LIBS="$gtk_LIBS"
34764
elif test -n "$PKG_CONFIG"; then
34765
if test -n "$PKG_CONFIG" && \
34766
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0\"\""; } >&5
34767
($PKG_CONFIG --exists --print-errors ""gtk+-2.0"") 2>&5
34769
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34770
test $ac_status = 0; }; then
34771
pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs ""gtk+-2.0"" 2>/dev/null`
34781
if test $pkg_failed = yes; then
34783
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34784
_pkg_short_errors_supported=yes
34786
_pkg_short_errors_supported=no
34788
if test $_pkg_short_errors_supported = yes; then
34789
gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors ""gtk+-2.0"" 2>&1`
34791
gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors ""gtk+-2.0"" 2>&1`
34793
# Put the nasty error message in config.log where it belongs
34794
echo "$gtk_PKG_ERRORS" >&5
34796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34797
$as_echo "no" >&6; }
34799
elif test $pkg_failed = untried; then
34802
gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
34803
gtk_LIBS=$pkg_cv_gtk_LIBS
34804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34805
$as_echo "yes" >&6; }
34808
if test "x$have_gtk" = "xyes"; then
34817
ac_config_files="$ac_config_files Makefile boilerplate/Makefile src/Makefile test/Makefile test/pdiff/Makefile perf/Makefile util/Makefile util/cairo-fdr/Makefile util/cairo-gobject/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"
34820
cat >confcache <<\_ACEOF
34821
# This file is a shell script that caches the results of configure
34822
# tests run on this system so they can be shared between configure
34823
# scripts and configure runs, see configure's option --config-cache.
34824
# It is not useful on other systems. If it contains results you don't
34825
# want to keep, you may remove or edit it.
34827
# config.status only pays attention to the cache file if you give it
34828
# the --recheck option to rerun configure.
34830
# `ac_cv_env_foo' variables (set or unset) will be overridden when
34831
# loading this file, other *unset* `ac_cv_foo' will be assigned the
34832
# following values.
34836
# The following way of writing the cache mishandles newlines in values,
34837
# but we know of no workaround that is simple, portable, and efficient.
34838
# So, we kill variables containing newlines.
34839
# Ultrix sh set writes to stderr and can't be redirected directly,
34840
# and sets the high bit in the cache file unless we assign to the vars.
34842
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34843
eval ac_val=\$$ac_var
34847
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
34848
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
34851
_ | IFS | as_nl) ;; #(
34852
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
34853
*) { eval $ac_var=; unset $ac_var;} ;;
34859
case $as_nl`(ac_space=' '; set) 2>&1` in #(
34860
*${as_nl}ac_space=\ *)
34861
# `set' does not quote correctly, so add quotes: double-quote
34862
# substitution turns \\\\ into \\, and sed turns \\ into \.
34865
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34868
# `set' quotes correctly as required by POSIX, so do not add quotes.
34869
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
34878
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34880
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34882
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
34883
if test -w "$cache_file"; then
34884
test "x$cache_file" != "x/dev/null" &&
34885
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
34886
$as_echo "$as_me: updating cache $cache_file" >&6;}
34887
cat confcache >$cache_file
34889
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
34890
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
34895
test "x$prefix" = xNONE && prefix=$ac_default_prefix
34896
# Let make expand exec_prefix.
34897
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34899
DEFS=-DHAVE_CONFIG_H
34904
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34905
# 1. Remove the extension, and $U if already installed.
34906
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
34907
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
34908
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
34909
# will be set to the directory where LIBOBJS objects are built.
34910
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
34911
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
34913
LIBOBJS=$ac_libobjs
34915
LTLIBOBJS=$ac_ltlibobjs
34918
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34919
as_fn_error $? "conditional \"AMDEP\" was never defined.
34920
Usually this means the macro was only invoked conditionally." "$LINENO" 5
34922
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34923
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
34924
Usually this means the macro was only invoked conditionally." "$LINENO" 5
34926
if test -n "$EXEEXT"; then
34928
am__EXEEXT_FALSE='#'
34930
am__EXEEXT_TRUE='#'
34934
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
34935
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
34936
Usually this means the macro was only invoked conditionally." "$LINENO" 5
34938
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
34939
as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
34940
Usually this means the macro was only invoked conditionally." "$LINENO" 5
34942
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
34943
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
34944
Usually this means the macro was only invoked conditionally." "$LINENO" 5
34946
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
34947
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
34948
Usually this means the macro was only invoked conditionally." "$LINENO" 5
34950
CAIRO_CFLAGS="$CAIRO_CFLAGS $CAIRO_NONPKGCONFIG_CFLAGS"
34951
CAIRO_LIBS="$CAIRO_LIBS $CAIRO_NONPKGCONFIG_LIBS"
34953
cr_make_tmp=' @echo "#endif" >> src/cairo-features.h'
34954
CAIRO_MAKEFILE_win32_features_h_WIN32="${CAIRO_MAKEFILE_win32_features_h_WIN32}
34959
if test -z "$CAIRO_NATIVE_SURFACE_BACKENDS"; then :
34960
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
34962
"'*** No native surface backends enabled for your platform. It is strongly
34963
*** recommended that you enable the native surface backend feature for your
34968
if test -z "$CAIRO_NATIVE_FONT_BACKENDS"; then :
34969
CAIRO_WARNING_MESSAGE="${CAIRO_WARNING_MESSAGE}
34971
"'*** No native font backends enabled for your platform. It is strongly
34972
*** recommended that you enable the native font backend feature for your
34978
if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
34979
as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
34980
Usually this means the macro was only invoked conditionally." "$LINENO" 5
34983
if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
34984
as_fn_error $? "conditional \"OS_WIN32\" was never defined.
34985
Usually this means the macro was only invoked conditionally." "$LINENO" 5
34987
if test -z "${HAVE_SHM_TRUE}" && test -z "${HAVE_SHM_FALSE}"; then
34988
as_fn_error $? "conditional \"HAVE_SHM\" was never defined.
34989
Usually this means the macro was only invoked conditionally." "$LINENO" 5
34991
if test -z "${CAIRO_HAS_LCOV_TRUE}" && test -z "${CAIRO_HAS_LCOV_FALSE}"; then
34992
as_fn_error $? "conditional \"CAIRO_HAS_LCOV\" was never defined.
34993
Usually this means the macro was only invoked conditionally." "$LINENO" 5
34995
if test -z "${CAIRO_HAS_DL_TRUE}" && test -z "${CAIRO_HAS_DL_FALSE}"; then
34996
as_fn_error $? "conditional \"CAIRO_HAS_DL\" was never defined.
34997
Usually this means the macro was only invoked conditionally." "$LINENO" 5
34999
if test -z "${CAIRO_HAS_XLIB_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XLIB_SURFACE_FALSE}"; then
35000
as_fn_error $? "conditional \"CAIRO_HAS_XLIB_SURFACE\" was never defined.
35001
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35003
if test -z "${CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE}"; then
35004
as_fn_error $? "conditional \"CAIRO_HAS_XLIB_XRENDER_SURFACE\" was never defined.
35005
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35007
if test -z "${CAIRO_HAS_XCB_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XCB_SURFACE_FALSE}"; then
35008
as_fn_error $? "conditional \"CAIRO_HAS_XCB_SURFACE\" was never defined.
35009
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35011
if test -z "${CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE}"; then
35012
as_fn_error $? "conditional \"CAIRO_HAS_XLIB_XCB_FUNCTIONS\" was never defined.
35013
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35015
if test -z "${BUILD_XLIB_XCB_TRUE}" && test -z "${BUILD_XLIB_XCB_FALSE}"; then
35016
as_fn_error $? "conditional \"BUILD_XLIB_XCB\" was never defined.
35017
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35019
if test -z "${CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE}"; then
35020
as_fn_error $? "conditional \"CAIRO_HAS_XCB_SHM_FUNCTIONS\" was never defined.
35021
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35023
if test -z "${BUILD_XCB_SHM_TRUE}" && test -z "${BUILD_XCB_SHM_FALSE}"; then
35024
as_fn_error $? "conditional \"BUILD_XCB_SHM\" was never defined.
35025
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35027
if test -z "${CAIRO_HAS_QT_SURFACE_TRUE}" && test -z "${CAIRO_HAS_QT_SURFACE_FALSE}"; then
35028
as_fn_error $? "conditional \"CAIRO_HAS_QT_SURFACE\" was never defined.
35029
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35031
if test -z "${CAIRO_HAS_QUARTZ_SURFACE_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_SURFACE_FALSE}"; then
35032
as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_SURFACE\" was never defined.
35033
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35035
if test -z "${CAIRO_HAS_QUARTZ_FONT_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_FONT_FALSE}"; then
35036
as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_FONT\" was never defined.
35037
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35039
if test -z "${CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE}"; then
35040
as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_IMAGE_SURFACE\" was never defined.
35041
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35043
if test -z "${CAIRO_HAS_WIN32_SURFACE_TRUE}" && test -z "${CAIRO_HAS_WIN32_SURFACE_FALSE}"; then
35044
as_fn_error $? "conditional \"CAIRO_HAS_WIN32_SURFACE\" was never defined.
35045
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35047
if test -z "${CAIRO_HAS_WIN32_FONT_TRUE}" && test -z "${CAIRO_HAS_WIN32_FONT_FALSE}"; then
35048
as_fn_error $? "conditional \"CAIRO_HAS_WIN32_FONT\" was never defined.
35049
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35051
if test -z "${CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE}"; then
35052
as_fn_error $? "conditional \"CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE\" was never defined.
35053
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35055
if test -z "${CAIRO_HAS_SKIA_SURFACE_TRUE}" && test -z "${CAIRO_HAS_SKIA_SURFACE_FALSE}"; then
35056
as_fn_error $? "conditional \"CAIRO_HAS_SKIA_SURFACE\" was never defined.
35057
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35059
if test -z "${CAIRO_HAS_OS2_SURFACE_TRUE}" && test -z "${CAIRO_HAS_OS2_SURFACE_FALSE}"; then
35060
as_fn_error $? "conditional \"CAIRO_HAS_OS2_SURFACE\" was never defined.
35061
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35063
if test -z "${CAIRO_HAS_BEOS_SURFACE_TRUE}" && test -z "${CAIRO_HAS_BEOS_SURFACE_FALSE}"; then
35064
as_fn_error $? "conditional \"CAIRO_HAS_BEOS_SURFACE\" was never defined.
35065
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35067
if test -z "${CAIRO_HAS_DRM_SURFACE_TRUE}" && test -z "${CAIRO_HAS_DRM_SURFACE_FALSE}"; then
35068
as_fn_error $? "conditional \"CAIRO_HAS_DRM_SURFACE\" was never defined.
35069
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35071
if test -z "${CAIRO_HAS_DRM_XR_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_DRM_XR_FUNCTIONS_FALSE}"; then
35072
as_fn_error $? "conditional \"CAIRO_HAS_DRM_XR_FUNCTIONS\" was never defined.
35073
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35075
if test -z "${BUILD_DRM_XR_TRUE}" && test -z "${BUILD_DRM_XR_FALSE}"; then
35076
as_fn_error $? "conditional \"BUILD_DRM_XR\" was never defined.
35077
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35079
if test -z "${CAIRO_HAS_GALLIUM_SURFACE_TRUE}" && test -z "${CAIRO_HAS_GALLIUM_SURFACE_FALSE}"; then
35080
as_fn_error $? "conditional \"CAIRO_HAS_GALLIUM_SURFACE\" was never defined.
35081
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35083
if test -z "${CAIRO_HAS_XCB_DRM_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_XCB_DRM_FUNCTIONS_FALSE}"; then
35084
as_fn_error $? "conditional \"CAIRO_HAS_XCB_DRM_FUNCTIONS\" was never defined.
35085
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35087
if test -z "${CAIRO_HAS_PNG_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_PNG_FUNCTIONS_FALSE}"; then
35088
as_fn_error $? "conditional \"CAIRO_HAS_PNG_FUNCTIONS\" was never defined.
35089
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35091
if test -z "${CAIRO_HAS_GL_SURFACE_TRUE}" && test -z "${CAIRO_HAS_GL_SURFACE_FALSE}"; then
35092
as_fn_error $? "conditional \"CAIRO_HAS_GL_SURFACE\" was never defined.
35093
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35095
if test -z "${BUILD_PRIVATE_GLEW_TRUE}" && test -z "${BUILD_PRIVATE_GLEW_FALSE}"; then
35096
as_fn_error $? "conditional \"BUILD_PRIVATE_GLEW\" was never defined.
35097
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35099
if test -z "${CAIRO_HAS_DIRECTFB_SURFACE_TRUE}" && test -z "${CAIRO_HAS_DIRECTFB_SURFACE_FALSE}"; then
35100
as_fn_error $? "conditional \"CAIRO_HAS_DIRECTFB_SURFACE\" was never defined.
35101
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35103
if test -z "${CAIRO_HAS_VG_SURFACE_TRUE}" && test -z "${CAIRO_HAS_VG_SURFACE_FALSE}"; then
35104
as_fn_error $? "conditional \"CAIRO_HAS_VG_SURFACE\" was never defined.
35105
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35107
if test -z "${CAIRO_HAS_EGL_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_EGL_FUNCTIONS_FALSE}"; then
35108
as_fn_error $? "conditional \"CAIRO_HAS_EGL_FUNCTIONS\" was never defined.
35109
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35111
if test -z "${CAIRO_HAS_GLX_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_GLX_FUNCTIONS_FALSE}"; then
35112
as_fn_error $? "conditional \"CAIRO_HAS_GLX_FUNCTIONS\" was never defined.
35113
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35115
if test -z "${CAIRO_HAS_WGL_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_WGL_FUNCTIONS_FALSE}"; then
35116
as_fn_error $? "conditional \"CAIRO_HAS_WGL_FUNCTIONS\" was never defined.
35117
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35119
if test -z "${CAIRO_HAS_SCRIPT_SURFACE_TRUE}" && test -z "${CAIRO_HAS_SCRIPT_SURFACE_FALSE}"; then
35120
as_fn_error $? "conditional \"CAIRO_HAS_SCRIPT_SURFACE\" was never defined.
35121
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35123
if test -z "${CAIRO_HAS_FT_FONT_TRUE}" && test -z "${CAIRO_HAS_FT_FONT_FALSE}"; then
35124
as_fn_error $? "conditional \"CAIRO_HAS_FT_FONT\" was never defined.
35125
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35127
if test -z "${CAIRO_HAS_FC_FONT_TRUE}" && test -z "${CAIRO_HAS_FC_FONT_FALSE}"; then
35128
as_fn_error $? "conditional \"CAIRO_HAS_FC_FONT\" was never defined.
35129
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35131
if test -z "${CAIRO_HAS_PS_SURFACE_TRUE}" && test -z "${CAIRO_HAS_PS_SURFACE_FALSE}"; then
35132
as_fn_error $? "conditional \"CAIRO_HAS_PS_SURFACE\" was never defined.
35133
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35135
if test -z "${CAIRO_CAN_TEST_PS_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_PS_SURFACE_FALSE}"; then
35136
as_fn_error $? "conditional \"CAIRO_CAN_TEST_PS_SURFACE\" was never defined.
35137
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35139
if test -z "${CAIRO_HAS_SPECTRE_TRUE}" && test -z "${CAIRO_HAS_SPECTRE_FALSE}"; then
35140
as_fn_error $? "conditional \"CAIRO_HAS_SPECTRE\" was never defined.
35141
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35143
if test -z "${CAIRO_HAS_PDF_SURFACE_TRUE}" && test -z "${CAIRO_HAS_PDF_SURFACE_FALSE}"; then
35144
as_fn_error $? "conditional \"CAIRO_HAS_PDF_SURFACE\" was never defined.
35145
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35147
if test -z "${CAIRO_CAN_TEST_PDF_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_PDF_SURFACE_FALSE}"; then
35148
as_fn_error $? "conditional \"CAIRO_CAN_TEST_PDF_SURFACE\" was never defined.
35149
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35151
if test -z "${CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE}" && test -z "${CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE}"; then
35152
as_fn_error $? "conditional \"CAIRO_HAS_MULTI_PAGE_SURFACES\" was never defined.
35153
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35155
if test -z "${CAIRO_HAS_SVG_SURFACE_TRUE}" && test -z "${CAIRO_HAS_SVG_SURFACE_FALSE}"; then
35156
as_fn_error $? "conditional \"CAIRO_HAS_SVG_SURFACE\" was never defined.
35157
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35159
if test -z "${CAIRO_CAN_TEST_SVG_SURFACE_TRUE}" && test -z "${CAIRO_CAN_TEST_SVG_SURFACE_FALSE}"; then
35160
as_fn_error $? "conditional \"CAIRO_CAN_TEST_SVG_SURFACE\" was never defined.
35161
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35163
if test -z "${CAIRO_HAS_TEST_SURFACES_TRUE}" && test -z "${CAIRO_HAS_TEST_SURFACES_FALSE}"; then
35164
as_fn_error $? "conditional \"CAIRO_HAS_TEST_SURFACES\" was never defined.
35165
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35167
if test -z "${CAIRO_HAS_TEE_SURFACE_TRUE}" && test -z "${CAIRO_HAS_TEE_SURFACE_FALSE}"; then
35168
as_fn_error $? "conditional \"CAIRO_HAS_TEE_SURFACE\" was never defined.
35169
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35171
if test -z "${CAIRO_HAS_XML_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XML_SURFACE_FALSE}"; then
35172
as_fn_error $? "conditional \"CAIRO_HAS_XML_SURFACE\" was never defined.
35173
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35175
if test -z "${CAIRO_HAS_PTHREAD_TRUE}" && test -z "${CAIRO_HAS_PTHREAD_FALSE}"; then
35176
as_fn_error $? "conditional \"CAIRO_HAS_PTHREAD\" was never defined.
35177
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35179
if test -z "${HAVE_REAL_PTHREAD_TRUE}" && test -z "${HAVE_REAL_PTHREAD_FALSE}"; then
35180
as_fn_error $? "conditional \"HAVE_REAL_PTHREAD\" was never defined.
35181
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35183
if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
35184
as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
35185
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35187
if test -z "${CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE}"; then
35188
as_fn_error $? "conditional \"CAIRO_HAS_GOBJECT_FUNCTIONS\" was never defined.
35189
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35191
if test -z "${BUILD_ANY2PPM_TRUE}" && test -z "${BUILD_ANY2PPM_FALSE}"; then
35192
as_fn_error $? "conditional \"BUILD_ANY2PPM\" was never defined.
35193
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35195
if test -z "${CAIRO_HAS_TRACE_TRUE}" && test -z "${CAIRO_HAS_TRACE_FALSE}"; then
35196
as_fn_error $? "conditional \"CAIRO_HAS_TRACE\" was never defined.
35197
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35199
if test -z "${CAIRO_HAS_INTERPRETER_TRUE}" && test -z "${CAIRO_HAS_INTERPRETER_FALSE}"; then
35200
as_fn_error $? "conditional \"CAIRO_HAS_INTERPRETER\" was never defined.
35201
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35203
if test -z "${CAIRO_HAS_SYMBOL_LOOKUP_TRUE}" && test -z "${CAIRO_HAS_SYMBOL_LOOKUP_FALSE}"; then
35204
as_fn_error $? "conditional \"CAIRO_HAS_SYMBOL_LOOKUP\" was never defined.
35205
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35207
if test -z "${BUILD_SPHINX_TRUE}" && test -z "${BUILD_SPHINX_FALSE}"; then
35208
as_fn_error $? "conditional \"BUILD_SPHINX\" was never defined.
35209
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35211
if test -z "${DISABLE_SOME_FLOATING_POINT_TRUE}" && test -z "${DISABLE_SOME_FLOATING_POINT_FALSE}"; then
35212
as_fn_error $? "conditional \"DISABLE_SOME_FLOATING_POINT\" was never defined.
35213
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35215
if test -z "${BUILD_CXX_TRUE}" && test -z "${BUILD_CXX_FALSE}"; then
35216
as_fn_error $? "conditional \"BUILD_CXX\" was never defined.
35217
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35219
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
35220
as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
35221
Usually this means the macro was only invoked conditionally." "$LINENO" 5
35224
: ${CONFIG_STATUS=./config.status}
35226
ac_clean_files_save=$ac_clean_files
35227
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35228
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
35229
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
35231
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
35233
# Generated by $as_me.
35234
# Run this file to recreate the current configuration.
35235
# Compiler output produced by configure, useful for debugging
35236
# configure, is in config.log if it exists.
35239
ac_cs_recheck=false
35242
SHELL=\${CONFIG_SHELL-$SHELL}
35245
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
35246
## -------------------- ##
35247
## M4sh Initialization. ##
35248
## -------------------- ##
35250
# Be more Bourne compatible
35251
DUALCASE=1; export DUALCASE # for MKS sh
35252
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
35255
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
35256
# is contrary to our usage. Disable this feature.
35257
alias -g '${1+"$@"}'='"$@"'
35258
setopt NO_GLOB_SUBST
35260
case `(set -o) 2>/dev/null` in #(
35272
# Printing a long string crashes Solaris 7 /usr/bin/printf.
35273
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
35274
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
35275
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
35276
# Prefer a ksh shell builtin over an external printf program on Solaris,
35277
# but without wasting forks for bash or zsh.
35278
if test -z "$BASH_VERSION$ZSH_VERSION" \
35279
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
35280
as_echo='print -r --'
35281
as_echo_n='print -rn --'
35282
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
35283
as_echo='printf %s\n'
35284
as_echo_n='printf %s'
35286
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
35287
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
35288
as_echo_n='/usr/ucb/echo -n'
35290
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
35291
as_echo_n_body='eval
35295
expr "X$arg" : "X\\(.*\\)$as_nl";
35296
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
35298
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
35300
export as_echo_n_body
35301
as_echo_n='sh -c $as_echo_n_body as_echo'
35303
export as_echo_body
35304
as_echo='sh -c $as_echo_body as_echo'
35307
# The user is always right.
35308
if test "${PATH_SEPARATOR+set}" != set; then
35310
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
35311
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
35318
# We need space, tab and new line, in precisely that order. Quoting is
35319
# there to prevent editors from complaining about space-tab.
35320
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
35321
# splitting by setting IFS to empty value.)
35324
# Find who we are. Look in the path if we contain no directory separator.
35326
*[\\/]* ) as_myself=$0 ;;
35327
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35328
for as_dir in $PATH
35331
test -z "$as_dir" && as_dir=.
35332
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35338
# We did not find ourselves, most probably we were run as `sh COMMAND'
35339
# in which case we are not to be found in the path.
35340
if test "x$as_myself" = x; then
35343
if test ! -f "$as_myself"; then
35344
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
35348
# Unset variables that we do not need and which cause bugs (e.g. in
35349
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
35350
# suppresses any "Segmentation fault" message there. '((' could
35351
# trigger a bug in pdksh 5.2.14.
35352
for as_var in BASH_ENV ENV MAIL MAILPATH
35353
do eval test x\${$as_var+set} = xset \
35354
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
35367
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
35370
# as_fn_error STATUS ERROR [LINENO LOG_FD]
35371
# ----------------------------------------
35372
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
35373
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
35374
# script with STATUS, using 1 if that was 0.
35377
as_status=$1; test $as_status -eq 0 && as_status=1
35379
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
35380
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
35382
$as_echo "$as_me: error: $2" >&2
35383
as_fn_exit $as_status
35387
# as_fn_set_status STATUS
35388
# -----------------------
35389
# Set $? to STATUS, without forking.
35390
as_fn_set_status ()
35393
} # as_fn_set_status
35395
# as_fn_exit STATUS
35396
# -----------------
35397
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
35401
as_fn_set_status $1
35407
# Portably unset VAR.
35410
{ eval $1=; unset $1;}
35412
as_unset=as_fn_unset
35413
# as_fn_append VAR VALUE
35414
# ----------------------
35415
# Append the text in VALUE to the end of the definition contained in VAR. Take
35416
# advantage of any shell optimizations that allow amortized linear growth over
35417
# repeated appends, instead of the typical quadratic growth present in naive
35419
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
35420
eval 'as_fn_append ()
35431
# as_fn_arith ARG...
35432
# ------------------
35433
# Perform arithmetic evaluation on the ARGs, and store the result in the
35434
# global $as_val. Take advantage of shells that can avoid forks. The arguments
35435
# must be portable across $(()) and expr.
35436
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
35437
eval 'as_fn_arith ()
35444
as_val=`expr "$@" || test $? -eq 1`
35449
if expr a : '\(a\)' >/dev/null 2>&1 &&
35450
test "X`expr 00001 : '.*\(...\)'`" = X001; then
35456
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
35457
as_basename=basename
35462
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
35468
as_me=`$as_basename -- "$0" ||
35469
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35470
X"$0" : 'X\(//\)$' \| \
35471
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
35473
sed '/^.*\/\([^/][^/]*\)\/*$/{
35487
# Avoid depending upon Character Ranges.
35488
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35489
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35490
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35491
as_cr_digits='0123456789'
35492
as_cr_alnum=$as_cr_Letters$as_cr_digits
35494
ECHO_C= ECHO_N= ECHO_T=
35495
case `echo -n x` in #(((((
35497
case `echo 'xy\c'` in
35498
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
35500
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
35507
rm -f conf$$ conf$$.exe conf$$.file
35508
if test -d conf$$.dir; then
35509
rm -f conf$$.dir/conf$$.file
35512
mkdir conf$$.dir 2>/dev/null
35514
if (echo >conf$$.file) 2>/dev/null; then
35515
if ln -s conf$$.file conf$$ 2>/dev/null; then
35517
# ... but there are two gotchas:
35518
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
35519
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
35520
# In both cases, we have to default to `cp -p'.
35521
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
35523
elif ln conf$$.file conf$$ 2>/dev/null; then
35531
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
35532
rmdir conf$$.dir 2>/dev/null
35537
# Create "$as_dir" as a directory, including parents if necessary.
35542
-*) as_dir=./$as_dir;;
35544
test -d "$as_dir" || eval $as_mkdir_p || {
35548
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
35549
*) as_qdir=$as_dir;;
35551
as_dirs="'$as_qdir' $as_dirs"
35552
as_dir=`$as_dirname -- "$as_dir" ||
35553
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35554
X"$as_dir" : 'X\(//\)[^/]' \| \
35555
X"$as_dir" : 'X\(//\)$' \| \
35556
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35557
$as_echo X"$as_dir" |
35558
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35562
/^X\(\/\/\)[^/].*/{
35575
test -d "$as_dir" && break
35577
test -z "$as_dirs" || eval "mkdir $as_dirs"
35578
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
35582
if mkdir -p . 2>/dev/null; then
35583
as_mkdir_p='mkdir -p "$as_dir"'
35585
test -d ./-p && rmdir ./-p
35589
if test -x / >/dev/null 2>&1; then
35590
as_test_x='test -x'
35592
if ls -dL / >/dev/null 2>&1; then
35599
if test -d "$1"; then
35605
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
35606
???[sx]*):;;*)false;;esac;fi
35610
as_executable_p=$as_test_x
35612
# Sed expression to map a string onto a valid CPP name.
35613
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
35615
# Sed expression to map a string onto a valid variable name.
35616
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
35620
## ----------------------------------- ##
35621
## Main body of $CONFIG_STATUS script. ##
35622
## ----------------------------------- ##
35624
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
35626
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35627
# Save the log message, to keep $0 and so on meaningful, and to
35628
# report actual input values of CONFIG_FILES etc. instead of their
35629
# values after options handling.
35631
This file was extended by cairo $as_me 1.10.2, which was
35632
generated by GNU Autoconf 2.67. Invocation command line was
35634
CONFIG_FILES = $CONFIG_FILES
35635
CONFIG_HEADERS = $CONFIG_HEADERS
35636
CONFIG_LINKS = $CONFIG_LINKS
35637
CONFIG_COMMANDS = $CONFIG_COMMANDS
35640
on `(hostname || uname -n) 2>/dev/null | sed 1q`
35645
case $ac_config_files in *"
35646
"*) set x $ac_config_files; shift; ac_config_files=$*;;
35649
case $ac_config_headers in *"
35650
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
35654
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35655
# Files that config.status was made for.
35656
config_files="$ac_config_files"
35657
config_headers="$ac_config_headers"
35658
config_commands="$ac_config_commands"
35662
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35664
\`$as_me' instantiates files and other configuration actions
35665
from templates according to the current configuration. Unless the files
35666
and actions are specified as TAGs, all are instantiated by default.
35668
Usage: $0 [OPTION]... [TAG]...
35670
-h, --help print this help, then exit
35671
-V, --version print version number and configuration settings, then exit
35672
--config print configuration, then exit
35673
-q, --quiet, --silent
35674
do not print progress messages
35675
-d, --debug don't remove temporary files
35676
--recheck update $as_me by reconfiguring in the same conditions
35677
--file=FILE[:TEMPLATE]
35678
instantiate the configuration file FILE
35679
--header=FILE[:TEMPLATE]
35680
instantiate the configuration header FILE
35682
Configuration files:
35685
Configuration headers:
35688
Configuration commands:
35691
Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=cairo>."
35694
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35695
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
35697
cairo config.status 1.10.2
35698
configured by $0, generated by GNU Autoconf 2.67,
35699
with options \\"\$ac_cs_config\\"
35701
Copyright (C) 2010 Free Software Foundation, Inc.
35702
This config.status script is free software; the Free Software Foundation
35703
gives unlimited permission to copy, distribute and modify it."
35710
test -n "\$AWK" || AWK=awk
35713
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35714
# The default lists apply if the user does not specify any file.
35720
ac_option=`expr "X$1" : 'X\([^=]*\)='`
35721
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
35725
ac_option=`expr "X$1" : 'X\([^=]*\)='`
35737
# Handling of the options.
35738
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35740
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
35741
$as_echo "$ac_cs_version"; exit ;;
35742
--config | --confi | --conf | --con | --co | --c )
35743
$as_echo "$ac_cs_config"; exit ;;
35744
--debug | --debu | --deb | --de | --d | -d )
35746
--file | --fil | --fi | --f )
35749
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
35750
'') as_fn_error $? "missing file argument" ;;
35752
as_fn_append CONFIG_FILES " '$ac_optarg'"
35753
ac_need_defaults=false;;
35754
--header | --heade | --head | --hea )
35757
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
35759
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
35760
ac_need_defaults=false;;
35762
# Conflict between --help and --header
35763
as_fn_error $? "ambiguous option: \`$1'
35764
Try \`$0 --help' for more information.";;
35765
--help | --hel | -h )
35766
$as_echo "$ac_cs_usage"; exit ;;
35767
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
35768
| -silent | --silent | --silen | --sile | --sil | --si | --s)
35771
# This is an error.
35772
-*) as_fn_error $? "unrecognized option: \`$1'
35773
Try \`$0 --help' for more information." ;;
35775
*) as_fn_append ac_config_targets " $1"
35776
ac_need_defaults=false ;;
35782
ac_configure_extra_args=
35784
if $ac_cs_silent; then
35786
ac_configure_extra_args="$ac_configure_extra_args --silent"
35790
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35791
if \$ac_cs_recheck; then
35792
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35794
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
35795
CONFIG_SHELL='$SHELL'
35796
export CONFIG_SHELL
35801
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35805
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35806
## Running $as_me. ##
35812
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35816
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
35819
# The HP-UX ksh and POSIX shell print the target directory to stdout
35820
# if CDPATH is set.
35821
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
35823
sed_quote_subst='$sed_quote_subst'
35824
double_quote_subst='$double_quote_subst'
35825
delay_variable_subst='$delay_variable_subst'
35826
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
35827
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
35828
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
35829
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
35830
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
35831
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
35832
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
35833
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
35834
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
35835
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
35836
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
35837
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
35838
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
35839
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
35840
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
35841
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
35842
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
35843
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
35844
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
35845
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
35846
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
35847
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
35848
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
35849
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
35850
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
35851
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
35852
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
35853
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
35854
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
35855
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
35856
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35857
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
35858
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
35859
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
35860
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
35861
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
35862
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
35863
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35864
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35865
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35866
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
35867
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
35868
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
35869
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
35870
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
35871
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
35872
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"`'
35873
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"`'
35874
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
35875
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
35876
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
35877
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
35878
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
35879
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
35880
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
35881
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
35882
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
35883
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
35884
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
35885
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
35886
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
35887
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
35888
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
35889
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
35890
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35891
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35892
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
35893
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
35894
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
35895
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
35896
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
35897
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35898
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35899
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35900
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35901
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35902
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35903
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
35904
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
35905
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
35906
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
35907
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
35908
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
35909
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
35910
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
35911
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
35912
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
35913
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
35914
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
35915
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
35916
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
35917
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
35918
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35919
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
35920
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
35921
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35922
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
35923
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
35924
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
35925
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
35926
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
35927
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
35928
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
35929
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
35930
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
35931
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
35932
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
35933
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35934
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35935
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35936
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
35937
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
35938
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
35939
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
35940
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
35941
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
35942
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
35943
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
35944
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
35945
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
35946
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
35947
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
35948
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
35949
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
35950
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
35951
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
35952
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35953
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35954
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35955
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35956
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35957
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35958
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35959
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35960
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35961
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35962
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35963
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35964
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35965
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35966
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35967
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35968
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35969
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35970
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35971
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35972
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35973
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35974
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35975
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35976
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35977
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35978
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35979
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35980
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35981
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35982
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35983
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35984
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35985
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35986
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35987
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35988
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35989
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35990
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35991
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35992
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35993
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35994
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35995
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35996
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35997
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35998
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
36001
LTCFLAGS='$LTCFLAGS'
36002
compiler='$compiler_DEFAULT'
36004
# Quote evaled strings.
36015
deplibs_check_method \
36024
lt_cv_sys_global_symbol_pipe \
36025
lt_cv_sys_global_symbol_to_cdecl \
36026
lt_cv_sys_global_symbol_to_c_name_address \
36027
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
36030
lt_prog_compiler_no_builtin_flag \
36031
lt_prog_compiler_wl \
36032
lt_prog_compiler_pic \
36033
lt_prog_compiler_static \
36034
lt_cv_prog_compiler_c_o \
36042
export_dynamic_flag_spec \
36043
whole_archive_flag_spec \
36044
compiler_needs_object \
36046
allow_undefined_flag \
36047
no_undefined_flag \
36048
hardcode_libdir_flag_spec \
36049
hardcode_libdir_flag_spec_ld \
36050
hardcode_libdir_separator \
36055
variables_saved_for_relink \
36057
library_names_spec \
36062
compiler_lib_search_dirs \
36067
compiler_lib_search_path \
36070
lt_prog_compiler_no_builtin_flag_CXX \
36071
lt_prog_compiler_wl_CXX \
36072
lt_prog_compiler_pic_CXX \
36073
lt_prog_compiler_static_CXX \
36074
lt_cv_prog_compiler_c_o_CXX \
36075
export_dynamic_flag_spec_CXX \
36076
whole_archive_flag_spec_CXX \
36077
compiler_needs_object_CXX \
36079
allow_undefined_flag_CXX \
36080
no_undefined_flag_CXX \
36081
hardcode_libdir_flag_spec_CXX \
36082
hardcode_libdir_flag_spec_ld_CXX \
36083
hardcode_libdir_separator_CXX \
36084
fix_srcfile_path_CXX \
36085
exclude_expsyms_CXX \
36086
include_expsyms_CXX \
36087
file_list_spec_CXX \
36088
compiler_lib_search_dirs_CXX \
36089
predep_objects_CXX \
36090
postdep_objects_CXX \
36093
compiler_lib_search_path_CXX; do
36094
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
36095
*[\\\\\\\`\\"\\\$]*)
36096
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
36099
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
36104
# Double-quote double-evaled strings.
36105
for var in reload_cmds \
36106
old_postinstall_cmds \
36107
old_postuninstall_cmds \
36109
extract_expsyms_cmds \
36110
old_archive_from_new_cmds \
36111
old_archive_from_expsyms_cmds \
36113
archive_expsym_cmds \
36115
module_expsym_cmds \
36116
export_symbols_cmds \
36119
postuninstall_cmds \
36121
sys_lib_search_path_spec \
36122
sys_lib_dlsearch_path_spec \
36123
old_archive_cmds_CXX \
36124
old_archive_from_new_cmds_CXX \
36125
old_archive_from_expsyms_cmds_CXX \
36127
archive_expsym_cmds_CXX \
36129
module_expsym_cmds_CXX \
36130
export_symbols_cmds_CXX \
36131
prelink_cmds_CXX; do
36132
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
36133
*[\\\\\\\`\\"\\\$]*)
36134
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
36137
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
36142
# Fix-up fallback echo if it was mangled by the above quoting rules.
36144
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
36148
ac_aux_dir='$ac_aux_dir'
36149
xsi_shell='$xsi_shell'
36150
lt_shell_append='$lt_shell_append'
36152
# See if we are running on zsh, and set the options which allow our
36153
# commands through without removal of \ escapes INIT.
36154
if test -n "\${ZSH_VERSION+set}" ; then
36155
setopt NO_GLOB_SUBST
36161
TIMESTAMP='$TIMESTAMP'
36169
CAIRO_MAKEFILE___WIN32='$CAIRO_MAKEFILE___WIN32'
36170
CAIRO_MAKEFILE_cairo_AMAKE='$CAIRO_MAKEFILE_cairo_AMAKE'
36171
CAIRO_MAKEFILE_cairo_WIN32='$CAIRO_MAKEFILE_cairo_WIN32'
36172
CAIRO_MAKEFILE_cairo_boilerplate_AMAKE='$CAIRO_MAKEFILE_cairo_boilerplate_AMAKE'
36173
CAIRO_MAKEFILE_cairo_boilerplate_WIN32='$CAIRO_MAKEFILE_cairo_boilerplate_WIN32'
36174
CAIRO_FEATURES='$CAIRO_FEATURES'
36175
CAIRO_NO_FEATURES='$CAIRO_NO_FEATURES'
36177
CAIRO_SUPPORTED_FEATURES='$CAIRO_SUPPORTED_FEATURES'
36179
CAIRO_MAKEFILE_win32_features_h_WIN32='$CAIRO_MAKEFILE_win32_features_h_WIN32'
36181
xlib_BASE='$xlib_BASE'
36182
xlib_REQUIRES='$xlib_REQUIRES'
36183
xlib_NONPKGCONFIG_LIBS='$xlib_NONPKGCONFIG_LIBS'
36184
xlib_NONPKGCONFIG_EXTRA_LIBS='$xlib_NONPKGCONFIG_EXTRA_LIBS'
36185
xlib_NONPKGCONFIG_CFLAGS='$xlib_NONPKGCONFIG_CFLAGS'
36188
xlib_BASE='$xlib_BASE'
36189
xlib_REQUIRES='$xlib_REQUIRES'
36190
xlib_NONPKGCONFIG_LIBS='$xlib_NONPKGCONFIG_LIBS'
36191
xlib_NONPKGCONFIG_EXTRA_LIBS='$xlib_NONPKGCONFIG_EXTRA_LIBS'
36192
xlib_NONPKGCONFIG_CFLAGS='$xlib_NONPKGCONFIG_CFLAGS'
36195
xlib_xrender_BASE='$xlib_xrender_BASE'
36196
xlib_xrender_REQUIRES='$xlib_xrender_REQUIRES'
36197
xlib_xrender_NONPKGCONFIG_LIBS='$xlib_xrender_NONPKGCONFIG_LIBS'
36198
xlib_xrender_NONPKGCONFIG_EXTRA_LIBS='$xlib_xrender_NONPKGCONFIG_EXTRA_LIBS'
36199
xlib_xrender_NONPKGCONFIG_CFLAGS='$xlib_xrender_NONPKGCONFIG_CFLAGS'
36202
xlib_xrender_BASE='$xlib_xrender_BASE'
36203
xlib_xrender_REQUIRES='$xlib_xrender_REQUIRES'
36204
xlib_xrender_NONPKGCONFIG_LIBS='$xlib_xrender_NONPKGCONFIG_LIBS'
36205
xlib_xrender_NONPKGCONFIG_EXTRA_LIBS='$xlib_xrender_NONPKGCONFIG_EXTRA_LIBS'
36206
xlib_xrender_NONPKGCONFIG_CFLAGS='$xlib_xrender_NONPKGCONFIG_CFLAGS'
36209
xcb_BASE='$xcb_BASE'
36210
xcb_REQUIRES='$xcb_REQUIRES'
36211
xcb_NONPKGCONFIG_LIBS='$xcb_NONPKGCONFIG_LIBS'
36212
xcb_NONPKGCONFIG_EXTRA_LIBS='$xcb_NONPKGCONFIG_EXTRA_LIBS'
36213
xcb_NONPKGCONFIG_CFLAGS='$xcb_NONPKGCONFIG_CFLAGS'
36216
xcb_BASE='$xcb_BASE'
36217
xcb_REQUIRES='$xcb_REQUIRES'
36218
xcb_NONPKGCONFIG_LIBS='$xcb_NONPKGCONFIG_LIBS'
36219
xcb_NONPKGCONFIG_EXTRA_LIBS='$xcb_NONPKGCONFIG_EXTRA_LIBS'
36220
xcb_NONPKGCONFIG_CFLAGS='$xcb_NONPKGCONFIG_CFLAGS'
36223
xlib_xcb_BASE='$xlib_xcb_BASE'
36224
xlib_xcb_REQUIRES='$xlib_xcb_REQUIRES'
36225
xlib_xcb_NONPKGCONFIG_LIBS='$xlib_xcb_NONPKGCONFIG_LIBS'
36226
xlib_xcb_NONPKGCONFIG_EXTRA_LIBS='$xlib_xcb_NONPKGCONFIG_EXTRA_LIBS'
36227
xlib_xcb_NONPKGCONFIG_CFLAGS='$xlib_xcb_NONPKGCONFIG_CFLAGS'
36230
xlib_xcb_BASE='$xlib_xcb_BASE'
36231
xlib_xcb_REQUIRES='$xlib_xcb_REQUIRES'
36232
xlib_xcb_NONPKGCONFIG_LIBS='$xlib_xcb_NONPKGCONFIG_LIBS'
36233
xlib_xcb_NONPKGCONFIG_EXTRA_LIBS='$xlib_xcb_NONPKGCONFIG_EXTRA_LIBS'
36234
xlib_xcb_NONPKGCONFIG_CFLAGS='$xlib_xcb_NONPKGCONFIG_CFLAGS'
36237
xcb_shm_BASE='$xcb_shm_BASE'
36238
xcb_shm_REQUIRES='$xcb_shm_REQUIRES'
36239
xcb_shm_NONPKGCONFIG_LIBS='$xcb_shm_NONPKGCONFIG_LIBS'
36240
xcb_shm_NONPKGCONFIG_EXTRA_LIBS='$xcb_shm_NONPKGCONFIG_EXTRA_LIBS'
36241
xcb_shm_NONPKGCONFIG_CFLAGS='$xcb_shm_NONPKGCONFIG_CFLAGS'
36244
xcb_shm_BASE='$xcb_shm_BASE'
36245
xcb_shm_REQUIRES='$xcb_shm_REQUIRES'
36246
xcb_shm_NONPKGCONFIG_LIBS='$xcb_shm_NONPKGCONFIG_LIBS'
36247
xcb_shm_NONPKGCONFIG_EXTRA_LIBS='$xcb_shm_NONPKGCONFIG_EXTRA_LIBS'
36248
xcb_shm_NONPKGCONFIG_CFLAGS='$xcb_shm_NONPKGCONFIG_CFLAGS'
36252
qt_REQUIRES='$qt_REQUIRES'
36253
qt_NONPKGCONFIG_LIBS='$qt_NONPKGCONFIG_LIBS'
36254
qt_NONPKGCONFIG_EXTRA_LIBS='$qt_NONPKGCONFIG_EXTRA_LIBS'
36255
qt_NONPKGCONFIG_CFLAGS='$qt_NONPKGCONFIG_CFLAGS'
36259
qt_REQUIRES='$qt_REQUIRES'
36260
qt_NONPKGCONFIG_LIBS='$qt_NONPKGCONFIG_LIBS'
36261
qt_NONPKGCONFIG_EXTRA_LIBS='$qt_NONPKGCONFIG_EXTRA_LIBS'
36262
qt_NONPKGCONFIG_CFLAGS='$qt_NONPKGCONFIG_CFLAGS'
36265
quartz_BASE='$quartz_BASE'
36266
quartz_REQUIRES='$quartz_REQUIRES'
36267
quartz_NONPKGCONFIG_LIBS='$quartz_NONPKGCONFIG_LIBS'
36268
quartz_NONPKGCONFIG_EXTRA_LIBS='$quartz_NONPKGCONFIG_EXTRA_LIBS'
36269
quartz_NONPKGCONFIG_CFLAGS='$quartz_NONPKGCONFIG_CFLAGS'
36272
quartz_BASE='$quartz_BASE'
36273
quartz_REQUIRES='$quartz_REQUIRES'
36274
quartz_NONPKGCONFIG_LIBS='$quartz_NONPKGCONFIG_LIBS'
36275
quartz_NONPKGCONFIG_EXTRA_LIBS='$quartz_NONPKGCONFIG_EXTRA_LIBS'
36276
quartz_NONPKGCONFIG_CFLAGS='$quartz_NONPKGCONFIG_CFLAGS'
36279
quartz_font_BASE='$quartz_font_BASE'
36280
quartz_font_REQUIRES='$quartz_font_REQUIRES'
36281
quartz_font_NONPKGCONFIG_LIBS='$quartz_font_NONPKGCONFIG_LIBS'
36282
quartz_font_NONPKGCONFIG_EXTRA_LIBS='$quartz_font_NONPKGCONFIG_EXTRA_LIBS'
36283
quartz_font_NONPKGCONFIG_CFLAGS='$quartz_font_NONPKGCONFIG_CFLAGS'
36286
quartz_font_BASE='$quartz_font_BASE'
36287
quartz_font_REQUIRES='$quartz_font_REQUIRES'
36288
quartz_font_NONPKGCONFIG_LIBS='$quartz_font_NONPKGCONFIG_LIBS'
36289
quartz_font_NONPKGCONFIG_EXTRA_LIBS='$quartz_font_NONPKGCONFIG_EXTRA_LIBS'
36290
quartz_font_NONPKGCONFIG_CFLAGS='$quartz_font_NONPKGCONFIG_CFLAGS'
36293
quartz_image_BASE='$quartz_image_BASE'
36294
quartz_image_REQUIRES='$quartz_image_REQUIRES'
36295
quartz_image_NONPKGCONFIG_LIBS='$quartz_image_NONPKGCONFIG_LIBS'
36296
quartz_image_NONPKGCONFIG_EXTRA_LIBS='$quartz_image_NONPKGCONFIG_EXTRA_LIBS'
36297
quartz_image_NONPKGCONFIG_CFLAGS='$quartz_image_NONPKGCONFIG_CFLAGS'
36300
quartz_image_BASE='$quartz_image_BASE'
36301
quartz_image_REQUIRES='$quartz_image_REQUIRES'
36302
quartz_image_NONPKGCONFIG_LIBS='$quartz_image_NONPKGCONFIG_LIBS'
36303
quartz_image_NONPKGCONFIG_EXTRA_LIBS='$quartz_image_NONPKGCONFIG_EXTRA_LIBS'
36304
quartz_image_NONPKGCONFIG_CFLAGS='$quartz_image_NONPKGCONFIG_CFLAGS'
36307
win32_BASE='$win32_BASE'
36308
win32_REQUIRES='$win32_REQUIRES'
36309
win32_NONPKGCONFIG_LIBS='$win32_NONPKGCONFIG_LIBS'
36310
win32_NONPKGCONFIG_EXTRA_LIBS='$win32_NONPKGCONFIG_EXTRA_LIBS'
36311
win32_NONPKGCONFIG_CFLAGS='$win32_NONPKGCONFIG_CFLAGS'
36314
win32_BASE='$win32_BASE'
36315
win32_REQUIRES='$win32_REQUIRES'
36316
win32_NONPKGCONFIG_LIBS='$win32_NONPKGCONFIG_LIBS'
36317
win32_NONPKGCONFIG_EXTRA_LIBS='$win32_NONPKGCONFIG_EXTRA_LIBS'
36318
win32_NONPKGCONFIG_CFLAGS='$win32_NONPKGCONFIG_CFLAGS'
36321
win32_font_BASE='$win32_font_BASE'
36322
win32_font_REQUIRES='$win32_font_REQUIRES'
36323
win32_font_NONPKGCONFIG_LIBS='$win32_font_NONPKGCONFIG_LIBS'
36324
win32_font_NONPKGCONFIG_EXTRA_LIBS='$win32_font_NONPKGCONFIG_EXTRA_LIBS'
36325
win32_font_NONPKGCONFIG_CFLAGS='$win32_font_NONPKGCONFIG_CFLAGS'
36328
win32_font_BASE='$win32_font_BASE'
36329
win32_font_REQUIRES='$win32_font_REQUIRES'
36330
win32_font_NONPKGCONFIG_LIBS='$win32_font_NONPKGCONFIG_LIBS'
36331
win32_font_NONPKGCONFIG_EXTRA_LIBS='$win32_font_NONPKGCONFIG_EXTRA_LIBS'
36332
win32_font_NONPKGCONFIG_CFLAGS='$win32_font_NONPKGCONFIG_CFLAGS'
36335
skia_BASE='$skia_BASE'
36336
skia_REQUIRES='$skia_REQUIRES'
36337
skia_NONPKGCONFIG_LIBS='$skia_NONPKGCONFIG_LIBS'
36338
skia_NONPKGCONFIG_EXTRA_LIBS='$skia_NONPKGCONFIG_EXTRA_LIBS'
36339
skia_NONPKGCONFIG_CFLAGS='$skia_NONPKGCONFIG_CFLAGS'
36342
skia_BASE='$skia_BASE'
36343
skia_REQUIRES='$skia_REQUIRES'
36344
skia_NONPKGCONFIG_LIBS='$skia_NONPKGCONFIG_LIBS'
36345
skia_NONPKGCONFIG_EXTRA_LIBS='$skia_NONPKGCONFIG_EXTRA_LIBS'
36346
skia_NONPKGCONFIG_CFLAGS='$skia_NONPKGCONFIG_CFLAGS'
36349
os2_BASE='$os2_BASE'
36350
os2_REQUIRES='$os2_REQUIRES'
36351
os2_NONPKGCONFIG_LIBS='$os2_NONPKGCONFIG_LIBS'
36352
os2_NONPKGCONFIG_EXTRA_LIBS='$os2_NONPKGCONFIG_EXTRA_LIBS'
36353
os2_NONPKGCONFIG_CFLAGS='$os2_NONPKGCONFIG_CFLAGS'
36356
os2_BASE='$os2_BASE'
36357
os2_REQUIRES='$os2_REQUIRES'
36358
os2_NONPKGCONFIG_LIBS='$os2_NONPKGCONFIG_LIBS'
36359
os2_NONPKGCONFIG_EXTRA_LIBS='$os2_NONPKGCONFIG_EXTRA_LIBS'
36360
os2_NONPKGCONFIG_CFLAGS='$os2_NONPKGCONFIG_CFLAGS'
36363
beos_BASE='$beos_BASE'
36364
beos_REQUIRES='$beos_REQUIRES'
36365
beos_NONPKGCONFIG_LIBS='$beos_NONPKGCONFIG_LIBS'
36366
beos_NONPKGCONFIG_EXTRA_LIBS='$beos_NONPKGCONFIG_EXTRA_LIBS'
36367
beos_NONPKGCONFIG_CFLAGS='$beos_NONPKGCONFIG_CFLAGS'
36370
beos_BASE='$beos_BASE'
36371
beos_REQUIRES='$beos_REQUIRES'
36372
beos_NONPKGCONFIG_LIBS='$beos_NONPKGCONFIG_LIBS'
36373
beos_NONPKGCONFIG_EXTRA_LIBS='$beos_NONPKGCONFIG_EXTRA_LIBS'
36374
beos_NONPKGCONFIG_CFLAGS='$beos_NONPKGCONFIG_CFLAGS'
36377
drm_BASE='$drm_BASE'
36378
drm_REQUIRES='$drm_REQUIRES'
36379
drm_NONPKGCONFIG_LIBS='$drm_NONPKGCONFIG_LIBS'
36380
drm_NONPKGCONFIG_EXTRA_LIBS='$drm_NONPKGCONFIG_EXTRA_LIBS'
36381
drm_NONPKGCONFIG_CFLAGS='$drm_NONPKGCONFIG_CFLAGS'
36384
drm_BASE='$drm_BASE'
36385
drm_REQUIRES='$drm_REQUIRES'
36386
drm_NONPKGCONFIG_LIBS='$drm_NONPKGCONFIG_LIBS'
36387
drm_NONPKGCONFIG_EXTRA_LIBS='$drm_NONPKGCONFIG_EXTRA_LIBS'
36388
drm_NONPKGCONFIG_CFLAGS='$drm_NONPKGCONFIG_CFLAGS'
36391
drm_xr_BASE='$drm_xr_BASE'
36392
drm_xr_REQUIRES='$drm_xr_REQUIRES'
36393
drm_xr_NONPKGCONFIG_LIBS='$drm_xr_NONPKGCONFIG_LIBS'
36394
drm_xr_NONPKGCONFIG_EXTRA_LIBS='$drm_xr_NONPKGCONFIG_EXTRA_LIBS'
36395
drm_xr_NONPKGCONFIG_CFLAGS='$drm_xr_NONPKGCONFIG_CFLAGS'
36398
drm_xr_BASE='$drm_xr_BASE'
36399
drm_xr_REQUIRES='$drm_xr_REQUIRES'
36400
drm_xr_NONPKGCONFIG_LIBS='$drm_xr_NONPKGCONFIG_LIBS'
36401
drm_xr_NONPKGCONFIG_EXTRA_LIBS='$drm_xr_NONPKGCONFIG_EXTRA_LIBS'
36402
drm_xr_NONPKGCONFIG_CFLAGS='$drm_xr_NONPKGCONFIG_CFLAGS'
36405
gallium_BASE='$gallium_BASE'
36406
gallium_REQUIRES='$gallium_REQUIRES'
36407
gallium_NONPKGCONFIG_LIBS='$gallium_NONPKGCONFIG_LIBS'
36408
gallium_NONPKGCONFIG_EXTRA_LIBS='$gallium_NONPKGCONFIG_EXTRA_LIBS'
36409
gallium_NONPKGCONFIG_CFLAGS='$gallium_NONPKGCONFIG_CFLAGS'
36412
gallium_BASE='$gallium_BASE'
36413
gallium_REQUIRES='$gallium_REQUIRES'
36414
gallium_NONPKGCONFIG_LIBS='$gallium_NONPKGCONFIG_LIBS'
36415
gallium_NONPKGCONFIG_EXTRA_LIBS='$gallium_NONPKGCONFIG_EXTRA_LIBS'
36416
gallium_NONPKGCONFIG_CFLAGS='$gallium_NONPKGCONFIG_CFLAGS'
36419
xcb_drm_BASE='$xcb_drm_BASE'
36420
xcb_drm_REQUIRES='$xcb_drm_REQUIRES'
36421
xcb_drm_NONPKGCONFIG_LIBS='$xcb_drm_NONPKGCONFIG_LIBS'
36422
xcb_drm_NONPKGCONFIG_EXTRA_LIBS='$xcb_drm_NONPKGCONFIG_EXTRA_LIBS'
36423
xcb_drm_NONPKGCONFIG_CFLAGS='$xcb_drm_NONPKGCONFIG_CFLAGS'
36426
xcb_drm_BASE='$xcb_drm_BASE'
36427
xcb_drm_REQUIRES='$xcb_drm_REQUIRES'
36428
xcb_drm_NONPKGCONFIG_LIBS='$xcb_drm_NONPKGCONFIG_LIBS'
36429
xcb_drm_NONPKGCONFIG_EXTRA_LIBS='$xcb_drm_NONPKGCONFIG_EXTRA_LIBS'
36430
xcb_drm_NONPKGCONFIG_CFLAGS='$xcb_drm_NONPKGCONFIG_CFLAGS'
36433
png_BASE='$png_BASE'
36434
png_REQUIRES='$png_REQUIRES'
36435
png_NONPKGCONFIG_LIBS='$png_NONPKGCONFIG_LIBS'
36436
png_NONPKGCONFIG_EXTRA_LIBS='$png_NONPKGCONFIG_EXTRA_LIBS'
36437
png_NONPKGCONFIG_CFLAGS='$png_NONPKGCONFIG_CFLAGS'
36440
png_BASE='$png_BASE'
36441
png_REQUIRES='$png_REQUIRES'
36442
png_NONPKGCONFIG_LIBS='$png_NONPKGCONFIG_LIBS'
36443
png_NONPKGCONFIG_EXTRA_LIBS='$png_NONPKGCONFIG_EXTRA_LIBS'
36444
png_NONPKGCONFIG_CFLAGS='$png_NONPKGCONFIG_CFLAGS'
36448
gl_REQUIRES='$gl_REQUIRES'
36449
gl_NONPKGCONFIG_LIBS='$gl_NONPKGCONFIG_LIBS'
36450
gl_NONPKGCONFIG_EXTRA_LIBS='$gl_NONPKGCONFIG_EXTRA_LIBS'
36451
gl_NONPKGCONFIG_CFLAGS='$gl_NONPKGCONFIG_CFLAGS'
36455
gl_REQUIRES='$gl_REQUIRES'
36456
gl_NONPKGCONFIG_LIBS='$gl_NONPKGCONFIG_LIBS'
36457
gl_NONPKGCONFIG_EXTRA_LIBS='$gl_NONPKGCONFIG_EXTRA_LIBS'
36458
gl_NONPKGCONFIG_CFLAGS='$gl_NONPKGCONFIG_CFLAGS'
36461
directfb_BASE='$directfb_BASE'
36462
directfb_REQUIRES='$directfb_REQUIRES'
36463
directfb_NONPKGCONFIG_LIBS='$directfb_NONPKGCONFIG_LIBS'
36464
directfb_NONPKGCONFIG_EXTRA_LIBS='$directfb_NONPKGCONFIG_EXTRA_LIBS'
36465
directfb_NONPKGCONFIG_CFLAGS='$directfb_NONPKGCONFIG_CFLAGS'
36468
directfb_BASE='$directfb_BASE'
36469
directfb_REQUIRES='$directfb_REQUIRES'
36470
directfb_NONPKGCONFIG_LIBS='$directfb_NONPKGCONFIG_LIBS'
36471
directfb_NONPKGCONFIG_EXTRA_LIBS='$directfb_NONPKGCONFIG_EXTRA_LIBS'
36472
directfb_NONPKGCONFIG_CFLAGS='$directfb_NONPKGCONFIG_CFLAGS'
36476
vg_REQUIRES='$vg_REQUIRES'
36477
vg_NONPKGCONFIG_LIBS='$vg_NONPKGCONFIG_LIBS'
36478
vg_NONPKGCONFIG_EXTRA_LIBS='$vg_NONPKGCONFIG_EXTRA_LIBS'
36479
vg_NONPKGCONFIG_CFLAGS='$vg_NONPKGCONFIG_CFLAGS'
36483
vg_REQUIRES='$vg_REQUIRES'
36484
vg_NONPKGCONFIG_LIBS='$vg_NONPKGCONFIG_LIBS'
36485
vg_NONPKGCONFIG_EXTRA_LIBS='$vg_NONPKGCONFIG_EXTRA_LIBS'
36486
vg_NONPKGCONFIG_CFLAGS='$vg_NONPKGCONFIG_CFLAGS'
36489
egl_BASE='$egl_BASE'
36490
egl_REQUIRES='$egl_REQUIRES'
36491
egl_NONPKGCONFIG_LIBS='$egl_NONPKGCONFIG_LIBS'
36492
egl_NONPKGCONFIG_EXTRA_LIBS='$egl_NONPKGCONFIG_EXTRA_LIBS'
36493
egl_NONPKGCONFIG_CFLAGS='$egl_NONPKGCONFIG_CFLAGS'
36496
egl_BASE='$egl_BASE'
36497
egl_REQUIRES='$egl_REQUIRES'
36498
egl_NONPKGCONFIG_LIBS='$egl_NONPKGCONFIG_LIBS'
36499
egl_NONPKGCONFIG_EXTRA_LIBS='$egl_NONPKGCONFIG_EXTRA_LIBS'
36500
egl_NONPKGCONFIG_CFLAGS='$egl_NONPKGCONFIG_CFLAGS'
36503
glx_BASE='$glx_BASE'
36504
glx_REQUIRES='$glx_REQUIRES'
36505
glx_NONPKGCONFIG_LIBS='$glx_NONPKGCONFIG_LIBS'
36506
glx_NONPKGCONFIG_EXTRA_LIBS='$glx_NONPKGCONFIG_EXTRA_LIBS'
36507
glx_NONPKGCONFIG_CFLAGS='$glx_NONPKGCONFIG_CFLAGS'
36510
glx_BASE='$glx_BASE'
36511
glx_REQUIRES='$glx_REQUIRES'
36512
glx_NONPKGCONFIG_LIBS='$glx_NONPKGCONFIG_LIBS'
36513
glx_NONPKGCONFIG_EXTRA_LIBS='$glx_NONPKGCONFIG_EXTRA_LIBS'
36514
glx_NONPKGCONFIG_CFLAGS='$glx_NONPKGCONFIG_CFLAGS'
36517
wgl_BASE='$wgl_BASE'
36518
wgl_REQUIRES='$wgl_REQUIRES'
36519
wgl_NONPKGCONFIG_LIBS='$wgl_NONPKGCONFIG_LIBS'
36520
wgl_NONPKGCONFIG_EXTRA_LIBS='$wgl_NONPKGCONFIG_EXTRA_LIBS'
36521
wgl_NONPKGCONFIG_CFLAGS='$wgl_NONPKGCONFIG_CFLAGS'
36524
wgl_BASE='$wgl_BASE'
36525
wgl_REQUIRES='$wgl_REQUIRES'
36526
wgl_NONPKGCONFIG_LIBS='$wgl_NONPKGCONFIG_LIBS'
36527
wgl_NONPKGCONFIG_EXTRA_LIBS='$wgl_NONPKGCONFIG_EXTRA_LIBS'
36528
wgl_NONPKGCONFIG_CFLAGS='$wgl_NONPKGCONFIG_CFLAGS'
36531
script_BASE='$script_BASE'
36532
script_REQUIRES='$script_REQUIRES'
36533
script_NONPKGCONFIG_LIBS='$script_NONPKGCONFIG_LIBS'
36534
script_NONPKGCONFIG_EXTRA_LIBS='$script_NONPKGCONFIG_EXTRA_LIBS'
36535
script_NONPKGCONFIG_CFLAGS='$script_NONPKGCONFIG_CFLAGS'
36538
script_BASE='$script_BASE'
36539
script_REQUIRES='$script_REQUIRES'
36540
script_NONPKGCONFIG_LIBS='$script_NONPKGCONFIG_LIBS'
36541
script_NONPKGCONFIG_EXTRA_LIBS='$script_NONPKGCONFIG_EXTRA_LIBS'
36542
script_NONPKGCONFIG_CFLAGS='$script_NONPKGCONFIG_CFLAGS'
36546
ft_REQUIRES='$ft_REQUIRES'
36547
ft_NONPKGCONFIG_LIBS='$ft_NONPKGCONFIG_LIBS'
36548
ft_NONPKGCONFIG_EXTRA_LIBS='$ft_NONPKGCONFIG_EXTRA_LIBS'
36549
ft_NONPKGCONFIG_CFLAGS='$ft_NONPKGCONFIG_CFLAGS'
36553
ft_REQUIRES='$ft_REQUIRES'
36554
ft_NONPKGCONFIG_LIBS='$ft_NONPKGCONFIG_LIBS'
36555
ft_NONPKGCONFIG_EXTRA_LIBS='$ft_NONPKGCONFIG_EXTRA_LIBS'
36556
ft_NONPKGCONFIG_CFLAGS='$ft_NONPKGCONFIG_CFLAGS'
36560
fc_REQUIRES='$fc_REQUIRES'
36561
fc_NONPKGCONFIG_LIBS='$fc_NONPKGCONFIG_LIBS'
36562
fc_NONPKGCONFIG_EXTRA_LIBS='$fc_NONPKGCONFIG_EXTRA_LIBS'
36563
fc_NONPKGCONFIG_CFLAGS='$fc_NONPKGCONFIG_CFLAGS'
36567
fc_REQUIRES='$fc_REQUIRES'
36568
fc_NONPKGCONFIG_LIBS='$fc_NONPKGCONFIG_LIBS'
36569
fc_NONPKGCONFIG_EXTRA_LIBS='$fc_NONPKGCONFIG_EXTRA_LIBS'
36570
fc_NONPKGCONFIG_CFLAGS='$fc_NONPKGCONFIG_CFLAGS'
36574
ps_REQUIRES='$ps_REQUIRES'
36575
ps_NONPKGCONFIG_LIBS='$ps_NONPKGCONFIG_LIBS'
36576
ps_NONPKGCONFIG_EXTRA_LIBS='$ps_NONPKGCONFIG_EXTRA_LIBS'
36577
ps_NONPKGCONFIG_CFLAGS='$ps_NONPKGCONFIG_CFLAGS'
36581
ps_REQUIRES='$ps_REQUIRES'
36582
ps_NONPKGCONFIG_LIBS='$ps_NONPKGCONFIG_LIBS'
36583
ps_NONPKGCONFIG_EXTRA_LIBS='$ps_NONPKGCONFIG_EXTRA_LIBS'
36584
ps_NONPKGCONFIG_CFLAGS='$ps_NONPKGCONFIG_CFLAGS'
36587
pdf_BASE='$pdf_BASE'
36588
pdf_REQUIRES='$pdf_REQUIRES'
36589
pdf_NONPKGCONFIG_LIBS='$pdf_NONPKGCONFIG_LIBS'
36590
pdf_NONPKGCONFIG_EXTRA_LIBS='$pdf_NONPKGCONFIG_EXTRA_LIBS'
36591
pdf_NONPKGCONFIG_CFLAGS='$pdf_NONPKGCONFIG_CFLAGS'
36594
pdf_BASE='$pdf_BASE'
36595
pdf_REQUIRES='$pdf_REQUIRES'
36596
pdf_NONPKGCONFIG_LIBS='$pdf_NONPKGCONFIG_LIBS'
36597
pdf_NONPKGCONFIG_EXTRA_LIBS='$pdf_NONPKGCONFIG_EXTRA_LIBS'
36598
pdf_NONPKGCONFIG_CFLAGS='$pdf_NONPKGCONFIG_CFLAGS'
36601
svg_BASE='$svg_BASE'
36602
svg_REQUIRES='$svg_REQUIRES'
36603
svg_NONPKGCONFIG_LIBS='$svg_NONPKGCONFIG_LIBS'
36604
svg_NONPKGCONFIG_EXTRA_LIBS='$svg_NONPKGCONFIG_EXTRA_LIBS'
36605
svg_NONPKGCONFIG_CFLAGS='$svg_NONPKGCONFIG_CFLAGS'
36608
svg_BASE='$svg_BASE'
36609
svg_REQUIRES='$svg_REQUIRES'
36610
svg_NONPKGCONFIG_LIBS='$svg_NONPKGCONFIG_LIBS'
36611
svg_NONPKGCONFIG_EXTRA_LIBS='$svg_NONPKGCONFIG_EXTRA_LIBS'
36612
svg_NONPKGCONFIG_CFLAGS='$svg_NONPKGCONFIG_CFLAGS'
36615
tee_BASE='$tee_BASE'
36616
tee_REQUIRES='$tee_REQUIRES'
36617
tee_NONPKGCONFIG_LIBS='$tee_NONPKGCONFIG_LIBS'
36618
tee_NONPKGCONFIG_EXTRA_LIBS='$tee_NONPKGCONFIG_EXTRA_LIBS'
36619
tee_NONPKGCONFIG_CFLAGS='$tee_NONPKGCONFIG_CFLAGS'
36622
tee_BASE='$tee_BASE'
36623
tee_REQUIRES='$tee_REQUIRES'
36624
tee_NONPKGCONFIG_LIBS='$tee_NONPKGCONFIG_LIBS'
36625
tee_NONPKGCONFIG_EXTRA_LIBS='$tee_NONPKGCONFIG_EXTRA_LIBS'
36626
tee_NONPKGCONFIG_CFLAGS='$tee_NONPKGCONFIG_CFLAGS'
36629
xml_BASE='$xml_BASE'
36630
xml_REQUIRES='$xml_REQUIRES'
36631
xml_NONPKGCONFIG_LIBS='$xml_NONPKGCONFIG_LIBS'
36632
xml_NONPKGCONFIG_EXTRA_LIBS='$xml_NONPKGCONFIG_EXTRA_LIBS'
36633
xml_NONPKGCONFIG_CFLAGS='$xml_NONPKGCONFIG_CFLAGS'
36636
xml_BASE='$xml_BASE'
36637
xml_REQUIRES='$xml_REQUIRES'
36638
xml_NONPKGCONFIG_LIBS='$xml_NONPKGCONFIG_LIBS'
36639
xml_NONPKGCONFIG_EXTRA_LIBS='$xml_NONPKGCONFIG_EXTRA_LIBS'
36640
xml_NONPKGCONFIG_CFLAGS='$xml_NONPKGCONFIG_CFLAGS'
36643
gobject_BASE='$gobject_BASE'
36644
gobject_REQUIRES='$gobject_REQUIRES'
36645
gobject_NONPKGCONFIG_LIBS='$gobject_NONPKGCONFIG_LIBS'
36646
gobject_NONPKGCONFIG_EXTRA_LIBS='$gobject_NONPKGCONFIG_EXTRA_LIBS'
36647
gobject_NONPKGCONFIG_CFLAGS='$gobject_NONPKGCONFIG_CFLAGS'
36650
gobject_BASE='$gobject_BASE'
36651
gobject_REQUIRES='$gobject_REQUIRES'
36652
gobject_NONPKGCONFIG_LIBS='$gobject_NONPKGCONFIG_LIBS'
36653
gobject_NONPKGCONFIG_EXTRA_LIBS='$gobject_NONPKGCONFIG_EXTRA_LIBS'
36654
gobject_NONPKGCONFIG_CFLAGS='$gobject_NONPKGCONFIG_CFLAGS'
36659
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36661
# Handling of arguments.
36662
for ac_config_target in $ac_config_targets
36664
case $ac_config_target in
36665
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
36666
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
36667
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
36668
"$srcdir/build/Makefile.win32.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/build/Makefile.win32.features" ;;
36669
"$srcdir/src/Makefile.am.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/src/Makefile.am.features" ;;
36670
"$srcdir/src/Makefile.win32.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/src/Makefile.win32.features" ;;
36671
"$srcdir/boilerplate/Makefile.am.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/boilerplate/Makefile.am.features" ;;
36672
"$srcdir/boilerplate/Makefile.win32.features") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/boilerplate/Makefile.win32.features" ;;
36673
"src/cairo.pc") CONFIG_FILES="$CONFIG_FILES src/cairo.pc" ;;
36674
"cairo-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-uninstalled.pc:src/cairo-uninstalled.pc.in" ;;
36675
"src/cairo-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS src/cairo-features.h" ;;
36676
"src/cairo-supported-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS src/cairo-supported-features.h" ;;
36677
"$srcdir/build/Makefile.win32.features-h") CONFIG_COMMANDS="$CONFIG_COMMANDS $srcdir/build/Makefile.win32.features-h" ;;
36678
"src/cairo-xlib.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xlib.pc:src/cairo-features.pc.in" ;;
36679
"cairo-xlib-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xlib-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36680
"src/cairo-xlib-xrender.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xlib-xrender.pc:src/cairo-features.pc.in" ;;
36681
"cairo-xlib-xrender-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xlib-xrender-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36682
"src/cairo-xcb.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xcb.pc:src/cairo-features.pc.in" ;;
36683
"cairo-xcb-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36684
"src/cairo-xlib-xcb.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xlib-xcb.pc:src/cairo-features.pc.in" ;;
36685
"cairo-xlib-xcb-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xlib-xcb-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36686
"src/cairo-xcb-shm.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xcb-shm.pc:src/cairo-features.pc.in" ;;
36687
"cairo-xcb-shm-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xcb-shm-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36688
"src/cairo-qt.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-qt.pc:src/cairo-features.pc.in" ;;
36689
"cairo-qt-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-qt-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36690
"src/cairo-quartz.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-quartz.pc:src/cairo-features.pc.in" ;;
36691
"cairo-quartz-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-quartz-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36692
"src/cairo-quartz-font.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-quartz-font.pc:src/cairo-features.pc.in" ;;
36693
"cairo-quartz-font-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-quartz-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36694
"src/cairo-quartz-image.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-quartz-image.pc:src/cairo-features.pc.in" ;;
36695
"cairo-quartz-image-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-quartz-image-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36696
"src/cairo-win32.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-win32.pc:src/cairo-features.pc.in" ;;
36697
"cairo-win32-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-win32-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36698
"src/cairo-win32-font.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-win32-font.pc:src/cairo-features.pc.in" ;;
36699
"cairo-win32-font-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-win32-font-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36700
"src/cairo-skia.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-skia.pc:src/cairo-features.pc.in" ;;
36701
"cairo-skia-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-skia-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36702
"src/cairo-os2.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-os2.pc:src/cairo-features.pc.in" ;;
36703
"cairo-os2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-os2-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36704
"src/cairo-beos.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-beos.pc:src/cairo-features.pc.in" ;;
36705
"cairo-beos-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-beos-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36706
"src/cairo-drm.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-drm.pc:src/cairo-features.pc.in" ;;
36707
"cairo-drm-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-drm-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36708
"src/cairo-drm-xr.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-drm-xr.pc:src/cairo-features.pc.in" ;;
36709
"cairo-drm-xr-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-drm-xr-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36710
"src/cairo-gallium.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-gallium.pc:src/cairo-features.pc.in" ;;
36711
"cairo-gallium-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-gallium-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36712
"src/cairo-xcb-drm.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xcb-drm.pc:src/cairo-features.pc.in" ;;
36713
"cairo-xcb-drm-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xcb-drm-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36714
"src/cairo-png.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-png.pc:src/cairo-features.pc.in" ;;
36715
"cairo-png-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-png-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36716
"src/cairo-gl.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-gl.pc:src/cairo-features.pc.in" ;;
36717
"cairo-gl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-gl-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36718
"src/cairo-directfb.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-directfb.pc:src/cairo-features.pc.in" ;;
36719
"cairo-directfb-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-directfb-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36720
"src/cairo-vg.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-vg.pc:src/cairo-features.pc.in" ;;
36721
"cairo-vg-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-vg-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36722
"src/cairo-egl.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-egl.pc:src/cairo-features.pc.in" ;;
36723
"cairo-egl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-egl-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36724
"src/cairo-glx.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-glx.pc:src/cairo-features.pc.in" ;;
36725
"cairo-glx-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-glx-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36726
"src/cairo-wgl.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-wgl.pc:src/cairo-features.pc.in" ;;
36727
"cairo-wgl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-wgl-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36728
"src/cairo-script.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-script.pc:src/cairo-features.pc.in" ;;
36729
"cairo-script-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-script-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36730
"src/cairo-ft.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-ft.pc:src/cairo-features.pc.in" ;;
36731
"cairo-ft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-ft-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36732
"src/cairo-fc.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-fc.pc:src/cairo-features.pc.in" ;;
36733
"cairo-fc-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-fc-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36734
"src/cairo-ps.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-ps.pc:src/cairo-features.pc.in" ;;
36735
"cairo-ps-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-ps-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36736
"src/cairo-pdf.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-pdf.pc:src/cairo-features.pc.in" ;;
36737
"cairo-pdf-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-pdf-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36738
"src/cairo-svg.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-svg.pc:src/cairo-features.pc.in" ;;
36739
"cairo-svg-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-svg-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36740
"src/cairo-tee.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-tee.pc:src/cairo-features.pc.in" ;;
36741
"cairo-tee-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-tee-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36742
"src/cairo-xml.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-xml.pc:src/cairo-features.pc.in" ;;
36743
"cairo-xml-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-xml-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36744
"src/cairo-gobject.pc") CONFIG_FILES="$CONFIG_FILES src/cairo-gobject.pc:src/cairo-features.pc.in" ;;
36745
"cairo-gobject-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES cairo-gobject-uninstalled.pc:src/cairo-features-uninstalled.pc.in" ;;
36746
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36747
"boilerplate/Makefile") CONFIG_FILES="$CONFIG_FILES boilerplate/Makefile" ;;
36748
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
36749
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
36750
"test/pdiff/Makefile") CONFIG_FILES="$CONFIG_FILES test/pdiff/Makefile" ;;
36751
"perf/Makefile") CONFIG_FILES="$CONFIG_FILES perf/Makefile" ;;
36752
"util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
36753
"util/cairo-fdr/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-fdr/Makefile" ;;
36754
"util/cairo-gobject/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-gobject/Makefile" ;;
36755
"util/cairo-script/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-script/Makefile" ;;
36756
"util/cairo-script/examples/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-script/examples/Makefile" ;;
36757
"util/cairo-sphinx/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-sphinx/Makefile" ;;
36758
"util/cairo-trace/Makefile") CONFIG_FILES="$CONFIG_FILES util/cairo-trace/Makefile" ;;
36759
"util/cairo-trace/cairo-trace") CONFIG_FILES="$CONFIG_FILES util/cairo-trace/cairo-trace" ;;
36760
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
36761
"doc/public/Makefile") CONFIG_FILES="$CONFIG_FILES doc/public/Makefile" ;;
36763
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
36768
# If the user did not use the arguments to specify the items to instantiate,
36769
# then the envvar interface is used. Set only those that are not.
36770
# We use the long form for the default assignment because of an extremely
36771
# bizarre bug on SunOS 4.1.3.
36772
if $ac_need_defaults; then
36773
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36774
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36775
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36778
# Have a temporary directory for convenience. Make it in the build tree
36779
# simply because there is no reason against having it here, and in addition,
36780
# creating and moving files from /tmp can sometimes cause problems.
36781
# Hook for its removal unless debugging.
36782
# Note that there is a small window in which the directory will not be cleaned:
36783
# after its creation but before its name has been assigned to `$tmp'.
36787
trap 'exit_status=$?
36788
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
36790
trap 'as_fn_exit 1' 1 2 13 15
36792
# Create a (secure) tmp directory for tmp files.
36795
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
36796
test -n "$tmp" && test -d "$tmp"
36799
tmp=./conf$$-$RANDOM
36800
(umask 077 && mkdir "$tmp")
36801
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
36803
# Set up the scripts for CONFIG_FILES section.
36804
# No need to generate them if there are no CONFIG_FILES.
36805
# This happens for instance with `./config.status config.h'.
36806
if test -n "$CONFIG_FILES"; then
36809
ac_cr=`echo X | tr X '\015'`
36810
# On cygwin, bash can eat \r inside `` if the user requested igncr.
36811
# But we know of no other shell where ac_cr would be empty at this
36812
# point, so we can use a bashism as a fallback.
36813
if test "x$ac_cr" = x; then
36814
eval ac_cr=\$\'\\r\'
36816
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
36817
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
36820
ac_cs_awk_cr=$ac_cr
36823
echo 'BEGIN {' >"$tmp/subs1.awk" &&
36828
echo "cat >conf$$subs.awk <<_ACEOF" &&
36829
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
36831
} >conf$$subs.sh ||
36832
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
36833
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
36835
for ac_last_try in false false false false false :; do
36836
. ./conf$$subs.sh ||
36837
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
36839
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
36840
if test $ac_delim_n = $ac_delim_num; then
36842
elif $ac_last_try; then
36843
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
36845
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
36848
rm -f conf$$subs.sh
36850
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36851
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
36855
s/^/S["/; s/!.*/"]=/
36865
s/\(.\{148\}\)..*/\1/
36867
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
36872
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
36879
s/\(.\{148\}\)..*/\1/
36881
s/["\\]/\\&/g; s/^/"/; s/$/"/
36885
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
36890
' <conf$$subs.awk | sed '
36895
' >>$CONFIG_STATUS || ac_write_fail=1
36896
rm -f conf$$subs.awk
36897
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36899
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
36900
for (key in S) S_is_set[key] = 1
36906
nfields = split(line, field, "@")
36908
len = length(field[1])
36909
for (i = 2; i < nfields; i++) {
36911
keylen = length(key)
36912
if (S_is_set[key]) {
36914
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
36915
len += length(value) + length(field[++i])
36926
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36927
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
36928
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
36931
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
36932
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
36935
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
36936
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
36937
# trailing colons and then remove the whole line if VPATH becomes empty
36938
# (actually we leave an empty line to preserve line numbers).
36939
if test "x$srcdir" = x.; then
36940
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
36958
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36959
fi # test -n "$CONFIG_FILES"
36961
# Set up the scripts for CONFIG_HEADERS section.
36962
# No need to generate them if there are no CONFIG_HEADERS.
36963
# This happens for instance with `./config.status Makefile'.
36964
if test -n "$CONFIG_HEADERS"; then
36965
cat >"$tmp/defines.awk" <<\_ACAWK ||
36969
# Transform confdefs.h into an awk script `defines.awk', embedded as
36970
# here-document in config.status, that substitutes the proper values into
36971
# config.h.in to produce config.h.
36973
# Create a delimiter string that does not exist in confdefs.h, to ease
36974
# handling of long lines.
36976
for ac_last_try in false false :; do
36977
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
36978
if test -z "$ac_t"; then
36980
elif $ac_last_try; then
36981
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
36983
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
36987
# For the awk script, D is an array of macro values keyed by name,
36988
# likewise P contains macro parameters if any. Preserve backslash
36989
# newline sequences.
36991
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
36993
s/.\{148\}/&'"$ac_delim"'/g
36996
s/^[ ]*#[ ]*define[ ][ ]*/ /
37003
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
37005
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
37009
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
37010
D["\1"]=" \3\\\\\\n"\\/p
37012
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
37017
s/.\{148\}/&'"$ac_delim"'/g
37022
s/["\\]/\\&/g; s/^/"/; s/$/"/p
37025
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
37027
' <confdefs.h | sed '
37028
s/'"$ac_delim"'/"\\\
37029
"/g' >>$CONFIG_STATUS || ac_write_fail=1
37031
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37032
for (key in D) D_is_set[key] = 1
37035
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
37037
split(line, arg, " ")
37038
if (arg[1] == "#") {
37042
defundef = substr(arg[1], 2)
37045
split(mac1, mac2, "(") #)
37047
prefix = substr(line, 1, index(line, defundef) - 1)
37048
if (D_is_set[macro]) {
37049
# Preserve the white space surrounding the "#".
37050
print prefix "define", macro P[macro] D[macro]
37053
# Replace #undef with comments. This is necessary, for example,
37054
# in the case of _POSIX_SOURCE, which is predefined and required
37055
# on some systems where configure will not decide to define it.
37056
if (defundef == "undef") {
37057
print "/*", prefix defundef, macro, "*/"
37065
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37066
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
37067
fi # test -n "$CONFIG_HEADERS"
37070
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
37075
:[FHLC]) ac_mode=$ac_tag; continue;;
37077
case $ac_mode$ac_tag in
37079
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
37080
:[FH]-) ac_tag=-:-;;
37081
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
37098
-) ac_f="$tmp/stdin";;
37099
*) # Look for the file first in the build tree, then in the source tree
37100
# (if the path is not absolute). The absolute path cannot be DOS-style,
37101
# because $ac_f cannot contain `:'.
37105
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
37107
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
37109
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
37110
as_fn_append ac_file_inputs " '$ac_f'"
37113
# Let's still pretend it is `configure' which instantiates (i.e., don't
37114
# use $as_me), people would be surprised to read:
37115
# /* config.h. Generated by config.status. */
37116
configure_input='Generated from '`
37117
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
37119
if test x"$ac_file" != x-; then
37120
configure_input="$ac_file. $configure_input"
37121
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
37122
$as_echo "$as_me: creating $ac_file" >&6;}
37124
# Neutralize special characters interpreted by sed in replacement strings.
37125
case $configure_input in #(
37126
*\&* | *\|* | *\\* )
37127
ac_sed_conf_input=`$as_echo "$configure_input" |
37128
sed 's/[\\\\&|]/\\\\&/g'`;; #(
37129
*) ac_sed_conf_input=$configure_input;;
37133
*:-:* | *:-) cat >"$tmp/stdin" \
37134
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
37139
ac_dir=`$as_dirname -- "$ac_file" ||
37140
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37141
X"$ac_file" : 'X\(//\)[^/]' \| \
37142
X"$ac_file" : 'X\(//\)$' \| \
37143
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
37144
$as_echo X"$ac_file" |
37145
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37149
/^X\(\/\/\)[^/].*/{
37162
as_dir="$ac_dir"; as_fn_mkdir_p
37166
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
37168
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
37169
# A ".." for each directory in $ac_dir_suffix.
37170
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
37171
case $ac_top_builddir_sub in
37172
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
37173
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
37176
ac_abs_top_builddir=$ac_pwd
37177
ac_abs_builddir=$ac_pwd$ac_dir_suffix
37178
# for backward compatibility:
37179
ac_top_builddir=$ac_top_build_prefix
37182
.) # We are building in place.
37184
ac_top_srcdir=$ac_top_builddir_sub
37185
ac_abs_top_srcdir=$ac_pwd ;;
37186
[\\/]* | ?:[\\/]* ) # Absolute name.
37187
ac_srcdir=$srcdir$ac_dir_suffix;
37188
ac_top_srcdir=$srcdir
37189
ac_abs_top_srcdir=$srcdir ;;
37190
*) # Relative name.
37191
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
37192
ac_top_srcdir=$ac_top_build_prefix$srcdir
37193
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
37195
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
37205
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
37206
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
37208
ac_MKDIR_P=$MKDIR_P
37210
[\\/$]* | ?:[\\/]* ) ;;
37211
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
37215
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37216
# If the template does not know about datarootdir, expand it.
37217
# FIXME: This hack should be removed a few years after 2.60.
37218
ac_datarootdir_hack=; ac_datarootdir_seen=
37229
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
37230
*datarootdir*) ac_datarootdir_seen=yes;;
37231
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
37232
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
37233
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
37235
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37236
ac_datarootdir_hack='
37237
s&@datadir@&$datadir&g
37238
s&@docdir@&$docdir&g
37239
s&@infodir@&$infodir&g
37240
s&@localedir@&$localedir&g
37241
s&@mandir@&$mandir&g
37242
s&\\\${datarootdir}&$datarootdir&g' ;;
37246
# Neutralize VPATH when `$srcdir' = `.'.
37247
# Shell code in configure.ac might set extrasub.
37248
# FIXME: do we really want to maintain this feature?
37249
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37250
ac_sed_extra="$ac_vpsub
37253
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37255
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37256
s|@configure_input@|$ac_sed_conf_input|;t t
37257
s&@top_builddir@&$ac_top_builddir_sub&;t t
37258
s&@top_build_prefix@&$ac_top_build_prefix&;t t
37259
s&@srcdir@&$ac_srcdir&;t t
37260
s&@abs_srcdir@&$ac_abs_srcdir&;t t
37261
s&@top_srcdir@&$ac_top_srcdir&;t t
37262
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
37263
s&@builddir@&$ac_builddir&;t t
37264
s&@abs_builddir@&$ac_abs_builddir&;t t
37265
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
37266
s&@INSTALL@&$ac_INSTALL&;t t
37267
s&@MKDIR_P@&$ac_MKDIR_P&;t t
37268
$ac_datarootdir_hack
37270
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
37271
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
37273
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
37274
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
37275
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
37276
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
37277
which seems to be undefined. Please make sure it is defined" >&5
37278
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
37279
which seems to be undefined. Please make sure it is defined" >&2;}
37283
-) cat "$tmp/out" && rm -f "$tmp/out";;
37284
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
37286
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
37292
if test x"$ac_file" != x-; then
37294
$as_echo "/* $configure_input */" \
37295
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
37296
} >"$tmp/config.h" \
37297
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
37298
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
37299
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
37300
$as_echo "$as_me: $ac_file is unchanged" >&6;}
37303
mv "$tmp/config.h" "$ac_file" \
37304
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
37307
$as_echo "/* $configure_input */" \
37308
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
37309
|| as_fn_error $? "could not create -" "$LINENO" 5
37311
# Compute "$ac_file"'s index in $config_headers.
37314
for _am_header in $config_headers :; do
37315
case $_am_header in
37316
$_am_arg | $_am_arg:* )
37319
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
37322
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
37323
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37324
X"$_am_arg" : 'X\(//\)[^/]' \| \
37325
X"$_am_arg" : 'X\(//\)$' \| \
37326
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
37327
$as_echo X"$_am_arg" |
37328
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37332
/^X\(\/\/\)[^/].*/{
37344
s/.*/./; q'`/stamp-h$_am_stamp_count
37347
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
37348
$as_echo "$as_me: executing $ac_file commands" >&6;}
37353
case $ac_file$ac_mode in
37354
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
37355
# Autoconf 2.62 quotes --file arguments for eval, but not when files
37356
# are listed without --file. Let's play safe and only enable the eval
37357
# if we detect the quoting.
37358
case $CONFIG_FILES in
37359
*\'*) eval set x "$CONFIG_FILES" ;;
37360
*) set x $CONFIG_FILES ;;
37365
# Strip MF so we end up with the name of the file.
37366
mf=`echo "$mf" | sed -e 's/:.*$//'`
37367
# Check whether this is an Automake generated Makefile or not.
37368
# We used to match only the files named `Makefile.in', but
37369
# some people rename them; so instead we look at the file content.
37370
# Grep'ing the first line is not enough: some people post-process
37371
# each Makefile.in and add a new line on top of each file to say so.
37372
# Grep'ing the whole file is not good either: AIX grep has a line
37373
# limit of 2048, but all sed's we know have understand at least 4000.
37374
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
37375
dirpart=`$as_dirname -- "$mf" ||
37376
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37377
X"$mf" : 'X\(//\)[^/]' \| \
37378
X"$mf" : 'X\(//\)$' \| \
37379
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
37381
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37385
/^X\(\/\/\)[^/].*/{
37401
# Extract the definition of DEPDIR, am__include, and am__quote
37402
# from the Makefile without running `make'.
37403
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
37404
test -z "$DEPDIR" && continue
37405
am__include=`sed -n 's/^am__include = //p' < "$mf"`
37406
test -z "am__include" && continue
37407
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
37408
# When using ansi2knr, U may be empty or an underscore; expand it
37409
U=`sed -n 's/^U = //p' < "$mf"`
37410
# Find all dependency output files, they are included files with
37411
# $(DEPDIR) in their names. We invoke sed twice because it is the
37412
# simplest approach to changing $(DEPDIR) to its actual value in the
37414
for file in `sed -n "
37415
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
37416
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
37417
# Make sure the directory exists.
37418
test -f "$dirpart/$file" && continue
37419
fdir=`$as_dirname -- "$file" ||
37420
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37421
X"$file" : 'X\(//\)[^/]' \| \
37422
X"$file" : 'X\(//\)$' \| \
37423
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
37424
$as_echo X"$file" |
37425
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37429
/^X\(\/\/\)[^/].*/{
37442
as_dir=$dirpart/$fdir; as_fn_mkdir_p
37443
# echo "creating $dirpart/$file"
37444
echo '# dummy' > "$dirpart/$file"
37451
# See if we are running on zsh, and set the options which allow our
37452
# commands through without removal of \ escapes.
37453
if test -n "${ZSH_VERSION+set}" ; then
37454
setopt NO_GLOB_SUBST
37457
cfgfile="${ofile}T"
37458
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
37461
cat <<_LT_EOF >> "$cfgfile"
37464
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
37465
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
37466
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
37467
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
37469
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
37470
# 2006, 2007, 2008 Free Software Foundation, Inc.
37471
# Written by Gordon Matzigkeit, 1996
37473
# This file is part of GNU Libtool.
37475
# GNU Libtool is free software; you can redistribute it and/or
37476
# modify it under the terms of the GNU General Public License as
37477
# published by the Free Software Foundation; either version 2 of
37478
# the License, or (at your option) any later version.
37480
# As a special exception to the GNU General Public License,
37481
# if you distribute this file as part of a program or library that
37482
# is built using GNU Libtool, you may include this file under the
37483
# same distribution terms that you use for the rest of that program.
37485
# GNU Libtool is distributed in the hope that it will be useful,
37486
# but WITHOUT ANY WARRANTY; without even the implied warranty of
37487
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
37488
# GNU General Public License for more details.
37490
# You should have received a copy of the GNU General Public License
37491
# along with GNU Libtool; see the file COPYING. If not, a copy
37492
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
37493
# obtained by writing to the Free Software Foundation, Inc.,
37494
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
37497
# The names of the tagged configurations supported by this script.
37498
available_tags="CXX "
37500
# ### BEGIN LIBTOOL CONFIG
37502
# Assembler program.
37505
# DLL creation program.
37508
# Object dumper program.
37511
# Which release of libtool.m4 was used?
37512
macro_version=$macro_version
37513
macro_revision=$macro_revision
37515
# Whether or not to build shared libraries.
37516
build_libtool_libs=$enable_shared
37518
# Whether or not to build static libraries.
37519
build_old_libs=$enable_static
37521
# What type of objects to build.
37524
# Whether or not to optimize for fast installation.
37525
fast_install=$enable_fast_install
37528
host_alias=$host_alias
37532
# The build system.
37533
build_alias=$build_alias
37537
# A sed program that does not truncate output.
37540
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
37541
Xsed="\$SED -e 1s/^X//"
37543
# A grep program that handles long lines.
37549
# A literal string matcher.
37552
# A BSD- or MS-compatible name lister.
37555
# Whether we need soft or hard links.
37558
# What is the maximum length of a command?
37559
max_cmd_len=$max_cmd_len
37561
# Object file suffix (normally "o").
37564
# Executable file suffix (normally "").
37567
# whether the shell understands "unset".
37570
# turn spaces into newlines.
37573
# turn newlines into spaces.
37576
# How to create reloadable object files.
37577
reload_flag=$lt_reload_flag
37578
reload_cmds=$lt_reload_cmds
37580
# Method to check whether dependent libraries are shared objects.
37581
deplibs_check_method=$lt_deplibs_check_method
37583
# Command to use when deplibs_check_method == "file_magic".
37584
file_magic_cmd=$lt_file_magic_cmd
37588
AR_FLAGS=$lt_AR_FLAGS
37590
# A symbol stripping program.
37593
# Commands used to install an old-style archive.
37595
old_postinstall_cmds=$lt_old_postinstall_cmds
37596
old_postuninstall_cmds=$lt_old_postuninstall_cmds
37601
# LTCC compiler flags.
37602
LTCFLAGS=$lt_CFLAGS
37604
# Take the output of nm and produce a listing of raw symbols and C names.
37605
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
37607
# Transform the output of nm in a proper C declaration.
37608
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
37610
# Transform the output of nm in a C name address pair.
37611
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
37613
# Transform the output of nm in a C name address pair when lib prefix is needed.
37614
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
37616
# The name of the directory that contains temporary libtool files.
37619
# Shell to use when invoking shell scripts.
37622
# An echo program that does not interpret backslashes.
37625
# Used to examine libraries when file_magic_cmd begins with "file".
37626
MAGIC_CMD=$MAGIC_CMD
37628
# Must we lock files when doing compilation?
37629
need_locks=$lt_need_locks
37631
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
37632
DSYMUTIL=$lt_DSYMUTIL
37634
# Tool to change global to local symbols on Mac OS X.
37637
# Tool to manipulate fat objects and archives on Mac OS X.
37640
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
37643
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
37644
OTOOL64=$lt_OTOOL64
37646
# Old archive suffix (normally "a").
37649
# Shared library suffix (normally ".so").
37650
shrext_cmds=$lt_shrext_cmds
37652
# The commands to extract the exported symbol list from a shared archive.
37653
extract_expsyms_cmds=$lt_extract_expsyms_cmds
37655
# Variables whose values should be saved in libtool wrapper scripts and
37656
# restored at link time.
37657
variables_saved_for_relink=$lt_variables_saved_for_relink
37659
# Do we need the "lib" prefix for modules?
37660
need_lib_prefix=$need_lib_prefix
37662
# Do we need a version for libraries?
37663
need_version=$need_version
37665
# Library versioning type.
37666
version_type=$version_type
37668
# Shared library runtime path variable.
37669
runpath_var=$runpath_var
37671
# Shared library path variable.
37672
shlibpath_var=$shlibpath_var
37674
# Is shlibpath searched before the hard-coded library search path?
37675
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
37677
# Format of library name prefix.
37678
libname_spec=$lt_libname_spec
37680
# List of archive names. First name is the real one, the rest are links.
37681
# The last name is the one that the linker finds with -lNAME
37682
library_names_spec=$lt_library_names_spec
37684
# The coded name of the library, if different from the real name.
37685
soname_spec=$lt_soname_spec
37687
# Command to use after installation of a shared archive.
37688
postinstall_cmds=$lt_postinstall_cmds
37690
# Command to use after uninstallation of a shared archive.
37691
postuninstall_cmds=$lt_postuninstall_cmds
37693
# Commands used to finish a libtool library installation in a directory.
37694
finish_cmds=$lt_finish_cmds
37696
# As "finish_cmds", except a single script fragment to be evaled but
37698
finish_eval=$lt_finish_eval
37700
# Whether we should hardcode library paths into libraries.
37701
hardcode_into_libs=$hardcode_into_libs
37703
# Compile-time system search path for libraries.
37704
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
37706
# Run-time system search path for libraries.
37707
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
37709
# Whether dlopen is supported.
37710
dlopen_support=$enable_dlopen
37712
# Whether dlopen of programs is supported.
37713
dlopen_self=$enable_dlopen_self
37715
# Whether dlopen of statically linked programs is supported.
37716
dlopen_self_static=$enable_dlopen_self_static
37718
# Commands to strip libraries.
37719
old_striplib=$lt_old_striplib
37720
striplib=$lt_striplib
37723
# The linker used to build libraries.
37726
# Commands used to build an old-style archive.
37727
old_archive_cmds=$lt_old_archive_cmds
37729
# A language specific compiler.
37732
# Is the compiler the GNU compiler?
37735
# Compiler flag to turn off builtin functions.
37736
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
37738
# How to pass a linker flag through the compiler.
37739
wl=$lt_lt_prog_compiler_wl
37741
# Additional compiler flags for building library objects.
37742
pic_flag=$lt_lt_prog_compiler_pic
37744
# Compiler flag to prevent dynamic linking.
37745
link_static_flag=$lt_lt_prog_compiler_static
37747
# Does compiler simultaneously support -c and -o options?
37748
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
37750
# Whether or not to add -lc for building shared libraries.
37751
build_libtool_need_lc=$archive_cmds_need_lc
37753
# Whether or not to disallow shared libs when runtime libs are static.
37754
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
37756
# Compiler flag to allow reflexive dlopens.
37757
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
37759
# Compiler flag to generate shared objects directly from archives.
37760
whole_archive_flag_spec=$lt_whole_archive_flag_spec
37762
# Whether the compiler copes with passing no objects directly.
37763
compiler_needs_object=$lt_compiler_needs_object
37765
# Create an old-style archive from a shared archive.
37766
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
37768
# Create a temporary old-style archive to link instead of a shared archive.
37769
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
37771
# Commands used to build a shared archive.
37772
archive_cmds=$lt_archive_cmds
37773
archive_expsym_cmds=$lt_archive_expsym_cmds
37775
# Commands used to build a loadable module if different from building
37776
# a shared archive.
37777
module_cmds=$lt_module_cmds
37778
module_expsym_cmds=$lt_module_expsym_cmds
37780
# Whether we are building with GNU ld or not.
37781
with_gnu_ld=$lt_with_gnu_ld
37783
# Flag that allows shared libraries with undefined symbols to be built.
37784
allow_undefined_flag=$lt_allow_undefined_flag
37786
# Flag that enforces no undefined symbols.
37787
no_undefined_flag=$lt_no_undefined_flag
37789
# Flag to hardcode \$libdir into a binary during linking.
37790
# This must work even if \$libdir does not exist
37791
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
37793
# If ld is used when linking, flag to hardcode \$libdir into a binary
37794
# during linking. This must work even if \$libdir does not exist.
37795
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
37797
# Whether we need a single "-rpath" flag with a separated argument.
37798
hardcode_libdir_separator=$lt_hardcode_libdir_separator
37800
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
37801
# DIR into the resulting binary.
37802
hardcode_direct=$hardcode_direct
37804
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
37805
# DIR into the resulting binary and the resulting library dependency is
37806
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
37807
# library is relocated.
37808
hardcode_direct_absolute=$hardcode_direct_absolute
37810
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
37811
# into the resulting binary.
37812
hardcode_minus_L=$hardcode_minus_L
37814
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
37815
# into the resulting binary.
37816
hardcode_shlibpath_var=$hardcode_shlibpath_var
37818
# Set to "yes" if building a shared library automatically hardcodes DIR
37819
# into the library and all subsequent libraries and executables linked
37821
hardcode_automatic=$hardcode_automatic
37823
# Set to yes if linker adds runtime paths of dependent libraries
37824
# to runtime path list.
37825
inherit_rpath=$inherit_rpath
37827
# Whether libtool must link a program against all its dependency libraries.
37828
link_all_deplibs=$link_all_deplibs
37830
# Fix the shell variable \$srcfile for the compiler.
37831
fix_srcfile_path=$lt_fix_srcfile_path
37833
# Set to "yes" if exported symbols are required.
37834
always_export_symbols=$always_export_symbols
37836
# The commands to list exported symbols.
37837
export_symbols_cmds=$lt_export_symbols_cmds
37839
# Symbols that should not be listed in the preloaded symbols.
37840
exclude_expsyms=$lt_exclude_expsyms
37842
# Symbols that must always be exported.
37843
include_expsyms=$lt_include_expsyms
37845
# Commands necessary for linking programs (against libraries) with templates.
37846
prelink_cmds=$lt_prelink_cmds
37848
# Specify filename containing input files.
37849
file_list_spec=$lt_file_list_spec
37851
# How to hardcode a shared library path into an executable.
37852
hardcode_action=$hardcode_action
37854
# The directories searched by this compiler when creating a shared library.
37855
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
37857
# Dependencies to place before and after the objects being linked to
37858
# create a shared library.
37859
predep_objects=$lt_predep_objects
37860
postdep_objects=$lt_postdep_objects
37861
predeps=$lt_predeps
37862
postdeps=$lt_postdeps
37864
# The library search path used internally by the compiler when linking
37865
# a shared library.
37866
compiler_lib_search_path=$lt_compiler_lib_search_path
37868
# ### END LIBTOOL CONFIG
37874
cat <<\_LT_EOF >> "$cfgfile"
37875
# AIX sometimes has problems with the GCC collect2 program. For some
37876
# reason, if we set the COLLECT_NAMES environment variable, the problems
37877
# vanish in a puff of smoke.
37878
if test "X${COLLECT_NAMES+set}" != Xset; then
37880
export COLLECT_NAMES
37887
ltmain="$ac_aux_dir/ltmain.sh"
37890
# We use sed instead of cat because bash on DJGPP gets confused if
37891
# if finds mixed CR/LF and LF-only lines. Since sed operates in
37892
# text mode, it properly converts lines to CR/LF. This bash problem
37893
# is reportedly fixed, but why not run on old versions too?
37894
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
37895
|| (rm -f "$cfgfile"; exit 1)
37899
cat << \_LT_EOF >> "$cfgfile"
37901
# func_dirname file append nondir_replacement
37902
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
37903
# otherwise set result to NONDIR_REPLACEMENT.
37907
*/*) func_dirname_result="${1%/*}${2}" ;;
37908
* ) func_dirname_result="${3}" ;;
37912
# func_basename file
37915
func_basename_result="${1##*/}"
37918
# func_dirname_and_basename file append nondir_replacement
37919
# perform func_basename and func_dirname in a single function
37921
# dirname: Compute the dirname of FILE. If nonempty,
37922
# add APPEND to the result, otherwise set result
37923
# to NONDIR_REPLACEMENT.
37924
# value returned in "$func_dirname_result"
37925
# basename: Compute filename of FILE.
37926
# value retuned in "$func_basename_result"
37927
# Implementation must be kept synchronized with func_dirname
37928
# and func_basename. For efficiency, we do not delegate to
37929
# those functions but instead duplicate the functionality here.
37930
func_dirname_and_basename ()
37933
*/*) func_dirname_result="${1%/*}${2}" ;;
37934
* ) func_dirname_result="${3}" ;;
37936
func_basename_result="${1##*/}"
37939
# func_stripname prefix suffix name
37940
# strip PREFIX and SUFFIX off of NAME.
37941
# PREFIX and SUFFIX must not contain globbing or regex special
37942
# characters, hashes, percent signs, but SUFFIX may contain a leading
37943
# dot (in which case that matches only a dot).
37946
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
37947
# positional parameters, so assign one to ordinary parameter first.
37948
func_stripname_result=${3}
37949
func_stripname_result=${func_stripname_result#"${1}"}
37950
func_stripname_result=${func_stripname_result%"${2}"}
37956
func_opt_split_opt=${1%%=*}
37957
func_opt_split_arg=${1#*=}
37964
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
37965
*) func_lo2o_result=${1} ;;
37969
# func_xform libobj-or-source
37972
func_xform_result=${1%.*}.lo
37975
# func_arith arithmetic-term...
37978
func_arith_result=$(( $* ))
37982
# STRING may not start with a hyphen.
37985
func_len_result=${#1}
37990
*) # Bourne compatible functions.
37991
cat << \_LT_EOF >> "$cfgfile"
37993
# func_dirname file append nondir_replacement
37994
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
37995
# otherwise set result to NONDIR_REPLACEMENT.
37998
# Extract subdirectory from the argument.
37999
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
38000
if test "X$func_dirname_result" = "X${1}"; then
38001
func_dirname_result="${3}"
38003
func_dirname_result="$func_dirname_result${2}"
38007
# func_basename file
38010
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
38014
# func_stripname prefix suffix name
38015
# strip PREFIX and SUFFIX off of NAME.
38016
# PREFIX and SUFFIX must not contain globbing or regex special
38017
# characters, hashes, percent signs, but SUFFIX may contain a leading
38018
# dot (in which case that matches only a dot).
38019
# func_strip_suffix prefix name
38023
.*) func_stripname_result=`$ECHO "X${3}" \
38024
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
38025
*) func_stripname_result=`$ECHO "X${3}" \
38026
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
38031
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
38032
my_sed_long_arg='1s/^-[^=]*=//'
38037
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
38038
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
38044
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
38047
# func_xform libobj-or-source
38050
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
38053
# func_arith arithmetic-term...
38056
func_arith_result=`expr "$@"`
38060
# STRING may not start with a hyphen.
38063
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
38069
case $lt_shell_append in
38071
cat << \_LT_EOF >> "$cfgfile"
38073
# func_append var value
38074
# Append VALUE to the end of shell variable VAR.
38082
cat << \_LT_EOF >> "$cfgfile"
38084
# func_append var value
38085
# Append VALUE to the end of shell variable VAR.
38096
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
38097
|| (rm -f "$cfgfile"; exit 1)
38099
mv -f "$cfgfile" "$ofile" ||
38100
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
38104
cat <<_LT_EOF >> "$ofile"
38106
# ### BEGIN LIBTOOL TAG CONFIG: CXX
38108
# The linker used to build libraries.
38111
# Commands used to build an old-style archive.
38112
old_archive_cmds=$lt_old_archive_cmds_CXX
38114
# A language specific compiler.
38115
CC=$lt_compiler_CXX
38117
# Is the compiler the GNU compiler?
38120
# Compiler flag to turn off builtin functions.
38121
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
38123
# How to pass a linker flag through the compiler.
38124
wl=$lt_lt_prog_compiler_wl_CXX
38126
# Additional compiler flags for building library objects.
38127
pic_flag=$lt_lt_prog_compiler_pic_CXX
38129
# Compiler flag to prevent dynamic linking.
38130
link_static_flag=$lt_lt_prog_compiler_static_CXX
38132
# Does compiler simultaneously support -c and -o options?
38133
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
38135
# Whether or not to add -lc for building shared libraries.
38136
build_libtool_need_lc=$archive_cmds_need_lc_CXX
38138
# Whether or not to disallow shared libs when runtime libs are static.
38139
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
38141
# Compiler flag to allow reflexive dlopens.
38142
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
38144
# Compiler flag to generate shared objects directly from archives.
38145
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
38147
# Whether the compiler copes with passing no objects directly.
38148
compiler_needs_object=$lt_compiler_needs_object_CXX
38150
# Create an old-style archive from a shared archive.
38151
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
38153
# Create a temporary old-style archive to link instead of a shared archive.
38154
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
38156
# Commands used to build a shared archive.
38157
archive_cmds=$lt_archive_cmds_CXX
38158
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
38160
# Commands used to build a loadable module if different from building
38161
# a shared archive.
38162
module_cmds=$lt_module_cmds_CXX
38163
module_expsym_cmds=$lt_module_expsym_cmds_CXX
38165
# Whether we are building with GNU ld or not.
38166
with_gnu_ld=$lt_with_gnu_ld_CXX
38168
# Flag that allows shared libraries with undefined symbols to be built.
38169
allow_undefined_flag=$lt_allow_undefined_flag_CXX
38171
# Flag that enforces no undefined symbols.
38172
no_undefined_flag=$lt_no_undefined_flag_CXX
38174
# Flag to hardcode \$libdir into a binary during linking.
38175
# This must work even if \$libdir does not exist
38176
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
38178
# If ld is used when linking, flag to hardcode \$libdir into a binary
38179
# during linking. This must work even if \$libdir does not exist.
38180
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
38182
# Whether we need a single "-rpath" flag with a separated argument.
38183
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
38185
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
38186
# DIR into the resulting binary.
38187
hardcode_direct=$hardcode_direct_CXX
38189
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
38190
# DIR into the resulting binary and the resulting library dependency is
38191
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
38192
# library is relocated.
38193
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
38195
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
38196
# into the resulting binary.
38197
hardcode_minus_L=$hardcode_minus_L_CXX
38199
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
38200
# into the resulting binary.
38201
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
38203
# Set to "yes" if building a shared library automatically hardcodes DIR
38204
# into the library and all subsequent libraries and executables linked
38206
hardcode_automatic=$hardcode_automatic_CXX
38208
# Set to yes if linker adds runtime paths of dependent libraries
38209
# to runtime path list.
38210
inherit_rpath=$inherit_rpath_CXX
38212
# Whether libtool must link a program against all its dependency libraries.
38213
link_all_deplibs=$link_all_deplibs_CXX
38215
# Fix the shell variable \$srcfile for the compiler.
38216
fix_srcfile_path=$lt_fix_srcfile_path_CXX
38218
# Set to "yes" if exported symbols are required.
38219
always_export_symbols=$always_export_symbols_CXX
38221
# The commands to list exported symbols.
38222
export_symbols_cmds=$lt_export_symbols_cmds_CXX
38224
# Symbols that should not be listed in the preloaded symbols.
38225
exclude_expsyms=$lt_exclude_expsyms_CXX
38227
# Symbols that must always be exported.
38228
include_expsyms=$lt_include_expsyms_CXX
38230
# Commands necessary for linking programs (against libraries) with templates.
38231
prelink_cmds=$lt_prelink_cmds_CXX
38233
# Specify filename containing input files.
38234
file_list_spec=$lt_file_list_spec_CXX
38236
# How to hardcode a shared library path into an executable.
38237
hardcode_action=$hardcode_action_CXX
38239
# The directories searched by this compiler when creating a shared library.
38240
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
38242
# Dependencies to place before and after the objects being linked to
38243
# create a shared library.
38244
predep_objects=$lt_predep_objects_CXX
38245
postdep_objects=$lt_postdep_objects_CXX
38246
predeps=$lt_predeps_CXX
38247
postdeps=$lt_postdeps_CXX
38249
# The library search path used internally by the compiler when linking
38250
# a shared library.
38251
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
38253
# ### END LIBTOOL TAG CONFIG: CXX
38257
"$srcdir/build/Makefile.win32.features":C)
38258
_config_file=$srcdir/build/Makefile.win32.features
38259
_tmp_file=cairoconf.tmp
38260
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38261
$as_echo "$as_me: creating $_config_file" >&6;}
38263
echo "$CAIRO_MAKEFILE___WIN32"
38264
} >> "$_tmp_file" ||
38265
as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38267
if cmp -s "$_tmp_file" "$_config_file"; then
38268
{ $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38269
$as_echo "$as_me: $_config_file is unchanged" >&6;}
38272
mv "$_tmp_file" "$_config_file" ||
38273
as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38276
"$srcdir/src/Makefile.am.features":C)
38277
_config_file=$srcdir/src/Makefile.am.features
38278
_tmp_file=cairoconf.tmp
38279
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38280
$as_echo "$as_me: creating $_config_file" >&6;}
38282
echo "$CAIRO_MAKEFILE_cairo_AMAKE"
38283
} >> "$_tmp_file" ||
38284
as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38286
if cmp -s "$_tmp_file" "$_config_file"; then
38287
{ $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38288
$as_echo "$as_me: $_config_file is unchanged" >&6;}
38291
mv "$_tmp_file" "$_config_file" ||
38292
as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38295
"$srcdir/src/Makefile.win32.features":C)
38296
_config_file=$srcdir/src/Makefile.win32.features
38297
_tmp_file=cairoconf.tmp
38298
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38299
$as_echo "$as_me: creating $_config_file" >&6;}
38301
echo "$CAIRO_MAKEFILE_cairo_WIN32"
38302
} >> "$_tmp_file" ||
38303
as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38305
if cmp -s "$_tmp_file" "$_config_file"; then
38306
{ $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38307
$as_echo "$as_me: $_config_file is unchanged" >&6;}
38310
mv "$_tmp_file" "$_config_file" ||
38311
as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38314
"$srcdir/boilerplate/Makefile.am.features":C)
38315
_config_file=$srcdir/boilerplate/Makefile.am.features
38316
_tmp_file=cairoconf.tmp
38317
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38318
$as_echo "$as_me: creating $_config_file" >&6;}
38320
echo "$CAIRO_MAKEFILE_cairo_boilerplate_AMAKE"
38321
} >> "$_tmp_file" ||
38322
as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38324
if cmp -s "$_tmp_file" "$_config_file"; then
38325
{ $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38326
$as_echo "$as_me: $_config_file is unchanged" >&6;}
38329
mv "$_tmp_file" "$_config_file" ||
38330
as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38333
"$srcdir/boilerplate/Makefile.win32.features":C)
38334
_config_file=$srcdir/boilerplate/Makefile.win32.features
38335
_tmp_file=cairoconf.tmp
38336
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38337
$as_echo "$as_me: creating $_config_file" >&6;}
38339
echo "$CAIRO_MAKEFILE_cairo_boilerplate_WIN32"
38340
} >> "$_tmp_file" ||
38341
as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38343
if cmp -s "$_tmp_file" "$_config_file"; then
38344
{ $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38345
$as_echo "$as_me: $_config_file is unchanged" >&6;}
38348
mv "$_tmp_file" "$_config_file" ||
38349
as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38352
"src/cairo-features.h":C)
38353
_config_file=src/cairo-features.h
38354
_tmp_file=cairoconf.tmp
38355
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38356
$as_echo "$as_me: creating $_config_file" >&6;}
38358
echo '/* Generated by configure. Do not edit. */'
38359
echo '#ifndef CAIRO_FEATURES_H'
38360
echo '#define CAIRO_FEATURES_H'
38362
for FEATURE in $CAIRO_FEATURES; do
38363
echo "#define $FEATURE 1"
38366
for FEATURE in $CAIRO_NO_FEATURES; do
38367
echo "/*#undef $FEATURE */"
38372
} >> "$_tmp_file" ||
38373
as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38375
if cmp -s "$_tmp_file" "$_config_file"; then
38376
{ $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38377
$as_echo "$as_me: $_config_file is unchanged" >&6;}
38380
mv "$_tmp_file" "$_config_file" ||
38381
as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38384
"src/cairo-supported-features.h":C)
38385
_config_file=src/cairo-supported-features.h
38386
_tmp_file=cairoconf.tmp
38387
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38388
$as_echo "$as_me: creating $_config_file" >&6;}
38390
echo '/* Generated by configure. Do not edit. */'
38391
echo '#ifndef CAIRO_SUPPORTED_FEATURES_H'
38392
echo '#define CAIRO_SUPPORTED_FEATURES_H'
38394
echo '/* This is a dummy header, to trick gtk-doc only */'
38396
for FEATURE in $CAIRO_SUPPORTED_FEATURES; do
38397
echo "#define $FEATURE 1"
38402
} >> "$_tmp_file" ||
38403
as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38405
if cmp -s "$_tmp_file" "$_config_file"; then
38406
{ $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38407
$as_echo "$as_me: $_config_file is unchanged" >&6;}
38410
mv "$_tmp_file" "$_config_file" ||
38411
as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38414
"$srcdir/build/Makefile.win32.features-h":C)
38415
_config_file=$srcdir/build/Makefile.win32.features-h
38416
_tmp_file=cairoconf.tmp
38417
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $_config_file" >&5
38418
$as_echo "$as_me: creating $_config_file" >&6;}
38420
echo "$CAIRO_MAKEFILE_win32_features_h_WIN32"
38421
} >> "$_tmp_file" ||
38422
as_fn_error $? "failed to write to $_tmp_file" "$LINENO" 5
38424
if cmp -s "$_tmp_file" "$_config_file"; then
38425
{ $as_echo "$as_me:${as_lineno-$LINENO}: $_config_file is unchanged" >&5
38426
$as_echo "$as_me: $_config_file is unchanged" >&6;}
38429
mv "$_tmp_file" "$_config_file" ||
38430
as_fn_error $? "failed to update $_config_file" "$LINENO" 5
38433
"src/cairo-xlib.pc":F) mv "src/cairo-xlib.pc" "src/cairo-xlib.pc.tmp" &&
38434
$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" ||
38435
as_fn_error $? "failed to update src/cairo-xlib.pc" "$LINENO" 5
38437
"cairo-xlib-uninstalled.pc":F) mv "cairo-xlib-uninstalled.pc" "cairo-xlib-uninstalled.pc.tmp" &&
38438
$SED " s%@FEATURE_PC@%cairo-xlib%g; s%@FEATURE_NAME@%Xlib surface backend%g; s%@FEATURE_BASE@%$xlib_BASE%g; s%@FEATURE_REQUIRES@%$xlib_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xlib_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xlib_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xlib_NONPKGCONFIG_CFLAGS%g; " < "cairo-xlib-uninstalled.pc.tmp" > "cairo-xlib-uninstalled.pc" && rm -f "cairo-xlib-uninstalled.pc.tmp" ||
38439
as_fn_error $? "failed to update cairo-xlib-uninstalled.pc" "$LINENO" 5
38441
"src/cairo-xlib-xrender.pc":F) mv "src/cairo-xlib-xrender.pc" "src/cairo-xlib-xrender.pc.tmp" &&
38442
$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" ||
38443
as_fn_error $? "failed to update src/cairo-xlib-xrender.pc" "$LINENO" 5
38445
"cairo-xlib-xrender-uninstalled.pc":F) mv "cairo-xlib-xrender-uninstalled.pc" "cairo-xlib-xrender-uninstalled.pc.tmp" &&
38446
$SED " s%@FEATURE_PC@%cairo-xlib-xrender%g; s%@FEATURE_NAME@%Xlib Xrender surface backend%g; s%@FEATURE_BASE@%$xlib_xrender_BASE%g; s%@FEATURE_REQUIRES@%$xlib_xrender_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xlib_xrender_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xlib_xrender_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xlib_xrender_NONPKGCONFIG_CFLAGS%g; " < "cairo-xlib-xrender-uninstalled.pc.tmp" > "cairo-xlib-xrender-uninstalled.pc" && rm -f "cairo-xlib-xrender-uninstalled.pc.tmp" ||
38447
as_fn_error $? "failed to update cairo-xlib-xrender-uninstalled.pc" "$LINENO" 5
38449
"src/cairo-xcb.pc":F) mv "src/cairo-xcb.pc" "src/cairo-xcb.pc.tmp" &&
38450
$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" ||
38451
as_fn_error $? "failed to update src/cairo-xcb.pc" "$LINENO" 5
38453
"cairo-xcb-uninstalled.pc":F) mv "cairo-xcb-uninstalled.pc" "cairo-xcb-uninstalled.pc.tmp" &&
38454
$SED " s%@FEATURE_PC@%cairo-xcb%g; s%@FEATURE_NAME@%XCB surface backend%g; s%@FEATURE_BASE@%$xcb_BASE%g; s%@FEATURE_REQUIRES@%$xcb_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xcb_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xcb_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xcb_NONPKGCONFIG_CFLAGS%g; " < "cairo-xcb-uninstalled.pc.tmp" > "cairo-xcb-uninstalled.pc" && rm -f "cairo-xcb-uninstalled.pc.tmp" ||
38455
as_fn_error $? "failed to update cairo-xcb-uninstalled.pc" "$LINENO" 5
38457
"src/cairo-xlib-xcb.pc":F) mv "src/cairo-xlib-xcb.pc" "src/cairo-xlib-xcb.pc.tmp" &&
38458
$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" ||
38459
as_fn_error $? "failed to update src/cairo-xlib-xcb.pc" "$LINENO" 5
38461
"cairo-xlib-xcb-uninstalled.pc":F) mv "cairo-xlib-xcb-uninstalled.pc" "cairo-xlib-xcb-uninstalled.pc.tmp" &&
38462
$SED " s%@FEATURE_PC@%cairo-xlib-xcb%g; s%@FEATURE_NAME@%Xlib/XCB functions%g; s%@FEATURE_BASE@%$xlib_xcb_BASE%g; s%@FEATURE_REQUIRES@%$xlib_xcb_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xlib_xcb_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xlib_xcb_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xlib_xcb_NONPKGCONFIG_CFLAGS%g; " < "cairo-xlib-xcb-uninstalled.pc.tmp" > "cairo-xlib-xcb-uninstalled.pc" && rm -f "cairo-xlib-xcb-uninstalled.pc.tmp" ||
38463
as_fn_error $? "failed to update cairo-xlib-xcb-uninstalled.pc" "$LINENO" 5
38465
"src/cairo-xcb-shm.pc":F) mv "src/cairo-xcb-shm.pc" "src/cairo-xcb-shm.pc.tmp" &&
38466
$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" ||
38467
as_fn_error $? "failed to update src/cairo-xcb-shm.pc" "$LINENO" 5
38469
"cairo-xcb-shm-uninstalled.pc":F) mv "cairo-xcb-shm-uninstalled.pc" "cairo-xcb-shm-uninstalled.pc.tmp" &&
38470
$SED " s%@FEATURE_PC@%cairo-xcb-shm%g; s%@FEATURE_NAME@%XCB/SHM functions%g; s%@FEATURE_BASE@%$xcb_shm_BASE%g; s%@FEATURE_REQUIRES@%$xcb_shm_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xcb_shm_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xcb_shm_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xcb_shm_NONPKGCONFIG_CFLAGS%g; " < "cairo-xcb-shm-uninstalled.pc.tmp" > "cairo-xcb-shm-uninstalled.pc" && rm -f "cairo-xcb-shm-uninstalled.pc.tmp" ||
38471
as_fn_error $? "failed to update cairo-xcb-shm-uninstalled.pc" "$LINENO" 5
38473
"src/cairo-qt.pc":F) mv "src/cairo-qt.pc" "src/cairo-qt.pc.tmp" &&
38474
$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" ||
38475
as_fn_error $? "failed to update src/cairo-qt.pc" "$LINENO" 5
38477
"cairo-qt-uninstalled.pc":F) mv "cairo-qt-uninstalled.pc" "cairo-qt-uninstalled.pc.tmp" &&
38478
$SED " s%@FEATURE_PC@%cairo-qt%g; s%@FEATURE_NAME@%Qt surface backend%g; s%@FEATURE_BASE@%$qt_BASE%g; s%@FEATURE_REQUIRES@%$qt_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$qt_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$qt_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$qt_NONPKGCONFIG_CFLAGS%g; " < "cairo-qt-uninstalled.pc.tmp" > "cairo-qt-uninstalled.pc" && rm -f "cairo-qt-uninstalled.pc.tmp" ||
38479
as_fn_error $? "failed to update cairo-qt-uninstalled.pc" "$LINENO" 5
38481
"src/cairo-quartz.pc":F) mv "src/cairo-quartz.pc" "src/cairo-quartz.pc.tmp" &&
38482
$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" ||
38483
as_fn_error $? "failed to update src/cairo-quartz.pc" "$LINENO" 5
38485
"cairo-quartz-uninstalled.pc":F) mv "cairo-quartz-uninstalled.pc" "cairo-quartz-uninstalled.pc.tmp" &&
38486
$SED " s%@FEATURE_PC@%cairo-quartz%g; s%@FEATURE_NAME@%Quartz surface backend%g; s%@FEATURE_BASE@%$quartz_BASE%g; s%@FEATURE_REQUIRES@%$quartz_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$quartz_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$quartz_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$quartz_NONPKGCONFIG_CFLAGS%g; " < "cairo-quartz-uninstalled.pc.tmp" > "cairo-quartz-uninstalled.pc" && rm -f "cairo-quartz-uninstalled.pc.tmp" ||
38487
as_fn_error $? "failed to update cairo-quartz-uninstalled.pc" "$LINENO" 5
38489
"src/cairo-quartz-font.pc":F) mv "src/cairo-quartz-font.pc" "src/cairo-quartz-font.pc.tmp" &&
38490
$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" ||
38491
as_fn_error $? "failed to update src/cairo-quartz-font.pc" "$LINENO" 5
38493
"cairo-quartz-font-uninstalled.pc":F) mv "cairo-quartz-font-uninstalled.pc" "cairo-quartz-font-uninstalled.pc.tmp" &&
38494
$SED " s%@FEATURE_PC@%cairo-quartz-font%g; s%@FEATURE_NAME@%Quartz font backend%g; s%@FEATURE_BASE@%$quartz_font_BASE%g; s%@FEATURE_REQUIRES@%$quartz_font_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$quartz_font_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$quartz_font_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$quartz_font_NONPKGCONFIG_CFLAGS%g; " < "cairo-quartz-font-uninstalled.pc.tmp" > "cairo-quartz-font-uninstalled.pc" && rm -f "cairo-quartz-font-uninstalled.pc.tmp" ||
38495
as_fn_error $? "failed to update cairo-quartz-font-uninstalled.pc" "$LINENO" 5
38497
"src/cairo-quartz-image.pc":F) mv "src/cairo-quartz-image.pc" "src/cairo-quartz-image.pc.tmp" &&
38498
$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" ||
38499
as_fn_error $? "failed to update src/cairo-quartz-image.pc" "$LINENO" 5
38501
"cairo-quartz-image-uninstalled.pc":F) mv "cairo-quartz-image-uninstalled.pc" "cairo-quartz-image-uninstalled.pc.tmp" &&
38502
$SED " s%@FEATURE_PC@%cairo-quartz-image%g; s%@FEATURE_NAME@%Quartz Image surface backend%g; s%@FEATURE_BASE@%$quartz_image_BASE%g; s%@FEATURE_REQUIRES@%$quartz_image_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$quartz_image_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$quartz_image_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$quartz_image_NONPKGCONFIG_CFLAGS%g; " < "cairo-quartz-image-uninstalled.pc.tmp" > "cairo-quartz-image-uninstalled.pc" && rm -f "cairo-quartz-image-uninstalled.pc.tmp" ||
38503
as_fn_error $? "failed to update cairo-quartz-image-uninstalled.pc" "$LINENO" 5
38505
"src/cairo-win32.pc":F) mv "src/cairo-win32.pc" "src/cairo-win32.pc.tmp" &&
38506
$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" ||
38507
as_fn_error $? "failed to update src/cairo-win32.pc" "$LINENO" 5
38509
"cairo-win32-uninstalled.pc":F) mv "cairo-win32-uninstalled.pc" "cairo-win32-uninstalled.pc.tmp" &&
38510
$SED " s%@FEATURE_PC@%cairo-win32%g; s%@FEATURE_NAME@%Microsoft Windows surface backend%g; s%@FEATURE_BASE@%$win32_BASE%g; s%@FEATURE_REQUIRES@%$win32_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$win32_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$win32_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$win32_NONPKGCONFIG_CFLAGS%g; " < "cairo-win32-uninstalled.pc.tmp" > "cairo-win32-uninstalled.pc" && rm -f "cairo-win32-uninstalled.pc.tmp" ||
38511
as_fn_error $? "failed to update cairo-win32-uninstalled.pc" "$LINENO" 5
38513
"src/cairo-win32-font.pc":F) mv "src/cairo-win32-font.pc" "src/cairo-win32-font.pc.tmp" &&
38514
$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" ||
38515
as_fn_error $? "failed to update src/cairo-win32-font.pc" "$LINENO" 5
38517
"cairo-win32-font-uninstalled.pc":F) mv "cairo-win32-font-uninstalled.pc" "cairo-win32-font-uninstalled.pc.tmp" &&
38518
$SED " s%@FEATURE_PC@%cairo-win32-font%g; s%@FEATURE_NAME@%Microsoft Windows font backend%g; s%@FEATURE_BASE@%$win32_font_BASE%g; s%@FEATURE_REQUIRES@%$win32_font_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$win32_font_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$win32_font_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$win32_font_NONPKGCONFIG_CFLAGS%g; " < "cairo-win32-font-uninstalled.pc.tmp" > "cairo-win32-font-uninstalled.pc" && rm -f "cairo-win32-font-uninstalled.pc.tmp" ||
38519
as_fn_error $? "failed to update cairo-win32-font-uninstalled.pc" "$LINENO" 5
38521
"src/cairo-skia.pc":F) mv "src/cairo-skia.pc" "src/cairo-skia.pc.tmp" &&
38522
$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" ||
38523
as_fn_error $? "failed to update src/cairo-skia.pc" "$LINENO" 5
38525
"cairo-skia-uninstalled.pc":F) mv "cairo-skia-uninstalled.pc" "cairo-skia-uninstalled.pc.tmp" &&
38526
$SED " s%@FEATURE_PC@%cairo-skia%g; s%@FEATURE_NAME@%Skia surface backend%g; s%@FEATURE_BASE@%$skia_BASE%g; s%@FEATURE_REQUIRES@%$skia_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$skia_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$skia_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$skia_NONPKGCONFIG_CFLAGS%g; " < "cairo-skia-uninstalled.pc.tmp" > "cairo-skia-uninstalled.pc" && rm -f "cairo-skia-uninstalled.pc.tmp" ||
38527
as_fn_error $? "failed to update cairo-skia-uninstalled.pc" "$LINENO" 5
38529
"src/cairo-os2.pc":F) mv "src/cairo-os2.pc" "src/cairo-os2.pc.tmp" &&
38530
$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" ||
38531
as_fn_error $? "failed to update src/cairo-os2.pc" "$LINENO" 5
38533
"cairo-os2-uninstalled.pc":F) mv "cairo-os2-uninstalled.pc" "cairo-os2-uninstalled.pc.tmp" &&
38534
$SED " s%@FEATURE_PC@%cairo-os2%g; s%@FEATURE_NAME@%OS/2 surface backend%g; s%@FEATURE_BASE@%$os2_BASE%g; s%@FEATURE_REQUIRES@%$os2_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$os2_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$os2_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$os2_NONPKGCONFIG_CFLAGS%g; " < "cairo-os2-uninstalled.pc.tmp" > "cairo-os2-uninstalled.pc" && rm -f "cairo-os2-uninstalled.pc.tmp" ||
38535
as_fn_error $? "failed to update cairo-os2-uninstalled.pc" "$LINENO" 5
38537
"src/cairo-beos.pc":F) mv "src/cairo-beos.pc" "src/cairo-beos.pc.tmp" &&
38538
$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" ||
38539
as_fn_error $? "failed to update src/cairo-beos.pc" "$LINENO" 5
38541
"cairo-beos-uninstalled.pc":F) mv "cairo-beos-uninstalled.pc" "cairo-beos-uninstalled.pc.tmp" &&
38542
$SED " s%@FEATURE_PC@%cairo-beos%g; s%@FEATURE_NAME@%BeOS/Zeta surface backend%g; s%@FEATURE_BASE@%$beos_BASE%g; s%@FEATURE_REQUIRES@%$beos_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$beos_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$beos_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$beos_NONPKGCONFIG_CFLAGS%g; " < "cairo-beos-uninstalled.pc.tmp" > "cairo-beos-uninstalled.pc" && rm -f "cairo-beos-uninstalled.pc.tmp" ||
38543
as_fn_error $? "failed to update cairo-beos-uninstalled.pc" "$LINENO" 5
38545
"src/cairo-drm.pc":F) mv "src/cairo-drm.pc" "src/cairo-drm.pc.tmp" &&
38546
$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" ||
38547
as_fn_error $? "failed to update src/cairo-drm.pc" "$LINENO" 5
38549
"cairo-drm-uninstalled.pc":F) mv "cairo-drm-uninstalled.pc" "cairo-drm-uninstalled.pc.tmp" &&
38550
$SED " s%@FEATURE_PC@%cairo-drm%g; s%@FEATURE_NAME@%DRM surface backend%g; s%@FEATURE_BASE@%$drm_BASE%g; s%@FEATURE_REQUIRES@%$drm_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$drm_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$drm_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$drm_NONPKGCONFIG_CFLAGS%g; " < "cairo-drm-uninstalled.pc.tmp" > "cairo-drm-uninstalled.pc" && rm -f "cairo-drm-uninstalled.pc.tmp" ||
38551
as_fn_error $? "failed to update cairo-drm-uninstalled.pc" "$LINENO" 5
38553
"src/cairo-drm-xr.pc":F) mv "src/cairo-drm-xr.pc" "src/cairo-drm-xr.pc.tmp" &&
38554
$SED " s%@FEATURE_PC@%cairo-drm-xr%g; s%@FEATURE_NAME@%DRM Xr (DDX) functions%g; s%@FEATURE_BASE@%$drm_xr_BASE%g; s%@FEATURE_REQUIRES@%$drm_xr_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$drm_xr_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$drm_xr_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$drm_xr_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-drm-xr.pc.tmp" > "src/cairo-drm-xr.pc" && rm -f "src/cairo-drm-xr.pc.tmp" ||
38555
as_fn_error $? "failed to update src/cairo-drm-xr.pc" "$LINENO" 5
38557
"cairo-drm-xr-uninstalled.pc":F) mv "cairo-drm-xr-uninstalled.pc" "cairo-drm-xr-uninstalled.pc.tmp" &&
38558
$SED " s%@FEATURE_PC@%cairo-drm-xr%g; s%@FEATURE_NAME@%DRM Xr (DDX) functions%g; s%@FEATURE_BASE@%$drm_xr_BASE%g; s%@FEATURE_REQUIRES@%$drm_xr_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$drm_xr_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$drm_xr_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$drm_xr_NONPKGCONFIG_CFLAGS%g; " < "cairo-drm-xr-uninstalled.pc.tmp" > "cairo-drm-xr-uninstalled.pc" && rm -f "cairo-drm-xr-uninstalled.pc.tmp" ||
38559
as_fn_error $? "failed to update cairo-drm-xr-uninstalled.pc" "$LINENO" 5
38561
"src/cairo-gallium.pc":F) mv "src/cairo-gallium.pc" "src/cairo-gallium.pc.tmp" &&
38562
$SED " s%@FEATURE_PC@%cairo-gallium%g; s%@FEATURE_NAME@%Gallium3D surface backend%g; s%@FEATURE_BASE@%$gallium_BASE%g; s%@FEATURE_REQUIRES@%$gallium_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$gallium_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$gallium_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$gallium_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-gallium.pc.tmp" > "src/cairo-gallium.pc" && rm -f "src/cairo-gallium.pc.tmp" ||
38563
as_fn_error $? "failed to update src/cairo-gallium.pc" "$LINENO" 5
38565
"cairo-gallium-uninstalled.pc":F) mv "cairo-gallium-uninstalled.pc" "cairo-gallium-uninstalled.pc.tmp" &&
38566
$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" ||
38567
as_fn_error $? "failed to update cairo-gallium-uninstalled.pc" "$LINENO" 5
38569
"src/cairo-xcb-drm.pc":F) mv "src/cairo-xcb-drm.pc" "src/cairo-xcb-drm.pc.tmp" &&
38570
$SED " s%@FEATURE_PC@%cairo-xcb-drm%g; s%@FEATURE_NAME@%XCB/DRM functions%g; s%@FEATURE_BASE@%$xcb_drm_BASE%g; s%@FEATURE_REQUIRES@%$xcb_drm_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xcb_drm_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xcb_drm_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xcb_drm_NONPKGCONFIG_CFLAGS%g; " < "src/cairo-xcb-drm.pc.tmp" > "src/cairo-xcb-drm.pc" && rm -f "src/cairo-xcb-drm.pc.tmp" ||
38571
as_fn_error $? "failed to update src/cairo-xcb-drm.pc" "$LINENO" 5
38573
"cairo-xcb-drm-uninstalled.pc":F) mv "cairo-xcb-drm-uninstalled.pc" "cairo-xcb-drm-uninstalled.pc.tmp" &&
38574
$SED " s%@FEATURE_PC@%cairo-xcb-drm%g; s%@FEATURE_NAME@%XCB/DRM functions%g; s%@FEATURE_BASE@%$xcb_drm_BASE%g; s%@FEATURE_REQUIRES@%$xcb_drm_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xcb_drm_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xcb_drm_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xcb_drm_NONPKGCONFIG_CFLAGS%g; " < "cairo-xcb-drm-uninstalled.pc.tmp" > "cairo-xcb-drm-uninstalled.pc" && rm -f "cairo-xcb-drm-uninstalled.pc.tmp" ||
38575
as_fn_error $? "failed to update cairo-xcb-drm-uninstalled.pc" "$LINENO" 5
38577
"src/cairo-png.pc":F) mv "src/cairo-png.pc" "src/cairo-png.pc.tmp" &&
38578
$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" ||
38579
as_fn_error $? "failed to update src/cairo-png.pc" "$LINENO" 5
38581
"cairo-png-uninstalled.pc":F) mv "cairo-png-uninstalled.pc" "cairo-png-uninstalled.pc.tmp" &&
38582
$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" ||
38583
as_fn_error $? "failed to update cairo-png-uninstalled.pc" "$LINENO" 5
38585
"src/cairo-gl.pc":F) mv "src/cairo-gl.pc" "src/cairo-gl.pc.tmp" &&
38586
$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" ||
38587
as_fn_error $? "failed to update src/cairo-gl.pc" "$LINENO" 5
38589
"cairo-gl-uninstalled.pc":F) mv "cairo-gl-uninstalled.pc" "cairo-gl-uninstalled.pc.tmp" &&
38590
$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" ||
38591
as_fn_error $? "failed to update cairo-gl-uninstalled.pc" "$LINENO" 5
38593
"src/cairo-directfb.pc":F) mv "src/cairo-directfb.pc" "src/cairo-directfb.pc.tmp" &&
38594
$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" ||
38595
as_fn_error $? "failed to update src/cairo-directfb.pc" "$LINENO" 5
38597
"cairo-directfb-uninstalled.pc":F) mv "cairo-directfb-uninstalled.pc" "cairo-directfb-uninstalled.pc.tmp" &&
38598
$SED " s%@FEATURE_PC@%cairo-directfb%g; s%@FEATURE_NAME@%directfb surface backend%g; s%@FEATURE_BASE@%$directfb_BASE%g; s%@FEATURE_REQUIRES@%$directfb_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$directfb_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$directfb_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$directfb_NONPKGCONFIG_CFLAGS%g; " < "cairo-directfb-uninstalled.pc.tmp" > "cairo-directfb-uninstalled.pc" && rm -f "cairo-directfb-uninstalled.pc.tmp" ||
38599
as_fn_error $? "failed to update cairo-directfb-uninstalled.pc" "$LINENO" 5
38601
"src/cairo-vg.pc":F) mv "src/cairo-vg.pc" "src/cairo-vg.pc.tmp" &&
38602
$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" ||
38603
as_fn_error $? "failed to update src/cairo-vg.pc" "$LINENO" 5
38605
"cairo-vg-uninstalled.pc":F) mv "cairo-vg-uninstalled.pc" "cairo-vg-uninstalled.pc.tmp" &&
38606
$SED " s%@FEATURE_PC@%cairo-vg%g; s%@FEATURE_NAME@%OpenVG surface backend%g; s%@FEATURE_BASE@%$vg_BASE%g; s%@FEATURE_REQUIRES@%$vg_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$vg_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$vg_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$vg_NONPKGCONFIG_CFLAGS%g; " < "cairo-vg-uninstalled.pc.tmp" > "cairo-vg-uninstalled.pc" && rm -f "cairo-vg-uninstalled.pc.tmp" ||
38607
as_fn_error $? "failed to update cairo-vg-uninstalled.pc" "$LINENO" 5
38609
"src/cairo-egl.pc":F) mv "src/cairo-egl.pc" "src/cairo-egl.pc.tmp" &&
38610
$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" ||
38611
as_fn_error $? "failed to update src/cairo-egl.pc" "$LINENO" 5
38613
"cairo-egl-uninstalled.pc":F) mv "cairo-egl-uninstalled.pc" "cairo-egl-uninstalled.pc.tmp" &&
38614
$SED " s%@FEATURE_PC@%cairo-egl%g; s%@FEATURE_NAME@%EGL functions%g; s%@FEATURE_BASE@%$egl_BASE%g; s%@FEATURE_REQUIRES@%$egl_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$egl_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$egl_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$egl_NONPKGCONFIG_CFLAGS%g; " < "cairo-egl-uninstalled.pc.tmp" > "cairo-egl-uninstalled.pc" && rm -f "cairo-egl-uninstalled.pc.tmp" ||
38615
as_fn_error $? "failed to update cairo-egl-uninstalled.pc" "$LINENO" 5
38617
"src/cairo-glx.pc":F) mv "src/cairo-glx.pc" "src/cairo-glx.pc.tmp" &&
38618
$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" ||
38619
as_fn_error $? "failed to update src/cairo-glx.pc" "$LINENO" 5
38621
"cairo-glx-uninstalled.pc":F) mv "cairo-glx-uninstalled.pc" "cairo-glx-uninstalled.pc.tmp" &&
38622
$SED " s%@FEATURE_PC@%cairo-glx%g; s%@FEATURE_NAME@%GLX functions%g; s%@FEATURE_BASE@%$glx_BASE%g; s%@FEATURE_REQUIRES@%$glx_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$glx_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$glx_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$glx_NONPKGCONFIG_CFLAGS%g; " < "cairo-glx-uninstalled.pc.tmp" > "cairo-glx-uninstalled.pc" && rm -f "cairo-glx-uninstalled.pc.tmp" ||
38623
as_fn_error $? "failed to update cairo-glx-uninstalled.pc" "$LINENO" 5
38625
"src/cairo-wgl.pc":F) mv "src/cairo-wgl.pc" "src/cairo-wgl.pc.tmp" &&
38626
$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" ||
38627
as_fn_error $? "failed to update src/cairo-wgl.pc" "$LINENO" 5
38629
"cairo-wgl-uninstalled.pc":F) mv "cairo-wgl-uninstalled.pc" "cairo-wgl-uninstalled.pc.tmp" &&
38630
$SED " s%@FEATURE_PC@%cairo-wgl%g; s%@FEATURE_NAME@%WGL functions%g; s%@FEATURE_BASE@%$wgl_BASE%g; s%@FEATURE_REQUIRES@%$wgl_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$wgl_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$wgl_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$wgl_NONPKGCONFIG_CFLAGS%g; " < "cairo-wgl-uninstalled.pc.tmp" > "cairo-wgl-uninstalled.pc" && rm -f "cairo-wgl-uninstalled.pc.tmp" ||
38631
as_fn_error $? "failed to update cairo-wgl-uninstalled.pc" "$LINENO" 5
38633
"src/cairo-script.pc":F) mv "src/cairo-script.pc" "src/cairo-script.pc.tmp" &&
38634
$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" ||
38635
as_fn_error $? "failed to update src/cairo-script.pc" "$LINENO" 5
38637
"cairo-script-uninstalled.pc":F) mv "cairo-script-uninstalled.pc" "cairo-script-uninstalled.pc.tmp" &&
38638
$SED " s%@FEATURE_PC@%cairo-script%g; s%@FEATURE_NAME@%script surface backend%g; s%@FEATURE_BASE@%$script_BASE%g; s%@FEATURE_REQUIRES@%$script_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$script_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$script_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$script_NONPKGCONFIG_CFLAGS%g; " < "cairo-script-uninstalled.pc.tmp" > "cairo-script-uninstalled.pc" && rm -f "cairo-script-uninstalled.pc.tmp" ||
38639
as_fn_error $? "failed to update cairo-script-uninstalled.pc" "$LINENO" 5
38641
"src/cairo-ft.pc":F) mv "src/cairo-ft.pc" "src/cairo-ft.pc.tmp" &&
38642
$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" ||
38643
as_fn_error $? "failed to update src/cairo-ft.pc" "$LINENO" 5
38645
"cairo-ft-uninstalled.pc":F) mv "cairo-ft-uninstalled.pc" "cairo-ft-uninstalled.pc.tmp" &&
38646
$SED " s%@FEATURE_PC@%cairo-ft%g; s%@FEATURE_NAME@%FreeType font backend%g; s%@FEATURE_BASE@%$ft_BASE%g; s%@FEATURE_REQUIRES@%$ft_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$ft_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$ft_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$ft_NONPKGCONFIG_CFLAGS%g; " < "cairo-ft-uninstalled.pc.tmp" > "cairo-ft-uninstalled.pc" && rm -f "cairo-ft-uninstalled.pc.tmp" ||
38647
as_fn_error $? "failed to update cairo-ft-uninstalled.pc" "$LINENO" 5
38649
"src/cairo-fc.pc":F) mv "src/cairo-fc.pc" "src/cairo-fc.pc.tmp" &&
38650
$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" ||
38651
as_fn_error $? "failed to update src/cairo-fc.pc" "$LINENO" 5
38653
"cairo-fc-uninstalled.pc":F) mv "cairo-fc-uninstalled.pc" "cairo-fc-uninstalled.pc.tmp" &&
38654
$SED " s%@FEATURE_PC@%cairo-fc%g; s%@FEATURE_NAME@%Fontconfig font backend%g; s%@FEATURE_BASE@%$fc_BASE%g; s%@FEATURE_REQUIRES@%$fc_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$fc_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$fc_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$fc_NONPKGCONFIG_CFLAGS%g; " < "cairo-fc-uninstalled.pc.tmp" > "cairo-fc-uninstalled.pc" && rm -f "cairo-fc-uninstalled.pc.tmp" ||
38655
as_fn_error $? "failed to update cairo-fc-uninstalled.pc" "$LINENO" 5
38657
"src/cairo-ps.pc":F) mv "src/cairo-ps.pc" "src/cairo-ps.pc.tmp" &&
38658
$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" ||
38659
as_fn_error $? "failed to update src/cairo-ps.pc" "$LINENO" 5
38661
"cairo-ps-uninstalled.pc":F) mv "cairo-ps-uninstalled.pc" "cairo-ps-uninstalled.pc.tmp" &&
38662
$SED " s%@FEATURE_PC@%cairo-ps%g; s%@FEATURE_NAME@%PostScript surface backend%g; s%@FEATURE_BASE@%$ps_BASE%g; s%@FEATURE_REQUIRES@%$ps_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$ps_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$ps_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$ps_NONPKGCONFIG_CFLAGS%g; " < "cairo-ps-uninstalled.pc.tmp" > "cairo-ps-uninstalled.pc" && rm -f "cairo-ps-uninstalled.pc.tmp" ||
38663
as_fn_error $? "failed to update cairo-ps-uninstalled.pc" "$LINENO" 5
38665
"src/cairo-pdf.pc":F) mv "src/cairo-pdf.pc" "src/cairo-pdf.pc.tmp" &&
38666
$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" ||
38667
as_fn_error $? "failed to update src/cairo-pdf.pc" "$LINENO" 5
38669
"cairo-pdf-uninstalled.pc":F) mv "cairo-pdf-uninstalled.pc" "cairo-pdf-uninstalled.pc.tmp" &&
38670
$SED " s%@FEATURE_PC@%cairo-pdf%g; s%@FEATURE_NAME@%PDF surface backend%g; s%@FEATURE_BASE@%$pdf_BASE%g; s%@FEATURE_REQUIRES@%$pdf_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$pdf_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$pdf_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$pdf_NONPKGCONFIG_CFLAGS%g; " < "cairo-pdf-uninstalled.pc.tmp" > "cairo-pdf-uninstalled.pc" && rm -f "cairo-pdf-uninstalled.pc.tmp" ||
38671
as_fn_error $? "failed to update cairo-pdf-uninstalled.pc" "$LINENO" 5
38673
"src/cairo-svg.pc":F) mv "src/cairo-svg.pc" "src/cairo-svg.pc.tmp" &&
38674
$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" ||
38675
as_fn_error $? "failed to update src/cairo-svg.pc" "$LINENO" 5
38677
"cairo-svg-uninstalled.pc":F) mv "cairo-svg-uninstalled.pc" "cairo-svg-uninstalled.pc.tmp" &&
38678
$SED " s%@FEATURE_PC@%cairo-svg%g; s%@FEATURE_NAME@%SVG surface backend%g; s%@FEATURE_BASE@%$svg_BASE%g; s%@FEATURE_REQUIRES@%$svg_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$svg_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$svg_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$svg_NONPKGCONFIG_CFLAGS%g; " < "cairo-svg-uninstalled.pc.tmp" > "cairo-svg-uninstalled.pc" && rm -f "cairo-svg-uninstalled.pc.tmp" ||
38679
as_fn_error $? "failed to update cairo-svg-uninstalled.pc" "$LINENO" 5
38681
"src/cairo-tee.pc":F) mv "src/cairo-tee.pc" "src/cairo-tee.pc.tmp" &&
38682
$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" ||
38683
as_fn_error $? "failed to update src/cairo-tee.pc" "$LINENO" 5
38685
"cairo-tee-uninstalled.pc":F) mv "cairo-tee-uninstalled.pc" "cairo-tee-uninstalled.pc.tmp" &&
38686
$SED " s%@FEATURE_PC@%cairo-tee%g; s%@FEATURE_NAME@%tee surface backend%g; s%@FEATURE_BASE@%$tee_BASE%g; s%@FEATURE_REQUIRES@%$tee_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$tee_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$tee_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$tee_NONPKGCONFIG_CFLAGS%g; " < "cairo-tee-uninstalled.pc.tmp" > "cairo-tee-uninstalled.pc" && rm -f "cairo-tee-uninstalled.pc.tmp" ||
38687
as_fn_error $? "failed to update cairo-tee-uninstalled.pc" "$LINENO" 5
38689
"src/cairo-xml.pc":F) mv "src/cairo-xml.pc" "src/cairo-xml.pc.tmp" &&
38690
$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" ||
38691
as_fn_error $? "failed to update src/cairo-xml.pc" "$LINENO" 5
38693
"cairo-xml-uninstalled.pc":F) mv "cairo-xml-uninstalled.pc" "cairo-xml-uninstalled.pc.tmp" &&
38694
$SED " s%@FEATURE_PC@%cairo-xml%g; s%@FEATURE_NAME@%xml surface backend%g; s%@FEATURE_BASE@%$xml_BASE%g; s%@FEATURE_REQUIRES@%$xml_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$xml_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$xml_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$xml_NONPKGCONFIG_CFLAGS%g; " < "cairo-xml-uninstalled.pc.tmp" > "cairo-xml-uninstalled.pc" && rm -f "cairo-xml-uninstalled.pc.tmp" ||
38695
as_fn_error $? "failed to update cairo-xml-uninstalled.pc" "$LINENO" 5
38697
"src/cairo-gobject.pc":F) mv "src/cairo-gobject.pc" "src/cairo-gobject.pc.tmp" &&
38698
$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" ||
38699
as_fn_error $? "failed to update src/cairo-gobject.pc" "$LINENO" 5
38701
"cairo-gobject-uninstalled.pc":F) mv "cairo-gobject-uninstalled.pc" "cairo-gobject-uninstalled.pc.tmp" &&
38702
$SED " s%@FEATURE_PC@%cairo-gobject%g; s%@FEATURE_NAME@%gobject functions%g; s%@FEATURE_BASE@%$gobject_BASE%g; s%@FEATURE_REQUIRES@%$gobject_REQUIRES%g; s%@FEATURE_NONPKGCONFIG_LIBS@%$gobject_NONPKGCONFIG_LIBS%g; s%@FEATURE_NONPKGCONFIG_EXTRA_LIBS@%$gobject_NONPKGCONFIG_EXTRA_LIBS%g; s%@FEATURE_NONPKGCONFIG_CFLAGS@%$gobject_NONPKGCONFIG_CFLAGS%g; " < "cairo-gobject-uninstalled.pc.tmp" > "cairo-gobject-uninstalled.pc" && rm -f "cairo-gobject-uninstalled.pc.tmp" ||
38703
as_fn_error $? "failed to update cairo-gobject-uninstalled.pc" "$LINENO" 5
38712
ac_clean_files=$ac_clean_files_save
38714
test $ac_write_fail = 0 ||
38715
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
38718
# configure is writing to config.log, and then calls config.status.
38719
# config.status does its own redirection, appending to config.log.
38720
# Unfortunately, on DOS this fails, as config.log is still kept open
38721
# by configure, so config.status won't be able to write to it; its
38722
# output is simply discarded. So we exec the FD to /dev/null,
38723
# effectively closing config.log, so it can be properly (re)opened and
38724
# appended to by config.status. When coming back to configure, we
38725
# need to make the FD available again.
38726
if test "$no_create" != yes; then
38728
ac_config_status_args=
38729
test "$silent" = yes &&
38730
ac_config_status_args="$ac_config_status_args --quiet"
38732
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
38734
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
38735
# would make configure fail if this is the last instruction.
38736
$ac_cs_success || as_fn_exit 1
38738
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
38739
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
38740
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
38743
V="$CAIRO_VERSION_MAJOR.$CAIRO_VERSION_MINOR.$CAIRO_VERSION_MICRO"
38745
echo "cairo (version $V [$CAIRO_RELEASE_STATUS]) will be compiled with:"
38747
echo "The following surface backends:"
38748
echo " Image: yes (always builtin)"
38749
echo " Recording: yes (always builtin)"
38750
echo " Tee: $use_tee"
38751
echo " XML: $use_xml"
38752
echo " Skia: $use_skia"
38753
echo " Xlib: $use_xlib"
38754
echo " Xlib Xrender: $use_xlib_xrender"
38755
echo " Qt: $use_qt"
38756
echo " Quartz: $use_quartz"
38757
echo " Quartz-image: $use_quartz_image"
38758
echo " XCB: $use_xcb"
38759
echo " Win32: $use_win32"
38760
echo " OS2: $use_os2"
38761
echo " CairoScript: $use_script"
38762
echo " PostScript: $use_ps"
38763
echo " PDF: $use_pdf"
38764
echo " SVG: $use_svg"
38765
echo " OpenGL: $use_gl"
38766
echo " BeOS: $use_beos"
38767
echo " DirectFB: $use_directfb"
38768
echo " OpenVG: $use_vg"
38769
echo " DRM: $use_drm"
38771
echo "The following font backends:"
38772
echo " User: yes (always builtin)"
38773
echo " FreeType: $use_ft"
38774
echo " Fontconfig: $use_fc"
38775
echo " Win32: $use_win32_font"
38776
echo " Quartz: $use_quartz_font"
38778
echo "The following functions:"
38779
echo " PNG functions: $use_png"
38780
echo " GLEW functions: $use_glew"
38781
echo " GLX functions: $use_glx"
38782
echo " WGL functions: $use_wgl"
38783
echo " EGL functions: $use_egl"
38784
echo " X11-xcb functions: $use_xlib_xcb"
38785
echo " XCB-drm functions: $use_xcb_drm"
38786
echo " XCB-shm functions: $use_xcb_shm"
38787
echo " DRM-Xr functions: $use_drm_xr"
38789
echo "The following features and utilities:"
38790
echo " cairo-trace: $use_trace"
38791
echo " cairo-script-interpreter: $use_interpreter"
38793
echo "And the following internal features:"
38794
echo " pthread: $use_pthread"
38795
echo " gtk-doc: $enable_gtk_doc"
38796
echo " gcov support: $use_gcov"
38797
echo " symbol-lookup: $use_symbol_lookup"
38798
echo " test surfaces: $use_test_surfaces"
38799
echo " ps testing: $test_ps"
38800
echo " pdf testing: $test_pdf"
38801
echo " svg testing: $test_svg"
38802
if test x"$use_win32" = "xyes"; then
38803
echo " win32 printing testing: $test_win32_printing"
38805
echo "$CAIRO_WARNING_MESSAGE"