beta-0.89.2
[luatex.git] / source / libs / cairo / configure
blob38af7a522ebcc7064ce21ecbe48657ef98483809
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for cairo (TeX Live) 1.14.6.
5 # Report bugs to <tex-k@tug.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
273 $0: have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='cairo (TeX Live)'
582 PACKAGE_TARNAME='cairo--tex-live-'
583 PACKAGE_VERSION='1.14.6'
584 PACKAGE_STRING='cairo (TeX Live) 1.14.6'
585 PACKAGE_BUGREPORT='tex-k@tug.org'
586 PACKAGE_URL=''
588 ac_unique_file="cairo-src/src/cairo.h"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='am__EXEEXT_FALSE
626 am__EXEEXT_TRUE
627 LTLIBOBJS
628 LIBOBJS
629 CAIRO_TREE
630 PIXMAN_RULE
631 PIXMAN_DEPEND
632 PIXMAN_LIBS
633 PIXMAN_INCLUDES
634 PKG_CONFIG
635 host_os
636 host_vendor
637 host_cpu
638 host
639 build_os
640 build_vendor
641 build_cpu
642 build
643 CAIRO_HAS_GL_SURFACE_FALSE
644 CAIRO_HAS_GL_SURFACE_TRUE
645 CAIRO_HAS_OS2_SURFACE_FALSE
646 CAIRO_HAS_OS2_SURFACE_TRUE
647 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE
648 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE
649 CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE
650 CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE
651 CAIRO_HAS_XLIB_SURFACE_FALSE
652 CAIRO_HAS_XLIB_SURFACE_TRUE
653 CAIRO_HAS_XCB_SURFACE_FALSE
654 CAIRO_HAS_XCB_SURFACE_TRUE
655 CAIRO_HAS_WIN32_SURFACE_FALSE
656 CAIRO_HAS_WIN32_SURFACE_TRUE
657 CAIRO_HAS_SVG_SURFACE_FALSE
658 CAIRO_HAS_SVG_SURFACE_TRUE
659 CAIRO_HAS_SCRIPT_SURFACE_FALSE
660 CAIRO_HAS_SCRIPT_SURFACE_TRUE
661 CAIRO_HAS_QUARTZ_SURFACE_FALSE
662 CAIRO_HAS_QUARTZ_SURFACE_TRUE
663 CAIRO_HAS_PS_SURFACE_FALSE
664 CAIRO_HAS_PS_SURFACE_TRUE
665 CAIRO_HAS_PDF_SURFACE_FALSE
666 CAIRO_HAS_PDF_SURFACE_TRUE
667 CAIRO_HAS_RECORDING_SURFACE_FALSE
668 CAIRO_HAS_RECORDING_SURFACE_TRUE
669 CAIRO_HAS_OBSERVER_SURFACE_FALSE
670 CAIRO_HAS_OBSERVER_SURFACE_TRUE
671 CAIRO_HAS_MIME_SURFACE_FALSE
672 CAIRO_HAS_MIME_SURFACE_TRUE
673 CAIRO_HAS_IMAGE_SURFACE_FALSE
674 CAIRO_HAS_IMAGE_SURFACE_TRUE
675 CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE
676 CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE
677 CAIRO_HAS_WIN32_FUNCTIONS_FALSE
678 CAIRO_HAS_WIN32_FUNCTIONS_TRUE
679 CAIRO_HAS_WGL_FUNCTIONS_FALSE
680 CAIRO_HAS_WGL_FUNCTIONS_TRUE
681 CAIRO_HAS_PNG_FUNCTIONS_FALSE
682 CAIRO_HAS_PNG_FUNCTIONS_TRUE
683 CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE
684 CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE
685 CAIRO_HAS_GLX_FUNCTIONS_FALSE
686 CAIRO_HAS_GLX_FUNCTIONS_TRUE
687 CAIRO_HAS_EGL_FUNCTIONS_FALSE
688 CAIRO_HAS_EGL_FUNCTIONS_TRUE
689 CAIRO_HAS_WIN32_FONT_FALSE
690 CAIRO_HAS_WIN32_FONT_TRUE
691 CAIRO_HAS_USER_FONT_FALSE
692 CAIRO_HAS_USER_FONT_TRUE
693 CAIRO_HAS_QUARTZ_FONT_FALSE
694 CAIRO_HAS_QUARTZ_FONT_TRUE
695 CAIRO_HAS_FT_FONT_FALSE
696 CAIRO_HAS_FT_FONT_TRUE
697 CAIRO_HAS_FC_FONT_FALSE
698 CAIRO_HAS_FC_FONT_TRUE
699 build_FALSE
700 build_TRUE
701 CAIRO_ATTRIBUTE_FLAG
702 VISIBILITY_CFLAGS
703 LN_S
704 RANLIB
705 WARNING_CFLAGS
706 MAINT
707 MAINTAINER_MODE_FALSE
708 MAINTAINER_MODE_TRUE
709 AM_BACKSLASH
710 AM_DEFAULT_VERBOSITY
711 AM_DEFAULT_V
712 AM_V
713 am__fastdepCC_FALSE
714 am__fastdepCC_TRUE
715 CCDEPMODE
716 am__nodep
717 AMDEPBACKSLASH
718 AMDEP_FALSE
719 AMDEP_TRUE
720 am__quote
721 am__include
722 DEPDIR
723 am__untar
724 am__tar
725 AMTAR
726 am__leading_dot
727 SET_MAKE
729 mkdir_p
730 MKDIR_P
731 INSTALL_STRIP_PROGRAM
732 STRIP
733 install_sh
734 MAKEINFO
735 AUTOHEADER
736 AUTOMAKE
737 AUTOCONF
738 ACLOCAL
739 VERSION
740 PACKAGE
741 CYGPATH_W
742 am__isrc
743 INSTALL_DATA
744 INSTALL_SCRIPT
745 INSTALL_PROGRAM
746 EGREP
747 GREP
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_dependency_tracking
798 enable_silent_rules
799 enable_maintainer_mode
800 enable_compiler_warnings
801 with_system_pixman
803 ac_precious_vars='build_alias
804 host_alias
805 target_alias
807 CFLAGS
808 LDFLAGS
809 LIBS
810 CPPFLAGS
811 CPP'
814 # Initialize some variables set by options.
815 ac_init_help=
816 ac_init_version=false
817 ac_unrecognized_opts=
818 ac_unrecognized_sep=
819 # The variables have the same names as the options, with
820 # dashes changed to underlines.
821 cache_file=/dev/null
822 exec_prefix=NONE
823 no_create=
824 no_recursion=
825 prefix=NONE
826 program_prefix=NONE
827 program_suffix=NONE
828 program_transform_name=s,x,x,
829 silent=
830 site=
831 srcdir=
832 verbose=
833 x_includes=NONE
834 x_libraries=NONE
836 # Installation directory options.
837 # These are left unexpanded so users can "make install exec_prefix=/foo"
838 # and all the variables that are supposed to be based on exec_prefix
839 # by default will actually change.
840 # Use braces instead of parens because sh, perl, etc. also accept them.
841 # (The list follows the same order as the GNU Coding Standards.)
842 bindir='${exec_prefix}/bin'
843 sbindir='${exec_prefix}/sbin'
844 libexecdir='${exec_prefix}/libexec'
845 datarootdir='${prefix}/share'
846 datadir='${datarootdir}'
847 sysconfdir='${prefix}/etc'
848 sharedstatedir='${prefix}/com'
849 localstatedir='${prefix}/var'
850 includedir='${prefix}/include'
851 oldincludedir='/usr/include'
852 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
853 infodir='${datarootdir}/info'
854 htmldir='${docdir}'
855 dvidir='${docdir}'
856 pdfdir='${docdir}'
857 psdir='${docdir}'
858 libdir='${exec_prefix}/lib'
859 localedir='${datarootdir}/locale'
860 mandir='${datarootdir}/man'
862 ac_prev=
863 ac_dashdash=
864 for ac_option
866 # If the previous option needs an argument, assign it.
867 if test -n "$ac_prev"; then
868 eval $ac_prev=\$ac_option
869 ac_prev=
870 continue
873 case $ac_option in
874 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
875 *=) ac_optarg= ;;
876 *) ac_optarg=yes ;;
877 esac
879 # Accept the important Cygnus configure options, so we can diagnose typos.
881 case $ac_dashdash$ac_option in
883 ac_dashdash=yes ;;
885 -bindir | --bindir | --bindi | --bind | --bin | --bi)
886 ac_prev=bindir ;;
887 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
888 bindir=$ac_optarg ;;
890 -build | --build | --buil | --bui | --bu)
891 ac_prev=build_alias ;;
892 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
893 build_alias=$ac_optarg ;;
895 -cache-file | --cache-file | --cache-fil | --cache-fi \
896 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
897 ac_prev=cache_file ;;
898 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
899 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
900 cache_file=$ac_optarg ;;
902 --config-cache | -C)
903 cache_file=config.cache ;;
905 -datadir | --datadir | --datadi | --datad)
906 ac_prev=datadir ;;
907 -datadir=* | --datadir=* | --datadi=* | --datad=*)
908 datadir=$ac_optarg ;;
910 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
911 | --dataroo | --dataro | --datar)
912 ac_prev=datarootdir ;;
913 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
914 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
915 datarootdir=$ac_optarg ;;
917 -disable-* | --disable-*)
918 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
921 as_fn_error $? "invalid feature name: $ac_useropt"
922 ac_useropt_orig=$ac_useropt
923 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
926 "enable_$ac_useropt"
927 "*) ;;
928 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
929 ac_unrecognized_sep=', ';;
930 esac
931 eval enable_$ac_useropt=no ;;
933 -docdir | --docdir | --docdi | --doc | --do)
934 ac_prev=docdir ;;
935 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
936 docdir=$ac_optarg ;;
938 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
939 ac_prev=dvidir ;;
940 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
941 dvidir=$ac_optarg ;;
943 -enable-* | --enable-*)
944 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
947 as_fn_error $? "invalid feature name: $ac_useropt"
948 ac_useropt_orig=$ac_useropt
949 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 case $ac_user_opts in
952 "enable_$ac_useropt"
953 "*) ;;
954 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
955 ac_unrecognized_sep=', ';;
956 esac
957 eval enable_$ac_useropt=\$ac_optarg ;;
959 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
960 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
961 | --exec | --exe | --ex)
962 ac_prev=exec_prefix ;;
963 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
964 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
965 | --exec=* | --exe=* | --ex=*)
966 exec_prefix=$ac_optarg ;;
968 -gas | --gas | --ga | --g)
969 # Obsolete; use --with-gas.
970 with_gas=yes ;;
972 -help | --help | --hel | --he | -h)
973 ac_init_help=long ;;
974 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
975 ac_init_help=recursive ;;
976 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
977 ac_init_help=short ;;
979 -host | --host | --hos | --ho)
980 ac_prev=host_alias ;;
981 -host=* | --host=* | --hos=* | --ho=*)
982 host_alias=$ac_optarg ;;
984 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
985 ac_prev=htmldir ;;
986 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
987 | --ht=*)
988 htmldir=$ac_optarg ;;
990 -includedir | --includedir | --includedi | --included | --include \
991 | --includ | --inclu | --incl | --inc)
992 ac_prev=includedir ;;
993 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
994 | --includ=* | --inclu=* | --incl=* | --inc=*)
995 includedir=$ac_optarg ;;
997 -infodir | --infodir | --infodi | --infod | --info | --inf)
998 ac_prev=infodir ;;
999 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1000 infodir=$ac_optarg ;;
1002 -libdir | --libdir | --libdi | --libd)
1003 ac_prev=libdir ;;
1004 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1005 libdir=$ac_optarg ;;
1007 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1008 | --libexe | --libex | --libe)
1009 ac_prev=libexecdir ;;
1010 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1011 | --libexe=* | --libex=* | --libe=*)
1012 libexecdir=$ac_optarg ;;
1014 -localedir | --localedir | --localedi | --localed | --locale)
1015 ac_prev=localedir ;;
1016 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1017 localedir=$ac_optarg ;;
1019 -localstatedir | --localstatedir | --localstatedi | --localstated \
1020 | --localstate | --localstat | --localsta | --localst | --locals)
1021 ac_prev=localstatedir ;;
1022 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1023 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1024 localstatedir=$ac_optarg ;;
1026 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1027 ac_prev=mandir ;;
1028 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1029 mandir=$ac_optarg ;;
1031 -nfp | --nfp | --nf)
1032 # Obsolete; use --without-fp.
1033 with_fp=no ;;
1035 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1036 | --no-cr | --no-c | -n)
1037 no_create=yes ;;
1039 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1040 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1041 no_recursion=yes ;;
1043 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1044 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1045 | --oldin | --oldi | --old | --ol | --o)
1046 ac_prev=oldincludedir ;;
1047 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1048 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1049 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1050 oldincludedir=$ac_optarg ;;
1052 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1053 ac_prev=prefix ;;
1054 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1055 prefix=$ac_optarg ;;
1057 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1058 | --program-pre | --program-pr | --program-p)
1059 ac_prev=program_prefix ;;
1060 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1061 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1062 program_prefix=$ac_optarg ;;
1064 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1065 | --program-suf | --program-su | --program-s)
1066 ac_prev=program_suffix ;;
1067 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1068 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1069 program_suffix=$ac_optarg ;;
1071 -program-transform-name | --program-transform-name \
1072 | --program-transform-nam | --program-transform-na \
1073 | --program-transform-n | --program-transform- \
1074 | --program-transform | --program-transfor \
1075 | --program-transfo | --program-transf \
1076 | --program-trans | --program-tran \
1077 | --progr-tra | --program-tr | --program-t)
1078 ac_prev=program_transform_name ;;
1079 -program-transform-name=* | --program-transform-name=* \
1080 | --program-transform-nam=* | --program-transform-na=* \
1081 | --program-transform-n=* | --program-transform-=* \
1082 | --program-transform=* | --program-transfor=* \
1083 | --program-transfo=* | --program-transf=* \
1084 | --program-trans=* | --program-tran=* \
1085 | --progr-tra=* | --program-tr=* | --program-t=*)
1086 program_transform_name=$ac_optarg ;;
1088 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1089 ac_prev=pdfdir ;;
1090 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1091 pdfdir=$ac_optarg ;;
1093 -psdir | --psdir | --psdi | --psd | --ps)
1094 ac_prev=psdir ;;
1095 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1096 psdir=$ac_optarg ;;
1098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1099 | -silent | --silent | --silen | --sile | --sil)
1100 silent=yes ;;
1102 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1103 ac_prev=sbindir ;;
1104 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1105 | --sbi=* | --sb=*)
1106 sbindir=$ac_optarg ;;
1108 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1109 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1110 | --sharedst | --shareds | --shared | --share | --shar \
1111 | --sha | --sh)
1112 ac_prev=sharedstatedir ;;
1113 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1114 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1115 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1116 | --sha=* | --sh=*)
1117 sharedstatedir=$ac_optarg ;;
1119 -site | --site | --sit)
1120 ac_prev=site ;;
1121 -site=* | --site=* | --sit=*)
1122 site=$ac_optarg ;;
1124 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1125 ac_prev=srcdir ;;
1126 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1127 srcdir=$ac_optarg ;;
1129 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1130 | --syscon | --sysco | --sysc | --sys | --sy)
1131 ac_prev=sysconfdir ;;
1132 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1133 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1134 sysconfdir=$ac_optarg ;;
1136 -target | --target | --targe | --targ | --tar | --ta | --t)
1137 ac_prev=target_alias ;;
1138 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1139 target_alias=$ac_optarg ;;
1141 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1142 verbose=yes ;;
1144 -version | --version | --versio | --versi | --vers | -V)
1145 ac_init_version=: ;;
1147 -with-* | --with-*)
1148 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1151 as_fn_error $? "invalid package name: $ac_useropt"
1152 ac_useropt_orig=$ac_useropt
1153 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1156 "with_$ac_useropt"
1157 "*) ;;
1158 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1159 ac_unrecognized_sep=', ';;
1160 esac
1161 eval with_$ac_useropt=\$ac_optarg ;;
1163 -without-* | --without-*)
1164 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167 as_fn_error $? "invalid package name: $ac_useropt"
1168 ac_useropt_orig=$ac_useropt
1169 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1172 "with_$ac_useropt"
1173 "*) ;;
1174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1175 ac_unrecognized_sep=', ';;
1176 esac
1177 eval with_$ac_useropt=no ;;
1179 --x)
1180 # Obsolete; use --with-x.
1181 with_x=yes ;;
1183 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1184 | --x-incl | --x-inc | --x-in | --x-i)
1185 ac_prev=x_includes ;;
1186 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1187 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1188 x_includes=$ac_optarg ;;
1190 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1191 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1192 ac_prev=x_libraries ;;
1193 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1194 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1195 x_libraries=$ac_optarg ;;
1197 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1198 Try \`$0 --help' for more information"
1201 *=*)
1202 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1203 # Reject names that are not valid shell variable names.
1204 case $ac_envvar in #(
1205 '' | [0-9]* | *[!_$as_cr_alnum]* )
1206 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1207 esac
1208 eval $ac_envvar=\$ac_optarg
1209 export $ac_envvar ;;
1212 # FIXME: should be removed in autoconf 3.0.
1213 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1214 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1215 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1216 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1219 esac
1220 done
1222 if test -n "$ac_prev"; then
1223 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1224 as_fn_error $? "missing argument to $ac_option"
1227 if test -n "$ac_unrecognized_opts"; then
1228 case $enable_option_checking in
1229 no) ;;
1230 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1231 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1232 esac
1235 # Check all directory arguments for consistency.
1236 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1237 datadir sysconfdir sharedstatedir localstatedir includedir \
1238 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1239 libdir localedir mandir
1241 eval ac_val=\$$ac_var
1242 # Remove trailing slashes.
1243 case $ac_val in
1244 */ )
1245 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1246 eval $ac_var=\$ac_val;;
1247 esac
1248 # Be sure to have absolute directory names.
1249 case $ac_val in
1250 [\\/$]* | ?:[\\/]* ) continue;;
1251 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1252 esac
1253 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1254 done
1256 # There might be people who depend on the old broken behavior: `$host'
1257 # used to hold the argument of --host etc.
1258 # FIXME: To remove some day.
1259 build=$build_alias
1260 host=$host_alias
1261 target=$target_alias
1263 # FIXME: To remove some day.
1264 if test "x$host_alias" != x; then
1265 if test "x$build_alias" = x; then
1266 cross_compiling=maybe
1267 elif test "x$build_alias" != "x$host_alias"; then
1268 cross_compiling=yes
1272 ac_tool_prefix=
1273 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1275 test "$silent" = yes && exec 6>/dev/null
1278 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1279 ac_ls_di=`ls -di .` &&
1280 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1281 as_fn_error $? "working directory cannot be determined"
1282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1283 as_fn_error $? "pwd does not report name of working directory"
1286 # Find the source files, if location was not specified.
1287 if test -z "$srcdir"; then
1288 ac_srcdir_defaulted=yes
1289 # Try the directory containing this script, then the parent directory.
1290 ac_confdir=`$as_dirname -- "$as_myself" ||
1291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1292 X"$as_myself" : 'X\(//\)[^/]' \| \
1293 X"$as_myself" : 'X\(//\)$' \| \
1294 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1295 $as_echo X"$as_myself" |
1296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1297 s//\1/
1300 /^X\(\/\/\)[^/].*/{
1301 s//\1/
1304 /^X\(\/\/\)$/{
1305 s//\1/
1308 /^X\(\/\).*/{
1309 s//\1/
1312 s/.*/./; q'`
1313 srcdir=$ac_confdir
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1315 srcdir=..
1317 else
1318 ac_srcdir_defaulted=no
1320 if test ! -r "$srcdir/$ac_unique_file"; then
1321 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1322 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1324 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1325 ac_abs_confdir=`(
1326 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1327 pwd)`
1328 # When building in place, set srcdir=.
1329 if test "$ac_abs_confdir" = "$ac_pwd"; then
1330 srcdir=.
1332 # Remove unnecessary trailing slashes from srcdir.
1333 # Double slashes in file names in object file debugging info
1334 # mess up M-x gdb in Emacs.
1335 case $srcdir in
1336 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1337 esac
1338 for ac_var in $ac_precious_vars; do
1339 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1340 eval ac_env_${ac_var}_value=\$${ac_var}
1341 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1342 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1343 done
1346 # Report the --help message.
1348 if test "$ac_init_help" = "long"; then
1349 # Omit some internal or obsolete options to make the list less imposing.
1350 # This message is too long to be a string in the A/UX 3.1 sh.
1351 cat <<_ACEOF
1352 \`configure' configures cairo (TeX Live) 1.14.6 to adapt to many kinds of systems.
1354 Usage: $0 [OPTION]... [VAR=VALUE]...
1356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1357 VAR=VALUE. See below for descriptions of some of the useful variables.
1359 Defaults for the options are specified in brackets.
1361 Configuration:
1362 -h, --help display this help and exit
1363 --help=short display options specific to this package
1364 --help=recursive display the short help of all the included packages
1365 -V, --version display version information and exit
1366 -q, --quiet, --silent do not print \`checking ...' messages
1367 --cache-file=FILE cache test results in FILE [disabled]
1368 -C, --config-cache alias for \`--cache-file=config.cache'
1369 -n, --no-create do not create output files
1370 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1372 Installation directories:
1373 --prefix=PREFIX install architecture-independent files in PREFIX
1374 [$ac_default_prefix]
1375 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1376 [PREFIX]
1378 By default, \`make install' will install all the files in
1379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1381 for instance \`--prefix=\$HOME'.
1383 For better control, use the options below.
1385 Fine tuning of the installation directories:
1386 --bindir=DIR user executables [EPREFIX/bin]
1387 --sbindir=DIR system admin executables [EPREFIX/sbin]
1388 --libexecdir=DIR program executables [EPREFIX/libexec]
1389 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1390 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1391 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1392 --libdir=DIR object code libraries [EPREFIX/lib]
1393 --includedir=DIR C header files [PREFIX/include]
1394 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1395 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1396 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1397 --infodir=DIR info documentation [DATAROOTDIR/info]
1398 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1399 --mandir=DIR man documentation [DATAROOTDIR/man]
1400 --docdir=DIR documentation root
1401 [DATAROOTDIR/doc/cairo--tex-live-]
1402 --htmldir=DIR html documentation [DOCDIR]
1403 --dvidir=DIR dvi documentation [DOCDIR]
1404 --pdfdir=DIR pdf documentation [DOCDIR]
1405 --psdir=DIR ps documentation [DOCDIR]
1406 _ACEOF
1408 cat <<\_ACEOF
1410 Program names:
1411 --program-prefix=PREFIX prepend PREFIX to installed program names
1412 --program-suffix=SUFFIX append SUFFIX to installed program names
1413 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1415 System types:
1416 --build=BUILD configure for building on BUILD [guessed]
1417 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1418 _ACEOF
1421 if test -n "$ac_init_help"; then
1422 case $ac_init_help in
1423 short | recursive ) echo "Configuration of cairo (TeX Live) 1.14.6:";;
1424 esac
1425 cat <<\_ACEOF
1427 Optional Features:
1428 --disable-option-checking ignore unrecognized --enable/--with options
1429 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1430 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1431 --enable-dependency-tracking
1432 do not reject slow dependency extractors
1433 --disable-dependency-tracking
1434 speeds up one-time build
1435 --enable-silent-rules less verbose build output (undo: "make V=1")
1436 --disable-silent-rules verbose build output (undo: "make V=0")
1437 --enable-maintainer-mode
1438 enable make rules and dependencies not useful (and
1439 sometimes confusing) to the casual installer
1440 --enable-compiler-warnings=[no|min|yes|max|all]
1441 Turn on compiler warnings [default: yes if
1442 maintainer-mode, min otherwise]
1444 Optional Packages:
1445 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1446 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1447 --with-system-pixman use installed pixman headers and library (requires
1448 pkg-config)
1450 Some influential environment variables:
1451 CC C compiler command
1452 CFLAGS C compiler flags
1453 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1454 nonstandard directory <lib dir>
1455 LIBS libraries to pass to the linker, e.g. -l<library>
1456 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1457 you have headers in a nonstandard directory <include dir>
1458 CPP C preprocessor
1460 Use these variables to override the choices made by `configure' or to help
1461 it to find libraries and programs with nonstandard names/locations.
1463 Report bugs to <tex-k@tug.org>.
1464 _ACEOF
1465 ac_status=$?
1468 if test "$ac_init_help" = "recursive"; then
1469 # If there are subdirs, report their specific --help.
1470 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1471 test -d "$ac_dir" ||
1472 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1473 continue
1474 ac_builddir=.
1476 case "$ac_dir" in
1477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1479 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1480 # A ".." for each directory in $ac_dir_suffix.
1481 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1482 case $ac_top_builddir_sub in
1483 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1484 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1485 esac ;;
1486 esac
1487 ac_abs_top_builddir=$ac_pwd
1488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1489 # for backward compatibility:
1490 ac_top_builddir=$ac_top_build_prefix
1492 case $srcdir in
1493 .) # We are building in place.
1494 ac_srcdir=.
1495 ac_top_srcdir=$ac_top_builddir_sub
1496 ac_abs_top_srcdir=$ac_pwd ;;
1497 [\\/]* | ?:[\\/]* ) # Absolute name.
1498 ac_srcdir=$srcdir$ac_dir_suffix;
1499 ac_top_srcdir=$srcdir
1500 ac_abs_top_srcdir=$srcdir ;;
1501 *) # Relative name.
1502 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1503 ac_top_srcdir=$ac_top_build_prefix$srcdir
1504 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1505 esac
1506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1508 cd "$ac_dir" || { ac_status=$?; continue; }
1509 # Check for guested configure.
1510 if test -f "$ac_srcdir/configure.gnu"; then
1511 echo &&
1512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1513 elif test -f "$ac_srcdir/configure"; then
1514 echo &&
1515 $SHELL "$ac_srcdir/configure" --help=recursive
1516 else
1517 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1518 fi || ac_status=$?
1519 cd "$ac_pwd" || { ac_status=$?; break; }
1520 done
1523 test -n "$ac_init_help" && exit $ac_status
1524 if $ac_init_version; then
1525 cat <<\_ACEOF
1526 cairo (TeX Live) configure 1.14.6
1527 generated by GNU Autoconf 2.69
1529 Copyright (C) 2012 Free Software Foundation, Inc.
1530 This configure script is free software; the Free Software Foundation
1531 gives unlimited permission to copy, distribute and modify it.
1532 _ACEOF
1533 exit
1536 ## ------------------------ ##
1537 ## Autoconf initialization. ##
1538 ## ------------------------ ##
1540 # ac_fn_c_try_compile LINENO
1541 # --------------------------
1542 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1543 ac_fn_c_try_compile ()
1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1546 rm -f conftest.$ac_objext
1547 if { { ac_try="$ac_compile"
1548 case "(($ac_try" in
1549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1550 *) ac_try_echo=$ac_try;;
1551 esac
1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1553 $as_echo "$ac_try_echo"; } >&5
1554 (eval "$ac_compile") 2>conftest.err
1555 ac_status=$?
1556 if test -s conftest.err; then
1557 grep -v '^ *+' conftest.err >conftest.er1
1558 cat conftest.er1 >&5
1559 mv -f conftest.er1 conftest.err
1561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1562 test $ac_status = 0; } && {
1563 test -z "$ac_c_werror_flag" ||
1564 test ! -s conftest.err
1565 } && test -s conftest.$ac_objext; then :
1566 ac_retval=0
1567 else
1568 $as_echo "$as_me: failed program was:" >&5
1569 sed 's/^/| /' conftest.$ac_ext >&5
1571 ac_retval=1
1573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1574 as_fn_set_status $ac_retval
1576 } # ac_fn_c_try_compile
1578 # ac_fn_c_try_cpp LINENO
1579 # ----------------------
1580 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1581 ac_fn_c_try_cpp ()
1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584 if { { ac_try="$ac_cpp conftest.$ac_ext"
1585 case "(($ac_try" in
1586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587 *) ac_try_echo=$ac_try;;
1588 esac
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1592 ac_status=$?
1593 if test -s conftest.err; then
1594 grep -v '^ *+' conftest.err >conftest.er1
1595 cat conftest.er1 >&5
1596 mv -f conftest.er1 conftest.err
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } > conftest.i && {
1600 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1601 test ! -s conftest.err
1602 }; then :
1603 ac_retval=0
1604 else
1605 $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.$ac_ext >&5
1608 ac_retval=1
1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611 as_fn_set_status $ac_retval
1613 } # ac_fn_c_try_cpp
1615 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1616 # -------------------------------------------------------
1617 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1618 # the include files in INCLUDES and setting the cache variable VAR
1619 # accordingly.
1620 ac_fn_c_check_header_mongrel ()
1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 if eval \${$3+:} false; then :
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1625 $as_echo_n "checking for $2... " >&6; }
1626 if eval \${$3+:} false; then :
1627 $as_echo_n "(cached) " >&6
1629 eval ac_res=\$$3
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631 $as_echo "$ac_res" >&6; }
1632 else
1633 # Is the header compilable?
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1635 $as_echo_n "checking $2 usability... " >&6; }
1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1639 #include <$2>
1640 _ACEOF
1641 if ac_fn_c_try_compile "$LINENO"; then :
1642 ac_header_compiler=yes
1643 else
1644 ac_header_compiler=no
1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1648 $as_echo "$ac_header_compiler" >&6; }
1650 # Is the header present?
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1652 $as_echo_n "checking $2 presence... " >&6; }
1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1655 #include <$2>
1656 _ACEOF
1657 if ac_fn_c_try_cpp "$LINENO"; then :
1658 ac_header_preproc=yes
1659 else
1660 ac_header_preproc=no
1662 rm -f conftest.err conftest.i conftest.$ac_ext
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1664 $as_echo "$ac_header_preproc" >&6; }
1666 # So? What about this header?
1667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1668 yes:no: )
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1670 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1672 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 no:yes:* )
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1676 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1678 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1680 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1682 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1684 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1685 ( $as_echo "## ---------------------------- ##
1686 ## Report this to tex-k@tug.org ##
1687 ## ---------------------------- ##"
1688 ) | sed "s/^/$as_me: WARNING: /" >&2
1690 esac
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692 $as_echo_n "checking for $2... " >&6; }
1693 if eval \${$3+:} false; then :
1694 $as_echo_n "(cached) " >&6
1695 else
1696 eval "$3=\$ac_header_compiler"
1698 eval ac_res=\$$3
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700 $as_echo "$ac_res" >&6; }
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704 } # ac_fn_c_check_header_mongrel
1706 # ac_fn_c_try_run LINENO
1707 # ----------------------
1708 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1709 # that executables *can* be run.
1710 ac_fn_c_try_run ()
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 if { { ac_try="$ac_link"
1714 case "(($ac_try" in
1715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1717 esac
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_link") 2>&5
1721 ac_status=$?
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1724 { { case "(($ac_try" in
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1727 esac
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_try") 2>&5
1731 ac_status=$?
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; }; }; then :
1734 ac_retval=0
1735 else
1736 $as_echo "$as_me: program exited with status $ac_status" >&5
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1740 ac_retval=$ac_status
1742 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 as_fn_set_status $ac_retval
1746 } # ac_fn_c_try_run
1748 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749 # -------------------------------------------------------
1750 # Tests whether HEADER exists and can be compiled using the include files in
1751 # INCLUDES, setting the cache variable VAR accordingly.
1752 ac_fn_c_check_header_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if eval \${$3+:} false; then :
1758 $as_echo_n "(cached) " >&6
1759 else
1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1763 #include <$2>
1764 _ACEOF
1765 if ac_fn_c_try_compile "$LINENO"; then :
1766 eval "$3=yes"
1767 else
1768 eval "$3=no"
1770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1772 eval ac_res=\$$3
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 } # ac_fn_c_check_header_compile
1779 # ac_fn_c_try_link LINENO
1780 # -----------------------
1781 # Try to link conftest.$ac_ext, and return whether this succeeded.
1782 ac_fn_c_try_link ()
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 rm -f conftest.$ac_objext conftest$ac_exeext
1786 if { { ac_try="$ac_link"
1787 case "(($ac_try" in
1788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789 *) ac_try_echo=$ac_try;;
1790 esac
1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_link") 2>conftest.err
1794 ac_status=$?
1795 if test -s conftest.err; then
1796 grep -v '^ *+' conftest.err >conftest.er1
1797 cat conftest.er1 >&5
1798 mv -f conftest.er1 conftest.err
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && {
1802 test -z "$ac_c_werror_flag" ||
1803 test ! -s conftest.err
1804 } && test -s conftest$ac_exeext && {
1805 test "$cross_compiling" = yes ||
1806 test -x conftest$ac_exeext
1807 }; then :
1808 ac_retval=0
1809 else
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1813 ac_retval=1
1815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1817 # interfere with the next link command; also delete a directory that is
1818 # left behind by Apple's compiler. We do this before executing the actions.
1819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821 as_fn_set_status $ac_retval
1823 } # ac_fn_c_try_link
1825 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1826 # --------------------------------------------
1827 # Tries to find the compile-time value of EXPR in a program that includes
1828 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1829 # computed
1830 ac_fn_c_compute_int ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 if test "$cross_compiling" = yes; then
1834 # Depending upon the size, compute the lo and hi bounds.
1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836 /* end confdefs.h. */
1839 main ()
1841 static int test_array [1 - 2 * !(($2) >= 0)];
1842 test_array [0] = 0;
1843 return test_array [0];
1846 return 0;
1848 _ACEOF
1849 if ac_fn_c_try_compile "$LINENO"; then :
1850 ac_lo=0 ac_mid=0
1851 while :; do
1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h. */
1856 main ()
1858 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1859 test_array [0] = 0;
1860 return test_array [0];
1863 return 0;
1865 _ACEOF
1866 if ac_fn_c_try_compile "$LINENO"; then :
1867 ac_hi=$ac_mid; break
1868 else
1869 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1870 if test $ac_lo -le $ac_mid; then
1871 ac_lo= ac_hi=
1872 break
1874 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1877 done
1878 else
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1883 main ()
1885 static int test_array [1 - 2 * !(($2) < 0)];
1886 test_array [0] = 0;
1887 return test_array [0];
1890 return 0;
1892 _ACEOF
1893 if ac_fn_c_try_compile "$LINENO"; then :
1894 ac_hi=-1 ac_mid=-1
1895 while :; do
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1900 main ()
1902 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1903 test_array [0] = 0;
1904 return test_array [0];
1907 return 0;
1909 _ACEOF
1910 if ac_fn_c_try_compile "$LINENO"; then :
1911 ac_lo=$ac_mid; break
1912 else
1913 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1914 if test $ac_mid -le $ac_hi; then
1915 ac_lo= ac_hi=
1916 break
1918 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921 done
1922 else
1923 ac_lo= ac_hi=
1925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928 # Binary search between lo and hi bounds.
1929 while test "x$ac_lo" != "x$ac_hi"; do
1930 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1932 /* end confdefs.h. */
1935 main ()
1937 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1938 test_array [0] = 0;
1939 return test_array [0];
1942 return 0;
1944 _ACEOF
1945 if ac_fn_c_try_compile "$LINENO"; then :
1946 ac_hi=$ac_mid
1947 else
1948 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951 done
1952 case $ac_lo in #((
1953 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1954 '') ac_retval=1 ;;
1955 esac
1956 else
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1960 static long int longval () { return $2; }
1961 static unsigned long int ulongval () { return $2; }
1962 #include <stdio.h>
1963 #include <stdlib.h>
1965 main ()
1968 FILE *f = fopen ("conftest.val", "w");
1969 if (! f)
1970 return 1;
1971 if (($2) < 0)
1973 long int i = longval ();
1974 if (i != ($2))
1975 return 1;
1976 fprintf (f, "%ld", i);
1978 else
1980 unsigned long int i = ulongval ();
1981 if (i != ($2))
1982 return 1;
1983 fprintf (f, "%lu", i);
1985 /* Do not output a trailing newline, as this causes \r\n confusion
1986 on some platforms. */
1987 return ferror (f) || fclose (f) != 0;
1990 return 0;
1992 _ACEOF
1993 if ac_fn_c_try_run "$LINENO"; then :
1994 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1995 else
1996 ac_retval=1
1998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1999 conftest.$ac_objext conftest.beam conftest.$ac_ext
2000 rm -f conftest.val
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 as_fn_set_status $ac_retval
2006 } # ac_fn_c_compute_int
2008 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2009 # -------------------------------------------
2010 # Tests whether TYPE exists after having included INCLUDES, setting cache
2011 # variable VAR accordingly.
2012 ac_fn_c_check_type ()
2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016 $as_echo_n "checking for $2... " >&6; }
2017 if eval \${$3+:} false; then :
2018 $as_echo_n "(cached) " >&6
2019 else
2020 eval "$3=no"
2021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2025 main ()
2027 if (sizeof ($2))
2028 return 0;
2030 return 0;
2032 _ACEOF
2033 if ac_fn_c_try_compile "$LINENO"; then :
2034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2038 main ()
2040 if (sizeof (($2)))
2041 return 0;
2043 return 0;
2045 _ACEOF
2046 if ac_fn_c_try_compile "$LINENO"; then :
2048 else
2049 eval "$3=yes"
2051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2055 eval ac_res=\$$3
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2057 $as_echo "$ac_res" >&6; }
2058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060 } # ac_fn_c_check_type
2062 # ac_fn_c_check_func LINENO FUNC VAR
2063 # ----------------------------------
2064 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2065 ac_fn_c_check_func ()
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if eval \${$3+:} false; then :
2071 $as_echo_n "(cached) " >&6
2072 else
2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2075 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2077 #define $2 innocuous_$2
2079 /* System header to define __stub macros and hopefully few prototypes,
2080 which can conflict with char $2 (); below.
2081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2082 <limits.h> exists even on freestanding compilers. */
2084 #ifdef __STDC__
2085 # include <limits.h>
2086 #else
2087 # include <assert.h>
2088 #endif
2090 #undef $2
2092 /* Override any GCC internal prototype to avoid an error.
2093 Use char because int might match the return type of a GCC
2094 builtin and then its argument prototype would still apply. */
2095 #ifdef __cplusplus
2096 extern "C"
2097 #endif
2098 char $2 ();
2099 /* The GNU C library defines this for functions which it implements
2100 to always fail with ENOSYS. Some functions are actually named
2101 something starting with __ and the normal name is an alias. */
2102 #if defined __stub_$2 || defined __stub___$2
2103 choke me
2104 #endif
2107 main ()
2109 return $2 ();
2111 return 0;
2113 _ACEOF
2114 if ac_fn_c_try_link "$LINENO"; then :
2115 eval "$3=yes"
2116 else
2117 eval "$3=no"
2119 rm -f core conftest.err conftest.$ac_objext \
2120 conftest$ac_exeext conftest.$ac_ext
2122 eval ac_res=\$$3
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2124 $as_echo "$ac_res" >&6; }
2125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2127 } # ac_fn_c_check_func
2128 cat >config.log <<_ACEOF
2129 This file contains any messages produced by compilers while
2130 running configure, to aid debugging if configure makes a mistake.
2132 It was created by cairo (TeX Live) $as_me 1.14.6, which was
2133 generated by GNU Autoconf 2.69. Invocation command line was
2135 $ $0 $@
2137 _ACEOF
2138 exec 5>>config.log
2140 cat <<_ASUNAME
2141 ## --------- ##
2142 ## Platform. ##
2143 ## --------- ##
2145 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2146 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2147 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2148 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2149 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2151 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2152 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2154 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2155 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2156 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2157 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2158 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2159 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2160 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2162 _ASUNAME
2164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165 for as_dir in $PATH
2167 IFS=$as_save_IFS
2168 test -z "$as_dir" && as_dir=.
2169 $as_echo "PATH: $as_dir"
2170 done
2171 IFS=$as_save_IFS
2173 } >&5
2175 cat >&5 <<_ACEOF
2178 ## ----------- ##
2179 ## Core tests. ##
2180 ## ----------- ##
2182 _ACEOF
2185 # Keep a trace of the command line.
2186 # Strip out --no-create and --no-recursion so they do not pile up.
2187 # Strip out --silent because we don't want to record it for future runs.
2188 # Also quote any args containing shell meta-characters.
2189 # Make two passes to allow for proper duplicate-argument suppression.
2190 ac_configure_args=
2191 ac_configure_args0=
2192 ac_configure_args1=
2193 ac_must_keep_next=false
2194 for ac_pass in 1 2
2196 for ac_arg
2198 case $ac_arg in
2199 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2201 | -silent | --silent | --silen | --sile | --sil)
2202 continue ;;
2203 *\'*)
2204 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2205 esac
2206 case $ac_pass in
2207 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2209 as_fn_append ac_configure_args1 " '$ac_arg'"
2210 if test $ac_must_keep_next = true; then
2211 ac_must_keep_next=false # Got value, back to normal.
2212 else
2213 case $ac_arg in
2214 *=* | --config-cache | -C | -disable-* | --disable-* \
2215 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2216 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2217 | -with-* | --with-* | -without-* | --without-* | --x)
2218 case "$ac_configure_args0 " in
2219 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2220 esac
2222 -* ) ac_must_keep_next=true ;;
2223 esac
2225 as_fn_append ac_configure_args " '$ac_arg'"
2227 esac
2228 done
2229 done
2230 { ac_configure_args0=; unset ac_configure_args0;}
2231 { ac_configure_args1=; unset ac_configure_args1;}
2233 # When interrupted or exit'd, cleanup temporary files, and complete
2234 # config.log. We remove comments because anyway the quotes in there
2235 # would cause problems or look ugly.
2236 # WARNING: Use '\'' to represent an apostrophe within the trap.
2237 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2238 trap 'exit_status=$?
2239 # Save into config.log some information that might help in debugging.
2241 echo
2243 $as_echo "## ---------------- ##
2244 ## Cache variables. ##
2245 ## ---------------- ##"
2246 echo
2247 # The following way of writing the cache mishandles newlines in values,
2249 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2250 eval ac_val=\$$ac_var
2251 case $ac_val in #(
2252 *${as_nl}*)
2253 case $ac_var in #(
2254 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2255 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2256 esac
2257 case $ac_var in #(
2258 _ | IFS | as_nl) ;; #(
2259 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2260 *) { eval $ac_var=; unset $ac_var;} ;;
2261 esac ;;
2262 esac
2263 done
2264 (set) 2>&1 |
2265 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2266 *${as_nl}ac_space=\ *)
2267 sed -n \
2268 "s/'\''/'\''\\\\'\'''\''/g;
2269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2270 ;; #(
2272 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2274 esac |
2275 sort
2277 echo
2279 $as_echo "## ----------------- ##
2280 ## Output variables. ##
2281 ## ----------------- ##"
2282 echo
2283 for ac_var in $ac_subst_vars
2285 eval ac_val=\$$ac_var
2286 case $ac_val in
2287 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2288 esac
2289 $as_echo "$ac_var='\''$ac_val'\''"
2290 done | sort
2291 echo
2293 if test -n "$ac_subst_files"; then
2294 $as_echo "## ------------------- ##
2295 ## File substitutions. ##
2296 ## ------------------- ##"
2297 echo
2298 for ac_var in $ac_subst_files
2300 eval ac_val=\$$ac_var
2301 case $ac_val in
2302 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2303 esac
2304 $as_echo "$ac_var='\''$ac_val'\''"
2305 done | sort
2306 echo
2309 if test -s confdefs.h; then
2310 $as_echo "## ----------- ##
2311 ## confdefs.h. ##
2312 ## ----------- ##"
2313 echo
2314 cat confdefs.h
2315 echo
2317 test "$ac_signal" != 0 &&
2318 $as_echo "$as_me: caught signal $ac_signal"
2319 $as_echo "$as_me: exit $exit_status"
2320 } >&5
2321 rm -f core *.core core.conftest.* &&
2322 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2323 exit $exit_status
2325 for ac_signal in 1 2 13 15; do
2326 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2327 done
2328 ac_signal=0
2330 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2331 rm -f -r conftest* confdefs.h
2333 $as_echo "/* confdefs.h */" > confdefs.h
2335 # Predefined preprocessor variables.
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_NAME "$PACKAGE_NAME"
2339 _ACEOF
2341 cat >>confdefs.h <<_ACEOF
2342 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2343 _ACEOF
2345 cat >>confdefs.h <<_ACEOF
2346 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2347 _ACEOF
2349 cat >>confdefs.h <<_ACEOF
2350 #define PACKAGE_STRING "$PACKAGE_STRING"
2351 _ACEOF
2353 cat >>confdefs.h <<_ACEOF
2354 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2355 _ACEOF
2357 cat >>confdefs.h <<_ACEOF
2358 #define PACKAGE_URL "$PACKAGE_URL"
2359 _ACEOF
2362 # Let the site file select an alternate cache file if it wants to.
2363 # Prefer an explicitly selected file to automatically selected ones.
2364 ac_site_file1=NONE
2365 ac_site_file2=NONE
2366 if test -n "$CONFIG_SITE"; then
2367 # We do not want a PATH search for config.site.
2368 case $CONFIG_SITE in #((
2369 -*) ac_site_file1=./$CONFIG_SITE;;
2370 */*) ac_site_file1=$CONFIG_SITE;;
2371 *) ac_site_file1=./$CONFIG_SITE;;
2372 esac
2373 elif test "x$prefix" != xNONE; then
2374 ac_site_file1=$prefix/share/config.site
2375 ac_site_file2=$prefix/etc/config.site
2376 else
2377 ac_site_file1=$ac_default_prefix/share/config.site
2378 ac_site_file2=$ac_default_prefix/etc/config.site
2380 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2382 test "x$ac_site_file" = xNONE && continue
2383 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2385 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2386 sed 's/^/| /' "$ac_site_file" >&5
2387 . "$ac_site_file" \
2388 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2390 as_fn_error $? "failed to load site script $ac_site_file
2391 See \`config.log' for more details" "$LINENO" 5; }
2393 done
2395 if test -r "$cache_file"; then
2396 # Some versions of bash will fail to source /dev/null (special files
2397 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2398 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2400 $as_echo "$as_me: loading cache $cache_file" >&6;}
2401 case $cache_file in
2402 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2403 *) . "./$cache_file";;
2404 esac
2406 else
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2408 $as_echo "$as_me: creating cache $cache_file" >&6;}
2409 >$cache_file
2412 # Check that the precious variables saved in the cache have kept the same
2413 # value.
2414 ac_cache_corrupted=false
2415 for ac_var in $ac_precious_vars; do
2416 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2417 eval ac_new_set=\$ac_env_${ac_var}_set
2418 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2419 eval ac_new_val=\$ac_env_${ac_var}_value
2420 case $ac_old_set,$ac_new_set in
2421 set,)
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2423 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2424 ac_cache_corrupted=: ;;
2425 ,set)
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2427 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2428 ac_cache_corrupted=: ;;
2429 ,);;
2431 if test "x$ac_old_val" != "x$ac_new_val"; then
2432 # differences in whitespace do not lead to failure.
2433 ac_old_val_w=`echo x $ac_old_val`
2434 ac_new_val_w=`echo x $ac_new_val`
2435 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2437 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2438 ac_cache_corrupted=:
2439 else
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2441 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2442 eval $ac_var=\$ac_old_val
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2445 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2447 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2448 fi;;
2449 esac
2450 # Pass precious variables to config.status.
2451 if test "$ac_new_set" = set; then
2452 case $ac_new_val in
2453 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2454 *) ac_arg=$ac_var=$ac_new_val ;;
2455 esac
2456 case " $ac_configure_args " in
2457 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2458 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2459 esac
2461 done
2462 if $ac_cache_corrupted; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2466 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2467 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2469 ## -------------------- ##
2470 ## Main body of script. ##
2471 ## -------------------- ##
2473 ac_ext=c
2474 ac_cpp='$CPP $CPPFLAGS'
2475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2482 ac_aux_dir=
2483 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2484 if test -f "$ac_dir/install-sh"; then
2485 ac_aux_dir=$ac_dir
2486 ac_install_sh="$ac_aux_dir/install-sh -c"
2487 break
2488 elif test -f "$ac_dir/install.sh"; then
2489 ac_aux_dir=$ac_dir
2490 ac_install_sh="$ac_aux_dir/install.sh -c"
2491 break
2492 elif test -f "$ac_dir/shtool"; then
2493 ac_aux_dir=$ac_dir
2494 ac_install_sh="$ac_aux_dir/shtool install -c"
2495 break
2497 done
2498 if test -z "$ac_aux_dir"; then
2499 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2502 # These three variables are undocumented and unsupported,
2503 # and are intended to be withdrawn in a future Autoconf release.
2504 # They can cause serious problems if a builder's source tree is in a directory
2505 # whose full name contains unusual characters.
2506 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2507 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2508 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2513 # Expand $ac_aux_dir to an absolute path.
2514 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2516 ac_ext=c
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2521 if test -n "$ac_tool_prefix"; then
2522 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2523 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if ${ac_cv_prog_CC+:} false; then :
2527 $as_echo_n "(cached) " >&6
2528 else
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC="$CC" # Let the user override the test.
2531 else
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in $PATH
2535 IFS=$as_save_IFS
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 break 2
2543 done
2544 done
2545 IFS=$as_save_IFS
2549 CC=$ac_cv_prog_CC
2550 if test -n "$CC"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2552 $as_echo "$CC" >&6; }
2553 else
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2560 if test -z "$ac_cv_prog_CC"; then
2561 ac_ct_CC=$CC
2562 # Extract the first word of "gcc", so it can be a program name with args.
2563 set dummy gcc; ac_word=$2
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2567 $as_echo_n "(cached) " >&6
2568 else
2569 if test -n "$ac_ct_CC"; then
2570 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2571 else
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2573 for as_dir in $PATH
2575 IFS=$as_save_IFS
2576 test -z "$as_dir" && as_dir=.
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2579 ac_cv_prog_ac_ct_CC="gcc"
2580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 break 2
2583 done
2584 done
2585 IFS=$as_save_IFS
2589 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2590 if test -n "$ac_ct_CC"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2592 $as_echo "$ac_ct_CC" >&6; }
2593 else
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2595 $as_echo "no" >&6; }
2598 if test "x$ac_ct_CC" = x; then
2599 CC=""
2600 else
2601 case $cross_compiling:$ac_tool_warned in
2602 yes:)
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2605 ac_tool_warned=yes ;;
2606 esac
2607 CC=$ac_ct_CC
2609 else
2610 CC="$ac_cv_prog_CC"
2613 if test -z "$CC"; then
2614 if test -n "$ac_tool_prefix"; then
2615 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2616 set dummy ${ac_tool_prefix}cc; ac_word=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if ${ac_cv_prog_CC+:} false; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 if test -n "$CC"; then
2623 ac_cv_prog_CC="$CC" # Let the user override the test.
2624 else
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH
2628 IFS=$as_save_IFS
2629 test -z "$as_dir" && as_dir=.
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2632 ac_cv_prog_CC="${ac_tool_prefix}cc"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 break 2
2636 done
2637 done
2638 IFS=$as_save_IFS
2642 CC=$ac_cv_prog_CC
2643 if test -n "$CC"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2645 $as_echo "$CC" >&6; }
2646 else
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2654 if test -z "$CC"; then
2655 # Extract the first word of "cc", so it can be a program name with args.
2656 set dummy cc; ac_word=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if ${ac_cv_prog_CC+:} false; then :
2660 $as_echo_n "(cached) " >&6
2661 else
2662 if test -n "$CC"; then
2663 ac_cv_prog_CC="$CC" # Let the user override the test.
2664 else
2665 ac_prog_rejected=no
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 for as_dir in $PATH
2669 IFS=$as_save_IFS
2670 test -z "$as_dir" && as_dir=.
2671 for ac_exec_ext in '' $ac_executable_extensions; do
2672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2673 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2674 ac_prog_rejected=yes
2675 continue
2677 ac_cv_prog_CC="cc"
2678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 break 2
2681 done
2682 done
2683 IFS=$as_save_IFS
2685 if test $ac_prog_rejected = yes; then
2686 # We found a bogon in the path, so make sure we never use it.
2687 set dummy $ac_cv_prog_CC
2688 shift
2689 if test $# != 0; then
2690 # We chose a different compiler from the bogus one.
2691 # However, it has the same basename, so the bogon will be chosen
2692 # first if we set CC to just the basename; use the full file name.
2693 shift
2694 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2699 CC=$ac_cv_prog_CC
2700 if test -n "$CC"; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2702 $as_echo "$CC" >&6; }
2703 else
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2705 $as_echo "no" >&6; }
2710 if test -z "$CC"; then
2711 if test -n "$ac_tool_prefix"; then
2712 for ac_prog in cl.exe
2714 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2715 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if ${ac_cv_prog_CC+:} false; then :
2719 $as_echo_n "(cached) " >&6
2720 else
2721 if test -n "$CC"; then
2722 ac_cv_prog_CC="$CC" # Let the user override the test.
2723 else
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 for as_dir in $PATH
2727 IFS=$as_save_IFS
2728 test -z "$as_dir" && as_dir=.
2729 for ac_exec_ext in '' $ac_executable_extensions; do
2730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2731 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 break 2
2735 done
2736 done
2737 IFS=$as_save_IFS
2741 CC=$ac_cv_prog_CC
2742 if test -n "$CC"; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2744 $as_echo "$CC" >&6; }
2745 else
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2747 $as_echo "no" >&6; }
2751 test -n "$CC" && break
2752 done
2754 if test -z "$CC"; then
2755 ac_ct_CC=$CC
2756 for ac_prog in cl.exe
2758 # Extract the first word of "$ac_prog", so it can be a program name with args.
2759 set dummy $ac_prog; ac_word=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761 $as_echo_n "checking for $ac_word... " >&6; }
2762 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2763 $as_echo_n "(cached) " >&6
2764 else
2765 if test -n "$ac_ct_CC"; then
2766 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2767 else
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769 for as_dir in $PATH
2771 IFS=$as_save_IFS
2772 test -z "$as_dir" && as_dir=.
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2775 ac_cv_prog_ac_ct_CC="$ac_prog"
2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 break 2
2779 done
2780 done
2781 IFS=$as_save_IFS
2785 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2786 if test -n "$ac_ct_CC"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2788 $as_echo "$ac_ct_CC" >&6; }
2789 else
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2795 test -n "$ac_ct_CC" && break
2796 done
2798 if test "x$ac_ct_CC" = x; then
2799 CC=""
2800 else
2801 case $cross_compiling:$ac_tool_warned in
2802 yes:)
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2805 ac_tool_warned=yes ;;
2806 esac
2807 CC=$ac_ct_CC
2814 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 as_fn_error $? "no acceptable C compiler found in \$PATH
2817 See \`config.log' for more details" "$LINENO" 5; }
2819 # Provide some information about the compiler.
2820 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2821 set X $ac_compile
2822 ac_compiler=$2
2823 for ac_option in --version -v -V -qversion; do
2824 { { ac_try="$ac_compiler $ac_option >&5"
2825 case "(($ac_try" in
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2828 esac
2829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2830 $as_echo "$ac_try_echo"; } >&5
2831 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2832 ac_status=$?
2833 if test -s conftest.err; then
2834 sed '10a\
2835 ... rest of stderr output deleted ...
2836 10q' conftest.err >conftest.er1
2837 cat conftest.er1 >&5
2839 rm -f conftest.er1 conftest.err
2840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2841 test $ac_status = 0; }
2842 done
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2848 main ()
2852 return 0;
2854 _ACEOF
2855 ac_clean_files_save=$ac_clean_files
2856 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2857 # Try to create an executable without -o first, disregard a.out.
2858 # It will help us diagnose broken compilers, and finding out an intuition
2859 # of exeext.
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2861 $as_echo_n "checking whether the C compiler works... " >&6; }
2862 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2864 # The possible output files:
2865 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2867 ac_rmfiles=
2868 for ac_file in $ac_files
2870 case $ac_file in
2871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2872 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2873 esac
2874 done
2875 rm -f $ac_rmfiles
2877 if { { ac_try="$ac_link_default"
2878 case "(($ac_try" in
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2881 esac
2882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2883 $as_echo "$ac_try_echo"; } >&5
2884 (eval "$ac_link_default") 2>&5
2885 ac_status=$?
2886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2887 test $ac_status = 0; }; then :
2888 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2889 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2890 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2891 # so that the user can short-circuit this test for compilers unknown to
2892 # Autoconf.
2893 for ac_file in $ac_files ''
2895 test -f "$ac_file" || continue
2896 case $ac_file in
2897 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2899 [ab].out )
2900 # We found the default executable, but exeext='' is most
2901 # certainly right.
2902 break;;
2903 *.* )
2904 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2905 then :; else
2906 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2908 # We set ac_cv_exeext here because the later test for it is not
2909 # safe: cross compilers may not add the suffix if given an `-o'
2910 # argument, so we may need to know it at that point already.
2911 # Even if this section looks crufty: it has the advantage of
2912 # actually working.
2913 break;;
2915 break;;
2916 esac
2917 done
2918 test "$ac_cv_exeext" = no && ac_cv_exeext=
2920 else
2921 ac_file=''
2923 if test -z "$ac_file"; then :
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2926 $as_echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2931 as_fn_error 77 "C compiler cannot create executables
2932 See \`config.log' for more details" "$LINENO" 5; }
2933 else
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2935 $as_echo "yes" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2938 $as_echo_n "checking for C compiler default output file name... " >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2940 $as_echo "$ac_file" >&6; }
2941 ac_exeext=$ac_cv_exeext
2943 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2944 ac_clean_files=$ac_clean_files_save
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2946 $as_echo_n "checking for suffix of executables... " >&6; }
2947 if { { ac_try="$ac_link"
2948 case "(($ac_try" in
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2951 esac
2952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2953 $as_echo "$ac_try_echo"; } >&5
2954 (eval "$ac_link") 2>&5
2955 ac_status=$?
2956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2957 test $ac_status = 0; }; then :
2958 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2959 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2960 # work properly (i.e., refer to `conftest.exe'), while it won't with
2961 # `rm'.
2962 for ac_file in conftest.exe conftest conftest.*; do
2963 test -f "$ac_file" || continue
2964 case $ac_file in
2965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2966 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2967 break;;
2968 * ) break;;
2969 esac
2970 done
2971 else
2972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2975 See \`config.log' for more details" "$LINENO" 5; }
2977 rm -f conftest conftest$ac_cv_exeext
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2979 $as_echo "$ac_cv_exeext" >&6; }
2981 rm -f conftest.$ac_ext
2982 EXEEXT=$ac_cv_exeext
2983 ac_exeext=$EXEEXT
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2986 #include <stdio.h>
2988 main ()
2990 FILE *f = fopen ("conftest.out", "w");
2991 return ferror (f) || fclose (f) != 0;
2994 return 0;
2996 _ACEOF
2997 ac_clean_files="$ac_clean_files conftest.out"
2998 # Check that the compiler produces executables we can run. If not, either
2999 # the compiler is broken, or we cross compile.
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3001 $as_echo_n "checking whether we are cross compiling... " >&6; }
3002 if test "$cross_compiling" != yes; then
3003 { { ac_try="$ac_link"
3004 case "(($ac_try" in
3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3007 esac
3008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3009 $as_echo "$ac_try_echo"; } >&5
3010 (eval "$ac_link") 2>&5
3011 ac_status=$?
3012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3013 test $ac_status = 0; }
3014 if { ac_try='./conftest$ac_cv_exeext'
3015 { { case "(($ac_try" in
3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017 *) ac_try_echo=$ac_try;;
3018 esac
3019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3020 $as_echo "$ac_try_echo"; } >&5
3021 (eval "$ac_try") 2>&5
3022 ac_status=$?
3023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3024 test $ac_status = 0; }; }; then
3025 cross_compiling=no
3026 else
3027 if test "$cross_compiling" = maybe; then
3028 cross_compiling=yes
3029 else
3030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3032 as_fn_error $? "cannot run C compiled programs.
3033 If you meant to cross compile, use \`--host'.
3034 See \`config.log' for more details" "$LINENO" 5; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3039 $as_echo "$cross_compiling" >&6; }
3041 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3042 ac_clean_files=$ac_clean_files_save
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3044 $as_echo_n "checking for suffix of object files... " >&6; }
3045 if ${ac_cv_objext+:} false; then :
3046 $as_echo_n "(cached) " >&6
3047 else
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3052 main ()
3056 return 0;
3058 _ACEOF
3059 rm -f conftest.o conftest.obj
3060 if { { ac_try="$ac_compile"
3061 case "(($ac_try" in
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3064 esac
3065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
3067 (eval "$ac_compile") 2>&5
3068 ac_status=$?
3069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3070 test $ac_status = 0; }; then :
3071 for ac_file in conftest.o conftest.obj conftest.*; do
3072 test -f "$ac_file" || continue;
3073 case $ac_file in
3074 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3075 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3076 break;;
3077 esac
3078 done
3079 else
3080 $as_echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.$ac_ext >&5
3083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3085 as_fn_error $? "cannot compute suffix of object files: cannot compile
3086 See \`config.log' for more details" "$LINENO" 5; }
3088 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3091 $as_echo "$ac_cv_objext" >&6; }
3092 OBJEXT=$ac_cv_objext
3093 ac_objext=$OBJEXT
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3095 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3096 if ${ac_cv_c_compiler_gnu+:} false; then :
3097 $as_echo_n "(cached) " >&6
3098 else
3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100 /* end confdefs.h. */
3103 main ()
3105 #ifndef __GNUC__
3106 choke me
3107 #endif
3110 return 0;
3112 _ACEOF
3113 if ac_fn_c_try_compile "$LINENO"; then :
3114 ac_compiler_gnu=yes
3115 else
3116 ac_compiler_gnu=no
3118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3119 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3123 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3124 if test $ac_compiler_gnu = yes; then
3125 GCC=yes
3126 else
3127 GCC=
3129 ac_test_CFLAGS=${CFLAGS+set}
3130 ac_save_CFLAGS=$CFLAGS
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3132 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3133 if ${ac_cv_prog_cc_g+:} false; then :
3134 $as_echo_n "(cached) " >&6
3135 else
3136 ac_save_c_werror_flag=$ac_c_werror_flag
3137 ac_c_werror_flag=yes
3138 ac_cv_prog_cc_g=no
3139 CFLAGS="-g"
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3144 main ()
3148 return 0;
3150 _ACEOF
3151 if ac_fn_c_try_compile "$LINENO"; then :
3152 ac_cv_prog_cc_g=yes
3153 else
3154 CFLAGS=""
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3159 main ()
3163 return 0;
3165 _ACEOF
3166 if ac_fn_c_try_compile "$LINENO"; then :
3168 else
3169 ac_c_werror_flag=$ac_save_c_werror_flag
3170 CFLAGS="-g"
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3175 main ()
3179 return 0;
3181 _ACEOF
3182 if ac_fn_c_try_compile "$LINENO"; then :
3183 ac_cv_prog_cc_g=yes
3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3190 ac_c_werror_flag=$ac_save_c_werror_flag
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3193 $as_echo "$ac_cv_prog_cc_g" >&6; }
3194 if test "$ac_test_CFLAGS" = set; then
3195 CFLAGS=$ac_save_CFLAGS
3196 elif test $ac_cv_prog_cc_g = yes; then
3197 if test "$GCC" = yes; then
3198 CFLAGS="-g -O2"
3199 else
3200 CFLAGS="-g"
3202 else
3203 if test "$GCC" = yes; then
3204 CFLAGS="-O2"
3205 else
3206 CFLAGS=
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3210 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3211 if ${ac_cv_prog_cc_c89+:} false; then :
3212 $as_echo_n "(cached) " >&6
3213 else
3214 ac_cv_prog_cc_c89=no
3215 ac_save_CC=$CC
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3218 #include <stdarg.h>
3219 #include <stdio.h>
3220 struct stat;
3221 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3222 struct buf { int x; };
3223 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3224 static char *e (p, i)
3225 char **p;
3226 int i;
3228 return p[i];
3230 static char *f (char * (*g) (char **, int), char **p, ...)
3232 char *s;
3233 va_list v;
3234 va_start (v,p);
3235 s = g (p, va_arg (v,int));
3236 va_end (v);
3237 return s;
3240 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3241 function prototypes and stuff, but not '\xHH' hex character constants.
3242 These don't provoke an error unfortunately, instead are silently treated
3243 as 'x'. The following induces an error, until -std is added to get
3244 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3245 array size at least. It's necessary to write '\x00'==0 to get something
3246 that's true only with -std. */
3247 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3249 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3250 inside strings and character constants. */
3251 #define FOO(x) 'x'
3252 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3254 int test (int i, double x);
3255 struct s1 {int (*f) (int a);};
3256 struct s2 {int (*f) (double a);};
3257 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3258 int argc;
3259 char **argv;
3261 main ()
3263 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3265 return 0;
3267 _ACEOF
3268 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3269 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3271 CC="$ac_save_CC $ac_arg"
3272 if ac_fn_c_try_compile "$LINENO"; then :
3273 ac_cv_prog_cc_c89=$ac_arg
3275 rm -f core conftest.err conftest.$ac_objext
3276 test "x$ac_cv_prog_cc_c89" != "xno" && break
3277 done
3278 rm -f conftest.$ac_ext
3279 CC=$ac_save_CC
3282 # AC_CACHE_VAL
3283 case "x$ac_cv_prog_cc_c89" in
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3286 $as_echo "none needed" >&6; } ;;
3287 xno)
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3289 $as_echo "unsupported" >&6; } ;;
3291 CC="$CC $ac_cv_prog_cc_c89"
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3293 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3294 esac
3295 if test "x$ac_cv_prog_cc_c89" != xno; then :
3299 ac_ext=c
3300 ac_cpp='$CPP $CPPFLAGS'
3301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3305 ac_ext=c
3306 ac_cpp='$CPP $CPPFLAGS'
3307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3311 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3312 if ${am_cv_prog_cc_c_o+:} false; then :
3313 $as_echo_n "(cached) " >&6
3314 else
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3319 main ()
3323 return 0;
3325 _ACEOF
3326 # Make sure it works both with $CC and with simple cc.
3327 # Following AC_PROG_CC_C_O, we do the test twice because some
3328 # compilers refuse to overwrite an existing .o file with -o,
3329 # though they will create one.
3330 am_cv_prog_cc_c_o=yes
3331 for am_i in 1 2; do
3332 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3333 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3334 ac_status=$?
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } \
3337 && test -f conftest2.$ac_objext; then
3338 : OK
3339 else
3340 am_cv_prog_cc_c_o=no
3341 break
3343 done
3344 rm -f core conftest*
3345 unset am_i
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3348 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3349 if test "$am_cv_prog_cc_c_o" != yes; then
3350 # Losing compiler, so override with the script.
3351 # FIXME: It is wrong to rewrite CC.
3352 # But if we don't then we get into trouble of one sort or another.
3353 # A longer-term fix would be to have automake use am__CC in this case,
3354 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3355 CC="$am_aux_dir/compile $CC"
3357 ac_ext=c
3358 ac_cpp='$CPP $CPPFLAGS'
3359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3365 ac_ext=c
3366 ac_cpp='$CPP $CPPFLAGS'
3367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3371 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3372 # On Suns, sometimes $CPP names a directory.
3373 if test -n "$CPP" && test -d "$CPP"; then
3374 CPP=
3376 if test -z "$CPP"; then
3377 if ${ac_cv_prog_CPP+:} false; then :
3378 $as_echo_n "(cached) " >&6
3379 else
3380 # Double quotes because CPP needs to be expanded
3381 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3383 ac_preproc_ok=false
3384 for ac_c_preproc_warn_flag in '' yes
3386 # Use a header file that comes with gcc, so configuring glibc
3387 # with a fresh cross-compiler works.
3388 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3389 # <limits.h> exists even on freestanding compilers.
3390 # On the NeXT, cc -E runs the code through the compiler's parser,
3391 # not just through cpp. "Syntax error" is here to catch this case.
3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3394 #ifdef __STDC__
3395 # include <limits.h>
3396 #else
3397 # include <assert.h>
3398 #endif
3399 Syntax error
3400 _ACEOF
3401 if ac_fn_c_try_cpp "$LINENO"; then :
3403 else
3404 # Broken: fails on valid input.
3405 continue
3407 rm -f conftest.err conftest.i conftest.$ac_ext
3409 # OK, works on sane cases. Now check whether nonexistent headers
3410 # can be detected and how.
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3413 #include <ac_nonexistent.h>
3414 _ACEOF
3415 if ac_fn_c_try_cpp "$LINENO"; then :
3416 # Broken: success on invalid input.
3417 continue
3418 else
3419 # Passes both tests.
3420 ac_preproc_ok=:
3421 break
3423 rm -f conftest.err conftest.i conftest.$ac_ext
3425 done
3426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3427 rm -f conftest.i conftest.err conftest.$ac_ext
3428 if $ac_preproc_ok; then :
3429 break
3432 done
3433 ac_cv_prog_CPP=$CPP
3436 CPP=$ac_cv_prog_CPP
3437 else
3438 ac_cv_prog_CPP=$CPP
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3441 $as_echo "$CPP" >&6; }
3442 ac_preproc_ok=false
3443 for ac_c_preproc_warn_flag in '' yes
3445 # Use a header file that comes with gcc, so configuring glibc
3446 # with a fresh cross-compiler works.
3447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3448 # <limits.h> exists even on freestanding compilers.
3449 # On the NeXT, cc -E runs the code through the compiler's parser,
3450 # not just through cpp. "Syntax error" is here to catch this case.
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3453 #ifdef __STDC__
3454 # include <limits.h>
3455 #else
3456 # include <assert.h>
3457 #endif
3458 Syntax error
3459 _ACEOF
3460 if ac_fn_c_try_cpp "$LINENO"; then :
3462 else
3463 # Broken: fails on valid input.
3464 continue
3466 rm -f conftest.err conftest.i conftest.$ac_ext
3468 # OK, works on sane cases. Now check whether nonexistent headers
3469 # can be detected and how.
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3472 #include <ac_nonexistent.h>
3473 _ACEOF
3474 if ac_fn_c_try_cpp "$LINENO"; then :
3475 # Broken: success on invalid input.
3476 continue
3477 else
3478 # Passes both tests.
3479 ac_preproc_ok=:
3480 break
3482 rm -f conftest.err conftest.i conftest.$ac_ext
3484 done
3485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3486 rm -f conftest.i conftest.err conftest.$ac_ext
3487 if $ac_preproc_ok; then :
3489 else
3490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3492 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3493 See \`config.log' for more details" "$LINENO" 5; }
3496 ac_ext=c
3497 ac_cpp='$CPP $CPPFLAGS'
3498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3504 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3505 if ${ac_cv_path_GREP+:} false; then :
3506 $as_echo_n "(cached) " >&6
3507 else
3508 if test -z "$GREP"; then
3509 ac_path_GREP_found=false
3510 # Loop through the user's path and test for each of PROGNAME-LIST
3511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3512 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3514 IFS=$as_save_IFS
3515 test -z "$as_dir" && as_dir=.
3516 for ac_prog in grep ggrep; do
3517 for ac_exec_ext in '' $ac_executable_extensions; do
3518 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3519 as_fn_executable_p "$ac_path_GREP" || continue
3520 # Check for GNU ac_path_GREP and select it if it is found.
3521 # Check for GNU $ac_path_GREP
3522 case `"$ac_path_GREP" --version 2>&1` in
3523 *GNU*)
3524 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3526 ac_count=0
3527 $as_echo_n 0123456789 >"conftest.in"
3528 while :
3530 cat "conftest.in" "conftest.in" >"conftest.tmp"
3531 mv "conftest.tmp" "conftest.in"
3532 cp "conftest.in" "conftest.nl"
3533 $as_echo 'GREP' >> "conftest.nl"
3534 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3535 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3536 as_fn_arith $ac_count + 1 && ac_count=$as_val
3537 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3538 # Best one so far, save it but keep looking for a better one
3539 ac_cv_path_GREP="$ac_path_GREP"
3540 ac_path_GREP_max=$ac_count
3542 # 10*(2^10) chars as input seems more than enough
3543 test $ac_count -gt 10 && break
3544 done
3545 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3546 esac
3548 $ac_path_GREP_found && break 3
3549 done
3550 done
3551 done
3552 IFS=$as_save_IFS
3553 if test -z "$ac_cv_path_GREP"; then
3554 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3556 else
3557 ac_cv_path_GREP=$GREP
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3562 $as_echo "$ac_cv_path_GREP" >&6; }
3563 GREP="$ac_cv_path_GREP"
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3567 $as_echo_n "checking for egrep... " >&6; }
3568 if ${ac_cv_path_EGREP+:} false; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3572 then ac_cv_path_EGREP="$GREP -E"
3573 else
3574 if test -z "$EGREP"; then
3575 ac_path_EGREP_found=false
3576 # Loop through the user's path and test for each of PROGNAME-LIST
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3580 IFS=$as_save_IFS
3581 test -z "$as_dir" && as_dir=.
3582 for ac_prog in egrep; do
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3585 as_fn_executable_p "$ac_path_EGREP" || continue
3586 # Check for GNU ac_path_EGREP and select it if it is found.
3587 # Check for GNU $ac_path_EGREP
3588 case `"$ac_path_EGREP" --version 2>&1` in
3589 *GNU*)
3590 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3592 ac_count=0
3593 $as_echo_n 0123456789 >"conftest.in"
3594 while :
3596 cat "conftest.in" "conftest.in" >"conftest.tmp"
3597 mv "conftest.tmp" "conftest.in"
3598 cp "conftest.in" "conftest.nl"
3599 $as_echo 'EGREP' >> "conftest.nl"
3600 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3601 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3602 as_fn_arith $ac_count + 1 && ac_count=$as_val
3603 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3604 # Best one so far, save it but keep looking for a better one
3605 ac_cv_path_EGREP="$ac_path_EGREP"
3606 ac_path_EGREP_max=$ac_count
3608 # 10*(2^10) chars as input seems more than enough
3609 test $ac_count -gt 10 && break
3610 done
3611 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3612 esac
3614 $ac_path_EGREP_found && break 3
3615 done
3616 done
3617 done
3618 IFS=$as_save_IFS
3619 if test -z "$ac_cv_path_EGREP"; then
3620 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3622 else
3623 ac_cv_path_EGREP=$EGREP
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3629 $as_echo "$ac_cv_path_EGREP" >&6; }
3630 EGREP="$ac_cv_path_EGREP"
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3634 $as_echo_n "checking for ANSI C header files... " >&6; }
3635 if ${ac_cv_header_stdc+:} false; then :
3636 $as_echo_n "(cached) " >&6
3637 else
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3640 #include <stdlib.h>
3641 #include <stdarg.h>
3642 #include <string.h>
3643 #include <float.h>
3646 main ()
3650 return 0;
3652 _ACEOF
3653 if ac_fn_c_try_compile "$LINENO"; then :
3654 ac_cv_header_stdc=yes
3655 else
3656 ac_cv_header_stdc=no
3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3660 if test $ac_cv_header_stdc = yes; then
3661 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3664 #include <string.h>
3666 _ACEOF
3667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3668 $EGREP "memchr" >/dev/null 2>&1; then :
3670 else
3671 ac_cv_header_stdc=no
3673 rm -f conftest*
3677 if test $ac_cv_header_stdc = yes; then
3678 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3681 #include <stdlib.h>
3683 _ACEOF
3684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3685 $EGREP "free" >/dev/null 2>&1; then :
3687 else
3688 ac_cv_header_stdc=no
3690 rm -f conftest*
3694 if test $ac_cv_header_stdc = yes; then
3695 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3696 if test "$cross_compiling" = yes; then :
3698 else
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3701 #include <ctype.h>
3702 #include <stdlib.h>
3703 #if ((' ' & 0x0FF) == 0x020)
3704 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3705 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3706 #else
3707 # define ISLOWER(c) \
3708 (('a' <= (c) && (c) <= 'i') \
3709 || ('j' <= (c) && (c) <= 'r') \
3710 || ('s' <= (c) && (c) <= 'z'))
3711 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3712 #endif
3714 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3716 main ()
3718 int i;
3719 for (i = 0; i < 256; i++)
3720 if (XOR (islower (i), ISLOWER (i))
3721 || toupper (i) != TOUPPER (i))
3722 return 2;
3723 return 0;
3725 _ACEOF
3726 if ac_fn_c_try_run "$LINENO"; then :
3728 else
3729 ac_cv_header_stdc=no
3731 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3732 conftest.$ac_objext conftest.beam conftest.$ac_ext
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3738 $as_echo "$ac_cv_header_stdc" >&6; }
3739 if test $ac_cv_header_stdc = yes; then
3741 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3745 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3746 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3747 inttypes.h stdint.h unistd.h
3748 do :
3749 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3750 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3752 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3753 cat >>confdefs.h <<_ACEOF
3754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3755 _ACEOF
3759 done
3763 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3764 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3765 MINIX=yes
3766 else
3767 MINIX=
3771 if test "$MINIX" = yes; then
3773 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3776 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3779 $as_echo "#define _MINIX 1" >>confdefs.h
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3785 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3786 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3787 $as_echo_n "(cached) " >&6
3788 else
3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3790 /* end confdefs.h. */
3792 # define __EXTENSIONS__ 1
3793 $ac_includes_default
3795 main ()
3799 return 0;
3801 _ACEOF
3802 if ac_fn_c_try_compile "$LINENO"; then :
3803 ac_cv_safe_to_define___extensions__=yes
3804 else
3805 ac_cv_safe_to_define___extensions__=no
3807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3810 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3811 test $ac_cv_safe_to_define___extensions__ = yes &&
3812 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3814 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3816 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3818 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3820 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3824 am__api_version='1.15'
3826 # Find a good install program. We prefer a C program (faster),
3827 # so one script is as good as another. But avoid the broken or
3828 # incompatible versions:
3829 # SysV /etc/install, /usr/sbin/install
3830 # SunOS /usr/etc/install
3831 # IRIX /sbin/install
3832 # AIX /bin/install
3833 # AmigaOS /C/install, which installs bootblocks on floppy discs
3834 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3835 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3836 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3837 # OS/2's system install, which has a completely different semantic
3838 # ./install, which can be erroneously created by make from ./install.sh.
3839 # Reject install programs that cannot install multiple files.
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3841 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3842 if test -z "$INSTALL"; then
3843 if ${ac_cv_path_install+:} false; then :
3844 $as_echo_n "(cached) " >&6
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 # Account for people who put trailing slashes in PATH elements.
3852 case $as_dir/ in #((
3853 ./ | .// | /[cC]/* | \
3854 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3855 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3856 /usr/ucb/* ) ;;
3858 # OSF1 and SCO ODT 3.0 have their own names for install.
3859 # Don't use installbsd from OSF since it installs stuff as root
3860 # by default.
3861 for ac_prog in ginstall scoinst install; do
3862 for ac_exec_ext in '' $ac_executable_extensions; do
3863 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3864 if test $ac_prog = install &&
3865 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3866 # AIX install. It has an incompatible calling convention.
3868 elif test $ac_prog = install &&
3869 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3870 # program-specific install script used by HP pwplus--don't use.
3872 else
3873 rm -rf conftest.one conftest.two conftest.dir
3874 echo one > conftest.one
3875 echo two > conftest.two
3876 mkdir conftest.dir
3877 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3878 test -s conftest.one && test -s conftest.two &&
3879 test -s conftest.dir/conftest.one &&
3880 test -s conftest.dir/conftest.two
3881 then
3882 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3883 break 3
3887 done
3888 done
3890 esac
3892 done
3893 IFS=$as_save_IFS
3895 rm -rf conftest.one conftest.two conftest.dir
3898 if test "${ac_cv_path_install+set}" = set; then
3899 INSTALL=$ac_cv_path_install
3900 else
3901 # As a last resort, use the slow shell script. Don't cache a
3902 # value for INSTALL within a source directory, because that will
3903 # break other packages using the cache if that directory is
3904 # removed, or if the value is a relative name.
3905 INSTALL=$ac_install_sh
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3909 $as_echo "$INSTALL" >&6; }
3911 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3912 # It thinks the first close brace ends the variable substitution.
3913 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3915 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3917 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3920 $as_echo_n "checking whether build environment is sane... " >&6; }
3921 # Reject unsafe characters in $srcdir or the absolute working directory
3922 # name. Accept space and tab only in the latter.
3923 am_lf='
3925 case `pwd` in
3926 *[\\\"\#\$\&\'\`$am_lf]*)
3927 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3928 esac
3929 case $srcdir in
3930 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3931 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3932 esac
3934 # Do 'set' in a subshell so we don't clobber the current shell's
3935 # arguments. Must try -L first in case configure is actually a
3936 # symlink; some systems play weird games with the mod time of symlinks
3937 # (eg FreeBSD returns the mod time of the symlink's containing
3938 # directory).
3939 if (
3940 am_has_slept=no
3941 for am_try in 1 2; do
3942 echo "timestamp, slept: $am_has_slept" > conftest.file
3943 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3944 if test "$*" = "X"; then
3945 # -L didn't work.
3946 set X `ls -t "$srcdir/configure" conftest.file`
3948 if test "$*" != "X $srcdir/configure conftest.file" \
3949 && test "$*" != "X conftest.file $srcdir/configure"; then
3951 # If neither matched, then we have a broken ls. This can happen
3952 # if, for instance, CONFIG_SHELL is bash and it inherits a
3953 # broken ls alias from the environment. This has actually
3954 # happened. Such a system could not be considered "sane".
3955 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3956 alias in your environment" "$LINENO" 5
3958 if test "$2" = conftest.file || test $am_try -eq 2; then
3959 break
3961 # Just in case.
3962 sleep 1
3963 am_has_slept=yes
3964 done
3965 test "$2" = conftest.file
3967 then
3968 # Ok.
3970 else
3971 as_fn_error $? "newly created file is older than distributed files!
3972 Check your system clock" "$LINENO" 5
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3975 $as_echo "yes" >&6; }
3976 # If we didn't sleep, we still need to ensure time stamps of config.status and
3977 # generated files are strictly newer.
3978 am_sleep_pid=
3979 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3980 ( sleep 1 ) &
3981 am_sleep_pid=$!
3984 rm -f conftest.file
3986 test "$program_prefix" != NONE &&
3987 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3988 # Use a double $ so make ignores it.
3989 test "$program_suffix" != NONE &&
3990 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3991 # Double any \ or $.
3992 # By default was `s,x,x', remove it if useless.
3993 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3994 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3996 if test x"${MISSING+set}" != xset; then
3997 case $am_aux_dir in
3998 *\ * | *\ *)
3999 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4001 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4002 esac
4004 # Use eval to expand $SHELL
4005 if eval "$MISSING --is-lightweight"; then
4006 am_missing_run="$MISSING "
4007 else
4008 am_missing_run=
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4010 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4013 if test x"${install_sh+set}" != xset; then
4014 case $am_aux_dir in
4015 *\ * | *\ *)
4016 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4018 install_sh="\${SHELL} $am_aux_dir/install-sh"
4019 esac
4022 # Installed binaries are usually stripped using 'strip' when the user
4023 # run "make install-strip". However 'strip' might not be the right
4024 # tool to use in cross-compilation environments, therefore Automake
4025 # will honor the 'STRIP' environment variable to overrule this program.
4026 if test "$cross_compiling" != no; then
4027 if test -n "$ac_tool_prefix"; then
4028 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4029 set dummy ${ac_tool_prefix}strip; ac_word=$2
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if ${ac_cv_prog_STRIP+:} false; then :
4033 $as_echo_n "(cached) " >&6
4034 else
4035 if test -n "$STRIP"; then
4036 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4037 else
4038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4039 for as_dir in $PATH
4041 IFS=$as_save_IFS
4042 test -z "$as_dir" && as_dir=.
4043 for ac_exec_ext in '' $ac_executable_extensions; do
4044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4045 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 break 2
4049 done
4050 done
4051 IFS=$as_save_IFS
4055 STRIP=$ac_cv_prog_STRIP
4056 if test -n "$STRIP"; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4058 $as_echo "$STRIP" >&6; }
4059 else
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4066 if test -z "$ac_cv_prog_STRIP"; then
4067 ac_ct_STRIP=$STRIP
4068 # Extract the first word of "strip", so it can be a program name with args.
4069 set dummy strip; ac_word=$2
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4071 $as_echo_n "checking for $ac_word... " >&6; }
4072 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4073 $as_echo_n "(cached) " >&6
4074 else
4075 if test -n "$ac_ct_STRIP"; then
4076 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4077 else
4078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079 for as_dir in $PATH
4081 IFS=$as_save_IFS
4082 test -z "$as_dir" && as_dir=.
4083 for ac_exec_ext in '' $ac_executable_extensions; do
4084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4085 ac_cv_prog_ac_ct_STRIP="strip"
4086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 break 2
4089 done
4090 done
4091 IFS=$as_save_IFS
4095 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4096 if test -n "$ac_ct_STRIP"; then
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4098 $as_echo "$ac_ct_STRIP" >&6; }
4099 else
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4101 $as_echo "no" >&6; }
4104 if test "x$ac_ct_STRIP" = x; then
4105 STRIP=":"
4106 else
4107 case $cross_compiling:$ac_tool_warned in
4108 yes:)
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4111 ac_tool_warned=yes ;;
4112 esac
4113 STRIP=$ac_ct_STRIP
4115 else
4116 STRIP="$ac_cv_prog_STRIP"
4120 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4123 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4124 if test -z "$MKDIR_P"; then
4125 if ${ac_cv_path_mkdir+:} false; then :
4126 $as_echo_n "(cached) " >&6
4127 else
4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4129 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4131 IFS=$as_save_IFS
4132 test -z "$as_dir" && as_dir=.
4133 for ac_prog in mkdir gmkdir; do
4134 for ac_exec_ext in '' $ac_executable_extensions; do
4135 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4136 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4137 'mkdir (GNU coreutils) '* | \
4138 'mkdir (coreutils) '* | \
4139 'mkdir (fileutils) '4.1*)
4140 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4141 break 3;;
4142 esac
4143 done
4144 done
4145 done
4146 IFS=$as_save_IFS
4150 test -d ./--version && rmdir ./--version
4151 if test "${ac_cv_path_mkdir+set}" = set; then
4152 MKDIR_P="$ac_cv_path_mkdir -p"
4153 else
4154 # As a last resort, use the slow shell script. Don't cache a
4155 # value for MKDIR_P within a source directory, because that will
4156 # break other packages using the cache if that directory is
4157 # removed, or if the value is a relative name.
4158 MKDIR_P="$ac_install_sh -d"
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4162 $as_echo "$MKDIR_P" >&6; }
4164 for ac_prog in gawk mawk nawk awk
4166 # Extract the first word of "$ac_prog", so it can be a program name with args.
4167 set dummy $ac_prog; ac_word=$2
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4169 $as_echo_n "checking for $ac_word... " >&6; }
4170 if ${ac_cv_prog_AWK+:} false; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4173 if test -n "$AWK"; then
4174 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4175 else
4176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 for as_dir in $PATH
4179 IFS=$as_save_IFS
4180 test -z "$as_dir" && as_dir=.
4181 for ac_exec_ext in '' $ac_executable_extensions; do
4182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4183 ac_cv_prog_AWK="$ac_prog"
4184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 break 2
4187 done
4188 done
4189 IFS=$as_save_IFS
4193 AWK=$ac_cv_prog_AWK
4194 if test -n "$AWK"; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4196 $as_echo "$AWK" >&6; }
4197 else
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199 $as_echo "no" >&6; }
4203 test -n "$AWK" && break
4204 done
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4207 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4208 set x ${MAKE-make}
4209 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4210 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 cat >conftest.make <<\_ACEOF
4214 SHELL = /bin/sh
4215 all:
4216 @echo '@@@%%%=$(MAKE)=@@@%%%'
4217 _ACEOF
4218 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4219 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4220 *@@@%%%=?*=@@@%%%*)
4221 eval ac_cv_prog_make_${ac_make}_set=yes;;
4223 eval ac_cv_prog_make_${ac_make}_set=no;;
4224 esac
4225 rm -f conftest.make
4227 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4229 $as_echo "yes" >&6; }
4230 SET_MAKE=
4231 else
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4233 $as_echo "no" >&6; }
4234 SET_MAKE="MAKE=${MAKE-make}"
4237 rm -rf .tst 2>/dev/null
4238 mkdir .tst 2>/dev/null
4239 if test -d .tst; then
4240 am__leading_dot=.
4241 else
4242 am__leading_dot=_
4244 rmdir .tst 2>/dev/null
4246 DEPDIR="${am__leading_dot}deps"
4248 ac_config_commands="$ac_config_commands depfiles"
4251 am_make=${MAKE-make}
4252 cat > confinc << 'END'
4253 am__doit:
4254 @echo this is the am__doit target
4255 .PHONY: am__doit
4257 # If we don't find an include directive, just comment out the code.
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4259 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4260 am__include="#"
4261 am__quote=
4262 _am_result=none
4263 # First try GNU make style include.
4264 echo "include confinc" > confmf
4265 # Ignore all kinds of additional output from 'make'.
4266 case `$am_make -s -f confmf 2> /dev/null` in #(
4267 *the\ am__doit\ target*)
4268 am__include=include
4269 am__quote=
4270 _am_result=GNU
4272 esac
4273 # Now try BSD make style include.
4274 if test "$am__include" = "#"; then
4275 echo '.include "confinc"' > confmf
4276 case `$am_make -s -f confmf 2> /dev/null` in #(
4277 *the\ am__doit\ target*)
4278 am__include=.include
4279 am__quote="\""
4280 _am_result=BSD
4282 esac
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4287 $as_echo "$_am_result" >&6; }
4288 rm -f confinc confmf
4290 # Check whether --enable-dependency-tracking was given.
4291 if test "${enable_dependency_tracking+set}" = set; then :
4292 enableval=$enable_dependency_tracking;
4295 if test "x$enable_dependency_tracking" != xno; then
4296 am_depcomp="$ac_aux_dir/depcomp"
4297 AMDEPBACKSLASH='\'
4298 am__nodep='_no'
4300 if test "x$enable_dependency_tracking" != xno; then
4301 AMDEP_TRUE=
4302 AMDEP_FALSE='#'
4303 else
4304 AMDEP_TRUE='#'
4305 AMDEP_FALSE=
4309 # Check whether --enable-silent-rules was given.
4310 if test "${enable_silent_rules+set}" = set; then :
4311 enableval=$enable_silent_rules;
4314 case $enable_silent_rules in # (((
4315 yes) AM_DEFAULT_VERBOSITY=0;;
4316 no) AM_DEFAULT_VERBOSITY=1;;
4317 *) AM_DEFAULT_VERBOSITY=1;;
4318 esac
4319 am_make=${MAKE-make}
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4321 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4322 if ${am_cv_make_support_nested_variables+:} false; then :
4323 $as_echo_n "(cached) " >&6
4324 else
4325 if $as_echo 'TRUE=$(BAR$(V))
4326 BAR0=false
4327 BAR1=true
4329 am__doit:
4330 @$(TRUE)
4331 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4332 am_cv_make_support_nested_variables=yes
4333 else
4334 am_cv_make_support_nested_variables=no
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4338 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4339 if test $am_cv_make_support_nested_variables = yes; then
4340 AM_V='$(V)'
4341 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4342 else
4343 AM_V=$AM_DEFAULT_VERBOSITY
4344 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4346 AM_BACKSLASH='\'
4348 # Check whether --enable-compiler-warnings was given.
4349 if test "${enable_compiler_warnings+set}" = set; then :
4350 enableval=$enable_compiler_warnings;
4352 case $enable_compiler_warnings in #(
4353 no | min | yes | max | all) :
4354 ;; #(
4355 *) :
4356 if test "x$enable_maintainer_mode" = xyes; then :
4357 enable_compiler_warnings=yes
4358 else
4359 enable_compiler_warnings=min
4360 fi ;;
4361 esac
4364 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4365 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4366 # is not polluted with repeated "-I."
4367 am__isrc=' -I$(srcdir)'
4368 # test to see if srcdir already configured
4369 if test -f $srcdir/config.status; then
4370 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4374 # test whether we have cygpath
4375 if test -z "$CYGPATH_W"; then
4376 if (cygpath --version) >/dev/null 2>/dev/null; then
4377 CYGPATH_W='cygpath -w'
4378 else
4379 CYGPATH_W=echo
4384 # Define the identity of the package.
4385 PACKAGE='cairo--tex-live-'
4386 VERSION='1.14.6'
4389 cat >>confdefs.h <<_ACEOF
4390 #define PACKAGE "$PACKAGE"
4391 _ACEOF
4394 cat >>confdefs.h <<_ACEOF
4395 #define VERSION "$VERSION"
4396 _ACEOF
4398 # Some tools Automake needs.
4400 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4403 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4406 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4409 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4412 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4414 # For better backward compatibility. To be removed once Automake 1.9.x
4415 # dies out for good. For more background, see:
4416 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4417 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4418 mkdir_p='$(MKDIR_P)'
4420 # We need awk for the "check" target (and possibly the TAP driver). The
4421 # system "awk" is bad on some platforms.
4422 # Always define AMTAR for backward compatibility. Yes, it's still used
4423 # in the wild :-( We should find a proper way to deprecate it ...
4424 AMTAR='$${TAR-tar}'
4427 # We'll loop over all known methods to create a tar archive until one works.
4428 _am_tools='gnutar pax cpio none'
4430 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4436 depcc="$CC" am_compiler_list=
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4439 $as_echo_n "checking dependency style of $depcc... " >&6; }
4440 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4441 $as_echo_n "(cached) " >&6
4442 else
4443 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4444 # We make a subdir and do the tests there. Otherwise we can end up
4445 # making bogus files that we don't know about and never remove. For
4446 # instance it was reported that on HP-UX the gcc test will end up
4447 # making a dummy file named 'D' -- because '-MD' means "put the output
4448 # in D".
4449 rm -rf conftest.dir
4450 mkdir conftest.dir
4451 # Copy depcomp to subdir because otherwise we won't find it if we're
4452 # using a relative directory.
4453 cp "$am_depcomp" conftest.dir
4454 cd conftest.dir
4455 # We will build objects and dependencies in a subdirectory because
4456 # it helps to detect inapplicable dependency modes. For instance
4457 # both Tru64's cc and ICC support -MD to output dependencies as a
4458 # side effect of compilation, but ICC will put the dependencies in
4459 # the current directory while Tru64 will put them in the object
4460 # directory.
4461 mkdir sub
4463 am_cv_CC_dependencies_compiler_type=none
4464 if test "$am_compiler_list" = ""; then
4465 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4467 am__universal=false
4468 case " $depcc " in #(
4469 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4470 esac
4472 for depmode in $am_compiler_list; do
4473 # Setup a source with many dependencies, because some compilers
4474 # like to wrap large dependency lists on column 80 (with \), and
4475 # we should not choose a depcomp mode which is confused by this.
4477 # We need to recreate these files for each test, as the compiler may
4478 # overwrite some of them when testing with obscure command lines.
4479 # This happens at least with the AIX C compiler.
4480 : > sub/conftest.c
4481 for i in 1 2 3 4 5 6; do
4482 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4483 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4484 # Solaris 10 /bin/sh.
4485 echo '/* dummy */' > sub/conftst$i.h
4486 done
4487 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4489 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4490 # mode. It turns out that the SunPro C++ compiler does not properly
4491 # handle '-M -o', and we need to detect this. Also, some Intel
4492 # versions had trouble with output in subdirs.
4493 am__obj=sub/conftest.${OBJEXT-o}
4494 am__minus_obj="-o $am__obj"
4495 case $depmode in
4496 gcc)
4497 # This depmode causes a compiler race in universal mode.
4498 test "$am__universal" = false || continue
4500 nosideeffect)
4501 # After this tag, mechanisms are not by side-effect, so they'll
4502 # only be used when explicitly requested.
4503 if test "x$enable_dependency_tracking" = xyes; then
4504 continue
4505 else
4506 break
4509 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4510 # This compiler won't grok '-c -o', but also, the minuso test has
4511 # not run yet. These depmodes are late enough in the game, and
4512 # so weak that their functioning should not be impacted.
4513 am__obj=conftest.${OBJEXT-o}
4514 am__minus_obj=
4516 none) break ;;
4517 esac
4518 if depmode=$depmode \
4519 source=sub/conftest.c object=$am__obj \
4520 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4521 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4522 >/dev/null 2>conftest.err &&
4523 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4524 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4525 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4526 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4527 # icc doesn't choke on unknown options, it will just issue warnings
4528 # or remarks (even with -Werror). So we grep stderr for any message
4529 # that says an option was ignored or not supported.
4530 # When given -MP, icc 7.0 and 7.1 complain thusly:
4531 # icc: Command line warning: ignoring option '-M'; no argument required
4532 # The diagnosis changed in icc 8.0:
4533 # icc: Command line remark: option '-MP' not supported
4534 if (grep 'ignoring option' conftest.err ||
4535 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4536 am_cv_CC_dependencies_compiler_type=$depmode
4537 break
4540 done
4542 cd ..
4543 rm -rf conftest.dir
4544 else
4545 am_cv_CC_dependencies_compiler_type=none
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4550 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4551 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4554 test "x$enable_dependency_tracking" != xno \
4555 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4556 am__fastdepCC_TRUE=
4557 am__fastdepCC_FALSE='#'
4558 else
4559 am__fastdepCC_TRUE='#'
4560 am__fastdepCC_FALSE=
4565 # POSIX will say in a future version that running "rm -f" with no argument
4566 # is OK; and we want to be able to make that assumption in our Makefile
4567 # recipes. So use an aggressive probe to check that the usage we want is
4568 # actually supported "in the wild" to an acceptable degree.
4569 # See automake bug#10828.
4570 # To make any issue more visible, cause the running configure to be aborted
4571 # by default if the 'rm' program in use doesn't match our expectations; the
4572 # user can still override this though.
4573 if rm -f && rm -fr && rm -rf; then : OK; else
4574 cat >&2 <<'END'
4575 Oops!
4577 Your 'rm' program seems unable to run without file operands specified
4578 on the command line, even when the '-f' option is present. This is contrary
4579 to the behaviour of most rm programs out there, and not conforming with
4580 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4582 Please tell bug-automake@gnu.org about your system, including the value
4583 of your $PATH and any error possibly output before this message. This
4584 can help us improve future automake versions.
4587 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4588 echo 'Configuration will proceed anyway, since you have set the' >&2
4589 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4590 echo >&2
4591 else
4592 cat >&2 <<'END'
4593 Aborting the configuration process, to ensure you take notice of the issue.
4595 You can download and install GNU coreutils to get an 'rm' implementation
4596 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4598 If you want to complete the configuration process using your problematic
4599 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4600 to "yes", and re-run configure.
4603 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4609 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4610 # Check whether --enable-maintainer-mode was given.
4611 if test "${enable_maintainer_mode+set}" = set; then :
4612 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4613 else
4614 USE_MAINTAINER_MODE=no
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4618 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4619 if test $USE_MAINTAINER_MODE = yes; then
4620 MAINTAINER_MODE_TRUE=
4621 MAINTAINER_MODE_FALSE='#'
4622 else
4623 MAINTAINER_MODE_TRUE='#'
4624 MAINTAINER_MODE_FALSE=
4627 MAINT=$MAINTAINER_MODE_TRUE
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4631 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4632 if ${kb_cv_c_prototypes+:} false; then :
4633 $as_echo_n "(cached) " >&6
4634 else
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4637 #include <stdarg.h>
4639 main ()
4641 extern void foo(int i,...);
4643 return 0;
4645 _ACEOF
4646 if ac_fn_c_try_link "$LINENO"; then :
4647 kb_cv_c_prototypes=yes
4648 else
4649 kb_cv_c_prototypes=no
4651 rm -f core conftest.err conftest.$ac_objext \
4652 conftest$ac_exeext conftest.$ac_ext
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4655 $as_echo "$kb_cv_c_prototypes" >&6; }
4656 if test "x$kb_cv_c_prototypes" = xno; then
4657 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4660 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4661 if ${kpse_cv_warning_cflags+:} false; then :
4662 $as_echo_n "(cached) " >&6
4663 else
4664 if test "x$GCC" = xyes; then
4665 kpse_cv_warning_cflags=
4666 if test "x$enable_compiler_warnings" != xno; then
4667 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4668 case `$CC -dumpversion` in #(
4669 3.4.* | 4.* | 5.*) :
4670 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4671 *) :
4673 esac
4674 case `$CC -dumpversion` in #(
4675 3.[234].* | 4.* | 5.*) :
4676 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4677 *) :
4679 esac
4680 if test "x$enable_compiler_warnings" != xmin; then
4681 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4682 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4683 if test "x$enable_compiler_warnings" != xyes; then
4684 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4685 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4686 case `$CC -dumpversion` in #(
4687 3.4.* | 4.* | 5.*) :
4688 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4689 *) :
4691 esac
4692 if test "x$enable_compiler_warnings" != xmax; then
4693 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4698 elif test "x$enable_compiler_warnings" = xno; then
4699 kpse_cv_warning_cflags=
4700 else
4701 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4705 $as_echo "$kpse_cv_warning_cflags" >&6; }
4706 WARNING_CFLAGS=$kpse_cv_warning_cflags
4715 ac_ext=c
4716 ac_cpp='$CPP $CPPFLAGS'
4717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4720 if test -n "$ac_tool_prefix"; then
4721 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4722 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4724 $as_echo_n "checking for $ac_word... " >&6; }
4725 if ${ac_cv_prog_CC+:} false; then :
4726 $as_echo_n "(cached) " >&6
4727 else
4728 if test -n "$CC"; then
4729 ac_cv_prog_CC="$CC" # Let the user override the test.
4730 else
4731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4732 for as_dir in $PATH
4734 IFS=$as_save_IFS
4735 test -z "$as_dir" && as_dir=.
4736 for ac_exec_ext in '' $ac_executable_extensions; do
4737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4738 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4740 break 2
4742 done
4743 done
4744 IFS=$as_save_IFS
4748 CC=$ac_cv_prog_CC
4749 if test -n "$CC"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4751 $as_echo "$CC" >&6; }
4752 else
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4759 if test -z "$ac_cv_prog_CC"; then
4760 ac_ct_CC=$CC
4761 # Extract the first word of "gcc", so it can be a program name with args.
4762 set dummy gcc; ac_word=$2
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764 $as_echo_n "checking for $ac_word... " >&6; }
4765 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4766 $as_echo_n "(cached) " >&6
4767 else
4768 if test -n "$ac_ct_CC"; then
4769 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4770 else
4771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 for as_dir in $PATH
4774 IFS=$as_save_IFS
4775 test -z "$as_dir" && as_dir=.
4776 for ac_exec_ext in '' $ac_executable_extensions; do
4777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4778 ac_cv_prog_ac_ct_CC="gcc"
4779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4780 break 2
4782 done
4783 done
4784 IFS=$as_save_IFS
4788 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4789 if test -n "$ac_ct_CC"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4791 $as_echo "$ac_ct_CC" >&6; }
4792 else
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4797 if test "x$ac_ct_CC" = x; then
4798 CC=""
4799 else
4800 case $cross_compiling:$ac_tool_warned in
4801 yes:)
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4804 ac_tool_warned=yes ;;
4805 esac
4806 CC=$ac_ct_CC
4808 else
4809 CC="$ac_cv_prog_CC"
4812 if test -z "$CC"; then
4813 if test -n "$ac_tool_prefix"; then
4814 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4815 set dummy ${ac_tool_prefix}cc; ac_word=$2
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4817 $as_echo_n "checking for $ac_word... " >&6; }
4818 if ${ac_cv_prog_CC+:} false; then :
4819 $as_echo_n "(cached) " >&6
4820 else
4821 if test -n "$CC"; then
4822 ac_cv_prog_CC="$CC" # Let the user override the test.
4823 else
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 for as_dir in $PATH
4827 IFS=$as_save_IFS
4828 test -z "$as_dir" && as_dir=.
4829 for ac_exec_ext in '' $ac_executable_extensions; do
4830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4831 ac_cv_prog_CC="${ac_tool_prefix}cc"
4832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4833 break 2
4835 done
4836 done
4837 IFS=$as_save_IFS
4841 CC=$ac_cv_prog_CC
4842 if test -n "$CC"; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4844 $as_echo "$CC" >&6; }
4845 else
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 $as_echo "no" >&6; }
4853 if test -z "$CC"; then
4854 # Extract the first word of "cc", so it can be a program name with args.
4855 set dummy cc; ac_word=$2
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4857 $as_echo_n "checking for $ac_word... " >&6; }
4858 if ${ac_cv_prog_CC+:} false; then :
4859 $as_echo_n "(cached) " >&6
4860 else
4861 if test -n "$CC"; then
4862 ac_cv_prog_CC="$CC" # Let the user override the test.
4863 else
4864 ac_prog_rejected=no
4865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4866 for as_dir in $PATH
4868 IFS=$as_save_IFS
4869 test -z "$as_dir" && as_dir=.
4870 for ac_exec_ext in '' $ac_executable_extensions; do
4871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4872 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4873 ac_prog_rejected=yes
4874 continue
4876 ac_cv_prog_CC="cc"
4877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878 break 2
4880 done
4881 done
4882 IFS=$as_save_IFS
4884 if test $ac_prog_rejected = yes; then
4885 # We found a bogon in the path, so make sure we never use it.
4886 set dummy $ac_cv_prog_CC
4887 shift
4888 if test $# != 0; then
4889 # We chose a different compiler from the bogus one.
4890 # However, it has the same basename, so the bogon will be chosen
4891 # first if we set CC to just the basename; use the full file name.
4892 shift
4893 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4898 CC=$ac_cv_prog_CC
4899 if test -n "$CC"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4901 $as_echo "$CC" >&6; }
4902 else
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }
4909 if test -z "$CC"; then
4910 if test -n "$ac_tool_prefix"; then
4911 for ac_prog in cl.exe
4913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 $as_echo_n "checking for $ac_word... " >&6; }
4917 if ${ac_cv_prog_CC+:} false; then :
4918 $as_echo_n "(cached) " >&6
4919 else
4920 if test -n "$CC"; then
4921 ac_cv_prog_CC="$CC" # Let the user override the test.
4922 else
4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924 for as_dir in $PATH
4926 IFS=$as_save_IFS
4927 test -z "$as_dir" && as_dir=.
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4930 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 break 2
4934 done
4935 done
4936 IFS=$as_save_IFS
4940 CC=$ac_cv_prog_CC
4941 if test -n "$CC"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4943 $as_echo "$CC" >&6; }
4944 else
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4950 test -n "$CC" && break
4951 done
4953 if test -z "$CC"; then
4954 ac_ct_CC=$CC
4955 for ac_prog in cl.exe
4957 # Extract the first word of "$ac_prog", so it can be a program name with args.
4958 set dummy $ac_prog; ac_word=$2
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 $as_echo_n "checking for $ac_word... " >&6; }
4961 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 if test -n "$ac_ct_CC"; then
4965 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4966 else
4967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 for as_dir in $PATH
4970 IFS=$as_save_IFS
4971 test -z "$as_dir" && as_dir=.
4972 for ac_exec_ext in '' $ac_executable_extensions; do
4973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4974 ac_cv_prog_ac_ct_CC="$ac_prog"
4975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4976 break 2
4978 done
4979 done
4980 IFS=$as_save_IFS
4984 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4985 if test -n "$ac_ct_CC"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4987 $as_echo "$ac_ct_CC" >&6; }
4988 else
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4994 test -n "$ac_ct_CC" && break
4995 done
4997 if test "x$ac_ct_CC" = x; then
4998 CC=""
4999 else
5000 case $cross_compiling:$ac_tool_warned in
5001 yes:)
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5004 ac_tool_warned=yes ;;
5005 esac
5006 CC=$ac_ct_CC
5013 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5015 as_fn_error $? "no acceptable C compiler found in \$PATH
5016 See \`config.log' for more details" "$LINENO" 5; }
5018 # Provide some information about the compiler.
5019 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5020 set X $ac_compile
5021 ac_compiler=$2
5022 for ac_option in --version -v -V -qversion; do
5023 { { ac_try="$ac_compiler $ac_option >&5"
5024 case "(($ac_try" in
5025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5026 *) ac_try_echo=$ac_try;;
5027 esac
5028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5029 $as_echo "$ac_try_echo"; } >&5
5030 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5031 ac_status=$?
5032 if test -s conftest.err; then
5033 sed '10a\
5034 ... rest of stderr output deleted ...
5035 10q' conftest.err >conftest.er1
5036 cat conftest.er1 >&5
5038 rm -f conftest.er1 conftest.err
5039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5040 test $ac_status = 0; }
5041 done
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5044 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5045 if ${ac_cv_c_compiler_gnu+:} false; then :
5046 $as_echo_n "(cached) " >&6
5047 else
5048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5052 main ()
5054 #ifndef __GNUC__
5055 choke me
5056 #endif
5059 return 0;
5061 _ACEOF
5062 if ac_fn_c_try_compile "$LINENO"; then :
5063 ac_compiler_gnu=yes
5064 else
5065 ac_compiler_gnu=no
5067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5072 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5073 if test $ac_compiler_gnu = yes; then
5074 GCC=yes
5075 else
5076 GCC=
5078 ac_test_CFLAGS=${CFLAGS+set}
5079 ac_save_CFLAGS=$CFLAGS
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5081 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5082 if ${ac_cv_prog_cc_g+:} false; then :
5083 $as_echo_n "(cached) " >&6
5084 else
5085 ac_save_c_werror_flag=$ac_c_werror_flag
5086 ac_c_werror_flag=yes
5087 ac_cv_prog_cc_g=no
5088 CFLAGS="-g"
5089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5090 /* end confdefs.h. */
5093 main ()
5097 return 0;
5099 _ACEOF
5100 if ac_fn_c_try_compile "$LINENO"; then :
5101 ac_cv_prog_cc_g=yes
5102 else
5103 CFLAGS=""
5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h. */
5108 main ()
5112 return 0;
5114 _ACEOF
5115 if ac_fn_c_try_compile "$LINENO"; then :
5117 else
5118 ac_c_werror_flag=$ac_save_c_werror_flag
5119 CFLAGS="-g"
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5124 main ()
5128 return 0;
5130 _ACEOF
5131 if ac_fn_c_try_compile "$LINENO"; then :
5132 ac_cv_prog_cc_g=yes
5134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5139 ac_c_werror_flag=$ac_save_c_werror_flag
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5142 $as_echo "$ac_cv_prog_cc_g" >&6; }
5143 if test "$ac_test_CFLAGS" = set; then
5144 CFLAGS=$ac_save_CFLAGS
5145 elif test $ac_cv_prog_cc_g = yes; then
5146 if test "$GCC" = yes; then
5147 CFLAGS="-g -O2"
5148 else
5149 CFLAGS="-g"
5151 else
5152 if test "$GCC" = yes; then
5153 CFLAGS="-O2"
5154 else
5155 CFLAGS=
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5159 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5160 if ${ac_cv_prog_cc_c89+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 ac_cv_prog_cc_c89=no
5164 ac_save_CC=$CC
5165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5167 #include <stdarg.h>
5168 #include <stdio.h>
5169 struct stat;
5170 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5171 struct buf { int x; };
5172 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5173 static char *e (p, i)
5174 char **p;
5175 int i;
5177 return p[i];
5179 static char *f (char * (*g) (char **, int), char **p, ...)
5181 char *s;
5182 va_list v;
5183 va_start (v,p);
5184 s = g (p, va_arg (v,int));
5185 va_end (v);
5186 return s;
5189 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5190 function prototypes and stuff, but not '\xHH' hex character constants.
5191 These don't provoke an error unfortunately, instead are silently treated
5192 as 'x'. The following induces an error, until -std is added to get
5193 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5194 array size at least. It's necessary to write '\x00'==0 to get something
5195 that's true only with -std. */
5196 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5198 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5199 inside strings and character constants. */
5200 #define FOO(x) 'x'
5201 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5203 int test (int i, double x);
5204 struct s1 {int (*f) (int a);};
5205 struct s2 {int (*f) (double a);};
5206 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5207 int argc;
5208 char **argv;
5210 main ()
5212 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5214 return 0;
5216 _ACEOF
5217 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5218 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5220 CC="$ac_save_CC $ac_arg"
5221 if ac_fn_c_try_compile "$LINENO"; then :
5222 ac_cv_prog_cc_c89=$ac_arg
5224 rm -f core conftest.err conftest.$ac_objext
5225 test "x$ac_cv_prog_cc_c89" != "xno" && break
5226 done
5227 rm -f conftest.$ac_ext
5228 CC=$ac_save_CC
5231 # AC_CACHE_VAL
5232 case "x$ac_cv_prog_cc_c89" in
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5235 $as_echo "none needed" >&6; } ;;
5236 xno)
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5238 $as_echo "unsupported" >&6; } ;;
5240 CC="$CC $ac_cv_prog_cc_c89"
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5242 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5243 esac
5244 if test "x$ac_cv_prog_cc_c89" != xno; then :
5248 ac_ext=c
5249 ac_cpp='$CPP $CPPFLAGS'
5250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5254 ac_ext=c
5255 ac_cpp='$CPP $CPPFLAGS'
5256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5260 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5261 if ${am_cv_prog_cc_c_o+:} false; then :
5262 $as_echo_n "(cached) " >&6
5263 else
5264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5268 main ()
5272 return 0;
5274 _ACEOF
5275 # Make sure it works both with $CC and with simple cc.
5276 # Following AC_PROG_CC_C_O, we do the test twice because some
5277 # compilers refuse to overwrite an existing .o file with -o,
5278 # though they will create one.
5279 am_cv_prog_cc_c_o=yes
5280 for am_i in 1 2; do
5281 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5282 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5283 ac_status=$?
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); } \
5286 && test -f conftest2.$ac_objext; then
5287 : OK
5288 else
5289 am_cv_prog_cc_c_o=no
5290 break
5292 done
5293 rm -f core conftest*
5294 unset am_i
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5297 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5298 if test "$am_cv_prog_cc_c_o" != yes; then
5299 # Losing compiler, so override with the script.
5300 # FIXME: It is wrong to rewrite CC.
5301 # But if we don't then we get into trouble of one sort or another.
5302 # A longer-term fix would be to have automake use am__CC in this case,
5303 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5304 CC="$am_aux_dir/compile $CC"
5306 ac_ext=c
5307 ac_cpp='$CPP $CPPFLAGS'
5308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5313 if test -n "$ac_tool_prefix"; then
5314 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5315 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5317 $as_echo_n "checking for $ac_word... " >&6; }
5318 if ${ac_cv_prog_RANLIB+:} false; then :
5319 $as_echo_n "(cached) " >&6
5320 else
5321 if test -n "$RANLIB"; then
5322 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5323 else
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 for as_dir in $PATH
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5331 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 break 2
5335 done
5336 done
5337 IFS=$as_save_IFS
5341 RANLIB=$ac_cv_prog_RANLIB
5342 if test -n "$RANLIB"; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5344 $as_echo "$RANLIB" >&6; }
5345 else
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5347 $as_echo "no" >&6; }
5352 if test -z "$ac_cv_prog_RANLIB"; then
5353 ac_ct_RANLIB=$RANLIB
5354 # Extract the first word of "ranlib", so it can be a program name with args.
5355 set dummy ranlib; ac_word=$2
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5357 $as_echo_n "checking for $ac_word... " >&6; }
5358 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5359 $as_echo_n "(cached) " >&6
5360 else
5361 if test -n "$ac_ct_RANLIB"; then
5362 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5363 else
5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 for as_dir in $PATH
5367 IFS=$as_save_IFS
5368 test -z "$as_dir" && as_dir=.
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5371 ac_cv_prog_ac_ct_RANLIB="ranlib"
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 break 2
5375 done
5376 done
5377 IFS=$as_save_IFS
5381 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5382 if test -n "$ac_ct_RANLIB"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5384 $as_echo "$ac_ct_RANLIB" >&6; }
5385 else
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387 $as_echo "no" >&6; }
5390 if test "x$ac_ct_RANLIB" = x; then
5391 RANLIB=":"
5392 else
5393 case $cross_compiling:$ac_tool_warned in
5394 yes:)
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5397 ac_tool_warned=yes ;;
5398 esac
5399 RANLIB=$ac_ct_RANLIB
5401 else
5402 RANLIB="$ac_cv_prog_RANLIB"
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5406 $as_echo_n "checking whether ln -s works... " >&6; }
5407 LN_S=$as_ln_s
5408 if test "$LN_S" = "ln -s"; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5410 $as_echo "yes" >&6; }
5411 else
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5413 $as_echo "no, using $LN_S" >&6; }
5416 case $host_os in
5417 darwin*)
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5422 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5423 if ${ac_cv_c_bigendian+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 ac_cv_c_bigendian=unknown
5427 # See if we're dealing with a universal compiler.
5428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5429 /* end confdefs.h. */
5430 #ifndef __APPLE_CC__
5431 not a universal capable compiler
5432 #endif
5433 typedef int dummy;
5435 _ACEOF
5436 if ac_fn_c_try_compile "$LINENO"; then :
5438 # Check for potential -arch flags. It is not universal unless
5439 # there are at least two -arch flags with different values.
5440 ac_arch=
5441 ac_prev=
5442 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5443 if test -n "$ac_prev"; then
5444 case $ac_word in
5445 i?86 | x86_64 | ppc | ppc64)
5446 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5447 ac_arch=$ac_word
5448 else
5449 ac_cv_c_bigendian=universal
5450 break
5453 esac
5454 ac_prev=
5455 elif test "x$ac_word" = "x-arch"; then
5456 ac_prev=arch
5458 done
5460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5461 if test $ac_cv_c_bigendian = unknown; then
5462 # See if sys/param.h defines the BYTE_ORDER macro.
5463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5464 /* end confdefs.h. */
5465 #include <sys/types.h>
5466 #include <sys/param.h>
5469 main ()
5471 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5472 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5473 && LITTLE_ENDIAN)
5474 bogus endian macros
5475 #endif
5478 return 0;
5480 _ACEOF
5481 if ac_fn_c_try_compile "$LINENO"; then :
5482 # It does; now see whether it defined to BIG_ENDIAN or not.
5483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5484 /* end confdefs.h. */
5485 #include <sys/types.h>
5486 #include <sys/param.h>
5489 main ()
5491 #if BYTE_ORDER != BIG_ENDIAN
5492 not big endian
5493 #endif
5496 return 0;
5498 _ACEOF
5499 if ac_fn_c_try_compile "$LINENO"; then :
5500 ac_cv_c_bigendian=yes
5501 else
5502 ac_cv_c_bigendian=no
5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5508 if test $ac_cv_c_bigendian = unknown; then
5509 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5511 /* end confdefs.h. */
5512 #include <limits.h>
5515 main ()
5517 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5518 bogus endian macros
5519 #endif
5522 return 0;
5524 _ACEOF
5525 if ac_fn_c_try_compile "$LINENO"; then :
5526 # It does; now see whether it defined to _BIG_ENDIAN or not.
5527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5528 /* end confdefs.h. */
5529 #include <limits.h>
5532 main ()
5534 #ifndef _BIG_ENDIAN
5535 not big endian
5536 #endif
5539 return 0;
5541 _ACEOF
5542 if ac_fn_c_try_compile "$LINENO"; then :
5543 ac_cv_c_bigendian=yes
5544 else
5545 ac_cv_c_bigendian=no
5547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5551 if test $ac_cv_c_bigendian = unknown; then
5552 # Compile a test program.
5553 if test "$cross_compiling" = yes; then :
5554 # Try to guess by grepping values from an object file.
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5557 short int ascii_mm[] =
5558 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5559 short int ascii_ii[] =
5560 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5561 int use_ascii (int i) {
5562 return ascii_mm[i] + ascii_ii[i];
5564 short int ebcdic_ii[] =
5565 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5566 short int ebcdic_mm[] =
5567 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5568 int use_ebcdic (int i) {
5569 return ebcdic_mm[i] + ebcdic_ii[i];
5571 extern int foo;
5574 main ()
5576 return use_ascii (foo) == use_ebcdic (foo);
5578 return 0;
5580 _ACEOF
5581 if ac_fn_c_try_compile "$LINENO"; then :
5582 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5583 ac_cv_c_bigendian=yes
5585 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5586 if test "$ac_cv_c_bigendian" = unknown; then
5587 ac_cv_c_bigendian=no
5588 else
5589 # finding both strings is unlikely to happen, but who knows?
5590 ac_cv_c_bigendian=unknown
5594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5595 else
5596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5598 $ac_includes_default
5600 main ()
5603 /* Are we little or big endian? From Harbison&Steele. */
5604 union
5606 long int l;
5607 char c[sizeof (long int)];
5608 } u;
5609 u.l = 1;
5610 return u.c[sizeof (long int) - 1] == 1;
5613 return 0;
5615 _ACEOF
5616 if ac_fn_c_try_run "$LINENO"; then :
5617 ac_cv_c_bigendian=no
5618 else
5619 ac_cv_c_bigendian=yes
5621 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5622 conftest.$ac_objext conftest.beam conftest.$ac_ext
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5628 $as_echo "$ac_cv_c_bigendian" >&6; }
5629 case $ac_cv_c_bigendian in #(
5630 yes)
5631 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5632 ;; #(
5634 ;; #(
5635 universal)
5637 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5639 ;; #(
5641 as_fn_error $? "unknown endianness
5642 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5643 esac
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether float word ordering is bigendian" >&5
5646 $as_echo_n "checking whether float word ordering is bigendian... " >&6; }
5647 if ${ax_cv_c_float_words_bigendian+:} false; then :
5648 $as_echo_n "(cached) " >&6
5649 else
5652 # The endianess is detected by first compiling C code that contains a special
5653 # double float value, then grepping the resulting object file for certain
5654 # strings of ascii values. The double is specially crafted to have a
5655 # binary representation that corresponds with a simple string. In this
5656 # implementation, the string "noonsees" was selected because the individual
5657 # word values ("noon" and "sees") are palindromes, thus making this test
5658 # byte-order agnostic. If grep finds the string "noonsees" in the object
5659 # file, the target platform stores float words in big-endian order. If grep
5660 # finds "seesnoon", float words are in little-endian order. If neither value
5661 # is found, the user is instructed to specify the ordering.
5663 ax_cv_c_float_words_bigendian=unknown
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5668 double d = 90904234967036810337470478905505011476211692735615632014797120844053488865816695273723469097858056257517020191247487429516932130503560650002327564517570778480236724525140520121371739201496540132640109977779420565776568942592.0;
5671 _ACEOF
5672 if ac_fn_c_try_compile "$LINENO"; then :
5675 if strings - conftest.$ac_objext | grep noonsees >/dev/null ; then
5676 ax_cv_c_float_words_bigendian=yes
5678 if strings - conftest.$ac_objext | grep seesnoon >/dev/null ; then
5679 if test "$ax_cv_c_float_words_bigendian" = unknown; then
5680 ax_cv_c_float_words_bigendian=no
5681 else
5682 ax_cv_c_float_words_bigendian=unknown
5688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_float_words_bigendian" >&5
5691 $as_echo "$ax_cv_c_float_words_bigendian" >&6; }
5693 case $ax_cv_c_float_words_bigendian in
5694 yes)
5696 $as_echo "#define FLOAT_WORDS_BIGENDIAN 1" >>confdefs.h
5701 as_fn_error $? "
5703 Unknown float word ordering. You need to manually preset
5704 ax_cv_c_float_words_bigendian=no (or yes) according to your system.
5706 " "$LINENO" 5 ;;
5707 esac
5711 esac
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for C to hide external symbols" >&5
5715 $as_echo_n "checking CFLAGS for C to hide external symbols... " >&6; }
5716 if ${kpse_cv_visibility_cflags+:} false; then :
5717 $as_echo_n "(cached) " >&6
5718 else
5719 ac_ext=c
5720 ac_cpp='$CPP $CPPFLAGS'
5721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5725 kpse_cv_visibility_cflags=unknown
5726 kpse_save_flags=$CFLAGS
5727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5728 /* end confdefs.h. */
5729 #include <stdio.h>
5730 extern void foo(void);
5731 void foo(void){printf("foo\n");}
5732 _ACEOF
5733 # FIXME: Add tests for non-GNU compilers
5734 for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
5735 CFLAGS="$kpse_save_flags -Werror $kpse_flag"
5736 if ac_fn_c_try_compile "$LINENO"; then :
5737 kpse_cv_visibility_cflags=$kpse_flag; break
5739 rm -f core conftest.err conftest.$ac_objext
5740 done
5741 ac_ext=c
5742 ac_cpp='$CPP $CPPFLAGS'
5743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cflags" >&5
5750 $as_echo "$kpse_cv_visibility_cflags" >&6; }
5751 CFLAGS=$kpse_save_flags
5752 case $kpse_cv_visibility_cflags in #(
5753 unknown) :
5754 ;; #(
5755 *) :
5756 VISIBILITY_CFLAGS=$kpse_cv_visibility_cflags
5758 esac
5764 cairo_attribute_flag=
5765 if test "x$GCC" = xyes; then
5766 case `$CC -dumpversion` in #(
5767 4.[01].* ) :
5768 ;; #(
5769 4.* | 5.*) :
5770 cairo_attribute_flag=-Wno-attributes ;; #(
5771 *) :
5773 esac
5775 CAIRO_ATTRIBUTE_FLAG=$cairo_attribute_flag
5778 # The cast to long int works around a bug in the HP C Compiler
5779 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5780 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5781 # This bug is HP SR number 8606223364.
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
5783 $as_echo_n "checking size of void *... " >&6; }
5784 if ${ac_cv_sizeof_void_p+:} false; then :
5785 $as_echo_n "(cached) " >&6
5786 else
5787 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
5789 else
5790 if test "$ac_cv_type_void_p" = yes; then
5791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5793 as_fn_error 77 "cannot compute sizeof (void *)
5794 See \`config.log' for more details" "$LINENO" 5; }
5795 else
5796 ac_cv_sizeof_void_p=0
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
5802 $as_echo "$ac_cv_sizeof_void_p" >&6; }
5806 cat >>confdefs.h <<_ACEOF
5807 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
5808 _ACEOF
5811 # The cast to long int works around a bug in the HP C Compiler
5812 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5813 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5814 # This bug is HP SR number 8606223364.
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5816 $as_echo_n "checking size of int... " >&6; }
5817 if ${ac_cv_sizeof_int+:} false; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
5822 else
5823 if test "$ac_cv_type_int" = yes; then
5824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5826 as_fn_error 77 "cannot compute sizeof (int)
5827 See \`config.log' for more details" "$LINENO" 5; }
5828 else
5829 ac_cv_sizeof_int=0
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5835 $as_echo "$ac_cv_sizeof_int" >&6; }
5839 cat >>confdefs.h <<_ACEOF
5840 #define SIZEOF_INT $ac_cv_sizeof_int
5841 _ACEOF
5844 # The cast to long int works around a bug in the HP C Compiler
5845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5847 # This bug is HP SR number 8606223364.
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5849 $as_echo_n "checking size of long... " >&6; }
5850 if ${ac_cv_sizeof_long+:} false; then :
5851 $as_echo_n "(cached) " >&6
5852 else
5853 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
5855 else
5856 if test "$ac_cv_type_long" = yes; then
5857 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5859 as_fn_error 77 "cannot compute sizeof (long)
5860 See \`config.log' for more details" "$LINENO" 5; }
5861 else
5862 ac_cv_sizeof_long=0
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5868 $as_echo "$ac_cv_sizeof_long" >&6; }
5872 cat >>confdefs.h <<_ACEOF
5873 #define SIZEOF_LONG $ac_cv_sizeof_long
5874 _ACEOF
5877 # The cast to long int works around a bug in the HP C Compiler
5878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5880 # This bug is HP SR number 8606223364.
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
5882 $as_echo_n "checking size of long long... " >&6; }
5883 if ${ac_cv_sizeof_long_long+:} false; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
5888 else
5889 if test "$ac_cv_type_long_long" = yes; then
5890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5892 as_fn_error 77 "cannot compute sizeof (long long)
5893 See \`config.log' for more details" "$LINENO" 5; }
5894 else
5895 ac_cv_sizeof_long_long=0
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
5901 $as_echo "$ac_cv_sizeof_long_long" >&6; }
5905 cat >>confdefs.h <<_ACEOF
5906 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5907 _ACEOF
5910 # The cast to long int works around a bug in the HP C Compiler
5911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5913 # This bug is HP SR number 8606223364.
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
5915 $as_echo_n "checking size of size_t... " >&6; }
5916 if ${ac_cv_sizeof_size_t+:} false; then :
5917 $as_echo_n "(cached) " >&6
5918 else
5919 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
5921 else
5922 if test "$ac_cv_type_size_t" = yes; then
5923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5925 as_fn_error 77 "cannot compute sizeof (size_t)
5926 See \`config.log' for more details" "$LINENO" 5; }
5927 else
5928 ac_cv_sizeof_size_t=0
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
5934 $as_echo "$ac_cv_sizeof_size_t" >&6; }
5938 cat >>confdefs.h <<_ACEOF
5939 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
5940 _ACEOF
5944 for ac_header in sys/int_types.h
5945 do :
5946 ac_fn_c_check_header_mongrel "$LINENO" "sys/int_types.h" "ac_cv_header_sys_int_types_h" "$ac_includes_default"
5947 if test "x$ac_cv_header_sys_int_types_h" = xyes; then :
5948 cat >>confdefs.h <<_ACEOF
5949 #define HAVE_SYS_INT_TYPES_H 1
5950 _ACEOF
5954 done
5956 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
5957 if test "x$ac_cv_type_uint64_t" = xyes; then :
5959 cat >>confdefs.h <<_ACEOF
5960 #define HAVE_UINT64_T 1
5961 _ACEOF
5965 ac_fn_c_check_type "$LINENO" "uint128_t" "ac_cv_type_uint128_t" "$ac_includes_default"
5966 if test "x$ac_cv_type_uint128_t" = xyes; then :
5968 cat >>confdefs.h <<_ACEOF
5969 #define HAVE_UINT128_T 1
5970 _ACEOF
5974 ac_fn_c_check_type "$LINENO" "__uint128_t" "ac_cv_type___uint128_t" "$ac_includes_default"
5975 if test "x$ac_cv_type___uint128_t" = xyes; then :
5977 cat >>confdefs.h <<_ACEOF
5978 #define HAVE___UINT128_T 1
5979 _ACEOF
5985 ac_config_headers="$ac_config_headers config.h cairo-features.h"
5988 if test "x$enable_build" != xno; then
5989 build_TRUE=
5990 build_FALSE='#'
5991 else
5992 build_TRUE='#'
5993 build_FALSE=
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
5997 $as_echo_n "checking for library containing sqrt... " >&6; }
5998 if ${ac_cv_search_sqrt+:} false; then :
5999 $as_echo_n "(cached) " >&6
6000 else
6001 ac_func_search_save_LIBS=$LIBS
6002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6003 /* end confdefs.h. */
6005 /* Override any GCC internal prototype to avoid an error.
6006 Use char because int might match the return type of a GCC
6007 builtin and then its argument prototype would still apply. */
6008 #ifdef __cplusplus
6009 extern "C"
6010 #endif
6011 char sqrt ();
6013 main ()
6015 return sqrt ();
6017 return 0;
6019 _ACEOF
6020 for ac_lib in '' m; do
6021 if test -z "$ac_lib"; then
6022 ac_res="none required"
6023 else
6024 ac_res=-l$ac_lib
6025 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6027 if ac_fn_c_try_link "$LINENO"; then :
6028 ac_cv_search_sqrt=$ac_res
6030 rm -f core conftest.err conftest.$ac_objext \
6031 conftest$ac_exeext
6032 if ${ac_cv_search_sqrt+:} false; then :
6033 break
6035 done
6036 if ${ac_cv_search_sqrt+:} false; then :
6038 else
6039 ac_cv_search_sqrt=no
6041 rm conftest.$ac_ext
6042 LIBS=$ac_func_search_save_LIBS
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
6045 $as_echo "$ac_cv_search_sqrt" >&6; }
6046 ac_res=$ac_cv_search_sqrt
6047 if test "$ac_res" != no; then :
6048 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6053 if test "x0" = x1; then
6055 $as_echo "#define CAIRO_HAS_FC_FONT 1" >>confdefs.h
6058 if test "x0" = x1; then
6059 CAIRO_HAS_FC_FONT_TRUE=
6060 CAIRO_HAS_FC_FONT_FALSE='#'
6061 else
6062 CAIRO_HAS_FC_FONT_TRUE='#'
6063 CAIRO_HAS_FC_FONT_FALSE=
6066 if test "x0" = x1; then
6068 $as_echo "#define CAIRO_HAS_FT_FONT 1" >>confdefs.h
6071 if test "x0" = x1; then
6072 CAIRO_HAS_FT_FONT_TRUE=
6073 CAIRO_HAS_FT_FONT_FALSE='#'
6074 else
6075 CAIRO_HAS_FT_FONT_TRUE='#'
6076 CAIRO_HAS_FT_FONT_FALSE=
6079 if test "x0" = x1; then
6081 $as_echo "#define CAIRO_HAS_QUARTZ_FONT 1" >>confdefs.h
6084 if test "x0" = x1; then
6085 CAIRO_HAS_QUARTZ_FONT_TRUE=
6086 CAIRO_HAS_QUARTZ_FONT_FALSE='#'
6087 else
6088 CAIRO_HAS_QUARTZ_FONT_TRUE='#'
6089 CAIRO_HAS_QUARTZ_FONT_FALSE=
6092 if test "x1" = x1; then
6094 $as_echo "#define CAIRO_HAS_USER_FONT 1" >>confdefs.h
6097 if test "x1" = x1; then
6098 CAIRO_HAS_USER_FONT_TRUE=
6099 CAIRO_HAS_USER_FONT_FALSE='#'
6100 else
6101 CAIRO_HAS_USER_FONT_TRUE='#'
6102 CAIRO_HAS_USER_FONT_FALSE=
6105 if test "x0" = x1; then
6107 $as_echo "#define CAIRO_HAS_WIN32_FONT 1" >>confdefs.h
6110 if test "x0" = x1; then
6111 CAIRO_HAS_WIN32_FONT_TRUE=
6112 CAIRO_HAS_WIN32_FONT_FALSE='#'
6113 else
6114 CAIRO_HAS_WIN32_FONT_TRUE='#'
6115 CAIRO_HAS_WIN32_FONT_FALSE=
6118 if test "x0" = x1; then
6120 $as_echo "#define CAIRO_HAS_EGL_FUNCTIONS 1" >>confdefs.h
6123 if test "x0" = x1; then
6124 CAIRO_HAS_EGL_FUNCTIONS_TRUE=
6125 CAIRO_HAS_EGL_FUNCTIONS_FALSE='#'
6126 else
6127 CAIRO_HAS_EGL_FUNCTIONS_TRUE='#'
6128 CAIRO_HAS_EGL_FUNCTIONS_FALSE=
6131 if test "x0" = x1; then
6133 $as_echo "#define CAIRO_HAS_GLX_FUNCTIONS 1" >>confdefs.h
6136 if test "x0" = x1; then
6137 CAIRO_HAS_GLX_FUNCTIONS_TRUE=
6138 CAIRO_HAS_GLX_FUNCTIONS_FALSE='#'
6139 else
6140 CAIRO_HAS_GLX_FUNCTIONS_TRUE='#'
6141 CAIRO_HAS_GLX_FUNCTIONS_FALSE=
6144 if test "x0" = x1; then
6146 $as_echo "#define CAIRO_HAS_GOBJECT_FUNCTIONS 1" >>confdefs.h
6149 if test "x0" = x1; then
6150 CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE=
6151 CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE='#'
6152 else
6153 CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE='#'
6154 CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE=
6157 if test "x0" = x1; then
6159 $as_echo "#define CAIRO_HAS_PNG_FUNCTIONS 1" >>confdefs.h
6162 if test "x0" = x1; then
6163 CAIRO_HAS_PNG_FUNCTIONS_TRUE=
6164 CAIRO_HAS_PNG_FUNCTIONS_FALSE='#'
6165 else
6166 CAIRO_HAS_PNG_FUNCTIONS_TRUE='#'
6167 CAIRO_HAS_PNG_FUNCTIONS_FALSE=
6170 if test "x0" = x1; then
6172 $as_echo "#define CAIRO_HAS_WGL_FUNCTIONS 1" >>confdefs.h
6175 if test "x0" = x1; then
6176 CAIRO_HAS_WGL_FUNCTIONS_TRUE=
6177 CAIRO_HAS_WGL_FUNCTIONS_FALSE='#'
6178 else
6179 CAIRO_HAS_WGL_FUNCTIONS_TRUE='#'
6180 CAIRO_HAS_WGL_FUNCTIONS_FALSE=
6183 if test "x0" = x1; then
6185 $as_echo "#define CAIRO_HAS_WIN32_FUNCTIONS 1" >>confdefs.h
6188 if test "x0" = x1; then
6189 CAIRO_HAS_WIN32_FUNCTIONS_TRUE=
6190 CAIRO_HAS_WIN32_FUNCTIONS_FALSE='#'
6191 else
6192 CAIRO_HAS_WIN32_FUNCTIONS_TRUE='#'
6193 CAIRO_HAS_WIN32_FUNCTIONS_FALSE=
6196 if test "x0" = x1; then
6198 $as_echo "#define CAIRO_HAS_XCB_SHM_FUNCTIONS 1" >>confdefs.h
6201 if test "x0" = x1; then
6202 CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE=
6203 CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE='#'
6204 else
6205 CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE='#'
6206 CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE=
6209 if test "x1" = x1; then
6211 $as_echo "#define CAIRO_HAS_IMAGE_SURFACE 1" >>confdefs.h
6214 if test "x1" = x1; then
6215 CAIRO_HAS_IMAGE_SURFACE_TRUE=
6216 CAIRO_HAS_IMAGE_SURFACE_FALSE='#'
6217 else
6218 CAIRO_HAS_IMAGE_SURFACE_TRUE='#'
6219 CAIRO_HAS_IMAGE_SURFACE_FALSE=
6222 if test "x1" = x1; then
6224 $as_echo "#define CAIRO_HAS_MIME_SURFACE 1" >>confdefs.h
6227 if test "x1" = x1; then
6228 CAIRO_HAS_MIME_SURFACE_TRUE=
6229 CAIRO_HAS_MIME_SURFACE_FALSE='#'
6230 else
6231 CAIRO_HAS_MIME_SURFACE_TRUE='#'
6232 CAIRO_HAS_MIME_SURFACE_FALSE=
6235 if test "x1" = x1; then
6237 $as_echo "#define CAIRO_HAS_OBSERVER_SURFACE 1" >>confdefs.h
6240 if test "x1" = x1; then
6241 CAIRO_HAS_OBSERVER_SURFACE_TRUE=
6242 CAIRO_HAS_OBSERVER_SURFACE_FALSE='#'
6243 else
6244 CAIRO_HAS_OBSERVER_SURFACE_TRUE='#'
6245 CAIRO_HAS_OBSERVER_SURFACE_FALSE=
6248 if test "x1" = x1; then
6250 $as_echo "#define CAIRO_HAS_RECORDING_SURFACE 1" >>confdefs.h
6253 if test "x1" = x1; then
6254 CAIRO_HAS_RECORDING_SURFACE_TRUE=
6255 CAIRO_HAS_RECORDING_SURFACE_FALSE='#'
6256 else
6257 CAIRO_HAS_RECORDING_SURFACE_TRUE='#'
6258 CAIRO_HAS_RECORDING_SURFACE_FALSE=
6261 if test "x0" = x1; then
6263 $as_echo "#define CAIRO_HAS_PDF_SURFACE 1" >>confdefs.h
6266 if test "x0" = x1; then
6267 CAIRO_HAS_PDF_SURFACE_TRUE=
6268 CAIRO_HAS_PDF_SURFACE_FALSE='#'
6269 else
6270 CAIRO_HAS_PDF_SURFACE_TRUE='#'
6271 CAIRO_HAS_PDF_SURFACE_FALSE=
6274 if test "x0" = x1; then
6276 $as_echo "#define CAIRO_HAS_PS_SURFACE 1" >>confdefs.h
6279 if test "x0" = x1; then
6280 CAIRO_HAS_PS_SURFACE_TRUE=
6281 CAIRO_HAS_PS_SURFACE_FALSE='#'
6282 else
6283 CAIRO_HAS_PS_SURFACE_TRUE='#'
6284 CAIRO_HAS_PS_SURFACE_FALSE=
6287 if test "x0" = x1; then
6289 $as_echo "#define CAIRO_HAS_QUARTZ_SURFACE 1" >>confdefs.h
6292 if test "x0" = x1; then
6293 CAIRO_HAS_QUARTZ_SURFACE_TRUE=
6294 CAIRO_HAS_QUARTZ_SURFACE_FALSE='#'
6295 else
6296 CAIRO_HAS_QUARTZ_SURFACE_TRUE='#'
6297 CAIRO_HAS_QUARTZ_SURFACE_FALSE=
6300 if test "x0" = x1; then
6302 $as_echo "#define CAIRO_HAS_SCRIPT_SURFACE 1" >>confdefs.h
6305 if test "x0" = x1; then
6306 CAIRO_HAS_SCRIPT_SURFACE_TRUE=
6307 CAIRO_HAS_SCRIPT_SURFACE_FALSE='#'
6308 else
6309 CAIRO_HAS_SCRIPT_SURFACE_TRUE='#'
6310 CAIRO_HAS_SCRIPT_SURFACE_FALSE=
6313 if test "x0" = x1; then
6315 $as_echo "#define CAIRO_HAS_SVG_SURFACE 1" >>confdefs.h
6318 if test "x0" = x1; then
6319 CAIRO_HAS_SVG_SURFACE_TRUE=
6320 CAIRO_HAS_SVG_SURFACE_FALSE='#'
6321 else
6322 CAIRO_HAS_SVG_SURFACE_TRUE='#'
6323 CAIRO_HAS_SVG_SURFACE_FALSE=
6326 if test "x0" = x1; then
6328 $as_echo "#define CAIRO_HAS_WIN32_SURFACE 1" >>confdefs.h
6331 if test "x0" = x1; then
6332 CAIRO_HAS_WIN32_SURFACE_TRUE=
6333 CAIRO_HAS_WIN32_SURFACE_FALSE='#'
6334 else
6335 CAIRO_HAS_WIN32_SURFACE_TRUE='#'
6336 CAIRO_HAS_WIN32_SURFACE_FALSE=
6339 if test "x0" = x1; then
6341 $as_echo "#define CAIRO_HAS_XCB_SURFACE 1" >>confdefs.h
6344 if test "x0" = x1; then
6345 CAIRO_HAS_XCB_SURFACE_TRUE=
6346 CAIRO_HAS_XCB_SURFACE_FALSE='#'
6347 else
6348 CAIRO_HAS_XCB_SURFACE_TRUE='#'
6349 CAIRO_HAS_XCB_SURFACE_FALSE=
6352 if test "x0" = x1; then
6354 $as_echo "#define CAIRO_HAS_XLIB_SURFACE 1" >>confdefs.h
6357 if test "x0" = x1; then
6358 CAIRO_HAS_XLIB_SURFACE_TRUE=
6359 CAIRO_HAS_XLIB_SURFACE_FALSE='#'
6360 else
6361 CAIRO_HAS_XLIB_SURFACE_TRUE='#'
6362 CAIRO_HAS_XLIB_SURFACE_FALSE=
6365 if test "x0" = x1; then
6367 $as_echo "#define CAIRO_HAS_XLIB_XRENDER_SURFACE 1" >>confdefs.h
6370 if test "x0" = x1; then
6371 CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE=
6372 CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE='#'
6373 else
6374 CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE='#'
6375 CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE=
6380 if false; then
6381 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE=
6382 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE='#'
6383 else
6384 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE='#'
6385 CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE=
6388 if false; then
6389 CAIRO_HAS_OS2_SURFACE_TRUE=
6390 CAIRO_HAS_OS2_SURFACE_FALSE='#'
6391 else
6392 CAIRO_HAS_OS2_SURFACE_TRUE='#'
6393 CAIRO_HAS_OS2_SURFACE_FALSE=
6396 if false; then
6397 CAIRO_HAS_GL_SURFACE_TRUE=
6398 CAIRO_HAS_GL_SURFACE_FALSE='#'
6399 else
6400 CAIRO_HAS_GL_SURFACE_TRUE='#'
6401 CAIRO_HAS_GL_SURFACE_FALSE=
6405 ## _KPSE_INIT: Initialize TL infrastructure
6406 kpse_BLD=`(cd "./../../." && pwd)`
6407 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
6409 # Make sure we can run config.sub.
6410 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6411 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6414 $as_echo_n "checking build system type... " >&6; }
6415 if ${ac_cv_build+:} false; then :
6416 $as_echo_n "(cached) " >&6
6417 else
6418 ac_build_alias=$build_alias
6419 test "x$ac_build_alias" = x &&
6420 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6421 test "x$ac_build_alias" = x &&
6422 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6423 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6424 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6428 $as_echo "$ac_cv_build" >&6; }
6429 case $ac_cv_build in
6430 *-*-*) ;;
6431 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6432 esac
6433 build=$ac_cv_build
6434 ac_save_IFS=$IFS; IFS='-'
6435 set x $ac_cv_build
6436 shift
6437 build_cpu=$1
6438 build_vendor=$2
6439 shift; shift
6440 # Remember, the first character of IFS is used to create $*,
6441 # except with old shells:
6442 build_os=$*
6443 IFS=$ac_save_IFS
6444 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6448 $as_echo_n "checking host system type... " >&6; }
6449 if ${ac_cv_host+:} false; then :
6450 $as_echo_n "(cached) " >&6
6451 else
6452 if test "x$host_alias" = x; then
6453 ac_cv_host=$ac_cv_build
6454 else
6455 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6456 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6461 $as_echo "$ac_cv_host" >&6; }
6462 case $ac_cv_host in
6463 *-*-*) ;;
6464 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6465 esac
6466 host=$ac_cv_host
6467 ac_save_IFS=$IFS; IFS='-'
6468 set x $ac_cv_host
6469 shift
6470 host_cpu=$1
6471 host_vendor=$2
6472 shift; shift
6473 # Remember, the first character of IFS is used to create $*,
6474 # except with old shells:
6475 host_os=$*
6476 IFS=$ac_save_IFS
6477 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6480 if test -n "$ac_tool_prefix"; then
6481 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6482 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6484 $as_echo_n "checking for $ac_word... " >&6; }
6485 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6486 $as_echo_n "(cached) " >&6
6487 else
6488 if test -n "$PKG_CONFIG"; then
6489 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6490 else
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 for as_dir in $PATH
6494 IFS=$as_save_IFS
6495 test -z "$as_dir" && as_dir=.
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 break 2
6502 done
6503 done
6504 IFS=$as_save_IFS
6508 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6509 if test -n "$PKG_CONFIG"; then
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6511 $as_echo "$PKG_CONFIG" >&6; }
6512 else
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 $as_echo "no" >&6; }
6519 if test -z "$ac_cv_prog_PKG_CONFIG"; then
6520 ac_ct_PKG_CONFIG=$PKG_CONFIG
6521 # Extract the first word of "pkg-config", so it can be a program name with args.
6522 set dummy pkg-config; ac_word=$2
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6524 $as_echo_n "checking for $ac_word... " >&6; }
6525 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then :
6526 $as_echo_n "(cached) " >&6
6527 else
6528 if test -n "$ac_ct_PKG_CONFIG"; then
6529 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
6530 else
6531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 for as_dir in $PATH
6534 IFS=$as_save_IFS
6535 test -z "$as_dir" && as_dir=.
6536 for ac_exec_ext in '' $ac_executable_extensions; do
6537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6538 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
6539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 break 2
6542 done
6543 done
6544 IFS=$as_save_IFS
6548 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
6549 if test -n "$ac_ct_PKG_CONFIG"; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
6551 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
6552 else
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6554 $as_echo "no" >&6; }
6557 if test "x$ac_ct_PKG_CONFIG" = x; then
6558 PKG_CONFIG="false"
6559 else
6560 case $cross_compiling:$ac_tool_warned in
6561 yes:)
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6564 ac_tool_warned=yes ;;
6565 esac
6566 PKG_CONFIG=$ac_ct_PKG_CONFIG
6568 else
6569 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
6572 ## _KPSE_LIB_FLAGS: Setup pixman (-lpixman) flags
6574 # Check whether --with-system-pixman was given.
6575 if test "${with_system_pixman+set}" = set; then :
6576 withval=$with_system_pixman;
6578 if test "x$with_system_pixman" = xyes; then
6579 if $PKG_CONFIG pixman-1 --atleast-version=0.18; then
6580 PIXMAN_INCLUDES=`$PKG_CONFIG pixman-1 --cflags`
6581 PIXMAN_LIBS=`$PKG_CONFIG pixman-1 --libs`
6582 elif test "x$need_pixman:$with_system_pixman" = xyes:yes; then
6583 as_fn_error $? "did not find pixman-1 0.18 or better" "$LINENO" 5
6585 else
6586 PIXMAN_INCLUDES="-I$kpse_BLD/libs/pixman/include"
6587 PIXMAN_LIBS="$kpse_BLD/libs/pixman/libpixman.a"
6588 PIXMAN_DEPEND='${top_builddir}/../../libs/pixman/libpixman.a'
6589 PIXMAN_RULE='# Rebuild libpixman
6590 $(PIXMAN_DEPEND): ${top_builddir}/../../libs/pixman/include/pixman.h
6591 cd ${top_builddir}/../../libs/pixman && $(MAKE) $(AM_MAKEFLAGS) rebuild
6592 ${top_builddir}/../../libs/pixman/include/pixman.h:
6593 cd ${top_builddir}/../../libs/pixman && $(MAKE) $(AM_MAKEFLAGS) rebuild'
6597 if test "x$enable_build" != xno || test -f config.force; then
6599 kpse_save_CPPFLAGS=$CPPFLAGS
6600 kpse_save_LIBS=$LIBS
6602 eval CPPFLAGS=\"$PIXMAN_INCLUDES \$CPPFLAGS\"
6603 eval LIBS=\"$PIXMAN_LIBS \$LIBS\"
6605 ac_fn_c_check_func "$LINENO" "pixman_version_string" "ac_cv_func_pixman_version_string"
6606 if test "x$ac_cv_func_pixman_version_string" = xyes; then :
6608 else
6609 as_fn_error $? "pixman not found" "$LINENO" 5
6612 CPPFLAGS=$kpse_save_CPPFLAGS
6613 LIBS=$kpse_save_LIBS
6616 echo timestamp >config.force
6619 CAIRO_TREE=cairo-src
6622 ac_config_files="$ac_config_files Makefile cairo/Makefile"
6625 cat >confcache <<\_ACEOF
6626 # This file is a shell script that caches the results of configure
6627 # tests run on this system so they can be shared between configure
6628 # scripts and configure runs, see configure's option --config-cache.
6629 # It is not useful on other systems. If it contains results you don't
6630 # want to keep, you may remove or edit it.
6632 # config.status only pays attention to the cache file if you give it
6633 # the --recheck option to rerun configure.
6635 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6636 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6637 # following values.
6639 _ACEOF
6641 # The following way of writing the cache mishandles newlines in values,
6642 # but we know of no workaround that is simple, portable, and efficient.
6643 # So, we kill variables containing newlines.
6644 # Ultrix sh set writes to stderr and can't be redirected directly,
6645 # and sets the high bit in the cache file unless we assign to the vars.
6647 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6648 eval ac_val=\$$ac_var
6649 case $ac_val in #(
6650 *${as_nl}*)
6651 case $ac_var in #(
6652 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6653 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6654 esac
6655 case $ac_var in #(
6656 _ | IFS | as_nl) ;; #(
6657 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6658 *) { eval $ac_var=; unset $ac_var;} ;;
6659 esac ;;
6660 esac
6661 done
6663 (set) 2>&1 |
6664 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6665 *${as_nl}ac_space=\ *)
6666 # `set' does not quote correctly, so add quotes: double-quote
6667 # substitution turns \\\\ into \\, and sed turns \\ into \.
6668 sed -n \
6669 "s/'/'\\\\''/g;
6670 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6671 ;; #(
6673 # `set' quotes correctly as required by POSIX, so do not add quotes.
6674 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6676 esac |
6677 sort
6679 sed '
6680 /^ac_cv_env_/b end
6681 t clear
6682 :clear
6683 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6684 t end
6685 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6686 :end' >>confcache
6687 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6688 if test -w "$cache_file"; then
6689 if test "x$cache_file" != "x/dev/null"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6691 $as_echo "$as_me: updating cache $cache_file" >&6;}
6692 if test ! -f "$cache_file" || test -h "$cache_file"; then
6693 cat confcache >"$cache_file"
6694 else
6695 case $cache_file in #(
6696 */* | ?:*)
6697 mv -f confcache "$cache_file"$$ &&
6698 mv -f "$cache_file"$$ "$cache_file" ;; #(
6700 mv -f confcache "$cache_file" ;;
6701 esac
6704 else
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6706 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6709 rm -f confcache
6711 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6712 # Let make expand exec_prefix.
6713 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6715 DEFS=-DHAVE_CONFIG_H
6717 ac_libobjs=
6718 ac_ltlibobjs=
6720 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6721 # 1. Remove the extension, and $U if already installed.
6722 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6723 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6724 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6725 # will be set to the directory where LIBOBJS objects are built.
6726 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6727 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6728 done
6729 LIBOBJS=$ac_libobjs
6731 LTLIBOBJS=$ac_ltlibobjs
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6735 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6736 if test -n "$am_sleep_pid"; then
6737 # Hide warnings about reused PIDs.
6738 wait $am_sleep_pid 2>/dev/null
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6741 $as_echo "done" >&6; }
6742 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6743 as_fn_error $? "conditional \"AMDEP\" was never defined.
6744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6746 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6747 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6750 if test -n "$EXEEXT"; then
6751 am__EXEEXT_TRUE=
6752 am__EXEEXT_FALSE='#'
6753 else
6754 am__EXEEXT_TRUE='#'
6755 am__EXEEXT_FALSE=
6758 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6759 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6763 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
6764 as_fn_error $? "conditional \"build\" was never defined.
6765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6767 if test -z "${CAIRO_HAS_FC_FONT_TRUE}" && test -z "${CAIRO_HAS_FC_FONT_FALSE}"; then
6768 as_fn_error $? "conditional \"CAIRO_HAS_FC_FONT\" was never defined.
6769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6771 if test -z "${CAIRO_HAS_FT_FONT_TRUE}" && test -z "${CAIRO_HAS_FT_FONT_FALSE}"; then
6772 as_fn_error $? "conditional \"CAIRO_HAS_FT_FONT\" was never defined.
6773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6775 if test -z "${CAIRO_HAS_QUARTZ_FONT_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_FONT_FALSE}"; then
6776 as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_FONT\" was never defined.
6777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6779 if test -z "${CAIRO_HAS_USER_FONT_TRUE}" && test -z "${CAIRO_HAS_USER_FONT_FALSE}"; then
6780 as_fn_error $? "conditional \"CAIRO_HAS_USER_FONT\" was never defined.
6781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6783 if test -z "${CAIRO_HAS_WIN32_FONT_TRUE}" && test -z "${CAIRO_HAS_WIN32_FONT_FALSE}"; then
6784 as_fn_error $? "conditional \"CAIRO_HAS_WIN32_FONT\" was never defined.
6785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6787 if test -z "${CAIRO_HAS_EGL_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_EGL_FUNCTIONS_FALSE}"; then
6788 as_fn_error $? "conditional \"CAIRO_HAS_EGL_FUNCTIONS\" was never defined.
6789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6791 if test -z "${CAIRO_HAS_GLX_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_GLX_FUNCTIONS_FALSE}"; then
6792 as_fn_error $? "conditional \"CAIRO_HAS_GLX_FUNCTIONS\" was never defined.
6793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6795 if test -z "${CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE}"; then
6796 as_fn_error $? "conditional \"CAIRO_HAS_GOBJECT_FUNCTIONS\" was never defined.
6797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6799 if test -z "${CAIRO_HAS_PNG_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_PNG_FUNCTIONS_FALSE}"; then
6800 as_fn_error $? "conditional \"CAIRO_HAS_PNG_FUNCTIONS\" was never defined.
6801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6803 if test -z "${CAIRO_HAS_WGL_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_WGL_FUNCTIONS_FALSE}"; then
6804 as_fn_error $? "conditional \"CAIRO_HAS_WGL_FUNCTIONS\" was never defined.
6805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6807 if test -z "${CAIRO_HAS_WIN32_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_WIN32_FUNCTIONS_FALSE}"; then
6808 as_fn_error $? "conditional \"CAIRO_HAS_WIN32_FUNCTIONS\" was never defined.
6809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6811 if test -z "${CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE}" && test -z "${CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE}"; then
6812 as_fn_error $? "conditional \"CAIRO_HAS_XCB_SHM_FUNCTIONS\" was never defined.
6813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6815 if test -z "${CAIRO_HAS_IMAGE_SURFACE_TRUE}" && test -z "${CAIRO_HAS_IMAGE_SURFACE_FALSE}"; then
6816 as_fn_error $? "conditional \"CAIRO_HAS_IMAGE_SURFACE\" was never defined.
6817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6819 if test -z "${CAIRO_HAS_MIME_SURFACE_TRUE}" && test -z "${CAIRO_HAS_MIME_SURFACE_FALSE}"; then
6820 as_fn_error $? "conditional \"CAIRO_HAS_MIME_SURFACE\" was never defined.
6821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6823 if test -z "${CAIRO_HAS_OBSERVER_SURFACE_TRUE}" && test -z "${CAIRO_HAS_OBSERVER_SURFACE_FALSE}"; then
6824 as_fn_error $? "conditional \"CAIRO_HAS_OBSERVER_SURFACE\" was never defined.
6825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6827 if test -z "${CAIRO_HAS_RECORDING_SURFACE_TRUE}" && test -z "${CAIRO_HAS_RECORDING_SURFACE_FALSE}"; then
6828 as_fn_error $? "conditional \"CAIRO_HAS_RECORDING_SURFACE\" was never defined.
6829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6831 if test -z "${CAIRO_HAS_PDF_SURFACE_TRUE}" && test -z "${CAIRO_HAS_PDF_SURFACE_FALSE}"; then
6832 as_fn_error $? "conditional \"CAIRO_HAS_PDF_SURFACE\" was never defined.
6833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6835 if test -z "${CAIRO_HAS_PS_SURFACE_TRUE}" && test -z "${CAIRO_HAS_PS_SURFACE_FALSE}"; then
6836 as_fn_error $? "conditional \"CAIRO_HAS_PS_SURFACE\" was never defined.
6837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6839 if test -z "${CAIRO_HAS_QUARTZ_SURFACE_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_SURFACE_FALSE}"; then
6840 as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_SURFACE\" was never defined.
6841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6843 if test -z "${CAIRO_HAS_SCRIPT_SURFACE_TRUE}" && test -z "${CAIRO_HAS_SCRIPT_SURFACE_FALSE}"; then
6844 as_fn_error $? "conditional \"CAIRO_HAS_SCRIPT_SURFACE\" was never defined.
6845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6847 if test -z "${CAIRO_HAS_SVG_SURFACE_TRUE}" && test -z "${CAIRO_HAS_SVG_SURFACE_FALSE}"; then
6848 as_fn_error $? "conditional \"CAIRO_HAS_SVG_SURFACE\" was never defined.
6849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6851 if test -z "${CAIRO_HAS_WIN32_SURFACE_TRUE}" && test -z "${CAIRO_HAS_WIN32_SURFACE_FALSE}"; then
6852 as_fn_error $? "conditional \"CAIRO_HAS_WIN32_SURFACE\" was never defined.
6853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6855 if test -z "${CAIRO_HAS_XCB_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XCB_SURFACE_FALSE}"; then
6856 as_fn_error $? "conditional \"CAIRO_HAS_XCB_SURFACE\" was never defined.
6857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6859 if test -z "${CAIRO_HAS_XLIB_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XLIB_SURFACE_FALSE}"; then
6860 as_fn_error $? "conditional \"CAIRO_HAS_XLIB_SURFACE\" was never defined.
6861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6863 if test -z "${CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE}" && test -z "${CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE}"; then
6864 as_fn_error $? "conditional \"CAIRO_HAS_XLIB_XRENDER_SURFACE\" was never defined.
6865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6867 if test -z "${CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE}" && test -z "${CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE}"; then
6868 as_fn_error $? "conditional \"CAIRO_HAS_QUARTZ_IMAGE_SURFACE\" was never defined.
6869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6871 if test -z "${CAIRO_HAS_OS2_SURFACE_TRUE}" && test -z "${CAIRO_HAS_OS2_SURFACE_FALSE}"; then
6872 as_fn_error $? "conditional \"CAIRO_HAS_OS2_SURFACE\" was never defined.
6873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6875 if test -z "${CAIRO_HAS_GL_SURFACE_TRUE}" && test -z "${CAIRO_HAS_GL_SURFACE_FALSE}"; then
6876 as_fn_error $? "conditional \"CAIRO_HAS_GL_SURFACE\" was never defined.
6877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6880 : "${CONFIG_STATUS=./config.status}"
6881 ac_write_fail=0
6882 ac_clean_files_save=$ac_clean_files
6883 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6885 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6886 as_write_fail=0
6887 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6888 #! $SHELL
6889 # Generated by $as_me.
6890 # Run this file to recreate the current configuration.
6891 # Compiler output produced by configure, useful for debugging
6892 # configure, is in config.log if it exists.
6894 debug=false
6895 ac_cs_recheck=false
6896 ac_cs_silent=false
6898 SHELL=\${CONFIG_SHELL-$SHELL}
6899 export SHELL
6900 _ASEOF
6901 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6902 ## -------------------- ##
6903 ## M4sh Initialization. ##
6904 ## -------------------- ##
6906 # Be more Bourne compatible
6907 DUALCASE=1; export DUALCASE # for MKS sh
6908 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6909 emulate sh
6910 NULLCMD=:
6911 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6912 # is contrary to our usage. Disable this feature.
6913 alias -g '${1+"$@"}'='"$@"'
6914 setopt NO_GLOB_SUBST
6915 else
6916 case `(set -o) 2>/dev/null` in #(
6917 *posix*) :
6918 set -o posix ;; #(
6919 *) :
6921 esac
6925 as_nl='
6927 export as_nl
6928 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6929 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6930 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6931 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6932 # Prefer a ksh shell builtin over an external printf program on Solaris,
6933 # but without wasting forks for bash or zsh.
6934 if test -z "$BASH_VERSION$ZSH_VERSION" \
6935 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6936 as_echo='print -r --'
6937 as_echo_n='print -rn --'
6938 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6939 as_echo='printf %s\n'
6940 as_echo_n='printf %s'
6941 else
6942 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6943 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6944 as_echo_n='/usr/ucb/echo -n'
6945 else
6946 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6947 as_echo_n_body='eval
6948 arg=$1;
6949 case $arg in #(
6950 *"$as_nl"*)
6951 expr "X$arg" : "X\\(.*\\)$as_nl";
6952 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6953 esac;
6954 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6956 export as_echo_n_body
6957 as_echo_n='sh -c $as_echo_n_body as_echo'
6959 export as_echo_body
6960 as_echo='sh -c $as_echo_body as_echo'
6963 # The user is always right.
6964 if test "${PATH_SEPARATOR+set}" != set; then
6965 PATH_SEPARATOR=:
6966 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6967 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6968 PATH_SEPARATOR=';'
6973 # IFS
6974 # We need space, tab and new line, in precisely that order. Quoting is
6975 # there to prevent editors from complaining about space-tab.
6976 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6977 # splitting by setting IFS to empty value.)
6978 IFS=" "" $as_nl"
6980 # Find who we are. Look in the path if we contain no directory separator.
6981 as_myself=
6982 case $0 in #((
6983 *[\\/]* ) as_myself=$0 ;;
6984 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6985 for as_dir in $PATH
6987 IFS=$as_save_IFS
6988 test -z "$as_dir" && as_dir=.
6989 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6990 done
6991 IFS=$as_save_IFS
6994 esac
6995 # We did not find ourselves, most probably we were run as `sh COMMAND'
6996 # in which case we are not to be found in the path.
6997 if test "x$as_myself" = x; then
6998 as_myself=$0
7000 if test ! -f "$as_myself"; then
7001 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7002 exit 1
7005 # Unset variables that we do not need and which cause bugs (e.g. in
7006 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7007 # suppresses any "Segmentation fault" message there. '((' could
7008 # trigger a bug in pdksh 5.2.14.
7009 for as_var in BASH_ENV ENV MAIL MAILPATH
7010 do eval test x\${$as_var+set} = xset \
7011 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7012 done
7013 PS1='$ '
7014 PS2='> '
7015 PS4='+ '
7017 # NLS nuisances.
7018 LC_ALL=C
7019 export LC_ALL
7020 LANGUAGE=C
7021 export LANGUAGE
7023 # CDPATH.
7024 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7027 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7028 # ----------------------------------------
7029 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7030 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7031 # script with STATUS, using 1 if that was 0.
7032 as_fn_error ()
7034 as_status=$1; test $as_status -eq 0 && as_status=1
7035 if test "$4"; then
7036 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7037 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7039 $as_echo "$as_me: error: $2" >&2
7040 as_fn_exit $as_status
7041 } # as_fn_error
7044 # as_fn_set_status STATUS
7045 # -----------------------
7046 # Set $? to STATUS, without forking.
7047 as_fn_set_status ()
7049 return $1
7050 } # as_fn_set_status
7052 # as_fn_exit STATUS
7053 # -----------------
7054 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7055 as_fn_exit ()
7057 set +e
7058 as_fn_set_status $1
7059 exit $1
7060 } # as_fn_exit
7062 # as_fn_unset VAR
7063 # ---------------
7064 # Portably unset VAR.
7065 as_fn_unset ()
7067 { eval $1=; unset $1;}
7069 as_unset=as_fn_unset
7070 # as_fn_append VAR VALUE
7071 # ----------------------
7072 # Append the text in VALUE to the end of the definition contained in VAR. Take
7073 # advantage of any shell optimizations that allow amortized linear growth over
7074 # repeated appends, instead of the typical quadratic growth present in naive
7075 # implementations.
7076 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7077 eval 'as_fn_append ()
7079 eval $1+=\$2
7081 else
7082 as_fn_append ()
7084 eval $1=\$$1\$2
7086 fi # as_fn_append
7088 # as_fn_arith ARG...
7089 # ------------------
7090 # Perform arithmetic evaluation on the ARGs, and store the result in the
7091 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7092 # must be portable across $(()) and expr.
7093 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7094 eval 'as_fn_arith ()
7096 as_val=$(( $* ))
7098 else
7099 as_fn_arith ()
7101 as_val=`expr "$@" || test $? -eq 1`
7103 fi # as_fn_arith
7106 if expr a : '\(a\)' >/dev/null 2>&1 &&
7107 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7108 as_expr=expr
7109 else
7110 as_expr=false
7113 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7114 as_basename=basename
7115 else
7116 as_basename=false
7119 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7120 as_dirname=dirname
7121 else
7122 as_dirname=false
7125 as_me=`$as_basename -- "$0" ||
7126 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7127 X"$0" : 'X\(//\)$' \| \
7128 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7129 $as_echo X/"$0" |
7130 sed '/^.*\/\([^/][^/]*\)\/*$/{
7131 s//\1/
7134 /^X\/\(\/\/\)$/{
7135 s//\1/
7138 /^X\/\(\/\).*/{
7139 s//\1/
7142 s/.*/./; q'`
7144 # Avoid depending upon Character Ranges.
7145 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7146 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7147 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7148 as_cr_digits='0123456789'
7149 as_cr_alnum=$as_cr_Letters$as_cr_digits
7151 ECHO_C= ECHO_N= ECHO_T=
7152 case `echo -n x` in #(((((
7153 -n*)
7154 case `echo 'xy\c'` in
7155 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7156 xy) ECHO_C='\c';;
7157 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7158 ECHO_T=' ';;
7159 esac;;
7161 ECHO_N='-n';;
7162 esac
7164 rm -f conf$$ conf$$.exe conf$$.file
7165 if test -d conf$$.dir; then
7166 rm -f conf$$.dir/conf$$.file
7167 else
7168 rm -f conf$$.dir
7169 mkdir conf$$.dir 2>/dev/null
7171 if (echo >conf$$.file) 2>/dev/null; then
7172 if ln -s conf$$.file conf$$ 2>/dev/null; then
7173 as_ln_s='ln -s'
7174 # ... but there are two gotchas:
7175 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7176 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7177 # In both cases, we have to default to `cp -pR'.
7178 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7179 as_ln_s='cp -pR'
7180 elif ln conf$$.file conf$$ 2>/dev/null; then
7181 as_ln_s=ln
7182 else
7183 as_ln_s='cp -pR'
7185 else
7186 as_ln_s='cp -pR'
7188 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7189 rmdir conf$$.dir 2>/dev/null
7192 # as_fn_mkdir_p
7193 # -------------
7194 # Create "$as_dir" as a directory, including parents if necessary.
7195 as_fn_mkdir_p ()
7198 case $as_dir in #(
7199 -*) as_dir=./$as_dir;;
7200 esac
7201 test -d "$as_dir" || eval $as_mkdir_p || {
7202 as_dirs=
7203 while :; do
7204 case $as_dir in #(
7205 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7206 *) as_qdir=$as_dir;;
7207 esac
7208 as_dirs="'$as_qdir' $as_dirs"
7209 as_dir=`$as_dirname -- "$as_dir" ||
7210 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7211 X"$as_dir" : 'X\(//\)[^/]' \| \
7212 X"$as_dir" : 'X\(//\)$' \| \
7213 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7214 $as_echo X"$as_dir" |
7215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7216 s//\1/
7219 /^X\(\/\/\)[^/].*/{
7220 s//\1/
7223 /^X\(\/\/\)$/{
7224 s//\1/
7227 /^X\(\/\).*/{
7228 s//\1/
7231 s/.*/./; q'`
7232 test -d "$as_dir" && break
7233 done
7234 test -z "$as_dirs" || eval "mkdir $as_dirs"
7235 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7238 } # as_fn_mkdir_p
7239 if mkdir -p . 2>/dev/null; then
7240 as_mkdir_p='mkdir -p "$as_dir"'
7241 else
7242 test -d ./-p && rmdir ./-p
7243 as_mkdir_p=false
7247 # as_fn_executable_p FILE
7248 # -----------------------
7249 # Test if FILE is an executable regular file.
7250 as_fn_executable_p ()
7252 test -f "$1" && test -x "$1"
7253 } # as_fn_executable_p
7254 as_test_x='test -x'
7255 as_executable_p=as_fn_executable_p
7257 # Sed expression to map a string onto a valid CPP name.
7258 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7260 # Sed expression to map a string onto a valid variable name.
7261 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7264 exec 6>&1
7265 ## ----------------------------------- ##
7266 ## Main body of $CONFIG_STATUS script. ##
7267 ## ----------------------------------- ##
7268 _ASEOF
7269 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7272 # Save the log message, to keep $0 and so on meaningful, and to
7273 # report actual input values of CONFIG_FILES etc. instead of their
7274 # values after options handling.
7275 ac_log="
7276 This file was extended by cairo (TeX Live) $as_me 1.14.6, which was
7277 generated by GNU Autoconf 2.69. Invocation command line was
7279 CONFIG_FILES = $CONFIG_FILES
7280 CONFIG_HEADERS = $CONFIG_HEADERS
7281 CONFIG_LINKS = $CONFIG_LINKS
7282 CONFIG_COMMANDS = $CONFIG_COMMANDS
7283 $ $0 $@
7285 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7288 _ACEOF
7290 case $ac_config_files in *"
7291 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7292 esac
7294 case $ac_config_headers in *"
7295 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7296 esac
7299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7300 # Files that config.status was made for.
7301 config_files="$ac_config_files"
7302 config_headers="$ac_config_headers"
7303 config_commands="$ac_config_commands"
7305 _ACEOF
7307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7308 ac_cs_usage="\
7309 \`$as_me' instantiates files and other configuration actions
7310 from templates according to the current configuration. Unless the files
7311 and actions are specified as TAGs, all are instantiated by default.
7313 Usage: $0 [OPTION]... [TAG]...
7315 -h, --help print this help, then exit
7316 -V, --version print version number and configuration settings, then exit
7317 --config print configuration, then exit
7318 -q, --quiet, --silent
7319 do not print progress messages
7320 -d, --debug don't remove temporary files
7321 --recheck update $as_me by reconfiguring in the same conditions
7322 --file=FILE[:TEMPLATE]
7323 instantiate the configuration file FILE
7324 --header=FILE[:TEMPLATE]
7325 instantiate the configuration header FILE
7327 Configuration files:
7328 $config_files
7330 Configuration headers:
7331 $config_headers
7333 Configuration commands:
7334 $config_commands
7336 Report bugs to <tex-k@tug.org>."
7338 _ACEOF
7339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7340 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7341 ac_cs_version="\\
7342 cairo (TeX Live) config.status 1.14.6
7343 configured by $0, generated by GNU Autoconf 2.69,
7344 with options \\"\$ac_cs_config\\"
7346 Copyright (C) 2012 Free Software Foundation, Inc.
7347 This config.status script is free software; the Free Software Foundation
7348 gives unlimited permission to copy, distribute and modify it."
7350 ac_pwd='$ac_pwd'
7351 srcdir='$srcdir'
7352 INSTALL='$INSTALL'
7353 MKDIR_P='$MKDIR_P'
7354 AWK='$AWK'
7355 test -n "\$AWK" || AWK=awk
7356 _ACEOF
7358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7359 # The default lists apply if the user does not specify any file.
7360 ac_need_defaults=:
7361 while test $# != 0
7363 case $1 in
7364 --*=?*)
7365 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7366 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7367 ac_shift=:
7369 --*=)
7370 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7371 ac_optarg=
7372 ac_shift=:
7375 ac_option=$1
7376 ac_optarg=$2
7377 ac_shift=shift
7379 esac
7381 case $ac_option in
7382 # Handling of the options.
7383 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7384 ac_cs_recheck=: ;;
7385 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7386 $as_echo "$ac_cs_version"; exit ;;
7387 --config | --confi | --conf | --con | --co | --c )
7388 $as_echo "$ac_cs_config"; exit ;;
7389 --debug | --debu | --deb | --de | --d | -d )
7390 debug=: ;;
7391 --file | --fil | --fi | --f )
7392 $ac_shift
7393 case $ac_optarg in
7394 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7395 '') as_fn_error $? "missing file argument" ;;
7396 esac
7397 as_fn_append CONFIG_FILES " '$ac_optarg'"
7398 ac_need_defaults=false;;
7399 --header | --heade | --head | --hea )
7400 $ac_shift
7401 case $ac_optarg in
7402 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7403 esac
7404 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7405 ac_need_defaults=false;;
7406 --he | --h)
7407 # Conflict between --help and --header
7408 as_fn_error $? "ambiguous option: \`$1'
7409 Try \`$0 --help' for more information.";;
7410 --help | --hel | -h )
7411 $as_echo "$ac_cs_usage"; exit ;;
7412 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7413 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7414 ac_cs_silent=: ;;
7416 # This is an error.
7417 -*) as_fn_error $? "unrecognized option: \`$1'
7418 Try \`$0 --help' for more information." ;;
7420 *) as_fn_append ac_config_targets " $1"
7421 ac_need_defaults=false ;;
7423 esac
7424 shift
7425 done
7427 ac_configure_extra_args=
7429 if $ac_cs_silent; then
7430 exec 6>/dev/null
7431 ac_configure_extra_args="$ac_configure_extra_args --silent"
7434 _ACEOF
7435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7436 if \$ac_cs_recheck; then
7437 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7438 shift
7439 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7440 CONFIG_SHELL='$SHELL'
7441 export CONFIG_SHELL
7442 exec "\$@"
7445 _ACEOF
7446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7447 exec 5>>config.log
7449 echo
7450 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7451 ## Running $as_me. ##
7452 _ASBOX
7453 $as_echo "$ac_log"
7454 } >&5
7456 _ACEOF
7457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7459 # INIT-COMMANDS
7461 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7463 _ACEOF
7465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7467 # Handling of arguments.
7468 for ac_config_target in $ac_config_targets
7470 case $ac_config_target in
7471 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7472 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7473 "cairo-features.h") CONFIG_HEADERS="$CONFIG_HEADERS cairo-features.h" ;;
7474 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7475 "cairo/Makefile") CONFIG_FILES="$CONFIG_FILES cairo/Makefile" ;;
7477 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7478 esac
7479 done
7482 # If the user did not use the arguments to specify the items to instantiate,
7483 # then the envvar interface is used. Set only those that are not.
7484 # We use the long form for the default assignment because of an extremely
7485 # bizarre bug on SunOS 4.1.3.
7486 if $ac_need_defaults; then
7487 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7488 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7489 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7492 # Have a temporary directory for convenience. Make it in the build tree
7493 # simply because there is no reason against having it here, and in addition,
7494 # creating and moving files from /tmp can sometimes cause problems.
7495 # Hook for its removal unless debugging.
7496 # Note that there is a small window in which the directory will not be cleaned:
7497 # after its creation but before its name has been assigned to `$tmp'.
7498 $debug ||
7500 tmp= ac_tmp=
7501 trap 'exit_status=$?
7502 : "${ac_tmp:=$tmp}"
7503 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7505 trap 'as_fn_exit 1' 1 2 13 15
7507 # Create a (secure) tmp directory for tmp files.
7510 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7511 test -d "$tmp"
7512 } ||
7514 tmp=./conf$$-$RANDOM
7515 (umask 077 && mkdir "$tmp")
7516 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7517 ac_tmp=$tmp
7519 # Set up the scripts for CONFIG_FILES section.
7520 # No need to generate them if there are no CONFIG_FILES.
7521 # This happens for instance with `./config.status config.h'.
7522 if test -n "$CONFIG_FILES"; then
7525 ac_cr=`echo X | tr X '\015'`
7526 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7527 # But we know of no other shell where ac_cr would be empty at this
7528 # point, so we can use a bashism as a fallback.
7529 if test "x$ac_cr" = x; then
7530 eval ac_cr=\$\'\\r\'
7532 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7533 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7534 ac_cs_awk_cr='\\r'
7535 else
7536 ac_cs_awk_cr=$ac_cr
7539 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7540 _ACEOF
7544 echo "cat >conf$$subs.awk <<_ACEOF" &&
7545 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7546 echo "_ACEOF"
7547 } >conf$$subs.sh ||
7548 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7549 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7550 ac_delim='%!_!# '
7551 for ac_last_try in false false false false false :; do
7552 . ./conf$$subs.sh ||
7553 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7555 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7556 if test $ac_delim_n = $ac_delim_num; then
7557 break
7558 elif $ac_last_try; then
7559 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7560 else
7561 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7563 done
7564 rm -f conf$$subs.sh
7566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7567 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7568 _ACEOF
7569 sed -n '
7571 s/^/S["/; s/!.*/"]=/
7574 s/^[^!]*!//
7575 :repl
7576 t repl
7577 s/'"$ac_delim"'$//
7578 t delim
7581 s/\(.\{148\}\)..*/\1/
7582 t more1
7583 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7586 b repl
7587 :more1
7588 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7591 s/.\{148\}//
7592 t nl
7593 :delim
7595 s/\(.\{148\}\)..*/\1/
7596 t more2
7597 s/["\\]/\\&/g; s/^/"/; s/$/"/
7600 :more2
7601 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7604 s/.\{148\}//
7605 t delim
7606 ' <conf$$subs.awk | sed '
7607 /^[^""]/{
7609 s/\n//
7611 ' >>$CONFIG_STATUS || ac_write_fail=1
7612 rm -f conf$$subs.awk
7613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7614 _ACAWK
7615 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7616 for (key in S) S_is_set[key] = 1
7617 FS = "\a"
7621 line = $ 0
7622 nfields = split(line, field, "@")
7623 substed = 0
7624 len = length(field[1])
7625 for (i = 2; i < nfields; i++) {
7626 key = field[i]
7627 keylen = length(key)
7628 if (S_is_set[key]) {
7629 value = S[key]
7630 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7631 len += length(value) + length(field[++i])
7632 substed = 1
7633 } else
7634 len += 1 + keylen
7637 print line
7640 _ACAWK
7641 _ACEOF
7642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7643 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7644 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7645 else
7647 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7648 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7649 _ACEOF
7651 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7652 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7653 # trailing colons and then remove the whole line if VPATH becomes empty
7654 # (actually we leave an empty line to preserve line numbers).
7655 if test "x$srcdir" = x.; then
7656 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7658 s///
7659 s/^/:/
7660 s/[ ]*$/:/
7661 s/:\$(srcdir):/:/g
7662 s/:\${srcdir}:/:/g
7663 s/:@srcdir@:/:/g
7664 s/^:*//
7665 s/:*$//
7667 s/\(=[ ]*\).*/\1/
7669 s/\n//
7670 s/^[^=]*=[ ]*$//
7674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7675 fi # test -n "$CONFIG_FILES"
7677 # Set up the scripts for CONFIG_HEADERS section.
7678 # No need to generate them if there are no CONFIG_HEADERS.
7679 # This happens for instance with `./config.status Makefile'.
7680 if test -n "$CONFIG_HEADERS"; then
7681 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7682 BEGIN {
7683 _ACEOF
7685 # Transform confdefs.h into an awk script `defines.awk', embedded as
7686 # here-document in config.status, that substitutes the proper values into
7687 # config.h.in to produce config.h.
7689 # Create a delimiter string that does not exist in confdefs.h, to ease
7690 # handling of long lines.
7691 ac_delim='%!_!# '
7692 for ac_last_try in false false :; do
7693 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7694 if test -z "$ac_tt"; then
7695 break
7696 elif $ac_last_try; then
7697 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7698 else
7699 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7701 done
7703 # For the awk script, D is an array of macro values keyed by name,
7704 # likewise P contains macro parameters if any. Preserve backslash
7705 # newline sequences.
7707 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7708 sed -n '
7709 s/.\{148\}/&'"$ac_delim"'/g
7710 t rset
7711 :rset
7712 s/^[ ]*#[ ]*define[ ][ ]*/ /
7713 t def
7715 :def
7716 s/\\$//
7717 t bsnl
7718 s/["\\]/\\&/g
7719 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7720 D["\1"]=" \3"/p
7721 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7723 :bsnl
7724 s/["\\]/\\&/g
7725 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7726 D["\1"]=" \3\\\\\\n"\\/p
7727 t cont
7728 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7729 t cont
7731 :cont
7733 s/.\{148\}/&'"$ac_delim"'/g
7734 t clear
7735 :clear
7736 s/\\$//
7737 t bsnlc
7738 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7740 :bsnlc
7741 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7742 b cont
7743 ' <confdefs.h | sed '
7744 s/'"$ac_delim"'/"\\\
7745 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7748 for (key in D) D_is_set[key] = 1
7749 FS = "\a"
7751 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7752 line = \$ 0
7753 split(line, arg, " ")
7754 if (arg[1] == "#") {
7755 defundef = arg[2]
7756 mac1 = arg[3]
7757 } else {
7758 defundef = substr(arg[1], 2)
7759 mac1 = arg[2]
7761 split(mac1, mac2, "(") #)
7762 macro = mac2[1]
7763 prefix = substr(line, 1, index(line, defundef) - 1)
7764 if (D_is_set[macro]) {
7765 # Preserve the white space surrounding the "#".
7766 print prefix "define", macro P[macro] D[macro]
7767 next
7768 } else {
7769 # Replace #undef with comments. This is necessary, for example,
7770 # in the case of _POSIX_SOURCE, which is predefined and required
7771 # on some systems where configure will not decide to define it.
7772 if (defundef == "undef") {
7773 print "/*", prefix defundef, macro, "*/"
7774 next
7778 { print }
7779 _ACAWK
7780 _ACEOF
7781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7782 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7783 fi # test -n "$CONFIG_HEADERS"
7786 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7787 shift
7788 for ac_tag
7790 case $ac_tag in
7791 :[FHLC]) ac_mode=$ac_tag; continue;;
7792 esac
7793 case $ac_mode$ac_tag in
7794 :[FHL]*:*);;
7795 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7796 :[FH]-) ac_tag=-:-;;
7797 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7798 esac
7799 ac_save_IFS=$IFS
7800 IFS=:
7801 set x $ac_tag
7802 IFS=$ac_save_IFS
7803 shift
7804 ac_file=$1
7805 shift
7807 case $ac_mode in
7808 :L) ac_source=$1;;
7809 :[FH])
7810 ac_file_inputs=
7811 for ac_f
7813 case $ac_f in
7814 -) ac_f="$ac_tmp/stdin";;
7815 *) # Look for the file first in the build tree, then in the source tree
7816 # (if the path is not absolute). The absolute path cannot be DOS-style,
7817 # because $ac_f cannot contain `:'.
7818 test -f "$ac_f" ||
7819 case $ac_f in
7820 [\\/$]*) false;;
7821 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7822 esac ||
7823 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7824 esac
7825 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7826 as_fn_append ac_file_inputs " '$ac_f'"
7827 done
7829 # Let's still pretend it is `configure' which instantiates (i.e., don't
7830 # use $as_me), people would be surprised to read:
7831 # /* config.h. Generated by config.status. */
7832 configure_input='Generated from '`
7833 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7834 `' by configure.'
7835 if test x"$ac_file" != x-; then
7836 configure_input="$ac_file. $configure_input"
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7838 $as_echo "$as_me: creating $ac_file" >&6;}
7840 # Neutralize special characters interpreted by sed in replacement strings.
7841 case $configure_input in #(
7842 *\&* | *\|* | *\\* )
7843 ac_sed_conf_input=`$as_echo "$configure_input" |
7844 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7845 *) ac_sed_conf_input=$configure_input;;
7846 esac
7848 case $ac_tag in
7849 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7850 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7851 esac
7853 esac
7855 ac_dir=`$as_dirname -- "$ac_file" ||
7856 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7857 X"$ac_file" : 'X\(//\)[^/]' \| \
7858 X"$ac_file" : 'X\(//\)$' \| \
7859 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7860 $as_echo X"$ac_file" |
7861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7862 s//\1/
7865 /^X\(\/\/\)[^/].*/{
7866 s//\1/
7869 /^X\(\/\/\)$/{
7870 s//\1/
7873 /^X\(\/\).*/{
7874 s//\1/
7877 s/.*/./; q'`
7878 as_dir="$ac_dir"; as_fn_mkdir_p
7879 ac_builddir=.
7881 case "$ac_dir" in
7882 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7884 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7885 # A ".." for each directory in $ac_dir_suffix.
7886 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7887 case $ac_top_builddir_sub in
7888 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7889 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7890 esac ;;
7891 esac
7892 ac_abs_top_builddir=$ac_pwd
7893 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7894 # for backward compatibility:
7895 ac_top_builddir=$ac_top_build_prefix
7897 case $srcdir in
7898 .) # We are building in place.
7899 ac_srcdir=.
7900 ac_top_srcdir=$ac_top_builddir_sub
7901 ac_abs_top_srcdir=$ac_pwd ;;
7902 [\\/]* | ?:[\\/]* ) # Absolute name.
7903 ac_srcdir=$srcdir$ac_dir_suffix;
7904 ac_top_srcdir=$srcdir
7905 ac_abs_top_srcdir=$srcdir ;;
7906 *) # Relative name.
7907 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7908 ac_top_srcdir=$ac_top_build_prefix$srcdir
7909 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7910 esac
7911 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7914 case $ac_mode in
7917 # CONFIG_FILE
7920 case $INSTALL in
7921 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7922 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7923 esac
7924 ac_MKDIR_P=$MKDIR_P
7925 case $MKDIR_P in
7926 [\\/$]* | ?:[\\/]* ) ;;
7927 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7928 esac
7929 _ACEOF
7931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7932 # If the template does not know about datarootdir, expand it.
7933 # FIXME: This hack should be removed a few years after 2.60.
7934 ac_datarootdir_hack=; ac_datarootdir_seen=
7935 ac_sed_dataroot='
7936 /datarootdir/ {
7940 /@datadir@/p
7941 /@docdir@/p
7942 /@infodir@/p
7943 /@localedir@/p
7944 /@mandir@/p'
7945 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7946 *datarootdir*) ac_datarootdir_seen=yes;;
7947 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7949 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7950 _ACEOF
7951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7952 ac_datarootdir_hack='
7953 s&@datadir@&$datadir&g
7954 s&@docdir@&$docdir&g
7955 s&@infodir@&$infodir&g
7956 s&@localedir@&$localedir&g
7957 s&@mandir@&$mandir&g
7958 s&\\\${datarootdir}&$datarootdir&g' ;;
7959 esac
7960 _ACEOF
7962 # Neutralize VPATH when `$srcdir' = `.'.
7963 # Shell code in configure.ac might set extrasub.
7964 # FIXME: do we really want to maintain this feature?
7965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7966 ac_sed_extra="$ac_vpsub
7967 $extrasub
7968 _ACEOF
7969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7971 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7972 s|@configure_input@|$ac_sed_conf_input|;t t
7973 s&@top_builddir@&$ac_top_builddir_sub&;t t
7974 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7975 s&@srcdir@&$ac_srcdir&;t t
7976 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7977 s&@top_srcdir@&$ac_top_srcdir&;t t
7978 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7979 s&@builddir@&$ac_builddir&;t t
7980 s&@abs_builddir@&$ac_abs_builddir&;t t
7981 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7982 s&@INSTALL@&$ac_INSTALL&;t t
7983 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7984 $ac_datarootdir_hack
7986 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7987 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7989 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7990 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7991 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7992 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7994 which seems to be undefined. Please make sure it is defined" >&5
7995 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7996 which seems to be undefined. Please make sure it is defined" >&2;}
7998 rm -f "$ac_tmp/stdin"
7999 case $ac_file in
8000 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8001 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8002 esac \
8003 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8007 # CONFIG_HEADER
8009 if test x"$ac_file" != x-; then
8011 $as_echo "/* $configure_input */" \
8012 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8013 } >"$ac_tmp/config.h" \
8014 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8015 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8017 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8018 else
8019 rm -f "$ac_file"
8020 mv "$ac_tmp/config.h" "$ac_file" \
8021 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8023 else
8024 $as_echo "/* $configure_input */" \
8025 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8026 || as_fn_error $? "could not create -" "$LINENO" 5
8028 # Compute "$ac_file"'s index in $config_headers.
8029 _am_arg="$ac_file"
8030 _am_stamp_count=1
8031 for _am_header in $config_headers :; do
8032 case $_am_header in
8033 $_am_arg | $_am_arg:* )
8034 break ;;
8036 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8037 esac
8038 done
8039 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8040 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8041 X"$_am_arg" : 'X\(//\)[^/]' \| \
8042 X"$_am_arg" : 'X\(//\)$' \| \
8043 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8044 $as_echo X"$_am_arg" |
8045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8046 s//\1/
8049 /^X\(\/\/\)[^/].*/{
8050 s//\1/
8053 /^X\(\/\/\)$/{
8054 s//\1/
8057 /^X\(\/\).*/{
8058 s//\1/
8061 s/.*/./; q'`/stamp-h$_am_stamp_count
8064 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8065 $as_echo "$as_me: executing $ac_file commands" >&6;}
8067 esac
8070 case $ac_file$ac_mode in
8071 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8072 # Older Autoconf quotes --file arguments for eval, but not when files
8073 # are listed without --file. Let's play safe and only enable the eval
8074 # if we detect the quoting.
8075 case $CONFIG_FILES in
8076 *\'*) eval set x "$CONFIG_FILES" ;;
8077 *) set x $CONFIG_FILES ;;
8078 esac
8079 shift
8080 for mf
8082 # Strip MF so we end up with the name of the file.
8083 mf=`echo "$mf" | sed -e 's/:.*$//'`
8084 # Check whether this is an Automake generated Makefile or not.
8085 # We used to match only the files named 'Makefile.in', but
8086 # some people rename them; so instead we look at the file content.
8087 # Grep'ing the first line is not enough: some people post-process
8088 # each Makefile.in and add a new line on top of each file to say so.
8089 # Grep'ing the whole file is not good either: AIX grep has a line
8090 # limit of 2048, but all sed's we know have understand at least 4000.
8091 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8092 dirpart=`$as_dirname -- "$mf" ||
8093 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8094 X"$mf" : 'X\(//\)[^/]' \| \
8095 X"$mf" : 'X\(//\)$' \| \
8096 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8097 $as_echo X"$mf" |
8098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8099 s//\1/
8102 /^X\(\/\/\)[^/].*/{
8103 s//\1/
8106 /^X\(\/\/\)$/{
8107 s//\1/
8110 /^X\(\/\).*/{
8111 s//\1/
8114 s/.*/./; q'`
8115 else
8116 continue
8118 # Extract the definition of DEPDIR, am__include, and am__quote
8119 # from the Makefile without running 'make'.
8120 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8121 test -z "$DEPDIR" && continue
8122 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8123 test -z "$am__include" && continue
8124 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8125 # Find all dependency output files, they are included files with
8126 # $(DEPDIR) in their names. We invoke sed twice because it is the
8127 # simplest approach to changing $(DEPDIR) to its actual value in the
8128 # expansion.
8129 for file in `sed -n "
8130 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8131 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8132 # Make sure the directory exists.
8133 test -f "$dirpart/$file" && continue
8134 fdir=`$as_dirname -- "$file" ||
8135 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8136 X"$file" : 'X\(//\)[^/]' \| \
8137 X"$file" : 'X\(//\)$' \| \
8138 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8139 $as_echo X"$file" |
8140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8141 s//\1/
8144 /^X\(\/\/\)[^/].*/{
8145 s//\1/
8148 /^X\(\/\/\)$/{
8149 s//\1/
8152 /^X\(\/\).*/{
8153 s//\1/
8156 s/.*/./; q'`
8157 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8158 # echo "creating $dirpart/$file"
8159 echo '# dummy' > "$dirpart/$file"
8160 done
8161 done
8165 esac
8166 done # for ac_tag
8169 as_fn_exit 0
8170 _ACEOF
8171 ac_clean_files=$ac_clean_files_save
8173 test $ac_write_fail = 0 ||
8174 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8177 # configure is writing to config.log, and then calls config.status.
8178 # config.status does its own redirection, appending to config.log.
8179 # Unfortunately, on DOS this fails, as config.log is still kept open
8180 # by configure, so config.status won't be able to write to it; its
8181 # output is simply discarded. So we exec the FD to /dev/null,
8182 # effectively closing config.log, so it can be properly (re)opened and
8183 # appended to by config.status. When coming back to configure, we
8184 # need to make the FD available again.
8185 if test "$no_create" != yes; then
8186 ac_cs_success=:
8187 ac_config_status_args=
8188 test "$silent" = yes &&
8189 ac_config_status_args="$ac_config_status_args --quiet"
8190 exec 5>/dev/null
8191 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8192 exec 5>>config.log
8193 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8194 # would make configure fail if this is the last instruction.
8195 $ac_cs_success || as_fn_exit 1
8197 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8199 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}