sinc with TL rev. 38618.
[luatex.git] / source / libs / poppler / configure
blob8ae39948f727e72a3d1c8cfb5817b6662124eadc
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.37.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.37.0'
584 PACKAGE_STRING='poppler (TeX Live) 0.37.0'
585 PACKAGE_BUGREPORT='tex-k@tug.org'
586 PACKAGE_URL=''
588 ac_unique_file="poppler-0.37.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 VISIBILITY_CXXFLAGS
645 VISIBILITY_CFLAGS
646 LN_S
647 RANLIB
648 WARNING_CXXFLAGS
649 am__fastdepCXX_FALSE
650 am__fastdepCXX_TRUE
651 CXXDEPMODE
652 ac_ct_CXX
653 CXXFLAGS
655 WARNING_CFLAGS
656 am__fastdepCC_FALSE
657 am__fastdepCC_TRUE
658 CCDEPMODE
659 am__nodep
660 AMDEPBACKSLASH
661 AMDEP_FALSE
662 AMDEP_TRUE
663 am__quote
664 am__include
665 DEPDIR
666 OBJEXT
667 EXEEXT
668 ac_ct_CC
669 CPPFLAGS
670 LDFLAGS
671 CFLAGS
673 MAINT
674 MAINTAINER_MODE_FALSE
675 MAINTAINER_MODE_TRUE
676 AM_BACKSLASH
677 AM_DEFAULT_VERBOSITY
678 AM_DEFAULT_V
679 AM_V
680 am__untar
681 am__tar
682 AMTAR
683 am__leading_dot
684 SET_MAKE
686 mkdir_p
687 MKDIR_P
688 INSTALL_STRIP_PROGRAM
689 STRIP
690 install_sh
691 MAKEINFO
692 AUTOHEADER
693 AUTOMAKE
694 AUTOCONF
695 ACLOCAL
696 VERSION
697 PACKAGE
698 CYGPATH_W
699 am__isrc
700 INSTALL_DATA
701 INSTALL_SCRIPT
702 INSTALL_PROGRAM
703 target_alias
704 host_alias
705 build_alias
706 LIBS
707 ECHO_T
708 ECHO_N
709 ECHO_C
710 DEFS
711 mandir
712 localedir
713 libdir
714 psdir
715 pdfdir
716 dvidir
717 htmldir
718 infodir
719 docdir
720 oldincludedir
721 includedir
722 localstatedir
723 sharedstatedir
724 sysconfdir
725 datadir
726 datarootdir
727 libexecdir
728 sbindir
729 bindir
730 program_transform_name
731 prefix
732 exec_prefix
733 PACKAGE_URL
734 PACKAGE_BUGREPORT
735 PACKAGE_STRING
736 PACKAGE_VERSION
737 PACKAGE_TARNAME
738 PACKAGE_NAME
739 PATH_SEPARATOR
740 SHELL'
741 ac_subst_files=''
742 ac_user_opts='
743 enable_option_checking
744 enable_silent_rules
745 enable_maintainer_mode
746 enable_dependency_tracking
747 enable_compiler_warnings
748 enable_opi
749 enable_multithreaded
750 enable_exceptions
751 enable_fixedpoint
752 enable_largefile
753 with_system_zlib
754 with_zlib_includes
755 with_zlib_libdir
757 ac_precious_vars='build_alias
758 host_alias
759 target_alias
761 CFLAGS
762 LDFLAGS
763 LIBS
764 CPPFLAGS
766 CXXFLAGS
768 CPP'
771 # Initialize some variables set by options.
772 ac_init_help=
773 ac_init_version=false
774 ac_unrecognized_opts=
775 ac_unrecognized_sep=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
778 cache_file=/dev/null
779 exec_prefix=NONE
780 no_create=
781 no_recursion=
782 prefix=NONE
783 program_prefix=NONE
784 program_suffix=NONE
785 program_transform_name=s,x,x,
786 silent=
787 site=
788 srcdir=
789 verbose=
790 x_includes=NONE
791 x_libraries=NONE
793 # Installation directory options.
794 # These are left unexpanded so users can "make install exec_prefix=/foo"
795 # and all the variables that are supposed to be based on exec_prefix
796 # by default will actually change.
797 # Use braces instead of parens because sh, perl, etc. also accept them.
798 # (The list follows the same order as the GNU Coding Standards.)
799 bindir='${exec_prefix}/bin'
800 sbindir='${exec_prefix}/sbin'
801 libexecdir='${exec_prefix}/libexec'
802 datarootdir='${prefix}/share'
803 datadir='${datarootdir}'
804 sysconfdir='${prefix}/etc'
805 sharedstatedir='${prefix}/com'
806 localstatedir='${prefix}/var'
807 includedir='${prefix}/include'
808 oldincludedir='/usr/include'
809 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
810 infodir='${datarootdir}/info'
811 htmldir='${docdir}'
812 dvidir='${docdir}'
813 pdfdir='${docdir}'
814 psdir='${docdir}'
815 libdir='${exec_prefix}/lib'
816 localedir='${datarootdir}/locale'
817 mandir='${datarootdir}/man'
819 ac_prev=
820 ac_dashdash=
821 for ac_option
823 # If the previous option needs an argument, assign it.
824 if test -n "$ac_prev"; then
825 eval $ac_prev=\$ac_option
826 ac_prev=
827 continue
830 case $ac_option in
831 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 *=) ac_optarg= ;;
833 *) ac_optarg=yes ;;
834 esac
836 # Accept the important Cygnus configure options, so we can diagnose typos.
838 case $ac_dashdash$ac_option in
840 ac_dashdash=yes ;;
842 -bindir | --bindir | --bindi | --bind | --bin | --bi)
843 ac_prev=bindir ;;
844 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
845 bindir=$ac_optarg ;;
847 -build | --build | --buil | --bui | --bu)
848 ac_prev=build_alias ;;
849 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
850 build_alias=$ac_optarg ;;
852 -cache-file | --cache-file | --cache-fil | --cache-fi \
853 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
854 ac_prev=cache_file ;;
855 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
856 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
857 cache_file=$ac_optarg ;;
859 --config-cache | -C)
860 cache_file=config.cache ;;
862 -datadir | --datadir | --datadi | --datad)
863 ac_prev=datadir ;;
864 -datadir=* | --datadir=* | --datadi=* | --datad=*)
865 datadir=$ac_optarg ;;
867 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
868 | --dataroo | --dataro | --datar)
869 ac_prev=datarootdir ;;
870 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
871 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
872 datarootdir=$ac_optarg ;;
874 -disable-* | --disable-*)
875 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878 as_fn_error $? "invalid feature name: $ac_useropt"
879 ac_useropt_orig=$ac_useropt
880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
883 "enable_$ac_useropt"
884 "*) ;;
885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
886 ac_unrecognized_sep=', ';;
887 esac
888 eval enable_$ac_useropt=no ;;
890 -docdir | --docdir | --docdi | --doc | --do)
891 ac_prev=docdir ;;
892 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
893 docdir=$ac_optarg ;;
895 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
896 ac_prev=dvidir ;;
897 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
898 dvidir=$ac_optarg ;;
900 -enable-* | --enable-*)
901 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904 as_fn_error $? "invalid feature name: $ac_useropt"
905 ac_useropt_orig=$ac_useropt
906 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
909 "enable_$ac_useropt"
910 "*) ;;
911 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
912 ac_unrecognized_sep=', ';;
913 esac
914 eval enable_$ac_useropt=\$ac_optarg ;;
916 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
917 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
918 | --exec | --exe | --ex)
919 ac_prev=exec_prefix ;;
920 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
921 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
922 | --exec=* | --exe=* | --ex=*)
923 exec_prefix=$ac_optarg ;;
925 -gas | --gas | --ga | --g)
926 # Obsolete; use --with-gas.
927 with_gas=yes ;;
929 -help | --help | --hel | --he | -h)
930 ac_init_help=long ;;
931 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
932 ac_init_help=recursive ;;
933 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
934 ac_init_help=short ;;
936 -host | --host | --hos | --ho)
937 ac_prev=host_alias ;;
938 -host=* | --host=* | --hos=* | --ho=*)
939 host_alias=$ac_optarg ;;
941 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
942 ac_prev=htmldir ;;
943 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
944 | --ht=*)
945 htmldir=$ac_optarg ;;
947 -includedir | --includedir | --includedi | --included | --include \
948 | --includ | --inclu | --incl | --inc)
949 ac_prev=includedir ;;
950 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
951 | --includ=* | --inclu=* | --incl=* | --inc=*)
952 includedir=$ac_optarg ;;
954 -infodir | --infodir | --infodi | --infod | --info | --inf)
955 ac_prev=infodir ;;
956 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
957 infodir=$ac_optarg ;;
959 -libdir | --libdir | --libdi | --libd)
960 ac_prev=libdir ;;
961 -libdir=* | --libdir=* | --libdi=* | --libd=*)
962 libdir=$ac_optarg ;;
964 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
965 | --libexe | --libex | --libe)
966 ac_prev=libexecdir ;;
967 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
968 | --libexe=* | --libex=* | --libe=*)
969 libexecdir=$ac_optarg ;;
971 -localedir | --localedir | --localedi | --localed | --locale)
972 ac_prev=localedir ;;
973 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
974 localedir=$ac_optarg ;;
976 -localstatedir | --localstatedir | --localstatedi | --localstated \
977 | --localstate | --localstat | --localsta | --localst | --locals)
978 ac_prev=localstatedir ;;
979 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
980 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
981 localstatedir=$ac_optarg ;;
983 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
984 ac_prev=mandir ;;
985 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
986 mandir=$ac_optarg ;;
988 -nfp | --nfp | --nf)
989 # Obsolete; use --without-fp.
990 with_fp=no ;;
992 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
993 | --no-cr | --no-c | -n)
994 no_create=yes ;;
996 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
997 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
998 no_recursion=yes ;;
1000 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1001 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1002 | --oldin | --oldi | --old | --ol | --o)
1003 ac_prev=oldincludedir ;;
1004 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1005 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1006 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1007 oldincludedir=$ac_optarg ;;
1009 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1010 ac_prev=prefix ;;
1011 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1012 prefix=$ac_optarg ;;
1014 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1015 | --program-pre | --program-pr | --program-p)
1016 ac_prev=program_prefix ;;
1017 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1018 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1019 program_prefix=$ac_optarg ;;
1021 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1022 | --program-suf | --program-su | --program-s)
1023 ac_prev=program_suffix ;;
1024 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1025 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1026 program_suffix=$ac_optarg ;;
1028 -program-transform-name | --program-transform-name \
1029 | --program-transform-nam | --program-transform-na \
1030 | --program-transform-n | --program-transform- \
1031 | --program-transform | --program-transfor \
1032 | --program-transfo | --program-transf \
1033 | --program-trans | --program-tran \
1034 | --progr-tra | --program-tr | --program-t)
1035 ac_prev=program_transform_name ;;
1036 -program-transform-name=* | --program-transform-name=* \
1037 | --program-transform-nam=* | --program-transform-na=* \
1038 | --program-transform-n=* | --program-transform-=* \
1039 | --program-transform=* | --program-transfor=* \
1040 | --program-transfo=* | --program-transf=* \
1041 | --program-trans=* | --program-tran=* \
1042 | --progr-tra=* | --program-tr=* | --program-t=*)
1043 program_transform_name=$ac_optarg ;;
1045 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1046 ac_prev=pdfdir ;;
1047 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1048 pdfdir=$ac_optarg ;;
1050 -psdir | --psdir | --psdi | --psd | --ps)
1051 ac_prev=psdir ;;
1052 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1053 psdir=$ac_optarg ;;
1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056 | -silent | --silent | --silen | --sile | --sil)
1057 silent=yes ;;
1059 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1060 ac_prev=sbindir ;;
1061 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1062 | --sbi=* | --sb=*)
1063 sbindir=$ac_optarg ;;
1065 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1066 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1067 | --sharedst | --shareds | --shared | --share | --shar \
1068 | --sha | --sh)
1069 ac_prev=sharedstatedir ;;
1070 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1071 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1072 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1073 | --sha=* | --sh=*)
1074 sharedstatedir=$ac_optarg ;;
1076 -site | --site | --sit)
1077 ac_prev=site ;;
1078 -site=* | --site=* | --sit=*)
1079 site=$ac_optarg ;;
1081 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1082 ac_prev=srcdir ;;
1083 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1084 srcdir=$ac_optarg ;;
1086 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1087 | --syscon | --sysco | --sysc | --sys | --sy)
1088 ac_prev=sysconfdir ;;
1089 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1090 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1091 sysconfdir=$ac_optarg ;;
1093 -target | --target | --targe | --targ | --tar | --ta | --t)
1094 ac_prev=target_alias ;;
1095 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1096 target_alias=$ac_optarg ;;
1098 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1099 verbose=yes ;;
1101 -version | --version | --versio | --versi | --vers | -V)
1102 ac_init_version=: ;;
1104 -with-* | --with-*)
1105 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108 as_fn_error $? "invalid package name: $ac_useropt"
1109 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1113 "with_$ac_useropt"
1114 "*) ;;
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1117 esac
1118 eval with_$ac_useropt=\$ac_optarg ;;
1120 -without-* | --without-*)
1121 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124 as_fn_error $? "invalid package name: $ac_useropt"
1125 ac_useropt_orig=$ac_useropt
1126 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1129 "with_$ac_useropt"
1130 "*) ;;
1131 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1132 ac_unrecognized_sep=', ';;
1133 esac
1134 eval with_$ac_useropt=no ;;
1136 --x)
1137 # Obsolete; use --with-x.
1138 with_x=yes ;;
1140 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1141 | --x-incl | --x-inc | --x-in | --x-i)
1142 ac_prev=x_includes ;;
1143 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1144 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1145 x_includes=$ac_optarg ;;
1147 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1148 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1149 ac_prev=x_libraries ;;
1150 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1151 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1152 x_libraries=$ac_optarg ;;
1154 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1155 Try \`$0 --help' for more information"
1158 *=*)
1159 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 case $ac_envvar in #(
1162 '' | [0-9]* | *[!_$as_cr_alnum]* )
1163 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1164 esac
1165 eval $ac_envvar=\$ac_optarg
1166 export $ac_envvar ;;
1169 # FIXME: should be removed in autoconf 3.0.
1170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1176 esac
1177 done
1179 if test -n "$ac_prev"; then
1180 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1181 as_fn_error $? "missing argument to $ac_option"
1184 if test -n "$ac_unrecognized_opts"; then
1185 case $enable_option_checking in
1186 no) ;;
1187 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1189 esac
1192 # Check all directory arguments for consistency.
1193 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194 datadir sysconfdir sharedstatedir localstatedir includedir \
1195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196 libdir localedir mandir
1198 eval ac_val=\$$ac_var
1199 # Remove trailing slashes.
1200 case $ac_val in
1201 */ )
1202 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1203 eval $ac_var=\$ac_val;;
1204 esac
1205 # Be sure to have absolute directory names.
1206 case $ac_val in
1207 [\\/$]* | ?:[\\/]* ) continue;;
1208 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1209 esac
1210 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1211 done
1213 # There might be people who depend on the old broken behavior: `$host'
1214 # used to hold the argument of --host etc.
1215 # FIXME: To remove some day.
1216 build=$build_alias
1217 host=$host_alias
1218 target=$target_alias
1220 # FIXME: To remove some day.
1221 if test "x$host_alias" != x; then
1222 if test "x$build_alias" = x; then
1223 cross_compiling=maybe
1224 elif test "x$build_alias" != "x$host_alias"; then
1225 cross_compiling=yes
1229 ac_tool_prefix=
1230 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1232 test "$silent" = yes && exec 6>/dev/null
1235 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1236 ac_ls_di=`ls -di .` &&
1237 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1238 as_fn_error $? "working directory cannot be determined"
1239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1240 as_fn_error $? "pwd does not report name of working directory"
1243 # Find the source files, if location was not specified.
1244 if test -z "$srcdir"; then
1245 ac_srcdir_defaulted=yes
1246 # Try the directory containing this script, then the parent directory.
1247 ac_confdir=`$as_dirname -- "$as_myself" ||
1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249 X"$as_myself" : 'X\(//\)[^/]' \| \
1250 X"$as_myself" : 'X\(//\)$' \| \
1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252 $as_echo X"$as_myself" |
1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254 s//\1/
1257 /^X\(\/\/\)[^/].*/{
1258 s//\1/
1261 /^X\(\/\/\)$/{
1262 s//\1/
1265 /^X\(\/\).*/{
1266 s//\1/
1269 s/.*/./; q'`
1270 srcdir=$ac_confdir
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1272 srcdir=..
1274 else
1275 ac_srcdir_defaulted=no
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1279 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1281 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1282 ac_abs_confdir=`(
1283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1284 pwd)`
1285 # When building in place, set srcdir=.
1286 if test "$ac_abs_confdir" = "$ac_pwd"; then
1287 srcdir=.
1289 # Remove unnecessary trailing slashes from srcdir.
1290 # Double slashes in file names in object file debugging info
1291 # mess up M-x gdb in Emacs.
1292 case $srcdir in
1293 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1294 esac
1295 for ac_var in $ac_precious_vars; do
1296 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1297 eval ac_env_${ac_var}_value=\$${ac_var}
1298 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1299 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1300 done
1303 # Report the --help message.
1305 if test "$ac_init_help" = "long"; then
1306 # Omit some internal or obsolete options to make the list less imposing.
1307 # This message is too long to be a string in the A/UX 3.1 sh.
1308 cat <<_ACEOF
1309 \`configure' configures poppler (TeX Live) 0.37.0 to adapt to many kinds of systems.
1311 Usage: $0 [OPTION]... [VAR=VALUE]...
1313 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1314 VAR=VALUE. See below for descriptions of some of the useful variables.
1316 Defaults for the options are specified in brackets.
1318 Configuration:
1319 -h, --help display this help and exit
1320 --help=short display options specific to this package
1321 --help=recursive display the short help of all the included packages
1322 -V, --version display version information and exit
1323 -q, --quiet, --silent do not print \`checking ...' messages
1324 --cache-file=FILE cache test results in FILE [disabled]
1325 -C, --config-cache alias for \`--cache-file=config.cache'
1326 -n, --no-create do not create output files
1327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1329 Installation directories:
1330 --prefix=PREFIX install architecture-independent files in PREFIX
1331 [$ac_default_prefix]
1332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1333 [PREFIX]
1335 By default, \`make install' will install all the files in
1336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1338 for instance \`--prefix=\$HOME'.
1340 For better control, use the options below.
1342 Fine tuning of the installation directories:
1343 --bindir=DIR user executables [EPREFIX/bin]
1344 --sbindir=DIR system admin executables [EPREFIX/sbin]
1345 --libexecdir=DIR program executables [EPREFIX/libexec]
1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1349 --libdir=DIR object code libraries [EPREFIX/lib]
1350 --includedir=DIR C header files [PREFIX/include]
1351 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1354 --infodir=DIR info documentation [DATAROOTDIR/info]
1355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1356 --mandir=DIR man documentation [DATAROOTDIR/man]
1357 --docdir=DIR documentation root
1358 [DATAROOTDIR/doc/poppler--tex-live-]
1359 --htmldir=DIR html documentation [DOCDIR]
1360 --dvidir=DIR dvi documentation [DOCDIR]
1361 --pdfdir=DIR pdf documentation [DOCDIR]
1362 --psdir=DIR ps documentation [DOCDIR]
1363 _ACEOF
1365 cat <<\_ACEOF
1367 Program names:
1368 --program-prefix=PREFIX prepend PREFIX to installed program names
1369 --program-suffix=SUFFIX append SUFFIX to installed program names
1370 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1371 _ACEOF
1374 if test -n "$ac_init_help"; then
1375 case $ac_init_help in
1376 short | recursive ) echo "Configuration of poppler (TeX Live) 0.37.0:";;
1377 esac
1378 cat <<\_ACEOF
1380 Optional Features:
1381 --disable-option-checking ignore unrecognized --enable/--with options
1382 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1383 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1384 --enable-silent-rules less verbose build output (undo: "make V=1")
1385 --disable-silent-rules verbose build output (undo: "make V=0")
1386 --enable-maintainer-mode
1387 enable make rules and dependencies not useful (and
1388 sometimes confusing) to the casual installer
1389 --enable-dependency-tracking
1390 do not reject slow dependency extractors
1391 --disable-dependency-tracking
1392 speeds up one-time build
1393 --enable-compiler-warnings=[no|min|yes|max|all]
1394 Turn on compiler warnings [default: yes if
1395 maintainer-mode, min otherwise]
1396 --enable-opi include support for OPI comments
1397 --enable-multithreaded include support for multithreading
1398 --enable-exceptions use C++ exceptions
1399 --enable-fixedpoint use fixed point (instead of floating point)
1400 arithmetic
1401 --disable-largefile omit support for large files
1403 Optional Packages:
1404 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1405 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1406 --with-system-zlib use installed zlib headers and library
1407 --with-zlib-includes=DIR
1408 zlib headers installed in DIR
1409 --with-zlib-libdir=DIR zlib library installed in DIR
1411 Some influential environment variables:
1412 CC C compiler command
1413 CFLAGS C compiler flags
1414 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1415 nonstandard directory <lib dir>
1416 LIBS libraries to pass to the linker, e.g. -l<library>
1417 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1418 you have headers in a nonstandard directory <include dir>
1419 CXX C++ compiler command
1420 CXXFLAGS C++ compiler flags
1421 CPP C preprocessor
1423 Use these variables to override the choices made by `configure' or to help
1424 it to find libraries and programs with nonstandard names/locations.
1426 Report bugs to <tex-k@tug.org>.
1427 _ACEOF
1428 ac_status=$?
1431 if test "$ac_init_help" = "recursive"; then
1432 # If there are subdirs, report their specific --help.
1433 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1434 test -d "$ac_dir" ||
1435 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1436 continue
1437 ac_builddir=.
1439 case "$ac_dir" in
1440 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1442 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1443 # A ".." for each directory in $ac_dir_suffix.
1444 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1445 case $ac_top_builddir_sub in
1446 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1448 esac ;;
1449 esac
1450 ac_abs_top_builddir=$ac_pwd
1451 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1452 # for backward compatibility:
1453 ac_top_builddir=$ac_top_build_prefix
1455 case $srcdir in
1456 .) # We are building in place.
1457 ac_srcdir=.
1458 ac_top_srcdir=$ac_top_builddir_sub
1459 ac_abs_top_srcdir=$ac_pwd ;;
1460 [\\/]* | ?:[\\/]* ) # Absolute name.
1461 ac_srcdir=$srcdir$ac_dir_suffix;
1462 ac_top_srcdir=$srcdir
1463 ac_abs_top_srcdir=$srcdir ;;
1464 *) # Relative name.
1465 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1466 ac_top_srcdir=$ac_top_build_prefix$srcdir
1467 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1468 esac
1469 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1471 cd "$ac_dir" || { ac_status=$?; continue; }
1472 # Check for guested configure.
1473 if test -f "$ac_srcdir/configure.gnu"; then
1474 echo &&
1475 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1476 elif test -f "$ac_srcdir/configure"; then
1477 echo &&
1478 $SHELL "$ac_srcdir/configure" --help=recursive
1479 else
1480 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1481 fi || ac_status=$?
1482 cd "$ac_pwd" || { ac_status=$?; break; }
1483 done
1486 test -n "$ac_init_help" && exit $ac_status
1487 if $ac_init_version; then
1488 cat <<\_ACEOF
1489 poppler (TeX Live) configure 0.37.0
1490 generated by GNU Autoconf 2.69
1492 Copyright (C) 2012 Free Software Foundation, Inc.
1493 This configure script is free software; the Free Software Foundation
1494 gives unlimited permission to copy, distribute and modify it.
1495 _ACEOF
1496 exit
1499 ## ------------------------ ##
1500 ## Autoconf initialization. ##
1501 ## ------------------------ ##
1503 # ac_fn_c_try_compile LINENO
1504 # --------------------------
1505 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1506 ac_fn_c_try_compile ()
1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509 rm -f conftest.$ac_objext
1510 if { { ac_try="$ac_compile"
1511 case "(($ac_try" in
1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1513 *) ac_try_echo=$ac_try;;
1514 esac
1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516 $as_echo "$ac_try_echo"; } >&5
1517 (eval "$ac_compile") 2>conftest.err
1518 ac_status=$?
1519 if test -s conftest.err; then
1520 grep -v '^ *+' conftest.err >conftest.er1
1521 cat conftest.er1 >&5
1522 mv -f conftest.er1 conftest.err
1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; } && {
1526 test -z "$ac_c_werror_flag" ||
1527 test ! -s conftest.err
1528 } && test -s conftest.$ac_objext; then :
1529 ac_retval=0
1530 else
1531 $as_echo "$as_me: failed program was:" >&5
1532 sed 's/^/| /' conftest.$ac_ext >&5
1534 ac_retval=1
1536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1537 as_fn_set_status $ac_retval
1539 } # ac_fn_c_try_compile
1541 # ac_fn_c_try_link LINENO
1542 # -----------------------
1543 # Try to link conftest.$ac_ext, and return whether this succeeded.
1544 ac_fn_c_try_link ()
1546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1547 rm -f conftest.$ac_objext conftest$ac_exeext
1548 if { { ac_try="$ac_link"
1549 case "(($ac_try" in
1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551 *) ac_try_echo=$ac_try;;
1552 esac
1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_link") 2>conftest.err
1556 ac_status=$?
1557 if test -s conftest.err; then
1558 grep -v '^ *+' conftest.err >conftest.er1
1559 cat conftest.er1 >&5
1560 mv -f conftest.er1 conftest.err
1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563 test $ac_status = 0; } && {
1564 test -z "$ac_c_werror_flag" ||
1565 test ! -s conftest.err
1566 } && test -s conftest$ac_exeext && {
1567 test "$cross_compiling" = yes ||
1568 test -x conftest$ac_exeext
1569 }; then :
1570 ac_retval=0
1571 else
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1575 ac_retval=1
1577 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1578 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1579 # interfere with the next link command; also delete a directory that is
1580 # left behind by Apple's compiler. We do this before executing the actions.
1581 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1583 as_fn_set_status $ac_retval
1585 } # ac_fn_c_try_link
1587 # ac_fn_cxx_try_compile LINENO
1588 # ----------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_cxx_try_compile ()
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext
1594 if { { ac_try="$ac_compile"
1595 case "(($ac_try" in
1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1598 esac
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_compile") 2>conftest.err
1602 ac_status=$?
1603 if test -s conftest.err; then
1604 grep -v '^ *+' conftest.err >conftest.er1
1605 cat conftest.er1 >&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_cxx_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest.$ac_objext; then :
1613 ac_retval=0
1614 else
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1618 ac_retval=1
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status $ac_retval
1623 } # ac_fn_cxx_try_compile
1625 # ac_fn_c_try_run LINENO
1626 # ----------------------
1627 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1628 # that executables *can* be run.
1629 ac_fn_c_try_run ()
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 if { { ac_try="$ac_link"
1633 case "(($ac_try" in
1634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1636 esac
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_link") 2>&5
1640 ac_status=$?
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1643 { { case "(($ac_try" in
1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1646 esac
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_try") 2>&5
1650 ac_status=$?
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; }; }; then :
1653 ac_retval=0
1654 else
1655 $as_echo "$as_me: program exited with status $ac_status" >&5
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1659 ac_retval=$ac_status
1661 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663 as_fn_set_status $ac_retval
1665 } # ac_fn_c_try_run
1667 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1668 # --------------------------------------------
1669 # Tries to find the compile-time value of EXPR in a program that includes
1670 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1671 # computed
1672 ac_fn_c_compute_int ()
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if test "$cross_compiling" = yes; then
1676 # Depending upon the size, compute the lo and hi bounds.
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1681 main ()
1683 static int test_array [1 - 2 * !(($2) >= 0)];
1684 test_array [0] = 0;
1685 return test_array [0];
1688 return 0;
1690 _ACEOF
1691 if ac_fn_c_try_compile "$LINENO"; then :
1692 ac_lo=0 ac_mid=0
1693 while :; do
1694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1698 main ()
1700 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1701 test_array [0] = 0;
1702 return test_array [0];
1705 return 0;
1707 _ACEOF
1708 if ac_fn_c_try_compile "$LINENO"; then :
1709 ac_hi=$ac_mid; break
1710 else
1711 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1712 if test $ac_lo -le $ac_mid; then
1713 ac_lo= ac_hi=
1714 break
1716 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1719 done
1720 else
1721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722 /* end confdefs.h. */
1725 main ()
1727 static int test_array [1 - 2 * !(($2) < 0)];
1728 test_array [0] = 0;
1729 return test_array [0];
1732 return 0;
1734 _ACEOF
1735 if ac_fn_c_try_compile "$LINENO"; then :
1736 ac_hi=-1 ac_mid=-1
1737 while :; do
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1739 /* end confdefs.h. */
1742 main ()
1744 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1745 test_array [0] = 0;
1746 return test_array [0];
1749 return 0;
1751 _ACEOF
1752 if ac_fn_c_try_compile "$LINENO"; then :
1753 ac_lo=$ac_mid; break
1754 else
1755 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1756 if test $ac_mid -le $ac_hi; then
1757 ac_lo= ac_hi=
1758 break
1760 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1763 done
1764 else
1765 ac_lo= ac_hi=
1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 # Binary search between lo and hi bounds.
1771 while test "x$ac_lo" != "x$ac_hi"; do
1772 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1777 main ()
1779 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1780 test_array [0] = 0;
1781 return test_array [0];
1784 return 0;
1786 _ACEOF
1787 if ac_fn_c_try_compile "$LINENO"; then :
1788 ac_hi=$ac_mid
1789 else
1790 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1793 done
1794 case $ac_lo in #((
1795 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1796 '') ac_retval=1 ;;
1797 esac
1798 else
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1802 static long int longval () { return $2; }
1803 static unsigned long int ulongval () { return $2; }
1804 #include <stdio.h>
1805 #include <stdlib.h>
1807 main ()
1810 FILE *f = fopen ("conftest.val", "w");
1811 if (! f)
1812 return 1;
1813 if (($2) < 0)
1815 long int i = longval ();
1816 if (i != ($2))
1817 return 1;
1818 fprintf (f, "%ld", i);
1820 else
1822 unsigned long int i = ulongval ();
1823 if (i != ($2))
1824 return 1;
1825 fprintf (f, "%lu", i);
1827 /* Do not output a trailing newline, as this causes \r\n confusion
1828 on some platforms. */
1829 return ferror (f) || fclose (f) != 0;
1832 return 0;
1834 _ACEOF
1835 if ac_fn_c_try_run "$LINENO"; then :
1836 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1837 else
1838 ac_retval=1
1840 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1841 conftest.$ac_objext conftest.beam conftest.$ac_ext
1842 rm -f conftest.val
1845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 as_fn_set_status $ac_retval
1848 } # ac_fn_c_compute_int
1850 # ac_fn_c_try_cpp LINENO
1851 # ----------------------
1852 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1853 ac_fn_c_try_cpp ()
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 if { { ac_try="$ac_cpp conftest.$ac_ext"
1857 case "(($ac_try" in
1858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1859 *) ac_try_echo=$ac_try;;
1860 esac
1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1864 ac_status=$?
1865 if test -s conftest.err; then
1866 grep -v '^ *+' conftest.err >conftest.er1
1867 cat conftest.er1 >&5
1868 mv -f conftest.er1 conftest.err
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; } > conftest.i && {
1872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1873 test ! -s conftest.err
1874 }; then :
1875 ac_retval=0
1876 else
1877 $as_echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.$ac_ext >&5
1880 ac_retval=1
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 as_fn_set_status $ac_retval
1885 } # ac_fn_c_try_cpp
1887 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1888 # -------------------------------------------------------
1889 # Tests whether HEADER exists and can be compiled using the include files in
1890 # INCLUDES, setting the cache variable VAR accordingly.
1891 ac_fn_c_check_header_compile ()
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895 $as_echo_n "checking for $2... " >&6; }
1896 if eval \${$3+:} false; then :
1897 $as_echo_n "(cached) " >&6
1898 else
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1902 #include <$2>
1903 _ACEOF
1904 if ac_fn_c_try_compile "$LINENO"; then :
1905 eval "$3=yes"
1906 else
1907 eval "$3=no"
1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 eval ac_res=\$$3
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1913 $as_echo "$ac_res" >&6; }
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916 } # ac_fn_c_check_header_compile
1918 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1919 # -------------------------------------------------------
1920 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1921 # the include files in INCLUDES and setting the cache variable VAR
1922 # accordingly.
1923 ac_fn_c_check_header_mongrel ()
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 if eval \${$3+:} false; then :
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if eval \${$3+:} false; then :
1930 $as_echo_n "(cached) " >&6
1932 eval ac_res=\$$3
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935 else
1936 # Is the header compilable?
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1938 $as_echo_n "checking $2 usability... " >&6; }
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1942 #include <$2>
1943 _ACEOF
1944 if ac_fn_c_try_compile "$LINENO"; then :
1945 ac_header_compiler=yes
1946 else
1947 ac_header_compiler=no
1949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1951 $as_echo "$ac_header_compiler" >&6; }
1953 # Is the header present?
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1955 $as_echo_n "checking $2 presence... " >&6; }
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1958 #include <$2>
1959 _ACEOF
1960 if ac_fn_c_try_cpp "$LINENO"; then :
1961 ac_header_preproc=yes
1962 else
1963 ac_header_preproc=no
1965 rm -f conftest.err conftest.i conftest.$ac_ext
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1967 $as_echo "$ac_header_preproc" >&6; }
1969 # So? What about this header?
1970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1971 yes:no: )
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1973 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1975 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1977 no:yes:* )
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1979 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1981 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1983 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1985 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1987 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1988 ( $as_echo "## ---------------------------- ##
1989 ## Report this to tex-k@tug.org ##
1990 ## ---------------------------- ##"
1991 ) | sed "s/^/$as_me: WARNING: /" >&2
1993 esac
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1995 $as_echo_n "checking for $2... " >&6; }
1996 if eval \${$3+:} false; then :
1997 $as_echo_n "(cached) " >&6
1998 else
1999 eval "$3=\$ac_header_compiler"
2001 eval ac_res=\$$3
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2003 $as_echo "$ac_res" >&6; }
2005 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007 } # ac_fn_c_check_header_mongrel
2009 # ac_fn_c_check_func LINENO FUNC VAR
2010 # ----------------------------------
2011 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2012 ac_fn_c_check_func ()
2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016 $as_echo_n "checking for $2... " >&6; }
2017 if eval \${$3+:} false; then :
2018 $as_echo_n "(cached) " >&6
2019 else
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2022 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2024 #define $2 innocuous_$2
2026 /* System header to define __stub macros and hopefully few prototypes,
2027 which can conflict with char $2 (); below.
2028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2029 <limits.h> exists even on freestanding compilers. */
2031 #ifdef __STDC__
2032 # include <limits.h>
2033 #else
2034 # include <assert.h>
2035 #endif
2037 #undef $2
2039 /* Override any GCC internal prototype to avoid an error.
2040 Use char because int might match the return type of a GCC
2041 builtin and then its argument prototype would still apply. */
2042 #ifdef __cplusplus
2043 extern "C"
2044 #endif
2045 char $2 ();
2046 /* The GNU C library defines this for functions which it implements
2047 to always fail with ENOSYS. Some functions are actually named
2048 something starting with __ and the normal name is an alias. */
2049 #if defined __stub_$2 || defined __stub___$2
2050 choke me
2051 #endif
2054 main ()
2056 return $2 ();
2058 return 0;
2060 _ACEOF
2061 if ac_fn_c_try_link "$LINENO"; then :
2062 eval "$3=yes"
2063 else
2064 eval "$3=no"
2066 rm -f core conftest.err conftest.$ac_objext \
2067 conftest$ac_exeext conftest.$ac_ext
2069 eval ac_res=\$$3
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 } # ac_fn_c_check_func
2075 cat >config.log <<_ACEOF
2076 This file contains any messages produced by compilers while
2077 running configure, to aid debugging if configure makes a mistake.
2079 It was created by poppler (TeX Live) $as_me 0.37.0, which was
2080 generated by GNU Autoconf 2.69. Invocation command line was
2082 $ $0 $@
2084 _ACEOF
2085 exec 5>>config.log
2087 cat <<_ASUNAME
2088 ## --------- ##
2089 ## Platform. ##
2090 ## --------- ##
2092 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2093 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2094 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2095 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2096 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2098 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2099 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2101 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2102 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2103 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2104 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2105 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2106 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2107 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2109 _ASUNAME
2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112 for as_dir in $PATH
2114 IFS=$as_save_IFS
2115 test -z "$as_dir" && as_dir=.
2116 $as_echo "PATH: $as_dir"
2117 done
2118 IFS=$as_save_IFS
2120 } >&5
2122 cat >&5 <<_ACEOF
2125 ## ----------- ##
2126 ## Core tests. ##
2127 ## ----------- ##
2129 _ACEOF
2132 # Keep a trace of the command line.
2133 # Strip out --no-create and --no-recursion so they do not pile up.
2134 # Strip out --silent because we don't want to record it for future runs.
2135 # Also quote any args containing shell meta-characters.
2136 # Make two passes to allow for proper duplicate-argument suppression.
2137 ac_configure_args=
2138 ac_configure_args0=
2139 ac_configure_args1=
2140 ac_must_keep_next=false
2141 for ac_pass in 1 2
2143 for ac_arg
2145 case $ac_arg in
2146 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2148 | -silent | --silent | --silen | --sile | --sil)
2149 continue ;;
2150 *\'*)
2151 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2152 esac
2153 case $ac_pass in
2154 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2156 as_fn_append ac_configure_args1 " '$ac_arg'"
2157 if test $ac_must_keep_next = true; then
2158 ac_must_keep_next=false # Got value, back to normal.
2159 else
2160 case $ac_arg in
2161 *=* | --config-cache | -C | -disable-* | --disable-* \
2162 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2163 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2164 | -with-* | --with-* | -without-* | --without-* | --x)
2165 case "$ac_configure_args0 " in
2166 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2167 esac
2169 -* ) ac_must_keep_next=true ;;
2170 esac
2172 as_fn_append ac_configure_args " '$ac_arg'"
2174 esac
2175 done
2176 done
2177 { ac_configure_args0=; unset ac_configure_args0;}
2178 { ac_configure_args1=; unset ac_configure_args1;}
2180 # When interrupted or exit'd, cleanup temporary files, and complete
2181 # config.log. We remove comments because anyway the quotes in there
2182 # would cause problems or look ugly.
2183 # WARNING: Use '\'' to represent an apostrophe within the trap.
2184 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2185 trap 'exit_status=$?
2186 # Save into config.log some information that might help in debugging.
2188 echo
2190 $as_echo "## ---------------- ##
2191 ## Cache variables. ##
2192 ## ---------------- ##"
2193 echo
2194 # The following way of writing the cache mishandles newlines in values,
2196 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2197 eval ac_val=\$$ac_var
2198 case $ac_val in #(
2199 *${as_nl}*)
2200 case $ac_var in #(
2201 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2202 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2203 esac
2204 case $ac_var in #(
2205 _ | IFS | as_nl) ;; #(
2206 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2207 *) { eval $ac_var=; unset $ac_var;} ;;
2208 esac ;;
2209 esac
2210 done
2211 (set) 2>&1 |
2212 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2213 *${as_nl}ac_space=\ *)
2214 sed -n \
2215 "s/'\''/'\''\\\\'\'''\''/g;
2216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2217 ;; #(
2219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2221 esac |
2222 sort
2224 echo
2226 $as_echo "## ----------------- ##
2227 ## Output variables. ##
2228 ## ----------------- ##"
2229 echo
2230 for ac_var in $ac_subst_vars
2232 eval ac_val=\$$ac_var
2233 case $ac_val in
2234 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2235 esac
2236 $as_echo "$ac_var='\''$ac_val'\''"
2237 done | sort
2238 echo
2240 if test -n "$ac_subst_files"; then
2241 $as_echo "## ------------------- ##
2242 ## File substitutions. ##
2243 ## ------------------- ##"
2244 echo
2245 for ac_var in $ac_subst_files
2247 eval ac_val=\$$ac_var
2248 case $ac_val in
2249 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2250 esac
2251 $as_echo "$ac_var='\''$ac_val'\''"
2252 done | sort
2253 echo
2256 if test -s confdefs.h; then
2257 $as_echo "## ----------- ##
2258 ## confdefs.h. ##
2259 ## ----------- ##"
2260 echo
2261 cat confdefs.h
2262 echo
2264 test "$ac_signal" != 0 &&
2265 $as_echo "$as_me: caught signal $ac_signal"
2266 $as_echo "$as_me: exit $exit_status"
2267 } >&5
2268 rm -f core *.core core.conftest.* &&
2269 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2270 exit $exit_status
2272 for ac_signal in 1 2 13 15; do
2273 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2274 done
2275 ac_signal=0
2277 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2278 rm -f -r conftest* confdefs.h
2280 $as_echo "/* confdefs.h */" > confdefs.h
2282 # Predefined preprocessor variables.
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_NAME "$PACKAGE_NAME"
2286 _ACEOF
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2290 _ACEOF
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2294 _ACEOF
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_STRING "$PACKAGE_STRING"
2298 _ACEOF
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 _ACEOF
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_URL "$PACKAGE_URL"
2306 _ACEOF
2309 # Let the site file select an alternate cache file if it wants to.
2310 # Prefer an explicitly selected file to automatically selected ones.
2311 ac_site_file1=NONE
2312 ac_site_file2=NONE
2313 if test -n "$CONFIG_SITE"; then
2314 # We do not want a PATH search for config.site.
2315 case $CONFIG_SITE in #((
2316 -*) ac_site_file1=./$CONFIG_SITE;;
2317 */*) ac_site_file1=$CONFIG_SITE;;
2318 *) ac_site_file1=./$CONFIG_SITE;;
2319 esac
2320 elif test "x$prefix" != xNONE; then
2321 ac_site_file1=$prefix/share/config.site
2322 ac_site_file2=$prefix/etc/config.site
2323 else
2324 ac_site_file1=$ac_default_prefix/share/config.site
2325 ac_site_file2=$ac_default_prefix/etc/config.site
2327 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2329 test "x$ac_site_file" = xNONE && continue
2330 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2332 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2333 sed 's/^/| /' "$ac_site_file" >&5
2334 . "$ac_site_file" \
2335 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2337 as_fn_error $? "failed to load site script $ac_site_file
2338 See \`config.log' for more details" "$LINENO" 5; }
2340 done
2342 if test -r "$cache_file"; then
2343 # Some versions of bash will fail to source /dev/null (special files
2344 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2345 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2347 $as_echo "$as_me: loading cache $cache_file" >&6;}
2348 case $cache_file in
2349 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2350 *) . "./$cache_file";;
2351 esac
2353 else
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2355 $as_echo "$as_me: creating cache $cache_file" >&6;}
2356 >$cache_file
2359 # Check that the precious variables saved in the cache have kept the same
2360 # value.
2361 ac_cache_corrupted=false
2362 for ac_var in $ac_precious_vars; do
2363 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2364 eval ac_new_set=\$ac_env_${ac_var}_set
2365 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2366 eval ac_new_val=\$ac_env_${ac_var}_value
2367 case $ac_old_set,$ac_new_set in
2368 set,)
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2370 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2371 ac_cache_corrupted=: ;;
2372 ,set)
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2374 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2375 ac_cache_corrupted=: ;;
2376 ,);;
2378 if test "x$ac_old_val" != "x$ac_new_val"; then
2379 # differences in whitespace do not lead to failure.
2380 ac_old_val_w=`echo x $ac_old_val`
2381 ac_new_val_w=`echo x $ac_new_val`
2382 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2384 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2385 ac_cache_corrupted=:
2386 else
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2388 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2389 eval $ac_var=\$ac_old_val
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2392 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2394 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2395 fi;;
2396 esac
2397 # Pass precious variables to config.status.
2398 if test "$ac_new_set" = set; then
2399 case $ac_new_val in
2400 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2401 *) ac_arg=$ac_var=$ac_new_val ;;
2402 esac
2403 case " $ac_configure_args " in
2404 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2405 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2406 esac
2408 done
2409 if $ac_cache_corrupted; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2413 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2414 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2416 ## -------------------- ##
2417 ## Main body of script. ##
2418 ## -------------------- ##
2420 ac_ext=c
2421 ac_cpp='$CPP $CPPFLAGS'
2422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2429 ac_aux_dir=
2430 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2431 if test -f "$ac_dir/install-sh"; then
2432 ac_aux_dir=$ac_dir
2433 ac_install_sh="$ac_aux_dir/install-sh -c"
2434 break
2435 elif test -f "$ac_dir/install.sh"; then
2436 ac_aux_dir=$ac_dir
2437 ac_install_sh="$ac_aux_dir/install.sh -c"
2438 break
2439 elif test -f "$ac_dir/shtool"; then
2440 ac_aux_dir=$ac_dir
2441 ac_install_sh="$ac_aux_dir/shtool install -c"
2442 break
2444 done
2445 if test -z "$ac_aux_dir"; then
2446 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2449 # These three variables are undocumented and unsupported,
2450 # and are intended to be withdrawn in a future Autoconf release.
2451 # They can cause serious problems if a builder's source tree is in a directory
2452 # whose full name contains unusual characters.
2453 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2454 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2455 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2460 am__api_version='1.15'
2462 # Find a good install program. We prefer a C program (faster),
2463 # so one script is as good as another. But avoid the broken or
2464 # incompatible versions:
2465 # SysV /etc/install, /usr/sbin/install
2466 # SunOS /usr/etc/install
2467 # IRIX /sbin/install
2468 # AIX /bin/install
2469 # AmigaOS /C/install, which installs bootblocks on floppy discs
2470 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2471 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2472 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2473 # OS/2's system install, which has a completely different semantic
2474 # ./install, which can be erroneously created by make from ./install.sh.
2475 # Reject install programs that cannot install multiple files.
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2477 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2478 if test -z "$INSTALL"; then
2479 if ${ac_cv_path_install+:} false; then :
2480 $as_echo_n "(cached) " >&6
2481 else
2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2483 for as_dir in $PATH
2485 IFS=$as_save_IFS
2486 test -z "$as_dir" && as_dir=.
2487 # Account for people who put trailing slashes in PATH elements.
2488 case $as_dir/ in #((
2489 ./ | .// | /[cC]/* | \
2490 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2491 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2492 /usr/ucb/* ) ;;
2494 # OSF1 and SCO ODT 3.0 have their own names for install.
2495 # Don't use installbsd from OSF since it installs stuff as root
2496 # by default.
2497 for ac_prog in ginstall scoinst install; do
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2500 if test $ac_prog = install &&
2501 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2502 # AIX install. It has an incompatible calling convention.
2504 elif test $ac_prog = install &&
2505 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2506 # program-specific install script used by HP pwplus--don't use.
2508 else
2509 rm -rf conftest.one conftest.two conftest.dir
2510 echo one > conftest.one
2511 echo two > conftest.two
2512 mkdir conftest.dir
2513 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2514 test -s conftest.one && test -s conftest.two &&
2515 test -s conftest.dir/conftest.one &&
2516 test -s conftest.dir/conftest.two
2517 then
2518 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2519 break 3
2523 done
2524 done
2526 esac
2528 done
2529 IFS=$as_save_IFS
2531 rm -rf conftest.one conftest.two conftest.dir
2534 if test "${ac_cv_path_install+set}" = set; then
2535 INSTALL=$ac_cv_path_install
2536 else
2537 # As a last resort, use the slow shell script. Don't cache a
2538 # value for INSTALL within a source directory, because that will
2539 # break other packages using the cache if that directory is
2540 # removed, or if the value is a relative name.
2541 INSTALL=$ac_install_sh
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2545 $as_echo "$INSTALL" >&6; }
2547 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2548 # It thinks the first close brace ends the variable substitution.
2549 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2551 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2553 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2556 $as_echo_n "checking whether build environment is sane... " >&6; }
2557 # Reject unsafe characters in $srcdir or the absolute working directory
2558 # name. Accept space and tab only in the latter.
2559 am_lf='
2561 case `pwd` in
2562 *[\\\"\#\$\&\'\`$am_lf]*)
2563 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2564 esac
2565 case $srcdir in
2566 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2567 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2568 esac
2570 # Do 'set' in a subshell so we don't clobber the current shell's
2571 # arguments. Must try -L first in case configure is actually a
2572 # symlink; some systems play weird games with the mod time of symlinks
2573 # (eg FreeBSD returns the mod time of the symlink's containing
2574 # directory).
2575 if (
2576 am_has_slept=no
2577 for am_try in 1 2; do
2578 echo "timestamp, slept: $am_has_slept" > conftest.file
2579 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2580 if test "$*" = "X"; then
2581 # -L didn't work.
2582 set X `ls -t "$srcdir/configure" conftest.file`
2584 if test "$*" != "X $srcdir/configure conftest.file" \
2585 && test "$*" != "X conftest.file $srcdir/configure"; then
2587 # If neither matched, then we have a broken ls. This can happen
2588 # if, for instance, CONFIG_SHELL is bash and it inherits a
2589 # broken ls alias from the environment. This has actually
2590 # happened. Such a system could not be considered "sane".
2591 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2592 alias in your environment" "$LINENO" 5
2594 if test "$2" = conftest.file || test $am_try -eq 2; then
2595 break
2597 # Just in case.
2598 sleep 1
2599 am_has_slept=yes
2600 done
2601 test "$2" = conftest.file
2603 then
2604 # Ok.
2606 else
2607 as_fn_error $? "newly created file is older than distributed files!
2608 Check your system clock" "$LINENO" 5
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2611 $as_echo "yes" >&6; }
2612 # If we didn't sleep, we still need to ensure time stamps of config.status and
2613 # generated files are strictly newer.
2614 am_sleep_pid=
2615 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2616 ( sleep 1 ) &
2617 am_sleep_pid=$!
2620 rm -f conftest.file
2622 test "$program_prefix" != NONE &&
2623 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2624 # Use a double $ so make ignores it.
2625 test "$program_suffix" != NONE &&
2626 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2627 # Double any \ or $.
2628 # By default was `s,x,x', remove it if useless.
2629 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2630 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2632 # Expand $ac_aux_dir to an absolute path.
2633 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2635 if test x"${MISSING+set}" != xset; then
2636 case $am_aux_dir in
2637 *\ * | *\ *)
2638 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2640 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2641 esac
2643 # Use eval to expand $SHELL
2644 if eval "$MISSING --is-lightweight"; then
2645 am_missing_run="$MISSING "
2646 else
2647 am_missing_run=
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2649 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2652 if test x"${install_sh+set}" != xset; then
2653 case $am_aux_dir in
2654 *\ * | *\ *)
2655 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2657 install_sh="\${SHELL} $am_aux_dir/install-sh"
2658 esac
2661 # Installed binaries are usually stripped using 'strip' when the user
2662 # run "make install-strip". However 'strip' might not be the right
2663 # tool to use in cross-compilation environments, therefore Automake
2664 # will honor the 'STRIP' environment variable to overrule this program.
2665 if test "$cross_compiling" != no; then
2666 if test -n "$ac_tool_prefix"; then
2667 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2668 set dummy ${ac_tool_prefix}strip; ac_word=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if ${ac_cv_prog_STRIP+:} false; then :
2672 $as_echo_n "(cached) " >&6
2673 else
2674 if test -n "$STRIP"; then
2675 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2676 else
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 for as_dir in $PATH
2680 IFS=$as_save_IFS
2681 test -z "$as_dir" && as_dir=.
2682 for ac_exec_ext in '' $ac_executable_extensions; do
2683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2684 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 break 2
2688 done
2689 done
2690 IFS=$as_save_IFS
2694 STRIP=$ac_cv_prog_STRIP
2695 if test -n "$STRIP"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2697 $as_echo "$STRIP" >&6; }
2698 else
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2705 if test -z "$ac_cv_prog_STRIP"; then
2706 ac_ct_STRIP=$STRIP
2707 # Extract the first word of "strip", so it can be a program name with args.
2708 set dummy strip; ac_word=$2
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2712 $as_echo_n "(cached) " >&6
2713 else
2714 if test -n "$ac_ct_STRIP"; then
2715 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2716 else
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 for as_dir in $PATH
2720 IFS=$as_save_IFS
2721 test -z "$as_dir" && as_dir=.
2722 for ac_exec_ext in '' $ac_executable_extensions; do
2723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2724 ac_cv_prog_ac_ct_STRIP="strip"
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726 break 2
2728 done
2729 done
2730 IFS=$as_save_IFS
2734 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2735 if test -n "$ac_ct_STRIP"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2737 $as_echo "$ac_ct_STRIP" >&6; }
2738 else
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2743 if test "x$ac_ct_STRIP" = x; then
2744 STRIP=":"
2745 else
2746 case $cross_compiling:$ac_tool_warned in
2747 yes:)
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2750 ac_tool_warned=yes ;;
2751 esac
2752 STRIP=$ac_ct_STRIP
2754 else
2755 STRIP="$ac_cv_prog_STRIP"
2759 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2762 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2763 if test -z "$MKDIR_P"; then
2764 if ${ac_cv_path_mkdir+:} false; then :
2765 $as_echo_n "(cached) " >&6
2766 else
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2770 IFS=$as_save_IFS
2771 test -z "$as_dir" && as_dir=.
2772 for ac_prog in mkdir gmkdir; do
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2775 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2776 'mkdir (GNU coreutils) '* | \
2777 'mkdir (coreutils) '* | \
2778 'mkdir (fileutils) '4.1*)
2779 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2780 break 3;;
2781 esac
2782 done
2783 done
2784 done
2785 IFS=$as_save_IFS
2789 test -d ./--version && rmdir ./--version
2790 if test "${ac_cv_path_mkdir+set}" = set; then
2791 MKDIR_P="$ac_cv_path_mkdir -p"
2792 else
2793 # As a last resort, use the slow shell script. Don't cache a
2794 # value for MKDIR_P within a source directory, because that will
2795 # break other packages using the cache if that directory is
2796 # removed, or if the value is a relative name.
2797 MKDIR_P="$ac_install_sh -d"
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2801 $as_echo "$MKDIR_P" >&6; }
2803 for ac_prog in gawk mawk nawk awk
2805 # Extract the first word of "$ac_prog", so it can be a program name with args.
2806 set dummy $ac_prog; ac_word=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if ${ac_cv_prog_AWK+:} false; then :
2810 $as_echo_n "(cached) " >&6
2811 else
2812 if test -n "$AWK"; then
2813 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2814 else
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 for as_dir in $PATH
2818 IFS=$as_save_IFS
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2822 ac_cv_prog_AWK="$ac_prog"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 break 2
2826 done
2827 done
2828 IFS=$as_save_IFS
2832 AWK=$ac_cv_prog_AWK
2833 if test -n "$AWK"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2835 $as_echo "$AWK" >&6; }
2836 else
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2842 test -n "$AWK" && break
2843 done
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2846 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2847 set x ${MAKE-make}
2848 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2849 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2850 $as_echo_n "(cached) " >&6
2851 else
2852 cat >conftest.make <<\_ACEOF
2853 SHELL = /bin/sh
2854 all:
2855 @echo '@@@%%%=$(MAKE)=@@@%%%'
2856 _ACEOF
2857 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2858 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2859 *@@@%%%=?*=@@@%%%*)
2860 eval ac_cv_prog_make_${ac_make}_set=yes;;
2862 eval ac_cv_prog_make_${ac_make}_set=no;;
2863 esac
2864 rm -f conftest.make
2866 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2868 $as_echo "yes" >&6; }
2869 SET_MAKE=
2870 else
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2873 SET_MAKE="MAKE=${MAKE-make}"
2876 rm -rf .tst 2>/dev/null
2877 mkdir .tst 2>/dev/null
2878 if test -d .tst; then
2879 am__leading_dot=.
2880 else
2881 am__leading_dot=_
2883 rmdir .tst 2>/dev/null
2885 # Check whether --enable-silent-rules was given.
2886 if test "${enable_silent_rules+set}" = set; then :
2887 enableval=$enable_silent_rules;
2890 case $enable_silent_rules in # (((
2891 yes) AM_DEFAULT_VERBOSITY=0;;
2892 no) AM_DEFAULT_VERBOSITY=1;;
2893 *) AM_DEFAULT_VERBOSITY=1;;
2894 esac
2895 am_make=${MAKE-make}
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2897 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2898 if ${am_cv_make_support_nested_variables+:} false; then :
2899 $as_echo_n "(cached) " >&6
2900 else
2901 if $as_echo 'TRUE=$(BAR$(V))
2902 BAR0=false
2903 BAR1=true
2905 am__doit:
2906 @$(TRUE)
2907 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2908 am_cv_make_support_nested_variables=yes
2909 else
2910 am_cv_make_support_nested_variables=no
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2914 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2915 if test $am_cv_make_support_nested_variables = yes; then
2916 AM_V='$(V)'
2917 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2918 else
2919 AM_V=$AM_DEFAULT_VERBOSITY
2920 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2922 AM_BACKSLASH='\'
2924 DEPDIR="${am__leading_dot}deps"
2926 ac_config_commands="$ac_config_commands depfiles"
2929 am_make=${MAKE-make}
2930 cat > confinc << 'END'
2931 am__doit:
2932 @echo this is the am__doit target
2933 .PHONY: am__doit
2935 # If we don't find an include directive, just comment out the code.
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2937 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2938 am__include="#"
2939 am__quote=
2940 _am_result=none
2941 # First try GNU make style include.
2942 echo "include confinc" > confmf
2943 # Ignore all kinds of additional output from 'make'.
2944 case `$am_make -s -f confmf 2> /dev/null` in #(
2945 *the\ am__doit\ target*)
2946 am__include=include
2947 am__quote=
2948 _am_result=GNU
2950 esac
2951 # Now try BSD make style include.
2952 if test "$am__include" = "#"; then
2953 echo '.include "confinc"' > confmf
2954 case `$am_make -s -f confmf 2> /dev/null` in #(
2955 *the\ am__doit\ target*)
2956 am__include=.include
2957 am__quote="\""
2958 _am_result=BSD
2960 esac
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2965 $as_echo "$_am_result" >&6; }
2966 rm -f confinc confmf
2968 # Check whether --enable-dependency-tracking was given.
2969 if test "${enable_dependency_tracking+set}" = set; then :
2970 enableval=$enable_dependency_tracking;
2973 if test "x$enable_dependency_tracking" != xno; then
2974 am_depcomp="$ac_aux_dir/depcomp"
2975 AMDEPBACKSLASH='\'
2976 am__nodep='_no'
2978 if test "x$enable_dependency_tracking" != xno; then
2979 AMDEP_TRUE=
2980 AMDEP_FALSE='#'
2981 else
2982 AMDEP_TRUE='#'
2983 AMDEP_FALSE=
2987 ac_ext=c
2988 ac_cpp='$CPP $CPPFLAGS'
2989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2992 if test -n "$ac_tool_prefix"; then
2993 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2994 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if ${ac_cv_prog_CC+:} false; then :
2998 $as_echo_n "(cached) " >&6
2999 else
3000 if test -n "$CC"; then
3001 ac_cv_prog_CC="$CC" # Let the user override the test.
3002 else
3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 for as_dir in $PATH
3006 IFS=$as_save_IFS
3007 test -z "$as_dir" && as_dir=.
3008 for ac_exec_ext in '' $ac_executable_extensions; do
3009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3010 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 break 2
3014 done
3015 done
3016 IFS=$as_save_IFS
3020 CC=$ac_cv_prog_CC
3021 if test -n "$CC"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3023 $as_echo "$CC" >&6; }
3024 else
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3031 if test -z "$ac_cv_prog_CC"; then
3032 ac_ct_CC=$CC
3033 # Extract the first word of "gcc", so it can be a program name with args.
3034 set dummy gcc; ac_word=$2
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 $as_echo_n "checking for $ac_word... " >&6; }
3037 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3038 $as_echo_n "(cached) " >&6
3039 else
3040 if test -n "$ac_ct_CC"; then
3041 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3042 else
3043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 for as_dir in $PATH
3046 IFS=$as_save_IFS
3047 test -z "$as_dir" && as_dir=.
3048 for ac_exec_ext in '' $ac_executable_extensions; do
3049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_ac_ct_CC="gcc"
3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 break 2
3054 done
3055 done
3056 IFS=$as_save_IFS
3060 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3061 if test -n "$ac_ct_CC"; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3063 $as_echo "$ac_ct_CC" >&6; }
3064 else
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066 $as_echo "no" >&6; }
3069 if test "x$ac_ct_CC" = x; then
3070 CC=""
3071 else
3072 case $cross_compiling:$ac_tool_warned in
3073 yes:)
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3076 ac_tool_warned=yes ;;
3077 esac
3078 CC=$ac_ct_CC
3080 else
3081 CC="$ac_cv_prog_CC"
3084 if test -z "$CC"; then
3085 if test -n "$ac_tool_prefix"; then
3086 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3087 set dummy ${ac_tool_prefix}cc; ac_word=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if ${ac_cv_prog_CC+:} false; then :
3091 $as_echo_n "(cached) " >&6
3092 else
3093 if test -n "$CC"; then
3094 ac_cv_prog_CC="$CC" # Let the user override the test.
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3103 ac_cv_prog_CC="${ac_tool_prefix}cc"
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 break 2
3107 done
3108 done
3109 IFS=$as_save_IFS
3113 CC=$ac_cv_prog_CC
3114 if test -n "$CC"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3116 $as_echo "$CC" >&6; }
3117 else
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3125 if test -z "$CC"; then
3126 # Extract the first word of "cc", so it can be a program name with args.
3127 set dummy cc; ac_word=$2
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3129 $as_echo_n "checking for $ac_word... " >&6; }
3130 if ${ac_cv_prog_CC+:} false; then :
3131 $as_echo_n "(cached) " >&6
3132 else
3133 if test -n "$CC"; then
3134 ac_cv_prog_CC="$CC" # Let the user override the test.
3135 else
3136 ac_prog_rejected=no
3137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3138 for as_dir in $PATH
3140 IFS=$as_save_IFS
3141 test -z "$as_dir" && as_dir=.
3142 for ac_exec_ext in '' $ac_executable_extensions; do
3143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3144 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3145 ac_prog_rejected=yes
3146 continue
3148 ac_cv_prog_CC="cc"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150 break 2
3152 done
3153 done
3154 IFS=$as_save_IFS
3156 if test $ac_prog_rejected = yes; then
3157 # We found a bogon in the path, so make sure we never use it.
3158 set dummy $ac_cv_prog_CC
3159 shift
3160 if test $# != 0; then
3161 # We chose a different compiler from the bogus one.
3162 # However, it has the same basename, so the bogon will be chosen
3163 # first if we set CC to just the basename; use the full file name.
3164 shift
3165 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3170 CC=$ac_cv_prog_CC
3171 if test -n "$CC"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3173 $as_echo "$CC" >&6; }
3174 else
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3181 if test -z "$CC"; then
3182 if test -n "$ac_tool_prefix"; then
3183 for ac_prog in cl.exe
3185 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3186 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188 $as_echo_n "checking for $ac_word... " >&6; }
3189 if ${ac_cv_prog_CC+:} false; then :
3190 $as_echo_n "(cached) " >&6
3191 else
3192 if test -n "$CC"; then
3193 ac_cv_prog_CC="$CC" # Let the user override the test.
3194 else
3195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3196 for as_dir in $PATH
3198 IFS=$as_save_IFS
3199 test -z "$as_dir" && as_dir=.
3200 for ac_exec_ext in '' $ac_executable_extensions; do
3201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3202 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 break 2
3206 done
3207 done
3208 IFS=$as_save_IFS
3212 CC=$ac_cv_prog_CC
3213 if test -n "$CC"; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3215 $as_echo "$CC" >&6; }
3216 else
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218 $as_echo "no" >&6; }
3222 test -n "$CC" && break
3223 done
3225 if test -z "$CC"; then
3226 ac_ct_CC=$CC
3227 for ac_prog in cl.exe
3229 # Extract the first word of "$ac_prog", so it can be a program name with args.
3230 set dummy $ac_prog; ac_word=$2
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3232 $as_echo_n "checking for $ac_word... " >&6; }
3233 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3234 $as_echo_n "(cached) " >&6
3235 else
3236 if test -n "$ac_ct_CC"; then
3237 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3238 else
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240 for as_dir in $PATH
3242 IFS=$as_save_IFS
3243 test -z "$as_dir" && as_dir=.
3244 for ac_exec_ext in '' $ac_executable_extensions; do
3245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3246 ac_cv_prog_ac_ct_CC="$ac_prog"
3247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 break 2
3250 done
3251 done
3252 IFS=$as_save_IFS
3256 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3257 if test -n "$ac_ct_CC"; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3259 $as_echo "$ac_ct_CC" >&6; }
3260 else
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3262 $as_echo "no" >&6; }
3266 test -n "$ac_ct_CC" && break
3267 done
3269 if test "x$ac_ct_CC" = x; then
3270 CC=""
3271 else
3272 case $cross_compiling:$ac_tool_warned in
3273 yes:)
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3276 ac_tool_warned=yes ;;
3277 esac
3278 CC=$ac_ct_CC
3285 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3287 as_fn_error $? "no acceptable C compiler found in \$PATH
3288 See \`config.log' for more details" "$LINENO" 5; }
3290 # Provide some information about the compiler.
3291 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3292 set X $ac_compile
3293 ac_compiler=$2
3294 for ac_option in --version -v -V -qversion; do
3295 { { ac_try="$ac_compiler $ac_option >&5"
3296 case "(($ac_try" in
3297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3298 *) ac_try_echo=$ac_try;;
3299 esac
3300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3302 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3303 ac_status=$?
3304 if test -s conftest.err; then
3305 sed '10a\
3306 ... rest of stderr output deleted ...
3307 10q' conftest.err >conftest.er1
3308 cat conftest.er1 >&5
3310 rm -f conftest.er1 conftest.err
3311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3312 test $ac_status = 0; }
3313 done
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3319 main ()
3323 return 0;
3325 _ACEOF
3326 ac_clean_files_save=$ac_clean_files
3327 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3328 # Try to create an executable without -o first, disregard a.out.
3329 # It will help us diagnose broken compilers, and finding out an intuition
3330 # of exeext.
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3332 $as_echo_n "checking whether the C compiler works... " >&6; }
3333 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3335 # The possible output files:
3336 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3338 ac_rmfiles=
3339 for ac_file in $ac_files
3341 case $ac_file in
3342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3343 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3344 esac
3345 done
3346 rm -f $ac_rmfiles
3348 if { { ac_try="$ac_link_default"
3349 case "(($ac_try" in
3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3352 esac
3353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3354 $as_echo "$ac_try_echo"; } >&5
3355 (eval "$ac_link_default") 2>&5
3356 ac_status=$?
3357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3358 test $ac_status = 0; }; then :
3359 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3360 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3361 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3362 # so that the user can short-circuit this test for compilers unknown to
3363 # Autoconf.
3364 for ac_file in $ac_files ''
3366 test -f "$ac_file" || continue
3367 case $ac_file in
3368 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3370 [ab].out )
3371 # We found the default executable, but exeext='' is most
3372 # certainly right.
3373 break;;
3374 *.* )
3375 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3376 then :; else
3377 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3379 # We set ac_cv_exeext here because the later test for it is not
3380 # safe: cross compilers may not add the suffix if given an `-o'
3381 # argument, so we may need to know it at that point already.
3382 # Even if this section looks crufty: it has the advantage of
3383 # actually working.
3384 break;;
3386 break;;
3387 esac
3388 done
3389 test "$ac_cv_exeext" = no && ac_cv_exeext=
3391 else
3392 ac_file=''
3394 if test -z "$ac_file"; then :
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3397 $as_echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.$ac_ext >&5
3400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3402 as_fn_error 77 "C compiler cannot create executables
3403 See \`config.log' for more details" "$LINENO" 5; }
3404 else
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3406 $as_echo "yes" >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3409 $as_echo_n "checking for C compiler default output file name... " >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3411 $as_echo "$ac_file" >&6; }
3412 ac_exeext=$ac_cv_exeext
3414 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3415 ac_clean_files=$ac_clean_files_save
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3417 $as_echo_n "checking for suffix of executables... " >&6; }
3418 if { { ac_try="$ac_link"
3419 case "(($ac_try" in
3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3422 esac
3423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424 $as_echo "$ac_try_echo"; } >&5
3425 (eval "$ac_link") 2>&5
3426 ac_status=$?
3427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428 test $ac_status = 0; }; then :
3429 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3430 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3431 # work properly (i.e., refer to `conftest.exe'), while it won't with
3432 # `rm'.
3433 for ac_file in conftest.exe conftest conftest.*; do
3434 test -f "$ac_file" || continue
3435 case $ac_file in
3436 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3437 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3438 break;;
3439 * ) break;;
3440 esac
3441 done
3442 else
3443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3446 See \`config.log' for more details" "$LINENO" 5; }
3448 rm -f conftest conftest$ac_cv_exeext
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3450 $as_echo "$ac_cv_exeext" >&6; }
3452 rm -f conftest.$ac_ext
3453 EXEEXT=$ac_cv_exeext
3454 ac_exeext=$EXEEXT
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3457 #include <stdio.h>
3459 main ()
3461 FILE *f = fopen ("conftest.out", "w");
3462 return ferror (f) || fclose (f) != 0;
3465 return 0;
3467 _ACEOF
3468 ac_clean_files="$ac_clean_files conftest.out"
3469 # Check that the compiler produces executables we can run. If not, either
3470 # the compiler is broken, or we cross compile.
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3472 $as_echo_n "checking whether we are cross compiling... " >&6; }
3473 if test "$cross_compiling" != yes; then
3474 { { ac_try="$ac_link"
3475 case "(($ac_try" in
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3478 esac
3479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480 $as_echo "$ac_try_echo"; } >&5
3481 (eval "$ac_link") 2>&5
3482 ac_status=$?
3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484 test $ac_status = 0; }
3485 if { ac_try='./conftest$ac_cv_exeext'
3486 { { case "(($ac_try" in
3487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488 *) ac_try_echo=$ac_try;;
3489 esac
3490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3491 $as_echo "$ac_try_echo"; } >&5
3492 (eval "$ac_try") 2>&5
3493 ac_status=$?
3494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495 test $ac_status = 0; }; }; then
3496 cross_compiling=no
3497 else
3498 if test "$cross_compiling" = maybe; then
3499 cross_compiling=yes
3500 else
3501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503 as_fn_error $? "cannot run C compiled programs.
3504 If you meant to cross compile, use \`--host'.
3505 See \`config.log' for more details" "$LINENO" 5; }
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3510 $as_echo "$cross_compiling" >&6; }
3512 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3513 ac_clean_files=$ac_clean_files_save
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3515 $as_echo_n "checking for suffix of object files... " >&6; }
3516 if ${ac_cv_objext+:} false; then :
3517 $as_echo_n "(cached) " >&6
3518 else
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3523 main ()
3527 return 0;
3529 _ACEOF
3530 rm -f conftest.o conftest.obj
3531 if { { ac_try="$ac_compile"
3532 case "(($ac_try" in
3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534 *) ac_try_echo=$ac_try;;
3535 esac
3536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537 $as_echo "$ac_try_echo"; } >&5
3538 (eval "$ac_compile") 2>&5
3539 ac_status=$?
3540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541 test $ac_status = 0; }; then :
3542 for ac_file in conftest.o conftest.obj conftest.*; do
3543 test -f "$ac_file" || continue;
3544 case $ac_file in
3545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3546 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3547 break;;
3548 esac
3549 done
3550 else
3551 $as_echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3556 as_fn_error $? "cannot compute suffix of object files: cannot compile
3557 See \`config.log' for more details" "$LINENO" 5; }
3559 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3562 $as_echo "$ac_cv_objext" >&6; }
3563 OBJEXT=$ac_cv_objext
3564 ac_objext=$OBJEXT
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3566 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3567 if ${ac_cv_c_compiler_gnu+:} false; then :
3568 $as_echo_n "(cached) " >&6
3569 else
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3574 main ()
3576 #ifndef __GNUC__
3577 choke me
3578 #endif
3581 return 0;
3583 _ACEOF
3584 if ac_fn_c_try_compile "$LINENO"; then :
3585 ac_compiler_gnu=yes
3586 else
3587 ac_compiler_gnu=no
3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3594 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3595 if test $ac_compiler_gnu = yes; then
3596 GCC=yes
3597 else
3598 GCC=
3600 ac_test_CFLAGS=${CFLAGS+set}
3601 ac_save_CFLAGS=$CFLAGS
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3603 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3604 if ${ac_cv_prog_cc_g+:} false; then :
3605 $as_echo_n "(cached) " >&6
3606 else
3607 ac_save_c_werror_flag=$ac_c_werror_flag
3608 ac_c_werror_flag=yes
3609 ac_cv_prog_cc_g=no
3610 CFLAGS="-g"
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3615 main ()
3619 return 0;
3621 _ACEOF
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623 ac_cv_prog_cc_g=yes
3624 else
3625 CFLAGS=""
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3630 main ()
3634 return 0;
3636 _ACEOF
3637 if ac_fn_c_try_compile "$LINENO"; then :
3639 else
3640 ac_c_werror_flag=$ac_save_c_werror_flag
3641 CFLAGS="-g"
3642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3646 main ()
3650 return 0;
3652 _ACEOF
3653 if ac_fn_c_try_compile "$LINENO"; then :
3654 ac_cv_prog_cc_g=yes
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3661 ac_c_werror_flag=$ac_save_c_werror_flag
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3664 $as_echo "$ac_cv_prog_cc_g" >&6; }
3665 if test "$ac_test_CFLAGS" = set; then
3666 CFLAGS=$ac_save_CFLAGS
3667 elif test $ac_cv_prog_cc_g = yes; then
3668 if test "$GCC" = yes; then
3669 CFLAGS="-g -O2"
3670 else
3671 CFLAGS="-g"
3673 else
3674 if test "$GCC" = yes; then
3675 CFLAGS="-O2"
3676 else
3677 CFLAGS=
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3681 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3682 if ${ac_cv_prog_cc_c89+:} false; then :
3683 $as_echo_n "(cached) " >&6
3684 else
3685 ac_cv_prog_cc_c89=no
3686 ac_save_CC=$CC
3687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688 /* end confdefs.h. */
3689 #include <stdarg.h>
3690 #include <stdio.h>
3691 struct stat;
3692 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3693 struct buf { int x; };
3694 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3695 static char *e (p, i)
3696 char **p;
3697 int i;
3699 return p[i];
3701 static char *f (char * (*g) (char **, int), char **p, ...)
3703 char *s;
3704 va_list v;
3705 va_start (v,p);
3706 s = g (p, va_arg (v,int));
3707 va_end (v);
3708 return s;
3711 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3712 function prototypes and stuff, but not '\xHH' hex character constants.
3713 These don't provoke an error unfortunately, instead are silently treated
3714 as 'x'. The following induces an error, until -std is added to get
3715 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3716 array size at least. It's necessary to write '\x00'==0 to get something
3717 that's true only with -std. */
3718 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3720 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3721 inside strings and character constants. */
3722 #define FOO(x) 'x'
3723 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3725 int test (int i, double x);
3726 struct s1 {int (*f) (int a);};
3727 struct s2 {int (*f) (double a);};
3728 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3729 int argc;
3730 char **argv;
3732 main ()
3734 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3736 return 0;
3738 _ACEOF
3739 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3740 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3742 CC="$ac_save_CC $ac_arg"
3743 if ac_fn_c_try_compile "$LINENO"; then :
3744 ac_cv_prog_cc_c89=$ac_arg
3746 rm -f core conftest.err conftest.$ac_objext
3747 test "x$ac_cv_prog_cc_c89" != "xno" && break
3748 done
3749 rm -f conftest.$ac_ext
3750 CC=$ac_save_CC
3753 # AC_CACHE_VAL
3754 case "x$ac_cv_prog_cc_c89" in
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3757 $as_echo "none needed" >&6; } ;;
3758 xno)
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3760 $as_echo "unsupported" >&6; } ;;
3762 CC="$CC $ac_cv_prog_cc_c89"
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3764 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3765 esac
3766 if test "x$ac_cv_prog_cc_c89" != xno; then :
3770 ac_ext=c
3771 ac_cpp='$CPP $CPPFLAGS'
3772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3776 ac_ext=c
3777 ac_cpp='$CPP $CPPFLAGS'
3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3782 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3783 if ${am_cv_prog_cc_c_o+:} false; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3790 main ()
3794 return 0;
3796 _ACEOF
3797 # Make sure it works both with $CC and with simple cc.
3798 # Following AC_PROG_CC_C_O, we do the test twice because some
3799 # compilers refuse to overwrite an existing .o file with -o,
3800 # though they will create one.
3801 am_cv_prog_cc_c_o=yes
3802 for am_i in 1 2; do
3803 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3804 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3805 ac_status=$?
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } \
3808 && test -f conftest2.$ac_objext; then
3809 : OK
3810 else
3811 am_cv_prog_cc_c_o=no
3812 break
3814 done
3815 rm -f core conftest*
3816 unset am_i
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3819 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3820 if test "$am_cv_prog_cc_c_o" != yes; then
3821 # Losing compiler, so override with the script.
3822 # FIXME: It is wrong to rewrite CC.
3823 # But if we don't then we get into trouble of one sort or another.
3824 # A longer-term fix would be to have automake use am__CC in this case,
3825 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3826 CC="$am_aux_dir/compile $CC"
3828 ac_ext=c
3829 ac_cpp='$CPP $CPPFLAGS'
3830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835 depcc="$CC" am_compiler_list=
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3838 $as_echo_n "checking dependency style of $depcc... " >&6; }
3839 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3840 $as_echo_n "(cached) " >&6
3841 else
3842 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3843 # We make a subdir and do the tests there. Otherwise we can end up
3844 # making bogus files that we don't know about and never remove. For
3845 # instance it was reported that on HP-UX the gcc test will end up
3846 # making a dummy file named 'D' -- because '-MD' means "put the output
3847 # in D".
3848 rm -rf conftest.dir
3849 mkdir conftest.dir
3850 # Copy depcomp to subdir because otherwise we won't find it if we're
3851 # using a relative directory.
3852 cp "$am_depcomp" conftest.dir
3853 cd conftest.dir
3854 # We will build objects and dependencies in a subdirectory because
3855 # it helps to detect inapplicable dependency modes. For instance
3856 # both Tru64's cc and ICC support -MD to output dependencies as a
3857 # side effect of compilation, but ICC will put the dependencies in
3858 # the current directory while Tru64 will put them in the object
3859 # directory.
3860 mkdir sub
3862 am_cv_CC_dependencies_compiler_type=none
3863 if test "$am_compiler_list" = ""; then
3864 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3866 am__universal=false
3867 case " $depcc " in #(
3868 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3869 esac
3871 for depmode in $am_compiler_list; do
3872 # Setup a source with many dependencies, because some compilers
3873 # like to wrap large dependency lists on column 80 (with \), and
3874 # we should not choose a depcomp mode which is confused by this.
3876 # We need to recreate these files for each test, as the compiler may
3877 # overwrite some of them when testing with obscure command lines.
3878 # This happens at least with the AIX C compiler.
3879 : > sub/conftest.c
3880 for i in 1 2 3 4 5 6; do
3881 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3882 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3883 # Solaris 10 /bin/sh.
3884 echo '/* dummy */' > sub/conftst$i.h
3885 done
3886 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3888 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3889 # mode. It turns out that the SunPro C++ compiler does not properly
3890 # handle '-M -o', and we need to detect this. Also, some Intel
3891 # versions had trouble with output in subdirs.
3892 am__obj=sub/conftest.${OBJEXT-o}
3893 am__minus_obj="-o $am__obj"
3894 case $depmode in
3895 gcc)
3896 # This depmode causes a compiler race in universal mode.
3897 test "$am__universal" = false || continue
3899 nosideeffect)
3900 # After this tag, mechanisms are not by side-effect, so they'll
3901 # only be used when explicitly requested.
3902 if test "x$enable_dependency_tracking" = xyes; then
3903 continue
3904 else
3905 break
3908 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3909 # This compiler won't grok '-c -o', but also, the minuso test has
3910 # not run yet. These depmodes are late enough in the game, and
3911 # so weak that their functioning should not be impacted.
3912 am__obj=conftest.${OBJEXT-o}
3913 am__minus_obj=
3915 none) break ;;
3916 esac
3917 if depmode=$depmode \
3918 source=sub/conftest.c object=$am__obj \
3919 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3920 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3921 >/dev/null 2>conftest.err &&
3922 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3923 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3924 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3925 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3926 # icc doesn't choke on unknown options, it will just issue warnings
3927 # or remarks (even with -Werror). So we grep stderr for any message
3928 # that says an option was ignored or not supported.
3929 # When given -MP, icc 7.0 and 7.1 complain thusly:
3930 # icc: Command line warning: ignoring option '-M'; no argument required
3931 # The diagnosis changed in icc 8.0:
3932 # icc: Command line remark: option '-MP' not supported
3933 if (grep 'ignoring option' conftest.err ||
3934 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3935 am_cv_CC_dependencies_compiler_type=$depmode
3936 break
3939 done
3941 cd ..
3942 rm -rf conftest.dir
3943 else
3944 am_cv_CC_dependencies_compiler_type=none
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3949 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3950 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3953 test "x$enable_dependency_tracking" != xno \
3954 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3955 am__fastdepCC_TRUE=
3956 am__fastdepCC_FALSE='#'
3957 else
3958 am__fastdepCC_TRUE='#'
3959 am__fastdepCC_FALSE=
3964 # Check whether --enable-compiler-warnings was given.
3965 if test "${enable_compiler_warnings+set}" = set; then :
3966 enableval=$enable_compiler_warnings;
3968 case $enable_compiler_warnings in #(
3969 no | min | yes | max | all) :
3970 ;; #(
3971 *) :
3972 if test "x$enable_maintainer_mode" = xyes; then :
3973 enable_compiler_warnings=yes
3974 else
3975 enable_compiler_warnings=min
3976 fi ;;
3977 esac
3980 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3981 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3982 # is not polluted with repeated "-I."
3983 am__isrc=' -I$(srcdir)'
3984 # test to see if srcdir already configured
3985 if test -f $srcdir/config.status; then
3986 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3990 # test whether we have cygpath
3991 if test -z "$CYGPATH_W"; then
3992 if (cygpath --version) >/dev/null 2>/dev/null; then
3993 CYGPATH_W='cygpath -w'
3994 else
3995 CYGPATH_W=echo
4000 # Define the identity of the package.
4001 PACKAGE='poppler--tex-live-'
4002 VERSION='0.37.0'
4005 # Some tools Automake needs.
4007 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4010 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4013 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4016 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4019 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4021 # For better backward compatibility. To be removed once Automake 1.9.x
4022 # dies out for good. For more background, see:
4023 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4024 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4025 mkdir_p='$(MKDIR_P)'
4027 # We need awk for the "check" target (and possibly the TAP driver). The
4028 # system "awk" is bad on some platforms.
4029 # Always define AMTAR for backward compatibility. Yes, it's still used
4030 # in the wild :-( We should find a proper way to deprecate it ...
4031 AMTAR='$${TAR-tar}'
4034 # We'll loop over all known methods to create a tar archive until one works.
4035 _am_tools='gnutar pax cpio none'
4037 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4044 # POSIX will say in a future version that running "rm -f" with no argument
4045 # is OK; and we want to be able to make that assumption in our Makefile
4046 # recipes. So use an aggressive probe to check that the usage we want is
4047 # actually supported "in the wild" to an acceptable degree.
4048 # See automake bug#10828.
4049 # To make any issue more visible, cause the running configure to be aborted
4050 # by default if the 'rm' program in use doesn't match our expectations; the
4051 # user can still override this though.
4052 if rm -f && rm -fr && rm -rf; then : OK; else
4053 cat >&2 <<'END'
4054 Oops!
4056 Your 'rm' program seems unable to run without file operands specified
4057 on the command line, even when the '-f' option is present. This is contrary
4058 to the behaviour of most rm programs out there, and not conforming with
4059 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4061 Please tell bug-automake@gnu.org about your system, including the value
4062 of your $PATH and any error possibly output before this message. This
4063 can help us improve future automake versions.
4066 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4067 echo 'Configuration will proceed anyway, since you have set the' >&2
4068 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4069 echo >&2
4070 else
4071 cat >&2 <<'END'
4072 Aborting the configuration process, to ensure you take notice of the issue.
4074 You can download and install GNU coreutils to get an 'rm' implementation
4075 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4077 If you want to complete the configuration process using your problematic
4078 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4079 to "yes", and re-run configure.
4082 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4088 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4089 # Check whether --enable-maintainer-mode was given.
4090 if test "${enable_maintainer_mode+set}" = set; then :
4091 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4092 else
4093 USE_MAINTAINER_MODE=no
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4097 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4098 if test $USE_MAINTAINER_MODE = yes; then
4099 MAINTAINER_MODE_TRUE=
4100 MAINTAINER_MODE_FALSE='#'
4101 else
4102 MAINTAINER_MODE_TRUE='#'
4103 MAINTAINER_MODE_FALSE=
4106 MAINT=$MAINTAINER_MODE_TRUE
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4110 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4111 if ${kb_cv_c_prototypes+:} false; then :
4112 $as_echo_n "(cached) " >&6
4113 else
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4116 #include <stdarg.h>
4118 main ()
4120 extern void foo(int i,...);
4122 return 0;
4124 _ACEOF
4125 if ac_fn_c_try_link "$LINENO"; then :
4126 kb_cv_c_prototypes=yes
4127 else
4128 kb_cv_c_prototypes=no
4130 rm -f core conftest.err conftest.$ac_objext \
4131 conftest$ac_exeext conftest.$ac_ext
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4134 $as_echo "$kb_cv_c_prototypes" >&6; }
4135 if test "x$kb_cv_c_prototypes" = xno; then
4136 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4139 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4140 if ${kpse_cv_warning_cflags+:} false; then :
4141 $as_echo_n "(cached) " >&6
4142 else
4143 if test "x$GCC" = xyes; then
4144 kpse_cv_warning_cflags=
4145 if test "x$enable_compiler_warnings" != xno; then
4146 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4147 case `$CC -dumpversion` in #(
4148 3.4.* | 4.* | 5.*) :
4149 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4150 *) :
4152 esac
4153 case `$CC -dumpversion` in #(
4154 3.[234].* | 4.* | 5.*) :
4155 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4156 *) :
4158 esac
4159 if test "x$enable_compiler_warnings" != xmin; then
4160 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4161 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4162 if test "x$enable_compiler_warnings" != xyes; then
4163 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4164 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4165 case `$CC -dumpversion` in #(
4166 3.4.* | 4.* | 5.*) :
4167 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4168 *) :
4170 esac
4171 if test "x$enable_compiler_warnings" != xmax; then
4172 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4177 elif test "x$enable_compiler_warnings" = xno; then
4178 kpse_cv_warning_cflags=
4179 else
4180 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4184 $as_echo "$kpse_cv_warning_cflags" >&6; }
4185 WARNING_CFLAGS=$kpse_cv_warning_cflags
4194 ac_ext=c
4195 ac_cpp='$CPP $CPPFLAGS'
4196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4199 if test -n "$ac_tool_prefix"; then
4200 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4201 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4203 $as_echo_n "checking for $ac_word... " >&6; }
4204 if ${ac_cv_prog_CC+:} false; then :
4205 $as_echo_n "(cached) " >&6
4206 else
4207 if test -n "$CC"; then
4208 ac_cv_prog_CC="$CC" # Let the user override the test.
4209 else
4210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4211 for as_dir in $PATH
4213 IFS=$as_save_IFS
4214 test -z "$as_dir" && as_dir=.
4215 for ac_exec_ext in '' $ac_executable_extensions; do
4216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4217 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 break 2
4221 done
4222 done
4223 IFS=$as_save_IFS
4227 CC=$ac_cv_prog_CC
4228 if test -n "$CC"; then
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4230 $as_echo "$CC" >&6; }
4231 else
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4233 $as_echo "no" >&6; }
4238 if test -z "$ac_cv_prog_CC"; then
4239 ac_ct_CC=$CC
4240 # Extract the first word of "gcc", so it can be a program name with args.
4241 set dummy gcc; ac_word=$2
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4243 $as_echo_n "checking for $ac_word... " >&6; }
4244 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4245 $as_echo_n "(cached) " >&6
4246 else
4247 if test -n "$ac_ct_CC"; then
4248 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4249 else
4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4251 for as_dir in $PATH
4253 IFS=$as_save_IFS
4254 test -z "$as_dir" && as_dir=.
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4257 ac_cv_prog_ac_ct_CC="gcc"
4258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 break 2
4261 done
4262 done
4263 IFS=$as_save_IFS
4267 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4268 if test -n "$ac_ct_CC"; then
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4270 $as_echo "$ac_ct_CC" >&6; }
4271 else
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4273 $as_echo "no" >&6; }
4276 if test "x$ac_ct_CC" = x; then
4277 CC=""
4278 else
4279 case $cross_compiling:$ac_tool_warned in
4280 yes:)
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4283 ac_tool_warned=yes ;;
4284 esac
4285 CC=$ac_ct_CC
4287 else
4288 CC="$ac_cv_prog_CC"
4291 if test -z "$CC"; then
4292 if test -n "$ac_tool_prefix"; then
4293 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4294 set dummy ${ac_tool_prefix}cc; ac_word=$2
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if ${ac_cv_prog_CC+:} false; then :
4298 $as_echo_n "(cached) " >&6
4299 else
4300 if test -n "$CC"; then
4301 ac_cv_prog_CC="$CC" # Let the user override the test.
4302 else
4303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4304 for as_dir in $PATH
4306 IFS=$as_save_IFS
4307 test -z "$as_dir" && as_dir=.
4308 for ac_exec_ext in '' $ac_executable_extensions; do
4309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4310 ac_cv_prog_CC="${ac_tool_prefix}cc"
4311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 break 2
4314 done
4315 done
4316 IFS=$as_save_IFS
4320 CC=$ac_cv_prog_CC
4321 if test -n "$CC"; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4323 $as_echo "$CC" >&6; }
4324 else
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4332 if test -z "$CC"; then
4333 # Extract the first word of "cc", so it can be a program name with args.
4334 set dummy cc; ac_word=$2
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4336 $as_echo_n "checking for $ac_word... " >&6; }
4337 if ${ac_cv_prog_CC+:} false; then :
4338 $as_echo_n "(cached) " >&6
4339 else
4340 if test -n "$CC"; then
4341 ac_cv_prog_CC="$CC" # Let the user override the test.
4342 else
4343 ac_prog_rejected=no
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH
4347 IFS=$as_save_IFS
4348 test -z "$as_dir" && as_dir=.
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4351 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4352 ac_prog_rejected=yes
4353 continue
4355 ac_cv_prog_CC="cc"
4356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4357 break 2
4359 done
4360 done
4361 IFS=$as_save_IFS
4363 if test $ac_prog_rejected = yes; then
4364 # We found a bogon in the path, so make sure we never use it.
4365 set dummy $ac_cv_prog_CC
4366 shift
4367 if test $# != 0; then
4368 # We chose a different compiler from the bogus one.
4369 # However, it has the same basename, so the bogon will be chosen
4370 # first if we set CC to just the basename; use the full file name.
4371 shift
4372 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4377 CC=$ac_cv_prog_CC
4378 if test -n "$CC"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4380 $as_echo "$CC" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4388 if test -z "$CC"; then
4389 if test -n "$ac_tool_prefix"; then
4390 for ac_prog in cl.exe
4392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4393 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_prog_CC+:} false; then :
4397 $as_echo_n "(cached) " >&6
4398 else
4399 if test -n "$CC"; then
4400 ac_cv_prog_CC="$CC" # Let the user override the test.
4401 else
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 for as_dir in $PATH
4405 IFS=$as_save_IFS
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 break 2
4413 done
4414 done
4415 IFS=$as_save_IFS
4419 CC=$ac_cv_prog_CC
4420 if test -n "$CC"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4422 $as_echo "$CC" >&6; }
4423 else
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4429 test -n "$CC" && break
4430 done
4432 if test -z "$CC"; then
4433 ac_ct_CC=$CC
4434 for ac_prog in cl.exe
4436 # Extract the first word of "$ac_prog", so it can be a program name with args.
4437 set dummy $ac_prog; ac_word=$2
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4441 $as_echo_n "(cached) " >&6
4442 else
4443 if test -n "$ac_ct_CC"; then
4444 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4445 else
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 for as_dir in $PATH
4449 IFS=$as_save_IFS
4450 test -z "$as_dir" && as_dir=.
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4453 ac_cv_prog_ac_ct_CC="$ac_prog"
4454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4455 break 2
4457 done
4458 done
4459 IFS=$as_save_IFS
4463 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4464 if test -n "$ac_ct_CC"; then
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4466 $as_echo "$ac_ct_CC" >&6; }
4467 else
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469 $as_echo "no" >&6; }
4473 test -n "$ac_ct_CC" && break
4474 done
4476 if test "x$ac_ct_CC" = x; then
4477 CC=""
4478 else
4479 case $cross_compiling:$ac_tool_warned in
4480 yes:)
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4483 ac_tool_warned=yes ;;
4484 esac
4485 CC=$ac_ct_CC
4492 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4494 as_fn_error $? "no acceptable C compiler found in \$PATH
4495 See \`config.log' for more details" "$LINENO" 5; }
4497 # Provide some information about the compiler.
4498 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4499 set X $ac_compile
4500 ac_compiler=$2
4501 for ac_option in --version -v -V -qversion; do
4502 { { ac_try="$ac_compiler $ac_option >&5"
4503 case "(($ac_try" in
4504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505 *) ac_try_echo=$ac_try;;
4506 esac
4507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4508 $as_echo "$ac_try_echo"; } >&5
4509 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4510 ac_status=$?
4511 if test -s conftest.err; then
4512 sed '10a\
4513 ... rest of stderr output deleted ...
4514 10q' conftest.err >conftest.er1
4515 cat conftest.er1 >&5
4517 rm -f conftest.er1 conftest.err
4518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4519 test $ac_status = 0; }
4520 done
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4523 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4524 if ${ac_cv_c_compiler_gnu+:} false; then :
4525 $as_echo_n "(cached) " >&6
4526 else
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4531 main ()
4533 #ifndef __GNUC__
4534 choke me
4535 #endif
4538 return 0;
4540 _ACEOF
4541 if ac_fn_c_try_compile "$LINENO"; then :
4542 ac_compiler_gnu=yes
4543 else
4544 ac_compiler_gnu=no
4546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4547 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4551 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4552 if test $ac_compiler_gnu = yes; then
4553 GCC=yes
4554 else
4555 GCC=
4557 ac_test_CFLAGS=${CFLAGS+set}
4558 ac_save_CFLAGS=$CFLAGS
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4560 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4561 if ${ac_cv_prog_cc_g+:} false; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 ac_save_c_werror_flag=$ac_c_werror_flag
4565 ac_c_werror_flag=yes
4566 ac_cv_prog_cc_g=no
4567 CFLAGS="-g"
4568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4572 main ()
4576 return 0;
4578 _ACEOF
4579 if ac_fn_c_try_compile "$LINENO"; then :
4580 ac_cv_prog_cc_g=yes
4581 else
4582 CFLAGS=""
4583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4587 main ()
4591 return 0;
4593 _ACEOF
4594 if ac_fn_c_try_compile "$LINENO"; then :
4596 else
4597 ac_c_werror_flag=$ac_save_c_werror_flag
4598 CFLAGS="-g"
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4603 main ()
4607 return 0;
4609 _ACEOF
4610 if ac_fn_c_try_compile "$LINENO"; then :
4611 ac_cv_prog_cc_g=yes
4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618 ac_c_werror_flag=$ac_save_c_werror_flag
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4621 $as_echo "$ac_cv_prog_cc_g" >&6; }
4622 if test "$ac_test_CFLAGS" = set; then
4623 CFLAGS=$ac_save_CFLAGS
4624 elif test $ac_cv_prog_cc_g = yes; then
4625 if test "$GCC" = yes; then
4626 CFLAGS="-g -O2"
4627 else
4628 CFLAGS="-g"
4630 else
4631 if test "$GCC" = yes; then
4632 CFLAGS="-O2"
4633 else
4634 CFLAGS=
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4638 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4639 if ${ac_cv_prog_cc_c89+:} false; then :
4640 $as_echo_n "(cached) " >&6
4641 else
4642 ac_cv_prog_cc_c89=no
4643 ac_save_CC=$CC
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4646 #include <stdarg.h>
4647 #include <stdio.h>
4648 struct stat;
4649 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4650 struct buf { int x; };
4651 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4652 static char *e (p, i)
4653 char **p;
4654 int i;
4656 return p[i];
4658 static char *f (char * (*g) (char **, int), char **p, ...)
4660 char *s;
4661 va_list v;
4662 va_start (v,p);
4663 s = g (p, va_arg (v,int));
4664 va_end (v);
4665 return s;
4668 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4669 function prototypes and stuff, but not '\xHH' hex character constants.
4670 These don't provoke an error unfortunately, instead are silently treated
4671 as 'x'. The following induces an error, until -std is added to get
4672 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4673 array size at least. It's necessary to write '\x00'==0 to get something
4674 that's true only with -std. */
4675 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4677 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4678 inside strings and character constants. */
4679 #define FOO(x) 'x'
4680 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4682 int test (int i, double x);
4683 struct s1 {int (*f) (int a);};
4684 struct s2 {int (*f) (double a);};
4685 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4686 int argc;
4687 char **argv;
4689 main ()
4691 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4693 return 0;
4695 _ACEOF
4696 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4697 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4699 CC="$ac_save_CC $ac_arg"
4700 if ac_fn_c_try_compile "$LINENO"; then :
4701 ac_cv_prog_cc_c89=$ac_arg
4703 rm -f core conftest.err conftest.$ac_objext
4704 test "x$ac_cv_prog_cc_c89" != "xno" && break
4705 done
4706 rm -f conftest.$ac_ext
4707 CC=$ac_save_CC
4710 # AC_CACHE_VAL
4711 case "x$ac_cv_prog_cc_c89" in
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4714 $as_echo "none needed" >&6; } ;;
4715 xno)
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4717 $as_echo "unsupported" >&6; } ;;
4719 CC="$CC $ac_cv_prog_cc_c89"
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4721 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4722 esac
4723 if test "x$ac_cv_prog_cc_c89" != xno; then :
4727 ac_ext=c
4728 ac_cpp='$CPP $CPPFLAGS'
4729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4733 ac_ext=c
4734 ac_cpp='$CPP $CPPFLAGS'
4735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4739 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4740 if ${am_cv_prog_cc_c_o+:} false; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4747 main ()
4751 return 0;
4753 _ACEOF
4754 # Make sure it works both with $CC and with simple cc.
4755 # Following AC_PROG_CC_C_O, we do the test twice because some
4756 # compilers refuse to overwrite an existing .o file with -o,
4757 # though they will create one.
4758 am_cv_prog_cc_c_o=yes
4759 for am_i in 1 2; do
4760 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4761 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4762 ac_status=$?
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); } \
4765 && test -f conftest2.$ac_objext; then
4766 : OK
4767 else
4768 am_cv_prog_cc_c_o=no
4769 break
4771 done
4772 rm -f core conftest*
4773 unset am_i
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4776 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4777 if test "$am_cv_prog_cc_c_o" != yes; then
4778 # Losing compiler, so override with the script.
4779 # FIXME: It is wrong to rewrite CC.
4780 # But if we don't then we get into trouble of one sort or another.
4781 # A longer-term fix would be to have automake use am__CC in this case,
4782 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4783 CC="$am_aux_dir/compile $CC"
4785 ac_ext=c
4786 ac_cpp='$CPP $CPPFLAGS'
4787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4792 depcc="$CC" am_compiler_list=
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4795 $as_echo_n "checking dependency style of $depcc... " >&6; }
4796 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4797 $as_echo_n "(cached) " >&6
4798 else
4799 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4800 # We make a subdir and do the tests there. Otherwise we can end up
4801 # making bogus files that we don't know about and never remove. For
4802 # instance it was reported that on HP-UX the gcc test will end up
4803 # making a dummy file named 'D' -- because '-MD' means "put the output
4804 # in D".
4805 rm -rf conftest.dir
4806 mkdir conftest.dir
4807 # Copy depcomp to subdir because otherwise we won't find it if we're
4808 # using a relative directory.
4809 cp "$am_depcomp" conftest.dir
4810 cd conftest.dir
4811 # We will build objects and dependencies in a subdirectory because
4812 # it helps to detect inapplicable dependency modes. For instance
4813 # both Tru64's cc and ICC support -MD to output dependencies as a
4814 # side effect of compilation, but ICC will put the dependencies in
4815 # the current directory while Tru64 will put them in the object
4816 # directory.
4817 mkdir sub
4819 am_cv_CC_dependencies_compiler_type=none
4820 if test "$am_compiler_list" = ""; then
4821 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4823 am__universal=false
4824 case " $depcc " in #(
4825 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4826 esac
4828 for depmode in $am_compiler_list; do
4829 # Setup a source with many dependencies, because some compilers
4830 # like to wrap large dependency lists on column 80 (with \), and
4831 # we should not choose a depcomp mode which is confused by this.
4833 # We need to recreate these files for each test, as the compiler may
4834 # overwrite some of them when testing with obscure command lines.
4835 # This happens at least with the AIX C compiler.
4836 : > sub/conftest.c
4837 for i in 1 2 3 4 5 6; do
4838 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4839 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4840 # Solaris 10 /bin/sh.
4841 echo '/* dummy */' > sub/conftst$i.h
4842 done
4843 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4845 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4846 # mode. It turns out that the SunPro C++ compiler does not properly
4847 # handle '-M -o', and we need to detect this. Also, some Intel
4848 # versions had trouble with output in subdirs.
4849 am__obj=sub/conftest.${OBJEXT-o}
4850 am__minus_obj="-o $am__obj"
4851 case $depmode in
4852 gcc)
4853 # This depmode causes a compiler race in universal mode.
4854 test "$am__universal" = false || continue
4856 nosideeffect)
4857 # After this tag, mechanisms are not by side-effect, so they'll
4858 # only be used when explicitly requested.
4859 if test "x$enable_dependency_tracking" = xyes; then
4860 continue
4861 else
4862 break
4865 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4866 # This compiler won't grok '-c -o', but also, the minuso test has
4867 # not run yet. These depmodes are late enough in the game, and
4868 # so weak that their functioning should not be impacted.
4869 am__obj=conftest.${OBJEXT-o}
4870 am__minus_obj=
4872 none) break ;;
4873 esac
4874 if depmode=$depmode \
4875 source=sub/conftest.c object=$am__obj \
4876 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4877 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4878 >/dev/null 2>conftest.err &&
4879 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4880 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4881 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4882 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4883 # icc doesn't choke on unknown options, it will just issue warnings
4884 # or remarks (even with -Werror). So we grep stderr for any message
4885 # that says an option was ignored or not supported.
4886 # When given -MP, icc 7.0 and 7.1 complain thusly:
4887 # icc: Command line warning: ignoring option '-M'; no argument required
4888 # The diagnosis changed in icc 8.0:
4889 # icc: Command line remark: option '-MP' not supported
4890 if (grep 'ignoring option' conftest.err ||
4891 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4892 am_cv_CC_dependencies_compiler_type=$depmode
4893 break
4896 done
4898 cd ..
4899 rm -rf conftest.dir
4900 else
4901 am_cv_CC_dependencies_compiler_type=none
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4906 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4907 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4910 test "x$enable_dependency_tracking" != xno \
4911 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4912 am__fastdepCC_TRUE=
4913 am__fastdepCC_FALSE='#'
4914 else
4915 am__fastdepCC_TRUE='#'
4916 am__fastdepCC_FALSE=
4920 ac_ext=cpp
4921 ac_cpp='$CXXCPP $CPPFLAGS'
4922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4925 if test -z "$CXX"; then
4926 if test -n "$CCC"; then
4927 CXX=$CCC
4928 else
4929 if test -n "$ac_tool_prefix"; then
4930 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4933 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if ${ac_cv_prog_CXX+:} false; then :
4937 $as_echo_n "(cached) " >&6
4938 else
4939 if test -n "$CXX"; then
4940 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4941 else
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 for as_dir in $PATH
4945 IFS=$as_save_IFS
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 break 2
4953 done
4954 done
4955 IFS=$as_save_IFS
4959 CXX=$ac_cv_prog_CXX
4960 if test -n "$CXX"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4962 $as_echo "$CXX" >&6; }
4963 else
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4969 test -n "$CXX" && break
4970 done
4972 if test -z "$CXX"; then
4973 ac_ct_CXX=$CXX
4974 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4976 # Extract the first word of "$ac_prog", so it can be a program name with args.
4977 set dummy $ac_prog; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_CXX"; then
4984 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_CXX="$ac_prog"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5004 if test -n "$ac_ct_CXX"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5006 $as_echo "$ac_ct_CXX" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5013 test -n "$ac_ct_CXX" && break
5014 done
5016 if test "x$ac_ct_CXX" = x; then
5017 CXX="g++"
5018 else
5019 case $cross_compiling:$ac_tool_warned in
5020 yes:)
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned=yes ;;
5024 esac
5025 CXX=$ac_ct_CXX
5031 # Provide some information about the compiler.
5032 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5033 set X $ac_compile
5034 ac_compiler=$2
5035 for ac_option in --version -v -V -qversion; do
5036 { { ac_try="$ac_compiler $ac_option >&5"
5037 case "(($ac_try" in
5038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5039 *) ac_try_echo=$ac_try;;
5040 esac
5041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5042 $as_echo "$ac_try_echo"; } >&5
5043 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5044 ac_status=$?
5045 if test -s conftest.err; then
5046 sed '10a\
5047 ... rest of stderr output deleted ...
5048 10q' conftest.err >conftest.er1
5049 cat conftest.er1 >&5
5051 rm -f conftest.er1 conftest.err
5052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5053 test $ac_status = 0; }
5054 done
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5057 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5058 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5059 $as_echo_n "(cached) " >&6
5060 else
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5065 main ()
5067 #ifndef __GNUC__
5068 choke me
5069 #endif
5072 return 0;
5074 _ACEOF
5075 if ac_fn_cxx_try_compile "$LINENO"; then :
5076 ac_compiler_gnu=yes
5077 else
5078 ac_compiler_gnu=no
5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5081 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5085 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5086 if test $ac_compiler_gnu = yes; then
5087 GXX=yes
5088 else
5089 GXX=
5091 ac_test_CXXFLAGS=${CXXFLAGS+set}
5092 ac_save_CXXFLAGS=$CXXFLAGS
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5094 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5095 if ${ac_cv_prog_cxx_g+:} false; then :
5096 $as_echo_n "(cached) " >&6
5097 else
5098 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5099 ac_cxx_werror_flag=yes
5100 ac_cv_prog_cxx_g=no
5101 CXXFLAGS="-g"
5102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5103 /* end confdefs.h. */
5106 main ()
5110 return 0;
5112 _ACEOF
5113 if ac_fn_cxx_try_compile "$LINENO"; then :
5114 ac_cv_prog_cxx_g=yes
5115 else
5116 CXXFLAGS=""
5117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5118 /* end confdefs.h. */
5121 main ()
5125 return 0;
5127 _ACEOF
5128 if ac_fn_cxx_try_compile "$LINENO"; then :
5130 else
5131 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5132 CXXFLAGS="-g"
5133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5134 /* end confdefs.h. */
5137 main ()
5141 return 0;
5143 _ACEOF
5144 if ac_fn_cxx_try_compile "$LINENO"; then :
5145 ac_cv_prog_cxx_g=yes
5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5152 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5155 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5156 if test "$ac_test_CXXFLAGS" = set; then
5157 CXXFLAGS=$ac_save_CXXFLAGS
5158 elif test $ac_cv_prog_cxx_g = yes; then
5159 if test "$GXX" = yes; then
5160 CXXFLAGS="-g -O2"
5161 else
5162 CXXFLAGS="-g"
5164 else
5165 if test "$GXX" = yes; then
5166 CXXFLAGS="-O2"
5167 else
5168 CXXFLAGS=
5171 ac_ext=c
5172 ac_cpp='$CPP $CPPFLAGS'
5173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5177 depcc="$CXX" am_compiler_list=
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5180 $as_echo_n "checking dependency style of $depcc... " >&6; }
5181 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5182 $as_echo_n "(cached) " >&6
5183 else
5184 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5185 # We make a subdir and do the tests there. Otherwise we can end up
5186 # making bogus files that we don't know about and never remove. For
5187 # instance it was reported that on HP-UX the gcc test will end up
5188 # making a dummy file named 'D' -- because '-MD' means "put the output
5189 # in D".
5190 rm -rf conftest.dir
5191 mkdir conftest.dir
5192 # Copy depcomp to subdir because otherwise we won't find it if we're
5193 # using a relative directory.
5194 cp "$am_depcomp" conftest.dir
5195 cd conftest.dir
5196 # We will build objects and dependencies in a subdirectory because
5197 # it helps to detect inapplicable dependency modes. For instance
5198 # both Tru64's cc and ICC support -MD to output dependencies as a
5199 # side effect of compilation, but ICC will put the dependencies in
5200 # the current directory while Tru64 will put them in the object
5201 # directory.
5202 mkdir sub
5204 am_cv_CXX_dependencies_compiler_type=none
5205 if test "$am_compiler_list" = ""; then
5206 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5208 am__universal=false
5209 case " $depcc " in #(
5210 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5211 esac
5213 for depmode in $am_compiler_list; do
5214 # Setup a source with many dependencies, because some compilers
5215 # like to wrap large dependency lists on column 80 (with \), and
5216 # we should not choose a depcomp mode which is confused by this.
5218 # We need to recreate these files for each test, as the compiler may
5219 # overwrite some of them when testing with obscure command lines.
5220 # This happens at least with the AIX C compiler.
5221 : > sub/conftest.c
5222 for i in 1 2 3 4 5 6; do
5223 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5224 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5225 # Solaris 10 /bin/sh.
5226 echo '/* dummy */' > sub/conftst$i.h
5227 done
5228 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5230 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5231 # mode. It turns out that the SunPro C++ compiler does not properly
5232 # handle '-M -o', and we need to detect this. Also, some Intel
5233 # versions had trouble with output in subdirs.
5234 am__obj=sub/conftest.${OBJEXT-o}
5235 am__minus_obj="-o $am__obj"
5236 case $depmode in
5237 gcc)
5238 # This depmode causes a compiler race in universal mode.
5239 test "$am__universal" = false || continue
5241 nosideeffect)
5242 # After this tag, mechanisms are not by side-effect, so they'll
5243 # only be used when explicitly requested.
5244 if test "x$enable_dependency_tracking" = xyes; then
5245 continue
5246 else
5247 break
5250 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5251 # This compiler won't grok '-c -o', but also, the minuso test has
5252 # not run yet. These depmodes are late enough in the game, and
5253 # so weak that their functioning should not be impacted.
5254 am__obj=conftest.${OBJEXT-o}
5255 am__minus_obj=
5257 none) break ;;
5258 esac
5259 if depmode=$depmode \
5260 source=sub/conftest.c object=$am__obj \
5261 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5262 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5263 >/dev/null 2>conftest.err &&
5264 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5265 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5266 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5267 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5268 # icc doesn't choke on unknown options, it will just issue warnings
5269 # or remarks (even with -Werror). So we grep stderr for any message
5270 # that says an option was ignored or not supported.
5271 # When given -MP, icc 7.0 and 7.1 complain thusly:
5272 # icc: Command line warning: ignoring option '-M'; no argument required
5273 # The diagnosis changed in icc 8.0:
5274 # icc: Command line remark: option '-MP' not supported
5275 if (grep 'ignoring option' conftest.err ||
5276 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5277 am_cv_CXX_dependencies_compiler_type=$depmode
5278 break
5281 done
5283 cd ..
5284 rm -rf conftest.dir
5285 else
5286 am_cv_CXX_dependencies_compiler_type=none
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5291 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5292 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5295 test "x$enable_dependency_tracking" != xno \
5296 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5297 am__fastdepCXX_TRUE=
5298 am__fastdepCXX_FALSE='#'
5299 else
5300 am__fastdepCXX_TRUE='#'
5301 am__fastdepCXX_FALSE=
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
5305 $as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
5306 if ${kpse_cv_warning_cxxflags+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 if test "x$GXX" = xyes; then
5310 kpse_cv_warning_cxxflags=
5311 kpse_warn_strings="-Wno-write-strings"
5312 if test "x$enable_compiler_warnings" != xno; then
5313 kpse_cv_warning_cxxflags="-Wreturn-type"
5314 case `$CXX -dumpversion` in #(
5315 3.* | 4.[012345].*) :
5316 kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #(
5317 *) :
5319 esac
5320 case `$CXX -dumpversion` in #(
5321 3.[234].* | 4.* | 5.*) :
5322 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #(
5323 *) :
5325 esac
5326 if test "x$enable_compiler_warnings" != xmin; then
5327 kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags"
5328 if test "x$enable_compiler_warnings" != xyes; then
5329 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
5330 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align"
5331 kpse_warn_strings="-Wwrite-strings"
5332 if test "x$enable_compiler_warnings" != xmax; then
5333 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow"
5338 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings"
5339 elif test "x$enable_compiler_warnings" = xno; then
5340 kpse_cv_warning_cxxflags=
5341 else
5342 kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5
5346 $as_echo "$kpse_cv_warning_cxxflags" >&6; }
5347 WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags
5351 if test -n "$ac_tool_prefix"; then
5352 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5353 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_RANLIB+:} false; then :
5357 $as_echo_n "(cached) " >&6
5358 else
5359 if test -n "$RANLIB"; then
5360 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5369 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 break 2
5373 done
5374 done
5375 IFS=$as_save_IFS
5379 RANLIB=$ac_cv_prog_RANLIB
5380 if test -n "$RANLIB"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5382 $as_echo "$RANLIB" >&6; }
5383 else
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5390 if test -z "$ac_cv_prog_RANLIB"; then
5391 ac_ct_RANLIB=$RANLIB
5392 # Extract the first word of "ranlib", so it can be a program name with args.
5393 set dummy ranlib; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5397 $as_echo_n "(cached) " >&6
5398 else
5399 if test -n "$ac_ct_RANLIB"; then
5400 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_ac_ct_RANLIB="ranlib"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5420 if test -n "$ac_ct_RANLIB"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5422 $as_echo "$ac_ct_RANLIB" >&6; }
5423 else
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5428 if test "x$ac_ct_RANLIB" = x; then
5429 RANLIB=":"
5430 else
5431 case $cross_compiling:$ac_tool_warned in
5432 yes:)
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5435 ac_tool_warned=yes ;;
5436 esac
5437 RANLIB=$ac_ct_RANLIB
5439 else
5440 RANLIB="$ac_cv_prog_RANLIB"
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5444 $as_echo_n "checking whether ln -s works... " >&6; }
5445 LN_S=$as_ln_s
5446 if test "$LN_S" = "ln -s"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5448 $as_echo "yes" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5451 $as_echo "no, using $LN_S" >&6; }
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for C to hide external symbols" >&5
5457 $as_echo_n "checking CFLAGS for C to hide external symbols... " >&6; }
5458 if ${kpse_cv_visibility_cflags+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 ac_ext=c
5462 ac_cpp='$CPP $CPPFLAGS'
5463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5467 kpse_cv_visibility_cflags=unknown
5468 kpse_save_flags=$CFLAGS
5469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5471 #include <stdio.h>
5472 extern void foo(void);
5473 void foo(void){printf("foo\n");}
5474 _ACEOF
5475 # FIXME: Add tests for non-GNU compilers
5476 for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
5477 CFLAGS="$kpse_save_flags -Werror $kpse_flag"
5478 if ac_fn_c_try_compile "$LINENO"; then :
5479 kpse_cv_visibility_cflags=$kpse_flag; break
5481 rm -f core conftest.err conftest.$ac_objext
5482 done
5483 ac_ext=c
5484 ac_cpp='$CPP $CPPFLAGS'
5485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cflags" >&5
5492 $as_echo "$kpse_cv_visibility_cflags" >&6; }
5493 CFLAGS=$kpse_save_flags
5494 case $kpse_cv_visibility_cflags in #(
5495 unknown) :
5496 ;; #(
5497 *) :
5498 VISIBILITY_CFLAGS=$kpse_cv_visibility_cflags
5500 esac
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for C++ to hide external symbols" >&5
5504 $as_echo_n "checking CXXFLAGS for C++ to hide external symbols... " >&6; }
5505 if ${kpse_cv_visibility_cxxflags+:} false; then :
5506 $as_echo_n "(cached) " >&6
5507 else
5508 ac_ext=cpp
5509 ac_cpp='$CXXCPP $CPPFLAGS'
5510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5514 kpse_cv_visibility_cxxflags=unknown
5515 kpse_save_flags=$CXXFLAGS
5516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5518 #include <stdio.h>
5519 extern void foo(void);
5520 void foo(void){printf("foo\n");}
5521 _ACEOF
5522 # FIXME: Add tests for non-GNU compilers
5523 for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
5524 CXXFLAGS="$kpse_save_flags -Werror $kpse_flag"
5525 if ac_fn_cxx_try_compile "$LINENO"; then :
5526 kpse_cv_visibility_cxxflags=$kpse_flag; break
5528 rm -f core conftest.err conftest.$ac_objext
5529 done
5530 ac_ext=c
5531 ac_cpp='$CPP $CPPFLAGS'
5532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cxxflags" >&5
5539 $as_echo "$kpse_cv_visibility_cxxflags" >&6; }
5540 CXXFLAGS=$kpse_save_flags
5541 case $kpse_cv_visibility_cxxflags in #(
5542 unknown) :
5543 ;; #(
5544 *) :
5545 VISIBILITY_CXXFLAGS=$kpse_cv_visibility_cxxflags
5547 esac
5552 ac_ext=c
5553 ac_cpp='$CPP $CPPFLAGS'
5554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5558 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5559 # On Suns, sometimes $CPP names a directory.
5560 if test -n "$CPP" && test -d "$CPP"; then
5561 CPP=
5563 if test -z "$CPP"; then
5564 if ${ac_cv_prog_CPP+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 # Double quotes because CPP needs to be expanded
5568 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5570 ac_preproc_ok=false
5571 for ac_c_preproc_warn_flag in '' yes
5573 # Use a header file that comes with gcc, so configuring glibc
5574 # with a fresh cross-compiler works.
5575 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5576 # <limits.h> exists even on freestanding compilers.
5577 # On the NeXT, cc -E runs the code through the compiler's parser,
5578 # not just through cpp. "Syntax error" is here to catch this case.
5579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5580 /* end confdefs.h. */
5581 #ifdef __STDC__
5582 # include <limits.h>
5583 #else
5584 # include <assert.h>
5585 #endif
5586 Syntax error
5587 _ACEOF
5588 if ac_fn_c_try_cpp "$LINENO"; then :
5590 else
5591 # Broken: fails on valid input.
5592 continue
5594 rm -f conftest.err conftest.i conftest.$ac_ext
5596 # OK, works on sane cases. Now check whether nonexistent headers
5597 # can be detected and how.
5598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5599 /* end confdefs.h. */
5600 #include <ac_nonexistent.h>
5601 _ACEOF
5602 if ac_fn_c_try_cpp "$LINENO"; then :
5603 # Broken: success on invalid input.
5604 continue
5605 else
5606 # Passes both tests.
5607 ac_preproc_ok=:
5608 break
5610 rm -f conftest.err conftest.i conftest.$ac_ext
5612 done
5613 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5614 rm -f conftest.i conftest.err conftest.$ac_ext
5615 if $ac_preproc_ok; then :
5616 break
5619 done
5620 ac_cv_prog_CPP=$CPP
5623 CPP=$ac_cv_prog_CPP
5624 else
5625 ac_cv_prog_CPP=$CPP
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5628 $as_echo "$CPP" >&6; }
5629 ac_preproc_ok=false
5630 for ac_c_preproc_warn_flag in '' yes
5632 # Use a header file that comes with gcc, so configuring glibc
5633 # with a fresh cross-compiler works.
5634 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5635 # <limits.h> exists even on freestanding compilers.
5636 # On the NeXT, cc -E runs the code through the compiler's parser,
5637 # not just through cpp. "Syntax error" is here to catch this case.
5638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5639 /* end confdefs.h. */
5640 #ifdef __STDC__
5641 # include <limits.h>
5642 #else
5643 # include <assert.h>
5644 #endif
5645 Syntax error
5646 _ACEOF
5647 if ac_fn_c_try_cpp "$LINENO"; then :
5649 else
5650 # Broken: fails on valid input.
5651 continue
5653 rm -f conftest.err conftest.i conftest.$ac_ext
5655 # OK, works on sane cases. Now check whether nonexistent headers
5656 # can be detected and how.
5657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5658 /* end confdefs.h. */
5659 #include <ac_nonexistent.h>
5660 _ACEOF
5661 if ac_fn_c_try_cpp "$LINENO"; then :
5662 # Broken: success on invalid input.
5663 continue
5664 else
5665 # Passes both tests.
5666 ac_preproc_ok=:
5667 break
5669 rm -f conftest.err conftest.i conftest.$ac_ext
5671 done
5672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5673 rm -f conftest.i conftest.err conftest.$ac_ext
5674 if $ac_preproc_ok; then :
5676 else
5677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5679 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5680 See \`config.log' for more details" "$LINENO" 5; }
5683 ac_ext=c
5684 ac_cpp='$CPP $CPPFLAGS'
5685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5691 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5692 if ${ac_cv_path_GREP+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 if test -z "$GREP"; then
5696 ac_path_GREP_found=false
5697 # Loop through the user's path and test for each of PROGNAME-LIST
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5701 IFS=$as_save_IFS
5702 test -z "$as_dir" && as_dir=.
5703 for ac_prog in grep ggrep; do
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5706 as_fn_executable_p "$ac_path_GREP" || continue
5707 # Check for GNU ac_path_GREP and select it if it is found.
5708 # Check for GNU $ac_path_GREP
5709 case `"$ac_path_GREP" --version 2>&1` in
5710 *GNU*)
5711 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5713 ac_count=0
5714 $as_echo_n 0123456789 >"conftest.in"
5715 while :
5717 cat "conftest.in" "conftest.in" >"conftest.tmp"
5718 mv "conftest.tmp" "conftest.in"
5719 cp "conftest.in" "conftest.nl"
5720 $as_echo 'GREP' >> "conftest.nl"
5721 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5722 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5723 as_fn_arith $ac_count + 1 && ac_count=$as_val
5724 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5725 # Best one so far, save it but keep looking for a better one
5726 ac_cv_path_GREP="$ac_path_GREP"
5727 ac_path_GREP_max=$ac_count
5729 # 10*(2^10) chars as input seems more than enough
5730 test $ac_count -gt 10 && break
5731 done
5732 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5733 esac
5735 $ac_path_GREP_found && break 3
5736 done
5737 done
5738 done
5739 IFS=$as_save_IFS
5740 if test -z "$ac_cv_path_GREP"; then
5741 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5743 else
5744 ac_cv_path_GREP=$GREP
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5749 $as_echo "$ac_cv_path_GREP" >&6; }
5750 GREP="$ac_cv_path_GREP"
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5754 $as_echo_n "checking for egrep... " >&6; }
5755 if ${ac_cv_path_EGREP+:} false; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5759 then ac_cv_path_EGREP="$GREP -E"
5760 else
5761 if test -z "$EGREP"; then
5762 ac_path_EGREP_found=false
5763 # Loop through the user's path and test for each of PROGNAME-LIST
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5767 IFS=$as_save_IFS
5768 test -z "$as_dir" && as_dir=.
5769 for ac_prog in egrep; do
5770 for ac_exec_ext in '' $ac_executable_extensions; do
5771 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5772 as_fn_executable_p "$ac_path_EGREP" || continue
5773 # Check for GNU ac_path_EGREP and select it if it is found.
5774 # Check for GNU $ac_path_EGREP
5775 case `"$ac_path_EGREP" --version 2>&1` in
5776 *GNU*)
5777 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5779 ac_count=0
5780 $as_echo_n 0123456789 >"conftest.in"
5781 while :
5783 cat "conftest.in" "conftest.in" >"conftest.tmp"
5784 mv "conftest.tmp" "conftest.in"
5785 cp "conftest.in" "conftest.nl"
5786 $as_echo 'EGREP' >> "conftest.nl"
5787 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5788 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5789 as_fn_arith $ac_count + 1 && ac_count=$as_val
5790 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5791 # Best one so far, save it but keep looking for a better one
5792 ac_cv_path_EGREP="$ac_path_EGREP"
5793 ac_path_EGREP_max=$ac_count
5795 # 10*(2^10) chars as input seems more than enough
5796 test $ac_count -gt 10 && break
5797 done
5798 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5799 esac
5801 $ac_path_EGREP_found && break 3
5802 done
5803 done
5804 done
5805 IFS=$as_save_IFS
5806 if test -z "$ac_cv_path_EGREP"; then
5807 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5809 else
5810 ac_cv_path_EGREP=$EGREP
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5816 $as_echo "$ac_cv_path_EGREP" >&6; }
5817 EGREP="$ac_cv_path_EGREP"
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5821 $as_echo_n "checking for ANSI C header files... " >&6; }
5822 if ${ac_cv_header_stdc+:} false; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5826 /* end confdefs.h. */
5827 #include <stdlib.h>
5828 #include <stdarg.h>
5829 #include <string.h>
5830 #include <float.h>
5833 main ()
5837 return 0;
5839 _ACEOF
5840 if ac_fn_c_try_compile "$LINENO"; then :
5841 ac_cv_header_stdc=yes
5842 else
5843 ac_cv_header_stdc=no
5845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5847 if test $ac_cv_header_stdc = yes; then
5848 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5850 /* end confdefs.h. */
5851 #include <string.h>
5853 _ACEOF
5854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5855 $EGREP "memchr" >/dev/null 2>&1; then :
5857 else
5858 ac_cv_header_stdc=no
5860 rm -f conftest*
5864 if test $ac_cv_header_stdc = yes; then
5865 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5868 #include <stdlib.h>
5870 _ACEOF
5871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5872 $EGREP "free" >/dev/null 2>&1; then :
5874 else
5875 ac_cv_header_stdc=no
5877 rm -f conftest*
5881 if test $ac_cv_header_stdc = yes; then
5882 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5883 if test "$cross_compiling" = yes; then :
5885 else
5886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5887 /* end confdefs.h. */
5888 #include <ctype.h>
5889 #include <stdlib.h>
5890 #if ((' ' & 0x0FF) == 0x020)
5891 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5892 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5893 #else
5894 # define ISLOWER(c) \
5895 (('a' <= (c) && (c) <= 'i') \
5896 || ('j' <= (c) && (c) <= 'r') \
5897 || ('s' <= (c) && (c) <= 'z'))
5898 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5899 #endif
5901 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5903 main ()
5905 int i;
5906 for (i = 0; i < 256; i++)
5907 if (XOR (islower (i), ISLOWER (i))
5908 || toupper (i) != TOUPPER (i))
5909 return 2;
5910 return 0;
5912 _ACEOF
5913 if ac_fn_c_try_run "$LINENO"; then :
5915 else
5916 ac_cv_header_stdc=no
5918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5919 conftest.$ac_objext conftest.beam conftest.$ac_ext
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5925 $as_echo "$ac_cv_header_stdc" >&6; }
5926 if test $ac_cv_header_stdc = yes; then
5928 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5932 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5933 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5934 inttypes.h stdint.h unistd.h
5935 do :
5936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5937 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5939 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5940 cat >>confdefs.h <<_ACEOF
5941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5942 _ACEOF
5946 done
5949 # The cast to long int works around a bug in the HP C Compiler
5950 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5951 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5952 # This bug is HP SR number 8606223364.
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
5954 $as_echo_n "checking size of long long... " >&6; }
5955 if ${ac_cv_sizeof_long_long+:} false; then :
5956 $as_echo_n "(cached) " >&6
5957 else
5958 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
5960 else
5961 if test "$ac_cv_type_long_long" = yes; then
5962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5964 as_fn_error 77 "cannot compute sizeof (long long)
5965 See \`config.log' for more details" "$LINENO" 5; }
5966 else
5967 ac_cv_sizeof_long_long=0
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
5973 $as_echo "$ac_cv_sizeof_long_long" >&6; }
5977 cat >>confdefs.h <<_ACEOF
5978 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5979 _ACEOF
5982 if test $ac_cv_sizeof_long_long -lt 8; then
5983 as_fn_error $? "Sorry, your compiler has no \`long long' with at least 8 bytes." "$LINENO" 5
5986 test "x$GXX" = xyes && NO_WARN_CXXFLAGS='-Wno-write-strings'
5989 # Check whether --enable-opi was given.
5990 if test "${enable_opi+set}" = set; then :
5991 enableval=$enable_opi; if test "x$enableval" = xyes; then
5993 $as_echo "#define OPI_SUPPORT 1" >>confdefs.h
6000 # Check whether --enable-multithreaded was given.
6001 if test "${enable_multithreaded+set}" = set; then :
6002 enableval=$enable_multithreaded; if test "x$enableval" != xno; then
6004 $as_echo "#define MULTITHREADED 1" >>confdefs.h
6011 # Check whether --enable-exceptions was given.
6012 if test "${enable_exceptions+set}" = set; then :
6013 enableval=$enable_exceptions; if test "x$enableval" = xyes; then
6015 $as_echo "#define USE_EXCEPTIONS 1" >>confdefs.h
6022 # Check whether --enable-fixedpoint was given.
6023 if test "${enable_fixedpoint+set}" = set; then :
6024 enableval=$enable_fixedpoint; if test "x$enableval" = xyes; then
6026 $as_echo "#define USE_FIXEDPOINT 1" >>confdefs.h
6034 for ac_header in strings.h
6035 do :
6036 ac_fn_c_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
6037 if test "x$ac_cv_header_strings_h" = xyes; then :
6038 cat >>confdefs.h <<_ACEOF
6039 #define HAVE_STRINGS_H 1
6040 _ACEOF
6044 done
6046 ac_header_dirent=no
6047 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6048 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6050 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6051 if eval \${$as_ac_Header+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6055 /* end confdefs.h. */
6056 #include <sys/types.h>
6057 #include <$ac_hdr>
6060 main ()
6062 if ((DIR *) 0)
6063 return 0;
6065 return 0;
6067 _ACEOF
6068 if ac_fn_c_try_compile "$LINENO"; then :
6069 eval "$as_ac_Header=yes"
6070 else
6071 eval "$as_ac_Header=no"
6073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6075 eval ac_res=\$$as_ac_Header
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6077 $as_echo "$ac_res" >&6; }
6078 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6079 cat >>confdefs.h <<_ACEOF
6080 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6081 _ACEOF
6083 ac_header_dirent=$ac_hdr; break
6086 done
6087 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6088 if test $ac_header_dirent = dirent.h; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6090 $as_echo_n "checking for library containing opendir... " >&6; }
6091 if ${ac_cv_search_opendir+:} false; then :
6092 $as_echo_n "(cached) " >&6
6093 else
6094 ac_func_search_save_LIBS=$LIBS
6095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6096 /* end confdefs.h. */
6098 /* Override any GCC internal prototype to avoid an error.
6099 Use char because int might match the return type of a GCC
6100 builtin and then its argument prototype would still apply. */
6101 #ifdef __cplusplus
6102 extern "C"
6103 #endif
6104 char opendir ();
6106 main ()
6108 return opendir ();
6110 return 0;
6112 _ACEOF
6113 for ac_lib in '' dir; do
6114 if test -z "$ac_lib"; then
6115 ac_res="none required"
6116 else
6117 ac_res=-l$ac_lib
6118 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6120 if ac_fn_c_try_link "$LINENO"; then :
6121 ac_cv_search_opendir=$ac_res
6123 rm -f core conftest.err conftest.$ac_objext \
6124 conftest$ac_exeext
6125 if ${ac_cv_search_opendir+:} false; then :
6126 break
6128 done
6129 if ${ac_cv_search_opendir+:} false; then :
6131 else
6132 ac_cv_search_opendir=no
6134 rm conftest.$ac_ext
6135 LIBS=$ac_func_search_save_LIBS
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6138 $as_echo "$ac_cv_search_opendir" >&6; }
6139 ac_res=$ac_cv_search_opendir
6140 if test "$ac_res" != no; then :
6141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6145 else
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6147 $as_echo_n "checking for library containing opendir... " >&6; }
6148 if ${ac_cv_search_opendir+:} false; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 ac_func_search_save_LIBS=$LIBS
6152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6155 /* Override any GCC internal prototype to avoid an error.
6156 Use char because int might match the return type of a GCC
6157 builtin and then its argument prototype would still apply. */
6158 #ifdef __cplusplus
6159 extern "C"
6160 #endif
6161 char opendir ();
6163 main ()
6165 return opendir ();
6167 return 0;
6169 _ACEOF
6170 for ac_lib in '' x; do
6171 if test -z "$ac_lib"; then
6172 ac_res="none required"
6173 else
6174 ac_res=-l$ac_lib
6175 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6177 if ac_fn_c_try_link "$LINENO"; then :
6178 ac_cv_search_opendir=$ac_res
6180 rm -f core conftest.err conftest.$ac_objext \
6181 conftest$ac_exeext
6182 if ${ac_cv_search_opendir+:} false; then :
6183 break
6185 done
6186 if ${ac_cv_search_opendir+:} false; then :
6188 else
6189 ac_cv_search_opendir=no
6191 rm conftest.$ac_ext
6192 LIBS=$ac_func_search_save_LIBS
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6195 $as_echo "$ac_cv_search_opendir" >&6; }
6196 ac_res=$ac_cv_search_opendir
6197 if test "$ac_res" != no; then :
6198 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6206 for ac_func in gettimeofday gmtime_r mkstemp popen rand_r
6207 do :
6208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6210 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6211 cat >>confdefs.h <<_ACEOF
6212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6213 _ACEOF
6216 done
6218 # Check whether --enable-largefile was given.
6219 if test "${enable_largefile+set}" = set; then :
6220 enableval=$enable_largefile;
6223 if test "$enable_largefile" != no; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6226 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6227 if ${ac_cv_sys_largefile_CC+:} false; then :
6228 $as_echo_n "(cached) " >&6
6229 else
6230 ac_cv_sys_largefile_CC=no
6231 if test "$GCC" != yes; then
6232 ac_save_CC=$CC
6233 while :; do
6234 # IRIX 6.2 and later do not support large files by default,
6235 # so use the C compiler's -n32 option if that helps.
6236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6237 /* end confdefs.h. */
6238 #include <sys/types.h>
6239 /* Check that off_t can represent 2**63 - 1 correctly.
6240 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6241 since some C++ compilers masquerading as C compilers
6242 incorrectly reject 9223372036854775807. */
6243 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6244 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6245 && LARGE_OFF_T % 2147483647 == 1)
6246 ? 1 : -1];
6248 main ()
6252 return 0;
6254 _ACEOF
6255 if ac_fn_c_try_compile "$LINENO"; then :
6256 break
6258 rm -f core conftest.err conftest.$ac_objext
6259 CC="$CC -n32"
6260 if ac_fn_c_try_compile "$LINENO"; then :
6261 ac_cv_sys_largefile_CC=' -n32'; break
6263 rm -f core conftest.err conftest.$ac_objext
6264 break
6265 done
6266 CC=$ac_save_CC
6267 rm -f conftest.$ac_ext
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6271 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6272 if test "$ac_cv_sys_largefile_CC" != no; then
6273 CC=$CC$ac_cv_sys_largefile_CC
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6277 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6278 if ${ac_cv_sys_file_offset_bits+:} false; then :
6279 $as_echo_n "(cached) " >&6
6280 else
6281 while :; do
6282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6284 #include <sys/types.h>
6285 /* Check that off_t can represent 2**63 - 1 correctly.
6286 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6287 since some C++ compilers masquerading as C compilers
6288 incorrectly reject 9223372036854775807. */
6289 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6290 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6291 && LARGE_OFF_T % 2147483647 == 1)
6292 ? 1 : -1];
6294 main ()
6298 return 0;
6300 _ACEOF
6301 if ac_fn_c_try_compile "$LINENO"; then :
6302 ac_cv_sys_file_offset_bits=no; break
6304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6307 #define _FILE_OFFSET_BITS 64
6308 #include <sys/types.h>
6309 /* Check that off_t can represent 2**63 - 1 correctly.
6310 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6311 since some C++ compilers masquerading as C compilers
6312 incorrectly reject 9223372036854775807. */
6313 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6314 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6315 && LARGE_OFF_T % 2147483647 == 1)
6316 ? 1 : -1];
6318 main ()
6322 return 0;
6324 _ACEOF
6325 if ac_fn_c_try_compile "$LINENO"; then :
6326 ac_cv_sys_file_offset_bits=64; break
6328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6329 ac_cv_sys_file_offset_bits=unknown
6330 break
6331 done
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6334 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6335 case $ac_cv_sys_file_offset_bits in #(
6336 no | unknown) ;;
6338 cat >>confdefs.h <<_ACEOF
6339 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6340 _ACEOF
6342 esac
6343 rm -rf conftest*
6344 if test $ac_cv_sys_file_offset_bits = unknown; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6346 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6347 if ${ac_cv_sys_large_files+:} false; then :
6348 $as_echo_n "(cached) " >&6
6349 else
6350 while :; do
6351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 #include <sys/types.h>
6354 /* Check that off_t can represent 2**63 - 1 correctly.
6355 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6356 since some C++ compilers masquerading as C compilers
6357 incorrectly reject 9223372036854775807. */
6358 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6359 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6360 && LARGE_OFF_T % 2147483647 == 1)
6361 ? 1 : -1];
6363 main ()
6367 return 0;
6369 _ACEOF
6370 if ac_fn_c_try_compile "$LINENO"; then :
6371 ac_cv_sys_large_files=no; break
6373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #define _LARGE_FILES 1
6377 #include <sys/types.h>
6378 /* Check that off_t can represent 2**63 - 1 correctly.
6379 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6380 since some C++ compilers masquerading as C compilers
6381 incorrectly reject 9223372036854775807. */
6382 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6383 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6384 && LARGE_OFF_T % 2147483647 == 1)
6385 ? 1 : -1];
6387 main ()
6391 return 0;
6393 _ACEOF
6394 if ac_fn_c_try_compile "$LINENO"; then :
6395 ac_cv_sys_large_files=1; break
6397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6398 ac_cv_sys_large_files=unknown
6399 break
6400 done
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6403 $as_echo "$ac_cv_sys_large_files" >&6; }
6404 case $ac_cv_sys_large_files in #(
6405 no | unknown) ;;
6407 cat >>confdefs.h <<_ACEOF
6408 #define _LARGE_FILES $ac_cv_sys_large_files
6409 _ACEOF
6411 esac
6412 rm -rf conftest*
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
6419 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
6420 if ${ac_cv_sys_largefile_source+:} false; then :
6421 $as_echo_n "(cached) " >&6
6422 else
6423 while :; do
6424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6426 #include <sys/types.h> /* for off_t */
6427 #include <stdio.h>
6429 main ()
6431 int (*fp) (FILE *, off_t, int) = fseeko;
6432 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6434 return 0;
6436 _ACEOF
6437 if ac_fn_c_try_link "$LINENO"; then :
6438 ac_cv_sys_largefile_source=no; break
6440 rm -f core conftest.err conftest.$ac_objext \
6441 conftest$ac_exeext conftest.$ac_ext
6442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6443 /* end confdefs.h. */
6444 #define _LARGEFILE_SOURCE 1
6445 #include <sys/types.h> /* for off_t */
6446 #include <stdio.h>
6448 main ()
6450 int (*fp) (FILE *, off_t, int) = fseeko;
6451 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6453 return 0;
6455 _ACEOF
6456 if ac_fn_c_try_link "$LINENO"; then :
6457 ac_cv_sys_largefile_source=1; break
6459 rm -f core conftest.err conftest.$ac_objext \
6460 conftest$ac_exeext conftest.$ac_ext
6461 ac_cv_sys_largefile_source=unknown
6462 break
6463 done
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
6466 $as_echo "$ac_cv_sys_largefile_source" >&6; }
6467 case $ac_cv_sys_largefile_source in #(
6468 no | unknown) ;;
6470 cat >>confdefs.h <<_ACEOF
6471 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
6472 _ACEOF
6474 esac
6475 rm -rf conftest*
6477 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
6478 # in glibc 2.1.3, but that breaks too many other things.
6479 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
6480 if test $ac_cv_sys_largefile_source != unknown; then
6482 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
6486 ac_fn_c_check_func "$LINENO" "ftell64" "ac_cv_func_ftell64"
6487 if test "x$ac_cv_func_ftell64" = xyes; then :
6488 for ac_func in fseek64
6489 do :
6490 ac_fn_c_check_func "$LINENO" "fseek64" "ac_cv_func_fseek64"
6491 if test "x$ac_cv_func_fseek64" = xyes; then :
6492 cat >>confdefs.h <<_ACEOF
6493 #define HAVE_FSEEK64 1
6494 _ACEOF
6497 done
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
6503 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
6504 if ${kpse_cv_have_win32+:} false; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6509 #ifndef WIN32
6510 choke me
6511 #endif
6513 main ()
6517 return 0;
6519 _ACEOF
6520 if ac_fn_c_try_compile "$LINENO"; then :
6521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6523 #ifndef __MINGW32__
6524 choke me
6525 #endif
6527 main ()
6531 return 0;
6533 _ACEOF
6534 if ac_fn_c_try_compile "$LINENO"; then :
6535 kpse_cv_have_win32=mingw32
6536 else
6537 kpse_cv_have_win32=native
6539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6540 else
6541 kpse_cv_have_win32=no
6543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
6546 $as_echo "$kpse_cv_have_win32" >&6; }
6548 if test "x$kpse_cv_have_win32" != xno; then
6549 WIN32_TRUE=
6550 WIN32_FALSE='#'
6551 else
6552 WIN32_TRUE='#'
6553 WIN32_FALSE=
6557 if test "x$kpse_cv_have_win32" = xmingw32; then
6558 MINGW32_TRUE=
6559 MINGW32_FALSE='#'
6560 else
6561 MINGW32_TRUE='#'
6562 MINGW32_FALSE=
6567 if test "x$kpse_cv_have_win32" = xmingw32; then
6569 $as_echo "#define _WIN32_WINNT 0x0500" >>confdefs.h
6573 ac_config_headers="$ac_config_headers config.h"
6576 ac_config_headers="$ac_config_headers poppler-config.h:poppler-0.37.0/poppler/poppler-config.h.in"
6580 cat >>confdefs.h <<_ACEOF
6581 #define POPPLER_VERSION "0.37.0"
6582 _ACEOF
6585 kpse_save_CPPFLAGS=$CPPFLAGS
6586 kpse_save_LIBS=$LIBS
6588 ## _KPSE_INIT: Initialize TL infrastructure
6589 kpse_BLD=`(cd "./../../." && pwd)`
6590 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
6592 ## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags
6594 # Check whether --with-system-zlib was given.
6595 if test "${with_system_zlib+set}" = set; then :
6596 withval=$with_system_zlib;
6599 # Check whether --with-zlib-includes was given.
6600 if test "${with_zlib_includes+set}" = set; then :
6601 withval=$with_zlib_includes;
6604 # Check whether --with-zlib-libdir was given.
6605 if test "${with_zlib_libdir+set}" = set; then :
6606 withval=$with_zlib_libdir;
6608 if test "x$with_system_zlib" = xyes; then
6609 if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then
6610 ZLIB_INCLUDES="-I$with_zlib_includes"
6612 ZLIB_LIBS="-lz"
6613 if test "x$with_zlib_libdir" != x && test "x$with_zlib_libdir" != xyes; then
6614 ZLIB_LIBS="-L$with_zlib_libdir $ZLIB_LIBS"
6616 else
6617 ZLIB_INCLUDES="-I$kpse_BLD/libs/zlib/include"
6618 ZLIB_LIBS="$kpse_BLD/libs/zlib/libz.a"
6619 ZLIB_DEPEND='${top_builddir}/../../libs/zlib/libz.a'
6620 ZLIB_RULE='# Rebuild libz
6621 $(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
6622 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
6623 ${top_builddir}/../../libs/zlib/include/zconf.h:
6624 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5
6627 $as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; }
6628 if ${kpse_cv_have_decl_z_const+:} false; then :
6629 $as_echo_n "(cached) " >&6
6630 else
6631 eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\"
6632 eval LIBS=\"$ZLIB_LIBS \$LIBS\"
6634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6635 /* end confdefs.h. */
6636 #include <zlib.h>
6638 main ()
6640 z_const char * foo();
6642 return 0;
6644 _ACEOF
6645 if ac_fn_c_try_compile "$LINENO"; then :
6646 kpse_cv_have_decl_z_const=yes
6647 else
6648 kpse_cv_have_decl_z_const=no
6650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6651 CPPFLAGS=$kpse_save_CPPFLAGS
6652 LIBS=$kpse_save_LIBS
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5
6656 $as_echo "$kpse_cv_have_decl_z_const" >&6; }
6657 case $kpse_cv_have_decl_z_const in #(
6658 yes) :
6660 $as_echo "#define ZLIB_CONST 1" >>confdefs.h
6661 ;; #(
6662 *) :
6664 $as_echo "#define z_const /**/" >>confdefs.h
6666 esac
6669 if test "x$enable_build" != xno; then
6670 build_TRUE=
6671 build_FALSE='#'
6672 else
6673 build_TRUE='#'
6674 build_FALSE=
6678 if test "x$enable_build" != xno || test -f config.force; then
6680 eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\"
6681 eval LIBS=\"$ZLIB_LIBS \$LIBS\"
6683 ac_fn_c_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
6684 if test "x$ac_cv_func_inflate" = xyes; then :
6686 else
6687 as_fn_error $? "zlib not found" "$LINENO" 5
6690 for ac_header in zlib.h
6691 do :
6692 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6693 if test "x$ac_cv_header_zlib_h" = xyes; then :
6694 cat >>confdefs.h <<_ACEOF
6695 #define HAVE_ZLIB_H 1
6696 _ACEOF
6698 else
6699 as_fn_error $? "zlib not found" "$LINENO" 5
6702 done
6704 CPPFLAGS=$kpse_save_CPPFLAGS
6705 LIBS=$kpse_save_LIBS
6708 echo timestamp >config.force
6712 $as_echo "#define ENABLE_ZLIB 1" >>confdefs.h
6715 POPPLER_TREE=poppler-0.37.0
6718 ac_config_files="$ac_config_files Makefile include/Makefile include/goo/Makefile include/fofi/Makefile"
6721 cat >confcache <<\_ACEOF
6722 # This file is a shell script that caches the results of configure
6723 # tests run on this system so they can be shared between configure
6724 # scripts and configure runs, see configure's option --config-cache.
6725 # It is not useful on other systems. If it contains results you don't
6726 # want to keep, you may remove or edit it.
6728 # config.status only pays attention to the cache file if you give it
6729 # the --recheck option to rerun configure.
6731 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6732 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6733 # following values.
6735 _ACEOF
6737 # The following way of writing the cache mishandles newlines in values,
6738 # but we know of no workaround that is simple, portable, and efficient.
6739 # So, we kill variables containing newlines.
6740 # Ultrix sh set writes to stderr and can't be redirected directly,
6741 # and sets the high bit in the cache file unless we assign to the vars.
6743 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6744 eval ac_val=\$$ac_var
6745 case $ac_val in #(
6746 *${as_nl}*)
6747 case $ac_var in #(
6748 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6749 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6750 esac
6751 case $ac_var in #(
6752 _ | IFS | as_nl) ;; #(
6753 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6754 *) { eval $ac_var=; unset $ac_var;} ;;
6755 esac ;;
6756 esac
6757 done
6759 (set) 2>&1 |
6760 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6761 *${as_nl}ac_space=\ *)
6762 # `set' does not quote correctly, so add quotes: double-quote
6763 # substitution turns \\\\ into \\, and sed turns \\ into \.
6764 sed -n \
6765 "s/'/'\\\\''/g;
6766 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6767 ;; #(
6769 # `set' quotes correctly as required by POSIX, so do not add quotes.
6770 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6772 esac |
6773 sort
6775 sed '
6776 /^ac_cv_env_/b end
6777 t clear
6778 :clear
6779 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6780 t end
6781 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6782 :end' >>confcache
6783 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6784 if test -w "$cache_file"; then
6785 if test "x$cache_file" != "x/dev/null"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6787 $as_echo "$as_me: updating cache $cache_file" >&6;}
6788 if test ! -f "$cache_file" || test -h "$cache_file"; then
6789 cat confcache >"$cache_file"
6790 else
6791 case $cache_file in #(
6792 */* | ?:*)
6793 mv -f confcache "$cache_file"$$ &&
6794 mv -f "$cache_file"$$ "$cache_file" ;; #(
6796 mv -f confcache "$cache_file" ;;
6797 esac
6800 else
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6802 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6805 rm -f confcache
6807 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6808 # Let make expand exec_prefix.
6809 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6811 DEFS=-DHAVE_CONFIG_H
6813 ac_libobjs=
6814 ac_ltlibobjs=
6816 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6817 # 1. Remove the extension, and $U if already installed.
6818 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6819 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6820 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6821 # will be set to the directory where LIBOBJS objects are built.
6822 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6823 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6824 done
6825 LIBOBJS=$ac_libobjs
6827 LTLIBOBJS=$ac_ltlibobjs
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6831 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6832 if test -n "$am_sleep_pid"; then
6833 # Hide warnings about reused PIDs.
6834 wait $am_sleep_pid 2>/dev/null
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6837 $as_echo "done" >&6; }
6838 if test -n "$EXEEXT"; then
6839 am__EXEEXT_TRUE=
6840 am__EXEEXT_FALSE='#'
6841 else
6842 am__EXEEXT_TRUE='#'
6843 am__EXEEXT_FALSE=
6846 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6847 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6850 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6851 as_fn_error $? "conditional \"AMDEP\" was never defined.
6852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6854 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6855 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6858 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6859 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6862 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6863 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6866 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
6867 as_fn_error $? "conditional \"WIN32\" was never defined.
6868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6870 if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then
6871 as_fn_error $? "conditional \"MINGW32\" was never defined.
6872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6874 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
6875 as_fn_error $? "conditional \"build\" was never defined.
6876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6879 : "${CONFIG_STATUS=./config.status}"
6880 ac_write_fail=0
6881 ac_clean_files_save=$ac_clean_files
6882 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6884 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6885 as_write_fail=0
6886 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6887 #! $SHELL
6888 # Generated by $as_me.
6889 # Run this file to recreate the current configuration.
6890 # Compiler output produced by configure, useful for debugging
6891 # configure, is in config.log if it exists.
6893 debug=false
6894 ac_cs_recheck=false
6895 ac_cs_silent=false
6897 SHELL=\${CONFIG_SHELL-$SHELL}
6898 export SHELL
6899 _ASEOF
6900 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6901 ## -------------------- ##
6902 ## M4sh Initialization. ##
6903 ## -------------------- ##
6905 # Be more Bourne compatible
6906 DUALCASE=1; export DUALCASE # for MKS sh
6907 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6908 emulate sh
6909 NULLCMD=:
6910 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6911 # is contrary to our usage. Disable this feature.
6912 alias -g '${1+"$@"}'='"$@"'
6913 setopt NO_GLOB_SUBST
6914 else
6915 case `(set -o) 2>/dev/null` in #(
6916 *posix*) :
6917 set -o posix ;; #(
6918 *) :
6920 esac
6924 as_nl='
6926 export as_nl
6927 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6928 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6929 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6930 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6931 # Prefer a ksh shell builtin over an external printf program on Solaris,
6932 # but without wasting forks for bash or zsh.
6933 if test -z "$BASH_VERSION$ZSH_VERSION" \
6934 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6935 as_echo='print -r --'
6936 as_echo_n='print -rn --'
6937 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6938 as_echo='printf %s\n'
6939 as_echo_n='printf %s'
6940 else
6941 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6942 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6943 as_echo_n='/usr/ucb/echo -n'
6944 else
6945 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6946 as_echo_n_body='eval
6947 arg=$1;
6948 case $arg in #(
6949 *"$as_nl"*)
6950 expr "X$arg" : "X\\(.*\\)$as_nl";
6951 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6952 esac;
6953 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6955 export as_echo_n_body
6956 as_echo_n='sh -c $as_echo_n_body as_echo'
6958 export as_echo_body
6959 as_echo='sh -c $as_echo_body as_echo'
6962 # The user is always right.
6963 if test "${PATH_SEPARATOR+set}" != set; then
6964 PATH_SEPARATOR=:
6965 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6966 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6967 PATH_SEPARATOR=';'
6972 # IFS
6973 # We need space, tab and new line, in precisely that order. Quoting is
6974 # there to prevent editors from complaining about space-tab.
6975 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6976 # splitting by setting IFS to empty value.)
6977 IFS=" "" $as_nl"
6979 # Find who we are. Look in the path if we contain no directory separator.
6980 as_myself=
6981 case $0 in #((
6982 *[\\/]* ) as_myself=$0 ;;
6983 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6984 for as_dir in $PATH
6986 IFS=$as_save_IFS
6987 test -z "$as_dir" && as_dir=.
6988 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6989 done
6990 IFS=$as_save_IFS
6993 esac
6994 # We did not find ourselves, most probably we were run as `sh COMMAND'
6995 # in which case we are not to be found in the path.
6996 if test "x$as_myself" = x; then
6997 as_myself=$0
6999 if test ! -f "$as_myself"; then
7000 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7001 exit 1
7004 # Unset variables that we do not need and which cause bugs (e.g. in
7005 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7006 # suppresses any "Segmentation fault" message there. '((' could
7007 # trigger a bug in pdksh 5.2.14.
7008 for as_var in BASH_ENV ENV MAIL MAILPATH
7009 do eval test x\${$as_var+set} = xset \
7010 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7011 done
7012 PS1='$ '
7013 PS2='> '
7014 PS4='+ '
7016 # NLS nuisances.
7017 LC_ALL=C
7018 export LC_ALL
7019 LANGUAGE=C
7020 export LANGUAGE
7022 # CDPATH.
7023 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7026 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7027 # ----------------------------------------
7028 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7029 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7030 # script with STATUS, using 1 if that was 0.
7031 as_fn_error ()
7033 as_status=$1; test $as_status -eq 0 && as_status=1
7034 if test "$4"; then
7035 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7036 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7038 $as_echo "$as_me: error: $2" >&2
7039 as_fn_exit $as_status
7040 } # as_fn_error
7043 # as_fn_set_status STATUS
7044 # -----------------------
7045 # Set $? to STATUS, without forking.
7046 as_fn_set_status ()
7048 return $1
7049 } # as_fn_set_status
7051 # as_fn_exit STATUS
7052 # -----------------
7053 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7054 as_fn_exit ()
7056 set +e
7057 as_fn_set_status $1
7058 exit $1
7059 } # as_fn_exit
7061 # as_fn_unset VAR
7062 # ---------------
7063 # Portably unset VAR.
7064 as_fn_unset ()
7066 { eval $1=; unset $1;}
7068 as_unset=as_fn_unset
7069 # as_fn_append VAR VALUE
7070 # ----------------------
7071 # Append the text in VALUE to the end of the definition contained in VAR. Take
7072 # advantage of any shell optimizations that allow amortized linear growth over
7073 # repeated appends, instead of the typical quadratic growth present in naive
7074 # implementations.
7075 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7076 eval 'as_fn_append ()
7078 eval $1+=\$2
7080 else
7081 as_fn_append ()
7083 eval $1=\$$1\$2
7085 fi # as_fn_append
7087 # as_fn_arith ARG...
7088 # ------------------
7089 # Perform arithmetic evaluation on the ARGs, and store the result in the
7090 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7091 # must be portable across $(()) and expr.
7092 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7093 eval 'as_fn_arith ()
7095 as_val=$(( $* ))
7097 else
7098 as_fn_arith ()
7100 as_val=`expr "$@" || test $? -eq 1`
7102 fi # as_fn_arith
7105 if expr a : '\(a\)' >/dev/null 2>&1 &&
7106 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7107 as_expr=expr
7108 else
7109 as_expr=false
7112 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7113 as_basename=basename
7114 else
7115 as_basename=false
7118 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7119 as_dirname=dirname
7120 else
7121 as_dirname=false
7124 as_me=`$as_basename -- "$0" ||
7125 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7126 X"$0" : 'X\(//\)$' \| \
7127 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7128 $as_echo X/"$0" |
7129 sed '/^.*\/\([^/][^/]*\)\/*$/{
7130 s//\1/
7133 /^X\/\(\/\/\)$/{
7134 s//\1/
7137 /^X\/\(\/\).*/{
7138 s//\1/
7141 s/.*/./; q'`
7143 # Avoid depending upon Character Ranges.
7144 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7145 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7146 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7147 as_cr_digits='0123456789'
7148 as_cr_alnum=$as_cr_Letters$as_cr_digits
7150 ECHO_C= ECHO_N= ECHO_T=
7151 case `echo -n x` in #(((((
7152 -n*)
7153 case `echo 'xy\c'` in
7154 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7155 xy) ECHO_C='\c';;
7156 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7157 ECHO_T=' ';;
7158 esac;;
7160 ECHO_N='-n';;
7161 esac
7163 rm -f conf$$ conf$$.exe conf$$.file
7164 if test -d conf$$.dir; then
7165 rm -f conf$$.dir/conf$$.file
7166 else
7167 rm -f conf$$.dir
7168 mkdir conf$$.dir 2>/dev/null
7170 if (echo >conf$$.file) 2>/dev/null; then
7171 if ln -s conf$$.file conf$$ 2>/dev/null; then
7172 as_ln_s='ln -s'
7173 # ... but there are two gotchas:
7174 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7175 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7176 # In both cases, we have to default to `cp -pR'.
7177 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7178 as_ln_s='cp -pR'
7179 elif ln conf$$.file conf$$ 2>/dev/null; then
7180 as_ln_s=ln
7181 else
7182 as_ln_s='cp -pR'
7184 else
7185 as_ln_s='cp -pR'
7187 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7188 rmdir conf$$.dir 2>/dev/null
7191 # as_fn_mkdir_p
7192 # -------------
7193 # Create "$as_dir" as a directory, including parents if necessary.
7194 as_fn_mkdir_p ()
7197 case $as_dir in #(
7198 -*) as_dir=./$as_dir;;
7199 esac
7200 test -d "$as_dir" || eval $as_mkdir_p || {
7201 as_dirs=
7202 while :; do
7203 case $as_dir in #(
7204 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7205 *) as_qdir=$as_dir;;
7206 esac
7207 as_dirs="'$as_qdir' $as_dirs"
7208 as_dir=`$as_dirname -- "$as_dir" ||
7209 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7210 X"$as_dir" : 'X\(//\)[^/]' \| \
7211 X"$as_dir" : 'X\(//\)$' \| \
7212 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7213 $as_echo X"$as_dir" |
7214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7215 s//\1/
7218 /^X\(\/\/\)[^/].*/{
7219 s//\1/
7222 /^X\(\/\/\)$/{
7223 s//\1/
7226 /^X\(\/\).*/{
7227 s//\1/
7230 s/.*/./; q'`
7231 test -d "$as_dir" && break
7232 done
7233 test -z "$as_dirs" || eval "mkdir $as_dirs"
7234 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7237 } # as_fn_mkdir_p
7238 if mkdir -p . 2>/dev/null; then
7239 as_mkdir_p='mkdir -p "$as_dir"'
7240 else
7241 test -d ./-p && rmdir ./-p
7242 as_mkdir_p=false
7246 # as_fn_executable_p FILE
7247 # -----------------------
7248 # Test if FILE is an executable regular file.
7249 as_fn_executable_p ()
7251 test -f "$1" && test -x "$1"
7252 } # as_fn_executable_p
7253 as_test_x='test -x'
7254 as_executable_p=as_fn_executable_p
7256 # Sed expression to map a string onto a valid CPP name.
7257 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7259 # Sed expression to map a string onto a valid variable name.
7260 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7263 exec 6>&1
7264 ## ----------------------------------- ##
7265 ## Main body of $CONFIG_STATUS script. ##
7266 ## ----------------------------------- ##
7267 _ASEOF
7268 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7271 # Save the log message, to keep $0 and so on meaningful, and to
7272 # report actual input values of CONFIG_FILES etc. instead of their
7273 # values after options handling.
7274 ac_log="
7275 This file was extended by poppler (TeX Live) $as_me 0.37.0, which was
7276 generated by GNU Autoconf 2.69. Invocation command line was
7278 CONFIG_FILES = $CONFIG_FILES
7279 CONFIG_HEADERS = $CONFIG_HEADERS
7280 CONFIG_LINKS = $CONFIG_LINKS
7281 CONFIG_COMMANDS = $CONFIG_COMMANDS
7282 $ $0 $@
7284 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7287 _ACEOF
7289 case $ac_config_files in *"
7290 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7291 esac
7293 case $ac_config_headers in *"
7294 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7295 esac
7298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7299 # Files that config.status was made for.
7300 config_files="$ac_config_files"
7301 config_headers="$ac_config_headers"
7302 config_commands="$ac_config_commands"
7304 _ACEOF
7306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7307 ac_cs_usage="\
7308 \`$as_me' instantiates files and other configuration actions
7309 from templates according to the current configuration. Unless the files
7310 and actions are specified as TAGs, all are instantiated by default.
7312 Usage: $0 [OPTION]... [TAG]...
7314 -h, --help print this help, then exit
7315 -V, --version print version number and configuration settings, then exit
7316 --config print configuration, then exit
7317 -q, --quiet, --silent
7318 do not print progress messages
7319 -d, --debug don't remove temporary files
7320 --recheck update $as_me by reconfiguring in the same conditions
7321 --file=FILE[:TEMPLATE]
7322 instantiate the configuration file FILE
7323 --header=FILE[:TEMPLATE]
7324 instantiate the configuration header FILE
7326 Configuration files:
7327 $config_files
7329 Configuration headers:
7330 $config_headers
7332 Configuration commands:
7333 $config_commands
7335 Report bugs to <tex-k@tug.org>."
7337 _ACEOF
7338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7339 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7340 ac_cs_version="\\
7341 poppler (TeX Live) config.status 0.37.0
7342 configured by $0, generated by GNU Autoconf 2.69,
7343 with options \\"\$ac_cs_config\\"
7345 Copyright (C) 2012 Free Software Foundation, Inc.
7346 This config.status script is free software; the Free Software Foundation
7347 gives unlimited permission to copy, distribute and modify it."
7349 ac_pwd='$ac_pwd'
7350 srcdir='$srcdir'
7351 INSTALL='$INSTALL'
7352 MKDIR_P='$MKDIR_P'
7353 AWK='$AWK'
7354 test -n "\$AWK" || AWK=awk
7355 _ACEOF
7357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7358 # The default lists apply if the user does not specify any file.
7359 ac_need_defaults=:
7360 while test $# != 0
7362 case $1 in
7363 --*=?*)
7364 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7365 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7366 ac_shift=:
7368 --*=)
7369 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7370 ac_optarg=
7371 ac_shift=:
7374 ac_option=$1
7375 ac_optarg=$2
7376 ac_shift=shift
7378 esac
7380 case $ac_option in
7381 # Handling of the options.
7382 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7383 ac_cs_recheck=: ;;
7384 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7385 $as_echo "$ac_cs_version"; exit ;;
7386 --config | --confi | --conf | --con | --co | --c )
7387 $as_echo "$ac_cs_config"; exit ;;
7388 --debug | --debu | --deb | --de | --d | -d )
7389 debug=: ;;
7390 --file | --fil | --fi | --f )
7391 $ac_shift
7392 case $ac_optarg in
7393 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7394 '') as_fn_error $? "missing file argument" ;;
7395 esac
7396 as_fn_append CONFIG_FILES " '$ac_optarg'"
7397 ac_need_defaults=false;;
7398 --header | --heade | --head | --hea )
7399 $ac_shift
7400 case $ac_optarg in
7401 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7402 esac
7403 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7404 ac_need_defaults=false;;
7405 --he | --h)
7406 # Conflict between --help and --header
7407 as_fn_error $? "ambiguous option: \`$1'
7408 Try \`$0 --help' for more information.";;
7409 --help | --hel | -h )
7410 $as_echo "$ac_cs_usage"; exit ;;
7411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7412 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7413 ac_cs_silent=: ;;
7415 # This is an error.
7416 -*) as_fn_error $? "unrecognized option: \`$1'
7417 Try \`$0 --help' for more information." ;;
7419 *) as_fn_append ac_config_targets " $1"
7420 ac_need_defaults=false ;;
7422 esac
7423 shift
7424 done
7426 ac_configure_extra_args=
7428 if $ac_cs_silent; then
7429 exec 6>/dev/null
7430 ac_configure_extra_args="$ac_configure_extra_args --silent"
7433 _ACEOF
7434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7435 if \$ac_cs_recheck; then
7436 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7437 shift
7438 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7439 CONFIG_SHELL='$SHELL'
7440 export CONFIG_SHELL
7441 exec "\$@"
7444 _ACEOF
7445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7446 exec 5>>config.log
7448 echo
7449 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7450 ## Running $as_me. ##
7451 _ASBOX
7452 $as_echo "$ac_log"
7453 } >&5
7455 _ACEOF
7456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7458 # INIT-COMMANDS
7460 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7462 _ACEOF
7464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7466 # Handling of arguments.
7467 for ac_config_target in $ac_config_targets
7469 case $ac_config_target in
7470 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7471 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7472 "poppler-config.h") CONFIG_HEADERS="$CONFIG_HEADERS poppler-config.h:poppler-0.37.0/poppler/poppler-config.h.in" ;;
7473 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7474 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
7475 "include/goo/Makefile") CONFIG_FILES="$CONFIG_FILES include/goo/Makefile" ;;
7476 "include/fofi/Makefile") CONFIG_FILES="$CONFIG_FILES include/fofi/Makefile" ;;
7478 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7479 esac
7480 done
7483 # If the user did not use the arguments to specify the items to instantiate,
7484 # then the envvar interface is used. Set only those that are not.
7485 # We use the long form for the default assignment because of an extremely
7486 # bizarre bug on SunOS 4.1.3.
7487 if $ac_need_defaults; then
7488 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7489 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7490 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7493 # Have a temporary directory for convenience. Make it in the build tree
7494 # simply because there is no reason against having it here, and in addition,
7495 # creating and moving files from /tmp can sometimes cause problems.
7496 # Hook for its removal unless debugging.
7497 # Note that there is a small window in which the directory will not be cleaned:
7498 # after its creation but before its name has been assigned to `$tmp'.
7499 $debug ||
7501 tmp= ac_tmp=
7502 trap 'exit_status=$?
7503 : "${ac_tmp:=$tmp}"
7504 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7506 trap 'as_fn_exit 1' 1 2 13 15
7508 # Create a (secure) tmp directory for tmp files.
7511 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7512 test -d "$tmp"
7513 } ||
7515 tmp=./conf$$-$RANDOM
7516 (umask 077 && mkdir "$tmp")
7517 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7518 ac_tmp=$tmp
7520 # Set up the scripts for CONFIG_FILES section.
7521 # No need to generate them if there are no CONFIG_FILES.
7522 # This happens for instance with `./config.status config.h'.
7523 if test -n "$CONFIG_FILES"; then
7526 ac_cr=`echo X | tr X '\015'`
7527 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7528 # But we know of no other shell where ac_cr would be empty at this
7529 # point, so we can use a bashism as a fallback.
7530 if test "x$ac_cr" = x; then
7531 eval ac_cr=\$\'\\r\'
7533 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7534 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7535 ac_cs_awk_cr='\\r'
7536 else
7537 ac_cs_awk_cr=$ac_cr
7540 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7541 _ACEOF
7545 echo "cat >conf$$subs.awk <<_ACEOF" &&
7546 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7547 echo "_ACEOF"
7548 } >conf$$subs.sh ||
7549 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7550 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7551 ac_delim='%!_!# '
7552 for ac_last_try in false false false false false :; do
7553 . ./conf$$subs.sh ||
7554 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7556 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7557 if test $ac_delim_n = $ac_delim_num; then
7558 break
7559 elif $ac_last_try; then
7560 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7561 else
7562 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7564 done
7565 rm -f conf$$subs.sh
7567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7568 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7569 _ACEOF
7570 sed -n '
7572 s/^/S["/; s/!.*/"]=/
7575 s/^[^!]*!//
7576 :repl
7577 t repl
7578 s/'"$ac_delim"'$//
7579 t delim
7582 s/\(.\{148\}\)..*/\1/
7583 t more1
7584 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7587 b repl
7588 :more1
7589 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7592 s/.\{148\}//
7593 t nl
7594 :delim
7596 s/\(.\{148\}\)..*/\1/
7597 t more2
7598 s/["\\]/\\&/g; s/^/"/; s/$/"/
7601 :more2
7602 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7605 s/.\{148\}//
7606 t delim
7607 ' <conf$$subs.awk | sed '
7608 /^[^""]/{
7610 s/\n//
7612 ' >>$CONFIG_STATUS || ac_write_fail=1
7613 rm -f conf$$subs.awk
7614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7615 _ACAWK
7616 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7617 for (key in S) S_is_set[key] = 1
7618 FS = "\a"
7622 line = $ 0
7623 nfields = split(line, field, "@")
7624 substed = 0
7625 len = length(field[1])
7626 for (i = 2; i < nfields; i++) {
7627 key = field[i]
7628 keylen = length(key)
7629 if (S_is_set[key]) {
7630 value = S[key]
7631 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7632 len += length(value) + length(field[++i])
7633 substed = 1
7634 } else
7635 len += 1 + keylen
7638 print line
7641 _ACAWK
7642 _ACEOF
7643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7644 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7645 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7646 else
7648 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7649 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7650 _ACEOF
7652 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7653 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7654 # trailing colons and then remove the whole line if VPATH becomes empty
7655 # (actually we leave an empty line to preserve line numbers).
7656 if test "x$srcdir" = x.; then
7657 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7659 s///
7660 s/^/:/
7661 s/[ ]*$/:/
7662 s/:\$(srcdir):/:/g
7663 s/:\${srcdir}:/:/g
7664 s/:@srcdir@:/:/g
7665 s/^:*//
7666 s/:*$//
7668 s/\(=[ ]*\).*/\1/
7670 s/\n//
7671 s/^[^=]*=[ ]*$//
7675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7676 fi # test -n "$CONFIG_FILES"
7678 # Set up the scripts for CONFIG_HEADERS section.
7679 # No need to generate them if there are no CONFIG_HEADERS.
7680 # This happens for instance with `./config.status Makefile'.
7681 if test -n "$CONFIG_HEADERS"; then
7682 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7683 BEGIN {
7684 _ACEOF
7686 # Transform confdefs.h into an awk script `defines.awk', embedded as
7687 # here-document in config.status, that substitutes the proper values into
7688 # config.h.in to produce config.h.
7690 # Create a delimiter string that does not exist in confdefs.h, to ease
7691 # handling of long lines.
7692 ac_delim='%!_!# '
7693 for ac_last_try in false false :; do
7694 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7695 if test -z "$ac_tt"; then
7696 break
7697 elif $ac_last_try; then
7698 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7699 else
7700 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7702 done
7704 # For the awk script, D is an array of macro values keyed by name,
7705 # likewise P contains macro parameters if any. Preserve backslash
7706 # newline sequences.
7708 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7709 sed -n '
7710 s/.\{148\}/&'"$ac_delim"'/g
7711 t rset
7712 :rset
7713 s/^[ ]*#[ ]*define[ ][ ]*/ /
7714 t def
7716 :def
7717 s/\\$//
7718 t bsnl
7719 s/["\\]/\\&/g
7720 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7721 D["\1"]=" \3"/p
7722 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7724 :bsnl
7725 s/["\\]/\\&/g
7726 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7727 D["\1"]=" \3\\\\\\n"\\/p
7728 t cont
7729 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7730 t cont
7732 :cont
7734 s/.\{148\}/&'"$ac_delim"'/g
7735 t clear
7736 :clear
7737 s/\\$//
7738 t bsnlc
7739 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7741 :bsnlc
7742 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7743 b cont
7744 ' <confdefs.h | sed '
7745 s/'"$ac_delim"'/"\\\
7746 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7749 for (key in D) D_is_set[key] = 1
7750 FS = "\a"
7752 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7753 line = \$ 0
7754 split(line, arg, " ")
7755 if (arg[1] == "#") {
7756 defundef = arg[2]
7757 mac1 = arg[3]
7758 } else {
7759 defundef = substr(arg[1], 2)
7760 mac1 = arg[2]
7762 split(mac1, mac2, "(") #)
7763 macro = mac2[1]
7764 prefix = substr(line, 1, index(line, defundef) - 1)
7765 if (D_is_set[macro]) {
7766 # Preserve the white space surrounding the "#".
7767 print prefix "define", macro P[macro] D[macro]
7768 next
7769 } else {
7770 # Replace #undef with comments. This is necessary, for example,
7771 # in the case of _POSIX_SOURCE, which is predefined and required
7772 # on some systems where configure will not decide to define it.
7773 if (defundef == "undef") {
7774 print "/*", prefix defundef, macro, "*/"
7775 next
7779 { print }
7780 _ACAWK
7781 _ACEOF
7782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7783 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7784 fi # test -n "$CONFIG_HEADERS"
7787 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7788 shift
7789 for ac_tag
7791 case $ac_tag in
7792 :[FHLC]) ac_mode=$ac_tag; continue;;
7793 esac
7794 case $ac_mode$ac_tag in
7795 :[FHL]*:*);;
7796 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7797 :[FH]-) ac_tag=-:-;;
7798 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7799 esac
7800 ac_save_IFS=$IFS
7801 IFS=:
7802 set x $ac_tag
7803 IFS=$ac_save_IFS
7804 shift
7805 ac_file=$1
7806 shift
7808 case $ac_mode in
7809 :L) ac_source=$1;;
7810 :[FH])
7811 ac_file_inputs=
7812 for ac_f
7814 case $ac_f in
7815 -) ac_f="$ac_tmp/stdin";;
7816 *) # Look for the file first in the build tree, then in the source tree
7817 # (if the path is not absolute). The absolute path cannot be DOS-style,
7818 # because $ac_f cannot contain `:'.
7819 test -f "$ac_f" ||
7820 case $ac_f in
7821 [\\/$]*) false;;
7822 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7823 esac ||
7824 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7825 esac
7826 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7827 as_fn_append ac_file_inputs " '$ac_f'"
7828 done
7830 # Let's still pretend it is `configure' which instantiates (i.e., don't
7831 # use $as_me), people would be surprised to read:
7832 # /* config.h. Generated by config.status. */
7833 configure_input='Generated from '`
7834 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7835 `' by configure.'
7836 if test x"$ac_file" != x-; then
7837 configure_input="$ac_file. $configure_input"
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7839 $as_echo "$as_me: creating $ac_file" >&6;}
7841 # Neutralize special characters interpreted by sed in replacement strings.
7842 case $configure_input in #(
7843 *\&* | *\|* | *\\* )
7844 ac_sed_conf_input=`$as_echo "$configure_input" |
7845 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7846 *) ac_sed_conf_input=$configure_input;;
7847 esac
7849 case $ac_tag in
7850 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7852 esac
7854 esac
7856 ac_dir=`$as_dirname -- "$ac_file" ||
7857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7858 X"$ac_file" : 'X\(//\)[^/]' \| \
7859 X"$ac_file" : 'X\(//\)$' \| \
7860 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7861 $as_echo X"$ac_file" |
7862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7863 s//\1/
7866 /^X\(\/\/\)[^/].*/{
7867 s//\1/
7870 /^X\(\/\/\)$/{
7871 s//\1/
7874 /^X\(\/\).*/{
7875 s//\1/
7878 s/.*/./; q'`
7879 as_dir="$ac_dir"; as_fn_mkdir_p
7880 ac_builddir=.
7882 case "$ac_dir" in
7883 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7885 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7886 # A ".." for each directory in $ac_dir_suffix.
7887 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7888 case $ac_top_builddir_sub in
7889 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7890 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7891 esac ;;
7892 esac
7893 ac_abs_top_builddir=$ac_pwd
7894 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7895 # for backward compatibility:
7896 ac_top_builddir=$ac_top_build_prefix
7898 case $srcdir in
7899 .) # We are building in place.
7900 ac_srcdir=.
7901 ac_top_srcdir=$ac_top_builddir_sub
7902 ac_abs_top_srcdir=$ac_pwd ;;
7903 [\\/]* | ?:[\\/]* ) # Absolute name.
7904 ac_srcdir=$srcdir$ac_dir_suffix;
7905 ac_top_srcdir=$srcdir
7906 ac_abs_top_srcdir=$srcdir ;;
7907 *) # Relative name.
7908 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7909 ac_top_srcdir=$ac_top_build_prefix$srcdir
7910 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7911 esac
7912 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7915 case $ac_mode in
7918 # CONFIG_FILE
7921 case $INSTALL in
7922 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7923 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7924 esac
7925 ac_MKDIR_P=$MKDIR_P
7926 case $MKDIR_P in
7927 [\\/$]* | ?:[\\/]* ) ;;
7928 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7929 esac
7930 _ACEOF
7932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7933 # If the template does not know about datarootdir, expand it.
7934 # FIXME: This hack should be removed a few years after 2.60.
7935 ac_datarootdir_hack=; ac_datarootdir_seen=
7936 ac_sed_dataroot='
7937 /datarootdir/ {
7941 /@datadir@/p
7942 /@docdir@/p
7943 /@infodir@/p
7944 /@localedir@/p
7945 /@mandir@/p'
7946 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7947 *datarootdir*) ac_datarootdir_seen=yes;;
7948 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7950 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7951 _ACEOF
7952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7953 ac_datarootdir_hack='
7954 s&@datadir@&$datadir&g
7955 s&@docdir@&$docdir&g
7956 s&@infodir@&$infodir&g
7957 s&@localedir@&$localedir&g
7958 s&@mandir@&$mandir&g
7959 s&\\\${datarootdir}&$datarootdir&g' ;;
7960 esac
7961 _ACEOF
7963 # Neutralize VPATH when `$srcdir' = `.'.
7964 # Shell code in configure.ac might set extrasub.
7965 # FIXME: do we really want to maintain this feature?
7966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7967 ac_sed_extra="$ac_vpsub
7968 $extrasub
7969 _ACEOF
7970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7972 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7973 s|@configure_input@|$ac_sed_conf_input|;t t
7974 s&@top_builddir@&$ac_top_builddir_sub&;t t
7975 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7976 s&@srcdir@&$ac_srcdir&;t t
7977 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7978 s&@top_srcdir@&$ac_top_srcdir&;t t
7979 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7980 s&@builddir@&$ac_builddir&;t t
7981 s&@abs_builddir@&$ac_abs_builddir&;t t
7982 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7983 s&@INSTALL@&$ac_INSTALL&;t t
7984 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7985 $ac_datarootdir_hack
7987 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7988 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7990 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7991 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7992 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7993 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7995 which seems to be undefined. Please make sure it is defined" >&5
7996 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7997 which seems to be undefined. Please make sure it is defined" >&2;}
7999 rm -f "$ac_tmp/stdin"
8000 case $ac_file in
8001 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8002 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8003 esac \
8004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8008 # CONFIG_HEADER
8010 if test x"$ac_file" != x-; then
8012 $as_echo "/* $configure_input */" \
8013 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8014 } >"$ac_tmp/config.h" \
8015 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8016 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8018 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8019 else
8020 rm -f "$ac_file"
8021 mv "$ac_tmp/config.h" "$ac_file" \
8022 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8024 else
8025 $as_echo "/* $configure_input */" \
8026 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8027 || as_fn_error $? "could not create -" "$LINENO" 5
8029 # Compute "$ac_file"'s index in $config_headers.
8030 _am_arg="$ac_file"
8031 _am_stamp_count=1
8032 for _am_header in $config_headers :; do
8033 case $_am_header in
8034 $_am_arg | $_am_arg:* )
8035 break ;;
8037 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8038 esac
8039 done
8040 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8041 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8042 X"$_am_arg" : 'X\(//\)[^/]' \| \
8043 X"$_am_arg" : 'X\(//\)$' \| \
8044 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8045 $as_echo X"$_am_arg" |
8046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8047 s//\1/
8050 /^X\(\/\/\)[^/].*/{
8051 s//\1/
8054 /^X\(\/\/\)$/{
8055 s//\1/
8058 /^X\(\/\).*/{
8059 s//\1/
8062 s/.*/./; q'`/stamp-h$_am_stamp_count
8065 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8066 $as_echo "$as_me: executing $ac_file commands" >&6;}
8068 esac
8071 case $ac_file$ac_mode in
8072 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8073 # Older Autoconf quotes --file arguments for eval, but not when files
8074 # are listed without --file. Let's play safe and only enable the eval
8075 # if we detect the quoting.
8076 case $CONFIG_FILES in
8077 *\'*) eval set x "$CONFIG_FILES" ;;
8078 *) set x $CONFIG_FILES ;;
8079 esac
8080 shift
8081 for mf
8083 # Strip MF so we end up with the name of the file.
8084 mf=`echo "$mf" | sed -e 's/:.*$//'`
8085 # Check whether this is an Automake generated Makefile or not.
8086 # We used to match only the files named 'Makefile.in', but
8087 # some people rename them; so instead we look at the file content.
8088 # Grep'ing the first line is not enough: some people post-process
8089 # each Makefile.in and add a new line on top of each file to say so.
8090 # Grep'ing the whole file is not good either: AIX grep has a line
8091 # limit of 2048, but all sed's we know have understand at least 4000.
8092 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8093 dirpart=`$as_dirname -- "$mf" ||
8094 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8095 X"$mf" : 'X\(//\)[^/]' \| \
8096 X"$mf" : 'X\(//\)$' \| \
8097 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8098 $as_echo X"$mf" |
8099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8100 s//\1/
8103 /^X\(\/\/\)[^/].*/{
8104 s//\1/
8107 /^X\(\/\/\)$/{
8108 s//\1/
8111 /^X\(\/\).*/{
8112 s//\1/
8115 s/.*/./; q'`
8116 else
8117 continue
8119 # Extract the definition of DEPDIR, am__include, and am__quote
8120 # from the Makefile without running 'make'.
8121 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8122 test -z "$DEPDIR" && continue
8123 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8124 test -z "$am__include" && continue
8125 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8126 # Find all dependency output files, they are included files with
8127 # $(DEPDIR) in their names. We invoke sed twice because it is the
8128 # simplest approach to changing $(DEPDIR) to its actual value in the
8129 # expansion.
8130 for file in `sed -n "
8131 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8132 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8133 # Make sure the directory exists.
8134 test -f "$dirpart/$file" && continue
8135 fdir=`$as_dirname -- "$file" ||
8136 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8137 X"$file" : 'X\(//\)[^/]' \| \
8138 X"$file" : 'X\(//\)$' \| \
8139 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8140 $as_echo X"$file" |
8141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8142 s//\1/
8145 /^X\(\/\/\)[^/].*/{
8146 s//\1/
8149 /^X\(\/\/\)$/{
8150 s//\1/
8153 /^X\(\/\).*/{
8154 s//\1/
8157 s/.*/./; q'`
8158 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8159 # echo "creating $dirpart/$file"
8160 echo '# dummy' > "$dirpart/$file"
8161 done
8162 done
8166 esac
8167 done # for ac_tag
8170 as_fn_exit 0
8171 _ACEOF
8172 ac_clean_files=$ac_clean_files_save
8174 test $ac_write_fail = 0 ||
8175 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8178 # configure is writing to config.log, and then calls config.status.
8179 # config.status does its own redirection, appending to config.log.
8180 # Unfortunately, on DOS this fails, as config.log is still kept open
8181 # by configure, so config.status won't be able to write to it; its
8182 # output is simply discarded. So we exec the FD to /dev/null,
8183 # effectively closing config.log, so it can be properly (re)opened and
8184 # appended to by config.status. When coming back to configure, we
8185 # need to make the FD available again.
8186 if test "$no_create" != yes; then
8187 ac_cs_success=:
8188 ac_config_status_args=
8189 test "$silent" = yes &&
8190 ac_config_status_args="$ac_config_status_args --quiet"
8191 exec 5>/dev/null
8192 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8193 exec 5>>config.log
8194 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8195 # would make configure fail if this is the last instruction.
8196 $ac_cs_success || as_fn_exit 1
8198 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8200 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}