2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for poppler (TeX Live) 0.28.0.
5 # Report bugs to <tex-k@tug.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 ||
:
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.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || 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 :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
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 :
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
240 if test "x$CONFIG_SHELL" != x
; then :
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.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
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."
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
279 SHELL
=${CONFIG_SHELL-/bin/sh}
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 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
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
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
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 :
401 as_val
=`expr "$@" || test $? -eq 1`
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.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
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
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
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
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 ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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"'
546 test -d .
/-p && rmdir .
/-p
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
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`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='poppler (TeX Live)'
582 PACKAGE_TARNAME
='poppler--tex-live-'
583 PACKAGE_VERSION
='0.28.0'
584 PACKAGE_STRING
='poppler (TeX Live) 0.28.0'
585 PACKAGE_BUGREPORT
='tex-k@tug.org'
588 ac_unique_file
="poppler-0.28.0/poppler/Array.cc"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='am__EXEEXT_FALSE
672 MAINTAINER_MODE_FALSE
686 INSTALL_STRIP_PROGRAM
728 program_transform_name
741 enable_option_checking
743 enable_maintainer_mode
744 enable_dependency_tracking
745 enable_compiler_warnings
755 ac_precious_vars
='build_alias
769 # Initialize some variables set by options.
771 ac_init_version
=false
772 ac_unrecognized_opts
=
774 # The variables have the same names as the options, with
775 # dashes changed to underlines.
783 program_transform_name
=s
,x
,x
,
791 # Installation directory options.
792 # These are left unexpanded so users can "make install exec_prefix=/foo"
793 # and all the variables that are supposed to be based on exec_prefix
794 # by default will actually change.
795 # Use braces instead of parens because sh, perl, etc. also accept them.
796 # (The list follows the same order as the GNU Coding Standards.)
797 bindir
='${exec_prefix}/bin'
798 sbindir
='${exec_prefix}/sbin'
799 libexecdir
='${exec_prefix}/libexec'
800 datarootdir
='${prefix}/share'
801 datadir
='${datarootdir}'
802 sysconfdir
='${prefix}/etc'
803 sharedstatedir
='${prefix}/com'
804 localstatedir
='${prefix}/var'
805 includedir
='${prefix}/include'
806 oldincludedir
='/usr/include'
807 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
808 infodir
='${datarootdir}/info'
813 libdir
='${exec_prefix}/lib'
814 localedir
='${datarootdir}/locale'
815 mandir
='${datarootdir}/man'
821 # If the previous option needs an argument, assign it.
822 if test -n "$ac_prev"; then
823 eval $ac_prev=\
$ac_option
829 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
834 # Accept the important Cygnus configure options, so we can diagnose typos.
836 case $ac_dashdash$ac_option in
840 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
842 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
845 -build |
--build |
--buil |
--bui |
--bu)
846 ac_prev
=build_alias
;;
847 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
848 build_alias
=$ac_optarg ;;
850 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
851 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
852 ac_prev
=cache_file
;;
853 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
854 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
855 cache_file
=$ac_optarg ;;
858 cache_file
=config.cache
;;
860 -datadir |
--datadir |
--datadi |
--datad)
862 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
863 datadir
=$ac_optarg ;;
865 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
866 |
--dataroo |
--dataro |
--datar)
867 ac_prev
=datarootdir
;;
868 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
869 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
870 datarootdir
=$ac_optarg ;;
872 -disable-* |
--disable-*)
873 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
874 # Reject names that are not valid shell variable names.
875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
876 as_fn_error $?
"invalid feature name: $ac_useropt"
877 ac_useropt_orig
=$ac_useropt
878 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879 case $ac_user_opts in
883 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
884 ac_unrecognized_sep
=', ';;
886 eval enable_
$ac_useropt=no
;;
888 -docdir |
--docdir |
--docdi |
--doc |
--do)
890 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
893 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
895 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
898 -enable-* |
--enable-*)
899 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
902 as_fn_error $?
"invalid feature name: $ac_useropt"
903 ac_useropt_orig
=$ac_useropt
904 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905 case $ac_user_opts in
909 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
910 ac_unrecognized_sep
=', ';;
912 eval enable_
$ac_useropt=\
$ac_optarg ;;
914 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
915 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
916 |
--exec |
--exe |
--ex)
917 ac_prev
=exec_prefix
;;
918 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
919 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
920 |
--exec=* |
--exe=* |
--ex=*)
921 exec_prefix
=$ac_optarg ;;
923 -gas |
--gas |
--ga |
--g)
924 # Obsolete; use --with-gas.
927 -help |
--help |
--hel |
--he |
-h)
929 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
930 ac_init_help
=recursive
;;
931 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
932 ac_init_help
=short
;;
934 -host |
--host |
--hos |
--ho)
935 ac_prev
=host_alias
;;
936 -host=* |
--host=* |
--hos=* |
--ho=*)
937 host_alias
=$ac_optarg ;;
939 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
941 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
943 htmldir
=$ac_optarg ;;
945 -includedir |
--includedir |
--includedi |
--included |
--include \
946 |
--includ |
--inclu |
--incl |
--inc)
947 ac_prev
=includedir
;;
948 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
949 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
950 includedir
=$ac_optarg ;;
952 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
954 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
955 infodir
=$ac_optarg ;;
957 -libdir |
--libdir |
--libdi |
--libd)
959 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
962 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
963 |
--libexe |
--libex |
--libe)
964 ac_prev
=libexecdir
;;
965 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
966 |
--libexe=* |
--libex=* |
--libe=*)
967 libexecdir
=$ac_optarg ;;
969 -localedir |
--localedir |
--localedi |
--localed |
--locale)
971 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
972 localedir
=$ac_optarg ;;
974 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
975 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
976 ac_prev
=localstatedir
;;
977 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
978 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
979 localstatedir
=$ac_optarg ;;
981 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
983 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
987 # Obsolete; use --without-fp.
990 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
991 |
--no-cr |
--no-c |
-n)
994 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
995 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
998 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
999 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1000 |
--oldin |
--oldi |
--old |
--ol |
--o)
1001 ac_prev
=oldincludedir
;;
1002 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1003 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1004 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1005 oldincludedir
=$ac_optarg ;;
1007 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1009 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1010 prefix
=$ac_optarg ;;
1012 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1013 |
--program-pre |
--program-pr |
--program-p)
1014 ac_prev
=program_prefix
;;
1015 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1016 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1017 program_prefix
=$ac_optarg ;;
1019 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1020 |
--program-suf |
--program-su |
--program-s)
1021 ac_prev
=program_suffix
;;
1022 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1023 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1024 program_suffix
=$ac_optarg ;;
1026 -program-transform-name |
--program-transform-name \
1027 |
--program-transform-nam |
--program-transform-na \
1028 |
--program-transform-n |
--program-transform- \
1029 |
--program-transform |
--program-transfor \
1030 |
--program-transfo |
--program-transf \
1031 |
--program-trans |
--program-tran \
1032 |
--progr-tra |
--program-tr |
--program-t)
1033 ac_prev
=program_transform_name
;;
1034 -program-transform-name=* |
--program-transform-name=* \
1035 |
--program-transform-nam=* |
--program-transform-na=* \
1036 |
--program-transform-n=* |
--program-transform-=* \
1037 |
--program-transform=* |
--program-transfor=* \
1038 |
--program-transfo=* |
--program-transf=* \
1039 |
--program-trans=* |
--program-tran=* \
1040 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1041 program_transform_name
=$ac_optarg ;;
1043 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1045 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1046 pdfdir
=$ac_optarg ;;
1048 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1050 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1053 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1054 |
-silent |
--silent |
--silen |
--sile |
--sil)
1057 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1059 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1061 sbindir
=$ac_optarg ;;
1063 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1064 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1065 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1067 ac_prev
=sharedstatedir
;;
1068 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1069 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1070 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1072 sharedstatedir
=$ac_optarg ;;
1074 -site |
--site |
--sit)
1076 -site=* |
--site=* |
--sit=*)
1079 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1081 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1082 srcdir
=$ac_optarg ;;
1084 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1085 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1086 ac_prev
=sysconfdir
;;
1087 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1088 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1089 sysconfdir
=$ac_optarg ;;
1091 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1092 ac_prev
=target_alias
;;
1093 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1094 target_alias
=$ac_optarg ;;
1096 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1099 -version |
--version |
--versio |
--versi |
--vers |
-V)
1100 ac_init_version
=: ;;
1103 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1106 as_fn_error $?
"invalid package name: $ac_useropt"
1107 ac_useropt_orig
=$ac_useropt
1108 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1113 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1114 ac_unrecognized_sep
=', ';;
1116 eval with_
$ac_useropt=\
$ac_optarg ;;
1118 -without-* |
--without-*)
1119 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1122 as_fn_error $?
"invalid package name: $ac_useropt"
1123 ac_useropt_orig
=$ac_useropt
1124 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1129 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1130 ac_unrecognized_sep
=', ';;
1132 eval with_
$ac_useropt=no
;;
1135 # Obsolete; use --with-x.
1138 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1139 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1140 ac_prev
=x_includes
;;
1141 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1142 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1143 x_includes
=$ac_optarg ;;
1145 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1146 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1147 ac_prev
=x_libraries
;;
1148 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1149 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1150 x_libraries
=$ac_optarg ;;
1152 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1153 Try \`$0 --help' for more information"
1157 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1158 # Reject names that are not valid shell variable names.
1159 case $ac_envvar in #(
1160 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1161 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1163 eval $ac_envvar=\
$ac_optarg
1164 export $ac_envvar ;;
1167 # FIXME: should be removed in autoconf 3.0.
1168 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1170 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1171 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1177 if test -n "$ac_prev"; then
1178 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1179 as_fn_error $?
"missing argument to $ac_option"
1182 if test -n "$ac_unrecognized_opts"; then
1183 case $enable_option_checking in
1185 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1186 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1190 # Check all directory arguments for consistency.
1191 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1192 datadir sysconfdir sharedstatedir localstatedir includedir \
1193 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1194 libdir localedir mandir
1196 eval ac_val
=\$
$ac_var
1197 # Remove trailing slashes.
1200 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1201 eval $ac_var=\
$ac_val;;
1203 # Be sure to have absolute directory names.
1205 [\\/$
]* | ?
:[\\/]* ) continue;;
1206 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1208 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1211 # There might be people who depend on the old broken behavior: `$host'
1212 # used to hold the argument of --host etc.
1213 # FIXME: To remove some day.
1216 target
=$target_alias
1218 # FIXME: To remove some day.
1219 if test "x$host_alias" != x
; then
1220 if test "x$build_alias" = x
; then
1221 cross_compiling
=maybe
1222 elif test "x$build_alias" != "x$host_alias"; then
1228 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1230 test "$silent" = yes && exec 6>/dev
/null
1233 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1234 ac_ls_di
=`ls -di .` &&
1235 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1236 as_fn_error $?
"working directory cannot be determined"
1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238 as_fn_error $?
"pwd does not report name of working directory"
1241 # Find the source files, if location was not specified.
1242 if test -z "$srcdir"; then
1243 ac_srcdir_defaulted
=yes
1244 # Try the directory containing this script, then the parent directory.
1245 ac_confdir
=`$as_dirname -- "$as_myself" ||
1246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247 X"$as_myself" : 'X\(//\)[^/]' \| \
1248 X"$as_myself" : 'X\(//\)$' \| \
1249 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250 $as_echo X"$as_myself" |
1251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1273 ac_srcdir_defaulted
=no
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1276 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1277 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1279 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1281 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1283 # When building in place, set srcdir=.
1284 if test "$ac_abs_confdir" = "$ac_pwd"; then
1287 # Remove unnecessary trailing slashes from srcdir.
1288 # Double slashes in file names in object file debugging info
1289 # mess up M-x gdb in Emacs.
1291 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1293 for ac_var
in $ac_precious_vars; do
1294 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1295 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1296 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1297 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1301 # Report the --help message.
1303 if test "$ac_init_help" = "long"; then
1304 # Omit some internal or obsolete options to make the list less imposing.
1305 # This message is too long to be a string in the A/UX 3.1 sh.
1307 \`configure' configures poppler (TeX Live) 0.28.0 to adapt to many kinds of systems.
1309 Usage: $0 [OPTION]... [VAR=VALUE]...
1311 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1312 VAR=VALUE. See below for descriptions of some of the useful variables.
1314 Defaults for the options are specified in brackets.
1317 -h, --help display this help and exit
1318 --help=short display options specific to this package
1319 --help=recursive display the short help of all the included packages
1320 -V, --version display version information and exit
1321 -q, --quiet, --silent do not print \`checking ...' messages
1322 --cache-file=FILE cache test results in FILE [disabled]
1323 -C, --config-cache alias for \`--cache-file=config.cache'
1324 -n, --no-create do not create output files
1325 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1327 Installation directories:
1328 --prefix=PREFIX install architecture-independent files in PREFIX
1329 [$ac_default_prefix]
1330 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1333 By default, \`make install' will install all the files in
1334 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1335 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1336 for instance \`--prefix=\$HOME'.
1338 For better control, use the options below.
1340 Fine tuning of the installation directories:
1341 --bindir=DIR user executables [EPREFIX/bin]
1342 --sbindir=DIR system admin executables [EPREFIX/sbin]
1343 --libexecdir=DIR program executables [EPREFIX/libexec]
1344 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1345 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1346 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1347 --libdir=DIR object code libraries [EPREFIX/lib]
1348 --includedir=DIR C header files [PREFIX/include]
1349 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1350 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1351 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1352 --infodir=DIR info documentation [DATAROOTDIR/info]
1353 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1354 --mandir=DIR man documentation [DATAROOTDIR/man]
1355 --docdir=DIR documentation root
1356 [DATAROOTDIR/doc/poppler--tex-live-]
1357 --htmldir=DIR html documentation [DOCDIR]
1358 --dvidir=DIR dvi documentation [DOCDIR]
1359 --pdfdir=DIR pdf documentation [DOCDIR]
1360 --psdir=DIR ps documentation [DOCDIR]
1366 --program-prefix=PREFIX prepend PREFIX to installed program names
1367 --program-suffix=SUFFIX append SUFFIX to installed program names
1368 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1372 if test -n "$ac_init_help"; then
1373 case $ac_init_help in
1374 short | recursive
) echo "Configuration of poppler (TeX Live) 0.28.0:";;
1379 --disable-option-checking ignore unrecognized
--enable/--with options
1380 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1381 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1382 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1383 --disable-silent-rules verbose build output
(undo
: "make V=0")
1384 --enable-maintainer-mode
1385 enable make rules and dependencies not useful
(and
1386 sometimes confusing
) to the casual installer
1387 --enable-dependency-tracking
1388 do not reject slow dependency extractors
1389 --disable-dependency-tracking
1390 speeds up one-time build
1391 --enable-compiler-warnings=[no|min|
yes|max|all
]
1392 Turn on compiler warnings
[default
: yes if
1393 maintainer-mode
, min otherwise
]
1394 --enable-opi include support
for OPI comments
1395 --enable-multithreaded include support
for multithreading
1396 --enable-exceptions use C
++ exceptions
1397 --enable-fixedpoint use fixed point
(instead of floating point
)
1399 --disable-largefile omit support
for large files
1402 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1403 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1404 --with-system-zlib use installed zlib headers and library
1405 --with-zlib-includes=DIR
1406 zlib headers installed
in DIR
1407 --with-zlib-libdir=DIR zlib library installed
in DIR
1409 Some influential environment variables
:
1410 CC C compiler
command
1411 CFLAGS C compiler flags
1412 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1413 nonstandard directory
<lib dir
>
1414 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1415 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1416 you have headers
in a nonstandard directory
<include dir
>
1417 CXX C
++ compiler
command
1418 CXXFLAGS C
++ compiler flags
1421 Use these variables to override the choices made by
`configure' or to help
1422 it to find libraries and programs with nonstandard names/locations.
1424 Report bugs to <tex-k@tug.org>.
1429 if test "$ac_init_help" = "recursive"; then
1430 # If there are subdirs, report their specific --help.
1431 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1432 test -d "$ac_dir" ||
1433 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1441 # A ".." for each directory in $ac_dir_suffix.
1442 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1443 case $ac_top_builddir_sub in
1444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1448 ac_abs_top_builddir=$ac_pwd
1449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1450 # for backward compatibility:
1451 ac_top_builddir=$ac_top_build_prefix
1454 .) # We are building in place.
1456 ac_top_srcdir=$ac_top_builddir_sub
1457 ac_abs_top_srcdir=$ac_pwd ;;
1458 [\\/]* | ?:[\\/]* ) # Absolute name.
1459 ac_srcdir=$srcdir$ac_dir_suffix;
1460 ac_top_srcdir=$srcdir
1461 ac_abs_top_srcdir=$srcdir ;;
1463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1464 ac_top_srcdir=$ac_top_build_prefix$srcdir
1465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1469 cd "$ac_dir" || { ac_status=$?; continue; }
1470 # Check for guested configure.
1471 if test -f "$ac_srcdir/configure.gnu"; then
1473 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1474 elif test -f "$ac_srcdir/configure"; then
1476 $SHELL "$ac_srcdir/configure" --help=recursive
1478 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1480 cd "$ac_pwd" || { ac_status=$?; break; }
1484 test -n "$ac_init_help" && exit $ac_status
1485 if $ac_init_version; then
1487 poppler (TeX Live) configure 0.28.0
1488 generated by GNU Autoconf 2.69
1490 Copyright (C) 2012 Free Software Foundation, Inc.
1491 This configure script is free software; the Free Software Foundation
1492 gives unlimited permission to copy, distribute and modify it.
1497 ## ------------------------ ##
1498 ## Autoconf initialization. ##
1499 ## ------------------------ ##
1501 # ac_fn_c_try_compile LINENO
1502 # --------------------------
1503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1504 ac_fn_c_try_compile ()
1506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1507 rm -f conftest.$ac_objext
1508 if { { ac_try="$ac_compile"
1510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1511 *) ac_try_echo
=$ac_try;;
1513 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1514 $as_echo "$ac_try_echo"; } >&5
1515 (eval "$ac_compile") 2>conftest.err
1517 if test -s conftest.err
; then
1518 grep -v '^ *+' conftest.err
>conftest.er1
1519 cat conftest.er1
>&5
1520 mv -f conftest.er1 conftest.err
1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1523 test $ac_status = 0; } && {
1524 test -z "$ac_c_werror_flag" ||
1525 test ! -s conftest.err
1526 } && test -s conftest.
$ac_objext; then :
1529 $as_echo "$as_me: failed program was:" >&5
1530 sed 's/^/| /' conftest.
$ac_ext >&5
1534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1535 as_fn_set_status
$ac_retval
1537 } # ac_fn_c_try_compile
1539 # ac_fn_c_try_link LINENO
1540 # -----------------------
1541 # Try to link conftest.$ac_ext, and return whether this succeeded.
1544 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1545 rm -f conftest.
$ac_objext conftest
$ac_exeext
1546 if { { ac_try
="$ac_link"
1548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1549 *) ac_try_echo=$ac_try;;
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_link") 2>conftest.err
1555 if test -s conftest.err; then
1556 grep -v '^ *+' conftest.err >conftest.er1
1557 cat conftest.er1 >&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest$ac_exeext && {
1565 test "$cross_compiling" = yes ||
1566 test -x conftest$ac_exeext
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1575 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1576 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1577 # interfere with the next link command; also delete a directory that is
1578 # left behind by Apple's compiler. We do this before executing the actions.
1579 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status $ac_retval
1583 } # ac_fn_c_try_link
1585 # ac_fn_cxx_try_compile LINENO
1586 # ----------------------------
1587 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1588 ac_fn_cxx_try_compile ()
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591 rm -f conftest.$ac_objext
1592 if { { ac_try="$ac_compile"
1594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1595 *) ac_try_echo
=$ac_try;;
1597 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_compile") 2>conftest.err
1601 if test -s conftest.err
; then
1602 grep -v '^ *+' conftest.err
>conftest.er1
1603 cat conftest.er1
>&5
1604 mv -f conftest.er1 conftest.err
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; } && {
1608 test -z "$ac_cxx_werror_flag" ||
1609 test ! -s conftest.err
1610 } && test -s conftest.
$ac_objext; then :
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.
$ac_ext >&5
1618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 as_fn_set_status
$ac_retval
1621 } # ac_fn_cxx_try_compile
1623 # ac_fn_c_try_run LINENO
1624 # ----------------------
1625 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1626 # that executables *can* be run.
1629 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1630 if { { ac_try
="$ac_link"
1632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_link") 2>&5
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1641 { { case "(($ac_try" in
1642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1643 *) ac_try_echo
=$ac_try;;
1645 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_try") 2>&5
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; }; }; then :
1653 $as_echo "$as_me: program exited with status $ac_status" >&5
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.
$ac_ext >&5
1657 ac_retval
=$ac_status
1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status
$ac_retval
1665 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1666 # --------------------------------------------
1667 # Tries to find the compile-time value of EXPR in a program that includes
1668 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1670 ac_fn_c_compute_int
()
1672 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1673 if test "$cross_compiling" = yes; then
1674 # Depending upon the size, compute the lo and hi bounds.
1675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1676 /* end confdefs.h. */
1681 static int test_array [1 - 2 * !(($2) >= 0)];
1683 return test_array [0];
1689 if ac_fn_c_try_compile
"$LINENO"; then :
1692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1693 /* end confdefs.h. */
1698 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1700 return test_array [0];
1706 if ac_fn_c_try_compile
"$LINENO"; then :
1707 ac_hi
=$ac_mid; break
1709 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1710 if test $ac_lo -le $ac_mid; then
1714 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h. */
1725 static int test_array [1 - 2 * !(($2) < 0)];
1727 return test_array [0];
1733 if ac_fn_c_try_compile
"$LINENO"; then :
1736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1737 /* end confdefs.h. */
1742 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1744 return test_array [0];
1750 if ac_fn_c_try_compile
"$LINENO"; then :
1751 ac_lo
=$ac_mid; break
1753 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1754 if test $ac_mid -le $ac_hi; then
1758 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1768 # Binary search between lo and hi bounds.
1769 while test "x$ac_lo" != "x$ac_hi"; do
1770 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1772 /* end confdefs.h. */
1777 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1779 return test_array [0];
1785 if ac_fn_c_try_compile
"$LINENO"; then :
1788 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1793 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1800 static long int longval () { return $2; }
1801 static unsigned long int ulongval () { return $2; }
1808 FILE *f = fopen ("conftest.val", "w");
1813 long int i = longval ();
1816 fprintf (f, "%ld", i);
1820 unsigned long int i = ulongval ();
1823 fprintf (f, "%lu", i);
1825 /* Do not output a trailing newline, as this causes \r\n confusion
1826 on some platforms. */
1827 return ferror (f) || fclose (f) != 0;
1833 if ac_fn_c_try_run
"$LINENO"; then :
1834 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1838 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1839 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844 as_fn_set_status
$ac_retval
1846 } # ac_fn_c_compute_int
1848 # ac_fn_c_try_cpp LINENO
1849 # ----------------------
1850 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1853 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1854 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1863 if test -s conftest.err; then
1864 grep -v '^ *+' conftest.err >conftest.er1
1865 cat conftest.er1 >&5
1866 mv -f conftest.er1 conftest.err
1868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869 test $ac_status = 0; } > conftest.i && {
1870 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1871 test ! -s conftest.err
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 as_fn_set_status $ac_retval
1885 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1886 # -------------------------------------------------------
1887 # Tests whether HEADER exists and can be compiled using the include files in
1888 # INCLUDES, setting the cache variable VAR accordingly.
1889 ac_fn_c_check_header_compile ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1902 if ac_fn_c_try_compile "$LINENO"; then :
1907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 $as_echo "$ac_res" >&6; }
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914 } # ac_fn_c_check_header_compile
1916 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1917 # -------------------------------------------------------
1918 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1919 # the include files in INCLUDES and setting the cache variable VAR
1921 ac_fn_c_check_header_mongrel ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 if eval \${$3+:} false; then :
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926 $as_echo_n "checking for $2... " >&6; }
1927 if eval \${$3+:} false; then :
1928 $as_echo_n "(cached) " >&6
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1934 # Is the header compilable?
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1936 $as_echo_n "checking $2 usability... " >&6; }
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1942 if ac_fn_c_try_compile "$LINENO"; then :
1943 ac_header_compiler=yes
1945 ac_header_compiler=no
1947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1949 $as_echo "$ac_header_compiler" >&6; }
1951 # Is the header present?
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1953 $as_echo_n "checking $2 presence... " >&6; }
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1958 if ac_fn_c_try_cpp "$LINENO"; then :
1959 ac_header_preproc=yes
1961 ac_header_preproc=no
1963 rm -f conftest.err conftest.i conftest.$ac_ext
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1965 $as_echo "$ac_header_preproc" >&6; }
1967 # So? What about this header?
1968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1971 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1973 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1977 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1979 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1981 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1983 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1985 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1986 ( $as_echo "## ---------------------------- ##
1987 ## Report this to tex-k@tug.org ##
1988 ## ---------------------------- ##"
1989 ) | sed "s/^/$as_me: WARNING: /" >&2
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993 $as_echo_n "checking for $2... " >&6; }
1994 if eval \${$3+:} false; then :
1995 $as_echo_n "(cached) " >&6
1997 eval "$3=\$ac_header_compiler"
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2005 } # ac_fn_c_check_header_mongrel
2007 # ac_fn_c_check_func LINENO FUNC VAR
2008 # ----------------------------------
2009 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2010 ac_fn_c_check_func ()
2012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2014 $as_echo_n "checking for $2... " >&6; }
2015 if eval \${$3+:} false; then :
2016 $as_echo_n "(cached) " >&6
2018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2020 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2022 #define $2 innocuous_$2
2024 /* System header to define __stub macros and hopefully few prototypes,
2025 which can conflict with char $2 (); below.
2026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2027 <limits.h> exists even on freestanding compilers. */
2030 # include <limits.h>
2032 # include <assert.h>
2037 /* Override any GCC internal prototype to avoid an error.
2038 Use char because int might match the return type of a GCC
2039 builtin and then its argument prototype would still apply. */
2044 /* The GNU C library defines this for functions which it implements
2045 to always fail with ENOSYS. Some functions are actually named
2046 something starting with __ and the normal name is an alias. */
2047 #if defined __stub_$2 || defined __stub___$2
2059 if ac_fn_c_try_link "$LINENO"; then :
2064 rm -f core conftest.err conftest.$ac_objext \
2065 conftest$ac_exeext conftest.$ac_ext
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2069 $as_echo "$ac_res" >&6; }
2070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2072 } # ac_fn_c_check_func
2073 cat >config.log <<_ACEOF
2074 This file contains any messages produced by compilers while
2075 running configure, to aid debugging if configure makes a mistake.
2077 It was created by poppler (TeX Live) $as_me 0.28.0, which was
2078 generated by GNU Autoconf 2.69. Invocation command line was
2090 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2091 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2092 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2093 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2094 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2096 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2097 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2099 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2100 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2101 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2102 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2103 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2104 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2105 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 test -z "$as_dir" && as_dir=.
2114 $as_echo "PATH: $as_dir"
2130 # Keep a trace of the command line.
2131 # Strip out --no-create and --no-recursion so they do not pile up.
2132 # Strip out --silent because we don't want to record it for future runs.
2133 # Also quote any args containing shell meta-characters.
2134 # Make two passes to allow for proper duplicate-argument suppression.
2138 ac_must_keep_next=false
2144 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2145 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2146 | -silent | --silent | --silen | --sile | --sil)
2149 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2152 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2154 as_fn_append ac_configure_args1 " '$ac_arg'"
2155 if test $ac_must_keep_next = true; then
2156 ac_must_keep_next=false # Got value, back to normal.
2159 *=* | --config-cache | -C | -disable-* | --disable-* \
2160 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2161 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2162 | -with-* | --with-* | -without-* | --without-* | --x)
2163 case "$ac_configure_args0 " in
2164 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2167 -* ) ac_must_keep_next=true ;;
2170 as_fn_append ac_configure_args " '$ac_arg'"
2175 { ac_configure_args0=; unset ac_configure_args0;}
2176 { ac_configure_args1=; unset ac_configure_args1;}
2178 # When interrupted or exit'd, cleanup temporary files, and complete
2179 # config.log. We remove comments because anyway the quotes in there
2180 # would cause problems or look ugly.
2181 # WARNING: Use '\'' to represent an apostrophe within the trap.
2182 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2183 trap 'exit_status=$?
2184 # Save into config.log some information that might help in debugging.
2188 $as_echo "## ---------------- ##
2189 ## Cache variables. ##
2190 ## ---------------- ##"
2192 # The following way of writing the cache mishandles newlines in values,
2194 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2195 eval ac_val=\$$ac_var
2199 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2200 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2203 _ | IFS | as_nl) ;; #(
2204 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2205 *) { eval $ac_var=; unset $ac_var;} ;;
2210 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2211 *${as_nl}ac_space=\ *)
2213 "s/'\''/'\''\\\\'\'''\''/g;
2214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2217 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2224 $as_echo "## ----------------- ##
2225 ## Output variables. ##
2226 ## ----------------- ##"
2228 for ac_var in $ac_subst_vars
2230 eval ac_val=\$$ac_var
2232 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2234 $as_echo "$ac_var='\''$ac_val'\''"
2238 if test -n "$ac_subst_files"; then
2239 $as_echo "## ------------------- ##
2240 ## File substitutions. ##
2241 ## ------------------- ##"
2243 for ac_var in $ac_subst_files
2245 eval ac_val=\$$ac_var
2247 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2249 $as_echo "$ac_var='\''$ac_val'\''"
2254 if test -s confdefs.h; then
2255 $as_echo "## ----------- ##
2262 test "$ac_signal" != 0 &&
2263 $as_echo "$as_me: caught signal $ac_signal"
2264 $as_echo "$as_me: exit $exit_status"
2266 rm -f core *.core core.conftest.* &&
2267 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2270 for ac_signal in 1 2 13 15; do
2271 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2276 rm -f -r conftest* confdefs.h
2278 $as_echo "/* confdefs.h */" > confdefs.h
2280 # Predefined preprocessor variables.
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_NAME "$PACKAGE_NAME"
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_URL "$PACKAGE_URL"
2307 # Let the site file select an alternate cache file if it wants to.
2308 # Prefer an explicitly selected file to automatically selected ones.
2311 if test -n "$CONFIG_SITE"; then
2312 # We do not want a PATH search for config.site.
2313 case $CONFIG_SITE in #((
2314 -*) ac_site_file1=./$CONFIG_SITE;;
2315 */*) ac_site_file1=$CONFIG_SITE;;
2316 *) ac_site_file1=./$CONFIG_SITE;;
2318 elif test "x$prefix" != xNONE; then
2319 ac_site_file1=$prefix/share/config.site
2320 ac_site_file2=$prefix/etc/config.site
2322 ac_site_file1=$ac_default_prefix/share/config.site
2323 ac_site_file2=$ac_default_prefix/etc/config.site
2325 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2327 test "x$ac_site_file" = xNONE && continue
2328 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2330 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2331 sed 's/^/| /' "$ac_site_file" >&5
2333 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2335 as_fn_error $? "failed to load site
script $ac_site_file
2336 See \
`config.log' for more details" "$LINENO" 5; }
2340 if test -r "$cache_file"; then
2341 # Some versions of bash will fail to source /dev/null (special files
2342 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2343 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2345 $as_echo "$as_me: loading cache $cache_file" >&6;}
2347 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2348 *) . "./$cache_file";;
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2353 $as_echo "$as_me: creating cache $cache_file" >&6;}
2357 # Check that the precious variables saved in the cache have kept the same
2359 ac_cache_corrupted=false
2360 for ac_var in $ac_precious_vars; do
2361 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2362 eval ac_new_set=\$ac_env_${ac_var}_set
2363 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2364 eval ac_new_val=\$ac_env_${ac_var}_value
2365 case $ac_old_set,$ac_new_set in
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2368 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2369 ac_cache_corrupted=: ;;
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2372 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2373 ac_cache_corrupted=: ;;
2376 if test "x$ac_old_val" != "x$ac_new_val"; then
2377 # differences in whitespace do not lead to failure.
2378 ac_old_val_w=`echo x
$ac_old_val`
2379 ac_new_val_w=`echo x
$ac_new_val`
2380 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2382 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2383 ac_cache_corrupted=:
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2386 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2387 eval $ac_var=\$ac_old_val
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2390 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2392 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2395 # Pass precious variables to config.status.
2396 if test "$ac_new_set" = set; then
2398 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2399 *) ac_arg=$ac_var=$ac_new_val ;;
2401 case " $ac_configure_args " in
2402 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2403 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2407 if $ac_cache_corrupted; then
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2411 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2412 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2414 ## -------------------- ##
2415 ## Main body of script. ##
2416 ## -------------------- ##
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2428 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2429 if test -f "$ac_dir/install-sh"; then
2431 ac_install_sh="$ac_aux_dir/install-sh -c"
2433 elif test -f "$ac_dir/install.sh"; then
2435 ac_install_sh="$ac_aux_dir/install.sh -c"
2437 elif test -f "$ac_dir/shtool"; then
2439 ac_install_sh="$ac_aux_dir/shtool install -c"
2443 if test -z "$ac_aux_dir"; then
2444 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2458 am__api_version='1.14'
2460 # Find a good install program. We prefer a C program (faster),
2461 # so one script is as good as another. But avoid the broken or
2462 # incompatible versions:
2463 # SysV /etc/install, /usr/sbin/install
2464 # SunOS /usr/etc/install
2465 # IRIX /sbin/install
2467 # AmigaOS /C/install, which installs bootblocks on floppy discs
2468 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2469 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2470 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2471 # OS/2's system install, which has a completely different semantic
2472 # ./install, which can be erroneously created by make from ./install.sh.
2473 # Reject install programs that cannot install multiple files.
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2475 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2476 if test -z "$INSTALL"; then
2477 if ${ac_cv_path_install+:} false; then :
2478 $as_echo_n "(cached) " >&6
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir=.
2485 # Account for people who put trailing slashes in PATH elements.
2486 case $as_dir/ in #((
2487 ./ | .// | /[cC]/* | \
2488 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2489 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2492 # OSF1 and SCO ODT 3.0 have their own names for install.
2493 # Don't use installbsd from OSF since it installs stuff as root
2495 for ac_prog in ginstall scoinst install; do
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2498 if test $ac_prog = install &&
2499 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2500 # AIX install. It has an incompatible calling convention.
2502 elif test $ac_prog = install &&
2503 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2504 # program-specific install script used by HP pwplus--don't use.
2507 rm -rf conftest.one conftest.two conftest.dir
2508 echo one > conftest.one
2509 echo two > conftest.two
2511 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2512 test -s conftest.one && test -s conftest.two &&
2513 test -s conftest.dir/conftest.one &&
2514 test -s conftest.dir/conftest.two
2516 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2529 rm -rf conftest.one conftest.two conftest.dir
2532 if test "${ac_cv_path_install+set}" = set; then
2533 INSTALL=$ac_cv_path_install
2535 # As a last resort, use the slow shell script. Don't cache a
2536 # value for INSTALL within a source directory, because that will
2537 # break other packages using the cache if that directory is
2538 # removed, or if the value is a relative name.
2539 INSTALL=$ac_install_sh
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2543 $as_echo "$INSTALL" >&6; }
2545 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2546 # It thinks the first close brace ends the variable substitution.
2547 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2549 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2551 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2554 $as_echo_n "checking whether build environment is sane... " >&6; }
2555 # Reject unsafe characters in $srcdir or the absolute working directory
2556 # name. Accept space and tab only in the latter.
2560 *[\\\"\#\$\&\'\`$am_lf]*)
2561 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2564 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2565 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2568 # Do 'set' in a subshell so we don't clobber the current shell's
2569 # arguments. Must try -L first in case configure is actually a
2570 # symlink; some systems play weird games with the mod time of symlinks
2571 # (eg FreeBSD returns the mod time of the symlink's containing
2575 for am_try
in 1 2; do
2576 echo "timestamp, slept: $am_has_slept" > conftest.
file
2577 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2578 if test "$*" = "X"; then
2580 set X
`ls -t "$srcdir/configure" conftest.file`
2582 if test "$*" != "X $srcdir/configure conftest.file" \
2583 && test "$*" != "X conftest.file $srcdir/configure"; then
2585 # If neither matched, then we have a broken ls. This can happen
2586 # if, for instance, CONFIG_SHELL is bash and it inherits a
2587 # broken ls alias from the environment. This has actually
2588 # happened. Such a system could not be considered "sane".
2589 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2590 alias in your environment" "$LINENO" 5
2592 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2599 test "$2" = conftest.
file
2605 as_fn_error $?
"newly created file is older than distributed files!
2606 Check your system clock" "$LINENO" 5
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2609 $as_echo "yes" >&6; }
2610 # If we didn't sleep, we still need to ensure time stamps of config.status and
2611 # generated files are strictly newer.
2613 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2620 test "$program_prefix" != NONE
&&
2621 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2622 # Use a double $ so make ignores it.
2623 test "$program_suffix" != NONE
&&
2624 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2625 # Double any \ or $.
2626 # By default was `s,x,x', remove it if useless.
2627 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2628 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2630 # expand $ac_aux_dir to an absolute path
2631 am_aux_dir
=`cd $ac_aux_dir && pwd`
2633 if test x
"${MISSING+set}" != xset
; then
2636 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2638 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2641 # Use eval to expand $SHELL
2642 if eval "$MISSING --is-lightweight"; then
2643 am_missing_run
="$MISSING "
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2647 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2650 if test x
"${install_sh}" != xset
; then
2653 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2655 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2659 # Installed binaries are usually stripped using 'strip' when the user
2660 # run "make install-strip". However 'strip' might not be the right
2661 # tool to use in cross-compilation environments, therefore Automake
2662 # will honor the 'STRIP' environment variable to overrule this program.
2663 if test "$cross_compiling" != no
; then
2664 if test -n "$ac_tool_prefix"; then
2665 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2666 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if ${ac_cv_prog_STRIP+:} false
; then :
2670 $as_echo_n "(cached) " >&6
2672 if test -n "$STRIP"; then
2673 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2679 test -z "$as_dir" && as_dir
=.
2680 for ac_exec_ext
in '' $ac_executable_extensions; do
2681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2682 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 STRIP
=$ac_cv_prog_STRIP
2693 if test -n "$STRIP"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2695 $as_echo "$STRIP" >&6; }
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2703 if test -z "$ac_cv_prog_STRIP"; then
2705 # Extract the first word of "strip", so it can be a program name with args.
2706 set dummy strip
; ac_word
=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2710 $as_echo_n "(cached) " >&6
2712 if test -n "$ac_ct_STRIP"; then
2713 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir
=.
2720 for ac_exec_ext
in '' $ac_executable_extensions; do
2721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_ac_ct_STRIP
="strip"
2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2733 if test -n "$ac_ct_STRIP"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2735 $as_echo "$ac_ct_STRIP" >&6; }
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2741 if test "x$ac_ct_STRIP" = x
; then
2744 case $cross_compiling:$ac_tool_warned in
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2748 ac_tool_warned
=yes ;;
2753 STRIP
="$ac_cv_prog_STRIP"
2757 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2760 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2761 if test -z "$MKDIR_P"; then
2762 if ${ac_cv_path_mkdir+:} false
; then :
2763 $as_echo_n "(cached) " >&6
2765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2766 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2769 test -z "$as_dir" && as_dir
=.
2770 for ac_prog
in mkdir gmkdir
; do
2771 for ac_exec_ext
in '' $ac_executable_extensions; do
2772 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2773 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2774 'mkdir (GNU coreutils) '* | \
2775 'mkdir (coreutils) '* | \
2776 'mkdir (fileutils) '4.1*)
2777 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2787 test -d .
/--version && rmdir .
/--version
2788 if test "${ac_cv_path_mkdir+set}" = set; then
2789 MKDIR_P
="$ac_cv_path_mkdir -p"
2791 # As a last resort, use the slow shell script. Don't cache a
2792 # value for MKDIR_P within a source directory, because that will
2793 # break other packages using the cache if that directory is
2794 # removed, or if the value is a relative name.
2795 MKDIR_P
="$ac_install_sh -d"
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2799 $as_echo "$MKDIR_P" >&6; }
2801 for ac_prog
in gawk mawk nawk
awk
2803 # Extract the first word of "$ac_prog", so it can be a program name with args.
2804 set dummy
$ac_prog; ac_word
=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if ${ac_cv_prog_AWK+:} false
; then :
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$AWK"; then
2811 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir
=.
2818 for ac_exec_ext
in '' $ac_executable_extensions; do
2819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2820 ac_cv_prog_AWK
="$ac_prog"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 if test -n "$AWK"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2833 $as_echo "$AWK" >&6; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2840 test -n "$AWK" && break
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2844 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2846 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2847 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2848 $as_echo_n "(cached) " >&6
2850 cat >conftest.
make <<\_ACEOF
2853 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2855 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2856 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2858 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2860 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2864 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2866 $as_echo "yes" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2871 SET_MAKE
="MAKE=${MAKE-make}"
2874 rm -rf .tst
2>/dev
/null
2875 mkdir .tst
2>/dev
/null
2876 if test -d .tst
; then
2881 rmdir .tst
2>/dev
/null
2883 # Check whether --enable-silent-rules was given.
2884 if test "${enable_silent_rules+set}" = set; then :
2885 enableval
=$enable_silent_rules;
2888 case $enable_silent_rules in # (((
2889 yes) AM_DEFAULT_VERBOSITY
=0;;
2890 no
) AM_DEFAULT_VERBOSITY
=1;;
2891 *) AM_DEFAULT_VERBOSITY
=1;;
2893 am_make
=${MAKE-make}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2895 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2896 if ${am_cv_make_support_nested_variables+:} false
; then :
2897 $as_echo_n "(cached) " >&6
2899 if $as_echo 'TRUE=$(BAR$(V))
2905 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2906 am_cv_make_support_nested_variables
=yes
2908 am_cv_make_support_nested_variables
=no
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2912 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2913 if test $am_cv_make_support_nested_variables = yes; then
2915 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2917 AM_V
=$AM_DEFAULT_VERBOSITY
2918 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2922 DEPDIR="${am__leading_dot}deps"
2924 ac_config_commands="$ac_config_commands depfiles"
2927 am_make=${MAKE-make}
2928 cat > confinc << 'END
'
2930 @echo this is the am__doit target
2933 # If we don't
find an include directive
, just comment out the code.
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2935 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2939 # First try GNU make style include.
2940 echo "include confinc" > confmf
2941 # Ignore all kinds of additional output from 'make'.
2942 case `$am_make -s -f confmf 2> /dev/null` in #(
2943 *the\ am__doit\ target
*)
2949 # Now try BSD make style include.
2950 if test "$am__include" = "#"; then
2951 echo '.include "confinc"' > confmf
2952 case `$am_make -s -f confmf 2> /dev/null` in #(
2953 *the\ am__doit\ target
*)
2954 am__include
=.include
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2963 $as_echo "$_am_result" >&6; }
2964 rm -f confinc confmf
2966 # Check whether --enable-dependency-tracking was given.
2967 if test "${enable_dependency_tracking+set}" = set; then :
2968 enableval
=$enable_dependency_tracking;
2971 if test "x$enable_dependency_tracking" != xno
; then
2972 am_depcomp
="$ac_aux_dir/depcomp"
2976 if test "x$enable_dependency_tracking" != xno; then
2986 ac_cpp
='$CPP $CPPFLAGS'
2987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2990 if test -n "$ac_tool_prefix"; then
2991 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2992 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_CC+:} false
; then :
2996 $as_echo_n "(cached) " >&6
2998 if test -n "$CC"; then
2999 ac_cv_prog_CC
="$CC" # Let the user override the test.
3001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir
=.
3006 for ac_exec_ext
in '' $ac_executable_extensions; do
3007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 if test -n "$CC"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3021 $as_echo "$CC" >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3029 if test -z "$ac_cv_prog_CC"; then
3031 # Extract the first word of "gcc", so it can be a program name with args.
3032 set dummy gcc
; ac_word
=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3036 $as_echo_n "(cached) " >&6
3038 if test -n "$ac_ct_CC"; then
3039 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir
=.
3046 for ac_exec_ext
in '' $ac_executable_extensions; do
3047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3048 ac_cv_prog_ac_ct_CC
="gcc"
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3059 if test -n "$ac_ct_CC"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3061 $as_echo "$ac_ct_CC" >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3067 if test "x$ac_ct_CC" = x
; then
3070 case $cross_compiling:$ac_tool_warned in
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3074 ac_tool_warned
=yes ;;
3082 if test -z "$CC"; then
3083 if test -n "$ac_tool_prefix"; then
3084 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3085 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_CC+:} false
; then :
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$CC"; then
3092 ac_cv_prog_CC
="$CC" # Let the user override the test.
3094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir
=.
3099 for ac_exec_ext
in '' $ac_executable_extensions; do
3100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3101 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 if test -n "$CC"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3114 $as_echo "$CC" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3123 if test -z "$CC"; then
3124 # Extract the first word of "cc", so it can be a program name with args.
3125 set dummy cc
; ac_word
=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if ${ac_cv_prog_CC+:} false
; then :
3129 $as_echo_n "(cached) " >&6
3131 if test -n "$CC"; then
3132 ac_cv_prog_CC
="$CC" # Let the user override the test.
3135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3139 test -z "$as_dir" && as_dir
=.
3140 for ac_exec_ext
in '' $ac_executable_extensions; do
3141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3142 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3143 ac_prog_rejected
=yes
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3154 if test $ac_prog_rejected = yes; then
3155 # We found a bogon in the path, so make sure we never use it.
3156 set dummy
$ac_cv_prog_CC
3158 if test $# != 0; then
3159 # We chose a different compiler from the bogus one.
3160 # However, it has the same basename, so the bogon will be chosen
3161 # first if we set CC to just the basename; use the full file name.
3163 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3169 if test -n "$CC"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3171 $as_echo "$CC" >&6; }
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3179 if test -z "$CC"; then
3180 if test -n "$ac_tool_prefix"; then
3181 for ac_prog
in cl.exe
3183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3184 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186 $as_echo_n "checking for $ac_word... " >&6; }
3187 if ${ac_cv_prog_CC+:} false
; then :
3188 $as_echo_n "(cached) " >&6
3190 if test -n "$CC"; then
3191 ac_cv_prog_CC
="$CC" # Let the user override the test.
3193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3197 test -z "$as_dir" && as_dir
=.
3198 for ac_exec_ext
in '' $ac_executable_extensions; do
3199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3200 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211 if test -n "$CC"; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3213 $as_echo "$CC" >&6; }
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
3220 test -n "$CC" && break
3223 if test -z "$CC"; then
3225 for ac_prog
in cl.exe
3227 # Extract the first word of "$ac_prog", so it can be a program name with args.
3228 set dummy
$ac_prog; ac_word
=$2
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230 $as_echo_n "checking for $ac_word... " >&6; }
3231 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3232 $as_echo_n "(cached) " >&6
3234 if test -n "$ac_ct_CC"; then
3235 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3241 test -z "$as_dir" && as_dir
=.
3242 for ac_exec_ext
in '' $ac_executable_extensions; do
3243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3244 ac_cv_prog_ac_ct_CC
="$ac_prog"
3245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3255 if test -n "$ac_ct_CC"; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3257 $as_echo "$ac_ct_CC" >&6; }
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260 $as_echo "no" >&6; }
3264 test -n "$ac_ct_CC" && break
3267 if test "x$ac_ct_CC" = x
; then
3270 case $cross_compiling:$ac_tool_warned in
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3274 ac_tool_warned
=yes ;;
3283 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285 as_fn_error $?
"no acceptable C compiler found in \$PATH
3286 See \`config.log' for more details" "$LINENO" 5; }
3288 # Provide some information about the compiler.
3289 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3292 for ac_option
in --version -v -V -qversion; do
3293 { { ac_try
="$ac_compiler $ac_option >&5"
3295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3299 $as_echo "$ac_try_echo"; } >&5
3300 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3302 if test -s conftest.err; then
3304 ... rest of stderr output deleted ...
3305 10q' conftest.err >conftest.er1
3306 cat conftest.er1 >&5
3308 rm -f conftest.er1 conftest.err
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310 test $ac_status = 0; }
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3324 ac_clean_files_save=$ac_clean_files
3325 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3326 # Try to create an executable without -o first, disregard a.out.
3327 # It will help us diagnose broken compilers, and finding out an intuition
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3330 $as_echo_n "checking whether the C compiler works... " >&6; }
3331 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3333 # The possible output files:
3334 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3337 for ac_file in $ac_files
3340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3341 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3346 if { { ac_try="$ac_link_default"
3348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3349 *) ac_try_echo
=$ac_try;;
3351 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_link_default") 2>&5
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; then :
3357 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3358 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3359 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3360 # so that the user can short-circuit this test for compilers unknown to
3362 for ac_file
in $ac_files ''
3364 test -f "$ac_file" ||
continue
3366 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3369 # We found the default executable, but exeext='' is most
3373 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3375 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3377 # We set ac_cv_exeext here because the later test for it is not
3378 # safe: cross compilers may not add the suffix if given an `-o'
3379 # argument, so we may need to know it at that point already.
3380 # Even if this section looks crufty: it has the advantage of
3387 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3392 if test -z "$ac_file"; then :
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3395 $as_echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.
$ac_ext >&5
3398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400 as_fn_error
77 "C compiler cannot create executables
3401 See \`config.log' for more details" "$LINENO" 5; }
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3404 $as_echo "yes" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3407 $as_echo_n "checking for C compiler default output file name... " >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3409 $as_echo "$ac_file" >&6; }
3410 ac_exeext
=$ac_cv_exeext
3412 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3413 ac_clean_files
=$ac_clean_files_save
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3415 $as_echo_n "checking for suffix of executables... " >&6; }
3416 if { { ac_try
="$ac_link"
3418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3419 *) ac_try_echo=$ac_try;;
3421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3422 $as_echo "$ac_try_echo"; } >&5
3423 (eval "$ac_link") 2>&5
3425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3426 test $ac_status = 0; }; then :
3427 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3428 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3429 # work properly (i.e., refer to `conftest.exe'), while it won't with
3431 for ac_file
in conftest.exe conftest conftest.
*; do
3432 test -f "$ac_file" ||
continue
3434 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3435 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3443 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3444 See \`config.log' for more details" "$LINENO" 5; }
3446 rm -f conftest conftest
$ac_cv_exeext
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3448 $as_echo "$ac_cv_exeext" >&6; }
3450 rm -f conftest.
$ac_ext
3451 EXEEXT
=$ac_cv_exeext
3453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h. */
3459 FILE *f = fopen ("conftest.out", "w");
3460 return ferror (f) || fclose (f) != 0;
3466 ac_clean_files
="$ac_clean_files conftest.out"
3467 # Check that the compiler produces executables we can run. If not, either
3468 # the compiler is broken, or we cross compile.
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3470 $as_echo_n "checking whether we are cross compiling... " >&6; }
3471 if test "$cross_compiling" != yes; then
3472 { { ac_try
="$ac_link"
3474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479 (eval "$ac_link") 2>&5
3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482 test $ac_status = 0; }
3483 if { ac_try='./conftest$ac_cv_exeext'
3484 { { case "(($ac_try" in
3485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3486 *) ac_try_echo
=$ac_try;;
3488 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_try") 2>&5
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }; }; then
3496 if test "$cross_compiling" = maybe
; then
3499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501 as_fn_error $?
"cannot run C compiled programs.
3502 If you meant to cross compile, use \`--host'.
3503 See \`config.log' for more details" "$LINENO" 5; }
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3508 $as_echo "$cross_compiling" >&6; }
3510 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3511 ac_clean_files
=$ac_clean_files_save
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3513 $as_echo_n "checking for suffix of object files... " >&6; }
3514 if ${ac_cv_objext+:} false
; then :
3515 $as_echo_n "(cached) " >&6
3517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3528 rm -f conftest.o conftest.obj
3529 if { { ac_try
="$ac_compile"
3531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3532 *) ac_try_echo=$ac_try;;
3534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3535 $as_echo "$ac_try_echo"; } >&5
3536 (eval "$ac_compile") 2>&5
3538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3539 test $ac_status = 0; }; then :
3540 for ac_file in conftest.o conftest.obj conftest.*; do
3541 test -f "$ac_file" || continue;
3543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3544 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3549 $as_echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.$ac_ext >&5
3552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3554 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3555 See \
`config.log' for more details" "$LINENO" 5; }
3557 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3560 $as_echo "$ac_cv_objext" >&6; }
3561 OBJEXT=$ac_cv_objext
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3564 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3565 if ${ac_cv_c_compiler_gnu+:} false; then :
3566 $as_echo_n "(cached) " >&6
3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3582 if ac_fn_c_try_compile "$LINENO"; then :
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3592 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3593 if test $ac_compiler_gnu = yes; then
3598 ac_test_CFLAGS=${CFLAGS+set}
3599 ac_save_CFLAGS=$CFLAGS
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3601 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3602 if ${ac_cv_prog_cc_g+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 ac_save_c_werror_flag=$ac_c_werror_flag
3606 ac_c_werror_flag=yes
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3620 if ac_fn_c_try_compile "$LINENO"; then :
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3635 if ac_fn_c_try_compile "$LINENO"; then :
3638 ac_c_werror_flag=$ac_save_c_werror_flag
3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3651 if ac_fn_c_try_compile "$LINENO"; then :
3654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3659 ac_c_werror_flag=$ac_save_c_werror_flag
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3662 $as_echo "$ac_cv_prog_cc_g" >&6; }
3663 if test "$ac_test_CFLAGS" = set; then
3664 CFLAGS=$ac_save_CFLAGS
3665 elif test $ac_cv_prog_cc_g = yes; then
3666 if test "$GCC" = yes; then
3672 if test "$GCC" = yes; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3679 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3680 if ${ac_cv_prog_cc_c89+:} false; then :
3681 $as_echo_n "(cached) " >&6
3683 ac_cv_prog_cc_c89=no
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3691 struct buf { int x; };
3692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3693 static char *e (p, i)
3699 static char *f (char * (*g) (char **, int), char **p, ...)
3704 s = g (p, va_arg (v,int));
3709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3710 function prototypes and stuff, but not '\xHH' hex character constants.
3711 These don't provoke an error unfortunately, instead are silently treated
3712 as 'x'. The following induces an error, until -std is added to get
3713 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3714 array size at least. It's necessary to write '\x00'==0 to get something
3715 that's true only with -std. */
3716 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3719 inside strings and character constants. */
3721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3723 int test (int i, double x);
3724 struct s1 {int (*f) (int a);};
3725 struct s2 {int (*f) (double a);};
3726 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3732 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3738 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3740 CC="$ac_save_CC $ac_arg"
3741 if ac_fn_c_try_compile "$LINENO"; then :
3742 ac_cv_prog_cc_c89=$ac_arg
3744 rm -f core conftest.err conftest.$ac_objext
3745 test "x$ac_cv_prog_cc_c89" != "xno" && break
3747 rm -f conftest.$ac_ext
3752 case "x$ac_cv_prog_cc_c89" in
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3755 $as_echo "none needed" >&6; } ;;
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3758 $as_echo "unsupported" >&6; } ;;
3760 CC="$CC $ac_cv_prog_cc_c89"
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3762 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3764 if test "x$ac_cv_prog_cc_c89" != xno; then :
3769 ac_cpp='$CPP $CPPFLAGS'
3770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3775 ac_cpp='$CPP $CPPFLAGS'
3776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3780 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3781 if ${am_cv_prog_cc_c_o+:} false; then :
3782 $as_echo_n "(cached) " >&6
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3795 # Make sure it works both with $CC and with simple cc.
3796 # Following AC_PROG_CC_C_O, we do the test twice because some
3797 # compilers refuse to overwrite an existing .o file with -o,
3798 # though they will create one.
3799 am_cv_prog_cc_c_o=yes
3801 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3802 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } \
3806 && test -f conftest2.$ac_objext; then
3809 am_cv_prog_cc_c_o=no
3813 rm -f core conftest*
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3817 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3818 if test "$am_cv_prog_cc_c_o" != yes; then
3819 # Losing compiler, so override with the script.
3820 # FIXME: It is wrong to rewrite CC.
3821 # But if we don't then we get into trouble of one sort or another.
3822 # A longer-term fix would be to have automake use am__CC in this case,
3823 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3824 CC="$am_aux_dir/compile $CC"
3827 ac_cpp='$CPP $CPPFLAGS'
3828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3833 depcc="$CC" am_compiler_list=
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3836 $as_echo_n "checking dependency style of $depcc... " >&6; }
3837 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3838 $as_echo_n "(cached) " >&6
3840 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3841 # We make a subdir and do the tests there. Otherwise we can end up
3842 # making bogus files that we don't know about and never remove. For
3843 # instance it was reported that on HP-UX the gcc test will end up
3844 # making a dummy file named 'D' -- because '-MD' means "put the output
3848 # Copy depcomp to subdir because otherwise we won't find it if we're
3849 # using a relative directory.
3850 cp "$am_depcomp" conftest.dir
3852 # We will build objects and dependencies in a subdirectory because
3853 # it helps to detect inapplicable dependency modes. For instance
3854 # both Tru64's cc and ICC support -MD to output dependencies as a
3855 # side effect of compilation, but ICC will put the dependencies in
3856 # the current directory while Tru64 will put them in the object
3860 am_cv_CC_dependencies_compiler_type=none
3861 if test "$am_compiler_list" = ""; then
3862 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3865 case " $depcc " in #(
3866 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3869 for depmode in $am_compiler_list; do
3870 # Setup a source with many dependencies, because some compilers
3871 # like to wrap large dependency lists on column 80 (with \), and
3872 # we should not choose a depcomp mode which is confused by this.
3874 # We need to recreate these files for each test, as the compiler may
3875 # overwrite some of them when testing with obscure command lines.
3876 # This happens at least with the AIX C compiler.
3878 for i in 1 2 3 4 5 6; do
3879 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3880 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3881 # Solaris 10 /bin/sh.
3882 echo '/* dummy */' > sub/conftst$i.h
3884 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3886 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3887 # mode. It turns out that the SunPro C++ compiler does not properly
3888 # handle '-M -o', and we need to detect this. Also, some Intel
3889 # versions had trouble with output in subdirs.
3890 am__obj=sub/conftest.${OBJEXT-o}
3891 am__minus_obj="-o $am__obj"
3894 # This depmode causes a compiler race in universal mode.
3895 test "$am__universal" = false || continue
3898 # After this tag, mechanisms are not by side-effect, so they'll
3899 # only be used when explicitly requested.
3900 if test "x$enable_dependency_tracking" = xyes; then
3906 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3907 # This compiler won't grok '-c -o', but also, the minuso test has
3908 # not run yet. These depmodes are late enough in the game, and
3909 # so weak that their functioning should not be impacted.
3910 am__obj=conftest.${OBJEXT-o}
3915 if depmode=$depmode \
3916 source=sub/conftest.c object=$am__obj \
3917 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3918 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3919 >/dev/null 2>conftest.err &&
3920 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3921 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3922 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3923 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3924 # icc doesn't choke on unknown options, it will just issue warnings
3925 # or remarks (even with -Werror). So we grep stderr for any message
3926 # that says an option was ignored or not supported.
3927 # When given -MP, icc 7.0 and 7.1 complain thusly:
3928 # icc: Command line warning: ignoring option '-M'; no argument required
3929 # The diagnosis changed in icc 8.0:
3930 # icc: Command line remark: option '-MP' not supported
3931 if (grep 'ignoring option' conftest.err ||
3932 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3933 am_cv_CC_dependencies_compiler_type=$depmode
3942 am_cv_CC_dependencies_compiler_type=none
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3947 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3948 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3951 test "x$enable_dependency_tracking" != xno \
3952 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3954 am__fastdepCC_FALSE='#'
3956 am__fastdepCC_TRUE='#'
3957 am__fastdepCC_FALSE=
3962 # Check whether --enable-compiler-warnings was given.
3963 if test "${enable_compiler_warnings+set}" = set; then :
3964 enableval=$enable_compiler_warnings;
3966 case $enable_compiler_warnings in #(
3967 no | min | yes | max | all) :
3970 if test "x$enable_maintainer_mode" = xyes; then :
3971 enable_compiler_warnings=yes
3973 enable_compiler_warnings=min
3978 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3979 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3980 # is not polluted with repeated "-I."
3981 am__isrc=' -I$(srcdir)'
3982 # test to see if srcdir already configured
3983 if test -f $srcdir/config.status; then
3984 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3988 # test whether we have cygpath
3989 if test -z "$CYGPATH_W"; then
3990 if (cygpath --version) >/dev/null 2>/dev/null; then
3991 CYGPATH_W='cygpath -w'
3998 # Define the identity of the package.
3999 PACKAGE='poppler--tex-live-'
4003 # Some tools Automake needs.
4005 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4008 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4011 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4014 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4017 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4019 # For better backward compatibility. To be removed once Automake 1.9.x
4020 # dies out for good. For more background, see:
4021 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4022 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4023 mkdir_p='$(MKDIR_P)'
4025 # We need awk for the "check" target. The system "awk" is bad on
4027 # Always define AMTAR for backward compatibility. Yes, it's still used
4028 # in the wild :-( We should find a proper way to deprecate it ...
4032 # We'll loop over all known methods to create a tar archive until one works.
4033 _am_tools='gnutar pax cpio none'
4035 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4042 # POSIX will say in a future version that running "rm -f" with no argument
4043 # is OK; and we want to be able to make that assumption in our Makefile
4044 # recipes. So use an aggressive probe to check that the usage we want is
4045 # actually supported "in the wild" to an acceptable degree.
4046 # See automake bug#10828.
4047 # To make any issue more visible, cause the running configure to be aborted
4048 # by default if the 'rm' program in use doesn't match our expectations; the
4049 # user can still override this though.
4050 if rm -f && rm -fr && rm -rf; then : OK; else
4054 Your 'rm' program seems unable to run without file operands specified
4055 on the command line, even when the '-f' option is present. This is contrary
4056 to the behaviour of most rm programs out there, and not conforming with
4057 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4059 Please tell bug-automake@gnu.org about your system, including the value
4060 of your $PATH and any error possibly output before this message. This
4061 can help us improve future automake versions.
4064 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4065 echo 'Configuration will proceed anyway, since you have set the' >&2
4066 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4070 Aborting the configuration process, to ensure you take notice of the issue.
4072 You can download and install GNU coreutils to get an 'rm' implementation
4073 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4075 If you want to complete the configuration process using your problematic
4076 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4077 to "yes", and re-run configure.
4080 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4085 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4086 # Check whether --enable-maintainer-mode was given.
4087 if test "${enable_maintainer_mode+set}" = set; then :
4088 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4090 USE_MAINTAINER_MODE=no
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4094 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4095 if test $USE_MAINTAINER_MODE = yes; then
4096 MAINTAINER_MODE_TRUE=
4097 MAINTAINER_MODE_FALSE='#'
4099 MAINTAINER_MODE_TRUE='#'
4100 MAINTAINER_MODE_FALSE=
4103 MAINT=$MAINTAINER_MODE_TRUE
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4107 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4108 if ${kb_cv_c_prototypes+:} false; then :
4109 $as_echo_n "(cached) " >&6
4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4112 /* end confdefs.h. */
4117 extern void foo(int i,...);
4122 if ac_fn_c_try_link "$LINENO"; then :
4123 kb_cv_c_prototypes=yes
4125 kb_cv_c_prototypes=no
4127 rm -f core conftest.err conftest.$ac_objext \
4128 conftest$ac_exeext conftest.$ac_ext
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4131 $as_echo "$kb_cv_c_prototypes" >&6; }
4132 if test "x$kb_cv_c_prototypes" = xno; then
4133 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4136 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4137 if ${kpse_cv_warning_cflags+:} false; then :
4138 $as_echo_n "(cached) " >&6
4140 if test "x$GCC" = xyes; then
4141 kpse_cv_warning_cflags=
4142 if test "x$enable_compiler_warnings" != xno; then
4143 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4144 case `$CC -dumpversion` in #(
4146 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4150 case `$CC -dumpversion` in #(
4152 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4156 if test "x$enable_compiler_warnings" != xmin; then
4157 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4158 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4159 if test "x$enable_compiler_warnings" != xyes; then
4160 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4161 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4162 case `$CC -dumpversion` in #(
4164 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4168 if test "x$enable_compiler_warnings" != xmax; then
4169 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4174 elif test "x$enable_compiler_warnings" = xno; then
4175 kpse_cv_warning_cflags=
4177 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4181 $as_echo "$kpse_cv_warning_cflags" >&6; }
4182 WARNING_CFLAGS=$kpse_cv_warning_cflags
4192 ac_cpp='$CPP $CPPFLAGS'
4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4196 if test -n "$ac_tool_prefix"; then
4197 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4198 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 $as_echo_n "checking for $ac_word... " >&6; }
4201 if ${ac_cv_prog_CC+:} false; then :
4202 $as_echo_n "(cached) " >&6
4204 if test -n "$CC"; then
4205 ac_cv_prog_CC="$CC" # Let the user override the test.
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4211 test -z "$as_dir" && as_dir=.
4212 for ac_exec_ext in '' $ac_executable_extensions; do
4213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4214 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 if test -n "$CC"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4227 $as_echo "$CC" >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4235 if test -z "$ac_cv_prog_CC"; then
4237 # Extract the first word of "gcc", so it can be a program name with args.
4238 set dummy gcc; ac_word=$2
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240 $as_echo_n "checking for $ac_word... " >&6; }
4241 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4242 $as_echo_n "(cached) " >&6
4244 if test -n "$ac_ct_CC"; then
4245 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4251 test -z "$as_dir" && as_dir=.
4252 for ac_exec_ext in '' $ac_executable_extensions; do
4253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4254 ac_cv_prog_ac_ct_CC="gcc"
4255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4265 if test -n "$ac_ct_CC"; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4267 $as_echo "$ac_ct_CC" >&6; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4273 if test "x$ac_ct_CC" = x; then
4276 case $cross_compiling:$ac_tool_warned in
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4280 ac_tool_warned=yes ;;
4288 if test -z "$CC"; then
4289 if test -n "$ac_tool_prefix"; then
4290 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4291 set dummy ${ac_tool_prefix}cc; ac_word=$2
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4293 $as_echo_n "checking for $ac_word... " >&6; }
4294 if ${ac_cv_prog_CC+:} false; then :
4295 $as_echo_n "(cached) " >&6
4297 if test -n "$CC"; then
4298 ac_cv_prog_CC="$CC" # Let the user override the test.
4300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4304 test -z "$as_dir" && as_dir=.
4305 for ac_exec_ext in '' $ac_executable_extensions; do
4306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4307 ac_cv_prog_CC="${ac_tool_prefix}cc"
4308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4318 if test -n "$CC"; then
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4320 $as_echo "$CC" >&6; }
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4323 $as_echo "no" >&6; }
4329 if test -z "$CC"; then
4330 # Extract the first word of "cc", so it can be a program name with args.
4331 set dummy cc; ac_word=$2
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 $as_echo_n "checking for $ac_word... " >&6; }
4334 if ${ac_cv_prog_CC+:} false; then :
4335 $as_echo_n "(cached) " >&6
4337 if test -n "$CC"; then
4338 ac_cv_prog_CC="$CC" # Let the user override the test.
4341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 test -z "$as_dir" && as_dir=.
4346 for ac_exec_ext in '' $ac_executable_extensions; do
4347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4348 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4349 ac_prog_rejected=yes
4353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4360 if test $ac_prog_rejected = yes; then
4361 # We found a bogon in the path, so make sure we never use it.
4362 set dummy $ac_cv_prog_CC
4364 if test $# != 0; then
4365 # We chose a different compiler from the bogus one.
4366 # However, it has the same basename, so the bogon will be chosen
4367 # first if we set CC to just the basename; use the full file name.
4369 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4375 if test -n "$CC"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4377 $as_echo "$CC" >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380 $as_echo "no" >&6; }
4385 if test -z "$CC"; then
4386 if test -n "$ac_tool_prefix"; then
4387 for ac_prog in cl.exe
4389 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4390 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if ${ac_cv_prog_CC+:} false; then :
4394 $as_echo_n "(cached) " >&6
4396 if test -n "$CC"; then
4397 ac_cv_prog_CC="$CC" # Let the user override the test.
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 test -z "$as_dir" && as_dir=.
4404 for ac_exec_ext in '' $ac_executable_extensions; do
4405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 if test -n "$CC"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4419 $as_echo "$CC" >&6; }
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4426 test -n "$CC" && break
4429 if test -z "$CC"; then
4431 for ac_prog in cl.exe
4433 # Extract the first word of "$ac_prog", so it can be a program name with args.
4434 set dummy $ac_prog; ac_word=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4438 $as_echo_n "(cached) " >&6
4440 if test -n "$ac_ct_CC"; then
4441 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4450 ac_cv_prog_ac_ct_CC="$ac_prog"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4461 if test -n "$ac_ct_CC"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4463 $as_echo "$ac_ct_CC" >&6; }
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4470 test -n "$ac_ct_CC" && break
4473 if test "x$ac_ct_CC" = x; then
4476 case $cross_compiling:$ac_tool_warned in
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4480 ac_tool_warned=yes ;;
4489 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4491 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4492 See \
`config.log' for more details" "$LINENO" 5; }
4494 # Provide some information about the compiler.
4495 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4498 for ac_option in --version -v -V -qversion; do
4499 { { ac_try="$ac_compiler $ac_option >&5"
4501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4502 *) ac_try_echo
=$ac_try;;
4504 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4505 $as_echo "$ac_try_echo"; } >&5
4506 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4508 if test -s conftest.err
; then
4510 ... rest of stderr output deleted ...
4511 10q' conftest.err
>conftest.er1
4512 cat conftest.er1
>&5
4514 rm -f conftest.er1 conftest.err
4515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4516 test $ac_status = 0; }
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4520 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4521 if ${ac_cv_c_compiler_gnu+:} false
; then :
4522 $as_echo_n "(cached) " >&6
4524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4538 if ac_fn_c_try_compile
"$LINENO"; then :
4543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4544 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4548 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4549 if test $ac_compiler_gnu = yes; then
4554 ac_test_CFLAGS
=${CFLAGS+set}
4555 ac_save_CFLAGS
=$CFLAGS
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4557 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4558 if ${ac_cv_prog_cc_g+:} false
; then :
4559 $as_echo_n "(cached) " >&6
4561 ac_save_c_werror_flag
=$ac_c_werror_flag
4562 ac_c_werror_flag
=yes
4565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4576 if ac_fn_c_try_compile
"$LINENO"; then :
4580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4591 if ac_fn_c_try_compile
"$LINENO"; then :
4594 ac_c_werror_flag
=$ac_save_c_werror_flag
4596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4607 if ac_fn_c_try_compile
"$LINENO"; then :
4610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4615 ac_c_werror_flag
=$ac_save_c_werror_flag
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4618 $as_echo "$ac_cv_prog_cc_g" >&6; }
4619 if test "$ac_test_CFLAGS" = set; then
4620 CFLAGS
=$ac_save_CFLAGS
4621 elif test $ac_cv_prog_cc_g = yes; then
4622 if test "$GCC" = yes; then
4628 if test "$GCC" = yes; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4635 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4636 if ${ac_cv_prog_cc_c89+:} false
; then :
4637 $as_echo_n "(cached) " >&6
4639 ac_cv_prog_cc_c89
=no
4641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4646 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4647 struct buf { int x; };
4648 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4649 static char *e (p, i)
4655 static char *f (char * (*g) (char **, int), char **p, ...)
4660 s = g (p, va_arg (v,int));
4665 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4666 function prototypes and stuff, but not '\xHH' hex character constants.
4667 These don't provoke an error unfortunately, instead are silently treated
4668 as 'x'. The following induces an error, until -std is added to get
4669 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4670 array size at least. It's necessary to write '\x00'==0 to get something
4671 that's true only with -std. */
4672 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4674 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4675 inside strings and character constants. */
4677 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4679 int test (int i, double x);
4680 struct s1 {int (*f) (int a);};
4681 struct s2 {int (*f) (double a);};
4682 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4688 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4693 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4694 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4696 CC
="$ac_save_CC $ac_arg"
4697 if ac_fn_c_try_compile
"$LINENO"; then :
4698 ac_cv_prog_cc_c89
=$ac_arg
4700 rm -f core conftest.err conftest.
$ac_objext
4701 test "x$ac_cv_prog_cc_c89" != "xno" && break
4703 rm -f conftest.
$ac_ext
4708 case "x$ac_cv_prog_cc_c89" in
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4711 $as_echo "none needed" >&6; } ;;
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4714 $as_echo "unsupported" >&6; } ;;
4716 CC
="$CC $ac_cv_prog_cc_c89"
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4718 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4720 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4725 ac_cpp
='$CPP $CPPFLAGS'
4726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4731 ac_cpp
='$CPP $CPPFLAGS'
4732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4736 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4737 if ${am_cv_prog_cc_c_o+:} false
; then :
4738 $as_echo_n "(cached) " >&6
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4751 # Make sure it works both with $CC and with simple cc.
4752 # Following AC_PROG_CC_C_O, we do the test twice because some
4753 # compilers refuse to overwrite an existing .o file with -o,
4754 # though they will create one.
4755 am_cv_prog_cc_c_o
=yes
4757 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4758 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); } \
4762 && test -f conftest2.
$ac_objext; then
4765 am_cv_prog_cc_c_o
=no
4769 rm -f core conftest
*
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4773 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4774 if test "$am_cv_prog_cc_c_o" != yes; then
4775 # Losing compiler, so override with the script.
4776 # FIXME: It is wrong to rewrite CC.
4777 # But if we don't then we get into trouble of one sort or another.
4778 # A longer-term fix would be to have automake use am__CC in this case,
4779 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4780 CC
="$am_aux_dir/compile $CC"
4783 ac_cpp
='$CPP $CPPFLAGS'
4784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4789 depcc
="$CC" am_compiler_list
=
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4792 $as_echo_n "checking dependency style of $depcc... " >&6; }
4793 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4794 $as_echo_n "(cached) " >&6
4796 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4797 # We make a subdir and do the tests there. Otherwise we can end up
4798 # making bogus files that we don't know about and never remove. For
4799 # instance it was reported that on HP-UX the gcc test will end up
4800 # making a dummy file named 'D' -- because '-MD' means "put the output
4804 # Copy depcomp to subdir because otherwise we won't find it if we're
4805 # using a relative directory.
4806 cp "$am_depcomp" conftest.dir
4808 # We will build objects and dependencies in a subdirectory because
4809 # it helps to detect inapplicable dependency modes. For instance
4810 # both Tru64's cc and ICC support -MD to output dependencies as a
4811 # side effect of compilation, but ICC will put the dependencies in
4812 # the current directory while Tru64 will put them in the object
4816 am_cv_CC_dependencies_compiler_type
=none
4817 if test "$am_compiler_list" = ""; then
4818 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4821 case " $depcc " in #(
4822 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4825 for depmode
in $am_compiler_list; do
4826 # Setup a source with many dependencies, because some compilers
4827 # like to wrap large dependency lists on column 80 (with \), and
4828 # we should not choose a depcomp mode which is confused by this.
4830 # We need to recreate these files for each test, as the compiler may
4831 # overwrite some of them when testing with obscure command lines.
4832 # This happens at least with the AIX C compiler.
4834 for i
in 1 2 3 4 5 6; do
4835 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4836 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4837 # Solaris 10 /bin/sh.
4838 echo '/* dummy */' > sub
/conftst
$i.h
4840 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4842 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4843 # mode. It turns out that the SunPro C++ compiler does not properly
4844 # handle '-M -o', and we need to detect this. Also, some Intel
4845 # versions had trouble with output in subdirs.
4846 am__obj
=sub
/conftest.
${OBJEXT-o}
4847 am__minus_obj
="-o $am__obj"
4850 # This depmode causes a compiler race in universal mode.
4851 test "$am__universal" = false ||
continue
4854 # After this tag, mechanisms are not by side-effect, so they'll
4855 # only be used when explicitly requested.
4856 if test "x$enable_dependency_tracking" = xyes
; then
4862 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4863 # This compiler won't grok '-c -o', but also, the minuso test has
4864 # not run yet. These depmodes are late enough in the game, and
4865 # so weak that their functioning should not be impacted.
4866 am__obj
=conftest.
${OBJEXT-o}
4871 if depmode
=$depmode \
4872 source=sub
/conftest.c object
=$am__obj \
4873 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4874 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4875 >/dev
/null
2>conftest.err
&&
4876 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4877 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4878 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4879 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4880 # icc doesn't choke on unknown options, it will just issue warnings
4881 # or remarks (even with -Werror). So we grep stderr for any message
4882 # that says an option was ignored or not supported.
4883 # When given -MP, icc 7.0 and 7.1 complain thusly:
4884 # icc: Command line warning: ignoring option '-M'; no argument required
4885 # The diagnosis changed in icc 8.0:
4886 # icc: Command line remark: option '-MP' not supported
4887 if (grep 'ignoring option' conftest.err ||
4888 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4889 am_cv_CC_dependencies_compiler_type
=$depmode
4898 am_cv_CC_dependencies_compiler_type
=none
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4903 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4904 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4907 test "x$enable_dependency_tracking" != xno \
4908 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4910 am__fastdepCC_FALSE
='#'
4912 am__fastdepCC_TRUE
='#'
4913 am__fastdepCC_FALSE
=
4918 ac_cpp
='$CXXCPP $CPPFLAGS'
4919 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4920 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4921 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4922 if test -z "$CXX"; then
4923 if test -n "$CCC"; then
4926 if test -n "$ac_tool_prefix"; then
4927 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4930 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if ${ac_cv_prog_CXX+:} false
; then :
4934 $as_echo_n "(cached) " >&6
4936 if test -n "$CXX"; then
4937 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4943 test -z "$as_dir" && as_dir
=.
4944 for ac_exec_ext
in '' $ac_executable_extensions; do
4945 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4946 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 if test -n "$CXX"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4959 $as_echo "$CXX" >&6; }
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4966 test -n "$CXX" && break
4969 if test -z "$CXX"; then
4971 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4973 # Extract the first word of "$ac_prog", so it can be a program name with args.
4974 set dummy
$ac_prog; ac_word
=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
4978 $as_echo_n "(cached) " >&6
4980 if test -n "$ac_ct_CXX"; then
4981 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir
=.
4988 for ac_exec_ext
in '' $ac_executable_extensions; do
4989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5001 if test -n "$ac_ct_CXX"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5003 $as_echo "$ac_ct_CXX" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5010 test -n "$ac_ct_CXX" && break
5013 if test "x$ac_ct_CXX" = x
; then
5016 case $cross_compiling:$ac_tool_warned in
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5020 ac_tool_warned
=yes ;;
5028 # Provide some information about the compiler.
5029 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5032 for ac_option
in --version -v -V -qversion; do
5033 { { ac_try
="$ac_compiler $ac_option >&5"
5035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5036 *) ac_try_echo=$ac_try;;
5038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5039 $as_echo "$ac_try_echo"; } >&5
5040 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5042 if test -s conftest.err; then
5044 ... rest of stderr output deleted ...
5045 10q' conftest.err >conftest.er1
5046 cat conftest.er1 >&5
5048 rm -f conftest.er1 conftest.err
5049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5050 test $ac_status = 0; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5054 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5055 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5056 $as_echo_n "(cached) " >&6
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5072 if ac_fn_cxx_try_compile "$LINENO"; then :
5077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5078 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5082 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5083 if test $ac_compiler_gnu = yes; then
5088 ac_test_CXXFLAGS=${CXXFLAGS+set}
5089 ac_save_CXXFLAGS=$CXXFLAGS
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5091 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5092 if ${ac_cv_prog_cxx_g+:} false; then :
5093 $as_echo_n "(cached) " >&6
5095 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5096 ac_cxx_werror_flag=yes
5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5100 /* end confdefs.h. */
5110 if ac_fn_cxx_try_compile "$LINENO"; then :
5111 ac_cv_prog_cxx_g=yes
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5125 if ac_fn_cxx_try_compile "$LINENO"; then :
5128 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5131 /* end confdefs.h. */
5141 if ac_fn_cxx_try_compile "$LINENO"; then :
5142 ac_cv_prog_cxx_g=yes
5144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5149 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5152 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5153 if test "$ac_test_CXXFLAGS" = set; then
5154 CXXFLAGS=$ac_save_CXXFLAGS
5155 elif test $ac_cv_prog_cxx_g = yes; then
5156 if test "$GXX" = yes; then
5162 if test "$GXX" = yes; then
5169 ac_cpp='$CPP $CPPFLAGS'
5170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5174 depcc="$CXX" am_compiler_list=
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5177 $as_echo_n "checking dependency style of $depcc... " >&6; }
5178 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5179 $as_echo_n "(cached) " >&6
5181 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5182 # We make a subdir and do the tests there. Otherwise we can end up
5183 # making bogus files that we don't know about and never remove. For
5184 # instance it was reported that on HP-UX the gcc test will end up
5185 # making a dummy file named 'D' -- because '-MD' means "put the output
5189 # Copy depcomp to subdir because otherwise we won't find it if we're
5190 # using a relative directory.
5191 cp "$am_depcomp" conftest.dir
5193 # We will build objects and dependencies in a subdirectory because
5194 # it helps to detect inapplicable dependency modes. For instance
5195 # both Tru64's cc and ICC support -MD to output dependencies as a
5196 # side effect of compilation, but ICC will put the dependencies in
5197 # the current directory while Tru64 will put them in the object
5201 am_cv_CXX_dependencies_compiler_type=none
5202 if test "$am_compiler_list" = ""; then
5203 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5206 case " $depcc " in #(
5207 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5210 for depmode in $am_compiler_list; do
5211 # Setup a source with many dependencies, because some compilers
5212 # like to wrap large dependency lists on column 80 (with \), and
5213 # we should not choose a depcomp mode which is confused by this.
5215 # We need to recreate these files for each test, as the compiler may
5216 # overwrite some of them when testing with obscure command lines.
5217 # This happens at least with the AIX C compiler.
5219 for i in 1 2 3 4 5 6; do
5220 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5221 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5222 # Solaris 10 /bin/sh.
5223 echo '/* dummy */' > sub/conftst$i.h
5225 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5227 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5228 # mode. It turns out that the SunPro C++ compiler does not properly
5229 # handle '-M -o', and we need to detect this. Also, some Intel
5230 # versions had trouble with output in subdirs.
5231 am__obj=sub/conftest.${OBJEXT-o}
5232 am__minus_obj="-o $am__obj"
5235 # This depmode causes a compiler race in universal mode.
5236 test "$am__universal" = false || continue
5239 # After this tag, mechanisms are not by side-effect, so they'll
5240 # only be used when explicitly requested.
5241 if test "x$enable_dependency_tracking" = xyes; then
5247 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5248 # This compiler won't grok '-c -o', but also, the minuso test has
5249 # not run yet. These depmodes are late enough in the game, and
5250 # so weak that their functioning should not be impacted.
5251 am__obj=conftest.${OBJEXT-o}
5256 if depmode=$depmode \
5257 source=sub/conftest.c object=$am__obj \
5258 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5259 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5260 >/dev/null 2>conftest.err &&
5261 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5262 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5263 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5264 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5265 # icc doesn't choke on unknown options, it will just issue warnings
5266 # or remarks (even with -Werror). So we grep stderr for any message
5267 # that says an option was ignored or not supported.
5268 # When given -MP, icc 7.0 and 7.1 complain thusly:
5269 # icc: Command line warning: ignoring option '-M'; no argument required
5270 # The diagnosis changed in icc 8.0:
5271 # icc: Command line remark: option '-MP' not supported
5272 if (grep 'ignoring option' conftest.err ||
5273 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5274 am_cv_CXX_dependencies_compiler_type=$depmode
5283 am_cv_CXX_dependencies_compiler_type=none
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5288 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5289 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5292 test "x$enable_dependency_tracking" != xno \
5293 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5294 am__fastdepCXX_TRUE=
5295 am__fastdepCXX_FALSE='#'
5297 am__fastdepCXX_TRUE='#'
5298 am__fastdepCXX_FALSE=
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
5302 $as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
5303 if ${kpse_cv_warning_cxxflags+:} false; then :
5304 $as_echo_n "(cached) " >&6
5306 if test "x$GXX" = xyes; then
5307 kpse_cv_warning_cxxflags=
5308 kpse_warn_strings="-Wno-write-strings"
5309 if test "x$enable_compiler_warnings" != xno; then
5310 kpse_cv_warning_cxxflags="-Wreturn-type"
5311 case `$CXX -dumpversion` in #(
5312 3.* | 4.[012345].*) :
5313 kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #(
5317 case `$CXX -dumpversion` in #(
5319 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #(
5323 if test "x$enable_compiler_warnings" != xmin; then
5324 kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags"
5325 if test "x$enable_compiler_warnings" != xyes; then
5326 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
5327 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align"
5328 kpse_warn_strings="-Wwrite-strings"
5329 if test "x$enable_compiler_warnings" != xmax; then
5330 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow"
5335 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings"
5336 elif test "x$enable_compiler_warnings" = xno; then
5337 kpse_cv_warning_cxxflags=
5339 kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5
5343 $as_echo "$kpse_cv_warning_cxxflags" >&6; }
5344 WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags
5348 if test -n "$ac_tool_prefix"; then
5349 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5350 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5352 $as_echo_n "checking for $ac_word... " >&6; }
5353 if ${ac_cv_prog_RANLIB+:} false; then :
5354 $as_echo_n "(cached) " >&6
5356 if test -n "$RANLIB"; then
5357 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir=.
5364 for ac_exec_ext in '' $ac_executable_extensions; do
5365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5366 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 RANLIB=$ac_cv_prog_RANLIB
5377 if test -n "$RANLIB"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5379 $as_echo "$RANLIB" >&6; }
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; }
5387 if test -z "$ac_cv_prog_RANLIB"; then
5388 ac_ct_RANLIB=$RANLIB
5389 # Extract the first word of "ranlib", so it can be a program name with args.
5390 set dummy ranlib; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5394 $as_echo_n "(cached) " >&6
5396 if test -n "$ac_ct_RANLIB"; then
5397 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_ac_ct_RANLIB="ranlib"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5417 if test -n "$ac_ct_RANLIB"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5419 $as_echo "$ac_ct_RANLIB" >&6; }
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5425 if test "x$ac_ct_RANLIB" = x; then
5428 case $cross_compiling:$ac_tool_warned in
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5432 ac_tool_warned=yes ;;
5434 RANLIB=$ac_ct_RANLIB
5437 RANLIB="$ac_cv_prog_RANLIB"
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5441 $as_echo_n "checking whether ln -s works... " >&6; }
5443 if test "$LN_S" = "ln -s"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5445 $as_echo "yes" >&6; }
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5448 $as_echo "no, using $LN_S" >&6; }
5453 ac_cpp='$CPP $CPPFLAGS'
5454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5458 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5459 # On Suns, sometimes $CPP names a directory.
5460 if test -n "$CPP" && test -d "$CPP"; then
5463 if test -z "$CPP"; then
5464 if ${ac_cv_prog_CPP+:} false; then :
5465 $as_echo_n "(cached) " >&6
5467 # Double quotes because CPP needs to be expanded
5468 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5471 for ac_c_preproc_warn_flag in '' yes
5473 # Use a header file that comes with gcc, so configuring glibc
5474 # with a fresh cross-compiler works.
5475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5476 # <limits.h> exists even on freestanding compilers.
5477 # On the NeXT, cc -E runs the code through the compiler's parser,
5478 # not just through cpp. "Syntax error" is here to catch this case.
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5482 # include <limits.h>
5484 # include <assert.h>
5488 if ac_fn_c_try_cpp "$LINENO"; then :
5491 # Broken: fails on valid input.
5494 rm -f conftest.err conftest.i conftest.$ac_ext
5496 # OK, works on sane cases. Now check whether nonexistent headers
5497 # can be detected and how.
5498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5499 /* end confdefs.h. */
5500 #include <ac_nonexistent.h>
5502 if ac_fn_c_try_cpp "$LINENO"; then :
5503 # Broken: success on invalid input.
5506 # Passes both tests.
5510 rm -f conftest.err conftest.i conftest.$ac_ext
5513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5514 rm -f conftest.i conftest.err conftest.
$ac_ext
5515 if $ac_preproc_ok; then :
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5528 $as_echo "$CPP" >&6; }
5530 for ac_c_preproc_warn_flag
in '' yes
5532 # Use a header file that comes with gcc, so configuring glibc
5533 # with a fresh cross-compiler works.
5534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5535 # <limits.h> exists even on freestanding compilers.
5536 # On the NeXT, cc -E runs the code through the compiler's parser,
5537 # not just through cpp. "Syntax error" is here to catch this case.
5538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5541 # include <limits.h>
5543 # include <assert.h>
5547 if ac_fn_c_try_cpp
"$LINENO"; then :
5550 # Broken: fails on valid input.
5553 rm -f conftest.err conftest.i conftest.
$ac_ext
5555 # OK, works on sane cases. Now check whether nonexistent headers
5556 # can be detected and how.
5557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5558 /* end confdefs.h. */
5559 #include <ac_nonexistent.h>
5561 if ac_fn_c_try_cpp
"$LINENO"; then :
5562 # Broken: success on invalid input.
5565 # Passes both tests.
5569 rm -f conftest.err conftest.i conftest.
$ac_ext
5572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5573 rm -f conftest.i conftest.err conftest.
$ac_ext
5574 if $ac_preproc_ok; then :
5577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5579 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5580 See \`config.log' for more details" "$LINENO" 5; }
5584 ac_cpp
='$CPP $CPPFLAGS'
5585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5591 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5592 if ${ac_cv_path_GREP+:} false
; then :
5593 $as_echo_n "(cached) " >&6
5595 if test -z "$GREP"; then
5596 ac_path_GREP_found
=false
5597 # Loop through the user's path and test for each of PROGNAME-LIST
5598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5599 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5602 test -z "$as_dir" && as_dir
=.
5603 for ac_prog
in grep ggrep
; do
5604 for ac_exec_ext
in '' $ac_executable_extensions; do
5605 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5606 as_fn_executable_p
"$ac_path_GREP" ||
continue
5607 # Check for GNU ac_path_GREP and select it if it is found.
5608 # Check for GNU $ac_path_GREP
5609 case `"$ac_path_GREP" --version 2>&1` in
5611 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5614 $as_echo_n 0123456789 >"conftest.in"
5617 cat "conftest.in" "conftest.in" >"conftest.tmp"
5618 mv "conftest.tmp" "conftest.in"
5619 cp "conftest.in" "conftest.nl"
5620 $as_echo 'GREP' >> "conftest.nl"
5621 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5622 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5623 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5624 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5625 # Best one so far, save it but keep looking for a better one
5626 ac_cv_path_GREP
="$ac_path_GREP"
5627 ac_path_GREP_max
=$ac_count
5629 # 10*(2^10) chars as input seems more than enough
5630 test $ac_count -gt 10 && break
5632 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5635 $ac_path_GREP_found && break 3
5640 if test -z "$ac_cv_path_GREP"; then
5641 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5644 ac_cv_path_GREP
=$GREP
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5649 $as_echo "$ac_cv_path_GREP" >&6; }
5650 GREP
="$ac_cv_path_GREP"
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5654 $as_echo_n "checking for egrep... " >&6; }
5655 if ${ac_cv_path_EGREP+:} false
; then :
5656 $as_echo_n "(cached) " >&6
5658 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5659 then ac_cv_path_EGREP
="$GREP -E"
5661 if test -z "$EGREP"; then
5662 ac_path_EGREP_found
=false
5663 # Loop through the user's path and test for each of PROGNAME-LIST
5664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5665 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5668 test -z "$as_dir" && as_dir
=.
5669 for ac_prog
in egrep; do
5670 for ac_exec_ext
in '' $ac_executable_extensions; do
5671 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5672 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5673 # Check for GNU ac_path_EGREP and select it if it is found.
5674 # Check for GNU $ac_path_EGREP
5675 case `"$ac_path_EGREP" --version 2>&1` in
5677 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5680 $as_echo_n 0123456789 >"conftest.in"
5683 cat "conftest.in" "conftest.in" >"conftest.tmp"
5684 mv "conftest.tmp" "conftest.in"
5685 cp "conftest.in" "conftest.nl"
5686 $as_echo 'EGREP' >> "conftest.nl"
5687 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5688 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5689 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5690 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5691 # Best one so far, save it but keep looking for a better one
5692 ac_cv_path_EGREP
="$ac_path_EGREP"
5693 ac_path_EGREP_max
=$ac_count
5695 # 10*(2^10) chars as input seems more than enough
5696 test $ac_count -gt 10 && break
5698 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5701 $ac_path_EGREP_found && break 3
5706 if test -z "$ac_cv_path_EGREP"; then
5707 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5710 ac_cv_path_EGREP
=$EGREP
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5716 $as_echo "$ac_cv_path_EGREP" >&6; }
5717 EGREP
="$ac_cv_path_EGREP"
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5721 $as_echo_n "checking for ANSI C header files... " >&6; }
5722 if ${ac_cv_header_stdc+:} false
; then :
5723 $as_echo_n "(cached) " >&6
5725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5726 /* end confdefs.h. */
5740 if ac_fn_c_try_compile
"$LINENO"; then :
5741 ac_cv_header_stdc
=yes
5743 ac_cv_header_stdc
=no
5745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5747 if test $ac_cv_header_stdc = yes; then
5748 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5755 $EGREP "memchr" >/dev
/null
2>&1; then :
5758 ac_cv_header_stdc
=no
5764 if test $ac_cv_header_stdc = yes; then
5765 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5767 /* end confdefs.h. */
5771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5772 $EGREP "free" >/dev
/null
2>&1; then :
5775 ac_cv_header_stdc
=no
5781 if test $ac_cv_header_stdc = yes; then
5782 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5783 if test "$cross_compiling" = yes; then :
5786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5787 /* end confdefs.h. */
5790 #if ((' ' & 0x0FF) == 0x020)
5791 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5792 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5794 # define ISLOWER(c) \
5795 (('a' <= (c) && (c) <= 'i') \
5796 || ('j' <= (c) && (c) <= 'r') \
5797 || ('s' <= (c) && (c) <= 'z'))
5798 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5801 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5806 for (i = 0; i < 256; i++)
5807 if (XOR (islower (i), ISLOWER (i))
5808 || toupper (i) != TOUPPER (i))
5813 if ac_fn_c_try_run
"$LINENO"; then :
5816 ac_cv_header_stdc
=no
5818 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5819 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5825 $as_echo "$ac_cv_header_stdc" >&6; }
5826 if test $ac_cv_header_stdc = yes; then
5828 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5832 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5833 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5834 inttypes.h stdint.h unistd.h
5836 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5837 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5839 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5840 cat >>confdefs.h
<<_ACEOF
5841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5849 # The cast to long int works around a bug in the HP C Compiler
5850 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5851 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5852 # This bug is HP SR number 8606223364.
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
5854 $as_echo_n "checking size of long long... " >&6; }
5855 if ${ac_cv_sizeof_long_long+:} false
; then :
5856 $as_echo_n "(cached) " >&6
5858 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
5861 if test "$ac_cv_type_long_long" = yes; then
5862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5864 as_fn_error
77 "cannot compute sizeof (long long)
5865 See \`config.log' for more details" "$LINENO" 5; }
5867 ac_cv_sizeof_long_long
=0
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
5873 $as_echo "$ac_cv_sizeof_long_long" >&6; }
5877 cat >>confdefs.h
<<_ACEOF
5878 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5882 if test $ac_cv_sizeof_long_long -lt 8; then
5883 as_fn_error $?
"Sorry, your compiler has no \`long long' with at least 8 bytes." "$LINENO" 5
5886 test "x$GXX" = xyes
&& NO_WARN_CXXFLAGS
='-Wno-write-strings'
5889 # Check whether --enable-opi was given.
5890 if test "${enable_opi+set}" = set; then :
5891 enableval
=$enable_opi; if test "x$enableval" = xyes
; then
5893 $as_echo "#define OPI_SUPPORT 1" >>confdefs.h
5900 # Check whether --enable-multithreaded was given.
5901 if test "${enable_multithreaded+set}" = set; then :
5902 enableval
=$enable_multithreaded; if test "x$enableval" != xno
; then
5904 $as_echo "#define MULTITHREADED 1" >>confdefs.h
5911 # Check whether --enable-exceptions was given.
5912 if test "${enable_exceptions+set}" = set; then :
5913 enableval
=$enable_exceptions; if test "x$enableval" = xyes
; then
5915 $as_echo "#define USE_EXCEPTIONS 1" >>confdefs.h
5922 # Check whether --enable-fixedpoint was given.
5923 if test "${enable_fixedpoint+set}" = set; then :
5924 enableval
=$enable_fixedpoint; if test "x$enableval" = xyes
; then
5926 $as_echo "#define USE_FIXEDPOINT 1" >>confdefs.h
5934 for ac_header
in strings.h
5936 ac_fn_c_check_header_mongrel
"$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
5937 if test "x$ac_cv_header_strings_h" = xyes
; then :
5938 cat >>confdefs.h
<<_ACEOF
5939 #define HAVE_STRINGS_H 1
5947 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5948 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5950 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5951 if eval \
${$as_ac_Header+:} false
; then :
5952 $as_echo_n "(cached) " >&6
5954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5955 /* end confdefs.h. */
5956 #include <sys/types.h>
5968 if ac_fn_c_try_compile
"$LINENO"; then :
5969 eval "$as_ac_Header=yes"
5971 eval "$as_ac_Header=no"
5973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5975 eval ac_res
=\$
$as_ac_Header
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5977 $as_echo "$ac_res" >&6; }
5978 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5979 cat >>confdefs.h
<<_ACEOF
5980 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5983 ac_header_dirent
=$ac_hdr; break
5987 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5988 if test $ac_header_dirent = dirent.h
; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5990 $as_echo_n "checking for library containing opendir... " >&6; }
5991 if ${ac_cv_search_opendir+:} false
; then :
5992 $as_echo_n "(cached) " >&6
5994 ac_func_search_save_LIBS
=$LIBS
5995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5996 /* end confdefs.h. */
5998 /* Override any GCC internal prototype to avoid an error.
5999 Use char because int might match the return type of a GCC
6000 builtin and then its argument prototype would still apply. */
6013 for ac_lib
in '' dir
; do
6014 if test -z "$ac_lib"; then
6015 ac_res
="none required"
6018 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6020 if ac_fn_c_try_link
"$LINENO"; then :
6021 ac_cv_search_opendir
=$ac_res
6023 rm -f core conftest.err conftest.
$ac_objext \
6025 if ${ac_cv_search_opendir+:} false
; then :
6029 if ${ac_cv_search_opendir+:} false
; then :
6032 ac_cv_search_opendir
=no
6035 LIBS
=$ac_func_search_save_LIBS
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6038 $as_echo "$ac_cv_search_opendir" >&6; }
6039 ac_res
=$ac_cv_search_opendir
6040 if test "$ac_res" != no
; then :
6041 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6047 $as_echo_n "checking for library containing opendir... " >&6; }
6048 if ${ac_cv_search_opendir+:} false
; then :
6049 $as_echo_n "(cached) " >&6
6051 ac_func_search_save_LIBS
=$LIBS
6052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6053 /* end confdefs.h. */
6055 /* Override any GCC internal prototype to avoid an error.
6056 Use char because int might match the return type of a GCC
6057 builtin and then its argument prototype would still apply. */
6070 for ac_lib
in '' x
; do
6071 if test -z "$ac_lib"; then
6072 ac_res
="none required"
6075 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6077 if ac_fn_c_try_link
"$LINENO"; then :
6078 ac_cv_search_opendir
=$ac_res
6080 rm -f core conftest.err conftest.
$ac_objext \
6082 if ${ac_cv_search_opendir+:} false
; then :
6086 if ${ac_cv_search_opendir+:} false
; then :
6089 ac_cv_search_opendir
=no
6092 LIBS
=$ac_func_search_save_LIBS
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6095 $as_echo "$ac_cv_search_opendir" >&6; }
6096 ac_res
=$ac_cv_search_opendir
6097 if test "$ac_res" != no
; then :
6098 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6106 for ac_func
in gettimeofday gmtime_r mkstemp popen rand_r
6108 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6109 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6110 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6111 cat >>confdefs.h
<<_ACEOF
6112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6118 # Check whether --enable-largefile was given.
6119 if test "${enable_largefile+set}" = set; then :
6120 enableval
=$enable_largefile;
6123 if test "$enable_largefile" != no
; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6126 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6127 if ${ac_cv_sys_largefile_CC+:} false
; then :
6128 $as_echo_n "(cached) " >&6
6130 ac_cv_sys_largefile_CC
=no
6131 if test "$GCC" != yes; then
6134 # IRIX 6.2 and later do not support large files by default,
6135 # so use the C compiler's -n32 option if that helps.
6136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6137 /* end confdefs.h. */
6138 #include <sys/types.h>
6139 /* Check that off_t can represent 2**63 - 1 correctly.
6140 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6141 since some C++ compilers masquerading as C compilers
6142 incorrectly reject 9223372036854775807. */
6143 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6144 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6145 && LARGE_OFF_T % 2147483647 == 1)
6155 if ac_fn_c_try_compile
"$LINENO"; then :
6158 rm -f core conftest.err conftest.
$ac_objext
6160 if ac_fn_c_try_compile
"$LINENO"; then :
6161 ac_cv_sys_largefile_CC
=' -n32'; break
6163 rm -f core conftest.err conftest.
$ac_objext
6167 rm -f conftest.
$ac_ext
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6171 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6172 if test "$ac_cv_sys_largefile_CC" != no
; then
6173 CC
=$CC$ac_cv_sys_largefile_CC
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6177 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6178 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6179 $as_echo_n "(cached) " >&6
6182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6184 #include <sys/types.h>
6185 /* Check that off_t can represent 2**63 - 1 correctly.
6186 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6187 since some C++ compilers masquerading as C compilers
6188 incorrectly reject 9223372036854775807. */
6189 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6190 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6191 && LARGE_OFF_T % 2147483647 == 1)
6201 if ac_fn_c_try_compile
"$LINENO"; then :
6202 ac_cv_sys_file_offset_bits
=no
; break
6204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6206 /* end confdefs.h. */
6207 #define _FILE_OFFSET_BITS 64
6208 #include <sys/types.h>
6209 /* Check that off_t can represent 2**63 - 1 correctly.
6210 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6211 since some C++ compilers masquerading as C compilers
6212 incorrectly reject 9223372036854775807. */
6213 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6214 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6215 && LARGE_OFF_T % 2147483647 == 1)
6225 if ac_fn_c_try_compile
"$LINENO"; then :
6226 ac_cv_sys_file_offset_bits
=64; break
6228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6229 ac_cv_sys_file_offset_bits
=unknown
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6234 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6235 case $ac_cv_sys_file_offset_bits in #(
6238 cat >>confdefs.h
<<_ACEOF
6239 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6244 if test $ac_cv_sys_file_offset_bits = unknown
; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6246 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6247 if ${ac_cv_sys_large_files+:} false
; then :
6248 $as_echo_n "(cached) " >&6
6251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6252 /* end confdefs.h. */
6253 #include <sys/types.h>
6254 /* Check that off_t can represent 2**63 - 1 correctly.
6255 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6256 since some C++ compilers masquerading as C compilers
6257 incorrectly reject 9223372036854775807. */
6258 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6259 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6260 && LARGE_OFF_T % 2147483647 == 1)
6270 if ac_fn_c_try_compile
"$LINENO"; then :
6271 ac_cv_sys_large_files
=no
; break
6273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6276 #define _LARGE_FILES 1
6277 #include <sys/types.h>
6278 /* Check that off_t can represent 2**63 - 1 correctly.
6279 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6280 since some C++ compilers masquerading as C compilers
6281 incorrectly reject 9223372036854775807. */
6282 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6283 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6284 && LARGE_OFF_T % 2147483647 == 1)
6294 if ac_fn_c_try_compile
"$LINENO"; then :
6295 ac_cv_sys_large_files
=1; break
6297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6298 ac_cv_sys_large_files
=unknown
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6303 $as_echo "$ac_cv_sys_large_files" >&6; }
6304 case $ac_cv_sys_large_files in #(
6307 cat >>confdefs.h
<<_ACEOF
6308 #define _LARGE_FILES $ac_cv_sys_large_files
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
6319 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
6320 if ${ac_cv_sys_largefile_source+:} false
; then :
6321 $as_echo_n "(cached) " >&6
6324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6326 #include <sys/types.h> /* for off_t */
6331 int (*fp) (FILE *, off_t, int) = fseeko;
6332 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6337 if ac_fn_c_try_link
"$LINENO"; then :
6338 ac_cv_sys_largefile_source
=no
; break
6340 rm -f core conftest.err conftest.
$ac_objext \
6341 conftest
$ac_exeext conftest.
$ac_ext
6342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6344 #define _LARGEFILE_SOURCE 1
6345 #include <sys/types.h> /* for off_t */
6350 int (*fp) (FILE *, off_t, int) = fseeko;
6351 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6356 if ac_fn_c_try_link
"$LINENO"; then :
6357 ac_cv_sys_largefile_source
=1; break
6359 rm -f core conftest.err conftest.
$ac_objext \
6360 conftest
$ac_exeext conftest.
$ac_ext
6361 ac_cv_sys_largefile_source
=unknown
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
6366 $as_echo "$ac_cv_sys_largefile_source" >&6; }
6367 case $ac_cv_sys_largefile_source in #(
6370 cat >>confdefs.h
<<_ACEOF
6371 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
6377 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
6378 # in glibc 2.1.3, but that breaks too many other things.
6379 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
6380 if test $ac_cv_sys_largefile_source != unknown
; then
6382 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
6386 ac_fn_c_check_func
"$LINENO" "ftell64" "ac_cv_func_ftell64"
6387 if test "x$ac_cv_func_ftell64" = xyes
; then :
6388 for ac_func
in fseek64
6390 ac_fn_c_check_func
"$LINENO" "fseek64" "ac_cv_func_fseek64"
6391 if test "x$ac_cv_func_fseek64" = xyes
; then :
6392 cat >>confdefs.h
<<_ACEOF
6393 #define HAVE_FSEEK64 1
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
6403 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
6404 if ${kpse_cv_have_win32+:} false
; then :
6405 $as_echo_n "(cached) " >&6
6407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6420 if ac_fn_c_try_compile
"$LINENO"; then :
6421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6434 if ac_fn_c_try_compile
"$LINENO"; then :
6435 kpse_cv_have_win32
=mingw32
6437 kpse_cv_have_win32
=native
6439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6441 kpse_cv_have_win32
=no
6443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
6446 $as_echo "$kpse_cv_have_win32" >&6; }
6448 if test "x$kpse_cv_have_win32" != xno
; then
6457 if test "x$kpse_cv_have_win32" = xmingw32
; then
6467 if test "x$kpse_cv_have_win32" = xmingw32
; then
6469 $as_echo "#define _WIN32_WINNT 0x0500" >>confdefs.h
6473 ac_config_headers
="$ac_config_headers config.h"
6476 ac_config_headers
="$ac_config_headers poppler-config.h:poppler-0.28.0/poppler/poppler-config.h.in"
6480 cat >>confdefs.h
<<_ACEOF
6481 #define POPPLER_VERSION "0.28.0"
6485 kpse_save_CPPFLAGS
=$CPPFLAGS
6486 kpse_save_LIBS
=$LIBS
6488 ## _KPSE_INIT: Initialize TL infrastructure
6489 kpse_BLD
=`(cd "./../../." && pwd)`
6490 kpse_SRC
=`(cd "$srcdir/../../." && pwd)`
6492 ## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags
6494 # Check whether --with-system-zlib was given.
6495 if test "${with_system_zlib+set}" = set; then :
6496 withval
=$with_system_zlib;
6499 # Check whether --with-zlib-includes was given.
6500 if test "${with_zlib_includes+set}" = set; then :
6501 withval
=$with_zlib_includes;
6504 # Check whether --with-zlib-libdir was given.
6505 if test "${with_zlib_libdir+set}" = set; then :
6506 withval
=$with_zlib_libdir;
6508 if test "x$with_system_zlib" = xyes
; then
6509 if test "x$with_zlib_includes" != x
&& test "x$with_zlib_includes" != xyes
; then
6510 ZLIB_INCLUDES
="-I$with_zlib_includes"
6513 if test "x$with_zlib_libdir" != x
&& test "x$with_zlib_libdir" != xyes
; then
6514 ZLIB_LIBS
="-L$with_zlib_libdir $ZLIB_LIBS"
6517 ZLIB_INCLUDES
="-I$kpse_BLD/libs/zlib/include"
6518 ZLIB_LIBS
="$kpse_BLD/libs/zlib/libz.a"
6519 ZLIB_DEPEND
='${top_builddir}/../../libs/zlib/libz.a'
6520 ZLIB_RULE
='# Rebuild libz
6521 $(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
6522 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
6523 ${top_builddir}/../../libs/zlib/include/zconf.h:
6524 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5
6527 $as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; }
6528 if ${kpse_cv_have_decl_z_const+:} false
; then :
6529 $as_echo_n "(cached) " >&6
6531 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
6532 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
6534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6535 /* end confdefs.h. */
6540 z_const char * foo();
6545 if ac_fn_c_try_compile
"$LINENO"; then :
6546 kpse_cv_have_decl_z_const
=yes
6548 kpse_cv_have_decl_z_const
=no
6550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6551 CPPFLAGS
=$kpse_save_CPPFLAGS
6552 LIBS
=$kpse_save_LIBS
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5
6556 $as_echo "$kpse_cv_have_decl_z_const" >&6; }
6557 case $kpse_cv_have_decl_z_const in #(
6560 $as_echo "#define ZLIB_CONST 1" >>confdefs.h
6564 $as_echo "#define z_const /**/" >>confdefs.h
6569 if test "x$enable_build" != xno
; then
6578 if test "x$enable_build" != xno ||
test -f config.force
; then
6580 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
6581 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
6583 ac_fn_c_check_func
"$LINENO" "inflate" "ac_cv_func_inflate"
6584 if test "x$ac_cv_func_inflate" = xyes
; then :
6587 as_fn_error $?
"zlib not found" "$LINENO" 5
6590 for ac_header
in zlib.h
6592 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6593 if test "x$ac_cv_header_zlib_h" = xyes
; then :
6594 cat >>confdefs.h
<<_ACEOF
6595 #define HAVE_ZLIB_H 1
6599 as_fn_error $?
"zlib not found" "$LINENO" 5
6604 CPPFLAGS
=$kpse_save_CPPFLAGS
6605 LIBS
=$kpse_save_LIBS
6608 echo timestamp
>config.force
6612 $as_echo "#define ENABLE_ZLIB 1" >>confdefs.h
6615 POPPLER_TREE
=poppler-0.28
.0
6618 ac_config_files
="$ac_config_files Makefile include/Makefile include/goo/Makefile include/fofi/Makefile"
6621 cat >confcache
<<\_ACEOF
6622 # This file is a shell script that caches the results of configure
6623 # tests run on this system so they can be shared between configure
6624 # scripts and configure runs, see configure's option --config-cache.
6625 # It is not useful on other systems. If it contains results you don't
6626 # want to keep, you may remove or edit it.
6628 # config.status only pays attention to the cache file if you give it
6629 # the --recheck option to rerun configure.
6631 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6632 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6637 # The following way of writing the cache mishandles newlines in values,
6638 # but we know of no workaround that is simple, portable, and efficient.
6639 # So, we kill variables containing newlines.
6640 # Ultrix sh set writes to stderr and can't be redirected directly,
6641 # and sets the high bit in the cache file unless we assign to the vars.
6643 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6644 eval ac_val
=\$
$ac_var
6648 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6649 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6652 _ | IFS | as_nl
) ;; #(
6653 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6654 *) { eval $ac_var=; unset $ac_var;} ;;
6660 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6661 *${as_nl}ac_space
=\
*)
6662 # `set' does not quote correctly, so add quotes: double-quote
6663 # substitution turns \\\\ into \\, and sed turns \\ into \.
6666 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6669 # `set' quotes correctly as required by POSIX, so do not add quotes.
6670 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6679 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6681 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6683 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6684 if test -w "$cache_file"; then
6685 if test "x$cache_file" != "x/dev/null"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6687 $as_echo "$as_me: updating cache $cache_file" >&6;}
6688 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6689 cat confcache
>"$cache_file"
6691 case $cache_file in #(
6693 mv -f confcache
"$cache_file"$$
&&
6694 mv -f "$cache_file"$$
"$cache_file" ;; #(
6696 mv -f confcache
"$cache_file" ;;
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6702 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6707 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6708 # Let make expand exec_prefix.
6709 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6711 DEFS
=-DHAVE_CONFIG_H
6716 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6717 # 1. Remove the extension, and $U if already installed.
6718 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6719 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6720 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6721 # will be set to the directory where LIBOBJS objects are built.
6722 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6723 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6727 LTLIBOBJS
=$ac_ltlibobjs
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6731 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6732 if test -n "$am_sleep_pid"; then
6733 # Hide warnings about reused PIDs.
6734 wait $am_sleep_pid 2>/dev
/null
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6737 $as_echo "done" >&6; }
6738 if test -n "$EXEEXT"; then
6740 am__EXEEXT_FALSE
='#'
6746 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6747 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6750 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6751 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6754 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6755 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6758 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6759 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6762 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6763 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
6764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6766 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
6767 as_fn_error $?
"conditional \"WIN32\" was never defined.
6768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6770 if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then
6771 as_fn_error $?
"conditional \"MINGW32\" was never defined.
6772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6774 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
6775 as_fn_error $?
"conditional \"build\" was never defined.
6776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6779 : "${CONFIG_STATUS=./config.status}"
6781 ac_clean_files_save
=$ac_clean_files
6782 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6784 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6786 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6788 # Generated by $as_me.
6789 # Run this file to recreate the current configuration.
6790 # Compiler output produced by configure, useful for debugging
6791 # configure, is in config.log if it exists.
6797 SHELL=\${CONFIG_SHELL-$SHELL}
6800 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6801 ## -------------------- ##
6802 ## M4sh Initialization. ##
6803 ## -------------------- ##
6805 # Be more Bourne compatible
6806 DUALCASE
=1; export DUALCASE
# for MKS sh
6807 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6810 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6811 # is contrary to our usage. Disable this feature.
6812 alias -g '${1+"$@"}'='"$@"'
6813 setopt NO_GLOB_SUBST
6815 case `(set -o) 2>/dev/null` in #(
6827 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6828 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6829 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6830 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6831 # Prefer a ksh shell builtin over an external printf program on Solaris,
6832 # but without wasting forks for bash or zsh.
6833 if test -z "$BASH_VERSION$ZSH_VERSION" \
6834 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6835 as_echo='print
-r --'
6836 as_echo_n='print
-rn --'
6837 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6838 as_echo='printf %s
\n'
6839 as_echo_n='printf %s
'
6841 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6842 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6843 as_echo_n='/usr
/ucb
/echo -n'
6845 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6846 as_echo_n_body='eval
6850 expr "X$arg" : "X\\(.*\\)$as_nl";
6851 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6853 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6855 export as_echo_n_body
6856 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6859 as_echo='sh
-c $as_echo_body as_echo
'
6862 # The user is always right.
6863 if test "${PATH_SEPARATOR+set}" != set; then
6865 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6866 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6873 # We need space, tab and new line, in precisely that order. Quoting is
6874 # there to prevent editors from complaining about space-tab.
6875 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6876 # splitting by setting IFS to empty value.)
6879 # Find who we are. Look in the path if we contain no directory separator.
6882 *[\\/]* ) as_myself=$0 ;;
6883 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6887 test -z "$as_dir" && as_dir=.
6888 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6894 # We did not find ourselves, most probably we were run as `sh COMMAND'
6895 # in which case we are not to be found in the path.
6896 if test "x$as_myself" = x
; then
6899 if test ! -f "$as_myself"; then
6900 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6904 # Unset variables that we do not need and which cause bugs (e.g. in
6905 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6906 # suppresses any "Segmentation fault" message there. '((' could
6907 # trigger a bug in pdksh 5.2.14.
6908 for as_var
in BASH_ENV ENV MAIL MAILPATH
6909 do eval test x\
${$as_var+set} = xset \
6910 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6923 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6926 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6927 # ----------------------------------------
6928 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6929 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6930 # script with STATUS, using 1 if that was 0.
6933 as_status
=$1; test $as_status -eq 0 && as_status
=1
6935 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6936 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6938 $as_echo "$as_me: error: $2" >&2
6939 as_fn_exit
$as_status
6943 # as_fn_set_status STATUS
6944 # -----------------------
6945 # Set $? to STATUS, without forking.
6949 } # as_fn_set_status
6953 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6963 # Portably unset VAR.
6966 { eval $1=; unset $1;}
6968 as_unset
=as_fn_unset
6969 # as_fn_append VAR VALUE
6970 # ----------------------
6971 # Append the text in VALUE to the end of the definition contained in VAR. Take
6972 # advantage of any shell optimizations that allow amortized linear growth over
6973 # repeated appends, instead of the typical quadratic growth present in naive
6975 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6976 eval 'as_fn_append ()
6987 # as_fn_arith ARG...
6988 # ------------------
6989 # Perform arithmetic evaluation on the ARGs, and store the result in the
6990 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6991 # must be portable across $(()) and expr.
6992 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6993 eval 'as_fn_arith ()
7000 as_val
=`expr "$@" || test $? -eq 1`
7005 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7006 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7012 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7013 as_basename
=basename
7018 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7024 as_me
=`$as_basename -- "$0" ||
7025 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7026 X"$0" : 'X\(//\)$' \| \
7027 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7029 sed '/^.*\/\([^/][^/]*\)\/*$/{
7043 # Avoid depending upon Character Ranges.
7044 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7045 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7046 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7047 as_cr_digits
='0123456789'
7048 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7050 ECHO_C
= ECHO_N
= ECHO_T
=
7051 case `echo -n x` in #(((((
7053 case `echo 'xy\c'` in
7054 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7056 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7063 rm -f conf$$ conf$$.exe conf$$.
file
7064 if test -d conf$$.dir
; then
7065 rm -f conf$$.dir
/conf$$.
file
7068 mkdir conf$$.dir
2>/dev
/null
7070 if (echo >conf$$.
file) 2>/dev
/null
; then
7071 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7073 # ... but there are two gotchas:
7074 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7075 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7076 # In both cases, we have to default to `cp -pR'.
7077 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7079 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7087 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7088 rmdir conf$$.dir
2>/dev
/null
7093 # Create "$as_dir" as a directory, including parents if necessary.
7098 -*) as_dir
=.
/$as_dir;;
7100 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7104 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7105 *) as_qdir
=$as_dir;;
7107 as_dirs
="'$as_qdir' $as_dirs"
7108 as_dir
=`$as_dirname -- "$as_dir" ||
7109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7110 X"$as_dir" : 'X\(//\)[^/]' \| \
7111 X"$as_dir" : 'X\(//\)$' \| \
7112 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7113 $as_echo X"$as_dir" |
7114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7131 test -d "$as_dir" && break
7133 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7134 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7138 if mkdir
-p .
2>/dev
/null
; then
7139 as_mkdir_p
='mkdir -p "$as_dir"'
7141 test -d .
/-p && rmdir .
/-p
7146 # as_fn_executable_p FILE
7147 # -----------------------
7148 # Test if FILE is an executable regular file.
7149 as_fn_executable_p
()
7151 test -f "$1" && test -x "$1"
7152 } # as_fn_executable_p
7154 as_executable_p
=as_fn_executable_p
7156 # Sed expression to map a string onto a valid CPP name.
7157 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7159 # Sed expression to map a string onto a valid variable name.
7160 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7164 ## ----------------------------------- ##
7165 ## Main body of $CONFIG_STATUS script. ##
7166 ## ----------------------------------- ##
7168 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7171 # Save the log message, to keep $0 and so on meaningful, and to
7172 # report actual input values of CONFIG_FILES etc. instead of their
7173 # values after options handling.
7175 This file was extended by poppler (TeX Live) $as_me 0.28.0, which was
7176 generated by GNU Autoconf 2.69. Invocation command line was
7178 CONFIG_FILES = $CONFIG_FILES
7179 CONFIG_HEADERS = $CONFIG_HEADERS
7180 CONFIG_LINKS = $CONFIG_LINKS
7181 CONFIG_COMMANDS = $CONFIG_COMMANDS
7184 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7189 case $ac_config_files in *"
7190 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7193 case $ac_config_headers in *"
7194 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7199 # Files that config.status was made for.
7200 config_files="$ac_config_files"
7201 config_headers="$ac_config_headers"
7202 config_commands="$ac_config_commands"
7206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7208 \`$as_me' instantiates files and other configuration actions
7209 from templates according to the current configuration. Unless the files
7210 and actions are specified as TAGs, all are instantiated by default.
7212 Usage: $0 [OPTION]... [TAG]...
7214 -h, --help print this help, then exit
7215 -V, --version print version number and configuration settings, then exit
7216 --config print configuration, then exit
7217 -q, --quiet, --silent
7218 do not print progress messages
7219 -d, --debug don't remove temporary files
7220 --recheck update $as_me by reconfiguring in the same conditions
7221 --file=FILE[:TEMPLATE]
7222 instantiate the configuration file FILE
7223 --header=FILE[:TEMPLATE]
7224 instantiate the configuration header FILE
7226 Configuration files:
7229 Configuration headers:
7232 Configuration commands:
7235 Report bugs to <tex-k@tug.org>."
7238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7239 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7241 poppler (TeX Live) config.status 0.28.0
7242 configured by $0, generated by GNU Autoconf 2.69,
7243 with options \\"\$ac_cs_config\\"
7245 Copyright (C) 2012 Free Software Foundation, Inc.
7246 This config.status script is free software; the Free Software Foundation
7247 gives unlimited permission to copy, distribute and modify it."
7254 test -n "\$AWK" || AWK=awk
7257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7258 # The default lists apply if the user does not specify any file.
7264 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7265 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7269 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7281 # Handling of the options.
7282 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7284 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7285 $as_echo "$ac_cs_version"; exit ;;
7286 --config |
--confi |
--conf |
--con |
--co |
--c )
7287 $as_echo "$ac_cs_config"; exit ;;
7288 --debug |
--debu |
--deb |
--de |
--d |
-d )
7290 --file |
--fil |
--fi |
--f )
7293 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7294 '') as_fn_error $?
"missing file argument" ;;
7296 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7297 ac_need_defaults
=false
;;
7298 --header |
--heade |
--head |
--hea )
7301 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7303 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7304 ac_need_defaults
=false
;;
7306 # Conflict between --help and --header
7307 as_fn_error $?
"ambiguous option: \`$1'
7308 Try \`$0 --help' for more information.";;
7309 --help |
--hel |
-h )
7310 $as_echo "$ac_cs_usage"; exit ;;
7311 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7312 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7316 -*) as_fn_error $?
"unrecognized option: \`$1'
7317 Try \`$0 --help' for more information." ;;
7319 *) as_fn_append ac_config_targets
" $1"
7320 ac_need_defaults
=false
;;
7326 ac_configure_extra_args
=
7328 if $ac_cs_silent; then
7330 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7335 if \$ac_cs_recheck; then
7336 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7338 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7339 CONFIG_SHELL='$SHELL'
7345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7349 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7350 ## Running $as_me. ##
7356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7360 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7366 # Handling of arguments.
7367 for ac_config_target
in $ac_config_targets
7369 case $ac_config_target in
7370 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7371 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7372 "poppler-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS poppler-config.h:poppler-0.28.0/poppler/poppler-config.h.in" ;;
7373 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7374 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
7375 "include/goo/Makefile") CONFIG_FILES
="$CONFIG_FILES include/goo/Makefile" ;;
7376 "include/fofi/Makefile") CONFIG_FILES
="$CONFIG_FILES include/fofi/Makefile" ;;
7378 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7383 # If the user did not use the arguments to specify the items to instantiate,
7384 # then the envvar interface is used. Set only those that are not.
7385 # We use the long form for the default assignment because of an extremely
7386 # bizarre bug on SunOS 4.1.3.
7387 if $ac_need_defaults; then
7388 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7389 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7390 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7393 # Have a temporary directory for convenience. Make it in the build tree
7394 # simply because there is no reason against having it here, and in addition,
7395 # creating and moving files from /tmp can sometimes cause problems.
7396 # Hook for its removal unless debugging.
7397 # Note that there is a small window in which the directory will not be cleaned:
7398 # after its creation but before its name has been assigned to `$tmp'.
7402 trap 'exit_status=$?
7404 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7406 trap 'as_fn_exit 1' 1 2 13 15
7408 # Create a (secure) tmp directory for tmp files.
7411 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7415 tmp
=.
/conf$$
-$RANDOM
7416 (umask 077 && mkdir
"$tmp")
7417 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7420 # Set up the scripts for CONFIG_FILES section.
7421 # No need to generate them if there are no CONFIG_FILES.
7422 # This happens for instance with `./config.status config.h'.
7423 if test -n "$CONFIG_FILES"; then
7426 ac_cr
=`echo X | tr X '\015'`
7427 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7428 # But we know of no other shell where ac_cr would be empty at this
7429 # point, so we can use a bashism as a fallback.
7430 if test "x$ac_cr" = x
; then
7431 eval ac_cr
=\$
\'\\r
\'
7433 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7434 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7440 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7445 echo "cat >conf$$subs.awk <<_ACEOF" &&
7446 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7449 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7450 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7452 for ac_last_try in false false false false false :; do
7453 . ./conf$$subs.sh ||
7454 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7456 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7457 if test $ac_delim_n = $ac_delim_num; then
7459 elif $ac_last_try; then
7460 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7462 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7468 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7472 s/^/S["/; s
/!.
*/"]=/
7482 s/\(.\{148\}\)..*/\1/
7484 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7489 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7496 s/\(.\{148\}\)..*/\1/
7498 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7502 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7507 ' <conf$$subs.awk | sed '
7512 ' >>$CONFIG_STATUS || ac_write_fail=1
7513 rm -f conf$$subs.awk
7514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7516 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7517 for (key in S) S_is_set[key] = 1
7523 nfields = split(line, field, "@
")
7525 len = length(field[1])
7526 for (i = 2; i < nfields; i++) {
7528 keylen = length(key)
7529 if (S_is_set[key]) {
7531 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7532 len += length(value) + length(field[++i])
7543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7544 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7545 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7548 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7549 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7552 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7553 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7554 # trailing colons and then remove the whole line if VPATH becomes empty
7555 # (actually we leave an empty line to preserve line numbers).
7556 if test "x
$srcdir" = x.; then
7557 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7576 fi # test -n "$CONFIG_FILES"
7578 # Set up the scripts for CONFIG_HEADERS section.
7579 # No need to generate them if there are no CONFIG_HEADERS.
7580 # This happens for instance with `./config.status Makefile'.
7581 if test -n "$CONFIG_HEADERS"; then
7582 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7586 # Transform confdefs.h into an awk script `defines.awk', embedded as
7587 # here-document in config.status, that substitutes the proper values into
7588 # config.h.in to produce config.h.
7590 # Create a delimiter string that does not exist in confdefs.h, to ease
7591 # handling of long lines.
7593 for ac_last_try in false false :; do
7594 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7595 if test -z "$ac_tt"; then
7597 elif $ac_last_try; then
7598 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7600 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7604 # For the awk script, D is an array of macro values keyed by name,
7605 # likewise P contains macro parameters if any. Preserve backslash
7606 # newline sequences.
7608 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7610 s/.\{148\}/&'"$ac_delim"'/g
7613 s/^[ ]*#[ ]*define[ ][ ]*/ /
7620 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7622 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7626 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7627 D["\
1"]=" \
3\\\\\\n
"\\/p
7629 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7634 s/.\{148\}/&'"$ac_delim"'/g
7639 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7642 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7644 ' <confdefs.h | sed '
7645 s/'"$ac_delim"'/"\\\
7646 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7649 for (key in D) D_is_set[key] = 1
7652 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7654 split(line, arg, " ")
7655 if (arg[1] == "#") {
7659 defundef
= substr
(arg
[1], 2)
7662 split(mac1
, mac2
, "(") #)
7664 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7665 if (D_is_set
[macro
]) {
7666 # Preserve the white space surrounding the "#".
7667 print prefix
"define", macro P
[macro
] D
[macro
]
7670 # Replace #undef with comments. This is necessary, for example,
7671 # in the case of _POSIX_SOURCE, which is predefined and required
7672 # on some systems where configure will not decide to define it.
7673 if (defundef
== "undef") {
7674 print
"/*", prefix defundef
, macro
, "*/"
7682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7683 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7684 fi # test -n "$CONFIG_HEADERS"
7687 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7692 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7694 case $ac_mode$ac_tag in
7696 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7697 :[FH
]-) ac_tag
=-:-;;
7698 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7715 -) ac_f
="$ac_tmp/stdin";;
7716 *) # Look for the file first in the build tree, then in the source tree
7717 # (if the path is not absolute). The absolute path cannot be DOS-style,
7718 # because $ac_f cannot contain `:'.
7722 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7724 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7726 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7727 as_fn_append ac_file_inputs
" '$ac_f'"
7730 # Let's still pretend it is `configure' which instantiates (i.e., don't
7731 # use $as_me), people would be surprised to read:
7732 # /* config.h. Generated by config.status. */
7733 configure_input
='Generated from '`
7734 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7736 if test x
"$ac_file" != x-
; then
7737 configure_input
="$ac_file. $configure_input"
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7739 $as_echo "$as_me: creating $ac_file" >&6;}
7741 # Neutralize special characters interpreted by sed in replacement strings.
7742 case $configure_input in #(
7743 *\
&* |
*\|
* |
*\\* )
7744 ac_sed_conf_input
=`$as_echo "$configure_input" |
7745 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7746 *) ac_sed_conf_input
=$configure_input;;
7750 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7751 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7756 ac_dir
=`$as_dirname -- "$ac_file" ||
7757 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7758 X"$ac_file" : 'X\(//\)[^/]' \| \
7759 X"$ac_file" : 'X\(//\)$' \| \
7760 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7761 $as_echo X"$ac_file" |
7762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7779 as_dir
="$ac_dir"; as_fn_mkdir_p
7783 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7785 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7786 # A ".." for each directory in $ac_dir_suffix.
7787 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7788 case $ac_top_builddir_sub in
7789 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7790 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7793 ac_abs_top_builddir
=$ac_pwd
7794 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7795 # for backward compatibility:
7796 ac_top_builddir
=$ac_top_build_prefix
7799 .
) # We are building in place.
7801 ac_top_srcdir
=$ac_top_builddir_sub
7802 ac_abs_top_srcdir
=$ac_pwd ;;
7803 [\\/]* | ?
:[\\/]* ) # Absolute name.
7804 ac_srcdir
=$srcdir$ac_dir_suffix;
7805 ac_top_srcdir
=$srcdir
7806 ac_abs_top_srcdir
=$srcdir ;;
7808 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7809 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7810 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7812 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7822 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7823 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7827 [\\/$
]* | ?
:[\\/]* ) ;;
7828 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7833 # If the template does not know about datarootdir, expand it.
7834 # FIXME: This hack should be removed a few years after 2.60.
7835 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7846 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7847 *datarootdir
*) ac_datarootdir_seen
=yes;;
7848 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7850 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7853 ac_datarootdir_hack='
7854 s&@datadir@&$datadir&g
7855 s&@docdir@&$docdir&g
7856 s&@infodir@&$infodir&g
7857 s&@localedir@&$localedir&g
7858 s&@mandir@&$mandir&g
7859 s&\\\${datarootdir}&$datarootdir&g' ;;
7863 # Neutralize VPATH when `$srcdir' = `.'.
7864 # Shell code in configure.ac might set extrasub.
7865 # FIXME: do we really want to maintain this feature?
7866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7867 ac_sed_extra="$ac_vpsub
7870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7872 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7873 s|@configure_input@|
$ac_sed_conf_input|
;t t
7874 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7875 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7876 s
&@srcdir@
&$ac_srcdir&;t t
7877 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7878 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7879 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7880 s
&@builddir@
&$ac_builddir&;t t
7881 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7882 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7883 s
&@INSTALL@
&$ac_INSTALL&;t t
7884 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7885 $ac_datarootdir_hack
7887 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7888 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7890 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7891 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7892 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7893 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7895 which seems to be undefined. Please make sure it is defined" >&5
7896 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7897 which seems to be undefined. Please make sure it is defined" >&2;}
7899 rm -f "$ac_tmp/stdin"
7901 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7902 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7910 if test x"$ac_file" != x-; then
7912 $as_echo "/* $configure_input */" \
7913 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7914 } >"$ac_tmp/config.h" \
7915 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7916 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7918 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7921 mv "$ac_tmp/config.h" "$ac_file" \
7922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7925 $as_echo "/* $configure_input */" \
7926 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7927 || as_fn_error $? "could not create -" "$LINENO" 5
7929 # Compute "$ac_file"'s index
in $config_headers.
7932 for _am_header
in $config_headers :; do
7934 $_am_arg |
$_am_arg:* )
7937 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7940 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7941 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7942 X"$_am_arg" : 'X\(//\)[^/]' \| \
7943 X"$_am_arg" : 'X\(//\)$' \| \
7944 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7945 $as_echo X"$_am_arg" |
7946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7962 s/.*/./; q'`/stamp-h
$_am_stamp_count
7965 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7966 $as_echo "$as_me: executing $ac_file commands" >&6;}
7971 case $ac_file$ac_mode in
7972 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
7973 # Older Autoconf quotes --file arguments for eval, but not when files
7974 # are listed without --file. Let's play safe and only enable the eval
7975 # if we detect the quoting.
7976 case $CONFIG_FILES in
7977 *\'*) eval set x
"$CONFIG_FILES" ;;
7978 *) set x
$CONFIG_FILES ;;
7983 # Strip MF so we end up with the name of the file.
7984 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7985 # Check whether this is an Automake generated Makefile or not.
7986 # We used to match only the files named 'Makefile.in', but
7987 # some people rename them; so instead we look at the file content.
7988 # Grep'ing the first line is not enough: some people post-process
7989 # each Makefile.in and add a new line on top of each file to say so.
7990 # Grep'ing the whole file is not good either: AIX grep has a line
7991 # limit of 2048, but all sed's we know have understand at least 4000.
7992 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
7993 dirpart
=`$as_dirname -- "$mf" ||
7994 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7995 X"$mf" : 'X\(//\)[^/]' \| \
7996 X"$mf" : 'X\(//\)$' \| \
7997 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8019 # Extract the definition of DEPDIR, am__include, and am__quote
8020 # from the Makefile without running 'make'.
8021 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8022 test -z "$DEPDIR" && continue
8023 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8024 test -z "$am__include" && continue
8025 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8026 # Find all dependency output files, they are included files with
8027 # $(DEPDIR) in their names. We invoke sed twice because it is the
8028 # simplest approach to changing $(DEPDIR) to its actual value in the
8030 for file in `sed -n "
8031 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8032 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8033 # Make sure the directory exists.
8034 test -f "$dirpart/$file" && continue
8035 fdir
=`$as_dirname -- "$file" ||
8036 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8037 X"$file" : 'X\(//\)[^/]' \| \
8038 X"$file" : 'X\(//\)$' \| \
8039 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8058 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8059 # echo "creating $dirpart/$file"
8060 echo '# dummy' > "$dirpart/$file"
8072 ac_clean_files
=$ac_clean_files_save
8074 test $ac_write_fail = 0 ||
8075 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8078 # configure is writing to config.log, and then calls config.status.
8079 # config.status does its own redirection, appending to config.log.
8080 # Unfortunately, on DOS this fails, as config.log is still kept open
8081 # by configure, so config.status won't be able to write to it; its
8082 # output is simply discarded. So we exec the FD to /dev/null,
8083 # effectively closing config.log, so it can be properly (re)opened and
8084 # appended to by config.status. When coming back to configure, we
8085 # need to make the FD available again.
8086 if test "$no_create" != yes; then
8088 ac_config_status_args
=
8089 test "$silent" = yes &&
8090 ac_config_status_args
="$ac_config_status_args --quiet"
8092 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8094 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8095 # would make configure fail if this is the last instruction.
8096 $ac_cs_success || as_fn_exit
1
8098 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8100 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}