fix permissions
[luatex.git] / source / libs / poppler / configure
blob30debd4462864ef237b0b0f2e24b6b6693e39884
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for poppler (TeX Live) 0.28.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='poppler (TeX Live)'
582 PACKAGE_TARNAME='poppler--tex-live-'
583 PACKAGE_VERSION='0.28.0'
584 PACKAGE_STRING='poppler (TeX Live) 0.28.0'
585 PACKAGE_BUGREPORT='tex-k@tug.org'
586 PACKAGE_URL=''
588 ac_unique_file="poppler-0.28.0/poppler/Array.cc"
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 POPPLER_TREE
630 build_FALSE
631 build_TRUE
632 ZLIB_RULE
633 ZLIB_DEPEND
634 ZLIB_LIBS
635 ZLIB_INCLUDES
636 MINGW32_FALSE
637 MINGW32_TRUE
638 WIN32_FALSE
639 WIN32_TRUE
640 NO_WARN_CXXFLAGS
641 EGREP
642 GREP
644 LN_S
645 RANLIB
646 WARNING_CXXFLAGS
647 am__fastdepCXX_FALSE
648 am__fastdepCXX_TRUE
649 CXXDEPMODE
650 ac_ct_CXX
651 CXXFLAGS
653 WARNING_CFLAGS
654 am__fastdepCC_FALSE
655 am__fastdepCC_TRUE
656 CCDEPMODE
657 am__nodep
658 AMDEPBACKSLASH
659 AMDEP_FALSE
660 AMDEP_TRUE
661 am__quote
662 am__include
663 DEPDIR
664 OBJEXT
665 EXEEXT
666 ac_ct_CC
667 CPPFLAGS
668 LDFLAGS
669 CFLAGS
671 MAINT
672 MAINTAINER_MODE_FALSE
673 MAINTAINER_MODE_TRUE
674 AM_BACKSLASH
675 AM_DEFAULT_VERBOSITY
676 AM_DEFAULT_V
677 AM_V
678 am__untar
679 am__tar
680 AMTAR
681 am__leading_dot
682 SET_MAKE
684 mkdir_p
685 MKDIR_P
686 INSTALL_STRIP_PROGRAM
687 STRIP
688 install_sh
689 MAKEINFO
690 AUTOHEADER
691 AUTOMAKE
692 AUTOCONF
693 ACLOCAL
694 VERSION
695 PACKAGE
696 CYGPATH_W
697 am__isrc
698 INSTALL_DATA
699 INSTALL_SCRIPT
700 INSTALL_PROGRAM
701 target_alias
702 host_alias
703 build_alias
704 LIBS
705 ECHO_T
706 ECHO_N
707 ECHO_C
708 DEFS
709 mandir
710 localedir
711 libdir
712 psdir
713 pdfdir
714 dvidir
715 htmldir
716 infodir
717 docdir
718 oldincludedir
719 includedir
720 localstatedir
721 sharedstatedir
722 sysconfdir
723 datadir
724 datarootdir
725 libexecdir
726 sbindir
727 bindir
728 program_transform_name
729 prefix
730 exec_prefix
731 PACKAGE_URL
732 PACKAGE_BUGREPORT
733 PACKAGE_STRING
734 PACKAGE_VERSION
735 PACKAGE_TARNAME
736 PACKAGE_NAME
737 PATH_SEPARATOR
738 SHELL'
739 ac_subst_files=''
740 ac_user_opts='
741 enable_option_checking
742 enable_silent_rules
743 enable_maintainer_mode
744 enable_dependency_tracking
745 enable_compiler_warnings
746 enable_opi
747 enable_multithreaded
748 enable_exceptions
749 enable_fixedpoint
750 enable_largefile
751 with_system_zlib
752 with_zlib_includes
753 with_zlib_libdir
755 ac_precious_vars='build_alias
756 host_alias
757 target_alias
759 CFLAGS
760 LDFLAGS
761 LIBS
762 CPPFLAGS
764 CXXFLAGS
766 CPP'
769 # Initialize some variables set by options.
770 ac_init_help=
771 ac_init_version=false
772 ac_unrecognized_opts=
773 ac_unrecognized_sep=
774 # The variables have the same names as the options, with
775 # dashes changed to underlines.
776 cache_file=/dev/null
777 exec_prefix=NONE
778 no_create=
779 no_recursion=
780 prefix=NONE
781 program_prefix=NONE
782 program_suffix=NONE
783 program_transform_name=s,x,x,
784 silent=
785 site=
786 srcdir=
787 verbose=
788 x_includes=NONE
789 x_libraries=NONE
791 # Installation directory options.
792 # These are left unexpanded so users can "make install exec_prefix=/foo"
793 # and all the variables that are supposed to be based on exec_prefix
794 # by default will actually change.
795 # Use braces instead of parens because sh, perl, etc. also accept them.
796 # (The list follows the same order as the GNU Coding Standards.)
797 bindir='${exec_prefix}/bin'
798 sbindir='${exec_prefix}/sbin'
799 libexecdir='${exec_prefix}/libexec'
800 datarootdir='${prefix}/share'
801 datadir='${datarootdir}'
802 sysconfdir='${prefix}/etc'
803 sharedstatedir='${prefix}/com'
804 localstatedir='${prefix}/var'
805 includedir='${prefix}/include'
806 oldincludedir='/usr/include'
807 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
808 infodir='${datarootdir}/info'
809 htmldir='${docdir}'
810 dvidir='${docdir}'
811 pdfdir='${docdir}'
812 psdir='${docdir}'
813 libdir='${exec_prefix}/lib'
814 localedir='${datarootdir}/locale'
815 mandir='${datarootdir}/man'
817 ac_prev=
818 ac_dashdash=
819 for ac_option
821 # If the previous option needs an argument, assign it.
822 if test -n "$ac_prev"; then
823 eval $ac_prev=\$ac_option
824 ac_prev=
825 continue
828 case $ac_option in
829 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
830 *=) ac_optarg= ;;
831 *) ac_optarg=yes ;;
832 esac
834 # Accept the important Cygnus configure options, so we can diagnose typos.
836 case $ac_dashdash$ac_option in
838 ac_dashdash=yes ;;
840 -bindir | --bindir | --bindi | --bind | --bin | --bi)
841 ac_prev=bindir ;;
842 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
843 bindir=$ac_optarg ;;
845 -build | --build | --buil | --bui | --bu)
846 ac_prev=build_alias ;;
847 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
848 build_alias=$ac_optarg ;;
850 -cache-file | --cache-file | --cache-fil | --cache-fi \
851 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
852 ac_prev=cache_file ;;
853 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
854 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
855 cache_file=$ac_optarg ;;
857 --config-cache | -C)
858 cache_file=config.cache ;;
860 -datadir | --datadir | --datadi | --datad)
861 ac_prev=datadir ;;
862 -datadir=* | --datadir=* | --datadi=* | --datad=*)
863 datadir=$ac_optarg ;;
865 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
866 | --dataroo | --dataro | --datar)
867 ac_prev=datarootdir ;;
868 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
869 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
870 datarootdir=$ac_optarg ;;
872 -disable-* | --disable-*)
873 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
874 # Reject names that are not valid shell variable names.
875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
876 as_fn_error $? "invalid feature name: $ac_useropt"
877 ac_useropt_orig=$ac_useropt
878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879 case $ac_user_opts in
881 "enable_$ac_useropt"
882 "*) ;;
883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
884 ac_unrecognized_sep=', ';;
885 esac
886 eval enable_$ac_useropt=no ;;
888 -docdir | --docdir | --docdi | --doc | --do)
889 ac_prev=docdir ;;
890 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
891 docdir=$ac_optarg ;;
893 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
894 ac_prev=dvidir ;;
895 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
896 dvidir=$ac_optarg ;;
898 -enable-* | --enable-*)
899 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
902 as_fn_error $? "invalid feature name: $ac_useropt"
903 ac_useropt_orig=$ac_useropt
904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905 case $ac_user_opts in
907 "enable_$ac_useropt"
908 "*) ;;
909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
910 ac_unrecognized_sep=', ';;
911 esac
912 eval enable_$ac_useropt=\$ac_optarg ;;
914 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
915 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
916 | --exec | --exe | --ex)
917 ac_prev=exec_prefix ;;
918 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
919 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
920 | --exec=* | --exe=* | --ex=*)
921 exec_prefix=$ac_optarg ;;
923 -gas | --gas | --ga | --g)
924 # Obsolete; use --with-gas.
925 with_gas=yes ;;
927 -help | --help | --hel | --he | -h)
928 ac_init_help=long ;;
929 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
930 ac_init_help=recursive ;;
931 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
932 ac_init_help=short ;;
934 -host | --host | --hos | --ho)
935 ac_prev=host_alias ;;
936 -host=* | --host=* | --hos=* | --ho=*)
937 host_alias=$ac_optarg ;;
939 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
940 ac_prev=htmldir ;;
941 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
942 | --ht=*)
943 htmldir=$ac_optarg ;;
945 -includedir | --includedir | --includedi | --included | --include \
946 | --includ | --inclu | --incl | --inc)
947 ac_prev=includedir ;;
948 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
949 | --includ=* | --inclu=* | --incl=* | --inc=*)
950 includedir=$ac_optarg ;;
952 -infodir | --infodir | --infodi | --infod | --info | --inf)
953 ac_prev=infodir ;;
954 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
955 infodir=$ac_optarg ;;
957 -libdir | --libdir | --libdi | --libd)
958 ac_prev=libdir ;;
959 -libdir=* | --libdir=* | --libdi=* | --libd=*)
960 libdir=$ac_optarg ;;
962 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
963 | --libexe | --libex | --libe)
964 ac_prev=libexecdir ;;
965 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
966 | --libexe=* | --libex=* | --libe=*)
967 libexecdir=$ac_optarg ;;
969 -localedir | --localedir | --localedi | --localed | --locale)
970 ac_prev=localedir ;;
971 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
972 localedir=$ac_optarg ;;
974 -localstatedir | --localstatedir | --localstatedi | --localstated \
975 | --localstate | --localstat | --localsta | --localst | --locals)
976 ac_prev=localstatedir ;;
977 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
978 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
979 localstatedir=$ac_optarg ;;
981 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
982 ac_prev=mandir ;;
983 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
984 mandir=$ac_optarg ;;
986 -nfp | --nfp | --nf)
987 # Obsolete; use --without-fp.
988 with_fp=no ;;
990 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
991 | --no-cr | --no-c | -n)
992 no_create=yes ;;
994 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
995 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
996 no_recursion=yes ;;
998 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
999 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1000 | --oldin | --oldi | --old | --ol | --o)
1001 ac_prev=oldincludedir ;;
1002 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1003 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1004 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1005 oldincludedir=$ac_optarg ;;
1007 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1008 ac_prev=prefix ;;
1009 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1010 prefix=$ac_optarg ;;
1012 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1013 | --program-pre | --program-pr | --program-p)
1014 ac_prev=program_prefix ;;
1015 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1016 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1017 program_prefix=$ac_optarg ;;
1019 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1020 | --program-suf | --program-su | --program-s)
1021 ac_prev=program_suffix ;;
1022 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1023 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1024 program_suffix=$ac_optarg ;;
1026 -program-transform-name | --program-transform-name \
1027 | --program-transform-nam | --program-transform-na \
1028 | --program-transform-n | --program-transform- \
1029 | --program-transform | --program-transfor \
1030 | --program-transfo | --program-transf \
1031 | --program-trans | --program-tran \
1032 | --progr-tra | --program-tr | --program-t)
1033 ac_prev=program_transform_name ;;
1034 -program-transform-name=* | --program-transform-name=* \
1035 | --program-transform-nam=* | --program-transform-na=* \
1036 | --program-transform-n=* | --program-transform-=* \
1037 | --program-transform=* | --program-transfor=* \
1038 | --program-transfo=* | --program-transf=* \
1039 | --program-trans=* | --program-tran=* \
1040 | --progr-tra=* | --program-tr=* | --program-t=*)
1041 program_transform_name=$ac_optarg ;;
1043 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1044 ac_prev=pdfdir ;;
1045 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1046 pdfdir=$ac_optarg ;;
1048 -psdir | --psdir | --psdi | --psd | --ps)
1049 ac_prev=psdir ;;
1050 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1051 psdir=$ac_optarg ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1055 silent=yes ;;
1057 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1058 ac_prev=sbindir ;;
1059 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1060 | --sbi=* | --sb=*)
1061 sbindir=$ac_optarg ;;
1063 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1064 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1065 | --sharedst | --shareds | --shared | --share | --shar \
1066 | --sha | --sh)
1067 ac_prev=sharedstatedir ;;
1068 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1069 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1070 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1071 | --sha=* | --sh=*)
1072 sharedstatedir=$ac_optarg ;;
1074 -site | --site | --sit)
1075 ac_prev=site ;;
1076 -site=* | --site=* | --sit=*)
1077 site=$ac_optarg ;;
1079 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1080 ac_prev=srcdir ;;
1081 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1082 srcdir=$ac_optarg ;;
1084 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1085 | --syscon | --sysco | --sysc | --sys | --sy)
1086 ac_prev=sysconfdir ;;
1087 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1088 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1089 sysconfdir=$ac_optarg ;;
1091 -target | --target | --targe | --targ | --tar | --ta | --t)
1092 ac_prev=target_alias ;;
1093 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1094 target_alias=$ac_optarg ;;
1096 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1097 verbose=yes ;;
1099 -version | --version | --versio | --versi | --vers | -V)
1100 ac_init_version=: ;;
1102 -with-* | --with-*)
1103 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106 as_fn_error $? "invalid package name: $ac_useropt"
1107 ac_useropt_orig=$ac_useropt
1108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1111 "with_$ac_useropt"
1112 "*) ;;
1113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1114 ac_unrecognized_sep=', ';;
1115 esac
1116 eval with_$ac_useropt=\$ac_optarg ;;
1118 -without-* | --without-*)
1119 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 as_fn_error $? "invalid package name: $ac_useropt"
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1127 "with_$ac_useropt"
1128 "*) ;;
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1131 esac
1132 eval with_$ac_useropt=no ;;
1134 --x)
1135 # Obsolete; use --with-x.
1136 with_x=yes ;;
1138 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1139 | --x-incl | --x-inc | --x-in | --x-i)
1140 ac_prev=x_includes ;;
1141 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1142 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1143 x_includes=$ac_optarg ;;
1145 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1146 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1147 ac_prev=x_libraries ;;
1148 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1149 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1150 x_libraries=$ac_optarg ;;
1152 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1153 Try \`$0 --help' for more information"
1156 *=*)
1157 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1158 # Reject names that are not valid shell variable names.
1159 case $ac_envvar in #(
1160 '' | [0-9]* | *[!_$as_cr_alnum]* )
1161 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1162 esac
1163 eval $ac_envvar=\$ac_optarg
1164 export $ac_envvar ;;
1167 # FIXME: should be removed in autoconf 3.0.
1168 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1170 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1171 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1174 esac
1175 done
1177 if test -n "$ac_prev"; then
1178 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1179 as_fn_error $? "missing argument to $ac_option"
1182 if test -n "$ac_unrecognized_opts"; then
1183 case $enable_option_checking in
1184 no) ;;
1185 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1186 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187 esac
1190 # Check all directory arguments for consistency.
1191 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1192 datadir sysconfdir sharedstatedir localstatedir includedir \
1193 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1194 libdir localedir mandir
1196 eval ac_val=\$$ac_var
1197 # Remove trailing slashes.
1198 case $ac_val in
1199 */ )
1200 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1201 eval $ac_var=\$ac_val;;
1202 esac
1203 # Be sure to have absolute directory names.
1204 case $ac_val in
1205 [\\/$]* | ?:[\\/]* ) continue;;
1206 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1207 esac
1208 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1209 done
1211 # There might be people who depend on the old broken behavior: `$host'
1212 # used to hold the argument of --host etc.
1213 # FIXME: To remove some day.
1214 build=$build_alias
1215 host=$host_alias
1216 target=$target_alias
1218 # FIXME: To remove some day.
1219 if test "x$host_alias" != x; then
1220 if test "x$build_alias" = x; then
1221 cross_compiling=maybe
1222 elif test "x$build_alias" != "x$host_alias"; then
1223 cross_compiling=yes
1227 ac_tool_prefix=
1228 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1230 test "$silent" = yes && exec 6>/dev/null
1233 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1234 ac_ls_di=`ls -di .` &&
1235 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1236 as_fn_error $? "working directory cannot be determined"
1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238 as_fn_error $? "pwd does not report name of working directory"
1241 # Find the source files, if location was not specified.
1242 if test -z "$srcdir"; then
1243 ac_srcdir_defaulted=yes
1244 # Try the directory containing this script, then the parent directory.
1245 ac_confdir=`$as_dirname -- "$as_myself" ||
1246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247 X"$as_myself" : 'X\(//\)[^/]' \| \
1248 X"$as_myself" : 'X\(//\)$' \| \
1249 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250 $as_echo X"$as_myself" |
1251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 s//\1/
1255 /^X\(\/\/\)[^/].*/{
1256 s//\1/
1259 /^X\(\/\/\)$/{
1260 s//\1/
1263 /^X\(\/\).*/{
1264 s//\1/
1267 s/.*/./; q'`
1268 srcdir=$ac_confdir
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1270 srcdir=..
1272 else
1273 ac_srcdir_defaulted=no
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1276 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1277 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1279 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1280 ac_abs_confdir=`(
1281 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1282 pwd)`
1283 # When building in place, set srcdir=.
1284 if test "$ac_abs_confdir" = "$ac_pwd"; then
1285 srcdir=.
1287 # Remove unnecessary trailing slashes from srcdir.
1288 # Double slashes in file names in object file debugging info
1289 # mess up M-x gdb in Emacs.
1290 case $srcdir in
1291 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292 esac
1293 for ac_var in $ac_precious_vars; do
1294 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1295 eval ac_env_${ac_var}_value=\$${ac_var}
1296 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1297 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1298 done
1301 # Report the --help message.
1303 if test "$ac_init_help" = "long"; then
1304 # Omit some internal or obsolete options to make the list less imposing.
1305 # This message is too long to be a string in the A/UX 3.1 sh.
1306 cat <<_ACEOF
1307 \`configure' configures poppler (TeX Live) 0.28.0 to adapt to many kinds of systems.
1309 Usage: $0 [OPTION]... [VAR=VALUE]...
1311 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1312 VAR=VALUE. See below for descriptions of some of the useful variables.
1314 Defaults for the options are specified in brackets.
1316 Configuration:
1317 -h, --help display this help and exit
1318 --help=short display options specific to this package
1319 --help=recursive display the short help of all the included packages
1320 -V, --version display version information and exit
1321 -q, --quiet, --silent do not print \`checking ...' messages
1322 --cache-file=FILE cache test results in FILE [disabled]
1323 -C, --config-cache alias for \`--cache-file=config.cache'
1324 -n, --no-create do not create output files
1325 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1327 Installation directories:
1328 --prefix=PREFIX install architecture-independent files in PREFIX
1329 [$ac_default_prefix]
1330 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1331 [PREFIX]
1333 By default, \`make install' will install all the files in
1334 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1335 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1336 for instance \`--prefix=\$HOME'.
1338 For better control, use the options below.
1340 Fine tuning of the installation directories:
1341 --bindir=DIR user executables [EPREFIX/bin]
1342 --sbindir=DIR system admin executables [EPREFIX/sbin]
1343 --libexecdir=DIR program executables [EPREFIX/libexec]
1344 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1345 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1346 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1347 --libdir=DIR object code libraries [EPREFIX/lib]
1348 --includedir=DIR C header files [PREFIX/include]
1349 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1350 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1351 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1352 --infodir=DIR info documentation [DATAROOTDIR/info]
1353 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1354 --mandir=DIR man documentation [DATAROOTDIR/man]
1355 --docdir=DIR documentation root
1356 [DATAROOTDIR/doc/poppler--tex-live-]
1357 --htmldir=DIR html documentation [DOCDIR]
1358 --dvidir=DIR dvi documentation [DOCDIR]
1359 --pdfdir=DIR pdf documentation [DOCDIR]
1360 --psdir=DIR ps documentation [DOCDIR]
1361 _ACEOF
1363 cat <<\_ACEOF
1365 Program names:
1366 --program-prefix=PREFIX prepend PREFIX to installed program names
1367 --program-suffix=SUFFIX append SUFFIX to installed program names
1368 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1369 _ACEOF
1372 if test -n "$ac_init_help"; then
1373 case $ac_init_help in
1374 short | recursive ) echo "Configuration of poppler (TeX Live) 0.28.0:";;
1375 esac
1376 cat <<\_ACEOF
1378 Optional Features:
1379 --disable-option-checking ignore unrecognized --enable/--with options
1380 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1381 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1382 --enable-silent-rules less verbose build output (undo: "make V=1")
1383 --disable-silent-rules verbose build output (undo: "make V=0")
1384 --enable-maintainer-mode
1385 enable make rules and dependencies not useful (and
1386 sometimes confusing) to the casual installer
1387 --enable-dependency-tracking
1388 do not reject slow dependency extractors
1389 --disable-dependency-tracking
1390 speeds up one-time build
1391 --enable-compiler-warnings=[no|min|yes|max|all]
1392 Turn on compiler warnings [default: yes if
1393 maintainer-mode, min otherwise]
1394 --enable-opi include support for OPI comments
1395 --enable-multithreaded include support for multithreading
1396 --enable-exceptions use C++ exceptions
1397 --enable-fixedpoint use fixed point (instead of floating point)
1398 arithmetic
1399 --disable-largefile omit support for large files
1401 Optional Packages:
1402 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1403 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1404 --with-system-zlib use installed zlib headers and library
1405 --with-zlib-includes=DIR
1406 zlib headers installed in DIR
1407 --with-zlib-libdir=DIR zlib library installed in DIR
1409 Some influential environment variables:
1410 CC C compiler command
1411 CFLAGS C compiler flags
1412 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1413 nonstandard directory <lib dir>
1414 LIBS libraries to pass to the linker, e.g. -l<library>
1415 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1416 you have headers in a nonstandard directory <include dir>
1417 CXX C++ compiler command
1418 CXXFLAGS C++ compiler flags
1419 CPP C preprocessor
1421 Use these variables to override the choices made by `configure' or to help
1422 it to find libraries and programs with nonstandard names/locations.
1424 Report bugs to <tex-k@tug.org>.
1425 _ACEOF
1426 ac_status=$?
1429 if test "$ac_init_help" = "recursive"; then
1430 # If there are subdirs, report their specific --help.
1431 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1432 test -d "$ac_dir" ||
1433 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1434 continue
1435 ac_builddir=.
1437 case "$ac_dir" in
1438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1441 # A ".." for each directory in $ac_dir_suffix.
1442 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1443 case $ac_top_builddir_sub in
1444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1446 esac ;;
1447 esac
1448 ac_abs_top_builddir=$ac_pwd
1449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1450 # for backward compatibility:
1451 ac_top_builddir=$ac_top_build_prefix
1453 case $srcdir in
1454 .) # We are building in place.
1455 ac_srcdir=.
1456 ac_top_srcdir=$ac_top_builddir_sub
1457 ac_abs_top_srcdir=$ac_pwd ;;
1458 [\\/]* | ?:[\\/]* ) # Absolute name.
1459 ac_srcdir=$srcdir$ac_dir_suffix;
1460 ac_top_srcdir=$srcdir
1461 ac_abs_top_srcdir=$srcdir ;;
1462 *) # Relative name.
1463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1464 ac_top_srcdir=$ac_top_build_prefix$srcdir
1465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1466 esac
1467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1469 cd "$ac_dir" || { ac_status=$?; continue; }
1470 # Check for guested configure.
1471 if test -f "$ac_srcdir/configure.gnu"; then
1472 echo &&
1473 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1474 elif test -f "$ac_srcdir/configure"; then
1475 echo &&
1476 $SHELL "$ac_srcdir/configure" --help=recursive
1477 else
1478 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479 fi || ac_status=$?
1480 cd "$ac_pwd" || { ac_status=$?; break; }
1481 done
1484 test -n "$ac_init_help" && exit $ac_status
1485 if $ac_init_version; then
1486 cat <<\_ACEOF
1487 poppler (TeX Live) configure 0.28.0
1488 generated by GNU Autoconf 2.69
1490 Copyright (C) 2012 Free Software Foundation, Inc.
1491 This configure script is free software; the Free Software Foundation
1492 gives unlimited permission to copy, distribute and modify it.
1493 _ACEOF
1494 exit
1497 ## ------------------------ ##
1498 ## Autoconf initialization. ##
1499 ## ------------------------ ##
1501 # ac_fn_c_try_compile LINENO
1502 # --------------------------
1503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1504 ac_fn_c_try_compile ()
1506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1507 rm -f conftest.$ac_objext
1508 if { { ac_try="$ac_compile"
1509 case "(($ac_try" in
1510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1511 *) ac_try_echo=$ac_try;;
1512 esac
1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1514 $as_echo "$ac_try_echo"; } >&5
1515 (eval "$ac_compile") 2>conftest.err
1516 ac_status=$?
1517 if test -s conftest.err; then
1518 grep -v '^ *+' conftest.err >conftest.er1
1519 cat conftest.er1 >&5
1520 mv -f conftest.er1 conftest.err
1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1523 test $ac_status = 0; } && {
1524 test -z "$ac_c_werror_flag" ||
1525 test ! -s conftest.err
1526 } && test -s conftest.$ac_objext; then :
1527 ac_retval=0
1528 else
1529 $as_echo "$as_me: failed program was:" >&5
1530 sed 's/^/| /' conftest.$ac_ext >&5
1532 ac_retval=1
1534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1535 as_fn_set_status $ac_retval
1537 } # ac_fn_c_try_compile
1539 # ac_fn_c_try_link LINENO
1540 # -----------------------
1541 # Try to link conftest.$ac_ext, and return whether this succeeded.
1542 ac_fn_c_try_link ()
1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545 rm -f conftest.$ac_objext conftest$ac_exeext
1546 if { { ac_try="$ac_link"
1547 case "(($ac_try" in
1548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1549 *) ac_try_echo=$ac_try;;
1550 esac
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_link") 2>conftest.err
1554 ac_status=$?
1555 if test -s conftest.err; then
1556 grep -v '^ *+' conftest.err >conftest.er1
1557 cat conftest.er1 >&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest$ac_exeext && {
1565 test "$cross_compiling" = yes ||
1566 test -x conftest$ac_exeext
1567 }; then :
1568 ac_retval=0
1569 else
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1573 ac_retval=1
1575 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1576 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1577 # interfere with the next link command; also delete a directory that is
1578 # left behind by Apple's compiler. We do this before executing the actions.
1579 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status $ac_retval
1583 } # ac_fn_c_try_link
1585 # ac_fn_cxx_try_compile LINENO
1586 # ----------------------------
1587 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1588 ac_fn_cxx_try_compile ()
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591 rm -f conftest.$ac_objext
1592 if { { ac_try="$ac_compile"
1593 case "(($ac_try" in
1594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1596 esac
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_compile") 2>conftest.err
1600 ac_status=$?
1601 if test -s conftest.err; then
1602 grep -v '^ *+' conftest.err >conftest.er1
1603 cat conftest.er1 >&5
1604 mv -f conftest.er1 conftest.err
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; } && {
1608 test -z "$ac_cxx_werror_flag" ||
1609 test ! -s conftest.err
1610 } && test -s conftest.$ac_objext; then :
1611 ac_retval=0
1612 else
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1616 ac_retval=1
1618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 as_fn_set_status $ac_retval
1621 } # ac_fn_cxx_try_compile
1623 # ac_fn_c_try_run LINENO
1624 # ----------------------
1625 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1626 # that executables *can* be run.
1627 ac_fn_c_try_run ()
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 if { { ac_try="$ac_link"
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_link") 2>&5
1638 ac_status=$?
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1641 { { case "(($ac_try" in
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1644 esac
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_try") 2>&5
1648 ac_status=$?
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; }; }; then :
1651 ac_retval=0
1652 else
1653 $as_echo "$as_me: program exited with status $ac_status" >&5
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1657 ac_retval=$ac_status
1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status $ac_retval
1663 } # ac_fn_c_try_run
1665 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1666 # --------------------------------------------
1667 # Tries to find the compile-time value of EXPR in a program that includes
1668 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1669 # computed
1670 ac_fn_c_compute_int ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if test "$cross_compiling" = yes; then
1674 # Depending upon the size, compute the lo and hi bounds.
1675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1676 /* end confdefs.h. */
1679 main ()
1681 static int test_array [1 - 2 * !(($2) >= 0)];
1682 test_array [0] = 0;
1683 return test_array [0];
1686 return 0;
1688 _ACEOF
1689 if ac_fn_c_try_compile "$LINENO"; then :
1690 ac_lo=0 ac_mid=0
1691 while :; do
1692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1693 /* end confdefs.h. */
1696 main ()
1698 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1699 test_array [0] = 0;
1700 return test_array [0];
1703 return 0;
1705 _ACEOF
1706 if ac_fn_c_try_compile "$LINENO"; then :
1707 ac_hi=$ac_mid; break
1708 else
1709 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1710 if test $ac_lo -le $ac_mid; then
1711 ac_lo= ac_hi=
1712 break
1714 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717 done
1718 else
1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h. */
1723 main ()
1725 static int test_array [1 - 2 * !(($2) < 0)];
1726 test_array [0] = 0;
1727 return test_array [0];
1730 return 0;
1732 _ACEOF
1733 if ac_fn_c_try_compile "$LINENO"; then :
1734 ac_hi=-1 ac_mid=-1
1735 while :; do
1736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1737 /* end confdefs.h. */
1740 main ()
1742 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1743 test_array [0] = 0;
1744 return test_array [0];
1747 return 0;
1749 _ACEOF
1750 if ac_fn_c_try_compile "$LINENO"; then :
1751 ac_lo=$ac_mid; break
1752 else
1753 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1754 if test $ac_mid -le $ac_hi; then
1755 ac_lo= ac_hi=
1756 break
1758 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761 done
1762 else
1763 ac_lo= ac_hi=
1765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768 # Binary search between lo and hi bounds.
1769 while test "x$ac_lo" != "x$ac_hi"; do
1770 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1772 /* end confdefs.h. */
1775 main ()
1777 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1778 test_array [0] = 0;
1779 return test_array [0];
1782 return 0;
1784 _ACEOF
1785 if ac_fn_c_try_compile "$LINENO"; then :
1786 ac_hi=$ac_mid
1787 else
1788 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1791 done
1792 case $ac_lo in #((
1793 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1794 '') ac_retval=1 ;;
1795 esac
1796 else
1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1800 static long int longval () { return $2; }
1801 static unsigned long int ulongval () { return $2; }
1802 #include <stdio.h>
1803 #include <stdlib.h>
1805 main ()
1808 FILE *f = fopen ("conftest.val", "w");
1809 if (! f)
1810 return 1;
1811 if (($2) < 0)
1813 long int i = longval ();
1814 if (i != ($2))
1815 return 1;
1816 fprintf (f, "%ld", i);
1818 else
1820 unsigned long int i = ulongval ();
1821 if (i != ($2))
1822 return 1;
1823 fprintf (f, "%lu", i);
1825 /* Do not output a trailing newline, as this causes \r\n confusion
1826 on some platforms. */
1827 return ferror (f) || fclose (f) != 0;
1830 return 0;
1832 _ACEOF
1833 if ac_fn_c_try_run "$LINENO"; then :
1834 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1835 else
1836 ac_retval=1
1838 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1839 conftest.$ac_objext conftest.beam conftest.$ac_ext
1840 rm -f conftest.val
1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844 as_fn_set_status $ac_retval
1846 } # ac_fn_c_compute_int
1848 # ac_fn_c_try_cpp LINENO
1849 # ----------------------
1850 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1851 ac_fn_c_try_cpp ()
1853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854 if { { ac_try="$ac_cpp conftest.$ac_ext"
1855 case "(($ac_try" in
1856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1858 esac
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1862 ac_status=$?
1863 if test -s conftest.err; then
1864 grep -v '^ *+' conftest.err >conftest.er1
1865 cat conftest.er1 >&5
1866 mv -f conftest.er1 conftest.err
1868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869 test $ac_status = 0; } > conftest.i && {
1870 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1871 test ! -s conftest.err
1872 }; then :
1873 ac_retval=0
1874 else
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1878 ac_retval=1
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 as_fn_set_status $ac_retval
1883 } # ac_fn_c_try_cpp
1885 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1886 # -------------------------------------------------------
1887 # Tests whether HEADER exists and can be compiled using the include files in
1888 # INCLUDES, setting the cache variable VAR accordingly.
1889 ac_fn_c_check_header_compile ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6
1896 else
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1900 #include <$2>
1901 _ACEOF
1902 if ac_fn_c_try_compile "$LINENO"; then :
1903 eval "$3=yes"
1904 else
1905 eval "$3=no"
1907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 eval ac_res=\$$3
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 $as_echo "$ac_res" >&6; }
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914 } # ac_fn_c_check_header_compile
1916 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1917 # -------------------------------------------------------
1918 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1919 # the include files in INCLUDES and setting the cache variable VAR
1920 # accordingly.
1921 ac_fn_c_check_header_mongrel ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 if eval \${$3+:} false; then :
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926 $as_echo_n "checking for $2... " >&6; }
1927 if eval \${$3+:} false; then :
1928 $as_echo_n "(cached) " >&6
1930 eval ac_res=\$$3
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1933 else
1934 # Is the header compilable?
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1936 $as_echo_n "checking $2 usability... " >&6; }
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1940 #include <$2>
1941 _ACEOF
1942 if ac_fn_c_try_compile "$LINENO"; then :
1943 ac_header_compiler=yes
1944 else
1945 ac_header_compiler=no
1947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1949 $as_echo "$ac_header_compiler" >&6; }
1951 # Is the header present?
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1953 $as_echo_n "checking $2 presence... " >&6; }
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1956 #include <$2>
1957 _ACEOF
1958 if ac_fn_c_try_cpp "$LINENO"; then :
1959 ac_header_preproc=yes
1960 else
1961 ac_header_preproc=no
1963 rm -f conftest.err conftest.i conftest.$ac_ext
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1965 $as_echo "$ac_header_preproc" >&6; }
1967 # So? What about this header?
1968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1969 yes:no: )
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1971 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1973 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1975 no:yes:* )
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1977 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1979 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1981 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1983 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1985 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1986 ( $as_echo "## ---------------------------- ##
1987 ## Report this to tex-k@tug.org ##
1988 ## ---------------------------- ##"
1989 ) | sed "s/^/$as_me: WARNING: /" >&2
1991 esac
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993 $as_echo_n "checking for $2... " >&6; }
1994 if eval \${$3+:} false; then :
1995 $as_echo_n "(cached) " >&6
1996 else
1997 eval "$3=\$ac_header_compiler"
1999 eval ac_res=\$$3
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2005 } # ac_fn_c_check_header_mongrel
2007 # ac_fn_c_check_func LINENO FUNC VAR
2008 # ----------------------------------
2009 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2010 ac_fn_c_check_func ()
2012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2014 $as_echo_n "checking for $2... " >&6; }
2015 if eval \${$3+:} false; then :
2016 $as_echo_n "(cached) " >&6
2017 else
2018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2020 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2022 #define $2 innocuous_$2
2024 /* System header to define __stub macros and hopefully few prototypes,
2025 which can conflict with char $2 (); below.
2026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2027 <limits.h> exists even on freestanding compilers. */
2029 #ifdef __STDC__
2030 # include <limits.h>
2031 #else
2032 # include <assert.h>
2033 #endif
2035 #undef $2
2037 /* Override any GCC internal prototype to avoid an error.
2038 Use char because int might match the return type of a GCC
2039 builtin and then its argument prototype would still apply. */
2040 #ifdef __cplusplus
2041 extern "C"
2042 #endif
2043 char $2 ();
2044 /* The GNU C library defines this for functions which it implements
2045 to always fail with ENOSYS. Some functions are actually named
2046 something starting with __ and the normal name is an alias. */
2047 #if defined __stub_$2 || defined __stub___$2
2048 choke me
2049 #endif
2052 main ()
2054 return $2 ();
2056 return 0;
2058 _ACEOF
2059 if ac_fn_c_try_link "$LINENO"; then :
2060 eval "$3=yes"
2061 else
2062 eval "$3=no"
2064 rm -f core conftest.err conftest.$ac_objext \
2065 conftest$ac_exeext conftest.$ac_ext
2067 eval ac_res=\$$3
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2069 $as_echo "$ac_res" >&6; }
2070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2072 } # ac_fn_c_check_func
2073 cat >config.log <<_ACEOF
2074 This file contains any messages produced by compilers while
2075 running configure, to aid debugging if configure makes a mistake.
2077 It was created by poppler (TeX Live) $as_me 0.28.0, which was
2078 generated by GNU Autoconf 2.69. Invocation command line was
2080 $ $0 $@
2082 _ACEOF
2083 exec 5>>config.log
2085 cat <<_ASUNAME
2086 ## --------- ##
2087 ## Platform. ##
2088 ## --------- ##
2090 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2091 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2092 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2093 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2094 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2096 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2097 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2099 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2100 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2101 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2102 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2103 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2104 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2105 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2107 _ASUNAME
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 for as_dir in $PATH
2112 IFS=$as_save_IFS
2113 test -z "$as_dir" && as_dir=.
2114 $as_echo "PATH: $as_dir"
2115 done
2116 IFS=$as_save_IFS
2118 } >&5
2120 cat >&5 <<_ACEOF
2123 ## ----------- ##
2124 ## Core tests. ##
2125 ## ----------- ##
2127 _ACEOF
2130 # Keep a trace of the command line.
2131 # Strip out --no-create and --no-recursion so they do not pile up.
2132 # Strip out --silent because we don't want to record it for future runs.
2133 # Also quote any args containing shell meta-characters.
2134 # Make two passes to allow for proper duplicate-argument suppression.
2135 ac_configure_args=
2136 ac_configure_args0=
2137 ac_configure_args1=
2138 ac_must_keep_next=false
2139 for ac_pass in 1 2
2141 for ac_arg
2143 case $ac_arg in
2144 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2145 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2146 | -silent | --silent | --silen | --sile | --sil)
2147 continue ;;
2148 *\'*)
2149 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2150 esac
2151 case $ac_pass in
2152 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2154 as_fn_append ac_configure_args1 " '$ac_arg'"
2155 if test $ac_must_keep_next = true; then
2156 ac_must_keep_next=false # Got value, back to normal.
2157 else
2158 case $ac_arg in
2159 *=* | --config-cache | -C | -disable-* | --disable-* \
2160 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2161 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2162 | -with-* | --with-* | -without-* | --without-* | --x)
2163 case "$ac_configure_args0 " in
2164 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2165 esac
2167 -* ) ac_must_keep_next=true ;;
2168 esac
2170 as_fn_append ac_configure_args " '$ac_arg'"
2172 esac
2173 done
2174 done
2175 { ac_configure_args0=; unset ac_configure_args0;}
2176 { ac_configure_args1=; unset ac_configure_args1;}
2178 # When interrupted or exit'd, cleanup temporary files, and complete
2179 # config.log. We remove comments because anyway the quotes in there
2180 # would cause problems or look ugly.
2181 # WARNING: Use '\'' to represent an apostrophe within the trap.
2182 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2183 trap 'exit_status=$?
2184 # Save into config.log some information that might help in debugging.
2186 echo
2188 $as_echo "## ---------------- ##
2189 ## Cache variables. ##
2190 ## ---------------- ##"
2191 echo
2192 # The following way of writing the cache mishandles newlines in values,
2194 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2195 eval ac_val=\$$ac_var
2196 case $ac_val in #(
2197 *${as_nl}*)
2198 case $ac_var in #(
2199 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2200 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2201 esac
2202 case $ac_var in #(
2203 _ | IFS | as_nl) ;; #(
2204 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2205 *) { eval $ac_var=; unset $ac_var;} ;;
2206 esac ;;
2207 esac
2208 done
2209 (set) 2>&1 |
2210 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2211 *${as_nl}ac_space=\ *)
2212 sed -n \
2213 "s/'\''/'\''\\\\'\'''\''/g;
2214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2215 ;; #(
2217 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2219 esac |
2220 sort
2222 echo
2224 $as_echo "## ----------------- ##
2225 ## Output variables. ##
2226 ## ----------------- ##"
2227 echo
2228 for ac_var in $ac_subst_vars
2230 eval ac_val=\$$ac_var
2231 case $ac_val in
2232 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2233 esac
2234 $as_echo "$ac_var='\''$ac_val'\''"
2235 done | sort
2236 echo
2238 if test -n "$ac_subst_files"; then
2239 $as_echo "## ------------------- ##
2240 ## File substitutions. ##
2241 ## ------------------- ##"
2242 echo
2243 for ac_var in $ac_subst_files
2245 eval ac_val=\$$ac_var
2246 case $ac_val in
2247 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2248 esac
2249 $as_echo "$ac_var='\''$ac_val'\''"
2250 done | sort
2251 echo
2254 if test -s confdefs.h; then
2255 $as_echo "## ----------- ##
2256 ## confdefs.h. ##
2257 ## ----------- ##"
2258 echo
2259 cat confdefs.h
2260 echo
2262 test "$ac_signal" != 0 &&
2263 $as_echo "$as_me: caught signal $ac_signal"
2264 $as_echo "$as_me: exit $exit_status"
2265 } >&5
2266 rm -f core *.core core.conftest.* &&
2267 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2268 exit $exit_status
2270 for ac_signal in 1 2 13 15; do
2271 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2272 done
2273 ac_signal=0
2275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2276 rm -f -r conftest* confdefs.h
2278 $as_echo "/* confdefs.h */" > confdefs.h
2280 # Predefined preprocessor variables.
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_NAME "$PACKAGE_NAME"
2284 _ACEOF
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2288 _ACEOF
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2292 _ACEOF
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2296 _ACEOF
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2300 _ACEOF
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_URL "$PACKAGE_URL"
2304 _ACEOF
2307 # Let the site file select an alternate cache file if it wants to.
2308 # Prefer an explicitly selected file to automatically selected ones.
2309 ac_site_file1=NONE
2310 ac_site_file2=NONE
2311 if test -n "$CONFIG_SITE"; then
2312 # We do not want a PATH search for config.site.
2313 case $CONFIG_SITE in #((
2314 -*) ac_site_file1=./$CONFIG_SITE;;
2315 */*) ac_site_file1=$CONFIG_SITE;;
2316 *) ac_site_file1=./$CONFIG_SITE;;
2317 esac
2318 elif test "x$prefix" != xNONE; then
2319 ac_site_file1=$prefix/share/config.site
2320 ac_site_file2=$prefix/etc/config.site
2321 else
2322 ac_site_file1=$ac_default_prefix/share/config.site
2323 ac_site_file2=$ac_default_prefix/etc/config.site
2325 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2327 test "x$ac_site_file" = xNONE && continue
2328 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2330 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2331 sed 's/^/| /' "$ac_site_file" >&5
2332 . "$ac_site_file" \
2333 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2335 as_fn_error $? "failed to load site script $ac_site_file
2336 See \`config.log' for more details" "$LINENO" 5; }
2338 done
2340 if test -r "$cache_file"; then
2341 # Some versions of bash will fail to source /dev/null (special files
2342 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2343 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2345 $as_echo "$as_me: loading cache $cache_file" >&6;}
2346 case $cache_file in
2347 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2348 *) . "./$cache_file";;
2349 esac
2351 else
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2353 $as_echo "$as_me: creating cache $cache_file" >&6;}
2354 >$cache_file
2357 # Check that the precious variables saved in the cache have kept the same
2358 # value.
2359 ac_cache_corrupted=false
2360 for ac_var in $ac_precious_vars; do
2361 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2362 eval ac_new_set=\$ac_env_${ac_var}_set
2363 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2364 eval ac_new_val=\$ac_env_${ac_var}_value
2365 case $ac_old_set,$ac_new_set in
2366 set,)
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2368 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2369 ac_cache_corrupted=: ;;
2370 ,set)
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2372 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2373 ac_cache_corrupted=: ;;
2374 ,);;
2376 if test "x$ac_old_val" != "x$ac_new_val"; then
2377 # differences in whitespace do not lead to failure.
2378 ac_old_val_w=`echo x $ac_old_val`
2379 ac_new_val_w=`echo x $ac_new_val`
2380 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2382 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2383 ac_cache_corrupted=:
2384 else
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2386 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2387 eval $ac_var=\$ac_old_val
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2390 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2392 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2393 fi;;
2394 esac
2395 # Pass precious variables to config.status.
2396 if test "$ac_new_set" = set; then
2397 case $ac_new_val in
2398 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2399 *) ac_arg=$ac_var=$ac_new_val ;;
2400 esac
2401 case " $ac_configure_args " in
2402 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2403 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2404 esac
2406 done
2407 if $ac_cache_corrupted; then
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2411 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2412 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2414 ## -------------------- ##
2415 ## Main body of script. ##
2416 ## -------------------- ##
2418 ac_ext=c
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2427 ac_aux_dir=
2428 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2429 if test -f "$ac_dir/install-sh"; then
2430 ac_aux_dir=$ac_dir
2431 ac_install_sh="$ac_aux_dir/install-sh -c"
2432 break
2433 elif test -f "$ac_dir/install.sh"; then
2434 ac_aux_dir=$ac_dir
2435 ac_install_sh="$ac_aux_dir/install.sh -c"
2436 break
2437 elif test -f "$ac_dir/shtool"; then
2438 ac_aux_dir=$ac_dir
2439 ac_install_sh="$ac_aux_dir/shtool install -c"
2440 break
2442 done
2443 if test -z "$ac_aux_dir"; then
2444 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2458 am__api_version='1.14'
2460 # Find a good install program. We prefer a C program (faster),
2461 # so one script is as good as another. But avoid the broken or
2462 # incompatible versions:
2463 # SysV /etc/install, /usr/sbin/install
2464 # SunOS /usr/etc/install
2465 # IRIX /sbin/install
2466 # AIX /bin/install
2467 # AmigaOS /C/install, which installs bootblocks on floppy discs
2468 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2469 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2470 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2471 # OS/2's system install, which has a completely different semantic
2472 # ./install, which can be erroneously created by make from ./install.sh.
2473 # Reject install programs that cannot install multiple files.
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2475 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2476 if test -z "$INSTALL"; then
2477 if ${ac_cv_path_install+:} false; then :
2478 $as_echo_n "(cached) " >&6
2479 else
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2481 for as_dir in $PATH
2483 IFS=$as_save_IFS
2484 test -z "$as_dir" && as_dir=.
2485 # Account for people who put trailing slashes in PATH elements.
2486 case $as_dir/ in #((
2487 ./ | .// | /[cC]/* | \
2488 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2489 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2490 /usr/ucb/* ) ;;
2492 # OSF1 and SCO ODT 3.0 have their own names for install.
2493 # Don't use installbsd from OSF since it installs stuff as root
2494 # by default.
2495 for ac_prog in ginstall scoinst install; do
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2498 if test $ac_prog = install &&
2499 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2500 # AIX install. It has an incompatible calling convention.
2502 elif test $ac_prog = install &&
2503 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2504 # program-specific install script used by HP pwplus--don't use.
2506 else
2507 rm -rf conftest.one conftest.two conftest.dir
2508 echo one > conftest.one
2509 echo two > conftest.two
2510 mkdir conftest.dir
2511 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2512 test -s conftest.one && test -s conftest.two &&
2513 test -s conftest.dir/conftest.one &&
2514 test -s conftest.dir/conftest.two
2515 then
2516 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2517 break 3
2521 done
2522 done
2524 esac
2526 done
2527 IFS=$as_save_IFS
2529 rm -rf conftest.one conftest.two conftest.dir
2532 if test "${ac_cv_path_install+set}" = set; then
2533 INSTALL=$ac_cv_path_install
2534 else
2535 # As a last resort, use the slow shell script. Don't cache a
2536 # value for INSTALL within a source directory, because that will
2537 # break other packages using the cache if that directory is
2538 # removed, or if the value is a relative name.
2539 INSTALL=$ac_install_sh
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2543 $as_echo "$INSTALL" >&6; }
2545 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2546 # It thinks the first close brace ends the variable substitution.
2547 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2549 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2551 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2554 $as_echo_n "checking whether build environment is sane... " >&6; }
2555 # Reject unsafe characters in $srcdir or the absolute working directory
2556 # name. Accept space and tab only in the latter.
2557 am_lf='
2559 case `pwd` in
2560 *[\\\"\#\$\&\'\`$am_lf]*)
2561 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2562 esac
2563 case $srcdir in
2564 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2565 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2566 esac
2568 # Do 'set' in a subshell so we don't clobber the current shell's
2569 # arguments. Must try -L first in case configure is actually a
2570 # symlink; some systems play weird games with the mod time of symlinks
2571 # (eg FreeBSD returns the mod time of the symlink's containing
2572 # directory).
2573 if (
2574 am_has_slept=no
2575 for am_try in 1 2; do
2576 echo "timestamp, slept: $am_has_slept" > conftest.file
2577 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2578 if test "$*" = "X"; then
2579 # -L didn't work.
2580 set X `ls -t "$srcdir/configure" conftest.file`
2582 if test "$*" != "X $srcdir/configure conftest.file" \
2583 && test "$*" != "X conftest.file $srcdir/configure"; then
2585 # If neither matched, then we have a broken ls. This can happen
2586 # if, for instance, CONFIG_SHELL is bash and it inherits a
2587 # broken ls alias from the environment. This has actually
2588 # happened. Such a system could not be considered "sane".
2589 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2590 alias in your environment" "$LINENO" 5
2592 if test "$2" = conftest.file || test $am_try -eq 2; then
2593 break
2595 # Just in case.
2596 sleep 1
2597 am_has_slept=yes
2598 done
2599 test "$2" = conftest.file
2601 then
2602 # Ok.
2604 else
2605 as_fn_error $? "newly created file is older than distributed files!
2606 Check your system clock" "$LINENO" 5
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2609 $as_echo "yes" >&6; }
2610 # If we didn't sleep, we still need to ensure time stamps of config.status and
2611 # generated files are strictly newer.
2612 am_sleep_pid=
2613 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2614 ( sleep 1 ) &
2615 am_sleep_pid=$!
2618 rm -f conftest.file
2620 test "$program_prefix" != NONE &&
2621 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2622 # Use a double $ so make ignores it.
2623 test "$program_suffix" != NONE &&
2624 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2625 # Double any \ or $.
2626 # By default was `s,x,x', remove it if useless.
2627 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2628 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2630 # expand $ac_aux_dir to an absolute path
2631 am_aux_dir=`cd $ac_aux_dir && pwd`
2633 if test x"${MISSING+set}" != xset; then
2634 case $am_aux_dir in
2635 *\ * | *\ *)
2636 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2638 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2639 esac
2641 # Use eval to expand $SHELL
2642 if eval "$MISSING --is-lightweight"; then
2643 am_missing_run="$MISSING "
2644 else
2645 am_missing_run=
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2647 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2650 if test x"${install_sh}" != xset; then
2651 case $am_aux_dir in
2652 *\ * | *\ *)
2653 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2655 install_sh="\${SHELL} $am_aux_dir/install-sh"
2656 esac
2659 # Installed binaries are usually stripped using 'strip' when the user
2660 # run "make install-strip". However 'strip' might not be the right
2661 # tool to use in cross-compilation environments, therefore Automake
2662 # will honor the 'STRIP' environment variable to overrule this program.
2663 if test "$cross_compiling" != no; then
2664 if test -n "$ac_tool_prefix"; then
2665 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2666 set dummy ${ac_tool_prefix}strip; ac_word=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if ${ac_cv_prog_STRIP+:} false; then :
2670 $as_echo_n "(cached) " >&6
2671 else
2672 if test -n "$STRIP"; then
2673 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2674 else
2675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676 for as_dir in $PATH
2678 IFS=$as_save_IFS
2679 test -z "$as_dir" && as_dir=.
2680 for ac_exec_ext in '' $ac_executable_extensions; do
2681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2682 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2684 break 2
2686 done
2687 done
2688 IFS=$as_save_IFS
2692 STRIP=$ac_cv_prog_STRIP
2693 if test -n "$STRIP"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2695 $as_echo "$STRIP" >&6; }
2696 else
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2703 if test -z "$ac_cv_prog_STRIP"; then
2704 ac_ct_STRIP=$STRIP
2705 # Extract the first word of "strip", so it can be a program name with args.
2706 set dummy strip; ac_word=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2710 $as_echo_n "(cached) " >&6
2711 else
2712 if test -n "$ac_ct_STRIP"; then
2713 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2714 else
2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 for as_dir in $PATH
2718 IFS=$as_save_IFS
2719 test -z "$as_dir" && as_dir=.
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_ac_ct_STRIP="strip"
2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2726 done
2727 done
2728 IFS=$as_save_IFS
2732 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2733 if test -n "$ac_ct_STRIP"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2735 $as_echo "$ac_ct_STRIP" >&6; }
2736 else
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2741 if test "x$ac_ct_STRIP" = x; then
2742 STRIP=":"
2743 else
2744 case $cross_compiling:$ac_tool_warned in
2745 yes:)
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2748 ac_tool_warned=yes ;;
2749 esac
2750 STRIP=$ac_ct_STRIP
2752 else
2753 STRIP="$ac_cv_prog_STRIP"
2757 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2760 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2761 if test -z "$MKDIR_P"; then
2762 if ${ac_cv_path_mkdir+:} false; then :
2763 $as_echo_n "(cached) " >&6
2764 else
2765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2766 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2768 IFS=$as_save_IFS
2769 test -z "$as_dir" && as_dir=.
2770 for ac_prog in mkdir gmkdir; do
2771 for ac_exec_ext in '' $ac_executable_extensions; do
2772 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2773 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2774 'mkdir (GNU coreutils) '* | \
2775 'mkdir (coreutils) '* | \
2776 'mkdir (fileutils) '4.1*)
2777 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2778 break 3;;
2779 esac
2780 done
2781 done
2782 done
2783 IFS=$as_save_IFS
2787 test -d ./--version && rmdir ./--version
2788 if test "${ac_cv_path_mkdir+set}" = set; then
2789 MKDIR_P="$ac_cv_path_mkdir -p"
2790 else
2791 # As a last resort, use the slow shell script. Don't cache a
2792 # value for MKDIR_P within a source directory, because that will
2793 # break other packages using the cache if that directory is
2794 # removed, or if the value is a relative name.
2795 MKDIR_P="$ac_install_sh -d"
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2799 $as_echo "$MKDIR_P" >&6; }
2801 for ac_prog in gawk mawk nawk awk
2803 # Extract the first word of "$ac_prog", so it can be a program name with args.
2804 set dummy $ac_prog; ac_word=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if ${ac_cv_prog_AWK+:} false; then :
2808 $as_echo_n "(cached) " >&6
2809 else
2810 if test -n "$AWK"; then
2811 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2812 else
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 for as_dir in $PATH
2816 IFS=$as_save_IFS
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820 ac_cv_prog_AWK="$ac_prog"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 break 2
2824 done
2825 done
2826 IFS=$as_save_IFS
2830 AWK=$ac_cv_prog_AWK
2831 if test -n "$AWK"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2833 $as_echo "$AWK" >&6; }
2834 else
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2840 test -n "$AWK" && break
2841 done
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2844 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2845 set x ${MAKE-make}
2846 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2847 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2848 $as_echo_n "(cached) " >&6
2849 else
2850 cat >conftest.make <<\_ACEOF
2851 SHELL = /bin/sh
2852 all:
2853 @echo '@@@%%%=$(MAKE)=@@@%%%'
2854 _ACEOF
2855 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2856 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2857 *@@@%%%=?*=@@@%%%*)
2858 eval ac_cv_prog_make_${ac_make}_set=yes;;
2860 eval ac_cv_prog_make_${ac_make}_set=no;;
2861 esac
2862 rm -f conftest.make
2864 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2866 $as_echo "yes" >&6; }
2867 SET_MAKE=
2868 else
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2871 SET_MAKE="MAKE=${MAKE-make}"
2874 rm -rf .tst 2>/dev/null
2875 mkdir .tst 2>/dev/null
2876 if test -d .tst; then
2877 am__leading_dot=.
2878 else
2879 am__leading_dot=_
2881 rmdir .tst 2>/dev/null
2883 # Check whether --enable-silent-rules was given.
2884 if test "${enable_silent_rules+set}" = set; then :
2885 enableval=$enable_silent_rules;
2888 case $enable_silent_rules in # (((
2889 yes) AM_DEFAULT_VERBOSITY=0;;
2890 no) AM_DEFAULT_VERBOSITY=1;;
2891 *) AM_DEFAULT_VERBOSITY=1;;
2892 esac
2893 am_make=${MAKE-make}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2895 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2896 if ${am_cv_make_support_nested_variables+:} false; then :
2897 $as_echo_n "(cached) " >&6
2898 else
2899 if $as_echo 'TRUE=$(BAR$(V))
2900 BAR0=false
2901 BAR1=true
2903 am__doit:
2904 @$(TRUE)
2905 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2906 am_cv_make_support_nested_variables=yes
2907 else
2908 am_cv_make_support_nested_variables=no
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2912 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2913 if test $am_cv_make_support_nested_variables = yes; then
2914 AM_V='$(V)'
2915 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2916 else
2917 AM_V=$AM_DEFAULT_VERBOSITY
2918 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2920 AM_BACKSLASH='\'
2922 DEPDIR="${am__leading_dot}deps"
2924 ac_config_commands="$ac_config_commands depfiles"
2927 am_make=${MAKE-make}
2928 cat > confinc << 'END'
2929 am__doit:
2930 @echo this is the am__doit target
2931 .PHONY: am__doit
2933 # If we don't find an include directive, just comment out the code.
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2935 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2936 am__include="#"
2937 am__quote=
2938 _am_result=none
2939 # First try GNU make style include.
2940 echo "include confinc" > confmf
2941 # Ignore all kinds of additional output from 'make'.
2942 case `$am_make -s -f confmf 2> /dev/null` in #(
2943 *the\ am__doit\ target*)
2944 am__include=include
2945 am__quote=
2946 _am_result=GNU
2948 esac
2949 # Now try BSD make style include.
2950 if test "$am__include" = "#"; then
2951 echo '.include "confinc"' > confmf
2952 case `$am_make -s -f confmf 2> /dev/null` in #(
2953 *the\ am__doit\ target*)
2954 am__include=.include
2955 am__quote="\""
2956 _am_result=BSD
2958 esac
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2963 $as_echo "$_am_result" >&6; }
2964 rm -f confinc confmf
2966 # Check whether --enable-dependency-tracking was given.
2967 if test "${enable_dependency_tracking+set}" = set; then :
2968 enableval=$enable_dependency_tracking;
2971 if test "x$enable_dependency_tracking" != xno; then
2972 am_depcomp="$ac_aux_dir/depcomp"
2973 AMDEPBACKSLASH='\'
2974 am__nodep='_no'
2976 if test "x$enable_dependency_tracking" != xno; then
2977 AMDEP_TRUE=
2978 AMDEP_FALSE='#'
2979 else
2980 AMDEP_TRUE='#'
2981 AMDEP_FALSE=
2985 ac_ext=c
2986 ac_cpp='$CPP $CPPFLAGS'
2987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2990 if test -n "$ac_tool_prefix"; then
2991 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2992 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_CC+:} false; then :
2996 $as_echo_n "(cached) " >&6
2997 else
2998 if test -n "$CC"; then
2999 ac_cv_prog_CC="$CC" # Let the user override the test.
3000 else
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 for as_dir in $PATH
3004 IFS=$as_save_IFS
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 break 2
3012 done
3013 done
3014 IFS=$as_save_IFS
3018 CC=$ac_cv_prog_CC
3019 if test -n "$CC"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3021 $as_echo "$CC" >&6; }
3022 else
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3029 if test -z "$ac_cv_prog_CC"; then
3030 ac_ct_CC=$CC
3031 # Extract the first word of "gcc", so it can be a program name with args.
3032 set dummy gcc; ac_word=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3036 $as_echo_n "(cached) " >&6
3037 else
3038 if test -n "$ac_ct_CC"; then
3039 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3040 else
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 for as_dir in $PATH
3044 IFS=$as_save_IFS
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3048 ac_cv_prog_ac_ct_CC="gcc"
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 break 2
3052 done
3053 done
3054 IFS=$as_save_IFS
3058 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3059 if test -n "$ac_ct_CC"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3061 $as_echo "$ac_ct_CC" >&6; }
3062 else
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3067 if test "x$ac_ct_CC" = x; then
3068 CC=""
3069 else
3070 case $cross_compiling:$ac_tool_warned in
3071 yes:)
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3074 ac_tool_warned=yes ;;
3075 esac
3076 CC=$ac_ct_CC
3078 else
3079 CC="$ac_cv_prog_CC"
3082 if test -z "$CC"; then
3083 if test -n "$ac_tool_prefix"; then
3084 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3085 set dummy ${ac_tool_prefix}cc; ac_word=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_CC+:} false; then :
3089 $as_echo_n "(cached) " >&6
3090 else
3091 if test -n "$CC"; then
3092 ac_cv_prog_CC="$CC" # Let the user override the test.
3093 else
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 for as_dir in $PATH
3097 IFS=$as_save_IFS
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3101 ac_cv_prog_CC="${ac_tool_prefix}cc"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3103 break 2
3105 done
3106 done
3107 IFS=$as_save_IFS
3111 CC=$ac_cv_prog_CC
3112 if test -n "$CC"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3114 $as_echo "$CC" >&6; }
3115 else
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3123 if test -z "$CC"; then
3124 # Extract the first word of "cc", so it can be a program name with args.
3125 set dummy cc; ac_word=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if ${ac_cv_prog_CC+:} false; then :
3129 $as_echo_n "(cached) " >&6
3130 else
3131 if test -n "$CC"; then
3132 ac_cv_prog_CC="$CC" # Let the user override the test.
3133 else
3134 ac_prog_rejected=no
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136 for as_dir in $PATH
3138 IFS=$as_save_IFS
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3143 ac_prog_rejected=yes
3144 continue
3146 ac_cv_prog_CC="cc"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 break 2
3150 done
3151 done
3152 IFS=$as_save_IFS
3154 if test $ac_prog_rejected = yes; then
3155 # We found a bogon in the path, so make sure we never use it.
3156 set dummy $ac_cv_prog_CC
3157 shift
3158 if test $# != 0; then
3159 # We chose a different compiler from the bogus one.
3160 # However, it has the same basename, so the bogon will be chosen
3161 # first if we set CC to just the basename; use the full file name.
3162 shift
3163 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3168 CC=$ac_cv_prog_CC
3169 if test -n "$CC"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3171 $as_echo "$CC" >&6; }
3172 else
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3179 if test -z "$CC"; then
3180 if test -n "$ac_tool_prefix"; then
3181 for ac_prog in cl.exe
3183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3184 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186 $as_echo_n "checking for $ac_word... " >&6; }
3187 if ${ac_cv_prog_CC+:} false; then :
3188 $as_echo_n "(cached) " >&6
3189 else
3190 if test -n "$CC"; then
3191 ac_cv_prog_CC="$CC" # Let the user override the test.
3192 else
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194 for as_dir in $PATH
3196 IFS=$as_save_IFS
3197 test -z "$as_dir" && as_dir=.
3198 for ac_exec_ext in '' $ac_executable_extensions; do
3199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3200 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 break 2
3204 done
3205 done
3206 IFS=$as_save_IFS
3210 CC=$ac_cv_prog_CC
3211 if test -n "$CC"; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3213 $as_echo "$CC" >&6; }
3214 else
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
3220 test -n "$CC" && break
3221 done
3223 if test -z "$CC"; then
3224 ac_ct_CC=$CC
3225 for ac_prog in cl.exe
3227 # Extract the first word of "$ac_prog", so it can be a program name with args.
3228 set dummy $ac_prog; ac_word=$2
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230 $as_echo_n "checking for $ac_word... " >&6; }
3231 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3232 $as_echo_n "(cached) " >&6
3233 else
3234 if test -n "$ac_ct_CC"; then
3235 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3236 else
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238 for as_dir in $PATH
3240 IFS=$as_save_IFS
3241 test -z "$as_dir" && as_dir=.
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244 ac_cv_prog_ac_ct_CC="$ac_prog"
3245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3246 break 2
3248 done
3249 done
3250 IFS=$as_save_IFS
3254 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3255 if test -n "$ac_ct_CC"; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3257 $as_echo "$ac_ct_CC" >&6; }
3258 else
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260 $as_echo "no" >&6; }
3264 test -n "$ac_ct_CC" && break
3265 done
3267 if test "x$ac_ct_CC" = x; then
3268 CC=""
3269 else
3270 case $cross_compiling:$ac_tool_warned in
3271 yes:)
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3274 ac_tool_warned=yes ;;
3275 esac
3276 CC=$ac_ct_CC
3283 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285 as_fn_error $? "no acceptable C compiler found in \$PATH
3286 See \`config.log' for more details" "$LINENO" 5; }
3288 # Provide some information about the compiler.
3289 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3290 set X $ac_compile
3291 ac_compiler=$2
3292 for ac_option in --version -v -V -qversion; do
3293 { { ac_try="$ac_compiler $ac_option >&5"
3294 case "(($ac_try" in
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3297 esac
3298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3299 $as_echo "$ac_try_echo"; } >&5
3300 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3301 ac_status=$?
3302 if test -s conftest.err; then
3303 sed '10a\
3304 ... rest of stderr output deleted ...
3305 10q' conftest.err >conftest.er1
3306 cat conftest.er1 >&5
3308 rm -f conftest.er1 conftest.err
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310 test $ac_status = 0; }
3311 done
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3317 main ()
3321 return 0;
3323 _ACEOF
3324 ac_clean_files_save=$ac_clean_files
3325 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3326 # Try to create an executable without -o first, disregard a.out.
3327 # It will help us diagnose broken compilers, and finding out an intuition
3328 # of exeext.
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3330 $as_echo_n "checking whether the C compiler works... " >&6; }
3331 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3333 # The possible output files:
3334 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3336 ac_rmfiles=
3337 for ac_file in $ac_files
3339 case $ac_file in
3340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3341 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3342 esac
3343 done
3344 rm -f $ac_rmfiles
3346 if { { ac_try="$ac_link_default"
3347 case "(($ac_try" in
3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3350 esac
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_link_default") 2>&5
3354 ac_status=$?
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; then :
3357 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3358 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3359 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3360 # so that the user can short-circuit this test for compilers unknown to
3361 # Autoconf.
3362 for ac_file in $ac_files ''
3364 test -f "$ac_file" || continue
3365 case $ac_file in
3366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3368 [ab].out )
3369 # We found the default executable, but exeext='' is most
3370 # certainly right.
3371 break;;
3372 *.* )
3373 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3374 then :; else
3375 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3377 # We set ac_cv_exeext here because the later test for it is not
3378 # safe: cross compilers may not add the suffix if given an `-o'
3379 # argument, so we may need to know it at that point already.
3380 # Even if this section looks crufty: it has the advantage of
3381 # actually working.
3382 break;;
3384 break;;
3385 esac
3386 done
3387 test "$ac_cv_exeext" = no && ac_cv_exeext=
3389 else
3390 ac_file=''
3392 if test -z "$ac_file"; then :
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3395 $as_echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.$ac_ext >&5
3398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400 as_fn_error 77 "C compiler cannot create executables
3401 See \`config.log' for more details" "$LINENO" 5; }
3402 else
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3404 $as_echo "yes" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3407 $as_echo_n "checking for C compiler default output file name... " >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3409 $as_echo "$ac_file" >&6; }
3410 ac_exeext=$ac_cv_exeext
3412 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3413 ac_clean_files=$ac_clean_files_save
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3415 $as_echo_n "checking for suffix of executables... " >&6; }
3416 if { { ac_try="$ac_link"
3417 case "(($ac_try" in
3418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419 *) ac_try_echo=$ac_try;;
3420 esac
3421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3422 $as_echo "$ac_try_echo"; } >&5
3423 (eval "$ac_link") 2>&5
3424 ac_status=$?
3425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3426 test $ac_status = 0; }; then :
3427 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3428 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3429 # work properly (i.e., refer to `conftest.exe'), while it won't with
3430 # `rm'.
3431 for ac_file in conftest.exe conftest conftest.*; do
3432 test -f "$ac_file" || continue
3433 case $ac_file in
3434 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3435 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3436 break;;
3437 * ) break;;
3438 esac
3439 done
3440 else
3441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3443 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3444 See \`config.log' for more details" "$LINENO" 5; }
3446 rm -f conftest conftest$ac_cv_exeext
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3448 $as_echo "$ac_cv_exeext" >&6; }
3450 rm -f conftest.$ac_ext
3451 EXEEXT=$ac_cv_exeext
3452 ac_exeext=$EXEEXT
3453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h. */
3455 #include <stdio.h>
3457 main ()
3459 FILE *f = fopen ("conftest.out", "w");
3460 return ferror (f) || fclose (f) != 0;
3463 return 0;
3465 _ACEOF
3466 ac_clean_files="$ac_clean_files conftest.out"
3467 # Check that the compiler produces executables we can run. If not, either
3468 # the compiler is broken, or we cross compile.
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3470 $as_echo_n "checking whether we are cross compiling... " >&6; }
3471 if test "$cross_compiling" != yes; then
3472 { { ac_try="$ac_link"
3473 case "(($ac_try" in
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3476 esac
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479 (eval "$ac_link") 2>&5
3480 ac_status=$?
3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482 test $ac_status = 0; }
3483 if { ac_try='./conftest$ac_cv_exeext'
3484 { { case "(($ac_try" in
3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3487 esac
3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_try") 2>&5
3491 ac_status=$?
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }; }; then
3494 cross_compiling=no
3495 else
3496 if test "$cross_compiling" = maybe; then
3497 cross_compiling=yes
3498 else
3499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501 as_fn_error $? "cannot run C compiled programs.
3502 If you meant to cross compile, use \`--host'.
3503 See \`config.log' for more details" "$LINENO" 5; }
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3508 $as_echo "$cross_compiling" >&6; }
3510 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3511 ac_clean_files=$ac_clean_files_save
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3513 $as_echo_n "checking for suffix of object files... " >&6; }
3514 if ${ac_cv_objext+:} false; then :
3515 $as_echo_n "(cached) " >&6
3516 else
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3521 main ()
3525 return 0;
3527 _ACEOF
3528 rm -f conftest.o conftest.obj
3529 if { { ac_try="$ac_compile"
3530 case "(($ac_try" in
3531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532 *) ac_try_echo=$ac_try;;
3533 esac
3534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3535 $as_echo "$ac_try_echo"; } >&5
3536 (eval "$ac_compile") 2>&5
3537 ac_status=$?
3538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3539 test $ac_status = 0; }; then :
3540 for ac_file in conftest.o conftest.obj conftest.*; do
3541 test -f "$ac_file" || continue;
3542 case $ac_file in
3543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3544 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3545 break;;
3546 esac
3547 done
3548 else
3549 $as_echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.$ac_ext >&5
3552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3554 as_fn_error $? "cannot compute suffix of object files: cannot compile
3555 See \`config.log' for more details" "$LINENO" 5; }
3557 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3560 $as_echo "$ac_cv_objext" >&6; }
3561 OBJEXT=$ac_cv_objext
3562 ac_objext=$OBJEXT
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3564 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3565 if ${ac_cv_c_compiler_gnu+:} false; then :
3566 $as_echo_n "(cached) " >&6
3567 else
3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3572 main ()
3574 #ifndef __GNUC__
3575 choke me
3576 #endif
3579 return 0;
3581 _ACEOF
3582 if ac_fn_c_try_compile "$LINENO"; then :
3583 ac_compiler_gnu=yes
3584 else
3585 ac_compiler_gnu=no
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3592 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3593 if test $ac_compiler_gnu = yes; then
3594 GCC=yes
3595 else
3596 GCC=
3598 ac_test_CFLAGS=${CFLAGS+set}
3599 ac_save_CFLAGS=$CFLAGS
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3601 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3602 if ${ac_cv_prog_cc_g+:} false; then :
3603 $as_echo_n "(cached) " >&6
3604 else
3605 ac_save_c_werror_flag=$ac_c_werror_flag
3606 ac_c_werror_flag=yes
3607 ac_cv_prog_cc_g=no
3608 CFLAGS="-g"
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3613 main ()
3617 return 0;
3619 _ACEOF
3620 if ac_fn_c_try_compile "$LINENO"; then :
3621 ac_cv_prog_cc_g=yes
3622 else
3623 CFLAGS=""
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3628 main ()
3632 return 0;
3634 _ACEOF
3635 if ac_fn_c_try_compile "$LINENO"; then :
3637 else
3638 ac_c_werror_flag=$ac_save_c_werror_flag
3639 CFLAGS="-g"
3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3644 main ()
3648 return 0;
3650 _ACEOF
3651 if ac_fn_c_try_compile "$LINENO"; then :
3652 ac_cv_prog_cc_g=yes
3654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3659 ac_c_werror_flag=$ac_save_c_werror_flag
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3662 $as_echo "$ac_cv_prog_cc_g" >&6; }
3663 if test "$ac_test_CFLAGS" = set; then
3664 CFLAGS=$ac_save_CFLAGS
3665 elif test $ac_cv_prog_cc_g = yes; then
3666 if test "$GCC" = yes; then
3667 CFLAGS="-g -O2"
3668 else
3669 CFLAGS="-g"
3671 else
3672 if test "$GCC" = yes; then
3673 CFLAGS="-O2"
3674 else
3675 CFLAGS=
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3679 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3680 if ${ac_cv_prog_cc_c89+:} false; then :
3681 $as_echo_n "(cached) " >&6
3682 else
3683 ac_cv_prog_cc_c89=no
3684 ac_save_CC=$CC
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3687 #include <stdarg.h>
3688 #include <stdio.h>
3689 struct stat;
3690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3691 struct buf { int x; };
3692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3693 static char *e (p, i)
3694 char **p;
3695 int i;
3697 return p[i];
3699 static char *f (char * (*g) (char **, int), char **p, ...)
3701 char *s;
3702 va_list v;
3703 va_start (v,p);
3704 s = g (p, va_arg (v,int));
3705 va_end (v);
3706 return s;
3709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3710 function prototypes and stuff, but not '\xHH' hex character constants.
3711 These don't provoke an error unfortunately, instead are silently treated
3712 as 'x'. The following induces an error, until -std is added to get
3713 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3714 array size at least. It's necessary to write '\x00'==0 to get something
3715 that's true only with -std. */
3716 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3719 inside strings and character constants. */
3720 #define FOO(x) 'x'
3721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3723 int test (int i, double x);
3724 struct s1 {int (*f) (int a);};
3725 struct s2 {int (*f) (double a);};
3726 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3727 int argc;
3728 char **argv;
3730 main ()
3732 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3734 return 0;
3736 _ACEOF
3737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3738 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3740 CC="$ac_save_CC $ac_arg"
3741 if ac_fn_c_try_compile "$LINENO"; then :
3742 ac_cv_prog_cc_c89=$ac_arg
3744 rm -f core conftest.err conftest.$ac_objext
3745 test "x$ac_cv_prog_cc_c89" != "xno" && break
3746 done
3747 rm -f conftest.$ac_ext
3748 CC=$ac_save_CC
3751 # AC_CACHE_VAL
3752 case "x$ac_cv_prog_cc_c89" in
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3755 $as_echo "none needed" >&6; } ;;
3756 xno)
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3758 $as_echo "unsupported" >&6; } ;;
3760 CC="$CC $ac_cv_prog_cc_c89"
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3762 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3763 esac
3764 if test "x$ac_cv_prog_cc_c89" != xno; then :
3768 ac_ext=c
3769 ac_cpp='$CPP $CPPFLAGS'
3770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3774 ac_ext=c
3775 ac_cpp='$CPP $CPPFLAGS'
3776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3780 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3781 if ${am_cv_prog_cc_c_o+:} false; then :
3782 $as_echo_n "(cached) " >&6
3783 else
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3788 main ()
3792 return 0;
3794 _ACEOF
3795 # Make sure it works both with $CC and with simple cc.
3796 # Following AC_PROG_CC_C_O, we do the test twice because some
3797 # compilers refuse to overwrite an existing .o file with -o,
3798 # though they will create one.
3799 am_cv_prog_cc_c_o=yes
3800 for am_i in 1 2; do
3801 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3802 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3803 ac_status=$?
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } \
3806 && test -f conftest2.$ac_objext; then
3807 : OK
3808 else
3809 am_cv_prog_cc_c_o=no
3810 break
3812 done
3813 rm -f core conftest*
3814 unset am_i
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3817 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3818 if test "$am_cv_prog_cc_c_o" != yes; then
3819 # Losing compiler, so override with the script.
3820 # FIXME: It is wrong to rewrite CC.
3821 # But if we don't then we get into trouble of one sort or another.
3822 # A longer-term fix would be to have automake use am__CC in this case,
3823 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3824 CC="$am_aux_dir/compile $CC"
3826 ac_ext=c
3827 ac_cpp='$CPP $CPPFLAGS'
3828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3833 depcc="$CC" am_compiler_list=
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3836 $as_echo_n "checking dependency style of $depcc... " >&6; }
3837 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3838 $as_echo_n "(cached) " >&6
3839 else
3840 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3841 # We make a subdir and do the tests there. Otherwise we can end up
3842 # making bogus files that we don't know about and never remove. For
3843 # instance it was reported that on HP-UX the gcc test will end up
3844 # making a dummy file named 'D' -- because '-MD' means "put the output
3845 # in D".
3846 rm -rf conftest.dir
3847 mkdir conftest.dir
3848 # Copy depcomp to subdir because otherwise we won't find it if we're
3849 # using a relative directory.
3850 cp "$am_depcomp" conftest.dir
3851 cd conftest.dir
3852 # We will build objects and dependencies in a subdirectory because
3853 # it helps to detect inapplicable dependency modes. For instance
3854 # both Tru64's cc and ICC support -MD to output dependencies as a
3855 # side effect of compilation, but ICC will put the dependencies in
3856 # the current directory while Tru64 will put them in the object
3857 # directory.
3858 mkdir sub
3860 am_cv_CC_dependencies_compiler_type=none
3861 if test "$am_compiler_list" = ""; then
3862 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3864 am__universal=false
3865 case " $depcc " in #(
3866 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3867 esac
3869 for depmode in $am_compiler_list; do
3870 # Setup a source with many dependencies, because some compilers
3871 # like to wrap large dependency lists on column 80 (with \), and
3872 # we should not choose a depcomp mode which is confused by this.
3874 # We need to recreate these files for each test, as the compiler may
3875 # overwrite some of them when testing with obscure command lines.
3876 # This happens at least with the AIX C compiler.
3877 : > sub/conftest.c
3878 for i in 1 2 3 4 5 6; do
3879 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3880 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3881 # Solaris 10 /bin/sh.
3882 echo '/* dummy */' > sub/conftst$i.h
3883 done
3884 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3886 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3887 # mode. It turns out that the SunPro C++ compiler does not properly
3888 # handle '-M -o', and we need to detect this. Also, some Intel
3889 # versions had trouble with output in subdirs.
3890 am__obj=sub/conftest.${OBJEXT-o}
3891 am__minus_obj="-o $am__obj"
3892 case $depmode in
3893 gcc)
3894 # This depmode causes a compiler race in universal mode.
3895 test "$am__universal" = false || continue
3897 nosideeffect)
3898 # After this tag, mechanisms are not by side-effect, so they'll
3899 # only be used when explicitly requested.
3900 if test "x$enable_dependency_tracking" = xyes; then
3901 continue
3902 else
3903 break
3906 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3907 # This compiler won't grok '-c -o', but also, the minuso test has
3908 # not run yet. These depmodes are late enough in the game, and
3909 # so weak that their functioning should not be impacted.
3910 am__obj=conftest.${OBJEXT-o}
3911 am__minus_obj=
3913 none) break ;;
3914 esac
3915 if depmode=$depmode \
3916 source=sub/conftest.c object=$am__obj \
3917 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3918 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3919 >/dev/null 2>conftest.err &&
3920 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3921 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3922 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3923 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3924 # icc doesn't choke on unknown options, it will just issue warnings
3925 # or remarks (even with -Werror). So we grep stderr for any message
3926 # that says an option was ignored or not supported.
3927 # When given -MP, icc 7.0 and 7.1 complain thusly:
3928 # icc: Command line warning: ignoring option '-M'; no argument required
3929 # The diagnosis changed in icc 8.0:
3930 # icc: Command line remark: option '-MP' not supported
3931 if (grep 'ignoring option' conftest.err ||
3932 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3933 am_cv_CC_dependencies_compiler_type=$depmode
3934 break
3937 done
3939 cd ..
3940 rm -rf conftest.dir
3941 else
3942 am_cv_CC_dependencies_compiler_type=none
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3947 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3948 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3951 test "x$enable_dependency_tracking" != xno \
3952 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3953 am__fastdepCC_TRUE=
3954 am__fastdepCC_FALSE='#'
3955 else
3956 am__fastdepCC_TRUE='#'
3957 am__fastdepCC_FALSE=
3962 # Check whether --enable-compiler-warnings was given.
3963 if test "${enable_compiler_warnings+set}" = set; then :
3964 enableval=$enable_compiler_warnings;
3966 case $enable_compiler_warnings in #(
3967 no | min | yes | max | all) :
3968 ;; #(
3969 *) :
3970 if test "x$enable_maintainer_mode" = xyes; then :
3971 enable_compiler_warnings=yes
3972 else
3973 enable_compiler_warnings=min
3974 fi ;;
3975 esac
3978 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3979 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3980 # is not polluted with repeated "-I."
3981 am__isrc=' -I$(srcdir)'
3982 # test to see if srcdir already configured
3983 if test -f $srcdir/config.status; then
3984 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3988 # test whether we have cygpath
3989 if test -z "$CYGPATH_W"; then
3990 if (cygpath --version) >/dev/null 2>/dev/null; then
3991 CYGPATH_W='cygpath -w'
3992 else
3993 CYGPATH_W=echo
3998 # Define the identity of the package.
3999 PACKAGE='poppler--tex-live-'
4000 VERSION='0.28.0'
4003 # Some tools Automake needs.
4005 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4008 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4011 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4014 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4017 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4019 # For better backward compatibility. To be removed once Automake 1.9.x
4020 # dies out for good. For more background, see:
4021 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4022 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4023 mkdir_p='$(MKDIR_P)'
4025 # We need awk for the "check" target. The system "awk" is bad on
4026 # some platforms.
4027 # Always define AMTAR for backward compatibility. Yes, it's still used
4028 # in the wild :-( We should find a proper way to deprecate it ...
4029 AMTAR='$${TAR-tar}'
4032 # We'll loop over all known methods to create a tar archive until one works.
4033 _am_tools='gnutar pax cpio none'
4035 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4042 # POSIX will say in a future version that running "rm -f" with no argument
4043 # is OK; and we want to be able to make that assumption in our Makefile
4044 # recipes. So use an aggressive probe to check that the usage we want is
4045 # actually supported "in the wild" to an acceptable degree.
4046 # See automake bug#10828.
4047 # To make any issue more visible, cause the running configure to be aborted
4048 # by default if the 'rm' program in use doesn't match our expectations; the
4049 # user can still override this though.
4050 if rm -f && rm -fr && rm -rf; then : OK; else
4051 cat >&2 <<'END'
4052 Oops!
4054 Your 'rm' program seems unable to run without file operands specified
4055 on the command line, even when the '-f' option is present. This is contrary
4056 to the behaviour of most rm programs out there, and not conforming with
4057 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4059 Please tell bug-automake@gnu.org about your system, including the value
4060 of your $PATH and any error possibly output before this message. This
4061 can help us improve future automake versions.
4064 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4065 echo 'Configuration will proceed anyway, since you have set the' >&2
4066 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4067 echo >&2
4068 else
4069 cat >&2 <<'END'
4070 Aborting the configuration process, to ensure you take notice of the issue.
4072 You can download and install GNU coreutils to get an 'rm' implementation
4073 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4075 If you want to complete the configuration process using your problematic
4076 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4077 to "yes", and re-run configure.
4080 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4085 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4086 # Check whether --enable-maintainer-mode was given.
4087 if test "${enable_maintainer_mode+set}" = set; then :
4088 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4089 else
4090 USE_MAINTAINER_MODE=no
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4094 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4095 if test $USE_MAINTAINER_MODE = yes; then
4096 MAINTAINER_MODE_TRUE=
4097 MAINTAINER_MODE_FALSE='#'
4098 else
4099 MAINTAINER_MODE_TRUE='#'
4100 MAINTAINER_MODE_FALSE=
4103 MAINT=$MAINTAINER_MODE_TRUE
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4107 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4108 if ${kb_cv_c_prototypes+:} false; then :
4109 $as_echo_n "(cached) " >&6
4110 else
4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4112 /* end confdefs.h. */
4113 #include <stdarg.h>
4115 main ()
4117 extern void foo(int i,...);
4119 return 0;
4121 _ACEOF
4122 if ac_fn_c_try_link "$LINENO"; then :
4123 kb_cv_c_prototypes=yes
4124 else
4125 kb_cv_c_prototypes=no
4127 rm -f core conftest.err conftest.$ac_objext \
4128 conftest$ac_exeext conftest.$ac_ext
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4131 $as_echo "$kb_cv_c_prototypes" >&6; }
4132 if test "x$kb_cv_c_prototypes" = xno; then
4133 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4136 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4137 if ${kpse_cv_warning_cflags+:} false; then :
4138 $as_echo_n "(cached) " >&6
4139 else
4140 if test "x$GCC" = xyes; then
4141 kpse_cv_warning_cflags=
4142 if test "x$enable_compiler_warnings" != xno; then
4143 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4144 case `$CC -dumpversion` in #(
4145 3.4.* | 4.*) :
4146 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4147 *) :
4149 esac
4150 case `$CC -dumpversion` in #(
4151 3.[234].* | 4.*) :
4152 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4153 *) :
4155 esac
4156 if test "x$enable_compiler_warnings" != xmin; then
4157 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4158 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4159 if test "x$enable_compiler_warnings" != xyes; then
4160 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4161 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4162 case `$CC -dumpversion` in #(
4163 3.4.* | 4.*) :
4164 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4165 *) :
4167 esac
4168 if test "x$enable_compiler_warnings" != xmax; then
4169 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4174 elif test "x$enable_compiler_warnings" = xno; then
4175 kpse_cv_warning_cflags=
4176 else
4177 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4181 $as_echo "$kpse_cv_warning_cflags" >&6; }
4182 WARNING_CFLAGS=$kpse_cv_warning_cflags
4191 ac_ext=c
4192 ac_cpp='$CPP $CPPFLAGS'
4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4196 if test -n "$ac_tool_prefix"; then
4197 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4198 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 $as_echo_n "checking for $ac_word... " >&6; }
4201 if ${ac_cv_prog_CC+:} false; then :
4202 $as_echo_n "(cached) " >&6
4203 else
4204 if test -n "$CC"; then
4205 ac_cv_prog_CC="$CC" # Let the user override the test.
4206 else
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 for as_dir in $PATH
4210 IFS=$as_save_IFS
4211 test -z "$as_dir" && as_dir=.
4212 for ac_exec_ext in '' $ac_executable_extensions; do
4213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4214 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 break 2
4218 done
4219 done
4220 IFS=$as_save_IFS
4224 CC=$ac_cv_prog_CC
4225 if test -n "$CC"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4227 $as_echo "$CC" >&6; }
4228 else
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4235 if test -z "$ac_cv_prog_CC"; then
4236 ac_ct_CC=$CC
4237 # Extract the first word of "gcc", so it can be a program name with args.
4238 set dummy gcc; ac_word=$2
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240 $as_echo_n "checking for $ac_word... " >&6; }
4241 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4242 $as_echo_n "(cached) " >&6
4243 else
4244 if test -n "$ac_ct_CC"; then
4245 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4246 else
4247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4248 for as_dir in $PATH
4250 IFS=$as_save_IFS
4251 test -z "$as_dir" && as_dir=.
4252 for ac_exec_ext in '' $ac_executable_extensions; do
4253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4254 ac_cv_prog_ac_ct_CC="gcc"
4255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4256 break 2
4258 done
4259 done
4260 IFS=$as_save_IFS
4264 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4265 if test -n "$ac_ct_CC"; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4267 $as_echo "$ac_ct_CC" >&6; }
4268 else
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4273 if test "x$ac_ct_CC" = x; then
4274 CC=""
4275 else
4276 case $cross_compiling:$ac_tool_warned in
4277 yes:)
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4280 ac_tool_warned=yes ;;
4281 esac
4282 CC=$ac_ct_CC
4284 else
4285 CC="$ac_cv_prog_CC"
4288 if test -z "$CC"; then
4289 if test -n "$ac_tool_prefix"; then
4290 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4291 set dummy ${ac_tool_prefix}cc; ac_word=$2
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4293 $as_echo_n "checking for $ac_word... " >&6; }
4294 if ${ac_cv_prog_CC+:} false; then :
4295 $as_echo_n "(cached) " >&6
4296 else
4297 if test -n "$CC"; then
4298 ac_cv_prog_CC="$CC" # Let the user override the test.
4299 else
4300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4301 for as_dir in $PATH
4303 IFS=$as_save_IFS
4304 test -z "$as_dir" && as_dir=.
4305 for ac_exec_ext in '' $ac_executable_extensions; do
4306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4307 ac_cv_prog_CC="${ac_tool_prefix}cc"
4308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 break 2
4311 done
4312 done
4313 IFS=$as_save_IFS
4317 CC=$ac_cv_prog_CC
4318 if test -n "$CC"; then
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4320 $as_echo "$CC" >&6; }
4321 else
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4323 $as_echo "no" >&6; }
4329 if test -z "$CC"; then
4330 # Extract the first word of "cc", so it can be a program name with args.
4331 set dummy cc; ac_word=$2
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 $as_echo_n "checking for $ac_word... " >&6; }
4334 if ${ac_cv_prog_CC+:} false; then :
4335 $as_echo_n "(cached) " >&6
4336 else
4337 if test -n "$CC"; then
4338 ac_cv_prog_CC="$CC" # Let the user override the test.
4339 else
4340 ac_prog_rejected=no
4341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 for as_dir in $PATH
4344 IFS=$as_save_IFS
4345 test -z "$as_dir" && as_dir=.
4346 for ac_exec_ext in '' $ac_executable_extensions; do
4347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4348 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4349 ac_prog_rejected=yes
4350 continue
4352 ac_cv_prog_CC="cc"
4353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 break 2
4356 done
4357 done
4358 IFS=$as_save_IFS
4360 if test $ac_prog_rejected = yes; then
4361 # We found a bogon in the path, so make sure we never use it.
4362 set dummy $ac_cv_prog_CC
4363 shift
4364 if test $# != 0; then
4365 # We chose a different compiler from the bogus one.
4366 # However, it has the same basename, so the bogon will be chosen
4367 # first if we set CC to just the basename; use the full file name.
4368 shift
4369 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4374 CC=$ac_cv_prog_CC
4375 if test -n "$CC"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4377 $as_echo "$CC" >&6; }
4378 else
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380 $as_echo "no" >&6; }
4385 if test -z "$CC"; then
4386 if test -n "$ac_tool_prefix"; then
4387 for ac_prog in cl.exe
4389 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4390 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if ${ac_cv_prog_CC+:} false; then :
4394 $as_echo_n "(cached) " >&6
4395 else
4396 if test -n "$CC"; then
4397 ac_cv_prog_CC="$CC" # Let the user override the test.
4398 else
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 for as_dir in $PATH
4402 IFS=$as_save_IFS
4403 test -z "$as_dir" && as_dir=.
4404 for ac_exec_ext in '' $ac_executable_extensions; do
4405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 break 2
4410 done
4411 done
4412 IFS=$as_save_IFS
4416 CC=$ac_cv_prog_CC
4417 if test -n "$CC"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4419 $as_echo "$CC" >&6; }
4420 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4426 test -n "$CC" && break
4427 done
4429 if test -z "$CC"; then
4430 ac_ct_CC=$CC
4431 for ac_prog in cl.exe
4433 # Extract the first word of "$ac_prog", so it can be a program name with args.
4434 set dummy $ac_prog; ac_word=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4438 $as_echo_n "(cached) " >&6
4439 else
4440 if test -n "$ac_ct_CC"; then
4441 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4442 else
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH
4446 IFS=$as_save_IFS
4447 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4450 ac_cv_prog_ac_ct_CC="$ac_prog"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 break 2
4454 done
4455 done
4456 IFS=$as_save_IFS
4460 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4461 if test -n "$ac_ct_CC"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4463 $as_echo "$ac_ct_CC" >&6; }
4464 else
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4470 test -n "$ac_ct_CC" && break
4471 done
4473 if test "x$ac_ct_CC" = x; then
4474 CC=""
4475 else
4476 case $cross_compiling:$ac_tool_warned in
4477 yes:)
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4480 ac_tool_warned=yes ;;
4481 esac
4482 CC=$ac_ct_CC
4489 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4491 as_fn_error $? "no acceptable C compiler found in \$PATH
4492 See \`config.log' for more details" "$LINENO" 5; }
4494 # Provide some information about the compiler.
4495 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4496 set X $ac_compile
4497 ac_compiler=$2
4498 for ac_option in --version -v -V -qversion; do
4499 { { ac_try="$ac_compiler $ac_option >&5"
4500 case "(($ac_try" in
4501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4502 *) ac_try_echo=$ac_try;;
4503 esac
4504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4505 $as_echo "$ac_try_echo"; } >&5
4506 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4507 ac_status=$?
4508 if test -s conftest.err; then
4509 sed '10a\
4510 ... rest of stderr output deleted ...
4511 10q' conftest.err >conftest.er1
4512 cat conftest.er1 >&5
4514 rm -f conftest.er1 conftest.err
4515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4516 test $ac_status = 0; }
4517 done
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4520 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4521 if ${ac_cv_c_compiler_gnu+:} false; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4528 main ()
4530 #ifndef __GNUC__
4531 choke me
4532 #endif
4535 return 0;
4537 _ACEOF
4538 if ac_fn_c_try_compile "$LINENO"; then :
4539 ac_compiler_gnu=yes
4540 else
4541 ac_compiler_gnu=no
4543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4544 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4548 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4549 if test $ac_compiler_gnu = yes; then
4550 GCC=yes
4551 else
4552 GCC=
4554 ac_test_CFLAGS=${CFLAGS+set}
4555 ac_save_CFLAGS=$CFLAGS
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4557 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4558 if ${ac_cv_prog_cc_g+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 ac_save_c_werror_flag=$ac_c_werror_flag
4562 ac_c_werror_flag=yes
4563 ac_cv_prog_cc_g=no
4564 CFLAGS="-g"
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4569 main ()
4573 return 0;
4575 _ACEOF
4576 if ac_fn_c_try_compile "$LINENO"; then :
4577 ac_cv_prog_cc_g=yes
4578 else
4579 CFLAGS=""
4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4584 main ()
4588 return 0;
4590 _ACEOF
4591 if ac_fn_c_try_compile "$LINENO"; then :
4593 else
4594 ac_c_werror_flag=$ac_save_c_werror_flag
4595 CFLAGS="-g"
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4600 main ()
4604 return 0;
4606 _ACEOF
4607 if ac_fn_c_try_compile "$LINENO"; then :
4608 ac_cv_prog_cc_g=yes
4610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 ac_c_werror_flag=$ac_save_c_werror_flag
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4618 $as_echo "$ac_cv_prog_cc_g" >&6; }
4619 if test "$ac_test_CFLAGS" = set; then
4620 CFLAGS=$ac_save_CFLAGS
4621 elif test $ac_cv_prog_cc_g = yes; then
4622 if test "$GCC" = yes; then
4623 CFLAGS="-g -O2"
4624 else
4625 CFLAGS="-g"
4627 else
4628 if test "$GCC" = yes; then
4629 CFLAGS="-O2"
4630 else
4631 CFLAGS=
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4635 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4636 if ${ac_cv_prog_cc_c89+:} false; then :
4637 $as_echo_n "(cached) " >&6
4638 else
4639 ac_cv_prog_cc_c89=no
4640 ac_save_CC=$CC
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4643 #include <stdarg.h>
4644 #include <stdio.h>
4645 struct stat;
4646 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4647 struct buf { int x; };
4648 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4649 static char *e (p, i)
4650 char **p;
4651 int i;
4653 return p[i];
4655 static char *f (char * (*g) (char **, int), char **p, ...)
4657 char *s;
4658 va_list v;
4659 va_start (v,p);
4660 s = g (p, va_arg (v,int));
4661 va_end (v);
4662 return s;
4665 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4666 function prototypes and stuff, but not '\xHH' hex character constants.
4667 These don't provoke an error unfortunately, instead are silently treated
4668 as 'x'. The following induces an error, until -std is added to get
4669 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4670 array size at least. It's necessary to write '\x00'==0 to get something
4671 that's true only with -std. */
4672 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4674 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4675 inside strings and character constants. */
4676 #define FOO(x) 'x'
4677 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4679 int test (int i, double x);
4680 struct s1 {int (*f) (int a);};
4681 struct s2 {int (*f) (double a);};
4682 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4683 int argc;
4684 char **argv;
4686 main ()
4688 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4690 return 0;
4692 _ACEOF
4693 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4694 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4696 CC="$ac_save_CC $ac_arg"
4697 if ac_fn_c_try_compile "$LINENO"; then :
4698 ac_cv_prog_cc_c89=$ac_arg
4700 rm -f core conftest.err conftest.$ac_objext
4701 test "x$ac_cv_prog_cc_c89" != "xno" && break
4702 done
4703 rm -f conftest.$ac_ext
4704 CC=$ac_save_CC
4707 # AC_CACHE_VAL
4708 case "x$ac_cv_prog_cc_c89" in
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4711 $as_echo "none needed" >&6; } ;;
4712 xno)
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4714 $as_echo "unsupported" >&6; } ;;
4716 CC="$CC $ac_cv_prog_cc_c89"
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4718 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4719 esac
4720 if test "x$ac_cv_prog_cc_c89" != xno; then :
4724 ac_ext=c
4725 ac_cpp='$CPP $CPPFLAGS'
4726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4730 ac_ext=c
4731 ac_cpp='$CPP $CPPFLAGS'
4732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4736 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4737 if ${am_cv_prog_cc_c_o+:} false; then :
4738 $as_echo_n "(cached) " >&6
4739 else
4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4744 main ()
4748 return 0;
4750 _ACEOF
4751 # Make sure it works both with $CC and with simple cc.
4752 # Following AC_PROG_CC_C_O, we do the test twice because some
4753 # compilers refuse to overwrite an existing .o file with -o,
4754 # though they will create one.
4755 am_cv_prog_cc_c_o=yes
4756 for am_i in 1 2; do
4757 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4758 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4759 ac_status=$?
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); } \
4762 && test -f conftest2.$ac_objext; then
4763 : OK
4764 else
4765 am_cv_prog_cc_c_o=no
4766 break
4768 done
4769 rm -f core conftest*
4770 unset am_i
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4773 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4774 if test "$am_cv_prog_cc_c_o" != yes; then
4775 # Losing compiler, so override with the script.
4776 # FIXME: It is wrong to rewrite CC.
4777 # But if we don't then we get into trouble of one sort or another.
4778 # A longer-term fix would be to have automake use am__CC in this case,
4779 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4780 CC="$am_aux_dir/compile $CC"
4782 ac_ext=c
4783 ac_cpp='$CPP $CPPFLAGS'
4784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4789 depcc="$CC" am_compiler_list=
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4792 $as_echo_n "checking dependency style of $depcc... " >&6; }
4793 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4794 $as_echo_n "(cached) " >&6
4795 else
4796 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4797 # We make a subdir and do the tests there. Otherwise we can end up
4798 # making bogus files that we don't know about and never remove. For
4799 # instance it was reported that on HP-UX the gcc test will end up
4800 # making a dummy file named 'D' -- because '-MD' means "put the output
4801 # in D".
4802 rm -rf conftest.dir
4803 mkdir conftest.dir
4804 # Copy depcomp to subdir because otherwise we won't find it if we're
4805 # using a relative directory.
4806 cp "$am_depcomp" conftest.dir
4807 cd conftest.dir
4808 # We will build objects and dependencies in a subdirectory because
4809 # it helps to detect inapplicable dependency modes. For instance
4810 # both Tru64's cc and ICC support -MD to output dependencies as a
4811 # side effect of compilation, but ICC will put the dependencies in
4812 # the current directory while Tru64 will put them in the object
4813 # directory.
4814 mkdir sub
4816 am_cv_CC_dependencies_compiler_type=none
4817 if test "$am_compiler_list" = ""; then
4818 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4820 am__universal=false
4821 case " $depcc " in #(
4822 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4823 esac
4825 for depmode in $am_compiler_list; do
4826 # Setup a source with many dependencies, because some compilers
4827 # like to wrap large dependency lists on column 80 (with \), and
4828 # we should not choose a depcomp mode which is confused by this.
4830 # We need to recreate these files for each test, as the compiler may
4831 # overwrite some of them when testing with obscure command lines.
4832 # This happens at least with the AIX C compiler.
4833 : > sub/conftest.c
4834 for i in 1 2 3 4 5 6; do
4835 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4836 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4837 # Solaris 10 /bin/sh.
4838 echo '/* dummy */' > sub/conftst$i.h
4839 done
4840 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4842 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4843 # mode. It turns out that the SunPro C++ compiler does not properly
4844 # handle '-M -o', and we need to detect this. Also, some Intel
4845 # versions had trouble with output in subdirs.
4846 am__obj=sub/conftest.${OBJEXT-o}
4847 am__minus_obj="-o $am__obj"
4848 case $depmode in
4849 gcc)
4850 # This depmode causes a compiler race in universal mode.
4851 test "$am__universal" = false || continue
4853 nosideeffect)
4854 # After this tag, mechanisms are not by side-effect, so they'll
4855 # only be used when explicitly requested.
4856 if test "x$enable_dependency_tracking" = xyes; then
4857 continue
4858 else
4859 break
4862 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4863 # This compiler won't grok '-c -o', but also, the minuso test has
4864 # not run yet. These depmodes are late enough in the game, and
4865 # so weak that their functioning should not be impacted.
4866 am__obj=conftest.${OBJEXT-o}
4867 am__minus_obj=
4869 none) break ;;
4870 esac
4871 if depmode=$depmode \
4872 source=sub/conftest.c object=$am__obj \
4873 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4874 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4875 >/dev/null 2>conftest.err &&
4876 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4877 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4878 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4879 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4880 # icc doesn't choke on unknown options, it will just issue warnings
4881 # or remarks (even with -Werror). So we grep stderr for any message
4882 # that says an option was ignored or not supported.
4883 # When given -MP, icc 7.0 and 7.1 complain thusly:
4884 # icc: Command line warning: ignoring option '-M'; no argument required
4885 # The diagnosis changed in icc 8.0:
4886 # icc: Command line remark: option '-MP' not supported
4887 if (grep 'ignoring option' conftest.err ||
4888 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4889 am_cv_CC_dependencies_compiler_type=$depmode
4890 break
4893 done
4895 cd ..
4896 rm -rf conftest.dir
4897 else
4898 am_cv_CC_dependencies_compiler_type=none
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4903 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4904 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4907 test "x$enable_dependency_tracking" != xno \
4908 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4909 am__fastdepCC_TRUE=
4910 am__fastdepCC_FALSE='#'
4911 else
4912 am__fastdepCC_TRUE='#'
4913 am__fastdepCC_FALSE=
4917 ac_ext=cpp
4918 ac_cpp='$CXXCPP $CPPFLAGS'
4919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4922 if test -z "$CXX"; then
4923 if test -n "$CCC"; then
4924 CXX=$CCC
4925 else
4926 if test -n "$ac_tool_prefix"; then
4927 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if ${ac_cv_prog_CXX+:} false; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 if test -n "$CXX"; then
4937 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4946 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4950 done
4951 done
4952 IFS=$as_save_IFS
4956 CXX=$ac_cv_prog_CXX
4957 if test -n "$CXX"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4959 $as_echo "$CXX" >&6; }
4960 else
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4966 test -n "$CXX" && break
4967 done
4969 if test -z "$CXX"; then
4970 ac_ct_CXX=$CXX
4971 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4973 # Extract the first word of "$ac_prog", so it can be a program name with args.
4974 set dummy $ac_prog; ac_word=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4978 $as_echo_n "(cached) " >&6
4979 else
4980 if test -n "$ac_ct_CXX"; then
4981 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4982 else
4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 for as_dir in $PATH
4986 IFS=$as_save_IFS
4987 test -z "$as_dir" && as_dir=.
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_ac_ct_CXX="$ac_prog"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 break 2
4994 done
4995 done
4996 IFS=$as_save_IFS
5000 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5001 if test -n "$ac_ct_CXX"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5003 $as_echo "$ac_ct_CXX" >&6; }
5004 else
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5010 test -n "$ac_ct_CXX" && break
5011 done
5013 if test "x$ac_ct_CXX" = x; then
5014 CXX="g++"
5015 else
5016 case $cross_compiling:$ac_tool_warned in
5017 yes:)
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5020 ac_tool_warned=yes ;;
5021 esac
5022 CXX=$ac_ct_CXX
5028 # Provide some information about the compiler.
5029 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5030 set X $ac_compile
5031 ac_compiler=$2
5032 for ac_option in --version -v -V -qversion; do
5033 { { ac_try="$ac_compiler $ac_option >&5"
5034 case "(($ac_try" in
5035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5036 *) ac_try_echo=$ac_try;;
5037 esac
5038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5039 $as_echo "$ac_try_echo"; } >&5
5040 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5041 ac_status=$?
5042 if test -s conftest.err; then
5043 sed '10a\
5044 ... rest of stderr output deleted ...
5045 10q' conftest.err >conftest.er1
5046 cat conftest.er1 >&5
5048 rm -f conftest.er1 conftest.err
5049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5050 test $ac_status = 0; }
5051 done
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5054 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5055 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5062 main ()
5064 #ifndef __GNUC__
5065 choke me
5066 #endif
5069 return 0;
5071 _ACEOF
5072 if ac_fn_cxx_try_compile "$LINENO"; then :
5073 ac_compiler_gnu=yes
5074 else
5075 ac_compiler_gnu=no
5077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5078 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5082 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5083 if test $ac_compiler_gnu = yes; then
5084 GXX=yes
5085 else
5086 GXX=
5088 ac_test_CXXFLAGS=${CXXFLAGS+set}
5089 ac_save_CXXFLAGS=$CXXFLAGS
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5091 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5092 if ${ac_cv_prog_cxx_g+:} false; then :
5093 $as_echo_n "(cached) " >&6
5094 else
5095 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5096 ac_cxx_werror_flag=yes
5097 ac_cv_prog_cxx_g=no
5098 CXXFLAGS="-g"
5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5100 /* end confdefs.h. */
5103 main ()
5107 return 0;
5109 _ACEOF
5110 if ac_fn_cxx_try_compile "$LINENO"; then :
5111 ac_cv_prog_cxx_g=yes
5112 else
5113 CXXFLAGS=""
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5118 main ()
5122 return 0;
5124 _ACEOF
5125 if ac_fn_cxx_try_compile "$LINENO"; then :
5127 else
5128 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5129 CXXFLAGS="-g"
5130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5131 /* end confdefs.h. */
5134 main ()
5138 return 0;
5140 _ACEOF
5141 if ac_fn_cxx_try_compile "$LINENO"; then :
5142 ac_cv_prog_cxx_g=yes
5144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5149 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5152 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5153 if test "$ac_test_CXXFLAGS" = set; then
5154 CXXFLAGS=$ac_save_CXXFLAGS
5155 elif test $ac_cv_prog_cxx_g = yes; then
5156 if test "$GXX" = yes; then
5157 CXXFLAGS="-g -O2"
5158 else
5159 CXXFLAGS="-g"
5161 else
5162 if test "$GXX" = yes; then
5163 CXXFLAGS="-O2"
5164 else
5165 CXXFLAGS=
5168 ac_ext=c
5169 ac_cpp='$CPP $CPPFLAGS'
5170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5174 depcc="$CXX" am_compiler_list=
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5177 $as_echo_n "checking dependency style of $depcc... " >&6; }
5178 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5179 $as_echo_n "(cached) " >&6
5180 else
5181 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5182 # We make a subdir and do the tests there. Otherwise we can end up
5183 # making bogus files that we don't know about and never remove. For
5184 # instance it was reported that on HP-UX the gcc test will end up
5185 # making a dummy file named 'D' -- because '-MD' means "put the output
5186 # in D".
5187 rm -rf conftest.dir
5188 mkdir conftest.dir
5189 # Copy depcomp to subdir because otherwise we won't find it if we're
5190 # using a relative directory.
5191 cp "$am_depcomp" conftest.dir
5192 cd conftest.dir
5193 # We will build objects and dependencies in a subdirectory because
5194 # it helps to detect inapplicable dependency modes. For instance
5195 # both Tru64's cc and ICC support -MD to output dependencies as a
5196 # side effect of compilation, but ICC will put the dependencies in
5197 # the current directory while Tru64 will put them in the object
5198 # directory.
5199 mkdir sub
5201 am_cv_CXX_dependencies_compiler_type=none
5202 if test "$am_compiler_list" = ""; then
5203 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5205 am__universal=false
5206 case " $depcc " in #(
5207 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5208 esac
5210 for depmode in $am_compiler_list; do
5211 # Setup a source with many dependencies, because some compilers
5212 # like to wrap large dependency lists on column 80 (with \), and
5213 # we should not choose a depcomp mode which is confused by this.
5215 # We need to recreate these files for each test, as the compiler may
5216 # overwrite some of them when testing with obscure command lines.
5217 # This happens at least with the AIX C compiler.
5218 : > sub/conftest.c
5219 for i in 1 2 3 4 5 6; do
5220 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5221 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5222 # Solaris 10 /bin/sh.
5223 echo '/* dummy */' > sub/conftst$i.h
5224 done
5225 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5227 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5228 # mode. It turns out that the SunPro C++ compiler does not properly
5229 # handle '-M -o', and we need to detect this. Also, some Intel
5230 # versions had trouble with output in subdirs.
5231 am__obj=sub/conftest.${OBJEXT-o}
5232 am__minus_obj="-o $am__obj"
5233 case $depmode in
5234 gcc)
5235 # This depmode causes a compiler race in universal mode.
5236 test "$am__universal" = false || continue
5238 nosideeffect)
5239 # After this tag, mechanisms are not by side-effect, so they'll
5240 # only be used when explicitly requested.
5241 if test "x$enable_dependency_tracking" = xyes; then
5242 continue
5243 else
5244 break
5247 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5248 # This compiler won't grok '-c -o', but also, the minuso test has
5249 # not run yet. These depmodes are late enough in the game, and
5250 # so weak that their functioning should not be impacted.
5251 am__obj=conftest.${OBJEXT-o}
5252 am__minus_obj=
5254 none) break ;;
5255 esac
5256 if depmode=$depmode \
5257 source=sub/conftest.c object=$am__obj \
5258 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5259 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5260 >/dev/null 2>conftest.err &&
5261 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5262 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5263 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5264 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5265 # icc doesn't choke on unknown options, it will just issue warnings
5266 # or remarks (even with -Werror). So we grep stderr for any message
5267 # that says an option was ignored or not supported.
5268 # When given -MP, icc 7.0 and 7.1 complain thusly:
5269 # icc: Command line warning: ignoring option '-M'; no argument required
5270 # The diagnosis changed in icc 8.0:
5271 # icc: Command line remark: option '-MP' not supported
5272 if (grep 'ignoring option' conftest.err ||
5273 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5274 am_cv_CXX_dependencies_compiler_type=$depmode
5275 break
5278 done
5280 cd ..
5281 rm -rf conftest.dir
5282 else
5283 am_cv_CXX_dependencies_compiler_type=none
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5288 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5289 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5292 test "x$enable_dependency_tracking" != xno \
5293 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5294 am__fastdepCXX_TRUE=
5295 am__fastdepCXX_FALSE='#'
5296 else
5297 am__fastdepCXX_TRUE='#'
5298 am__fastdepCXX_FALSE=
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
5302 $as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
5303 if ${kpse_cv_warning_cxxflags+:} false; then :
5304 $as_echo_n "(cached) " >&6
5305 else
5306 if test "x$GXX" = xyes; then
5307 kpse_cv_warning_cxxflags=
5308 kpse_warn_strings="-Wno-write-strings"
5309 if test "x$enable_compiler_warnings" != xno; then
5310 kpse_cv_warning_cxxflags="-Wreturn-type"
5311 case `$CXX -dumpversion` in #(
5312 3.* | 4.[012345].*) :
5313 kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #(
5314 *) :
5316 esac
5317 case `$CXX -dumpversion` in #(
5318 3.[234].* | 4.*) :
5319 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #(
5320 *) :
5322 esac
5323 if test "x$enable_compiler_warnings" != xmin; then
5324 kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags"
5325 if test "x$enable_compiler_warnings" != xyes; then
5326 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
5327 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align"
5328 kpse_warn_strings="-Wwrite-strings"
5329 if test "x$enable_compiler_warnings" != xmax; then
5330 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow"
5335 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings"
5336 elif test "x$enable_compiler_warnings" = xno; then
5337 kpse_cv_warning_cxxflags=
5338 else
5339 kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5
5343 $as_echo "$kpse_cv_warning_cxxflags" >&6; }
5344 WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags
5348 if test -n "$ac_tool_prefix"; then
5349 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5350 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5352 $as_echo_n "checking for $ac_word... " >&6; }
5353 if ${ac_cv_prog_RANLIB+:} false; then :
5354 $as_echo_n "(cached) " >&6
5355 else
5356 if test -n "$RANLIB"; then
5357 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5358 else
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 for as_dir in $PATH
5362 IFS=$as_save_IFS
5363 test -z "$as_dir" && as_dir=.
5364 for ac_exec_ext in '' $ac_executable_extensions; do
5365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5366 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 break 2
5370 done
5371 done
5372 IFS=$as_save_IFS
5376 RANLIB=$ac_cv_prog_RANLIB
5377 if test -n "$RANLIB"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5379 $as_echo "$RANLIB" >&6; }
5380 else
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; }
5387 if test -z "$ac_cv_prog_RANLIB"; then
5388 ac_ct_RANLIB=$RANLIB
5389 # Extract the first word of "ranlib", so it can be a program name with args.
5390 set dummy ranlib; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -n "$ac_ct_RANLIB"; then
5397 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5398 else
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_ac_ct_RANLIB="ranlib"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 break 2
5410 done
5411 done
5412 IFS=$as_save_IFS
5416 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5417 if test -n "$ac_ct_RANLIB"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5419 $as_echo "$ac_ct_RANLIB" >&6; }
5420 else
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5425 if test "x$ac_ct_RANLIB" = x; then
5426 RANLIB=":"
5427 else
5428 case $cross_compiling:$ac_tool_warned in
5429 yes:)
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5432 ac_tool_warned=yes ;;
5433 esac
5434 RANLIB=$ac_ct_RANLIB
5436 else
5437 RANLIB="$ac_cv_prog_RANLIB"
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5441 $as_echo_n "checking whether ln -s works... " >&6; }
5442 LN_S=$as_ln_s
5443 if test "$LN_S" = "ln -s"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5445 $as_echo "yes" >&6; }
5446 else
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5448 $as_echo "no, using $LN_S" >&6; }
5452 ac_ext=c
5453 ac_cpp='$CPP $CPPFLAGS'
5454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5458 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5459 # On Suns, sometimes $CPP names a directory.
5460 if test -n "$CPP" && test -d "$CPP"; then
5461 CPP=
5463 if test -z "$CPP"; then
5464 if ${ac_cv_prog_CPP+:} false; then :
5465 $as_echo_n "(cached) " >&6
5466 else
5467 # Double quotes because CPP needs to be expanded
5468 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5470 ac_preproc_ok=false
5471 for ac_c_preproc_warn_flag in '' yes
5473 # Use a header file that comes with gcc, so configuring glibc
5474 # with a fresh cross-compiler works.
5475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5476 # <limits.h> exists even on freestanding compilers.
5477 # On the NeXT, cc -E runs the code through the compiler's parser,
5478 # not just through cpp. "Syntax error" is here to catch this case.
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5481 #ifdef __STDC__
5482 # include <limits.h>
5483 #else
5484 # include <assert.h>
5485 #endif
5486 Syntax error
5487 _ACEOF
5488 if ac_fn_c_try_cpp "$LINENO"; then :
5490 else
5491 # Broken: fails on valid input.
5492 continue
5494 rm -f conftest.err conftest.i conftest.$ac_ext
5496 # OK, works on sane cases. Now check whether nonexistent headers
5497 # can be detected and how.
5498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5499 /* end confdefs.h. */
5500 #include <ac_nonexistent.h>
5501 _ACEOF
5502 if ac_fn_c_try_cpp "$LINENO"; then :
5503 # Broken: success on invalid input.
5504 continue
5505 else
5506 # Passes both tests.
5507 ac_preproc_ok=:
5508 break
5510 rm -f conftest.err conftest.i conftest.$ac_ext
5512 done
5513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5514 rm -f conftest.i conftest.err conftest.$ac_ext
5515 if $ac_preproc_ok; then :
5516 break
5519 done
5520 ac_cv_prog_CPP=$CPP
5523 CPP=$ac_cv_prog_CPP
5524 else
5525 ac_cv_prog_CPP=$CPP
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5528 $as_echo "$CPP" >&6; }
5529 ac_preproc_ok=false
5530 for ac_c_preproc_warn_flag in '' yes
5532 # Use a header file that comes with gcc, so configuring glibc
5533 # with a fresh cross-compiler works.
5534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5535 # <limits.h> exists even on freestanding compilers.
5536 # On the NeXT, cc -E runs the code through the compiler's parser,
5537 # not just through cpp. "Syntax error" is here to catch this case.
5538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5540 #ifdef __STDC__
5541 # include <limits.h>
5542 #else
5543 # include <assert.h>
5544 #endif
5545 Syntax error
5546 _ACEOF
5547 if ac_fn_c_try_cpp "$LINENO"; then :
5549 else
5550 # Broken: fails on valid input.
5551 continue
5553 rm -f conftest.err conftest.i conftest.$ac_ext
5555 # OK, works on sane cases. Now check whether nonexistent headers
5556 # can be detected and how.
5557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5558 /* end confdefs.h. */
5559 #include <ac_nonexistent.h>
5560 _ACEOF
5561 if ac_fn_c_try_cpp "$LINENO"; then :
5562 # Broken: success on invalid input.
5563 continue
5564 else
5565 # Passes both tests.
5566 ac_preproc_ok=:
5567 break
5569 rm -f conftest.err conftest.i conftest.$ac_ext
5571 done
5572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5573 rm -f conftest.i conftest.err conftest.$ac_ext
5574 if $ac_preproc_ok; then :
5576 else
5577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5579 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5580 See \`config.log' for more details" "$LINENO" 5; }
5583 ac_ext=c
5584 ac_cpp='$CPP $CPPFLAGS'
5585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5591 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5592 if ${ac_cv_path_GREP+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 if test -z "$GREP"; then
5596 ac_path_GREP_found=false
5597 # Loop through the user's path and test for each of PROGNAME-LIST
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5601 IFS=$as_save_IFS
5602 test -z "$as_dir" && as_dir=.
5603 for ac_prog in grep ggrep; do
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5606 as_fn_executable_p "$ac_path_GREP" || continue
5607 # Check for GNU ac_path_GREP and select it if it is found.
5608 # Check for GNU $ac_path_GREP
5609 case `"$ac_path_GREP" --version 2>&1` in
5610 *GNU*)
5611 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5613 ac_count=0
5614 $as_echo_n 0123456789 >"conftest.in"
5615 while :
5617 cat "conftest.in" "conftest.in" >"conftest.tmp"
5618 mv "conftest.tmp" "conftest.in"
5619 cp "conftest.in" "conftest.nl"
5620 $as_echo 'GREP' >> "conftest.nl"
5621 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5622 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5623 as_fn_arith $ac_count + 1 && ac_count=$as_val
5624 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5625 # Best one so far, save it but keep looking for a better one
5626 ac_cv_path_GREP="$ac_path_GREP"
5627 ac_path_GREP_max=$ac_count
5629 # 10*(2^10) chars as input seems more than enough
5630 test $ac_count -gt 10 && break
5631 done
5632 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5633 esac
5635 $ac_path_GREP_found && break 3
5636 done
5637 done
5638 done
5639 IFS=$as_save_IFS
5640 if test -z "$ac_cv_path_GREP"; then
5641 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5643 else
5644 ac_cv_path_GREP=$GREP
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5649 $as_echo "$ac_cv_path_GREP" >&6; }
5650 GREP="$ac_cv_path_GREP"
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5654 $as_echo_n "checking for egrep... " >&6; }
5655 if ${ac_cv_path_EGREP+:} false; then :
5656 $as_echo_n "(cached) " >&6
5657 else
5658 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5659 then ac_cv_path_EGREP="$GREP -E"
5660 else
5661 if test -z "$EGREP"; then
5662 ac_path_EGREP_found=false
5663 # Loop through the user's path and test for each of PROGNAME-LIST
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5667 IFS=$as_save_IFS
5668 test -z "$as_dir" && as_dir=.
5669 for ac_prog in egrep; do
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5672 as_fn_executable_p "$ac_path_EGREP" || continue
5673 # Check for GNU ac_path_EGREP and select it if it is found.
5674 # Check for GNU $ac_path_EGREP
5675 case `"$ac_path_EGREP" --version 2>&1` in
5676 *GNU*)
5677 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5679 ac_count=0
5680 $as_echo_n 0123456789 >"conftest.in"
5681 while :
5683 cat "conftest.in" "conftest.in" >"conftest.tmp"
5684 mv "conftest.tmp" "conftest.in"
5685 cp "conftest.in" "conftest.nl"
5686 $as_echo 'EGREP' >> "conftest.nl"
5687 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5688 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5689 as_fn_arith $ac_count + 1 && ac_count=$as_val
5690 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5691 # Best one so far, save it but keep looking for a better one
5692 ac_cv_path_EGREP="$ac_path_EGREP"
5693 ac_path_EGREP_max=$ac_count
5695 # 10*(2^10) chars as input seems more than enough
5696 test $ac_count -gt 10 && break
5697 done
5698 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5699 esac
5701 $ac_path_EGREP_found && break 3
5702 done
5703 done
5704 done
5705 IFS=$as_save_IFS
5706 if test -z "$ac_cv_path_EGREP"; then
5707 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5709 else
5710 ac_cv_path_EGREP=$EGREP
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5716 $as_echo "$ac_cv_path_EGREP" >&6; }
5717 EGREP="$ac_cv_path_EGREP"
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5721 $as_echo_n "checking for ANSI C header files... " >&6; }
5722 if ${ac_cv_header_stdc+:} false; then :
5723 $as_echo_n "(cached) " >&6
5724 else
5725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5726 /* end confdefs.h. */
5727 #include <stdlib.h>
5728 #include <stdarg.h>
5729 #include <string.h>
5730 #include <float.h>
5733 main ()
5737 return 0;
5739 _ACEOF
5740 if ac_fn_c_try_compile "$LINENO"; then :
5741 ac_cv_header_stdc=yes
5742 else
5743 ac_cv_header_stdc=no
5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5747 if test $ac_cv_header_stdc = yes; then
5748 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5751 #include <string.h>
5753 _ACEOF
5754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5755 $EGREP "memchr" >/dev/null 2>&1; then :
5757 else
5758 ac_cv_header_stdc=no
5760 rm -f conftest*
5764 if test $ac_cv_header_stdc = yes; then
5765 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5767 /* end confdefs.h. */
5768 #include <stdlib.h>
5770 _ACEOF
5771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5772 $EGREP "free" >/dev/null 2>&1; then :
5774 else
5775 ac_cv_header_stdc=no
5777 rm -f conftest*
5781 if test $ac_cv_header_stdc = yes; then
5782 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5783 if test "$cross_compiling" = yes; then :
5785 else
5786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5787 /* end confdefs.h. */
5788 #include <ctype.h>
5789 #include <stdlib.h>
5790 #if ((' ' & 0x0FF) == 0x020)
5791 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5792 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5793 #else
5794 # define ISLOWER(c) \
5795 (('a' <= (c) && (c) <= 'i') \
5796 || ('j' <= (c) && (c) <= 'r') \
5797 || ('s' <= (c) && (c) <= 'z'))
5798 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5799 #endif
5801 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5803 main ()
5805 int i;
5806 for (i = 0; i < 256; i++)
5807 if (XOR (islower (i), ISLOWER (i))
5808 || toupper (i) != TOUPPER (i))
5809 return 2;
5810 return 0;
5812 _ACEOF
5813 if ac_fn_c_try_run "$LINENO"; then :
5815 else
5816 ac_cv_header_stdc=no
5818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5819 conftest.$ac_objext conftest.beam conftest.$ac_ext
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5825 $as_echo "$ac_cv_header_stdc" >&6; }
5826 if test $ac_cv_header_stdc = yes; then
5828 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5832 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5833 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5834 inttypes.h stdint.h unistd.h
5835 do :
5836 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5837 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5839 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5840 cat >>confdefs.h <<_ACEOF
5841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5842 _ACEOF
5846 done
5849 # The cast to long int works around a bug in the HP C Compiler
5850 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5851 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5852 # This bug is HP SR number 8606223364.
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
5854 $as_echo_n "checking size of long long... " >&6; }
5855 if ${ac_cv_sizeof_long_long+:} false; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
5860 else
5861 if test "$ac_cv_type_long_long" = yes; then
5862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5864 as_fn_error 77 "cannot compute sizeof (long long)
5865 See \`config.log' for more details" "$LINENO" 5; }
5866 else
5867 ac_cv_sizeof_long_long=0
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
5873 $as_echo "$ac_cv_sizeof_long_long" >&6; }
5877 cat >>confdefs.h <<_ACEOF
5878 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5879 _ACEOF
5882 if test $ac_cv_sizeof_long_long -lt 8; then
5883 as_fn_error $? "Sorry, your compiler has no \`long long' with at least 8 bytes." "$LINENO" 5
5886 test "x$GXX" = xyes && NO_WARN_CXXFLAGS='-Wno-write-strings'
5889 # Check whether --enable-opi was given.
5890 if test "${enable_opi+set}" = set; then :
5891 enableval=$enable_opi; if test "x$enableval" = xyes; then
5893 $as_echo "#define OPI_SUPPORT 1" >>confdefs.h
5900 # Check whether --enable-multithreaded was given.
5901 if test "${enable_multithreaded+set}" = set; then :
5902 enableval=$enable_multithreaded; if test "x$enableval" != xno; then
5904 $as_echo "#define MULTITHREADED 1" >>confdefs.h
5911 # Check whether --enable-exceptions was given.
5912 if test "${enable_exceptions+set}" = set; then :
5913 enableval=$enable_exceptions; if test "x$enableval" = xyes; then
5915 $as_echo "#define USE_EXCEPTIONS 1" >>confdefs.h
5922 # Check whether --enable-fixedpoint was given.
5923 if test "${enable_fixedpoint+set}" = set; then :
5924 enableval=$enable_fixedpoint; if test "x$enableval" = xyes; then
5926 $as_echo "#define USE_FIXEDPOINT 1" >>confdefs.h
5934 for ac_header in strings.h
5935 do :
5936 ac_fn_c_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
5937 if test "x$ac_cv_header_strings_h" = xyes; then :
5938 cat >>confdefs.h <<_ACEOF
5939 #define HAVE_STRINGS_H 1
5940 _ACEOF
5944 done
5946 ac_header_dirent=no
5947 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5948 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5950 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5951 if eval \${$as_ac_Header+:} false; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5955 /* end confdefs.h. */
5956 #include <sys/types.h>
5957 #include <$ac_hdr>
5960 main ()
5962 if ((DIR *) 0)
5963 return 0;
5965 return 0;
5967 _ACEOF
5968 if ac_fn_c_try_compile "$LINENO"; then :
5969 eval "$as_ac_Header=yes"
5970 else
5971 eval "$as_ac_Header=no"
5973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5975 eval ac_res=\$$as_ac_Header
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5977 $as_echo "$ac_res" >&6; }
5978 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5979 cat >>confdefs.h <<_ACEOF
5980 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5981 _ACEOF
5983 ac_header_dirent=$ac_hdr; break
5986 done
5987 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5988 if test $ac_header_dirent = dirent.h; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5990 $as_echo_n "checking for library containing opendir... " >&6; }
5991 if ${ac_cv_search_opendir+:} false; then :
5992 $as_echo_n "(cached) " >&6
5993 else
5994 ac_func_search_save_LIBS=$LIBS
5995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5996 /* end confdefs.h. */
5998 /* Override any GCC internal prototype to avoid an error.
5999 Use char because int might match the return type of a GCC
6000 builtin and then its argument prototype would still apply. */
6001 #ifdef __cplusplus
6002 extern "C"
6003 #endif
6004 char opendir ();
6006 main ()
6008 return opendir ();
6010 return 0;
6012 _ACEOF
6013 for ac_lib in '' dir; do
6014 if test -z "$ac_lib"; then
6015 ac_res="none required"
6016 else
6017 ac_res=-l$ac_lib
6018 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6020 if ac_fn_c_try_link "$LINENO"; then :
6021 ac_cv_search_opendir=$ac_res
6023 rm -f core conftest.err conftest.$ac_objext \
6024 conftest$ac_exeext
6025 if ${ac_cv_search_opendir+:} false; then :
6026 break
6028 done
6029 if ${ac_cv_search_opendir+:} false; then :
6031 else
6032 ac_cv_search_opendir=no
6034 rm conftest.$ac_ext
6035 LIBS=$ac_func_search_save_LIBS
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6038 $as_echo "$ac_cv_search_opendir" >&6; }
6039 ac_res=$ac_cv_search_opendir
6040 if test "$ac_res" != no; then :
6041 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6045 else
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6047 $as_echo_n "checking for library containing opendir... " >&6; }
6048 if ${ac_cv_search_opendir+:} false; then :
6049 $as_echo_n "(cached) " >&6
6050 else
6051 ac_func_search_save_LIBS=$LIBS
6052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6053 /* end confdefs.h. */
6055 /* Override any GCC internal prototype to avoid an error.
6056 Use char because int might match the return type of a GCC
6057 builtin and then its argument prototype would still apply. */
6058 #ifdef __cplusplus
6059 extern "C"
6060 #endif
6061 char opendir ();
6063 main ()
6065 return opendir ();
6067 return 0;
6069 _ACEOF
6070 for ac_lib in '' x; do
6071 if test -z "$ac_lib"; then
6072 ac_res="none required"
6073 else
6074 ac_res=-l$ac_lib
6075 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6077 if ac_fn_c_try_link "$LINENO"; then :
6078 ac_cv_search_opendir=$ac_res
6080 rm -f core conftest.err conftest.$ac_objext \
6081 conftest$ac_exeext
6082 if ${ac_cv_search_opendir+:} false; then :
6083 break
6085 done
6086 if ${ac_cv_search_opendir+:} false; then :
6088 else
6089 ac_cv_search_opendir=no
6091 rm conftest.$ac_ext
6092 LIBS=$ac_func_search_save_LIBS
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6095 $as_echo "$ac_cv_search_opendir" >&6; }
6096 ac_res=$ac_cv_search_opendir
6097 if test "$ac_res" != no; then :
6098 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6106 for ac_func in gettimeofday gmtime_r mkstemp popen rand_r
6107 do :
6108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6110 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6111 cat >>confdefs.h <<_ACEOF
6112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6113 _ACEOF
6116 done
6118 # Check whether --enable-largefile was given.
6119 if test "${enable_largefile+set}" = set; then :
6120 enableval=$enable_largefile;
6123 if test "$enable_largefile" != no; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6126 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6127 if ${ac_cv_sys_largefile_CC+:} false; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 ac_cv_sys_largefile_CC=no
6131 if test "$GCC" != yes; then
6132 ac_save_CC=$CC
6133 while :; do
6134 # IRIX 6.2 and later do not support large files by default,
6135 # so use the C compiler's -n32 option if that helps.
6136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6137 /* end confdefs.h. */
6138 #include <sys/types.h>
6139 /* Check that off_t can represent 2**63 - 1 correctly.
6140 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6141 since some C++ compilers masquerading as C compilers
6142 incorrectly reject 9223372036854775807. */
6143 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6144 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6145 && LARGE_OFF_T % 2147483647 == 1)
6146 ? 1 : -1];
6148 main ()
6152 return 0;
6154 _ACEOF
6155 if ac_fn_c_try_compile "$LINENO"; then :
6156 break
6158 rm -f core conftest.err conftest.$ac_objext
6159 CC="$CC -n32"
6160 if ac_fn_c_try_compile "$LINENO"; then :
6161 ac_cv_sys_largefile_CC=' -n32'; break
6163 rm -f core conftest.err conftest.$ac_objext
6164 break
6165 done
6166 CC=$ac_save_CC
6167 rm -f conftest.$ac_ext
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6171 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6172 if test "$ac_cv_sys_largefile_CC" != no; then
6173 CC=$CC$ac_cv_sys_largefile_CC
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6177 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6178 if ${ac_cv_sys_file_offset_bits+:} false; then :
6179 $as_echo_n "(cached) " >&6
6180 else
6181 while :; do
6182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6184 #include <sys/types.h>
6185 /* Check that off_t can represent 2**63 - 1 correctly.
6186 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6187 since some C++ compilers masquerading as C compilers
6188 incorrectly reject 9223372036854775807. */
6189 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6190 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6191 && LARGE_OFF_T % 2147483647 == 1)
6192 ? 1 : -1];
6194 main ()
6198 return 0;
6200 _ACEOF
6201 if ac_fn_c_try_compile "$LINENO"; then :
6202 ac_cv_sys_file_offset_bits=no; break
6204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6206 /* end confdefs.h. */
6207 #define _FILE_OFFSET_BITS 64
6208 #include <sys/types.h>
6209 /* Check that off_t can represent 2**63 - 1 correctly.
6210 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6211 since some C++ compilers masquerading as C compilers
6212 incorrectly reject 9223372036854775807. */
6213 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6214 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6215 && LARGE_OFF_T % 2147483647 == 1)
6216 ? 1 : -1];
6218 main ()
6222 return 0;
6224 _ACEOF
6225 if ac_fn_c_try_compile "$LINENO"; then :
6226 ac_cv_sys_file_offset_bits=64; break
6228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6229 ac_cv_sys_file_offset_bits=unknown
6230 break
6231 done
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6234 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6235 case $ac_cv_sys_file_offset_bits in #(
6236 no | unknown) ;;
6238 cat >>confdefs.h <<_ACEOF
6239 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6240 _ACEOF
6242 esac
6243 rm -rf conftest*
6244 if test $ac_cv_sys_file_offset_bits = unknown; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6246 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6247 if ${ac_cv_sys_large_files+:} false; then :
6248 $as_echo_n "(cached) " >&6
6249 else
6250 while :; do
6251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6252 /* end confdefs.h. */
6253 #include <sys/types.h>
6254 /* Check that off_t can represent 2**63 - 1 correctly.
6255 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6256 since some C++ compilers masquerading as C compilers
6257 incorrectly reject 9223372036854775807. */
6258 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6259 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6260 && LARGE_OFF_T % 2147483647 == 1)
6261 ? 1 : -1];
6263 main ()
6267 return 0;
6269 _ACEOF
6270 if ac_fn_c_try_compile "$LINENO"; then :
6271 ac_cv_sys_large_files=no; break
6273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6276 #define _LARGE_FILES 1
6277 #include <sys/types.h>
6278 /* Check that off_t can represent 2**63 - 1 correctly.
6279 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6280 since some C++ compilers masquerading as C compilers
6281 incorrectly reject 9223372036854775807. */
6282 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6283 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6284 && LARGE_OFF_T % 2147483647 == 1)
6285 ? 1 : -1];
6287 main ()
6291 return 0;
6293 _ACEOF
6294 if ac_fn_c_try_compile "$LINENO"; then :
6295 ac_cv_sys_large_files=1; break
6297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6298 ac_cv_sys_large_files=unknown
6299 break
6300 done
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6303 $as_echo "$ac_cv_sys_large_files" >&6; }
6304 case $ac_cv_sys_large_files in #(
6305 no | unknown) ;;
6307 cat >>confdefs.h <<_ACEOF
6308 #define _LARGE_FILES $ac_cv_sys_large_files
6309 _ACEOF
6311 esac
6312 rm -rf conftest*
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
6319 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
6320 if ${ac_cv_sys_largefile_source+:} false; then :
6321 $as_echo_n "(cached) " >&6
6322 else
6323 while :; do
6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6326 #include <sys/types.h> /* for off_t */
6327 #include <stdio.h>
6329 main ()
6331 int (*fp) (FILE *, off_t, int) = fseeko;
6332 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6334 return 0;
6336 _ACEOF
6337 if ac_fn_c_try_link "$LINENO"; then :
6338 ac_cv_sys_largefile_source=no; break
6340 rm -f core conftest.err conftest.$ac_objext \
6341 conftest$ac_exeext conftest.$ac_ext
6342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6344 #define _LARGEFILE_SOURCE 1
6345 #include <sys/types.h> /* for off_t */
6346 #include <stdio.h>
6348 main ()
6350 int (*fp) (FILE *, off_t, int) = fseeko;
6351 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6353 return 0;
6355 _ACEOF
6356 if ac_fn_c_try_link "$LINENO"; then :
6357 ac_cv_sys_largefile_source=1; break
6359 rm -f core conftest.err conftest.$ac_objext \
6360 conftest$ac_exeext conftest.$ac_ext
6361 ac_cv_sys_largefile_source=unknown
6362 break
6363 done
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
6366 $as_echo "$ac_cv_sys_largefile_source" >&6; }
6367 case $ac_cv_sys_largefile_source in #(
6368 no | unknown) ;;
6370 cat >>confdefs.h <<_ACEOF
6371 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
6372 _ACEOF
6374 esac
6375 rm -rf conftest*
6377 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
6378 # in glibc 2.1.3, but that breaks too many other things.
6379 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
6380 if test $ac_cv_sys_largefile_source != unknown; then
6382 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
6386 ac_fn_c_check_func "$LINENO" "ftell64" "ac_cv_func_ftell64"
6387 if test "x$ac_cv_func_ftell64" = xyes; then :
6388 for ac_func in fseek64
6389 do :
6390 ac_fn_c_check_func "$LINENO" "fseek64" "ac_cv_func_fseek64"
6391 if test "x$ac_cv_func_fseek64" = xyes; then :
6392 cat >>confdefs.h <<_ACEOF
6393 #define HAVE_FSEEK64 1
6394 _ACEOF
6397 done
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
6403 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
6404 if ${kpse_cv_have_win32+:} false; then :
6405 $as_echo_n "(cached) " >&6
6406 else
6407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6409 #ifndef WIN32
6410 choke me
6411 #endif
6413 main ()
6417 return 0;
6419 _ACEOF
6420 if ac_fn_c_try_compile "$LINENO"; then :
6421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6423 #ifndef __MINGW32__
6424 choke me
6425 #endif
6427 main ()
6431 return 0;
6433 _ACEOF
6434 if ac_fn_c_try_compile "$LINENO"; then :
6435 kpse_cv_have_win32=mingw32
6436 else
6437 kpse_cv_have_win32=native
6439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6440 else
6441 kpse_cv_have_win32=no
6443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
6446 $as_echo "$kpse_cv_have_win32" >&6; }
6448 if test "x$kpse_cv_have_win32" != xno; then
6449 WIN32_TRUE=
6450 WIN32_FALSE='#'
6451 else
6452 WIN32_TRUE='#'
6453 WIN32_FALSE=
6457 if test "x$kpse_cv_have_win32" = xmingw32; then
6458 MINGW32_TRUE=
6459 MINGW32_FALSE='#'
6460 else
6461 MINGW32_TRUE='#'
6462 MINGW32_FALSE=
6467 if test "x$kpse_cv_have_win32" = xmingw32; then
6469 $as_echo "#define _WIN32_WINNT 0x0500" >>confdefs.h
6473 ac_config_headers="$ac_config_headers config.h"
6476 ac_config_headers="$ac_config_headers poppler-config.h:poppler-0.28.0/poppler/poppler-config.h.in"
6480 cat >>confdefs.h <<_ACEOF
6481 #define POPPLER_VERSION "0.28.0"
6482 _ACEOF
6485 kpse_save_CPPFLAGS=$CPPFLAGS
6486 kpse_save_LIBS=$LIBS
6488 ## _KPSE_INIT: Initialize TL infrastructure
6489 kpse_BLD=`(cd "./../../." && pwd)`
6490 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
6492 ## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags
6494 # Check whether --with-system-zlib was given.
6495 if test "${with_system_zlib+set}" = set; then :
6496 withval=$with_system_zlib;
6499 # Check whether --with-zlib-includes was given.
6500 if test "${with_zlib_includes+set}" = set; then :
6501 withval=$with_zlib_includes;
6504 # Check whether --with-zlib-libdir was given.
6505 if test "${with_zlib_libdir+set}" = set; then :
6506 withval=$with_zlib_libdir;
6508 if test "x$with_system_zlib" = xyes; then
6509 if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then
6510 ZLIB_INCLUDES="-I$with_zlib_includes"
6512 ZLIB_LIBS="-lz"
6513 if test "x$with_zlib_libdir" != x && test "x$with_zlib_libdir" != xyes; then
6514 ZLIB_LIBS="-L$with_zlib_libdir $ZLIB_LIBS"
6516 else
6517 ZLIB_INCLUDES="-I$kpse_BLD/libs/zlib/include"
6518 ZLIB_LIBS="$kpse_BLD/libs/zlib/libz.a"
6519 ZLIB_DEPEND='${top_builddir}/../../libs/zlib/libz.a'
6520 ZLIB_RULE='# Rebuild libz
6521 $(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
6522 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
6523 ${top_builddir}/../../libs/zlib/include/zconf.h:
6524 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5
6527 $as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; }
6528 if ${kpse_cv_have_decl_z_const+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\"
6532 eval LIBS=\"$ZLIB_LIBS \$LIBS\"
6534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6535 /* end confdefs.h. */
6536 #include <zlib.h>
6538 main ()
6540 z_const char * foo();
6542 return 0;
6544 _ACEOF
6545 if ac_fn_c_try_compile "$LINENO"; then :
6546 kpse_cv_have_decl_z_const=yes
6547 else
6548 kpse_cv_have_decl_z_const=no
6550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6551 CPPFLAGS=$kpse_save_CPPFLAGS
6552 LIBS=$kpse_save_LIBS
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5
6556 $as_echo "$kpse_cv_have_decl_z_const" >&6; }
6557 case $kpse_cv_have_decl_z_const in #(
6558 yes) :
6560 $as_echo "#define ZLIB_CONST 1" >>confdefs.h
6561 ;; #(
6562 *) :
6564 $as_echo "#define z_const /**/" >>confdefs.h
6566 esac
6569 if test "x$enable_build" != xno; then
6570 build_TRUE=
6571 build_FALSE='#'
6572 else
6573 build_TRUE='#'
6574 build_FALSE=
6578 if test "x$enable_build" != xno || test -f config.force; then
6580 eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\"
6581 eval LIBS=\"$ZLIB_LIBS \$LIBS\"
6583 ac_fn_c_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
6584 if test "x$ac_cv_func_inflate" = xyes; then :
6586 else
6587 as_fn_error $? "zlib not found" "$LINENO" 5
6590 for ac_header in zlib.h
6591 do :
6592 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6593 if test "x$ac_cv_header_zlib_h" = xyes; then :
6594 cat >>confdefs.h <<_ACEOF
6595 #define HAVE_ZLIB_H 1
6596 _ACEOF
6598 else
6599 as_fn_error $? "zlib not found" "$LINENO" 5
6602 done
6604 CPPFLAGS=$kpse_save_CPPFLAGS
6605 LIBS=$kpse_save_LIBS
6608 echo timestamp >config.force
6612 $as_echo "#define ENABLE_ZLIB 1" >>confdefs.h
6615 POPPLER_TREE=poppler-0.28.0
6618 ac_config_files="$ac_config_files Makefile include/Makefile include/goo/Makefile include/fofi/Makefile"
6621 cat >confcache <<\_ACEOF
6622 # This file is a shell script that caches the results of configure
6623 # tests run on this system so they can be shared between configure
6624 # scripts and configure runs, see configure's option --config-cache.
6625 # It is not useful on other systems. If it contains results you don't
6626 # want to keep, you may remove or edit it.
6628 # config.status only pays attention to the cache file if you give it
6629 # the --recheck option to rerun configure.
6631 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6632 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6633 # following values.
6635 _ACEOF
6637 # The following way of writing the cache mishandles newlines in values,
6638 # but we know of no workaround that is simple, portable, and efficient.
6639 # So, we kill variables containing newlines.
6640 # Ultrix sh set writes to stderr and can't be redirected directly,
6641 # and sets the high bit in the cache file unless we assign to the vars.
6643 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6644 eval ac_val=\$$ac_var
6645 case $ac_val in #(
6646 *${as_nl}*)
6647 case $ac_var in #(
6648 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6649 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6650 esac
6651 case $ac_var in #(
6652 _ | IFS | as_nl) ;; #(
6653 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6654 *) { eval $ac_var=; unset $ac_var;} ;;
6655 esac ;;
6656 esac
6657 done
6659 (set) 2>&1 |
6660 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6661 *${as_nl}ac_space=\ *)
6662 # `set' does not quote correctly, so add quotes: double-quote
6663 # substitution turns \\\\ into \\, and sed turns \\ into \.
6664 sed -n \
6665 "s/'/'\\\\''/g;
6666 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6667 ;; #(
6669 # `set' quotes correctly as required by POSIX, so do not add quotes.
6670 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6672 esac |
6673 sort
6675 sed '
6676 /^ac_cv_env_/b end
6677 t clear
6678 :clear
6679 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6680 t end
6681 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6682 :end' >>confcache
6683 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6684 if test -w "$cache_file"; then
6685 if test "x$cache_file" != "x/dev/null"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6687 $as_echo "$as_me: updating cache $cache_file" >&6;}
6688 if test ! -f "$cache_file" || test -h "$cache_file"; then
6689 cat confcache >"$cache_file"
6690 else
6691 case $cache_file in #(
6692 */* | ?:*)
6693 mv -f confcache "$cache_file"$$ &&
6694 mv -f "$cache_file"$$ "$cache_file" ;; #(
6696 mv -f confcache "$cache_file" ;;
6697 esac
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6702 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6705 rm -f confcache
6707 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6708 # Let make expand exec_prefix.
6709 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6711 DEFS=-DHAVE_CONFIG_H
6713 ac_libobjs=
6714 ac_ltlibobjs=
6716 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6717 # 1. Remove the extension, and $U if already installed.
6718 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6719 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6720 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6721 # will be set to the directory where LIBOBJS objects are built.
6722 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6723 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6724 done
6725 LIBOBJS=$ac_libobjs
6727 LTLIBOBJS=$ac_ltlibobjs
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6731 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6732 if test -n "$am_sleep_pid"; then
6733 # Hide warnings about reused PIDs.
6734 wait $am_sleep_pid 2>/dev/null
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6737 $as_echo "done" >&6; }
6738 if test -n "$EXEEXT"; then
6739 am__EXEEXT_TRUE=
6740 am__EXEEXT_FALSE='#'
6741 else
6742 am__EXEEXT_TRUE='#'
6743 am__EXEEXT_FALSE=
6746 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6747 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6750 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6751 as_fn_error $? "conditional \"AMDEP\" was never defined.
6752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6754 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6755 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6758 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6759 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6762 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6763 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6766 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
6767 as_fn_error $? "conditional \"WIN32\" was never defined.
6768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6770 if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then
6771 as_fn_error $? "conditional \"MINGW32\" was never defined.
6772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6774 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
6775 as_fn_error $? "conditional \"build\" was never defined.
6776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6779 : "${CONFIG_STATUS=./config.status}"
6780 ac_write_fail=0
6781 ac_clean_files_save=$ac_clean_files
6782 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6784 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6785 as_write_fail=0
6786 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6787 #! $SHELL
6788 # Generated by $as_me.
6789 # Run this file to recreate the current configuration.
6790 # Compiler output produced by configure, useful for debugging
6791 # configure, is in config.log if it exists.
6793 debug=false
6794 ac_cs_recheck=false
6795 ac_cs_silent=false
6797 SHELL=\${CONFIG_SHELL-$SHELL}
6798 export SHELL
6799 _ASEOF
6800 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6801 ## -------------------- ##
6802 ## M4sh Initialization. ##
6803 ## -------------------- ##
6805 # Be more Bourne compatible
6806 DUALCASE=1; export DUALCASE # for MKS sh
6807 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6808 emulate sh
6809 NULLCMD=:
6810 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6811 # is contrary to our usage. Disable this feature.
6812 alias -g '${1+"$@"}'='"$@"'
6813 setopt NO_GLOB_SUBST
6814 else
6815 case `(set -o) 2>/dev/null` in #(
6816 *posix*) :
6817 set -o posix ;; #(
6818 *) :
6820 esac
6824 as_nl='
6826 export as_nl
6827 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6828 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6829 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6830 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6831 # Prefer a ksh shell builtin over an external printf program on Solaris,
6832 # but without wasting forks for bash or zsh.
6833 if test -z "$BASH_VERSION$ZSH_VERSION" \
6834 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6835 as_echo='print -r --'
6836 as_echo_n='print -rn --'
6837 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6838 as_echo='printf %s\n'
6839 as_echo_n='printf %s'
6840 else
6841 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6842 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6843 as_echo_n='/usr/ucb/echo -n'
6844 else
6845 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6846 as_echo_n_body='eval
6847 arg=$1;
6848 case $arg in #(
6849 *"$as_nl"*)
6850 expr "X$arg" : "X\\(.*\\)$as_nl";
6851 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6852 esac;
6853 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6855 export as_echo_n_body
6856 as_echo_n='sh -c $as_echo_n_body as_echo'
6858 export as_echo_body
6859 as_echo='sh -c $as_echo_body as_echo'
6862 # The user is always right.
6863 if test "${PATH_SEPARATOR+set}" != set; then
6864 PATH_SEPARATOR=:
6865 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6866 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6867 PATH_SEPARATOR=';'
6872 # IFS
6873 # We need space, tab and new line, in precisely that order. Quoting is
6874 # there to prevent editors from complaining about space-tab.
6875 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6876 # splitting by setting IFS to empty value.)
6877 IFS=" "" $as_nl"
6879 # Find who we are. Look in the path if we contain no directory separator.
6880 as_myself=
6881 case $0 in #((
6882 *[\\/]* ) as_myself=$0 ;;
6883 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884 for as_dir in $PATH
6886 IFS=$as_save_IFS
6887 test -z "$as_dir" && as_dir=.
6888 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6889 done
6890 IFS=$as_save_IFS
6893 esac
6894 # We did not find ourselves, most probably we were run as `sh COMMAND'
6895 # in which case we are not to be found in the path.
6896 if test "x$as_myself" = x; then
6897 as_myself=$0
6899 if test ! -f "$as_myself"; then
6900 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6901 exit 1
6904 # Unset variables that we do not need and which cause bugs (e.g. in
6905 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6906 # suppresses any "Segmentation fault" message there. '((' could
6907 # trigger a bug in pdksh 5.2.14.
6908 for as_var in BASH_ENV ENV MAIL MAILPATH
6909 do eval test x\${$as_var+set} = xset \
6910 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6911 done
6912 PS1='$ '
6913 PS2='> '
6914 PS4='+ '
6916 # NLS nuisances.
6917 LC_ALL=C
6918 export LC_ALL
6919 LANGUAGE=C
6920 export LANGUAGE
6922 # CDPATH.
6923 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6926 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6927 # ----------------------------------------
6928 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6929 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6930 # script with STATUS, using 1 if that was 0.
6931 as_fn_error ()
6933 as_status=$1; test $as_status -eq 0 && as_status=1
6934 if test "$4"; then
6935 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6936 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6938 $as_echo "$as_me: error: $2" >&2
6939 as_fn_exit $as_status
6940 } # as_fn_error
6943 # as_fn_set_status STATUS
6944 # -----------------------
6945 # Set $? to STATUS, without forking.
6946 as_fn_set_status ()
6948 return $1
6949 } # as_fn_set_status
6951 # as_fn_exit STATUS
6952 # -----------------
6953 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6954 as_fn_exit ()
6956 set +e
6957 as_fn_set_status $1
6958 exit $1
6959 } # as_fn_exit
6961 # as_fn_unset VAR
6962 # ---------------
6963 # Portably unset VAR.
6964 as_fn_unset ()
6966 { eval $1=; unset $1;}
6968 as_unset=as_fn_unset
6969 # as_fn_append VAR VALUE
6970 # ----------------------
6971 # Append the text in VALUE to the end of the definition contained in VAR. Take
6972 # advantage of any shell optimizations that allow amortized linear growth over
6973 # repeated appends, instead of the typical quadratic growth present in naive
6974 # implementations.
6975 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6976 eval 'as_fn_append ()
6978 eval $1+=\$2
6980 else
6981 as_fn_append ()
6983 eval $1=\$$1\$2
6985 fi # as_fn_append
6987 # as_fn_arith ARG...
6988 # ------------------
6989 # Perform arithmetic evaluation on the ARGs, and store the result in the
6990 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6991 # must be portable across $(()) and expr.
6992 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6993 eval 'as_fn_arith ()
6995 as_val=$(( $* ))
6997 else
6998 as_fn_arith ()
7000 as_val=`expr "$@" || test $? -eq 1`
7002 fi # as_fn_arith
7005 if expr a : '\(a\)' >/dev/null 2>&1 &&
7006 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7007 as_expr=expr
7008 else
7009 as_expr=false
7012 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7013 as_basename=basename
7014 else
7015 as_basename=false
7018 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7019 as_dirname=dirname
7020 else
7021 as_dirname=false
7024 as_me=`$as_basename -- "$0" ||
7025 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7026 X"$0" : 'X\(//\)$' \| \
7027 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7028 $as_echo X/"$0" |
7029 sed '/^.*\/\([^/][^/]*\)\/*$/{
7030 s//\1/
7033 /^X\/\(\/\/\)$/{
7034 s//\1/
7037 /^X\/\(\/\).*/{
7038 s//\1/
7041 s/.*/./; q'`
7043 # Avoid depending upon Character Ranges.
7044 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7045 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7046 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7047 as_cr_digits='0123456789'
7048 as_cr_alnum=$as_cr_Letters$as_cr_digits
7050 ECHO_C= ECHO_N= ECHO_T=
7051 case `echo -n x` in #(((((
7052 -n*)
7053 case `echo 'xy\c'` in
7054 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7055 xy) ECHO_C='\c';;
7056 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7057 ECHO_T=' ';;
7058 esac;;
7060 ECHO_N='-n';;
7061 esac
7063 rm -f conf$$ conf$$.exe conf$$.file
7064 if test -d conf$$.dir; then
7065 rm -f conf$$.dir/conf$$.file
7066 else
7067 rm -f conf$$.dir
7068 mkdir conf$$.dir 2>/dev/null
7070 if (echo >conf$$.file) 2>/dev/null; then
7071 if ln -s conf$$.file conf$$ 2>/dev/null; then
7072 as_ln_s='ln -s'
7073 # ... but there are two gotchas:
7074 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7075 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7076 # In both cases, we have to default to `cp -pR'.
7077 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7078 as_ln_s='cp -pR'
7079 elif ln conf$$.file conf$$ 2>/dev/null; then
7080 as_ln_s=ln
7081 else
7082 as_ln_s='cp -pR'
7084 else
7085 as_ln_s='cp -pR'
7087 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7088 rmdir conf$$.dir 2>/dev/null
7091 # as_fn_mkdir_p
7092 # -------------
7093 # Create "$as_dir" as a directory, including parents if necessary.
7094 as_fn_mkdir_p ()
7097 case $as_dir in #(
7098 -*) as_dir=./$as_dir;;
7099 esac
7100 test -d "$as_dir" || eval $as_mkdir_p || {
7101 as_dirs=
7102 while :; do
7103 case $as_dir in #(
7104 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7105 *) as_qdir=$as_dir;;
7106 esac
7107 as_dirs="'$as_qdir' $as_dirs"
7108 as_dir=`$as_dirname -- "$as_dir" ||
7109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7110 X"$as_dir" : 'X\(//\)[^/]' \| \
7111 X"$as_dir" : 'X\(//\)$' \| \
7112 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7113 $as_echo X"$as_dir" |
7114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7115 s//\1/
7118 /^X\(\/\/\)[^/].*/{
7119 s//\1/
7122 /^X\(\/\/\)$/{
7123 s//\1/
7126 /^X\(\/\).*/{
7127 s//\1/
7130 s/.*/./; q'`
7131 test -d "$as_dir" && break
7132 done
7133 test -z "$as_dirs" || eval "mkdir $as_dirs"
7134 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7137 } # as_fn_mkdir_p
7138 if mkdir -p . 2>/dev/null; then
7139 as_mkdir_p='mkdir -p "$as_dir"'
7140 else
7141 test -d ./-p && rmdir ./-p
7142 as_mkdir_p=false
7146 # as_fn_executable_p FILE
7147 # -----------------------
7148 # Test if FILE is an executable regular file.
7149 as_fn_executable_p ()
7151 test -f "$1" && test -x "$1"
7152 } # as_fn_executable_p
7153 as_test_x='test -x'
7154 as_executable_p=as_fn_executable_p
7156 # Sed expression to map a string onto a valid CPP name.
7157 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7159 # Sed expression to map a string onto a valid variable name.
7160 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7163 exec 6>&1
7164 ## ----------------------------------- ##
7165 ## Main body of $CONFIG_STATUS script. ##
7166 ## ----------------------------------- ##
7167 _ASEOF
7168 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7171 # Save the log message, to keep $0 and so on meaningful, and to
7172 # report actual input values of CONFIG_FILES etc. instead of their
7173 # values after options handling.
7174 ac_log="
7175 This file was extended by poppler (TeX Live) $as_me 0.28.0, which was
7176 generated by GNU Autoconf 2.69. Invocation command line was
7178 CONFIG_FILES = $CONFIG_FILES
7179 CONFIG_HEADERS = $CONFIG_HEADERS
7180 CONFIG_LINKS = $CONFIG_LINKS
7181 CONFIG_COMMANDS = $CONFIG_COMMANDS
7182 $ $0 $@
7184 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7187 _ACEOF
7189 case $ac_config_files in *"
7190 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7191 esac
7193 case $ac_config_headers in *"
7194 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7195 esac
7198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7199 # Files that config.status was made for.
7200 config_files="$ac_config_files"
7201 config_headers="$ac_config_headers"
7202 config_commands="$ac_config_commands"
7204 _ACEOF
7206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7207 ac_cs_usage="\
7208 \`$as_me' instantiates files and other configuration actions
7209 from templates according to the current configuration. Unless the files
7210 and actions are specified as TAGs, all are instantiated by default.
7212 Usage: $0 [OPTION]... [TAG]...
7214 -h, --help print this help, then exit
7215 -V, --version print version number and configuration settings, then exit
7216 --config print configuration, then exit
7217 -q, --quiet, --silent
7218 do not print progress messages
7219 -d, --debug don't remove temporary files
7220 --recheck update $as_me by reconfiguring in the same conditions
7221 --file=FILE[:TEMPLATE]
7222 instantiate the configuration file FILE
7223 --header=FILE[:TEMPLATE]
7224 instantiate the configuration header FILE
7226 Configuration files:
7227 $config_files
7229 Configuration headers:
7230 $config_headers
7232 Configuration commands:
7233 $config_commands
7235 Report bugs to <tex-k@tug.org>."
7237 _ACEOF
7238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7239 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7240 ac_cs_version="\\
7241 poppler (TeX Live) config.status 0.28.0
7242 configured by $0, generated by GNU Autoconf 2.69,
7243 with options \\"\$ac_cs_config\\"
7245 Copyright (C) 2012 Free Software Foundation, Inc.
7246 This config.status script is free software; the Free Software Foundation
7247 gives unlimited permission to copy, distribute and modify it."
7249 ac_pwd='$ac_pwd'
7250 srcdir='$srcdir'
7251 INSTALL='$INSTALL'
7252 MKDIR_P='$MKDIR_P'
7253 AWK='$AWK'
7254 test -n "\$AWK" || AWK=awk
7255 _ACEOF
7257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7258 # The default lists apply if the user does not specify any file.
7259 ac_need_defaults=:
7260 while test $# != 0
7262 case $1 in
7263 --*=?*)
7264 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7265 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7266 ac_shift=:
7268 --*=)
7269 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7270 ac_optarg=
7271 ac_shift=:
7274 ac_option=$1
7275 ac_optarg=$2
7276 ac_shift=shift
7278 esac
7280 case $ac_option in
7281 # Handling of the options.
7282 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7283 ac_cs_recheck=: ;;
7284 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7285 $as_echo "$ac_cs_version"; exit ;;
7286 --config | --confi | --conf | --con | --co | --c )
7287 $as_echo "$ac_cs_config"; exit ;;
7288 --debug | --debu | --deb | --de | --d | -d )
7289 debug=: ;;
7290 --file | --fil | --fi | --f )
7291 $ac_shift
7292 case $ac_optarg in
7293 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7294 '') as_fn_error $? "missing file argument" ;;
7295 esac
7296 as_fn_append CONFIG_FILES " '$ac_optarg'"
7297 ac_need_defaults=false;;
7298 --header | --heade | --head | --hea )
7299 $ac_shift
7300 case $ac_optarg in
7301 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7302 esac
7303 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7304 ac_need_defaults=false;;
7305 --he | --h)
7306 # Conflict between --help and --header
7307 as_fn_error $? "ambiguous option: \`$1'
7308 Try \`$0 --help' for more information.";;
7309 --help | --hel | -h )
7310 $as_echo "$ac_cs_usage"; exit ;;
7311 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7312 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7313 ac_cs_silent=: ;;
7315 # This is an error.
7316 -*) as_fn_error $? "unrecognized option: \`$1'
7317 Try \`$0 --help' for more information." ;;
7319 *) as_fn_append ac_config_targets " $1"
7320 ac_need_defaults=false ;;
7322 esac
7323 shift
7324 done
7326 ac_configure_extra_args=
7328 if $ac_cs_silent; then
7329 exec 6>/dev/null
7330 ac_configure_extra_args="$ac_configure_extra_args --silent"
7333 _ACEOF
7334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7335 if \$ac_cs_recheck; then
7336 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7337 shift
7338 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7339 CONFIG_SHELL='$SHELL'
7340 export CONFIG_SHELL
7341 exec "\$@"
7344 _ACEOF
7345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7346 exec 5>>config.log
7348 echo
7349 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7350 ## Running $as_me. ##
7351 _ASBOX
7352 $as_echo "$ac_log"
7353 } >&5
7355 _ACEOF
7356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7358 # INIT-COMMANDS
7360 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7362 _ACEOF
7364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7366 # Handling of arguments.
7367 for ac_config_target in $ac_config_targets
7369 case $ac_config_target in
7370 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7371 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7372 "poppler-config.h") CONFIG_HEADERS="$CONFIG_HEADERS poppler-config.h:poppler-0.28.0/poppler/poppler-config.h.in" ;;
7373 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7374 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
7375 "include/goo/Makefile") CONFIG_FILES="$CONFIG_FILES include/goo/Makefile" ;;
7376 "include/fofi/Makefile") CONFIG_FILES="$CONFIG_FILES include/fofi/Makefile" ;;
7378 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7379 esac
7380 done
7383 # If the user did not use the arguments to specify the items to instantiate,
7384 # then the envvar interface is used. Set only those that are not.
7385 # We use the long form for the default assignment because of an extremely
7386 # bizarre bug on SunOS 4.1.3.
7387 if $ac_need_defaults; then
7388 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7389 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7390 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7393 # Have a temporary directory for convenience. Make it in the build tree
7394 # simply because there is no reason against having it here, and in addition,
7395 # creating and moving files from /tmp can sometimes cause problems.
7396 # Hook for its removal unless debugging.
7397 # Note that there is a small window in which the directory will not be cleaned:
7398 # after its creation but before its name has been assigned to `$tmp'.
7399 $debug ||
7401 tmp= ac_tmp=
7402 trap 'exit_status=$?
7403 : "${ac_tmp:=$tmp}"
7404 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7406 trap 'as_fn_exit 1' 1 2 13 15
7408 # Create a (secure) tmp directory for tmp files.
7411 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7412 test -d "$tmp"
7413 } ||
7415 tmp=./conf$$-$RANDOM
7416 (umask 077 && mkdir "$tmp")
7417 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7418 ac_tmp=$tmp
7420 # Set up the scripts for CONFIG_FILES section.
7421 # No need to generate them if there are no CONFIG_FILES.
7422 # This happens for instance with `./config.status config.h'.
7423 if test -n "$CONFIG_FILES"; then
7426 ac_cr=`echo X | tr X '\015'`
7427 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7428 # But we know of no other shell where ac_cr would be empty at this
7429 # point, so we can use a bashism as a fallback.
7430 if test "x$ac_cr" = x; then
7431 eval ac_cr=\$\'\\r\'
7433 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7434 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7435 ac_cs_awk_cr='\\r'
7436 else
7437 ac_cs_awk_cr=$ac_cr
7440 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7441 _ACEOF
7445 echo "cat >conf$$subs.awk <<_ACEOF" &&
7446 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7447 echo "_ACEOF"
7448 } >conf$$subs.sh ||
7449 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7450 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7451 ac_delim='%!_!# '
7452 for ac_last_try in false false false false false :; do
7453 . ./conf$$subs.sh ||
7454 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7456 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7457 if test $ac_delim_n = $ac_delim_num; then
7458 break
7459 elif $ac_last_try; then
7460 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7461 else
7462 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7464 done
7465 rm -f conf$$subs.sh
7467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7468 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7469 _ACEOF
7470 sed -n '
7472 s/^/S["/; s/!.*/"]=/
7475 s/^[^!]*!//
7476 :repl
7477 t repl
7478 s/'"$ac_delim"'$//
7479 t delim
7482 s/\(.\{148\}\)..*/\1/
7483 t more1
7484 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7487 b repl
7488 :more1
7489 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7492 s/.\{148\}//
7493 t nl
7494 :delim
7496 s/\(.\{148\}\)..*/\1/
7497 t more2
7498 s/["\\]/\\&/g; s/^/"/; s/$/"/
7501 :more2
7502 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7505 s/.\{148\}//
7506 t delim
7507 ' <conf$$subs.awk | sed '
7508 /^[^""]/{
7510 s/\n//
7512 ' >>$CONFIG_STATUS || ac_write_fail=1
7513 rm -f conf$$subs.awk
7514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7515 _ACAWK
7516 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7517 for (key in S) S_is_set[key] = 1
7518 FS = "\a"
7522 line = $ 0
7523 nfields = split(line, field, "@")
7524 substed = 0
7525 len = length(field[1])
7526 for (i = 2; i < nfields; i++) {
7527 key = field[i]
7528 keylen = length(key)
7529 if (S_is_set[key]) {
7530 value = S[key]
7531 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7532 len += length(value) + length(field[++i])
7533 substed = 1
7534 } else
7535 len += 1 + keylen
7538 print line
7541 _ACAWK
7542 _ACEOF
7543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7544 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7545 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7546 else
7548 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7549 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7550 _ACEOF
7552 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7553 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7554 # trailing colons and then remove the whole line if VPATH becomes empty
7555 # (actually we leave an empty line to preserve line numbers).
7556 if test "x$srcdir" = x.; then
7557 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7559 s///
7560 s/^/:/
7561 s/[ ]*$/:/
7562 s/:\$(srcdir):/:/g
7563 s/:\${srcdir}:/:/g
7564 s/:@srcdir@:/:/g
7565 s/^:*//
7566 s/:*$//
7568 s/\(=[ ]*\).*/\1/
7570 s/\n//
7571 s/^[^=]*=[ ]*$//
7575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7576 fi # test -n "$CONFIG_FILES"
7578 # Set up the scripts for CONFIG_HEADERS section.
7579 # No need to generate them if there are no CONFIG_HEADERS.
7580 # This happens for instance with `./config.status Makefile'.
7581 if test -n "$CONFIG_HEADERS"; then
7582 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7583 BEGIN {
7584 _ACEOF
7586 # Transform confdefs.h into an awk script `defines.awk', embedded as
7587 # here-document in config.status, that substitutes the proper values into
7588 # config.h.in to produce config.h.
7590 # Create a delimiter string that does not exist in confdefs.h, to ease
7591 # handling of long lines.
7592 ac_delim='%!_!# '
7593 for ac_last_try in false false :; do
7594 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7595 if test -z "$ac_tt"; then
7596 break
7597 elif $ac_last_try; then
7598 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7599 else
7600 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7602 done
7604 # For the awk script, D is an array of macro values keyed by name,
7605 # likewise P contains macro parameters if any. Preserve backslash
7606 # newline sequences.
7608 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7609 sed -n '
7610 s/.\{148\}/&'"$ac_delim"'/g
7611 t rset
7612 :rset
7613 s/^[ ]*#[ ]*define[ ][ ]*/ /
7614 t def
7616 :def
7617 s/\\$//
7618 t bsnl
7619 s/["\\]/\\&/g
7620 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7621 D["\1"]=" \3"/p
7622 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7624 :bsnl
7625 s/["\\]/\\&/g
7626 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7627 D["\1"]=" \3\\\\\\n"\\/p
7628 t cont
7629 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7630 t cont
7632 :cont
7634 s/.\{148\}/&'"$ac_delim"'/g
7635 t clear
7636 :clear
7637 s/\\$//
7638 t bsnlc
7639 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7641 :bsnlc
7642 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7643 b cont
7644 ' <confdefs.h | sed '
7645 s/'"$ac_delim"'/"\\\
7646 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7649 for (key in D) D_is_set[key] = 1
7650 FS = "\a"
7652 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7653 line = \$ 0
7654 split(line, arg, " ")
7655 if (arg[1] == "#") {
7656 defundef = arg[2]
7657 mac1 = arg[3]
7658 } else {
7659 defundef = substr(arg[1], 2)
7660 mac1 = arg[2]
7662 split(mac1, mac2, "(") #)
7663 macro = mac2[1]
7664 prefix = substr(line, 1, index(line, defundef) - 1)
7665 if (D_is_set[macro]) {
7666 # Preserve the white space surrounding the "#".
7667 print prefix "define", macro P[macro] D[macro]
7668 next
7669 } else {
7670 # Replace #undef with comments. This is necessary, for example,
7671 # in the case of _POSIX_SOURCE, which is predefined and required
7672 # on some systems where configure will not decide to define it.
7673 if (defundef == "undef") {
7674 print "/*", prefix defundef, macro, "*/"
7675 next
7679 { print }
7680 _ACAWK
7681 _ACEOF
7682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7683 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7684 fi # test -n "$CONFIG_HEADERS"
7687 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7688 shift
7689 for ac_tag
7691 case $ac_tag in
7692 :[FHLC]) ac_mode=$ac_tag; continue;;
7693 esac
7694 case $ac_mode$ac_tag in
7695 :[FHL]*:*);;
7696 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7697 :[FH]-) ac_tag=-:-;;
7698 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7699 esac
7700 ac_save_IFS=$IFS
7701 IFS=:
7702 set x $ac_tag
7703 IFS=$ac_save_IFS
7704 shift
7705 ac_file=$1
7706 shift
7708 case $ac_mode in
7709 :L) ac_source=$1;;
7710 :[FH])
7711 ac_file_inputs=
7712 for ac_f
7714 case $ac_f in
7715 -) ac_f="$ac_tmp/stdin";;
7716 *) # Look for the file first in the build tree, then in the source tree
7717 # (if the path is not absolute). The absolute path cannot be DOS-style,
7718 # because $ac_f cannot contain `:'.
7719 test -f "$ac_f" ||
7720 case $ac_f in
7721 [\\/$]*) false;;
7722 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7723 esac ||
7724 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7725 esac
7726 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7727 as_fn_append ac_file_inputs " '$ac_f'"
7728 done
7730 # Let's still pretend it is `configure' which instantiates (i.e., don't
7731 # use $as_me), people would be surprised to read:
7732 # /* config.h. Generated by config.status. */
7733 configure_input='Generated from '`
7734 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7735 `' by configure.'
7736 if test x"$ac_file" != x-; then
7737 configure_input="$ac_file. $configure_input"
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7739 $as_echo "$as_me: creating $ac_file" >&6;}
7741 # Neutralize special characters interpreted by sed in replacement strings.
7742 case $configure_input in #(
7743 *\&* | *\|* | *\\* )
7744 ac_sed_conf_input=`$as_echo "$configure_input" |
7745 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7746 *) ac_sed_conf_input=$configure_input;;
7747 esac
7749 case $ac_tag in
7750 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7751 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7752 esac
7754 esac
7756 ac_dir=`$as_dirname -- "$ac_file" ||
7757 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7758 X"$ac_file" : 'X\(//\)[^/]' \| \
7759 X"$ac_file" : 'X\(//\)$' \| \
7760 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7761 $as_echo X"$ac_file" |
7762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7763 s//\1/
7766 /^X\(\/\/\)[^/].*/{
7767 s//\1/
7770 /^X\(\/\/\)$/{
7771 s//\1/
7774 /^X\(\/\).*/{
7775 s//\1/
7778 s/.*/./; q'`
7779 as_dir="$ac_dir"; as_fn_mkdir_p
7780 ac_builddir=.
7782 case "$ac_dir" in
7783 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7785 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7786 # A ".." for each directory in $ac_dir_suffix.
7787 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7788 case $ac_top_builddir_sub in
7789 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7790 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7791 esac ;;
7792 esac
7793 ac_abs_top_builddir=$ac_pwd
7794 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7795 # for backward compatibility:
7796 ac_top_builddir=$ac_top_build_prefix
7798 case $srcdir in
7799 .) # We are building in place.
7800 ac_srcdir=.
7801 ac_top_srcdir=$ac_top_builddir_sub
7802 ac_abs_top_srcdir=$ac_pwd ;;
7803 [\\/]* | ?:[\\/]* ) # Absolute name.
7804 ac_srcdir=$srcdir$ac_dir_suffix;
7805 ac_top_srcdir=$srcdir
7806 ac_abs_top_srcdir=$srcdir ;;
7807 *) # Relative name.
7808 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7809 ac_top_srcdir=$ac_top_build_prefix$srcdir
7810 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7811 esac
7812 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7815 case $ac_mode in
7818 # CONFIG_FILE
7821 case $INSTALL in
7822 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7823 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7824 esac
7825 ac_MKDIR_P=$MKDIR_P
7826 case $MKDIR_P in
7827 [\\/$]* | ?:[\\/]* ) ;;
7828 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7829 esac
7830 _ACEOF
7832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7833 # If the template does not know about datarootdir, expand it.
7834 # FIXME: This hack should be removed a few years after 2.60.
7835 ac_datarootdir_hack=; ac_datarootdir_seen=
7836 ac_sed_dataroot='
7837 /datarootdir/ {
7841 /@datadir@/p
7842 /@docdir@/p
7843 /@infodir@/p
7844 /@localedir@/p
7845 /@mandir@/p'
7846 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7847 *datarootdir*) ac_datarootdir_seen=yes;;
7848 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7850 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7851 _ACEOF
7852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7853 ac_datarootdir_hack='
7854 s&@datadir@&$datadir&g
7855 s&@docdir@&$docdir&g
7856 s&@infodir@&$infodir&g
7857 s&@localedir@&$localedir&g
7858 s&@mandir@&$mandir&g
7859 s&\\\${datarootdir}&$datarootdir&g' ;;
7860 esac
7861 _ACEOF
7863 # Neutralize VPATH when `$srcdir' = `.'.
7864 # Shell code in configure.ac might set extrasub.
7865 # FIXME: do we really want to maintain this feature?
7866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7867 ac_sed_extra="$ac_vpsub
7868 $extrasub
7869 _ACEOF
7870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7872 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7873 s|@configure_input@|$ac_sed_conf_input|;t t
7874 s&@top_builddir@&$ac_top_builddir_sub&;t t
7875 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7876 s&@srcdir@&$ac_srcdir&;t t
7877 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7878 s&@top_srcdir@&$ac_top_srcdir&;t t
7879 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7880 s&@builddir@&$ac_builddir&;t t
7881 s&@abs_builddir@&$ac_abs_builddir&;t t
7882 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7883 s&@INSTALL@&$ac_INSTALL&;t t
7884 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7885 $ac_datarootdir_hack
7887 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7888 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7890 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7891 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7892 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7893 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7895 which seems to be undefined. Please make sure it is defined" >&5
7896 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7897 which seems to be undefined. Please make sure it is defined" >&2;}
7899 rm -f "$ac_tmp/stdin"
7900 case $ac_file in
7901 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7902 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7903 esac \
7904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7908 # CONFIG_HEADER
7910 if test x"$ac_file" != x-; then
7912 $as_echo "/* $configure_input */" \
7913 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7914 } >"$ac_tmp/config.h" \
7915 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7916 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7918 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7919 else
7920 rm -f "$ac_file"
7921 mv "$ac_tmp/config.h" "$ac_file" \
7922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7924 else
7925 $as_echo "/* $configure_input */" \
7926 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7927 || as_fn_error $? "could not create -" "$LINENO" 5
7929 # Compute "$ac_file"'s index in $config_headers.
7930 _am_arg="$ac_file"
7931 _am_stamp_count=1
7932 for _am_header in $config_headers :; do
7933 case $_am_header in
7934 $_am_arg | $_am_arg:* )
7935 break ;;
7937 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7938 esac
7939 done
7940 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7941 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7942 X"$_am_arg" : 'X\(//\)[^/]' \| \
7943 X"$_am_arg" : 'X\(//\)$' \| \
7944 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7945 $as_echo X"$_am_arg" |
7946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7947 s//\1/
7950 /^X\(\/\/\)[^/].*/{
7951 s//\1/
7954 /^X\(\/\/\)$/{
7955 s//\1/
7958 /^X\(\/\).*/{
7959 s//\1/
7962 s/.*/./; q'`/stamp-h$_am_stamp_count
7965 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7966 $as_echo "$as_me: executing $ac_file commands" >&6;}
7968 esac
7971 case $ac_file$ac_mode in
7972 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7973 # Older Autoconf quotes --file arguments for eval, but not when files
7974 # are listed without --file. Let's play safe and only enable the eval
7975 # if we detect the quoting.
7976 case $CONFIG_FILES in
7977 *\'*) eval set x "$CONFIG_FILES" ;;
7978 *) set x $CONFIG_FILES ;;
7979 esac
7980 shift
7981 for mf
7983 # Strip MF so we end up with the name of the file.
7984 mf=`echo "$mf" | sed -e 's/:.*$//'`
7985 # Check whether this is an Automake generated Makefile or not.
7986 # We used to match only the files named 'Makefile.in', but
7987 # some people rename them; so instead we look at the file content.
7988 # Grep'ing the first line is not enough: some people post-process
7989 # each Makefile.in and add a new line on top of each file to say so.
7990 # Grep'ing the whole file is not good either: AIX grep has a line
7991 # limit of 2048, but all sed's we know have understand at least 4000.
7992 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7993 dirpart=`$as_dirname -- "$mf" ||
7994 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7995 X"$mf" : 'X\(//\)[^/]' \| \
7996 X"$mf" : 'X\(//\)$' \| \
7997 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7998 $as_echo X"$mf" |
7999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8000 s//\1/
8003 /^X\(\/\/\)[^/].*/{
8004 s//\1/
8007 /^X\(\/\/\)$/{
8008 s//\1/
8011 /^X\(\/\).*/{
8012 s//\1/
8015 s/.*/./; q'`
8016 else
8017 continue
8019 # Extract the definition of DEPDIR, am__include, and am__quote
8020 # from the Makefile without running 'make'.
8021 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8022 test -z "$DEPDIR" && continue
8023 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8024 test -z "$am__include" && continue
8025 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8026 # Find all dependency output files, they are included files with
8027 # $(DEPDIR) in their names. We invoke sed twice because it is the
8028 # simplest approach to changing $(DEPDIR) to its actual value in the
8029 # expansion.
8030 for file in `sed -n "
8031 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8032 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8033 # Make sure the directory exists.
8034 test -f "$dirpart/$file" && continue
8035 fdir=`$as_dirname -- "$file" ||
8036 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8037 X"$file" : 'X\(//\)[^/]' \| \
8038 X"$file" : 'X\(//\)$' \| \
8039 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8040 $as_echo X"$file" |
8041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8042 s//\1/
8045 /^X\(\/\/\)[^/].*/{
8046 s//\1/
8049 /^X\(\/\/\)$/{
8050 s//\1/
8053 /^X\(\/\).*/{
8054 s//\1/
8057 s/.*/./; q'`
8058 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8059 # echo "creating $dirpart/$file"
8060 echo '# dummy' > "$dirpart/$file"
8061 done
8062 done
8066 esac
8067 done # for ac_tag
8070 as_fn_exit 0
8071 _ACEOF
8072 ac_clean_files=$ac_clean_files_save
8074 test $ac_write_fail = 0 ||
8075 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8078 # configure is writing to config.log, and then calls config.status.
8079 # config.status does its own redirection, appending to config.log.
8080 # Unfortunately, on DOS this fails, as config.log is still kept open
8081 # by configure, so config.status won't be able to write to it; its
8082 # output is simply discarded. So we exec the FD to /dev/null,
8083 # effectively closing config.log, so it can be properly (re)opened and
8084 # appended to by config.status. When coming back to configure, we
8085 # need to make the FD available again.
8086 if test "$no_create" != yes; then
8087 ac_cs_success=:
8088 ac_config_status_args=
8089 test "$silent" = yes &&
8090 ac_config_status_args="$ac_config_status_args --quiet"
8091 exec 5>/dev/null
8092 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8093 exec 5>>config.log
8094 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8095 # would make configure fail if this is the last instruction.
8096 $ac_cs_success || as_fn_exit 1
8098 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8100 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}