beta-0.89.2
[luatex.git] / source / libs / pixman / configure
blob92f9ad086238385f14fb8fbaacb9c5f8e58c0c7c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for pixman (TeX Live) 0.34.0.
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='pixman (TeX Live)'
582 PACKAGE_TARNAME='pixman--tex-live-'
583 PACKAGE_VERSION='0.34.0'
584 PACKAGE_STRING='pixman (TeX Live) 0.34.0'
585 PACKAGE_BUGREPORT='tex-k@tug.org'
586 PACKAGE_URL=''
588 ac_unique_file="pixman-src/pixman/pixman.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 PIXMAN_TREE
630 build_FALSE
631 build_TRUE
632 VISIBILITY_CFLAGS
633 EGREP
634 GREP
636 LN_S
637 RANLIB
638 PIXMAN_VERSION_MICRO
639 PIXMAN_VERSION_MINOR
640 PIXMAN_VERSION_MAJOR
641 WARNING_CFLAGS
642 am__fastdepCC_FALSE
643 am__fastdepCC_TRUE
644 CCDEPMODE
645 am__nodep
646 AMDEPBACKSLASH
647 AMDEP_FALSE
648 AMDEP_TRUE
649 am__quote
650 am__include
651 DEPDIR
652 OBJEXT
653 EXEEXT
654 ac_ct_CC
655 CPPFLAGS
656 LDFLAGS
657 CFLAGS
659 MAINT
660 MAINTAINER_MODE_FALSE
661 MAINTAINER_MODE_TRUE
662 AM_BACKSLASH
663 AM_DEFAULT_VERBOSITY
664 AM_DEFAULT_V
665 AM_V
666 am__untar
667 am__tar
668 AMTAR
669 am__leading_dot
670 SET_MAKE
672 mkdir_p
673 MKDIR_P
674 INSTALL_STRIP_PROGRAM
675 STRIP
676 install_sh
677 MAKEINFO
678 AUTOHEADER
679 AUTOMAKE
680 AUTOCONF
681 ACLOCAL
682 VERSION
683 PACKAGE
684 CYGPATH_W
685 am__isrc
686 INSTALL_DATA
687 INSTALL_SCRIPT
688 INSTALL_PROGRAM
689 target_alias
690 host_alias
691 build_alias
692 LIBS
693 ECHO_T
694 ECHO_N
695 ECHO_C
696 DEFS
697 mandir
698 localedir
699 libdir
700 psdir
701 pdfdir
702 dvidir
703 htmldir
704 infodir
705 docdir
706 oldincludedir
707 includedir
708 localstatedir
709 sharedstatedir
710 sysconfdir
711 datadir
712 datarootdir
713 libexecdir
714 sbindir
715 bindir
716 program_transform_name
717 prefix
718 exec_prefix
719 PACKAGE_URL
720 PACKAGE_BUGREPORT
721 PACKAGE_STRING
722 PACKAGE_VERSION
723 PACKAGE_TARNAME
724 PACKAGE_NAME
725 PATH_SEPARATOR
726 SHELL'
727 ac_subst_files=''
728 ac_user_opts='
729 enable_option_checking
730 enable_silent_rules
731 enable_maintainer_mode
732 enable_dependency_tracking
733 enable_compiler_warnings
735 ac_precious_vars='build_alias
736 host_alias
737 target_alias
739 CFLAGS
740 LDFLAGS
741 LIBS
742 CPPFLAGS
743 CPP'
746 # Initialize some variables set by options.
747 ac_init_help=
748 ac_init_version=false
749 ac_unrecognized_opts=
750 ac_unrecognized_sep=
751 # The variables have the same names as the options, with
752 # dashes changed to underlines.
753 cache_file=/dev/null
754 exec_prefix=NONE
755 no_create=
756 no_recursion=
757 prefix=NONE
758 program_prefix=NONE
759 program_suffix=NONE
760 program_transform_name=s,x,x,
761 silent=
762 site=
763 srcdir=
764 verbose=
765 x_includes=NONE
766 x_libraries=NONE
768 # Installation directory options.
769 # These are left unexpanded so users can "make install exec_prefix=/foo"
770 # and all the variables that are supposed to be based on exec_prefix
771 # by default will actually change.
772 # Use braces instead of parens because sh, perl, etc. also accept them.
773 # (The list follows the same order as the GNU Coding Standards.)
774 bindir='${exec_prefix}/bin'
775 sbindir='${exec_prefix}/sbin'
776 libexecdir='${exec_prefix}/libexec'
777 datarootdir='${prefix}/share'
778 datadir='${datarootdir}'
779 sysconfdir='${prefix}/etc'
780 sharedstatedir='${prefix}/com'
781 localstatedir='${prefix}/var'
782 includedir='${prefix}/include'
783 oldincludedir='/usr/include'
784 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
785 infodir='${datarootdir}/info'
786 htmldir='${docdir}'
787 dvidir='${docdir}'
788 pdfdir='${docdir}'
789 psdir='${docdir}'
790 libdir='${exec_prefix}/lib'
791 localedir='${datarootdir}/locale'
792 mandir='${datarootdir}/man'
794 ac_prev=
795 ac_dashdash=
796 for ac_option
798 # If the previous option needs an argument, assign it.
799 if test -n "$ac_prev"; then
800 eval $ac_prev=\$ac_option
801 ac_prev=
802 continue
805 case $ac_option in
806 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
807 *=) ac_optarg= ;;
808 *) ac_optarg=yes ;;
809 esac
811 # Accept the important Cygnus configure options, so we can diagnose typos.
813 case $ac_dashdash$ac_option in
815 ac_dashdash=yes ;;
817 -bindir | --bindir | --bindi | --bind | --bin | --bi)
818 ac_prev=bindir ;;
819 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
820 bindir=$ac_optarg ;;
822 -build | --build | --buil | --bui | --bu)
823 ac_prev=build_alias ;;
824 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
825 build_alias=$ac_optarg ;;
827 -cache-file | --cache-file | --cache-fil | --cache-fi \
828 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
829 ac_prev=cache_file ;;
830 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
831 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
832 cache_file=$ac_optarg ;;
834 --config-cache | -C)
835 cache_file=config.cache ;;
837 -datadir | --datadir | --datadi | --datad)
838 ac_prev=datadir ;;
839 -datadir=* | --datadir=* | --datadi=* | --datad=*)
840 datadir=$ac_optarg ;;
842 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
843 | --dataroo | --dataro | --datar)
844 ac_prev=datarootdir ;;
845 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
846 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
847 datarootdir=$ac_optarg ;;
849 -disable-* | --disable-*)
850 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
851 # Reject names that are not valid shell variable names.
852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
853 as_fn_error $? "invalid feature name: $ac_useropt"
854 ac_useropt_orig=$ac_useropt
855 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856 case $ac_user_opts in
858 "enable_$ac_useropt"
859 "*) ;;
860 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
861 ac_unrecognized_sep=', ';;
862 esac
863 eval enable_$ac_useropt=no ;;
865 -docdir | --docdir | --docdi | --doc | --do)
866 ac_prev=docdir ;;
867 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
868 docdir=$ac_optarg ;;
870 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
871 ac_prev=dvidir ;;
872 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
873 dvidir=$ac_optarg ;;
875 -enable-* | --enable-*)
876 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
877 # Reject names that are not valid shell variable names.
878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
879 as_fn_error $? "invalid feature name: $ac_useropt"
880 ac_useropt_orig=$ac_useropt
881 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882 case $ac_user_opts in
884 "enable_$ac_useropt"
885 "*) ;;
886 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
887 ac_unrecognized_sep=', ';;
888 esac
889 eval enable_$ac_useropt=\$ac_optarg ;;
891 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
892 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
893 | --exec | --exe | --ex)
894 ac_prev=exec_prefix ;;
895 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
896 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
897 | --exec=* | --exe=* | --ex=*)
898 exec_prefix=$ac_optarg ;;
900 -gas | --gas | --ga | --g)
901 # Obsolete; use --with-gas.
902 with_gas=yes ;;
904 -help | --help | --hel | --he | -h)
905 ac_init_help=long ;;
906 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
907 ac_init_help=recursive ;;
908 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
909 ac_init_help=short ;;
911 -host | --host | --hos | --ho)
912 ac_prev=host_alias ;;
913 -host=* | --host=* | --hos=* | --ho=*)
914 host_alias=$ac_optarg ;;
916 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
917 ac_prev=htmldir ;;
918 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
919 | --ht=*)
920 htmldir=$ac_optarg ;;
922 -includedir | --includedir | --includedi | --included | --include \
923 | --includ | --inclu | --incl | --inc)
924 ac_prev=includedir ;;
925 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
926 | --includ=* | --inclu=* | --incl=* | --inc=*)
927 includedir=$ac_optarg ;;
929 -infodir | --infodir | --infodi | --infod | --info | --inf)
930 ac_prev=infodir ;;
931 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
932 infodir=$ac_optarg ;;
934 -libdir | --libdir | --libdi | --libd)
935 ac_prev=libdir ;;
936 -libdir=* | --libdir=* | --libdi=* | --libd=*)
937 libdir=$ac_optarg ;;
939 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
940 | --libexe | --libex | --libe)
941 ac_prev=libexecdir ;;
942 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
943 | --libexe=* | --libex=* | --libe=*)
944 libexecdir=$ac_optarg ;;
946 -localedir | --localedir | --localedi | --localed | --locale)
947 ac_prev=localedir ;;
948 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
949 localedir=$ac_optarg ;;
951 -localstatedir | --localstatedir | --localstatedi | --localstated \
952 | --localstate | --localstat | --localsta | --localst | --locals)
953 ac_prev=localstatedir ;;
954 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
955 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
956 localstatedir=$ac_optarg ;;
958 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
959 ac_prev=mandir ;;
960 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
961 mandir=$ac_optarg ;;
963 -nfp | --nfp | --nf)
964 # Obsolete; use --without-fp.
965 with_fp=no ;;
967 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
968 | --no-cr | --no-c | -n)
969 no_create=yes ;;
971 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
972 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
973 no_recursion=yes ;;
975 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
976 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
977 | --oldin | --oldi | --old | --ol | --o)
978 ac_prev=oldincludedir ;;
979 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
980 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
981 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
982 oldincludedir=$ac_optarg ;;
984 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
985 ac_prev=prefix ;;
986 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
987 prefix=$ac_optarg ;;
989 -program-prefix | --program-prefix | --program-prefi | --program-pref \
990 | --program-pre | --program-pr | --program-p)
991 ac_prev=program_prefix ;;
992 -program-prefix=* | --program-prefix=* | --program-prefi=* \
993 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
994 program_prefix=$ac_optarg ;;
996 -program-suffix | --program-suffix | --program-suffi | --program-suff \
997 | --program-suf | --program-su | --program-s)
998 ac_prev=program_suffix ;;
999 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1000 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1001 program_suffix=$ac_optarg ;;
1003 -program-transform-name | --program-transform-name \
1004 | --program-transform-nam | --program-transform-na \
1005 | --program-transform-n | --program-transform- \
1006 | --program-transform | --program-transfor \
1007 | --program-transfo | --program-transf \
1008 | --program-trans | --program-tran \
1009 | --progr-tra | --program-tr | --program-t)
1010 ac_prev=program_transform_name ;;
1011 -program-transform-name=* | --program-transform-name=* \
1012 | --program-transform-nam=* | --program-transform-na=* \
1013 | --program-transform-n=* | --program-transform-=* \
1014 | --program-transform=* | --program-transfor=* \
1015 | --program-transfo=* | --program-transf=* \
1016 | --program-trans=* | --program-tran=* \
1017 | --progr-tra=* | --program-tr=* | --program-t=*)
1018 program_transform_name=$ac_optarg ;;
1020 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1021 ac_prev=pdfdir ;;
1022 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1023 pdfdir=$ac_optarg ;;
1025 -psdir | --psdir | --psdi | --psd | --ps)
1026 ac_prev=psdir ;;
1027 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1028 psdir=$ac_optarg ;;
1030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1031 | -silent | --silent | --silen | --sile | --sil)
1032 silent=yes ;;
1034 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1035 ac_prev=sbindir ;;
1036 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1037 | --sbi=* | --sb=*)
1038 sbindir=$ac_optarg ;;
1040 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1041 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1042 | --sharedst | --shareds | --shared | --share | --shar \
1043 | --sha | --sh)
1044 ac_prev=sharedstatedir ;;
1045 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1046 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1047 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1048 | --sha=* | --sh=*)
1049 sharedstatedir=$ac_optarg ;;
1051 -site | --site | --sit)
1052 ac_prev=site ;;
1053 -site=* | --site=* | --sit=*)
1054 site=$ac_optarg ;;
1056 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1057 ac_prev=srcdir ;;
1058 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1059 srcdir=$ac_optarg ;;
1061 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1062 | --syscon | --sysco | --sysc | --sys | --sy)
1063 ac_prev=sysconfdir ;;
1064 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1065 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1066 sysconfdir=$ac_optarg ;;
1068 -target | --target | --targe | --targ | --tar | --ta | --t)
1069 ac_prev=target_alias ;;
1070 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1071 target_alias=$ac_optarg ;;
1073 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1074 verbose=yes ;;
1076 -version | --version | --versio | --versi | --vers | -V)
1077 ac_init_version=: ;;
1079 -with-* | --with-*)
1080 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083 as_fn_error $? "invalid package name: $ac_useropt"
1084 ac_useropt_orig=$ac_useropt
1085 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1088 "with_$ac_useropt"
1089 "*) ;;
1090 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1091 ac_unrecognized_sep=', ';;
1092 esac
1093 eval with_$ac_useropt=\$ac_optarg ;;
1095 -without-* | --without-*)
1096 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error $? "invalid package name: $ac_useropt"
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1104 "with_$ac_useropt"
1105 "*) ;;
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1108 esac
1109 eval with_$ac_useropt=no ;;
1111 --x)
1112 # Obsolete; use --with-x.
1113 with_x=yes ;;
1115 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1116 | --x-incl | --x-inc | --x-in | --x-i)
1117 ac_prev=x_includes ;;
1118 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1119 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1120 x_includes=$ac_optarg ;;
1122 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1123 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1124 ac_prev=x_libraries ;;
1125 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1126 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1127 x_libraries=$ac_optarg ;;
1129 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1130 Try \`$0 --help' for more information"
1133 *=*)
1134 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1135 # Reject names that are not valid shell variable names.
1136 case $ac_envvar in #(
1137 '' | [0-9]* | *[!_$as_cr_alnum]* )
1138 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1139 esac
1140 eval $ac_envvar=\$ac_optarg
1141 export $ac_envvar ;;
1144 # FIXME: should be removed in autoconf 3.0.
1145 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1146 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1147 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1148 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1151 esac
1152 done
1154 if test -n "$ac_prev"; then
1155 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1156 as_fn_error $? "missing argument to $ac_option"
1159 if test -n "$ac_unrecognized_opts"; then
1160 case $enable_option_checking in
1161 no) ;;
1162 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1163 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1164 esac
1167 # Check all directory arguments for consistency.
1168 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1169 datadir sysconfdir sharedstatedir localstatedir includedir \
1170 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1171 libdir localedir mandir
1173 eval ac_val=\$$ac_var
1174 # Remove trailing slashes.
1175 case $ac_val in
1176 */ )
1177 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1178 eval $ac_var=\$ac_val;;
1179 esac
1180 # Be sure to have absolute directory names.
1181 case $ac_val in
1182 [\\/$]* | ?:[\\/]* ) continue;;
1183 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1184 esac
1185 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1186 done
1188 # There might be people who depend on the old broken behavior: `$host'
1189 # used to hold the argument of --host etc.
1190 # FIXME: To remove some day.
1191 build=$build_alias
1192 host=$host_alias
1193 target=$target_alias
1195 # FIXME: To remove some day.
1196 if test "x$host_alias" != x; then
1197 if test "x$build_alias" = x; then
1198 cross_compiling=maybe
1199 elif test "x$build_alias" != "x$host_alias"; then
1200 cross_compiling=yes
1204 ac_tool_prefix=
1205 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1207 test "$silent" = yes && exec 6>/dev/null
1210 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1211 ac_ls_di=`ls -di .` &&
1212 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1213 as_fn_error $? "working directory cannot be determined"
1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215 as_fn_error $? "pwd does not report name of working directory"
1218 # Find the source files, if location was not specified.
1219 if test -z "$srcdir"; then
1220 ac_srcdir_defaulted=yes
1221 # Try the directory containing this script, then the parent directory.
1222 ac_confdir=`$as_dirname -- "$as_myself" ||
1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224 X"$as_myself" : 'X\(//\)[^/]' \| \
1225 X"$as_myself" : 'X\(//\)$' \| \
1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1227 $as_echo X"$as_myself" |
1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1229 s//\1/
1232 /^X\(\/\/\)[^/].*/{
1233 s//\1/
1236 /^X\(\/\/\)$/{
1237 s//\1/
1240 /^X\(\/\).*/{
1241 s//\1/
1244 s/.*/./; q'`
1245 srcdir=$ac_confdir
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 srcdir=..
1249 else
1250 ac_srcdir_defaulted=no
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1254 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1256 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1257 ac_abs_confdir=`(
1258 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1259 pwd)`
1260 # When building in place, set srcdir=.
1261 if test "$ac_abs_confdir" = "$ac_pwd"; then
1262 srcdir=.
1264 # Remove unnecessary trailing slashes from srcdir.
1265 # Double slashes in file names in object file debugging info
1266 # mess up M-x gdb in Emacs.
1267 case $srcdir in
1268 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1269 esac
1270 for ac_var in $ac_precious_vars; do
1271 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1272 eval ac_env_${ac_var}_value=\$${ac_var}
1273 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1274 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1275 done
1278 # Report the --help message.
1280 if test "$ac_init_help" = "long"; then
1281 # Omit some internal or obsolete options to make the list less imposing.
1282 # This message is too long to be a string in the A/UX 3.1 sh.
1283 cat <<_ACEOF
1284 \`configure' configures pixman (TeX Live) 0.34.0 to adapt to many kinds of systems.
1286 Usage: $0 [OPTION]... [VAR=VALUE]...
1288 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1289 VAR=VALUE. See below for descriptions of some of the useful variables.
1291 Defaults for the options are specified in brackets.
1293 Configuration:
1294 -h, --help display this help and exit
1295 --help=short display options specific to this package
1296 --help=recursive display the short help of all the included packages
1297 -V, --version display version information and exit
1298 -q, --quiet, --silent do not print \`checking ...' messages
1299 --cache-file=FILE cache test results in FILE [disabled]
1300 -C, --config-cache alias for \`--cache-file=config.cache'
1301 -n, --no-create do not create output files
1302 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1304 Installation directories:
1305 --prefix=PREFIX install architecture-independent files in PREFIX
1306 [$ac_default_prefix]
1307 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1308 [PREFIX]
1310 By default, \`make install' will install all the files in
1311 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1312 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1313 for instance \`--prefix=\$HOME'.
1315 For better control, use the options below.
1317 Fine tuning of the installation directories:
1318 --bindir=DIR user executables [EPREFIX/bin]
1319 --sbindir=DIR system admin executables [EPREFIX/sbin]
1320 --libexecdir=DIR program executables [EPREFIX/libexec]
1321 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1323 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1324 --libdir=DIR object code libraries [EPREFIX/lib]
1325 --includedir=DIR C header files [PREFIX/include]
1326 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1327 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1328 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1329 --infodir=DIR info documentation [DATAROOTDIR/info]
1330 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1331 --mandir=DIR man documentation [DATAROOTDIR/man]
1332 --docdir=DIR documentation root
1333 [DATAROOTDIR/doc/pixman--tex-live-]
1334 --htmldir=DIR html documentation [DOCDIR]
1335 --dvidir=DIR dvi documentation [DOCDIR]
1336 --pdfdir=DIR pdf documentation [DOCDIR]
1337 --psdir=DIR ps documentation [DOCDIR]
1338 _ACEOF
1340 cat <<\_ACEOF
1342 Program names:
1343 --program-prefix=PREFIX prepend PREFIX to installed program names
1344 --program-suffix=SUFFIX append SUFFIX to installed program names
1345 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1346 _ACEOF
1349 if test -n "$ac_init_help"; then
1350 case $ac_init_help in
1351 short | recursive ) echo "Configuration of pixman (TeX Live) 0.34.0:";;
1352 esac
1353 cat <<\_ACEOF
1355 Optional Features:
1356 --disable-option-checking ignore unrecognized --enable/--with options
1357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1359 --enable-silent-rules less verbose build output (undo: "make V=1")
1360 --disable-silent-rules verbose build output (undo: "make V=0")
1361 --enable-maintainer-mode
1362 enable make rules and dependencies not useful (and
1363 sometimes confusing) to the casual installer
1364 --enable-dependency-tracking
1365 do not reject slow dependency extractors
1366 --disable-dependency-tracking
1367 speeds up one-time build
1368 --enable-compiler-warnings=[no|min|yes|max|all]
1369 Turn on compiler warnings [default: yes if
1370 maintainer-mode, min otherwise]
1372 Some influential environment variables:
1373 CC C compiler command
1374 CFLAGS C compiler flags
1375 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1376 nonstandard directory <lib dir>
1377 LIBS libraries to pass to the linker, e.g. -l<library>
1378 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1379 you have headers in a nonstandard directory <include dir>
1380 CPP C preprocessor
1382 Use these variables to override the choices made by `configure' or to help
1383 it to find libraries and programs with nonstandard names/locations.
1385 Report bugs to <tex-k@tug.org>.
1386 _ACEOF
1387 ac_status=$?
1390 if test "$ac_init_help" = "recursive"; then
1391 # If there are subdirs, report their specific --help.
1392 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1393 test -d "$ac_dir" ||
1394 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1395 continue
1396 ac_builddir=.
1398 case "$ac_dir" in
1399 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1401 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1402 # A ".." for each directory in $ac_dir_suffix.
1403 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1404 case $ac_top_builddir_sub in
1405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1407 esac ;;
1408 esac
1409 ac_abs_top_builddir=$ac_pwd
1410 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1411 # for backward compatibility:
1412 ac_top_builddir=$ac_top_build_prefix
1414 case $srcdir in
1415 .) # We are building in place.
1416 ac_srcdir=.
1417 ac_top_srcdir=$ac_top_builddir_sub
1418 ac_abs_top_srcdir=$ac_pwd ;;
1419 [\\/]* | ?:[\\/]* ) # Absolute name.
1420 ac_srcdir=$srcdir$ac_dir_suffix;
1421 ac_top_srcdir=$srcdir
1422 ac_abs_top_srcdir=$srcdir ;;
1423 *) # Relative name.
1424 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1425 ac_top_srcdir=$ac_top_build_prefix$srcdir
1426 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1427 esac
1428 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1430 cd "$ac_dir" || { ac_status=$?; continue; }
1431 # Check for guested configure.
1432 if test -f "$ac_srcdir/configure.gnu"; then
1433 echo &&
1434 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1435 elif test -f "$ac_srcdir/configure"; then
1436 echo &&
1437 $SHELL "$ac_srcdir/configure" --help=recursive
1438 else
1439 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1440 fi || ac_status=$?
1441 cd "$ac_pwd" || { ac_status=$?; break; }
1442 done
1445 test -n "$ac_init_help" && exit $ac_status
1446 if $ac_init_version; then
1447 cat <<\_ACEOF
1448 pixman (TeX Live) configure 0.34.0
1449 generated by GNU Autoconf 2.69
1451 Copyright (C) 2012 Free Software Foundation, Inc.
1452 This configure script is free software; the Free Software Foundation
1453 gives unlimited permission to copy, distribute and modify it.
1454 _ACEOF
1455 exit
1458 ## ------------------------ ##
1459 ## Autoconf initialization. ##
1460 ## ------------------------ ##
1462 # ac_fn_c_try_compile LINENO
1463 # --------------------------
1464 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1465 ac_fn_c_try_compile ()
1467 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1468 rm -f conftest.$ac_objext
1469 if { { ac_try="$ac_compile"
1470 case "(($ac_try" in
1471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1472 *) ac_try_echo=$ac_try;;
1473 esac
1474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1475 $as_echo "$ac_try_echo"; } >&5
1476 (eval "$ac_compile") 2>conftest.err
1477 ac_status=$?
1478 if test -s conftest.err; then
1479 grep -v '^ *+' conftest.err >conftest.er1
1480 cat conftest.er1 >&5
1481 mv -f conftest.er1 conftest.err
1483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1484 test $ac_status = 0; } && {
1485 test -z "$ac_c_werror_flag" ||
1486 test ! -s conftest.err
1487 } && test -s conftest.$ac_objext; then :
1488 ac_retval=0
1489 else
1490 $as_echo "$as_me: failed program was:" >&5
1491 sed 's/^/| /' conftest.$ac_ext >&5
1493 ac_retval=1
1495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1496 as_fn_set_status $ac_retval
1498 } # ac_fn_c_try_compile
1500 # ac_fn_c_try_link LINENO
1501 # -----------------------
1502 # Try to link conftest.$ac_ext, and return whether this succeeded.
1503 ac_fn_c_try_link ()
1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506 rm -f conftest.$ac_objext conftest$ac_exeext
1507 if { { ac_try="$ac_link"
1508 case "(($ac_try" in
1509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1510 *) ac_try_echo=$ac_try;;
1511 esac
1512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513 $as_echo "$ac_try_echo"; } >&5
1514 (eval "$ac_link") 2>conftest.err
1515 ac_status=$?
1516 if test -s conftest.err; then
1517 grep -v '^ *+' conftest.err >conftest.er1
1518 cat conftest.er1 >&5
1519 mv -f conftest.er1 conftest.err
1521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522 test $ac_status = 0; } && {
1523 test -z "$ac_c_werror_flag" ||
1524 test ! -s conftest.err
1525 } && test -s conftest$ac_exeext && {
1526 test "$cross_compiling" = yes ||
1527 test -x conftest$ac_exeext
1528 }; then :
1529 ac_retval=0
1530 else
1531 $as_echo "$as_me: failed program was:" >&5
1532 sed 's/^/| /' conftest.$ac_ext >&5
1534 ac_retval=1
1536 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1537 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1538 # interfere with the next link command; also delete a directory that is
1539 # left behind by Apple's compiler. We do this before executing the actions.
1540 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1542 as_fn_set_status $ac_retval
1544 } # ac_fn_c_try_link
1546 # ac_fn_c_check_func LINENO FUNC VAR
1547 # ----------------------------------
1548 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1549 ac_fn_c_check_func ()
1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1553 $as_echo_n "checking for $2... " >&6; }
1554 if eval \${$3+:} false; then :
1555 $as_echo_n "(cached) " >&6
1556 else
1557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1558 /* end confdefs.h. */
1559 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1561 #define $2 innocuous_$2
1563 /* System header to define __stub macros and hopefully few prototypes,
1564 which can conflict with char $2 (); below.
1565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1566 <limits.h> exists even on freestanding compilers. */
1568 #ifdef __STDC__
1569 # include <limits.h>
1570 #else
1571 # include <assert.h>
1572 #endif
1574 #undef $2
1576 /* Override any GCC internal prototype to avoid an error.
1577 Use char because int might match the return type of a GCC
1578 builtin and then its argument prototype would still apply. */
1579 #ifdef __cplusplus
1580 extern "C"
1581 #endif
1582 char $2 ();
1583 /* The GNU C library defines this for functions which it implements
1584 to always fail with ENOSYS. Some functions are actually named
1585 something starting with __ and the normal name is an alias. */
1586 #if defined __stub_$2 || defined __stub___$2
1587 choke me
1588 #endif
1591 main ()
1593 return $2 ();
1595 return 0;
1597 _ACEOF
1598 if ac_fn_c_try_link "$LINENO"; then :
1599 eval "$3=yes"
1600 else
1601 eval "$3=no"
1603 rm -f core conftest.err conftest.$ac_objext \
1604 conftest$ac_exeext conftest.$ac_ext
1606 eval ac_res=\$$3
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1608 $as_echo "$ac_res" >&6; }
1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611 } # ac_fn_c_check_func
1613 # ac_fn_c_try_run LINENO
1614 # ----------------------
1615 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1616 # that executables *can* be run.
1617 ac_fn_c_try_run ()
1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620 if { { ac_try="$ac_link"
1621 case "(($ac_try" in
1622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623 *) ac_try_echo=$ac_try;;
1624 esac
1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_link") 2>&5
1628 ac_status=$?
1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1631 { { case "(($ac_try" in
1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1634 esac
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_try") 2>&5
1638 ac_status=$?
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; }; }; then :
1641 ac_retval=0
1642 else
1643 $as_echo "$as_me: program exited with status $ac_status" >&5
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1647 ac_retval=$ac_status
1649 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 as_fn_set_status $ac_retval
1653 } # ac_fn_c_try_run
1655 # ac_fn_c_try_cpp LINENO
1656 # ----------------------
1657 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1658 ac_fn_c_try_cpp ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 if { { ac_try="$ac_cpp conftest.$ac_ext"
1662 case "(($ac_try" in
1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1665 esac
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1669 ac_status=$?
1670 if test -s conftest.err; then
1671 grep -v '^ *+' conftest.err >conftest.er1
1672 cat conftest.er1 >&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } > conftest.i && {
1677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1678 test ! -s conftest.err
1679 }; then :
1680 ac_retval=0
1681 else
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1685 ac_retval=1
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status $ac_retval
1690 } # ac_fn_c_try_cpp
1692 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1693 # -------------------------------------------------------
1694 # Tests whether HEADER exists and can be compiled using the include files in
1695 # INCLUDES, setting the cache variable VAR accordingly.
1696 ac_fn_c_check_header_compile ()
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1700 $as_echo_n "checking for $2... " >&6; }
1701 if eval \${$3+:} false; then :
1702 $as_echo_n "(cached) " >&6
1703 else
1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1707 #include <$2>
1708 _ACEOF
1709 if ac_fn_c_try_compile "$LINENO"; then :
1710 eval "$3=yes"
1711 else
1712 eval "$3=no"
1714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1716 eval ac_res=\$$3
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1718 $as_echo "$ac_res" >&6; }
1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 } # ac_fn_c_check_header_compile
1723 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1724 # ---------------------------------------------
1725 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1726 # accordingly.
1727 ac_fn_c_check_decl ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 as_decl_name=`echo $2|sed 's/ *(.*//'`
1731 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1733 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1734 if eval \${$3+:} false; then :
1735 $as_echo_n "(cached) " >&6
1736 else
1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h. */
1741 main ()
1743 #ifndef $as_decl_name
1744 #ifdef __cplusplus
1745 (void) $as_decl_use;
1746 #else
1747 (void) $as_decl_name;
1748 #endif
1749 #endif
1752 return 0;
1754 _ACEOF
1755 if ac_fn_c_try_compile "$LINENO"; then :
1756 eval "$3=yes"
1757 else
1758 eval "$3=no"
1760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1762 eval ac_res=\$$3
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764 $as_echo "$ac_res" >&6; }
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 } # ac_fn_c_check_decl
1769 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1770 # --------------------------------------------
1771 # Tries to find the compile-time value of EXPR in a program that includes
1772 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1773 # computed
1774 ac_fn_c_compute_int ()
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 if test "$cross_compiling" = yes; then
1778 # Depending upon the size, compute the lo and hi bounds.
1779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780 /* end confdefs.h. */
1783 main ()
1785 static int test_array [1 - 2 * !(($2) >= 0)];
1786 test_array [0] = 0;
1787 return test_array [0];
1790 return 0;
1792 _ACEOF
1793 if ac_fn_c_try_compile "$LINENO"; then :
1794 ac_lo=0 ac_mid=0
1795 while :; do
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1800 main ()
1802 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1803 test_array [0] = 0;
1804 return test_array [0];
1807 return 0;
1809 _ACEOF
1810 if ac_fn_c_try_compile "$LINENO"; then :
1811 ac_hi=$ac_mid; break
1812 else
1813 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1814 if test $ac_lo -le $ac_mid; then
1815 ac_lo= ac_hi=
1816 break
1818 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 done
1822 else
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1827 main ()
1829 static int test_array [1 - 2 * !(($2) < 0)];
1830 test_array [0] = 0;
1831 return test_array [0];
1834 return 0;
1836 _ACEOF
1837 if ac_fn_c_try_compile "$LINENO"; then :
1838 ac_hi=-1 ac_mid=-1
1839 while :; do
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1844 main ()
1846 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1847 test_array [0] = 0;
1848 return test_array [0];
1851 return 0;
1853 _ACEOF
1854 if ac_fn_c_try_compile "$LINENO"; then :
1855 ac_lo=$ac_mid; break
1856 else
1857 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1858 if test $ac_mid -le $ac_hi; then
1859 ac_lo= ac_hi=
1860 break
1862 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1865 done
1866 else
1867 ac_lo= ac_hi=
1869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1872 # Binary search between lo and hi bounds.
1873 while test "x$ac_lo" != "x$ac_hi"; do
1874 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1879 main ()
1881 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1882 test_array [0] = 0;
1883 return test_array [0];
1886 return 0;
1888 _ACEOF
1889 if ac_fn_c_try_compile "$LINENO"; then :
1890 ac_hi=$ac_mid
1891 else
1892 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895 done
1896 case $ac_lo in #((
1897 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1898 '') ac_retval=1 ;;
1899 esac
1900 else
1901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1902 /* end confdefs.h. */
1904 static long int longval () { return $2; }
1905 static unsigned long int ulongval () { return $2; }
1906 #include <stdio.h>
1907 #include <stdlib.h>
1909 main ()
1912 FILE *f = fopen ("conftest.val", "w");
1913 if (! f)
1914 return 1;
1915 if (($2) < 0)
1917 long int i = longval ();
1918 if (i != ($2))
1919 return 1;
1920 fprintf (f, "%ld", i);
1922 else
1924 unsigned long int i = ulongval ();
1925 if (i != ($2))
1926 return 1;
1927 fprintf (f, "%lu", i);
1929 /* Do not output a trailing newline, as this causes \r\n confusion
1930 on some platforms. */
1931 return ferror (f) || fclose (f) != 0;
1934 return 0;
1936 _ACEOF
1937 if ac_fn_c_try_run "$LINENO"; then :
1938 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1939 else
1940 ac_retval=1
1942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1943 conftest.$ac_objext conftest.beam conftest.$ac_ext
1944 rm -f conftest.val
1947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948 as_fn_set_status $ac_retval
1950 } # ac_fn_c_compute_int
1951 cat >config.log <<_ACEOF
1952 This file contains any messages produced by compilers while
1953 running configure, to aid debugging if configure makes a mistake.
1955 It was created by pixman (TeX Live) $as_me 0.34.0, which was
1956 generated by GNU Autoconf 2.69. Invocation command line was
1958 $ $0 $@
1960 _ACEOF
1961 exec 5>>config.log
1963 cat <<_ASUNAME
1964 ## --------- ##
1965 ## Platform. ##
1966 ## --------- ##
1968 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1969 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1970 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1971 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1972 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1974 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1975 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1977 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1978 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1979 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1980 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1981 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1982 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1983 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1985 _ASUNAME
1987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988 for as_dir in $PATH
1990 IFS=$as_save_IFS
1991 test -z "$as_dir" && as_dir=.
1992 $as_echo "PATH: $as_dir"
1993 done
1994 IFS=$as_save_IFS
1996 } >&5
1998 cat >&5 <<_ACEOF
2001 ## ----------- ##
2002 ## Core tests. ##
2003 ## ----------- ##
2005 _ACEOF
2008 # Keep a trace of the command line.
2009 # Strip out --no-create and --no-recursion so they do not pile up.
2010 # Strip out --silent because we don't want to record it for future runs.
2011 # Also quote any args containing shell meta-characters.
2012 # Make two passes to allow for proper duplicate-argument suppression.
2013 ac_configure_args=
2014 ac_configure_args0=
2015 ac_configure_args1=
2016 ac_must_keep_next=false
2017 for ac_pass in 1 2
2019 for ac_arg
2021 case $ac_arg in
2022 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2024 | -silent | --silent | --silen | --sile | --sil)
2025 continue ;;
2026 *\'*)
2027 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2028 esac
2029 case $ac_pass in
2030 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2032 as_fn_append ac_configure_args1 " '$ac_arg'"
2033 if test $ac_must_keep_next = true; then
2034 ac_must_keep_next=false # Got value, back to normal.
2035 else
2036 case $ac_arg in
2037 *=* | --config-cache | -C | -disable-* | --disable-* \
2038 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2039 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2040 | -with-* | --with-* | -without-* | --without-* | --x)
2041 case "$ac_configure_args0 " in
2042 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2043 esac
2045 -* ) ac_must_keep_next=true ;;
2046 esac
2048 as_fn_append ac_configure_args " '$ac_arg'"
2050 esac
2051 done
2052 done
2053 { ac_configure_args0=; unset ac_configure_args0;}
2054 { ac_configure_args1=; unset ac_configure_args1;}
2056 # When interrupted or exit'd, cleanup temporary files, and complete
2057 # config.log. We remove comments because anyway the quotes in there
2058 # would cause problems or look ugly.
2059 # WARNING: Use '\'' to represent an apostrophe within the trap.
2060 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2061 trap 'exit_status=$?
2062 # Save into config.log some information that might help in debugging.
2064 echo
2066 $as_echo "## ---------------- ##
2067 ## Cache variables. ##
2068 ## ---------------- ##"
2069 echo
2070 # The following way of writing the cache mishandles newlines in values,
2072 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2073 eval ac_val=\$$ac_var
2074 case $ac_val in #(
2075 *${as_nl}*)
2076 case $ac_var in #(
2077 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2078 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2079 esac
2080 case $ac_var in #(
2081 _ | IFS | as_nl) ;; #(
2082 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2083 *) { eval $ac_var=; unset $ac_var;} ;;
2084 esac ;;
2085 esac
2086 done
2087 (set) 2>&1 |
2088 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2089 *${as_nl}ac_space=\ *)
2090 sed -n \
2091 "s/'\''/'\''\\\\'\'''\''/g;
2092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2093 ;; #(
2095 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2097 esac |
2098 sort
2100 echo
2102 $as_echo "## ----------------- ##
2103 ## Output variables. ##
2104 ## ----------------- ##"
2105 echo
2106 for ac_var in $ac_subst_vars
2108 eval ac_val=\$$ac_var
2109 case $ac_val in
2110 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2111 esac
2112 $as_echo "$ac_var='\''$ac_val'\''"
2113 done | sort
2114 echo
2116 if test -n "$ac_subst_files"; then
2117 $as_echo "## ------------------- ##
2118 ## File substitutions. ##
2119 ## ------------------- ##"
2120 echo
2121 for ac_var in $ac_subst_files
2123 eval ac_val=\$$ac_var
2124 case $ac_val in
2125 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2126 esac
2127 $as_echo "$ac_var='\''$ac_val'\''"
2128 done | sort
2129 echo
2132 if test -s confdefs.h; then
2133 $as_echo "## ----------- ##
2134 ## confdefs.h. ##
2135 ## ----------- ##"
2136 echo
2137 cat confdefs.h
2138 echo
2140 test "$ac_signal" != 0 &&
2141 $as_echo "$as_me: caught signal $ac_signal"
2142 $as_echo "$as_me: exit $exit_status"
2143 } >&5
2144 rm -f core *.core core.conftest.* &&
2145 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2146 exit $exit_status
2148 for ac_signal in 1 2 13 15; do
2149 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2150 done
2151 ac_signal=0
2153 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2154 rm -f -r conftest* confdefs.h
2156 $as_echo "/* confdefs.h */" > confdefs.h
2158 # Predefined preprocessor variables.
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_NAME "$PACKAGE_NAME"
2162 _ACEOF
2164 cat >>confdefs.h <<_ACEOF
2165 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2166 _ACEOF
2168 cat >>confdefs.h <<_ACEOF
2169 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2170 _ACEOF
2172 cat >>confdefs.h <<_ACEOF
2173 #define PACKAGE_STRING "$PACKAGE_STRING"
2174 _ACEOF
2176 cat >>confdefs.h <<_ACEOF
2177 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2178 _ACEOF
2180 cat >>confdefs.h <<_ACEOF
2181 #define PACKAGE_URL "$PACKAGE_URL"
2182 _ACEOF
2185 # Let the site file select an alternate cache file if it wants to.
2186 # Prefer an explicitly selected file to automatically selected ones.
2187 ac_site_file1=NONE
2188 ac_site_file2=NONE
2189 if test -n "$CONFIG_SITE"; then
2190 # We do not want a PATH search for config.site.
2191 case $CONFIG_SITE in #((
2192 -*) ac_site_file1=./$CONFIG_SITE;;
2193 */*) ac_site_file1=$CONFIG_SITE;;
2194 *) ac_site_file1=./$CONFIG_SITE;;
2195 esac
2196 elif test "x$prefix" != xNONE; then
2197 ac_site_file1=$prefix/share/config.site
2198 ac_site_file2=$prefix/etc/config.site
2199 else
2200 ac_site_file1=$ac_default_prefix/share/config.site
2201 ac_site_file2=$ac_default_prefix/etc/config.site
2203 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2205 test "x$ac_site_file" = xNONE && continue
2206 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2208 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2209 sed 's/^/| /' "$ac_site_file" >&5
2210 . "$ac_site_file" \
2211 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213 as_fn_error $? "failed to load site script $ac_site_file
2214 See \`config.log' for more details" "$LINENO" 5; }
2216 done
2218 if test -r "$cache_file"; then
2219 # Some versions of bash will fail to source /dev/null (special files
2220 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2221 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2223 $as_echo "$as_me: loading cache $cache_file" >&6;}
2224 case $cache_file in
2225 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2226 *) . "./$cache_file";;
2227 esac
2229 else
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2231 $as_echo "$as_me: creating cache $cache_file" >&6;}
2232 >$cache_file
2235 # Check that the precious variables saved in the cache have kept the same
2236 # value.
2237 ac_cache_corrupted=false
2238 for ac_var in $ac_precious_vars; do
2239 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2240 eval ac_new_set=\$ac_env_${ac_var}_set
2241 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2242 eval ac_new_val=\$ac_env_${ac_var}_value
2243 case $ac_old_set,$ac_new_set in
2244 set,)
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2246 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2247 ac_cache_corrupted=: ;;
2248 ,set)
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2250 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2251 ac_cache_corrupted=: ;;
2252 ,);;
2254 if test "x$ac_old_val" != "x$ac_new_val"; then
2255 # differences in whitespace do not lead to failure.
2256 ac_old_val_w=`echo x $ac_old_val`
2257 ac_new_val_w=`echo x $ac_new_val`
2258 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2260 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2261 ac_cache_corrupted=:
2262 else
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2264 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2265 eval $ac_var=\$ac_old_val
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2268 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2270 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2271 fi;;
2272 esac
2273 # Pass precious variables to config.status.
2274 if test "$ac_new_set" = set; then
2275 case $ac_new_val in
2276 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2277 *) ac_arg=$ac_var=$ac_new_val ;;
2278 esac
2279 case " $ac_configure_args " in
2280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2281 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2282 esac
2284 done
2285 if $ac_cache_corrupted; then
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2289 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2290 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2292 ## -------------------- ##
2293 ## Main body of script. ##
2294 ## -------------------- ##
2296 ac_ext=c
2297 ac_cpp='$CPP $CPPFLAGS'
2298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2305 ac_aux_dir=
2306 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2307 if test -f "$ac_dir/install-sh"; then
2308 ac_aux_dir=$ac_dir
2309 ac_install_sh="$ac_aux_dir/install-sh -c"
2310 break
2311 elif test -f "$ac_dir/install.sh"; then
2312 ac_aux_dir=$ac_dir
2313 ac_install_sh="$ac_aux_dir/install.sh -c"
2314 break
2315 elif test -f "$ac_dir/shtool"; then
2316 ac_aux_dir=$ac_dir
2317 ac_install_sh="$ac_aux_dir/shtool install -c"
2318 break
2320 done
2321 if test -z "$ac_aux_dir"; then
2322 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2325 # These three variables are undocumented and unsupported,
2326 # and are intended to be withdrawn in a future Autoconf release.
2327 # They can cause serious problems if a builder's source tree is in a directory
2328 # whose full name contains unusual characters.
2329 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2330 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2331 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2336 am__api_version='1.15'
2338 # Find a good install program. We prefer a C program (faster),
2339 # so one script is as good as another. But avoid the broken or
2340 # incompatible versions:
2341 # SysV /etc/install, /usr/sbin/install
2342 # SunOS /usr/etc/install
2343 # IRIX /sbin/install
2344 # AIX /bin/install
2345 # AmigaOS /C/install, which installs bootblocks on floppy discs
2346 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2347 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2348 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2349 # OS/2's system install, which has a completely different semantic
2350 # ./install, which can be erroneously created by make from ./install.sh.
2351 # Reject install programs that cannot install multiple files.
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2353 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2354 if test -z "$INSTALL"; then
2355 if ${ac_cv_path_install+:} false; then :
2356 $as_echo_n "(cached) " >&6
2357 else
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 for as_dir in $PATH
2361 IFS=$as_save_IFS
2362 test -z "$as_dir" && as_dir=.
2363 # Account for people who put trailing slashes in PATH elements.
2364 case $as_dir/ in #((
2365 ./ | .// | /[cC]/* | \
2366 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2367 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2368 /usr/ucb/* ) ;;
2370 # OSF1 and SCO ODT 3.0 have their own names for install.
2371 # Don't use installbsd from OSF since it installs stuff as root
2372 # by default.
2373 for ac_prog in ginstall scoinst install; do
2374 for ac_exec_ext in '' $ac_executable_extensions; do
2375 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2376 if test $ac_prog = install &&
2377 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2378 # AIX install. It has an incompatible calling convention.
2380 elif test $ac_prog = install &&
2381 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2382 # program-specific install script used by HP pwplus--don't use.
2384 else
2385 rm -rf conftest.one conftest.two conftest.dir
2386 echo one > conftest.one
2387 echo two > conftest.two
2388 mkdir conftest.dir
2389 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2390 test -s conftest.one && test -s conftest.two &&
2391 test -s conftest.dir/conftest.one &&
2392 test -s conftest.dir/conftest.two
2393 then
2394 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2395 break 3
2399 done
2400 done
2402 esac
2404 done
2405 IFS=$as_save_IFS
2407 rm -rf conftest.one conftest.two conftest.dir
2410 if test "${ac_cv_path_install+set}" = set; then
2411 INSTALL=$ac_cv_path_install
2412 else
2413 # As a last resort, use the slow shell script. Don't cache a
2414 # value for INSTALL within a source directory, because that will
2415 # break other packages using the cache if that directory is
2416 # removed, or if the value is a relative name.
2417 INSTALL=$ac_install_sh
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2421 $as_echo "$INSTALL" >&6; }
2423 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2424 # It thinks the first close brace ends the variable substitution.
2425 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2427 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2429 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2432 $as_echo_n "checking whether build environment is sane... " >&6; }
2433 # Reject unsafe characters in $srcdir or the absolute working directory
2434 # name. Accept space and tab only in the latter.
2435 am_lf='
2437 case `pwd` in
2438 *[\\\"\#\$\&\'\`$am_lf]*)
2439 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2440 esac
2441 case $srcdir in
2442 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2443 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2444 esac
2446 # Do 'set' in a subshell so we don't clobber the current shell's
2447 # arguments. Must try -L first in case configure is actually a
2448 # symlink; some systems play weird games with the mod time of symlinks
2449 # (eg FreeBSD returns the mod time of the symlink's containing
2450 # directory).
2451 if (
2452 am_has_slept=no
2453 for am_try in 1 2; do
2454 echo "timestamp, slept: $am_has_slept" > conftest.file
2455 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2456 if test "$*" = "X"; then
2457 # -L didn't work.
2458 set X `ls -t "$srcdir/configure" conftest.file`
2460 if test "$*" != "X $srcdir/configure conftest.file" \
2461 && test "$*" != "X conftest.file $srcdir/configure"; then
2463 # If neither matched, then we have a broken ls. This can happen
2464 # if, for instance, CONFIG_SHELL is bash and it inherits a
2465 # broken ls alias from the environment. This has actually
2466 # happened. Such a system could not be considered "sane".
2467 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2468 alias in your environment" "$LINENO" 5
2470 if test "$2" = conftest.file || test $am_try -eq 2; then
2471 break
2473 # Just in case.
2474 sleep 1
2475 am_has_slept=yes
2476 done
2477 test "$2" = conftest.file
2479 then
2480 # Ok.
2482 else
2483 as_fn_error $? "newly created file is older than distributed files!
2484 Check your system clock" "$LINENO" 5
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2487 $as_echo "yes" >&6; }
2488 # If we didn't sleep, we still need to ensure time stamps of config.status and
2489 # generated files are strictly newer.
2490 am_sleep_pid=
2491 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2492 ( sleep 1 ) &
2493 am_sleep_pid=$!
2496 rm -f conftest.file
2498 test "$program_prefix" != NONE &&
2499 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2500 # Use a double $ so make ignores it.
2501 test "$program_suffix" != NONE &&
2502 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2503 # Double any \ or $.
2504 # By default was `s,x,x', remove it if useless.
2505 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2506 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2508 # Expand $ac_aux_dir to an absolute path.
2509 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2511 if test x"${MISSING+set}" != xset; then
2512 case $am_aux_dir in
2513 *\ * | *\ *)
2514 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2516 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2517 esac
2519 # Use eval to expand $SHELL
2520 if eval "$MISSING --is-lightweight"; then
2521 am_missing_run="$MISSING "
2522 else
2523 am_missing_run=
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2525 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2528 if test x"${install_sh+set}" != xset; then
2529 case $am_aux_dir in
2530 *\ * | *\ *)
2531 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2533 install_sh="\${SHELL} $am_aux_dir/install-sh"
2534 esac
2537 # Installed binaries are usually stripped using 'strip' when the user
2538 # run "make install-strip". However 'strip' might not be the right
2539 # tool to use in cross-compilation environments, therefore Automake
2540 # will honor the 'STRIP' environment variable to overrule this program.
2541 if test "$cross_compiling" != no; then
2542 if test -n "$ac_tool_prefix"; then
2543 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2544 set dummy ${ac_tool_prefix}strip; ac_word=$2
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546 $as_echo_n "checking for $ac_word... " >&6; }
2547 if ${ac_cv_prog_STRIP+:} false; then :
2548 $as_echo_n "(cached) " >&6
2549 else
2550 if test -n "$STRIP"; then
2551 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2552 else
2553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554 for as_dir in $PATH
2556 IFS=$as_save_IFS
2557 test -z "$as_dir" && as_dir=.
2558 for ac_exec_ext in '' $ac_executable_extensions; do
2559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2560 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 break 2
2564 done
2565 done
2566 IFS=$as_save_IFS
2570 STRIP=$ac_cv_prog_STRIP
2571 if test -n "$STRIP"; then
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2573 $as_echo "$STRIP" >&6; }
2574 else
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2576 $as_echo "no" >&6; }
2581 if test -z "$ac_cv_prog_STRIP"; then
2582 ac_ct_STRIP=$STRIP
2583 # Extract the first word of "strip", so it can be a program name with args.
2584 set dummy strip; ac_word=$2
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2586 $as_echo_n "checking for $ac_word... " >&6; }
2587 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2588 $as_echo_n "(cached) " >&6
2589 else
2590 if test -n "$ac_ct_STRIP"; then
2591 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2592 else
2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594 for as_dir in $PATH
2596 IFS=$as_save_IFS
2597 test -z "$as_dir" && as_dir=.
2598 for ac_exec_ext in '' $ac_executable_extensions; do
2599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2600 ac_cv_prog_ac_ct_STRIP="strip"
2601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 break 2
2604 done
2605 done
2606 IFS=$as_save_IFS
2610 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2611 if test -n "$ac_ct_STRIP"; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2613 $as_echo "$ac_ct_STRIP" >&6; }
2614 else
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2616 $as_echo "no" >&6; }
2619 if test "x$ac_ct_STRIP" = x; then
2620 STRIP=":"
2621 else
2622 case $cross_compiling:$ac_tool_warned in
2623 yes:)
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2626 ac_tool_warned=yes ;;
2627 esac
2628 STRIP=$ac_ct_STRIP
2630 else
2631 STRIP="$ac_cv_prog_STRIP"
2635 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2638 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2639 if test -z "$MKDIR_P"; then
2640 if ${ac_cv_path_mkdir+:} false; then :
2641 $as_echo_n "(cached) " >&6
2642 else
2643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2644 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2646 IFS=$as_save_IFS
2647 test -z "$as_dir" && as_dir=.
2648 for ac_prog in mkdir gmkdir; do
2649 for ac_exec_ext in '' $ac_executable_extensions; do
2650 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2651 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2652 'mkdir (GNU coreutils) '* | \
2653 'mkdir (coreutils) '* | \
2654 'mkdir (fileutils) '4.1*)
2655 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2656 break 3;;
2657 esac
2658 done
2659 done
2660 done
2661 IFS=$as_save_IFS
2665 test -d ./--version && rmdir ./--version
2666 if test "${ac_cv_path_mkdir+set}" = set; then
2667 MKDIR_P="$ac_cv_path_mkdir -p"
2668 else
2669 # As a last resort, use the slow shell script. Don't cache a
2670 # value for MKDIR_P within a source directory, because that will
2671 # break other packages using the cache if that directory is
2672 # removed, or if the value is a relative name.
2673 MKDIR_P="$ac_install_sh -d"
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2677 $as_echo "$MKDIR_P" >&6; }
2679 for ac_prog in gawk mawk nawk awk
2681 # Extract the first word of "$ac_prog", so it can be a program name with args.
2682 set dummy $ac_prog; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if ${ac_cv_prog_AWK+:} false; then :
2686 $as_echo_n "(cached) " >&6
2687 else
2688 if test -n "$AWK"; then
2689 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2690 else
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 for as_dir in $PATH
2694 IFS=$as_save_IFS
2695 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2698 ac_cv_prog_AWK="$ac_prog"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2700 break 2
2702 done
2703 done
2704 IFS=$as_save_IFS
2708 AWK=$ac_cv_prog_AWK
2709 if test -n "$AWK"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2711 $as_echo "$AWK" >&6; }
2712 else
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2718 test -n "$AWK" && break
2719 done
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2722 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2723 set x ${MAKE-make}
2724 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2725 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2726 $as_echo_n "(cached) " >&6
2727 else
2728 cat >conftest.make <<\_ACEOF
2729 SHELL = /bin/sh
2730 all:
2731 @echo '@@@%%%=$(MAKE)=@@@%%%'
2732 _ACEOF
2733 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2734 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2735 *@@@%%%=?*=@@@%%%*)
2736 eval ac_cv_prog_make_${ac_make}_set=yes;;
2738 eval ac_cv_prog_make_${ac_make}_set=no;;
2739 esac
2740 rm -f conftest.make
2742 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2744 $as_echo "yes" >&6; }
2745 SET_MAKE=
2746 else
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2749 SET_MAKE="MAKE=${MAKE-make}"
2752 rm -rf .tst 2>/dev/null
2753 mkdir .tst 2>/dev/null
2754 if test -d .tst; then
2755 am__leading_dot=.
2756 else
2757 am__leading_dot=_
2759 rmdir .tst 2>/dev/null
2761 # Check whether --enable-silent-rules was given.
2762 if test "${enable_silent_rules+set}" = set; then :
2763 enableval=$enable_silent_rules;
2766 case $enable_silent_rules in # (((
2767 yes) AM_DEFAULT_VERBOSITY=0;;
2768 no) AM_DEFAULT_VERBOSITY=1;;
2769 *) AM_DEFAULT_VERBOSITY=1;;
2770 esac
2771 am_make=${MAKE-make}
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2773 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2774 if ${am_cv_make_support_nested_variables+:} false; then :
2775 $as_echo_n "(cached) " >&6
2776 else
2777 if $as_echo 'TRUE=$(BAR$(V))
2778 BAR0=false
2779 BAR1=true
2781 am__doit:
2782 @$(TRUE)
2783 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2784 am_cv_make_support_nested_variables=yes
2785 else
2786 am_cv_make_support_nested_variables=no
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2790 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2791 if test $am_cv_make_support_nested_variables = yes; then
2792 AM_V='$(V)'
2793 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2794 else
2795 AM_V=$AM_DEFAULT_VERBOSITY
2796 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2798 AM_BACKSLASH='\'
2800 DEPDIR="${am__leading_dot}deps"
2802 ac_config_commands="$ac_config_commands depfiles"
2805 am_make=${MAKE-make}
2806 cat > confinc << 'END'
2807 am__doit:
2808 @echo this is the am__doit target
2809 .PHONY: am__doit
2811 # If we don't find an include directive, just comment out the code.
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2813 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2814 am__include="#"
2815 am__quote=
2816 _am_result=none
2817 # First try GNU make style include.
2818 echo "include confinc" > confmf
2819 # Ignore all kinds of additional output from 'make'.
2820 case `$am_make -s -f confmf 2> /dev/null` in #(
2821 *the\ am__doit\ target*)
2822 am__include=include
2823 am__quote=
2824 _am_result=GNU
2826 esac
2827 # Now try BSD make style include.
2828 if test "$am__include" = "#"; then
2829 echo '.include "confinc"' > confmf
2830 case `$am_make -s -f confmf 2> /dev/null` in #(
2831 *the\ am__doit\ target*)
2832 am__include=.include
2833 am__quote="\""
2834 _am_result=BSD
2836 esac
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2841 $as_echo "$_am_result" >&6; }
2842 rm -f confinc confmf
2844 # Check whether --enable-dependency-tracking was given.
2845 if test "${enable_dependency_tracking+set}" = set; then :
2846 enableval=$enable_dependency_tracking;
2849 if test "x$enable_dependency_tracking" != xno; then
2850 am_depcomp="$ac_aux_dir/depcomp"
2851 AMDEPBACKSLASH='\'
2852 am__nodep='_no'
2854 if test "x$enable_dependency_tracking" != xno; then
2855 AMDEP_TRUE=
2856 AMDEP_FALSE='#'
2857 else
2858 AMDEP_TRUE='#'
2859 AMDEP_FALSE=
2863 ac_ext=c
2864 ac_cpp='$CPP $CPPFLAGS'
2865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2868 if test -n "$ac_tool_prefix"; then
2869 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2870 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2872 $as_echo_n "checking for $ac_word... " >&6; }
2873 if ${ac_cv_prog_CC+:} false; then :
2874 $as_echo_n "(cached) " >&6
2875 else
2876 if test -n "$CC"; then
2877 ac_cv_prog_CC="$CC" # Let the user override the test.
2878 else
2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2880 for as_dir in $PATH
2882 IFS=$as_save_IFS
2883 test -z "$as_dir" && as_dir=.
2884 for ac_exec_ext in '' $ac_executable_extensions; do
2885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2886 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2888 break 2
2890 done
2891 done
2892 IFS=$as_save_IFS
2896 CC=$ac_cv_prog_CC
2897 if test -n "$CC"; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2899 $as_echo "$CC" >&6; }
2900 else
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2907 if test -z "$ac_cv_prog_CC"; then
2908 ac_ct_CC=$CC
2909 # Extract the first word of "gcc", so it can be a program name with args.
2910 set dummy gcc; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2914 $as_echo_n "(cached) " >&6
2915 else
2916 if test -n "$ac_ct_CC"; then
2917 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2918 else
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH
2922 IFS=$as_save_IFS
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_ac_ct_CC="gcc"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928 break 2
2930 done
2931 done
2932 IFS=$as_save_IFS
2936 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2937 if test -n "$ac_ct_CC"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2939 $as_echo "$ac_ct_CC" >&6; }
2940 else
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2945 if test "x$ac_ct_CC" = x; then
2946 CC=""
2947 else
2948 case $cross_compiling:$ac_tool_warned in
2949 yes:)
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2952 ac_tool_warned=yes ;;
2953 esac
2954 CC=$ac_ct_CC
2956 else
2957 CC="$ac_cv_prog_CC"
2960 if test -z "$CC"; then
2961 if test -n "$ac_tool_prefix"; then
2962 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2963 set dummy ${ac_tool_prefix}cc; ac_word=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if ${ac_cv_prog_CC+:} false; then :
2967 $as_echo_n "(cached) " >&6
2968 else
2969 if test -n "$CC"; then
2970 ac_cv_prog_CC="$CC" # Let the user override the test.
2971 else
2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2973 for as_dir in $PATH
2975 IFS=$as_save_IFS
2976 test -z "$as_dir" && as_dir=.
2977 for ac_exec_ext in '' $ac_executable_extensions; do
2978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2979 ac_cv_prog_CC="${ac_tool_prefix}cc"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981 break 2
2983 done
2984 done
2985 IFS=$as_save_IFS
2989 CC=$ac_cv_prog_CC
2990 if test -n "$CC"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2992 $as_echo "$CC" >&6; }
2993 else
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
3001 if test -z "$CC"; then
3002 # Extract the first word of "cc", so it can be a program name with args.
3003 set dummy cc; ac_word=$2
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005 $as_echo_n "checking for $ac_word... " >&6; }
3006 if ${ac_cv_prog_CC+:} false; then :
3007 $as_echo_n "(cached) " >&6
3008 else
3009 if test -n "$CC"; then
3010 ac_cv_prog_CC="$CC" # Let the user override the test.
3011 else
3012 ac_prog_rejected=no
3013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 for as_dir in $PATH
3016 IFS=$as_save_IFS
3017 test -z "$as_dir" && as_dir=.
3018 for ac_exec_ext in '' $ac_executable_extensions; do
3019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3020 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3021 ac_prog_rejected=yes
3022 continue
3024 ac_cv_prog_CC="cc"
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 break 2
3028 done
3029 done
3030 IFS=$as_save_IFS
3032 if test $ac_prog_rejected = yes; then
3033 # We found a bogon in the path, so make sure we never use it.
3034 set dummy $ac_cv_prog_CC
3035 shift
3036 if test $# != 0; then
3037 # We chose a different compiler from the bogus one.
3038 # However, it has the same basename, so the bogon will be chosen
3039 # first if we set CC to just the basename; use the full file name.
3040 shift
3041 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3046 CC=$ac_cv_prog_CC
3047 if test -n "$CC"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3049 $as_echo "$CC" >&6; }
3050 else
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3057 if test -z "$CC"; then
3058 if test -n "$ac_tool_prefix"; then
3059 for ac_prog in cl.exe
3061 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3062 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if ${ac_cv_prog_CC+:} false; then :
3066 $as_echo_n "(cached) " >&6
3067 else
3068 if test -n "$CC"; then
3069 ac_cv_prog_CC="$CC" # Let the user override the test.
3070 else
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072 for as_dir in $PATH
3074 IFS=$as_save_IFS
3075 test -z "$as_dir" && as_dir=.
3076 for ac_exec_ext in '' $ac_executable_extensions; do
3077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 break 2
3082 done
3083 done
3084 IFS=$as_save_IFS
3088 CC=$ac_cv_prog_CC
3089 if test -n "$CC"; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3091 $as_echo "$CC" >&6; }
3092 else
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3098 test -n "$CC" && break
3099 done
3101 if test -z "$CC"; then
3102 ac_ct_CC=$CC
3103 for ac_prog in cl.exe
3105 # Extract the first word of "$ac_prog", so it can be a program name with args.
3106 set dummy $ac_prog; ac_word=$2
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108 $as_echo_n "checking for $ac_word... " >&6; }
3109 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3110 $as_echo_n "(cached) " >&6
3111 else
3112 if test -n "$ac_ct_CC"; then
3113 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3114 else
3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 for as_dir in $PATH
3118 IFS=$as_save_IFS
3119 test -z "$as_dir" && as_dir=.
3120 for ac_exec_ext in '' $ac_executable_extensions; do
3121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3122 ac_cv_prog_ac_ct_CC="$ac_prog"
3123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 break 2
3126 done
3127 done
3128 IFS=$as_save_IFS
3132 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3133 if test -n "$ac_ct_CC"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3135 $as_echo "$ac_ct_CC" >&6; }
3136 else
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3142 test -n "$ac_ct_CC" && break
3143 done
3145 if test "x$ac_ct_CC" = x; then
3146 CC=""
3147 else
3148 case $cross_compiling:$ac_tool_warned in
3149 yes:)
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3152 ac_tool_warned=yes ;;
3153 esac
3154 CC=$ac_ct_CC
3161 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3163 as_fn_error $? "no acceptable C compiler found in \$PATH
3164 See \`config.log' for more details" "$LINENO" 5; }
3166 # Provide some information about the compiler.
3167 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3168 set X $ac_compile
3169 ac_compiler=$2
3170 for ac_option in --version -v -V -qversion; do
3171 { { ac_try="$ac_compiler $ac_option >&5"
3172 case "(($ac_try" in
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3175 esac
3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3179 ac_status=$?
3180 if test -s conftest.err; then
3181 sed '10a\
3182 ... rest of stderr output deleted ...
3183 10q' conftest.err >conftest.er1
3184 cat conftest.er1 >&5
3186 rm -f conftest.er1 conftest.err
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }
3189 done
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3195 main ()
3199 return 0;
3201 _ACEOF
3202 ac_clean_files_save=$ac_clean_files
3203 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3204 # Try to create an executable without -o first, disregard a.out.
3205 # It will help us diagnose broken compilers, and finding out an intuition
3206 # of exeext.
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3208 $as_echo_n "checking whether the C compiler works... " >&6; }
3209 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3211 # The possible output files:
3212 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3214 ac_rmfiles=
3215 for ac_file in $ac_files
3217 case $ac_file in
3218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3219 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3220 esac
3221 done
3222 rm -f $ac_rmfiles
3224 if { { ac_try="$ac_link_default"
3225 case "(($ac_try" in
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3228 esac
3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3230 $as_echo "$ac_try_echo"; } >&5
3231 (eval "$ac_link_default") 2>&5
3232 ac_status=$?
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234 test $ac_status = 0; }; then :
3235 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3236 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3237 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3238 # so that the user can short-circuit this test for compilers unknown to
3239 # Autoconf.
3240 for ac_file in $ac_files ''
3242 test -f "$ac_file" || continue
3243 case $ac_file in
3244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3246 [ab].out )
3247 # We found the default executable, but exeext='' is most
3248 # certainly right.
3249 break;;
3250 *.* )
3251 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3252 then :; else
3253 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3255 # We set ac_cv_exeext here because the later test for it is not
3256 # safe: cross compilers may not add the suffix if given an `-o'
3257 # argument, so we may need to know it at that point already.
3258 # Even if this section looks crufty: it has the advantage of
3259 # actually working.
3260 break;;
3262 break;;
3263 esac
3264 done
3265 test "$ac_cv_exeext" = no && ac_cv_exeext=
3267 else
3268 ac_file=''
3270 if test -z "$ac_file"; then :
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3273 $as_echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 as_fn_error 77 "C compiler cannot create executables
3279 See \`config.log' for more details" "$LINENO" 5; }
3280 else
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3282 $as_echo "yes" >&6; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3285 $as_echo_n "checking for C compiler default output file name... " >&6; }
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3287 $as_echo "$ac_file" >&6; }
3288 ac_exeext=$ac_cv_exeext
3290 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3291 ac_clean_files=$ac_clean_files_save
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3293 $as_echo_n "checking for suffix of executables... " >&6; }
3294 if { { ac_try="$ac_link"
3295 case "(($ac_try" in
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3298 esac
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_link") 2>&5
3302 ac_status=$?
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; }; then :
3305 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3306 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3307 # work properly (i.e., refer to `conftest.exe'), while it won't with
3308 # `rm'.
3309 for ac_file in conftest.exe conftest conftest.*; do
3310 test -f "$ac_file" || continue
3311 case $ac_file in
3312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3313 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3314 break;;
3315 * ) break;;
3316 esac
3317 done
3318 else
3319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3322 See \`config.log' for more details" "$LINENO" 5; }
3324 rm -f conftest conftest$ac_cv_exeext
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3326 $as_echo "$ac_cv_exeext" >&6; }
3328 rm -f conftest.$ac_ext
3329 EXEEXT=$ac_cv_exeext
3330 ac_exeext=$EXEEXT
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3333 #include <stdio.h>
3335 main ()
3337 FILE *f = fopen ("conftest.out", "w");
3338 return ferror (f) || fclose (f) != 0;
3341 return 0;
3343 _ACEOF
3344 ac_clean_files="$ac_clean_files conftest.out"
3345 # Check that the compiler produces executables we can run. If not, either
3346 # the compiler is broken, or we cross compile.
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3348 $as_echo_n "checking whether we are cross compiling... " >&6; }
3349 if test "$cross_compiling" != yes; then
3350 { { ac_try="$ac_link"
3351 case "(($ac_try" in
3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353 *) ac_try_echo=$ac_try;;
3354 esac
3355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3356 $as_echo "$ac_try_echo"; } >&5
3357 (eval "$ac_link") 2>&5
3358 ac_status=$?
3359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3360 test $ac_status = 0; }
3361 if { ac_try='./conftest$ac_cv_exeext'
3362 { { case "(($ac_try" in
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3365 esac
3366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367 $as_echo "$ac_try_echo"; } >&5
3368 (eval "$ac_try") 2>&5
3369 ac_status=$?
3370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3371 test $ac_status = 0; }; }; then
3372 cross_compiling=no
3373 else
3374 if test "$cross_compiling" = maybe; then
3375 cross_compiling=yes
3376 else
3377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379 as_fn_error $? "cannot run C compiled programs.
3380 If you meant to cross compile, use \`--host'.
3381 See \`config.log' for more details" "$LINENO" 5; }
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3386 $as_echo "$cross_compiling" >&6; }
3388 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3389 ac_clean_files=$ac_clean_files_save
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3391 $as_echo_n "checking for suffix of object files... " >&6; }
3392 if ${ac_cv_objext+:} false; then :
3393 $as_echo_n "(cached) " >&6
3394 else
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3399 main ()
3403 return 0;
3405 _ACEOF
3406 rm -f conftest.o conftest.obj
3407 if { { ac_try="$ac_compile"
3408 case "(($ac_try" in
3409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410 *) ac_try_echo=$ac_try;;
3411 esac
3412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413 $as_echo "$ac_try_echo"; } >&5
3414 (eval "$ac_compile") 2>&5
3415 ac_status=$?
3416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417 test $ac_status = 0; }; then :
3418 for ac_file in conftest.o conftest.obj conftest.*; do
3419 test -f "$ac_file" || continue;
3420 case $ac_file in
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3422 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3423 break;;
3424 esac
3425 done
3426 else
3427 $as_echo "$as_me: failed program was:" >&5
3428 sed 's/^/| /' conftest.$ac_ext >&5
3430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3432 as_fn_error $? "cannot compute suffix of object files: cannot compile
3433 See \`config.log' for more details" "$LINENO" 5; }
3435 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3438 $as_echo "$ac_cv_objext" >&6; }
3439 OBJEXT=$ac_cv_objext
3440 ac_objext=$OBJEXT
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3442 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3443 if ${ac_cv_c_compiler_gnu+:} false; then :
3444 $as_echo_n "(cached) " >&6
3445 else
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3450 main ()
3452 #ifndef __GNUC__
3453 choke me
3454 #endif
3457 return 0;
3459 _ACEOF
3460 if ac_fn_c_try_compile "$LINENO"; then :
3461 ac_compiler_gnu=yes
3462 else
3463 ac_compiler_gnu=no
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3470 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3471 if test $ac_compiler_gnu = yes; then
3472 GCC=yes
3473 else
3474 GCC=
3476 ac_test_CFLAGS=${CFLAGS+set}
3477 ac_save_CFLAGS=$CFLAGS
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3479 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3480 if ${ac_cv_prog_cc_g+:} false; then :
3481 $as_echo_n "(cached) " >&6
3482 else
3483 ac_save_c_werror_flag=$ac_c_werror_flag
3484 ac_c_werror_flag=yes
3485 ac_cv_prog_cc_g=no
3486 CFLAGS="-g"
3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h. */
3491 main ()
3495 return 0;
3497 _ACEOF
3498 if ac_fn_c_try_compile "$LINENO"; then :
3499 ac_cv_prog_cc_g=yes
3500 else
3501 CFLAGS=""
3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3506 main ()
3510 return 0;
3512 _ACEOF
3513 if ac_fn_c_try_compile "$LINENO"; then :
3515 else
3516 ac_c_werror_flag=$ac_save_c_werror_flag
3517 CFLAGS="-g"
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3522 main ()
3526 return 0;
3528 _ACEOF
3529 if ac_fn_c_try_compile "$LINENO"; then :
3530 ac_cv_prog_cc_g=yes
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 ac_c_werror_flag=$ac_save_c_werror_flag
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3540 $as_echo "$ac_cv_prog_cc_g" >&6; }
3541 if test "$ac_test_CFLAGS" = set; then
3542 CFLAGS=$ac_save_CFLAGS
3543 elif test $ac_cv_prog_cc_g = yes; then
3544 if test "$GCC" = yes; then
3545 CFLAGS="-g -O2"
3546 else
3547 CFLAGS="-g"
3549 else
3550 if test "$GCC" = yes; then
3551 CFLAGS="-O2"
3552 else
3553 CFLAGS=
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3557 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3558 if ${ac_cv_prog_cc_c89+:} false; then :
3559 $as_echo_n "(cached) " >&6
3560 else
3561 ac_cv_prog_cc_c89=no
3562 ac_save_CC=$CC
3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3565 #include <stdarg.h>
3566 #include <stdio.h>
3567 struct stat;
3568 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3569 struct buf { int x; };
3570 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3571 static char *e (p, i)
3572 char **p;
3573 int i;
3575 return p[i];
3577 static char *f (char * (*g) (char **, int), char **p, ...)
3579 char *s;
3580 va_list v;
3581 va_start (v,p);
3582 s = g (p, va_arg (v,int));
3583 va_end (v);
3584 return s;
3587 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3588 function prototypes and stuff, but not '\xHH' hex character constants.
3589 These don't provoke an error unfortunately, instead are silently treated
3590 as 'x'. The following induces an error, until -std is added to get
3591 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3592 array size at least. It's necessary to write '\x00'==0 to get something
3593 that's true only with -std. */
3594 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3596 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3597 inside strings and character constants. */
3598 #define FOO(x) 'x'
3599 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3601 int test (int i, double x);
3602 struct s1 {int (*f) (int a);};
3603 struct s2 {int (*f) (double a);};
3604 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3605 int argc;
3606 char **argv;
3608 main ()
3610 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3612 return 0;
3614 _ACEOF
3615 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3616 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3618 CC="$ac_save_CC $ac_arg"
3619 if ac_fn_c_try_compile "$LINENO"; then :
3620 ac_cv_prog_cc_c89=$ac_arg
3622 rm -f core conftest.err conftest.$ac_objext
3623 test "x$ac_cv_prog_cc_c89" != "xno" && break
3624 done
3625 rm -f conftest.$ac_ext
3626 CC=$ac_save_CC
3629 # AC_CACHE_VAL
3630 case "x$ac_cv_prog_cc_c89" in
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3633 $as_echo "none needed" >&6; } ;;
3634 xno)
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3636 $as_echo "unsupported" >&6; } ;;
3638 CC="$CC $ac_cv_prog_cc_c89"
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3640 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3641 esac
3642 if test "x$ac_cv_prog_cc_c89" != xno; then :
3646 ac_ext=c
3647 ac_cpp='$CPP $CPPFLAGS'
3648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3652 ac_ext=c
3653 ac_cpp='$CPP $CPPFLAGS'
3654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3658 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3659 if ${am_cv_prog_cc_c_o+:} false; then :
3660 $as_echo_n "(cached) " >&6
3661 else
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3666 main ()
3670 return 0;
3672 _ACEOF
3673 # Make sure it works both with $CC and with simple cc.
3674 # Following AC_PROG_CC_C_O, we do the test twice because some
3675 # compilers refuse to overwrite an existing .o file with -o,
3676 # though they will create one.
3677 am_cv_prog_cc_c_o=yes
3678 for am_i in 1 2; do
3679 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3680 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3681 ac_status=$?
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } \
3684 && test -f conftest2.$ac_objext; then
3685 : OK
3686 else
3687 am_cv_prog_cc_c_o=no
3688 break
3690 done
3691 rm -f core conftest*
3692 unset am_i
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3695 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3696 if test "$am_cv_prog_cc_c_o" != yes; then
3697 # Losing compiler, so override with the script.
3698 # FIXME: It is wrong to rewrite CC.
3699 # But if we don't then we get into trouble of one sort or another.
3700 # A longer-term fix would be to have automake use am__CC in this case,
3701 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3702 CC="$am_aux_dir/compile $CC"
3704 ac_ext=c
3705 ac_cpp='$CPP $CPPFLAGS'
3706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3711 depcc="$CC" am_compiler_list=
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3714 $as_echo_n "checking dependency style of $depcc... " >&6; }
3715 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3716 $as_echo_n "(cached) " >&6
3717 else
3718 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3719 # We make a subdir and do the tests there. Otherwise we can end up
3720 # making bogus files that we don't know about and never remove. For
3721 # instance it was reported that on HP-UX the gcc test will end up
3722 # making a dummy file named 'D' -- because '-MD' means "put the output
3723 # in D".
3724 rm -rf conftest.dir
3725 mkdir conftest.dir
3726 # Copy depcomp to subdir because otherwise we won't find it if we're
3727 # using a relative directory.
3728 cp "$am_depcomp" conftest.dir
3729 cd conftest.dir
3730 # We will build objects and dependencies in a subdirectory because
3731 # it helps to detect inapplicable dependency modes. For instance
3732 # both Tru64's cc and ICC support -MD to output dependencies as a
3733 # side effect of compilation, but ICC will put the dependencies in
3734 # the current directory while Tru64 will put them in the object
3735 # directory.
3736 mkdir sub
3738 am_cv_CC_dependencies_compiler_type=none
3739 if test "$am_compiler_list" = ""; then
3740 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3742 am__universal=false
3743 case " $depcc " in #(
3744 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3745 esac
3747 for depmode in $am_compiler_list; do
3748 # Setup a source with many dependencies, because some compilers
3749 # like to wrap large dependency lists on column 80 (with \), and
3750 # we should not choose a depcomp mode which is confused by this.
3752 # We need to recreate these files for each test, as the compiler may
3753 # overwrite some of them when testing with obscure command lines.
3754 # This happens at least with the AIX C compiler.
3755 : > sub/conftest.c
3756 for i in 1 2 3 4 5 6; do
3757 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3758 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3759 # Solaris 10 /bin/sh.
3760 echo '/* dummy */' > sub/conftst$i.h
3761 done
3762 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3764 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3765 # mode. It turns out that the SunPro C++ compiler does not properly
3766 # handle '-M -o', and we need to detect this. Also, some Intel
3767 # versions had trouble with output in subdirs.
3768 am__obj=sub/conftest.${OBJEXT-o}
3769 am__minus_obj="-o $am__obj"
3770 case $depmode in
3771 gcc)
3772 # This depmode causes a compiler race in universal mode.
3773 test "$am__universal" = false || continue
3775 nosideeffect)
3776 # After this tag, mechanisms are not by side-effect, so they'll
3777 # only be used when explicitly requested.
3778 if test "x$enable_dependency_tracking" = xyes; then
3779 continue
3780 else
3781 break
3784 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3785 # This compiler won't grok '-c -o', but also, the minuso test has
3786 # not run yet. These depmodes are late enough in the game, and
3787 # so weak that their functioning should not be impacted.
3788 am__obj=conftest.${OBJEXT-o}
3789 am__minus_obj=
3791 none) break ;;
3792 esac
3793 if depmode=$depmode \
3794 source=sub/conftest.c object=$am__obj \
3795 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3796 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3797 >/dev/null 2>conftest.err &&
3798 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3799 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3800 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3801 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3802 # icc doesn't choke on unknown options, it will just issue warnings
3803 # or remarks (even with -Werror). So we grep stderr for any message
3804 # that says an option was ignored or not supported.
3805 # When given -MP, icc 7.0 and 7.1 complain thusly:
3806 # icc: Command line warning: ignoring option '-M'; no argument required
3807 # The diagnosis changed in icc 8.0:
3808 # icc: Command line remark: option '-MP' not supported
3809 if (grep 'ignoring option' conftest.err ||
3810 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3811 am_cv_CC_dependencies_compiler_type=$depmode
3812 break
3815 done
3817 cd ..
3818 rm -rf conftest.dir
3819 else
3820 am_cv_CC_dependencies_compiler_type=none
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3825 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3826 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3829 test "x$enable_dependency_tracking" != xno \
3830 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3831 am__fastdepCC_TRUE=
3832 am__fastdepCC_FALSE='#'
3833 else
3834 am__fastdepCC_TRUE='#'
3835 am__fastdepCC_FALSE=
3840 # Check whether --enable-compiler-warnings was given.
3841 if test "${enable_compiler_warnings+set}" = set; then :
3842 enableval=$enable_compiler_warnings;
3844 case $enable_compiler_warnings in #(
3845 no | min | yes | max | all) :
3846 ;; #(
3847 *) :
3848 if test "x$enable_maintainer_mode" = xyes; then :
3849 enable_compiler_warnings=yes
3850 else
3851 enable_compiler_warnings=min
3852 fi ;;
3853 esac
3856 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3857 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3858 # is not polluted with repeated "-I."
3859 am__isrc=' -I$(srcdir)'
3860 # test to see if srcdir already configured
3861 if test -f $srcdir/config.status; then
3862 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3866 # test whether we have cygpath
3867 if test -z "$CYGPATH_W"; then
3868 if (cygpath --version) >/dev/null 2>/dev/null; then
3869 CYGPATH_W='cygpath -w'
3870 else
3871 CYGPATH_W=echo
3876 # Define the identity of the package.
3877 PACKAGE='pixman--tex-live-'
3878 VERSION='0.34.0'
3881 cat >>confdefs.h <<_ACEOF
3882 #define PACKAGE "$PACKAGE"
3883 _ACEOF
3886 cat >>confdefs.h <<_ACEOF
3887 #define VERSION "$VERSION"
3888 _ACEOF
3890 # Some tools Automake needs.
3892 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3895 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3898 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3901 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3904 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3906 # For better backward compatibility. To be removed once Automake 1.9.x
3907 # dies out for good. For more background, see:
3908 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3909 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3910 mkdir_p='$(MKDIR_P)'
3912 # We need awk for the "check" target (and possibly the TAP driver). The
3913 # system "awk" is bad on some platforms.
3914 # Always define AMTAR for backward compatibility. Yes, it's still used
3915 # in the wild :-( We should find a proper way to deprecate it ...
3916 AMTAR='$${TAR-tar}'
3919 # We'll loop over all known methods to create a tar archive until one works.
3920 _am_tools='gnutar pax cpio none'
3922 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3929 # POSIX will say in a future version that running "rm -f" with no argument
3930 # is OK; and we want to be able to make that assumption in our Makefile
3931 # recipes. So use an aggressive probe to check that the usage we want is
3932 # actually supported "in the wild" to an acceptable degree.
3933 # See automake bug#10828.
3934 # To make any issue more visible, cause the running configure to be aborted
3935 # by default if the 'rm' program in use doesn't match our expectations; the
3936 # user can still override this though.
3937 if rm -f && rm -fr && rm -rf; then : OK; else
3938 cat >&2 <<'END'
3939 Oops!
3941 Your 'rm' program seems unable to run without file operands specified
3942 on the command line, even when the '-f' option is present. This is contrary
3943 to the behaviour of most rm programs out there, and not conforming with
3944 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3946 Please tell bug-automake@gnu.org about your system, including the value
3947 of your $PATH and any error possibly output before this message. This
3948 can help us improve future automake versions.
3951 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3952 echo 'Configuration will proceed anyway, since you have set the' >&2
3953 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3954 echo >&2
3955 else
3956 cat >&2 <<'END'
3957 Aborting the configuration process, to ensure you take notice of the issue.
3959 You can download and install GNU coreutils to get an 'rm' implementation
3960 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3962 If you want to complete the configuration process using your problematic
3963 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3964 to "yes", and re-run configure.
3967 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3973 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3974 # Check whether --enable-maintainer-mode was given.
3975 if test "${enable_maintainer_mode+set}" = set; then :
3976 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3977 else
3978 USE_MAINTAINER_MODE=no
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3982 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3983 if test $USE_MAINTAINER_MODE = yes; then
3984 MAINTAINER_MODE_TRUE=
3985 MAINTAINER_MODE_FALSE='#'
3986 else
3987 MAINTAINER_MODE_TRUE='#'
3988 MAINTAINER_MODE_FALSE=
3991 MAINT=$MAINTAINER_MODE_TRUE
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
3995 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
3996 if ${kb_cv_c_prototypes+:} false; then :
3997 $as_echo_n "(cached) " >&6
3998 else
3999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4001 #include <stdarg.h>
4003 main ()
4005 extern void foo(int i,...);
4007 return 0;
4009 _ACEOF
4010 if ac_fn_c_try_link "$LINENO"; then :
4011 kb_cv_c_prototypes=yes
4012 else
4013 kb_cv_c_prototypes=no
4015 rm -f core conftest.err conftest.$ac_objext \
4016 conftest$ac_exeext conftest.$ac_ext
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4019 $as_echo "$kb_cv_c_prototypes" >&6; }
4020 if test "x$kb_cv_c_prototypes" = xno; then
4021 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4024 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4025 if ${kpse_cv_warning_cflags+:} false; then :
4026 $as_echo_n "(cached) " >&6
4027 else
4028 if test "x$GCC" = xyes; then
4029 kpse_cv_warning_cflags=
4030 if test "x$enable_compiler_warnings" != xno; then
4031 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4032 case `$CC -dumpversion` in #(
4033 3.4.* | 4.* | 5.*) :
4034 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4035 *) :
4037 esac
4038 case `$CC -dumpversion` in #(
4039 3.[234].* | 4.* | 5.*) :
4040 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4041 *) :
4043 esac
4044 if test "x$enable_compiler_warnings" != xmin; then
4045 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4046 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4047 if test "x$enable_compiler_warnings" != xyes; then
4048 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4049 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4050 case `$CC -dumpversion` in #(
4051 3.4.* | 4.* | 5.*) :
4052 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4053 *) :
4055 esac
4056 if test "x$enable_compiler_warnings" != xmax; then
4057 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4062 elif test "x$enable_compiler_warnings" = xno; then
4063 kpse_cv_warning_cflags=
4064 else
4065 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4069 $as_echo "$kpse_cv_warning_cflags" >&6; }
4070 WARNING_CFLAGS=$kpse_cv_warning_cflags
4079 PIXMAN_VERSION_MAJOR=0
4080 PIXMAN_VERSION_MINOR=34
4081 PIXMAN_VERSION_MICRO=0
4083 test_CFLAGS=${CFLAGS+set} # We may override autoconf default CFLAGS.
4085 ac_ext=c
4086 ac_cpp='$CPP $CPPFLAGS'
4087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4090 if test -n "$ac_tool_prefix"; then
4091 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4092 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if ${ac_cv_prog_CC+:} false; then :
4096 $as_echo_n "(cached) " >&6
4097 else
4098 if test -n "$CC"; then
4099 ac_cv_prog_CC="$CC" # Let the user override the test.
4100 else
4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4102 for as_dir in $PATH
4104 IFS=$as_save_IFS
4105 test -z "$as_dir" && as_dir=.
4106 for ac_exec_ext in '' $ac_executable_extensions; do
4107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4108 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4110 break 2
4112 done
4113 done
4114 IFS=$as_save_IFS
4118 CC=$ac_cv_prog_CC
4119 if test -n "$CC"; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4121 $as_echo "$CC" >&6; }
4122 else
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4129 if test -z "$ac_cv_prog_CC"; then
4130 ac_ct_CC=$CC
4131 # Extract the first word of "gcc", so it can be a program name with args.
4132 set dummy gcc; ac_word=$2
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4134 $as_echo_n "checking for $ac_word... " >&6; }
4135 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 if test -n "$ac_ct_CC"; then
4139 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4140 else
4141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4142 for as_dir in $PATH
4144 IFS=$as_save_IFS
4145 test -z "$as_dir" && as_dir=.
4146 for ac_exec_ext in '' $ac_executable_extensions; do
4147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4148 ac_cv_prog_ac_ct_CC="gcc"
4149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4150 break 2
4152 done
4153 done
4154 IFS=$as_save_IFS
4158 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4159 if test -n "$ac_ct_CC"; then
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4161 $as_echo "$ac_ct_CC" >&6; }
4162 else
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4164 $as_echo "no" >&6; }
4167 if test "x$ac_ct_CC" = x; then
4168 CC=""
4169 else
4170 case $cross_compiling:$ac_tool_warned in
4171 yes:)
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4174 ac_tool_warned=yes ;;
4175 esac
4176 CC=$ac_ct_CC
4178 else
4179 CC="$ac_cv_prog_CC"
4182 if test -z "$CC"; then
4183 if test -n "$ac_tool_prefix"; then
4184 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4185 set dummy ${ac_tool_prefix}cc; ac_word=$2
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4187 $as_echo_n "checking for $ac_word... " >&6; }
4188 if ${ac_cv_prog_CC+:} false; then :
4189 $as_echo_n "(cached) " >&6
4190 else
4191 if test -n "$CC"; then
4192 ac_cv_prog_CC="$CC" # Let the user override the test.
4193 else
4194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 for as_dir in $PATH
4197 IFS=$as_save_IFS
4198 test -z "$as_dir" && as_dir=.
4199 for ac_exec_ext in '' $ac_executable_extensions; do
4200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4201 ac_cv_prog_CC="${ac_tool_prefix}cc"
4202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 break 2
4205 done
4206 done
4207 IFS=$as_save_IFS
4211 CC=$ac_cv_prog_CC
4212 if test -n "$CC"; then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4214 $as_echo "$CC" >&6; }
4215 else
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217 $as_echo "no" >&6; }
4223 if test -z "$CC"; then
4224 # Extract the first word of "cc", so it can be a program name with args.
4225 set dummy cc; ac_word=$2
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227 $as_echo_n "checking for $ac_word... " >&6; }
4228 if ${ac_cv_prog_CC+:} false; then :
4229 $as_echo_n "(cached) " >&6
4230 else
4231 if test -n "$CC"; then
4232 ac_cv_prog_CC="$CC" # Let the user override the test.
4233 else
4234 ac_prog_rejected=no
4235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236 for as_dir in $PATH
4238 IFS=$as_save_IFS
4239 test -z "$as_dir" && as_dir=.
4240 for ac_exec_ext in '' $ac_executable_extensions; do
4241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4243 ac_prog_rejected=yes
4244 continue
4246 ac_cv_prog_CC="cc"
4247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 break 2
4250 done
4251 done
4252 IFS=$as_save_IFS
4254 if test $ac_prog_rejected = yes; then
4255 # We found a bogon in the path, so make sure we never use it.
4256 set dummy $ac_cv_prog_CC
4257 shift
4258 if test $# != 0; then
4259 # We chose a different compiler from the bogus one.
4260 # However, it has the same basename, so the bogon will be chosen
4261 # first if we set CC to just the basename; use the full file name.
4262 shift
4263 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4268 CC=$ac_cv_prog_CC
4269 if test -n "$CC"; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4271 $as_echo "$CC" >&6; }
4272 else
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4274 $as_echo "no" >&6; }
4279 if test -z "$CC"; then
4280 if test -n "$ac_tool_prefix"; then
4281 for ac_prog in cl.exe
4283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4286 $as_echo_n "checking for $ac_word... " >&6; }
4287 if ${ac_cv_prog_CC+:} false; then :
4288 $as_echo_n "(cached) " >&6
4289 else
4290 if test -n "$CC"; then
4291 ac_cv_prog_CC="$CC" # Let the user override the test.
4292 else
4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294 for as_dir in $PATH
4296 IFS=$as_save_IFS
4297 test -z "$as_dir" && as_dir=.
4298 for ac_exec_ext in '' $ac_executable_extensions; do
4299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4300 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4302 break 2
4304 done
4305 done
4306 IFS=$as_save_IFS
4310 CC=$ac_cv_prog_CC
4311 if test -n "$CC"; then
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4313 $as_echo "$CC" >&6; }
4314 else
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4316 $as_echo "no" >&6; }
4320 test -n "$CC" && break
4321 done
4323 if test -z "$CC"; then
4324 ac_ct_CC=$CC
4325 for ac_prog in cl.exe
4327 # Extract the first word of "$ac_prog", so it can be a program name with args.
4328 set dummy $ac_prog; ac_word=$2
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4330 $as_echo_n "checking for $ac_word... " >&6; }
4331 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4332 $as_echo_n "(cached) " >&6
4333 else
4334 if test -n "$ac_ct_CC"; then
4335 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4336 else
4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338 for as_dir in $PATH
4340 IFS=$as_save_IFS
4341 test -z "$as_dir" && as_dir=.
4342 for ac_exec_ext in '' $ac_executable_extensions; do
4343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4344 ac_cv_prog_ac_ct_CC="$ac_prog"
4345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4346 break 2
4348 done
4349 done
4350 IFS=$as_save_IFS
4354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4355 if test -n "$ac_ct_CC"; then
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4357 $as_echo "$ac_ct_CC" >&6; }
4358 else
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 $as_echo "no" >&6; }
4364 test -n "$ac_ct_CC" && break
4365 done
4367 if test "x$ac_ct_CC" = x; then
4368 CC=""
4369 else
4370 case $cross_compiling:$ac_tool_warned in
4371 yes:)
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4374 ac_tool_warned=yes ;;
4375 esac
4376 CC=$ac_ct_CC
4383 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4385 as_fn_error $? "no acceptable C compiler found in \$PATH
4386 See \`config.log' for more details" "$LINENO" 5; }
4388 # Provide some information about the compiler.
4389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4390 set X $ac_compile
4391 ac_compiler=$2
4392 for ac_option in --version -v -V -qversion; do
4393 { { ac_try="$ac_compiler $ac_option >&5"
4394 case "(($ac_try" in
4395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4396 *) ac_try_echo=$ac_try;;
4397 esac
4398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4399 $as_echo "$ac_try_echo"; } >&5
4400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4401 ac_status=$?
4402 if test -s conftest.err; then
4403 sed '10a\
4404 ... rest of stderr output deleted ...
4405 10q' conftest.err >conftest.er1
4406 cat conftest.er1 >&5
4408 rm -f conftest.er1 conftest.err
4409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4410 test $ac_status = 0; }
4411 done
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4414 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4415 if ${ac_cv_c_compiler_gnu+:} false; then :
4416 $as_echo_n "(cached) " >&6
4417 else
4418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4422 main ()
4424 #ifndef __GNUC__
4425 choke me
4426 #endif
4429 return 0;
4431 _ACEOF
4432 if ac_fn_c_try_compile "$LINENO"; then :
4433 ac_compiler_gnu=yes
4434 else
4435 ac_compiler_gnu=no
4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4442 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4443 if test $ac_compiler_gnu = yes; then
4444 GCC=yes
4445 else
4446 GCC=
4448 ac_test_CFLAGS=${CFLAGS+set}
4449 ac_save_CFLAGS=$CFLAGS
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4451 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4452 if ${ac_cv_prog_cc_g+:} false; then :
4453 $as_echo_n "(cached) " >&6
4454 else
4455 ac_save_c_werror_flag=$ac_c_werror_flag
4456 ac_c_werror_flag=yes
4457 ac_cv_prog_cc_g=no
4458 CFLAGS="-g"
4459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4463 main ()
4467 return 0;
4469 _ACEOF
4470 if ac_fn_c_try_compile "$LINENO"; then :
4471 ac_cv_prog_cc_g=yes
4472 else
4473 CFLAGS=""
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4478 main ()
4482 return 0;
4484 _ACEOF
4485 if ac_fn_c_try_compile "$LINENO"; then :
4487 else
4488 ac_c_werror_flag=$ac_save_c_werror_flag
4489 CFLAGS="-g"
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 main ()
4498 return 0;
4500 _ACEOF
4501 if ac_fn_c_try_compile "$LINENO"; then :
4502 ac_cv_prog_cc_g=yes
4504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 ac_c_werror_flag=$ac_save_c_werror_flag
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4512 $as_echo "$ac_cv_prog_cc_g" >&6; }
4513 if test "$ac_test_CFLAGS" = set; then
4514 CFLAGS=$ac_save_CFLAGS
4515 elif test $ac_cv_prog_cc_g = yes; then
4516 if test "$GCC" = yes; then
4517 CFLAGS="-g -O2"
4518 else
4519 CFLAGS="-g"
4521 else
4522 if test "$GCC" = yes; then
4523 CFLAGS="-O2"
4524 else
4525 CFLAGS=
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4529 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4530 if ${ac_cv_prog_cc_c89+:} false; then :
4531 $as_echo_n "(cached) " >&6
4532 else
4533 ac_cv_prog_cc_c89=no
4534 ac_save_CC=$CC
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4537 #include <stdarg.h>
4538 #include <stdio.h>
4539 struct stat;
4540 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4541 struct buf { int x; };
4542 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4543 static char *e (p, i)
4544 char **p;
4545 int i;
4547 return p[i];
4549 static char *f (char * (*g) (char **, int), char **p, ...)
4551 char *s;
4552 va_list v;
4553 va_start (v,p);
4554 s = g (p, va_arg (v,int));
4555 va_end (v);
4556 return s;
4559 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4560 function prototypes and stuff, but not '\xHH' hex character constants.
4561 These don't provoke an error unfortunately, instead are silently treated
4562 as 'x'. The following induces an error, until -std is added to get
4563 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4564 array size at least. It's necessary to write '\x00'==0 to get something
4565 that's true only with -std. */
4566 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4568 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4569 inside strings and character constants. */
4570 #define FOO(x) 'x'
4571 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4573 int test (int i, double x);
4574 struct s1 {int (*f) (int a);};
4575 struct s2 {int (*f) (double a);};
4576 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4577 int argc;
4578 char **argv;
4580 main ()
4582 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4584 return 0;
4586 _ACEOF
4587 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4588 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4590 CC="$ac_save_CC $ac_arg"
4591 if ac_fn_c_try_compile "$LINENO"; then :
4592 ac_cv_prog_cc_c89=$ac_arg
4594 rm -f core conftest.err conftest.$ac_objext
4595 test "x$ac_cv_prog_cc_c89" != "xno" && break
4596 done
4597 rm -f conftest.$ac_ext
4598 CC=$ac_save_CC
4601 # AC_CACHE_VAL
4602 case "x$ac_cv_prog_cc_c89" in
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4605 $as_echo "none needed" >&6; } ;;
4606 xno)
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4608 $as_echo "unsupported" >&6; } ;;
4610 CC="$CC $ac_cv_prog_cc_c89"
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4612 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4613 esac
4614 if test "x$ac_cv_prog_cc_c89" != xno; then :
4618 ac_ext=c
4619 ac_cpp='$CPP $CPPFLAGS'
4620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4624 ac_ext=c
4625 ac_cpp='$CPP $CPPFLAGS'
4626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4630 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4631 if ${am_cv_prog_cc_c_o+:} false; then :
4632 $as_echo_n "(cached) " >&6
4633 else
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4638 main ()
4642 return 0;
4644 _ACEOF
4645 # Make sure it works both with $CC and with simple cc.
4646 # Following AC_PROG_CC_C_O, we do the test twice because some
4647 # compilers refuse to overwrite an existing .o file with -o,
4648 # though they will create one.
4649 am_cv_prog_cc_c_o=yes
4650 for am_i in 1 2; do
4651 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4652 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4653 ac_status=$?
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); } \
4656 && test -f conftest2.$ac_objext; then
4657 : OK
4658 else
4659 am_cv_prog_cc_c_o=no
4660 break
4662 done
4663 rm -f core conftest*
4664 unset am_i
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4667 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4668 if test "$am_cv_prog_cc_c_o" != yes; then
4669 # Losing compiler, so override with the script.
4670 # FIXME: It is wrong to rewrite CC.
4671 # But if we don't then we get into trouble of one sort or another.
4672 # A longer-term fix would be to have automake use am__CC in this case,
4673 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4674 CC="$am_aux_dir/compile $CC"
4676 ac_ext=c
4677 ac_cpp='$CPP $CPPFLAGS'
4678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4683 depcc="$CC" am_compiler_list=
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4686 $as_echo_n "checking dependency style of $depcc... " >&6; }
4687 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4688 $as_echo_n "(cached) " >&6
4689 else
4690 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4691 # We make a subdir and do the tests there. Otherwise we can end up
4692 # making bogus files that we don't know about and never remove. For
4693 # instance it was reported that on HP-UX the gcc test will end up
4694 # making a dummy file named 'D' -- because '-MD' means "put the output
4695 # in D".
4696 rm -rf conftest.dir
4697 mkdir conftest.dir
4698 # Copy depcomp to subdir because otherwise we won't find it if we're
4699 # using a relative directory.
4700 cp "$am_depcomp" conftest.dir
4701 cd conftest.dir
4702 # We will build objects and dependencies in a subdirectory because
4703 # it helps to detect inapplicable dependency modes. For instance
4704 # both Tru64's cc and ICC support -MD to output dependencies as a
4705 # side effect of compilation, but ICC will put the dependencies in
4706 # the current directory while Tru64 will put them in the object
4707 # directory.
4708 mkdir sub
4710 am_cv_CC_dependencies_compiler_type=none
4711 if test "$am_compiler_list" = ""; then
4712 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4714 am__universal=false
4715 case " $depcc " in #(
4716 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4717 esac
4719 for depmode in $am_compiler_list; do
4720 # Setup a source with many dependencies, because some compilers
4721 # like to wrap large dependency lists on column 80 (with \), and
4722 # we should not choose a depcomp mode which is confused by this.
4724 # We need to recreate these files for each test, as the compiler may
4725 # overwrite some of them when testing with obscure command lines.
4726 # This happens at least with the AIX C compiler.
4727 : > sub/conftest.c
4728 for i in 1 2 3 4 5 6; do
4729 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4730 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4731 # Solaris 10 /bin/sh.
4732 echo '/* dummy */' > sub/conftst$i.h
4733 done
4734 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4736 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4737 # mode. It turns out that the SunPro C++ compiler does not properly
4738 # handle '-M -o', and we need to detect this. Also, some Intel
4739 # versions had trouble with output in subdirs.
4740 am__obj=sub/conftest.${OBJEXT-o}
4741 am__minus_obj="-o $am__obj"
4742 case $depmode in
4743 gcc)
4744 # This depmode causes a compiler race in universal mode.
4745 test "$am__universal" = false || continue
4747 nosideeffect)
4748 # After this tag, mechanisms are not by side-effect, so they'll
4749 # only be used when explicitly requested.
4750 if test "x$enable_dependency_tracking" = xyes; then
4751 continue
4752 else
4753 break
4756 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4757 # This compiler won't grok '-c -o', but also, the minuso test has
4758 # not run yet. These depmodes are late enough in the game, and
4759 # so weak that their functioning should not be impacted.
4760 am__obj=conftest.${OBJEXT-o}
4761 am__minus_obj=
4763 none) break ;;
4764 esac
4765 if depmode=$depmode \
4766 source=sub/conftest.c object=$am__obj \
4767 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4768 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4769 >/dev/null 2>conftest.err &&
4770 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4771 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4772 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4773 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4774 # icc doesn't choke on unknown options, it will just issue warnings
4775 # or remarks (even with -Werror). So we grep stderr for any message
4776 # that says an option was ignored or not supported.
4777 # When given -MP, icc 7.0 and 7.1 complain thusly:
4778 # icc: Command line warning: ignoring option '-M'; no argument required
4779 # The diagnosis changed in icc 8.0:
4780 # icc: Command line remark: option '-MP' not supported
4781 if (grep 'ignoring option' conftest.err ||
4782 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4783 am_cv_CC_dependencies_compiler_type=$depmode
4784 break
4787 done
4789 cd ..
4790 rm -rf conftest.dir
4791 else
4792 am_cv_CC_dependencies_compiler_type=none
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4797 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4798 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4801 test "x$enable_dependency_tracking" != xno \
4802 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4803 am__fastdepCC_TRUE=
4804 am__fastdepCC_FALSE='#'
4805 else
4806 am__fastdepCC_TRUE='#'
4807 am__fastdepCC_FALSE=
4811 if test -n "$ac_tool_prefix"; then
4812 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4813 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 $as_echo_n "checking for $ac_word... " >&6; }
4816 if ${ac_cv_prog_RANLIB+:} false; then :
4817 $as_echo_n "(cached) " >&6
4818 else
4819 if test -n "$RANLIB"; then
4820 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4821 else
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 for as_dir in $PATH
4825 IFS=$as_save_IFS
4826 test -z "$as_dir" && as_dir=.
4827 for ac_exec_ext in '' $ac_executable_extensions; do
4828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4829 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831 break 2
4833 done
4834 done
4835 IFS=$as_save_IFS
4839 RANLIB=$ac_cv_prog_RANLIB
4840 if test -n "$RANLIB"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4842 $as_echo "$RANLIB" >&6; }
4843 else
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4850 if test -z "$ac_cv_prog_RANLIB"; then
4851 ac_ct_RANLIB=$RANLIB
4852 # Extract the first word of "ranlib", so it can be a program name with args.
4853 set dummy ranlib; ac_word=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4857 $as_echo_n "(cached) " >&6
4858 else
4859 if test -n "$ac_ct_RANLIB"; then
4860 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4861 else
4862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4863 for as_dir in $PATH
4865 IFS=$as_save_IFS
4866 test -z "$as_dir" && as_dir=.
4867 for ac_exec_ext in '' $ac_executable_extensions; do
4868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4869 ac_cv_prog_ac_ct_RANLIB="ranlib"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4871 break 2
4873 done
4874 done
4875 IFS=$as_save_IFS
4879 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4880 if test -n "$ac_ct_RANLIB"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4882 $as_echo "$ac_ct_RANLIB" >&6; }
4883 else
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4888 if test "x$ac_ct_RANLIB" = x; then
4889 RANLIB=":"
4890 else
4891 case $cross_compiling:$ac_tool_warned in
4892 yes:)
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4895 ac_tool_warned=yes ;;
4896 esac
4897 RANLIB=$ac_ct_RANLIB
4899 else
4900 RANLIB="$ac_cv_prog_RANLIB"
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4904 $as_echo_n "checking whether ln -s works... " >&6; }
4905 LN_S=$as_ln_s
4906 if test "$LN_S" = "ln -s"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4908 $as_echo "yes" >&6; }
4909 else
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4911 $as_echo "no, using $LN_S" >&6; }
4914 for ac_func in getisax
4915 do :
4916 ac_fn_c_check_func "$LINENO" "getisax" "ac_cv_func_getisax"
4917 if test "x$ac_cv_func_getisax" = xyes; then :
4918 cat >>confdefs.h <<_ACEOF
4919 #define HAVE_GETISAX 1
4920 _ACEOF
4923 done
4925 ac_ext=c
4926 ac_cpp='$CPP $CPPFLAGS'
4927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4931 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4932 # On Suns, sometimes $CPP names a directory.
4933 if test -n "$CPP" && test -d "$CPP"; then
4934 CPP=
4936 if test -z "$CPP"; then
4937 if ${ac_cv_prog_CPP+:} false; then :
4938 $as_echo_n "(cached) " >&6
4939 else
4940 # Double quotes because CPP needs to be expanded
4941 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4943 ac_preproc_ok=false
4944 for ac_c_preproc_warn_flag in '' yes
4946 # Use a header file that comes with gcc, so configuring glibc
4947 # with a fresh cross-compiler works.
4948 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4949 # <limits.h> exists even on freestanding compilers.
4950 # On the NeXT, cc -E runs the code through the compiler's parser,
4951 # not just through cpp. "Syntax error" is here to catch this case.
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4954 #ifdef __STDC__
4955 # include <limits.h>
4956 #else
4957 # include <assert.h>
4958 #endif
4959 Syntax error
4960 _ACEOF
4961 if ac_fn_c_try_cpp "$LINENO"; then :
4963 else
4964 # Broken: fails on valid input.
4965 continue
4967 rm -f conftest.err conftest.i conftest.$ac_ext
4969 # OK, works on sane cases. Now check whether nonexistent headers
4970 # can be detected and how.
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4973 #include <ac_nonexistent.h>
4974 _ACEOF
4975 if ac_fn_c_try_cpp "$LINENO"; then :
4976 # Broken: success on invalid input.
4977 continue
4978 else
4979 # Passes both tests.
4980 ac_preproc_ok=:
4981 break
4983 rm -f conftest.err conftest.i conftest.$ac_ext
4985 done
4986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4987 rm -f conftest.i conftest.err conftest.$ac_ext
4988 if $ac_preproc_ok; then :
4989 break
4992 done
4993 ac_cv_prog_CPP=$CPP
4996 CPP=$ac_cv_prog_CPP
4997 else
4998 ac_cv_prog_CPP=$CPP
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5001 $as_echo "$CPP" >&6; }
5002 ac_preproc_ok=false
5003 for ac_c_preproc_warn_flag in '' yes
5005 # Use a header file that comes with gcc, so configuring glibc
5006 # with a fresh cross-compiler works.
5007 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5008 # <limits.h> exists even on freestanding compilers.
5009 # On the NeXT, cc -E runs the code through the compiler's parser,
5010 # not just through cpp. "Syntax error" is here to catch this case.
5011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5013 #ifdef __STDC__
5014 # include <limits.h>
5015 #else
5016 # include <assert.h>
5017 #endif
5018 Syntax error
5019 _ACEOF
5020 if ac_fn_c_try_cpp "$LINENO"; then :
5022 else
5023 # Broken: fails on valid input.
5024 continue
5026 rm -f conftest.err conftest.i conftest.$ac_ext
5028 # OK, works on sane cases. Now check whether nonexistent headers
5029 # can be detected and how.
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5032 #include <ac_nonexistent.h>
5033 _ACEOF
5034 if ac_fn_c_try_cpp "$LINENO"; then :
5035 # Broken: success on invalid input.
5036 continue
5037 else
5038 # Passes both tests.
5039 ac_preproc_ok=:
5040 break
5042 rm -f conftest.err conftest.i conftest.$ac_ext
5044 done
5045 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5046 rm -f conftest.i conftest.err conftest.$ac_ext
5047 if $ac_preproc_ok; then :
5049 else
5050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5052 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5053 See \`config.log' for more details" "$LINENO" 5; }
5056 ac_ext=c
5057 ac_cpp='$CPP $CPPFLAGS'
5058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5064 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5065 if ${ac_cv_path_GREP+:} false; then :
5066 $as_echo_n "(cached) " >&6
5067 else
5068 if test -z "$GREP"; then
5069 ac_path_GREP_found=false
5070 # Loop through the user's path and test for each of PROGNAME-LIST
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5074 IFS=$as_save_IFS
5075 test -z "$as_dir" && as_dir=.
5076 for ac_prog in grep ggrep; do
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5079 as_fn_executable_p "$ac_path_GREP" || continue
5080 # Check for GNU ac_path_GREP and select it if it is found.
5081 # Check for GNU $ac_path_GREP
5082 case `"$ac_path_GREP" --version 2>&1` in
5083 *GNU*)
5084 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5086 ac_count=0
5087 $as_echo_n 0123456789 >"conftest.in"
5088 while :
5090 cat "conftest.in" "conftest.in" >"conftest.tmp"
5091 mv "conftest.tmp" "conftest.in"
5092 cp "conftest.in" "conftest.nl"
5093 $as_echo 'GREP' >> "conftest.nl"
5094 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5095 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5096 as_fn_arith $ac_count + 1 && ac_count=$as_val
5097 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5098 # Best one so far, save it but keep looking for a better one
5099 ac_cv_path_GREP="$ac_path_GREP"
5100 ac_path_GREP_max=$ac_count
5102 # 10*(2^10) chars as input seems more than enough
5103 test $ac_count -gt 10 && break
5104 done
5105 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5106 esac
5108 $ac_path_GREP_found && break 3
5109 done
5110 done
5111 done
5112 IFS=$as_save_IFS
5113 if test -z "$ac_cv_path_GREP"; then
5114 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5116 else
5117 ac_cv_path_GREP=$GREP
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5122 $as_echo "$ac_cv_path_GREP" >&6; }
5123 GREP="$ac_cv_path_GREP"
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5127 $as_echo_n "checking for egrep... " >&6; }
5128 if ${ac_cv_path_EGREP+:} false; then :
5129 $as_echo_n "(cached) " >&6
5130 else
5131 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5132 then ac_cv_path_EGREP="$GREP -E"
5133 else
5134 if test -z "$EGREP"; then
5135 ac_path_EGREP_found=false
5136 # Loop through the user's path and test for each of PROGNAME-LIST
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_prog in egrep; do
5143 for ac_exec_ext in '' $ac_executable_extensions; do
5144 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5145 as_fn_executable_p "$ac_path_EGREP" || continue
5146 # Check for GNU ac_path_EGREP and select it if it is found.
5147 # Check for GNU $ac_path_EGREP
5148 case `"$ac_path_EGREP" --version 2>&1` in
5149 *GNU*)
5150 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5152 ac_count=0
5153 $as_echo_n 0123456789 >"conftest.in"
5154 while :
5156 cat "conftest.in" "conftest.in" >"conftest.tmp"
5157 mv "conftest.tmp" "conftest.in"
5158 cp "conftest.in" "conftest.nl"
5159 $as_echo 'EGREP' >> "conftest.nl"
5160 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5161 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5162 as_fn_arith $ac_count + 1 && ac_count=$as_val
5163 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5164 # Best one so far, save it but keep looking for a better one
5165 ac_cv_path_EGREP="$ac_path_EGREP"
5166 ac_path_EGREP_max=$ac_count
5168 # 10*(2^10) chars as input seems more than enough
5169 test $ac_count -gt 10 && break
5170 done
5171 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5172 esac
5174 $ac_path_EGREP_found && break 3
5175 done
5176 done
5177 done
5178 IFS=$as_save_IFS
5179 if test -z "$ac_cv_path_EGREP"; then
5180 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5182 else
5183 ac_cv_path_EGREP=$EGREP
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5189 $as_echo "$ac_cv_path_EGREP" >&6; }
5190 EGREP="$ac_cv_path_EGREP"
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5194 $as_echo_n "checking for ANSI C header files... " >&6; }
5195 if ${ac_cv_header_stdc+:} false; then :
5196 $as_echo_n "(cached) " >&6
5197 else
5198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5199 /* end confdefs.h. */
5200 #include <stdlib.h>
5201 #include <stdarg.h>
5202 #include <string.h>
5203 #include <float.h>
5206 main ()
5210 return 0;
5212 _ACEOF
5213 if ac_fn_c_try_compile "$LINENO"; then :
5214 ac_cv_header_stdc=yes
5215 else
5216 ac_cv_header_stdc=no
5218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5220 if test $ac_cv_header_stdc = yes; then
5221 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5223 /* end confdefs.h. */
5224 #include <string.h>
5226 _ACEOF
5227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5228 $EGREP "memchr" >/dev/null 2>&1; then :
5230 else
5231 ac_cv_header_stdc=no
5233 rm -f conftest*
5237 if test $ac_cv_header_stdc = yes; then
5238 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5240 /* end confdefs.h. */
5241 #include <stdlib.h>
5243 _ACEOF
5244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5245 $EGREP "free" >/dev/null 2>&1; then :
5247 else
5248 ac_cv_header_stdc=no
5250 rm -f conftest*
5254 if test $ac_cv_header_stdc = yes; then
5255 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5256 if test "$cross_compiling" = yes; then :
5258 else
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5260 /* end confdefs.h. */
5261 #include <ctype.h>
5262 #include <stdlib.h>
5263 #if ((' ' & 0x0FF) == 0x020)
5264 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5265 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5266 #else
5267 # define ISLOWER(c) \
5268 (('a' <= (c) && (c) <= 'i') \
5269 || ('j' <= (c) && (c) <= 'r') \
5270 || ('s' <= (c) && (c) <= 'z'))
5271 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5272 #endif
5274 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5276 main ()
5278 int i;
5279 for (i = 0; i < 256; i++)
5280 if (XOR (islower (i), ISLOWER (i))
5281 || toupper (i) != TOUPPER (i))
5282 return 2;
5283 return 0;
5285 _ACEOF
5286 if ac_fn_c_try_run "$LINENO"; then :
5288 else
5289 ac_cv_header_stdc=no
5291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5292 conftest.$ac_objext conftest.beam conftest.$ac_ext
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5298 $as_echo "$ac_cv_header_stdc" >&6; }
5299 if test $ac_cv_header_stdc = yes; then
5301 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5305 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5306 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5307 inttypes.h stdint.h unistd.h
5308 do :
5309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5310 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5312 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5313 cat >>confdefs.h <<_ACEOF
5314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5315 _ACEOF
5319 done
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5323 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5324 if ${ac_cv_c_bigendian+:} false; then :
5325 $as_echo_n "(cached) " >&6
5326 else
5327 ac_cv_c_bigendian=unknown
5328 # See if we're dealing with a universal compiler.
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5331 #ifndef __APPLE_CC__
5332 not a universal capable compiler
5333 #endif
5334 typedef int dummy;
5336 _ACEOF
5337 if ac_fn_c_try_compile "$LINENO"; then :
5339 # Check for potential -arch flags. It is not universal unless
5340 # there are at least two -arch flags with different values.
5341 ac_arch=
5342 ac_prev=
5343 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5344 if test -n "$ac_prev"; then
5345 case $ac_word in
5346 i?86 | x86_64 | ppc | ppc64)
5347 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5348 ac_arch=$ac_word
5349 else
5350 ac_cv_c_bigendian=universal
5351 break
5354 esac
5355 ac_prev=
5356 elif test "x$ac_word" = "x-arch"; then
5357 ac_prev=arch
5359 done
5361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5362 if test $ac_cv_c_bigendian = unknown; then
5363 # See if sys/param.h defines the BYTE_ORDER macro.
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5366 #include <sys/types.h>
5367 #include <sys/param.h>
5370 main ()
5372 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5373 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5374 && LITTLE_ENDIAN)
5375 bogus endian macros
5376 #endif
5379 return 0;
5381 _ACEOF
5382 if ac_fn_c_try_compile "$LINENO"; then :
5383 # It does; now see whether it defined to BIG_ENDIAN or not.
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5386 #include <sys/types.h>
5387 #include <sys/param.h>
5390 main ()
5392 #if BYTE_ORDER != BIG_ENDIAN
5393 not big endian
5394 #endif
5397 return 0;
5399 _ACEOF
5400 if ac_fn_c_try_compile "$LINENO"; then :
5401 ac_cv_c_bigendian=yes
5402 else
5403 ac_cv_c_bigendian=no
5405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5409 if test $ac_cv_c_bigendian = unknown; then
5410 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5412 /* end confdefs.h. */
5413 #include <limits.h>
5416 main ()
5418 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5419 bogus endian macros
5420 #endif
5423 return 0;
5425 _ACEOF
5426 if ac_fn_c_try_compile "$LINENO"; then :
5427 # It does; now see whether it defined to _BIG_ENDIAN or not.
5428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5429 /* end confdefs.h. */
5430 #include <limits.h>
5433 main ()
5435 #ifndef _BIG_ENDIAN
5436 not big endian
5437 #endif
5440 return 0;
5442 _ACEOF
5443 if ac_fn_c_try_compile "$LINENO"; then :
5444 ac_cv_c_bigendian=yes
5445 else
5446 ac_cv_c_bigendian=no
5448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5452 if test $ac_cv_c_bigendian = unknown; then
5453 # Compile a test program.
5454 if test "$cross_compiling" = yes; then :
5455 # Try to guess by grepping values from an object file.
5456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5457 /* end confdefs.h. */
5458 short int ascii_mm[] =
5459 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5460 short int ascii_ii[] =
5461 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5462 int use_ascii (int i) {
5463 return ascii_mm[i] + ascii_ii[i];
5465 short int ebcdic_ii[] =
5466 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5467 short int ebcdic_mm[] =
5468 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5469 int use_ebcdic (int i) {
5470 return ebcdic_mm[i] + ebcdic_ii[i];
5472 extern int foo;
5475 main ()
5477 return use_ascii (foo) == use_ebcdic (foo);
5479 return 0;
5481 _ACEOF
5482 if ac_fn_c_try_compile "$LINENO"; then :
5483 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5484 ac_cv_c_bigendian=yes
5486 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5487 if test "$ac_cv_c_bigendian" = unknown; then
5488 ac_cv_c_bigendian=no
5489 else
5490 # finding both strings is unlikely to happen, but who knows?
5491 ac_cv_c_bigendian=unknown
5495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5496 else
5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 /* end confdefs.h. */
5499 $ac_includes_default
5501 main ()
5504 /* Are we little or big endian? From Harbison&Steele. */
5505 union
5507 long int l;
5508 char c[sizeof (long int)];
5509 } u;
5510 u.l = 1;
5511 return u.c[sizeof (long int) - 1] == 1;
5514 return 0;
5516 _ACEOF
5517 if ac_fn_c_try_run "$LINENO"; then :
5518 ac_cv_c_bigendian=no
5519 else
5520 ac_cv_c_bigendian=yes
5522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5523 conftest.$ac_objext conftest.beam conftest.$ac_ext
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5529 $as_echo "$ac_cv_c_bigendian" >&6; }
5530 case $ac_cv_c_bigendian in #(
5531 yes)
5532 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5533 ;; #(
5535 ;; #(
5536 universal)
5538 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5540 ;; #(
5542 as_fn_error $? "unknown endianness
5543 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5544 esac
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5547 $as_echo_n "checking for inline... " >&6; }
5548 if ${ac_cv_c_inline+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 ac_cv_c_inline=no
5552 for ac_kw in inline __inline__ __inline; do
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5555 #ifndef __cplusplus
5556 typedef int foo_t;
5557 static $ac_kw foo_t static_foo () {return 0; }
5558 $ac_kw foo_t foo () {return 0; }
5559 #endif
5561 _ACEOF
5562 if ac_fn_c_try_compile "$LINENO"; then :
5563 ac_cv_c_inline=$ac_kw
5565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5566 test "$ac_cv_c_inline" != no && break
5567 done
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5571 $as_echo "$ac_cv_c_inline" >&6; }
5573 case $ac_cv_c_inline in
5574 inline | yes) ;;
5576 case $ac_cv_c_inline in
5577 no) ac_val=;;
5578 *) ac_val=$ac_cv_c_inline;;
5579 esac
5580 cat >>confdefs.h <<_ACEOF
5581 #ifndef __cplusplus
5582 #define inline $ac_val
5583 #endif
5584 _ACEOF
5586 esac
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for C to hide external symbols" >&5
5590 $as_echo_n "checking CFLAGS for C to hide external symbols... " >&6; }
5591 if ${kpse_cv_visibility_cflags+:} false; then :
5592 $as_echo_n "(cached) " >&6
5593 else
5594 ac_ext=c
5595 ac_cpp='$CPP $CPPFLAGS'
5596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5600 kpse_cv_visibility_cflags=unknown
5601 kpse_save_flags=$CFLAGS
5602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5603 /* end confdefs.h. */
5604 #include <stdio.h>
5605 extern void foo(void);
5606 void foo(void){printf("foo\n");}
5607 _ACEOF
5608 # FIXME: Add tests for non-GNU compilers
5609 for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
5610 CFLAGS="$kpse_save_flags -Werror $kpse_flag"
5611 if ac_fn_c_try_compile "$LINENO"; then :
5612 kpse_cv_visibility_cflags=$kpse_flag; break
5614 rm -f core conftest.err conftest.$ac_objext
5615 done
5616 ac_ext=c
5617 ac_cpp='$CPP $CPPFLAGS'
5618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cflags" >&5
5625 $as_echo "$kpse_cv_visibility_cflags" >&6; }
5626 CFLAGS=$kpse_save_flags
5627 case $kpse_cv_visibility_cflags in #(
5628 unknown) :
5629 ;; #(
5630 *) :
5631 VISIBILITY_CFLAGS=$kpse_cv_visibility_cflags
5633 esac
5639 ac_config_headers="$ac_config_headers config.h"
5642 if test "x$enable_build" != xno; then
5643 build_TRUE=
5644 build_FALSE='#'
5645 else
5646 build_TRUE='#'
5647 build_FALSE=
5651 if :; then
5653 $as_echo "#define PIXMAN_NO_TLS 1" >>confdefs.h
5655 else
5657 $as_echo "#define USE_LOONGSON_MMI 1" >>confdefs.h
5660 $as_echo "#define USE_X86_MMX 1" >>confdefs.h
5663 $as_echo "#define USE_SSE2 1" >>confdefs.h
5666 $as_echo "#define USE_SSSE3 1" >>confdefs.h
5669 $as_echo "#define USE_VMX 1" >>confdefs.h
5672 $as_echo "#define USE_ARM_SIMD 1" >>confdefs.h
5675 $as_echo "#define USE_ARM_NEON 1" >>confdefs.h
5678 $as_echo "#define USE_ARM_IWMMXT 1" >>confdefs.h
5681 $as_echo "#define USE_MIPS_DSPR2 1" >>confdefs.h
5684 $as_echo "#define USE_GCC_INLINE_ASM 1" >>confdefs.h
5687 $as_echo "#define PIXMAN_TIMERS 1" >>confdefs.h
5690 $as_echo "#define TOOLCHAIN_SUPPORTS_ATTRIBUTE_CONSTRUCTOR 1" >>confdefs.h
5693 $as_echo "#define HAVE_FLOAT128 /**/" >>confdefs.h
5696 $as_echo "#define HAVE_BUILTIN_CLZ /**/" >>confdefs.h
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrtf" >&5
5701 $as_echo_n "checking for library containing sqrtf... " >&6; }
5702 if ${ac_cv_search_sqrtf+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 ac_func_search_save_LIBS=$LIBS
5706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707 /* end confdefs.h. */
5709 /* Override any GCC internal prototype to avoid an error.
5710 Use char because int might match the return type of a GCC
5711 builtin and then its argument prototype would still apply. */
5712 #ifdef __cplusplus
5713 extern "C"
5714 #endif
5715 char sqrtf ();
5717 main ()
5719 return sqrtf ();
5721 return 0;
5723 _ACEOF
5724 for ac_lib in '' m; do
5725 if test -z "$ac_lib"; then
5726 ac_res="none required"
5727 else
5728 ac_res=-l$ac_lib
5729 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5731 if ac_fn_c_try_link "$LINENO"; then :
5732 ac_cv_search_sqrtf=$ac_res
5734 rm -f core conftest.err conftest.$ac_objext \
5735 conftest$ac_exeext
5736 if ${ac_cv_search_sqrtf+:} false; then :
5737 break
5739 done
5740 if ${ac_cv_search_sqrtf+:} false; then :
5742 else
5743 ac_cv_search_sqrtf=no
5745 rm conftest.$ac_ext
5746 LIBS=$ac_func_search_save_LIBS
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrtf" >&5
5749 $as_echo "$ac_cv_search_sqrtf" >&6; }
5750 ac_res=$ac_cv_search_sqrtf
5751 if test "$ac_res" != no; then :
5752 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5754 else
5756 $as_echo "#define sqrtf sqrt" >>confdefs.h
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
5759 $as_echo_n "checking for library containing sqrt... " >&6; }
5760 if ${ac_cv_search_sqrt+:} false; then :
5761 $as_echo_n "(cached) " >&6
5762 else
5763 ac_func_search_save_LIBS=$LIBS
5764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5765 /* end confdefs.h. */
5767 /* Override any GCC internal prototype to avoid an error.
5768 Use char because int might match the return type of a GCC
5769 builtin and then its argument prototype would still apply. */
5770 #ifdef __cplusplus
5771 extern "C"
5772 #endif
5773 char sqrt ();
5775 main ()
5777 return sqrt ();
5779 return 0;
5781 _ACEOF
5782 for ac_lib in '' m; do
5783 if test -z "$ac_lib"; then
5784 ac_res="none required"
5785 else
5786 ac_res=-l$ac_lib
5787 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5789 if ac_fn_c_try_link "$LINENO"; then :
5790 ac_cv_search_sqrt=$ac_res
5792 rm -f core conftest.err conftest.$ac_objext \
5793 conftest$ac_exeext
5794 if ${ac_cv_search_sqrt+:} false; then :
5795 break
5797 done
5798 if ${ac_cv_search_sqrt+:} false; then :
5800 else
5801 ac_cv_search_sqrt=no
5803 rm conftest.$ac_ext
5804 LIBS=$ac_func_search_save_LIBS
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
5807 $as_echo "$ac_cv_search_sqrt" >&6; }
5808 ac_res=$ac_cv_search_sqrt
5809 if test "$ac_res" != no; then :
5810 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5819 ac_fn_c_check_decl "$LINENO" "SIZE_MAX" "ac_cv_have_decl_SIZE_MAX" "$ac_includes_default"
5820 if test "x$ac_cv_have_decl_SIZE_MAX" = xyes; then :
5822 else
5824 $as_echo "#define SIZE_MAX ((size_t)-1)" >>confdefs.h
5829 WERROR=
5830 for w in -Werror -errwarn; do
5831 if test "z$WERROR" = "z"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports $w" >&5
5833 $as_echo_n "checking whether the compiler supports $w... " >&6; }
5834 save_CFLAGS="$CFLAGS"
5835 save_LDFLAGS="$LDFLAGS"
5836 save_LIBS="$LIBS"
5837 CFLAGS=""
5838 LDFLAGS=""
5839 LIBS=""
5840 CFLAGS=$w
5841 CFLAGS="$save_CFLAGS $CFLAGS"
5842 LDFLAGS="$save_LDFLAGS $LDFLAGS"
5843 LIBS="$save_LIBS $LIBS"
5844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5845 /* end confdefs.h. */
5846 int main(int c, char **v) { (void)c; (void)v; return 0; }
5847 _ACEOF
5848 if ac_fn_c_try_link "$LINENO"; then :
5849 pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
5850 pixman_cc_flag=yes
5851 else
5852 pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
5853 pixman_cc_flag=no
5855 rm -f core conftest.err conftest.$ac_objext \
5856 conftest$ac_exeext conftest.$ac_ext
5858 if test "x$pixman_cc_stderr" != "x"; then
5859 pixman_cc_flag=no
5862 if test "x$pixman_cc_flag" = "xyes"; then
5863 WERROR=$w; yesno=yes
5864 else
5865 yesno=no
5867 CFLAGS="$save_CFLAGS"
5868 LDFLAGS="$save_LDFLAGS"
5869 LIBS="$save_LIBS"
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $yesno" >&5
5872 $as_echo "$yesno" >&6; }
5874 done
5878 # The cast to long int works around a bug in the HP C Compiler
5879 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5880 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5881 # This bug is HP SR number 8606223364.
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5883 $as_echo_n "checking size of long... " >&6; }
5884 if ${ac_cv_sizeof_long+:} false; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5887 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
5889 else
5890 if test "$ac_cv_type_long" = yes; then
5891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5893 as_fn_error 77 "cannot compute sizeof (long)
5894 See \`config.log' for more details" "$LINENO" 5; }
5895 else
5896 ac_cv_sizeof_long=0
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5902 $as_echo "$ac_cv_sizeof_long" >&6; }
5906 cat >>confdefs.h <<_ACEOF
5907 #define SIZEOF_LONG $ac_cv_sizeof_long
5908 _ACEOF
5912 # Checks for Sun Studio compilers
5913 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
5914 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
5915 SUNCC="yes"
5916 else
5917 SUNCC="no"
5920 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
5921 if test "x$ac_cv_have_decl___amd64" = xyes; then :
5922 AMD64_ABI="yes"
5923 else
5924 AMD64_ABI="no"
5928 # Default CFLAGS to -O -g rather than just the -g from AC_PROG_CC
5929 # if we're using Sun Studio and neither the user nor a config.site
5930 # has set CFLAGS.
5931 if test $SUNCC = yes && \
5932 test "x$test_CFLAGS" = "x" && \
5933 test "$CFLAGS" = "-g"
5934 then
5935 CFLAGS="-O -g"
5938 # Check for dependencies
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
5941 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
5942 save_CFLAGS="$CFLAGS"
5943 save_LDFLAGS="$LDFLAGS"
5944 save_LIBS="$LIBS"
5945 CFLAGS=""
5946 LDFLAGS=""
5947 LIBS=""
5948 CFLAGS="$WERROR -Wall"
5949 CFLAGS="$save_CFLAGS $CFLAGS"
5950 LDFLAGS="$save_LDFLAGS $LDFLAGS"
5951 LIBS="$save_LIBS $LIBS"
5952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5953 /* end confdefs.h. */
5955 int main(int c, char **v) { (void)c; (void)v; return 0; }
5957 _ACEOF
5958 if ac_fn_c_try_link "$LINENO"; then :
5959 pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
5960 pixman_cc_flag=yes
5961 else
5962 pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
5963 pixman_cc_flag=no
5965 rm -f core conftest.err conftest.$ac_objext \
5966 conftest$ac_exeext conftest.$ac_ext
5968 if test "x$pixman_cc_stderr" != "x"; then
5969 pixman_cc_flag=no
5972 if test "x$pixman_cc_flag" = "xyes"; then
5973 _yesno=yes
5974 else
5975 _yesno=no
5977 CFLAGS="$save_CFLAGS"
5978 LDFLAGS="$save_LDFLAGS"
5979 LIBS="$save_LIBS"
5981 if test "x$_yesno" = xyes; then
5982 CFLAGS="$CFLAGS -Wall"
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_yesno" >&5
5985 $as_echo "$_yesno" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
5988 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
5989 save_CFLAGS="$CFLAGS"
5990 save_LDFLAGS="$LDFLAGS"
5991 save_LIBS="$LIBS"
5992 CFLAGS=""
5993 LDFLAGS=""
5994 LIBS=""
5995 CFLAGS="$WERROR -fno-strict-aliasing"
5996 CFLAGS="$save_CFLAGS $CFLAGS"
5997 LDFLAGS="$save_LDFLAGS $LDFLAGS"
5998 LIBS="$save_LIBS $LIBS"
5999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6000 /* end confdefs.h. */
6002 int main(int c, char **v) { (void)c; (void)v; return 0; }
6004 _ACEOF
6005 if ac_fn_c_try_link "$LINENO"; then :
6006 pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
6007 pixman_cc_flag=yes
6008 else
6009 pixman_cc_stderr=`test -f conftest.err && cat conftest.err`
6010 pixman_cc_flag=no
6012 rm -f core conftest.err conftest.$ac_objext \
6013 conftest$ac_exeext conftest.$ac_ext
6015 if test "x$pixman_cc_stderr" != "x"; then
6016 pixman_cc_flag=no
6019 if test "x$pixman_cc_flag" = "xyes"; then
6020 _yesno=yes
6021 else
6022 _yesno=no
6024 CFLAGS="$save_CFLAGS"
6025 LDFLAGS="$save_LDFLAGS"
6026 LIBS="$save_LIBS"
6028 if test "x$_yesno" = xyes; then
6029 CFLAGS="$CFLAGS -fno-strict-aliasing"
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_yesno" >&5
6032 $as_echo "$_yesno" >&6; }
6035 PIXMAN_TREE=pixman-src
6038 if test -f $srcdir/$PIXMAN_TREE/pixman/pixman-version.h; then
6039 as_fn_error $? "Sorry, you must remove the file $PIXMAN_TREE/pixman/pixman-version.h" "$LINENO" 5
6042 ac_config_files="$ac_config_files Makefile include/Makefile pixman-version.h:pixman-src/pixman/pixman-version.h.in"
6045 cat >confcache <<\_ACEOF
6046 # This file is a shell script that caches the results of configure
6047 # tests run on this system so they can be shared between configure
6048 # scripts and configure runs, see configure's option --config-cache.
6049 # It is not useful on other systems. If it contains results you don't
6050 # want to keep, you may remove or edit it.
6052 # config.status only pays attention to the cache file if you give it
6053 # the --recheck option to rerun configure.
6055 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6056 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6057 # following values.
6059 _ACEOF
6061 # The following way of writing the cache mishandles newlines in values,
6062 # but we know of no workaround that is simple, portable, and efficient.
6063 # So, we kill variables containing newlines.
6064 # Ultrix sh set writes to stderr and can't be redirected directly,
6065 # and sets the high bit in the cache file unless we assign to the vars.
6067 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6068 eval ac_val=\$$ac_var
6069 case $ac_val in #(
6070 *${as_nl}*)
6071 case $ac_var in #(
6072 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6074 esac
6075 case $ac_var in #(
6076 _ | IFS | as_nl) ;; #(
6077 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6078 *) { eval $ac_var=; unset $ac_var;} ;;
6079 esac ;;
6080 esac
6081 done
6083 (set) 2>&1 |
6084 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6085 *${as_nl}ac_space=\ *)
6086 # `set' does not quote correctly, so add quotes: double-quote
6087 # substitution turns \\\\ into \\, and sed turns \\ into \.
6088 sed -n \
6089 "s/'/'\\\\''/g;
6090 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6091 ;; #(
6093 # `set' quotes correctly as required by POSIX, so do not add quotes.
6094 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6096 esac |
6097 sort
6099 sed '
6100 /^ac_cv_env_/b end
6101 t clear
6102 :clear
6103 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6104 t end
6105 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6106 :end' >>confcache
6107 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6108 if test -w "$cache_file"; then
6109 if test "x$cache_file" != "x/dev/null"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6111 $as_echo "$as_me: updating cache $cache_file" >&6;}
6112 if test ! -f "$cache_file" || test -h "$cache_file"; then
6113 cat confcache >"$cache_file"
6114 else
6115 case $cache_file in #(
6116 */* | ?:*)
6117 mv -f confcache "$cache_file"$$ &&
6118 mv -f "$cache_file"$$ "$cache_file" ;; #(
6120 mv -f confcache "$cache_file" ;;
6121 esac
6124 else
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6126 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6129 rm -f confcache
6131 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6132 # Let make expand exec_prefix.
6133 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6135 DEFS=-DHAVE_CONFIG_H
6137 ac_libobjs=
6138 ac_ltlibobjs=
6140 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6141 # 1. Remove the extension, and $U if already installed.
6142 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6143 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6144 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6145 # will be set to the directory where LIBOBJS objects are built.
6146 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6147 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6148 done
6149 LIBOBJS=$ac_libobjs
6151 LTLIBOBJS=$ac_ltlibobjs
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6155 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6156 if test -n "$am_sleep_pid"; then
6157 # Hide warnings about reused PIDs.
6158 wait $am_sleep_pid 2>/dev/null
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6161 $as_echo "done" >&6; }
6162 if test -n "$EXEEXT"; then
6163 am__EXEEXT_TRUE=
6164 am__EXEEXT_FALSE='#'
6165 else
6166 am__EXEEXT_TRUE='#'
6167 am__EXEEXT_FALSE=
6170 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6171 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6174 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6175 as_fn_error $? "conditional \"AMDEP\" was never defined.
6176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6178 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6179 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6182 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6183 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6187 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
6188 as_fn_error $? "conditional \"build\" was never defined.
6189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6192 : "${CONFIG_STATUS=./config.status}"
6193 ac_write_fail=0
6194 ac_clean_files_save=$ac_clean_files
6195 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6197 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6198 as_write_fail=0
6199 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6200 #! $SHELL
6201 # Generated by $as_me.
6202 # Run this file to recreate the current configuration.
6203 # Compiler output produced by configure, useful for debugging
6204 # configure, is in config.log if it exists.
6206 debug=false
6207 ac_cs_recheck=false
6208 ac_cs_silent=false
6210 SHELL=\${CONFIG_SHELL-$SHELL}
6211 export SHELL
6212 _ASEOF
6213 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6214 ## -------------------- ##
6215 ## M4sh Initialization. ##
6216 ## -------------------- ##
6218 # Be more Bourne compatible
6219 DUALCASE=1; export DUALCASE # for MKS sh
6220 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6221 emulate sh
6222 NULLCMD=:
6223 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6224 # is contrary to our usage. Disable this feature.
6225 alias -g '${1+"$@"}'='"$@"'
6226 setopt NO_GLOB_SUBST
6227 else
6228 case `(set -o) 2>/dev/null` in #(
6229 *posix*) :
6230 set -o posix ;; #(
6231 *) :
6233 esac
6237 as_nl='
6239 export as_nl
6240 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6241 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6242 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6243 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6244 # Prefer a ksh shell builtin over an external printf program on Solaris,
6245 # but without wasting forks for bash or zsh.
6246 if test -z "$BASH_VERSION$ZSH_VERSION" \
6247 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6248 as_echo='print -r --'
6249 as_echo_n='print -rn --'
6250 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6251 as_echo='printf %s\n'
6252 as_echo_n='printf %s'
6253 else
6254 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6255 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6256 as_echo_n='/usr/ucb/echo -n'
6257 else
6258 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6259 as_echo_n_body='eval
6260 arg=$1;
6261 case $arg in #(
6262 *"$as_nl"*)
6263 expr "X$arg" : "X\\(.*\\)$as_nl";
6264 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6265 esac;
6266 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6268 export as_echo_n_body
6269 as_echo_n='sh -c $as_echo_n_body as_echo'
6271 export as_echo_body
6272 as_echo='sh -c $as_echo_body as_echo'
6275 # The user is always right.
6276 if test "${PATH_SEPARATOR+set}" != set; then
6277 PATH_SEPARATOR=:
6278 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6279 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6280 PATH_SEPARATOR=';'
6285 # IFS
6286 # We need space, tab and new line, in precisely that order. Quoting is
6287 # there to prevent editors from complaining about space-tab.
6288 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6289 # splitting by setting IFS to empty value.)
6290 IFS=" "" $as_nl"
6292 # Find who we are. Look in the path if we contain no directory separator.
6293 as_myself=
6294 case $0 in #((
6295 *[\\/]* ) as_myself=$0 ;;
6296 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 for as_dir in $PATH
6299 IFS=$as_save_IFS
6300 test -z "$as_dir" && as_dir=.
6301 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6302 done
6303 IFS=$as_save_IFS
6306 esac
6307 # We did not find ourselves, most probably we were run as `sh COMMAND'
6308 # in which case we are not to be found in the path.
6309 if test "x$as_myself" = x; then
6310 as_myself=$0
6312 if test ! -f "$as_myself"; then
6313 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6314 exit 1
6317 # Unset variables that we do not need and which cause bugs (e.g. in
6318 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6319 # suppresses any "Segmentation fault" message there. '((' could
6320 # trigger a bug in pdksh 5.2.14.
6321 for as_var in BASH_ENV ENV MAIL MAILPATH
6322 do eval test x\${$as_var+set} = xset \
6323 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6324 done
6325 PS1='$ '
6326 PS2='> '
6327 PS4='+ '
6329 # NLS nuisances.
6330 LC_ALL=C
6331 export LC_ALL
6332 LANGUAGE=C
6333 export LANGUAGE
6335 # CDPATH.
6336 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6339 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6340 # ----------------------------------------
6341 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6342 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6343 # script with STATUS, using 1 if that was 0.
6344 as_fn_error ()
6346 as_status=$1; test $as_status -eq 0 && as_status=1
6347 if test "$4"; then
6348 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6349 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6351 $as_echo "$as_me: error: $2" >&2
6352 as_fn_exit $as_status
6353 } # as_fn_error
6356 # as_fn_set_status STATUS
6357 # -----------------------
6358 # Set $? to STATUS, without forking.
6359 as_fn_set_status ()
6361 return $1
6362 } # as_fn_set_status
6364 # as_fn_exit STATUS
6365 # -----------------
6366 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6367 as_fn_exit ()
6369 set +e
6370 as_fn_set_status $1
6371 exit $1
6372 } # as_fn_exit
6374 # as_fn_unset VAR
6375 # ---------------
6376 # Portably unset VAR.
6377 as_fn_unset ()
6379 { eval $1=; unset $1;}
6381 as_unset=as_fn_unset
6382 # as_fn_append VAR VALUE
6383 # ----------------------
6384 # Append the text in VALUE to the end of the definition contained in VAR. Take
6385 # advantage of any shell optimizations that allow amortized linear growth over
6386 # repeated appends, instead of the typical quadratic growth present in naive
6387 # implementations.
6388 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6389 eval 'as_fn_append ()
6391 eval $1+=\$2
6393 else
6394 as_fn_append ()
6396 eval $1=\$$1\$2
6398 fi # as_fn_append
6400 # as_fn_arith ARG...
6401 # ------------------
6402 # Perform arithmetic evaluation on the ARGs, and store the result in the
6403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6404 # must be portable across $(()) and expr.
6405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6406 eval 'as_fn_arith ()
6408 as_val=$(( $* ))
6410 else
6411 as_fn_arith ()
6413 as_val=`expr "$@" || test $? -eq 1`
6415 fi # as_fn_arith
6418 if expr a : '\(a\)' >/dev/null 2>&1 &&
6419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6420 as_expr=expr
6421 else
6422 as_expr=false
6425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6426 as_basename=basename
6427 else
6428 as_basename=false
6431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6432 as_dirname=dirname
6433 else
6434 as_dirname=false
6437 as_me=`$as_basename -- "$0" ||
6438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6439 X"$0" : 'X\(//\)$' \| \
6440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6441 $as_echo X/"$0" |
6442 sed '/^.*\/\([^/][^/]*\)\/*$/{
6443 s//\1/
6446 /^X\/\(\/\/\)$/{
6447 s//\1/
6450 /^X\/\(\/\).*/{
6451 s//\1/
6454 s/.*/./; q'`
6456 # Avoid depending upon Character Ranges.
6457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6460 as_cr_digits='0123456789'
6461 as_cr_alnum=$as_cr_Letters$as_cr_digits
6463 ECHO_C= ECHO_N= ECHO_T=
6464 case `echo -n x` in #(((((
6465 -n*)
6466 case `echo 'xy\c'` in
6467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6468 xy) ECHO_C='\c';;
6469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6470 ECHO_T=' ';;
6471 esac;;
6473 ECHO_N='-n';;
6474 esac
6476 rm -f conf$$ conf$$.exe conf$$.file
6477 if test -d conf$$.dir; then
6478 rm -f conf$$.dir/conf$$.file
6479 else
6480 rm -f conf$$.dir
6481 mkdir conf$$.dir 2>/dev/null
6483 if (echo >conf$$.file) 2>/dev/null; then
6484 if ln -s conf$$.file conf$$ 2>/dev/null; then
6485 as_ln_s='ln -s'
6486 # ... but there are two gotchas:
6487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6489 # In both cases, we have to default to `cp -pR'.
6490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6491 as_ln_s='cp -pR'
6492 elif ln conf$$.file conf$$ 2>/dev/null; then
6493 as_ln_s=ln
6494 else
6495 as_ln_s='cp -pR'
6497 else
6498 as_ln_s='cp -pR'
6500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6501 rmdir conf$$.dir 2>/dev/null
6504 # as_fn_mkdir_p
6505 # -------------
6506 # Create "$as_dir" as a directory, including parents if necessary.
6507 as_fn_mkdir_p ()
6510 case $as_dir in #(
6511 -*) as_dir=./$as_dir;;
6512 esac
6513 test -d "$as_dir" || eval $as_mkdir_p || {
6514 as_dirs=
6515 while :; do
6516 case $as_dir in #(
6517 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6518 *) as_qdir=$as_dir;;
6519 esac
6520 as_dirs="'$as_qdir' $as_dirs"
6521 as_dir=`$as_dirname -- "$as_dir" ||
6522 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6523 X"$as_dir" : 'X\(//\)[^/]' \| \
6524 X"$as_dir" : 'X\(//\)$' \| \
6525 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6526 $as_echo X"$as_dir" |
6527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6528 s//\1/
6531 /^X\(\/\/\)[^/].*/{
6532 s//\1/
6535 /^X\(\/\/\)$/{
6536 s//\1/
6539 /^X\(\/\).*/{
6540 s//\1/
6543 s/.*/./; q'`
6544 test -d "$as_dir" && break
6545 done
6546 test -z "$as_dirs" || eval "mkdir $as_dirs"
6547 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6550 } # as_fn_mkdir_p
6551 if mkdir -p . 2>/dev/null; then
6552 as_mkdir_p='mkdir -p "$as_dir"'
6553 else
6554 test -d ./-p && rmdir ./-p
6555 as_mkdir_p=false
6559 # as_fn_executable_p FILE
6560 # -----------------------
6561 # Test if FILE is an executable regular file.
6562 as_fn_executable_p ()
6564 test -f "$1" && test -x "$1"
6565 } # as_fn_executable_p
6566 as_test_x='test -x'
6567 as_executable_p=as_fn_executable_p
6569 # Sed expression to map a string onto a valid CPP name.
6570 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6572 # Sed expression to map a string onto a valid variable name.
6573 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6576 exec 6>&1
6577 ## ----------------------------------- ##
6578 ## Main body of $CONFIG_STATUS script. ##
6579 ## ----------------------------------- ##
6580 _ASEOF
6581 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6584 # Save the log message, to keep $0 and so on meaningful, and to
6585 # report actual input values of CONFIG_FILES etc. instead of their
6586 # values after options handling.
6587 ac_log="
6588 This file was extended by pixman (TeX Live) $as_me 0.34.0, which was
6589 generated by GNU Autoconf 2.69. Invocation command line was
6591 CONFIG_FILES = $CONFIG_FILES
6592 CONFIG_HEADERS = $CONFIG_HEADERS
6593 CONFIG_LINKS = $CONFIG_LINKS
6594 CONFIG_COMMANDS = $CONFIG_COMMANDS
6595 $ $0 $@
6597 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6600 _ACEOF
6602 case $ac_config_files in *"
6603 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6604 esac
6606 case $ac_config_headers in *"
6607 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6608 esac
6611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6612 # Files that config.status was made for.
6613 config_files="$ac_config_files"
6614 config_headers="$ac_config_headers"
6615 config_commands="$ac_config_commands"
6617 _ACEOF
6619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6620 ac_cs_usage="\
6621 \`$as_me' instantiates files and other configuration actions
6622 from templates according to the current configuration. Unless the files
6623 and actions are specified as TAGs, all are instantiated by default.
6625 Usage: $0 [OPTION]... [TAG]...
6627 -h, --help print this help, then exit
6628 -V, --version print version number and configuration settings, then exit
6629 --config print configuration, then exit
6630 -q, --quiet, --silent
6631 do not print progress messages
6632 -d, --debug don't remove temporary files
6633 --recheck update $as_me by reconfiguring in the same conditions
6634 --file=FILE[:TEMPLATE]
6635 instantiate the configuration file FILE
6636 --header=FILE[:TEMPLATE]
6637 instantiate the configuration header FILE
6639 Configuration files:
6640 $config_files
6642 Configuration headers:
6643 $config_headers
6645 Configuration commands:
6646 $config_commands
6648 Report bugs to <tex-k@tug.org>."
6650 _ACEOF
6651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6652 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6653 ac_cs_version="\\
6654 pixman (TeX Live) config.status 0.34.0
6655 configured by $0, generated by GNU Autoconf 2.69,
6656 with options \\"\$ac_cs_config\\"
6658 Copyright (C) 2012 Free Software Foundation, Inc.
6659 This config.status script is free software; the Free Software Foundation
6660 gives unlimited permission to copy, distribute and modify it."
6662 ac_pwd='$ac_pwd'
6663 srcdir='$srcdir'
6664 INSTALL='$INSTALL'
6665 MKDIR_P='$MKDIR_P'
6666 AWK='$AWK'
6667 test -n "\$AWK" || AWK=awk
6668 _ACEOF
6670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6671 # The default lists apply if the user does not specify any file.
6672 ac_need_defaults=:
6673 while test $# != 0
6675 case $1 in
6676 --*=?*)
6677 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6678 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6679 ac_shift=:
6681 --*=)
6682 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6683 ac_optarg=
6684 ac_shift=:
6687 ac_option=$1
6688 ac_optarg=$2
6689 ac_shift=shift
6691 esac
6693 case $ac_option in
6694 # Handling of the options.
6695 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6696 ac_cs_recheck=: ;;
6697 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6698 $as_echo "$ac_cs_version"; exit ;;
6699 --config | --confi | --conf | --con | --co | --c )
6700 $as_echo "$ac_cs_config"; exit ;;
6701 --debug | --debu | --deb | --de | --d | -d )
6702 debug=: ;;
6703 --file | --fil | --fi | --f )
6704 $ac_shift
6705 case $ac_optarg in
6706 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6707 '') as_fn_error $? "missing file argument" ;;
6708 esac
6709 as_fn_append CONFIG_FILES " '$ac_optarg'"
6710 ac_need_defaults=false;;
6711 --header | --heade | --head | --hea )
6712 $ac_shift
6713 case $ac_optarg in
6714 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6715 esac
6716 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6717 ac_need_defaults=false;;
6718 --he | --h)
6719 # Conflict between --help and --header
6720 as_fn_error $? "ambiguous option: \`$1'
6721 Try \`$0 --help' for more information.";;
6722 --help | --hel | -h )
6723 $as_echo "$ac_cs_usage"; exit ;;
6724 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6725 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6726 ac_cs_silent=: ;;
6728 # This is an error.
6729 -*) as_fn_error $? "unrecognized option: \`$1'
6730 Try \`$0 --help' for more information." ;;
6732 *) as_fn_append ac_config_targets " $1"
6733 ac_need_defaults=false ;;
6735 esac
6736 shift
6737 done
6739 ac_configure_extra_args=
6741 if $ac_cs_silent; then
6742 exec 6>/dev/null
6743 ac_configure_extra_args="$ac_configure_extra_args --silent"
6746 _ACEOF
6747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6748 if \$ac_cs_recheck; then
6749 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6750 shift
6751 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6752 CONFIG_SHELL='$SHELL'
6753 export CONFIG_SHELL
6754 exec "\$@"
6757 _ACEOF
6758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6759 exec 5>>config.log
6761 echo
6762 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6763 ## Running $as_me. ##
6764 _ASBOX
6765 $as_echo "$ac_log"
6766 } >&5
6768 _ACEOF
6769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6771 # INIT-COMMANDS
6773 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6775 _ACEOF
6777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6779 # Handling of arguments.
6780 for ac_config_target in $ac_config_targets
6782 case $ac_config_target in
6783 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6784 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6785 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6786 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
6787 "pixman-version.h") CONFIG_FILES="$CONFIG_FILES pixman-version.h:pixman-src/pixman/pixman-version.h.in" ;;
6789 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6790 esac
6791 done
6794 # If the user did not use the arguments to specify the items to instantiate,
6795 # then the envvar interface is used. Set only those that are not.
6796 # We use the long form for the default assignment because of an extremely
6797 # bizarre bug on SunOS 4.1.3.
6798 if $ac_need_defaults; then
6799 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6800 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6801 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6804 # Have a temporary directory for convenience. Make it in the build tree
6805 # simply because there is no reason against having it here, and in addition,
6806 # creating and moving files from /tmp can sometimes cause problems.
6807 # Hook for its removal unless debugging.
6808 # Note that there is a small window in which the directory will not be cleaned:
6809 # after its creation but before its name has been assigned to `$tmp'.
6810 $debug ||
6812 tmp= ac_tmp=
6813 trap 'exit_status=$?
6814 : "${ac_tmp:=$tmp}"
6815 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6817 trap 'as_fn_exit 1' 1 2 13 15
6819 # Create a (secure) tmp directory for tmp files.
6822 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6823 test -d "$tmp"
6824 } ||
6826 tmp=./conf$$-$RANDOM
6827 (umask 077 && mkdir "$tmp")
6828 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6829 ac_tmp=$tmp
6831 # Set up the scripts for CONFIG_FILES section.
6832 # No need to generate them if there are no CONFIG_FILES.
6833 # This happens for instance with `./config.status config.h'.
6834 if test -n "$CONFIG_FILES"; then
6837 ac_cr=`echo X | tr X '\015'`
6838 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6839 # But we know of no other shell where ac_cr would be empty at this
6840 # point, so we can use a bashism as a fallback.
6841 if test "x$ac_cr" = x; then
6842 eval ac_cr=\$\'\\r\'
6844 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6845 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6846 ac_cs_awk_cr='\\r'
6847 else
6848 ac_cs_awk_cr=$ac_cr
6851 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6852 _ACEOF
6856 echo "cat >conf$$subs.awk <<_ACEOF" &&
6857 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6858 echo "_ACEOF"
6859 } >conf$$subs.sh ||
6860 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6861 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6862 ac_delim='%!_!# '
6863 for ac_last_try in false false false false false :; do
6864 . ./conf$$subs.sh ||
6865 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6867 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6868 if test $ac_delim_n = $ac_delim_num; then
6869 break
6870 elif $ac_last_try; then
6871 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6872 else
6873 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6875 done
6876 rm -f conf$$subs.sh
6878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6879 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6880 _ACEOF
6881 sed -n '
6883 s/^/S["/; s/!.*/"]=/
6886 s/^[^!]*!//
6887 :repl
6888 t repl
6889 s/'"$ac_delim"'$//
6890 t delim
6893 s/\(.\{148\}\)..*/\1/
6894 t more1
6895 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6898 b repl
6899 :more1
6900 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6903 s/.\{148\}//
6904 t nl
6905 :delim
6907 s/\(.\{148\}\)..*/\1/
6908 t more2
6909 s/["\\]/\\&/g; s/^/"/; s/$/"/
6912 :more2
6913 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6916 s/.\{148\}//
6917 t delim
6918 ' <conf$$subs.awk | sed '
6919 /^[^""]/{
6921 s/\n//
6923 ' >>$CONFIG_STATUS || ac_write_fail=1
6924 rm -f conf$$subs.awk
6925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6926 _ACAWK
6927 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6928 for (key in S) S_is_set[key] = 1
6929 FS = "\a"
6933 line = $ 0
6934 nfields = split(line, field, "@")
6935 substed = 0
6936 len = length(field[1])
6937 for (i = 2; i < nfields; i++) {
6938 key = field[i]
6939 keylen = length(key)
6940 if (S_is_set[key]) {
6941 value = S[key]
6942 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6943 len += length(value) + length(field[++i])
6944 substed = 1
6945 } else
6946 len += 1 + keylen
6949 print line
6952 _ACAWK
6953 _ACEOF
6954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6955 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6956 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6957 else
6959 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6960 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6961 _ACEOF
6963 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6964 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6965 # trailing colons and then remove the whole line if VPATH becomes empty
6966 # (actually we leave an empty line to preserve line numbers).
6967 if test "x$srcdir" = x.; then
6968 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6970 s///
6971 s/^/:/
6972 s/[ ]*$/:/
6973 s/:\$(srcdir):/:/g
6974 s/:\${srcdir}:/:/g
6975 s/:@srcdir@:/:/g
6976 s/^:*//
6977 s/:*$//
6979 s/\(=[ ]*\).*/\1/
6981 s/\n//
6982 s/^[^=]*=[ ]*$//
6986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6987 fi # test -n "$CONFIG_FILES"
6989 # Set up the scripts for CONFIG_HEADERS section.
6990 # No need to generate them if there are no CONFIG_HEADERS.
6991 # This happens for instance with `./config.status Makefile'.
6992 if test -n "$CONFIG_HEADERS"; then
6993 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6994 BEGIN {
6995 _ACEOF
6997 # Transform confdefs.h into an awk script `defines.awk', embedded as
6998 # here-document in config.status, that substitutes the proper values into
6999 # config.h.in to produce config.h.
7001 # Create a delimiter string that does not exist in confdefs.h, to ease
7002 # handling of long lines.
7003 ac_delim='%!_!# '
7004 for ac_last_try in false false :; do
7005 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7006 if test -z "$ac_tt"; then
7007 break
7008 elif $ac_last_try; then
7009 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7010 else
7011 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7013 done
7015 # For the awk script, D is an array of macro values keyed by name,
7016 # likewise P contains macro parameters if any. Preserve backslash
7017 # newline sequences.
7019 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7020 sed -n '
7021 s/.\{148\}/&'"$ac_delim"'/g
7022 t rset
7023 :rset
7024 s/^[ ]*#[ ]*define[ ][ ]*/ /
7025 t def
7027 :def
7028 s/\\$//
7029 t bsnl
7030 s/["\\]/\\&/g
7031 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7032 D["\1"]=" \3"/p
7033 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7035 :bsnl
7036 s/["\\]/\\&/g
7037 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7038 D["\1"]=" \3\\\\\\n"\\/p
7039 t cont
7040 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7041 t cont
7043 :cont
7045 s/.\{148\}/&'"$ac_delim"'/g
7046 t clear
7047 :clear
7048 s/\\$//
7049 t bsnlc
7050 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7052 :bsnlc
7053 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7054 b cont
7055 ' <confdefs.h | sed '
7056 s/'"$ac_delim"'/"\\\
7057 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7060 for (key in D) D_is_set[key] = 1
7061 FS = "\a"
7063 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7064 line = \$ 0
7065 split(line, arg, " ")
7066 if (arg[1] == "#") {
7067 defundef = arg[2]
7068 mac1 = arg[3]
7069 } else {
7070 defundef = substr(arg[1], 2)
7071 mac1 = arg[2]
7073 split(mac1, mac2, "(") #)
7074 macro = mac2[1]
7075 prefix = substr(line, 1, index(line, defundef) - 1)
7076 if (D_is_set[macro]) {
7077 # Preserve the white space surrounding the "#".
7078 print prefix "define", macro P[macro] D[macro]
7079 next
7080 } else {
7081 # Replace #undef with comments. This is necessary, for example,
7082 # in the case of _POSIX_SOURCE, which is predefined and required
7083 # on some systems where configure will not decide to define it.
7084 if (defundef == "undef") {
7085 print "/*", prefix defundef, macro, "*/"
7086 next
7090 { print }
7091 _ACAWK
7092 _ACEOF
7093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7094 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7095 fi # test -n "$CONFIG_HEADERS"
7098 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7099 shift
7100 for ac_tag
7102 case $ac_tag in
7103 :[FHLC]) ac_mode=$ac_tag; continue;;
7104 esac
7105 case $ac_mode$ac_tag in
7106 :[FHL]*:*);;
7107 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7108 :[FH]-) ac_tag=-:-;;
7109 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7110 esac
7111 ac_save_IFS=$IFS
7112 IFS=:
7113 set x $ac_tag
7114 IFS=$ac_save_IFS
7115 shift
7116 ac_file=$1
7117 shift
7119 case $ac_mode in
7120 :L) ac_source=$1;;
7121 :[FH])
7122 ac_file_inputs=
7123 for ac_f
7125 case $ac_f in
7126 -) ac_f="$ac_tmp/stdin";;
7127 *) # Look for the file first in the build tree, then in the source tree
7128 # (if the path is not absolute). The absolute path cannot be DOS-style,
7129 # because $ac_f cannot contain `:'.
7130 test -f "$ac_f" ||
7131 case $ac_f in
7132 [\\/$]*) false;;
7133 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7134 esac ||
7135 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7136 esac
7137 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7138 as_fn_append ac_file_inputs " '$ac_f'"
7139 done
7141 # Let's still pretend it is `configure' which instantiates (i.e., don't
7142 # use $as_me), people would be surprised to read:
7143 # /* config.h. Generated by config.status. */
7144 configure_input='Generated from '`
7145 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7146 `' by configure.'
7147 if test x"$ac_file" != x-; then
7148 configure_input="$ac_file. $configure_input"
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7150 $as_echo "$as_me: creating $ac_file" >&6;}
7152 # Neutralize special characters interpreted by sed in replacement strings.
7153 case $configure_input in #(
7154 *\&* | *\|* | *\\* )
7155 ac_sed_conf_input=`$as_echo "$configure_input" |
7156 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7157 *) ac_sed_conf_input=$configure_input;;
7158 esac
7160 case $ac_tag in
7161 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7162 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7163 esac
7165 esac
7167 ac_dir=`$as_dirname -- "$ac_file" ||
7168 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7169 X"$ac_file" : 'X\(//\)[^/]' \| \
7170 X"$ac_file" : 'X\(//\)$' \| \
7171 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7172 $as_echo X"$ac_file" |
7173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7174 s//\1/
7177 /^X\(\/\/\)[^/].*/{
7178 s//\1/
7181 /^X\(\/\/\)$/{
7182 s//\1/
7185 /^X\(\/\).*/{
7186 s//\1/
7189 s/.*/./; q'`
7190 as_dir="$ac_dir"; as_fn_mkdir_p
7191 ac_builddir=.
7193 case "$ac_dir" in
7194 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7196 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7197 # A ".." for each directory in $ac_dir_suffix.
7198 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7199 case $ac_top_builddir_sub in
7200 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7201 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7202 esac ;;
7203 esac
7204 ac_abs_top_builddir=$ac_pwd
7205 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7206 # for backward compatibility:
7207 ac_top_builddir=$ac_top_build_prefix
7209 case $srcdir in
7210 .) # We are building in place.
7211 ac_srcdir=.
7212 ac_top_srcdir=$ac_top_builddir_sub
7213 ac_abs_top_srcdir=$ac_pwd ;;
7214 [\\/]* | ?:[\\/]* ) # Absolute name.
7215 ac_srcdir=$srcdir$ac_dir_suffix;
7216 ac_top_srcdir=$srcdir
7217 ac_abs_top_srcdir=$srcdir ;;
7218 *) # Relative name.
7219 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7220 ac_top_srcdir=$ac_top_build_prefix$srcdir
7221 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7222 esac
7223 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7226 case $ac_mode in
7229 # CONFIG_FILE
7232 case $INSTALL in
7233 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7234 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7235 esac
7236 ac_MKDIR_P=$MKDIR_P
7237 case $MKDIR_P in
7238 [\\/$]* | ?:[\\/]* ) ;;
7239 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7240 esac
7241 _ACEOF
7243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7244 # If the template does not know about datarootdir, expand it.
7245 # FIXME: This hack should be removed a few years after 2.60.
7246 ac_datarootdir_hack=; ac_datarootdir_seen=
7247 ac_sed_dataroot='
7248 /datarootdir/ {
7252 /@datadir@/p
7253 /@docdir@/p
7254 /@infodir@/p
7255 /@localedir@/p
7256 /@mandir@/p'
7257 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7258 *datarootdir*) ac_datarootdir_seen=yes;;
7259 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7261 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7262 _ACEOF
7263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7264 ac_datarootdir_hack='
7265 s&@datadir@&$datadir&g
7266 s&@docdir@&$docdir&g
7267 s&@infodir@&$infodir&g
7268 s&@localedir@&$localedir&g
7269 s&@mandir@&$mandir&g
7270 s&\\\${datarootdir}&$datarootdir&g' ;;
7271 esac
7272 _ACEOF
7274 # Neutralize VPATH when `$srcdir' = `.'.
7275 # Shell code in configure.ac might set extrasub.
7276 # FIXME: do we really want to maintain this feature?
7277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7278 ac_sed_extra="$ac_vpsub
7279 $extrasub
7280 _ACEOF
7281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7283 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7284 s|@configure_input@|$ac_sed_conf_input|;t t
7285 s&@top_builddir@&$ac_top_builddir_sub&;t t
7286 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7287 s&@srcdir@&$ac_srcdir&;t t
7288 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7289 s&@top_srcdir@&$ac_top_srcdir&;t t
7290 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7291 s&@builddir@&$ac_builddir&;t t
7292 s&@abs_builddir@&$ac_abs_builddir&;t t
7293 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7294 s&@INSTALL@&$ac_INSTALL&;t t
7295 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7296 $ac_datarootdir_hack
7298 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7299 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7302 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7303 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7304 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7306 which seems to be undefined. Please make sure it is defined" >&5
7307 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7308 which seems to be undefined. Please make sure it is defined" >&2;}
7310 rm -f "$ac_tmp/stdin"
7311 case $ac_file in
7312 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7313 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7314 esac \
7315 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7319 # CONFIG_HEADER
7321 if test x"$ac_file" != x-; then
7323 $as_echo "/* $configure_input */" \
7324 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7325 } >"$ac_tmp/config.h" \
7326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7327 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7329 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7330 else
7331 rm -f "$ac_file"
7332 mv "$ac_tmp/config.h" "$ac_file" \
7333 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7335 else
7336 $as_echo "/* $configure_input */" \
7337 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7338 || as_fn_error $? "could not create -" "$LINENO" 5
7340 # Compute "$ac_file"'s index in $config_headers.
7341 _am_arg="$ac_file"
7342 _am_stamp_count=1
7343 for _am_header in $config_headers :; do
7344 case $_am_header in
7345 $_am_arg | $_am_arg:* )
7346 break ;;
7348 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7349 esac
7350 done
7351 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7352 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7353 X"$_am_arg" : 'X\(//\)[^/]' \| \
7354 X"$_am_arg" : 'X\(//\)$' \| \
7355 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7356 $as_echo X"$_am_arg" |
7357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7358 s//\1/
7361 /^X\(\/\/\)[^/].*/{
7362 s//\1/
7365 /^X\(\/\/\)$/{
7366 s//\1/
7369 /^X\(\/\).*/{
7370 s//\1/
7373 s/.*/./; q'`/stamp-h$_am_stamp_count
7376 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7377 $as_echo "$as_me: executing $ac_file commands" >&6;}
7379 esac
7382 case $ac_file$ac_mode in
7383 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7384 # Older Autoconf quotes --file arguments for eval, but not when files
7385 # are listed without --file. Let's play safe and only enable the eval
7386 # if we detect the quoting.
7387 case $CONFIG_FILES in
7388 *\'*) eval set x "$CONFIG_FILES" ;;
7389 *) set x $CONFIG_FILES ;;
7390 esac
7391 shift
7392 for mf
7394 # Strip MF so we end up with the name of the file.
7395 mf=`echo "$mf" | sed -e 's/:.*$//'`
7396 # Check whether this is an Automake generated Makefile or not.
7397 # We used to match only the files named 'Makefile.in', but
7398 # some people rename them; so instead we look at the file content.
7399 # Grep'ing the first line is not enough: some people post-process
7400 # each Makefile.in and add a new line on top of each file to say so.
7401 # Grep'ing the whole file is not good either: AIX grep has a line
7402 # limit of 2048, but all sed's we know have understand at least 4000.
7403 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7404 dirpart=`$as_dirname -- "$mf" ||
7405 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7406 X"$mf" : 'X\(//\)[^/]' \| \
7407 X"$mf" : 'X\(//\)$' \| \
7408 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7409 $as_echo X"$mf" |
7410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7411 s//\1/
7414 /^X\(\/\/\)[^/].*/{
7415 s//\1/
7418 /^X\(\/\/\)$/{
7419 s//\1/
7422 /^X\(\/\).*/{
7423 s//\1/
7426 s/.*/./; q'`
7427 else
7428 continue
7430 # Extract the definition of DEPDIR, am__include, and am__quote
7431 # from the Makefile without running 'make'.
7432 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7433 test -z "$DEPDIR" && continue
7434 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7435 test -z "$am__include" && continue
7436 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7437 # Find all dependency output files, they are included files with
7438 # $(DEPDIR) in their names. We invoke sed twice because it is the
7439 # simplest approach to changing $(DEPDIR) to its actual value in the
7440 # expansion.
7441 for file in `sed -n "
7442 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7443 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7444 # Make sure the directory exists.
7445 test -f "$dirpart/$file" && continue
7446 fdir=`$as_dirname -- "$file" ||
7447 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7448 X"$file" : 'X\(//\)[^/]' \| \
7449 X"$file" : 'X\(//\)$' \| \
7450 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7451 $as_echo X"$file" |
7452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7453 s//\1/
7456 /^X\(\/\/\)[^/].*/{
7457 s//\1/
7460 /^X\(\/\/\)$/{
7461 s//\1/
7464 /^X\(\/\).*/{
7465 s//\1/
7468 s/.*/./; q'`
7469 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7470 # echo "creating $dirpart/$file"
7471 echo '# dummy' > "$dirpart/$file"
7472 done
7473 done
7477 esac
7478 done # for ac_tag
7481 as_fn_exit 0
7482 _ACEOF
7483 ac_clean_files=$ac_clean_files_save
7485 test $ac_write_fail = 0 ||
7486 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7489 # configure is writing to config.log, and then calls config.status.
7490 # config.status does its own redirection, appending to config.log.
7491 # Unfortunately, on DOS this fails, as config.log is still kept open
7492 # by configure, so config.status won't be able to write to it; its
7493 # output is simply discarded. So we exec the FD to /dev/null,
7494 # effectively closing config.log, so it can be properly (re)opened and
7495 # appended to by config.status. When coming back to configure, we
7496 # need to make the FD available again.
7497 if test "$no_create" != yes; then
7498 ac_cs_success=:
7499 ac_config_status_args=
7500 test "$silent" = yes &&
7501 ac_config_status_args="$ac_config_status_args --quiet"
7502 exec 5>/dev/null
7503 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7504 exec 5>>config.log
7505 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7506 # would make configure fail if this is the last instruction.
7507 $ac_cs_success || as_fn_exit 1
7509 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7511 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}